@graphcommerce/magento-cart 3.8.14 → 3.8.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,28 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [3.8.17](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-cart@3.8.16...@graphcommerce/magento-cart@3.8.17) (2021-12-20)
7
+
8
+
9
+ ### Reverts
10
+
11
+ * Revert "fix: build" ([71df800](https://github.com/ho-nl/m2-pwa/commit/71df8009744e606b0753cb4c5e7fe3c3c11d3416))
12
+
13
+
14
+
15
+
16
+
17
+ ## [3.8.16](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-cart@3.8.15...@graphcommerce/magento-cart@3.8.16) (2021-12-18)
18
+
19
+
20
+ ### Bug Fixes
21
+
22
+ * build ([c0275c4](https://github.com/ho-nl/m2-pwa/commit/c0275c461d30d71db21cabf4b1f85f8a9971d782))
23
+
24
+
25
+
26
+
27
+
6
28
  ## [3.8.13](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-cart@3.8.12...@graphcommerce/magento-cart@3.8.13) (2021-12-17)
7
29
 
8
30
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@graphcommerce/magento-cart",
3
- "version": "3.8.14",
3
+ "version": "3.8.18",
4
4
  "sideEffects": false,
5
5
  "prettier": "@graphcommerce/prettier-config-pwa",
6
6
  "browserslist": [
@@ -21,23 +21,23 @@
21
21
  },
22
22
  "dependencies": {
23
23
  "@apollo/client": "^3.5.6",
24
- "@graphcommerce/framer-next-pages": "^2.108.5",
25
- "@graphcommerce/framer-scroller": "^1.1.12",
26
- "@graphcommerce/graphql": "^2.105.10",
27
- "@graphcommerce/image": "^2.105.9",
28
- "@graphcommerce/magento-customer": "^3.6.19",
29
- "@graphcommerce/magento-graphql": "^2.104.10",
30
- "@graphcommerce/magento-store": "^3.3.19",
31
- "@graphcommerce/next-ui": "^3.21.2",
32
- "@graphcommerce/react-hook-form": "^2.104.5",
24
+ "@graphcommerce/framer-next-pages": "^2.108.6",
25
+ "@graphcommerce/framer-scroller": "^1.1.14",
26
+ "@graphcommerce/graphql": "^2.105.11",
27
+ "@graphcommerce/image": "^2.105.10",
28
+ "@graphcommerce/magento-customer": "^3.6.21",
29
+ "@graphcommerce/magento-graphql": "^2.104.11",
30
+ "@graphcommerce/magento-store": "^3.3.21",
31
+ "@graphcommerce/next-ui": "^3.21.4",
32
+ "@graphcommerce/react-hook-form": "^2.104.6",
33
33
  "@lingui/macro": "^3.13.0",
34
34
  "@material-ui/core": "^4.12.3",
35
35
  "@material-ui/lab": "^4.0.0-alpha.60",
36
36
  "clsx": "^1.1.1",
37
- "framer-motion": "^5.5.1",
37
+ "framer-motion": "^5.5.5",
38
38
  "next": "^12.0.7",
39
39
  "react": "^17.0.2",
40
40
  "react-dom": "^17.0.2"
41
41
  },
42
- "gitHead": "06b4426d199de9ec2a9d2ac86d42ab047e59e7e7"
42
+ "gitHead": "cac49a2bf6cdcbb6131dc7b64172e90aad257c6d"
43
43
  }
@@ -1,4 +0,0 @@
1
- /* eslint-disable */
2
- import * as Types from '@graphcommerce/graphql';
3
-
4
- export type CartItemCountChangedFragment = { __typename: 'Cart', id: string, total_quantity: number, items?: Array<{ __typename: 'BundleCartItem', uid: string, quantity: number } | { __typename: 'ConfigurableCartItem', uid: string, quantity: number } | { __typename: 'DownloadableCartItem', uid: string, quantity: number } | { __typename: 'SimpleCartItem', uid: string, quantity: number } | { __typename: 'VirtualCartItem', uid: string, quantity: number } | null | undefined> | null | undefined, prices?: { __typename: 'CartPrices', grand_total?: { currency?: Types.CurrencyEnum | null | undefined, value?: number | null | undefined } | null | undefined, applied_taxes?: Array<{ label: string, amount: { currency?: Types.CurrencyEnum | null | undefined, value?: number | null | undefined } } | null | undefined> | null | undefined, discounts?: Array<{ label: string, amount: { currency?: Types.CurrencyEnum | null | undefined, value?: number | null | undefined } } | null | undefined> | null | undefined, subtotal_excluding_tax?: { currency?: Types.CurrencyEnum | null | undefined, value?: number | null | undefined } | null | undefined, subtotal_including_tax?: { currency?: Types.CurrencyEnum | null | undefined, value?: number | null | undefined } | null | undefined, subtotal_with_discount_excluding_tax?: { currency?: Types.CurrencyEnum | null | undefined, value?: number | null | undefined } | null | undefined } | null | undefined, shipping_addresses: Array<{ selected_shipping_method?: { carrier_code: string, method_code: string, method_title: string, carrier_title: string, amount: { currency?: Types.CurrencyEnum | null | undefined, value?: number | null | undefined } } | null | undefined, available_shipping_methods?: Array<{ carrier_code: string, method_code?: string | null | undefined, price_incl_tax: { currency?: Types.CurrencyEnum | null | undefined, value?: number | null | undefined }, price_excl_tax: { currency?: Types.CurrencyEnum | null | undefined, value?: number | null | undefined } } | null | undefined> | null | undefined } | null | undefined> };
@@ -1,8 +0,0 @@
1
- /* eslint-disable */
2
- import * as Types from '@graphcommerce/graphql';
3
-
4
- export type CartAddress_BillingCartAddress_Fragment = { __typename: 'BillingCartAddress', firstname: string, lastname: string, city: string, company?: string | null | undefined, postcode?: string | null | undefined, street: Array<string | null | undefined>, telephone: string, country: { code: string, label: string }, region?: { code?: string | null | undefined, label?: string | null | undefined, region_id?: number | null | undefined } | null | undefined };
5
-
6
- export type CartAddress_ShippingCartAddress_Fragment = { __typename: 'ShippingCartAddress', firstname: string, lastname: string, city: string, company?: string | null | undefined, postcode?: string | null | undefined, street: Array<string | null | undefined>, telephone: string, country: { code: string, label: string }, region?: { code?: string | null | undefined, label?: string | null | undefined, region_id?: number | null | undefined } | null | undefined };
7
-
8
- export type CartAddressFragment = CartAddress_BillingCartAddress_Fragment | CartAddress_ShippingCartAddress_Fragment;
@@ -1,10 +0,0 @@
1
- /* eslint-disable */
2
- import * as Types from '@graphcommerce/graphql';
3
-
4
- import { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core';
5
-
6
- export const CartAgreementsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"CartAgreements"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"checkoutAgreements"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"agreement_id"}},{"kind":"Field","name":{"kind":"Name","value":"checkbox_text"}},{"kind":"Field","name":{"kind":"Name","value":"content"}},{"kind":"Field","name":{"kind":"Name","value":"content_height"}},{"kind":"Field","name":{"kind":"Name","value":"is_html"}},{"kind":"Field","name":{"kind":"Name","value":"mode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]} as unknown as DocumentNode<CartAgreementsQuery, CartAgreementsQueryVariables>;
7
- export type CartAgreementsQueryVariables = Types.Exact<{ [key: string]: never; }>;
8
-
9
-
10
- export type CartAgreementsQuery = { checkoutAgreements?: Array<{ agreement_id: number, checkbox_text: string, content: string, content_height?: string | null | undefined, is_html: boolean, mode: Types.CheckoutAgreementMode, name: string } | null | undefined> | null | undefined };
@@ -1,12 +0,0 @@
1
- /* eslint-disable */
2
- import * as Types from '@graphcommerce/graphql';
3
-
4
- import { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core';
5
-
6
- export const CartFabDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"CartFab"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"cartId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"cart"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"cart_id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"cartId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"total_quantity"}}]}}]}}]} as unknown as DocumentNode<CartFabQuery, CartFabQueryVariables>;
7
- export type CartFabQueryVariables = Types.Exact<{
8
- cartId: Types.Scalars['String'];
9
- }>;
10
-
11
-
12
- export type CartFabQuery = { cart?: { id: string, total_quantity: number } | null | undefined };
@@ -1,4 +0,0 @@
1
- /* eslint-disable */
2
- import * as Types from '@graphcommerce/graphql';
3
-
4
- export type CartTotalQuantityFragment = { total_quantity: number };
@@ -1,12 +0,0 @@
1
- /* eslint-disable */
2
- import * as Types from '@graphcommerce/graphql';
3
-
4
- import { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core';
5
-
6
- export const CartItemSummaryDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"CartItemSummary"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"cartId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"cart"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"cart_id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"cartId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"uid"}},{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}},{"kind":"Field","name":{"kind":"Name","value":"product"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"uid"}},{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"url_key"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"thumbnail"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"label"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"prices"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"discounts"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"label"}}]}},{"kind":"Field","name":{"kind":"Name","value":"price"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"row_total"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"row_total_including_tax"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"total_item_discount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BundleCartItem"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"bundle_options"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"uid"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"values"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"uid"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}},{"kind":"Field","name":{"kind":"Name","value":"price"}}]}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ConfigurableCartItem"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurable_options"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"configurable_product_option_uid"}},{"kind":"Field","name":{"kind":"Name","value":"configurable_product_option_value_uid"}},{"kind":"Field","name":{"kind":"Name","value":"option_label"}},{"kind":"Field","name":{"kind":"Name","value":"value_label"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"DownloadableCartItem"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"links"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"uid"}},{"kind":"Field","name":{"kind":"Name","value":"price"}},{"kind":"Field","name":{"kind":"Name","value":"sample_url"}},{"kind":"Field","name":{"kind":"Name","value":"title"}}]}},{"kind":"Field","name":{"kind":"Name","value":"samples"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"sample_url"}},{"kind":"Field","name":{"kind":"Name","value":"sort_order"}},{"kind":"Field","name":{"kind":"Name","value":"title"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"shipping_addresses"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"selected_shipping_method"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"carrier_code"}},{"kind":"Field","name":{"kind":"Name","value":"method_code"}},{"kind":"Field","name":{"kind":"Name","value":"method_title"}},{"kind":"Field","name":{"kind":"Name","value":"carrier_title"}},{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"available_shipping_methods"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"carrier_code"}},{"kind":"Field","name":{"kind":"Name","value":"method_code"}},{"kind":"Field","name":{"kind":"Name","value":"price_incl_tax"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"price_excl_tax"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"prices"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"applied_taxes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"label"}}]}},{"kind":"Field","name":{"kind":"Name","value":"discounts"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"label"}}]}},{"kind":"Field","name":{"kind":"Name","value":"grand_total"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"subtotal_excluding_tax"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"subtotal_including_tax"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"subtotal_with_discount_excluding_tax"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}}]}}]}}]}}]} as unknown as DocumentNode<CartItemSummaryQuery, CartItemSummaryQueryVariables>;
7
- export type CartItemSummaryQueryVariables = Types.Exact<{
8
- cartId: Types.Scalars['String'];
9
- }>;
10
-
11
-
12
- export type CartItemSummaryQuery = { cart?: { id: string, items?: Array<{ __typename: 'BundleCartItem', uid: string, quantity: number, bundle_options: Array<{ uid: string, label: string, type: string, values: Array<{ uid: string, label: string, quantity: number, price: number } | null | undefined> } | null | undefined>, product: { __typename: 'BundleProduct', uid: string, url_key?: string | null | undefined, name?: string | null | undefined, thumbnail?: { url?: string | null | undefined, label?: string | null | undefined } | null | undefined } | { __typename: 'ConfigurableProduct', uid: string, url_key?: string | null | undefined, name?: string | null | undefined, thumbnail?: { url?: string | null | undefined, label?: string | null | undefined } | null | undefined } | { __typename: 'DownloadableProduct', uid: string, url_key?: string | null | undefined, name?: string | null | undefined, thumbnail?: { url?: string | null | undefined, label?: string | null | undefined } | null | undefined } | { __typename: 'GroupedProduct', uid: string, url_key?: string | null | undefined, name?: string | null | undefined, thumbnail?: { url?: string | null | undefined, label?: string | null | undefined } | null | undefined } | { __typename: 'SimpleProduct', uid: string, url_key?: string | null | undefined, name?: string | null | undefined, thumbnail?: { url?: string | null | undefined, label?: string | null | undefined } | null | undefined } | { __typename: 'VirtualProduct', uid: string, url_key?: string | null | undefined, name?: string | null | undefined, thumbnail?: { url?: string | null | undefined, label?: string | null | undefined } | null | undefined }, prices?: { discounts?: Array<{ label: string, amount: { currency?: Types.CurrencyEnum | null | undefined, value?: number | null | undefined } } | null | undefined> | null | undefined, price: { currency?: Types.CurrencyEnum | null | undefined, value?: number | null | undefined }, row_total: { currency?: Types.CurrencyEnum | null | undefined, value?: number | null | undefined }, row_total_including_tax: { currency?: Types.CurrencyEnum | null | undefined, value?: number | null | undefined }, total_item_discount?: { currency?: Types.CurrencyEnum | null | undefined, value?: number | null | undefined } | null | undefined } | null | undefined } | { __typename: 'ConfigurableCartItem', uid: string, quantity: number, configurable_options: Array<{ configurable_product_option_uid: string, configurable_product_option_value_uid: string, option_label: string, value_label: string } | null | undefined>, product: { __typename: 'BundleProduct', uid: string, url_key?: string | null | undefined, name?: string | null | undefined, thumbnail?: { url?: string | null | undefined, label?: string | null | undefined } | null | undefined } | { __typename: 'ConfigurableProduct', uid: string, url_key?: string | null | undefined, name?: string | null | undefined, thumbnail?: { url?: string | null | undefined, label?: string | null | undefined } | null | undefined } | { __typename: 'DownloadableProduct', uid: string, url_key?: string | null | undefined, name?: string | null | undefined, thumbnail?: { url?: string | null | undefined, label?: string | null | undefined } | null | undefined } | { __typename: 'GroupedProduct', uid: string, url_key?: string | null | undefined, name?: string | null | undefined, thumbnail?: { url?: string | null | undefined, label?: string | null | undefined } | null | undefined } | { __typename: 'SimpleProduct', uid: string, url_key?: string | null | undefined, name?: string | null | undefined, thumbnail?: { url?: string | null | undefined, label?: string | null | undefined } | null | undefined } | { __typename: 'VirtualProduct', uid: string, url_key?: string | null | undefined, name?: string | null | undefined, thumbnail?: { url?: string | null | undefined, label?: string | null | undefined } | null | undefined }, prices?: { discounts?: Array<{ label: string, amount: { currency?: Types.CurrencyEnum | null | undefined, value?: number | null | undefined } } | null | undefined> | null | undefined, price: { currency?: Types.CurrencyEnum | null | undefined, value?: number | null | undefined }, row_total: { currency?: Types.CurrencyEnum | null | undefined, value?: number | null | undefined }, row_total_including_tax: { currency?: Types.CurrencyEnum | null | undefined, value?: number | null | undefined }, total_item_discount?: { currency?: Types.CurrencyEnum | null | undefined, value?: number | null | undefined } | null | undefined } | null | undefined } | { __typename: 'DownloadableCartItem', uid: string, quantity: number, links?: Array<{ uid: string, price?: number | null | undefined, sample_url?: string | null | undefined, title?: string | null | undefined } | null | undefined> | null | undefined, samples?: Array<{ sample_url?: string | null | undefined, sort_order?: number | null | undefined, title?: string | null | undefined } | null | undefined> | null | undefined, product: { __typename: 'BundleProduct', uid: string, url_key?: string | null | undefined, name?: string | null | undefined, thumbnail?: { url?: string | null | undefined, label?: string | null | undefined } | null | undefined } | { __typename: 'ConfigurableProduct', uid: string, url_key?: string | null | undefined, name?: string | null | undefined, thumbnail?: { url?: string | null | undefined, label?: string | null | undefined } | null | undefined } | { __typename: 'DownloadableProduct', uid: string, url_key?: string | null | undefined, name?: string | null | undefined, thumbnail?: { url?: string | null | undefined, label?: string | null | undefined } | null | undefined } | { __typename: 'GroupedProduct', uid: string, url_key?: string | null | undefined, name?: string | null | undefined, thumbnail?: { url?: string | null | undefined, label?: string | null | undefined } | null | undefined } | { __typename: 'SimpleProduct', uid: string, url_key?: string | null | undefined, name?: string | null | undefined, thumbnail?: { url?: string | null | undefined, label?: string | null | undefined } | null | undefined } | { __typename: 'VirtualProduct', uid: string, url_key?: string | null | undefined, name?: string | null | undefined, thumbnail?: { url?: string | null | undefined, label?: string | null | undefined } | null | undefined }, prices?: { discounts?: Array<{ label: string, amount: { currency?: Types.CurrencyEnum | null | undefined, value?: number | null | undefined } } | null | undefined> | null | undefined, price: { currency?: Types.CurrencyEnum | null | undefined, value?: number | null | undefined }, row_total: { currency?: Types.CurrencyEnum | null | undefined, value?: number | null | undefined }, row_total_including_tax: { currency?: Types.CurrencyEnum | null | undefined, value?: number | null | undefined }, total_item_discount?: { currency?: Types.CurrencyEnum | null | undefined, value?: number | null | undefined } | null | undefined } | null | undefined } | { __typename: 'SimpleCartItem', uid: string, quantity: number, product: { __typename: 'BundleProduct', uid: string, url_key?: string | null | undefined, name?: string | null | undefined, thumbnail?: { url?: string | null | undefined, label?: string | null | undefined } | null | undefined } | { __typename: 'ConfigurableProduct', uid: string, url_key?: string | null | undefined, name?: string | null | undefined, thumbnail?: { url?: string | null | undefined, label?: string | null | undefined } | null | undefined } | { __typename: 'DownloadableProduct', uid: string, url_key?: string | null | undefined, name?: string | null | undefined, thumbnail?: { url?: string | null | undefined, label?: string | null | undefined } | null | undefined } | { __typename: 'GroupedProduct', uid: string, url_key?: string | null | undefined, name?: string | null | undefined, thumbnail?: { url?: string | null | undefined, label?: string | null | undefined } | null | undefined } | { __typename: 'SimpleProduct', uid: string, url_key?: string | null | undefined, name?: string | null | undefined, thumbnail?: { url?: string | null | undefined, label?: string | null | undefined } | null | undefined } | { __typename: 'VirtualProduct', uid: string, url_key?: string | null | undefined, name?: string | null | undefined, thumbnail?: { url?: string | null | undefined, label?: string | null | undefined } | null | undefined }, prices?: { discounts?: Array<{ label: string, amount: { currency?: Types.CurrencyEnum | null | undefined, value?: number | null | undefined } } | null | undefined> | null | undefined, price: { currency?: Types.CurrencyEnum | null | undefined, value?: number | null | undefined }, row_total: { currency?: Types.CurrencyEnum | null | undefined, value?: number | null | undefined }, row_total_including_tax: { currency?: Types.CurrencyEnum | null | undefined, value?: number | null | undefined }, total_item_discount?: { currency?: Types.CurrencyEnum | null | undefined, value?: number | null | undefined } | null | undefined } | null | undefined } | { __typename: 'VirtualCartItem', uid: string, quantity: number, product: { __typename: 'BundleProduct', uid: string, url_key?: string | null | undefined, name?: string | null | undefined, thumbnail?: { url?: string | null | undefined, label?: string | null | undefined } | null | undefined } | { __typename: 'ConfigurableProduct', uid: string, url_key?: string | null | undefined, name?: string | null | undefined, thumbnail?: { url?: string | null | undefined, label?: string | null | undefined } | null | undefined } | { __typename: 'DownloadableProduct', uid: string, url_key?: string | null | undefined, name?: string | null | undefined, thumbnail?: { url?: string | null | undefined, label?: string | null | undefined } | null | undefined } | { __typename: 'GroupedProduct', uid: string, url_key?: string | null | undefined, name?: string | null | undefined, thumbnail?: { url?: string | null | undefined, label?: string | null | undefined } | null | undefined } | { __typename: 'SimpleProduct', uid: string, url_key?: string | null | undefined, name?: string | null | undefined, thumbnail?: { url?: string | null | undefined, label?: string | null | undefined } | null | undefined } | { __typename: 'VirtualProduct', uid: string, url_key?: string | null | undefined, name?: string | null | undefined, thumbnail?: { url?: string | null | undefined, label?: string | null | undefined } | null | undefined }, prices?: { discounts?: Array<{ label: string, amount: { currency?: Types.CurrencyEnum | null | undefined, value?: number | null | undefined } } | null | undefined> | null | undefined, price: { currency?: Types.CurrencyEnum | null | undefined, value?: number | null | undefined }, row_total: { currency?: Types.CurrencyEnum | null | undefined, value?: number | null | undefined }, row_total_including_tax: { currency?: Types.CurrencyEnum | null | undefined, value?: number | null | undefined }, total_item_discount?: { currency?: Types.CurrencyEnum | null | undefined, value?: number | null | undefined } | null | undefined } | null | undefined } | null | undefined> | null | undefined, shipping_addresses: Array<{ selected_shipping_method?: { carrier_code: string, method_code: string, method_title: string, carrier_title: string, amount: { currency?: Types.CurrencyEnum | null | undefined, value?: number | null | undefined } } | null | undefined, available_shipping_methods?: Array<{ carrier_code: string, method_code?: string | null | undefined, price_incl_tax: { currency?: Types.CurrencyEnum | null | undefined, value?: number | null | undefined }, price_excl_tax: { currency?: Types.CurrencyEnum | null | undefined, value?: number | null | undefined } } | null | undefined> | null | undefined } | null | undefined>, prices?: { __typename: 'CartPrices', applied_taxes?: Array<{ label: string, amount: { currency?: Types.CurrencyEnum | null | undefined, value?: number | null | undefined } } | null | undefined> | null | undefined, discounts?: Array<{ label: string, amount: { currency?: Types.CurrencyEnum | null | undefined, value?: number | null | undefined } } | null | undefined> | null | undefined, grand_total?: { currency?: Types.CurrencyEnum | null | undefined, value?: number | null | undefined } | null | undefined, subtotal_excluding_tax?: { currency?: Types.CurrencyEnum | null | undefined, value?: number | null | undefined } | null | undefined, subtotal_including_tax?: { currency?: Types.CurrencyEnum | null | undefined, value?: number | null | undefined } | null | undefined, subtotal_with_discount_excluding_tax?: { currency?: Types.CurrencyEnum | null | undefined, value?: number | null | undefined } | null | undefined } | null | undefined } | null | undefined };
@@ -1,4 +0,0 @@
1
- /* eslint-disable */
2
- import * as Types from '@graphcommerce/graphql';
3
-
4
- export type CartStartCheckoutFragment = { prices?: { grand_total?: { currency?: Types.CurrencyEnum | null | undefined, value?: number | null | undefined } | null | undefined } | null | undefined };
@@ -1,4 +0,0 @@
1
- /* eslint-disable */
2
- import * as Types from '@graphcommerce/graphql';
3
-
4
- export type CartSummaryFragment = { email?: string | null | undefined, id: string, shipping_addresses: Array<{ __typename: 'ShippingCartAddress', firstname: string, lastname: string, city: string, company?: string | null | undefined, postcode?: string | null | undefined, street: Array<string | null | undefined>, telephone: string, selected_shipping_method?: { carrier_code: string, method_code: string, carrier_title: string, method_title: string } | null | undefined, available_shipping_methods?: Array<{ available: boolean, carrier_code: string, carrier_title: string, error_message?: string | null | undefined, method_code?: string | null | undefined, method_title?: string | null | undefined, amount: { currency?: Types.CurrencyEnum | null | undefined, value?: number | null | undefined } } | null | undefined> | null | undefined, country: { code: string, label: string }, region?: { code?: string | null | undefined, label?: string | null | undefined, region_id?: number | null | undefined } | null | undefined } | null | undefined>, billing_address?: { __typename: 'BillingCartAddress', firstname: string, lastname: string, city: string, company?: string | null | undefined, postcode?: string | null | undefined, street: Array<string | null | undefined>, telephone: string, country: { code: string, label: string }, region?: { code?: string | null | undefined, label?: string | null | undefined, region_id?: number | null | undefined } | null | undefined } | null | undefined };
@@ -1,12 +0,0 @@
1
- /* eslint-disable */
2
- import * as Types from '@graphcommerce/graphql';
3
-
4
- import { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core';
5
-
6
- export const GetCartSummaryDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetCartSummary"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"cartId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"cart"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"cart_id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"cartId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"email"}},{"kind":"Field","name":{"kind":"Name","value":"shipping_addresses"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"selected_shipping_method"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"carrier_code"}},{"kind":"Field","name":{"kind":"Name","value":"method_code"}},{"kind":"Field","name":{"kind":"Name","value":"carrier_title"}},{"kind":"Field","name":{"kind":"Name","value":"method_title"}}]}},{"kind":"Field","name":{"kind":"Name","value":"available_shipping_methods"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"available"}},{"kind":"Field","name":{"kind":"Name","value":"carrier_code"}},{"kind":"Field","name":{"kind":"Name","value":"carrier_title"}},{"kind":"Field","name":{"kind":"Name","value":"error_message"}},{"kind":"Field","name":{"kind":"Name","value":"method_code"}},{"kind":"Field","name":{"kind":"Name","value":"method_title"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CartAddressInterface"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"firstname"}},{"kind":"Field","name":{"kind":"Name","value":"lastname"}},{"kind":"Field","name":{"kind":"Name","value":"city"}},{"kind":"Field","name":{"kind":"Name","value":"company"}},{"kind":"Field","name":{"kind":"Name","value":"country"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"label"}}]}},{"kind":"Field","name":{"kind":"Name","value":"postcode"}},{"kind":"Field","name":{"kind":"Name","value":"region"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"region_id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"street"}},{"kind":"Field","name":{"kind":"Name","value":"telephone"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"billing_address"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CartAddressInterface"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"firstname"}},{"kind":"Field","name":{"kind":"Name","value":"lastname"}},{"kind":"Field","name":{"kind":"Name","value":"city"}},{"kind":"Field","name":{"kind":"Name","value":"company"}},{"kind":"Field","name":{"kind":"Name","value":"country"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"label"}}]}},{"kind":"Field","name":{"kind":"Name","value":"postcode"}},{"kind":"Field","name":{"kind":"Name","value":"region"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"region_id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"street"}},{"kind":"Field","name":{"kind":"Name","value":"telephone"}}]}}]}}]}}]}}]} as unknown as DocumentNode<GetCartSummaryQuery, GetCartSummaryQueryVariables>;
7
- export type GetCartSummaryQueryVariables = Types.Exact<{
8
- cartId: Types.Scalars['String'];
9
- }>;
10
-
11
-
12
- export type GetCartSummaryQuery = { cart?: { email?: string | null | undefined, id: string, shipping_addresses: Array<{ __typename: 'ShippingCartAddress', firstname: string, lastname: string, city: string, company?: string | null | undefined, postcode?: string | null | undefined, street: Array<string | null | undefined>, telephone: string, country: { code: string, label: string }, region?: { code?: string | null | undefined, label?: string | null | undefined, region_id?: number | null | undefined } | null | undefined, selected_shipping_method?: { carrier_code: string, method_code: string, carrier_title: string, method_title: string } | null | undefined, available_shipping_methods?: Array<{ available: boolean, carrier_code: string, carrier_title: string, error_message?: string | null | undefined, method_code?: string | null | undefined, method_title?: string | null | undefined, amount: { currency?: Types.CurrencyEnum | null | undefined, value?: number | null | undefined } } | null | undefined> | null | undefined } | null | undefined>, billing_address?: { __typename: 'BillingCartAddress', firstname: string, lastname: string, city: string, company?: string | null | undefined, postcode?: string | null | undefined, street: Array<string | null | undefined>, telephone: string, country: { code: string, label: string }, region?: { code?: string | null | undefined, label?: string | null | undefined, region_id?: number | null | undefined } | null | undefined } | null | undefined } | null | undefined };
@@ -1,4 +0,0 @@
1
- /* eslint-disable */
2
- import * as Types from '@graphcommerce/graphql';
3
-
4
- export type CartTotalsFragment = { shipping_addresses: Array<{ selected_shipping_method?: { carrier_code: string, method_code: string, method_title: string, carrier_title: string, amount: { currency?: Types.CurrencyEnum | null | undefined, value?: number | null | undefined } } | null | undefined, available_shipping_methods?: Array<{ carrier_code: string, method_code?: string | null | undefined, price_incl_tax: { currency?: Types.CurrencyEnum | null | undefined, value?: number | null | undefined }, price_excl_tax: { currency?: Types.CurrencyEnum | null | undefined, value?: number | null | undefined } } | null | undefined> | null | undefined } | null | undefined>, prices?: { __typename: 'CartPrices', applied_taxes?: Array<{ label: string, amount: { currency?: Types.CurrencyEnum | null | undefined, value?: number | null | undefined } } | null | undefined> | null | undefined, discounts?: Array<{ label: string, amount: { currency?: Types.CurrencyEnum | null | undefined, value?: number | null | undefined } } | null | undefined> | null | undefined, grand_total?: { currency?: Types.CurrencyEnum | null | undefined, value?: number | null | undefined } | null | undefined, subtotal_excluding_tax?: { currency?: Types.CurrencyEnum | null | undefined, value?: number | null | undefined } | null | undefined, subtotal_including_tax?: { currency?: Types.CurrencyEnum | null | undefined, value?: number | null | undefined } | null | undefined, subtotal_with_discount_excluding_tax?: { currency?: Types.CurrencyEnum | null | undefined, value?: number | null | undefined } | null | undefined } | null | undefined };
@@ -1,12 +0,0 @@
1
- /* eslint-disable */
2
- import * as Types from '@graphcommerce/graphql';
3
-
4
- import { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core';
5
-
6
- export const GetCartTotalsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetCartTotals"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"cartId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"cart"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"cart_id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"cartId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"shipping_addresses"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"selected_shipping_method"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"carrier_code"}},{"kind":"Field","name":{"kind":"Name","value":"method_code"}},{"kind":"Field","name":{"kind":"Name","value":"method_title"}},{"kind":"Field","name":{"kind":"Name","value":"carrier_title"}},{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"available_shipping_methods"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"carrier_code"}},{"kind":"Field","name":{"kind":"Name","value":"method_code"}},{"kind":"Field","name":{"kind":"Name","value":"price_incl_tax"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"price_excl_tax"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"prices"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"applied_taxes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"label"}}]}},{"kind":"Field","name":{"kind":"Name","value":"discounts"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"label"}}]}},{"kind":"Field","name":{"kind":"Name","value":"grand_total"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"subtotal_excluding_tax"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"subtotal_including_tax"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"subtotal_with_discount_excluding_tax"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}}]}}]}}]}}]} as unknown as DocumentNode<GetCartTotalsQuery, GetCartTotalsQueryVariables>;
7
- export type GetCartTotalsQueryVariables = Types.Exact<{
8
- cartId: Types.Scalars['String'];
9
- }>;
10
-
11
-
12
- export type GetCartTotalsQuery = { cart?: { shipping_addresses: Array<{ selected_shipping_method?: { carrier_code: string, method_code: string, method_title: string, carrier_title: string, amount: { currency?: Types.CurrencyEnum | null | undefined, value?: number | null | undefined } } | null | undefined, available_shipping_methods?: Array<{ carrier_code: string, method_code?: string | null | undefined, price_incl_tax: { currency?: Types.CurrencyEnum | null | undefined, value?: number | null | undefined }, price_excl_tax: { currency?: Types.CurrencyEnum | null | undefined, value?: number | null | undefined } } | null | undefined> | null | undefined } | null | undefined>, prices?: { __typename: 'CartPrices', applied_taxes?: Array<{ label: string, amount: { currency?: Types.CurrencyEnum | null | undefined, value?: number | null | undefined } } | null | undefined> | null | undefined, discounts?: Array<{ label: string, amount: { currency?: Types.CurrencyEnum | null | undefined, value?: number | null | undefined } } | null | undefined> | null | undefined, grand_total?: { currency?: Types.CurrencyEnum | null | undefined, value?: number | null | undefined } | null | undefined, subtotal_excluding_tax?: { currency?: Types.CurrencyEnum | null | undefined, value?: number | null | undefined } | null | undefined, subtotal_including_tax?: { currency?: Types.CurrencyEnum | null | undefined, value?: number | null | undefined } | null | undefined, subtotal_with_discount_excluding_tax?: { currency?: Types.CurrencyEnum | null | undefined, value?: number | null | undefined } | null | undefined } | null | undefined } | null | undefined };
@@ -1,12 +0,0 @@
1
- /* eslint-disable */
2
- import * as Types from '@graphcommerce/graphql';
3
-
4
- import { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core';
5
-
6
- export const InlineAccountDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"InlineAccount"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"cartId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"cart"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"cart_id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"cartId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"shipping_addresses"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CartAddressInterface"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"firstname"}},{"kind":"Field","name":{"kind":"Name","value":"lastname"}},{"kind":"Field","name":{"kind":"Name","value":"city"}},{"kind":"Field","name":{"kind":"Name","value":"company"}},{"kind":"Field","name":{"kind":"Name","value":"country"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"label"}}]}},{"kind":"Field","name":{"kind":"Name","value":"postcode"}},{"kind":"Field","name":{"kind":"Name","value":"region"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"region_id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"street"}},{"kind":"Field","name":{"kind":"Name","value":"telephone"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"email"}}]}}]}}]} as unknown as DocumentNode<InlineAccountQuery, InlineAccountQueryVariables>;
7
- export type InlineAccountQueryVariables = Types.Exact<{
8
- cartId: Types.Scalars['String'];
9
- }>;
10
-
11
-
12
- export type InlineAccountQuery = { cart?: { __typename: 'Cart', id: string, email?: string | null | undefined, shipping_addresses: Array<{ __typename: 'ShippingCartAddress', firstname: string, lastname: string, city: string, company?: string | null | undefined, postcode?: string | null | undefined, street: Array<string | null | undefined>, telephone: string, country: { code: string, label: string }, region?: { code?: string | null | undefined, label?: string | null | undefined, region_id?: number | null | undefined } | null | undefined } | null | undefined> } | null | undefined };
@@ -1,10 +0,0 @@
1
- /* eslint-disable */
2
- import * as Types from '@graphcommerce/graphql';
3
-
4
- import { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core';
5
-
6
- export const CreateEmptyCartDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"CreateEmptyCart"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"createEmptyCart"}}]}}]} as unknown as DocumentNode<CreateEmptyCartMutation, CreateEmptyCartMutationVariables>;
7
- export type CreateEmptyCartMutationVariables = Types.Exact<{ [key: string]: never; }>;
8
-
9
-
10
- export type CreateEmptyCartMutation = { createEmptyCart?: string | null | undefined };
@@ -1,10 +0,0 @@
1
- /* eslint-disable */
2
- import * as Types from '@graphcommerce/graphql';
3
-
4
- import { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core';
5
-
6
- export const CurrentCartIdDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"CurrentCartId"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"currentCartId"},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"client"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]} as unknown as DocumentNode<CurrentCartIdQuery, CurrentCartIdQueryVariables>;
7
- export type CurrentCartIdQueryVariables = Types.Exact<{ [key: string]: never; }>;
8
-
9
-
10
- export type CurrentCartIdQuery = { currentCartId?: { __typename: 'CurrentCartId', id?: string | null | undefined } | null | undefined };
@@ -1,10 +0,0 @@
1
- /* eslint-disable */
2
- import * as Types from '@graphcommerce/graphql';
3
-
4
- import { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core';
5
-
6
- export const CustomerCartDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"CustomerCart"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"customerCart"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"uid"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}}]}},{"kind":"Field","name":{"kind":"Name","value":"total_quantity"}},{"kind":"Field","name":{"kind":"Name","value":"prices"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"grand_total"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"applied_taxes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"label"}}]}},{"kind":"Field","name":{"kind":"Name","value":"discounts"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"label"}}]}},{"kind":"Field","name":{"kind":"Name","value":"subtotal_excluding_tax"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"subtotal_including_tax"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"subtotal_with_discount_excluding_tax"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"shipping_addresses"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"selected_shipping_method"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"carrier_code"}},{"kind":"Field","name":{"kind":"Name","value":"method_code"}},{"kind":"Field","name":{"kind":"Name","value":"method_title"}},{"kind":"Field","name":{"kind":"Name","value":"carrier_title"}},{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"available_shipping_methods"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"carrier_code"}},{"kind":"Field","name":{"kind":"Name","value":"method_code"}},{"kind":"Field","name":{"kind":"Name","value":"price_incl_tax"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"price_excl_tax"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}}]}}]}}]}}]}}]} as unknown as DocumentNode<CustomerCartQuery, CustomerCartQueryVariables>;
7
- export type CustomerCartQueryVariables = Types.Exact<{ [key: string]: never; }>;
8
-
9
-
10
- export type CustomerCartQuery = { customerCart: { __typename: 'Cart', id: string, total_quantity: number, items?: Array<{ __typename: 'BundleCartItem', uid: string, quantity: number } | { __typename: 'ConfigurableCartItem', uid: string, quantity: number } | { __typename: 'DownloadableCartItem', uid: string, quantity: number } | { __typename: 'SimpleCartItem', uid: string, quantity: number } | { __typename: 'VirtualCartItem', uid: string, quantity: number } | null | undefined> | null | undefined, prices?: { __typename: 'CartPrices', grand_total?: { currency?: Types.CurrencyEnum | null | undefined, value?: number | null | undefined } | null | undefined, applied_taxes?: Array<{ label: string, amount: { currency?: Types.CurrencyEnum | null | undefined, value?: number | null | undefined } } | null | undefined> | null | undefined, discounts?: Array<{ label: string, amount: { currency?: Types.CurrencyEnum | null | undefined, value?: number | null | undefined } } | null | undefined> | null | undefined, subtotal_excluding_tax?: { currency?: Types.CurrencyEnum | null | undefined, value?: number | null | undefined } | null | undefined, subtotal_including_tax?: { currency?: Types.CurrencyEnum | null | undefined, value?: number | null | undefined } | null | undefined, subtotal_with_discount_excluding_tax?: { currency?: Types.CurrencyEnum | null | undefined, value?: number | null | undefined } | null | undefined } | null | undefined, shipping_addresses: Array<{ selected_shipping_method?: { carrier_code: string, method_code: string, method_title: string, carrier_title: string, amount: { currency?: Types.CurrencyEnum | null | undefined, value?: number | null | undefined } } | null | undefined, available_shipping_methods?: Array<{ carrier_code: string, method_code?: string | null | undefined, price_incl_tax: { currency?: Types.CurrencyEnum | null | undefined, value?: number | null | undefined }, price_excl_tax: { currency?: Types.CurrencyEnum | null | undefined, value?: number | null | undefined } } | null | undefined> | null | undefined } | null | undefined> } };
@@ -1,12 +0,0 @@
1
- /* eslint-disable */
2
- import * as Types from '@graphcommerce/graphql';
3
-
4
- import { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core';
5
-
6
- export const UseCartRedirectDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"UseCartRedirect"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"cartId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"cart"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"cart_id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"cartId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]} as unknown as DocumentNode<UseCartRedirectQuery, UseCartRedirectQueryVariables>;
7
- export type UseCartRedirectQueryVariables = Types.Exact<{
8
- cartId: Types.Scalars['String'];
9
- }>;
10
-
11
-
12
- export type UseCartRedirectQuery = { cart?: { id: string } | null | undefined };
@@ -1,13 +0,0 @@
1
- /* eslint-disable */
2
- import * as Types from '@graphcommerce/graphql';
3
-
4
- import { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core';
5
-
6
- export const UseMergeCustomerCartDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UseMergeCustomerCart"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"sourceCartId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"destinationCartId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"mergeCarts"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"source_cart_id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"sourceCartId"}}},{"kind":"Argument","name":{"kind":"Name","value":"destination_cart_id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"destinationCartId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]} as unknown as DocumentNode<UseMergeCustomerCartMutation, UseMergeCustomerCartMutationVariables>;
7
- export type UseMergeCustomerCartMutationVariables = Types.Exact<{
8
- sourceCartId: Types.Scalars['String'];
9
- destinationCartId: Types.Scalars['String'];
10
- }>;
11
-
12
-
13
- export type UseMergeCustomerCartMutation = { mergeCarts: { __typename: 'Cart', id: string } };