From 50bd5da640e75ce2f72cd0024f12dde04b062f27 Mon Sep 17 00:00:00 2001 From: Rachel Quartararo <50849237+rquartararo@users.noreply.github.com> Date: Thu, 21 Nov 2024 11:59:24 -0500 Subject: [PATCH] fix: artwork summary item image (#14874) --- .secrets.baseline | 4 +- .../Order/Components/ArtworkSummaryItem.tsx | 7 +- src/Apps/__tests__/Fixtures/Order.ts | 8 - src/__generated__/AcceptTestQuery.graphql.ts | 20 +- .../ArtworkSummaryItem_order.graphql.ts | 12 +- src/__generated__/CounterTestQuery.graphql.ts | 20 +- .../NewPaymentTestQuery.graphql.ts | 20 +- src/__generated__/OfferTestQuery.graphql.ts | 20 +- src/__generated__/PaymentTestQuery.graphql.ts | 20 +- src/__generated__/RejectTestQuery.graphql.ts | 20 +- .../RespondCounterOfferMutation.graphql.ts | 12 +- src/__generated__/RespondTestQuery.graphql.ts | 20 +- src/__generated__/ReviewTestQuery.graphql.ts | 340 ++++++++---------- .../ShippingTestQuery.graphql.ts | 20 +- src/__generated__/StatusQuery.graphql.ts | 20 +- .../orderRoutes_AcceptQuery.graphql.ts | 12 +- .../orderRoutes_CounterQuery.graphql.ts | 12 +- .../orderRoutes_NewPaymentQuery.graphql.ts | 12 +- .../orderRoutes_OfferQuery.graphql.ts | 12 +- .../orderRoutes_PaymentQuery.graphql.ts | 12 +- .../orderRoutes_RejectQuery.graphql.ts | 12 +- .../orderRoutes_RespondQuery.graphql.ts | 12 +- .../orderRoutes_ReviewQuery.graphql.ts | 89 ++--- .../orderRoutes_ShippingQuery.graphql.ts | 12 +- .../orderRoutes_StatusQuery.graphql.ts | 12 +- ...eSaveFulfillmentDetailsMutation.graphql.ts | 12 +- .../useSelectShippingQuoteMutation.graphql.ts | 12 +- 27 files changed, 365 insertions(+), 419 deletions(-) diff --git a/.secrets.baseline b/.secrets.baseline index 7a3ec9a084c..7122049ba8d 100644 --- a/.secrets.baseline +++ b/.secrets.baseline @@ -253,7 +253,7 @@ "filename": "src/Apps/__tests__/Fixtures/Order.ts", "hashed_secret": "28433b678ebfc78ce4cfa26b83b3cded1c3c9a35", "is_verified": false, - "line_number": 217 + "line_number": 209 } ], "src/Components/ArtworkFilter/__tests__/fixtures/ArtworkFilter.fixture.tsx": [ @@ -562,5 +562,5 @@ } ] }, - "generated_at": "2024-10-09T13:30:14Z" + "generated_at": "2024-11-20T13:21:49Z" } diff --git a/src/Apps/Order/Components/ArtworkSummaryItem.tsx b/src/Apps/Order/Components/ArtworkSummaryItem.tsx index d367892be42..626dbaa1df0 100644 --- a/src/Apps/Order/Components/ArtworkSummaryItem.tsx +++ b/src/Apps/Order/Components/ArtworkSummaryItem.tsx @@ -31,10 +31,7 @@ const ArtworkSummaryItem: React.FC = ({ const { artistNames, title, image, date } = artworkVersion || {} const { shippingOrigin, isUnlisted } = artwork || {} - const imageURL = - image && - image.resized_ArtworkSummaryItem && - image.resized_ArtworkSummaryItem.url + const imageURL = image && image.resized && image.resized.url const truncateTextStyle = { whiteSpace: "nowrap", @@ -160,7 +157,7 @@ export const ArtworkSummaryItemFragmentContainer = createFragmentContainer( artistNames title image { - resized_ArtworkSummaryItem: resized(width: 55) { + resized(width: 185) { url } } diff --git a/src/Apps/__tests__/Fixtures/Order.ts b/src/Apps/__tests__/Fixtures/Order.ts index dec9c57e21a..922b482232e 100644 --- a/src/Apps/__tests__/Fixtures/Order.ts +++ b/src/Apps/__tests__/Fixtures/Order.ts @@ -22,10 +22,6 @@ const OrderArtworkNodeWithoutShipping = { url: "https://d7hftxdivxxvm.cloudfront.net?resize_to=fit&width=185&height=184&quality=80&src=https%3A%2F%2Fd32dm0rphc51dk.cloudfront.net%2FtOfWds4sIX_9WpRf3RqaQQ%2Flarge.jpg", }, - resized_ArtworkSummaryItem: { - url: - "https://d7hftxdivxxvm.cloudfront.net?resize_to=fit&width=185&height=184&quality=80&src=https%3A%2F%2Fd32dm0rphc51dk.cloudfront.net%2FtOfWds4sIX_9WpRf3RqaQQ%2Flarge.jpg", - }, }, internalID: "artworkId", is_acquireable: true as boolean, @@ -73,10 +69,6 @@ const OrderArtworkVersionNode = { provenance: "", condition_description: "", image: { - resized_ArtworkSummaryItem: { - url: - "https://d7hftxdivxxvm.cloudfront.net?resize_to=fit&width=185&height=184&quality=80&src=https%3A%2F%2Fd32dm0rphc51dk.cloudfront.net%2FtOfWds4sIX_9WpRf3RqaQQ%2Flarge.jpg", - }, resized: { url: "https://d7hftxdivxxvm.cloudfront.net?resize_to=fit&width=185&height=184&quality=80&src=https%3A%2F%2Fd32dm0rphc51dk.cloudfront.net%2FtOfWds4sIX_9WpRf3RqaQQ%2Flarge.jpg", diff --git a/src/__generated__/AcceptTestQuery.graphql.ts b/src/__generated__/AcceptTestQuery.graphql.ts index 1f200d81b5a..7e445aac8b8 100644 --- a/src/__generated__/AcceptTestQuery.graphql.ts +++ b/src/__generated__/AcceptTestQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<> + * @generated SignedSource<> * @lightSyntaxTransform * @nogrep */ @@ -82,7 +82,7 @@ export type AcceptTestQuery$rawResponse = { readonly date: string | null | undefined; readonly id: string; readonly image: { - readonly resized_ArtworkSummaryItem: { + readonly resized: { readonly url: string; } | null | undefined; } | null | undefined; @@ -225,7 +225,7 @@ export type AcceptTestQuery$rawResponse = { readonly date: string | null | undefined; readonly id: string; readonly image: { - readonly resized_ArtworkSummaryItem: { + readonly resized: { readonly url: string; } | null | undefined; } | null | undefined; @@ -774,12 +774,12 @@ return { "plural": false, "selections": [ { - "alias": "resized_ArtworkSummaryItem", + "alias": null, "args": [ { "kind": "Literal", "name": "width", - "value": 55 + "value": 185 } ], "concreteType": "ResizedImageUrl", @@ -795,7 +795,7 @@ return { "storageKey": null } ], - "storageKey": "resized(width:55)" + "storageKey": "resized(width:185)" } ], "storageKey": null @@ -1122,7 +1122,7 @@ return { ] }, "params": { - "cacheID": "9d64b561946d61dc3a626e936a8bddb0", + "cacheID": "62f0097bfc8831a3b6f314c2444c1f97", "id": null, "metadata": { "relayTestingSelectionTypeInfo": { @@ -1234,13 +1234,13 @@ return { "plural": false, "type": "Image" }, - "order.lineItems.edges.node.artworkVersion.image.resized_ArtworkSummaryItem": { + "order.lineItems.edges.node.artworkVersion.image.resized": { "enumValues": null, "nullable": true, "plural": false, "type": "ResizedImageUrl" }, - "order.lineItems.edges.node.artworkVersion.image.resized_ArtworkSummaryItem.url": (v20/*: any*/), + "order.lineItems.edges.node.artworkVersion.image.resized.url": (v20/*: any*/), "order.lineItems.edges.node.artworkVersion.title": (v21/*: any*/), "order.lineItems.edges.node.id": (v22/*: any*/), "order.lineItems.edges.node.selectedShippingQuote": (v28/*: any*/), @@ -1371,7 +1371,7 @@ return { }, "name": "AcceptTestQuery", "operationKind": "query", - "text": "query AcceptTestQuery {\n order: commerceOrder(id: \"test-id\") {\n __typename\n ...Accept_order\n id\n }\n}\n\nfragment Accept_order on CommerceOrder {\n __isCommerceOrder: __typename\n internalID\n stateExpiresAt\n lineItems {\n edges {\n node {\n artwork {\n slug\n artists(shallow: true) {\n slug\n id\n }\n id\n }\n id\n }\n }\n }\n creditCardId\n ... on CommerceOfferOrder {\n lastOffer {\n internalID\n createdAt\n id\n }\n }\n ...TransactionDetailsSummaryItem_order\n ...ArtworkSummaryItem_order\n ...ShippingSummaryItem_order\n ...PaymentMethodSummaryItem_order\n ...OrderStepper_order\n}\n\nfragment ArtworkSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n sellerDetails {\n __typename\n ... on Partner {\n name\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n currencyCode\n mode\n source\n lineItems {\n edges {\n node {\n artworkOrEditionSet {\n __typename\n ... on Artwork {\n price\n }\n ... on EditionSet {\n price\n id\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n artwork {\n slug\n shippingOrigin\n isUnlisted\n id\n }\n artworkVersion {\n date\n artistNames\n title\n image {\n resized_ArtworkSummaryItem: resized(width: 55) {\n url\n }\n }\n id\n }\n id\n }\n }\n }\n}\n\nfragment OrderStepper_order on CommerceOrder {\n __isCommerceOrder: __typename\n mode\n paymentSet\n requestedFulfillment {\n __typename\n }\n paymentMethodDetails {\n __typename\n ... on CreditCard {\n id\n }\n ... on BankAccount {\n id\n }\n ... on WireTransfer {\n isManualPayment\n }\n }\n lineItems {\n edges {\n node {\n artwork {\n slug\n id\n }\n shippingQuoteOptions {\n edges {\n node {\n isSelected\n id\n }\n }\n }\n id\n }\n }\n }\n}\n\nfragment PaymentMethodSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n source\n paymentMethodDetails {\n __typename\n ... on CreditCard {\n brand\n lastDigits\n expirationYear\n expirationMonth\n id\n }\n ... on BankAccount {\n last4\n id\n }\n ... on WireTransfer {\n isManualPayment\n }\n }\n}\n\nfragment ShippingAddress_ship on CommerceRequestedFulfillmentUnion {\n __isCommerceRequestedFulfillmentUnion: __typename\n ... on CommerceShip {\n name\n addressLine1\n addressLine2\n city\n postalCode\n region\n country\n phoneNumber\n }\n ... on CommerceShipArta {\n name\n addressLine1\n addressLine2\n city\n postalCode\n region\n country\n phoneNumber\n }\n}\n\nfragment ShippingSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n state\n paymentMethod\n requestedFulfillment {\n __typename\n ...ShippingAddress_ship\n }\n lineItems {\n edges {\n node {\n artwork {\n shippingOrigin\n id\n }\n id\n }\n }\n }\n}\n\nfragment TransactionDetailsSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n __typename\n requestedFulfillment {\n __typename\n }\n code\n lineItems {\n edges {\n node {\n artworkOrEditionSet {\n __typename\n ... on Artwork {\n price\n }\n ... on EditionSet {\n price\n id\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n selectedShippingQuote {\n typeName\n id\n }\n id\n }\n }\n }\n mode\n source\n displayState\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n itemsTotal(precision: 2)\n buyerTotal(precision: 2)\n currencyCode\n ... on CommerceOfferOrder {\n lastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n myLastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n }\n}\n" + "text": "query AcceptTestQuery {\n order: commerceOrder(id: \"test-id\") {\n __typename\n ...Accept_order\n id\n }\n}\n\nfragment Accept_order on CommerceOrder {\n __isCommerceOrder: __typename\n internalID\n stateExpiresAt\n lineItems {\n edges {\n node {\n artwork {\n slug\n artists(shallow: true) {\n slug\n id\n }\n id\n }\n id\n }\n }\n }\n creditCardId\n ... on CommerceOfferOrder {\n lastOffer {\n internalID\n createdAt\n id\n }\n }\n ...TransactionDetailsSummaryItem_order\n ...ArtworkSummaryItem_order\n ...ShippingSummaryItem_order\n ...PaymentMethodSummaryItem_order\n ...OrderStepper_order\n}\n\nfragment ArtworkSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n sellerDetails {\n __typename\n ... on Partner {\n name\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n currencyCode\n mode\n source\n lineItems {\n edges {\n node {\n artworkOrEditionSet {\n __typename\n ... on Artwork {\n price\n }\n ... on EditionSet {\n price\n id\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n artwork {\n slug\n shippingOrigin\n isUnlisted\n id\n }\n artworkVersion {\n date\n artistNames\n title\n image {\n resized(width: 185) {\n url\n }\n }\n id\n }\n id\n }\n }\n }\n}\n\nfragment OrderStepper_order on CommerceOrder {\n __isCommerceOrder: __typename\n mode\n paymentSet\n requestedFulfillment {\n __typename\n }\n paymentMethodDetails {\n __typename\n ... on CreditCard {\n id\n }\n ... on BankAccount {\n id\n }\n ... on WireTransfer {\n isManualPayment\n }\n }\n lineItems {\n edges {\n node {\n artwork {\n slug\n id\n }\n shippingQuoteOptions {\n edges {\n node {\n isSelected\n id\n }\n }\n }\n id\n }\n }\n }\n}\n\nfragment PaymentMethodSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n source\n paymentMethodDetails {\n __typename\n ... on CreditCard {\n brand\n lastDigits\n expirationYear\n expirationMonth\n id\n }\n ... on BankAccount {\n last4\n id\n }\n ... on WireTransfer {\n isManualPayment\n }\n }\n}\n\nfragment ShippingAddress_ship on CommerceRequestedFulfillmentUnion {\n __isCommerceRequestedFulfillmentUnion: __typename\n ... on CommerceShip {\n name\n addressLine1\n addressLine2\n city\n postalCode\n region\n country\n phoneNumber\n }\n ... on CommerceShipArta {\n name\n addressLine1\n addressLine2\n city\n postalCode\n region\n country\n phoneNumber\n }\n}\n\nfragment ShippingSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n state\n paymentMethod\n requestedFulfillment {\n __typename\n ...ShippingAddress_ship\n }\n lineItems {\n edges {\n node {\n artwork {\n shippingOrigin\n id\n }\n id\n }\n }\n }\n}\n\nfragment TransactionDetailsSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n __typename\n requestedFulfillment {\n __typename\n }\n code\n lineItems {\n edges {\n node {\n artworkOrEditionSet {\n __typename\n ... on Artwork {\n price\n }\n ... on EditionSet {\n price\n id\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n selectedShippingQuote {\n typeName\n id\n }\n id\n }\n }\n }\n mode\n source\n displayState\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n itemsTotal(precision: 2)\n buyerTotal(precision: 2)\n currencyCode\n ... on CommerceOfferOrder {\n lastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n myLastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n }\n}\n" } }; })(); diff --git a/src/__generated__/ArtworkSummaryItem_order.graphql.ts b/src/__generated__/ArtworkSummaryItem_order.graphql.ts index da03337cc42..3cfc20a96c1 100644 --- a/src/__generated__/ArtworkSummaryItem_order.graphql.ts +++ b/src/__generated__/ArtworkSummaryItem_order.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<> + * @generated SignedSource<<1e6f52f83fe32f351e23dbff9b88c827>> * @lightSyntaxTransform * @nogrep */ @@ -37,7 +37,7 @@ export type ArtworkSummaryItem_order$data = { readonly artistNames: string | null | undefined; readonly date: string | null | undefined; readonly image: { - readonly resized_ArtworkSummaryItem: { + readonly resized: { readonly url: string; } | null | undefined; } | null | undefined; @@ -244,12 +244,12 @@ return { "plural": false, "selections": [ { - "alias": "resized_ArtworkSummaryItem", + "alias": null, "args": [ { "kind": "Literal", "name": "width", - "value": 55 + "value": 185 } ], "concreteType": "ResizedImageUrl", @@ -265,7 +265,7 @@ return { "storageKey": null } ], - "storageKey": "resized(width:55)" + "storageKey": "resized(width:185)" } ], "storageKey": null @@ -288,6 +288,6 @@ return { }; })(); -(node as any).hash = "3389bf5437c689478d9b92b4ea7550c2"; +(node as any).hash = "debc47d6e821d7c72b82c3e6b2d1d1df"; export default node; diff --git a/src/__generated__/CounterTestQuery.graphql.ts b/src/__generated__/CounterTestQuery.graphql.ts index facd518f25c..e645ab0294e 100644 --- a/src/__generated__/CounterTestQuery.graphql.ts +++ b/src/__generated__/CounterTestQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<6ce0dc4583f6b5524f0a2e482ca5d6b2>> + * @generated SignedSource<> * @lightSyntaxTransform * @nogrep */ @@ -77,7 +77,7 @@ export type CounterTestQuery$rawResponse = { readonly date: string | null | undefined; readonly id: string; readonly image: { - readonly resized_ArtworkSummaryItem: { + readonly resized: { readonly url: string; } | null | undefined; } | null | undefined; @@ -226,7 +226,7 @@ export type CounterTestQuery$rawResponse = { readonly date: string | null | undefined; readonly id: string; readonly image: { - readonly resized_ArtworkSummaryItem: { + readonly resized: { readonly url: string; } | null | undefined; } | null | undefined; @@ -817,12 +817,12 @@ return { "plural": false, "selections": [ { - "alias": "resized_ArtworkSummaryItem", + "alias": null, "args": [ { "kind": "Literal", "name": "width", - "value": 55 + "value": 185 } ], "concreteType": "ResizedImageUrl", @@ -838,7 +838,7 @@ return { "storageKey": null } ], - "storageKey": "resized(width:55)" + "storageKey": "resized(width:185)" } ], "storageKey": null @@ -1146,7 +1146,7 @@ return { ] }, "params": { - "cacheID": "61cd75911f2ef819608c706ec5eb9a00", + "cacheID": "03ee762ee193e611db7f7889300e23e8", "id": null, "metadata": { "relayTestingSelectionTypeInfo": { @@ -1249,13 +1249,13 @@ return { "plural": false, "type": "Image" }, - "order.lineItems.edges.node.artworkVersion.image.resized_ArtworkSummaryItem": { + "order.lineItems.edges.node.artworkVersion.image.resized": { "enumValues": null, "nullable": true, "plural": false, "type": "ResizedImageUrl" }, - "order.lineItems.edges.node.artworkVersion.image.resized_ArtworkSummaryItem.url": (v19/*: any*/), + "order.lineItems.edges.node.artworkVersion.image.resized.url": (v19/*: any*/), "order.lineItems.edges.node.artworkVersion.title": (v20/*: any*/), "order.lineItems.edges.node.id": (v21/*: any*/), "order.lineItems.edges.node.selectedShippingQuote": (v27/*: any*/), @@ -1404,7 +1404,7 @@ return { }, "name": "CounterTestQuery", "operationKind": "query", - "text": "query CounterTestQuery {\n order: commerceOrder(id: \"\") {\n __typename\n ...Counter_order\n id\n }\n}\n\nfragment ArtworkSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n sellerDetails {\n __typename\n ... on Partner {\n name\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n currencyCode\n mode\n source\n lineItems {\n edges {\n node {\n artworkOrEditionSet {\n __typename\n ... on Artwork {\n price\n }\n ... on EditionSet {\n price\n id\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n artwork {\n slug\n shippingOrigin\n isUnlisted\n id\n }\n artworkVersion {\n date\n artistNames\n title\n image {\n resized_ArtworkSummaryItem: resized(width: 55) {\n url\n }\n }\n id\n }\n id\n }\n }\n }\n}\n\nfragment Counter_order on CommerceOrder {\n __isCommerceOrder: __typename\n internalID\n mode\n state\n itemsTotal(precision: 2)\n stateExpiresAt\n ... on CommerceOfferOrder {\n lastOffer {\n createdAt\n id\n }\n myLastOffer {\n internalID\n id\n }\n }\n lineItems {\n edges {\n node {\n artwork {\n slug\n id\n }\n id\n }\n }\n }\n ...OrderStepper_order\n ...TransactionDetailsSummaryItem_order\n ...ArtworkSummaryItem_order\n ...ShippingSummaryItem_order\n ...PaymentMethodSummaryItem_order\n ...OfferHistoryItem_order\n}\n\nfragment OfferHistoryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n lineItems {\n edges {\n node {\n artworkOrEditionSet {\n __typename\n ... on Artwork {\n price\n }\n ... on EditionSet {\n price\n id\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n }\n }\n ... on CommerceOfferOrder {\n offers {\n edges {\n node {\n internalID\n amount(precision: 2)\n createdAt(format: \"MMM D\")\n fromParticipant\n id\n }\n }\n }\n currencyCode\n lastOffer {\n internalID\n fromParticipant\n amount(precision: 2)\n shippingTotal(precision: 2)\n taxTotal(precision: 2)\n note\n id\n }\n }\n}\n\nfragment OrderStepper_order on CommerceOrder {\n __isCommerceOrder: __typename\n mode\n paymentSet\n requestedFulfillment {\n __typename\n }\n paymentMethodDetails {\n __typename\n ... on CreditCard {\n id\n }\n ... on BankAccount {\n id\n }\n ... on WireTransfer {\n isManualPayment\n }\n }\n lineItems {\n edges {\n node {\n artwork {\n slug\n id\n }\n shippingQuoteOptions {\n edges {\n node {\n isSelected\n id\n }\n }\n }\n id\n }\n }\n }\n}\n\nfragment PaymentMethodSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n source\n paymentMethodDetails {\n __typename\n ... on CreditCard {\n brand\n lastDigits\n expirationYear\n expirationMonth\n id\n }\n ... on BankAccount {\n last4\n id\n }\n ... on WireTransfer {\n isManualPayment\n }\n }\n}\n\nfragment ShippingAddress_ship on CommerceRequestedFulfillmentUnion {\n __isCommerceRequestedFulfillmentUnion: __typename\n ... on CommerceShip {\n name\n addressLine1\n addressLine2\n city\n postalCode\n region\n country\n phoneNumber\n }\n ... on CommerceShipArta {\n name\n addressLine1\n addressLine2\n city\n postalCode\n region\n country\n phoneNumber\n }\n}\n\nfragment ShippingSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n state\n paymentMethod\n requestedFulfillment {\n __typename\n ...ShippingAddress_ship\n }\n lineItems {\n edges {\n node {\n artwork {\n shippingOrigin\n id\n }\n id\n }\n }\n }\n}\n\nfragment TransactionDetailsSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n __typename\n requestedFulfillment {\n __typename\n }\n code\n lineItems {\n edges {\n node {\n artworkOrEditionSet {\n __typename\n ... on Artwork {\n price\n }\n ... on EditionSet {\n price\n id\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n selectedShippingQuote {\n typeName\n id\n }\n id\n }\n }\n }\n mode\n source\n displayState\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n itemsTotal(precision: 2)\n buyerTotal(precision: 2)\n currencyCode\n ... on CommerceOfferOrder {\n lastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n myLastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n }\n}\n" + "text": "query CounterTestQuery {\n order: commerceOrder(id: \"\") {\n __typename\n ...Counter_order\n id\n }\n}\n\nfragment ArtworkSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n sellerDetails {\n __typename\n ... on Partner {\n name\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n currencyCode\n mode\n source\n lineItems {\n edges {\n node {\n artworkOrEditionSet {\n __typename\n ... on Artwork {\n price\n }\n ... on EditionSet {\n price\n id\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n artwork {\n slug\n shippingOrigin\n isUnlisted\n id\n }\n artworkVersion {\n date\n artistNames\n title\n image {\n resized(width: 185) {\n url\n }\n }\n id\n }\n id\n }\n }\n }\n}\n\nfragment Counter_order on CommerceOrder {\n __isCommerceOrder: __typename\n internalID\n mode\n state\n itemsTotal(precision: 2)\n stateExpiresAt\n ... on CommerceOfferOrder {\n lastOffer {\n createdAt\n id\n }\n myLastOffer {\n internalID\n id\n }\n }\n lineItems {\n edges {\n node {\n artwork {\n slug\n id\n }\n id\n }\n }\n }\n ...OrderStepper_order\n ...TransactionDetailsSummaryItem_order\n ...ArtworkSummaryItem_order\n ...ShippingSummaryItem_order\n ...PaymentMethodSummaryItem_order\n ...OfferHistoryItem_order\n}\n\nfragment OfferHistoryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n lineItems {\n edges {\n node {\n artworkOrEditionSet {\n __typename\n ... on Artwork {\n price\n }\n ... on EditionSet {\n price\n id\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n }\n }\n ... on CommerceOfferOrder {\n offers {\n edges {\n node {\n internalID\n amount(precision: 2)\n createdAt(format: \"MMM D\")\n fromParticipant\n id\n }\n }\n }\n currencyCode\n lastOffer {\n internalID\n fromParticipant\n amount(precision: 2)\n shippingTotal(precision: 2)\n taxTotal(precision: 2)\n note\n id\n }\n }\n}\n\nfragment OrderStepper_order on CommerceOrder {\n __isCommerceOrder: __typename\n mode\n paymentSet\n requestedFulfillment {\n __typename\n }\n paymentMethodDetails {\n __typename\n ... on CreditCard {\n id\n }\n ... on BankAccount {\n id\n }\n ... on WireTransfer {\n isManualPayment\n }\n }\n lineItems {\n edges {\n node {\n artwork {\n slug\n id\n }\n shippingQuoteOptions {\n edges {\n node {\n isSelected\n id\n }\n }\n }\n id\n }\n }\n }\n}\n\nfragment PaymentMethodSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n source\n paymentMethodDetails {\n __typename\n ... on CreditCard {\n brand\n lastDigits\n expirationYear\n expirationMonth\n id\n }\n ... on BankAccount {\n last4\n id\n }\n ... on WireTransfer {\n isManualPayment\n }\n }\n}\n\nfragment ShippingAddress_ship on CommerceRequestedFulfillmentUnion {\n __isCommerceRequestedFulfillmentUnion: __typename\n ... on CommerceShip {\n name\n addressLine1\n addressLine2\n city\n postalCode\n region\n country\n phoneNumber\n }\n ... on CommerceShipArta {\n name\n addressLine1\n addressLine2\n city\n postalCode\n region\n country\n phoneNumber\n }\n}\n\nfragment ShippingSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n state\n paymentMethod\n requestedFulfillment {\n __typename\n ...ShippingAddress_ship\n }\n lineItems {\n edges {\n node {\n artwork {\n shippingOrigin\n id\n }\n id\n }\n }\n }\n}\n\nfragment TransactionDetailsSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n __typename\n requestedFulfillment {\n __typename\n }\n code\n lineItems {\n edges {\n node {\n artworkOrEditionSet {\n __typename\n ... on Artwork {\n price\n }\n ... on EditionSet {\n price\n id\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n selectedShippingQuote {\n typeName\n id\n }\n id\n }\n }\n }\n mode\n source\n displayState\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n itemsTotal(precision: 2)\n buyerTotal(precision: 2)\n currencyCode\n ... on CommerceOfferOrder {\n lastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n myLastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n }\n}\n" } }; })(); diff --git a/src/__generated__/NewPaymentTestQuery.graphql.ts b/src/__generated__/NewPaymentTestQuery.graphql.ts index 628c3859630..4a813357e5e 100644 --- a/src/__generated__/NewPaymentTestQuery.graphql.ts +++ b/src/__generated__/NewPaymentTestQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<8edf333f9c8ce9c8a88dfb53d8ed9ca8>> + * @generated SignedSource<<495f71f24fdcf30bd2defa4135760659>> * @lightSyntaxTransform * @nogrep */ @@ -113,7 +113,7 @@ export type NewPaymentTestQuery$rawResponse = { readonly date: string | null | undefined; readonly id: string; readonly image: { - readonly resized_ArtworkSummaryItem: { + readonly resized: { readonly url: string; } | null | undefined; } | null | undefined; @@ -265,7 +265,7 @@ export type NewPaymentTestQuery$rawResponse = { readonly date: string | null | undefined; readonly id: string; readonly image: { - readonly resized_ArtworkSummaryItem: { + readonly resized: { readonly url: string; } | null | undefined; } | null | undefined; @@ -908,12 +908,12 @@ return { "plural": false, "selections": [ { - "alias": "resized_ArtworkSummaryItem", + "alias": null, "args": [ { "kind": "Literal", "name": "width", - "value": 55 + "value": 185 } ], "concreteType": "ResizedImageUrl", @@ -929,7 +929,7 @@ return { "storageKey": null } ], - "storageKey": "resized(width:55)" + "storageKey": "resized(width:185)" } ], "storageKey": null @@ -1273,7 +1273,7 @@ return { ] }, "params": { - "cacheID": "3c287a52a094cff9740eb0b4820aa4b7", + "cacheID": "e52dabb34814d910eb004519fc7c78ad", "id": null, "metadata": { "relayTestingSelectionTypeInfo": { @@ -1424,13 +1424,13 @@ return { "plural": false, "type": "Image" }, - "order.lineItems.edges.node.artworkVersion.image.resized_ArtworkSummaryItem": { + "order.lineItems.edges.node.artworkVersion.image.resized": { "enumValues": null, "nullable": true, "plural": false, "type": "ResizedImageUrl" }, - "order.lineItems.edges.node.artworkVersion.image.resized_ArtworkSummaryItem.url": (v30/*: any*/), + "order.lineItems.edges.node.artworkVersion.image.resized.url": (v30/*: any*/), "order.lineItems.edges.node.artworkVersion.title": (v33/*: any*/), "order.lineItems.edges.node.id": (v32/*: any*/), "order.lineItems.edges.node.selectedShippingQuote": (v38/*: any*/), @@ -1551,7 +1551,7 @@ return { }, "name": "NewPaymentTestQuery", "operationKind": "query", - "text": "query NewPaymentTestQuery {\n me {\n ...NewPayment_me\n id\n }\n order: commerceOrder(id: \"unused\") {\n __typename\n ...NewPayment_order\n id\n }\n}\n\nfragment ArtworkSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n sellerDetails {\n __typename\n ... on Partner {\n name\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n currencyCode\n mode\n source\n lineItems {\n edges {\n node {\n artworkOrEditionSet {\n __typename\n ... on Artwork {\n price\n }\n ... on EditionSet {\n price\n id\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n artwork {\n slug\n shippingOrigin\n isUnlisted\n id\n }\n artworkVersion {\n date\n artistNames\n title\n image {\n resized_ArtworkSummaryItem: resized(width: 55) {\n url\n }\n }\n id\n }\n id\n }\n }\n }\n}\n\nfragment CreditCardPicker_me on Me {\n creditCards(first: 100) {\n edges {\n node {\n internalID\n brand\n lastDigits\n expirationMonth\n expirationYear\n id\n }\n }\n }\n}\n\nfragment CreditCardPicker_order on CommerceOrder {\n __isCommerceOrder: __typename\n internalID\n mode\n state\n creditCard {\n internalID\n name\n street1\n street2\n city\n state\n country\n postalCode\n expirationMonth\n expirationYear\n lastDigits\n brand\n id\n }\n sellerDetails {\n __typename\n ... on Partner {\n merchantAccount {\n externalId\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n requestedFulfillment {\n __typename\n ... on CommerceShip {\n name\n addressLine1\n addressLine2\n city\n region\n country\n postalCode\n }\n ... on CommerceShipArta {\n name\n addressLine1\n addressLine2\n city\n region\n country\n postalCode\n }\n ... on CommercePickup {\n fulfillmentType\n }\n }\n lineItems {\n edges {\n node {\n artwork {\n slug\n id\n }\n id\n }\n }\n }\n}\n\nfragment NewPayment_me on Me {\n ...CreditCardPicker_me\n}\n\nfragment NewPayment_order on CommerceOrder {\n __isCommerceOrder: __typename\n internalID\n mode\n stateExpiresAt\n lineItems {\n edges {\n node {\n artwork {\n slug\n artists(shallow: true) {\n slug\n id\n }\n id\n }\n id\n }\n }\n }\n ... on CommerceOfferOrder {\n lastOffer {\n createdAt\n internalID\n note\n id\n }\n }\n ...CreditCardPicker_order\n ...ArtworkSummaryItem_order\n ...TransactionDetailsSummaryItem_order\n ...OrderStepper_order\n}\n\nfragment OrderStepper_order on CommerceOrder {\n __isCommerceOrder: __typename\n mode\n paymentSet\n requestedFulfillment {\n __typename\n }\n paymentMethodDetails {\n __typename\n ... on CreditCard {\n id\n }\n ... on BankAccount {\n id\n }\n ... on WireTransfer {\n isManualPayment\n }\n }\n lineItems {\n edges {\n node {\n artwork {\n slug\n id\n }\n shippingQuoteOptions {\n edges {\n node {\n isSelected\n id\n }\n }\n }\n id\n }\n }\n }\n}\n\nfragment TransactionDetailsSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n __typename\n requestedFulfillment {\n __typename\n }\n code\n lineItems {\n edges {\n node {\n artworkOrEditionSet {\n __typename\n ... on Artwork {\n price\n }\n ... on EditionSet {\n price\n id\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n selectedShippingQuote {\n typeName\n id\n }\n id\n }\n }\n }\n mode\n source\n displayState\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n itemsTotal(precision: 2)\n buyerTotal(precision: 2)\n currencyCode\n ... on CommerceOfferOrder {\n lastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n myLastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n }\n}\n" + "text": "query NewPaymentTestQuery {\n me {\n ...NewPayment_me\n id\n }\n order: commerceOrder(id: \"unused\") {\n __typename\n ...NewPayment_order\n id\n }\n}\n\nfragment ArtworkSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n sellerDetails {\n __typename\n ... on Partner {\n name\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n currencyCode\n mode\n source\n lineItems {\n edges {\n node {\n artworkOrEditionSet {\n __typename\n ... on Artwork {\n price\n }\n ... on EditionSet {\n price\n id\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n artwork {\n slug\n shippingOrigin\n isUnlisted\n id\n }\n artworkVersion {\n date\n artistNames\n title\n image {\n resized(width: 185) {\n url\n }\n }\n id\n }\n id\n }\n }\n }\n}\n\nfragment CreditCardPicker_me on Me {\n creditCards(first: 100) {\n edges {\n node {\n internalID\n brand\n lastDigits\n expirationMonth\n expirationYear\n id\n }\n }\n }\n}\n\nfragment CreditCardPicker_order on CommerceOrder {\n __isCommerceOrder: __typename\n internalID\n mode\n state\n creditCard {\n internalID\n name\n street1\n street2\n city\n state\n country\n postalCode\n expirationMonth\n expirationYear\n lastDigits\n brand\n id\n }\n sellerDetails {\n __typename\n ... on Partner {\n merchantAccount {\n externalId\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n requestedFulfillment {\n __typename\n ... on CommerceShip {\n name\n addressLine1\n addressLine2\n city\n region\n country\n postalCode\n }\n ... on CommerceShipArta {\n name\n addressLine1\n addressLine2\n city\n region\n country\n postalCode\n }\n ... on CommercePickup {\n fulfillmentType\n }\n }\n lineItems {\n edges {\n node {\n artwork {\n slug\n id\n }\n id\n }\n }\n }\n}\n\nfragment NewPayment_me on Me {\n ...CreditCardPicker_me\n}\n\nfragment NewPayment_order on CommerceOrder {\n __isCommerceOrder: __typename\n internalID\n mode\n stateExpiresAt\n lineItems {\n edges {\n node {\n artwork {\n slug\n artists(shallow: true) {\n slug\n id\n }\n id\n }\n id\n }\n }\n }\n ... on CommerceOfferOrder {\n lastOffer {\n createdAt\n internalID\n note\n id\n }\n }\n ...CreditCardPicker_order\n ...ArtworkSummaryItem_order\n ...TransactionDetailsSummaryItem_order\n ...OrderStepper_order\n}\n\nfragment OrderStepper_order on CommerceOrder {\n __isCommerceOrder: __typename\n mode\n paymentSet\n requestedFulfillment {\n __typename\n }\n paymentMethodDetails {\n __typename\n ... on CreditCard {\n id\n }\n ... on BankAccount {\n id\n }\n ... on WireTransfer {\n isManualPayment\n }\n }\n lineItems {\n edges {\n node {\n artwork {\n slug\n id\n }\n shippingQuoteOptions {\n edges {\n node {\n isSelected\n id\n }\n }\n }\n id\n }\n }\n }\n}\n\nfragment TransactionDetailsSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n __typename\n requestedFulfillment {\n __typename\n }\n code\n lineItems {\n edges {\n node {\n artworkOrEditionSet {\n __typename\n ... on Artwork {\n price\n }\n ... on EditionSet {\n price\n id\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n selectedShippingQuote {\n typeName\n id\n }\n id\n }\n }\n }\n mode\n source\n displayState\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n itemsTotal(precision: 2)\n buyerTotal(precision: 2)\n currencyCode\n ... on CommerceOfferOrder {\n lastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n myLastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n }\n}\n" } }; })(); diff --git a/src/__generated__/OfferTestQuery.graphql.ts b/src/__generated__/OfferTestQuery.graphql.ts index c657b1aed63..35e13fd5638 100644 --- a/src/__generated__/OfferTestQuery.graphql.ts +++ b/src/__generated__/OfferTestQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<60d5c7c255322bcbc87556bdf1d4e38e>> + * @generated SignedSource<<9cdc38885ee6d77502f39119432a2648>> * @lightSyntaxTransform * @nogrep */ @@ -99,7 +99,7 @@ export type OfferTestQuery$rawResponse = { readonly date: string | null | undefined; readonly id: string; readonly image: { - readonly resized_ArtworkSummaryItem: { + readonly resized: { readonly url: string; } | null | undefined; } | null | undefined; @@ -232,7 +232,7 @@ export type OfferTestQuery$rawResponse = { readonly date: string | null | undefined; readonly id: string; readonly image: { - readonly resized_ArtworkSummaryItem: { + readonly resized: { readonly url: string; } | null | undefined; } | null | undefined; @@ -786,12 +786,12 @@ return { "plural": false, "selections": [ { - "alias": "resized_ArtworkSummaryItem", + "alias": null, "args": [ { "kind": "Literal", "name": "width", - "value": 55 + "value": 185 } ], "concreteType": "ResizedImageUrl", @@ -807,7 +807,7 @@ return { "storageKey": null } ], - "storageKey": "resized(width:55)" + "storageKey": "resized(width:185)" } ], "storageKey": null @@ -1087,7 +1087,7 @@ return { ] }, "params": { - "cacheID": "01cbef051eaa9b183d1bf592af77e522", + "cacheID": "e2314e5eb769da520478df70d5434f8a", "id": null, "metadata": { "relayTestingSelectionTypeInfo": { @@ -1214,13 +1214,13 @@ return { "plural": false, "type": "Image" }, - "order.lineItems.edges.node.artworkVersion.image.resized_ArtworkSummaryItem": { + "order.lineItems.edges.node.artworkVersion.image.resized": { "enumValues": null, "nullable": true, "plural": false, "type": "ResizedImageUrl" }, - "order.lineItems.edges.node.artworkVersion.image.resized_ArtworkSummaryItem.url": (v20/*: any*/), + "order.lineItems.edges.node.artworkVersion.image.resized.url": (v20/*: any*/), "order.lineItems.edges.node.artworkVersion.title": (v21/*: any*/), "order.lineItems.edges.node.id": (v22/*: any*/), "order.lineItems.edges.node.listPrice": (v21/*: any*/), @@ -1327,7 +1327,7 @@ return { }, "name": "OfferTestQuery", "operationKind": "query", - "text": "query OfferTestQuery {\n order: commerceOrder(id: \"unused\") {\n __typename\n ...Offer_order\n id\n }\n}\n\nfragment ArtworkSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n sellerDetails {\n __typename\n ... on Partner {\n name\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n currencyCode\n mode\n source\n lineItems {\n edges {\n node {\n artworkOrEditionSet {\n __typename\n ... on Artwork {\n price\n }\n ... on EditionSet {\n price\n id\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n artwork {\n slug\n shippingOrigin\n isUnlisted\n id\n }\n artworkVersion {\n date\n artistNames\n title\n image {\n resized_ArtworkSummaryItem: resized(width: 55) {\n url\n }\n }\n id\n }\n id\n }\n }\n }\n}\n\nfragment Offer_order on CommerceOrder {\n __isCommerceOrder: __typename\n internalID\n mode\n state\n totalListPriceCents\n currencyCode\n lineItems {\n edges {\n node {\n artwork {\n slug\n price\n isPriceRange\n listPrice {\n __typename\n ... on Money {\n major\n }\n ... on PriceRange {\n maxPrice {\n major\n }\n minPrice {\n major\n }\n }\n }\n editionSets {\n internalID\n id\n }\n ...PriceOptions_artwork\n id\n }\n artworkOrEditionSet {\n __typename\n ... on Artwork {\n price\n displayPriceRange\n }\n ... on EditionSet {\n price\n displayPriceRange\n id\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n }\n }\n ... on CommerceOfferOrder {\n isInquiryOrder\n myLastOffer {\n note\n id\n }\n }\n ...ArtworkSummaryItem_order\n ...TransactionDetailsSummaryItem_order\n ...PriceOptions_order\n ...OrderStepper_order\n}\n\nfragment OrderStepper_order on CommerceOrder {\n __isCommerceOrder: __typename\n mode\n paymentSet\n requestedFulfillment {\n __typename\n }\n paymentMethodDetails {\n __typename\n ... on CreditCard {\n id\n }\n ... on BankAccount {\n id\n }\n ... on WireTransfer {\n isManualPayment\n }\n }\n lineItems {\n edges {\n node {\n artwork {\n slug\n id\n }\n shippingQuoteOptions {\n edges {\n node {\n isSelected\n id\n }\n }\n }\n id\n }\n }\n }\n}\n\nfragment PriceOptions_artwork on Artwork {\n priceCurrency\n isPriceRange\n listPrice {\n __typename\n ... on Money {\n major\n }\n ... on PriceRange {\n maxPrice {\n major\n }\n minPrice {\n major\n }\n }\n }\n}\n\nfragment PriceOptions_order on CommerceOrder {\n __isCommerceOrder: __typename\n internalID\n source\n lineItems {\n edges {\n node {\n listPrice(format: \"%v\", thousand: \"\")\n id\n }\n }\n }\n ... on CommerceOfferOrder {\n myLastOffer {\n amountCents\n id\n }\n }\n}\n\nfragment TransactionDetailsSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n __typename\n requestedFulfillment {\n __typename\n }\n code\n lineItems {\n edges {\n node {\n artworkOrEditionSet {\n __typename\n ... on Artwork {\n price\n }\n ... on EditionSet {\n price\n id\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n selectedShippingQuote {\n typeName\n id\n }\n id\n }\n }\n }\n mode\n source\n displayState\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n itemsTotal(precision: 2)\n buyerTotal(precision: 2)\n currencyCode\n ... on CommerceOfferOrder {\n lastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n myLastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n }\n}\n" + "text": "query OfferTestQuery {\n order: commerceOrder(id: \"unused\") {\n __typename\n ...Offer_order\n id\n }\n}\n\nfragment ArtworkSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n sellerDetails {\n __typename\n ... on Partner {\n name\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n currencyCode\n mode\n source\n lineItems {\n edges {\n node {\n artworkOrEditionSet {\n __typename\n ... on Artwork {\n price\n }\n ... on EditionSet {\n price\n id\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n artwork {\n slug\n shippingOrigin\n isUnlisted\n id\n }\n artworkVersion {\n date\n artistNames\n title\n image {\n resized(width: 185) {\n url\n }\n }\n id\n }\n id\n }\n }\n }\n}\n\nfragment Offer_order on CommerceOrder {\n __isCommerceOrder: __typename\n internalID\n mode\n state\n totalListPriceCents\n currencyCode\n lineItems {\n edges {\n node {\n artwork {\n slug\n price\n isPriceRange\n listPrice {\n __typename\n ... on Money {\n major\n }\n ... on PriceRange {\n maxPrice {\n major\n }\n minPrice {\n major\n }\n }\n }\n editionSets {\n internalID\n id\n }\n ...PriceOptions_artwork\n id\n }\n artworkOrEditionSet {\n __typename\n ... on Artwork {\n price\n displayPriceRange\n }\n ... on EditionSet {\n price\n displayPriceRange\n id\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n }\n }\n ... on CommerceOfferOrder {\n isInquiryOrder\n myLastOffer {\n note\n id\n }\n }\n ...ArtworkSummaryItem_order\n ...TransactionDetailsSummaryItem_order\n ...PriceOptions_order\n ...OrderStepper_order\n}\n\nfragment OrderStepper_order on CommerceOrder {\n __isCommerceOrder: __typename\n mode\n paymentSet\n requestedFulfillment {\n __typename\n }\n paymentMethodDetails {\n __typename\n ... on CreditCard {\n id\n }\n ... on BankAccount {\n id\n }\n ... on WireTransfer {\n isManualPayment\n }\n }\n lineItems {\n edges {\n node {\n artwork {\n slug\n id\n }\n shippingQuoteOptions {\n edges {\n node {\n isSelected\n id\n }\n }\n }\n id\n }\n }\n }\n}\n\nfragment PriceOptions_artwork on Artwork {\n priceCurrency\n isPriceRange\n listPrice {\n __typename\n ... on Money {\n major\n }\n ... on PriceRange {\n maxPrice {\n major\n }\n minPrice {\n major\n }\n }\n }\n}\n\nfragment PriceOptions_order on CommerceOrder {\n __isCommerceOrder: __typename\n internalID\n source\n lineItems {\n edges {\n node {\n listPrice(format: \"%v\", thousand: \"\")\n id\n }\n }\n }\n ... on CommerceOfferOrder {\n myLastOffer {\n amountCents\n id\n }\n }\n}\n\nfragment TransactionDetailsSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n __typename\n requestedFulfillment {\n __typename\n }\n code\n lineItems {\n edges {\n node {\n artworkOrEditionSet {\n __typename\n ... on Artwork {\n price\n }\n ... on EditionSet {\n price\n id\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n selectedShippingQuote {\n typeName\n id\n }\n id\n }\n }\n }\n mode\n source\n displayState\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n itemsTotal(precision: 2)\n buyerTotal(precision: 2)\n currencyCode\n ... on CommerceOfferOrder {\n lastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n myLastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n }\n}\n" } }; })(); diff --git a/src/__generated__/PaymentTestQuery.graphql.ts b/src/__generated__/PaymentTestQuery.graphql.ts index 3e3d4829954..28d685f304e 100644 --- a/src/__generated__/PaymentTestQuery.graphql.ts +++ b/src/__generated__/PaymentTestQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<9853dd13cec1810140c6437cc6a19978>> + * @generated SignedSource<<6ef871cbb7cd4e272eca8f31651e37ae>> * @lightSyntaxTransform * @nogrep */ @@ -124,7 +124,7 @@ export type PaymentTestQuery$rawResponse = { readonly date: string | null | undefined; readonly id: string; readonly image: { - readonly resized_ArtworkSummaryItem: { + readonly resized: { readonly url: string; } | null | undefined; } | null | undefined; @@ -282,7 +282,7 @@ export type PaymentTestQuery$rawResponse = { readonly date: string | null | undefined; readonly id: string; readonly image: { - readonly resized_ArtworkSummaryItem: { + readonly resized: { readonly url: string; } | null | undefined; } | null | undefined; @@ -997,12 +997,12 @@ return { "plural": false, "selections": [ { - "alias": "resized_ArtworkSummaryItem", + "alias": null, "args": [ { "kind": "Literal", "name": "width", - "value": 55 + "value": 185 } ], "concreteType": "ResizedImageUrl", @@ -1018,7 +1018,7 @@ return { "storageKey": null } ], - "storageKey": "resized(width:55)" + "storageKey": "resized(width:185)" } ], "storageKey": null @@ -1355,7 +1355,7 @@ return { ] }, "params": { - "cacheID": "69c5e75c112dd5dcd3e01c56819aea72", + "cacheID": "1d605c35ae2d0f78ef0e64ff618ed6f3", "id": null, "metadata": { "relayTestingSelectionTypeInfo": { @@ -1529,13 +1529,13 @@ return { "plural": false, "type": "Image" }, - "order.lineItems.edges.node.artworkVersion.image.resized_ArtworkSummaryItem": { + "order.lineItems.edges.node.artworkVersion.image.resized": { "enumValues": null, "nullable": true, "plural": false, "type": "ResizedImageUrl" }, - "order.lineItems.edges.node.artworkVersion.image.resized_ArtworkSummaryItem.url": (v28/*: any*/), + "order.lineItems.edges.node.artworkVersion.image.resized.url": (v28/*: any*/), "order.lineItems.edges.node.artworkVersion.provenance": (v31/*: any*/), "order.lineItems.edges.node.artworkVersion.title": (v31/*: any*/), "order.lineItems.edges.node.id": (v27/*: any*/), @@ -1665,7 +1665,7 @@ return { }, "name": "PaymentTestQuery", "operationKind": "query", - "text": "query PaymentTestQuery {\n me {\n ...Payment_me\n id\n }\n order: commerceOrder(id: \"unused\") {\n __typename\n ...Payment_order\n id\n }\n}\n\nfragment AdditionalArtworkDetails_order on CommerceOrder {\n __isCommerceOrder: __typename\n artworkDetails\n lineItems {\n edges {\n node {\n artworkVersion {\n provenance\n condition_description\n id\n }\n id\n }\n }\n }\n}\n\nfragment ArtworkSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n sellerDetails {\n __typename\n ... on Partner {\n name\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n currencyCode\n mode\n source\n lineItems {\n edges {\n node {\n artworkOrEditionSet {\n __typename\n ... on Artwork {\n price\n }\n ... on EditionSet {\n price\n id\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n artwork {\n slug\n shippingOrigin\n isUnlisted\n id\n }\n artworkVersion {\n date\n artistNames\n title\n image {\n resized_ArtworkSummaryItem: resized(width: 55) {\n url\n }\n }\n id\n }\n id\n }\n }\n }\n}\n\nfragment BankAccountPicker_me on Me {\n bankAccounts(first: 100) {\n edges {\n node {\n internalID\n last4\n id\n }\n }\n }\n}\n\nfragment BankAccountPicker_order on CommerceOrder {\n __isCommerceOrder: __typename\n internalID\n mode\n bankAccountId\n paymentMethodDetails {\n __typename\n ... on BankAccount {\n internalID\n last4\n id\n }\n ... on CreditCard {\n id\n }\n }\n}\n\nfragment CreditCardPicker_me on Me {\n creditCards(first: 100) {\n edges {\n node {\n internalID\n brand\n lastDigits\n expirationMonth\n expirationYear\n id\n }\n }\n }\n}\n\nfragment CreditCardPicker_order on CommerceOrder {\n __isCommerceOrder: __typename\n internalID\n mode\n state\n creditCard {\n internalID\n name\n street1\n street2\n city\n state\n country\n postalCode\n expirationMonth\n expirationYear\n lastDigits\n brand\n id\n }\n sellerDetails {\n __typename\n ... on Partner {\n merchantAccount {\n externalId\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n requestedFulfillment {\n __typename\n ... on CommerceShip {\n name\n addressLine1\n addressLine2\n city\n region\n country\n postalCode\n }\n ... on CommerceShipArta {\n name\n addressLine1\n addressLine2\n city\n region\n country\n postalCode\n }\n ... on CommercePickup {\n fulfillmentType\n }\n }\n lineItems {\n edges {\n node {\n artwork {\n slug\n id\n }\n id\n }\n }\n }\n}\n\nfragment OrderStepper_order on CommerceOrder {\n __isCommerceOrder: __typename\n mode\n paymentSet\n requestedFulfillment {\n __typename\n }\n paymentMethodDetails {\n __typename\n ... on CreditCard {\n id\n }\n ... on BankAccount {\n id\n }\n ... on WireTransfer {\n isManualPayment\n }\n }\n lineItems {\n edges {\n node {\n artwork {\n slug\n id\n }\n shippingQuoteOptions {\n edges {\n node {\n isSelected\n id\n }\n }\n }\n id\n }\n }\n }\n}\n\nfragment PartnerOfferTimerItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n displayState\n stateExpiresAt\n}\n\nfragment Payment_me on Me {\n creditCards(first: 100) {\n edges {\n node {\n internalID\n id\n }\n }\n }\n bankAccounts(first: 100) {\n edges {\n node {\n internalID\n last4\n id\n }\n }\n }\n ...CreditCardPicker_me\n ...BankAccountPicker_me\n}\n\nfragment Payment_order on CommerceOrder {\n __isCommerceOrder: __typename\n artworkDetails\n source\n conditionsOfSale\n bankAccountId\n availablePaymentMethods\n paymentSet\n buyerTotalCents\n internalID\n mode\n currencyCode\n buyerTotal(precision: 2)\n lineItems {\n edges {\n node {\n artwork {\n slug\n id\n }\n artworkVersion {\n provenance\n condition_description\n id\n }\n id\n }\n }\n }\n paymentMethod\n paymentMethodDetails {\n __typename\n ... on CreditCard {\n id\n }\n ... on BankAccount {\n id\n }\n ... on WireTransfer {\n isManualPayment\n }\n }\n ...CreditCardPicker_order\n ...BankAccountPicker_order\n ...PartnerOfferTimerItem_order\n ...ArtworkSummaryItem_order\n ...AdditionalArtworkDetails_order\n ...TransactionDetailsSummaryItem_order\n ...OrderStepper_order\n}\n\nfragment TransactionDetailsSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n __typename\n requestedFulfillment {\n __typename\n }\n code\n lineItems {\n edges {\n node {\n artworkOrEditionSet {\n __typename\n ... on Artwork {\n price\n }\n ... on EditionSet {\n price\n id\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n selectedShippingQuote {\n typeName\n id\n }\n id\n }\n }\n }\n mode\n source\n displayState\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n itemsTotal(precision: 2)\n buyerTotal(precision: 2)\n currencyCode\n ... on CommerceOfferOrder {\n lastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n myLastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n }\n}\n" + "text": "query PaymentTestQuery {\n me {\n ...Payment_me\n id\n }\n order: commerceOrder(id: \"unused\") {\n __typename\n ...Payment_order\n id\n }\n}\n\nfragment AdditionalArtworkDetails_order on CommerceOrder {\n __isCommerceOrder: __typename\n artworkDetails\n lineItems {\n edges {\n node {\n artworkVersion {\n provenance\n condition_description\n id\n }\n id\n }\n }\n }\n}\n\nfragment ArtworkSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n sellerDetails {\n __typename\n ... on Partner {\n name\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n currencyCode\n mode\n source\n lineItems {\n edges {\n node {\n artworkOrEditionSet {\n __typename\n ... on Artwork {\n price\n }\n ... on EditionSet {\n price\n id\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n artwork {\n slug\n shippingOrigin\n isUnlisted\n id\n }\n artworkVersion {\n date\n artistNames\n title\n image {\n resized(width: 185) {\n url\n }\n }\n id\n }\n id\n }\n }\n }\n}\n\nfragment BankAccountPicker_me on Me {\n bankAccounts(first: 100) {\n edges {\n node {\n internalID\n last4\n id\n }\n }\n }\n}\n\nfragment BankAccountPicker_order on CommerceOrder {\n __isCommerceOrder: __typename\n internalID\n mode\n bankAccountId\n paymentMethodDetails {\n __typename\n ... on BankAccount {\n internalID\n last4\n id\n }\n ... on CreditCard {\n id\n }\n }\n}\n\nfragment CreditCardPicker_me on Me {\n creditCards(first: 100) {\n edges {\n node {\n internalID\n brand\n lastDigits\n expirationMonth\n expirationYear\n id\n }\n }\n }\n}\n\nfragment CreditCardPicker_order on CommerceOrder {\n __isCommerceOrder: __typename\n internalID\n mode\n state\n creditCard {\n internalID\n name\n street1\n street2\n city\n state\n country\n postalCode\n expirationMonth\n expirationYear\n lastDigits\n brand\n id\n }\n sellerDetails {\n __typename\n ... on Partner {\n merchantAccount {\n externalId\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n requestedFulfillment {\n __typename\n ... on CommerceShip {\n name\n addressLine1\n addressLine2\n city\n region\n country\n postalCode\n }\n ... on CommerceShipArta {\n name\n addressLine1\n addressLine2\n city\n region\n country\n postalCode\n }\n ... on CommercePickup {\n fulfillmentType\n }\n }\n lineItems {\n edges {\n node {\n artwork {\n slug\n id\n }\n id\n }\n }\n }\n}\n\nfragment OrderStepper_order on CommerceOrder {\n __isCommerceOrder: __typename\n mode\n paymentSet\n requestedFulfillment {\n __typename\n }\n paymentMethodDetails {\n __typename\n ... on CreditCard {\n id\n }\n ... on BankAccount {\n id\n }\n ... on WireTransfer {\n isManualPayment\n }\n }\n lineItems {\n edges {\n node {\n artwork {\n slug\n id\n }\n shippingQuoteOptions {\n edges {\n node {\n isSelected\n id\n }\n }\n }\n id\n }\n }\n }\n}\n\nfragment PartnerOfferTimerItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n displayState\n stateExpiresAt\n}\n\nfragment Payment_me on Me {\n creditCards(first: 100) {\n edges {\n node {\n internalID\n id\n }\n }\n }\n bankAccounts(first: 100) {\n edges {\n node {\n internalID\n last4\n id\n }\n }\n }\n ...CreditCardPicker_me\n ...BankAccountPicker_me\n}\n\nfragment Payment_order on CommerceOrder {\n __isCommerceOrder: __typename\n artworkDetails\n source\n conditionsOfSale\n bankAccountId\n availablePaymentMethods\n paymentSet\n buyerTotalCents\n internalID\n mode\n currencyCode\n buyerTotal(precision: 2)\n lineItems {\n edges {\n node {\n artwork {\n slug\n id\n }\n artworkVersion {\n provenance\n condition_description\n id\n }\n id\n }\n }\n }\n paymentMethod\n paymentMethodDetails {\n __typename\n ... on CreditCard {\n id\n }\n ... on BankAccount {\n id\n }\n ... on WireTransfer {\n isManualPayment\n }\n }\n ...CreditCardPicker_order\n ...BankAccountPicker_order\n ...PartnerOfferTimerItem_order\n ...ArtworkSummaryItem_order\n ...AdditionalArtworkDetails_order\n ...TransactionDetailsSummaryItem_order\n ...OrderStepper_order\n}\n\nfragment TransactionDetailsSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n __typename\n requestedFulfillment {\n __typename\n }\n code\n lineItems {\n edges {\n node {\n artworkOrEditionSet {\n __typename\n ... on Artwork {\n price\n }\n ... on EditionSet {\n price\n id\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n selectedShippingQuote {\n typeName\n id\n }\n id\n }\n }\n }\n mode\n source\n displayState\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n itemsTotal(precision: 2)\n buyerTotal(precision: 2)\n currencyCode\n ... on CommerceOfferOrder {\n lastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n myLastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n }\n}\n" } }; })(); diff --git a/src/__generated__/RejectTestQuery.graphql.ts b/src/__generated__/RejectTestQuery.graphql.ts index de1bd55583a..a47b99db32f 100644 --- a/src/__generated__/RejectTestQuery.graphql.ts +++ b/src/__generated__/RejectTestQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<> + * @generated SignedSource<> * @lightSyntaxTransform * @nogrep */ @@ -59,7 +59,7 @@ export type RejectTestQuery$rawResponse = { readonly date: string | null | undefined; readonly id: string; readonly image: { - readonly resized_ArtworkSummaryItem: { + readonly resized: { readonly url: string; } | null | undefined; } | null | undefined; @@ -141,7 +141,7 @@ export type RejectTestQuery$rawResponse = { readonly date: string | null | undefined; readonly id: string; readonly image: { - readonly resized_ArtworkSummaryItem: { + readonly resized: { readonly url: string; } | null | undefined; } | null | undefined; @@ -445,12 +445,12 @@ return { "plural": false, "selections": [ { - "alias": "resized_ArtworkSummaryItem", + "alias": null, "args": [ { "kind": "Literal", "name": "width", - "value": 55 + "value": 185 } ], "concreteType": "ResizedImageUrl", @@ -466,7 +466,7 @@ return { "storageKey": null } ], - "storageKey": "resized(width:55)" + "storageKey": "resized(width:185)" } ], "storageKey": null @@ -664,7 +664,7 @@ return { ] }, "params": { - "cacheID": "a407aa503498949904c5725749d6afef", + "cacheID": "c7e00a6ed57ba1b5fb7abb18390086c4", "id": null, "metadata": { "relayTestingSelectionTypeInfo": { @@ -741,13 +741,13 @@ return { "plural": false, "type": "Image" }, - "order.lineItems.edges.node.artworkVersion.image.resized_ArtworkSummaryItem": { + "order.lineItems.edges.node.artworkVersion.image.resized": { "enumValues": null, "nullable": true, "plural": false, "type": "ResizedImageUrl" }, - "order.lineItems.edges.node.artworkVersion.image.resized_ArtworkSummaryItem.url": (v7/*: any*/), + "order.lineItems.edges.node.artworkVersion.image.resized.url": (v7/*: any*/), "order.lineItems.edges.node.artworkVersion.title": (v10/*: any*/), "order.lineItems.edges.node.id": (v8/*: any*/), "order.lineItems.edges.node.shippingQuoteOptions": { @@ -822,7 +822,7 @@ return { }, "name": "RejectTestQuery", "operationKind": "query", - "text": "query RejectTestQuery {\n order: commerceOrder(id: \"unused\") {\n __typename\n ...Reject_order\n id\n }\n}\n\nfragment ArtworkSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n sellerDetails {\n __typename\n ... on Partner {\n name\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n currencyCode\n mode\n source\n lineItems {\n edges {\n node {\n artworkOrEditionSet {\n __typename\n ... on Artwork {\n price\n }\n ... on EditionSet {\n price\n id\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n artwork {\n slug\n shippingOrigin\n isUnlisted\n id\n }\n artworkVersion {\n date\n artistNames\n title\n image {\n resized_ArtworkSummaryItem: resized(width: 55) {\n url\n }\n }\n id\n }\n id\n }\n }\n }\n}\n\nfragment OrderStepper_order on CommerceOrder {\n __isCommerceOrder: __typename\n mode\n paymentSet\n requestedFulfillment {\n __typename\n }\n paymentMethodDetails {\n __typename\n ... on CreditCard {\n id\n }\n ... on BankAccount {\n id\n }\n ... on WireTransfer {\n isManualPayment\n }\n }\n lineItems {\n edges {\n node {\n artwork {\n slug\n id\n }\n shippingQuoteOptions {\n edges {\n node {\n isSelected\n id\n }\n }\n }\n id\n }\n }\n }\n}\n\nfragment Reject_order on CommerceOrder {\n __isCommerceOrder: __typename\n internalID\n stateExpiresAt\n lineItems {\n edges {\n node {\n artwork {\n slug\n id\n }\n id\n }\n }\n }\n ... on CommerceOfferOrder {\n lastOffer {\n internalID\n createdAt\n id\n }\n }\n ...ArtworkSummaryItem_order\n ...OrderStepper_order\n}\n" + "text": "query RejectTestQuery {\n order: commerceOrder(id: \"unused\") {\n __typename\n ...Reject_order\n id\n }\n}\n\nfragment ArtworkSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n sellerDetails {\n __typename\n ... on Partner {\n name\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n currencyCode\n mode\n source\n lineItems {\n edges {\n node {\n artworkOrEditionSet {\n __typename\n ... on Artwork {\n price\n }\n ... on EditionSet {\n price\n id\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n artwork {\n slug\n shippingOrigin\n isUnlisted\n id\n }\n artworkVersion {\n date\n artistNames\n title\n image {\n resized(width: 185) {\n url\n }\n }\n id\n }\n id\n }\n }\n }\n}\n\nfragment OrderStepper_order on CommerceOrder {\n __isCommerceOrder: __typename\n mode\n paymentSet\n requestedFulfillment {\n __typename\n }\n paymentMethodDetails {\n __typename\n ... on CreditCard {\n id\n }\n ... on BankAccount {\n id\n }\n ... on WireTransfer {\n isManualPayment\n }\n }\n lineItems {\n edges {\n node {\n artwork {\n slug\n id\n }\n shippingQuoteOptions {\n edges {\n node {\n isSelected\n id\n }\n }\n }\n id\n }\n }\n }\n}\n\nfragment Reject_order on CommerceOrder {\n __isCommerceOrder: __typename\n internalID\n stateExpiresAt\n lineItems {\n edges {\n node {\n artwork {\n slug\n id\n }\n id\n }\n }\n }\n ... on CommerceOfferOrder {\n lastOffer {\n internalID\n createdAt\n id\n }\n }\n ...ArtworkSummaryItem_order\n ...OrderStepper_order\n}\n" } }; })(); diff --git a/src/__generated__/RespondCounterOfferMutation.graphql.ts b/src/__generated__/RespondCounterOfferMutation.graphql.ts index b0a85229072..2a9e70d54ab 100644 --- a/src/__generated__/RespondCounterOfferMutation.graphql.ts +++ b/src/__generated__/RespondCounterOfferMutation.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<54c2be2778fe3e89c24facf93f862cbd>> + * @generated SignedSource<<636d4b7a190a4c265e44189288aab640>> * @lightSyntaxTransform * @nogrep */ @@ -564,12 +564,12 @@ return { "plural": false, "selections": [ { - "alias": "resized_ArtworkSummaryItem", + "alias": null, "args": [ { "kind": "Literal", "name": "width", - "value": 55 + "value": 185 } ], "concreteType": "ResizedImageUrl", @@ -585,7 +585,7 @@ return { "storageKey": null } ], - "storageKey": "resized(width:55)" + "storageKey": "resized(width:185)" } ], "storageKey": null @@ -934,12 +934,12 @@ return { ] }, "params": { - "cacheID": "ed4a33da566c2200ac3a0d241aa052e9", + "cacheID": "5d2d91b8a2213c87ca38defaaf30dbbe", "id": null, "metadata": {}, "name": "RespondCounterOfferMutation", "operationKind": "mutation", - "text": "mutation RespondCounterOfferMutation(\n $input: CommerceBuyerCounterOfferInput!\n) {\n commerceBuyerCounterOffer(input: $input) {\n orderOrError {\n __typename\n ... on CommerceOrderWithMutationSuccess {\n order {\n __typename\n ...Respond_order\n id\n }\n }\n ... on CommerceOrderWithMutationFailure {\n error {\n type\n code\n data\n }\n }\n }\n }\n}\n\nfragment ArtworkSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n sellerDetails {\n __typename\n ... on Partner {\n name\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n currencyCode\n mode\n source\n lineItems {\n edges {\n node {\n artworkOrEditionSet {\n __typename\n ... on Artwork {\n price\n }\n ... on EditionSet {\n price\n id\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n artwork {\n slug\n shippingOrigin\n isUnlisted\n id\n }\n artworkVersion {\n date\n artistNames\n title\n image {\n resized_ArtworkSummaryItem: resized(width: 55) {\n url\n }\n }\n id\n }\n id\n }\n }\n }\n}\n\nfragment OfferHistoryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n lineItems {\n edges {\n node {\n artworkOrEditionSet {\n __typename\n ... on Artwork {\n price\n }\n ... on EditionSet {\n price\n id\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n }\n }\n ... on CommerceOfferOrder {\n offers {\n edges {\n node {\n internalID\n amount(precision: 2)\n createdAt(format: \"MMM D\")\n fromParticipant\n id\n }\n }\n }\n currencyCode\n lastOffer {\n internalID\n fromParticipant\n amount(precision: 2)\n shippingTotal(precision: 2)\n taxTotal(precision: 2)\n note\n id\n }\n }\n}\n\nfragment OrderStepper_order on CommerceOrder {\n __isCommerceOrder: __typename\n mode\n paymentSet\n requestedFulfillment {\n __typename\n }\n paymentMethodDetails {\n __typename\n ... on CreditCard {\n id\n }\n ... on BankAccount {\n id\n }\n ... on WireTransfer {\n isManualPayment\n }\n }\n lineItems {\n edges {\n node {\n artwork {\n slug\n id\n }\n shippingQuoteOptions {\n edges {\n node {\n isSelected\n id\n }\n }\n }\n id\n }\n }\n }\n}\n\nfragment PaymentMethodSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n source\n paymentMethodDetails {\n __typename\n ... on CreditCard {\n brand\n lastDigits\n expirationYear\n expirationMonth\n id\n }\n ... on BankAccount {\n last4\n id\n }\n ... on WireTransfer {\n isManualPayment\n }\n }\n}\n\nfragment Respond_order on CommerceOrder {\n __isCommerceOrder: __typename\n internalID\n mode\n state\n currencyCode\n itemsTotal(precision: 2)\n itemsTotalCents\n stateExpiresAt\n lastTransactionFailed\n lineItems {\n edges {\n node {\n artwork {\n slug\n price\n id\n }\n id\n }\n }\n }\n ... on CommerceOfferOrder {\n isInquiryOrder\n lastOffer {\n createdAt\n internalID\n note\n id\n }\n myLastOffer {\n createdAt\n id\n }\n }\n ...TransactionDetailsSummaryItem_order\n ...ArtworkSummaryItem_order\n ...ShippingSummaryItem_order\n ...PaymentMethodSummaryItem_order\n ...OfferHistoryItem_order\n ...OrderStepper_order\n}\n\nfragment ShippingAddress_ship on CommerceRequestedFulfillmentUnion {\n __isCommerceRequestedFulfillmentUnion: __typename\n ... on CommerceShip {\n name\n addressLine1\n addressLine2\n city\n postalCode\n region\n country\n phoneNumber\n }\n ... on CommerceShipArta {\n name\n addressLine1\n addressLine2\n city\n postalCode\n region\n country\n phoneNumber\n }\n}\n\nfragment ShippingSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n state\n paymentMethod\n requestedFulfillment {\n __typename\n ...ShippingAddress_ship\n }\n lineItems {\n edges {\n node {\n artwork {\n shippingOrigin\n id\n }\n id\n }\n }\n }\n}\n\nfragment TransactionDetailsSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n __typename\n requestedFulfillment {\n __typename\n }\n code\n lineItems {\n edges {\n node {\n artworkOrEditionSet {\n __typename\n ... on Artwork {\n price\n }\n ... on EditionSet {\n price\n id\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n selectedShippingQuote {\n typeName\n id\n }\n id\n }\n }\n }\n mode\n source\n displayState\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n itemsTotal(precision: 2)\n buyerTotal(precision: 2)\n currencyCode\n ... on CommerceOfferOrder {\n lastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n myLastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n }\n}\n" + "text": "mutation RespondCounterOfferMutation(\n $input: CommerceBuyerCounterOfferInput!\n) {\n commerceBuyerCounterOffer(input: $input) {\n orderOrError {\n __typename\n ... on CommerceOrderWithMutationSuccess {\n order {\n __typename\n ...Respond_order\n id\n }\n }\n ... on CommerceOrderWithMutationFailure {\n error {\n type\n code\n data\n }\n }\n }\n }\n}\n\nfragment ArtworkSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n sellerDetails {\n __typename\n ... on Partner {\n name\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n currencyCode\n mode\n source\n lineItems {\n edges {\n node {\n artworkOrEditionSet {\n __typename\n ... on Artwork {\n price\n }\n ... on EditionSet {\n price\n id\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n artwork {\n slug\n shippingOrigin\n isUnlisted\n id\n }\n artworkVersion {\n date\n artistNames\n title\n image {\n resized(width: 185) {\n url\n }\n }\n id\n }\n id\n }\n }\n }\n}\n\nfragment OfferHistoryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n lineItems {\n edges {\n node {\n artworkOrEditionSet {\n __typename\n ... on Artwork {\n price\n }\n ... on EditionSet {\n price\n id\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n }\n }\n ... on CommerceOfferOrder {\n offers {\n edges {\n node {\n internalID\n amount(precision: 2)\n createdAt(format: \"MMM D\")\n fromParticipant\n id\n }\n }\n }\n currencyCode\n lastOffer {\n internalID\n fromParticipant\n amount(precision: 2)\n shippingTotal(precision: 2)\n taxTotal(precision: 2)\n note\n id\n }\n }\n}\n\nfragment OrderStepper_order on CommerceOrder {\n __isCommerceOrder: __typename\n mode\n paymentSet\n requestedFulfillment {\n __typename\n }\n paymentMethodDetails {\n __typename\n ... on CreditCard {\n id\n }\n ... on BankAccount {\n id\n }\n ... on WireTransfer {\n isManualPayment\n }\n }\n lineItems {\n edges {\n node {\n artwork {\n slug\n id\n }\n shippingQuoteOptions {\n edges {\n node {\n isSelected\n id\n }\n }\n }\n id\n }\n }\n }\n}\n\nfragment PaymentMethodSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n source\n paymentMethodDetails {\n __typename\n ... on CreditCard {\n brand\n lastDigits\n expirationYear\n expirationMonth\n id\n }\n ... on BankAccount {\n last4\n id\n }\n ... on WireTransfer {\n isManualPayment\n }\n }\n}\n\nfragment Respond_order on CommerceOrder {\n __isCommerceOrder: __typename\n internalID\n mode\n state\n currencyCode\n itemsTotal(precision: 2)\n itemsTotalCents\n stateExpiresAt\n lastTransactionFailed\n lineItems {\n edges {\n node {\n artwork {\n slug\n price\n id\n }\n id\n }\n }\n }\n ... on CommerceOfferOrder {\n isInquiryOrder\n lastOffer {\n createdAt\n internalID\n note\n id\n }\n myLastOffer {\n createdAt\n id\n }\n }\n ...TransactionDetailsSummaryItem_order\n ...ArtworkSummaryItem_order\n ...ShippingSummaryItem_order\n ...PaymentMethodSummaryItem_order\n ...OfferHistoryItem_order\n ...OrderStepper_order\n}\n\nfragment ShippingAddress_ship on CommerceRequestedFulfillmentUnion {\n __isCommerceRequestedFulfillmentUnion: __typename\n ... on CommerceShip {\n name\n addressLine1\n addressLine2\n city\n postalCode\n region\n country\n phoneNumber\n }\n ... on CommerceShipArta {\n name\n addressLine1\n addressLine2\n city\n postalCode\n region\n country\n phoneNumber\n }\n}\n\nfragment ShippingSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n state\n paymentMethod\n requestedFulfillment {\n __typename\n ...ShippingAddress_ship\n }\n lineItems {\n edges {\n node {\n artwork {\n shippingOrigin\n id\n }\n id\n }\n }\n }\n}\n\nfragment TransactionDetailsSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n __typename\n requestedFulfillment {\n __typename\n }\n code\n lineItems {\n edges {\n node {\n artworkOrEditionSet {\n __typename\n ... on Artwork {\n price\n }\n ... on EditionSet {\n price\n id\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n selectedShippingQuote {\n typeName\n id\n }\n id\n }\n }\n }\n mode\n source\n displayState\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n itemsTotal(precision: 2)\n buyerTotal(precision: 2)\n currencyCode\n ... on CommerceOfferOrder {\n lastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n myLastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n }\n}\n" } }; })(); diff --git a/src/__generated__/RespondTestQuery.graphql.ts b/src/__generated__/RespondTestQuery.graphql.ts index f6fe5a9fe4f..7278a019f2c 100644 --- a/src/__generated__/RespondTestQuery.graphql.ts +++ b/src/__generated__/RespondTestQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<06c51c0d1ac76a515a89fea60b7eb340>> + * @generated SignedSource<<2a33fe109325d85d42a80c7f2575eab9>> * @lightSyntaxTransform * @nogrep */ @@ -81,7 +81,7 @@ export type RespondTestQuery$rawResponse = { readonly date: string | null | undefined; readonly id: string; readonly image: { - readonly resized_ArtworkSummaryItem: { + readonly resized: { readonly url: string; } | null | undefined; } | null | undefined; @@ -234,7 +234,7 @@ export type RespondTestQuery$rawResponse = { readonly date: string | null | undefined; readonly id: string; readonly image: { - readonly resized_ArtworkSummaryItem: { + readonly resized: { readonly url: string; } | null | undefined; } | null | undefined; @@ -813,12 +813,12 @@ return { "plural": false, "selections": [ { - "alias": "resized_ArtworkSummaryItem", + "alias": null, "args": [ { "kind": "Literal", "name": "width", - "value": 55 + "value": 185 } ], "concreteType": "ResizedImageUrl", @@ -834,7 +834,7 @@ return { "storageKey": null } ], - "storageKey": "resized(width:55)" + "storageKey": "resized(width:185)" } ], "storageKey": null @@ -1178,7 +1178,7 @@ return { ] }, "params": { - "cacheID": "a2e5278719a00751d370a77f287a3119", + "cacheID": "db490fbd794b891f43c7dc21f5ba011b", "id": null, "metadata": { "relayTestingSelectionTypeInfo": { @@ -1290,13 +1290,13 @@ return { "plural": false, "type": "Image" }, - "order.lineItems.edges.node.artworkVersion.image.resized_ArtworkSummaryItem": { + "order.lineItems.edges.node.artworkVersion.image.resized": { "enumValues": null, "nullable": true, "plural": false, "type": "ResizedImageUrl" }, - "order.lineItems.edges.node.artworkVersion.image.resized_ArtworkSummaryItem.url": (v20/*: any*/), + "order.lineItems.edges.node.artworkVersion.image.resized.url": (v20/*: any*/), "order.lineItems.edges.node.artworkVersion.title": (v21/*: any*/), "order.lineItems.edges.node.id": (v22/*: any*/), "order.lineItems.edges.node.selectedShippingQuote": (v28/*: any*/), @@ -1446,7 +1446,7 @@ return { }, "name": "RespondTestQuery", "operationKind": "query", - "text": "query RespondTestQuery {\n order: commerceOrder(id: \"unused\") {\n __typename\n ...Respond_order\n id\n }\n}\n\nfragment ArtworkSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n sellerDetails {\n __typename\n ... on Partner {\n name\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n currencyCode\n mode\n source\n lineItems {\n edges {\n node {\n artworkOrEditionSet {\n __typename\n ... on Artwork {\n price\n }\n ... on EditionSet {\n price\n id\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n artwork {\n slug\n shippingOrigin\n isUnlisted\n id\n }\n artworkVersion {\n date\n artistNames\n title\n image {\n resized_ArtworkSummaryItem: resized(width: 55) {\n url\n }\n }\n id\n }\n id\n }\n }\n }\n}\n\nfragment OfferHistoryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n lineItems {\n edges {\n node {\n artworkOrEditionSet {\n __typename\n ... on Artwork {\n price\n }\n ... on EditionSet {\n price\n id\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n }\n }\n ... on CommerceOfferOrder {\n offers {\n edges {\n node {\n internalID\n amount(precision: 2)\n createdAt(format: \"MMM D\")\n fromParticipant\n id\n }\n }\n }\n currencyCode\n lastOffer {\n internalID\n fromParticipant\n amount(precision: 2)\n shippingTotal(precision: 2)\n taxTotal(precision: 2)\n note\n id\n }\n }\n}\n\nfragment OrderStepper_order on CommerceOrder {\n __isCommerceOrder: __typename\n mode\n paymentSet\n requestedFulfillment {\n __typename\n }\n paymentMethodDetails {\n __typename\n ... on CreditCard {\n id\n }\n ... on BankAccount {\n id\n }\n ... on WireTransfer {\n isManualPayment\n }\n }\n lineItems {\n edges {\n node {\n artwork {\n slug\n id\n }\n shippingQuoteOptions {\n edges {\n node {\n isSelected\n id\n }\n }\n }\n id\n }\n }\n }\n}\n\nfragment PaymentMethodSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n source\n paymentMethodDetails {\n __typename\n ... on CreditCard {\n brand\n lastDigits\n expirationYear\n expirationMonth\n id\n }\n ... on BankAccount {\n last4\n id\n }\n ... on WireTransfer {\n isManualPayment\n }\n }\n}\n\nfragment Respond_order on CommerceOrder {\n __isCommerceOrder: __typename\n internalID\n mode\n state\n currencyCode\n itemsTotal(precision: 2)\n itemsTotalCents\n stateExpiresAt\n lastTransactionFailed\n lineItems {\n edges {\n node {\n artwork {\n slug\n price\n id\n }\n id\n }\n }\n }\n ... on CommerceOfferOrder {\n isInquiryOrder\n lastOffer {\n createdAt\n internalID\n note\n id\n }\n myLastOffer {\n createdAt\n id\n }\n }\n ...TransactionDetailsSummaryItem_order\n ...ArtworkSummaryItem_order\n ...ShippingSummaryItem_order\n ...PaymentMethodSummaryItem_order\n ...OfferHistoryItem_order\n ...OrderStepper_order\n}\n\nfragment ShippingAddress_ship on CommerceRequestedFulfillmentUnion {\n __isCommerceRequestedFulfillmentUnion: __typename\n ... on CommerceShip {\n name\n addressLine1\n addressLine2\n city\n postalCode\n region\n country\n phoneNumber\n }\n ... on CommerceShipArta {\n name\n addressLine1\n addressLine2\n city\n postalCode\n region\n country\n phoneNumber\n }\n}\n\nfragment ShippingSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n state\n paymentMethod\n requestedFulfillment {\n __typename\n ...ShippingAddress_ship\n }\n lineItems {\n edges {\n node {\n artwork {\n shippingOrigin\n id\n }\n id\n }\n }\n }\n}\n\nfragment TransactionDetailsSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n __typename\n requestedFulfillment {\n __typename\n }\n code\n lineItems {\n edges {\n node {\n artworkOrEditionSet {\n __typename\n ... on Artwork {\n price\n }\n ... on EditionSet {\n price\n id\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n selectedShippingQuote {\n typeName\n id\n }\n id\n }\n }\n }\n mode\n source\n displayState\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n itemsTotal(precision: 2)\n buyerTotal(precision: 2)\n currencyCode\n ... on CommerceOfferOrder {\n lastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n myLastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n }\n}\n" + "text": "query RespondTestQuery {\n order: commerceOrder(id: \"unused\") {\n __typename\n ...Respond_order\n id\n }\n}\n\nfragment ArtworkSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n sellerDetails {\n __typename\n ... on Partner {\n name\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n currencyCode\n mode\n source\n lineItems {\n edges {\n node {\n artworkOrEditionSet {\n __typename\n ... on Artwork {\n price\n }\n ... on EditionSet {\n price\n id\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n artwork {\n slug\n shippingOrigin\n isUnlisted\n id\n }\n artworkVersion {\n date\n artistNames\n title\n image {\n resized(width: 185) {\n url\n }\n }\n id\n }\n id\n }\n }\n }\n}\n\nfragment OfferHistoryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n lineItems {\n edges {\n node {\n artworkOrEditionSet {\n __typename\n ... on Artwork {\n price\n }\n ... on EditionSet {\n price\n id\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n }\n }\n ... on CommerceOfferOrder {\n offers {\n edges {\n node {\n internalID\n amount(precision: 2)\n createdAt(format: \"MMM D\")\n fromParticipant\n id\n }\n }\n }\n currencyCode\n lastOffer {\n internalID\n fromParticipant\n amount(precision: 2)\n shippingTotal(precision: 2)\n taxTotal(precision: 2)\n note\n id\n }\n }\n}\n\nfragment OrderStepper_order on CommerceOrder {\n __isCommerceOrder: __typename\n mode\n paymentSet\n requestedFulfillment {\n __typename\n }\n paymentMethodDetails {\n __typename\n ... on CreditCard {\n id\n }\n ... on BankAccount {\n id\n }\n ... on WireTransfer {\n isManualPayment\n }\n }\n lineItems {\n edges {\n node {\n artwork {\n slug\n id\n }\n shippingQuoteOptions {\n edges {\n node {\n isSelected\n id\n }\n }\n }\n id\n }\n }\n }\n}\n\nfragment PaymentMethodSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n source\n paymentMethodDetails {\n __typename\n ... on CreditCard {\n brand\n lastDigits\n expirationYear\n expirationMonth\n id\n }\n ... on BankAccount {\n last4\n id\n }\n ... on WireTransfer {\n isManualPayment\n }\n }\n}\n\nfragment Respond_order on CommerceOrder {\n __isCommerceOrder: __typename\n internalID\n mode\n state\n currencyCode\n itemsTotal(precision: 2)\n itemsTotalCents\n stateExpiresAt\n lastTransactionFailed\n lineItems {\n edges {\n node {\n artwork {\n slug\n price\n id\n }\n id\n }\n }\n }\n ... on CommerceOfferOrder {\n isInquiryOrder\n lastOffer {\n createdAt\n internalID\n note\n id\n }\n myLastOffer {\n createdAt\n id\n }\n }\n ...TransactionDetailsSummaryItem_order\n ...ArtworkSummaryItem_order\n ...ShippingSummaryItem_order\n ...PaymentMethodSummaryItem_order\n ...OfferHistoryItem_order\n ...OrderStepper_order\n}\n\nfragment ShippingAddress_ship on CommerceRequestedFulfillmentUnion {\n __isCommerceRequestedFulfillmentUnion: __typename\n ... on CommerceShip {\n name\n addressLine1\n addressLine2\n city\n postalCode\n region\n country\n phoneNumber\n }\n ... on CommerceShipArta {\n name\n addressLine1\n addressLine2\n city\n postalCode\n region\n country\n phoneNumber\n }\n}\n\nfragment ShippingSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n state\n paymentMethod\n requestedFulfillment {\n __typename\n ...ShippingAddress_ship\n }\n lineItems {\n edges {\n node {\n artwork {\n shippingOrigin\n id\n }\n id\n }\n }\n }\n}\n\nfragment TransactionDetailsSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n __typename\n requestedFulfillment {\n __typename\n }\n code\n lineItems {\n edges {\n node {\n artworkOrEditionSet {\n __typename\n ... on Artwork {\n price\n }\n ... on EditionSet {\n price\n id\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n selectedShippingQuote {\n typeName\n id\n }\n id\n }\n }\n }\n mode\n source\n displayState\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n itemsTotal(precision: 2)\n buyerTotal(precision: 2)\n currencyCode\n ... on CommerceOfferOrder {\n lastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n myLastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n }\n}\n" } }; })(); diff --git a/src/__generated__/ReviewTestQuery.graphql.ts b/src/__generated__/ReviewTestQuery.graphql.ts index d5424c3ec9d..a55a90e1d10 100644 --- a/src/__generated__/ReviewTestQuery.graphql.ts +++ b/src/__generated__/ReviewTestQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<50b75dd0845fc257a6df678541d03f7d>> + * @generated SignedSource<<2257cc5911d284c4d09fbc96516e1c8b>> * @lightSyntaxTransform * @nogrep */ @@ -104,9 +104,6 @@ export type ReviewTestQuery$rawResponse = { readonly resized: { readonly url: string; } | null | undefined; - readonly resized_ArtworkSummaryItem: { - readonly url: string; - } | null | undefined; } | null | undefined; readonly medium: string | null | undefined; readonly provenance: string | null | undefined; @@ -276,9 +273,6 @@ export type ReviewTestQuery$rawResponse = { readonly resized: { readonly url: string; } | null | undefined; - readonly resized_ArtworkSummaryItem: { - readonly url: string; - } | null | undefined; } | null | undefined; readonly medium: string | null | undefined; readonly provenance: string | null | undefined; @@ -442,23 +436,14 @@ v6 = { "name": "slug", "storageKey": null }, -v7 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "url", - "storageKey": null - } -], -v8 = { +v7 = { "alias": null, "args": null, "kind": "ScalarField", "name": "price", "storageKey": null }, -v9 = { +v8 = { "kind": "InlineFragment", "selections": [ (v5/*: any*/) @@ -466,85 +451,85 @@ v9 = { "type": "Node", "abstractKey": "__isNode" }, -v10 = { +v9 = { "alias": null, "args": (v3/*: any*/), "kind": "ScalarField", "name": "amount", "storageKey": "amount(precision:2)" }, -v11 = { +v10 = { "alias": null, "args": null, "kind": "ScalarField", "name": "amountCents", "storageKey": null }, -v12 = { +v11 = { "alias": null, "args": (v3/*: any*/), "kind": "ScalarField", "name": "shippingTotal", "storageKey": "shippingTotal(precision:2)" }, -v13 = { +v12 = { "alias": null, "args": null, "kind": "ScalarField", "name": "shippingTotalCents", "storageKey": null }, -v14 = { +v13 = { "alias": null, "args": (v3/*: any*/), "kind": "ScalarField", "name": "taxTotal", "storageKey": "taxTotal(precision:2)" }, -v15 = { +v14 = { "alias": null, "args": null, "kind": "ScalarField", "name": "taxTotalCents", "storageKey": null }, -v16 = { +v15 = { "alias": null, "args": (v3/*: any*/), "kind": "ScalarField", "name": "buyerTotal", "storageKey": "buyerTotal(precision:2)" }, -v17 = { +v16 = { "alias": null, "args": null, "kind": "ScalarField", "name": "buyerTotalCents", "storageKey": null }, -v18 = { +v17 = { "alias": null, "args": null, "kind": "ScalarField", "name": "fromParticipant", "storageKey": null }, -v19 = { +v18 = { "alias": null, "args": null, "kind": "ScalarField", "name": "note", "storageKey": null }, -v20 = { +v19 = { "alias": null, "args": null, "kind": "ScalarField", "name": "name", "storageKey": null }, -v21 = [ - (v20/*: any*/), +v20 = [ + (v19/*: any*/), { "alias": null, "args": null, @@ -595,43 +580,43 @@ v21 = [ "storageKey": null } ], -v22 = { +v21 = { "enumValues": null, "nullable": false, "plural": false, "type": "String" }, -v23 = { +v22 = { "enumValues": null, "nullable": true, "plural": false, "type": "String" }, -v24 = { +v23 = { "enumValues": null, "nullable": false, "plural": false, "type": "ID" }, -v25 = { +v24 = { "enumValues": null, "nullable": true, "plural": false, "type": "CommerceOffer" }, -v26 = { +v25 = { "enumValues": null, "nullable": false, "plural": false, "type": "Int" }, -v27 = { +v26 = { "enumValues": null, "nullable": true, "plural": false, "type": "Int" }, -v28 = { +v27 = { "enumValues": [ "BUYER", "SELLER" @@ -640,25 +625,19 @@ v28 = { "plural": false, "type": "CommerceOrderParticipantEnum" }, -v29 = { +v28 = { "enumValues": null, "nullable": true, "plural": false, "type": "dimensions" }, -v30 = { +v29 = { "enumValues": null, "nullable": false, "plural": false, "type": "Boolean" }, -v31 = { - "enumValues": null, - "nullable": true, - "plural": false, - "type": "ResizedImageUrl" -}, -v32 = { +v30 = { "enumValues": null, "nullable": true, "plural": false, @@ -942,24 +921,16 @@ return { "kind": "LinkedField", "name": "resized", "plural": false, - "selections": (v7/*: any*/), - "storageKey": "resized(width:185)" - }, - { - "alias": "resized_ArtworkSummaryItem", - "args": [ + "selections": [ { - "kind": "Literal", - "name": "width", - "value": 55 + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "url", + "storageKey": null } ], - "concreteType": "ResizedImageUrl", - "kind": "LinkedField", - "name": "resized", - "plural": false, - "selections": (v7/*: any*/), - "storageKey": "resized(width:55)" + "storageKey": "resized(width:185)" } ], "storageKey": null @@ -1003,7 +974,7 @@ return { { "kind": "InlineFragment", "selections": [ - (v8/*: any*/) + (v7/*: any*/) ], "type": "Artwork", "abstractKey": null @@ -1011,13 +982,13 @@ return { { "kind": "InlineFragment", "selections": [ - (v8/*: any*/), + (v7/*: any*/), (v5/*: any*/) ], "type": "EditionSet", "abstractKey": null }, - (v9/*: any*/) + (v8/*: any*/) ], "storageKey": null }, @@ -1117,6 +1088,7 @@ return { }, (v2/*: any*/), (v5/*: any*/), + (v9/*: any*/), (v10/*: any*/), (v11/*: any*/), (v12/*: any*/), @@ -1125,8 +1097,7 @@ return { (v15/*: any*/), (v16/*: any*/), (v17/*: any*/), - (v18/*: any*/), - (v19/*: any*/) + (v18/*: any*/) ], "storageKey": null }, @@ -1139,6 +1110,7 @@ return { "plural": false, "selections": [ (v2/*: any*/), + (v9/*: any*/), (v10/*: any*/), (v11/*: any*/), (v12/*: any*/), @@ -1148,7 +1120,6 @@ return { (v16/*: any*/), (v17/*: any*/), (v18/*: any*/), - (v19/*: any*/), (v5/*: any*/) ], "storageKey": null @@ -1183,12 +1154,12 @@ return { { "kind": "InlineFragment", "selections": [ - (v20/*: any*/) + (v19/*: any*/) ], "type": "Partner", "abstractKey": null }, - (v9/*: any*/) + (v8/*: any*/) ], "storageKey": null }, @@ -1214,24 +1185,24 @@ return { }, { "kind": "InlineFragment", - "selections": (v21/*: any*/), + "selections": (v20/*: any*/), "type": "CommerceShip", "abstractKey": null }, { "kind": "InlineFragment", - "selections": (v21/*: any*/), + "selections": (v20/*: any*/), "type": "CommerceShipArta", "abstractKey": null } ], "storageKey": null }, + (v11/*: any*/), (v12/*: any*/), (v13/*: any*/), (v14/*: any*/), (v15/*: any*/), - (v16/*: any*/), { "alias": null, "args": null, @@ -1323,7 +1294,7 @@ return { ] }, "params": { - "cacheID": "e411fa38ba7fe519bf9ca774feca0dc5", + "cacheID": "cec641983b54c825fcaf747d3c9d75b8", "id": null, "metadata": { "relayTestingSelectionTypeInfo": { @@ -1333,13 +1304,13 @@ return { "plural": false, "type": "CommerceOrder" }, - "order.__isCommerceOrder": (v22/*: any*/), - "order.__typename": (v22/*: any*/), - "order.artworkDetails": (v23/*: any*/), - "order.buyerTotal": (v23/*: any*/), - "order.code": (v22/*: any*/), - "order.conditionsOfSale": (v23/*: any*/), - "order.currencyCode": (v22/*: any*/), + "order.__isCommerceOrder": (v21/*: any*/), + "order.__typename": (v21/*: any*/), + "order.artworkDetails": (v22/*: any*/), + "order.buyerTotal": (v22/*: any*/), + "order.code": (v21/*: any*/), + "order.conditionsOfSale": (v22/*: any*/), + "order.currencyCode": (v21/*: any*/), "order.displayState": { "enumValues": [ "ABANDONED", @@ -1358,23 +1329,23 @@ return { "plural": false, "type": "CommerceOrderDisplayStateEnum" }, - "order.id": (v24/*: any*/), - "order.impulseConversationId": (v23/*: any*/), - "order.internalID": (v24/*: any*/), - "order.itemsTotal": (v23/*: any*/), - "order.lastOffer": (v25/*: any*/), - "order.lastOffer.amount": (v23/*: any*/), - "order.lastOffer.amountCents": (v26/*: any*/), - "order.lastOffer.buyerTotal": (v23/*: any*/), - "order.lastOffer.buyerTotalCents": (v27/*: any*/), - "order.lastOffer.fromParticipant": (v28/*: any*/), - "order.lastOffer.id": (v24/*: any*/), - "order.lastOffer.internalID": (v24/*: any*/), - "order.lastOffer.note": (v23/*: any*/), - "order.lastOffer.shippingTotal": (v23/*: any*/), - "order.lastOffer.shippingTotalCents": (v27/*: any*/), - "order.lastOffer.taxTotal": (v23/*: any*/), - "order.lastOffer.taxTotalCents": (v27/*: any*/), + "order.id": (v23/*: any*/), + "order.impulseConversationId": (v22/*: any*/), + "order.internalID": (v23/*: any*/), + "order.itemsTotal": (v22/*: any*/), + "order.lastOffer": (v24/*: any*/), + "order.lastOffer.amount": (v22/*: any*/), + "order.lastOffer.amountCents": (v25/*: any*/), + "order.lastOffer.buyerTotal": (v22/*: any*/), + "order.lastOffer.buyerTotalCents": (v26/*: any*/), + "order.lastOffer.fromParticipant": (v27/*: any*/), + "order.lastOffer.id": (v23/*: any*/), + "order.lastOffer.internalID": (v23/*: any*/), + "order.lastOffer.note": (v22/*: any*/), + "order.lastOffer.shippingTotal": (v22/*: any*/), + "order.lastOffer.shippingTotalCents": (v26/*: any*/), + "order.lastOffer.taxTotal": (v22/*: any*/), + "order.lastOffer.taxTotalCents": (v26/*: any*/), "order.lineItems": { "enumValues": null, "nullable": true, @@ -1405,74 +1376,77 @@ return { "plural": true, "type": "Artist" }, - "order.lineItems.edges.node.artwork.artists.id": (v24/*: any*/), - "order.lineItems.edges.node.artwork.artists.slug": (v24/*: any*/), + "order.lineItems.edges.node.artwork.artists.id": (v23/*: any*/), + "order.lineItems.edges.node.artwork.artists.slug": (v23/*: any*/), "order.lineItems.edges.node.artwork.editionSets": { "enumValues": null, "nullable": true, "plural": true, "type": "EditionSet" }, - "order.lineItems.edges.node.artwork.editionSets.dimensions": (v29/*: any*/), - "order.lineItems.edges.node.artwork.editionSets.dimensions.cm": (v23/*: any*/), - "order.lineItems.edges.node.artwork.editionSets.dimensions.in": (v23/*: any*/), - "order.lineItems.edges.node.artwork.editionSets.id": (v24/*: any*/), - "order.lineItems.edges.node.artwork.editionSets.internalID": (v24/*: any*/), - "order.lineItems.edges.node.artwork.id": (v24/*: any*/), - "order.lineItems.edges.node.artwork.internalID": (v24/*: any*/), - "order.lineItems.edges.node.artwork.isUnlisted": (v30/*: any*/), - "order.lineItems.edges.node.artwork.shippingOrigin": (v23/*: any*/), - "order.lineItems.edges.node.artwork.slug": (v24/*: any*/), + "order.lineItems.edges.node.artwork.editionSets.dimensions": (v28/*: any*/), + "order.lineItems.edges.node.artwork.editionSets.dimensions.cm": (v22/*: any*/), + "order.lineItems.edges.node.artwork.editionSets.dimensions.in": (v22/*: any*/), + "order.lineItems.edges.node.artwork.editionSets.id": (v23/*: any*/), + "order.lineItems.edges.node.artwork.editionSets.internalID": (v23/*: any*/), + "order.lineItems.edges.node.artwork.id": (v23/*: any*/), + "order.lineItems.edges.node.artwork.internalID": (v23/*: any*/), + "order.lineItems.edges.node.artwork.isUnlisted": (v29/*: any*/), + "order.lineItems.edges.node.artwork.shippingOrigin": (v22/*: any*/), + "order.lineItems.edges.node.artwork.slug": (v23/*: any*/), "order.lineItems.edges.node.artworkOrEditionSet": { "enumValues": null, "nullable": true, "plural": false, "type": "ArtworkOrEditionSetType" }, - "order.lineItems.edges.node.artworkOrEditionSet.__isNode": (v22/*: any*/), - "order.lineItems.edges.node.artworkOrEditionSet.__typename": (v22/*: any*/), - "order.lineItems.edges.node.artworkOrEditionSet.id": (v24/*: any*/), - "order.lineItems.edges.node.artworkOrEditionSet.price": (v23/*: any*/), + "order.lineItems.edges.node.artworkOrEditionSet.__isNode": (v21/*: any*/), + "order.lineItems.edges.node.artworkOrEditionSet.__typename": (v21/*: any*/), + "order.lineItems.edges.node.artworkOrEditionSet.id": (v23/*: any*/), + "order.lineItems.edges.node.artworkOrEditionSet.price": (v22/*: any*/), "order.lineItems.edges.node.artworkVersion": { "enumValues": null, "nullable": true, "plural": false, "type": "ArtworkVersion" }, - "order.lineItems.edges.node.artworkVersion.artistNames": (v23/*: any*/), + "order.lineItems.edges.node.artworkVersion.artistNames": (v22/*: any*/), "order.lineItems.edges.node.artworkVersion.attributionClass": { "enumValues": null, "nullable": true, "plural": false, "type": "AttributionClass" }, - "order.lineItems.edges.node.artworkVersion.attributionClass.id": (v24/*: any*/), - "order.lineItems.edges.node.artworkVersion.attributionClass.shortDescription": (v23/*: any*/), - "order.lineItems.edges.node.artworkVersion.condition_description": (v23/*: any*/), - "order.lineItems.edges.node.artworkVersion.date": (v23/*: any*/), - "order.lineItems.edges.node.artworkVersion.dimensions": (v29/*: any*/), - "order.lineItems.edges.node.artworkVersion.dimensions.cm": (v23/*: any*/), - "order.lineItems.edges.node.artworkVersion.dimensions.in": (v23/*: any*/), - "order.lineItems.edges.node.artworkVersion.id": (v24/*: any*/), + "order.lineItems.edges.node.artworkVersion.attributionClass.id": (v23/*: any*/), + "order.lineItems.edges.node.artworkVersion.attributionClass.shortDescription": (v22/*: any*/), + "order.lineItems.edges.node.artworkVersion.condition_description": (v22/*: any*/), + "order.lineItems.edges.node.artworkVersion.date": (v22/*: any*/), + "order.lineItems.edges.node.artworkVersion.dimensions": (v28/*: any*/), + "order.lineItems.edges.node.artworkVersion.dimensions.cm": (v22/*: any*/), + "order.lineItems.edges.node.artworkVersion.dimensions.in": (v22/*: any*/), + "order.lineItems.edges.node.artworkVersion.id": (v23/*: any*/), "order.lineItems.edges.node.artworkVersion.image": { "enumValues": null, "nullable": true, "plural": false, "type": "Image" }, - "order.lineItems.edges.node.artworkVersion.image.resized": (v31/*: any*/), - "order.lineItems.edges.node.artworkVersion.image.resized.url": (v22/*: any*/), - "order.lineItems.edges.node.artworkVersion.image.resized_ArtworkSummaryItem": (v31/*: any*/), - "order.lineItems.edges.node.artworkVersion.image.resized_ArtworkSummaryItem.url": (v22/*: any*/), - "order.lineItems.edges.node.artworkVersion.medium": (v23/*: any*/), - "order.lineItems.edges.node.artworkVersion.provenance": (v23/*: any*/), - "order.lineItems.edges.node.artworkVersion.title": (v23/*: any*/), - "order.lineItems.edges.node.editionSetId": (v23/*: any*/), - "order.lineItems.edges.node.id": (v24/*: any*/), - "order.lineItems.edges.node.selectedShippingQuote": (v32/*: any*/), - "order.lineItems.edges.node.selectedShippingQuote.id": (v24/*: any*/), - "order.lineItems.edges.node.selectedShippingQuote.price": (v23/*: any*/), - "order.lineItems.edges.node.selectedShippingQuote.typeName": (v22/*: any*/), + "order.lineItems.edges.node.artworkVersion.image.resized": { + "enumValues": null, + "nullable": true, + "plural": false, + "type": "ResizedImageUrl" + }, + "order.lineItems.edges.node.artworkVersion.image.resized.url": (v21/*: any*/), + "order.lineItems.edges.node.artworkVersion.medium": (v22/*: any*/), + "order.lineItems.edges.node.artworkVersion.provenance": (v22/*: any*/), + "order.lineItems.edges.node.artworkVersion.title": (v22/*: any*/), + "order.lineItems.edges.node.editionSetId": (v22/*: any*/), + "order.lineItems.edges.node.id": (v23/*: any*/), + "order.lineItems.edges.node.selectedShippingQuote": (v30/*: any*/), + "order.lineItems.edges.node.selectedShippingQuote.id": (v23/*: any*/), + "order.lineItems.edges.node.selectedShippingQuote.price": (v22/*: any*/), + "order.lineItems.edges.node.selectedShippingQuote.typeName": (v21/*: any*/), "order.lineItems.edges.node.shippingQuoteOptions": { "enumValues": null, "nullable": true, @@ -1485,9 +1459,9 @@ return { "plural": true, "type": "CommerceShippingQuoteEdge" }, - "order.lineItems.edges.node.shippingQuoteOptions.edges.node": (v32/*: any*/), - "order.lineItems.edges.node.shippingQuoteOptions.edges.node.id": (v24/*: any*/), - "order.lineItems.edges.node.shippingQuoteOptions.edges.node.isSelected": (v30/*: any*/), + "order.lineItems.edges.node.shippingQuoteOptions.edges.node": (v30/*: any*/), + "order.lineItems.edges.node.shippingQuoteOptions.edges.node.id": (v23/*: any*/), + "order.lineItems.edges.node.shippingQuoteOptions.edges.node.isSelected": (v29/*: any*/), "order.mode": { "enumValues": [ "BUY", @@ -1497,20 +1471,20 @@ return { "plural": false, "type": "CommerceOrderModeEnum" }, - "order.myLastOffer": (v25/*: any*/), - "order.myLastOffer.amount": (v23/*: any*/), - "order.myLastOffer.amountCents": (v26/*: any*/), - "order.myLastOffer.buyerTotal": (v23/*: any*/), - "order.myLastOffer.buyerTotalCents": (v27/*: any*/), - "order.myLastOffer.fromParticipant": (v28/*: any*/), - "order.myLastOffer.hasDefiniteTotal": (v30/*: any*/), - "order.myLastOffer.id": (v24/*: any*/), - "order.myLastOffer.internalID": (v24/*: any*/), - "order.myLastOffer.note": (v23/*: any*/), - "order.myLastOffer.shippingTotal": (v23/*: any*/), - "order.myLastOffer.shippingTotalCents": (v27/*: any*/), - "order.myLastOffer.taxTotal": (v23/*: any*/), - "order.myLastOffer.taxTotalCents": (v27/*: any*/), + "order.myLastOffer": (v24/*: any*/), + "order.myLastOffer.amount": (v22/*: any*/), + "order.myLastOffer.amountCents": (v25/*: any*/), + "order.myLastOffer.buyerTotal": (v22/*: any*/), + "order.myLastOffer.buyerTotalCents": (v26/*: any*/), + "order.myLastOffer.fromParticipant": (v27/*: any*/), + "order.myLastOffer.hasDefiniteTotal": (v29/*: any*/), + "order.myLastOffer.id": (v23/*: any*/), + "order.myLastOffer.internalID": (v23/*: any*/), + "order.myLastOffer.note": (v22/*: any*/), + "order.myLastOffer.shippingTotal": (v22/*: any*/), + "order.myLastOffer.shippingTotalCents": (v26/*: any*/), + "order.myLastOffer.taxTotal": (v22/*: any*/), + "order.myLastOffer.taxTotalCents": (v26/*: any*/), "order.paymentMethod": { "enumValues": [ "CREDIT_CARD", @@ -1528,43 +1502,43 @@ return { "plural": false, "type": "PaymentMethodUnion" }, - "order.paymentMethodDetails.__typename": (v22/*: any*/), - "order.paymentMethodDetails.brand": (v22/*: any*/), - "order.paymentMethodDetails.expirationMonth": (v26/*: any*/), - "order.paymentMethodDetails.expirationYear": (v26/*: any*/), - "order.paymentMethodDetails.id": (v24/*: any*/), - "order.paymentMethodDetails.isManualPayment": (v30/*: any*/), - "order.paymentMethodDetails.last4": (v22/*: any*/), - "order.paymentMethodDetails.lastDigits": (v22/*: any*/), - "order.paymentSet": (v30/*: any*/), + "order.paymentMethodDetails.__typename": (v21/*: any*/), + "order.paymentMethodDetails.brand": (v21/*: any*/), + "order.paymentMethodDetails.expirationMonth": (v25/*: any*/), + "order.paymentMethodDetails.expirationYear": (v25/*: any*/), + "order.paymentMethodDetails.id": (v23/*: any*/), + "order.paymentMethodDetails.isManualPayment": (v29/*: any*/), + "order.paymentMethodDetails.last4": (v21/*: any*/), + "order.paymentMethodDetails.lastDigits": (v21/*: any*/), + "order.paymentSet": (v29/*: any*/), "order.requestedFulfillment": { "enumValues": null, "nullable": true, "plural": false, "type": "CommerceRequestedFulfillmentUnion" }, - "order.requestedFulfillment.__isCommerceRequestedFulfillmentUnion": (v22/*: any*/), - "order.requestedFulfillment.__typename": (v22/*: any*/), - "order.requestedFulfillment.addressLine1": (v23/*: any*/), - "order.requestedFulfillment.addressLine2": (v23/*: any*/), - "order.requestedFulfillment.city": (v23/*: any*/), - "order.requestedFulfillment.country": (v23/*: any*/), - "order.requestedFulfillment.name": (v23/*: any*/), - "order.requestedFulfillment.phoneNumber": (v23/*: any*/), - "order.requestedFulfillment.postalCode": (v23/*: any*/), - "order.requestedFulfillment.region": (v23/*: any*/), + "order.requestedFulfillment.__isCommerceRequestedFulfillmentUnion": (v21/*: any*/), + "order.requestedFulfillment.__typename": (v21/*: any*/), + "order.requestedFulfillment.addressLine1": (v22/*: any*/), + "order.requestedFulfillment.addressLine2": (v22/*: any*/), + "order.requestedFulfillment.city": (v22/*: any*/), + "order.requestedFulfillment.country": (v22/*: any*/), + "order.requestedFulfillment.name": (v22/*: any*/), + "order.requestedFulfillment.phoneNumber": (v22/*: any*/), + "order.requestedFulfillment.postalCode": (v22/*: any*/), + "order.requestedFulfillment.region": (v22/*: any*/), "order.sellerDetails": { "enumValues": null, "nullable": true, "plural": false, "type": "OrderParty" }, - "order.sellerDetails.__isNode": (v22/*: any*/), - "order.sellerDetails.__typename": (v22/*: any*/), - "order.sellerDetails.id": (v24/*: any*/), - "order.sellerDetails.name": (v23/*: any*/), - "order.shippingTotal": (v23/*: any*/), - "order.shippingTotalCents": (v27/*: any*/), + "order.sellerDetails.__isNode": (v21/*: any*/), + "order.sellerDetails.__typename": (v21/*: any*/), + "order.sellerDetails.id": (v23/*: any*/), + "order.sellerDetails.name": (v22/*: any*/), + "order.shippingTotal": (v22/*: any*/), + "order.shippingTotalCents": (v26/*: any*/), "order.source": { "enumValues": [ "artwork_page", @@ -1592,15 +1566,15 @@ return { "plural": false, "type": "CommerceOrderStateEnum" }, - "order.stateExpiresAt": (v23/*: any*/), - "order.stateExpiresAtFormatted": (v23/*: any*/), - "order.taxTotal": (v23/*: any*/), - "order.taxTotalCents": (v27/*: any*/) + "order.stateExpiresAt": (v22/*: any*/), + "order.stateExpiresAtFormatted": (v22/*: any*/), + "order.taxTotal": (v22/*: any*/), + "order.taxTotalCents": (v26/*: any*/) } }, "name": "ReviewTestQuery", "operationKind": "query", - "text": "query ReviewTestQuery {\n order: commerceOrder(id: \"unused\") {\n __typename\n ...Review_order\n id\n }\n}\n\nfragment AdditionalArtworkDetails_order on CommerceOrder {\n __isCommerceOrder: __typename\n artworkDetails\n lineItems {\n edges {\n node {\n artworkVersion {\n provenance\n condition_description\n id\n }\n id\n }\n }\n }\n}\n\nfragment ArtworkSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n sellerDetails {\n __typename\n ... on Partner {\n name\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n currencyCode\n mode\n source\n lineItems {\n edges {\n node {\n artworkOrEditionSet {\n __typename\n ... on Artwork {\n price\n }\n ... on EditionSet {\n price\n id\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n artwork {\n slug\n shippingOrigin\n isUnlisted\n id\n }\n artworkVersion {\n date\n artistNames\n title\n image {\n resized_ArtworkSummaryItem: resized(width: 55) {\n url\n }\n }\n id\n }\n id\n }\n }\n }\n}\n\nfragment ItemReview_lineItem on CommerceLineItem {\n artwork {\n editionSets {\n internalID\n dimensions {\n in\n cm\n }\n id\n }\n id\n }\n artworkVersion {\n date\n artistNames\n title\n medium\n attributionClass {\n shortDescription\n id\n }\n image {\n resized(width: 185) {\n url\n }\n }\n dimensions {\n in\n cm\n }\n id\n }\n editionSetId\n}\n\nfragment OfferSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n currencyCode\n lineItems {\n edges {\n node {\n artworkOrEditionSet {\n __typename\n ... on Artwork {\n price\n }\n ... on EditionSet {\n price\n id\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n }\n }\n ... on CommerceOfferOrder {\n myLastOffer {\n amount(precision: 2)\n note\n id\n }\n }\n}\n\nfragment OrderStepper_order on CommerceOrder {\n __isCommerceOrder: __typename\n mode\n paymentSet\n requestedFulfillment {\n __typename\n }\n paymentMethodDetails {\n __typename\n ... on CreditCard {\n id\n }\n ... on BankAccount {\n id\n }\n ... on WireTransfer {\n isManualPayment\n }\n }\n lineItems {\n edges {\n node {\n artwork {\n slug\n id\n }\n shippingQuoteOptions {\n edges {\n node {\n isSelected\n id\n }\n }\n }\n id\n }\n }\n }\n}\n\nfragment PartnerOfferTimerItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n displayState\n stateExpiresAt\n}\n\nfragment PaymentMethodSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n source\n paymentMethodDetails {\n __typename\n ... on CreditCard {\n brand\n lastDigits\n expirationYear\n expirationMonth\n id\n }\n ... on BankAccount {\n last4\n id\n }\n ... on WireTransfer {\n isManualPayment\n }\n }\n}\n\nfragment Review_order on CommerceOrder {\n __isCommerceOrder: __typename\n state\n artworkDetails\n internalID\n paymentMethod\n mode\n code\n source\n conditionsOfSale\n itemsTotal(precision: 2)\n impulseConversationId\n stateExpiresAtFormatted: stateExpiresAt(format: \"MMM D\")\n lineItems {\n edges {\n node {\n ...ItemReview_lineItem\n artwork {\n slug\n internalID\n artists {\n slug\n id\n }\n id\n }\n artworkVersion {\n provenance\n condition_description\n id\n }\n id\n }\n }\n }\n ... on CommerceOfferOrder {\n myLastOffer {\n hasDefiniteTotal\n internalID\n id\n }\n }\n ...PartnerOfferTimerItem_order\n ...ArtworkSummaryItem_order\n ...AdditionalArtworkDetails_order\n ...TransactionDetailsSummaryItem_order\n ...ShippingSummaryItem_order\n ...PaymentMethodSummaryItem_order\n ...ShippingArtaSummaryItem_order\n ...OfferSummaryItem_order\n ...OrderStepper_order\n}\n\nfragment ShippingAddress_ship on CommerceRequestedFulfillmentUnion {\n __isCommerceRequestedFulfillmentUnion: __typename\n ... on CommerceShip {\n name\n addressLine1\n addressLine2\n city\n postalCode\n region\n country\n phoneNumber\n }\n ... on CommerceShipArta {\n name\n addressLine1\n addressLine2\n city\n postalCode\n region\n country\n phoneNumber\n }\n}\n\nfragment ShippingArtaSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n requestedFulfillment {\n __typename\n }\n lineItems {\n edges {\n node {\n selectedShippingQuote {\n typeName\n price(precision: 2)\n id\n }\n id\n }\n }\n }\n}\n\nfragment ShippingSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n state\n paymentMethod\n requestedFulfillment {\n __typename\n ...ShippingAddress_ship\n }\n lineItems {\n edges {\n node {\n artwork {\n shippingOrigin\n id\n }\n id\n }\n }\n }\n}\n\nfragment TransactionDetailsSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n __typename\n requestedFulfillment {\n __typename\n }\n code\n lineItems {\n edges {\n node {\n artworkOrEditionSet {\n __typename\n ... on Artwork {\n price\n }\n ... on EditionSet {\n price\n id\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n selectedShippingQuote {\n typeName\n id\n }\n id\n }\n }\n }\n mode\n source\n displayState\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n itemsTotal(precision: 2)\n buyerTotal(precision: 2)\n currencyCode\n ... on CommerceOfferOrder {\n lastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n myLastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n }\n}\n" + "text": "query ReviewTestQuery {\n order: commerceOrder(id: \"unused\") {\n __typename\n ...Review_order\n id\n }\n}\n\nfragment AdditionalArtworkDetails_order on CommerceOrder {\n __isCommerceOrder: __typename\n artworkDetails\n lineItems {\n edges {\n node {\n artworkVersion {\n provenance\n condition_description\n id\n }\n id\n }\n }\n }\n}\n\nfragment ArtworkSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n sellerDetails {\n __typename\n ... on Partner {\n name\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n currencyCode\n mode\n source\n lineItems {\n edges {\n node {\n artworkOrEditionSet {\n __typename\n ... on Artwork {\n price\n }\n ... on EditionSet {\n price\n id\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n artwork {\n slug\n shippingOrigin\n isUnlisted\n id\n }\n artworkVersion {\n date\n artistNames\n title\n image {\n resized(width: 185) {\n url\n }\n }\n id\n }\n id\n }\n }\n }\n}\n\nfragment ItemReview_lineItem on CommerceLineItem {\n artwork {\n editionSets {\n internalID\n dimensions {\n in\n cm\n }\n id\n }\n id\n }\n artworkVersion {\n date\n artistNames\n title\n medium\n attributionClass {\n shortDescription\n id\n }\n image {\n resized(width: 185) {\n url\n }\n }\n dimensions {\n in\n cm\n }\n id\n }\n editionSetId\n}\n\nfragment OfferSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n currencyCode\n lineItems {\n edges {\n node {\n artworkOrEditionSet {\n __typename\n ... on Artwork {\n price\n }\n ... on EditionSet {\n price\n id\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n }\n }\n ... on CommerceOfferOrder {\n myLastOffer {\n amount(precision: 2)\n note\n id\n }\n }\n}\n\nfragment OrderStepper_order on CommerceOrder {\n __isCommerceOrder: __typename\n mode\n paymentSet\n requestedFulfillment {\n __typename\n }\n paymentMethodDetails {\n __typename\n ... on CreditCard {\n id\n }\n ... on BankAccount {\n id\n }\n ... on WireTransfer {\n isManualPayment\n }\n }\n lineItems {\n edges {\n node {\n artwork {\n slug\n id\n }\n shippingQuoteOptions {\n edges {\n node {\n isSelected\n id\n }\n }\n }\n id\n }\n }\n }\n}\n\nfragment PartnerOfferTimerItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n displayState\n stateExpiresAt\n}\n\nfragment PaymentMethodSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n source\n paymentMethodDetails {\n __typename\n ... on CreditCard {\n brand\n lastDigits\n expirationYear\n expirationMonth\n id\n }\n ... on BankAccount {\n last4\n id\n }\n ... on WireTransfer {\n isManualPayment\n }\n }\n}\n\nfragment Review_order on CommerceOrder {\n __isCommerceOrder: __typename\n state\n artworkDetails\n internalID\n paymentMethod\n mode\n code\n source\n conditionsOfSale\n itemsTotal(precision: 2)\n impulseConversationId\n stateExpiresAtFormatted: stateExpiresAt(format: \"MMM D\")\n lineItems {\n edges {\n node {\n ...ItemReview_lineItem\n artwork {\n slug\n internalID\n artists {\n slug\n id\n }\n id\n }\n artworkVersion {\n provenance\n condition_description\n id\n }\n id\n }\n }\n }\n ... on CommerceOfferOrder {\n myLastOffer {\n hasDefiniteTotal\n internalID\n id\n }\n }\n ...PartnerOfferTimerItem_order\n ...ArtworkSummaryItem_order\n ...AdditionalArtworkDetails_order\n ...TransactionDetailsSummaryItem_order\n ...ShippingSummaryItem_order\n ...PaymentMethodSummaryItem_order\n ...ShippingArtaSummaryItem_order\n ...OfferSummaryItem_order\n ...OrderStepper_order\n}\n\nfragment ShippingAddress_ship on CommerceRequestedFulfillmentUnion {\n __isCommerceRequestedFulfillmentUnion: __typename\n ... on CommerceShip {\n name\n addressLine1\n addressLine2\n city\n postalCode\n region\n country\n phoneNumber\n }\n ... on CommerceShipArta {\n name\n addressLine1\n addressLine2\n city\n postalCode\n region\n country\n phoneNumber\n }\n}\n\nfragment ShippingArtaSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n requestedFulfillment {\n __typename\n }\n lineItems {\n edges {\n node {\n selectedShippingQuote {\n typeName\n price(precision: 2)\n id\n }\n id\n }\n }\n }\n}\n\nfragment ShippingSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n state\n paymentMethod\n requestedFulfillment {\n __typename\n ...ShippingAddress_ship\n }\n lineItems {\n edges {\n node {\n artwork {\n shippingOrigin\n id\n }\n id\n }\n }\n }\n}\n\nfragment TransactionDetailsSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n __typename\n requestedFulfillment {\n __typename\n }\n code\n lineItems {\n edges {\n node {\n artworkOrEditionSet {\n __typename\n ... on Artwork {\n price\n }\n ... on EditionSet {\n price\n id\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n selectedShippingQuote {\n typeName\n id\n }\n id\n }\n }\n }\n mode\n source\n displayState\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n itemsTotal(precision: 2)\n buyerTotal(precision: 2)\n currencyCode\n ... on CommerceOfferOrder {\n lastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n myLastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n }\n}\n" } }; })(); diff --git a/src/__generated__/ShippingTestQuery.graphql.ts b/src/__generated__/ShippingTestQuery.graphql.ts index 278a0446e32..50d4db71a20 100644 --- a/src/__generated__/ShippingTestQuery.graphql.ts +++ b/src/__generated__/ShippingTestQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<> + * @generated SignedSource<> * @lightSyntaxTransform * @nogrep */ @@ -111,7 +111,7 @@ export type ShippingTestQuery$rawResponse = { readonly date: string | null | undefined; readonly id: string; readonly image: { - readonly resized_ArtworkSummaryItem: { + readonly resized: { readonly url: string; } | null | undefined; } | null | undefined; @@ -250,7 +250,7 @@ export type ShippingTestQuery$rawResponse = { readonly date: string | null | undefined; readonly id: string; readonly image: { - readonly resized_ArtworkSummaryItem: { + readonly resized: { readonly url: string; } | null | undefined; } | null | undefined; @@ -931,12 +931,12 @@ return { "plural": false, "selections": [ { - "alias": "resized_ArtworkSummaryItem", + "alias": null, "args": [ { "kind": "Literal", "name": "width", - "value": 55 + "value": 185 } ], "concreteType": "ResizedImageUrl", @@ -952,7 +952,7 @@ return { "storageKey": null } ], - "storageKey": "resized(width:55)" + "storageKey": "resized(width:185)" } ], "storageKey": null @@ -1226,7 +1226,7 @@ return { ] }, "params": { - "cacheID": "112884b2fc69b053caa9702ae489d2f1", + "cacheID": "c8f9cf93979c2217c3d59af51368a5c8", "id": null, "metadata": { "relayTestingSelectionTypeInfo": { @@ -1382,13 +1382,13 @@ return { "plural": false, "type": "Image" }, - "order.lineItems.edges.node.artworkVersion.image.resized_ArtworkSummaryItem": { + "order.lineItems.edges.node.artworkVersion.image.resized": { "enumValues": null, "nullable": true, "plural": false, "type": "ResizedImageUrl" }, - "order.lineItems.edges.node.artworkVersion.image.resized_ArtworkSummaryItem.url": (v24/*: any*/), + "order.lineItems.edges.node.artworkVersion.image.resized.url": (v24/*: any*/), "order.lineItems.edges.node.artworkVersion.title": (v25/*: any*/), "order.lineItems.edges.node.id": (v26/*: any*/), "order.lineItems.edges.node.selectedShippingQuote": (v33/*: any*/), @@ -1488,7 +1488,7 @@ return { }, "name": "ShippingTestQuery", "operationKind": "query", - "text": "query ShippingTestQuery {\n order: commerceOrder(id: \"unused\") {\n __typename\n ...Shipping_order\n id\n }\n me {\n ...Shipping_me\n id\n }\n}\n\nfragment ArtworkSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n sellerDetails {\n __typename\n ... on Partner {\n name\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n currencyCode\n mode\n source\n lineItems {\n edges {\n node {\n artworkOrEditionSet {\n __typename\n ... on Artwork {\n price\n }\n ... on EditionSet {\n price\n id\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n artwork {\n slug\n shippingOrigin\n isUnlisted\n id\n }\n artworkVersion {\n date\n artistNames\n title\n image {\n resized_ArtworkSummaryItem: resized(width: 55) {\n url\n }\n }\n id\n }\n id\n }\n }\n }\n}\n\nfragment FulfillmentDetailsForm_me on Me {\n name\n email\n id\n location {\n country\n id\n }\n addressConnection(first: 30) {\n totalCount\n }\n}\n\nfragment FulfillmentDetailsForm_order on CommerceOrder {\n __isCommerceOrder: __typename\n internalID\n lineItems {\n edges {\n node {\n artwork {\n pickupAvailable\n id\n }\n id\n }\n }\n }\n ...ArtworkSummaryItem_order\n ...TransactionDetailsSummaryItem_order\n ...OrderStepper_order\n}\n\nfragment OrderStepper_order on CommerceOrder {\n __isCommerceOrder: __typename\n mode\n paymentSet\n requestedFulfillment {\n __typename\n }\n paymentMethodDetails {\n __typename\n ... on CreditCard {\n id\n }\n ... on BankAccount {\n id\n }\n ... on WireTransfer {\n isManualPayment\n }\n }\n lineItems {\n edges {\n node {\n artwork {\n slug\n id\n }\n shippingQuoteOptions {\n edges {\n node {\n isSelected\n id\n }\n }\n }\n id\n }\n }\n }\n}\n\nfragment SaveAndContinueButton_order on CommerceOrder {\n __isCommerceOrder: __typename\n internalID\n}\n\nfragment ShippingContext_me_dXEtb on Me {\n addressConnection(first: 30) {\n edges {\n node {\n id\n internalID\n addressLine1\n addressLine2\n addressLine3\n city\n country\n isDefault\n name\n phoneNumber\n postalCode\n region\n }\n }\n }\n}\n\nfragment ShippingContext_order on CommerceOrder {\n __isCommerceOrder: __typename\n internalID\n mode\n requestedFulfillment {\n __typename\n ... on CommercePickup {\n phoneNumber\n }\n ... on CommerceShip {\n name\n addressLine1\n addressLine2\n city\n region\n country\n postalCode\n phoneNumber\n }\n ... on CommerceShipArta {\n name\n addressLine1\n addressLine2\n city\n region\n country\n postalCode\n phoneNumber\n }\n }\n lineItems {\n edges {\n node {\n shippingQuoteOptions {\n edges {\n node {\n id\n isSelected\n }\n }\n }\n artwork {\n processWithArtsyShippingDomestic\n artsyShippingInternational\n onlyShipsDomestically\n euShippingOrigin\n shippingCountry\n id\n }\n id\n }\n }\n }\n}\n\nfragment ShippingQuotes_order on CommerceOrder {\n __isCommerceOrder: __typename\n lineItems {\n edges {\n node {\n shippingQuoteOptions {\n edges {\n node {\n id\n isSelected\n price(precision: 2)\n priceCents\n typeName\n }\n }\n }\n id\n }\n }\n }\n}\n\nfragment Shipping_me on Me {\n ...FulfillmentDetailsForm_me\n ...ShippingContext_me_dXEtb\n}\n\nfragment Shipping_order on CommerceOrder {\n __isCommerceOrder: __typename\n ...ShippingContext_order\n ...FulfillmentDetailsForm_order\n ...SaveAndContinueButton_order\n ...ArtworkSummaryItem_order\n ...TransactionDetailsSummaryItem_order\n ...OrderStepper_order\n ...ShippingQuotes_order\n internalID\n}\n\nfragment TransactionDetailsSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n __typename\n requestedFulfillment {\n __typename\n }\n code\n lineItems {\n edges {\n node {\n artworkOrEditionSet {\n __typename\n ... on Artwork {\n price\n }\n ... on EditionSet {\n price\n id\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n selectedShippingQuote {\n typeName\n id\n }\n id\n }\n }\n }\n mode\n source\n displayState\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n itemsTotal(precision: 2)\n buyerTotal(precision: 2)\n currencyCode\n ... on CommerceOfferOrder {\n lastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n myLastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n }\n}\n" + "text": "query ShippingTestQuery {\n order: commerceOrder(id: \"unused\") {\n __typename\n ...Shipping_order\n id\n }\n me {\n ...Shipping_me\n id\n }\n}\n\nfragment ArtworkSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n sellerDetails {\n __typename\n ... on Partner {\n name\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n currencyCode\n mode\n source\n lineItems {\n edges {\n node {\n artworkOrEditionSet {\n __typename\n ... on Artwork {\n price\n }\n ... on EditionSet {\n price\n id\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n artwork {\n slug\n shippingOrigin\n isUnlisted\n id\n }\n artworkVersion {\n date\n artistNames\n title\n image {\n resized(width: 185) {\n url\n }\n }\n id\n }\n id\n }\n }\n }\n}\n\nfragment FulfillmentDetailsForm_me on Me {\n name\n email\n id\n location {\n country\n id\n }\n addressConnection(first: 30) {\n totalCount\n }\n}\n\nfragment FulfillmentDetailsForm_order on CommerceOrder {\n __isCommerceOrder: __typename\n internalID\n lineItems {\n edges {\n node {\n artwork {\n pickupAvailable\n id\n }\n id\n }\n }\n }\n ...ArtworkSummaryItem_order\n ...TransactionDetailsSummaryItem_order\n ...OrderStepper_order\n}\n\nfragment OrderStepper_order on CommerceOrder {\n __isCommerceOrder: __typename\n mode\n paymentSet\n requestedFulfillment {\n __typename\n }\n paymentMethodDetails {\n __typename\n ... on CreditCard {\n id\n }\n ... on BankAccount {\n id\n }\n ... on WireTransfer {\n isManualPayment\n }\n }\n lineItems {\n edges {\n node {\n artwork {\n slug\n id\n }\n shippingQuoteOptions {\n edges {\n node {\n isSelected\n id\n }\n }\n }\n id\n }\n }\n }\n}\n\nfragment SaveAndContinueButton_order on CommerceOrder {\n __isCommerceOrder: __typename\n internalID\n}\n\nfragment ShippingContext_me_dXEtb on Me {\n addressConnection(first: 30) {\n edges {\n node {\n id\n internalID\n addressLine1\n addressLine2\n addressLine3\n city\n country\n isDefault\n name\n phoneNumber\n postalCode\n region\n }\n }\n }\n}\n\nfragment ShippingContext_order on CommerceOrder {\n __isCommerceOrder: __typename\n internalID\n mode\n requestedFulfillment {\n __typename\n ... on CommercePickup {\n phoneNumber\n }\n ... on CommerceShip {\n name\n addressLine1\n addressLine2\n city\n region\n country\n postalCode\n phoneNumber\n }\n ... on CommerceShipArta {\n name\n addressLine1\n addressLine2\n city\n region\n country\n postalCode\n phoneNumber\n }\n }\n lineItems {\n edges {\n node {\n shippingQuoteOptions {\n edges {\n node {\n id\n isSelected\n }\n }\n }\n artwork {\n processWithArtsyShippingDomestic\n artsyShippingInternational\n onlyShipsDomestically\n euShippingOrigin\n shippingCountry\n id\n }\n id\n }\n }\n }\n}\n\nfragment ShippingQuotes_order on CommerceOrder {\n __isCommerceOrder: __typename\n lineItems {\n edges {\n node {\n shippingQuoteOptions {\n edges {\n node {\n id\n isSelected\n price(precision: 2)\n priceCents\n typeName\n }\n }\n }\n id\n }\n }\n }\n}\n\nfragment Shipping_me on Me {\n ...FulfillmentDetailsForm_me\n ...ShippingContext_me_dXEtb\n}\n\nfragment Shipping_order on CommerceOrder {\n __isCommerceOrder: __typename\n ...ShippingContext_order\n ...FulfillmentDetailsForm_order\n ...SaveAndContinueButton_order\n ...ArtworkSummaryItem_order\n ...TransactionDetailsSummaryItem_order\n ...OrderStepper_order\n ...ShippingQuotes_order\n internalID\n}\n\nfragment TransactionDetailsSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n __typename\n requestedFulfillment {\n __typename\n }\n code\n lineItems {\n edges {\n node {\n artworkOrEditionSet {\n __typename\n ... on Artwork {\n price\n }\n ... on EditionSet {\n price\n id\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n selectedShippingQuote {\n typeName\n id\n }\n id\n }\n }\n }\n mode\n source\n displayState\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n itemsTotal(precision: 2)\n buyerTotal(precision: 2)\n currencyCode\n ... on CommerceOfferOrder {\n lastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n myLastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n }\n}\n" } }; })(); diff --git a/src/__generated__/StatusQuery.graphql.ts b/src/__generated__/StatusQuery.graphql.ts index fc80f8ffa1d..dc52f62cde3 100644 --- a/src/__generated__/StatusQuery.graphql.ts +++ b/src/__generated__/StatusQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<06ba0b190ea0dbef9e5bb1ce682b140f>> + * @generated SignedSource<<1c32763abc3e0e97a2999cb60a21ba90>> * @lightSyntaxTransform * @nogrep */ @@ -76,7 +76,7 @@ export type StatusQuery$rawResponse = { readonly date: string | null | undefined; readonly id: string; readonly image: { - readonly resized_ArtworkSummaryItem: { + readonly resized: { readonly url: string; } | null | undefined; } | null | undefined; @@ -223,7 +223,7 @@ export type StatusQuery$rawResponse = { readonly date: string | null | undefined; readonly id: string; readonly image: { - readonly resized_ArtworkSummaryItem: { + readonly resized: { readonly url: string; } | null | undefined; } | null | undefined; @@ -855,12 +855,12 @@ return { "plural": false, "selections": [ { - "alias": "resized_ArtworkSummaryItem", + "alias": null, "args": [ { "kind": "Literal", "name": "width", - "value": 55 + "value": 185 } ], "concreteType": "ResizedImageUrl", @@ -876,7 +876,7 @@ return { "storageKey": null } ], - "storageKey": "resized(width:55)" + "storageKey": "resized(width:185)" } ], "storageKey": null @@ -1138,7 +1138,7 @@ return { ] }, "params": { - "cacheID": "b95b9b813b6ae1f816772c892d017c74", + "cacheID": "d708bf1925d87ec375ff2b7bfa32534a", "id": null, "metadata": { "relayTestingSelectionTypeInfo": { @@ -1240,13 +1240,13 @@ return { "plural": false, "type": "Image" }, - "order.lineItems.edges.node.artworkVersion.image.resized_ArtworkSummaryItem": { + "order.lineItems.edges.node.artworkVersion.image.resized": { "enumValues": null, "nullable": true, "plural": false, "type": "ResizedImageUrl" }, - "order.lineItems.edges.node.artworkVersion.image.resized_ArtworkSummaryItem.url": (v15/*: any*/), + "order.lineItems.edges.node.artworkVersion.image.resized.url": (v15/*: any*/), "order.lineItems.edges.node.artworkVersion.title": (v16/*: any*/), "order.lineItems.edges.node.fulfillments": { "enumValues": null, @@ -1400,7 +1400,7 @@ return { }, "name": "StatusQuery", "operationKind": "query", - "text": "query StatusQuery {\n order: commerceOrder(id: \"42\") {\n __typename\n ...Status_order\n id\n }\n}\n\nfragment ArtworkSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n sellerDetails {\n __typename\n ... on Partner {\n name\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n currencyCode\n mode\n source\n lineItems {\n edges {\n node {\n artworkOrEditionSet {\n __typename\n ... on Artwork {\n price\n }\n ... on EditionSet {\n price\n id\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n artwork {\n slug\n shippingOrigin\n isUnlisted\n id\n }\n artworkVersion {\n date\n artistNames\n title\n image {\n resized_ArtworkSummaryItem: resized(width: 55) {\n url\n }\n }\n id\n }\n id\n }\n }\n }\n}\n\nfragment PaymentMethodSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n source\n paymentMethodDetails {\n __typename\n ... on CreditCard {\n brand\n lastDigits\n expirationYear\n expirationMonth\n id\n }\n ... on BankAccount {\n last4\n id\n }\n ... on WireTransfer {\n isManualPayment\n }\n }\n}\n\nfragment ShippingAddress_ship on CommerceRequestedFulfillmentUnion {\n __isCommerceRequestedFulfillmentUnion: __typename\n ... on CommerceShip {\n name\n addressLine1\n addressLine2\n city\n postalCode\n region\n country\n phoneNumber\n }\n ... on CommerceShipArta {\n name\n addressLine1\n addressLine2\n city\n postalCode\n region\n country\n phoneNumber\n }\n}\n\nfragment ShippingSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n state\n paymentMethod\n requestedFulfillment {\n __typename\n ...ShippingAddress_ship\n }\n lineItems {\n edges {\n node {\n artwork {\n shippingOrigin\n id\n }\n id\n }\n }\n }\n}\n\nfragment Status_order on CommerceOrder {\n __isCommerceOrder: __typename\n __typename\n internalID\n code\n currencyCode\n displayState\n state\n mode\n source\n stateReason\n paymentMethod\n stateExpiresAt(format: \"MMM D\")\n requestedFulfillment {\n __typename\n ... on CommerceShip {\n __typename\n }\n ... on CommercePickup {\n __typename\n }\n ... on CommerceShipArta {\n __typename\n }\n }\n ...ArtworkSummaryItem_order\n ...TransactionDetailsSummaryItem_order\n ...ShippingSummaryItem_order\n ...PaymentMethodSummaryItem_order\n lineItems {\n edges {\n node {\n shipment {\n trackingNumber\n trackingUrl\n carrierName\n estimatedDeliveryWindow\n id\n }\n selectedShippingQuote {\n typeName\n id\n }\n fulfillments {\n edges {\n node {\n courier\n trackingId\n estimatedDelivery(format: \"MMM Do, YYYY\")\n id\n }\n }\n }\n id\n }\n }\n }\n ... on CommerceOfferOrder {\n myLastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n id\n }\n }\n}\n\nfragment TransactionDetailsSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n __typename\n requestedFulfillment {\n __typename\n }\n code\n lineItems {\n edges {\n node {\n artworkOrEditionSet {\n __typename\n ... on Artwork {\n price\n }\n ... on EditionSet {\n price\n id\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n selectedShippingQuote {\n typeName\n id\n }\n id\n }\n }\n }\n mode\n source\n displayState\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n itemsTotal(precision: 2)\n buyerTotal(precision: 2)\n currencyCode\n ... on CommerceOfferOrder {\n lastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n myLastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n }\n}\n" + "text": "query StatusQuery {\n order: commerceOrder(id: \"42\") {\n __typename\n ...Status_order\n id\n }\n}\n\nfragment ArtworkSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n sellerDetails {\n __typename\n ... on Partner {\n name\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n currencyCode\n mode\n source\n lineItems {\n edges {\n node {\n artworkOrEditionSet {\n __typename\n ... on Artwork {\n price\n }\n ... on EditionSet {\n price\n id\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n artwork {\n slug\n shippingOrigin\n isUnlisted\n id\n }\n artworkVersion {\n date\n artistNames\n title\n image {\n resized(width: 185) {\n url\n }\n }\n id\n }\n id\n }\n }\n }\n}\n\nfragment PaymentMethodSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n source\n paymentMethodDetails {\n __typename\n ... on CreditCard {\n brand\n lastDigits\n expirationYear\n expirationMonth\n id\n }\n ... on BankAccount {\n last4\n id\n }\n ... on WireTransfer {\n isManualPayment\n }\n }\n}\n\nfragment ShippingAddress_ship on CommerceRequestedFulfillmentUnion {\n __isCommerceRequestedFulfillmentUnion: __typename\n ... on CommerceShip {\n name\n addressLine1\n addressLine2\n city\n postalCode\n region\n country\n phoneNumber\n }\n ... on CommerceShipArta {\n name\n addressLine1\n addressLine2\n city\n postalCode\n region\n country\n phoneNumber\n }\n}\n\nfragment ShippingSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n state\n paymentMethod\n requestedFulfillment {\n __typename\n ...ShippingAddress_ship\n }\n lineItems {\n edges {\n node {\n artwork {\n shippingOrigin\n id\n }\n id\n }\n }\n }\n}\n\nfragment Status_order on CommerceOrder {\n __isCommerceOrder: __typename\n __typename\n internalID\n code\n currencyCode\n displayState\n state\n mode\n source\n stateReason\n paymentMethod\n stateExpiresAt(format: \"MMM D\")\n requestedFulfillment {\n __typename\n ... on CommerceShip {\n __typename\n }\n ... on CommercePickup {\n __typename\n }\n ... on CommerceShipArta {\n __typename\n }\n }\n ...ArtworkSummaryItem_order\n ...TransactionDetailsSummaryItem_order\n ...ShippingSummaryItem_order\n ...PaymentMethodSummaryItem_order\n lineItems {\n edges {\n node {\n shipment {\n trackingNumber\n trackingUrl\n carrierName\n estimatedDeliveryWindow\n id\n }\n selectedShippingQuote {\n typeName\n id\n }\n fulfillments {\n edges {\n node {\n courier\n trackingId\n estimatedDelivery(format: \"MMM Do, YYYY\")\n id\n }\n }\n }\n id\n }\n }\n }\n ... on CommerceOfferOrder {\n myLastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n id\n }\n }\n}\n\nfragment TransactionDetailsSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n __typename\n requestedFulfillment {\n __typename\n }\n code\n lineItems {\n edges {\n node {\n artworkOrEditionSet {\n __typename\n ... on Artwork {\n price\n }\n ... on EditionSet {\n price\n id\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n selectedShippingQuote {\n typeName\n id\n }\n id\n }\n }\n }\n mode\n source\n displayState\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n itemsTotal(precision: 2)\n buyerTotal(precision: 2)\n currencyCode\n ... on CommerceOfferOrder {\n lastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n myLastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n }\n}\n" } }; })(); diff --git a/src/__generated__/orderRoutes_AcceptQuery.graphql.ts b/src/__generated__/orderRoutes_AcceptQuery.graphql.ts index 2497d79ce11..283deb3dee2 100644 --- a/src/__generated__/orderRoutes_AcceptQuery.graphql.ts +++ b/src/__generated__/orderRoutes_AcceptQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<3ff8507821357f8664c68eb7ca1c9a24>> + * @generated SignedSource<<224281108ec1dc8a4bfddf3cf333e52b>> * @lightSyntaxTransform * @nogrep */ @@ -429,12 +429,12 @@ return { "plural": false, "selections": [ { - "alias": "resized_ArtworkSummaryItem", + "alias": null, "args": [ { "kind": "Literal", "name": "width", - "value": 55 + "value": 185 } ], "concreteType": "ResizedImageUrl", @@ -450,7 +450,7 @@ return { "storageKey": null } ], - "storageKey": "resized(width:55)" + "storageKey": "resized(width:185)" } ], "storageKey": null @@ -777,12 +777,12 @@ return { ] }, "params": { - "cacheID": "8c480ebe3ef0ed0a070af3bc2767dd68", + "cacheID": "85c808ce5fc757decb1e6d791f41dbd4", "id": null, "metadata": {}, "name": "orderRoutes_AcceptQuery", "operationKind": "query", - "text": "query orderRoutes_AcceptQuery(\n $orderID: ID!\n) {\n order: commerceOrder(id: $orderID) {\n __typename\n ...Accept_order\n id\n }\n}\n\nfragment Accept_order on CommerceOrder {\n __isCommerceOrder: __typename\n internalID\n stateExpiresAt\n lineItems {\n edges {\n node {\n artwork {\n slug\n artists(shallow: true) {\n slug\n id\n }\n id\n }\n id\n }\n }\n }\n creditCardId\n ... on CommerceOfferOrder {\n lastOffer {\n internalID\n createdAt\n id\n }\n }\n ...TransactionDetailsSummaryItem_order\n ...ArtworkSummaryItem_order\n ...ShippingSummaryItem_order\n ...PaymentMethodSummaryItem_order\n ...OrderStepper_order\n}\n\nfragment ArtworkSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n sellerDetails {\n __typename\n ... on Partner {\n name\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n currencyCode\n mode\n source\n lineItems {\n edges {\n node {\n artworkOrEditionSet {\n __typename\n ... on Artwork {\n price\n }\n ... on EditionSet {\n price\n id\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n artwork {\n slug\n shippingOrigin\n isUnlisted\n id\n }\n artworkVersion {\n date\n artistNames\n title\n image {\n resized_ArtworkSummaryItem: resized(width: 55) {\n url\n }\n }\n id\n }\n id\n }\n }\n }\n}\n\nfragment OrderStepper_order on CommerceOrder {\n __isCommerceOrder: __typename\n mode\n paymentSet\n requestedFulfillment {\n __typename\n }\n paymentMethodDetails {\n __typename\n ... on CreditCard {\n id\n }\n ... on BankAccount {\n id\n }\n ... on WireTransfer {\n isManualPayment\n }\n }\n lineItems {\n edges {\n node {\n artwork {\n slug\n id\n }\n shippingQuoteOptions {\n edges {\n node {\n isSelected\n id\n }\n }\n }\n id\n }\n }\n }\n}\n\nfragment PaymentMethodSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n source\n paymentMethodDetails {\n __typename\n ... on CreditCard {\n brand\n lastDigits\n expirationYear\n expirationMonth\n id\n }\n ... on BankAccount {\n last4\n id\n }\n ... on WireTransfer {\n isManualPayment\n }\n }\n}\n\nfragment ShippingAddress_ship on CommerceRequestedFulfillmentUnion {\n __isCommerceRequestedFulfillmentUnion: __typename\n ... on CommerceShip {\n name\n addressLine1\n addressLine2\n city\n postalCode\n region\n country\n phoneNumber\n }\n ... on CommerceShipArta {\n name\n addressLine1\n addressLine2\n city\n postalCode\n region\n country\n phoneNumber\n }\n}\n\nfragment ShippingSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n state\n paymentMethod\n requestedFulfillment {\n __typename\n ...ShippingAddress_ship\n }\n lineItems {\n edges {\n node {\n artwork {\n shippingOrigin\n id\n }\n id\n }\n }\n }\n}\n\nfragment TransactionDetailsSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n __typename\n requestedFulfillment {\n __typename\n }\n code\n lineItems {\n edges {\n node {\n artworkOrEditionSet {\n __typename\n ... on Artwork {\n price\n }\n ... on EditionSet {\n price\n id\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n selectedShippingQuote {\n typeName\n id\n }\n id\n }\n }\n }\n mode\n source\n displayState\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n itemsTotal(precision: 2)\n buyerTotal(precision: 2)\n currencyCode\n ... on CommerceOfferOrder {\n lastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n myLastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n }\n}\n" + "text": "query orderRoutes_AcceptQuery(\n $orderID: ID!\n) {\n order: commerceOrder(id: $orderID) {\n __typename\n ...Accept_order\n id\n }\n}\n\nfragment Accept_order on CommerceOrder {\n __isCommerceOrder: __typename\n internalID\n stateExpiresAt\n lineItems {\n edges {\n node {\n artwork {\n slug\n artists(shallow: true) {\n slug\n id\n }\n id\n }\n id\n }\n }\n }\n creditCardId\n ... on CommerceOfferOrder {\n lastOffer {\n internalID\n createdAt\n id\n }\n }\n ...TransactionDetailsSummaryItem_order\n ...ArtworkSummaryItem_order\n ...ShippingSummaryItem_order\n ...PaymentMethodSummaryItem_order\n ...OrderStepper_order\n}\n\nfragment ArtworkSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n sellerDetails {\n __typename\n ... on Partner {\n name\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n currencyCode\n mode\n source\n lineItems {\n edges {\n node {\n artworkOrEditionSet {\n __typename\n ... on Artwork {\n price\n }\n ... on EditionSet {\n price\n id\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n artwork {\n slug\n shippingOrigin\n isUnlisted\n id\n }\n artworkVersion {\n date\n artistNames\n title\n image {\n resized(width: 185) {\n url\n }\n }\n id\n }\n id\n }\n }\n }\n}\n\nfragment OrderStepper_order on CommerceOrder {\n __isCommerceOrder: __typename\n mode\n paymentSet\n requestedFulfillment {\n __typename\n }\n paymentMethodDetails {\n __typename\n ... on CreditCard {\n id\n }\n ... on BankAccount {\n id\n }\n ... on WireTransfer {\n isManualPayment\n }\n }\n lineItems {\n edges {\n node {\n artwork {\n slug\n id\n }\n shippingQuoteOptions {\n edges {\n node {\n isSelected\n id\n }\n }\n }\n id\n }\n }\n }\n}\n\nfragment PaymentMethodSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n source\n paymentMethodDetails {\n __typename\n ... on CreditCard {\n brand\n lastDigits\n expirationYear\n expirationMonth\n id\n }\n ... on BankAccount {\n last4\n id\n }\n ... on WireTransfer {\n isManualPayment\n }\n }\n}\n\nfragment ShippingAddress_ship on CommerceRequestedFulfillmentUnion {\n __isCommerceRequestedFulfillmentUnion: __typename\n ... on CommerceShip {\n name\n addressLine1\n addressLine2\n city\n postalCode\n region\n country\n phoneNumber\n }\n ... on CommerceShipArta {\n name\n addressLine1\n addressLine2\n city\n postalCode\n region\n country\n phoneNumber\n }\n}\n\nfragment ShippingSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n state\n paymentMethod\n requestedFulfillment {\n __typename\n ...ShippingAddress_ship\n }\n lineItems {\n edges {\n node {\n artwork {\n shippingOrigin\n id\n }\n id\n }\n }\n }\n}\n\nfragment TransactionDetailsSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n __typename\n requestedFulfillment {\n __typename\n }\n code\n lineItems {\n edges {\n node {\n artworkOrEditionSet {\n __typename\n ... on Artwork {\n price\n }\n ... on EditionSet {\n price\n id\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n selectedShippingQuote {\n typeName\n id\n }\n id\n }\n }\n }\n mode\n source\n displayState\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n itemsTotal(precision: 2)\n buyerTotal(precision: 2)\n currencyCode\n ... on CommerceOfferOrder {\n lastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n myLastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n }\n}\n" } }; })(); diff --git a/src/__generated__/orderRoutes_CounterQuery.graphql.ts b/src/__generated__/orderRoutes_CounterQuery.graphql.ts index 656368a2184..36c8bde6ffe 100644 --- a/src/__generated__/orderRoutes_CounterQuery.graphql.ts +++ b/src/__generated__/orderRoutes_CounterQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<> + * @generated SignedSource<<4e9b8b43f5423c4f3bf50f29643c7942>> * @lightSyntaxTransform * @nogrep */ @@ -471,12 +471,12 @@ return { "plural": false, "selections": [ { - "alias": "resized_ArtworkSummaryItem", + "alias": null, "args": [ { "kind": "Literal", "name": "width", - "value": 55 + "value": 185 } ], "concreteType": "ResizedImageUrl", @@ -492,7 +492,7 @@ return { "storageKey": null } ], - "storageKey": "resized(width:55)" + "storageKey": "resized(width:185)" } ], "storageKey": null @@ -800,12 +800,12 @@ return { ] }, "params": { - "cacheID": "abd4b6592995d952de356aed71343196", + "cacheID": "ba0463a2f54f3326c75fd6f3d6e7fb67", "id": null, "metadata": {}, "name": "orderRoutes_CounterQuery", "operationKind": "query", - "text": "query orderRoutes_CounterQuery(\n $orderID: ID!\n) {\n order: commerceOrder(id: $orderID) {\n __typename\n ...Counter_order\n id\n }\n}\n\nfragment ArtworkSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n sellerDetails {\n __typename\n ... on Partner {\n name\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n currencyCode\n mode\n source\n lineItems {\n edges {\n node {\n artworkOrEditionSet {\n __typename\n ... on Artwork {\n price\n }\n ... on EditionSet {\n price\n id\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n artwork {\n slug\n shippingOrigin\n isUnlisted\n id\n }\n artworkVersion {\n date\n artistNames\n title\n image {\n resized_ArtworkSummaryItem: resized(width: 55) {\n url\n }\n }\n id\n }\n id\n }\n }\n }\n}\n\nfragment Counter_order on CommerceOrder {\n __isCommerceOrder: __typename\n internalID\n mode\n state\n itemsTotal(precision: 2)\n stateExpiresAt\n ... on CommerceOfferOrder {\n lastOffer {\n createdAt\n id\n }\n myLastOffer {\n internalID\n id\n }\n }\n lineItems {\n edges {\n node {\n artwork {\n slug\n id\n }\n id\n }\n }\n }\n ...OrderStepper_order\n ...TransactionDetailsSummaryItem_order\n ...ArtworkSummaryItem_order\n ...ShippingSummaryItem_order\n ...PaymentMethodSummaryItem_order\n ...OfferHistoryItem_order\n}\n\nfragment OfferHistoryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n lineItems {\n edges {\n node {\n artworkOrEditionSet {\n __typename\n ... on Artwork {\n price\n }\n ... on EditionSet {\n price\n id\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n }\n }\n ... on CommerceOfferOrder {\n offers {\n edges {\n node {\n internalID\n amount(precision: 2)\n createdAt(format: \"MMM D\")\n fromParticipant\n id\n }\n }\n }\n currencyCode\n lastOffer {\n internalID\n fromParticipant\n amount(precision: 2)\n shippingTotal(precision: 2)\n taxTotal(precision: 2)\n note\n id\n }\n }\n}\n\nfragment OrderStepper_order on CommerceOrder {\n __isCommerceOrder: __typename\n mode\n paymentSet\n requestedFulfillment {\n __typename\n }\n paymentMethodDetails {\n __typename\n ... on CreditCard {\n id\n }\n ... on BankAccount {\n id\n }\n ... on WireTransfer {\n isManualPayment\n }\n }\n lineItems {\n edges {\n node {\n artwork {\n slug\n id\n }\n shippingQuoteOptions {\n edges {\n node {\n isSelected\n id\n }\n }\n }\n id\n }\n }\n }\n}\n\nfragment PaymentMethodSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n source\n paymentMethodDetails {\n __typename\n ... on CreditCard {\n brand\n lastDigits\n expirationYear\n expirationMonth\n id\n }\n ... on BankAccount {\n last4\n id\n }\n ... on WireTransfer {\n isManualPayment\n }\n }\n}\n\nfragment ShippingAddress_ship on CommerceRequestedFulfillmentUnion {\n __isCommerceRequestedFulfillmentUnion: __typename\n ... on CommerceShip {\n name\n addressLine1\n addressLine2\n city\n postalCode\n region\n country\n phoneNumber\n }\n ... on CommerceShipArta {\n name\n addressLine1\n addressLine2\n city\n postalCode\n region\n country\n phoneNumber\n }\n}\n\nfragment ShippingSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n state\n paymentMethod\n requestedFulfillment {\n __typename\n ...ShippingAddress_ship\n }\n lineItems {\n edges {\n node {\n artwork {\n shippingOrigin\n id\n }\n id\n }\n }\n }\n}\n\nfragment TransactionDetailsSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n __typename\n requestedFulfillment {\n __typename\n }\n code\n lineItems {\n edges {\n node {\n artworkOrEditionSet {\n __typename\n ... on Artwork {\n price\n }\n ... on EditionSet {\n price\n id\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n selectedShippingQuote {\n typeName\n id\n }\n id\n }\n }\n }\n mode\n source\n displayState\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n itemsTotal(precision: 2)\n buyerTotal(precision: 2)\n currencyCode\n ... on CommerceOfferOrder {\n lastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n myLastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n }\n}\n" + "text": "query orderRoutes_CounterQuery(\n $orderID: ID!\n) {\n order: commerceOrder(id: $orderID) {\n __typename\n ...Counter_order\n id\n }\n}\n\nfragment ArtworkSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n sellerDetails {\n __typename\n ... on Partner {\n name\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n currencyCode\n mode\n source\n lineItems {\n edges {\n node {\n artworkOrEditionSet {\n __typename\n ... on Artwork {\n price\n }\n ... on EditionSet {\n price\n id\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n artwork {\n slug\n shippingOrigin\n isUnlisted\n id\n }\n artworkVersion {\n date\n artistNames\n title\n image {\n resized(width: 185) {\n url\n }\n }\n id\n }\n id\n }\n }\n }\n}\n\nfragment Counter_order on CommerceOrder {\n __isCommerceOrder: __typename\n internalID\n mode\n state\n itemsTotal(precision: 2)\n stateExpiresAt\n ... on CommerceOfferOrder {\n lastOffer {\n createdAt\n id\n }\n myLastOffer {\n internalID\n id\n }\n }\n lineItems {\n edges {\n node {\n artwork {\n slug\n id\n }\n id\n }\n }\n }\n ...OrderStepper_order\n ...TransactionDetailsSummaryItem_order\n ...ArtworkSummaryItem_order\n ...ShippingSummaryItem_order\n ...PaymentMethodSummaryItem_order\n ...OfferHistoryItem_order\n}\n\nfragment OfferHistoryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n lineItems {\n edges {\n node {\n artworkOrEditionSet {\n __typename\n ... on Artwork {\n price\n }\n ... on EditionSet {\n price\n id\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n }\n }\n ... on CommerceOfferOrder {\n offers {\n edges {\n node {\n internalID\n amount(precision: 2)\n createdAt(format: \"MMM D\")\n fromParticipant\n id\n }\n }\n }\n currencyCode\n lastOffer {\n internalID\n fromParticipant\n amount(precision: 2)\n shippingTotal(precision: 2)\n taxTotal(precision: 2)\n note\n id\n }\n }\n}\n\nfragment OrderStepper_order on CommerceOrder {\n __isCommerceOrder: __typename\n mode\n paymentSet\n requestedFulfillment {\n __typename\n }\n paymentMethodDetails {\n __typename\n ... on CreditCard {\n id\n }\n ... on BankAccount {\n id\n }\n ... on WireTransfer {\n isManualPayment\n }\n }\n lineItems {\n edges {\n node {\n artwork {\n slug\n id\n }\n shippingQuoteOptions {\n edges {\n node {\n isSelected\n id\n }\n }\n }\n id\n }\n }\n }\n}\n\nfragment PaymentMethodSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n source\n paymentMethodDetails {\n __typename\n ... on CreditCard {\n brand\n lastDigits\n expirationYear\n expirationMonth\n id\n }\n ... on BankAccount {\n last4\n id\n }\n ... on WireTransfer {\n isManualPayment\n }\n }\n}\n\nfragment ShippingAddress_ship on CommerceRequestedFulfillmentUnion {\n __isCommerceRequestedFulfillmentUnion: __typename\n ... on CommerceShip {\n name\n addressLine1\n addressLine2\n city\n postalCode\n region\n country\n phoneNumber\n }\n ... on CommerceShipArta {\n name\n addressLine1\n addressLine2\n city\n postalCode\n region\n country\n phoneNumber\n }\n}\n\nfragment ShippingSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n state\n paymentMethod\n requestedFulfillment {\n __typename\n ...ShippingAddress_ship\n }\n lineItems {\n edges {\n node {\n artwork {\n shippingOrigin\n id\n }\n id\n }\n }\n }\n}\n\nfragment TransactionDetailsSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n __typename\n requestedFulfillment {\n __typename\n }\n code\n lineItems {\n edges {\n node {\n artworkOrEditionSet {\n __typename\n ... on Artwork {\n price\n }\n ... on EditionSet {\n price\n id\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n selectedShippingQuote {\n typeName\n id\n }\n id\n }\n }\n }\n mode\n source\n displayState\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n itemsTotal(precision: 2)\n buyerTotal(precision: 2)\n currencyCode\n ... on CommerceOfferOrder {\n lastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n myLastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n }\n}\n" } }; })(); diff --git a/src/__generated__/orderRoutes_NewPaymentQuery.graphql.ts b/src/__generated__/orderRoutes_NewPaymentQuery.graphql.ts index 46916ab5053..1a2cf44e3f0 100644 --- a/src/__generated__/orderRoutes_NewPaymentQuery.graphql.ts +++ b/src/__generated__/orderRoutes_NewPaymentQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<> + * @generated SignedSource<<49341805b505a41e07091973bdf210ec>> * @lightSyntaxTransform * @nogrep */ @@ -525,12 +525,12 @@ return { "plural": false, "selections": [ { - "alias": "resized_ArtworkSummaryItem", + "alias": null, "args": [ { "kind": "Literal", "name": "width", - "value": 55 + "value": 185 } ], "concreteType": "ResizedImageUrl", @@ -546,7 +546,7 @@ return { "storageKey": null } ], - "storageKey": "resized(width:55)" + "storageKey": "resized(width:185)" } ], "storageKey": null @@ -890,12 +890,12 @@ return { ] }, "params": { - "cacheID": "62ddb9f3cb9dc1644c5ef929d6ed06e8", + "cacheID": "59dc476bd5a7d95dc0b53541473b40f5", "id": null, "metadata": {}, "name": "orderRoutes_NewPaymentQuery", "operationKind": "query", - "text": "query orderRoutes_NewPaymentQuery(\n $orderID: ID!\n) {\n me {\n ...NewPayment_me\n id\n }\n order: commerceOrder(id: $orderID) {\n __typename\n ...NewPayment_order\n id\n }\n}\n\nfragment ArtworkSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n sellerDetails {\n __typename\n ... on Partner {\n name\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n currencyCode\n mode\n source\n lineItems {\n edges {\n node {\n artworkOrEditionSet {\n __typename\n ... on Artwork {\n price\n }\n ... on EditionSet {\n price\n id\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n artwork {\n slug\n shippingOrigin\n isUnlisted\n id\n }\n artworkVersion {\n date\n artistNames\n title\n image {\n resized_ArtworkSummaryItem: resized(width: 55) {\n url\n }\n }\n id\n }\n id\n }\n }\n }\n}\n\nfragment CreditCardPicker_me on Me {\n creditCards(first: 100) {\n edges {\n node {\n internalID\n brand\n lastDigits\n expirationMonth\n expirationYear\n id\n }\n }\n }\n}\n\nfragment CreditCardPicker_order on CommerceOrder {\n __isCommerceOrder: __typename\n internalID\n mode\n state\n creditCard {\n internalID\n name\n street1\n street2\n city\n state\n country\n postalCode\n expirationMonth\n expirationYear\n lastDigits\n brand\n id\n }\n sellerDetails {\n __typename\n ... on Partner {\n merchantAccount {\n externalId\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n requestedFulfillment {\n __typename\n ... on CommerceShip {\n name\n addressLine1\n addressLine2\n city\n region\n country\n postalCode\n }\n ... on CommerceShipArta {\n name\n addressLine1\n addressLine2\n city\n region\n country\n postalCode\n }\n ... on CommercePickup {\n fulfillmentType\n }\n }\n lineItems {\n edges {\n node {\n artwork {\n slug\n id\n }\n id\n }\n }\n }\n}\n\nfragment NewPayment_me on Me {\n ...CreditCardPicker_me\n}\n\nfragment NewPayment_order on CommerceOrder {\n __isCommerceOrder: __typename\n internalID\n mode\n stateExpiresAt\n lineItems {\n edges {\n node {\n artwork {\n slug\n artists(shallow: true) {\n slug\n id\n }\n id\n }\n id\n }\n }\n }\n ... on CommerceOfferOrder {\n lastOffer {\n createdAt\n internalID\n note\n id\n }\n }\n ...CreditCardPicker_order\n ...ArtworkSummaryItem_order\n ...TransactionDetailsSummaryItem_order\n ...OrderStepper_order\n}\n\nfragment OrderStepper_order on CommerceOrder {\n __isCommerceOrder: __typename\n mode\n paymentSet\n requestedFulfillment {\n __typename\n }\n paymentMethodDetails {\n __typename\n ... on CreditCard {\n id\n }\n ... on BankAccount {\n id\n }\n ... on WireTransfer {\n isManualPayment\n }\n }\n lineItems {\n edges {\n node {\n artwork {\n slug\n id\n }\n shippingQuoteOptions {\n edges {\n node {\n isSelected\n id\n }\n }\n }\n id\n }\n }\n }\n}\n\nfragment TransactionDetailsSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n __typename\n requestedFulfillment {\n __typename\n }\n code\n lineItems {\n edges {\n node {\n artworkOrEditionSet {\n __typename\n ... on Artwork {\n price\n }\n ... on EditionSet {\n price\n id\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n selectedShippingQuote {\n typeName\n id\n }\n id\n }\n }\n }\n mode\n source\n displayState\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n itemsTotal(precision: 2)\n buyerTotal(precision: 2)\n currencyCode\n ... on CommerceOfferOrder {\n lastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n myLastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n }\n}\n" + "text": "query orderRoutes_NewPaymentQuery(\n $orderID: ID!\n) {\n me {\n ...NewPayment_me\n id\n }\n order: commerceOrder(id: $orderID) {\n __typename\n ...NewPayment_order\n id\n }\n}\n\nfragment ArtworkSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n sellerDetails {\n __typename\n ... on Partner {\n name\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n currencyCode\n mode\n source\n lineItems {\n edges {\n node {\n artworkOrEditionSet {\n __typename\n ... on Artwork {\n price\n }\n ... on EditionSet {\n price\n id\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n artwork {\n slug\n shippingOrigin\n isUnlisted\n id\n }\n artworkVersion {\n date\n artistNames\n title\n image {\n resized(width: 185) {\n url\n }\n }\n id\n }\n id\n }\n }\n }\n}\n\nfragment CreditCardPicker_me on Me {\n creditCards(first: 100) {\n edges {\n node {\n internalID\n brand\n lastDigits\n expirationMonth\n expirationYear\n id\n }\n }\n }\n}\n\nfragment CreditCardPicker_order on CommerceOrder {\n __isCommerceOrder: __typename\n internalID\n mode\n state\n creditCard {\n internalID\n name\n street1\n street2\n city\n state\n country\n postalCode\n expirationMonth\n expirationYear\n lastDigits\n brand\n id\n }\n sellerDetails {\n __typename\n ... on Partner {\n merchantAccount {\n externalId\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n requestedFulfillment {\n __typename\n ... on CommerceShip {\n name\n addressLine1\n addressLine2\n city\n region\n country\n postalCode\n }\n ... on CommerceShipArta {\n name\n addressLine1\n addressLine2\n city\n region\n country\n postalCode\n }\n ... on CommercePickup {\n fulfillmentType\n }\n }\n lineItems {\n edges {\n node {\n artwork {\n slug\n id\n }\n id\n }\n }\n }\n}\n\nfragment NewPayment_me on Me {\n ...CreditCardPicker_me\n}\n\nfragment NewPayment_order on CommerceOrder {\n __isCommerceOrder: __typename\n internalID\n mode\n stateExpiresAt\n lineItems {\n edges {\n node {\n artwork {\n slug\n artists(shallow: true) {\n slug\n id\n }\n id\n }\n id\n }\n }\n }\n ... on CommerceOfferOrder {\n lastOffer {\n createdAt\n internalID\n note\n id\n }\n }\n ...CreditCardPicker_order\n ...ArtworkSummaryItem_order\n ...TransactionDetailsSummaryItem_order\n ...OrderStepper_order\n}\n\nfragment OrderStepper_order on CommerceOrder {\n __isCommerceOrder: __typename\n mode\n paymentSet\n requestedFulfillment {\n __typename\n }\n paymentMethodDetails {\n __typename\n ... on CreditCard {\n id\n }\n ... on BankAccount {\n id\n }\n ... on WireTransfer {\n isManualPayment\n }\n }\n lineItems {\n edges {\n node {\n artwork {\n slug\n id\n }\n shippingQuoteOptions {\n edges {\n node {\n isSelected\n id\n }\n }\n }\n id\n }\n }\n }\n}\n\nfragment TransactionDetailsSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n __typename\n requestedFulfillment {\n __typename\n }\n code\n lineItems {\n edges {\n node {\n artworkOrEditionSet {\n __typename\n ... on Artwork {\n price\n }\n ... on EditionSet {\n price\n id\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n selectedShippingQuote {\n typeName\n id\n }\n id\n }\n }\n }\n mode\n source\n displayState\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n itemsTotal(precision: 2)\n buyerTotal(precision: 2)\n currencyCode\n ... on CommerceOfferOrder {\n lastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n myLastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n }\n}\n" } }; })(); diff --git a/src/__generated__/orderRoutes_OfferQuery.graphql.ts b/src/__generated__/orderRoutes_OfferQuery.graphql.ts index fe89f69143b..9a4b3eec946 100644 --- a/src/__generated__/orderRoutes_OfferQuery.graphql.ts +++ b/src/__generated__/orderRoutes_OfferQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<7bf19adb91a891fe3024dd013dc67b02>> + * @generated SignedSource<<6a4f2fec673eab6ec024dc2c101be667>> * @lightSyntaxTransform * @nogrep */ @@ -444,12 +444,12 @@ return { "plural": false, "selections": [ { - "alias": "resized_ArtworkSummaryItem", + "alias": null, "args": [ { "kind": "Literal", "name": "width", - "value": 55 + "value": 185 } ], "concreteType": "ResizedImageUrl", @@ -465,7 +465,7 @@ return { "storageKey": null } ], - "storageKey": "resized(width:55)" + "storageKey": "resized(width:185)" } ], "storageKey": null @@ -745,12 +745,12 @@ return { ] }, "params": { - "cacheID": "9fb8c04339c692a82f1e22c07dd75707", + "cacheID": "9f5782851d1fdfbc099f4a41280ff496", "id": null, "metadata": {}, "name": "orderRoutes_OfferQuery", "operationKind": "query", - "text": "query orderRoutes_OfferQuery(\n $orderID: ID!\n) {\n order: commerceOrder(id: $orderID) {\n __typename\n ...Offer_order\n id\n }\n}\n\nfragment ArtworkSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n sellerDetails {\n __typename\n ... on Partner {\n name\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n currencyCode\n mode\n source\n lineItems {\n edges {\n node {\n artworkOrEditionSet {\n __typename\n ... on Artwork {\n price\n }\n ... on EditionSet {\n price\n id\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n artwork {\n slug\n shippingOrigin\n isUnlisted\n id\n }\n artworkVersion {\n date\n artistNames\n title\n image {\n resized_ArtworkSummaryItem: resized(width: 55) {\n url\n }\n }\n id\n }\n id\n }\n }\n }\n}\n\nfragment Offer_order on CommerceOrder {\n __isCommerceOrder: __typename\n internalID\n mode\n state\n totalListPriceCents\n currencyCode\n lineItems {\n edges {\n node {\n artwork {\n slug\n price\n isPriceRange\n listPrice {\n __typename\n ... on Money {\n major\n }\n ... on PriceRange {\n maxPrice {\n major\n }\n minPrice {\n major\n }\n }\n }\n editionSets {\n internalID\n id\n }\n ...PriceOptions_artwork\n id\n }\n artworkOrEditionSet {\n __typename\n ... on Artwork {\n price\n displayPriceRange\n }\n ... on EditionSet {\n price\n displayPriceRange\n id\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n }\n }\n ... on CommerceOfferOrder {\n isInquiryOrder\n myLastOffer {\n note\n id\n }\n }\n ...ArtworkSummaryItem_order\n ...TransactionDetailsSummaryItem_order\n ...PriceOptions_order\n ...OrderStepper_order\n}\n\nfragment OrderStepper_order on CommerceOrder {\n __isCommerceOrder: __typename\n mode\n paymentSet\n requestedFulfillment {\n __typename\n }\n paymentMethodDetails {\n __typename\n ... on CreditCard {\n id\n }\n ... on BankAccount {\n id\n }\n ... on WireTransfer {\n isManualPayment\n }\n }\n lineItems {\n edges {\n node {\n artwork {\n slug\n id\n }\n shippingQuoteOptions {\n edges {\n node {\n isSelected\n id\n }\n }\n }\n id\n }\n }\n }\n}\n\nfragment PriceOptions_artwork on Artwork {\n priceCurrency\n isPriceRange\n listPrice {\n __typename\n ... on Money {\n major\n }\n ... on PriceRange {\n maxPrice {\n major\n }\n minPrice {\n major\n }\n }\n }\n}\n\nfragment PriceOptions_order on CommerceOrder {\n __isCommerceOrder: __typename\n internalID\n source\n lineItems {\n edges {\n node {\n listPrice(format: \"%v\", thousand: \"\")\n id\n }\n }\n }\n ... on CommerceOfferOrder {\n myLastOffer {\n amountCents\n id\n }\n }\n}\n\nfragment TransactionDetailsSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n __typename\n requestedFulfillment {\n __typename\n }\n code\n lineItems {\n edges {\n node {\n artworkOrEditionSet {\n __typename\n ... on Artwork {\n price\n }\n ... on EditionSet {\n price\n id\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n selectedShippingQuote {\n typeName\n id\n }\n id\n }\n }\n }\n mode\n source\n displayState\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n itemsTotal(precision: 2)\n buyerTotal(precision: 2)\n currencyCode\n ... on CommerceOfferOrder {\n lastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n myLastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n }\n}\n" + "text": "query orderRoutes_OfferQuery(\n $orderID: ID!\n) {\n order: commerceOrder(id: $orderID) {\n __typename\n ...Offer_order\n id\n }\n}\n\nfragment ArtworkSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n sellerDetails {\n __typename\n ... on Partner {\n name\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n currencyCode\n mode\n source\n lineItems {\n edges {\n node {\n artworkOrEditionSet {\n __typename\n ... on Artwork {\n price\n }\n ... on EditionSet {\n price\n id\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n artwork {\n slug\n shippingOrigin\n isUnlisted\n id\n }\n artworkVersion {\n date\n artistNames\n title\n image {\n resized(width: 185) {\n url\n }\n }\n id\n }\n id\n }\n }\n }\n}\n\nfragment Offer_order on CommerceOrder {\n __isCommerceOrder: __typename\n internalID\n mode\n state\n totalListPriceCents\n currencyCode\n lineItems {\n edges {\n node {\n artwork {\n slug\n price\n isPriceRange\n listPrice {\n __typename\n ... on Money {\n major\n }\n ... on PriceRange {\n maxPrice {\n major\n }\n minPrice {\n major\n }\n }\n }\n editionSets {\n internalID\n id\n }\n ...PriceOptions_artwork\n id\n }\n artworkOrEditionSet {\n __typename\n ... on Artwork {\n price\n displayPriceRange\n }\n ... on EditionSet {\n price\n displayPriceRange\n id\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n }\n }\n ... on CommerceOfferOrder {\n isInquiryOrder\n myLastOffer {\n note\n id\n }\n }\n ...ArtworkSummaryItem_order\n ...TransactionDetailsSummaryItem_order\n ...PriceOptions_order\n ...OrderStepper_order\n}\n\nfragment OrderStepper_order on CommerceOrder {\n __isCommerceOrder: __typename\n mode\n paymentSet\n requestedFulfillment {\n __typename\n }\n paymentMethodDetails {\n __typename\n ... on CreditCard {\n id\n }\n ... on BankAccount {\n id\n }\n ... on WireTransfer {\n isManualPayment\n }\n }\n lineItems {\n edges {\n node {\n artwork {\n slug\n id\n }\n shippingQuoteOptions {\n edges {\n node {\n isSelected\n id\n }\n }\n }\n id\n }\n }\n }\n}\n\nfragment PriceOptions_artwork on Artwork {\n priceCurrency\n isPriceRange\n listPrice {\n __typename\n ... on Money {\n major\n }\n ... on PriceRange {\n maxPrice {\n major\n }\n minPrice {\n major\n }\n }\n }\n}\n\nfragment PriceOptions_order on CommerceOrder {\n __isCommerceOrder: __typename\n internalID\n source\n lineItems {\n edges {\n node {\n listPrice(format: \"%v\", thousand: \"\")\n id\n }\n }\n }\n ... on CommerceOfferOrder {\n myLastOffer {\n amountCents\n id\n }\n }\n}\n\nfragment TransactionDetailsSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n __typename\n requestedFulfillment {\n __typename\n }\n code\n lineItems {\n edges {\n node {\n artworkOrEditionSet {\n __typename\n ... on Artwork {\n price\n }\n ... on EditionSet {\n price\n id\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n selectedShippingQuote {\n typeName\n id\n }\n id\n }\n }\n }\n mode\n source\n displayState\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n itemsTotal(precision: 2)\n buyerTotal(precision: 2)\n currencyCode\n ... on CommerceOfferOrder {\n lastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n myLastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n }\n}\n" } }; })(); diff --git a/src/__generated__/orderRoutes_PaymentQuery.graphql.ts b/src/__generated__/orderRoutes_PaymentQuery.graphql.ts index 0f11e00cd9a..b87d70f7009 100644 --- a/src/__generated__/orderRoutes_PaymentQuery.graphql.ts +++ b/src/__generated__/orderRoutes_PaymentQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<6e9d1d1356b13992e43583a6207f8d8b>> + * @generated SignedSource<<13abc0d741dee04af8f137a2114dc5f1>> * @lightSyntaxTransform * @nogrep */ @@ -587,12 +587,12 @@ return { "plural": false, "selections": [ { - "alias": "resized_ArtworkSummaryItem", + "alias": null, "args": [ { "kind": "Literal", "name": "width", - "value": 55 + "value": 185 } ], "concreteType": "ResizedImageUrl", @@ -608,7 +608,7 @@ return { "storageKey": null } ], - "storageKey": "resized(width:55)" + "storageKey": "resized(width:185)" } ], "storageKey": null @@ -945,12 +945,12 @@ return { ] }, "params": { - "cacheID": "c2f90ce6d4d3a7823db0a8ef573094fd", + "cacheID": "0b89d5845de84a5b8ed3b5721fa52ab9", "id": null, "metadata": {}, "name": "orderRoutes_PaymentQuery", "operationKind": "query", - "text": "query orderRoutes_PaymentQuery(\n $orderID: ID!\n) {\n me {\n ...Payment_me\n id\n }\n order: commerceOrder(id: $orderID) {\n __typename\n ...Payment_order\n id\n }\n}\n\nfragment AdditionalArtworkDetails_order on CommerceOrder {\n __isCommerceOrder: __typename\n artworkDetails\n lineItems {\n edges {\n node {\n artworkVersion {\n provenance\n condition_description\n id\n }\n id\n }\n }\n }\n}\n\nfragment ArtworkSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n sellerDetails {\n __typename\n ... on Partner {\n name\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n currencyCode\n mode\n source\n lineItems {\n edges {\n node {\n artworkOrEditionSet {\n __typename\n ... on Artwork {\n price\n }\n ... on EditionSet {\n price\n id\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n artwork {\n slug\n shippingOrigin\n isUnlisted\n id\n }\n artworkVersion {\n date\n artistNames\n title\n image {\n resized_ArtworkSummaryItem: resized(width: 55) {\n url\n }\n }\n id\n }\n id\n }\n }\n }\n}\n\nfragment BankAccountPicker_me on Me {\n bankAccounts(first: 100) {\n edges {\n node {\n internalID\n last4\n id\n }\n }\n }\n}\n\nfragment BankAccountPicker_order on CommerceOrder {\n __isCommerceOrder: __typename\n internalID\n mode\n bankAccountId\n paymentMethodDetails {\n __typename\n ... on BankAccount {\n internalID\n last4\n id\n }\n ... on CreditCard {\n id\n }\n }\n}\n\nfragment CreditCardPicker_me on Me {\n creditCards(first: 100) {\n edges {\n node {\n internalID\n brand\n lastDigits\n expirationMonth\n expirationYear\n id\n }\n }\n }\n}\n\nfragment CreditCardPicker_order on CommerceOrder {\n __isCommerceOrder: __typename\n internalID\n mode\n state\n creditCard {\n internalID\n name\n street1\n street2\n city\n state\n country\n postalCode\n expirationMonth\n expirationYear\n lastDigits\n brand\n id\n }\n sellerDetails {\n __typename\n ... on Partner {\n merchantAccount {\n externalId\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n requestedFulfillment {\n __typename\n ... on CommerceShip {\n name\n addressLine1\n addressLine2\n city\n region\n country\n postalCode\n }\n ... on CommerceShipArta {\n name\n addressLine1\n addressLine2\n city\n region\n country\n postalCode\n }\n ... on CommercePickup {\n fulfillmentType\n }\n }\n lineItems {\n edges {\n node {\n artwork {\n slug\n id\n }\n id\n }\n }\n }\n}\n\nfragment OrderStepper_order on CommerceOrder {\n __isCommerceOrder: __typename\n mode\n paymentSet\n requestedFulfillment {\n __typename\n }\n paymentMethodDetails {\n __typename\n ... on CreditCard {\n id\n }\n ... on BankAccount {\n id\n }\n ... on WireTransfer {\n isManualPayment\n }\n }\n lineItems {\n edges {\n node {\n artwork {\n slug\n id\n }\n shippingQuoteOptions {\n edges {\n node {\n isSelected\n id\n }\n }\n }\n id\n }\n }\n }\n}\n\nfragment PartnerOfferTimerItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n displayState\n stateExpiresAt\n}\n\nfragment Payment_me on Me {\n creditCards(first: 100) {\n edges {\n node {\n internalID\n id\n }\n }\n }\n bankAccounts(first: 100) {\n edges {\n node {\n internalID\n last4\n id\n }\n }\n }\n ...CreditCardPicker_me\n ...BankAccountPicker_me\n}\n\nfragment Payment_order on CommerceOrder {\n __isCommerceOrder: __typename\n artworkDetails\n source\n conditionsOfSale\n bankAccountId\n availablePaymentMethods\n paymentSet\n buyerTotalCents\n internalID\n mode\n currencyCode\n buyerTotal(precision: 2)\n lineItems {\n edges {\n node {\n artwork {\n slug\n id\n }\n artworkVersion {\n provenance\n condition_description\n id\n }\n id\n }\n }\n }\n paymentMethod\n paymentMethodDetails {\n __typename\n ... on CreditCard {\n id\n }\n ... on BankAccount {\n id\n }\n ... on WireTransfer {\n isManualPayment\n }\n }\n ...CreditCardPicker_order\n ...BankAccountPicker_order\n ...PartnerOfferTimerItem_order\n ...ArtworkSummaryItem_order\n ...AdditionalArtworkDetails_order\n ...TransactionDetailsSummaryItem_order\n ...OrderStepper_order\n}\n\nfragment TransactionDetailsSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n __typename\n requestedFulfillment {\n __typename\n }\n code\n lineItems {\n edges {\n node {\n artworkOrEditionSet {\n __typename\n ... on Artwork {\n price\n }\n ... on EditionSet {\n price\n id\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n selectedShippingQuote {\n typeName\n id\n }\n id\n }\n }\n }\n mode\n source\n displayState\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n itemsTotal(precision: 2)\n buyerTotal(precision: 2)\n currencyCode\n ... on CommerceOfferOrder {\n lastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n myLastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n }\n}\n" + "text": "query orderRoutes_PaymentQuery(\n $orderID: ID!\n) {\n me {\n ...Payment_me\n id\n }\n order: commerceOrder(id: $orderID) {\n __typename\n ...Payment_order\n id\n }\n}\n\nfragment AdditionalArtworkDetails_order on CommerceOrder {\n __isCommerceOrder: __typename\n artworkDetails\n lineItems {\n edges {\n node {\n artworkVersion {\n provenance\n condition_description\n id\n }\n id\n }\n }\n }\n}\n\nfragment ArtworkSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n sellerDetails {\n __typename\n ... on Partner {\n name\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n currencyCode\n mode\n source\n lineItems {\n edges {\n node {\n artworkOrEditionSet {\n __typename\n ... on Artwork {\n price\n }\n ... on EditionSet {\n price\n id\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n artwork {\n slug\n shippingOrigin\n isUnlisted\n id\n }\n artworkVersion {\n date\n artistNames\n title\n image {\n resized(width: 185) {\n url\n }\n }\n id\n }\n id\n }\n }\n }\n}\n\nfragment BankAccountPicker_me on Me {\n bankAccounts(first: 100) {\n edges {\n node {\n internalID\n last4\n id\n }\n }\n }\n}\n\nfragment BankAccountPicker_order on CommerceOrder {\n __isCommerceOrder: __typename\n internalID\n mode\n bankAccountId\n paymentMethodDetails {\n __typename\n ... on BankAccount {\n internalID\n last4\n id\n }\n ... on CreditCard {\n id\n }\n }\n}\n\nfragment CreditCardPicker_me on Me {\n creditCards(first: 100) {\n edges {\n node {\n internalID\n brand\n lastDigits\n expirationMonth\n expirationYear\n id\n }\n }\n }\n}\n\nfragment CreditCardPicker_order on CommerceOrder {\n __isCommerceOrder: __typename\n internalID\n mode\n state\n creditCard {\n internalID\n name\n street1\n street2\n city\n state\n country\n postalCode\n expirationMonth\n expirationYear\n lastDigits\n brand\n id\n }\n sellerDetails {\n __typename\n ... on Partner {\n merchantAccount {\n externalId\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n requestedFulfillment {\n __typename\n ... on CommerceShip {\n name\n addressLine1\n addressLine2\n city\n region\n country\n postalCode\n }\n ... on CommerceShipArta {\n name\n addressLine1\n addressLine2\n city\n region\n country\n postalCode\n }\n ... on CommercePickup {\n fulfillmentType\n }\n }\n lineItems {\n edges {\n node {\n artwork {\n slug\n id\n }\n id\n }\n }\n }\n}\n\nfragment OrderStepper_order on CommerceOrder {\n __isCommerceOrder: __typename\n mode\n paymentSet\n requestedFulfillment {\n __typename\n }\n paymentMethodDetails {\n __typename\n ... on CreditCard {\n id\n }\n ... on BankAccount {\n id\n }\n ... on WireTransfer {\n isManualPayment\n }\n }\n lineItems {\n edges {\n node {\n artwork {\n slug\n id\n }\n shippingQuoteOptions {\n edges {\n node {\n isSelected\n id\n }\n }\n }\n id\n }\n }\n }\n}\n\nfragment PartnerOfferTimerItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n displayState\n stateExpiresAt\n}\n\nfragment Payment_me on Me {\n creditCards(first: 100) {\n edges {\n node {\n internalID\n id\n }\n }\n }\n bankAccounts(first: 100) {\n edges {\n node {\n internalID\n last4\n id\n }\n }\n }\n ...CreditCardPicker_me\n ...BankAccountPicker_me\n}\n\nfragment Payment_order on CommerceOrder {\n __isCommerceOrder: __typename\n artworkDetails\n source\n conditionsOfSale\n bankAccountId\n availablePaymentMethods\n paymentSet\n buyerTotalCents\n internalID\n mode\n currencyCode\n buyerTotal(precision: 2)\n lineItems {\n edges {\n node {\n artwork {\n slug\n id\n }\n artworkVersion {\n provenance\n condition_description\n id\n }\n id\n }\n }\n }\n paymentMethod\n paymentMethodDetails {\n __typename\n ... on CreditCard {\n id\n }\n ... on BankAccount {\n id\n }\n ... on WireTransfer {\n isManualPayment\n }\n }\n ...CreditCardPicker_order\n ...BankAccountPicker_order\n ...PartnerOfferTimerItem_order\n ...ArtworkSummaryItem_order\n ...AdditionalArtworkDetails_order\n ...TransactionDetailsSummaryItem_order\n ...OrderStepper_order\n}\n\nfragment TransactionDetailsSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n __typename\n requestedFulfillment {\n __typename\n }\n code\n lineItems {\n edges {\n node {\n artworkOrEditionSet {\n __typename\n ... on Artwork {\n price\n }\n ... on EditionSet {\n price\n id\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n selectedShippingQuote {\n typeName\n id\n }\n id\n }\n }\n }\n mode\n source\n displayState\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n itemsTotal(precision: 2)\n buyerTotal(precision: 2)\n currencyCode\n ... on CommerceOfferOrder {\n lastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n myLastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n }\n}\n" } }; })(); diff --git a/src/__generated__/orderRoutes_RejectQuery.graphql.ts b/src/__generated__/orderRoutes_RejectQuery.graphql.ts index 7de0a01f0ba..2a01b864163 100644 --- a/src/__generated__/orderRoutes_RejectQuery.graphql.ts +++ b/src/__generated__/orderRoutes_RejectQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<> + * @generated SignedSource<> * @lightSyntaxTransform * @nogrep */ @@ -255,12 +255,12 @@ return { "plural": false, "selections": [ { - "alias": "resized_ArtworkSummaryItem", + "alias": null, "args": [ { "kind": "Literal", "name": "width", - "value": 55 + "value": 185 } ], "concreteType": "ResizedImageUrl", @@ -276,7 +276,7 @@ return { "storageKey": null } ], - "storageKey": "resized(width:55)" + "storageKey": "resized(width:185)" } ], "storageKey": null @@ -474,12 +474,12 @@ return { ] }, "params": { - "cacheID": "a9fbc7e0effe8831f19315c44a4f9b66", + "cacheID": "d77e01e0baa9c8ae227fec48cfd577e5", "id": null, "metadata": {}, "name": "orderRoutes_RejectQuery", "operationKind": "query", - "text": "query orderRoutes_RejectQuery(\n $orderID: ID!\n) {\n order: commerceOrder(id: $orderID) {\n __typename\n ...Reject_order\n id\n }\n}\n\nfragment ArtworkSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n sellerDetails {\n __typename\n ... on Partner {\n name\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n currencyCode\n mode\n source\n lineItems {\n edges {\n node {\n artworkOrEditionSet {\n __typename\n ... on Artwork {\n price\n }\n ... on EditionSet {\n price\n id\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n artwork {\n slug\n shippingOrigin\n isUnlisted\n id\n }\n artworkVersion {\n date\n artistNames\n title\n image {\n resized_ArtworkSummaryItem: resized(width: 55) {\n url\n }\n }\n id\n }\n id\n }\n }\n }\n}\n\nfragment OrderStepper_order on CommerceOrder {\n __isCommerceOrder: __typename\n mode\n paymentSet\n requestedFulfillment {\n __typename\n }\n paymentMethodDetails {\n __typename\n ... on CreditCard {\n id\n }\n ... on BankAccount {\n id\n }\n ... on WireTransfer {\n isManualPayment\n }\n }\n lineItems {\n edges {\n node {\n artwork {\n slug\n id\n }\n shippingQuoteOptions {\n edges {\n node {\n isSelected\n id\n }\n }\n }\n id\n }\n }\n }\n}\n\nfragment Reject_order on CommerceOrder {\n __isCommerceOrder: __typename\n internalID\n stateExpiresAt\n lineItems {\n edges {\n node {\n artwork {\n slug\n id\n }\n id\n }\n }\n }\n ... on CommerceOfferOrder {\n lastOffer {\n internalID\n createdAt\n id\n }\n }\n ...ArtworkSummaryItem_order\n ...OrderStepper_order\n}\n" + "text": "query orderRoutes_RejectQuery(\n $orderID: ID!\n) {\n order: commerceOrder(id: $orderID) {\n __typename\n ...Reject_order\n id\n }\n}\n\nfragment ArtworkSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n sellerDetails {\n __typename\n ... on Partner {\n name\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n currencyCode\n mode\n source\n lineItems {\n edges {\n node {\n artworkOrEditionSet {\n __typename\n ... on Artwork {\n price\n }\n ... on EditionSet {\n price\n id\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n artwork {\n slug\n shippingOrigin\n isUnlisted\n id\n }\n artworkVersion {\n date\n artistNames\n title\n image {\n resized(width: 185) {\n url\n }\n }\n id\n }\n id\n }\n }\n }\n}\n\nfragment OrderStepper_order on CommerceOrder {\n __isCommerceOrder: __typename\n mode\n paymentSet\n requestedFulfillment {\n __typename\n }\n paymentMethodDetails {\n __typename\n ... on CreditCard {\n id\n }\n ... on BankAccount {\n id\n }\n ... on WireTransfer {\n isManualPayment\n }\n }\n lineItems {\n edges {\n node {\n artwork {\n slug\n id\n }\n shippingQuoteOptions {\n edges {\n node {\n isSelected\n id\n }\n }\n }\n id\n }\n }\n }\n}\n\nfragment Reject_order on CommerceOrder {\n __isCommerceOrder: __typename\n internalID\n stateExpiresAt\n lineItems {\n edges {\n node {\n artwork {\n slug\n id\n }\n id\n }\n }\n }\n ... on CommerceOfferOrder {\n lastOffer {\n internalID\n createdAt\n id\n }\n }\n ...ArtworkSummaryItem_order\n ...OrderStepper_order\n}\n" } }; })(); diff --git a/src/__generated__/orderRoutes_RespondQuery.graphql.ts b/src/__generated__/orderRoutes_RespondQuery.graphql.ts index 40b9f361f42..5cbc0e96fab 100644 --- a/src/__generated__/orderRoutes_RespondQuery.graphql.ts +++ b/src/__generated__/orderRoutes_RespondQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<55442ef5f4f265bcf1787f7ad9d99802>> + * @generated SignedSource<> * @lightSyntaxTransform * @nogrep */ @@ -459,12 +459,12 @@ return { "plural": false, "selections": [ { - "alias": "resized_ArtworkSummaryItem", + "alias": null, "args": [ { "kind": "Literal", "name": "width", - "value": 55 + "value": 185 } ], "concreteType": "ResizedImageUrl", @@ -480,7 +480,7 @@ return { "storageKey": null } ], - "storageKey": "resized(width:55)" + "storageKey": "resized(width:185)" } ], "storageKey": null @@ -824,12 +824,12 @@ return { ] }, "params": { - "cacheID": "0d1016a6e6e236be402c1f62610580ed", + "cacheID": "994391ace141c424726973ddc45e91f9", "id": null, "metadata": {}, "name": "orderRoutes_RespondQuery", "operationKind": "query", - "text": "query orderRoutes_RespondQuery(\n $orderID: ID!\n) {\n order: commerceOrder(id: $orderID) {\n __typename\n ...Respond_order\n id\n }\n}\n\nfragment ArtworkSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n sellerDetails {\n __typename\n ... on Partner {\n name\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n currencyCode\n mode\n source\n lineItems {\n edges {\n node {\n artworkOrEditionSet {\n __typename\n ... on Artwork {\n price\n }\n ... on EditionSet {\n price\n id\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n artwork {\n slug\n shippingOrigin\n isUnlisted\n id\n }\n artworkVersion {\n date\n artistNames\n title\n image {\n resized_ArtworkSummaryItem: resized(width: 55) {\n url\n }\n }\n id\n }\n id\n }\n }\n }\n}\n\nfragment OfferHistoryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n lineItems {\n edges {\n node {\n artworkOrEditionSet {\n __typename\n ... on Artwork {\n price\n }\n ... on EditionSet {\n price\n id\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n }\n }\n ... on CommerceOfferOrder {\n offers {\n edges {\n node {\n internalID\n amount(precision: 2)\n createdAt(format: \"MMM D\")\n fromParticipant\n id\n }\n }\n }\n currencyCode\n lastOffer {\n internalID\n fromParticipant\n amount(precision: 2)\n shippingTotal(precision: 2)\n taxTotal(precision: 2)\n note\n id\n }\n }\n}\n\nfragment OrderStepper_order on CommerceOrder {\n __isCommerceOrder: __typename\n mode\n paymentSet\n requestedFulfillment {\n __typename\n }\n paymentMethodDetails {\n __typename\n ... on CreditCard {\n id\n }\n ... on BankAccount {\n id\n }\n ... on WireTransfer {\n isManualPayment\n }\n }\n lineItems {\n edges {\n node {\n artwork {\n slug\n id\n }\n shippingQuoteOptions {\n edges {\n node {\n isSelected\n id\n }\n }\n }\n id\n }\n }\n }\n}\n\nfragment PaymentMethodSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n source\n paymentMethodDetails {\n __typename\n ... on CreditCard {\n brand\n lastDigits\n expirationYear\n expirationMonth\n id\n }\n ... on BankAccount {\n last4\n id\n }\n ... on WireTransfer {\n isManualPayment\n }\n }\n}\n\nfragment Respond_order on CommerceOrder {\n __isCommerceOrder: __typename\n internalID\n mode\n state\n currencyCode\n itemsTotal(precision: 2)\n itemsTotalCents\n stateExpiresAt\n lastTransactionFailed\n lineItems {\n edges {\n node {\n artwork {\n slug\n price\n id\n }\n id\n }\n }\n }\n ... on CommerceOfferOrder {\n isInquiryOrder\n lastOffer {\n createdAt\n internalID\n note\n id\n }\n myLastOffer {\n createdAt\n id\n }\n }\n ...TransactionDetailsSummaryItem_order\n ...ArtworkSummaryItem_order\n ...ShippingSummaryItem_order\n ...PaymentMethodSummaryItem_order\n ...OfferHistoryItem_order\n ...OrderStepper_order\n}\n\nfragment ShippingAddress_ship on CommerceRequestedFulfillmentUnion {\n __isCommerceRequestedFulfillmentUnion: __typename\n ... on CommerceShip {\n name\n addressLine1\n addressLine2\n city\n postalCode\n region\n country\n phoneNumber\n }\n ... on CommerceShipArta {\n name\n addressLine1\n addressLine2\n city\n postalCode\n region\n country\n phoneNumber\n }\n}\n\nfragment ShippingSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n state\n paymentMethod\n requestedFulfillment {\n __typename\n ...ShippingAddress_ship\n }\n lineItems {\n edges {\n node {\n artwork {\n shippingOrigin\n id\n }\n id\n }\n }\n }\n}\n\nfragment TransactionDetailsSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n __typename\n requestedFulfillment {\n __typename\n }\n code\n lineItems {\n edges {\n node {\n artworkOrEditionSet {\n __typename\n ... on Artwork {\n price\n }\n ... on EditionSet {\n price\n id\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n selectedShippingQuote {\n typeName\n id\n }\n id\n }\n }\n }\n mode\n source\n displayState\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n itemsTotal(precision: 2)\n buyerTotal(precision: 2)\n currencyCode\n ... on CommerceOfferOrder {\n lastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n myLastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n }\n}\n" + "text": "query orderRoutes_RespondQuery(\n $orderID: ID!\n) {\n order: commerceOrder(id: $orderID) {\n __typename\n ...Respond_order\n id\n }\n}\n\nfragment ArtworkSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n sellerDetails {\n __typename\n ... on Partner {\n name\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n currencyCode\n mode\n source\n lineItems {\n edges {\n node {\n artworkOrEditionSet {\n __typename\n ... on Artwork {\n price\n }\n ... on EditionSet {\n price\n id\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n artwork {\n slug\n shippingOrigin\n isUnlisted\n id\n }\n artworkVersion {\n date\n artistNames\n title\n image {\n resized(width: 185) {\n url\n }\n }\n id\n }\n id\n }\n }\n }\n}\n\nfragment OfferHistoryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n lineItems {\n edges {\n node {\n artworkOrEditionSet {\n __typename\n ... on Artwork {\n price\n }\n ... on EditionSet {\n price\n id\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n }\n }\n ... on CommerceOfferOrder {\n offers {\n edges {\n node {\n internalID\n amount(precision: 2)\n createdAt(format: \"MMM D\")\n fromParticipant\n id\n }\n }\n }\n currencyCode\n lastOffer {\n internalID\n fromParticipant\n amount(precision: 2)\n shippingTotal(precision: 2)\n taxTotal(precision: 2)\n note\n id\n }\n }\n}\n\nfragment OrderStepper_order on CommerceOrder {\n __isCommerceOrder: __typename\n mode\n paymentSet\n requestedFulfillment {\n __typename\n }\n paymentMethodDetails {\n __typename\n ... on CreditCard {\n id\n }\n ... on BankAccount {\n id\n }\n ... on WireTransfer {\n isManualPayment\n }\n }\n lineItems {\n edges {\n node {\n artwork {\n slug\n id\n }\n shippingQuoteOptions {\n edges {\n node {\n isSelected\n id\n }\n }\n }\n id\n }\n }\n }\n}\n\nfragment PaymentMethodSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n source\n paymentMethodDetails {\n __typename\n ... on CreditCard {\n brand\n lastDigits\n expirationYear\n expirationMonth\n id\n }\n ... on BankAccount {\n last4\n id\n }\n ... on WireTransfer {\n isManualPayment\n }\n }\n}\n\nfragment Respond_order on CommerceOrder {\n __isCommerceOrder: __typename\n internalID\n mode\n state\n currencyCode\n itemsTotal(precision: 2)\n itemsTotalCents\n stateExpiresAt\n lastTransactionFailed\n lineItems {\n edges {\n node {\n artwork {\n slug\n price\n id\n }\n id\n }\n }\n }\n ... on CommerceOfferOrder {\n isInquiryOrder\n lastOffer {\n createdAt\n internalID\n note\n id\n }\n myLastOffer {\n createdAt\n id\n }\n }\n ...TransactionDetailsSummaryItem_order\n ...ArtworkSummaryItem_order\n ...ShippingSummaryItem_order\n ...PaymentMethodSummaryItem_order\n ...OfferHistoryItem_order\n ...OrderStepper_order\n}\n\nfragment ShippingAddress_ship on CommerceRequestedFulfillmentUnion {\n __isCommerceRequestedFulfillmentUnion: __typename\n ... on CommerceShip {\n name\n addressLine1\n addressLine2\n city\n postalCode\n region\n country\n phoneNumber\n }\n ... on CommerceShipArta {\n name\n addressLine1\n addressLine2\n city\n postalCode\n region\n country\n phoneNumber\n }\n}\n\nfragment ShippingSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n state\n paymentMethod\n requestedFulfillment {\n __typename\n ...ShippingAddress_ship\n }\n lineItems {\n edges {\n node {\n artwork {\n shippingOrigin\n id\n }\n id\n }\n }\n }\n}\n\nfragment TransactionDetailsSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n __typename\n requestedFulfillment {\n __typename\n }\n code\n lineItems {\n edges {\n node {\n artworkOrEditionSet {\n __typename\n ... on Artwork {\n price\n }\n ... on EditionSet {\n price\n id\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n selectedShippingQuote {\n typeName\n id\n }\n id\n }\n }\n }\n mode\n source\n displayState\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n itemsTotal(precision: 2)\n buyerTotal(precision: 2)\n currencyCode\n ... on CommerceOfferOrder {\n lastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n myLastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n }\n}\n" } }; })(); diff --git a/src/__generated__/orderRoutes_ReviewQuery.graphql.ts b/src/__generated__/orderRoutes_ReviewQuery.graphql.ts index d8fc2e55594..b5b57170c40 100644 --- a/src/__generated__/orderRoutes_ReviewQuery.graphql.ts +++ b/src/__generated__/orderRoutes_ReviewQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<> + * @generated SignedSource<> * @lightSyntaxTransform * @nogrep */ @@ -98,23 +98,14 @@ v7 = { "name": "slug", "storageKey": null }, -v8 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "url", - "storageKey": null - } -], -v9 = { +v8 = { "alias": null, "args": null, "kind": "ScalarField", "name": "price", "storageKey": null }, -v10 = { +v9 = { "kind": "InlineFragment", "selections": [ (v6/*: any*/) @@ -122,85 +113,85 @@ v10 = { "type": "Node", "abstractKey": "__isNode" }, -v11 = { +v10 = { "alias": null, "args": (v4/*: any*/), "kind": "ScalarField", "name": "amount", "storageKey": "amount(precision:2)" }, -v12 = { +v11 = { "alias": null, "args": null, "kind": "ScalarField", "name": "amountCents", "storageKey": null }, -v13 = { +v12 = { "alias": null, "args": (v4/*: any*/), "kind": "ScalarField", "name": "shippingTotal", "storageKey": "shippingTotal(precision:2)" }, -v14 = { +v13 = { "alias": null, "args": null, "kind": "ScalarField", "name": "shippingTotalCents", "storageKey": null }, -v15 = { +v14 = { "alias": null, "args": (v4/*: any*/), "kind": "ScalarField", "name": "taxTotal", "storageKey": "taxTotal(precision:2)" }, -v16 = { +v15 = { "alias": null, "args": null, "kind": "ScalarField", "name": "taxTotalCents", "storageKey": null }, -v17 = { +v16 = { "alias": null, "args": (v4/*: any*/), "kind": "ScalarField", "name": "buyerTotal", "storageKey": "buyerTotal(precision:2)" }, -v18 = { +v17 = { "alias": null, "args": null, "kind": "ScalarField", "name": "buyerTotalCents", "storageKey": null }, -v19 = { +v18 = { "alias": null, "args": null, "kind": "ScalarField", "name": "fromParticipant", "storageKey": null }, -v20 = { +v19 = { "alias": null, "args": null, "kind": "ScalarField", "name": "note", "storageKey": null }, -v21 = { +v20 = { "alias": null, "args": null, "kind": "ScalarField", "name": "name", "storageKey": null }, -v22 = [ - (v21/*: any*/), +v21 = [ + (v20/*: any*/), { "alias": null, "args": null, @@ -529,24 +520,16 @@ return { "kind": "LinkedField", "name": "resized", "plural": false, - "selections": (v8/*: any*/), - "storageKey": "resized(width:185)" - }, - { - "alias": "resized_ArtworkSummaryItem", - "args": [ + "selections": [ { - "kind": "Literal", - "name": "width", - "value": 55 + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "url", + "storageKey": null } ], - "concreteType": "ResizedImageUrl", - "kind": "LinkedField", - "name": "resized", - "plural": false, - "selections": (v8/*: any*/), - "storageKey": "resized(width:55)" + "storageKey": "resized(width:185)" } ], "storageKey": null @@ -590,7 +573,7 @@ return { { "kind": "InlineFragment", "selections": [ - (v9/*: any*/) + (v8/*: any*/) ], "type": "Artwork", "abstractKey": null @@ -598,13 +581,13 @@ return { { "kind": "InlineFragment", "selections": [ - (v9/*: any*/), + (v8/*: any*/), (v6/*: any*/) ], "type": "EditionSet", "abstractKey": null }, - (v10/*: any*/) + (v9/*: any*/) ], "storageKey": null }, @@ -704,6 +687,7 @@ return { }, (v3/*: any*/), (v6/*: any*/), + (v10/*: any*/), (v11/*: any*/), (v12/*: any*/), (v13/*: any*/), @@ -712,8 +696,7 @@ return { (v16/*: any*/), (v17/*: any*/), (v18/*: any*/), - (v19/*: any*/), - (v20/*: any*/) + (v19/*: any*/) ], "storageKey": null }, @@ -726,6 +709,7 @@ return { "plural": false, "selections": [ (v3/*: any*/), + (v10/*: any*/), (v11/*: any*/), (v12/*: any*/), (v13/*: any*/), @@ -735,7 +719,6 @@ return { (v17/*: any*/), (v18/*: any*/), (v19/*: any*/), - (v20/*: any*/), (v6/*: any*/) ], "storageKey": null @@ -770,12 +753,12 @@ return { { "kind": "InlineFragment", "selections": [ - (v21/*: any*/) + (v20/*: any*/) ], "type": "Partner", "abstractKey": null }, - (v10/*: any*/) + (v9/*: any*/) ], "storageKey": null }, @@ -801,24 +784,24 @@ return { }, { "kind": "InlineFragment", - "selections": (v22/*: any*/), + "selections": (v21/*: any*/), "type": "CommerceShip", "abstractKey": null }, { "kind": "InlineFragment", - "selections": (v22/*: any*/), + "selections": (v21/*: any*/), "type": "CommerceShipArta", "abstractKey": null } ], "storageKey": null }, + (v12/*: any*/), (v13/*: any*/), (v14/*: any*/), (v15/*: any*/), (v16/*: any*/), - (v17/*: any*/), { "alias": null, "args": null, @@ -910,12 +893,12 @@ return { ] }, "params": { - "cacheID": "014f8bca3edb79eb36e811d82fe939db", + "cacheID": "d9f4a1d92ab046babaf678e8f78eb8f0", "id": null, "metadata": {}, "name": "orderRoutes_ReviewQuery", "operationKind": "query", - "text": "query orderRoutes_ReviewQuery(\n $orderID: ID!\n) {\n order: commerceOrder(id: $orderID) {\n __typename\n ...Review_order\n id\n }\n}\n\nfragment AdditionalArtworkDetails_order on CommerceOrder {\n __isCommerceOrder: __typename\n artworkDetails\n lineItems {\n edges {\n node {\n artworkVersion {\n provenance\n condition_description\n id\n }\n id\n }\n }\n }\n}\n\nfragment ArtworkSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n sellerDetails {\n __typename\n ... on Partner {\n name\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n currencyCode\n mode\n source\n lineItems {\n edges {\n node {\n artworkOrEditionSet {\n __typename\n ... on Artwork {\n price\n }\n ... on EditionSet {\n price\n id\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n artwork {\n slug\n shippingOrigin\n isUnlisted\n id\n }\n artworkVersion {\n date\n artistNames\n title\n image {\n resized_ArtworkSummaryItem: resized(width: 55) {\n url\n }\n }\n id\n }\n id\n }\n }\n }\n}\n\nfragment ItemReview_lineItem on CommerceLineItem {\n artwork {\n editionSets {\n internalID\n dimensions {\n in\n cm\n }\n id\n }\n id\n }\n artworkVersion {\n date\n artistNames\n title\n medium\n attributionClass {\n shortDescription\n id\n }\n image {\n resized(width: 185) {\n url\n }\n }\n dimensions {\n in\n cm\n }\n id\n }\n editionSetId\n}\n\nfragment OfferSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n currencyCode\n lineItems {\n edges {\n node {\n artworkOrEditionSet {\n __typename\n ... on Artwork {\n price\n }\n ... on EditionSet {\n price\n id\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n }\n }\n ... on CommerceOfferOrder {\n myLastOffer {\n amount(precision: 2)\n note\n id\n }\n }\n}\n\nfragment OrderStepper_order on CommerceOrder {\n __isCommerceOrder: __typename\n mode\n paymentSet\n requestedFulfillment {\n __typename\n }\n paymentMethodDetails {\n __typename\n ... on CreditCard {\n id\n }\n ... on BankAccount {\n id\n }\n ... on WireTransfer {\n isManualPayment\n }\n }\n lineItems {\n edges {\n node {\n artwork {\n slug\n id\n }\n shippingQuoteOptions {\n edges {\n node {\n isSelected\n id\n }\n }\n }\n id\n }\n }\n }\n}\n\nfragment PartnerOfferTimerItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n displayState\n stateExpiresAt\n}\n\nfragment PaymentMethodSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n source\n paymentMethodDetails {\n __typename\n ... on CreditCard {\n brand\n lastDigits\n expirationYear\n expirationMonth\n id\n }\n ... on BankAccount {\n last4\n id\n }\n ... on WireTransfer {\n isManualPayment\n }\n }\n}\n\nfragment Review_order on CommerceOrder {\n __isCommerceOrder: __typename\n state\n artworkDetails\n internalID\n paymentMethod\n mode\n code\n source\n conditionsOfSale\n itemsTotal(precision: 2)\n impulseConversationId\n stateExpiresAtFormatted: stateExpiresAt(format: \"MMM D\")\n lineItems {\n edges {\n node {\n ...ItemReview_lineItem\n artwork {\n slug\n internalID\n artists {\n slug\n id\n }\n id\n }\n artworkVersion {\n provenance\n condition_description\n id\n }\n id\n }\n }\n }\n ... on CommerceOfferOrder {\n myLastOffer {\n hasDefiniteTotal\n internalID\n id\n }\n }\n ...PartnerOfferTimerItem_order\n ...ArtworkSummaryItem_order\n ...AdditionalArtworkDetails_order\n ...TransactionDetailsSummaryItem_order\n ...ShippingSummaryItem_order\n ...PaymentMethodSummaryItem_order\n ...ShippingArtaSummaryItem_order\n ...OfferSummaryItem_order\n ...OrderStepper_order\n}\n\nfragment ShippingAddress_ship on CommerceRequestedFulfillmentUnion {\n __isCommerceRequestedFulfillmentUnion: __typename\n ... on CommerceShip {\n name\n addressLine1\n addressLine2\n city\n postalCode\n region\n country\n phoneNumber\n }\n ... on CommerceShipArta {\n name\n addressLine1\n addressLine2\n city\n postalCode\n region\n country\n phoneNumber\n }\n}\n\nfragment ShippingArtaSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n requestedFulfillment {\n __typename\n }\n lineItems {\n edges {\n node {\n selectedShippingQuote {\n typeName\n price(precision: 2)\n id\n }\n id\n }\n }\n }\n}\n\nfragment ShippingSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n state\n paymentMethod\n requestedFulfillment {\n __typename\n ...ShippingAddress_ship\n }\n lineItems {\n edges {\n node {\n artwork {\n shippingOrigin\n id\n }\n id\n }\n }\n }\n}\n\nfragment TransactionDetailsSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n __typename\n requestedFulfillment {\n __typename\n }\n code\n lineItems {\n edges {\n node {\n artworkOrEditionSet {\n __typename\n ... on Artwork {\n price\n }\n ... on EditionSet {\n price\n id\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n selectedShippingQuote {\n typeName\n id\n }\n id\n }\n }\n }\n mode\n source\n displayState\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n itemsTotal(precision: 2)\n buyerTotal(precision: 2)\n currencyCode\n ... on CommerceOfferOrder {\n lastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n myLastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n }\n}\n" + "text": "query orderRoutes_ReviewQuery(\n $orderID: ID!\n) {\n order: commerceOrder(id: $orderID) {\n __typename\n ...Review_order\n id\n }\n}\n\nfragment AdditionalArtworkDetails_order on CommerceOrder {\n __isCommerceOrder: __typename\n artworkDetails\n lineItems {\n edges {\n node {\n artworkVersion {\n provenance\n condition_description\n id\n }\n id\n }\n }\n }\n}\n\nfragment ArtworkSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n sellerDetails {\n __typename\n ... on Partner {\n name\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n currencyCode\n mode\n source\n lineItems {\n edges {\n node {\n artworkOrEditionSet {\n __typename\n ... on Artwork {\n price\n }\n ... on EditionSet {\n price\n id\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n artwork {\n slug\n shippingOrigin\n isUnlisted\n id\n }\n artworkVersion {\n date\n artistNames\n title\n image {\n resized(width: 185) {\n url\n }\n }\n id\n }\n id\n }\n }\n }\n}\n\nfragment ItemReview_lineItem on CommerceLineItem {\n artwork {\n editionSets {\n internalID\n dimensions {\n in\n cm\n }\n id\n }\n id\n }\n artworkVersion {\n date\n artistNames\n title\n medium\n attributionClass {\n shortDescription\n id\n }\n image {\n resized(width: 185) {\n url\n }\n }\n dimensions {\n in\n cm\n }\n id\n }\n editionSetId\n}\n\nfragment OfferSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n currencyCode\n lineItems {\n edges {\n node {\n artworkOrEditionSet {\n __typename\n ... on Artwork {\n price\n }\n ... on EditionSet {\n price\n id\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n }\n }\n ... on CommerceOfferOrder {\n myLastOffer {\n amount(precision: 2)\n note\n id\n }\n }\n}\n\nfragment OrderStepper_order on CommerceOrder {\n __isCommerceOrder: __typename\n mode\n paymentSet\n requestedFulfillment {\n __typename\n }\n paymentMethodDetails {\n __typename\n ... on CreditCard {\n id\n }\n ... on BankAccount {\n id\n }\n ... on WireTransfer {\n isManualPayment\n }\n }\n lineItems {\n edges {\n node {\n artwork {\n slug\n id\n }\n shippingQuoteOptions {\n edges {\n node {\n isSelected\n id\n }\n }\n }\n id\n }\n }\n }\n}\n\nfragment PartnerOfferTimerItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n displayState\n stateExpiresAt\n}\n\nfragment PaymentMethodSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n source\n paymentMethodDetails {\n __typename\n ... on CreditCard {\n brand\n lastDigits\n expirationYear\n expirationMonth\n id\n }\n ... on BankAccount {\n last4\n id\n }\n ... on WireTransfer {\n isManualPayment\n }\n }\n}\n\nfragment Review_order on CommerceOrder {\n __isCommerceOrder: __typename\n state\n artworkDetails\n internalID\n paymentMethod\n mode\n code\n source\n conditionsOfSale\n itemsTotal(precision: 2)\n impulseConversationId\n stateExpiresAtFormatted: stateExpiresAt(format: \"MMM D\")\n lineItems {\n edges {\n node {\n ...ItemReview_lineItem\n artwork {\n slug\n internalID\n artists {\n slug\n id\n }\n id\n }\n artworkVersion {\n provenance\n condition_description\n id\n }\n id\n }\n }\n }\n ... on CommerceOfferOrder {\n myLastOffer {\n hasDefiniteTotal\n internalID\n id\n }\n }\n ...PartnerOfferTimerItem_order\n ...ArtworkSummaryItem_order\n ...AdditionalArtworkDetails_order\n ...TransactionDetailsSummaryItem_order\n ...ShippingSummaryItem_order\n ...PaymentMethodSummaryItem_order\n ...ShippingArtaSummaryItem_order\n ...OfferSummaryItem_order\n ...OrderStepper_order\n}\n\nfragment ShippingAddress_ship on CommerceRequestedFulfillmentUnion {\n __isCommerceRequestedFulfillmentUnion: __typename\n ... on CommerceShip {\n name\n addressLine1\n addressLine2\n city\n postalCode\n region\n country\n phoneNumber\n }\n ... on CommerceShipArta {\n name\n addressLine1\n addressLine2\n city\n postalCode\n region\n country\n phoneNumber\n }\n}\n\nfragment ShippingArtaSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n requestedFulfillment {\n __typename\n }\n lineItems {\n edges {\n node {\n selectedShippingQuote {\n typeName\n price(precision: 2)\n id\n }\n id\n }\n }\n }\n}\n\nfragment ShippingSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n state\n paymentMethod\n requestedFulfillment {\n __typename\n ...ShippingAddress_ship\n }\n lineItems {\n edges {\n node {\n artwork {\n shippingOrigin\n id\n }\n id\n }\n }\n }\n}\n\nfragment TransactionDetailsSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n __typename\n requestedFulfillment {\n __typename\n }\n code\n lineItems {\n edges {\n node {\n artworkOrEditionSet {\n __typename\n ... on Artwork {\n price\n }\n ... on EditionSet {\n price\n id\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n selectedShippingQuote {\n typeName\n id\n }\n id\n }\n }\n }\n mode\n source\n displayState\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n itemsTotal(precision: 2)\n buyerTotal(precision: 2)\n currencyCode\n ... on CommerceOfferOrder {\n lastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n myLastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n }\n}\n" } }; })(); diff --git a/src/__generated__/orderRoutes_ShippingQuery.graphql.ts b/src/__generated__/orderRoutes_ShippingQuery.graphql.ts index 63d64913615..21a17da0f9c 100644 --- a/src/__generated__/orderRoutes_ShippingQuery.graphql.ts +++ b/src/__generated__/orderRoutes_ShippingQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<6a9e3351a6cc39ad631a8af7bbecb6d6>> + * @generated SignedSource<> * @lightSyntaxTransform * @nogrep */ @@ -563,12 +563,12 @@ return { "plural": false, "selections": [ { - "alias": "resized_ArtworkSummaryItem", + "alias": null, "args": [ { "kind": "Literal", "name": "width", - "value": 55 + "value": 185 } ], "concreteType": "ResizedImageUrl", @@ -584,7 +584,7 @@ return { "storageKey": null } ], - "storageKey": "resized(width:55)" + "storageKey": "resized(width:185)" } ], "storageKey": null @@ -858,12 +858,12 @@ return { ] }, "params": { - "cacheID": "6f367682f5d355ff774de1aae164062d", + "cacheID": "4ef78126cc8051f1bed4a3cd0600ac70", "id": null, "metadata": {}, "name": "orderRoutes_ShippingQuery", "operationKind": "query", - "text": "query orderRoutes_ShippingQuery(\n $orderID: ID!\n) {\n order: commerceOrder(id: $orderID) {\n __typename\n ...Shipping_order\n id\n }\n me {\n ...Shipping_me\n id\n }\n}\n\nfragment ArtworkSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n sellerDetails {\n __typename\n ... on Partner {\n name\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n currencyCode\n mode\n source\n lineItems {\n edges {\n node {\n artworkOrEditionSet {\n __typename\n ... on Artwork {\n price\n }\n ... on EditionSet {\n price\n id\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n artwork {\n slug\n shippingOrigin\n isUnlisted\n id\n }\n artworkVersion {\n date\n artistNames\n title\n image {\n resized_ArtworkSummaryItem: resized(width: 55) {\n url\n }\n }\n id\n }\n id\n }\n }\n }\n}\n\nfragment FulfillmentDetailsForm_me on Me {\n name\n email\n id\n location {\n country\n id\n }\n addressConnection(first: 30) {\n totalCount\n }\n}\n\nfragment FulfillmentDetailsForm_order on CommerceOrder {\n __isCommerceOrder: __typename\n internalID\n lineItems {\n edges {\n node {\n artwork {\n pickupAvailable\n id\n }\n id\n }\n }\n }\n ...ArtworkSummaryItem_order\n ...TransactionDetailsSummaryItem_order\n ...OrderStepper_order\n}\n\nfragment OrderStepper_order on CommerceOrder {\n __isCommerceOrder: __typename\n mode\n paymentSet\n requestedFulfillment {\n __typename\n }\n paymentMethodDetails {\n __typename\n ... on CreditCard {\n id\n }\n ... on BankAccount {\n id\n }\n ... on WireTransfer {\n isManualPayment\n }\n }\n lineItems {\n edges {\n node {\n artwork {\n slug\n id\n }\n shippingQuoteOptions {\n edges {\n node {\n isSelected\n id\n }\n }\n }\n id\n }\n }\n }\n}\n\nfragment SaveAndContinueButton_order on CommerceOrder {\n __isCommerceOrder: __typename\n internalID\n}\n\nfragment ShippingContext_me_dXEtb on Me {\n addressConnection(first: 30) {\n edges {\n node {\n id\n internalID\n addressLine1\n addressLine2\n addressLine3\n city\n country\n isDefault\n name\n phoneNumber\n postalCode\n region\n }\n }\n }\n}\n\nfragment ShippingContext_order on CommerceOrder {\n __isCommerceOrder: __typename\n internalID\n mode\n requestedFulfillment {\n __typename\n ... on CommercePickup {\n phoneNumber\n }\n ... on CommerceShip {\n name\n addressLine1\n addressLine2\n city\n region\n country\n postalCode\n phoneNumber\n }\n ... on CommerceShipArta {\n name\n addressLine1\n addressLine2\n city\n region\n country\n postalCode\n phoneNumber\n }\n }\n lineItems {\n edges {\n node {\n shippingQuoteOptions {\n edges {\n node {\n id\n isSelected\n }\n }\n }\n artwork {\n processWithArtsyShippingDomestic\n artsyShippingInternational\n onlyShipsDomestically\n euShippingOrigin\n shippingCountry\n id\n }\n id\n }\n }\n }\n}\n\nfragment ShippingQuotes_order on CommerceOrder {\n __isCommerceOrder: __typename\n lineItems {\n edges {\n node {\n shippingQuoteOptions {\n edges {\n node {\n id\n isSelected\n price(precision: 2)\n priceCents\n typeName\n }\n }\n }\n id\n }\n }\n }\n}\n\nfragment Shipping_me on Me {\n ...FulfillmentDetailsForm_me\n ...ShippingContext_me_dXEtb\n}\n\nfragment Shipping_order on CommerceOrder {\n __isCommerceOrder: __typename\n ...ShippingContext_order\n ...FulfillmentDetailsForm_order\n ...SaveAndContinueButton_order\n ...ArtworkSummaryItem_order\n ...TransactionDetailsSummaryItem_order\n ...OrderStepper_order\n ...ShippingQuotes_order\n internalID\n}\n\nfragment TransactionDetailsSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n __typename\n requestedFulfillment {\n __typename\n }\n code\n lineItems {\n edges {\n node {\n artworkOrEditionSet {\n __typename\n ... on Artwork {\n price\n }\n ... on EditionSet {\n price\n id\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n selectedShippingQuote {\n typeName\n id\n }\n id\n }\n }\n }\n mode\n source\n displayState\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n itemsTotal(precision: 2)\n buyerTotal(precision: 2)\n currencyCode\n ... on CommerceOfferOrder {\n lastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n myLastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n }\n}\n" + "text": "query orderRoutes_ShippingQuery(\n $orderID: ID!\n) {\n order: commerceOrder(id: $orderID) {\n __typename\n ...Shipping_order\n id\n }\n me {\n ...Shipping_me\n id\n }\n}\n\nfragment ArtworkSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n sellerDetails {\n __typename\n ... on Partner {\n name\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n currencyCode\n mode\n source\n lineItems {\n edges {\n node {\n artworkOrEditionSet {\n __typename\n ... on Artwork {\n price\n }\n ... on EditionSet {\n price\n id\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n artwork {\n slug\n shippingOrigin\n isUnlisted\n id\n }\n artworkVersion {\n date\n artistNames\n title\n image {\n resized(width: 185) {\n url\n }\n }\n id\n }\n id\n }\n }\n }\n}\n\nfragment FulfillmentDetailsForm_me on Me {\n name\n email\n id\n location {\n country\n id\n }\n addressConnection(first: 30) {\n totalCount\n }\n}\n\nfragment FulfillmentDetailsForm_order on CommerceOrder {\n __isCommerceOrder: __typename\n internalID\n lineItems {\n edges {\n node {\n artwork {\n pickupAvailable\n id\n }\n id\n }\n }\n }\n ...ArtworkSummaryItem_order\n ...TransactionDetailsSummaryItem_order\n ...OrderStepper_order\n}\n\nfragment OrderStepper_order on CommerceOrder {\n __isCommerceOrder: __typename\n mode\n paymentSet\n requestedFulfillment {\n __typename\n }\n paymentMethodDetails {\n __typename\n ... on CreditCard {\n id\n }\n ... on BankAccount {\n id\n }\n ... on WireTransfer {\n isManualPayment\n }\n }\n lineItems {\n edges {\n node {\n artwork {\n slug\n id\n }\n shippingQuoteOptions {\n edges {\n node {\n isSelected\n id\n }\n }\n }\n id\n }\n }\n }\n}\n\nfragment SaveAndContinueButton_order on CommerceOrder {\n __isCommerceOrder: __typename\n internalID\n}\n\nfragment ShippingContext_me_dXEtb on Me {\n addressConnection(first: 30) {\n edges {\n node {\n id\n internalID\n addressLine1\n addressLine2\n addressLine3\n city\n country\n isDefault\n name\n phoneNumber\n postalCode\n region\n }\n }\n }\n}\n\nfragment ShippingContext_order on CommerceOrder {\n __isCommerceOrder: __typename\n internalID\n mode\n requestedFulfillment {\n __typename\n ... on CommercePickup {\n phoneNumber\n }\n ... on CommerceShip {\n name\n addressLine1\n addressLine2\n city\n region\n country\n postalCode\n phoneNumber\n }\n ... on CommerceShipArta {\n name\n addressLine1\n addressLine2\n city\n region\n country\n postalCode\n phoneNumber\n }\n }\n lineItems {\n edges {\n node {\n shippingQuoteOptions {\n edges {\n node {\n id\n isSelected\n }\n }\n }\n artwork {\n processWithArtsyShippingDomestic\n artsyShippingInternational\n onlyShipsDomestically\n euShippingOrigin\n shippingCountry\n id\n }\n id\n }\n }\n }\n}\n\nfragment ShippingQuotes_order on CommerceOrder {\n __isCommerceOrder: __typename\n lineItems {\n edges {\n node {\n shippingQuoteOptions {\n edges {\n node {\n id\n isSelected\n price(precision: 2)\n priceCents\n typeName\n }\n }\n }\n id\n }\n }\n }\n}\n\nfragment Shipping_me on Me {\n ...FulfillmentDetailsForm_me\n ...ShippingContext_me_dXEtb\n}\n\nfragment Shipping_order on CommerceOrder {\n __isCommerceOrder: __typename\n ...ShippingContext_order\n ...FulfillmentDetailsForm_order\n ...SaveAndContinueButton_order\n ...ArtworkSummaryItem_order\n ...TransactionDetailsSummaryItem_order\n ...OrderStepper_order\n ...ShippingQuotes_order\n internalID\n}\n\nfragment TransactionDetailsSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n __typename\n requestedFulfillment {\n __typename\n }\n code\n lineItems {\n edges {\n node {\n artworkOrEditionSet {\n __typename\n ... on Artwork {\n price\n }\n ... on EditionSet {\n price\n id\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n selectedShippingQuote {\n typeName\n id\n }\n id\n }\n }\n }\n mode\n source\n displayState\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n itemsTotal(precision: 2)\n buyerTotal(precision: 2)\n currencyCode\n ... on CommerceOfferOrder {\n lastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n myLastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n }\n}\n" } }; })(); diff --git a/src/__generated__/orderRoutes_StatusQuery.graphql.ts b/src/__generated__/orderRoutes_StatusQuery.graphql.ts index 727bdea8406..23a079f81a3 100644 --- a/src/__generated__/orderRoutes_StatusQuery.graphql.ts +++ b/src/__generated__/orderRoutes_StatusQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<> + * @generated SignedSource<<012c0fd6a35ecda899e8b7ebd4e7d92d>> * @lightSyntaxTransform * @nogrep */ @@ -509,12 +509,12 @@ return { "plural": false, "selections": [ { - "alias": "resized_ArtworkSummaryItem", + "alias": null, "args": [ { "kind": "Literal", "name": "width", - "value": 55 + "value": 185 } ], "concreteType": "ResizedImageUrl", @@ -530,7 +530,7 @@ return { "storageKey": null } ], - "storageKey": "resized(width:55)" + "storageKey": "resized(width:185)" } ], "storageKey": null @@ -792,12 +792,12 @@ return { ] }, "params": { - "cacheID": "accd235cc6fc56eed0106c2b1b23ce86", + "cacheID": "9baeb1f4a18e2ce148c4f5e4a91cb312", "id": null, "metadata": {}, "name": "orderRoutes_StatusQuery", "operationKind": "query", - "text": "query orderRoutes_StatusQuery(\n $orderID: ID!\n) {\n order: commerceOrder(id: $orderID) {\n __typename\n ...Status_order\n id\n }\n}\n\nfragment ArtworkSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n sellerDetails {\n __typename\n ... on Partner {\n name\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n currencyCode\n mode\n source\n lineItems {\n edges {\n node {\n artworkOrEditionSet {\n __typename\n ... on Artwork {\n price\n }\n ... on EditionSet {\n price\n id\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n artwork {\n slug\n shippingOrigin\n isUnlisted\n id\n }\n artworkVersion {\n date\n artistNames\n title\n image {\n resized_ArtworkSummaryItem: resized(width: 55) {\n url\n }\n }\n id\n }\n id\n }\n }\n }\n}\n\nfragment PaymentMethodSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n source\n paymentMethodDetails {\n __typename\n ... on CreditCard {\n brand\n lastDigits\n expirationYear\n expirationMonth\n id\n }\n ... on BankAccount {\n last4\n id\n }\n ... on WireTransfer {\n isManualPayment\n }\n }\n}\n\nfragment ShippingAddress_ship on CommerceRequestedFulfillmentUnion {\n __isCommerceRequestedFulfillmentUnion: __typename\n ... on CommerceShip {\n name\n addressLine1\n addressLine2\n city\n postalCode\n region\n country\n phoneNumber\n }\n ... on CommerceShipArta {\n name\n addressLine1\n addressLine2\n city\n postalCode\n region\n country\n phoneNumber\n }\n}\n\nfragment ShippingSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n state\n paymentMethod\n requestedFulfillment {\n __typename\n ...ShippingAddress_ship\n }\n lineItems {\n edges {\n node {\n artwork {\n shippingOrigin\n id\n }\n id\n }\n }\n }\n}\n\nfragment Status_order on CommerceOrder {\n __isCommerceOrder: __typename\n __typename\n internalID\n code\n currencyCode\n displayState\n state\n mode\n source\n stateReason\n paymentMethod\n stateExpiresAt(format: \"MMM D\")\n requestedFulfillment {\n __typename\n ... on CommerceShip {\n __typename\n }\n ... on CommercePickup {\n __typename\n }\n ... on CommerceShipArta {\n __typename\n }\n }\n ...ArtworkSummaryItem_order\n ...TransactionDetailsSummaryItem_order\n ...ShippingSummaryItem_order\n ...PaymentMethodSummaryItem_order\n lineItems {\n edges {\n node {\n shipment {\n trackingNumber\n trackingUrl\n carrierName\n estimatedDeliveryWindow\n id\n }\n selectedShippingQuote {\n typeName\n id\n }\n fulfillments {\n edges {\n node {\n courier\n trackingId\n estimatedDelivery(format: \"MMM Do, YYYY\")\n id\n }\n }\n }\n id\n }\n }\n }\n ... on CommerceOfferOrder {\n myLastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n id\n }\n }\n}\n\nfragment TransactionDetailsSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n __typename\n requestedFulfillment {\n __typename\n }\n code\n lineItems {\n edges {\n node {\n artworkOrEditionSet {\n __typename\n ... on Artwork {\n price\n }\n ... on EditionSet {\n price\n id\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n selectedShippingQuote {\n typeName\n id\n }\n id\n }\n }\n }\n mode\n source\n displayState\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n itemsTotal(precision: 2)\n buyerTotal(precision: 2)\n currencyCode\n ... on CommerceOfferOrder {\n lastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n myLastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n }\n}\n" + "text": "query orderRoutes_StatusQuery(\n $orderID: ID!\n) {\n order: commerceOrder(id: $orderID) {\n __typename\n ...Status_order\n id\n }\n}\n\nfragment ArtworkSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n sellerDetails {\n __typename\n ... on Partner {\n name\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n currencyCode\n mode\n source\n lineItems {\n edges {\n node {\n artworkOrEditionSet {\n __typename\n ... on Artwork {\n price\n }\n ... on EditionSet {\n price\n id\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n artwork {\n slug\n shippingOrigin\n isUnlisted\n id\n }\n artworkVersion {\n date\n artistNames\n title\n image {\n resized(width: 185) {\n url\n }\n }\n id\n }\n id\n }\n }\n }\n}\n\nfragment PaymentMethodSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n source\n paymentMethodDetails {\n __typename\n ... on CreditCard {\n brand\n lastDigits\n expirationYear\n expirationMonth\n id\n }\n ... on BankAccount {\n last4\n id\n }\n ... on WireTransfer {\n isManualPayment\n }\n }\n}\n\nfragment ShippingAddress_ship on CommerceRequestedFulfillmentUnion {\n __isCommerceRequestedFulfillmentUnion: __typename\n ... on CommerceShip {\n name\n addressLine1\n addressLine2\n city\n postalCode\n region\n country\n phoneNumber\n }\n ... on CommerceShipArta {\n name\n addressLine1\n addressLine2\n city\n postalCode\n region\n country\n phoneNumber\n }\n}\n\nfragment ShippingSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n state\n paymentMethod\n requestedFulfillment {\n __typename\n ...ShippingAddress_ship\n }\n lineItems {\n edges {\n node {\n artwork {\n shippingOrigin\n id\n }\n id\n }\n }\n }\n}\n\nfragment Status_order on CommerceOrder {\n __isCommerceOrder: __typename\n __typename\n internalID\n code\n currencyCode\n displayState\n state\n mode\n source\n stateReason\n paymentMethod\n stateExpiresAt(format: \"MMM D\")\n requestedFulfillment {\n __typename\n ... on CommerceShip {\n __typename\n }\n ... on CommercePickup {\n __typename\n }\n ... on CommerceShipArta {\n __typename\n }\n }\n ...ArtworkSummaryItem_order\n ...TransactionDetailsSummaryItem_order\n ...ShippingSummaryItem_order\n ...PaymentMethodSummaryItem_order\n lineItems {\n edges {\n node {\n shipment {\n trackingNumber\n trackingUrl\n carrierName\n estimatedDeliveryWindow\n id\n }\n selectedShippingQuote {\n typeName\n id\n }\n fulfillments {\n edges {\n node {\n courier\n trackingId\n estimatedDelivery(format: \"MMM Do, YYYY\")\n id\n }\n }\n }\n id\n }\n }\n }\n ... on CommerceOfferOrder {\n myLastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n id\n }\n }\n}\n\nfragment TransactionDetailsSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n __typename\n requestedFulfillment {\n __typename\n }\n code\n lineItems {\n edges {\n node {\n artworkOrEditionSet {\n __typename\n ... on Artwork {\n price\n }\n ... on EditionSet {\n price\n id\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n selectedShippingQuote {\n typeName\n id\n }\n id\n }\n }\n }\n mode\n source\n displayState\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n itemsTotal(precision: 2)\n buyerTotal(precision: 2)\n currencyCode\n ... on CommerceOfferOrder {\n lastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n myLastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n }\n}\n" } }; })(); diff --git a/src/__generated__/useSaveFulfillmentDetailsMutation.graphql.ts b/src/__generated__/useSaveFulfillmentDetailsMutation.graphql.ts index d79b3881ac4..23974a1b96c 100644 --- a/src/__generated__/useSaveFulfillmentDetailsMutation.graphql.ts +++ b/src/__generated__/useSaveFulfillmentDetailsMutation.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<29fa10e6d4940970abc956e424413831>> + * @generated SignedSource<> * @lightSyntaxTransform * @nogrep */ @@ -673,12 +673,12 @@ return { "plural": false, "selections": [ { - "alias": "resized_ArtworkSummaryItem", + "alias": null, "args": [ { "kind": "Literal", "name": "width", - "value": 55 + "value": 185 } ], "concreteType": "ResizedImageUrl", @@ -694,7 +694,7 @@ return { "storageKey": null } ], - "storageKey": "resized(width:55)" + "storageKey": "resized(width:185)" } ], "storageKey": null @@ -870,12 +870,12 @@ return { ] }, "params": { - "cacheID": "82a46a248bafeff185df7e09fd7c41b3", + "cacheID": "3b45874c0022eb66a5075b08d8900f7c", "id": null, "metadata": {}, "name": "useSaveFulfillmentDetailsMutation", "operationKind": "mutation", - "text": "mutation useSaveFulfillmentDetailsMutation(\n $input: CommerceSetShippingInput!\n) {\n commerceSetShipping(input: $input) {\n orderOrError {\n __typename\n ... on CommerceOrderWithMutationSuccess {\n order {\n internalID\n __typename\n __isCommerceOrder: __typename\n ...Shipping_order\n id\n }\n }\n ... on CommerceOrderWithMutationFailure {\n error {\n type\n code\n data\n }\n }\n ... on CommerceOrderRequiresAction {\n __typename\n }\n }\n }\n}\n\nfragment ArtworkSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n sellerDetails {\n __typename\n ... on Partner {\n name\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n currencyCode\n mode\n source\n lineItems {\n edges {\n node {\n artworkOrEditionSet {\n __typename\n ... on Artwork {\n price\n }\n ... on EditionSet {\n price\n id\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n artwork {\n slug\n shippingOrigin\n isUnlisted\n id\n }\n artworkVersion {\n date\n artistNames\n title\n image {\n resized_ArtworkSummaryItem: resized(width: 55) {\n url\n }\n }\n id\n }\n id\n }\n }\n }\n}\n\nfragment FulfillmentDetailsForm_order on CommerceOrder {\n __isCommerceOrder: __typename\n internalID\n lineItems {\n edges {\n node {\n artwork {\n pickupAvailable\n id\n }\n id\n }\n }\n }\n ...ArtworkSummaryItem_order\n ...TransactionDetailsSummaryItem_order\n ...OrderStepper_order\n}\n\nfragment OrderStepper_order on CommerceOrder {\n __isCommerceOrder: __typename\n mode\n paymentSet\n requestedFulfillment {\n __typename\n }\n paymentMethodDetails {\n __typename\n ... on CreditCard {\n id\n }\n ... on BankAccount {\n id\n }\n ... on WireTransfer {\n isManualPayment\n }\n }\n lineItems {\n edges {\n node {\n artwork {\n slug\n id\n }\n shippingQuoteOptions {\n edges {\n node {\n isSelected\n id\n }\n }\n }\n id\n }\n }\n }\n}\n\nfragment SaveAndContinueButton_order on CommerceOrder {\n __isCommerceOrder: __typename\n internalID\n}\n\nfragment ShippingContext_order on CommerceOrder {\n __isCommerceOrder: __typename\n internalID\n mode\n requestedFulfillment {\n __typename\n ... on CommercePickup {\n phoneNumber\n }\n ... on CommerceShip {\n name\n addressLine1\n addressLine2\n city\n region\n country\n postalCode\n phoneNumber\n }\n ... on CommerceShipArta {\n name\n addressLine1\n addressLine2\n city\n region\n country\n postalCode\n phoneNumber\n }\n }\n lineItems {\n edges {\n node {\n shippingQuoteOptions {\n edges {\n node {\n id\n isSelected\n }\n }\n }\n artwork {\n processWithArtsyShippingDomestic\n artsyShippingInternational\n onlyShipsDomestically\n euShippingOrigin\n shippingCountry\n id\n }\n id\n }\n }\n }\n}\n\nfragment ShippingQuotes_order on CommerceOrder {\n __isCommerceOrder: __typename\n lineItems {\n edges {\n node {\n shippingQuoteOptions {\n edges {\n node {\n id\n isSelected\n price(precision: 2)\n priceCents\n typeName\n }\n }\n }\n id\n }\n }\n }\n}\n\nfragment Shipping_order on CommerceOrder {\n __isCommerceOrder: __typename\n ...ShippingContext_order\n ...FulfillmentDetailsForm_order\n ...SaveAndContinueButton_order\n ...ArtworkSummaryItem_order\n ...TransactionDetailsSummaryItem_order\n ...OrderStepper_order\n ...ShippingQuotes_order\n internalID\n}\n\nfragment TransactionDetailsSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n __typename\n requestedFulfillment {\n __typename\n }\n code\n lineItems {\n edges {\n node {\n artworkOrEditionSet {\n __typename\n ... on Artwork {\n price\n }\n ... on EditionSet {\n price\n id\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n selectedShippingQuote {\n typeName\n id\n }\n id\n }\n }\n }\n mode\n source\n displayState\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n itemsTotal(precision: 2)\n buyerTotal(precision: 2)\n currencyCode\n ... on CommerceOfferOrder {\n lastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n myLastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n }\n}\n" + "text": "mutation useSaveFulfillmentDetailsMutation(\n $input: CommerceSetShippingInput!\n) {\n commerceSetShipping(input: $input) {\n orderOrError {\n __typename\n ... on CommerceOrderWithMutationSuccess {\n order {\n internalID\n __typename\n __isCommerceOrder: __typename\n ...Shipping_order\n id\n }\n }\n ... on CommerceOrderWithMutationFailure {\n error {\n type\n code\n data\n }\n }\n ... on CommerceOrderRequiresAction {\n __typename\n }\n }\n }\n}\n\nfragment ArtworkSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n sellerDetails {\n __typename\n ... on Partner {\n name\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n currencyCode\n mode\n source\n lineItems {\n edges {\n node {\n artworkOrEditionSet {\n __typename\n ... on Artwork {\n price\n }\n ... on EditionSet {\n price\n id\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n artwork {\n slug\n shippingOrigin\n isUnlisted\n id\n }\n artworkVersion {\n date\n artistNames\n title\n image {\n resized(width: 185) {\n url\n }\n }\n id\n }\n id\n }\n }\n }\n}\n\nfragment FulfillmentDetailsForm_order on CommerceOrder {\n __isCommerceOrder: __typename\n internalID\n lineItems {\n edges {\n node {\n artwork {\n pickupAvailable\n id\n }\n id\n }\n }\n }\n ...ArtworkSummaryItem_order\n ...TransactionDetailsSummaryItem_order\n ...OrderStepper_order\n}\n\nfragment OrderStepper_order on CommerceOrder {\n __isCommerceOrder: __typename\n mode\n paymentSet\n requestedFulfillment {\n __typename\n }\n paymentMethodDetails {\n __typename\n ... on CreditCard {\n id\n }\n ... on BankAccount {\n id\n }\n ... on WireTransfer {\n isManualPayment\n }\n }\n lineItems {\n edges {\n node {\n artwork {\n slug\n id\n }\n shippingQuoteOptions {\n edges {\n node {\n isSelected\n id\n }\n }\n }\n id\n }\n }\n }\n}\n\nfragment SaveAndContinueButton_order on CommerceOrder {\n __isCommerceOrder: __typename\n internalID\n}\n\nfragment ShippingContext_order on CommerceOrder {\n __isCommerceOrder: __typename\n internalID\n mode\n requestedFulfillment {\n __typename\n ... on CommercePickup {\n phoneNumber\n }\n ... on CommerceShip {\n name\n addressLine1\n addressLine2\n city\n region\n country\n postalCode\n phoneNumber\n }\n ... on CommerceShipArta {\n name\n addressLine1\n addressLine2\n city\n region\n country\n postalCode\n phoneNumber\n }\n }\n lineItems {\n edges {\n node {\n shippingQuoteOptions {\n edges {\n node {\n id\n isSelected\n }\n }\n }\n artwork {\n processWithArtsyShippingDomestic\n artsyShippingInternational\n onlyShipsDomestically\n euShippingOrigin\n shippingCountry\n id\n }\n id\n }\n }\n }\n}\n\nfragment ShippingQuotes_order on CommerceOrder {\n __isCommerceOrder: __typename\n lineItems {\n edges {\n node {\n shippingQuoteOptions {\n edges {\n node {\n id\n isSelected\n price(precision: 2)\n priceCents\n typeName\n }\n }\n }\n id\n }\n }\n }\n}\n\nfragment Shipping_order on CommerceOrder {\n __isCommerceOrder: __typename\n ...ShippingContext_order\n ...FulfillmentDetailsForm_order\n ...SaveAndContinueButton_order\n ...ArtworkSummaryItem_order\n ...TransactionDetailsSummaryItem_order\n ...OrderStepper_order\n ...ShippingQuotes_order\n internalID\n}\n\nfragment TransactionDetailsSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n __typename\n requestedFulfillment {\n __typename\n }\n code\n lineItems {\n edges {\n node {\n artworkOrEditionSet {\n __typename\n ... on Artwork {\n price\n }\n ... on EditionSet {\n price\n id\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n selectedShippingQuote {\n typeName\n id\n }\n id\n }\n }\n }\n mode\n source\n displayState\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n itemsTotal(precision: 2)\n buyerTotal(precision: 2)\n currencyCode\n ... on CommerceOfferOrder {\n lastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n myLastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n }\n}\n" } }; })(); diff --git a/src/__generated__/useSelectShippingQuoteMutation.graphql.ts b/src/__generated__/useSelectShippingQuoteMutation.graphql.ts index 8e523c334fa..4dfb0ec27ec 100644 --- a/src/__generated__/useSelectShippingQuoteMutation.graphql.ts +++ b/src/__generated__/useSelectShippingQuoteMutation.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<9e1f189b1ee7ebef63dca1368a692b4d>> + * @generated SignedSource<<9ac832e83df3d5f6ed669c3def756175>> * @lightSyntaxTransform * @nogrep */ @@ -650,12 +650,12 @@ return { "plural": false, "selections": [ { - "alias": "resized_ArtworkSummaryItem", + "alias": null, "args": [ { "kind": "Literal", "name": "width", - "value": 55 + "value": 185 } ], "concreteType": "ResizedImageUrl", @@ -671,7 +671,7 @@ return { "storageKey": null } ], - "storageKey": "resized(width:55)" + "storageKey": "resized(width:185)" } ], "storageKey": null @@ -847,12 +847,12 @@ return { ] }, "params": { - "cacheID": "fe5b82fee2ae9bde4deb1be0ef26ad21", + "cacheID": "a8f66e26482d7d57e04aab73d4afd4d3", "id": null, "metadata": {}, "name": "useSelectShippingQuoteMutation", "operationKind": "mutation", - "text": "mutation useSelectShippingQuoteMutation(\n $input: CommerceSelectShippingOptionInput!\n) {\n commerceSelectShippingOption(input: $input) {\n orderOrError {\n __typename\n ... on CommerceOrderWithMutationSuccess {\n order {\n __typename\n ...Shipping_order\n id\n }\n }\n ... on CommerceOrderWithMutationFailure {\n error {\n type\n code\n data\n }\n }\n }\n }\n}\n\nfragment ArtworkSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n sellerDetails {\n __typename\n ... on Partner {\n name\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n currencyCode\n mode\n source\n lineItems {\n edges {\n node {\n artworkOrEditionSet {\n __typename\n ... on Artwork {\n price\n }\n ... on EditionSet {\n price\n id\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n artwork {\n slug\n shippingOrigin\n isUnlisted\n id\n }\n artworkVersion {\n date\n artistNames\n title\n image {\n resized_ArtworkSummaryItem: resized(width: 55) {\n url\n }\n }\n id\n }\n id\n }\n }\n }\n}\n\nfragment FulfillmentDetailsForm_order on CommerceOrder {\n __isCommerceOrder: __typename\n internalID\n lineItems {\n edges {\n node {\n artwork {\n pickupAvailable\n id\n }\n id\n }\n }\n }\n ...ArtworkSummaryItem_order\n ...TransactionDetailsSummaryItem_order\n ...OrderStepper_order\n}\n\nfragment OrderStepper_order on CommerceOrder {\n __isCommerceOrder: __typename\n mode\n paymentSet\n requestedFulfillment {\n __typename\n }\n paymentMethodDetails {\n __typename\n ... on CreditCard {\n id\n }\n ... on BankAccount {\n id\n }\n ... on WireTransfer {\n isManualPayment\n }\n }\n lineItems {\n edges {\n node {\n artwork {\n slug\n id\n }\n shippingQuoteOptions {\n edges {\n node {\n isSelected\n id\n }\n }\n }\n id\n }\n }\n }\n}\n\nfragment SaveAndContinueButton_order on CommerceOrder {\n __isCommerceOrder: __typename\n internalID\n}\n\nfragment ShippingContext_order on CommerceOrder {\n __isCommerceOrder: __typename\n internalID\n mode\n requestedFulfillment {\n __typename\n ... on CommercePickup {\n phoneNumber\n }\n ... on CommerceShip {\n name\n addressLine1\n addressLine2\n city\n region\n country\n postalCode\n phoneNumber\n }\n ... on CommerceShipArta {\n name\n addressLine1\n addressLine2\n city\n region\n country\n postalCode\n phoneNumber\n }\n }\n lineItems {\n edges {\n node {\n shippingQuoteOptions {\n edges {\n node {\n id\n isSelected\n }\n }\n }\n artwork {\n processWithArtsyShippingDomestic\n artsyShippingInternational\n onlyShipsDomestically\n euShippingOrigin\n shippingCountry\n id\n }\n id\n }\n }\n }\n}\n\nfragment ShippingQuotes_order on CommerceOrder {\n __isCommerceOrder: __typename\n lineItems {\n edges {\n node {\n shippingQuoteOptions {\n edges {\n node {\n id\n isSelected\n price(precision: 2)\n priceCents\n typeName\n }\n }\n }\n id\n }\n }\n }\n}\n\nfragment Shipping_order on CommerceOrder {\n __isCommerceOrder: __typename\n ...ShippingContext_order\n ...FulfillmentDetailsForm_order\n ...SaveAndContinueButton_order\n ...ArtworkSummaryItem_order\n ...TransactionDetailsSummaryItem_order\n ...OrderStepper_order\n ...ShippingQuotes_order\n internalID\n}\n\nfragment TransactionDetailsSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n __typename\n requestedFulfillment {\n __typename\n }\n code\n lineItems {\n edges {\n node {\n artworkOrEditionSet {\n __typename\n ... on Artwork {\n price\n }\n ... on EditionSet {\n price\n id\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n selectedShippingQuote {\n typeName\n id\n }\n id\n }\n }\n }\n mode\n source\n displayState\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n itemsTotal(precision: 2)\n buyerTotal(precision: 2)\n currencyCode\n ... on CommerceOfferOrder {\n lastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n myLastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n }\n}\n" + "text": "mutation useSelectShippingQuoteMutation(\n $input: CommerceSelectShippingOptionInput!\n) {\n commerceSelectShippingOption(input: $input) {\n orderOrError {\n __typename\n ... on CommerceOrderWithMutationSuccess {\n order {\n __typename\n ...Shipping_order\n id\n }\n }\n ... on CommerceOrderWithMutationFailure {\n error {\n type\n code\n data\n }\n }\n }\n }\n}\n\nfragment ArtworkSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n sellerDetails {\n __typename\n ... on Partner {\n name\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n currencyCode\n mode\n source\n lineItems {\n edges {\n node {\n artworkOrEditionSet {\n __typename\n ... on Artwork {\n price\n }\n ... on EditionSet {\n price\n id\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n artwork {\n slug\n shippingOrigin\n isUnlisted\n id\n }\n artworkVersion {\n date\n artistNames\n title\n image {\n resized(width: 185) {\n url\n }\n }\n id\n }\n id\n }\n }\n }\n}\n\nfragment FulfillmentDetailsForm_order on CommerceOrder {\n __isCommerceOrder: __typename\n internalID\n lineItems {\n edges {\n node {\n artwork {\n pickupAvailable\n id\n }\n id\n }\n }\n }\n ...ArtworkSummaryItem_order\n ...TransactionDetailsSummaryItem_order\n ...OrderStepper_order\n}\n\nfragment OrderStepper_order on CommerceOrder {\n __isCommerceOrder: __typename\n mode\n paymentSet\n requestedFulfillment {\n __typename\n }\n paymentMethodDetails {\n __typename\n ... on CreditCard {\n id\n }\n ... on BankAccount {\n id\n }\n ... on WireTransfer {\n isManualPayment\n }\n }\n lineItems {\n edges {\n node {\n artwork {\n slug\n id\n }\n shippingQuoteOptions {\n edges {\n node {\n isSelected\n id\n }\n }\n }\n id\n }\n }\n }\n}\n\nfragment SaveAndContinueButton_order on CommerceOrder {\n __isCommerceOrder: __typename\n internalID\n}\n\nfragment ShippingContext_order on CommerceOrder {\n __isCommerceOrder: __typename\n internalID\n mode\n requestedFulfillment {\n __typename\n ... on CommercePickup {\n phoneNumber\n }\n ... on CommerceShip {\n name\n addressLine1\n addressLine2\n city\n region\n country\n postalCode\n phoneNumber\n }\n ... on CommerceShipArta {\n name\n addressLine1\n addressLine2\n city\n region\n country\n postalCode\n phoneNumber\n }\n }\n lineItems {\n edges {\n node {\n shippingQuoteOptions {\n edges {\n node {\n id\n isSelected\n }\n }\n }\n artwork {\n processWithArtsyShippingDomestic\n artsyShippingInternational\n onlyShipsDomestically\n euShippingOrigin\n shippingCountry\n id\n }\n id\n }\n }\n }\n}\n\nfragment ShippingQuotes_order on CommerceOrder {\n __isCommerceOrder: __typename\n lineItems {\n edges {\n node {\n shippingQuoteOptions {\n edges {\n node {\n id\n isSelected\n price(precision: 2)\n priceCents\n typeName\n }\n }\n }\n id\n }\n }\n }\n}\n\nfragment Shipping_order on CommerceOrder {\n __isCommerceOrder: __typename\n ...ShippingContext_order\n ...FulfillmentDetailsForm_order\n ...SaveAndContinueButton_order\n ...ArtworkSummaryItem_order\n ...TransactionDetailsSummaryItem_order\n ...OrderStepper_order\n ...ShippingQuotes_order\n internalID\n}\n\nfragment TransactionDetailsSummaryItem_order on CommerceOrder {\n __isCommerceOrder: __typename\n __typename\n requestedFulfillment {\n __typename\n }\n code\n lineItems {\n edges {\n node {\n artworkOrEditionSet {\n __typename\n ... on Artwork {\n price\n }\n ... on EditionSet {\n price\n id\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n selectedShippingQuote {\n typeName\n id\n }\n id\n }\n }\n }\n mode\n source\n displayState\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n itemsTotal(precision: 2)\n buyerTotal(precision: 2)\n currencyCode\n ... on CommerceOfferOrder {\n lastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n myLastOffer {\n internalID\n amount(precision: 2)\n amountCents\n shippingTotal(precision: 2)\n shippingTotalCents\n taxTotal(precision: 2)\n taxTotalCents\n buyerTotal(precision: 2)\n buyerTotalCents\n fromParticipant\n note\n id\n }\n }\n}\n" } }; })();