@dropins/storefront-checkout 0.1.0-alpha37 → 0.1.0-alpha39

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.
Files changed (90) hide show
  1. package/__generated__/types.d.ts +714 -1907
  2. package/api/estimateShippingMethods/fixtures.d.ts +1 -1
  3. package/api/getCart/graphql/getCart.graphql.d.ts +1 -1
  4. package/api/getCheckoutData/getCheckoutData.d.ts +2 -0
  5. package/api/getCheckoutData/index.d.ts +2 -0
  6. package/api/getCountries/getCountries.d.ts +1 -3
  7. package/api/getCustomer/fixtures.d.ts +5 -0
  8. package/api/getStoreConfig/getStoreConfig.d.ts +3 -1
  9. package/api/getStoreConfig/graphql/getStoreConfig.graphql.d.ts +1 -1
  10. package/api/index.d.ts +4 -0
  11. package/api/initialize/listeners.d.ts +4 -0
  12. package/api/initializeCheckout/index.d.ts +2 -0
  13. package/api/initializeCheckout/initializeCheckout.d.ts +2 -0
  14. package/api/placeOrder/graphql/placeOrder.graphql.d.ts +1 -1
  15. package/api/resetCheckout/index.d.ts +2 -0
  16. package/api/resetCheckout/resetCheckout.d.ts +2 -0
  17. package/api/resetCustomer/index.d.ts +2 -0
  18. package/api/resetCustomer/resetCustomer.d.ts +2 -0
  19. package/api/utils/dispatchApiCall.d.ts +13 -4
  20. package/api.js +1 -1
  21. package/chunks/BillToShippingAddress2.js +1 -1
  22. package/chunks/BillingForm.js +1 -1
  23. package/chunks/LoginForm.js +1 -1
  24. package/chunks/PlaceOrder.js +1 -1
  25. package/chunks/ShippingForm.js +1 -1
  26. package/chunks/ShippingMethods.js +1 -1
  27. package/chunks/ToggleButton.js +1 -1
  28. package/chunks/ToggleButton2.js +1 -1
  29. package/chunks/address-form-fields.js +1 -43
  30. package/chunks/fixtures.js +44 -0
  31. package/chunks/getCart.graphql.js +12 -4
  32. package/chunks/getCustomer.js +34 -0
  33. package/chunks/getMultilineValues.js +43 -0
  34. package/chunks/placeOrder2.js +68 -35
  35. package/chunks/resetCustomer.js +7 -0
  36. package/chunks/setBillingAddress.js +3 -3
  37. package/chunks/setGuestEmailOnCart.js +3 -3
  38. package/chunks/setPaymentMethod.js +2 -2
  39. package/chunks/setShippingAddress.js +3 -3
  40. package/chunks/setShippingMethods.js +3 -3
  41. package/components/AddressForm/useAddressBackup.d.ts +2 -2
  42. package/components/EstimateShipping/EstimateShipping.d.ts +12 -0
  43. package/components/EstimateShipping/EstimateShippingSkeleton.d.ts +4 -0
  44. package/components/EstimateShipping/index.d.ts +4 -0
  45. package/components/LoginForm/LoginForm.d.ts +0 -1
  46. package/components/index.d.ts +1 -0
  47. package/containers/BillToShippingAddress.js +1 -1
  48. package/containers/BillingForm.js +1 -1
  49. package/containers/Checkout.js +1 -1
  50. package/containers/EstimateShipping/EstimateShipping.d.ts +4 -0
  51. package/containers/EstimateShipping/index.d.ts +3 -0
  52. package/containers/EstimateShipping.d.ts +3 -0
  53. package/containers/EstimateShipping.js +1 -0
  54. package/containers/LoginForm/LoginForm.d.ts +1 -1
  55. package/containers/LoginForm.js +1 -1
  56. package/containers/PaymentMethods.js +1 -1
  57. package/containers/PlaceOrder.js +1 -1
  58. package/containers/ShippingForm.js +1 -1
  59. package/containers/ShippingMethods.js +1 -1
  60. package/containers/index.d.ts +1 -0
  61. package/context/index.d.ts +0 -4
  62. package/data/models/address-form-fields.d.ts +2 -2
  63. package/data/models/order.d.ts +39 -4
  64. package/data/models/store-config.d.ts +8 -0
  65. package/data/transforms/transform-address.d.ts +10 -0
  66. package/data/transforms/transform-shipping-methods.d.ts +1 -1
  67. package/data/transforms/transform-store-config.d.ts +2 -1
  68. package/i18n/en_US.json.d.ts +8 -0
  69. package/lib/backup-data.d.ts +4 -0
  70. package/lib/index.d.ts +0 -1
  71. package/msw/fixtures/fragments/cart.d.ts +10 -0
  72. package/package.json +1 -1
  73. package/render.js +3 -3
  74. package/signals/CountryListSignal.d.ts +7 -0
  75. package/signals/StoreConfigSignal.d.ts +7 -0
  76. package/signals/index.d.ts +2 -1
  77. package/tests/integration/utils/setup.d.ts +1 -1
  78. package/chunks/getStoreConfig.js +0 -49
  79. package/chunks/initialize.js +0 -1
  80. package/chunks/transform-shipping-methods.js +0 -1
  81. package/context/checkout.d.ts +0 -44
  82. package/context/countries.d.ts +0 -13
  83. package/context/services.d.ts +0 -13
  84. package/context/store.d.ts +0 -12
  85. package/hooks/useAuthentication/index.d.ts +0 -2
  86. package/hooks/useAuthentication/useAuthentication.d.ts +0 -2
  87. package/lib/localStorage.d.ts +0 -10
  88. package/services/backup.d.ts +0 -17
  89. package/services/index.d.ts +0 -2
  90. package/signals/AuthenticationSignal.d.ts +0 -2
@@ -720,6 +720,8 @@ export type BundleCartItem = CartItemInterface & {
720
720
  id: Scalars['String']['output'];
721
721
  /** True if requested quantity is less than available stock, false otherwise. */
722
722
  is_available: Scalars['Boolean']['output'];
723
+ /** Message to display when the product is not available with this selected option. */
724
+ not_available_message?: Maybe<Scalars['String']['output']>;
723
725
  /** Contains details about the price of the item, including taxes and discounts. */
724
726
  prices?: Maybe<CartItemPrices>;
725
727
  /** Details about an item in the cart. */
@@ -1381,6 +1383,8 @@ export type CartItemInterface = {
1381
1383
  id: Scalars['String']['output'];
1382
1384
  /** True if requested quantity is less than available stock, false otherwise. */
1383
1385
  is_available: Scalars['Boolean']['output'];
1386
+ /** Message to display when the product is not available with this selected option. */
1387
+ not_available_message?: Maybe<Scalars['String']['output']>;
1384
1388
  /** Contains details about the price of the item, including taxes and discounts. */
1385
1389
  prices?: Maybe<CartItemPrices>;
1386
1390
  /** Details about an item in the cart. */
@@ -1934,6 +1938,8 @@ export type ConfigurableCartItem = CartItemInterface & {
1934
1938
  id: Scalars['String']['output'];
1935
1939
  /** True if requested quantity is less than available stock, false otherwise. */
1936
1940
  is_available: Scalars['Boolean']['output'];
1941
+ /** Message to display when the product is not available with this selected option. */
1942
+ not_available_message?: Maybe<Scalars['String']['output']>;
1937
1943
  /** Contains details about the price of the item, including taxes and discounts. */
1938
1944
  prices?: Maybe<CartItemPrices>;
1939
1945
  /** Details about an item in the cart. */
@@ -4179,6 +4185,8 @@ export type DownloadableCartItem = CartItemInterface & {
4179
4185
  is_available: Scalars['Boolean']['output'];
4180
4186
  /** An array containing information about the links for the downloadable product added to the cart. */
4181
4187
  links?: Maybe<Array<Maybe<DownloadableProductLinks>>>;
4188
+ /** Message to display when the product is not available with this selected option. */
4189
+ not_available_message?: Maybe<Scalars['String']['output']>;
4182
4190
  /** Contains details about the price of the item, including taxes and discounts. */
4183
4191
  prices?: Maybe<CartItemPrices>;
4184
4192
  /** Details about an item in the cart. */
@@ -4869,6 +4877,8 @@ export type GiftCardCartItem = CartItemInterface & {
4869
4877
  is_available: Scalars['Boolean']['output'];
4870
4878
  /** The message from the sender to the recipient. */
4871
4879
  message?: Maybe<Scalars['String']['output']>;
4880
+ /** Message to display when the product is not available with this selected option. */
4881
+ not_available_message?: Maybe<Scalars['String']['output']>;
4872
4882
  /** Contains details about the price of the item, including taxes and discounts. */
4873
4883
  prices?: Maybe<CartItemPrices>;
4874
4884
  /** Details about an item in the cart. */
@@ -6924,6 +6934,8 @@ export type OrderAddress = {
6924
6934
  company?: Maybe<Scalars['String']['output']>;
6925
6935
  /** The customer's country. */
6926
6936
  country_code?: Maybe<CountryCodeEnum>;
6937
+ /** Custom attributes assigned to the customer address. */
6938
+ custom_attributesV2: Array<Maybe<AttributeValueInterface>>;
6927
6939
  /** The fax number. */
6928
6940
  fax?: Maybe<Scalars['String']['output']>;
6929
6941
  /** The first name of the person associated with the shipping/billing address. */
@@ -6949,6 +6961,10 @@ export type OrderAddress = {
6949
6961
  /** The customer's Value-added tax (VAT) number (for corporate customers). */
6950
6962
  vat_id?: Maybe<Scalars['String']['output']>;
6951
6963
  };
6964
+ /** Contains detailed information about an order's billing and shipping addresses. */
6965
+ export type OrderAddressCustom_AttributesV2Args = {
6966
+ attributeCodes?: InputMaybe<Array<Scalars['ID']['input']>>;
6967
+ };
6952
6968
  /** Input to retrieve an order based on details. */
6953
6969
  export type OrderInformationInput = {
6954
6970
  /** Order billing address email. */
@@ -9852,6 +9868,8 @@ export type SimpleCartItem = CartItemInterface & {
9852
9868
  id: Scalars['String']['output'];
9853
9869
  /** True if requested quantity is less than available stock, false otherwise. */
9854
9870
  is_available: Scalars['Boolean']['output'];
9871
+ /** Message to display when the product is not available with this selected option. */
9872
+ not_available_message?: Maybe<Scalars['String']['output']>;
9855
9873
  /** Contains details about the price of the item, including taxes and discounts. */
9856
9874
  prices?: Maybe<CartItemPrices>;
9857
9875
  /** Details about an item in the cart. */
@@ -10898,6 +10916,8 @@ export type VirtualCartItem = CartItemInterface & {
10898
10916
  id: Scalars['String']['output'];
10899
10917
  /** True if requested quantity is less than available stock, false otherwise. */
10900
10918
  is_available: Scalars['Boolean']['output'];
10919
+ /** Message to display when the product is not available with this selected option. */
10920
+ not_available_message?: Maybe<Scalars['String']['output']>;
10901
10921
  /** Contains details about the price of the item, including taxes and discounts. */
10902
10922
  prices?: Maybe<CartItemPrices>;
10903
10923
  /** Details about an item in the cart. */
@@ -13373,6 +13393,16 @@ export type CheckoutDataFragment = {
13373
13393
  value?: number | null;
13374
13394
  currency?: CurrencyEnum | null;
13375
13395
  };
13396
+ price_excl_tax: {
13397
+ __typename?: 'Money';
13398
+ value?: number | null;
13399
+ currency?: CurrencyEnum | null;
13400
+ };
13401
+ price_incl_tax: {
13402
+ __typename?: 'Money';
13403
+ value?: number | null;
13404
+ currency?: CurrencyEnum | null;
13405
+ };
13376
13406
  } | null;
13377
13407
  } | null>;
13378
13408
  available_payment_methods?: Array<{
@@ -13489,6 +13519,16 @@ export type GetCartQuery = {
13489
13519
  value?: number | null;
13490
13520
  currency?: CurrencyEnum | null;
13491
13521
  };
13522
+ price_excl_tax: {
13523
+ __typename?: 'Money';
13524
+ value?: number | null;
13525
+ currency?: CurrencyEnum | null;
13526
+ };
13527
+ price_incl_tax: {
13528
+ __typename?: 'Money';
13529
+ value?: number | null;
13530
+ currency?: CurrencyEnum | null;
13531
+ };
13492
13532
  } | null;
13493
13533
  } | null>;
13494
13534
  available_payment_methods?: Array<{
@@ -13606,6 +13646,16 @@ export type GetCustomerCartQuery = {
13606
13646
  value?: number | null;
13607
13647
  currency?: CurrencyEnum | null;
13608
13648
  };
13649
+ price_excl_tax: {
13650
+ __typename?: 'Money';
13651
+ value?: number | null;
13652
+ currency?: CurrencyEnum | null;
13653
+ };
13654
+ price_incl_tax: {
13655
+ __typename?: 'Money';
13656
+ value?: number | null;
13657
+ currency?: CurrencyEnum | null;
13658
+ };
13609
13659
  } | null;
13610
13660
  } | null>;
13611
13661
  available_payment_methods?: Array<{
@@ -13687,1913 +13737,248 @@ export type GetRegionsQuery = {
13687
13737
  } | null> | null;
13688
13738
  } | null;
13689
13739
  };
13690
- export type CartStockStatusFragment = {
13691
- __typename?: 'Cart';
13692
- id: string;
13693
- items?: Array<{
13694
- __typename: 'BundleCartItem';
13695
- uid: string;
13696
- quantity: number;
13697
- bundle_options: Array<{
13698
- __typename?: 'SelectedBundleOption';
13699
- uid: string;
13700
- values: Array<{
13701
- __typename?: 'SelectedBundleOptionValue';
13702
- uid: string;
13740
+ export type GetStoreConfigQueryVariables = Exact<{
13741
+ [key: string]: never;
13742
+ }>;
13743
+ export type GetStoreConfigQuery = {
13744
+ __typename?: 'Query';
13745
+ storeConfig?: {
13746
+ __typename?: 'StoreConfig';
13747
+ countries_with_required_region?: string | null;
13748
+ default_country?: string | null;
13749
+ display_state_if_optional?: boolean | null;
13750
+ is_guest_checkout_enabled?: boolean | null;
13751
+ is_one_page_checkout_enabled?: boolean | null;
13752
+ locale?: string | null;
13753
+ optional_zip_countries?: string | null;
13754
+ shopping_cart_display_shipping?: number | null;
13755
+ store_code?: string | null;
13756
+ } | null;
13757
+ };
13758
+ export type IsEmailAvailableQueryVariables = Exact<{
13759
+ email: Scalars['String']['input'];
13760
+ }>;
13761
+ export type IsEmailAvailableQuery = {
13762
+ __typename?: 'Query';
13763
+ isEmailAvailable?: {
13764
+ __typename?: 'IsEmailAvailableOutput';
13765
+ is_email_available?: boolean | null;
13766
+ } | null;
13767
+ };
13768
+ export type PlaceOrderMutationVariables = Exact<{
13769
+ cartId: Scalars['String']['input'];
13770
+ }>;
13771
+ export type PlaceOrderMutation = {
13772
+ __typename?: 'Mutation';
13773
+ placeOrder?: {
13774
+ __typename?: 'PlaceOrderOutput';
13775
+ orderV2?: {
13776
+ __typename?: 'CustomerOrder';
13777
+ number: string;
13778
+ status: string;
13779
+ token: string;
13780
+ is_virtual: boolean;
13781
+ email?: string | null;
13782
+ id: string;
13783
+ shipping_method?: string | null;
13784
+ applied_coupons: Array<{
13785
+ __typename?: 'AppliedCoupon';
13786
+ code: string;
13703
13787
  } | null>;
13704
- } | null>;
13705
- product: {
13706
- __typename?: 'BundleProduct';
13707
- uid: string;
13708
- name?: string | null;
13709
- sku?: string | null;
13710
- stock_status?: ProductStockStatus | null;
13711
- only_x_left_in_stock?: number | null;
13712
- items?: Array<{
13713
- __typename?: 'BundleItem';
13714
- uid?: string | null;
13715
- options?: Array<{
13716
- __typename?: 'BundleItemOption';
13717
- uid: string;
13718
- product?: {
13719
- __typename?: 'BundleProduct';
13720
- uid: string;
13721
- } | {
13722
- __typename?: 'ConfigurableProduct';
13723
- uid: string;
13724
- } | {
13725
- __typename?: 'DownloadableProduct';
13726
- uid: string;
13727
- } | {
13728
- __typename?: 'GiftCardProduct';
13729
- uid: string;
13730
- } | {
13731
- __typename?: 'GroupedProduct';
13732
- uid: string;
13733
- } | {
13734
- __typename?: 'SimpleProduct';
13735
- uid: string;
13736
- } | {
13737
- __typename?: 'VirtualProduct';
13738
- uid: string;
13739
- } | null;
13740
- } | null> | null;
13741
- } | null> | null;
13742
- } | {
13743
- __typename?: 'ConfigurableProduct';
13744
- uid: string;
13745
- name?: string | null;
13746
- sku?: string | null;
13747
- stock_status?: ProductStockStatus | null;
13748
- only_x_left_in_stock?: number | null;
13749
- variants?: Array<{
13750
- __typename?: 'ConfigurableVariant';
13751
- attributes?: Array<{
13752
- __typename?: 'ConfigurableAttributeOption';
13753
- uid: string;
13754
- } | null> | null;
13755
- product?: {
13756
- __typename?: 'SimpleProduct';
13757
- uid: string;
13758
- stock_status?: ProductStockStatus | null;
13759
- } | null;
13788
+ total?: {
13789
+ __typename?: 'OrderTotal';
13790
+ grand_total: {
13791
+ __typename?: 'Money';
13792
+ currency?: CurrencyEnum | null;
13793
+ value?: number | null;
13794
+ };
13795
+ subtotal: {
13796
+ __typename?: 'Money';
13797
+ currency?: CurrencyEnum | null;
13798
+ value?: number | null;
13799
+ };
13800
+ total_shipping: {
13801
+ __typename?: 'Money';
13802
+ currency?: CurrencyEnum | null;
13803
+ value?: number | null;
13804
+ };
13805
+ total_tax: {
13806
+ __typename?: 'Money';
13807
+ currency?: CurrencyEnum | null;
13808
+ value?: number | null;
13809
+ };
13810
+ } | null;
13811
+ payment_methods?: Array<{
13812
+ __typename?: 'OrderPaymentMethod';
13813
+ name: string;
13814
+ type: string;
13760
13815
  } | null> | null;
13761
- } | {
13762
- __typename?: 'DownloadableProduct';
13763
- uid: string;
13764
- name?: string | null;
13765
- sku?: string | null;
13766
- stock_status?: ProductStockStatus | null;
13767
- only_x_left_in_stock?: number | null;
13768
- } | {
13769
- __typename?: 'GiftCardProduct';
13770
- uid: string;
13771
- name?: string | null;
13772
- sku?: string | null;
13773
- stock_status?: ProductStockStatus | null;
13774
- only_x_left_in_stock?: number | null;
13775
- } | {
13776
- __typename?: 'GroupedProduct';
13777
- uid: string;
13778
- name?: string | null;
13779
- sku?: string | null;
13780
- stock_status?: ProductStockStatus | null;
13781
- only_x_left_in_stock?: number | null;
13782
- } | {
13783
- __typename?: 'SimpleProduct';
13784
- uid: string;
13785
- name?: string | null;
13786
- sku?: string | null;
13787
- stock_status?: ProductStockStatus | null;
13788
- only_x_left_in_stock?: number | null;
13789
- } | {
13790
- __typename?: 'VirtualProduct';
13791
- uid: string;
13792
- name?: string | null;
13793
- sku?: string | null;
13794
- stock_status?: ProductStockStatus | null;
13795
- only_x_left_in_stock?: number | null;
13796
- };
13797
- } | {
13798
- __typename: 'ConfigurableCartItem';
13799
- uid: string;
13800
- quantity: number;
13801
- configurable_options: Array<{
13802
- __typename?: 'SelectedConfigurableOption';
13803
- configurable_product_option_uid: string;
13804
- option_label: string;
13805
- configurable_product_option_value_uid: string;
13806
- value_label: string;
13807
- } | null>;
13808
- product: {
13809
- __typename?: 'BundleProduct';
13810
- uid: string;
13811
- name?: string | null;
13812
- sku?: string | null;
13813
- stock_status?: ProductStockStatus | null;
13814
- only_x_left_in_stock?: number | null;
13816
+ billing_address?: {
13817
+ __typename?: 'OrderAddress';
13818
+ firstname: string;
13819
+ middlename?: string | null;
13820
+ lastname: string;
13821
+ street: Array<string | null>;
13822
+ city: string;
13823
+ postcode?: string | null;
13824
+ telephone?: string | null;
13825
+ country_code?: CountryCodeEnum | null;
13826
+ region?: string | null;
13827
+ region_id?: string | null;
13828
+ company?: string | null;
13829
+ custom_attributesV2: Array<{
13830
+ __typename?: 'AttributeSelectedOptions';
13831
+ code: string;
13832
+ } | {
13833
+ __typename?: 'AttributeValue';
13834
+ value: string;
13835
+ code: string;
13836
+ } | null>;
13837
+ } | null;
13838
+ shipping_address?: {
13839
+ __typename?: 'OrderAddress';
13840
+ firstname: string;
13841
+ middlename?: string | null;
13842
+ lastname: string;
13843
+ street: Array<string | null>;
13844
+ city: string;
13845
+ postcode?: string | null;
13846
+ telephone?: string | null;
13847
+ country_code?: CountryCodeEnum | null;
13848
+ region?: string | null;
13849
+ region_id?: string | null;
13850
+ company?: string | null;
13851
+ custom_attributesV2: Array<{
13852
+ __typename?: 'AttributeSelectedOptions';
13853
+ code: string;
13854
+ } | {
13855
+ __typename?: 'AttributeValue';
13856
+ value: string;
13857
+ code: string;
13858
+ } | null>;
13859
+ } | null;
13815
13860
  items?: Array<{
13816
- __typename?: 'BundleItem';
13817
- uid?: string | null;
13818
- options?: Array<{
13819
- __typename?: 'BundleItemOption';
13820
- uid: string;
13821
- product?: {
13822
- __typename?: 'BundleProduct';
13823
- uid: string;
13824
- } | {
13825
- __typename?: 'ConfigurableProduct';
13826
- uid: string;
13827
- } | {
13828
- __typename?: 'DownloadableProduct';
13829
- uid: string;
13830
- } | {
13831
- __typename?: 'GiftCardProduct';
13832
- uid: string;
13833
- } | {
13834
- __typename?: 'GroupedProduct';
13835
- uid: string;
13836
- } | {
13837
- __typename?: 'SimpleProduct';
13838
- uid: string;
13839
- } | {
13840
- __typename?: 'VirtualProduct';
13841
- uid: string;
13842
- } | null;
13843
- } | null> | null;
13844
- } | null> | null;
13845
- } | {
13846
- __typename?: 'ConfigurableProduct';
13847
- uid: string;
13848
- name?: string | null;
13849
- sku?: string | null;
13850
- stock_status?: ProductStockStatus | null;
13851
- only_x_left_in_stock?: number | null;
13852
- variants?: Array<{
13853
- __typename?: 'ConfigurableVariant';
13854
- attributes?: Array<{
13855
- __typename?: 'ConfigurableAttributeOption';
13856
- uid: string;
13861
+ __typename: 'BundleOrderItem';
13862
+ id: string;
13863
+ quantity_canceled?: number | null;
13864
+ quantity_invoiced?: number | null;
13865
+ quantity_ordered?: number | null;
13866
+ quantity_refunded?: number | null;
13867
+ quantity_returned?: number | null;
13868
+ quantity_shipped?: number | null;
13869
+ discounts?: Array<{
13870
+ __typename?: 'Discount';
13871
+ amount: {
13872
+ __typename?: 'Money';
13873
+ value?: number | null;
13874
+ };
13857
13875
  } | null> | null;
13858
13876
  product?: {
13859
- __typename?: 'SimpleProduct';
13877
+ __typename: 'BundleProduct';
13878
+ canonical_url?: string | null;
13879
+ name?: string | null;
13880
+ sku?: string | null;
13860
13881
  uid: string;
13861
- stock_status?: ProductStockStatus | null;
13862
- } | null;
13863
- } | null> | null;
13864
- } | {
13865
- __typename?: 'DownloadableProduct';
13866
- uid: string;
13867
- name?: string | null;
13868
- sku?: string | null;
13869
- stock_status?: ProductStockStatus | null;
13870
- only_x_left_in_stock?: number | null;
13871
- } | {
13872
- __typename?: 'GiftCardProduct';
13873
- uid: string;
13874
- name?: string | null;
13875
- sku?: string | null;
13876
- stock_status?: ProductStockStatus | null;
13877
- only_x_left_in_stock?: number | null;
13878
- } | {
13879
- __typename?: 'GroupedProduct';
13880
- uid: string;
13881
- name?: string | null;
13882
- sku?: string | null;
13883
- stock_status?: ProductStockStatus | null;
13884
- only_x_left_in_stock?: number | null;
13885
- } | {
13886
- __typename?: 'SimpleProduct';
13887
- uid: string;
13888
- name?: string | null;
13889
- sku?: string | null;
13890
- stock_status?: ProductStockStatus | null;
13891
- only_x_left_in_stock?: number | null;
13892
- } | {
13893
- __typename?: 'VirtualProduct';
13894
- uid: string;
13895
- name?: string | null;
13896
- sku?: string | null;
13897
- stock_status?: ProductStockStatus | null;
13898
- only_x_left_in_stock?: number | null;
13899
- };
13900
- } | {
13901
- __typename: 'DownloadableCartItem';
13902
- uid: string;
13903
- quantity: number;
13904
- product: {
13905
- __typename?: 'BundleProduct';
13906
- uid: string;
13907
- name?: string | null;
13908
- sku?: string | null;
13909
- stock_status?: ProductStockStatus | null;
13910
- only_x_left_in_stock?: number | null;
13911
- items?: Array<{
13912
- __typename?: 'BundleItem';
13913
- uid?: string | null;
13914
- options?: Array<{
13915
- __typename?: 'BundleItemOption';
13882
+ image?: {
13883
+ __typename?: 'ProductImage';
13884
+ url?: string | null;
13885
+ } | null;
13886
+ thumbnail?: {
13887
+ __typename?: 'ProductImage';
13888
+ label?: string | null;
13889
+ url?: string | null;
13890
+ } | null;
13891
+ price_range: {
13892
+ __typename?: 'PriceRange';
13893
+ maximum_price?: {
13894
+ __typename?: 'ProductPrice';
13895
+ regular_price: {
13896
+ __typename?: 'Money';
13897
+ currency?: CurrencyEnum | null;
13898
+ value?: number | null;
13899
+ };
13900
+ } | null;
13901
+ };
13902
+ } | {
13903
+ __typename: 'ConfigurableProduct';
13904
+ canonical_url?: string | null;
13905
+ name?: string | null;
13906
+ sku?: string | null;
13916
13907
  uid: string;
13917
- product?: {
13918
- __typename?: 'BundleProduct';
13919
- uid: string;
13920
- } | {
13921
- __typename?: 'ConfigurableProduct';
13922
- uid: string;
13923
- } | {
13924
- __typename?: 'DownloadableProduct';
13925
- uid: string;
13926
- } | {
13927
- __typename?: 'GiftCardProduct';
13928
- uid: string;
13929
- } | {
13930
- __typename?: 'GroupedProduct';
13931
- uid: string;
13932
- } | {
13933
- __typename?: 'SimpleProduct';
13934
- uid: string;
13935
- } | {
13936
- __typename?: 'VirtualProduct';
13937
- uid: string;
13908
+ image?: {
13909
+ __typename?: 'ProductImage';
13910
+ url?: string | null;
13938
13911
  } | null;
13939
- } | null> | null;
13940
- } | null> | null;
13941
- } | {
13942
- __typename?: 'ConfigurableProduct';
13943
- uid: string;
13944
- name?: string | null;
13945
- sku?: string | null;
13946
- stock_status?: ProductStockStatus | null;
13947
- only_x_left_in_stock?: number | null;
13948
- variants?: Array<{
13949
- __typename?: 'ConfigurableVariant';
13950
- attributes?: Array<{
13951
- __typename?: 'ConfigurableAttributeOption';
13912
+ thumbnail?: {
13913
+ __typename?: 'ProductImage';
13914
+ label?: string | null;
13915
+ url?: string | null;
13916
+ } | null;
13917
+ price_range: {
13918
+ __typename?: 'PriceRange';
13919
+ maximum_price?: {
13920
+ __typename?: 'ProductPrice';
13921
+ regular_price: {
13922
+ __typename?: 'Money';
13923
+ currency?: CurrencyEnum | null;
13924
+ value?: number | null;
13925
+ };
13926
+ } | null;
13927
+ };
13928
+ } | {
13929
+ __typename: 'DownloadableProduct';
13930
+ canonical_url?: string | null;
13931
+ name?: string | null;
13932
+ sku?: string | null;
13952
13933
  uid: string;
13953
- } | null> | null;
13954
- product?: {
13955
- __typename?: 'SimpleProduct';
13956
- uid: string;
13957
- stock_status?: ProductStockStatus | null;
13958
- } | null;
13959
- } | null> | null;
13960
- } | {
13961
- __typename?: 'DownloadableProduct';
13962
- uid: string;
13963
- name?: string | null;
13964
- sku?: string | null;
13965
- stock_status?: ProductStockStatus | null;
13966
- only_x_left_in_stock?: number | null;
13967
- } | {
13968
- __typename?: 'GiftCardProduct';
13969
- uid: string;
13970
- name?: string | null;
13971
- sku?: string | null;
13972
- stock_status?: ProductStockStatus | null;
13973
- only_x_left_in_stock?: number | null;
13974
- } | {
13975
- __typename?: 'GroupedProduct';
13976
- uid: string;
13977
- name?: string | null;
13978
- sku?: string | null;
13979
- stock_status?: ProductStockStatus | null;
13980
- only_x_left_in_stock?: number | null;
13981
- } | {
13982
- __typename?: 'SimpleProduct';
13983
- uid: string;
13984
- name?: string | null;
13985
- sku?: string | null;
13986
- stock_status?: ProductStockStatus | null;
13987
- only_x_left_in_stock?: number | null;
13988
- } | {
13989
- __typename?: 'VirtualProduct';
13990
- uid: string;
13991
- name?: string | null;
13992
- sku?: string | null;
13993
- stock_status?: ProductStockStatus | null;
13994
- only_x_left_in_stock?: number | null;
13995
- };
13996
- } | {
13997
- __typename: 'GiftCardCartItem';
13998
- uid: string;
13999
- quantity: number;
14000
- product: {
14001
- __typename?: 'BundleProduct';
14002
- uid: string;
14003
- name?: string | null;
14004
- sku?: string | null;
14005
- stock_status?: ProductStockStatus | null;
14006
- only_x_left_in_stock?: number | null;
14007
- items?: Array<{
14008
- __typename?: 'BundleItem';
14009
- uid?: string | null;
14010
- options?: Array<{
14011
- __typename?: 'BundleItemOption';
14012
- uid: string;
14013
- product?: {
14014
- __typename?: 'BundleProduct';
14015
- uid: string;
14016
- } | {
14017
- __typename?: 'ConfigurableProduct';
14018
- uid: string;
14019
- } | {
14020
- __typename?: 'DownloadableProduct';
14021
- uid: string;
14022
- } | {
14023
- __typename?: 'GiftCardProduct';
14024
- uid: string;
14025
- } | {
14026
- __typename?: 'GroupedProduct';
14027
- uid: string;
14028
- } | {
14029
- __typename?: 'SimpleProduct';
14030
- uid: string;
14031
- } | {
14032
- __typename?: 'VirtualProduct';
14033
- uid: string;
14034
- } | null;
14035
- } | null> | null;
14036
- } | null> | null;
14037
- } | {
14038
- __typename?: 'ConfigurableProduct';
14039
- uid: string;
14040
- name?: string | null;
14041
- sku?: string | null;
14042
- stock_status?: ProductStockStatus | null;
14043
- only_x_left_in_stock?: number | null;
14044
- variants?: Array<{
14045
- __typename?: 'ConfigurableVariant';
14046
- attributes?: Array<{
14047
- __typename?: 'ConfigurableAttributeOption';
14048
- uid: string;
14049
- } | null> | null;
14050
- product?: {
14051
- __typename?: 'SimpleProduct';
14052
- uid: string;
14053
- stock_status?: ProductStockStatus | null;
14054
- } | null;
14055
- } | null> | null;
14056
- } | {
14057
- __typename?: 'DownloadableProduct';
14058
- uid: string;
14059
- name?: string | null;
14060
- sku?: string | null;
14061
- stock_status?: ProductStockStatus | null;
14062
- only_x_left_in_stock?: number | null;
14063
- } | {
14064
- __typename?: 'GiftCardProduct';
14065
- uid: string;
14066
- name?: string | null;
14067
- sku?: string | null;
14068
- stock_status?: ProductStockStatus | null;
14069
- only_x_left_in_stock?: number | null;
14070
- } | {
14071
- __typename?: 'GroupedProduct';
14072
- uid: string;
14073
- name?: string | null;
14074
- sku?: string | null;
14075
- stock_status?: ProductStockStatus | null;
14076
- only_x_left_in_stock?: number | null;
14077
- } | {
14078
- __typename?: 'SimpleProduct';
14079
- uid: string;
14080
- name?: string | null;
14081
- sku?: string | null;
14082
- stock_status?: ProductStockStatus | null;
14083
- only_x_left_in_stock?: number | null;
14084
- } | {
14085
- __typename?: 'VirtualProduct';
14086
- uid: string;
14087
- name?: string | null;
14088
- sku?: string | null;
14089
- stock_status?: ProductStockStatus | null;
14090
- only_x_left_in_stock?: number | null;
14091
- };
14092
- } | {
14093
- __typename: 'SimpleCartItem';
14094
- uid: string;
14095
- quantity: number;
14096
- product: {
14097
- __typename?: 'BundleProduct';
14098
- uid: string;
14099
- name?: string | null;
14100
- sku?: string | null;
14101
- stock_status?: ProductStockStatus | null;
14102
- only_x_left_in_stock?: number | null;
14103
- items?: Array<{
14104
- __typename?: 'BundleItem';
14105
- uid?: string | null;
14106
- options?: Array<{
14107
- __typename?: 'BundleItemOption';
14108
- uid: string;
14109
- product?: {
14110
- __typename?: 'BundleProduct';
14111
- uid: string;
14112
- } | {
14113
- __typename?: 'ConfigurableProduct';
14114
- uid: string;
14115
- } | {
14116
- __typename?: 'DownloadableProduct';
14117
- uid: string;
14118
- } | {
14119
- __typename?: 'GiftCardProduct';
14120
- uid: string;
14121
- } | {
14122
- __typename?: 'GroupedProduct';
14123
- uid: string;
14124
- } | {
14125
- __typename?: 'SimpleProduct';
14126
- uid: string;
14127
- } | {
14128
- __typename?: 'VirtualProduct';
14129
- uid: string;
14130
- } | null;
14131
- } | null> | null;
14132
- } | null> | null;
14133
- } | {
14134
- __typename?: 'ConfigurableProduct';
14135
- uid: string;
14136
- name?: string | null;
14137
- sku?: string | null;
14138
- stock_status?: ProductStockStatus | null;
14139
- only_x_left_in_stock?: number | null;
14140
- variants?: Array<{
14141
- __typename?: 'ConfigurableVariant';
14142
- attributes?: Array<{
14143
- __typename?: 'ConfigurableAttributeOption';
14144
- uid: string;
14145
- } | null> | null;
14146
- product?: {
14147
- __typename?: 'SimpleProduct';
14148
- uid: string;
14149
- stock_status?: ProductStockStatus | null;
14150
- } | null;
14151
- } | null> | null;
14152
- } | {
14153
- __typename?: 'DownloadableProduct';
14154
- uid: string;
14155
- name?: string | null;
14156
- sku?: string | null;
14157
- stock_status?: ProductStockStatus | null;
14158
- only_x_left_in_stock?: number | null;
14159
- } | {
14160
- __typename?: 'GiftCardProduct';
14161
- uid: string;
14162
- name?: string | null;
14163
- sku?: string | null;
14164
- stock_status?: ProductStockStatus | null;
14165
- only_x_left_in_stock?: number | null;
14166
- } | {
14167
- __typename?: 'GroupedProduct';
14168
- uid: string;
14169
- name?: string | null;
14170
- sku?: string | null;
14171
- stock_status?: ProductStockStatus | null;
14172
- only_x_left_in_stock?: number | null;
14173
- } | {
14174
- __typename?: 'SimpleProduct';
14175
- uid: string;
14176
- name?: string | null;
14177
- sku?: string | null;
14178
- stock_status?: ProductStockStatus | null;
14179
- only_x_left_in_stock?: number | null;
14180
- } | {
14181
- __typename?: 'VirtualProduct';
14182
- uid: string;
14183
- name?: string | null;
14184
- sku?: string | null;
14185
- stock_status?: ProductStockStatus | null;
14186
- only_x_left_in_stock?: number | null;
14187
- };
14188
- } | {
14189
- __typename: 'VirtualCartItem';
14190
- uid: string;
14191
- quantity: number;
14192
- product: {
14193
- __typename?: 'BundleProduct';
14194
- uid: string;
14195
- name?: string | null;
14196
- sku?: string | null;
14197
- stock_status?: ProductStockStatus | null;
14198
- only_x_left_in_stock?: number | null;
14199
- items?: Array<{
14200
- __typename?: 'BundleItem';
14201
- uid?: string | null;
14202
- options?: Array<{
14203
- __typename?: 'BundleItemOption';
14204
- uid: string;
14205
- product?: {
14206
- __typename?: 'BundleProduct';
14207
- uid: string;
14208
- } | {
14209
- __typename?: 'ConfigurableProduct';
14210
- uid: string;
14211
- } | {
14212
- __typename?: 'DownloadableProduct';
14213
- uid: string;
14214
- } | {
14215
- __typename?: 'GiftCardProduct';
14216
- uid: string;
14217
- } | {
14218
- __typename?: 'GroupedProduct';
14219
- uid: string;
14220
- } | {
14221
- __typename?: 'SimpleProduct';
14222
- uid: string;
14223
- } | {
14224
- __typename?: 'VirtualProduct';
14225
- uid: string;
14226
- } | null;
14227
- } | null> | null;
14228
- } | null> | null;
14229
- } | {
14230
- __typename?: 'ConfigurableProduct';
14231
- uid: string;
14232
- name?: string | null;
14233
- sku?: string | null;
14234
- stock_status?: ProductStockStatus | null;
14235
- only_x_left_in_stock?: number | null;
14236
- variants?: Array<{
14237
- __typename?: 'ConfigurableVariant';
14238
- attributes?: Array<{
14239
- __typename?: 'ConfigurableAttributeOption';
14240
- uid: string;
14241
- } | null> | null;
14242
- product?: {
14243
- __typename?: 'SimpleProduct';
14244
- uid: string;
14245
- stock_status?: ProductStockStatus | null;
14246
- } | null;
14247
- } | null> | null;
14248
- } | {
14249
- __typename?: 'DownloadableProduct';
14250
- uid: string;
14251
- name?: string | null;
14252
- sku?: string | null;
14253
- stock_status?: ProductStockStatus | null;
14254
- only_x_left_in_stock?: number | null;
14255
- } | {
14256
- __typename?: 'GiftCardProduct';
14257
- uid: string;
14258
- name?: string | null;
14259
- sku?: string | null;
14260
- stock_status?: ProductStockStatus | null;
14261
- only_x_left_in_stock?: number | null;
14262
- } | {
14263
- __typename?: 'GroupedProduct';
14264
- uid: string;
14265
- name?: string | null;
14266
- sku?: string | null;
14267
- stock_status?: ProductStockStatus | null;
14268
- only_x_left_in_stock?: number | null;
14269
- } | {
14270
- __typename?: 'SimpleProduct';
14271
- uid: string;
14272
- name?: string | null;
14273
- sku?: string | null;
14274
- stock_status?: ProductStockStatus | null;
14275
- only_x_left_in_stock?: number | null;
14276
- } | {
14277
- __typename?: 'VirtualProduct';
14278
- uid: string;
14279
- name?: string | null;
14280
- sku?: string | null;
14281
- stock_status?: ProductStockStatus | null;
14282
- only_x_left_in_stock?: number | null;
14283
- };
14284
- } | null> | null;
14285
- };
14286
- export type GetCartStockStatusQueryVariables = Exact<{
14287
- cartId: Scalars['String']['input'];
14288
- }>;
14289
- export type GetCartStockStatusQuery = {
14290
- __typename?: 'Query';
14291
- cart?: {
14292
- __typename?: 'Cart';
14293
- id: string;
14294
- items?: Array<{
14295
- __typename: 'BundleCartItem';
14296
- uid: string;
14297
- quantity: number;
14298
- bundle_options: Array<{
14299
- __typename?: 'SelectedBundleOption';
14300
- uid: string;
14301
- values: Array<{
14302
- __typename?: 'SelectedBundleOptionValue';
14303
- uid: string;
14304
- } | null>;
14305
- } | null>;
14306
- product: {
14307
- __typename?: 'BundleProduct';
14308
- uid: string;
14309
- name?: string | null;
14310
- sku?: string | null;
14311
- stock_status?: ProductStockStatus | null;
14312
- only_x_left_in_stock?: number | null;
14313
- items?: Array<{
14314
- __typename?: 'BundleItem';
14315
- uid?: string | null;
14316
- options?: Array<{
14317
- __typename?: 'BundleItemOption';
14318
- uid: string;
14319
- product?: {
14320
- __typename?: 'BundleProduct';
14321
- uid: string;
14322
- } | {
14323
- __typename?: 'ConfigurableProduct';
14324
- uid: string;
14325
- } | {
14326
- __typename?: 'DownloadableProduct';
14327
- uid: string;
14328
- } | {
14329
- __typename?: 'GiftCardProduct';
14330
- uid: string;
14331
- } | {
14332
- __typename?: 'GroupedProduct';
14333
- uid: string;
14334
- } | {
14335
- __typename?: 'SimpleProduct';
14336
- uid: string;
14337
- } | {
14338
- __typename?: 'VirtualProduct';
14339
- uid: string;
14340
- } | null;
14341
- } | null> | null;
14342
- } | null> | null;
14343
- } | {
14344
- __typename?: 'ConfigurableProduct';
14345
- uid: string;
14346
- name?: string | null;
14347
- sku?: string | null;
14348
- stock_status?: ProductStockStatus | null;
14349
- only_x_left_in_stock?: number | null;
14350
- variants?: Array<{
14351
- __typename?: 'ConfigurableVariant';
14352
- attributes?: Array<{
14353
- __typename?: 'ConfigurableAttributeOption';
14354
- uid: string;
14355
- } | null> | null;
14356
- product?: {
14357
- __typename?: 'SimpleProduct';
14358
- uid: string;
14359
- stock_status?: ProductStockStatus | null;
14360
- } | null;
14361
- } | null> | null;
14362
- } | {
14363
- __typename?: 'DownloadableProduct';
14364
- uid: string;
14365
- name?: string | null;
14366
- sku?: string | null;
14367
- stock_status?: ProductStockStatus | null;
14368
- only_x_left_in_stock?: number | null;
14369
- } | {
14370
- __typename?: 'GiftCardProduct';
14371
- uid: string;
14372
- name?: string | null;
14373
- sku?: string | null;
14374
- stock_status?: ProductStockStatus | null;
14375
- only_x_left_in_stock?: number | null;
14376
- } | {
14377
- __typename?: 'GroupedProduct';
14378
- uid: string;
14379
- name?: string | null;
14380
- sku?: string | null;
14381
- stock_status?: ProductStockStatus | null;
14382
- only_x_left_in_stock?: number | null;
14383
- } | {
14384
- __typename?: 'SimpleProduct';
14385
- uid: string;
14386
- name?: string | null;
14387
- sku?: string | null;
14388
- stock_status?: ProductStockStatus | null;
14389
- only_x_left_in_stock?: number | null;
14390
- } | {
14391
- __typename?: 'VirtualProduct';
14392
- uid: string;
14393
- name?: string | null;
14394
- sku?: string | null;
14395
- stock_status?: ProductStockStatus | null;
14396
- only_x_left_in_stock?: number | null;
14397
- };
14398
- } | {
14399
- __typename: 'ConfigurableCartItem';
14400
- uid: string;
14401
- quantity: number;
14402
- configurable_options: Array<{
14403
- __typename?: 'SelectedConfigurableOption';
14404
- configurable_product_option_uid: string;
14405
- option_label: string;
14406
- configurable_product_option_value_uid: string;
14407
- value_label: string;
14408
- } | null>;
14409
- product: {
14410
- __typename?: 'BundleProduct';
14411
- uid: string;
14412
- name?: string | null;
14413
- sku?: string | null;
14414
- stock_status?: ProductStockStatus | null;
14415
- only_x_left_in_stock?: number | null;
14416
- items?: Array<{
14417
- __typename?: 'BundleItem';
14418
- uid?: string | null;
14419
- options?: Array<{
14420
- __typename?: 'BundleItemOption';
14421
- uid: string;
14422
- product?: {
14423
- __typename?: 'BundleProduct';
14424
- uid: string;
14425
- } | {
14426
- __typename?: 'ConfigurableProduct';
14427
- uid: string;
14428
- } | {
14429
- __typename?: 'DownloadableProduct';
14430
- uid: string;
14431
- } | {
14432
- __typename?: 'GiftCardProduct';
14433
- uid: string;
14434
- } | {
14435
- __typename?: 'GroupedProduct';
14436
- uid: string;
14437
- } | {
14438
- __typename?: 'SimpleProduct';
14439
- uid: string;
14440
- } | {
14441
- __typename?: 'VirtualProduct';
14442
- uid: string;
14443
- } | null;
14444
- } | null> | null;
14445
- } | null> | null;
14446
- } | {
14447
- __typename?: 'ConfigurableProduct';
14448
- uid: string;
14449
- name?: string | null;
14450
- sku?: string | null;
14451
- stock_status?: ProductStockStatus | null;
14452
- only_x_left_in_stock?: number | null;
14453
- variants?: Array<{
14454
- __typename?: 'ConfigurableVariant';
14455
- attributes?: Array<{
14456
- __typename?: 'ConfigurableAttributeOption';
14457
- uid: string;
14458
- } | null> | null;
14459
- product?: {
14460
- __typename?: 'SimpleProduct';
14461
- uid: string;
14462
- stock_status?: ProductStockStatus | null;
14463
- } | null;
14464
- } | null> | null;
14465
- } | {
14466
- __typename?: 'DownloadableProduct';
14467
- uid: string;
14468
- name?: string | null;
14469
- sku?: string | null;
14470
- stock_status?: ProductStockStatus | null;
14471
- only_x_left_in_stock?: number | null;
14472
- } | {
14473
- __typename?: 'GiftCardProduct';
14474
- uid: string;
14475
- name?: string | null;
14476
- sku?: string | null;
14477
- stock_status?: ProductStockStatus | null;
14478
- only_x_left_in_stock?: number | null;
14479
- } | {
14480
- __typename?: 'GroupedProduct';
14481
- uid: string;
14482
- name?: string | null;
14483
- sku?: string | null;
14484
- stock_status?: ProductStockStatus | null;
14485
- only_x_left_in_stock?: number | null;
14486
- } | {
14487
- __typename?: 'SimpleProduct';
14488
- uid: string;
14489
- name?: string | null;
14490
- sku?: string | null;
14491
- stock_status?: ProductStockStatus | null;
14492
- only_x_left_in_stock?: number | null;
14493
- } | {
14494
- __typename?: 'VirtualProduct';
14495
- uid: string;
14496
- name?: string | null;
14497
- sku?: string | null;
14498
- stock_status?: ProductStockStatus | null;
14499
- only_x_left_in_stock?: number | null;
14500
- };
14501
- } | {
14502
- __typename: 'DownloadableCartItem';
14503
- uid: string;
14504
- quantity: number;
14505
- product: {
14506
- __typename?: 'BundleProduct';
14507
- uid: string;
14508
- name?: string | null;
14509
- sku?: string | null;
14510
- stock_status?: ProductStockStatus | null;
14511
- only_x_left_in_stock?: number | null;
14512
- items?: Array<{
14513
- __typename?: 'BundleItem';
14514
- uid?: string | null;
14515
- options?: Array<{
14516
- __typename?: 'BundleItemOption';
14517
- uid: string;
14518
- product?: {
14519
- __typename?: 'BundleProduct';
14520
- uid: string;
14521
- } | {
14522
- __typename?: 'ConfigurableProduct';
14523
- uid: string;
14524
- } | {
14525
- __typename?: 'DownloadableProduct';
14526
- uid: string;
14527
- } | {
14528
- __typename?: 'GiftCardProduct';
14529
- uid: string;
14530
- } | {
14531
- __typename?: 'GroupedProduct';
14532
- uid: string;
14533
- } | {
14534
- __typename?: 'SimpleProduct';
14535
- uid: string;
14536
- } | {
14537
- __typename?: 'VirtualProduct';
14538
- uid: string;
14539
- } | null;
14540
- } | null> | null;
14541
- } | null> | null;
14542
- } | {
14543
- __typename?: 'ConfigurableProduct';
14544
- uid: string;
14545
- name?: string | null;
14546
- sku?: string | null;
14547
- stock_status?: ProductStockStatus | null;
14548
- only_x_left_in_stock?: number | null;
14549
- variants?: Array<{
14550
- __typename?: 'ConfigurableVariant';
14551
- attributes?: Array<{
14552
- __typename?: 'ConfigurableAttributeOption';
14553
- uid: string;
14554
- } | null> | null;
14555
- product?: {
14556
- __typename?: 'SimpleProduct';
14557
- uid: string;
14558
- stock_status?: ProductStockStatus | null;
14559
- } | null;
14560
- } | null> | null;
14561
- } | {
14562
- __typename?: 'DownloadableProduct';
14563
- uid: string;
14564
- name?: string | null;
14565
- sku?: string | null;
14566
- stock_status?: ProductStockStatus | null;
14567
- only_x_left_in_stock?: number | null;
14568
- } | {
14569
- __typename?: 'GiftCardProduct';
14570
- uid: string;
14571
- name?: string | null;
14572
- sku?: string | null;
14573
- stock_status?: ProductStockStatus | null;
14574
- only_x_left_in_stock?: number | null;
14575
- } | {
14576
- __typename?: 'GroupedProduct';
14577
- uid: string;
14578
- name?: string | null;
14579
- sku?: string | null;
14580
- stock_status?: ProductStockStatus | null;
14581
- only_x_left_in_stock?: number | null;
14582
- } | {
14583
- __typename?: 'SimpleProduct';
14584
- uid: string;
14585
- name?: string | null;
14586
- sku?: string | null;
14587
- stock_status?: ProductStockStatus | null;
14588
- only_x_left_in_stock?: number | null;
14589
- } | {
14590
- __typename?: 'VirtualProduct';
14591
- uid: string;
14592
- name?: string | null;
14593
- sku?: string | null;
14594
- stock_status?: ProductStockStatus | null;
14595
- only_x_left_in_stock?: number | null;
14596
- };
14597
- } | {
14598
- __typename: 'GiftCardCartItem';
14599
- uid: string;
14600
- quantity: number;
14601
- product: {
14602
- __typename?: 'BundleProduct';
14603
- uid: string;
14604
- name?: string | null;
14605
- sku?: string | null;
14606
- stock_status?: ProductStockStatus | null;
14607
- only_x_left_in_stock?: number | null;
14608
- items?: Array<{
14609
- __typename?: 'BundleItem';
14610
- uid?: string | null;
14611
- options?: Array<{
14612
- __typename?: 'BundleItemOption';
14613
- uid: string;
14614
- product?: {
14615
- __typename?: 'BundleProduct';
14616
- uid: string;
14617
- } | {
14618
- __typename?: 'ConfigurableProduct';
14619
- uid: string;
14620
- } | {
14621
- __typename?: 'DownloadableProduct';
14622
- uid: string;
14623
- } | {
14624
- __typename?: 'GiftCardProduct';
14625
- uid: string;
14626
- } | {
14627
- __typename?: 'GroupedProduct';
14628
- uid: string;
14629
- } | {
14630
- __typename?: 'SimpleProduct';
14631
- uid: string;
14632
- } | {
14633
- __typename?: 'VirtualProduct';
14634
- uid: string;
14635
- } | null;
14636
- } | null> | null;
14637
- } | null> | null;
14638
- } | {
14639
- __typename?: 'ConfigurableProduct';
14640
- uid: string;
14641
- name?: string | null;
14642
- sku?: string | null;
14643
- stock_status?: ProductStockStatus | null;
14644
- only_x_left_in_stock?: number | null;
14645
- variants?: Array<{
14646
- __typename?: 'ConfigurableVariant';
14647
- attributes?: Array<{
14648
- __typename?: 'ConfigurableAttributeOption';
14649
- uid: string;
14650
- } | null> | null;
14651
- product?: {
14652
- __typename?: 'SimpleProduct';
14653
- uid: string;
14654
- stock_status?: ProductStockStatus | null;
14655
- } | null;
14656
- } | null> | null;
14657
- } | {
14658
- __typename?: 'DownloadableProduct';
14659
- uid: string;
14660
- name?: string | null;
14661
- sku?: string | null;
14662
- stock_status?: ProductStockStatus | null;
14663
- only_x_left_in_stock?: number | null;
14664
- } | {
14665
- __typename?: 'GiftCardProduct';
14666
- uid: string;
14667
- name?: string | null;
14668
- sku?: string | null;
14669
- stock_status?: ProductStockStatus | null;
14670
- only_x_left_in_stock?: number | null;
14671
- } | {
14672
- __typename?: 'GroupedProduct';
14673
- uid: string;
14674
- name?: string | null;
14675
- sku?: string | null;
14676
- stock_status?: ProductStockStatus | null;
14677
- only_x_left_in_stock?: number | null;
14678
- } | {
14679
- __typename?: 'SimpleProduct';
14680
- uid: string;
14681
- name?: string | null;
14682
- sku?: string | null;
14683
- stock_status?: ProductStockStatus | null;
14684
- only_x_left_in_stock?: number | null;
14685
- } | {
14686
- __typename?: 'VirtualProduct';
14687
- uid: string;
14688
- name?: string | null;
14689
- sku?: string | null;
14690
- stock_status?: ProductStockStatus | null;
14691
- only_x_left_in_stock?: number | null;
14692
- };
14693
- } | {
14694
- __typename: 'SimpleCartItem';
14695
- uid: string;
14696
- quantity: number;
14697
- product: {
14698
- __typename?: 'BundleProduct';
14699
- uid: string;
14700
- name?: string | null;
14701
- sku?: string | null;
14702
- stock_status?: ProductStockStatus | null;
14703
- only_x_left_in_stock?: number | null;
14704
- items?: Array<{
14705
- __typename?: 'BundleItem';
14706
- uid?: string | null;
14707
- options?: Array<{
14708
- __typename?: 'BundleItemOption';
14709
- uid: string;
14710
- product?: {
14711
- __typename?: 'BundleProduct';
14712
- uid: string;
14713
- } | {
14714
- __typename?: 'ConfigurableProduct';
14715
- uid: string;
14716
- } | {
14717
- __typename?: 'DownloadableProduct';
14718
- uid: string;
14719
- } | {
14720
- __typename?: 'GiftCardProduct';
14721
- uid: string;
14722
- } | {
14723
- __typename?: 'GroupedProduct';
14724
- uid: string;
14725
- } | {
14726
- __typename?: 'SimpleProduct';
14727
- uid: string;
14728
- } | {
14729
- __typename?: 'VirtualProduct';
14730
- uid: string;
14731
- } | null;
14732
- } | null> | null;
14733
- } | null> | null;
14734
- } | {
14735
- __typename?: 'ConfigurableProduct';
14736
- uid: string;
14737
- name?: string | null;
14738
- sku?: string | null;
14739
- stock_status?: ProductStockStatus | null;
14740
- only_x_left_in_stock?: number | null;
14741
- variants?: Array<{
14742
- __typename?: 'ConfigurableVariant';
14743
- attributes?: Array<{
14744
- __typename?: 'ConfigurableAttributeOption';
14745
- uid: string;
14746
- } | null> | null;
14747
- product?: {
14748
- __typename?: 'SimpleProduct';
14749
- uid: string;
14750
- stock_status?: ProductStockStatus | null;
14751
- } | null;
14752
- } | null> | null;
14753
- } | {
14754
- __typename?: 'DownloadableProduct';
14755
- uid: string;
14756
- name?: string | null;
14757
- sku?: string | null;
14758
- stock_status?: ProductStockStatus | null;
14759
- only_x_left_in_stock?: number | null;
14760
- } | {
14761
- __typename?: 'GiftCardProduct';
14762
- uid: string;
14763
- name?: string | null;
14764
- sku?: string | null;
14765
- stock_status?: ProductStockStatus | null;
14766
- only_x_left_in_stock?: number | null;
14767
- } | {
14768
- __typename?: 'GroupedProduct';
14769
- uid: string;
14770
- name?: string | null;
14771
- sku?: string | null;
14772
- stock_status?: ProductStockStatus | null;
14773
- only_x_left_in_stock?: number | null;
14774
- } | {
14775
- __typename?: 'SimpleProduct';
14776
- uid: string;
14777
- name?: string | null;
14778
- sku?: string | null;
14779
- stock_status?: ProductStockStatus | null;
14780
- only_x_left_in_stock?: number | null;
14781
- } | {
14782
- __typename?: 'VirtualProduct';
14783
- uid: string;
14784
- name?: string | null;
14785
- sku?: string | null;
14786
- stock_status?: ProductStockStatus | null;
14787
- only_x_left_in_stock?: number | null;
14788
- };
14789
- } | {
14790
- __typename: 'VirtualCartItem';
14791
- uid: string;
14792
- quantity: number;
14793
- product: {
14794
- __typename?: 'BundleProduct';
14795
- uid: string;
14796
- name?: string | null;
14797
- sku?: string | null;
14798
- stock_status?: ProductStockStatus | null;
14799
- only_x_left_in_stock?: number | null;
14800
- items?: Array<{
14801
- __typename?: 'BundleItem';
14802
- uid?: string | null;
14803
- options?: Array<{
14804
- __typename?: 'BundleItemOption';
14805
- uid: string;
14806
- product?: {
14807
- __typename?: 'BundleProduct';
14808
- uid: string;
14809
- } | {
14810
- __typename?: 'ConfigurableProduct';
14811
- uid: string;
14812
- } | {
14813
- __typename?: 'DownloadableProduct';
14814
- uid: string;
14815
- } | {
14816
- __typename?: 'GiftCardProduct';
14817
- uid: string;
14818
- } | {
14819
- __typename?: 'GroupedProduct';
14820
- uid: string;
14821
- } | {
14822
- __typename?: 'SimpleProduct';
14823
- uid: string;
14824
- } | {
14825
- __typename?: 'VirtualProduct';
14826
- uid: string;
14827
- } | null;
14828
- } | null> | null;
14829
- } | null> | null;
14830
- } | {
14831
- __typename?: 'ConfigurableProduct';
14832
- uid: string;
14833
- name?: string | null;
14834
- sku?: string | null;
14835
- stock_status?: ProductStockStatus | null;
14836
- only_x_left_in_stock?: number | null;
14837
- variants?: Array<{
14838
- __typename?: 'ConfigurableVariant';
14839
- attributes?: Array<{
14840
- __typename?: 'ConfigurableAttributeOption';
14841
- uid: string;
14842
- } | null> | null;
14843
- product?: {
14844
- __typename?: 'SimpleProduct';
14845
- uid: string;
14846
- stock_status?: ProductStockStatus | null;
14847
- } | null;
14848
- } | null> | null;
14849
- } | {
14850
- __typename?: 'DownloadableProduct';
14851
- uid: string;
14852
- name?: string | null;
14853
- sku?: string | null;
14854
- stock_status?: ProductStockStatus | null;
14855
- only_x_left_in_stock?: number | null;
14856
- } | {
14857
- __typename?: 'GiftCardProduct';
14858
- uid: string;
14859
- name?: string | null;
14860
- sku?: string | null;
14861
- stock_status?: ProductStockStatus | null;
14862
- only_x_left_in_stock?: number | null;
14863
- } | {
14864
- __typename?: 'GroupedProduct';
14865
- uid: string;
14866
- name?: string | null;
14867
- sku?: string | null;
14868
- stock_status?: ProductStockStatus | null;
14869
- only_x_left_in_stock?: number | null;
14870
- } | {
14871
- __typename?: 'SimpleProduct';
14872
- uid: string;
14873
- name?: string | null;
14874
- sku?: string | null;
14875
- stock_status?: ProductStockStatus | null;
14876
- only_x_left_in_stock?: number | null;
14877
- } | {
14878
- __typename?: 'VirtualProduct';
14879
- uid: string;
14880
- name?: string | null;
14881
- sku?: string | null;
14882
- stock_status?: ProductStockStatus | null;
14883
- only_x_left_in_stock?: number | null;
14884
- };
14885
- } | null> | null;
14886
- } | null;
14887
- };
14888
- export type GetCustomerCartStockStatusQueryVariables = Exact<{
14889
- [key: string]: never;
14890
- }>;
14891
- export type GetCustomerCartStockStatusQuery = {
14892
- __typename?: 'Query';
14893
- cart: {
14894
- __typename?: 'Cart';
14895
- id: string;
14896
- items?: Array<{
14897
- __typename: 'BundleCartItem';
14898
- uid: string;
14899
- quantity: number;
14900
- bundle_options: Array<{
14901
- __typename?: 'SelectedBundleOption';
14902
- uid: string;
14903
- values: Array<{
14904
- __typename?: 'SelectedBundleOptionValue';
14905
- uid: string;
14906
- } | null>;
14907
- } | null>;
14908
- product: {
14909
- __typename?: 'BundleProduct';
14910
- uid: string;
14911
- name?: string | null;
14912
- sku?: string | null;
14913
- stock_status?: ProductStockStatus | null;
14914
- only_x_left_in_stock?: number | null;
14915
- items?: Array<{
14916
- __typename?: 'BundleItem';
14917
- uid?: string | null;
14918
- options?: Array<{
14919
- __typename?: 'BundleItemOption';
14920
- uid: string;
14921
- product?: {
14922
- __typename?: 'BundleProduct';
14923
- uid: string;
14924
- } | {
14925
- __typename?: 'ConfigurableProduct';
14926
- uid: string;
14927
- } | {
14928
- __typename?: 'DownloadableProduct';
14929
- uid: string;
14930
- } | {
14931
- __typename?: 'GiftCardProduct';
14932
- uid: string;
14933
- } | {
14934
- __typename?: 'GroupedProduct';
14935
- uid: string;
14936
- } | {
14937
- __typename?: 'SimpleProduct';
14938
- uid: string;
14939
- } | {
14940
- __typename?: 'VirtualProduct';
14941
- uid: string;
14942
- } | null;
14943
- } | null> | null;
14944
- } | null> | null;
14945
- } | {
14946
- __typename?: 'ConfigurableProduct';
14947
- uid: string;
14948
- name?: string | null;
14949
- sku?: string | null;
14950
- stock_status?: ProductStockStatus | null;
14951
- only_x_left_in_stock?: number | null;
14952
- variants?: Array<{
14953
- __typename?: 'ConfigurableVariant';
14954
- attributes?: Array<{
14955
- __typename?: 'ConfigurableAttributeOption';
14956
- uid: string;
14957
- } | null> | null;
14958
- product?: {
14959
- __typename?: 'SimpleProduct';
14960
- uid: string;
14961
- stock_status?: ProductStockStatus | null;
14962
- } | null;
14963
- } | null> | null;
14964
- } | {
14965
- __typename?: 'DownloadableProduct';
14966
- uid: string;
14967
- name?: string | null;
14968
- sku?: string | null;
14969
- stock_status?: ProductStockStatus | null;
14970
- only_x_left_in_stock?: number | null;
14971
- } | {
14972
- __typename?: 'GiftCardProduct';
14973
- uid: string;
14974
- name?: string | null;
14975
- sku?: string | null;
14976
- stock_status?: ProductStockStatus | null;
14977
- only_x_left_in_stock?: number | null;
14978
- } | {
14979
- __typename?: 'GroupedProduct';
14980
- uid: string;
14981
- name?: string | null;
14982
- sku?: string | null;
14983
- stock_status?: ProductStockStatus | null;
14984
- only_x_left_in_stock?: number | null;
14985
- } | {
14986
- __typename?: 'SimpleProduct';
14987
- uid: string;
14988
- name?: string | null;
14989
- sku?: string | null;
14990
- stock_status?: ProductStockStatus | null;
14991
- only_x_left_in_stock?: number | null;
14992
- } | {
14993
- __typename?: 'VirtualProduct';
14994
- uid: string;
14995
- name?: string | null;
14996
- sku?: string | null;
14997
- stock_status?: ProductStockStatus | null;
14998
- only_x_left_in_stock?: number | null;
14999
- };
15000
- } | {
15001
- __typename: 'ConfigurableCartItem';
15002
- uid: string;
15003
- quantity: number;
15004
- configurable_options: Array<{
15005
- __typename?: 'SelectedConfigurableOption';
15006
- configurable_product_option_uid: string;
15007
- option_label: string;
15008
- configurable_product_option_value_uid: string;
15009
- value_label: string;
15010
- } | null>;
15011
- product: {
15012
- __typename?: 'BundleProduct';
15013
- uid: string;
15014
- name?: string | null;
15015
- sku?: string | null;
15016
- stock_status?: ProductStockStatus | null;
15017
- only_x_left_in_stock?: number | null;
15018
- items?: Array<{
15019
- __typename?: 'BundleItem';
15020
- uid?: string | null;
15021
- options?: Array<{
15022
- __typename?: 'BundleItemOption';
15023
- uid: string;
15024
- product?: {
15025
- __typename?: 'BundleProduct';
15026
- uid: string;
15027
- } | {
15028
- __typename?: 'ConfigurableProduct';
15029
- uid: string;
15030
- } | {
15031
- __typename?: 'DownloadableProduct';
15032
- uid: string;
15033
- } | {
15034
- __typename?: 'GiftCardProduct';
15035
- uid: string;
15036
- } | {
15037
- __typename?: 'GroupedProduct';
15038
- uid: string;
15039
- } | {
15040
- __typename?: 'SimpleProduct';
15041
- uid: string;
15042
- } | {
15043
- __typename?: 'VirtualProduct';
15044
- uid: string;
15045
- } | null;
15046
- } | null> | null;
15047
- } | null> | null;
15048
- } | {
15049
- __typename?: 'ConfigurableProduct';
15050
- uid: string;
15051
- name?: string | null;
15052
- sku?: string | null;
15053
- stock_status?: ProductStockStatus | null;
15054
- only_x_left_in_stock?: number | null;
15055
- variants?: Array<{
15056
- __typename?: 'ConfigurableVariant';
15057
- attributes?: Array<{
15058
- __typename?: 'ConfigurableAttributeOption';
15059
- uid: string;
15060
- } | null> | null;
15061
- product?: {
15062
- __typename?: 'SimpleProduct';
15063
- uid: string;
15064
- stock_status?: ProductStockStatus | null;
15065
- } | null;
15066
- } | null> | null;
15067
- } | {
15068
- __typename?: 'DownloadableProduct';
15069
- uid: string;
15070
- name?: string | null;
15071
- sku?: string | null;
15072
- stock_status?: ProductStockStatus | null;
15073
- only_x_left_in_stock?: number | null;
15074
- } | {
15075
- __typename?: 'GiftCardProduct';
15076
- uid: string;
15077
- name?: string | null;
15078
- sku?: string | null;
15079
- stock_status?: ProductStockStatus | null;
15080
- only_x_left_in_stock?: number | null;
15081
- } | {
15082
- __typename?: 'GroupedProduct';
15083
- uid: string;
15084
- name?: string | null;
15085
- sku?: string | null;
15086
- stock_status?: ProductStockStatus | null;
15087
- only_x_left_in_stock?: number | null;
15088
- } | {
15089
- __typename?: 'SimpleProduct';
15090
- uid: string;
15091
- name?: string | null;
15092
- sku?: string | null;
15093
- stock_status?: ProductStockStatus | null;
15094
- only_x_left_in_stock?: number | null;
15095
- } | {
15096
- __typename?: 'VirtualProduct';
15097
- uid: string;
15098
- name?: string | null;
15099
- sku?: string | null;
15100
- stock_status?: ProductStockStatus | null;
15101
- only_x_left_in_stock?: number | null;
15102
- };
15103
- } | {
15104
- __typename: 'DownloadableCartItem';
15105
- uid: string;
15106
- quantity: number;
15107
- product: {
15108
- __typename?: 'BundleProduct';
15109
- uid: string;
15110
- name?: string | null;
15111
- sku?: string | null;
15112
- stock_status?: ProductStockStatus | null;
15113
- only_x_left_in_stock?: number | null;
15114
- items?: Array<{
15115
- __typename?: 'BundleItem';
15116
- uid?: string | null;
15117
- options?: Array<{
15118
- __typename?: 'BundleItemOption';
15119
- uid: string;
15120
- product?: {
15121
- __typename?: 'BundleProduct';
15122
- uid: string;
15123
- } | {
15124
- __typename?: 'ConfigurableProduct';
15125
- uid: string;
15126
- } | {
15127
- __typename?: 'DownloadableProduct';
15128
- uid: string;
15129
- } | {
15130
- __typename?: 'GiftCardProduct';
15131
- uid: string;
15132
- } | {
15133
- __typename?: 'GroupedProduct';
15134
- uid: string;
15135
- } | {
15136
- __typename?: 'SimpleProduct';
15137
- uid: string;
15138
- } | {
15139
- __typename?: 'VirtualProduct';
15140
- uid: string;
15141
- } | null;
15142
- } | null> | null;
15143
- } | null> | null;
15144
- } | {
15145
- __typename?: 'ConfigurableProduct';
15146
- uid: string;
15147
- name?: string | null;
15148
- sku?: string | null;
15149
- stock_status?: ProductStockStatus | null;
15150
- only_x_left_in_stock?: number | null;
15151
- variants?: Array<{
15152
- __typename?: 'ConfigurableVariant';
15153
- attributes?: Array<{
15154
- __typename?: 'ConfigurableAttributeOption';
15155
- uid: string;
15156
- } | null> | null;
15157
- product?: {
15158
- __typename?: 'SimpleProduct';
15159
- uid: string;
15160
- stock_status?: ProductStockStatus | null;
15161
- } | null;
15162
- } | null> | null;
15163
- } | {
15164
- __typename?: 'DownloadableProduct';
15165
- uid: string;
15166
- name?: string | null;
15167
- sku?: string | null;
15168
- stock_status?: ProductStockStatus | null;
15169
- only_x_left_in_stock?: number | null;
15170
- } | {
15171
- __typename?: 'GiftCardProduct';
15172
- uid: string;
15173
- name?: string | null;
15174
- sku?: string | null;
15175
- stock_status?: ProductStockStatus | null;
15176
- only_x_left_in_stock?: number | null;
15177
- } | {
15178
- __typename?: 'GroupedProduct';
15179
- uid: string;
15180
- name?: string | null;
15181
- sku?: string | null;
15182
- stock_status?: ProductStockStatus | null;
15183
- only_x_left_in_stock?: number | null;
15184
- } | {
15185
- __typename?: 'SimpleProduct';
15186
- uid: string;
15187
- name?: string | null;
15188
- sku?: string | null;
15189
- stock_status?: ProductStockStatus | null;
15190
- only_x_left_in_stock?: number | null;
15191
- } | {
15192
- __typename?: 'VirtualProduct';
15193
- uid: string;
15194
- name?: string | null;
15195
- sku?: string | null;
15196
- stock_status?: ProductStockStatus | null;
15197
- only_x_left_in_stock?: number | null;
15198
- };
15199
- } | {
15200
- __typename: 'GiftCardCartItem';
15201
- uid: string;
15202
- quantity: number;
15203
- product: {
15204
- __typename?: 'BundleProduct';
15205
- uid: string;
15206
- name?: string | null;
15207
- sku?: string | null;
15208
- stock_status?: ProductStockStatus | null;
15209
- only_x_left_in_stock?: number | null;
15210
- items?: Array<{
15211
- __typename?: 'BundleItem';
15212
- uid?: string | null;
15213
- options?: Array<{
15214
- __typename?: 'BundleItemOption';
15215
- uid: string;
15216
- product?: {
15217
- __typename?: 'BundleProduct';
15218
- uid: string;
15219
- } | {
15220
- __typename?: 'ConfigurableProduct';
15221
- uid: string;
15222
- } | {
15223
- __typename?: 'DownloadableProduct';
15224
- uid: string;
15225
- } | {
15226
- __typename?: 'GiftCardProduct';
15227
- uid: string;
15228
- } | {
15229
- __typename?: 'GroupedProduct';
15230
- uid: string;
15231
- } | {
15232
- __typename?: 'SimpleProduct';
15233
- uid: string;
15234
- } | {
15235
- __typename?: 'VirtualProduct';
15236
- uid: string;
15237
- } | null;
15238
- } | null> | null;
15239
- } | null> | null;
15240
- } | {
15241
- __typename?: 'ConfigurableProduct';
15242
- uid: string;
15243
- name?: string | null;
15244
- sku?: string | null;
15245
- stock_status?: ProductStockStatus | null;
15246
- only_x_left_in_stock?: number | null;
15247
- variants?: Array<{
15248
- __typename?: 'ConfigurableVariant';
15249
- attributes?: Array<{
15250
- __typename?: 'ConfigurableAttributeOption';
15251
- uid: string;
15252
- } | null> | null;
15253
- product?: {
15254
- __typename?: 'SimpleProduct';
15255
- uid: string;
15256
- stock_status?: ProductStockStatus | null;
15257
- } | null;
15258
- } | null> | null;
15259
- } | {
15260
- __typename?: 'DownloadableProduct';
15261
- uid: string;
15262
- name?: string | null;
15263
- sku?: string | null;
15264
- stock_status?: ProductStockStatus | null;
15265
- only_x_left_in_stock?: number | null;
15266
- } | {
15267
- __typename?: 'GiftCardProduct';
15268
- uid: string;
15269
- name?: string | null;
15270
- sku?: string | null;
15271
- stock_status?: ProductStockStatus | null;
15272
- only_x_left_in_stock?: number | null;
15273
- } | {
15274
- __typename?: 'GroupedProduct';
15275
- uid: string;
15276
- name?: string | null;
15277
- sku?: string | null;
15278
- stock_status?: ProductStockStatus | null;
15279
- only_x_left_in_stock?: number | null;
15280
- } | {
15281
- __typename?: 'SimpleProduct';
15282
- uid: string;
15283
- name?: string | null;
15284
- sku?: string | null;
15285
- stock_status?: ProductStockStatus | null;
15286
- only_x_left_in_stock?: number | null;
15287
- } | {
15288
- __typename?: 'VirtualProduct';
15289
- uid: string;
15290
- name?: string | null;
15291
- sku?: string | null;
15292
- stock_status?: ProductStockStatus | null;
15293
- only_x_left_in_stock?: number | null;
15294
- };
15295
- } | {
15296
- __typename: 'SimpleCartItem';
15297
- uid: string;
15298
- quantity: number;
15299
- product: {
15300
- __typename?: 'BundleProduct';
15301
- uid: string;
15302
- name?: string | null;
15303
- sku?: string | null;
15304
- stock_status?: ProductStockStatus | null;
15305
- only_x_left_in_stock?: number | null;
15306
- items?: Array<{
15307
- __typename?: 'BundleItem';
15308
- uid?: string | null;
15309
- options?: Array<{
15310
- __typename?: 'BundleItemOption';
15311
- uid: string;
15312
- product?: {
15313
- __typename?: 'BundleProduct';
15314
- uid: string;
15315
- } | {
15316
- __typename?: 'ConfigurableProduct';
15317
- uid: string;
15318
- } | {
15319
- __typename?: 'DownloadableProduct';
15320
- uid: string;
15321
- } | {
15322
- __typename?: 'GiftCardProduct';
15323
- uid: string;
15324
- } | {
15325
- __typename?: 'GroupedProduct';
15326
- uid: string;
15327
- } | {
15328
- __typename?: 'SimpleProduct';
15329
- uid: string;
15330
- } | {
15331
- __typename?: 'VirtualProduct';
15332
- uid: string;
15333
- } | null;
15334
- } | null> | null;
15335
- } | null> | null;
15336
- } | {
15337
- __typename?: 'ConfigurableProduct';
15338
- uid: string;
15339
- name?: string | null;
15340
- sku?: string | null;
15341
- stock_status?: ProductStockStatus | null;
15342
- only_x_left_in_stock?: number | null;
15343
- variants?: Array<{
15344
- __typename?: 'ConfigurableVariant';
15345
- attributes?: Array<{
15346
- __typename?: 'ConfigurableAttributeOption';
15347
- uid: string;
15348
- } | null> | null;
15349
- product?: {
15350
- __typename?: 'SimpleProduct';
15351
- uid: string;
15352
- stock_status?: ProductStockStatus | null;
15353
- } | null;
15354
- } | null> | null;
15355
- } | {
15356
- __typename?: 'DownloadableProduct';
15357
- uid: string;
15358
- name?: string | null;
15359
- sku?: string | null;
15360
- stock_status?: ProductStockStatus | null;
15361
- only_x_left_in_stock?: number | null;
15362
- } | {
15363
- __typename?: 'GiftCardProduct';
15364
- uid: string;
15365
- name?: string | null;
15366
- sku?: string | null;
15367
- stock_status?: ProductStockStatus | null;
15368
- only_x_left_in_stock?: number | null;
15369
- } | {
15370
- __typename?: 'GroupedProduct';
15371
- uid: string;
15372
- name?: string | null;
15373
- sku?: string | null;
15374
- stock_status?: ProductStockStatus | null;
15375
- only_x_left_in_stock?: number | null;
15376
- } | {
15377
- __typename?: 'SimpleProduct';
15378
- uid: string;
15379
- name?: string | null;
15380
- sku?: string | null;
15381
- stock_status?: ProductStockStatus | null;
15382
- only_x_left_in_stock?: number | null;
15383
- } | {
15384
- __typename?: 'VirtualProduct';
15385
- uid: string;
15386
- name?: string | null;
15387
- sku?: string | null;
15388
- stock_status?: ProductStockStatus | null;
15389
- only_x_left_in_stock?: number | null;
15390
- };
15391
- } | {
15392
- __typename: 'VirtualCartItem';
15393
- uid: string;
15394
- quantity: number;
15395
- product: {
15396
- __typename?: 'BundleProduct';
15397
- uid: string;
15398
- name?: string | null;
15399
- sku?: string | null;
15400
- stock_status?: ProductStockStatus | null;
15401
- only_x_left_in_stock?: number | null;
15402
- items?: Array<{
15403
- __typename?: 'BundleItem';
15404
- uid?: string | null;
15405
- options?: Array<{
15406
- __typename?: 'BundleItemOption';
15407
- uid: string;
15408
- product?: {
15409
- __typename?: 'BundleProduct';
15410
- uid: string;
15411
- } | {
15412
- __typename?: 'ConfigurableProduct';
15413
- uid: string;
15414
- } | {
15415
- __typename?: 'DownloadableProduct';
15416
- uid: string;
15417
- } | {
15418
- __typename?: 'GiftCardProduct';
15419
- uid: string;
15420
- } | {
15421
- __typename?: 'GroupedProduct';
15422
- uid: string;
15423
- } | {
15424
- __typename?: 'SimpleProduct';
15425
- uid: string;
15426
- } | {
15427
- __typename?: 'VirtualProduct';
15428
- uid: string;
15429
- } | null;
15430
- } | null> | null;
15431
- } | null> | null;
15432
- } | {
15433
- __typename?: 'ConfigurableProduct';
15434
- uid: string;
15435
- name?: string | null;
15436
- sku?: string | null;
15437
- stock_status?: ProductStockStatus | null;
15438
- only_x_left_in_stock?: number | null;
15439
- variants?: Array<{
15440
- __typename?: 'ConfigurableVariant';
15441
- attributes?: Array<{
15442
- __typename?: 'ConfigurableAttributeOption';
15443
- uid: string;
15444
- } | null> | null;
15445
- product?: {
15446
- __typename?: 'SimpleProduct';
15447
- uid: string;
15448
- stock_status?: ProductStockStatus | null;
15449
- } | null;
15450
- } | null> | null;
15451
- } | {
15452
- __typename?: 'DownloadableProduct';
15453
- uid: string;
15454
- name?: string | null;
15455
- sku?: string | null;
15456
- stock_status?: ProductStockStatus | null;
15457
- only_x_left_in_stock?: number | null;
15458
- } | {
15459
- __typename?: 'GiftCardProduct';
15460
- uid: string;
15461
- name?: string | null;
15462
- sku?: string | null;
15463
- stock_status?: ProductStockStatus | null;
15464
- only_x_left_in_stock?: number | null;
15465
- } | {
15466
- __typename?: 'GroupedProduct';
15467
- uid: string;
15468
- name?: string | null;
15469
- sku?: string | null;
15470
- stock_status?: ProductStockStatus | null;
15471
- only_x_left_in_stock?: number | null;
15472
- } | {
15473
- __typename?: 'SimpleProduct';
15474
- uid: string;
15475
- name?: string | null;
15476
- sku?: string | null;
15477
- stock_status?: ProductStockStatus | null;
15478
- only_x_left_in_stock?: number | null;
15479
- } | {
15480
- __typename?: 'VirtualProduct';
15481
- uid: string;
15482
- name?: string | null;
15483
- sku?: string | null;
15484
- stock_status?: ProductStockStatus | null;
15485
- only_x_left_in_stock?: number | null;
15486
- };
15487
- } | null> | null;
15488
- };
15489
- };
15490
- export type GetStoreConfigQueryVariables = Exact<{
15491
- [key: string]: never;
15492
- }>;
15493
- export type GetStoreConfigQuery = {
15494
- __typename?: 'Query';
15495
- storeConfig?: {
15496
- __typename?: 'StoreConfig';
15497
- countries_with_required_region?: string | null;
15498
- default_country?: string | null;
15499
- display_state_if_optional?: boolean | null;
15500
- is_guest_checkout_enabled?: boolean | null;
15501
- is_one_page_checkout_enabled?: boolean | null;
15502
- locale?: string | null;
15503
- optional_zip_countries?: string | null;
15504
- store_code?: string | null;
15505
- } | null;
15506
- };
15507
- export type IsEmailAvailableQueryVariables = Exact<{
15508
- email: Scalars['String']['input'];
15509
- }>;
15510
- export type IsEmailAvailableQuery = {
15511
- __typename?: 'Query';
15512
- isEmailAvailable?: {
15513
- __typename?: 'IsEmailAvailableOutput';
15514
- is_email_available?: boolean | null;
15515
- } | null;
15516
- };
15517
- export type PlaceOrderMutationVariables = Exact<{
15518
- cartId: Scalars['String']['input'];
15519
- }>;
15520
- export type PlaceOrderMutation = {
15521
- __typename?: 'Mutation';
15522
- placeOrder?: {
15523
- __typename?: 'PlaceOrderOutput';
15524
- orderV2?: {
15525
- __typename?: 'CustomerOrder';
15526
- number: string;
15527
- token: string;
15528
- email?: string | null;
15529
- id: string;
15530
- shipping_method?: string | null;
15531
- applied_coupons: Array<{
15532
- __typename?: 'AppliedCoupon';
15533
- code: string;
15534
- } | null>;
15535
- total?: {
15536
- __typename?: 'OrderTotal';
15537
- grand_total: {
15538
- __typename?: 'Money';
15539
- value?: number | null;
15540
- };
15541
- subtotal: {
15542
- __typename?: 'Money';
15543
- value?: number | null;
15544
- };
15545
- total_shipping: {
15546
- __typename?: 'Money';
15547
- value?: number | null;
15548
- };
15549
- total_tax: {
15550
- __typename?: 'Money';
15551
- value?: number | null;
15552
- };
15553
- } | null;
15554
- payment_methods?: Array<{
15555
- __typename?: 'OrderPaymentMethod';
15556
- name: string;
15557
- type: string;
15558
- } | null> | null;
15559
- items?: Array<{
15560
- __typename?: 'BundleOrderItem';
15561
- id: string;
15562
- quantity_canceled?: number | null;
15563
- quantity_invoiced?: number | null;
15564
- quantity_ordered?: number | null;
15565
- quantity_refunded?: number | null;
15566
- quantity_returned?: number | null;
15567
- quantity_shipped?: number | null;
15568
- discounts?: Array<{
15569
- __typename?: 'Discount';
15570
- amount: {
15571
- __typename?: 'Money';
15572
- value?: number | null;
15573
- };
15574
- } | null> | null;
15575
- product?: {
15576
- __typename: 'BundleProduct';
15577
- canonical_url?: string | null;
15578
- name?: string | null;
15579
- sku?: string | null;
13934
+ image?: {
13935
+ __typename?: 'ProductImage';
13936
+ url?: string | null;
13937
+ } | null;
13938
+ thumbnail?: {
13939
+ __typename?: 'ProductImage';
13940
+ label?: string | null;
13941
+ url?: string | null;
13942
+ } | null;
13943
+ price_range: {
13944
+ __typename?: 'PriceRange';
13945
+ maximum_price?: {
13946
+ __typename?: 'ProductPrice';
13947
+ regular_price: {
13948
+ __typename?: 'Money';
13949
+ currency?: CurrencyEnum | null;
13950
+ value?: number | null;
13951
+ };
13952
+ } | null;
13953
+ };
13954
+ } | {
13955
+ __typename: 'GiftCardProduct';
13956
+ canonical_url?: string | null;
13957
+ name?: string | null;
13958
+ sku?: string | null;
15580
13959
  uid: string;
15581
13960
  image?: {
15582
13961
  __typename?: 'ProductImage';
15583
13962
  url?: string | null;
15584
13963
  } | null;
15585
- } | {
15586
- __typename: 'ConfigurableProduct';
15587
- canonical_url?: string | null;
15588
- name?: string | null;
15589
- sku?: string | null;
15590
- uid: string;
15591
- image?: {
13964
+ thumbnail?: {
15592
13965
  __typename?: 'ProductImage';
13966
+ label?: string | null;
15593
13967
  url?: string | null;
15594
13968
  } | null;
13969
+ price_range: {
13970
+ __typename?: 'PriceRange';
13971
+ maximum_price?: {
13972
+ __typename?: 'ProductPrice';
13973
+ regular_price: {
13974
+ __typename?: 'Money';
13975
+ currency?: CurrencyEnum | null;
13976
+ value?: number | null;
13977
+ };
13978
+ } | null;
13979
+ };
15595
13980
  } | {
15596
- __typename: 'DownloadableProduct';
13981
+ __typename: 'GroupedProduct';
15597
13982
  canonical_url?: string | null;
15598
13983
  name?: string | null;
15599
13984
  sku?: string | null;
@@ -15602,18 +13987,24 @@ export type PlaceOrderMutation = {
15602
13987
  __typename?: 'ProductImage';
15603
13988
  url?: string | null;
15604
13989
  } | null;
15605
- } | {
15606
- __typename: 'GiftCardProduct';
15607
- canonical_url?: string | null;
15608
- name?: string | null;
15609
- sku?: string | null;
15610
- uid: string;
15611
- image?: {
13990
+ thumbnail?: {
15612
13991
  __typename?: 'ProductImage';
13992
+ label?: string | null;
15613
13993
  url?: string | null;
15614
13994
  } | null;
13995
+ price_range: {
13996
+ __typename?: 'PriceRange';
13997
+ maximum_price?: {
13998
+ __typename?: 'ProductPrice';
13999
+ regular_price: {
14000
+ __typename?: 'Money';
14001
+ currency?: CurrencyEnum | null;
14002
+ value?: number | null;
14003
+ };
14004
+ } | null;
14005
+ };
15615
14006
  } | {
15616
- __typename: 'GroupedProduct';
14007
+ __typename: 'SimpleProduct';
15617
14008
  canonical_url?: string | null;
15618
14009
  name?: string | null;
15619
14010
  sku?: string | null;
@@ -15622,16 +14013,22 @@ export type PlaceOrderMutation = {
15622
14013
  __typename?: 'ProductImage';
15623
14014
  url?: string | null;
15624
14015
  } | null;
15625
- } | {
15626
- __typename: 'SimpleProduct';
15627
- canonical_url?: string | null;
15628
- name?: string | null;
15629
- sku?: string | null;
15630
- uid: string;
15631
- image?: {
14016
+ thumbnail?: {
15632
14017
  __typename?: 'ProductImage';
14018
+ label?: string | null;
15633
14019
  url?: string | null;
15634
14020
  } | null;
14021
+ price_range: {
14022
+ __typename?: 'PriceRange';
14023
+ maximum_price?: {
14024
+ __typename?: 'ProductPrice';
14025
+ regular_price: {
14026
+ __typename?: 'Money';
14027
+ currency?: CurrencyEnum | null;
14028
+ value?: number | null;
14029
+ };
14030
+ } | null;
14031
+ };
15635
14032
  } | {
15636
14033
  __typename: 'VirtualProduct';
15637
14034
  canonical_url?: string | null;
@@ -15642,6 +14039,22 @@ export type PlaceOrderMutation = {
15642
14039
  __typename?: 'ProductImage';
15643
14040
  url?: string | null;
15644
14041
  } | null;
14042
+ thumbnail?: {
14043
+ __typename?: 'ProductImage';
14044
+ label?: string | null;
14045
+ url?: string | null;
14046
+ } | null;
14047
+ price_range: {
14048
+ __typename?: 'PriceRange';
14049
+ maximum_price?: {
14050
+ __typename?: 'ProductPrice';
14051
+ regular_price: {
14052
+ __typename?: 'Money';
14053
+ currency?: CurrencyEnum | null;
14054
+ value?: number | null;
14055
+ };
14056
+ } | null;
14057
+ };
15645
14058
  } | null;
15646
14059
  selected_options?: Array<{
15647
14060
  __typename?: 'OrderItemOption';
@@ -15654,7 +14067,7 @@ export type PlaceOrderMutation = {
15654
14067
  currency?: CurrencyEnum | null;
15655
14068
  };
15656
14069
  } | {
15657
- __typename?: 'DownloadableOrderItem';
14070
+ __typename: 'DownloadableOrderItem';
15658
14071
  id: string;
15659
14072
  quantity_canceled?: number | null;
15660
14073
  quantity_invoiced?: number | null;
@@ -15679,6 +14092,22 @@ export type PlaceOrderMutation = {
15679
14092
  __typename?: 'ProductImage';
15680
14093
  url?: string | null;
15681
14094
  } | null;
14095
+ thumbnail?: {
14096
+ __typename?: 'ProductImage';
14097
+ label?: string | null;
14098
+ url?: string | null;
14099
+ } | null;
14100
+ price_range: {
14101
+ __typename?: 'PriceRange';
14102
+ maximum_price?: {
14103
+ __typename?: 'ProductPrice';
14104
+ regular_price: {
14105
+ __typename?: 'Money';
14106
+ currency?: CurrencyEnum | null;
14107
+ value?: number | null;
14108
+ };
14109
+ } | null;
14110
+ };
15682
14111
  } | {
15683
14112
  __typename: 'ConfigurableProduct';
15684
14113
  canonical_url?: string | null;
@@ -15689,6 +14118,22 @@ export type PlaceOrderMutation = {
15689
14118
  __typename?: 'ProductImage';
15690
14119
  url?: string | null;
15691
14120
  } | null;
14121
+ thumbnail?: {
14122
+ __typename?: 'ProductImage';
14123
+ label?: string | null;
14124
+ url?: string | null;
14125
+ } | null;
14126
+ price_range: {
14127
+ __typename?: 'PriceRange';
14128
+ maximum_price?: {
14129
+ __typename?: 'ProductPrice';
14130
+ regular_price: {
14131
+ __typename?: 'Money';
14132
+ currency?: CurrencyEnum | null;
14133
+ value?: number | null;
14134
+ };
14135
+ } | null;
14136
+ };
15692
14137
  } | {
15693
14138
  __typename: 'DownloadableProduct';
15694
14139
  canonical_url?: string | null;
@@ -15699,6 +14144,22 @@ export type PlaceOrderMutation = {
15699
14144
  __typename?: 'ProductImage';
15700
14145
  url?: string | null;
15701
14146
  } | null;
14147
+ thumbnail?: {
14148
+ __typename?: 'ProductImage';
14149
+ label?: string | null;
14150
+ url?: string | null;
14151
+ } | null;
14152
+ price_range: {
14153
+ __typename?: 'PriceRange';
14154
+ maximum_price?: {
14155
+ __typename?: 'ProductPrice';
14156
+ regular_price: {
14157
+ __typename?: 'Money';
14158
+ currency?: CurrencyEnum | null;
14159
+ value?: number | null;
14160
+ };
14161
+ } | null;
14162
+ };
15702
14163
  } | {
15703
14164
  __typename: 'GiftCardProduct';
15704
14165
  canonical_url?: string | null;
@@ -15709,6 +14170,22 @@ export type PlaceOrderMutation = {
15709
14170
  __typename?: 'ProductImage';
15710
14171
  url?: string | null;
15711
14172
  } | null;
14173
+ thumbnail?: {
14174
+ __typename?: 'ProductImage';
14175
+ label?: string | null;
14176
+ url?: string | null;
14177
+ } | null;
14178
+ price_range: {
14179
+ __typename?: 'PriceRange';
14180
+ maximum_price?: {
14181
+ __typename?: 'ProductPrice';
14182
+ regular_price: {
14183
+ __typename?: 'Money';
14184
+ currency?: CurrencyEnum | null;
14185
+ value?: number | null;
14186
+ };
14187
+ } | null;
14188
+ };
15712
14189
  } | {
15713
14190
  __typename: 'GroupedProduct';
15714
14191
  canonical_url?: string | null;
@@ -15719,6 +14196,22 @@ export type PlaceOrderMutation = {
15719
14196
  __typename?: 'ProductImage';
15720
14197
  url?: string | null;
15721
14198
  } | null;
14199
+ thumbnail?: {
14200
+ __typename?: 'ProductImage';
14201
+ label?: string | null;
14202
+ url?: string | null;
14203
+ } | null;
14204
+ price_range: {
14205
+ __typename?: 'PriceRange';
14206
+ maximum_price?: {
14207
+ __typename?: 'ProductPrice';
14208
+ regular_price: {
14209
+ __typename?: 'Money';
14210
+ currency?: CurrencyEnum | null;
14211
+ value?: number | null;
14212
+ };
14213
+ } | null;
14214
+ };
15722
14215
  } | {
15723
14216
  __typename: 'SimpleProduct';
15724
14217
  canonical_url?: string | null;
@@ -15729,6 +14222,22 @@ export type PlaceOrderMutation = {
15729
14222
  __typename?: 'ProductImage';
15730
14223
  url?: string | null;
15731
14224
  } | null;
14225
+ thumbnail?: {
14226
+ __typename?: 'ProductImage';
14227
+ label?: string | null;
14228
+ url?: string | null;
14229
+ } | null;
14230
+ price_range: {
14231
+ __typename?: 'PriceRange';
14232
+ maximum_price?: {
14233
+ __typename?: 'ProductPrice';
14234
+ regular_price: {
14235
+ __typename?: 'Money';
14236
+ currency?: CurrencyEnum | null;
14237
+ value?: number | null;
14238
+ };
14239
+ } | null;
14240
+ };
15732
14241
  } | {
15733
14242
  __typename: 'VirtualProduct';
15734
14243
  canonical_url?: string | null;
@@ -15739,6 +14248,22 @@ export type PlaceOrderMutation = {
15739
14248
  __typename?: 'ProductImage';
15740
14249
  url?: string | null;
15741
14250
  } | null;
14251
+ thumbnail?: {
14252
+ __typename?: 'ProductImage';
14253
+ label?: string | null;
14254
+ url?: string | null;
14255
+ } | null;
14256
+ price_range: {
14257
+ __typename?: 'PriceRange';
14258
+ maximum_price?: {
14259
+ __typename?: 'ProductPrice';
14260
+ regular_price: {
14261
+ __typename?: 'Money';
14262
+ currency?: CurrencyEnum | null;
14263
+ value?: number | null;
14264
+ };
14265
+ } | null;
14266
+ };
15742
14267
  } | null;
15743
14268
  selected_options?: Array<{
15744
14269
  __typename?: 'OrderItemOption';
@@ -15751,7 +14276,7 @@ export type PlaceOrderMutation = {
15751
14276
  currency?: CurrencyEnum | null;
15752
14277
  };
15753
14278
  } | {
15754
- __typename?: 'GiftCardOrderItem';
14279
+ __typename: 'GiftCardOrderItem';
15755
14280
  id: string;
15756
14281
  quantity_canceled?: number | null;
15757
14282
  quantity_invoiced?: number | null;
@@ -15759,6 +14284,14 @@ export type PlaceOrderMutation = {
15759
14284
  quantity_refunded?: number | null;
15760
14285
  quantity_returned?: number | null;
15761
14286
  quantity_shipped?: number | null;
14287
+ gift_card?: {
14288
+ __typename?: 'GiftCardItem';
14289
+ recipient_name?: string | null;
14290
+ recipient_email?: string | null;
14291
+ sender_name?: string | null;
14292
+ sender_email?: string | null;
14293
+ message?: string | null;
14294
+ } | null;
15762
14295
  discounts?: Array<{
15763
14296
  __typename?: 'Discount';
15764
14297
  amount: {
@@ -15776,6 +14309,22 @@ export type PlaceOrderMutation = {
15776
14309
  __typename?: 'ProductImage';
15777
14310
  url?: string | null;
15778
14311
  } | null;
14312
+ thumbnail?: {
14313
+ __typename?: 'ProductImage';
14314
+ label?: string | null;
14315
+ url?: string | null;
14316
+ } | null;
14317
+ price_range: {
14318
+ __typename?: 'PriceRange';
14319
+ maximum_price?: {
14320
+ __typename?: 'ProductPrice';
14321
+ regular_price: {
14322
+ __typename?: 'Money';
14323
+ currency?: CurrencyEnum | null;
14324
+ value?: number | null;
14325
+ };
14326
+ } | null;
14327
+ };
15779
14328
  } | {
15780
14329
  __typename: 'ConfigurableProduct';
15781
14330
  canonical_url?: string | null;
@@ -15786,6 +14335,22 @@ export type PlaceOrderMutation = {
15786
14335
  __typename?: 'ProductImage';
15787
14336
  url?: string | null;
15788
14337
  } | null;
14338
+ thumbnail?: {
14339
+ __typename?: 'ProductImage';
14340
+ label?: string | null;
14341
+ url?: string | null;
14342
+ } | null;
14343
+ price_range: {
14344
+ __typename?: 'PriceRange';
14345
+ maximum_price?: {
14346
+ __typename?: 'ProductPrice';
14347
+ regular_price: {
14348
+ __typename?: 'Money';
14349
+ currency?: CurrencyEnum | null;
14350
+ value?: number | null;
14351
+ };
14352
+ } | null;
14353
+ };
15789
14354
  } | {
15790
14355
  __typename: 'DownloadableProduct';
15791
14356
  canonical_url?: string | null;
@@ -15796,6 +14361,22 @@ export type PlaceOrderMutation = {
15796
14361
  __typename?: 'ProductImage';
15797
14362
  url?: string | null;
15798
14363
  } | null;
14364
+ thumbnail?: {
14365
+ __typename?: 'ProductImage';
14366
+ label?: string | null;
14367
+ url?: string | null;
14368
+ } | null;
14369
+ price_range: {
14370
+ __typename?: 'PriceRange';
14371
+ maximum_price?: {
14372
+ __typename?: 'ProductPrice';
14373
+ regular_price: {
14374
+ __typename?: 'Money';
14375
+ currency?: CurrencyEnum | null;
14376
+ value?: number | null;
14377
+ };
14378
+ } | null;
14379
+ };
15799
14380
  } | {
15800
14381
  __typename: 'GiftCardProduct';
15801
14382
  canonical_url?: string | null;
@@ -15806,6 +14387,22 @@ export type PlaceOrderMutation = {
15806
14387
  __typename?: 'ProductImage';
15807
14388
  url?: string | null;
15808
14389
  } | null;
14390
+ thumbnail?: {
14391
+ __typename?: 'ProductImage';
14392
+ label?: string | null;
14393
+ url?: string | null;
14394
+ } | null;
14395
+ price_range: {
14396
+ __typename?: 'PriceRange';
14397
+ maximum_price?: {
14398
+ __typename?: 'ProductPrice';
14399
+ regular_price: {
14400
+ __typename?: 'Money';
14401
+ currency?: CurrencyEnum | null;
14402
+ value?: number | null;
14403
+ };
14404
+ } | null;
14405
+ };
15809
14406
  } | {
15810
14407
  __typename: 'GroupedProduct';
15811
14408
  canonical_url?: string | null;
@@ -15816,6 +14413,22 @@ export type PlaceOrderMutation = {
15816
14413
  __typename?: 'ProductImage';
15817
14414
  url?: string | null;
15818
14415
  } | null;
14416
+ thumbnail?: {
14417
+ __typename?: 'ProductImage';
14418
+ label?: string | null;
14419
+ url?: string | null;
14420
+ } | null;
14421
+ price_range: {
14422
+ __typename?: 'PriceRange';
14423
+ maximum_price?: {
14424
+ __typename?: 'ProductPrice';
14425
+ regular_price: {
14426
+ __typename?: 'Money';
14427
+ currency?: CurrencyEnum | null;
14428
+ value?: number | null;
14429
+ };
14430
+ } | null;
14431
+ };
15819
14432
  } | {
15820
14433
  __typename: 'SimpleProduct';
15821
14434
  canonical_url?: string | null;
@@ -15826,6 +14439,22 @@ export type PlaceOrderMutation = {
15826
14439
  __typename?: 'ProductImage';
15827
14440
  url?: string | null;
15828
14441
  } | null;
14442
+ thumbnail?: {
14443
+ __typename?: 'ProductImage';
14444
+ label?: string | null;
14445
+ url?: string | null;
14446
+ } | null;
14447
+ price_range: {
14448
+ __typename?: 'PriceRange';
14449
+ maximum_price?: {
14450
+ __typename?: 'ProductPrice';
14451
+ regular_price: {
14452
+ __typename?: 'Money';
14453
+ currency?: CurrencyEnum | null;
14454
+ value?: number | null;
14455
+ };
14456
+ } | null;
14457
+ };
15829
14458
  } | {
15830
14459
  __typename: 'VirtualProduct';
15831
14460
  canonical_url?: string | null;
@@ -15836,6 +14465,22 @@ export type PlaceOrderMutation = {
15836
14465
  __typename?: 'ProductImage';
15837
14466
  url?: string | null;
15838
14467
  } | null;
14468
+ thumbnail?: {
14469
+ __typename?: 'ProductImage';
14470
+ label?: string | null;
14471
+ url?: string | null;
14472
+ } | null;
14473
+ price_range: {
14474
+ __typename?: 'PriceRange';
14475
+ maximum_price?: {
14476
+ __typename?: 'ProductPrice';
14477
+ regular_price: {
14478
+ __typename?: 'Money';
14479
+ currency?: CurrencyEnum | null;
14480
+ value?: number | null;
14481
+ };
14482
+ } | null;
14483
+ };
15839
14484
  } | null;
15840
14485
  selected_options?: Array<{
15841
14486
  __typename?: 'OrderItemOption';
@@ -15848,7 +14493,7 @@ export type PlaceOrderMutation = {
15848
14493
  currency?: CurrencyEnum | null;
15849
14494
  };
15850
14495
  } | {
15851
- __typename?: 'OrderItem';
14496
+ __typename: 'OrderItem';
15852
14497
  id: string;
15853
14498
  quantity_canceled?: number | null;
15854
14499
  quantity_invoiced?: number | null;
@@ -15873,6 +14518,22 @@ export type PlaceOrderMutation = {
15873
14518
  __typename?: 'ProductImage';
15874
14519
  url?: string | null;
15875
14520
  } | null;
14521
+ thumbnail?: {
14522
+ __typename?: 'ProductImage';
14523
+ label?: string | null;
14524
+ url?: string | null;
14525
+ } | null;
14526
+ price_range: {
14527
+ __typename?: 'PriceRange';
14528
+ maximum_price?: {
14529
+ __typename?: 'ProductPrice';
14530
+ regular_price: {
14531
+ __typename?: 'Money';
14532
+ currency?: CurrencyEnum | null;
14533
+ value?: number | null;
14534
+ };
14535
+ } | null;
14536
+ };
15876
14537
  } | {
15877
14538
  __typename: 'ConfigurableProduct';
15878
14539
  canonical_url?: string | null;
@@ -15883,6 +14544,22 @@ export type PlaceOrderMutation = {
15883
14544
  __typename?: 'ProductImage';
15884
14545
  url?: string | null;
15885
14546
  } | null;
14547
+ thumbnail?: {
14548
+ __typename?: 'ProductImage';
14549
+ label?: string | null;
14550
+ url?: string | null;
14551
+ } | null;
14552
+ price_range: {
14553
+ __typename?: 'PriceRange';
14554
+ maximum_price?: {
14555
+ __typename?: 'ProductPrice';
14556
+ regular_price: {
14557
+ __typename?: 'Money';
14558
+ currency?: CurrencyEnum | null;
14559
+ value?: number | null;
14560
+ };
14561
+ } | null;
14562
+ };
15886
14563
  } | {
15887
14564
  __typename: 'DownloadableProduct';
15888
14565
  canonical_url?: string | null;
@@ -15893,6 +14570,22 @@ export type PlaceOrderMutation = {
15893
14570
  __typename?: 'ProductImage';
15894
14571
  url?: string | null;
15895
14572
  } | null;
14573
+ thumbnail?: {
14574
+ __typename?: 'ProductImage';
14575
+ label?: string | null;
14576
+ url?: string | null;
14577
+ } | null;
14578
+ price_range: {
14579
+ __typename?: 'PriceRange';
14580
+ maximum_price?: {
14581
+ __typename?: 'ProductPrice';
14582
+ regular_price: {
14583
+ __typename?: 'Money';
14584
+ currency?: CurrencyEnum | null;
14585
+ value?: number | null;
14586
+ };
14587
+ } | null;
14588
+ };
15896
14589
  } | {
15897
14590
  __typename: 'GiftCardProduct';
15898
14591
  canonical_url?: string | null;
@@ -15903,6 +14596,22 @@ export type PlaceOrderMutation = {
15903
14596
  __typename?: 'ProductImage';
15904
14597
  url?: string | null;
15905
14598
  } | null;
14599
+ thumbnail?: {
14600
+ __typename?: 'ProductImage';
14601
+ label?: string | null;
14602
+ url?: string | null;
14603
+ } | null;
14604
+ price_range: {
14605
+ __typename?: 'PriceRange';
14606
+ maximum_price?: {
14607
+ __typename?: 'ProductPrice';
14608
+ regular_price: {
14609
+ __typename?: 'Money';
14610
+ currency?: CurrencyEnum | null;
14611
+ value?: number | null;
14612
+ };
14613
+ } | null;
14614
+ };
15906
14615
  } | {
15907
14616
  __typename: 'GroupedProduct';
15908
14617
  canonical_url?: string | null;
@@ -15913,6 +14622,22 @@ export type PlaceOrderMutation = {
15913
14622
  __typename?: 'ProductImage';
15914
14623
  url?: string | null;
15915
14624
  } | null;
14625
+ thumbnail?: {
14626
+ __typename?: 'ProductImage';
14627
+ label?: string | null;
14628
+ url?: string | null;
14629
+ } | null;
14630
+ price_range: {
14631
+ __typename?: 'PriceRange';
14632
+ maximum_price?: {
14633
+ __typename?: 'ProductPrice';
14634
+ regular_price: {
14635
+ __typename?: 'Money';
14636
+ currency?: CurrencyEnum | null;
14637
+ value?: number | null;
14638
+ };
14639
+ } | null;
14640
+ };
15916
14641
  } | {
15917
14642
  __typename: 'SimpleProduct';
15918
14643
  canonical_url?: string | null;
@@ -15923,6 +14648,22 @@ export type PlaceOrderMutation = {
15923
14648
  __typename?: 'ProductImage';
15924
14649
  url?: string | null;
15925
14650
  } | null;
14651
+ thumbnail?: {
14652
+ __typename?: 'ProductImage';
14653
+ label?: string | null;
14654
+ url?: string | null;
14655
+ } | null;
14656
+ price_range: {
14657
+ __typename?: 'PriceRange';
14658
+ maximum_price?: {
14659
+ __typename?: 'ProductPrice';
14660
+ regular_price: {
14661
+ __typename?: 'Money';
14662
+ currency?: CurrencyEnum | null;
14663
+ value?: number | null;
14664
+ };
14665
+ } | null;
14666
+ };
15926
14667
  } | {
15927
14668
  __typename: 'VirtualProduct';
15928
14669
  canonical_url?: string | null;
@@ -15933,6 +14674,22 @@ export type PlaceOrderMutation = {
15933
14674
  __typename?: 'ProductImage';
15934
14675
  url?: string | null;
15935
14676
  } | null;
14677
+ thumbnail?: {
14678
+ __typename?: 'ProductImage';
14679
+ label?: string | null;
14680
+ url?: string | null;
14681
+ } | null;
14682
+ price_range: {
14683
+ __typename?: 'PriceRange';
14684
+ maximum_price?: {
14685
+ __typename?: 'ProductPrice';
14686
+ regular_price: {
14687
+ __typename?: 'Money';
14688
+ currency?: CurrencyEnum | null;
14689
+ value?: number | null;
14690
+ };
14691
+ } | null;
14692
+ };
15936
14693
  } | null;
15937
14694
  selected_options?: Array<{
15938
14695
  __typename?: 'OrderItemOption';
@@ -16054,6 +14811,16 @@ export type SetBillingAddressMutation = {
16054
14811
  value?: number | null;
16055
14812
  currency?: CurrencyEnum | null;
16056
14813
  };
14814
+ price_excl_tax: {
14815
+ __typename?: 'Money';
14816
+ value?: number | null;
14817
+ currency?: CurrencyEnum | null;
14818
+ };
14819
+ price_incl_tax: {
14820
+ __typename?: 'Money';
14821
+ value?: number | null;
14822
+ currency?: CurrencyEnum | null;
14823
+ };
16057
14824
  } | null;
16058
14825
  } | null>;
16059
14826
  available_payment_methods?: Array<{
@@ -16175,6 +14942,16 @@ export type SetGuestEmailMutation = {
16175
14942
  value?: number | null;
16176
14943
  currency?: CurrencyEnum | null;
16177
14944
  };
14945
+ price_excl_tax: {
14946
+ __typename?: 'Money';
14947
+ value?: number | null;
14948
+ currency?: CurrencyEnum | null;
14949
+ };
14950
+ price_incl_tax: {
14951
+ __typename?: 'Money';
14952
+ value?: number | null;
14953
+ currency?: CurrencyEnum | null;
14954
+ };
16178
14955
  } | null;
16179
14956
  } | null>;
16180
14957
  available_payment_methods?: Array<{
@@ -16296,6 +15073,16 @@ export type SetPaymentMethodMutation = {
16296
15073
  value?: number | null;
16297
15074
  currency?: CurrencyEnum | null;
16298
15075
  };
15076
+ price_excl_tax: {
15077
+ __typename?: 'Money';
15078
+ value?: number | null;
15079
+ currency?: CurrencyEnum | null;
15080
+ };
15081
+ price_incl_tax: {
15082
+ __typename?: 'Money';
15083
+ value?: number | null;
15084
+ currency?: CurrencyEnum | null;
15085
+ };
16299
15086
  } | null;
16300
15087
  } | null>;
16301
15088
  available_payment_methods?: Array<{
@@ -16417,6 +15204,16 @@ export type SetShippingAddressMutation = {
16417
15204
  value?: number | null;
16418
15205
  currency?: CurrencyEnum | null;
16419
15206
  };
15207
+ price_excl_tax: {
15208
+ __typename?: 'Money';
15209
+ value?: number | null;
15210
+ currency?: CurrencyEnum | null;
15211
+ };
15212
+ price_incl_tax: {
15213
+ __typename?: 'Money';
15214
+ value?: number | null;
15215
+ currency?: CurrencyEnum | null;
15216
+ };
16420
15217
  } | null;
16421
15218
  } | null>;
16422
15219
  available_payment_methods?: Array<{
@@ -16538,6 +15335,16 @@ export type SetShippingMethodsMutation = {
16538
15335
  value?: number | null;
16539
15336
  currency?: CurrencyEnum | null;
16540
15337
  };
15338
+ price_excl_tax: {
15339
+ __typename?: 'Money';
15340
+ value?: number | null;
15341
+ currency?: CurrencyEnum | null;
15342
+ };
15343
+ price_incl_tax: {
15344
+ __typename?: 'Money';
15345
+ value?: number | null;
15346
+ currency?: CurrencyEnum | null;
15347
+ };
16541
15348
  } | null;
16542
15349
  } | null>;
16543
15350
  available_payment_methods?: Array<{