@doswiftly/storefront-sdk 20.2.0 → 21.0.1

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 (41) hide show
  1. package/CHANGELOG.md +38 -0
  2. package/README.md +776 -529
  3. package/dist/core/auth/handlers.d.ts +10 -9
  4. package/dist/core/auth/handlers.d.ts.map +1 -1
  5. package/dist/core/auth/handlers.js +10 -9
  6. package/dist/core/auth/session-events.d.ts +2 -2
  7. package/dist/core/auth/session-events.js +2 -2
  8. package/dist/core/cart/cart-client.d.ts +23 -24
  9. package/dist/core/cart/cart-client.d.ts.map +1 -1
  10. package/dist/core/cart/cart-client.js +24 -25
  11. package/dist/core/generated/operation-types.d.ts +102 -108
  12. package/dist/core/generated/operation-types.d.ts.map +1 -1
  13. package/dist/core/middleware/session-retry.d.ts +5 -6
  14. package/dist/core/middleware/session-retry.d.ts.map +1 -1
  15. package/dist/core/middleware/session-retry.js +7 -8
  16. package/dist/core/operations/auth.d.ts.map +1 -1
  17. package/dist/core/operations/auth.js +4 -0
  18. package/dist/core/operations/cart.d.ts +11 -10
  19. package/dist/core/operations/cart.d.ts.map +1 -1
  20. package/dist/core/operations/cart.js +14 -11
  21. package/dist/react/components/PaymentInstrumentSection.d.ts +24 -24
  22. package/dist/react/components/PaymentInstrumentSection.d.ts.map +1 -1
  23. package/dist/react/components/PaymentInstrumentSection.js +15 -15
  24. package/dist/react/components/PaymentInstrumentTile.d.ts +19 -20
  25. package/dist/react/components/PaymentInstrumentTile.d.ts.map +1 -1
  26. package/dist/react/components/PaymentInstrumentTile.js +15 -16
  27. package/dist/react/helpers/browser-data.d.ts +30 -33
  28. package/dist/react/helpers/browser-data.d.ts.map +1 -1
  29. package/dist/react/helpers/browser-data.js +26 -29
  30. package/dist/react/hooks/use-cart-manager.d.ts +1 -1
  31. package/dist/react/hooks/use-cart-manager.js +1 -1
  32. package/dist/react/hooks/use-cart.d.ts +2 -2
  33. package/dist/react/hooks/use-cart.js +3 -3
  34. package/dist/react/hooks/use-session-expired.d.ts +6 -5
  35. package/dist/react/hooks/use-session-expired.d.ts.map +1 -1
  36. package/dist/react/hooks/use-session-expired.js +6 -5
  37. package/dist/react/stores/auth.store.d.ts.map +1 -1
  38. package/dist/react/stores/auth.store.js +13 -10
  39. package/dist/react/stores/cart.store.d.ts +1 -1
  40. package/dist/react/stores/cart.store.js +1 -1
  41. package/package.json +1 -1
@@ -1138,6 +1138,54 @@ export declare const CompensationType: {
1138
1138
  readonly StoreCredit: "STORE_CREDIT";
1139
1139
  };
1140
1140
  export type CompensationType = typeof CompensationType[keyof typeof CompensationType];
1141
+ export type ConfiguratorField = {
1142
+ /** Optional help text shown beneath the field. */
1143
+ description?: Maybe<Scalars['String']['output']>;
1144
+ /** Who provides the value — CUSTOMER (the shopper fills it in) or BOTH (seller sets a default the shopper can change). Seller-only metadata fields are not returned here. */
1145
+ filledBy: AttributeFillingMode;
1146
+ /** URL-friendly key for the field. */
1147
+ handle: Scalars['String']['output'];
1148
+ /** Stable identifier of this field. */
1149
+ id: Scalars['ID']['output'];
1150
+ /** Whether this field should be shown on the storefront. */
1151
+ isVisible: Scalars['Boolean']['output'];
1152
+ /** Upper bound — maximum value (NUMBER) or maximum length (TEXT). */
1153
+ maxValue?: Maybe<Scalars['Float']['output']>;
1154
+ /** Lower bound — minimum value (NUMBER) or minimum length (TEXT). */
1155
+ minValue?: Maybe<Scalars['Float']['output']>;
1156
+ /** Field label shown to the shopper (e.g. "Finish"). */
1157
+ name: Scalars['String']['output'];
1158
+ /** Selectable choices for SELECT / RADIO / CHECKBOX fields; empty for free-input types (TEXT, NUMBER, …). */
1159
+ options: Array<ConfiguratorOption>;
1160
+ /** If a choice adds cost, how it is billed — BUNDLED (folded into the product price) or SEPARATE_LINE (its own order line). Null when the field has no price impact. */
1161
+ pricingMode?: Maybe<AttributeBillingMode>;
1162
+ /** Whether the shopper must provide a value before adding the product to the cart. */
1163
+ required: Scalars['Boolean']['output'];
1164
+ /** Order in which to render this field. */
1165
+ sortOrder: Scalars['Int']['output'];
1166
+ /** Input type — controls how to render the field (TEXT, TEXTAREA, SELECT, RADIO, CHECKBOX, NUMBER, COLOR, …). */
1167
+ type: AttributeType;
1168
+ };
1169
+ export type ConfiguratorOption = {
1170
+ /** Hex colour for swatch rendering (COLOR fields). */
1171
+ colorHex?: Maybe<Scalars['String']['output']>;
1172
+ /** Stable identifier of this choice. */
1173
+ id: Scalars['ID']['output'];
1174
+ /** Whether this choice is pre-selected by default. */
1175
+ isDefault: Scalars['Boolean']['output'];
1176
+ /** Human-readable label shown to the shopper. */
1177
+ label: Scalars['String']['output'];
1178
+ /** The stocked variant this choice maps to (used for inventory-backed components). Null when the choice maps to no variant or the variant no longer exists. */
1179
+ linkedVariant?: Maybe<LinkedVariantSummary>;
1180
+ /** Order in which to render this choice. */
1181
+ sortOrder: Scalars['Int']['output'];
1182
+ /** Extra charge applied when this choice is selected. With surchargeType FIXED it is an amount in minor currency units (e.g. 500 = 5.00). With PERCENT it is thousandths of a percent (e.g. 1500 = 1.5%). */
1183
+ surchargeAmount?: Maybe<Scalars['Int']['output']>;
1184
+ /** How to interpret surchargeAmount — FIXED (a money amount) or PERCENT. */
1185
+ surchargeType?: Maybe<AttributeOptionSurchargeType>;
1186
+ /** Machine value (slug-style) — use it for form state and when submitting the choice to the cart. */
1187
+ value: Scalars['String']['output'];
1188
+ };
1141
1189
  export declare const ContentFormat: {
1142
1190
  readonly Html: "HTML";
1143
1191
  readonly Markdown: "MARKDOWN";
@@ -2751,10 +2799,8 @@ export type PricingTier = {
2751
2799
  unitPrice: Money;
2752
2800
  };
2753
2801
  export type Product = Node & {
2754
- /** Assigned AttributeSet ID (shared template fields) */
2755
- attributeSetId?: Maybe<Scalars['ID']['output']>;
2756
- /** Customer-facing product attributes (configurator) — set definitions + per-product scoped */
2757
- attributes: Array<ProductAttributeDefinition>;
2802
+ /** This product's stored custom-field values — merchant-managed metadata such as manufacturer, licence, material or EAN. Only fields the merchant marked visible are returned. Pass `namespace` to fetch a single group. */
2803
+ attributes: Array<EntityAttributeField>;
2758
2804
  /** Average rating (1-5) */
2759
2805
  averageRating?: Maybe<Scalars['Float']['output']>;
2760
2806
  /** Canonical brand entity. Resolved via DataLoader (N+1 safe for list queries). Null when the product has no assigned brand. */
@@ -2765,6 +2811,8 @@ export type Product = Node & {
2765
2811
  compareAtPriceRange?: Maybe<ProductPriceRange>;
2766
2812
  /** Opt-in: compare-at price range with conversion transparency. */
2767
2813
  compareAtPriceRangeWithConversion?: Maybe<ConvertedPriceRange>;
2814
+ /** Configurable fields shown on the product page for the shopper to fill in or choose (combines shared template fields and product-specific ones). Pass `{ filledBy: CUSTOMER }` to return only the fields a shopper can edit. */
2815
+ configuratorFields: Array<ConfiguratorField>;
2768
2816
  /** Creation timestamp */
2769
2817
  createdAt: Scalars['DateTime']['output'];
2770
2818
  /** Plain text description */
@@ -2814,60 +2862,6 @@ export type Product = Node & {
2814
2862
  /** Catalog visibility — PUBLIC | HIDDEN | BUNDLE_ONLY */
2815
2863
  visibility: ProductVisibility;
2816
2864
  };
2817
- export type ProductAttributeDefinition = {
2818
- /** Billing mode — BUNDLED | SEPARATE_LINE; null = informational only */
2819
- billingMode?: Maybe<AttributeBillingMode>;
2820
- /** Customer-facing description */
2821
- description?: Maybe<Scalars['String']['output']>;
2822
- /** Display order */
2823
- displayOrder: Scalars['Int']['output'];
2824
- /** Filling mode — MERCHANT | CUSTOMER | BOTH */
2825
- fillingMode: AttributeFillingMode;
2826
- /** URL-friendly handle */
2827
- handle: Scalars['String']['output'];
2828
- /** Definition ID */
2829
- id: Scalars['ID']['output'];
2830
- /** Required validation flag */
2831
- isRequired: Scalars['Boolean']['output'];
2832
- /** Visibility flag */
2833
- isVisible: Scalars['Boolean']['output'];
2834
- /** Max value (NUMBER) / max length (TEXT) */
2835
- maxValue?: Maybe<Scalars['Float']['output']>;
2836
- /** Min value (NUMBER) / min length (TEXT) */
2837
- minValue?: Maybe<Scalars['Float']['output']>;
2838
- /** Field name (e.g. "Finiszer") */
2839
- name: Scalars['String']['output'];
2840
- /** Options for SELECT/RADIO/CHECKBOX types */
2841
- options: Array<ProductAttributeOption>;
2842
- /** Per-product scope — set to product ID for unique configurator fields, null for shared (in AttributeSet) */
2843
- scopeProductId?: Maybe<Scalars['ID']['output']>;
2844
- /** Tax class ID; null = inherit from variant */
2845
- taxClassId?: Maybe<Scalars['ID']['output']>;
2846
- /** Field type — TEXT/SELECT/RADIO/CHECKBOX/etc. */
2847
- type: AttributeType;
2848
- };
2849
- export type ProductAttributeOption = {
2850
- /** Hex color (for COLOR/SWATCH types) */
2851
- colorHex?: Maybe<Scalars['String']['output']>;
2852
- /** Option ID */
2853
- id: Scalars['ID']['output'];
2854
- /** Default option marker */
2855
- isDefault: Scalars['Boolean']['output'];
2856
- /** Display label shown to customer */
2857
- label: Scalars['String']['output'];
2858
- /** Summary of the linked ProductVariant. Null when the option has no linkedVariantId or the variant was deleted. */
2859
- linkedVariant?: Maybe<LinkedVariantSummary>;
2860
- /** Linked ProductVariant ID for component stock decrement (hidden-products pattern). */
2861
- linkedVariantId?: Maybe<Scalars['ID']['output']>;
2862
- /** Sort order */
2863
- sortOrder: Scalars['Int']['output'];
2864
- /** Surcharge amount when selected (FIXED = minor currency units; PERCENT = thousandths of percent). */
2865
- surchargeAmount?: Maybe<Scalars['Int']['output']>;
2866
- /** Surcharge type — FIXED | PERCENT. */
2867
- surchargeType?: Maybe<AttributeOptionSurchargeType>;
2868
- /** Internal value (slug-style) */
2869
- value: Scalars['String']['output'];
2870
- };
2871
2865
  export type ProductConnection = {
2872
2866
  /** Product edges with cursors */
2873
2867
  edges: Array<ProductEdge>;
@@ -3959,10 +3953,10 @@ export type CartAddLinesMutation = {
3959
3953
  amount: Pick<Money, 'amount' | 'currencyCode'>;
3960
3954
  })>;
3961
3955
  attributes: Array<Pick<CartAttribute, 'key' | 'value'>>;
3962
- shippingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
3956
+ shippingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'buildingNumber' | 'flatNumber' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
3963
3957
  pickupPoint?: Maybe<Pick<PickupPoint, 'provider' | 'pointId' | 'name' | 'address'>>;
3964
3958
  })>;
3965
- billingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
3959
+ billingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'buildingNumber' | 'flatNumber' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
3966
3960
  pickupPoint?: Maybe<Pick<PickupPoint, 'provider' | 'pointId' | 'name' | 'address'>>;
3967
3961
  })>;
3968
3962
  selectedShippingMethod?: Maybe<(Pick<CartShippingMethod, 'handle' | 'title'> & {
@@ -4023,10 +4017,10 @@ export type CartApplyGiftCardMutation = {
4023
4017
  amount: Pick<Money, 'amount' | 'currencyCode'>;
4024
4018
  })>;
4025
4019
  attributes: Array<Pick<CartAttribute, 'key' | 'value'>>;
4026
- shippingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
4020
+ shippingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'buildingNumber' | 'flatNumber' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
4027
4021
  pickupPoint?: Maybe<Pick<PickupPoint, 'provider' | 'pointId' | 'name' | 'address'>>;
4028
4022
  })>;
4029
- billingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
4023
+ billingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'buildingNumber' | 'flatNumber' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
4030
4024
  pickupPoint?: Maybe<Pick<PickupPoint, 'provider' | 'pointId' | 'name' | 'address'>>;
4031
4025
  })>;
4032
4026
  selectedShippingMethod?: Maybe<(Pick<CartShippingMethod, 'handle' | 'title'> & {
@@ -4116,10 +4110,10 @@ export type CartClearPaymentSelectionMutation = {
4116
4110
  amount: Pick<Money, 'amount' | 'currencyCode'>;
4117
4111
  })>;
4118
4112
  attributes: Array<Pick<CartAttribute, 'key' | 'value'>>;
4119
- shippingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
4113
+ shippingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'buildingNumber' | 'flatNumber' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
4120
4114
  pickupPoint?: Maybe<Pick<PickupPoint, 'provider' | 'pointId' | 'name' | 'address'>>;
4121
4115
  })>;
4122
- billingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
4116
+ billingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'buildingNumber' | 'flatNumber' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
4123
4117
  pickupPoint?: Maybe<Pick<PickupPoint, 'provider' | 'pointId' | 'name' | 'address'>>;
4124
4118
  })>;
4125
4119
  selectedShippingMethod?: Maybe<(Pick<CartShippingMethod, 'handle' | 'title'> & {
@@ -4150,7 +4144,7 @@ export type CartCompleteMutation = {
4150
4144
  totalTax?: Maybe<Pick<Money, 'amount' | 'currencyCode'>>;
4151
4145
  totalShipping?: Maybe<Pick<Money, 'amount' | 'currencyCode'>>;
4152
4146
  };
4153
- shippingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
4147
+ shippingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'buildingNumber' | 'flatNumber' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
4154
4148
  pickupPoint?: Maybe<Pick<PickupPoint, 'provider' | 'pointId' | 'name' | 'address'>>;
4155
4149
  })>;
4156
4150
  discountAllocations: Array<(Pick<OrderDiscountAllocation, 'discountCode'> & {
@@ -4203,10 +4197,10 @@ export type CartCreateMutation = {
4203
4197
  amount: Pick<Money, 'amount' | 'currencyCode'>;
4204
4198
  })>;
4205
4199
  attributes: Array<Pick<CartAttribute, 'key' | 'value'>>;
4206
- shippingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
4200
+ shippingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'buildingNumber' | 'flatNumber' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
4207
4201
  pickupPoint?: Maybe<Pick<PickupPoint, 'provider' | 'pointId' | 'name' | 'address'>>;
4208
4202
  })>;
4209
- billingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
4203
+ billingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'buildingNumber' | 'flatNumber' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
4210
4204
  pickupPoint?: Maybe<Pick<PickupPoint, 'provider' | 'pointId' | 'name' | 'address'>>;
4211
4205
  })>;
4212
4206
  selectedShippingMethod?: Maybe<(Pick<CartShippingMethod, 'handle' | 'title'> & {
@@ -4268,10 +4262,10 @@ export type CartDiscountCodesUpdateMutation = {
4268
4262
  amount: Pick<Money, 'amount' | 'currencyCode'>;
4269
4263
  })>;
4270
4264
  attributes: Array<Pick<CartAttribute, 'key' | 'value'>>;
4271
- shippingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
4265
+ shippingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'buildingNumber' | 'flatNumber' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
4272
4266
  pickupPoint?: Maybe<Pick<PickupPoint, 'provider' | 'pointId' | 'name' | 'address'>>;
4273
4267
  })>;
4274
- billingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
4268
+ billingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'buildingNumber' | 'flatNumber' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
4275
4269
  pickupPoint?: Maybe<Pick<PickupPoint, 'provider' | 'pointId' | 'name' | 'address'>>;
4276
4270
  })>;
4277
4271
  selectedShippingMethod?: Maybe<(Pick<CartShippingMethod, 'handle' | 'title'> & {
@@ -4332,10 +4326,10 @@ export type CartDowngradeOnLogoutMutation = {
4332
4326
  amount: Pick<Money, 'amount' | 'currencyCode'>;
4333
4327
  })>;
4334
4328
  attributes: Array<Pick<CartAttribute, 'key' | 'value'>>;
4335
- shippingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
4329
+ shippingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'buildingNumber' | 'flatNumber' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
4336
4330
  pickupPoint?: Maybe<Pick<PickupPoint, 'provider' | 'pointId' | 'name' | 'address'>>;
4337
4331
  })>;
4338
- billingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
4332
+ billingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'buildingNumber' | 'flatNumber' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
4339
4333
  pickupPoint?: Maybe<Pick<PickupPoint, 'provider' | 'pointId' | 'name' | 'address'>>;
4340
4334
  })>;
4341
4335
  selectedShippingMethod?: Maybe<(Pick<CartShippingMethod, 'handle' | 'title'> & {
@@ -4396,10 +4390,10 @@ export type CartMergeMutation = {
4396
4390
  amount: Pick<Money, 'amount' | 'currencyCode'>;
4397
4391
  })>;
4398
4392
  attributes: Array<Pick<CartAttribute, 'key' | 'value'>>;
4399
- shippingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
4393
+ shippingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'buildingNumber' | 'flatNumber' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
4400
4394
  pickupPoint?: Maybe<Pick<PickupPoint, 'provider' | 'pointId' | 'name' | 'address'>>;
4401
4395
  })>;
4402
- billingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
4396
+ billingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'buildingNumber' | 'flatNumber' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
4403
4397
  pickupPoint?: Maybe<Pick<PickupPoint, 'provider' | 'pointId' | 'name' | 'address'>>;
4404
4398
  })>;
4405
4399
  selectedShippingMethod?: Maybe<(Pick<CartShippingMethod, 'handle' | 'title'> & {
@@ -4459,10 +4453,10 @@ export type CartQuery = {
4459
4453
  amount: Pick<Money, 'amount' | 'currencyCode'>;
4460
4454
  })>;
4461
4455
  attributes: Array<Pick<CartAttribute, 'key' | 'value'>>;
4462
- shippingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
4456
+ shippingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'buildingNumber' | 'flatNumber' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
4463
4457
  pickupPoint?: Maybe<Pick<PickupPoint, 'provider' | 'pointId' | 'name' | 'address'>>;
4464
4458
  })>;
4465
- billingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
4459
+ billingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'buildingNumber' | 'flatNumber' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
4466
4460
  pickupPoint?: Maybe<Pick<PickupPoint, 'provider' | 'pointId' | 'name' | 'address'>>;
4467
4461
  })>;
4468
4462
  selectedShippingMethod?: Maybe<(Pick<CartShippingMethod, 'handle' | 'title'> & {
@@ -4520,10 +4514,10 @@ export type CartRecoveryRedeemMutation = {
4520
4514
  amount: Pick<Money, 'amount' | 'currencyCode'>;
4521
4515
  })>;
4522
4516
  attributes: Array<Pick<CartAttribute, 'key' | 'value'>>;
4523
- shippingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
4517
+ shippingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'buildingNumber' | 'flatNumber' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
4524
4518
  pickupPoint?: Maybe<Pick<PickupPoint, 'provider' | 'pointId' | 'name' | 'address'>>;
4525
4519
  })>;
4526
- billingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
4520
+ billingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'buildingNumber' | 'flatNumber' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
4527
4521
  pickupPoint?: Maybe<Pick<PickupPoint, 'provider' | 'pointId' | 'name' | 'address'>>;
4528
4522
  })>;
4529
4523
  selectedShippingMethod?: Maybe<(Pick<CartShippingMethod, 'handle' | 'title'> & {
@@ -4584,10 +4578,10 @@ export type CartRemoveGiftCardMutation = {
4584
4578
  amount: Pick<Money, 'amount' | 'currencyCode'>;
4585
4579
  })>;
4586
4580
  attributes: Array<Pick<CartAttribute, 'key' | 'value'>>;
4587
- shippingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
4581
+ shippingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'buildingNumber' | 'flatNumber' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
4588
4582
  pickupPoint?: Maybe<Pick<PickupPoint, 'provider' | 'pointId' | 'name' | 'address'>>;
4589
4583
  })>;
4590
- billingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
4584
+ billingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'buildingNumber' | 'flatNumber' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
4591
4585
  pickupPoint?: Maybe<Pick<PickupPoint, 'provider' | 'pointId' | 'name' | 'address'>>;
4592
4586
  })>;
4593
4587
  selectedShippingMethod?: Maybe<(Pick<CartShippingMethod, 'handle' | 'title'> & {
@@ -4649,10 +4643,10 @@ export type CartRemoveLinesMutation = {
4649
4643
  amount: Pick<Money, 'amount' | 'currencyCode'>;
4650
4644
  })>;
4651
4645
  attributes: Array<Pick<CartAttribute, 'key' | 'value'>>;
4652
- shippingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
4646
+ shippingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'buildingNumber' | 'flatNumber' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
4653
4647
  pickupPoint?: Maybe<Pick<PickupPoint, 'provider' | 'pointId' | 'name' | 'address'>>;
4654
4648
  })>;
4655
- billingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
4649
+ billingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'buildingNumber' | 'flatNumber' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
4656
4650
  pickupPoint?: Maybe<Pick<PickupPoint, 'provider' | 'pointId' | 'name' | 'address'>>;
4657
4651
  })>;
4658
4652
  selectedShippingMethod?: Maybe<(Pick<CartShippingMethod, 'handle' | 'title'> & {
@@ -4713,10 +4707,10 @@ export type CartSelectPaymentMethodMutation = {
4713
4707
  amount: Pick<Money, 'amount' | 'currencyCode'>;
4714
4708
  })>;
4715
4709
  attributes: Array<Pick<CartAttribute, 'key' | 'value'>>;
4716
- shippingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
4710
+ shippingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'buildingNumber' | 'flatNumber' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
4717
4711
  pickupPoint?: Maybe<Pick<PickupPoint, 'provider' | 'pointId' | 'name' | 'address'>>;
4718
4712
  })>;
4719
- billingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
4713
+ billingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'buildingNumber' | 'flatNumber' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
4720
4714
  pickupPoint?: Maybe<Pick<PickupPoint, 'provider' | 'pointId' | 'name' | 'address'>>;
4721
4715
  })>;
4722
4716
  selectedShippingMethod?: Maybe<(Pick<CartShippingMethod, 'handle' | 'title'> & {
@@ -4777,10 +4771,10 @@ export type CartSelectShippingMethodMutation = {
4777
4771
  amount: Pick<Money, 'amount' | 'currencyCode'>;
4778
4772
  })>;
4779
4773
  attributes: Array<Pick<CartAttribute, 'key' | 'value'>>;
4780
- shippingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
4774
+ shippingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'buildingNumber' | 'flatNumber' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
4781
4775
  pickupPoint?: Maybe<Pick<PickupPoint, 'provider' | 'pointId' | 'name' | 'address'>>;
4782
4776
  })>;
4783
- billingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
4777
+ billingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'buildingNumber' | 'flatNumber' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
4784
4778
  pickupPoint?: Maybe<Pick<PickupPoint, 'provider' | 'pointId' | 'name' | 'address'>>;
4785
4779
  })>;
4786
4780
  selectedShippingMethod?: Maybe<(Pick<CartShippingMethod, 'handle' | 'title'> & {
@@ -4841,10 +4835,10 @@ export type CartSetBillingAddressMutation = {
4841
4835
  amount: Pick<Money, 'amount' | 'currencyCode'>;
4842
4836
  })>;
4843
4837
  attributes: Array<Pick<CartAttribute, 'key' | 'value'>>;
4844
- shippingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
4838
+ shippingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'buildingNumber' | 'flatNumber' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
4845
4839
  pickupPoint?: Maybe<Pick<PickupPoint, 'provider' | 'pointId' | 'name' | 'address'>>;
4846
4840
  })>;
4847
- billingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
4841
+ billingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'buildingNumber' | 'flatNumber' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
4848
4842
  pickupPoint?: Maybe<Pick<PickupPoint, 'provider' | 'pointId' | 'name' | 'address'>>;
4849
4843
  })>;
4850
4844
  selectedShippingMethod?: Maybe<(Pick<CartShippingMethod, 'handle' | 'title'> & {
@@ -4905,10 +4899,10 @@ export type CartSetShippingAddressMutation = {
4905
4899
  amount: Pick<Money, 'amount' | 'currencyCode'>;
4906
4900
  })>;
4907
4901
  attributes: Array<Pick<CartAttribute, 'key' | 'value'>>;
4908
- shippingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
4902
+ shippingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'buildingNumber' | 'flatNumber' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
4909
4903
  pickupPoint?: Maybe<Pick<PickupPoint, 'provider' | 'pointId' | 'name' | 'address'>>;
4910
4904
  })>;
4911
- billingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
4905
+ billingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'buildingNumber' | 'flatNumber' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
4912
4906
  pickupPoint?: Maybe<Pick<PickupPoint, 'provider' | 'pointId' | 'name' | 'address'>>;
4913
4907
  })>;
4914
4908
  selectedShippingMethod?: Maybe<(Pick<CartShippingMethod, 'handle' | 'title'> & {
@@ -4970,10 +4964,10 @@ export type CartUpdateAttributesMutation = {
4970
4964
  amount: Pick<Money, 'amount' | 'currencyCode'>;
4971
4965
  })>;
4972
4966
  attributes: Array<Pick<CartAttribute, 'key' | 'value'>>;
4973
- shippingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
4967
+ shippingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'buildingNumber' | 'flatNumber' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
4974
4968
  pickupPoint?: Maybe<Pick<PickupPoint, 'provider' | 'pointId' | 'name' | 'address'>>;
4975
4969
  })>;
4976
- billingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
4970
+ billingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'buildingNumber' | 'flatNumber' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
4977
4971
  pickupPoint?: Maybe<Pick<PickupPoint, 'provider' | 'pointId' | 'name' | 'address'>>;
4978
4972
  })>;
4979
4973
  selectedShippingMethod?: Maybe<(Pick<CartShippingMethod, 'handle' | 'title'> & {
@@ -5035,10 +5029,10 @@ export type CartUpdateBuyerIdentityMutation = {
5035
5029
  amount: Pick<Money, 'amount' | 'currencyCode'>;
5036
5030
  })>;
5037
5031
  attributes: Array<Pick<CartAttribute, 'key' | 'value'>>;
5038
- shippingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
5032
+ shippingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'buildingNumber' | 'flatNumber' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
5039
5033
  pickupPoint?: Maybe<Pick<PickupPoint, 'provider' | 'pointId' | 'name' | 'address'>>;
5040
5034
  })>;
5041
- billingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
5035
+ billingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'buildingNumber' | 'flatNumber' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
5042
5036
  pickupPoint?: Maybe<Pick<PickupPoint, 'provider' | 'pointId' | 'name' | 'address'>>;
5043
5037
  })>;
5044
5038
  selectedShippingMethod?: Maybe<(Pick<CartShippingMethod, 'handle' | 'title'> & {
@@ -5099,10 +5093,10 @@ export type CartUpdateGiftCardRecipientMutation = {
5099
5093
  amount: Pick<Money, 'amount' | 'currencyCode'>;
5100
5094
  })>;
5101
5095
  attributes: Array<Pick<CartAttribute, 'key' | 'value'>>;
5102
- shippingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
5096
+ shippingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'buildingNumber' | 'flatNumber' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
5103
5097
  pickupPoint?: Maybe<Pick<PickupPoint, 'provider' | 'pointId' | 'name' | 'address'>>;
5104
5098
  })>;
5105
- billingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
5099
+ billingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'buildingNumber' | 'flatNumber' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
5106
5100
  pickupPoint?: Maybe<Pick<PickupPoint, 'provider' | 'pointId' | 'name' | 'address'>>;
5107
5101
  })>;
5108
5102
  selectedShippingMethod?: Maybe<(Pick<CartShippingMethod, 'handle' | 'title'> & {
@@ -5164,10 +5158,10 @@ export type CartUpdateLinesMutation = {
5164
5158
  amount: Pick<Money, 'amount' | 'currencyCode'>;
5165
5159
  })>;
5166
5160
  attributes: Array<Pick<CartAttribute, 'key' | 'value'>>;
5167
- shippingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
5161
+ shippingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'buildingNumber' | 'flatNumber' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
5168
5162
  pickupPoint?: Maybe<Pick<PickupPoint, 'provider' | 'pointId' | 'name' | 'address'>>;
5169
5163
  })>;
5170
- billingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
5164
+ billingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'buildingNumber' | 'flatNumber' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
5171
5165
  pickupPoint?: Maybe<Pick<PickupPoint, 'provider' | 'pointId' | 'name' | 'address'>>;
5172
5166
  })>;
5173
5167
  selectedShippingMethod?: Maybe<(Pick<CartShippingMethod, 'handle' | 'title'> & {
@@ -5229,10 +5223,10 @@ export type CartUpdateNoteMutation = {
5229
5223
  amount: Pick<Money, 'amount' | 'currencyCode'>;
5230
5224
  })>;
5231
5225
  attributes: Array<Pick<CartAttribute, 'key' | 'value'>>;
5232
- shippingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
5226
+ shippingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'buildingNumber' | 'flatNumber' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
5233
5227
  pickupPoint?: Maybe<Pick<PickupPoint, 'provider' | 'pointId' | 'name' | 'address'>>;
5234
5228
  })>;
5235
- billingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
5229
+ billingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'buildingNumber' | 'flatNumber' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
5236
5230
  pickupPoint?: Maybe<Pick<PickupPoint, 'provider' | 'pointId' | 'name' | 'address'>>;
5237
5231
  })>;
5238
5232
  selectedShippingMethod?: Maybe<(Pick<CartShippingMethod, 'handle' | 'title'> & {
@@ -5275,7 +5269,7 @@ export type OrderByTokenQuery = {
5275
5269
  totalTax?: Maybe<Pick<Money, 'amount' | 'currencyCode'>>;
5276
5270
  totalShipping?: Maybe<Pick<Money, 'amount' | 'currencyCode'>>;
5277
5271
  };
5278
- shippingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
5272
+ shippingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'buildingNumber' | 'flatNumber' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
5279
5273
  pickupPoint?: Maybe<Pick<PickupPoint, 'provider' | 'pointId' | 'name' | 'address'>>;
5280
5274
  })>;
5281
5275
  discountAllocations: Array<(Pick<OrderDiscountAllocation, 'discountCode'> & {
@@ -5299,7 +5293,7 @@ export type CustomerAddressesQueryVariables = Exact<{
5299
5293
  export type CustomerAddressesQuery = {
5300
5294
  customer?: Maybe<{
5301
5295
  addresses: (Pick<MailingAddressConnection, 'totalCount'> & {
5302
- nodes: Array<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
5296
+ nodes: Array<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'buildingNumber' | 'flatNumber' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
5303
5297
  pickupPoint?: Maybe<Pick<PickupPoint, 'provider' | 'pointId' | 'name' | 'address'>>;
5304
5298
  })>;
5305
5299
  pageInfo: Pick<PageInfo, 'hasNextPage' | 'hasPreviousPage' | 'startCursor' | 'endCursor'>;
@@ -5328,7 +5322,7 @@ export type CustomerQueryVariables = Exact<{
5328
5322
  }>;
5329
5323
  export type CustomerQuery = {
5330
5324
  customer?: Maybe<(Pick<Customer, 'id' | 'email' | 'firstName' | 'lastName' | 'displayName' | 'phone' | 'isEmailVerified' | 'emailMarketing' | 'orderCount' | 'createdAt' | 'updatedAt' | 'sessionExpiresAt'> & {
5331
- defaultAddress?: Maybe<Pick<MailingAddress, 'id' | 'streetLine1' | 'streetLine2' | 'city' | 'company' | 'country' | 'countryCode' | 'firstName' | 'lastName' | 'name' | 'phone' | 'state' | 'stateCode' | 'postalCode' | 'isDefault'>>;
5325
+ defaultAddress?: Maybe<Pick<MailingAddress, 'id' | 'streetLine1' | 'streetLine2' | 'buildingNumber' | 'flatNumber' | 'city' | 'company' | 'country' | 'countryCode' | 'firstName' | 'lastName' | 'name' | 'phone' | 'state' | 'stateCode' | 'postalCode' | 'isDefault'>>;
5332
5326
  totalSpent: Pick<Money, 'amount' | 'currencyCode'>;
5333
5327
  })>;
5334
5328
  };
@@ -5347,7 +5341,7 @@ export type CustomerSignupMutationVariables = Exact<{
5347
5341
  export type CustomerSignupMutation = {
5348
5342
  customerSignup: {
5349
5343
  customer?: Maybe<(Pick<Customer, 'id' | 'email' | 'firstName' | 'lastName' | 'displayName' | 'phone' | 'isEmailVerified' | 'emailMarketing' | 'orderCount' | 'createdAt' | 'updatedAt' | 'sessionExpiresAt'> & {
5350
- defaultAddress?: Maybe<Pick<MailingAddress, 'id' | 'streetLine1' | 'streetLine2' | 'city' | 'company' | 'country' | 'countryCode' | 'firstName' | 'lastName' | 'name' | 'phone' | 'state' | 'stateCode' | 'postalCode' | 'isDefault'>>;
5344
+ defaultAddress?: Maybe<Pick<MailingAddress, 'id' | 'streetLine1' | 'streetLine2' | 'buildingNumber' | 'flatNumber' | 'city' | 'company' | 'country' | 'countryCode' | 'firstName' | 'lastName' | 'name' | 'phone' | 'state' | 'stateCode' | 'postalCode' | 'isDefault'>>;
5351
5345
  totalSpent: Pick<Money, 'amount' | 'currencyCode'>;
5352
5346
  })>;
5353
5347
  customerAccessToken?: Maybe<Pick<CustomerAccessToken, 'accessToken' | 'expiresAt'>>;
@@ -5415,10 +5409,10 @@ export type CartFragment = (Pick<Cart, 'id' | 'checkoutUrl' | 'totalQuantity' |
5415
5409
  amount: Pick<Money, 'amount' | 'currencyCode'>;
5416
5410
  })>;
5417
5411
  attributes: Array<Pick<CartAttribute, 'key' | 'value'>>;
5418
- shippingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
5412
+ shippingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'buildingNumber' | 'flatNumber' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
5419
5413
  pickupPoint?: Maybe<Pick<PickupPoint, 'provider' | 'pointId' | 'name' | 'address'>>;
5420
5414
  })>;
5421
- billingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
5415
+ billingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'buildingNumber' | 'flatNumber' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
5422
5416
  pickupPoint?: Maybe<Pick<PickupPoint, 'provider' | 'pointId' | 'name' | 'address'>>;
5423
5417
  })>;
5424
5418
  selectedShippingMethod?: Maybe<(Pick<CartShippingMethod, 'handle' | 'title'> & {
@@ -5481,7 +5475,7 @@ export type CartDiscountCodeFragment = Pick<CartDiscountCode, 'code' | 'isApplic
5481
5475
  export type CartDiscountAllocationFragment = (Pick<CartDiscountAllocation, 'discountCode'> & {
5482
5476
  amount: Pick<Money, 'amount' | 'currencyCode'>;
5483
5477
  });
5484
- export type MailingAddressFragment = (Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
5478
+ export type MailingAddressFragment = (Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'buildingNumber' | 'flatNumber' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
5485
5479
  pickupPoint?: Maybe<Pick<PickupPoint, 'provider' | 'pointId' | 'name' | 'address'>>;
5486
5480
  });
5487
5481
  export type PickupPointFragment = Pick<PickupPoint, 'provider' | 'pointId' | 'name' | 'address'>;
@@ -5527,7 +5521,7 @@ export type OrderFragment = (Pick<Order, 'id' | 'orderNumber' | 'accessToken' |
5527
5521
  totalTax?: Maybe<Pick<Money, 'amount' | 'currencyCode'>>;
5528
5522
  totalShipping?: Maybe<Pick<Money, 'amount' | 'currencyCode'>>;
5529
5523
  };
5530
- shippingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
5524
+ shippingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'buildingNumber' | 'flatNumber' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
5531
5525
  pickupPoint?: Maybe<Pick<PickupPoint, 'provider' | 'pointId' | 'name' | 'address'>>;
5532
5526
  })>;
5533
5527
  discountAllocations: Array<(Pick<OrderDiscountAllocation, 'discountCode'> & {
@@ -5539,7 +5533,7 @@ export type PaymentWarningFragment = Pick<PaymentWarning, 'message' | 'code' | '
5539
5533
  export type CustomerAccessTokenFieldsFragment = Pick<CustomerAccessToken, 'accessToken' | 'expiresAt'>;
5540
5534
  export type UserErrorFieldsFragment = Pick<UserError, 'message' | 'field' | 'code'>;
5541
5535
  export type CustomerFieldsFragment = (Pick<Customer, 'id' | 'email' | 'firstName' | 'lastName' | 'displayName' | 'phone' | 'isEmailVerified' | 'emailMarketing' | 'orderCount' | 'createdAt' | 'updatedAt' | 'sessionExpiresAt'> & {
5542
- defaultAddress?: Maybe<Pick<MailingAddress, 'id' | 'streetLine1' | 'streetLine2' | 'city' | 'company' | 'country' | 'countryCode' | 'firstName' | 'lastName' | 'name' | 'phone' | 'state' | 'stateCode' | 'postalCode' | 'isDefault'>>;
5536
+ defaultAddress?: Maybe<Pick<MailingAddress, 'id' | 'streetLine1' | 'streetLine2' | 'buildingNumber' | 'flatNumber' | 'city' | 'company' | 'country' | 'countryCode' | 'firstName' | 'lastName' | 'name' | 'phone' | 'state' | 'stateCode' | 'postalCode' | 'isDefault'>>;
5543
5537
  totalSpent: Pick<Money, 'amount' | 'currencyCode'>;
5544
5538
  });
5545
5539
  //# sourceMappingURL=operation-types.d.ts.map