@doswiftly/storefront-sdk 20.0.0 → 20.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,49 @@
1
1
  # Changelog
2
2
 
3
+ ## 20.2.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 17fedcf: Addresses now carry a structured building / flat number alongside the free-form street line.
8
+
9
+ **Why**: Polish addresses — and carriers like InPost as well as VAT invoicing — need the building number as a discrete field rather than mixed into a single street line (e.g. `"ul. Piękna 5/3"` must split into building `5`, flat `3`). The `MailingAddress` type and the cart / mailing address inputs now expose `buildingNumber` and `flatNumber` so storefronts can collect and display them precisely.
10
+
11
+ **Additive (backward-compatible)**:
12
+ 1. `MailingAddress` (read) gains `buildingNumber` and `flatNumber` — populated on cart, order and saved customer addresses; `null` when only the free-form line was provided.
13
+ 2. The address inputs (`CartAddressInput`, `MailingAddressInput`) accept optional `buildingNumber` and `flatNumber`. For a Polish street delivery without a pickup point the building number is now required server-side — omitting it returns a `BUILDING_NUMBER_REQUIRED` user error instead of silently guessing it from the street text.
14
+
15
+ **Usage example**:
16
+
17
+ ```ts
18
+ await cartSetShippingAddress({
19
+ cartId,
20
+ address: {
21
+ streetLine1: "ul. Piękna 5/3",
22
+ buildingNumber: "5",
23
+ flatNumber: "3",
24
+ city: "Warszawa",
25
+ postalCode: "00-001",
26
+ country: "PL",
27
+ },
28
+ });
29
+
30
+ // reading it back
31
+ const { buildingNumber, flatNumber } = order.shippingAddress;
32
+ ```
33
+
34
+ **Migration checklist for existing storefronts**:
35
+ - [ ] Add a `buildingNumber` (and optional `flatNumber`) field to your address forms.
36
+ - [ ] For Polish street addresses, send `buildingNumber`, or handle the `BUILDING_NUMBER_REQUIRED` user error returned by the cart address mutations.
37
+ - [ ] Optionally render `buildingNumber` / `flatNumber` when displaying saved or order addresses.
38
+
39
+ ## 20.1.0
40
+
41
+ ### Minor Changes
42
+
43
+ - e1bda76: Cart addresses now carry full B2B invoice identity end to end. `cartSetShippingAddress` and `cartSetBillingAddress` accept an EU VAT number (`vatNumber`, e.g. `PL1234567890`) alongside the existing tax ID and business registry number, and the cart address now returns all three (`taxId`, `vatNumber`, `regon`) — so a storefront can display and re-confirm exactly what the buyer entered. These values are carried onto the resulting order at checkout, ready for reverse-charge and cross-border B2B invoices.
44
+
45
+ Signed-in shoppers also get their saved default shipping and billing address — including those B2B fields — prefilled into the cart automatically when they create a cart or log in. Anything the shopper has already typed is never overwritten.
46
+
3
47
  ## 20.0.0
4
48
 
5
49
  ### Major Changes
@@ -569,6 +569,8 @@ export type CartAddLinesPayload = {
569
569
  warnings: Array<CartWarning>;
570
570
  };
571
571
  export type CartAddressInput = {
572
+ /** Building / house number as a discrete field, overlaid on `streetLine1`. Required for delivery and billing addresses in Poland (`country: PL`) without a `pickupPoint` — carriers (e.g. InPost) and invoicing need the building number split out from the street name. */
573
+ buildingNumber?: InputMaybe<Scalars['String']['input']>;
572
574
  /** City */
573
575
  city: Scalars['String']['input'];
574
576
  /** Company name */
@@ -577,6 +579,8 @@ export type CartAddressInput = {
577
579
  country: CountryCode;
578
580
  /** First name */
579
581
  firstName?: InputMaybe<Scalars['String']['input']>;
582
+ /** Flat / apartment number as a discrete field — optional companion to `buildingNumber`. */
583
+ flatNumber?: InputMaybe<Scalars['String']['input']>;
580
584
  /** Last name */
581
585
  lastName?: InputMaybe<Scalars['String']['input']>;
582
586
  /** Phone number */
@@ -595,6 +599,8 @@ export type CartAddressInput = {
595
599
  streetLine2?: InputMaybe<Scalars['String']['input']>;
596
600
  /** Buyer tax ID for B2B invoicing (Polish NIP). Persisted on the resulting order at checkout completion. */
597
601
  taxId?: InputMaybe<Scalars['String']['input']>;
602
+ /** Buyer EU VAT number for cross-border B2B invoicing (e.g. PL1234567890). Persisted on the resulting order at checkout completion. */
603
+ vatNumber?: InputMaybe<Scalars['String']['input']>;
598
604
  };
599
605
  export type CartAppliedGiftCard = {
600
606
  /** Amount of this gift card that will be applied to the cart total. */
@@ -2159,6 +2165,8 @@ export declare const LoyaltyTransactionType: {
2159
2165
  };
2160
2166
  export type LoyaltyTransactionType = typeof LoyaltyTransactionType[keyof typeof LoyaltyTransactionType];
2161
2167
  export type MailingAddress = Node & {
2168
+ /** Building / house number as a discrete field, overlaid on `streetLine1`. Populated for structured addresses (required for PL delivery / billing without a pickup point); null when only the free-form `streetLine1` was provided. */
2169
+ buildingNumber?: Maybe<Scalars['String']['output']>;
2162
2170
  /** City / town. */
2163
2171
  city?: Maybe<Scalars['String']['output']>;
2164
2172
  /** Company name (relevant for B2B addresses). */
@@ -2169,6 +2177,8 @@ export type MailingAddress = Node & {
2169
2177
  countryCode?: Maybe<CountryCode>;
2170
2178
  /** Buyer first name. */
2171
2179
  firstName?: Maybe<Scalars['String']['output']>;
2180
+ /** Flat / apartment number as a discrete field — optional companion to `buildingNumber`. */
2181
+ flatNumber?: Maybe<Scalars['String']['output']>;
2172
2182
  /** Country-aware ordered address lines, ready to render line by line in UI without manual formatting. The exact line layout depends on country (e.g. PL puts postal code before city, US after state). */
2173
2183
  formatted: Array<Scalars['String']['output']>;
2174
2184
  /** Single-line summary of the area, e.g. "Warszawa, MZ, Poland". Useful for compact display in lists. */
@@ -2187,6 +2197,8 @@ export type MailingAddress = Node & {
2187
2197
  pickupPoint?: Maybe<PickupPoint>;
2188
2198
  /** Postal / ZIP code. */
2189
2199
  postalCode?: Maybe<Scalars['String']['output']>;
2200
+ /** Buyer business registry number (Polish REGON) carried on a cart address for B2B invoicing. Populated on cart shipping/billing addresses; null on customer address-book entries (REGON is customer-level). */
2201
+ regon?: Maybe<Scalars['String']['output']>;
2190
2202
  /** State / province / region name. */
2191
2203
  state?: Maybe<Scalars['String']['output']>;
2192
2204
  /** State / province code (ISO 3166-2 subdivision, e.g. PL-MZ). */
@@ -3947,10 +3959,10 @@ export type CartAddLinesMutation = {
3947
3959
  amount: Pick<Money, 'amount' | 'currencyCode'>;
3948
3960
  })>;
3949
3961
  attributes: Array<Pick<CartAttribute, 'key' | 'value'>>;
3950
- shippingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber'> & {
3962
+ shippingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
3951
3963
  pickupPoint?: Maybe<Pick<PickupPoint, 'provider' | 'pointId' | 'name' | 'address'>>;
3952
3964
  })>;
3953
- billingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber'> & {
3965
+ billingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
3954
3966
  pickupPoint?: Maybe<Pick<PickupPoint, 'provider' | 'pointId' | 'name' | 'address'>>;
3955
3967
  })>;
3956
3968
  selectedShippingMethod?: Maybe<(Pick<CartShippingMethod, 'handle' | 'title'> & {
@@ -4011,10 +4023,10 @@ export type CartApplyGiftCardMutation = {
4011
4023
  amount: Pick<Money, 'amount' | 'currencyCode'>;
4012
4024
  })>;
4013
4025
  attributes: Array<Pick<CartAttribute, 'key' | 'value'>>;
4014
- shippingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber'> & {
4026
+ shippingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
4015
4027
  pickupPoint?: Maybe<Pick<PickupPoint, 'provider' | 'pointId' | 'name' | 'address'>>;
4016
4028
  })>;
4017
- billingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber'> & {
4029
+ billingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
4018
4030
  pickupPoint?: Maybe<Pick<PickupPoint, 'provider' | 'pointId' | 'name' | 'address'>>;
4019
4031
  })>;
4020
4032
  selectedShippingMethod?: Maybe<(Pick<CartShippingMethod, 'handle' | 'title'> & {
@@ -4104,10 +4116,10 @@ export type CartClearPaymentSelectionMutation = {
4104
4116
  amount: Pick<Money, 'amount' | 'currencyCode'>;
4105
4117
  })>;
4106
4118
  attributes: Array<Pick<CartAttribute, 'key' | 'value'>>;
4107
- shippingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber'> & {
4119
+ shippingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
4108
4120
  pickupPoint?: Maybe<Pick<PickupPoint, 'provider' | 'pointId' | 'name' | 'address'>>;
4109
4121
  })>;
4110
- billingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber'> & {
4122
+ billingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
4111
4123
  pickupPoint?: Maybe<Pick<PickupPoint, 'provider' | 'pointId' | 'name' | 'address'>>;
4112
4124
  })>;
4113
4125
  selectedShippingMethod?: Maybe<(Pick<CartShippingMethod, 'handle' | 'title'> & {
@@ -4138,7 +4150,7 @@ export type CartCompleteMutation = {
4138
4150
  totalTax?: Maybe<Pick<Money, 'amount' | 'currencyCode'>>;
4139
4151
  totalShipping?: Maybe<Pick<Money, 'amount' | 'currencyCode'>>;
4140
4152
  };
4141
- shippingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber'> & {
4153
+ shippingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
4142
4154
  pickupPoint?: Maybe<Pick<PickupPoint, 'provider' | 'pointId' | 'name' | 'address'>>;
4143
4155
  })>;
4144
4156
  discountAllocations: Array<(Pick<OrderDiscountAllocation, 'discountCode'> & {
@@ -4191,10 +4203,10 @@ export type CartCreateMutation = {
4191
4203
  amount: Pick<Money, 'amount' | 'currencyCode'>;
4192
4204
  })>;
4193
4205
  attributes: Array<Pick<CartAttribute, 'key' | 'value'>>;
4194
- shippingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber'> & {
4206
+ shippingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
4195
4207
  pickupPoint?: Maybe<Pick<PickupPoint, 'provider' | 'pointId' | 'name' | 'address'>>;
4196
4208
  })>;
4197
- billingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber'> & {
4209
+ billingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
4198
4210
  pickupPoint?: Maybe<Pick<PickupPoint, 'provider' | 'pointId' | 'name' | 'address'>>;
4199
4211
  })>;
4200
4212
  selectedShippingMethod?: Maybe<(Pick<CartShippingMethod, 'handle' | 'title'> & {
@@ -4256,10 +4268,10 @@ export type CartDiscountCodesUpdateMutation = {
4256
4268
  amount: Pick<Money, 'amount' | 'currencyCode'>;
4257
4269
  })>;
4258
4270
  attributes: Array<Pick<CartAttribute, 'key' | 'value'>>;
4259
- shippingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber'> & {
4271
+ shippingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
4260
4272
  pickupPoint?: Maybe<Pick<PickupPoint, 'provider' | 'pointId' | 'name' | 'address'>>;
4261
4273
  })>;
4262
- billingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber'> & {
4274
+ billingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
4263
4275
  pickupPoint?: Maybe<Pick<PickupPoint, 'provider' | 'pointId' | 'name' | 'address'>>;
4264
4276
  })>;
4265
4277
  selectedShippingMethod?: Maybe<(Pick<CartShippingMethod, 'handle' | 'title'> & {
@@ -4320,10 +4332,10 @@ export type CartDowngradeOnLogoutMutation = {
4320
4332
  amount: Pick<Money, 'amount' | 'currencyCode'>;
4321
4333
  })>;
4322
4334
  attributes: Array<Pick<CartAttribute, 'key' | 'value'>>;
4323
- shippingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber'> & {
4335
+ shippingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
4324
4336
  pickupPoint?: Maybe<Pick<PickupPoint, 'provider' | 'pointId' | 'name' | 'address'>>;
4325
4337
  })>;
4326
- billingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber'> & {
4338
+ billingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
4327
4339
  pickupPoint?: Maybe<Pick<PickupPoint, 'provider' | 'pointId' | 'name' | 'address'>>;
4328
4340
  })>;
4329
4341
  selectedShippingMethod?: Maybe<(Pick<CartShippingMethod, 'handle' | 'title'> & {
@@ -4384,10 +4396,10 @@ export type CartMergeMutation = {
4384
4396
  amount: Pick<Money, 'amount' | 'currencyCode'>;
4385
4397
  })>;
4386
4398
  attributes: Array<Pick<CartAttribute, 'key' | 'value'>>;
4387
- shippingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber'> & {
4399
+ shippingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
4388
4400
  pickupPoint?: Maybe<Pick<PickupPoint, 'provider' | 'pointId' | 'name' | 'address'>>;
4389
4401
  })>;
4390
- billingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber'> & {
4402
+ billingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
4391
4403
  pickupPoint?: Maybe<Pick<PickupPoint, 'provider' | 'pointId' | 'name' | 'address'>>;
4392
4404
  })>;
4393
4405
  selectedShippingMethod?: Maybe<(Pick<CartShippingMethod, 'handle' | 'title'> & {
@@ -4447,10 +4459,10 @@ export type CartQuery = {
4447
4459
  amount: Pick<Money, 'amount' | 'currencyCode'>;
4448
4460
  })>;
4449
4461
  attributes: Array<Pick<CartAttribute, 'key' | 'value'>>;
4450
- shippingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber'> & {
4462
+ shippingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
4451
4463
  pickupPoint?: Maybe<Pick<PickupPoint, 'provider' | 'pointId' | 'name' | 'address'>>;
4452
4464
  })>;
4453
- billingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber'> & {
4465
+ billingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
4454
4466
  pickupPoint?: Maybe<Pick<PickupPoint, 'provider' | 'pointId' | 'name' | 'address'>>;
4455
4467
  })>;
4456
4468
  selectedShippingMethod?: Maybe<(Pick<CartShippingMethod, 'handle' | 'title'> & {
@@ -4508,10 +4520,10 @@ export type CartRecoveryRedeemMutation = {
4508
4520
  amount: Pick<Money, 'amount' | 'currencyCode'>;
4509
4521
  })>;
4510
4522
  attributes: Array<Pick<CartAttribute, 'key' | 'value'>>;
4511
- shippingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber'> & {
4523
+ shippingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
4512
4524
  pickupPoint?: Maybe<Pick<PickupPoint, 'provider' | 'pointId' | 'name' | 'address'>>;
4513
4525
  })>;
4514
- billingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber'> & {
4526
+ billingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
4515
4527
  pickupPoint?: Maybe<Pick<PickupPoint, 'provider' | 'pointId' | 'name' | 'address'>>;
4516
4528
  })>;
4517
4529
  selectedShippingMethod?: Maybe<(Pick<CartShippingMethod, 'handle' | 'title'> & {
@@ -4572,10 +4584,10 @@ export type CartRemoveGiftCardMutation = {
4572
4584
  amount: Pick<Money, 'amount' | 'currencyCode'>;
4573
4585
  })>;
4574
4586
  attributes: Array<Pick<CartAttribute, 'key' | 'value'>>;
4575
- shippingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber'> & {
4587
+ shippingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
4576
4588
  pickupPoint?: Maybe<Pick<PickupPoint, 'provider' | 'pointId' | 'name' | 'address'>>;
4577
4589
  })>;
4578
- billingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber'> & {
4590
+ billingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
4579
4591
  pickupPoint?: Maybe<Pick<PickupPoint, 'provider' | 'pointId' | 'name' | 'address'>>;
4580
4592
  })>;
4581
4593
  selectedShippingMethod?: Maybe<(Pick<CartShippingMethod, 'handle' | 'title'> & {
@@ -4637,10 +4649,10 @@ export type CartRemoveLinesMutation = {
4637
4649
  amount: Pick<Money, 'amount' | 'currencyCode'>;
4638
4650
  })>;
4639
4651
  attributes: Array<Pick<CartAttribute, 'key' | 'value'>>;
4640
- shippingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber'> & {
4652
+ shippingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
4641
4653
  pickupPoint?: Maybe<Pick<PickupPoint, 'provider' | 'pointId' | 'name' | 'address'>>;
4642
4654
  })>;
4643
- billingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber'> & {
4655
+ billingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
4644
4656
  pickupPoint?: Maybe<Pick<PickupPoint, 'provider' | 'pointId' | 'name' | 'address'>>;
4645
4657
  })>;
4646
4658
  selectedShippingMethod?: Maybe<(Pick<CartShippingMethod, 'handle' | 'title'> & {
@@ -4701,10 +4713,10 @@ export type CartSelectPaymentMethodMutation = {
4701
4713
  amount: Pick<Money, 'amount' | 'currencyCode'>;
4702
4714
  })>;
4703
4715
  attributes: Array<Pick<CartAttribute, 'key' | 'value'>>;
4704
- shippingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber'> & {
4716
+ shippingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
4705
4717
  pickupPoint?: Maybe<Pick<PickupPoint, 'provider' | 'pointId' | 'name' | 'address'>>;
4706
4718
  })>;
4707
- billingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber'> & {
4719
+ billingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
4708
4720
  pickupPoint?: Maybe<Pick<PickupPoint, 'provider' | 'pointId' | 'name' | 'address'>>;
4709
4721
  })>;
4710
4722
  selectedShippingMethod?: Maybe<(Pick<CartShippingMethod, 'handle' | 'title'> & {
@@ -4765,10 +4777,10 @@ export type CartSelectShippingMethodMutation = {
4765
4777
  amount: Pick<Money, 'amount' | 'currencyCode'>;
4766
4778
  })>;
4767
4779
  attributes: Array<Pick<CartAttribute, 'key' | 'value'>>;
4768
- shippingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber'> & {
4780
+ shippingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
4769
4781
  pickupPoint?: Maybe<Pick<PickupPoint, 'provider' | 'pointId' | 'name' | 'address'>>;
4770
4782
  })>;
4771
- billingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber'> & {
4783
+ billingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
4772
4784
  pickupPoint?: Maybe<Pick<PickupPoint, 'provider' | 'pointId' | 'name' | 'address'>>;
4773
4785
  })>;
4774
4786
  selectedShippingMethod?: Maybe<(Pick<CartShippingMethod, 'handle' | 'title'> & {
@@ -4829,10 +4841,10 @@ export type CartSetBillingAddressMutation = {
4829
4841
  amount: Pick<Money, 'amount' | 'currencyCode'>;
4830
4842
  })>;
4831
4843
  attributes: Array<Pick<CartAttribute, 'key' | 'value'>>;
4832
- shippingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber'> & {
4844
+ shippingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
4833
4845
  pickupPoint?: Maybe<Pick<PickupPoint, 'provider' | 'pointId' | 'name' | 'address'>>;
4834
4846
  })>;
4835
- billingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber'> & {
4847
+ billingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
4836
4848
  pickupPoint?: Maybe<Pick<PickupPoint, 'provider' | 'pointId' | 'name' | 'address'>>;
4837
4849
  })>;
4838
4850
  selectedShippingMethod?: Maybe<(Pick<CartShippingMethod, 'handle' | 'title'> & {
@@ -4893,10 +4905,10 @@ export type CartSetShippingAddressMutation = {
4893
4905
  amount: Pick<Money, 'amount' | 'currencyCode'>;
4894
4906
  })>;
4895
4907
  attributes: Array<Pick<CartAttribute, 'key' | 'value'>>;
4896
- shippingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber'> & {
4908
+ shippingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
4897
4909
  pickupPoint?: Maybe<Pick<PickupPoint, 'provider' | 'pointId' | 'name' | 'address'>>;
4898
4910
  })>;
4899
- billingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber'> & {
4911
+ billingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
4900
4912
  pickupPoint?: Maybe<Pick<PickupPoint, 'provider' | 'pointId' | 'name' | 'address'>>;
4901
4913
  })>;
4902
4914
  selectedShippingMethod?: Maybe<(Pick<CartShippingMethod, 'handle' | 'title'> & {
@@ -4958,10 +4970,10 @@ export type CartUpdateAttributesMutation = {
4958
4970
  amount: Pick<Money, 'amount' | 'currencyCode'>;
4959
4971
  })>;
4960
4972
  attributes: Array<Pick<CartAttribute, 'key' | 'value'>>;
4961
- shippingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber'> & {
4973
+ shippingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
4962
4974
  pickupPoint?: Maybe<Pick<PickupPoint, 'provider' | 'pointId' | 'name' | 'address'>>;
4963
4975
  })>;
4964
- billingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber'> & {
4976
+ billingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
4965
4977
  pickupPoint?: Maybe<Pick<PickupPoint, 'provider' | 'pointId' | 'name' | 'address'>>;
4966
4978
  })>;
4967
4979
  selectedShippingMethod?: Maybe<(Pick<CartShippingMethod, 'handle' | 'title'> & {
@@ -5023,10 +5035,10 @@ export type CartUpdateBuyerIdentityMutation = {
5023
5035
  amount: Pick<Money, 'amount' | 'currencyCode'>;
5024
5036
  })>;
5025
5037
  attributes: Array<Pick<CartAttribute, 'key' | 'value'>>;
5026
- shippingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber'> & {
5038
+ shippingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
5027
5039
  pickupPoint?: Maybe<Pick<PickupPoint, 'provider' | 'pointId' | 'name' | 'address'>>;
5028
5040
  })>;
5029
- billingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber'> & {
5041
+ billingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
5030
5042
  pickupPoint?: Maybe<Pick<PickupPoint, 'provider' | 'pointId' | 'name' | 'address'>>;
5031
5043
  })>;
5032
5044
  selectedShippingMethod?: Maybe<(Pick<CartShippingMethod, 'handle' | 'title'> & {
@@ -5087,10 +5099,10 @@ export type CartUpdateGiftCardRecipientMutation = {
5087
5099
  amount: Pick<Money, 'amount' | 'currencyCode'>;
5088
5100
  })>;
5089
5101
  attributes: Array<Pick<CartAttribute, 'key' | 'value'>>;
5090
- shippingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber'> & {
5102
+ shippingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
5091
5103
  pickupPoint?: Maybe<Pick<PickupPoint, 'provider' | 'pointId' | 'name' | 'address'>>;
5092
5104
  })>;
5093
- billingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber'> & {
5105
+ billingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
5094
5106
  pickupPoint?: Maybe<Pick<PickupPoint, 'provider' | 'pointId' | 'name' | 'address'>>;
5095
5107
  })>;
5096
5108
  selectedShippingMethod?: Maybe<(Pick<CartShippingMethod, 'handle' | 'title'> & {
@@ -5152,10 +5164,10 @@ export type CartUpdateLinesMutation = {
5152
5164
  amount: Pick<Money, 'amount' | 'currencyCode'>;
5153
5165
  })>;
5154
5166
  attributes: Array<Pick<CartAttribute, 'key' | 'value'>>;
5155
- shippingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber'> & {
5167
+ shippingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
5156
5168
  pickupPoint?: Maybe<Pick<PickupPoint, 'provider' | 'pointId' | 'name' | 'address'>>;
5157
5169
  })>;
5158
- billingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber'> & {
5170
+ billingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
5159
5171
  pickupPoint?: Maybe<Pick<PickupPoint, 'provider' | 'pointId' | 'name' | 'address'>>;
5160
5172
  })>;
5161
5173
  selectedShippingMethod?: Maybe<(Pick<CartShippingMethod, 'handle' | 'title'> & {
@@ -5217,10 +5229,10 @@ export type CartUpdateNoteMutation = {
5217
5229
  amount: Pick<Money, 'amount' | 'currencyCode'>;
5218
5230
  })>;
5219
5231
  attributes: Array<Pick<CartAttribute, 'key' | 'value'>>;
5220
- shippingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber'> & {
5232
+ shippingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
5221
5233
  pickupPoint?: Maybe<Pick<PickupPoint, 'provider' | 'pointId' | 'name' | 'address'>>;
5222
5234
  })>;
5223
- billingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber'> & {
5235
+ billingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
5224
5236
  pickupPoint?: Maybe<Pick<PickupPoint, 'provider' | 'pointId' | 'name' | 'address'>>;
5225
5237
  })>;
5226
5238
  selectedShippingMethod?: Maybe<(Pick<CartShippingMethod, 'handle' | 'title'> & {
@@ -5263,7 +5275,7 @@ export type OrderByTokenQuery = {
5263
5275
  totalTax?: Maybe<Pick<Money, 'amount' | 'currencyCode'>>;
5264
5276
  totalShipping?: Maybe<Pick<Money, 'amount' | 'currencyCode'>>;
5265
5277
  };
5266
- shippingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber'> & {
5278
+ shippingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
5267
5279
  pickupPoint?: Maybe<Pick<PickupPoint, 'provider' | 'pointId' | 'name' | 'address'>>;
5268
5280
  })>;
5269
5281
  discountAllocations: Array<(Pick<OrderDiscountAllocation, 'discountCode'> & {
@@ -5287,7 +5299,7 @@ export type CustomerAddressesQueryVariables = Exact<{
5287
5299
  export type CustomerAddressesQuery = {
5288
5300
  customer?: Maybe<{
5289
5301
  addresses: (Pick<MailingAddressConnection, 'totalCount'> & {
5290
- nodes: Array<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber'> & {
5302
+ nodes: Array<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
5291
5303
  pickupPoint?: Maybe<Pick<PickupPoint, 'provider' | 'pointId' | 'name' | 'address'>>;
5292
5304
  })>;
5293
5305
  pageInfo: Pick<PageInfo, 'hasNextPage' | 'hasPreviousPage' | 'startCursor' | 'endCursor'>;
@@ -5403,10 +5415,10 @@ export type CartFragment = (Pick<Cart, 'id' | 'checkoutUrl' | 'totalQuantity' |
5403
5415
  amount: Pick<Money, 'amount' | 'currencyCode'>;
5404
5416
  })>;
5405
5417
  attributes: Array<Pick<CartAttribute, 'key' | 'value'>>;
5406
- shippingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber'> & {
5418
+ shippingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
5407
5419
  pickupPoint?: Maybe<Pick<PickupPoint, 'provider' | 'pointId' | 'name' | 'address'>>;
5408
5420
  })>;
5409
- billingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber'> & {
5421
+ billingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
5410
5422
  pickupPoint?: Maybe<Pick<PickupPoint, 'provider' | 'pointId' | 'name' | 'address'>>;
5411
5423
  })>;
5412
5424
  selectedShippingMethod?: Maybe<(Pick<CartShippingMethod, 'handle' | 'title'> & {
@@ -5469,7 +5481,7 @@ export type CartDiscountCodeFragment = Pick<CartDiscountCode, 'code' | 'isApplic
5469
5481
  export type CartDiscountAllocationFragment = (Pick<CartDiscountAllocation, 'discountCode'> & {
5470
5482
  amount: Pick<Money, 'amount' | 'currencyCode'>;
5471
5483
  });
5472
- export type MailingAddressFragment = (Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber'> & {
5484
+ export type MailingAddressFragment = (Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
5473
5485
  pickupPoint?: Maybe<Pick<PickupPoint, 'provider' | 'pointId' | 'name' | 'address'>>;
5474
5486
  });
5475
5487
  export type PickupPointFragment = Pick<PickupPoint, 'provider' | 'pointId' | 'name' | 'address'>;
@@ -5515,7 +5527,7 @@ export type OrderFragment = (Pick<Order, 'id' | 'orderNumber' | 'accessToken' |
5515
5527
  totalTax?: Maybe<Pick<Money, 'amount' | 'currencyCode'>>;
5516
5528
  totalShipping?: Maybe<Pick<Money, 'amount' | 'currencyCode'>>;
5517
5529
  };
5518
- shippingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber'> & {
5530
+ shippingAddress?: Maybe<(Pick<MailingAddress, 'id' | 'firstName' | 'lastName' | 'name' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'state' | 'stateCode' | 'country' | 'countryCode' | 'postalCode' | 'phone' | 'isDefault' | 'taxId' | 'vatNumber' | 'regon'> & {
5519
5531
  pickupPoint?: Maybe<Pick<PickupPoint, 'provider' | 'pointId' | 'name' | 'address'>>;
5520
5532
  })>;
5521
5533
  discountAllocations: Array<(Pick<OrderDiscountAllocation, 'discountCode'> & {