@graphcommerce/magento-cart-items 2.104.25 → 2.104.29

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@graphcommerce/magento-cart-items",
3
- "version": "2.104.25",
3
+ "version": "2.104.29",
4
4
  "sideEffects": false,
5
5
  "prettier": "@graphcommerce/prettier-config-pwa",
6
6
  "browserslist": [
@@ -14,21 +14,21 @@
14
14
  },
15
15
  "devDependencies": {
16
16
  "@graphcommerce/browserslist-config-pwa": "^3.0.2",
17
- "@graphcommerce/eslint-config-pwa": "^3.0.6",
17
+ "@graphcommerce/eslint-config-pwa": "^3.0.7",
18
18
  "@graphcommerce/prettier-config-pwa": "^3.0.3",
19
19
  "@graphcommerce/typescript-config-pwa": "^3.1.1",
20
- "@playwright/test": "^1.15.0"
20
+ "@playwright/test": "^1.15.2"
21
21
  },
22
22
  "dependencies": {
23
23
  "@apollo/client": "^3.4.16",
24
- "@graphcommerce/graphql": "^2.103.6",
25
- "@graphcommerce/image": "^2.104.9",
26
- "@graphcommerce/magento-cart": "^3.1.10",
27
- "@graphcommerce/magento-customer": "^3.0.23",
28
- "@graphcommerce/magento-product": "^3.0.25",
29
- "@graphcommerce/magento-store": "^3.0.21",
30
- "@graphcommerce/next-ui": "^3.3.1",
31
- "@graphcommerce/react-hook-form": "^2.102.7",
24
+ "@graphcommerce/graphql": "^2.103.7",
25
+ "@graphcommerce/image": "^2.104.10",
26
+ "@graphcommerce/magento-cart": "^3.1.14",
27
+ "@graphcommerce/magento-customer": "^3.1.1",
28
+ "@graphcommerce/magento-product": "^3.0.29",
29
+ "@graphcommerce/magento-store": "^3.0.25",
30
+ "@graphcommerce/next-ui": "^3.5.0",
31
+ "@graphcommerce/react-hook-form": "^2.102.8",
32
32
  "@graphql-typed-document-node/core": "^3.1.0",
33
33
  "@material-ui/core": "^4.12.3",
34
34
  "@material-ui/lab": "^4.0.0-alpha.60",
@@ -38,5 +38,5 @@
38
38
  "react": "^17.0.2",
39
39
  "react-dom": "^17.0.2"
40
40
  },
41
- "gitHead": "06977d2e65b4ab4eb4a472fc56f8b1a99512f1bd"
41
+ "gitHead": "08f4dbe739a38ece2c47aa1e94c10f8397da27fa"
42
42
  }
@@ -1,14 +0,0 @@
1
- /* eslint-disable */
2
- import * as Types from '@graphcommerce/graphql';
3
-
4
- export type CartItem_BundleCartItem_Fragment = { uid: string, quantity: number, product: { __typename: 'BundleProduct', uid: string, name?: string | null | undefined, url_key?: string | null | undefined, thumbnail?: { url?: string | null | undefined, label?: string | null | undefined } | null | undefined } | { __typename: 'ConfigurableProduct', uid: string, name?: string | null | undefined, url_key?: string | null | undefined, thumbnail?: { url?: string | null | undefined, label?: string | null | undefined } | null | undefined } | { __typename: 'DownloadableProduct', uid: string, name?: string | null | undefined, url_key?: string | null | undefined, thumbnail?: { url?: string | null | undefined, label?: string | null | undefined } | null | undefined } | { __typename: 'GroupedProduct', uid: string, name?: string | null | undefined, url_key?: string | null | undefined, thumbnail?: { url?: string | null | undefined, label?: string | null | undefined } | null | undefined } | { __typename: 'SimpleProduct', uid: string, name?: string | null | undefined, url_key?: string | null | undefined, thumbnail?: { url?: string | null | undefined, label?: string | null | undefined } | null | undefined } | { __typename: 'VirtualProduct', uid: string, name?: string | null | undefined, url_key?: 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, bundle_options: Array<{ uid: string, label: string, type: string, values: Array<{ uid: string, label: string, quantity: number, price: number } | null | undefined> } | null | undefined> };
5
-
6
- export type CartItem_ConfigurableCartItem_Fragment = { uid: string, quantity: number, product: { __typename: 'BundleProduct', uid: string, name?: string | null | undefined, url_key?: string | null | undefined, thumbnail?: { url?: string | null | undefined, label?: string | null | undefined } | null | undefined } | { __typename: 'ConfigurableProduct', uid: string, name?: string | null | undefined, url_key?: string | null | undefined, thumbnail?: { url?: string | null | undefined, label?: string | null | undefined } | null | undefined } | { __typename: 'DownloadableProduct', uid: string, name?: string | null | undefined, url_key?: string | null | undefined, thumbnail?: { url?: string | null | undefined, label?: string | null | undefined } | null | undefined } | { __typename: 'GroupedProduct', uid: string, name?: string | null | undefined, url_key?: string | null | undefined, thumbnail?: { url?: string | null | undefined, label?: string | null | undefined } | null | undefined } | { __typename: 'SimpleProduct', uid: string, name?: string | null | undefined, url_key?: string | null | undefined, thumbnail?: { url?: string | null | undefined, label?: string | null | undefined } | null | undefined } | { __typename: 'VirtualProduct', uid: string, name?: string | null | undefined, url_key?: 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, configurable_options: Array<{ configurable_product_option_uid: string, configurable_product_option_value_uid: string, option_label: string, value_label: string } | null | undefined> };
7
-
8
- export type CartItem_DownloadableCartItem_Fragment = { uid: string, quantity: number, product: { __typename: 'BundleProduct', uid: string, name?: string | null | undefined, url_key?: string | null | undefined, thumbnail?: { url?: string | null | undefined, label?: string | null | undefined } | null | undefined } | { __typename: 'ConfigurableProduct', uid: string, name?: string | null | undefined, url_key?: string | null | undefined, thumbnail?: { url?: string | null | undefined, label?: string | null | undefined } | null | undefined } | { __typename: 'DownloadableProduct', uid: string, name?: string | null | undefined, url_key?: string | null | undefined, thumbnail?: { url?: string | null | undefined, label?: string | null | undefined } | null | undefined } | { __typename: 'GroupedProduct', uid: string, name?: string | null | undefined, url_key?: string | null | undefined, thumbnail?: { url?: string | null | undefined, label?: string | null | undefined } | null | undefined } | { __typename: 'SimpleProduct', uid: string, name?: string | null | undefined, url_key?: string | null | undefined, thumbnail?: { url?: string | null | undefined, label?: string | null | undefined } | null | undefined } | { __typename: 'VirtualProduct', uid: string, name?: string | null | undefined, url_key?: 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, 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 };
9
-
10
- export type CartItem_SimpleCartItem_Fragment = { uid: string, quantity: number, product: { __typename: 'BundleProduct', uid: string, name?: string | null | undefined, url_key?: string | null | undefined, thumbnail?: { url?: string | null | undefined, label?: string | null | undefined } | null | undefined } | { __typename: 'ConfigurableProduct', uid: string, name?: string | null | undefined, url_key?: string | null | undefined, thumbnail?: { url?: string | null | undefined, label?: string | null | undefined } | null | undefined } | { __typename: 'DownloadableProduct', uid: string, name?: string | null | undefined, url_key?: string | null | undefined, thumbnail?: { url?: string | null | undefined, label?: string | null | undefined } | null | undefined } | { __typename: 'GroupedProduct', uid: string, name?: string | null | undefined, url_key?: string | null | undefined, thumbnail?: { url?: string | null | undefined, label?: string | null | undefined } | null | undefined } | { __typename: 'SimpleProduct', uid: string, name?: string | null | undefined, url_key?: string | null | undefined, thumbnail?: { url?: string | null | undefined, label?: string | null | undefined } | null | undefined } | { __typename: 'VirtualProduct', uid: string, name?: string | null | undefined, url_key?: 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 };
11
-
12
- export type CartItem_VirtualCartItem_Fragment = { uid: string, quantity: number, product: { __typename: 'BundleProduct', uid: string, name?: string | null | undefined, url_key?: string | null | undefined, thumbnail?: { url?: string | null | undefined, label?: string | null | undefined } | null | undefined } | { __typename: 'ConfigurableProduct', uid: string, name?: string | null | undefined, url_key?: string | null | undefined, thumbnail?: { url?: string | null | undefined, label?: string | null | undefined } | null | undefined } | { __typename: 'DownloadableProduct', uid: string, name?: string | null | undefined, url_key?: string | null | undefined, thumbnail?: { url?: string | null | undefined, label?: string | null | undefined } | null | undefined } | { __typename: 'GroupedProduct', uid: string, name?: string | null | undefined, url_key?: string | null | undefined, thumbnail?: { url?: string | null | undefined, label?: string | null | undefined } | null | undefined } | { __typename: 'SimpleProduct', uid: string, name?: string | null | undefined, url_key?: string | null | undefined, thumbnail?: { url?: string | null | undefined, label?: string | null | undefined } | null | undefined } | { __typename: 'VirtualProduct', uid: string, name?: string | null | undefined, url_key?: 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 };
13
-
14
- export type CartItemFragment = CartItem_BundleCartItem_Fragment | CartItem_ConfigurableCartItem_Fragment | CartItem_DownloadableCartItem_Fragment | CartItem_SimpleCartItem_Fragment | CartItem_VirtualCartItem_Fragment;
@@ -1,4 +0,0 @@
1
- /* eslint-disable */
2
- import * as Types from '@graphcommerce/graphql';
3
-
4
- export type CartItemsFragment = { id: string, items?: Array<{ __typename: 'BundleCartItem', uid: string, quantity: number, product: { __typename: 'BundleProduct', uid: string, name?: string | null | undefined, url_key?: string | null | undefined, thumbnail?: { url?: string | null | undefined, label?: string | null | undefined } | null | undefined } | { __typename: 'ConfigurableProduct', uid: string, name?: string | null | undefined, url_key?: string | null | undefined, thumbnail?: { url?: string | null | undefined, label?: string | null | undefined } | null | undefined } | { __typename: 'DownloadableProduct', uid: string, name?: string | null | undefined, url_key?: string | null | undefined, thumbnail?: { url?: string | null | undefined, label?: string | null | undefined } | null | undefined } | { __typename: 'GroupedProduct', uid: string, name?: string | null | undefined, url_key?: string | null | undefined, thumbnail?: { url?: string | null | undefined, label?: string | null | undefined } | null | undefined } | { __typename: 'SimpleProduct', uid: string, name?: string | null | undefined, url_key?: string | null | undefined, thumbnail?: { url?: string | null | undefined, label?: string | null | undefined } | null | undefined } | { __typename: 'VirtualProduct', uid: string, name?: string | null | undefined, url_key?: 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, bundle_options: Array<{ uid: string, label: string, type: string, values: Array<{ uid: string, label: string, quantity: number, price: number } | null | undefined> } | null | undefined> } | { __typename: 'ConfigurableCartItem', uid: string, quantity: number, product: { __typename: 'BundleProduct', uid: string, name?: string | null | undefined, url_key?: string | null | undefined, thumbnail?: { url?: string | null | undefined, label?: string | null | undefined } | null | undefined } | { __typename: 'ConfigurableProduct', uid: string, name?: string | null | undefined, url_key?: string | null | undefined, thumbnail?: { url?: string | null | undefined, label?: string | null | undefined } | null | undefined } | { __typename: 'DownloadableProduct', uid: string, name?: string | null | undefined, url_key?: string | null | undefined, thumbnail?: { url?: string | null | undefined, label?: string | null | undefined } | null | undefined } | { __typename: 'GroupedProduct', uid: string, name?: string | null | undefined, url_key?: string | null | undefined, thumbnail?: { url?: string | null | undefined, label?: string | null | undefined } | null | undefined } | { __typename: 'SimpleProduct', uid: string, name?: string | null | undefined, url_key?: string | null | undefined, thumbnail?: { url?: string | null | undefined, label?: string | null | undefined } | null | undefined } | { __typename: 'VirtualProduct', uid: string, name?: string | null | undefined, url_key?: 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, configurable_options: Array<{ configurable_product_option_uid: string, configurable_product_option_value_uid: string, option_label: string, value_label: string } | null | undefined> } | { __typename: 'DownloadableCartItem', uid: string, quantity: number, product: { __typename: 'BundleProduct', uid: string, name?: string | null | undefined, url_key?: string | null | undefined, thumbnail?: { url?: string | null | undefined, label?: string | null | undefined } | null | undefined } | { __typename: 'ConfigurableProduct', uid: string, name?: string | null | undefined, url_key?: string | null | undefined, thumbnail?: { url?: string | null | undefined, label?: string | null | undefined } | null | undefined } | { __typename: 'DownloadableProduct', uid: string, name?: string | null | undefined, url_key?: string | null | undefined, thumbnail?: { url?: string | null | undefined, label?: string | null | undefined } | null | undefined } | { __typename: 'GroupedProduct', uid: string, name?: string | null | undefined, url_key?: string | null | undefined, thumbnail?: { url?: string | null | undefined, label?: string | null | undefined } | null | undefined } | { __typename: 'SimpleProduct', uid: string, name?: string | null | undefined, url_key?: string | null | undefined, thumbnail?: { url?: string | null | undefined, label?: string | null | undefined } | null | undefined } | { __typename: 'VirtualProduct', uid: string, name?: string | null | undefined, url_key?: 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, 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 } | { __typename: 'SimpleCartItem', uid: string, quantity: number, product: { __typename: 'BundleProduct', uid: string, name?: string | null | undefined, url_key?: string | null | undefined, thumbnail?: { url?: string | null | undefined, label?: string | null | undefined } | null | undefined } | { __typename: 'ConfigurableProduct', uid: string, name?: string | null | undefined, url_key?: string | null | undefined, thumbnail?: { url?: string | null | undefined, label?: string | null | undefined } | null | undefined } | { __typename: 'DownloadableProduct', uid: string, name?: string | null | undefined, url_key?: string | null | undefined, thumbnail?: { url?: string | null | undefined, label?: string | null | undefined } | null | undefined } | { __typename: 'GroupedProduct', uid: string, name?: string | null | undefined, url_key?: string | null | undefined, thumbnail?: { url?: string | null | undefined, label?: string | null | undefined } | null | undefined } | { __typename: 'SimpleProduct', uid: string, name?: string | null | undefined, url_key?: string | null | undefined, thumbnail?: { url?: string | null | undefined, label?: string | null | undefined } | null | undefined } | { __typename: 'VirtualProduct', uid: string, name?: string | null | undefined, url_key?: 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, name?: string | null | undefined, url_key?: string | null | undefined, thumbnail?: { url?: string | null | undefined, label?: string | null | undefined } | null | undefined } | { __typename: 'ConfigurableProduct', uid: string, name?: string | null | undefined, url_key?: string | null | undefined, thumbnail?: { url?: string | null | undefined, label?: string | null | undefined } | null | undefined } | { __typename: 'DownloadableProduct', uid: string, name?: string | null | undefined, url_key?: string | null | undefined, thumbnail?: { url?: string | null | undefined, label?: string | null | undefined } | null | undefined } | { __typename: 'GroupedProduct', uid: string, name?: string | null | undefined, url_key?: string | null | undefined, thumbnail?: { url?: string | null | undefined, label?: string | null | undefined } | null | undefined } | { __typename: 'SimpleProduct', uid: string, name?: string | null | undefined, url_key?: string | null | undefined, thumbnail?: { url?: string | null | undefined, label?: string | null | undefined } | null | undefined } | { __typename: 'VirtualProduct', uid: string, name?: string | null | undefined, url_key?: 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 };
@@ -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 CartItemsQueryDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"CartItemsQuery"},"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"}}]}}]}}]}}]}}]}}]} as unknown as DocumentNode<CartItemsQuery, CartItemsQueryVariables>;
7
- export type CartItemsQueryVariables = Types.Exact<{
8
- cartId: Types.Scalars['String'];
9
- }>;
10
-
11
-
12
- export type CartItemsQuery = { 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 } | 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 RemoveItemFromCartDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"RemoveItemFromCart"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"cartId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"uid"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"removeItemFromCart"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"cart_id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"cartId"}}},{"kind":"ObjectField","name":{"kind":"Name","value":"cart_item_uid"},"value":{"kind":"Variable","name":{"kind":"Name","value":"uid"}}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"cart"},"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":"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":"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<RemoveItemFromCartMutation, RemoveItemFromCartMutationVariables>;
7
- export type RemoveItemFromCartMutationVariables = Types.Exact<{
8
- cartId: Types.Scalars['String'];
9
- uid: Types.Scalars['ID'];
10
- }>;
11
-
12
-
13
- export type RemoveItemFromCartMutation = { removeItemFromCart?: { cart: { __typename: 'Cart', id: string, total_quantity: number, 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, 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> } } | null | undefined };
@@ -1,14 +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 UpdateItemQuantityDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateItemQuantity"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"cartId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"uid"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"quantity"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Float"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateCartItems"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"cart_id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"cartId"}}},{"kind":"ObjectField","name":{"kind":"Name","value":"cart_items"},"value":{"kind":"ListValue","values":[{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"cart_item_uid"},"value":{"kind":"Variable","name":{"kind":"Name","value":"uid"}}},{"kind":"ObjectField","name":{"kind":"Name","value":"quantity"},"value":{"kind":"Variable","name":{"kind":"Name","value":"quantity"}}}]}]}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"cart"},"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":"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":"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<UpdateItemQuantityMutation, UpdateItemQuantityMutationVariables>;
7
- export type UpdateItemQuantityMutationVariables = Types.Exact<{
8
- cartId: Types.Scalars['String'];
9
- uid: Types.Scalars['ID'];
10
- quantity: Types.Scalars['Float'];
11
- }>;
12
-
13
-
14
- export type UpdateItemQuantityMutation = { updateCartItems?: { cart: { __typename: 'Cart', id: string, total_quantity: number, 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, 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> } } | null | undefined };