@doswiftly/storefront-sdk 17.0.0 → 18.1.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.
Files changed (86) hide show
  1. package/CHANGELOG.md +976 -0
  2. package/README.md +47 -4
  3. package/dist/core/auth/auth-client.d.ts +39 -3
  4. package/dist/core/auth/auth-client.d.ts.map +1 -1
  5. package/dist/core/auth/auth-client.js +51 -3
  6. package/dist/core/auth/cookie-config.d.ts +52 -3
  7. package/dist/core/auth/cookie-config.d.ts.map +1 -1
  8. package/dist/core/auth/cookie-config.js +60 -6
  9. package/dist/core/auth/handlers.d.ts +46 -0
  10. package/dist/core/auth/handlers.d.ts.map +1 -1
  11. package/dist/core/auth/handlers.js +9 -2
  12. package/dist/core/auth/session-events.d.ts +38 -0
  13. package/dist/core/auth/session-events.d.ts.map +1 -0
  14. package/dist/core/auth/session-events.js +35 -0
  15. package/dist/core/cart/cart-recovery.d.ts +23 -0
  16. package/dist/core/cart/cart-recovery.d.ts.map +1 -1
  17. package/dist/core/cart/cart-recovery.js +20 -3
  18. package/dist/core/cart/types.d.ts +2 -1
  19. package/dist/core/cart/types.d.ts.map +1 -1
  20. package/dist/core/cart/types.js +7 -1
  21. package/dist/core/client/create-client.d.ts.map +1 -1
  22. package/dist/core/client/create-client.js +7 -3
  23. package/dist/core/client/execute.d.ts +29 -3
  24. package/dist/core/client/execute.d.ts.map +1 -1
  25. package/dist/core/client/execute.js +174 -3
  26. package/dist/core/client/types.d.ts +50 -2
  27. package/dist/core/client/types.d.ts.map +1 -1
  28. package/dist/core/errors.d.ts +6 -0
  29. package/dist/core/errors.d.ts.map +1 -1
  30. package/dist/core/errors.js +6 -0
  31. package/dist/core/generated/operation-types.d.ts +838 -221
  32. package/dist/core/generated/operation-types.d.ts.map +1 -1
  33. package/dist/core/generated/operation-types.js +560 -1
  34. package/dist/core/index.d.ts +6 -3
  35. package/dist/core/index.d.ts.map +1 -1
  36. package/dist/core/index.js +12 -2
  37. package/dist/core/middleware/session-retry.d.ts +47 -0
  38. package/dist/core/middleware/session-retry.d.ts.map +1 -0
  39. package/dist/core/middleware/session-retry.js +71 -0
  40. package/dist/core/operations/auth.d.ts.map +1 -1
  41. package/dist/core/operations/auth.js +1 -0
  42. package/dist/core/operations/cart.d.ts.map +1 -1
  43. package/dist/core/operations/cart.js +15 -11
  44. package/dist/react/components/PaymentInstrumentSection.d.ts.map +1 -1
  45. package/dist/react/components/PaymentInstrumentSection.js +4 -4
  46. package/dist/react/components/PaymentInstrumentTile.d.ts +7 -7
  47. package/dist/react/components/PaymentInstrumentTile.d.ts.map +1 -1
  48. package/dist/react/components/PaymentInstrumentTile.js +4 -3
  49. package/dist/react/hooks/use-cart-manager.d.ts +133 -13
  50. package/dist/react/hooks/use-cart-manager.d.ts.map +1 -1
  51. package/dist/react/hooks/use-cart-manager.js +220 -16
  52. package/dist/react/hooks/use-login.d.ts.map +1 -1
  53. package/dist/react/hooks/use-login.js +3 -3
  54. package/dist/react/hooks/use-refresh-token.d.ts.map +1 -1
  55. package/dist/react/hooks/use-refresh-token.js +6 -4
  56. package/dist/react/hooks/use-session-expired.d.ts +16 -0
  57. package/dist/react/hooks/use-session-expired.d.ts.map +1 -0
  58. package/dist/react/hooks/use-session-expired.js +26 -0
  59. package/dist/react/hooks/use-session-refresh.d.ts +32 -0
  60. package/dist/react/hooks/use-session-refresh.d.ts.map +1 -0
  61. package/dist/react/hooks/use-session-refresh.js +147 -0
  62. package/dist/react/index.d.ts +5 -1
  63. package/dist/react/index.d.ts.map +1 -1
  64. package/dist/react/index.js +3 -0
  65. package/dist/react/providers/cart-manager-provider.d.ts +50 -0
  66. package/dist/react/providers/cart-manager-provider.d.ts.map +1 -0
  67. package/dist/react/providers/cart-manager-provider.js +59 -0
  68. package/dist/react/providers/storefront-client-provider.d.ts +10 -1
  69. package/dist/react/providers/storefront-client-provider.d.ts.map +1 -1
  70. package/dist/react/providers/storefront-client-provider.js +38 -3
  71. package/dist/react/providers/storefront-provider.d.ts +51 -3
  72. package/dist/react/providers/storefront-provider.d.ts.map +1 -1
  73. package/dist/react/providers/storefront-provider.js +22 -5
  74. package/dist/react/server/create-storefront-auth-route.d.ts +63 -0
  75. package/dist/react/server/create-storefront-auth-route.d.ts.map +1 -0
  76. package/dist/react/server/create-storefront-auth-route.js +239 -0
  77. package/dist/react/server/get-initial-auth.d.ts +57 -0
  78. package/dist/react/server/get-initial-auth.d.ts.map +1 -0
  79. package/dist/react/server/get-initial-auth.js +55 -0
  80. package/dist/react/server/index.d.ts +3 -0
  81. package/dist/react/server/index.d.ts.map +1 -1
  82. package/dist/react/server/index.js +6 -0
  83. package/dist/react/stores/auth.store.d.ts +46 -2
  84. package/dist/react/stores/auth.store.d.ts.map +1 -1
  85. package/dist/react/stores/auth.store.js +19 -7
  86. package/package.json +4 -2
@@ -72,7 +72,11 @@ export type Attribute = {
72
72
  /** Attribute value. Null when the key is set without an associated value. */
73
73
  value?: Maybe<Scalars['String']['output']>;
74
74
  };
75
- export type AttributeBillingMode = 'BUNDLED' | 'SEPARATE_LINE';
75
+ export declare const AttributeBillingMode: {
76
+ readonly Bundled: "BUNDLED";
77
+ readonly SeparateLine: "SEPARATE_LINE";
78
+ };
79
+ export type AttributeBillingMode = typeof AttributeBillingMode[keyof typeof AttributeBillingMode];
76
80
  export type AttributeDefinition = {
77
81
  /** Display order */
78
82
  displayOrder: Scalars['Int']['output'];
@@ -88,14 +92,19 @@ export type AttributeDefinition = {
88
92
  isVisible: Scalars['Boolean']['output'];
89
93
  /** Attribute name (e.g., "Color", "Size") */
90
94
  name: Scalars['String']['output'];
91
- /** Faza 3 Opcja A (2026-05-17): opcjonalne grupowanie atrybutu (np. "inventory", "marketing", "content"). NULL = atrybut bez grupy. Pomaga storefront-devom rozpoznać "te atrybuty są custom dane ERP" vs "te filtrowalne cechy katalogu". */
95
+ /** Optional grouping namespace (e.g. "inventory", "marketing", "content"). NULL = ungrouped. Helps distinguish custom ERP-data attributes from filterable catalog facets. */
92
96
  namespace?: Maybe<Scalars['String']['output']>;
93
97
  /** Range bounds (for NUMBER, CURRENCY) */
94
98
  rangeBounds?: Maybe<AttributeRangeBounds>;
95
99
  /** Attribute data type */
96
100
  type: AttributeType;
97
101
  };
98
- export type AttributeFillingMode = 'BOTH' | 'CUSTOMER' | 'MERCHANT';
102
+ export declare const AttributeFillingMode: {
103
+ readonly Both: "BOTH";
104
+ readonly Customer: "CUSTOMER";
105
+ readonly Merchant: "MERCHANT";
106
+ };
107
+ export type AttributeFillingMode = typeof AttributeFillingMode[keyof typeof AttributeFillingMode];
99
108
  export type AttributeFilterValue = {
100
109
  /** Option ID or value identifier */
101
110
  id: Scalars['ID']['output'];
@@ -113,13 +122,13 @@ export type AttributeFilterValue = {
113
122
  value: Scalars['String']['output'];
114
123
  };
115
124
  export type AttributeFilterValueConnection = {
116
- /** Paginated edges z cursorami */
125
+ /** Paginated edges with cursors */
117
126
  edges: Array<AttributeFilterValueEdge>;
118
127
  /** Shortcut: edges.map(e => e.node) */
119
128
  nodes: Array<AttributeFilterValue>;
120
129
  /** Relay pagination info (hasNextPage, hasPreviousPage, cursors) */
121
130
  pageInfo: PageInfo;
122
- /** Total number of attribute options matching the filter (po zastosowaniu search + context). NIE zmienia się przy paginacji pokazuje pełną liczbę dla counter UI. */
131
+ /** Total number of attribute options matching the filter (after applying search + context). Stable across pagination shows the full count for a counter UI. */
123
132
  totalCount: Scalars['Int']['output'];
124
133
  };
125
134
  export type AttributeFilterValueEdge = {
@@ -134,7 +143,11 @@ export type AttributeInput = {
134
143
  /** Attribute value */
135
144
  value?: InputMaybe<Scalars['String']['input']>;
136
145
  };
137
- export type AttributeOptionSurchargeType = 'FIXED' | 'PERCENT';
146
+ export declare const AttributeOptionSurchargeType: {
147
+ readonly Fixed: "FIXED";
148
+ readonly Percent: "PERCENT";
149
+ };
150
+ export type AttributeOptionSurchargeType = typeof AttributeOptionSurchargeType[keyof typeof AttributeOptionSurchargeType];
138
151
  export type AttributeRangeBounds = {
139
152
  /** Currency code for CURRENCY type */
140
153
  currencyCode?: Maybe<Scalars['String']['output']>;
@@ -184,24 +197,38 @@ export type AttributeSelectionInput = {
184
197
  export type AttributeSwatch = {
185
198
  /** Hex color code (e.g., #FF5733) */
186
199
  colorHex?: Maybe<Scalars['String']['output']>;
187
- /** Image URL for pattern swatches */
188
- imageUrl?: Maybe<Scalars['String']['output']>;
200
+ /** Image swatch for pattern/material attributes (e.g. fabric texture, wood grain). Use `image { url(transform: { maxWidth: 80 }) altText }` for small swatch tiles. Mutually meaningful with `colorHex` only when storefront chooses to render texture-over-color preview. */
201
+ image?: Maybe<Image>;
189
202
  };
190
- export type AttributeType = 'BOOLEAN' | 'CHECKBOX' | 'COLOR' | 'CURRENCY' | 'DATE' | 'FILE' | 'IMAGE' | 'NUMBER' | 'RADIO' | 'SELECT' | 'TEXT' | 'TEXTAREA';
203
+ export declare const AttributeType: {
204
+ readonly Boolean: "BOOLEAN";
205
+ readonly Checkbox: "CHECKBOX";
206
+ readonly Color: "COLOR";
207
+ readonly Currency: "CURRENCY";
208
+ readonly Date: "DATE";
209
+ readonly File: "FILE";
210
+ readonly Image: "IMAGE";
211
+ readonly Number: "NUMBER";
212
+ readonly Radio: "RADIO";
213
+ readonly Select: "SELECT";
214
+ readonly Text: "TEXT";
215
+ readonly Textarea: "TEXTAREA";
216
+ };
217
+ export type AttributeType = typeof AttributeType[keyof typeof AttributeType];
191
218
  export type AvailableFilters = {
192
- /** Liczba currently applied filters w `currentFilters` (Storefront UI renderuje "Filtry (3)" w sidebar header). */
219
+ /** Number of currently applied filters in `currentFilters` (render as "Filters (3)" in a sidebar header). */
193
220
  activeCount: Scalars['Int']['output'];
194
221
  /** Filterable attributes with values */
195
222
  attributes: Array<AttributeDefinition>;
196
- /** Boolean facet count: liczba produktów w current context spełniających `Product.isAvailable` (przynajmniej jeden aktywny wariant z untracked inventory LUB available>0). Exclude-self: jeśli `available: true` jest w `currentFilters`, count IGNORUJE ten filtr i pokazuje "ile produktów dostępnych w bazowym kontekście" (nie "ile teraz widać"). Spójne semantically z `attributes[].filterValues[].productCount` (per-enum-value facet) i `brands[].productCount` (per-brand facet) — wszystkie używają exclude-self per dimension. Untracked inventory (gift cards, digital, na-zamówienie) zawsze liczy się jako available. */
223
+ /** Boolean facet count: number of products in the current context that satisfy `Product.isAvailable` (at least one active variant with untracked inventory OR available>0). Exclude-self: if `available: true` is in `currentFilters`, the count IGNORES that filter and shows "how many products are available in the base context" (not "how many are visible right now"). Semantically consistent with `attributes[].filterValues[].productCount` (per-enum-value facet) and `brands[].productCount` (per-brand facet) — all use exclude-self per dimension. Untracked inventory (gift cards, digital, made-to-order) always counts as available. */
197
224
  availableCount: Scalars['Int']['output'];
198
- /** Faza 3 (2026-05-17): canonical Brand entities z product counts w current context. Storefront UI renderuje checkbox list / dropdown z logo per brand. Klik `filters: [{brand: {handle}}]`. Tylko brandy z >0 produktów w current product set + isActive=true. */
225
+ /** Canonical Brand entities with product counts in the current context. Render a checkbox list / dropdown with a logo per brand; clicking maps to `filters: [{brand: {handle}}]`. Only brands with >0 products in the current product set and isActive=true are returned. */
199
226
  brands?: Maybe<Array<BrandFilterValue>>;
200
227
  /** Categories available for filtering */
201
228
  categories?: Maybe<Array<CategoryFilterOption>>;
202
229
  /** Price range for filtering */
203
230
  priceRange?: Maybe<PriceRange>;
204
- /** Total products w current context (categoryId/collectionId/searchQuery) PRZED zaaplikowaniem faceted filters z `currentFilters`. Spójne z `ProductConnection.totalCount` Relay Connection spec — gdy `currentFilters` jest pusty, `AvailableFilters.totalCount` === `products(filters).totalCount`. Użyj do "Wszystkie produkty (N)" w sidebar header. */
231
+ /** Total products in the current context (categoryId/collectionId/searchQuery) BEFORE applying the faceted filters in `currentFilters`. Consistent with the `ProductConnection.totalCount` Relay Connection spec — when `currentFilters` is empty, `AvailableFilters.totalCount` === `products(filters).totalCount`. Use for "All products (N)" in a sidebar header. */
205
232
  totalCount: Scalars['Int']['output'];
206
233
  };
207
234
  export type AvailablePaymentMethods = {
@@ -356,7 +383,13 @@ export type BlogPostEdge = {
356
383
  /** Blog post node */
357
384
  node: BlogPost;
358
385
  };
359
- export type BlogPostStatus = 'ARCHIVED' | 'DRAFT' | 'PUBLISHED' | 'SCHEDULED';
386
+ export declare const BlogPostStatus: {
387
+ readonly Archived: "ARCHIVED";
388
+ readonly Draft: "DRAFT";
389
+ readonly Published: "PUBLISHED";
390
+ readonly Scheduled: "SCHEDULED";
391
+ };
392
+ export type BlogPostStatus = typeof BlogPostStatus[keyof typeof BlogPostStatus];
360
393
  export type BlogTag = {
361
394
  /** URL-friendly handle */
362
395
  handle: Scalars['String']['output'];
@@ -388,8 +421,8 @@ export type Brand = {
388
421
  handle: Scalars['String']['output'];
389
422
  /** Brand unique identifier */
390
423
  id: Scalars['ID']['output'];
391
- /** Brand logo URL (CDN-served, storefront-rendered) */
392
- logo?: Maybe<Scalars['String']['output']>;
424
+ /** Brand logo image. Use `logo { url(transform: { maxWidth: 200 }) altText }` for responsive sizing on brand tiles, breadcrumbs, and brand landing pages. */
425
+ logo?: Maybe<Image>;
393
426
  /** Brand display name (e.g. "Funko", "Nintendo") */
394
427
  name: Scalars['String']['output'];
395
428
  };
@@ -404,15 +437,15 @@ export type BrandColors = {
404
437
  secondary?: Maybe<BrandColorGroup>;
405
438
  };
406
439
  export type BrandFilterValue = {
407
- /** Brand handle (refetch payload — paste w ProductFilter.brand.handle) */
440
+ /** Brand handle (refetch payload — paste into ProductFilter.brand.handle) */
408
441
  handle: Scalars['String']['output'];
409
442
  /** Brand ID */
410
443
  id: Scalars['ID']['output'];
411
- /** Brand logo URL (UI rendering) */
412
- logo?: Maybe<Scalars['String']['output']>;
444
+ /** Brand logo image (UI rendering — facet sidebars / dropdowns). Use `logo { url(transform: { maxWidth: 80 }) altText }` for small thumbs. */
445
+ logo?: Maybe<Image>;
413
446
  /** Brand name */
414
447
  name: Scalars['String']['output'];
415
- /** Liczba produktów z tym brandem w current product set */
448
+ /** Number of products with this brand in the current product set */
416
449
  productCount: Scalars['Int']['output'];
417
450
  };
418
451
  export type BusinessHour = {
@@ -474,7 +507,7 @@ export type Cart = Node & {
474
507
  appliedGiftCards: Array<CartAppliedGiftCard>;
475
508
  /** Cart-level custom attributes (free-form key/value). Use for cart-wide metadata such as B2B PO number or marketing source. Replace (not merge) the list with `cartUpdateAttributes`. */
476
509
  attributes: Array<CartAttribute>;
477
- /** Available payment methods dla tego cartadeduplikowane per type, sorted by merchant priority. */
510
+ /** Available payment methods for this cartdeduplicated per type, sorted by merchant priority. */
478
511
  availablePaymentMethods: Array<PaymentMethod>;
479
512
  /** Shipping methods available for this cart at the given destination. Reads the cart subtotal and weight directly — for pre-cart preview (e.g. a product detail page calculator) use the top-level `availableShippingMethods(address, cart)` query instead. Returns an empty `methods` list plus a `DIGITAL_ONLY_NO_SHIPPING` user error when the cart has no shippable items; the storefront can use this to skip the shipping step entirely. */
480
513
  availableShippingMethods: AvailableShippingMethodsPayload;
@@ -508,8 +541,8 @@ export type Cart = Node & {
508
541
  recommendations?: Maybe<CartRecommendations>;
509
542
  /** True when at least one line in the cart requires physical shipping. False when every line is non-physical (digital, gift card, service, subscription). Use as the single signal to render or skip the shipping step in checkout. */
510
543
  requiresShipping: Scalars['Boolean']['output'];
511
- /** Optional concrete instrument code selected within `selectedPaymentMethod` (e.g. `"blik"`, `"mb"`, `"154"`). Set gdy klient klika konkretny instrument tile na storefront (per `PaymentMethod.instruments`). Pre-payment intent: skopiowany do `Order.paymentInstrumentCode` przy `cartComplete`. Storefront może cross-reference z `availablePaymentMethods.methods[].instruments[]` żeby dostać `displayName` / `brandImageUrl`. Added by payment-instrument-preselection core sprint Req 3 AC7. */
512
- selectedPaymentInstrumentCode?: Maybe<Scalars['String']['output']>;
544
+ /** Optional concrete instrument code selected within `selectedPaymentMethod` (e.g. `"blik"`, `"mb"`, `"154"`). Set when the buyer clicks a specific instrument tile on the storefront (per `PaymentMethod.instruments`). Pre-payment intent: copied to `Order.paymentInstrument` on `cartComplete`. Cross-reference with `availablePaymentMethods.methods[].instruments[]` to resolve `displayName` / `brandImage { url }`. */
545
+ selectedPaymentInstrument?: Maybe<Scalars['String']['output']>;
513
546
  /** The payment method currently selected on the cart. Null until the buyer picks a method via `cartSelectPaymentMethod`. */
514
547
  selectedPaymentMethod?: Maybe<PaymentMethod>;
515
548
  /** The shipping method currently selected on the cart (label + cost). Null until the buyer picks a method. */
@@ -522,7 +555,7 @@ export type Cart = Node & {
522
555
  totalQuantity: Scalars['Int']['output'];
523
556
  /** When the cart was last modified (ISO 8601). */
524
557
  updatedAt: Scalars['DateTime']['output'];
525
- /** Non-fatal advisories computed at query time. Currently emitted: `PAYMENT_SELECTION_STALE` when `selectedPaymentMethod` / `selectedPaymentInstrumentCode` are no longer in live gateway capabilities (storefront re-prompts the buyer). Read-only — backend state is not mutated. Added by payment-instrument-preselection-advanced sub-sprint Adv-2 Req 1. */
558
+ /** Non-fatal advisories computed at query time. Currently emitted: `PAYMENT_SELECTION_STALE` when `selectedPaymentMethod` / `selectedPaymentInstrument` are no longer in live gateway capabilities (storefront re-prompts the buyer). Read-only — backend state is not mutated. */
526
559
  warnings: Array<CartWarning>;
527
560
  };
528
561
  export type CartAddLinesPayload = {
@@ -628,7 +661,7 @@ export type CartClearPaymentSelectionInput = {
628
661
  cartId: Scalars['ID']['input'];
629
662
  };
630
663
  export type CartClearPaymentSelectionPayload = {
631
- /** The updated cart z cleared payment selection. */
664
+ /** The updated cart with cleared payment selection. */
632
665
  cart?: Maybe<Cart>;
633
666
  /** Business / validation errors carrying a stable `CartErrorCode` in `code` (e.g. `ALREADY_COMPLETED`). */
634
667
  userErrors: Array<UserError>;
@@ -832,10 +865,10 @@ export type CartSelectPaymentMethodInput = {
832
865
  cartId: Scalars['ID']['input'];
833
866
  /** Category of the payment method the buyer picked (matches `PaymentMethod.type` from `availablePaymentMethods`). */
834
867
  methodType: PaymentMethodType;
835
- /** Optional gateway-specific instrument code (`blik`, `mb`, `c`, `154`, ...) z `PaymentMethod.instruments[].instrumentCode`. Wymaga ustawienia `preferredProviderCode` — instrument code jest provider-specific. Bez restrictive regex (różne bramki używają `.` / `:` / `/` w przyszłości). SQL injection chroniona przez Prisma parametrized queries. Added by payment-instrument-preselection core sprint Req 3.1. */
836
- preferredInstrumentCode?: InputMaybe<Scalars['String']['input']>;
837
- /** Optional override of `PaymentMethod.preferredProvider`. Pass a provider code (`payu`, `przelewy24`, ...) from `providersAvailable` when the buyer explicitly picks one (rare usually the merchant priority is enough). Format: lowercase alphanumerics + underscore + hyphen, 2-50 characters. Renamed from `preferredProviderId` `*Code` is reserved for lowercase string identifiers, `*Id` for UUIDs. */
838
- preferredProviderCode?: InputMaybe<Scalars['String']['input']>;
868
+ /** Optional gateway-specific instrument code (`blik`, `mb`, `c`, `154`, ...) from `PaymentMethod.instruments[].code`. Requires `preferredProvider` to be set — instrument codes are provider-specific. No restrictive format is enforced, since different gateways may use `.` / `:` / `/` in future codes. */
869
+ preferredInstrument?: InputMaybe<Scalars['String']['input']>;
870
+ /** Optional override of `PaymentMethod.preferredProvider`. Pass a `PaymentProvider` enum value (`PAYU`, `PRZELEWY24`, ...) read off `providersAvailable` / `PaymentInstrument.provider` when the buyer explicitly picks a gateway. Symmetric with the output forward `instrument.provider` straight back, no case conversion. */
871
+ preferredProvider?: InputMaybe<PaymentProvider>;
839
872
  };
840
873
  export type CartSelectPaymentMethodPayload = {
841
874
  /** The updated cart with `selectedPaymentMethod` populated. */
@@ -895,7 +928,14 @@ export type CartShippingMethod = {
895
928
  /** Display title for the checkout summary (e.g. "DPD Standard, 2 days"). */
896
929
  title: Scalars['String']['output'];
897
930
  };
898
- export type CartStatus = 'ABANDONED' | 'ACTIVE' | 'CONVERTED' | 'EXPIRED' | 'RECOVERED';
931
+ export declare const CartStatus: {
932
+ readonly Abandoned: "ABANDONED";
933
+ readonly Active: "ACTIVE";
934
+ readonly Converted: "CONVERTED";
935
+ readonly Expired: "EXPIRED";
936
+ readonly Recovered: "RECOVERED";
937
+ };
938
+ export type CartStatus = typeof CartStatus[keyof typeof CartStatus];
899
939
  export type CartUpdateAttributesPayload = {
900
940
  /** The updated cart on success. */
901
941
  cart?: Maybe<Cart>;
@@ -956,7 +996,14 @@ export type CartWarning = {
956
996
  /** What the warning is about — a cart line ID when the warning refers to a specific item, or a field path otherwise. */
957
997
  target: Scalars['String']['output'];
958
998
  };
959
- export type CartWarningCode = 'MERCHANDISE_NOT_AVAILABLE' | 'MERCHANDISE_NOT_ENOUGH_STOCK' | 'PAYMENTS_AMOUNT_REGION_MISMATCH' | 'PAYMENT_SELECTION_STALE' | 'SHIPPING_METHOD_AUTO_CLEARED';
999
+ export declare const CartWarningCode: {
1000
+ readonly MerchandiseNotAvailable: "MERCHANDISE_NOT_AVAILABLE";
1001
+ readonly MerchandiseNotEnoughStock: "MERCHANDISE_NOT_ENOUGH_STOCK";
1002
+ readonly PaymentsAmountRegionMismatch: "PAYMENTS_AMOUNT_REGION_MISMATCH";
1003
+ readonly PaymentSelectionStale: "PAYMENT_SELECTION_STALE";
1004
+ readonly ShippingMethodAutoCleared: "SHIPPING_METHOD_AUTO_CLEARED";
1005
+ };
1006
+ export type CartWarningCode = typeof CartWarningCode[keyof typeof CartWarningCode];
960
1007
  export type Category = {
961
1008
  /** Child categories */
962
1009
  children: Array<Category>;
@@ -1051,8 +1098,16 @@ export type CollectionEdge = {
1051
1098
  /** Collection node */
1052
1099
  node: Collection;
1053
1100
  };
1054
- export type CompensationType = 'REFUND' | 'STORE_CREDIT';
1055
- export type ContentFormat = 'HTML' | 'MARKDOWN';
1101
+ export declare const CompensationType: {
1102
+ readonly Refund: "REFUND";
1103
+ readonly StoreCredit: "STORE_CREDIT";
1104
+ };
1105
+ export type CompensationType = typeof CompensationType[keyof typeof CompensationType];
1106
+ export declare const ContentFormat: {
1107
+ readonly Html: "HTML";
1108
+ readonly Markdown: "MARKDOWN";
1109
+ };
1110
+ export type ContentFormat = typeof ContentFormat[keyof typeof ContentFormat];
1056
1111
  export type ConvertedPriceRange = {
1057
1112
  /** Maximum variant price (converted) */
1058
1113
  maxVariantPrice: PriceMoney;
@@ -1060,20 +1115,59 @@ export type ConvertedPriceRange = {
1060
1115
  minVariantPrice: PriceMoney;
1061
1116
  };
1062
1117
  export type Country = Node & {
1063
- /** Języki wspierane przez sklep dostępne w tym kraju */
1118
+ /** Shop languages available in this country */
1064
1119
  availableLanguages: Array<Language>;
1065
- /** Primary currency w tym kraju */
1120
+ /** Primary currency in this country */
1066
1121
  currency: Currency;
1067
- /** Globally-unique identifier (np. "country:PL") */
1122
+ /** Globally-unique identifier (e.g. "country:PL") */
1068
1123
  id: Scalars['ID']['output'];
1069
1124
  /** ISO 3166-1 alpha-2 country code */
1070
1125
  isoCode: CountryCode;
1071
- /** English name kraju (np. "Poland", "Germany") */
1126
+ /** English country name (e.g. "Poland", "Germany") */
1072
1127
  name: Scalars['String']['output'];
1073
- /** System jednostek (metric/imperial) */
1128
+ /** Measurement system (metric/imperial) */
1074
1129
  unitSystem: UnitSystem;
1075
1130
  };
1076
- export type CountryCode = 'AT' | 'AU' | 'BE' | 'BG' | 'CA' | 'CH' | 'CY' | 'CZ' | 'DE' | 'DK' | 'EE' | 'ES' | 'FI' | 'FR' | 'GB' | 'GR' | 'HR' | 'HU' | 'IE' | 'IS' | 'IT' | 'LI' | 'LT' | 'LU' | 'LV' | 'MT' | 'NL' | 'NO' | 'NZ' | 'PL' | 'PT' | 'RO' | 'SE' | 'SI' | 'SK' | 'US' | 'ZZ';
1131
+ export declare const CountryCode: {
1132
+ readonly At: "AT";
1133
+ readonly Au: "AU";
1134
+ readonly Be: "BE";
1135
+ readonly Bg: "BG";
1136
+ readonly Ca: "CA";
1137
+ readonly Ch: "CH";
1138
+ readonly Cy: "CY";
1139
+ readonly Cz: "CZ";
1140
+ readonly De: "DE";
1141
+ readonly Dk: "DK";
1142
+ readonly Ee: "EE";
1143
+ readonly Es: "ES";
1144
+ readonly Fi: "FI";
1145
+ readonly Fr: "FR";
1146
+ readonly Gb: "GB";
1147
+ readonly Gr: "GR";
1148
+ readonly Hr: "HR";
1149
+ readonly Hu: "HU";
1150
+ readonly Ie: "IE";
1151
+ readonly Is: "IS";
1152
+ readonly It: "IT";
1153
+ readonly Li: "LI";
1154
+ readonly Lt: "LT";
1155
+ readonly Lu: "LU";
1156
+ readonly Lv: "LV";
1157
+ readonly Mt: "MT";
1158
+ readonly Nl: "NL";
1159
+ readonly No: "NO";
1160
+ readonly Nz: "NZ";
1161
+ readonly Pl: "PL";
1162
+ readonly Pt: "PT";
1163
+ readonly Ro: "RO";
1164
+ readonly Se: "SE";
1165
+ readonly Si: "SI";
1166
+ readonly Sk: "SK";
1167
+ readonly Us: "US";
1168
+ readonly Zz: "ZZ";
1169
+ };
1170
+ export type CountryCode = typeof CountryCode[keyof typeof CountryCode];
1077
1171
  export type Currency = {
1078
1172
  /** ISO 4217 currency code */
1079
1173
  code: CurrencyCode;
@@ -1086,7 +1180,176 @@ export type Currency = {
1086
1180
  /** Symbol position relative to amount */
1087
1181
  symbolPosition: CurrencySymbolPosition;
1088
1182
  };
1089
- export type CurrencyCode = 'AED' | 'AFN' | 'ALL' | 'AMD' | 'ANG' | 'AOA' | 'ARS' | 'AUD' | 'AWG' | 'AZN' | 'BAM' | 'BBD' | 'BDT' | 'BGN' | 'BHD' | 'BIF' | 'BMD' | 'BND' | 'BOB' | 'BOV' | 'BRL' | 'BSD' | 'BTN' | 'BWP' | 'BYN' | 'BZD' | 'CAD' | 'CDF' | 'CHE' | 'CHF' | 'CHW' | 'CLF' | 'CLP' | 'CNY' | 'COP' | 'COU' | 'CRC' | 'CUC' | 'CUP' | 'CVE' | 'CZK' | 'DJF' | 'DKK' | 'DOP' | 'DZD' | 'EGP' | 'ERN' | 'ETB' | 'EUR' | 'FJD' | 'FKP' | 'GBP' | 'GEL' | 'GHS' | 'GIP' | 'GMD' | 'GNF' | 'GTQ' | 'GYD' | 'HKD' | 'HNL' | 'HTG' | 'HUF' | 'IDR' | 'ILS' | 'INR' | 'IQD' | 'IRR' | 'ISK' | 'JMD' | 'JOD' | 'JPY' | 'KES' | 'KGS' | 'KHR' | 'KMF' | 'KPW' | 'KRW' | 'KWD' | 'KYD' | 'KZT' | 'LAK' | 'LBP' | 'LKR' | 'LRD' | 'LSL' | 'LYD' | 'MAD' | 'MDL' | 'MGA' | 'MKD' | 'MMK' | 'MNT' | 'MOP' | 'MRU' | 'MUR' | 'MVR' | 'MWK' | 'MXN' | 'MXV' | 'MYR' | 'MZN' | 'NAD' | 'NGN' | 'NIO' | 'NOK' | 'NPR' | 'NZD' | 'OMR' | 'PAB' | 'PEN' | 'PGK' | 'PHP' | 'PKR' | 'PLN' | 'PYG' | 'QAR' | 'RON' | 'RSD' | 'RUB' | 'RWF' | 'SAR' | 'SBD' | 'SCR' | 'SDG' | 'SEK' | 'SGD' | 'SHP' | 'SLE' | 'SOS' | 'SRD' | 'SSP' | 'STN' | 'SVC' | 'SYP' | 'SZL' | 'THB' | 'TJS' | 'TMT' | 'TND' | 'TOP' | 'TRY' | 'TTD' | 'TWD' | 'TZS' | 'UAH' | 'UGX' | 'USD' | 'USN' | 'UYI' | 'UYU' | 'UYW' | 'UZS' | 'VED' | 'VES' | 'VND' | 'VUV' | 'WST' | 'XAF' | 'XCD' | 'XOF' | 'XPF' | 'XXX' | 'YER' | 'ZAR' | 'ZMW' | 'ZWG';
1183
+ export declare const CurrencyCode: {
1184
+ readonly Aed: "AED";
1185
+ readonly Afn: "AFN";
1186
+ readonly All: "ALL";
1187
+ readonly Amd: "AMD";
1188
+ readonly Ang: "ANG";
1189
+ readonly Aoa: "AOA";
1190
+ readonly Ars: "ARS";
1191
+ readonly Aud: "AUD";
1192
+ readonly Awg: "AWG";
1193
+ readonly Azn: "AZN";
1194
+ readonly Bam: "BAM";
1195
+ readonly Bbd: "BBD";
1196
+ readonly Bdt: "BDT";
1197
+ readonly Bgn: "BGN";
1198
+ readonly Bhd: "BHD";
1199
+ readonly Bif: "BIF";
1200
+ readonly Bmd: "BMD";
1201
+ readonly Bnd: "BND";
1202
+ readonly Bob: "BOB";
1203
+ readonly Bov: "BOV";
1204
+ readonly Brl: "BRL";
1205
+ readonly Bsd: "BSD";
1206
+ readonly Btn: "BTN";
1207
+ readonly Bwp: "BWP";
1208
+ readonly Byn: "BYN";
1209
+ readonly Bzd: "BZD";
1210
+ readonly Cad: "CAD";
1211
+ readonly Cdf: "CDF";
1212
+ readonly Che: "CHE";
1213
+ readonly Chf: "CHF";
1214
+ readonly Chw: "CHW";
1215
+ readonly Clf: "CLF";
1216
+ readonly Clp: "CLP";
1217
+ readonly Cny: "CNY";
1218
+ readonly Cop: "COP";
1219
+ readonly Cou: "COU";
1220
+ readonly Crc: "CRC";
1221
+ readonly Cuc: "CUC";
1222
+ readonly Cup: "CUP";
1223
+ readonly Cve: "CVE";
1224
+ readonly Czk: "CZK";
1225
+ readonly Djf: "DJF";
1226
+ readonly Dkk: "DKK";
1227
+ readonly Dop: "DOP";
1228
+ readonly Dzd: "DZD";
1229
+ readonly Egp: "EGP";
1230
+ readonly Ern: "ERN";
1231
+ readonly Etb: "ETB";
1232
+ readonly Eur: "EUR";
1233
+ readonly Fjd: "FJD";
1234
+ readonly Fkp: "FKP";
1235
+ readonly Gbp: "GBP";
1236
+ readonly Gel: "GEL";
1237
+ readonly Ghs: "GHS";
1238
+ readonly Gip: "GIP";
1239
+ readonly Gmd: "GMD";
1240
+ readonly Gnf: "GNF";
1241
+ readonly Gtq: "GTQ";
1242
+ readonly Gyd: "GYD";
1243
+ readonly Hkd: "HKD";
1244
+ readonly Hnl: "HNL";
1245
+ readonly Htg: "HTG";
1246
+ readonly Huf: "HUF";
1247
+ readonly Idr: "IDR";
1248
+ readonly Ils: "ILS";
1249
+ readonly Inr: "INR";
1250
+ readonly Iqd: "IQD";
1251
+ readonly Irr: "IRR";
1252
+ readonly Isk: "ISK";
1253
+ readonly Jmd: "JMD";
1254
+ readonly Jod: "JOD";
1255
+ readonly Jpy: "JPY";
1256
+ readonly Kes: "KES";
1257
+ readonly Kgs: "KGS";
1258
+ readonly Khr: "KHR";
1259
+ readonly Kmf: "KMF";
1260
+ readonly Kpw: "KPW";
1261
+ readonly Krw: "KRW";
1262
+ readonly Kwd: "KWD";
1263
+ readonly Kyd: "KYD";
1264
+ readonly Kzt: "KZT";
1265
+ readonly Lak: "LAK";
1266
+ readonly Lbp: "LBP";
1267
+ readonly Lkr: "LKR";
1268
+ readonly Lrd: "LRD";
1269
+ readonly Lsl: "LSL";
1270
+ readonly Lyd: "LYD";
1271
+ readonly Mad: "MAD";
1272
+ readonly Mdl: "MDL";
1273
+ readonly Mga: "MGA";
1274
+ readonly Mkd: "MKD";
1275
+ readonly Mmk: "MMK";
1276
+ readonly Mnt: "MNT";
1277
+ readonly Mop: "MOP";
1278
+ readonly Mru: "MRU";
1279
+ readonly Mur: "MUR";
1280
+ readonly Mvr: "MVR";
1281
+ readonly Mwk: "MWK";
1282
+ readonly Mxn: "MXN";
1283
+ readonly Mxv: "MXV";
1284
+ readonly Myr: "MYR";
1285
+ readonly Mzn: "MZN";
1286
+ readonly Nad: "NAD";
1287
+ readonly Ngn: "NGN";
1288
+ readonly Nio: "NIO";
1289
+ readonly Nok: "NOK";
1290
+ readonly Npr: "NPR";
1291
+ readonly Nzd: "NZD";
1292
+ readonly Omr: "OMR";
1293
+ readonly Pab: "PAB";
1294
+ readonly Pen: "PEN";
1295
+ readonly Pgk: "PGK";
1296
+ readonly Php: "PHP";
1297
+ readonly Pkr: "PKR";
1298
+ readonly Pln: "PLN";
1299
+ readonly Pyg: "PYG";
1300
+ readonly Qar: "QAR";
1301
+ readonly Ron: "RON";
1302
+ readonly Rsd: "RSD";
1303
+ readonly Rub: "RUB";
1304
+ readonly Rwf: "RWF";
1305
+ readonly Sar: "SAR";
1306
+ readonly Sbd: "SBD";
1307
+ readonly Scr: "SCR";
1308
+ readonly Sdg: "SDG";
1309
+ readonly Sek: "SEK";
1310
+ readonly Sgd: "SGD";
1311
+ readonly Shp: "SHP";
1312
+ readonly Sle: "SLE";
1313
+ readonly Sos: "SOS";
1314
+ readonly Srd: "SRD";
1315
+ readonly Ssp: "SSP";
1316
+ readonly Stn: "STN";
1317
+ readonly Svc: "SVC";
1318
+ readonly Syp: "SYP";
1319
+ readonly Szl: "SZL";
1320
+ readonly Thb: "THB";
1321
+ readonly Tjs: "TJS";
1322
+ readonly Tmt: "TMT";
1323
+ readonly Tnd: "TND";
1324
+ readonly Top: "TOP";
1325
+ readonly Try: "TRY";
1326
+ readonly Ttd: "TTD";
1327
+ readonly Twd: "TWD";
1328
+ readonly Tzs: "TZS";
1329
+ readonly Uah: "UAH";
1330
+ readonly Ugx: "UGX";
1331
+ readonly Usd: "USD";
1332
+ readonly Usn: "USN";
1333
+ readonly Uyi: "UYI";
1334
+ readonly Uyu: "UYU";
1335
+ readonly Uyw: "UYW";
1336
+ readonly Uzs: "UZS";
1337
+ readonly Ved: "VED";
1338
+ readonly Ves: "VES";
1339
+ readonly Vnd: "VND";
1340
+ readonly Vuv: "VUV";
1341
+ readonly Wst: "WST";
1342
+ readonly Xaf: "XAF";
1343
+ readonly Xcd: "XCD";
1344
+ readonly Xof: "XOF";
1345
+ readonly Xpf: "XPF";
1346
+ readonly Xxx: "XXX";
1347
+ readonly Yer: "YER";
1348
+ readonly Zar: "ZAR";
1349
+ readonly Zmw: "ZMW";
1350
+ readonly Zwg: "ZWG";
1351
+ };
1352
+ export type CurrencyCode = typeof CurrencyCode[keyof typeof CurrencyCode];
1090
1353
  export type CurrencyConversion = {
1091
1354
  /** Converted amount */
1092
1355
  convertedAmount: Scalars['Float']['output'];
@@ -1107,8 +1370,17 @@ export type CurrencyConversion = {
1107
1370
  /** Rate with margin applied */
1108
1371
  rateWithMargin?: Maybe<Scalars['Float']['output']>;
1109
1372
  };
1110
- export type CurrencyRateSource = 'ECB' | 'FIXER' | 'MANUAL';
1111
- export type CurrencySymbolPosition = 'AFTER' | 'BEFORE';
1373
+ export declare const CurrencyRateSource: {
1374
+ readonly Ecb: "ECB";
1375
+ readonly Fixer: "FIXER";
1376
+ readonly Manual: "MANUAL";
1377
+ };
1378
+ export type CurrencyRateSource = typeof CurrencyRateSource[keyof typeof CurrencyRateSource];
1379
+ export declare const CurrencySymbolPosition: {
1380
+ readonly After: "AFTER";
1381
+ readonly Before: "BEFORE";
1382
+ };
1383
+ export type CurrencySymbolPosition = typeof CurrencySymbolPosition[keyof typeof CurrencySymbolPosition];
1112
1384
  export type Customer = Node & {
1113
1385
  /** Saved address book of the customer (Relay Connection). Use to render an address picker on checkout. */
1114
1386
  addresses: MailingAddressConnection;
@@ -1144,6 +1416,8 @@ export type Customer = Node & {
1144
1416
  phone?: Maybe<Scalars['String']['output']>;
1145
1417
  /** Customer-wide Polish business registry number (REGON, 9 or 14 digits with checksum). */
1146
1418
  regon?: Maybe<Scalars['String']['output']>;
1419
+ /** Expiry of the access token authenticating the current request (ISO 8601). Present only on the authenticated current customer (the `customer` query); null otherwise. Schedule a proactive `customerRefreshToken` before this to keep the session alive. */
1420
+ sessionExpiresAt?: Maybe<Scalars['DateTime']['output']>;
1147
1421
  /** Merchant-assigned segmentation tags (e.g. "vip", "wholesale", "b2b"). Use to customise UI / pricing rules on the storefront. */
1148
1422
  tags: Array<Scalars['String']['output']>;
1149
1423
  /** Customer-wide Polish tax ID (NIP, 10 digits with checksum). Default for new addresses; can be overridden per address via `MailingAddress.taxId`. */
@@ -1263,7 +1537,11 @@ export type CustomerSignupPayload = {
1263
1537
  /** Validation / business errors carrying a stable `CustomerErrorCode` in `code` (e.g. `TAKEN`, `INVALID`, `PASSWORD_TOO_WEAK`, `BAD_DOMAIN`). */
1264
1538
  userErrors: Array<UserError>;
1265
1539
  };
1266
- export type CustomerType = 'COMPANY' | 'INDIVIDUAL';
1540
+ export declare const CustomerType: {
1541
+ readonly Company: "COMPANY";
1542
+ readonly Individual: "INDIVIDUAL";
1543
+ };
1544
+ export type CustomerType = typeof CustomerType[keyof typeof CustomerType];
1267
1545
  export type CustomerUpdateAddressPayload = {
1268
1546
  /** Updated address */
1269
1547
  address?: Maybe<MailingAddress>;
@@ -1284,15 +1562,37 @@ export type DeliveryEstimate = {
1284
1562
  /** Minimum expected delivery time in business days. */
1285
1563
  minDays?: Maybe<Scalars['Int']['output']>;
1286
1564
  };
1287
- export type DeliveryType =
1288
- /** Courier delivery to the street address — no pickup point required. */
1289
- 'HOME'
1290
- /** Automated parcel locker — the buyer collects from a 24/7 self-service machine. */
1291
- | 'LOCKER'
1292
- /** Staffed pickup point / parcel shop — the buyer collects the parcel at a counter. */
1293
- | 'PICKUP_POINT';
1294
- export type DiscountApplicationType = 'BUY_X_GET_Y' | 'FIXED_AMOUNT' | 'FREE_SHIPPING' | 'PERCENTAGE';
1295
- export type DiscountErrorCode = 'CUSTOMER_GROUP_NOT_ELIGIBLE' | 'CUSTOMER_NOT_ELIGIBLE' | 'CUSTOMER_USAGE_LIMIT_REACHED' | 'DISCOUNT_COMBINATION_NOT_ALLOWED' | 'EXPIRED' | 'INACTIVE' | 'MINIMUM_ORDER_NOT_MET' | 'MINIMUM_QUANTITY_NOT_MET' | 'NOT_FOUND' | 'NOT_STARTED' | 'SHOP_NOT_FOUND' | 'USAGE_LIMIT_REACHED';
1565
+ export declare const DeliveryType: {
1566
+ /** Courier delivery to the street address — no pickup point required. */
1567
+ readonly Home: "HOME";
1568
+ /** Automated parcel locker — the buyer collects from a 24/7 self-service machine. */
1569
+ readonly Locker: "LOCKER";
1570
+ /** Staffed pickup point / parcel shop — the buyer collects the parcel at a counter. */
1571
+ readonly PickupPoint: "PICKUP_POINT";
1572
+ };
1573
+ export type DeliveryType = typeof DeliveryType[keyof typeof DeliveryType];
1574
+ export declare const DiscountApplicationType: {
1575
+ readonly BuyXGetY: "BUY_X_GET_Y";
1576
+ readonly FixedAmount: "FIXED_AMOUNT";
1577
+ readonly FreeShipping: "FREE_SHIPPING";
1578
+ readonly Percentage: "PERCENTAGE";
1579
+ };
1580
+ export type DiscountApplicationType = typeof DiscountApplicationType[keyof typeof DiscountApplicationType];
1581
+ export declare const DiscountErrorCode: {
1582
+ readonly CustomerGroupNotEligible: "CUSTOMER_GROUP_NOT_ELIGIBLE";
1583
+ readonly CustomerNotEligible: "CUSTOMER_NOT_ELIGIBLE";
1584
+ readonly CustomerUsageLimitReached: "CUSTOMER_USAGE_LIMIT_REACHED";
1585
+ readonly DiscountCombinationNotAllowed: "DISCOUNT_COMBINATION_NOT_ALLOWED";
1586
+ readonly Expired: "EXPIRED";
1587
+ readonly Inactive: "INACTIVE";
1588
+ readonly MinimumOrderNotMet: "MINIMUM_ORDER_NOT_MET";
1589
+ readonly MinimumQuantityNotMet: "MINIMUM_QUANTITY_NOT_MET";
1590
+ readonly NotFound: "NOT_FOUND";
1591
+ readonly NotStarted: "NOT_STARTED";
1592
+ readonly ShopNotFound: "SHOP_NOT_FOUND";
1593
+ readonly UsageLimitReached: "USAGE_LIMIT_REACHED";
1594
+ };
1595
+ export type DiscountErrorCode = typeof DiscountErrorCode[keyof typeof DiscountErrorCode];
1296
1596
  export type DiscountInfo = {
1297
1597
  /** The discount code as entered. */
1298
1598
  code: Scalars['String']['output'];
@@ -1324,10 +1624,18 @@ export type Domain = {
1324
1624
  host: Scalars['String']['output'];
1325
1625
  /** Whether HTTPS is enforced */
1326
1626
  isSslEnabled: Scalars['Boolean']['output'];
1327
- /** Full URL z protocol */
1627
+ /** Full URL including protocol */
1328
1628
  url: Scalars['URL']['output'];
1329
1629
  };
1330
- export type EmailMarketingState = 'INVALID' | 'NOT_SUBSCRIBED' | 'PENDING' | 'REDACTED' | 'SUBSCRIBED' | 'UNSUBSCRIBED';
1630
+ export declare const EmailMarketingState: {
1631
+ readonly Invalid: "INVALID";
1632
+ readonly NotSubscribed: "NOT_SUBSCRIBED";
1633
+ readonly Pending: "PENDING";
1634
+ readonly Redacted: "REDACTED";
1635
+ readonly Subscribed: "SUBSCRIBED";
1636
+ readonly Unsubscribed: "UNSUBSCRIBED";
1637
+ };
1638
+ export type EmailMarketingState = typeof EmailMarketingState[keyof typeof EmailMarketingState];
1331
1639
  export type EntityAttributeField = {
1332
1640
  /** AttributeDefinition ID */
1333
1641
  definitionId: Scalars['ID']['output'];
@@ -1370,8 +1678,18 @@ export type Filter = {
1370
1678
  /** Available values for this filter, with product counts */
1371
1679
  values: Array<FilterValue>;
1372
1680
  };
1373
- export type FilterPresentation = 'IMAGE' | 'SWATCH' | 'TEXT';
1374
- export type FilterType = 'BOOLEAN' | 'LIST' | 'PRICE_RANGE';
1681
+ export declare const FilterPresentation: {
1682
+ readonly Image: "IMAGE";
1683
+ readonly Swatch: "SWATCH";
1684
+ readonly Text: "TEXT";
1685
+ };
1686
+ export type FilterPresentation = typeof FilterPresentation[keyof typeof FilterPresentation];
1687
+ export declare const FilterType: {
1688
+ readonly Boolean: "BOOLEAN";
1689
+ readonly List: "LIST";
1690
+ readonly PriceRange: "PRICE_RANGE";
1691
+ };
1692
+ export type FilterType = typeof FilterType[keyof typeof FilterType];
1375
1693
  export type FilterValue = {
1376
1694
  /** Number of products matching this value in current result set */
1377
1695
  count: Scalars['Int']['output'];
@@ -1434,7 +1752,16 @@ export type GiftCardError = {
1434
1752
  /** Human-readable error message */
1435
1753
  message: Scalars['String']['output'];
1436
1754
  };
1437
- export type GiftCardErrorCode = 'ALREADY_USED' | 'CURRENCY_MISMATCH' | 'DISABLED' | 'EXPIRED' | 'INSUFFICIENT_BALANCE' | 'INVALID_CODE_FORMAT' | 'NOT_FOUND';
1755
+ export declare const GiftCardErrorCode: {
1756
+ readonly AlreadyUsed: "ALREADY_USED";
1757
+ readonly CurrencyMismatch: "CURRENCY_MISMATCH";
1758
+ readonly Disabled: "DISABLED";
1759
+ readonly Expired: "EXPIRED";
1760
+ readonly InsufficientBalance: "INSUFFICIENT_BALANCE";
1761
+ readonly InvalidCodeFormat: "INVALID_CODE_FORMAT";
1762
+ readonly NotFound: "NOT_FOUND";
1763
+ };
1764
+ export type GiftCardErrorCode = typeof GiftCardErrorCode[keyof typeof GiftCardErrorCode];
1438
1765
  export type GiftCardLineRecipient = {
1439
1766
  /** Personalised message included with the gift card. */
1440
1767
  message?: Maybe<Scalars['String']['output']>;
@@ -1443,7 +1770,13 @@ export type GiftCardLineRecipient = {
1443
1770
  /** Recipient display name shown in the gift card email. */
1444
1771
  recipientName?: Maybe<Scalars['String']['output']>;
1445
1772
  };
1446
- export type GiftCardStatus = 'ACTIVE' | 'DISABLED' | 'EXPIRED' | 'USED';
1773
+ export declare const GiftCardStatus: {
1774
+ readonly Active: "ACTIVE";
1775
+ readonly Disabled: "DISABLED";
1776
+ readonly Expired: "EXPIRED";
1777
+ readonly Used: "USED";
1778
+ };
1779
+ export type GiftCardStatus = typeof GiftCardStatus[keyof typeof GiftCardStatus];
1447
1780
  export type GiftCardValidatePayload = {
1448
1781
  /** User errors */
1449
1782
  userErrors: Array<UserError>;
@@ -1504,22 +1837,49 @@ export type Language = {
1504
1837
  /** Native language name */
1505
1838
  nativeName: Scalars['String']['output'];
1506
1839
  };
1507
- export type LanguageCode = 'CS' | 'DA' | 'DE' | 'EN' | 'ES' | 'FI' | 'FR' | 'HR' | 'HU' | 'IT' | 'LT' | 'LV' | 'NL' | 'NO' | 'PL' | 'PT' | 'RO' | 'SK' | 'SL' | 'SV' | 'UK';
1508
- export type LanguageDirection = 'LTR' | 'RTL';
1840
+ export declare const LanguageCode: {
1841
+ readonly Cs: "CS";
1842
+ readonly Da: "DA";
1843
+ readonly De: "DE";
1844
+ readonly En: "EN";
1845
+ readonly Es: "ES";
1846
+ readonly Fi: "FI";
1847
+ readonly Fr: "FR";
1848
+ readonly Hr: "HR";
1849
+ readonly Hu: "HU";
1850
+ readonly It: "IT";
1851
+ readonly Lt: "LT";
1852
+ readonly Lv: "LV";
1853
+ readonly Nl: "NL";
1854
+ readonly No: "NO";
1855
+ readonly Pl: "PL";
1856
+ readonly Pt: "PT";
1857
+ readonly Ro: "RO";
1858
+ readonly Sk: "SK";
1859
+ readonly Sl: "SL";
1860
+ readonly Sv: "SV";
1861
+ readonly Uk: "UK";
1862
+ };
1863
+ export type LanguageCode = typeof LanguageCode[keyof typeof LanguageCode];
1864
+ export declare const LanguageDirection: {
1865
+ readonly Ltr: "LTR";
1866
+ readonly Rtl: "RTL";
1867
+ };
1868
+ export type LanguageDirection = typeof LanguageDirection[keyof typeof LanguageDirection];
1509
1869
  export type LinkedVariantSummary = {
1510
- /** Available stock (stock − active reservations, zawsze ≥ 0). */
1870
+ /** Available stock (stock − active reservations, always ≥ 0). */
1511
1871
  availableStock: Scalars['Int']['output'];
1512
- /** Variant ID (w tenant DB). */
1872
+ /** Variant ID. */
1513
1873
  id: Scalars['ID']['output'];
1514
- /** Czy w tej chwili dostępny do zakupu (uwzględnia allowBackorder). */
1874
+ /** Whether currently purchasable (accounts for allowBackorder). */
1515
1875
  isAvailable: Scalars['Boolean']['output'];
1516
1876
  /** Parent product ID. */
1517
1877
  productId: Scalars['ID']['output'];
1518
- /** SKU jeśli zdefiniowany. */
1878
+ /** SKU when defined. */
1519
1879
  sku?: Maybe<Scalars['String']['output']>;
1520
- /** Variant name (e.g., "Finiszer Zewnętrzny SD"). */
1880
+ /** Variant name (e.g., "Large / Graphite"). */
1521
1881
  title: Scalars['String']['output'];
1522
- /** Czy magazyn śledzi stock dla tego wariantu. */
1882
+ /** Whether inventory is tracked for this variant. */
1523
1883
  trackQuantity: Scalars['Boolean']['output'];
1524
1884
  };
1525
1885
  export type LocaleCurrencyMapping = {
@@ -1529,13 +1889,13 @@ export type LocaleCurrencyMapping = {
1529
1889
  locale: Scalars['String']['output'];
1530
1890
  };
1531
1891
  export type Localization = {
1532
- /** Wszystkie wsparte kraje (z aktywnych shipping zones) */
1892
+ /** All supported countries (from active shipping zones) */
1533
1893
  availableCountries: Array<Country>;
1534
- /** Wszystkie wsparte języki sklepu */
1894
+ /** All supported shop languages */
1535
1895
  availableLanguages: Array<Language>;
1536
- /** Aktualny kraj klienta (z `@inContext` lub geo-detection) */
1896
+ /** The customer current country (from `@inContext` or geo-detection) */
1537
1897
  country: Country;
1538
- /** Aktualny język klienta (z `Accept-Language` lub `@inContext`) */
1898
+ /** The customer current language (from `Accept-Language` or `@inContext`) */
1539
1899
  language: Language;
1540
1900
  };
1541
1901
  export type Location = {
@@ -1596,7 +1956,13 @@ export type LocationEdge = {
1596
1956
  /** The location node */
1597
1957
  node: Location;
1598
1958
  };
1599
- export type LocationType = 'DROPSHIPPER' | 'FULFILLMENT_CENTER' | 'STORE' | 'WAREHOUSE';
1959
+ export declare const LocationType: {
1960
+ readonly Dropshipper: "DROPSHIPPER";
1961
+ readonly FulfillmentCenter: "FULFILLMENT_CENTER";
1962
+ readonly Store: "STORE";
1963
+ readonly Warehouse: "WAREHOUSE";
1964
+ };
1965
+ export type LocationType = typeof LocationType[keyof typeof LocationType];
1600
1966
  export type LoyaltyAction = {
1601
1967
  /** Whether action is enabled */
1602
1968
  isEnabled: Scalars['Boolean']['output'];
@@ -1709,7 +2075,14 @@ export type LoyaltyTier = {
1709
2075
  /** Tier type (null for custom tiers) */
1710
2076
  type?: Maybe<LoyaltyTierType>;
1711
2077
  };
1712
- export type LoyaltyTierType = 'BRONZE' | 'DIAMOND' | 'GOLD' | 'PLATINUM' | 'SILVER';
2078
+ export declare const LoyaltyTierType: {
2079
+ readonly Bronze: "BRONZE";
2080
+ readonly Diamond: "DIAMOND";
2081
+ readonly Gold: "GOLD";
2082
+ readonly Platinum: "PLATINUM";
2083
+ readonly Silver: "SILVER";
2084
+ };
2085
+ export type LoyaltyTierType = typeof LoyaltyTierType[keyof typeof LoyaltyTierType];
1713
2086
  export type LoyaltyTransaction = {
1714
2087
  /** Balance after transaction */
1715
2088
  balanceAfter: Scalars['Int']['output'];
@@ -1742,7 +2115,19 @@ export type LoyaltyTransactionEdge = {
1742
2115
  /** The transaction */
1743
2116
  node: LoyaltyTransaction;
1744
2117
  };
1745
- export type LoyaltyTransactionType = 'ADJUST' | 'EARN_BIRTHDAY' | 'EARN_BONUS' | 'EARN_PURCHASE' | 'EARN_REFERRAL' | 'EARN_REVIEW' | 'EARN_SIGNUP' | 'EXPIRE' | 'REDEEM' | 'REFUND_REVERSAL';
2118
+ export declare const LoyaltyTransactionType: {
2119
+ readonly Adjust: "ADJUST";
2120
+ readonly EarnBirthday: "EARN_BIRTHDAY";
2121
+ readonly EarnBonus: "EARN_BONUS";
2122
+ readonly EarnPurchase: "EARN_PURCHASE";
2123
+ readonly EarnReferral: "EARN_REFERRAL";
2124
+ readonly EarnReview: "EARN_REVIEW";
2125
+ readonly EarnSignup: "EARN_SIGNUP";
2126
+ readonly Expire: "EXPIRE";
2127
+ readonly Redeem: "REDEEM";
2128
+ readonly RefundReversal: "REFUND_REVERSAL";
2129
+ };
2130
+ export type LoyaltyTransactionType = typeof LoyaltyTransactionType[keyof typeof LoyaltyTransactionType];
1746
2131
  export type MailingAddress = Node & {
1747
2132
  /** City / town. */
1748
2133
  city?: Maybe<Scalars['String']['output']>;
@@ -1801,7 +2186,12 @@ export type MailingAddressEdge = {
1801
2186
  /** MailingAddress node */
1802
2187
  node: MailingAddress;
1803
2188
  };
1804
- export type MarketingOptInLevel = 'CONFIRMED_OPT_IN' | 'SINGLE_OPT_IN' | 'UNKNOWN';
2189
+ export declare const MarketingOptInLevel: {
2190
+ readonly ConfirmedOptIn: "CONFIRMED_OPT_IN";
2191
+ readonly SingleOptIn: "SINGLE_OPT_IN";
2192
+ readonly Unknown: "UNKNOWN";
2193
+ };
2194
+ export type MarketingOptInLevel = typeof MarketingOptInLevel[keyof typeof MarketingOptInLevel];
1805
2195
  export type Menu = {
1806
2196
  /** URL handle (e.g., main-menu, footer) */
1807
2197
  handle: Scalars['String']['output'];
@@ -1831,7 +2221,19 @@ export type MenuItem = {
1831
2221
  url?: Maybe<Scalars['URL']['output']>;
1832
2222
  };
1833
2223
  export type MenuItemResource = Brand | Category | Collection | Product | ShopPage;
1834
- export type MenuItemType = 'BLOG' | 'BRAND' | 'CATALOG' | 'CATEGORY' | 'COLLECTION' | 'FRONTPAGE' | 'HTTP' | 'PAGE' | 'PRODUCT' | 'SEARCH';
2224
+ export declare const MenuItemType: {
2225
+ readonly Blog: "BLOG";
2226
+ readonly Brand: "BRAND";
2227
+ readonly Catalog: "CATALOG";
2228
+ readonly Category: "CATEGORY";
2229
+ readonly Collection: "COLLECTION";
2230
+ readonly Frontpage: "FRONTPAGE";
2231
+ readonly Http: "HTTP";
2232
+ readonly Page: "PAGE";
2233
+ readonly Product: "PRODUCT";
2234
+ readonly Search: "SEARCH";
2235
+ };
2236
+ export type MenuItemType = typeof MenuItemType[keyof typeof MenuItemType];
1835
2237
  export type Money = {
1836
2238
  /** Amount as a decimal string in major currency units (e.g. "12.99"). String, not float — preserves precision across locales. */
1837
2239
  amount: Scalars['Decimal']['output'];
@@ -1843,7 +2245,7 @@ export type Mutation = {
1843
2245
  cartAddLines: CartAddLinesPayload;
1844
2246
  /** Apply a gift card to the cart by full code. The card is debited at `cartComplete`. Rate-limited to 5 requests per minute per IP+shop (gift card codes form a finite enumerable space). */
1845
2247
  cartApplyGiftCard: CartApplyGiftCardPayload;
1846
- /** Clear all payment selection state on the cart in a single atomic operation. Use for accordion "back to method picker" flows w storefront UI. Idempotent — calling twice yields the same end state. Cart MUSI być `ACTIVE` (CONVERTED carts reject z `ALREADY_COMPLETED`). */
2248
+ /** Clear all payment selection state on the cart in a single atomic operation. Use for accordion "back to method picker" flows in the storefront UI. Idempotent — calling twice yields the same end state. The cart must be `ACTIVE` (CONVERTED carts reject with `ALREADY_COMPLETED`). */
1847
2249
  cartClearPaymentSelection: CartClearPaymentSelectionPayload;
1848
2250
  /** Finalise the cart into an `Order`. The cart is locked and no longer accepts mutations. Payment is initiated separately via `paymentCreate` — check `order.canCreatePayment` to decide whether to render a "Pay now" button or send the buyer directly to the confirmation page (for offline methods such as cash on delivery). Rate-limited to 5 requests per minute per IP+shop; pass an `idempotencyKey` to guard against duplicate orders on retry. */
1849
2251
  cartComplete: CartCompletePayload;
@@ -1855,7 +2257,7 @@ export type Mutation = {
1855
2257
  cartRemoveGiftCard: CartRemoveGiftCardPayload;
1856
2258
  /** Remove one or more lines from the cart by `CartLine.id`. Equivalent to `cartUpdateLines` with `quantity: 0` but lets the storefront express the intent explicitly. */
1857
2259
  cartRemoveLines: CartRemoveLinesPayload;
1858
- /** Select a payment method on the cart by category (BLIK, CARD, BANK_TRANSFER, ...). Backend resolves the preferred provider from `MerchantPaymentConfig` at `paymentCreate` time. Optional `preferredProviderCode` overrides the merchant priority when the buyer explicitly picks a gateway from `PaymentMethod.providersAvailable`. Optional `preferredInstrumentCode` enables instrument-level deep-link na gateway hosted page (BLIK ekran, mBank flow, etc.) — wymaga `preferredProviderCode`. */
2260
+ /** Select a payment method on the cart by category (BLIK, CARD, BANK_TRANSFER, ...). Backend resolves the preferred provider from `MerchantPaymentConfig` at `paymentCreate` time. Optional `preferredProvider` overrides the merchant priority when the buyer explicitly picks a gateway from `PaymentMethod.providersAvailable`. Optional `preferredInstrument` enables instrument-level deep-link na gateway hosted page (BLIK ekran, mBank flow, etc.) — wymaga `preferredProvider`. */
1859
2261
  cartSelectPaymentMethod: CartSelectPaymentMethodPayload;
1860
2262
  /** Select a shipping method on the cart. Validates the method against the cart contents and the shipping address (must be eligible for the destination, and a pickup point must be set when the method delivers to a locker / collection point). Updates `cost.totalShipping` and the grand total. */
1861
2263
  cartSelectShippingMethod: CartSelectShippingMethodPayload;
@@ -1953,7 +2355,7 @@ export type Order = Node & {
1953
2355
  lineItems: OrderLineItemConnection;
1954
2356
  /** Human-readable order number shown to the buyer and the merchant (e.g. "1042"). Distinct from `id`. */
1955
2357
  orderNumber: Scalars['String']['output'];
1956
- /** Category of the payment method on the order (CARD, BLIK, BANK_TRANSFER, CASH_ON_DELIVERY, OTHER). Use to drive iconography and copy on the confirmation page (e.g. show the card icon for CARD, the BLIK logo for BLIK). */
2358
+ /** Category of the payment method on the order (CARD, BLIK, BANK_TRANSFER, INSTALLMENT, WALLET, CASH_ON_DELIVERY, OTHER). Use to drive iconography and copy on the confirmation page (e.g. show the card icon for CARD, the BLIK logo for BLIK, the wallet icon for WALLET — Apple Pay / Google Pay). */
1957
2359
  paymentMethodType: PaymentMethodType;
1958
2360
  /** Payment progress (UNPAID, PENDING, AUTHORIZED, PAID, PARTIALLY_PAID, PARTIALLY_REFUNDED, REFUNDED, FAILED, CHARGEBACK, VOIDED, REFUND_PENDING). */
1959
2361
  paymentStatus: OrderPaymentStatus;
@@ -1984,23 +2386,33 @@ export type OrderEdge = {
1984
2386
  /** Order node */
1985
2387
  node: Order;
1986
2388
  };
1987
- export type OrderFulfillmentStatus = 'DELIVERED' | 'FULFILLED' | 'IN_TRANSIT' | 'LOST' | 'PARTIALLY_FULFILLED' | 'PARTIALLY_RETURNED' | 'RETURNED' | 'UNFULFILLED';
2389
+ export declare const OrderFulfillmentStatus: {
2390
+ readonly Delivered: "DELIVERED";
2391
+ readonly Fulfilled: "FULFILLED";
2392
+ readonly InTransit: "IN_TRANSIT";
2393
+ readonly Lost: "LOST";
2394
+ readonly PartiallyFulfilled: "PARTIALLY_FULFILLED";
2395
+ readonly PartiallyReturned: "PARTIALLY_RETURNED";
2396
+ readonly Returned: "RETURNED";
2397
+ readonly Unfulfilled: "UNFULFILLED";
2398
+ };
2399
+ export type OrderFulfillmentStatus = typeof OrderFulfillmentStatus[keyof typeof OrderFulfillmentStatus];
1988
2400
  export type OrderLineItem = {
1989
2401
  /** Unique identifier */
1990
2402
  id: Scalars['ID']['output'];
1991
- /** Całkowita cena linii z momentu zakupu (unitPrice × quantity, minor units) */
2403
+ /** Line total captured at purchase time (unitPrice × quantity, minor units) */
1992
2404
  originalTotalPrice: Money;
1993
- /** Cena jednostkowa z momentu zakupu (minor units, include BUNDLED surcharges) */
2405
+ /** Unit price captured at purchase time (minor units, includes BUNDLED surcharges) */
1994
2406
  originalUnitPrice: Money;
1995
- /** Ilość zamówiona (snapshot z checkout) */
2407
+ /** Quantity ordered (snapshot from checkout) */
1996
2408
  quantity: Scalars['Int']['output'];
1997
- /** Ilość już zrealizowana (shipped — per-item fulfillment tracking) */
2409
+ /** Quantity already fulfilled (shipped — per-item fulfillment tracking) */
1998
2410
  quantityFulfilled: Scalars['Int']['output'];
1999
- /** Ilość pozostała do zwrotu/refund (quantity - returnedQuantity, clamp ≥ 0). Industry-standard semantyka dla refund tracking. */
2411
+ /** Quantity still eligible for return/refund (quantity returnedQuantity, clamped ≥ 0). Industry-standard semantics for refund tracking. */
2000
2412
  refundableQuantity: Scalars['Int']['output'];
2001
- /** Nazwa produktu z momentu zakupu (snapshot). NIE live `Product.name` — preserved nawet po edycji produktu (KSeF/invoice compliance). */
2413
+ /** Product name captured at purchase time (snapshot). Not the live `Product.name` — preserved even after the product is edited (invoice compliance). */
2002
2414
  title: Scalars['String']['output'];
2003
- /** Live wariant produktu (fresh image/price). Null jeśli wariant został usunięty po zakupieconsumer powinien użyć `title` jako fallback. */
2415
+ /** Live product variant (fresh image/price). Null when the variant was deleted after purchase consumers should fall back to `title`. */
2004
2416
  variant?: Maybe<ProductVariant>;
2005
2417
  };
2006
2418
  export type OrderLineItemConnection = {
@@ -2010,7 +2422,7 @@ export type OrderLineItemConnection = {
2010
2422
  nodes: Array<OrderLineItem>;
2011
2423
  /** Pagination info */
2012
2424
  pageInfo: PageInfo;
2013
- /** Total count of line items in the order (convention parity z OrderConnection/MailingAddressConnection) */
2425
+ /** Total count of line items in the order (convention parity with OrderConnection/MailingAddressConnection) */
2014
2426
  totalCount: Scalars['Int']['output'];
2015
2427
  };
2016
2428
  export type OrderLineItemEdge = {
@@ -2019,7 +2431,20 @@ export type OrderLineItemEdge = {
2019
2431
  /** Order line item node */
2020
2432
  node: OrderLineItem;
2021
2433
  };
2022
- export type OrderPaymentStatus = 'AUTHORIZED' | 'CHARGEBACK' | 'FAILED' | 'PAID' | 'PARTIALLY_PAID' | 'PARTIALLY_REFUNDED' | 'PENDING' | 'REFUNDED' | 'REFUND_PENDING' | 'UNPAID' | 'VOIDED';
2434
+ export declare const OrderPaymentStatus: {
2435
+ readonly Authorized: "AUTHORIZED";
2436
+ readonly Chargeback: "CHARGEBACK";
2437
+ readonly Failed: "FAILED";
2438
+ readonly Paid: "PAID";
2439
+ readonly PartiallyPaid: "PARTIALLY_PAID";
2440
+ readonly PartiallyRefunded: "PARTIALLY_REFUNDED";
2441
+ readonly Pending: "PENDING";
2442
+ readonly Refunded: "REFUNDED";
2443
+ readonly RefundPending: "REFUND_PENDING";
2444
+ readonly Unpaid: "UNPAID";
2445
+ readonly Voided: "VOIDED";
2446
+ };
2447
+ export type OrderPaymentStatus = typeof OrderPaymentStatus[keyof typeof OrderPaymentStatus];
2023
2448
  export type OrderTotals = {
2024
2449
  /** Order subtotal — items only, before tax, shipping and discounts. */
2025
2450
  subtotal: Money;
@@ -2053,60 +2478,105 @@ export type PaymentCreatePayload = {
2053
2478
  payment?: Maybe<PaymentSession>;
2054
2479
  /** Business / validation errors carrying a stable `PaymentErrorCode` in `code` (e.g. `ORDER_NOT_FOUND`, `ORDER_ALREADY_PAID`, `ORDER_NOT_PAYABLE`, `PAYMENT_PROVIDER_NOT_CONFIGURED`, `RETURN_URL_INVALID`, `PAYMENT_FAILED`, `INSTRUMENT_PRESELECTION_FAILED`). */
2055
2480
  userErrors: Array<UserError>;
2056
- /** Non-blocking signals — backend state change context (e.g. instrument auto-cleared, server-side adjustment). Default empty array. Storefront branches per `code` for UI retry hints / analytics events. Added by payment-instrument-preselection-advanced Adv-1 Req 2.3. */
2481
+ /** Non-blocking signals — backend state change context (e.g. instrument auto-cleared, server-side adjustment). Default empty array. Storefront branches per `code` for UI retry hints / analytics events. */
2057
2482
  warnings: Array<PaymentWarning>;
2058
2483
  };
2059
- export type PaymentInitiationFlow = 'INSTANT_DIRECT' | 'OFFLINE_MANUAL' | 'ONLINE_EMBEDDED' | 'ONLINE_REDIRECT';
2484
+ export declare const PaymentInitiationFlow: {
2485
+ readonly InstantDirect: "INSTANT_DIRECT";
2486
+ readonly OfflineManual: "OFFLINE_MANUAL";
2487
+ readonly OnlineEmbedded: "ONLINE_EMBEDDED";
2488
+ readonly OnlineRedirect: "ONLINE_REDIRECT";
2489
+ };
2490
+ export type PaymentInitiationFlow = typeof PaymentInitiationFlow[keyof typeof PaymentInitiationFlow];
2491
+ export type PaymentInstrument = {
2492
+ /** Optional brand image (bank logo, wallet icon). Use as tile artwork via `brandImage { url(transform: { maxWidth: 64 }) altText }`. Null when the gateway does not expose one or the instrument has no brand visual (BLIK code). */
2493
+ brandImage?: Maybe<Image>;
2494
+ /** Gateway-specific instrument identifier (PayU: `"blik"`/`"mb"`/`"c"`, P24: numeric ID string `"154"`). Pass as `preferredInstrument` in `cartSelectPaymentMethod`. Stable per provider — the gateway does not renumber. */
2495
+ code: Scalars['String']['output'];
2496
+ /** UX rendering hint — how the storefront should render this instrument (prominent button vs branded tile vs dropdown vs radio). Backend-agnostic mapping to visual treatment. */
2497
+ displayHint: PaymentInstrumentDisplayHint;
2498
+ /** Buyer-facing display name (e.g. "BLIK", "mBank", "ING Bank Śląski", "Apple Pay"). */
2499
+ displayName: Scalars['String']['output'];
2500
+ /** True when the instrument is currently enabled in the gateway live capabilities. The storefront can gray-out the tile when false instead of hiding it (observability for the merchant). */
2501
+ enabled: Scalars['Boolean']['output'];
2502
+ /** Provider that handles this instrument (UPPERCASE enum). Required for cross-provider dedupe (e.g. a BLIK code offered by both PayU and P24 — distinct instruments despite the same method type). */
2503
+ provider: PaymentProvider;
2504
+ /** Semantic type classifying the instrument within the method (BLIK code vs bank vs wallet vs card brand). Storefront-facing dispatch for per-instrument UI components. */
2505
+ type: PaymentInstrumentType;
2506
+ };
2507
+ export declare const PaymentInstrumentDisplayHint: {
2508
+ readonly BrandedTile: "BRANDED_TILE";
2509
+ readonly DropdownOption: "DROPDOWN_OPTION";
2510
+ readonly ProminentButton: "PROMINENT_BUTTON";
2511
+ readonly RadioOption: "RADIO_OPTION";
2512
+ };
2513
+ export type PaymentInstrumentDisplayHint = typeof PaymentInstrumentDisplayHint[keyof typeof PaymentInstrumentDisplayHint];
2514
+ export declare const PaymentInstrumentType: {
2515
+ readonly Bank: "BANK";
2516
+ readonly BlikCode: "BLIK_CODE";
2517
+ readonly CardBrand: "CARD_BRAND";
2518
+ readonly Other: "OTHER";
2519
+ readonly Wallet: "WALLET";
2520
+ };
2521
+ export type PaymentInstrumentType = typeof PaymentInstrumentType[keyof typeof PaymentInstrumentType];
2060
2522
  export type PaymentMethod = {
2061
2523
  /** True when the buyer can actually pick this method right now. False when the resolving gateway is temporarily unavailable (incident/maintenance) or reported the method as disabled. Storefront UI should gray-out the tile when false instead of hiding it — gives merchants observability into routing failures. */
2062
2524
  available: Scalars['Boolean']['output'];
2063
2525
  /** Optional buyer-facing description shown under the name (e.g. "Pay with your bank app"). */
2064
2526
  description?: Maybe<Scalars['String']['output']>;
2065
- /** Optional icon URL configured by the merchant. Use as the method tile artwork. */
2066
- icon?: Maybe<Scalars['String']['output']>;
2527
+ /** Optional icon image configured by the merchant. Use `icon { url(transform: { maxWidth: 64 }) altText }` as the method tile artwork in the payment picker. */
2528
+ icon?: Maybe<Image>;
2067
2529
  /** Stable ID of the payment method. Pass to `cartSelectPaymentMethod` to select it. */
2068
2530
  id: Scalars['ID']['output'];
2069
- /** Concrete instruments exposed by gateway providers w obrębie tej method (BLIK code, branded banks, wallets, card brands). Null gdy żaden provider nie expose'uje granular data dla tej method. Empty array gdy gateway expose'uje ale wszystkie instruments disabled lub po post-filter (cross-provider leak prevention). Storefront może wyrenderować listę i pass `instrumentCode` jako `preferredInstrumentCode` w `cartSelectPaymentMethod` gateway deep-link na ten ekran. Added by payment-instrument-preselection core sprint Req 1. */
2070
- instruments?: Maybe<Array<PaymentMethodInstrument>>;
2531
+ /** Concrete instruments exposed by gateway providers within this method (BLIK code, branded banks, wallets, card brands). Null when no provider exposes granular data for this method. Empty array when a gateway exposes them but all instruments are disabled or removed by post-filtering (cross-provider leak prevention). Render the list and pass `code` as `preferredInstrument` in `cartSelectPaymentMethod` to deep-link the gateway to this screen. */
2532
+ instruments?: Maybe<Array<PaymentInstrument>>;
2071
2533
  /** True when the merchant has marked this method as the default. Pre-select it in the picker. */
2072
2534
  isDefault: Scalars['Boolean']['output'];
2073
2535
  /** Display name configured by the merchant (e.g. "BLIK", "Credit card", "Cash on delivery"). */
2074
2536
  name: Scalars['String']['output'];
2075
2537
  /** Merchant-configured display position — lower values come first in the picker. */
2076
2538
  position: Scalars['Float']['output'];
2077
- /** Preferred provider code (UPPERCASE enum) that the backend will route to when the buyer picks this method type and does not specify `preferredProviderCode`. Populated only when at least one provider supports the type. Typed enum since core sprint payment-instrument-preselection (was `String` pre-v9.0). */
2078
- preferredProvider?: Maybe<ProviderCode>;
2079
- /** Provider code (e.g. `PAYU`, `STRIPE`, `PRZELEWY24`, `CASH_ON_DELIVERY`). Identifies the integration behind the method; do not branch UI on it — use `type` instead. Typed enum since core sprint payment-instrument-preselection (was `String` pre-v9.0). */
2080
- provider: ProviderCode;
2081
- /** Provider codes (UPPERCASE enum: `PAYU`, `PRZELEWY24`, ...) that can fulfil this method type for the current shop, ordered by merchant priority. Pre-select `preferredProvider`; expose the rest only when the buyer wants to choose explicitly. Single-element array when only one provider supports the type. Typed enum since core sprint payment-instrument-preselection (was `[String]` pre-v9.0). */
2082
- providersAvailable?: Maybe<Array<ProviderCode>>;
2539
+ /** Preferred provider (UPPERCASE enum) that the backend will route to when the buyer picks this method type and does not specify `preferredProvider`. Populated only when at least one provider supports the type. */
2540
+ preferredProvider?: Maybe<PaymentProvider>;
2541
+ /** Provider (e.g. `PAYU`, `STRIPE`, `PRZELEWY24`, `CASH_ON_DELIVERY`). Identifies the integration behind the method; do not branch UI on it — use `type` instead. */
2542
+ provider: PaymentProvider;
2543
+ /** Providers (UPPERCASE enum: `PAYU`, `PRZELEWY24`, ...) that can fulfil this method type for the current shop, ordered by merchant priority. Pre-select `preferredProvider`; expose the rest only when the buyer wants to choose explicitly. Single-element array when only one provider supports the type. */
2544
+ providersAvailable?: Maybe<Array<PaymentProvider>>;
2083
2545
  /** ISO 4217 currency codes the method accepts. Null when the method accepts the shop currency without restriction. */
2084
2546
  supportedCurrencies?: Maybe<Array<Scalars['String']['output']>>;
2085
- /** Category of the method (CARD, BLIK, BANK_TRANSFER, CASH_ON_DELIVERY, OTHER). Drives iconography and copy. */
2547
+ /** Category of the method (CARD, BLIK, BANK_TRANSFER, INSTALLMENT, WALLET, CASH_ON_DELIVERY, OTHER). Drives iconography and copy. */
2086
2548
  type: PaymentMethodType;
2087
2549
  /** When `available` is false, this enum carries the diagnostic reason (GATEWAY_DOWN, GATEWAY_DISABLED, NO_INSTRUMENTS, CREDENTIALS_INVALID). Null when `available` is true. UI can render context-aware copy ("PayU is temporarily down" vs "Method not configured"). */
2088
2550
  unavailableReason?: Maybe<PaymentMethodUnavailableReason>;
2089
2551
  };
2090
- export type PaymentMethodInstrument = {
2091
- /** Optional brand image URL (bank logo, wallet icon). Storefront może użyć jako tile artwork. Null gdy gateway nie expose'uje albo instrument nie ma brand visual (BLIK code). */
2092
- brandImageUrl?: Maybe<Scalars['String']['output']>;
2093
- /** UX rendering hint — jak storefront powinien wyrenderować ten instrument (prominent button vs branded tile vs dropdown vs radio). Backend-agnostic mapping na visual treatment. */
2094
- displayHint: PaymentMethodInstrumentDisplayHint;
2095
- /** Buyer-facing display name (e.g. "BLIK", "mBank", "ING Bank Śląski", "Apple Pay"). Lokalizacja zazwyczaj PL/EN — multi-language defer post-v1. */
2096
- displayName: Scalars['String']['output'];
2097
- /** True gdy instrument jest currently enabled w gateway live capabilities. Storefront może gray-out tile gdy false zamiast hide (observability dla merchant). */
2098
- enabled: Scalars['Boolean']['output'];
2099
- /** Gateway-specific instrument identifier (PayU: `"blik"`/`"mb"`/`"c"`, P24: numeric ID string `"154"`). Pass jako `preferredInstrumentCode` w `cartSelectPaymentMethod`. Stabilne per provider — gateway nie renumeruje. */
2100
- instrumentCode: Scalars['String']['output'];
2101
- /** Provider obsługujący ten instrument (UPPERCASE enum). Wymagane dla cross-provider dedupe (np. BLIK code dostępny zarówno przez PayU jak P24 — różne instrumenty mimo tej samej method type). */
2102
- providerCode: ProviderCode;
2103
- /** Semantic type klasyfikujący instrument w obrębie method (BLIK code vs bank vs wallet vs card brand). Storefront-facing dispatch dla per-instrument UI components. */
2104
- type: PaymentMethodInstrumentType;
2105
- };
2106
- export type PaymentMethodInstrumentDisplayHint = 'BRANDED_TILE' | 'DROPDOWN_OPTION' | 'PROMINENT_BUTTON' | 'RADIO_OPTION';
2107
- export type PaymentMethodInstrumentType = 'BANK' | 'BLIK_CODE' | 'CARD_BRAND' | 'OTHER' | 'WALLET';
2108
- export type PaymentMethodType = 'BANK_TRANSFER' | 'BLIK' | 'CARD' | 'CASH_ON_DELIVERY' | 'OTHER';
2109
- export type PaymentMethodUnavailableReason = 'CREDENTIALS_INVALID' | 'GATEWAY_DISABLED' | 'GATEWAY_DOWN' | 'NO_INSTRUMENTS';
2552
+ export declare const PaymentMethodType: {
2553
+ readonly BankTransfer: "BANK_TRANSFER";
2554
+ readonly Blik: "BLIK";
2555
+ readonly Card: "CARD";
2556
+ readonly CashOnDelivery: "CASH_ON_DELIVERY";
2557
+ readonly Installment: "INSTALLMENT";
2558
+ readonly Other: "OTHER";
2559
+ readonly Wallet: "WALLET";
2560
+ };
2561
+ export type PaymentMethodType = typeof PaymentMethodType[keyof typeof PaymentMethodType];
2562
+ export declare const PaymentMethodUnavailableReason: {
2563
+ readonly CredentialsInvalid: "CREDENTIALS_INVALID";
2564
+ readonly GatewayDisabled: "GATEWAY_DISABLED";
2565
+ readonly GatewayDown: "GATEWAY_DOWN";
2566
+ readonly NoInstruments: "NO_INSTRUMENTS";
2567
+ };
2568
+ export type PaymentMethodUnavailableReason = typeof PaymentMethodUnavailableReason[keyof typeof PaymentMethodUnavailableReason];
2569
+ export declare const PaymentProvider: {
2570
+ readonly BankTransfer: "BANK_TRANSFER";
2571
+ readonly CashOnDelivery: "CASH_ON_DELIVERY";
2572
+ readonly GiftCard: "GIFT_CARD";
2573
+ readonly ManualPayment: "MANUAL_PAYMENT";
2574
+ readonly Payu: "PAYU";
2575
+ readonly Przelewy24: "PRZELEWY24";
2576
+ readonly Stripe: "STRIPE";
2577
+ readonly TestGateway: "TEST_GATEWAY";
2578
+ };
2579
+ export type PaymentProvider = typeof PaymentProvider[keyof typeof PaymentProvider];
2110
2580
  export type PaymentSession = {
2111
2581
  /** Client secret / token for the in-page payment widget. Populated only when `flow` is ONLINE_EMBEDDED. Treat as sensitive — do not log. */
2112
2582
  clientSecret?: Maybe<Scalars['String']['output']>;
@@ -2126,13 +2596,13 @@ export type PaymentSession = {
2126
2596
  status: OrderPaymentStatus;
2127
2597
  };
2128
2598
  export type PaymentSettings = {
2129
- /** Country code sklepu driver dostępności metod płatności */
2599
+ /** Shop country code — drives payment method availability */
2130
2600
  countryCode: CountryCode;
2131
- /** Primary currency użyty do procesowania płatności */
2601
+ /** Primary currency used to process payments */
2132
2602
  currencyCode: CurrencyCode;
2133
- /** Waluty displayable on storefront (Money.currencyCode allowlist) */
2603
+ /** Currencies displayable on the storefront (Money.currencyCode allowlist) */
2134
2604
  enabledPresentmentCurrencies: Array<CurrencyCode>;
2135
- /** Kody aktywnych payment providerów dla tego sklepu (z IntegrationProvider table, type=PAYMENT). Np. ["payu", "cash_on_delivery"]. Storefront-dev używa do warunkowania UI checkout. */
2605
+ /** Codes of the payment providers active for this shop. E.g. ["payu", "cash_on_delivery"]. Use to conditionally render the checkout UI. */
2136
2606
  paymentProviders: Array<Scalars['String']['output']>;
2137
2607
  };
2138
2608
  export type PaymentWarning = {
@@ -2143,7 +2613,10 @@ export type PaymentWarning = {
2143
2613
  /** Optional additional hint string for UI dispatch — currently unused for `INSTRUMENT_CLEARED_FOR_RETRY` (semantic encoded in `message`). Reserved for future warning codes (e.g. `SLOW_GATEWAY_RESPONSE` → "Retry in 30s"). */
2144
2614
  retryHint?: Maybe<Scalars['String']['output']>;
2145
2615
  };
2146
- export type PaymentWarningCode = 'INSTRUMENT_CLEARED_FOR_RETRY';
2616
+ export declare const PaymentWarningCode: {
2617
+ readonly InstrumentClearedForRetry: "INSTRUMENT_CLEARED_FOR_RETRY";
2618
+ };
2619
+ export type PaymentWarningCode = typeof PaymentWarningCode[keyof typeof PaymentWarningCode];
2147
2620
  export type PickupPoint = {
2148
2621
  /** Point address as a single human-readable line — show alongside the name on the confirmation page. */
2149
2622
  address?: Maybe<Scalars['String']['output']>;
@@ -2221,11 +2694,11 @@ export type Product = Node & {
2221
2694
  attributes: Array<ProductAttributeDefinition>;
2222
2695
  /** Average rating (1-5) */
2223
2696
  averageRating?: Maybe<Scalars['Float']['output']>;
2224
- /** Canonical brand entity (Faza 3, 2026-05-17). Resolved via DataLoader (N+1 safe dla list queries). Null gdy product nie ma przypisanego brand_id. */
2697
+ /** Canonical brand entity. Resolved via DataLoader (N+1 safe for list queries). Null when the product has no assigned brand. */
2225
2698
  brand?: Maybe<Brand>;
2226
- /** Wszystkie kategorie do których produkt należy (M2M przez ProductCategory junction). Posortowane po junction.sortOrder ASC. Empty list gdy produkt nie jest w żadnej kategorii. */
2699
+ /** All categories the product belongs to (M2M via the ProductCategory junction). Sorted by junction.sortOrder ASC. Empty list when the product is in no category. */
2227
2700
  categories: Array<Category>;
2228
- /** Compare-at price range (Money pair). Null gdy żaden variant nie ma compareAtPrice. */
2701
+ /** Compare-at price range (Money pair). Null when no variant has a compareAtPrice. */
2229
2702
  compareAtPriceRange?: Maybe<ProductPriceRange>;
2230
2703
  /** Opt-in: compare-at price range with conversion transparency. */
2231
2704
  compareAtPriceRangeWithConversion?: Maybe<ConvertedPriceRange>;
@@ -2251,9 +2724,9 @@ export type Product = Node & {
2251
2724
  options: Array<ProductOption>;
2252
2725
  /** Price range (Money pair). Default field — industry-standard schema. */
2253
2726
  priceRange: ProductPriceRange;
2254
- /** Opt-in: price range with full conversion transparency (exchangeRate, baseCurrency, isConverted). Use dla currency-converter UI gdy customer ma preferred currency inną niż shop base. */
2727
+ /** Opt-in: price range with full conversion transparency (exchangeRate, baseCurrency, isConverted). Use for a currency-converter UI when the customer has a preferred currency different from the shop base. */
2255
2728
  priceRangeWithConversion?: Maybe<ConvertedPriceRange>;
2256
- /** Domyślna kategoria dla breadcrumb/nav (= categories[0] po sortOrder). Null gdy produkt nie jest w żadnej kategorii. */
2729
+ /** Default category for breadcrumb/nav (= categories[0] by sortOrder). Null when the product is in no category. */
2257
2730
  primaryCategory?: Maybe<Category>;
2258
2731
  /** Similar products recommendations */
2259
2732
  recommendations?: Maybe<ProductRecommendations>;
@@ -2273,9 +2746,9 @@ export type Product = Node & {
2273
2746
  updatedAt: Scalars['DateTime']['output'];
2274
2747
  /** Product variants (Relay Connection) */
2275
2748
  variants: ProductVariantConnection;
2276
- /** Legacy vendor/brand name (free-text). Preferred: `brand` field (canonical Brand entity, Faza 3). */
2749
+ /** Legacy vendor/brand name (free-text). Preferred: `brand` field (canonical Brand entity). */
2277
2750
  vendor?: Maybe<Scalars['String']['output']>;
2278
- /** Catalog visibility (Faza 1.5) — PUBLIC | HIDDEN | BUNDLE_ONLY */
2751
+ /** Catalog visibility — PUBLIC | HIDDEN | BUNDLE_ONLY */
2279
2752
  visibility: ProductVisibility;
2280
2753
  };
2281
2754
  export type ProductAttributeDefinition = {
@@ -2319,15 +2792,15 @@ export type ProductAttributeOption = {
2319
2792
  isDefault: Scalars['Boolean']['output'];
2320
2793
  /** Display label shown to customer */
2321
2794
  label: Scalars['String']['output'];
2322
- /** Summary powiązanego ProductVariant (Faza 1.5). Null gdy option nie ma linkedVariantId albo wariant został usunięty. */
2795
+ /** Summary of the linked ProductVariant. Null when the option has no linkedVariantId or the variant was deleted. */
2323
2796
  linkedVariant?: Maybe<LinkedVariantSummary>;
2324
- /** Linked ProductVariant ID for component stock decrement (Faza 1.5 — Hidden Products pattern) */
2797
+ /** Linked ProductVariant ID for component stock decrement (hidden-products pattern). */
2325
2798
  linkedVariantId?: Maybe<Scalars['ID']['output']>;
2326
2799
  /** Sort order */
2327
2800
  sortOrder: Scalars['Int']['output'];
2328
- /** Surcharge amount when selected (FIXED = grosze; PERCENT = thousandths of percent — Faza 2) */
2801
+ /** Surcharge amount when selected (FIXED = minor currency units; PERCENT = thousandths of percent). */
2329
2802
  surchargeAmount?: Maybe<Scalars['Int']['output']>;
2330
- /** Surcharge type — FIXED | PERCENT (Faza 2) */
2803
+ /** Surcharge type — FIXED | PERCENT. */
2331
2804
  surchargeType?: Maybe<AttributeOptionSurchargeType>;
2332
2805
  /** Internal value (slug-style) */
2333
2806
  value: Scalars['String']['output'];
@@ -2361,7 +2834,12 @@ export type ProductOption = {
2361
2834
  /** Available values, ordered by sortOrder */
2362
2835
  values: Array<ProductOptionValue>;
2363
2836
  };
2364
- export type ProductOptionInputType = 'COLOR_SWATCH' | 'SELECT' | 'TEXT';
2837
+ export declare const ProductOptionInputType: {
2838
+ readonly ColorSwatch: "COLOR_SWATCH";
2839
+ readonly Select: "SELECT";
2840
+ readonly Text: "TEXT";
2841
+ };
2842
+ export type ProductOptionInputType = typeof ProductOptionInputType[keyof typeof ProductOptionInputType];
2365
2843
  export type ProductOptionValue = {
2366
2844
  /** Hex colour for COLOR_SWATCH rendering (e.g. "#FF0000"). Null for other types. */
2367
2845
  colorHex?: Maybe<Scalars['String']['output']>;
@@ -2405,8 +2883,8 @@ export type ProductReview = {
2405
2883
  /** Helpful votes count (upvotes) */
2406
2884
  helpfulCount: Scalars['Int']['output'];
2407
2885
  id: Scalars['ID']['output'];
2408
- /** Review images */
2409
- images: Array<Scalars['String']['output']>;
2886
+ /** Review image attachments uploaded by the reviewer. Use `images { url(transform: { maxWidth: 600 }) altText }` for responsive gallery rendering in the review card. */
2887
+ images: Array<Image>;
2410
2888
  /** Is verified purchase */
2411
2889
  isVerifiedPurchase: Scalars['Boolean']['output'];
2412
2890
  productId: Scalars['ID']['output'];
@@ -2432,7 +2910,14 @@ export type ProductReviewEdge = {
2432
2910
  cursor: Scalars['String']['output'];
2433
2911
  node: ProductReview;
2434
2912
  };
2435
- export type ProductTypeEnum = 'DIGITAL' | 'GIFT_CARD' | 'PHYSICAL' | 'SERVICE' | 'SUBSCRIPTION';
2913
+ export declare const ProductTypeEnum: {
2914
+ readonly Digital: "DIGITAL";
2915
+ readonly GiftCard: "GIFT_CARD";
2916
+ readonly Physical: "PHYSICAL";
2917
+ readonly Service: "SERVICE";
2918
+ readonly Subscription: "SUBSCRIPTION";
2919
+ };
2920
+ export type ProductTypeEnum = typeof ProductTypeEnum[keyof typeof ProductTypeEnum];
2436
2921
  export type ProductVariant = {
2437
2922
  /** Variant custom field values (post-Opcja A unified custom fields). */
2438
2923
  attributes: Array<EntityAttributeField>;
@@ -2460,7 +2945,7 @@ export type ProductVariant = {
2460
2945
  sku?: Maybe<Scalars['String']['output']>;
2461
2946
  /** Display position of this variant within the parent product list. Lower values come first. */
2462
2947
  sortOrder?: Maybe<Scalars['Int']['output']>;
2463
- /** Per-location stock availability. Null for single-location shops. Resolved by StoreAvailabilityResolver with `near`, `locationType`, and `@inContext(preferredLocationId)` support. */
2948
+ /** Per-location stock availability. Null for single-location shops. Resolved per-location with `near`, `locationType`, and `@inContext(preferredLocationId)` support. */
2464
2949
  storeAvailability?: Maybe<StoreAvailabilityConnection>;
2465
2950
  /** Display title of the variant (e.g. "Large / Red"). Composed from the variant options. */
2466
2951
  title: Scalars['String']['output'];
@@ -2483,12 +2968,16 @@ export type ProductVariantEdge = {
2483
2968
  /** Variant node */
2484
2969
  node: ProductVariant;
2485
2970
  };
2486
- export type ProductVisibility = 'BUNDLE_ONLY' | 'HIDDEN' | 'PUBLIC';
2487
- export type ProviderCode = 'BANK_TRANSFER' | 'CASH_ON_DELIVERY' | 'GIFT_CARD' | 'MANUAL_PAYMENT' | 'PAYU' | 'PRZELEWY24' | 'STRIPE' | 'TEST_GATEWAY';
2971
+ export declare const ProductVisibility: {
2972
+ readonly BundleOnly: "BUNDLE_ONLY";
2973
+ readonly Hidden: "HIDDEN";
2974
+ readonly Public: "PUBLIC";
2975
+ };
2976
+ export type ProductVisibility = typeof ProductVisibility[keyof typeof ProductVisibility];
2488
2977
  export type Query = {
2489
2978
  /** List of all currencies supported by the system (ECB rates) */
2490
2979
  allSupportedCurrencies: Array<Currency>;
2491
- /** Paginated + searchable attribute options dla drill-into filter UI (np. dropdown z 800 licencjami + search input). Honors product context z exclude-self per attribute. Sort: COUNT_DESC default (most popular first), LABEL_ASC dla alfabetycznego z polskim collation. */
2980
+ /** Paginated + searchable attribute options for a drill-into filter UI (e.g. a dropdown of 800 licenses + search input). Honors product context with exclude-self per attribute. Sort: COUNT_DESC default (most popular first), LABEL_ASC for alphabetical (Polish collation). */
2492
2981
  attributeOptionsSearch: AttributeFilterValueConnection;
2493
2982
  /** Payment methods active for the current shop, plus the merchant default. Returns one row per `PaymentMethodType` (BLIK, CARD, BANK_TRANSFER, ...) with `providersAvailable` (provider codes sorted by merchant priority) and `preferredProvider` (the head of the list). Shop-level — independent of cart contents. */
2494
2983
  availablePaymentMethods: AvailablePaymentMethods;
@@ -2510,7 +2999,7 @@ export type Query = {
2510
2999
  cart?: Maybe<Cart>;
2511
3000
  /** Preview whether a discount code is currently applicable to a cart — read-only, no cart side effects. Use for inline feedback while the buyer types a code, before calling `cartDiscountCodesUpdate`. Result depends on the cart subtotal (minimum-order rules) so do not cache aggressively: prefer `fetchPolicy: "network-only"` or include `cart.subtotal` in the cache key. */
2512
3001
  cartValidateDiscountCode: DiscountValidationResult;
2513
- /** Lista kategorii (Relay Connection) z opcjonalnym filtrem rootsOnly/parentId */
3002
+ /** List of categories (Relay Connection) with optional rootsOnly/parentId filtering */
2514
3003
  categories: CategoryConnection;
2515
3004
  /** Get category by ID or slug */
2516
3005
  category?: Maybe<Category>;
@@ -2540,9 +3029,9 @@ export type Query = {
2540
3029
  giftCardValidate: GiftCardValidatePayload;
2541
3030
  /** Get available languages for this shop */
2542
3031
  languages: Array<Language>;
2543
- /** Localization context (kraje, języki, aktualny kraj/język klienta) */
3032
+ /** Localization context (countries, languages, the customer current country/language) */
2544
3033
  localization: Localization;
2545
- /** Fetch a single active location by ID. Returns null when missing, inactive, or owned by another shop (tenant isolation via StorefrontShopGuard). */
3034
+ /** Fetch a single active location by ID. Returns null when missing, inactive, or owned by another shop (tenant isolation enforced server-side). */
2546
3035
  location?: Maybe<Location>;
2547
3036
  /** Paginated locations for the current shop. Supports proximity (`near`), pickup-only filter (`hasPickupEnabled`), and `locationType` filter. */
2548
3037
  locations: LocationConnection;
@@ -2560,7 +3049,7 @@ export type Query = {
2560
3049
  menu?: Maybe<Menu>;
2561
3050
  /** Universal ID-based lookup (Relay Node spec) */
2562
3051
  node?: Maybe<Node>;
2563
- /** Batch ID-based lookup; same NodeType dla all IDs. Missing/wrong IDs → null entries (preserved length). */
3052
+ /** Batch ID-based lookup; same NodeType for all IDs. Missing/wrong IDs → null entries (preserved length). */
2564
3053
  nodes: Array<Maybe<Node>>;
2565
3054
  /** Fetch a single order by its opaque access token (guest order access without a session). Optional `email` argument enables defense-in-depth: if provided, must match the order buyer email (case-insensitive); on mismatch the query returns null exactly like an invalid token. Rate-limited to 5 requests per minute per IP+shop. Response carries Cache-Control: no-store. */
2566
3055
  orderByToken?: Maybe<Order>;
@@ -2611,7 +3100,16 @@ export type Query = {
2611
3100
  /** Get customer wishlists (requires customer auth) */
2612
3101
  wishlists: WishlistConnection;
2613
3102
  };
2614
- export type RecommendationType = 'CROSS_SELL' | 'FREQUENTLY_BOUGHT_TOGETHER' | 'PERSONALIZED' | 'RECENTLY_VIEWED' | 'SIMILAR' | 'TRENDING' | 'UPSELL';
3103
+ export declare const RecommendationType: {
3104
+ readonly CrossSell: "CROSS_SELL";
3105
+ readonly FrequentlyBoughtTogether: "FREQUENTLY_BOUGHT_TOGETHER";
3106
+ readonly Personalized: "PERSONALIZED";
3107
+ readonly RecentlyViewed: "RECENTLY_VIEWED";
3108
+ readonly Similar: "SIMILAR";
3109
+ readonly Trending: "TRENDING";
3110
+ readonly Upsell: "UPSELL";
3111
+ };
3112
+ export type RecommendationType = typeof RecommendationType[keyof typeof RecommendationType];
2615
3113
  export type RedeemRewardPayload = {
2616
3114
  /** Generated discount code for DISCOUNT type rewards */
2617
3115
  discountCode?: Maybe<Scalars['String']['output']>;
@@ -2709,8 +3207,8 @@ export type ReturnItem = {
2709
3207
  condition?: Maybe<Scalars['String']['output']>;
2710
3208
  /** Item ID */
2711
3209
  id: Scalars['ID']['output'];
2712
- /** Product image URL */
2713
- imageUrl?: Maybe<Scalars['String']['output']>;
3210
+ /** Product image at time of return submission. Use `image { url(transform: { maxWidth: ... }) altText }` for responsive thumbnails in the merchant return dashboard. */
3211
+ image?: Maybe<Image>;
2714
3212
  /** Evidence photos */
2715
3213
  photos?: Maybe<Array<ReturnItemPhoto>>;
2716
3214
  /** Product title */
@@ -2748,7 +3246,16 @@ export type ReturnPayload = {
2748
3246
  /** User errors */
2749
3247
  userErrors: Array<UserError>;
2750
3248
  };
2751
- export type ReturnReason = 'BETTER_PRICE' | 'CHANGED_MIND' | 'DAMAGED_SHIPPING' | 'DEFECTIVE' | 'NOT_AS_DESCRIBED' | 'OTHER' | 'WRONG_ITEM';
3249
+ export declare const ReturnReason: {
3250
+ readonly BetterPrice: "BETTER_PRICE";
3251
+ readonly ChangedMind: "CHANGED_MIND";
3252
+ readonly DamagedShipping: "DAMAGED_SHIPPING";
3253
+ readonly Defective: "DEFECTIVE";
3254
+ readonly NotAsDescribed: "NOT_AS_DESCRIBED";
3255
+ readonly Other: "OTHER";
3256
+ readonly WrongItem: "WRONG_ITEM";
3257
+ };
3258
+ export type ReturnReason = typeof ReturnReason[keyof typeof ReturnReason];
2752
3259
  export type ReturnReasonOption = {
2753
3260
  /** Description/help text */
2754
3261
  description?: Maybe<Scalars['String']['output']>;
@@ -2767,7 +3274,25 @@ export type ReturnShippingLabel = {
2767
3274
  /** URL to download the shipping label */
2768
3275
  url: Scalars['String']['output'];
2769
3276
  };
2770
- export type ReturnStatus = 'APPROVED' | 'CANCELLED' | 'COMPLETED' | 'DRAFT' | 'EXCHANGED' | 'EXPIRED' | 'FAILED' | 'INSPECTING' | 'IN_TRANSIT' | 'LABEL_GENERATED' | 'RECEIVED' | 'REFUNDED' | 'REFUND_PENDING' | 'REJECTED' | 'REPLACED' | 'REQUESTED';
3277
+ export declare const ReturnStatus: {
3278
+ readonly Approved: "APPROVED";
3279
+ readonly Cancelled: "CANCELLED";
3280
+ readonly Completed: "COMPLETED";
3281
+ readonly Draft: "DRAFT";
3282
+ readonly Exchanged: "EXCHANGED";
3283
+ readonly Expired: "EXPIRED";
3284
+ readonly Failed: "FAILED";
3285
+ readonly Inspecting: "INSPECTING";
3286
+ readonly InTransit: "IN_TRANSIT";
3287
+ readonly LabelGenerated: "LABEL_GENERATED";
3288
+ readonly Received: "RECEIVED";
3289
+ readonly Refunded: "REFUNDED";
3290
+ readonly RefundPending: "REFUND_PENDING";
3291
+ readonly Rejected: "REJECTED";
3292
+ readonly Replaced: "REPLACED";
3293
+ readonly Requested: "REQUESTED";
3294
+ };
3295
+ export type ReturnStatus = typeof ReturnStatus[keyof typeof ReturnStatus];
2771
3296
  export type ReviewPayload = {
2772
3297
  review?: Maybe<ProductReview>;
2773
3298
  /** User errors */
@@ -2862,8 +3387,8 @@ export type ShipmentEvent = {
2862
3387
  export type ShipmentItem = {
2863
3388
  /** Item ID */
2864
3389
  id: Scalars['ID']['output'];
2865
- /** Product image URL */
2866
- imageUrl?: Maybe<Scalars['String']['output']>;
3390
+ /** Live variant image with snapshot fallback. Use `image { url(transform: { maxWidth: 200, preferredContentType: WEBP }) altText }` for responsive thumbnails. Returns `null` when the variant has been deleted since fulfillment — render a placeholder client-side. */
3391
+ image?: Maybe<Image>;
2867
3392
  /** Quantity shipped */
2868
3393
  quantity: Scalars['Int']['output'];
2869
3394
  /** Product SKU */
@@ -2889,7 +3414,18 @@ export type ShipmentPayload = {
2889
3414
  /** User errors */
2890
3415
  userErrors: Array<UserError>;
2891
3416
  };
2892
- export type ShipmentStatus = 'CANCELLED' | 'CREATED' | 'DELIVERED' | 'EXCEPTION' | 'IN_TRANSIT' | 'LABEL_PRINTED' | 'OUT_FOR_DELIVERY' | 'PICKED_UP' | 'RETURNED';
3417
+ export declare const ShipmentStatus: {
3418
+ readonly Cancelled: "CANCELLED";
3419
+ readonly Created: "CREATED";
3420
+ readonly Delivered: "DELIVERED";
3421
+ readonly Exception: "EXCEPTION";
3422
+ readonly InTransit: "IN_TRANSIT";
3423
+ readonly LabelPrinted: "LABEL_PRINTED";
3424
+ readonly OutForDelivery: "OUT_FOR_DELIVERY";
3425
+ readonly PickedUp: "PICKED_UP";
3426
+ readonly Returned: "RETURNED";
3427
+ };
3428
+ export type ShipmentStatus = typeof ShipmentStatus[keyof typeof ShipmentStatus];
2893
3429
  export type ShippingAddressInput = {
2894
3430
  /** City / town. */
2895
3431
  city?: InputMaybe<Scalars['String']['input']>;
@@ -2913,8 +3449,8 @@ export type ShippingAddressInput = {
2913
3449
  export type ShippingCarrier = {
2914
3450
  /** Stable carrier identifier. Null when the method does not map to a registered carrier (e.g. local pickup configured by the merchant). */
2915
3451
  id?: Maybe<Scalars['ID']['output']>;
2916
- /** URL of the carrier logo. Use for the method tile in the shipping picker. */
2917
- logoUrl?: Maybe<Scalars['String']['output']>;
3452
+ /** Carrier logo image. Use `logo { url(transform: { maxWidth: 64 }) altText }` for the method tile in the shipping picker. */
3453
+ logo?: Maybe<Image>;
2918
3454
  /** Carrier display name (e.g. "InPost", "DPD", "DHL"). */
2919
3455
  name: Scalars['String']['output'];
2920
3456
  /** Carrier service code as configured by the merchant (e.g. "inpost_paczkomat"). Useful when integrating carrier widgets. */
@@ -2939,7 +3475,7 @@ export type Shop = {
2939
3475
  contactPhone?: Maybe<Scalars['String']['output']>;
2940
3476
  /** Default currency code (ISO 4217) */
2941
3477
  currencyCode: CurrencyCode;
2942
- /** Customer account URL (login/orders) — z primaryDomain */
3478
+ /** Customer account URL (login/orders) — derived from primaryDomain */
2943
3479
  customerAccountUrl?: Maybe<Scalars['URL']['output']>;
2944
3480
  /** Default language code (ISO 639-1) */
2945
3481
  defaultLanguage?: Maybe<LanguageCode>;
@@ -2953,7 +3489,7 @@ export type Shop = {
2953
3489
  localeToCurrencyMap: Array<LocaleCurrencyMapping>;
2954
3490
  /** Shop logo */
2955
3491
  logo?: Maybe<Image>;
2956
- /** Money display format z `{{amount}}` placeholder, np. "{{amount}} zł" */
3492
+ /** Money display format with the `{{amount}}` placeholder, e.g. "{{amount}} zł" */
2957
3493
  moneyFormat: Scalars['String']['output'];
2958
3494
  /** Shop name */
2959
3495
  name: Scalars['String']['output'];
@@ -3134,7 +3670,17 @@ export type StoreAvailabilityEdge = {
3134
3670
  /** The availability node */
3135
3671
  node: StoreAvailability;
3136
3672
  };
3137
- export type StorefrontOrderStatus = 'CANCELLED' | 'COMPLETED' | 'CONFIRMED' | 'DRAFT' | 'EXPIRED' | 'ON_HOLD' | 'PENDING' | 'PROCESSING';
3673
+ export declare const StorefrontOrderStatus: {
3674
+ readonly Cancelled: "CANCELLED";
3675
+ readonly Completed: "COMPLETED";
3676
+ readonly Confirmed: "CONFIRMED";
3677
+ readonly Draft: "DRAFT";
3678
+ readonly Expired: "EXPIRED";
3679
+ readonly OnHold: "ON_HOLD";
3680
+ readonly Pending: "PENDING";
3681
+ readonly Processing: "PROCESSING";
3682
+ };
3683
+ export type StorefrontOrderStatus = typeof StorefrontOrderStatus[keyof typeof StorefrontOrderStatus];
3138
3684
  export type SubscribeToMarketingPayload = {
3139
3685
  /** Always true (anti-enumeration). Backend may silently skip enqueue if rate-limited or already SUBSCRIBED. */
3140
3686
  accepted: Scalars['Boolean']['output'];
@@ -3144,8 +3690,8 @@ export type SubscribeToMarketingPayload = {
3144
3690
  export type TierBenefit = {
3145
3691
  /** Benefit description */
3146
3692
  description?: Maybe<Scalars['String']['output']>;
3147
- /** Benefit icon */
3148
- icon?: Maybe<Scalars['String']['output']>;
3693
+ /** Benefit icon image. Use `icon { url(transform: { maxWidth: 48 }) altText }` for small visual markers on the tier benefits list. */
3694
+ icon?: Maybe<Image>;
3149
3695
  /** Benefit name */
3150
3696
  name: Scalars['String']['output'];
3151
3697
  };
@@ -3179,7 +3725,11 @@ export type Translations = {
3179
3725
  /** Namespaces with translations */
3180
3726
  namespaces: Array<TranslationNamespace>;
3181
3727
  };
3182
- export type UnitSystem = 'IMPERIAL_SYSTEM' | 'METRIC_SYSTEM';
3728
+ export declare const UnitSystem: {
3729
+ readonly ImperialSystem: "IMPERIAL_SYSTEM";
3730
+ readonly MetricSystem: "METRIC_SYSTEM";
3731
+ };
3732
+ export type UnitSystem = typeof UnitSystem[keyof typeof UnitSystem];
3183
3733
  export type UnsubscribeFromMarketingPayload = {
3184
3734
  /** Always true (anti-enumeration). */
3185
3735
  accepted: Scalars['Boolean']['output'];
@@ -3212,7 +3762,13 @@ export type Weight = {
3212
3762
  /** Weight magnitude, interpreted according to `unit`. */
3213
3763
  value: Scalars['Float']['output'];
3214
3764
  };
3215
- export type WeightUnit = 'GRAMS' | 'KILOGRAMS' | 'OUNCES' | 'POUNDS';
3765
+ export declare const WeightUnit: {
3766
+ readonly Grams: "GRAMS";
3767
+ readonly Kilograms: "KILOGRAMS";
3768
+ readonly Ounces: "OUNCES";
3769
+ readonly Pounds: "POUNDS";
3770
+ };
3771
+ export type WeightUnit = typeof WeightUnit[keyof typeof WeightUnit];
3216
3772
  export type Wishlist = {
3217
3773
  /** Created date */
3218
3774
  createdAt: Scalars['DateTime']['output'];
@@ -3273,11 +3829,17 @@ export type AvailablePaymentMethodsQueryVariables = Exact<{
3273
3829
  }>;
3274
3830
  export type AvailablePaymentMethodsQuery = {
3275
3831
  availablePaymentMethods: {
3276
- methods: Array<(Pick<PaymentMethod, 'id' | 'name' | 'provider' | 'type' | 'icon' | 'description' | 'isDefault' | 'supportedCurrencies' | 'position' | 'providersAvailable' | 'preferredProvider' | 'available' | 'unavailableReason'> & {
3277
- instruments?: Maybe<Array<Pick<PaymentMethodInstrument, 'providerCode' | 'instrumentCode' | 'type' | 'displayName' | 'displayHint' | 'brandImageUrl' | 'enabled'>>>;
3832
+ methods: Array<(Pick<PaymentMethod, 'id' | 'name' | 'provider' | 'type' | 'description' | 'isDefault' | 'supportedCurrencies' | 'position' | 'providersAvailable' | 'preferredProvider' | 'available' | 'unavailableReason'> & {
3833
+ icon?: Maybe<Pick<Image, 'id' | 'url' | 'altText' | 'width' | 'height' | 'thumbhash'>>;
3834
+ instruments?: Maybe<Array<(Pick<PaymentInstrument, 'provider' | 'code' | 'type' | 'displayName' | 'displayHint' | 'enabled'> & {
3835
+ brandImage?: Maybe<Pick<Image, 'id' | 'url' | 'altText' | 'width' | 'height' | 'thumbhash'>>;
3836
+ })>>;
3278
3837
  })>;
3279
- defaultMethod?: Maybe<(Pick<PaymentMethod, 'id' | 'name' | 'provider' | 'type' | 'icon' | 'description' | 'isDefault' | 'supportedCurrencies' | 'position' | 'providersAvailable' | 'preferredProvider' | 'available' | 'unavailableReason'> & {
3280
- instruments?: Maybe<Array<Pick<PaymentMethodInstrument, 'providerCode' | 'instrumentCode' | 'type' | 'displayName' | 'displayHint' | 'brandImageUrl' | 'enabled'>>>;
3838
+ defaultMethod?: Maybe<(Pick<PaymentMethod, 'id' | 'name' | 'provider' | 'type' | 'description' | 'isDefault' | 'supportedCurrencies' | 'position' | 'providersAvailable' | 'preferredProvider' | 'available' | 'unavailableReason'> & {
3839
+ icon?: Maybe<Pick<Image, 'id' | 'url' | 'altText' | 'width' | 'height' | 'thumbhash'>>;
3840
+ instruments?: Maybe<Array<(Pick<PaymentInstrument, 'provider' | 'code' | 'type' | 'displayName' | 'displayHint' | 'enabled'> & {
3841
+ brandImage?: Maybe<Pick<Image, 'id' | 'url' | 'altText' | 'width' | 'height' | 'thumbhash'>>;
3842
+ })>>;
3281
3843
  })>;
3282
3844
  };
3283
3845
  };
@@ -3287,7 +3849,7 @@ export type CartAddLinesMutationVariables = Exact<{
3287
3849
  }>;
3288
3850
  export type CartAddLinesMutation = {
3289
3851
  cartAddLines: {
3290
- cart?: Maybe<(Pick<Cart, 'id' | 'checkoutUrl' | 'totalQuantity' | 'note' | 'email' | 'phone' | 'selectedPaymentInstrumentCode' | 'requiresShipping' | 'createdAt' | 'updatedAt' | 'status'> & {
3852
+ cart?: Maybe<(Pick<Cart, 'id' | 'checkoutUrl' | 'totalQuantity' | 'note' | 'email' | 'phone' | 'selectedPaymentInstrument' | 'requiresShipping' | 'createdAt' | 'updatedAt' | 'status'> & {
3291
3853
  cost: {
3292
3854
  total: Pick<Money, 'amount' | 'currencyCode'>;
3293
3855
  subtotal: Pick<Money, 'amount' | 'currencyCode'>;
@@ -3333,7 +3895,9 @@ export type CartAddLinesMutation = {
3333
3895
  selectedShippingMethod?: Maybe<(Pick<CartShippingMethod, 'handle' | 'title'> & {
3334
3896
  price: Pick<Money, 'amount' | 'currencyCode'>;
3335
3897
  })>;
3336
- selectedPaymentMethod?: Maybe<Pick<PaymentMethod, 'id' | 'name' | 'provider' | 'type' | 'icon' | 'description' | 'isDefault' | 'supportedCurrencies' | 'position'>>;
3898
+ selectedPaymentMethod?: Maybe<(Pick<PaymentMethod, 'id' | 'name' | 'provider' | 'type' | 'description' | 'isDefault' | 'supportedCurrencies' | 'position'> & {
3899
+ icon?: Maybe<Pick<Image, 'id' | 'url' | 'altText' | 'width' | 'height' | 'thumbhash'>>;
3900
+ })>;
3337
3901
  appliedGiftCards: Array<(Pick<CartAppliedGiftCard, 'id' | 'maskedCode' | 'lastCharacters'> & {
3338
3902
  appliedAmount: Pick<Money, 'amount' | 'currencyCode'>;
3339
3903
  remainingBalance: Pick<Money, 'amount' | 'currencyCode'>;
@@ -3349,7 +3913,7 @@ export type CartApplyGiftCardMutationVariables = Exact<{
3349
3913
  }>;
3350
3914
  export type CartApplyGiftCardMutation = {
3351
3915
  cartApplyGiftCard: {
3352
- cart?: Maybe<(Pick<Cart, 'id' | 'checkoutUrl' | 'totalQuantity' | 'note' | 'email' | 'phone' | 'selectedPaymentInstrumentCode' | 'requiresShipping' | 'createdAt' | 'updatedAt' | 'status'> & {
3916
+ cart?: Maybe<(Pick<Cart, 'id' | 'checkoutUrl' | 'totalQuantity' | 'note' | 'email' | 'phone' | 'selectedPaymentInstrument' | 'requiresShipping' | 'createdAt' | 'updatedAt' | 'status'> & {
3353
3917
  cost: {
3354
3918
  total: Pick<Money, 'amount' | 'currencyCode'>;
3355
3919
  subtotal: Pick<Money, 'amount' | 'currencyCode'>;
@@ -3395,7 +3959,9 @@ export type CartApplyGiftCardMutation = {
3395
3959
  selectedShippingMethod?: Maybe<(Pick<CartShippingMethod, 'handle' | 'title'> & {
3396
3960
  price: Pick<Money, 'amount' | 'currencyCode'>;
3397
3961
  })>;
3398
- selectedPaymentMethod?: Maybe<Pick<PaymentMethod, 'id' | 'name' | 'provider' | 'type' | 'icon' | 'description' | 'isDefault' | 'supportedCurrencies' | 'position'>>;
3962
+ selectedPaymentMethod?: Maybe<(Pick<PaymentMethod, 'id' | 'name' | 'provider' | 'type' | 'description' | 'isDefault' | 'supportedCurrencies' | 'position'> & {
3963
+ icon?: Maybe<Pick<Image, 'id' | 'url' | 'altText' | 'width' | 'height' | 'thumbhash'>>;
3964
+ })>;
3399
3965
  appliedGiftCards: Array<(Pick<CartAppliedGiftCard, 'id' | 'maskedCode' | 'lastCharacters'> & {
3400
3966
  appliedAmount: Pick<Money, 'amount' | 'currencyCode'>;
3401
3967
  remainingBalance: Pick<Money, 'amount' | 'currencyCode'>;
@@ -3414,7 +3980,9 @@ export type CartAvailableShippingMethodsQuery = {
3414
3980
  cart?: Maybe<(Pick<Cart, 'id' | 'requiresShipping'> & {
3415
3981
  availableShippingMethods: {
3416
3982
  methods: Array<(Pick<AvailableShippingMethod, 'id' | 'name' | 'description' | 'deliveryType' | 'isFree' | 'sortOrder'> & {
3417
- carrier?: Maybe<Pick<ShippingCarrier, 'id' | 'name' | 'logoUrl' | 'serviceCode'>>;
3983
+ carrier?: Maybe<(Pick<ShippingCarrier, 'id' | 'name' | 'serviceCode'> & {
3984
+ logo?: Maybe<Pick<Image, 'id' | 'url' | 'altText' | 'width' | 'height' | 'thumbhash'>>;
3985
+ })>;
3418
3986
  price: Pick<Money, 'amount' | 'currencyCode'>;
3419
3987
  estimatedDelivery?: Maybe<Pick<DeliveryEstimate, 'minDays' | 'maxDays' | 'description'>>;
3420
3988
  freeShippingProgress?: Maybe<(Pick<FreeShippingProgress, 'qualifies' | 'progressPercent' | 'message'> & {
@@ -3437,7 +4005,7 @@ export type CartClearPaymentSelectionMutationVariables = Exact<{
3437
4005
  }>;
3438
4006
  export type CartClearPaymentSelectionMutation = {
3439
4007
  cartClearPaymentSelection: {
3440
- cart?: Maybe<(Pick<Cart, 'id' | 'checkoutUrl' | 'totalQuantity' | 'note' | 'email' | 'phone' | 'selectedPaymentInstrumentCode' | 'requiresShipping' | 'createdAt' | 'updatedAt' | 'status'> & {
4008
+ cart?: Maybe<(Pick<Cart, 'id' | 'checkoutUrl' | 'totalQuantity' | 'note' | 'email' | 'phone' | 'selectedPaymentInstrument' | 'requiresShipping' | 'createdAt' | 'updatedAt' | 'status'> & {
3441
4009
  cost: {
3442
4010
  total: Pick<Money, 'amount' | 'currencyCode'>;
3443
4011
  subtotal: Pick<Money, 'amount' | 'currencyCode'>;
@@ -3483,7 +4051,9 @@ export type CartClearPaymentSelectionMutation = {
3483
4051
  selectedShippingMethod?: Maybe<(Pick<CartShippingMethod, 'handle' | 'title'> & {
3484
4052
  price: Pick<Money, 'amount' | 'currencyCode'>;
3485
4053
  })>;
3486
- selectedPaymentMethod?: Maybe<Pick<PaymentMethod, 'id' | 'name' | 'provider' | 'type' | 'icon' | 'description' | 'isDefault' | 'supportedCurrencies' | 'position'>>;
4054
+ selectedPaymentMethod?: Maybe<(Pick<PaymentMethod, 'id' | 'name' | 'provider' | 'type' | 'description' | 'isDefault' | 'supportedCurrencies' | 'position'> & {
4055
+ icon?: Maybe<Pick<Image, 'id' | 'url' | 'altText' | 'width' | 'height' | 'thumbhash'>>;
4056
+ })>;
3487
4057
  appliedGiftCards: Array<(Pick<CartAppliedGiftCard, 'id' | 'maskedCode' | 'lastCharacters'> & {
3488
4058
  appliedAmount: Pick<Money, 'amount' | 'currencyCode'>;
3489
4059
  remainingBalance: Pick<Money, 'amount' | 'currencyCode'>;
@@ -3519,7 +4089,7 @@ export type CartCreateMutationVariables = Exact<{
3519
4089
  }>;
3520
4090
  export type CartCreateMutation = {
3521
4091
  cartCreate: {
3522
- cart?: Maybe<(Pick<Cart, 'id' | 'checkoutUrl' | 'totalQuantity' | 'note' | 'email' | 'phone' | 'selectedPaymentInstrumentCode' | 'requiresShipping' | 'createdAt' | 'updatedAt' | 'status'> & {
4092
+ cart?: Maybe<(Pick<Cart, 'id' | 'checkoutUrl' | 'totalQuantity' | 'note' | 'email' | 'phone' | 'selectedPaymentInstrument' | 'requiresShipping' | 'createdAt' | 'updatedAt' | 'status'> & {
3523
4093
  cost: {
3524
4094
  total: Pick<Money, 'amount' | 'currencyCode'>;
3525
4095
  subtotal: Pick<Money, 'amount' | 'currencyCode'>;
@@ -3565,7 +4135,9 @@ export type CartCreateMutation = {
3565
4135
  selectedShippingMethod?: Maybe<(Pick<CartShippingMethod, 'handle' | 'title'> & {
3566
4136
  price: Pick<Money, 'amount' | 'currencyCode'>;
3567
4137
  })>;
3568
- selectedPaymentMethod?: Maybe<Pick<PaymentMethod, 'id' | 'name' | 'provider' | 'type' | 'icon' | 'description' | 'isDefault' | 'supportedCurrencies' | 'position'>>;
4138
+ selectedPaymentMethod?: Maybe<(Pick<PaymentMethod, 'id' | 'name' | 'provider' | 'type' | 'description' | 'isDefault' | 'supportedCurrencies' | 'position'> & {
4139
+ icon?: Maybe<Pick<Image, 'id' | 'url' | 'altText' | 'width' | 'height' | 'thumbhash'>>;
4140
+ })>;
3569
4141
  appliedGiftCards: Array<(Pick<CartAppliedGiftCard, 'id' | 'maskedCode' | 'lastCharacters'> & {
3570
4142
  appliedAmount: Pick<Money, 'amount' | 'currencyCode'>;
3571
4143
  remainingBalance: Pick<Money, 'amount' | 'currencyCode'>;
@@ -3582,7 +4154,7 @@ export type CartDiscountCodesUpdateMutationVariables = Exact<{
3582
4154
  }>;
3583
4155
  export type CartDiscountCodesUpdateMutation = {
3584
4156
  cartDiscountCodesUpdate: {
3585
- cart?: Maybe<(Pick<Cart, 'id' | 'checkoutUrl' | 'totalQuantity' | 'note' | 'email' | 'phone' | 'selectedPaymentInstrumentCode' | 'requiresShipping' | 'createdAt' | 'updatedAt' | 'status'> & {
4157
+ cart?: Maybe<(Pick<Cart, 'id' | 'checkoutUrl' | 'totalQuantity' | 'note' | 'email' | 'phone' | 'selectedPaymentInstrument' | 'requiresShipping' | 'createdAt' | 'updatedAt' | 'status'> & {
3586
4158
  cost: {
3587
4159
  total: Pick<Money, 'amount' | 'currencyCode'>;
3588
4160
  subtotal: Pick<Money, 'amount' | 'currencyCode'>;
@@ -3628,7 +4200,9 @@ export type CartDiscountCodesUpdateMutation = {
3628
4200
  selectedShippingMethod?: Maybe<(Pick<CartShippingMethod, 'handle' | 'title'> & {
3629
4201
  price: Pick<Money, 'amount' | 'currencyCode'>;
3630
4202
  })>;
3631
- selectedPaymentMethod?: Maybe<Pick<PaymentMethod, 'id' | 'name' | 'provider' | 'type' | 'icon' | 'description' | 'isDefault' | 'supportedCurrencies' | 'position'>>;
4203
+ selectedPaymentMethod?: Maybe<(Pick<PaymentMethod, 'id' | 'name' | 'provider' | 'type' | 'description' | 'isDefault' | 'supportedCurrencies' | 'position'> & {
4204
+ icon?: Maybe<Pick<Image, 'id' | 'url' | 'altText' | 'width' | 'height' | 'thumbhash'>>;
4205
+ })>;
3632
4206
  appliedGiftCards: Array<(Pick<CartAppliedGiftCard, 'id' | 'maskedCode' | 'lastCharacters'> & {
3633
4207
  appliedAmount: Pick<Money, 'amount' | 'currencyCode'>;
3634
4208
  remainingBalance: Pick<Money, 'amount' | 'currencyCode'>;
@@ -3643,7 +4217,7 @@ export type CartQueryVariables = Exact<{
3643
4217
  id: Scalars['ID']['input'];
3644
4218
  }>;
3645
4219
  export type CartQuery = {
3646
- cart?: Maybe<(Pick<Cart, 'id' | 'checkoutUrl' | 'totalQuantity' | 'note' | 'email' | 'phone' | 'selectedPaymentInstrumentCode' | 'requiresShipping' | 'createdAt' | 'updatedAt' | 'status'> & {
4220
+ cart?: Maybe<(Pick<Cart, 'id' | 'checkoutUrl' | 'totalQuantity' | 'note' | 'email' | 'phone' | 'selectedPaymentInstrument' | 'requiresShipping' | 'createdAt' | 'updatedAt' | 'status'> & {
3647
4221
  cost: {
3648
4222
  total: Pick<Money, 'amount' | 'currencyCode'>;
3649
4223
  subtotal: Pick<Money, 'amount' | 'currencyCode'>;
@@ -3689,7 +4263,9 @@ export type CartQuery = {
3689
4263
  selectedShippingMethod?: Maybe<(Pick<CartShippingMethod, 'handle' | 'title'> & {
3690
4264
  price: Pick<Money, 'amount' | 'currencyCode'>;
3691
4265
  })>;
3692
- selectedPaymentMethod?: Maybe<Pick<PaymentMethod, 'id' | 'name' | 'provider' | 'type' | 'icon' | 'description' | 'isDefault' | 'supportedCurrencies' | 'position'>>;
4266
+ selectedPaymentMethod?: Maybe<(Pick<PaymentMethod, 'id' | 'name' | 'provider' | 'type' | 'description' | 'isDefault' | 'supportedCurrencies' | 'position'> & {
4267
+ icon?: Maybe<Pick<Image, 'id' | 'url' | 'altText' | 'width' | 'height' | 'thumbhash'>>;
4268
+ })>;
3693
4269
  appliedGiftCards: Array<(Pick<CartAppliedGiftCard, 'id' | 'maskedCode' | 'lastCharacters'> & {
3694
4270
  appliedAmount: Pick<Money, 'amount' | 'currencyCode'>;
3695
4271
  remainingBalance: Pick<Money, 'amount' | 'currencyCode'>;
@@ -3702,7 +4278,7 @@ export type CartRemoveGiftCardMutationVariables = Exact<{
3702
4278
  }>;
3703
4279
  export type CartRemoveGiftCardMutation = {
3704
4280
  cartRemoveGiftCard: {
3705
- cart?: Maybe<(Pick<Cart, 'id' | 'checkoutUrl' | 'totalQuantity' | 'note' | 'email' | 'phone' | 'selectedPaymentInstrumentCode' | 'requiresShipping' | 'createdAt' | 'updatedAt' | 'status'> & {
4281
+ cart?: Maybe<(Pick<Cart, 'id' | 'checkoutUrl' | 'totalQuantity' | 'note' | 'email' | 'phone' | 'selectedPaymentInstrument' | 'requiresShipping' | 'createdAt' | 'updatedAt' | 'status'> & {
3706
4282
  cost: {
3707
4283
  total: Pick<Money, 'amount' | 'currencyCode'>;
3708
4284
  subtotal: Pick<Money, 'amount' | 'currencyCode'>;
@@ -3748,7 +4324,9 @@ export type CartRemoveGiftCardMutation = {
3748
4324
  selectedShippingMethod?: Maybe<(Pick<CartShippingMethod, 'handle' | 'title'> & {
3749
4325
  price: Pick<Money, 'amount' | 'currencyCode'>;
3750
4326
  })>;
3751
- selectedPaymentMethod?: Maybe<Pick<PaymentMethod, 'id' | 'name' | 'provider' | 'type' | 'icon' | 'description' | 'isDefault' | 'supportedCurrencies' | 'position'>>;
4327
+ selectedPaymentMethod?: Maybe<(Pick<PaymentMethod, 'id' | 'name' | 'provider' | 'type' | 'description' | 'isDefault' | 'supportedCurrencies' | 'position'> & {
4328
+ icon?: Maybe<Pick<Image, 'id' | 'url' | 'altText' | 'width' | 'height' | 'thumbhash'>>;
4329
+ })>;
3752
4330
  appliedGiftCards: Array<(Pick<CartAppliedGiftCard, 'id' | 'maskedCode' | 'lastCharacters'> & {
3753
4331
  appliedAmount: Pick<Money, 'amount' | 'currencyCode'>;
3754
4332
  remainingBalance: Pick<Money, 'amount' | 'currencyCode'>;
@@ -3765,7 +4343,7 @@ export type CartRemoveLinesMutationVariables = Exact<{
3765
4343
  }>;
3766
4344
  export type CartRemoveLinesMutation = {
3767
4345
  cartRemoveLines: {
3768
- cart?: Maybe<(Pick<Cart, 'id' | 'checkoutUrl' | 'totalQuantity' | 'note' | 'email' | 'phone' | 'selectedPaymentInstrumentCode' | 'requiresShipping' | 'createdAt' | 'updatedAt' | 'status'> & {
4346
+ cart?: Maybe<(Pick<Cart, 'id' | 'checkoutUrl' | 'totalQuantity' | 'note' | 'email' | 'phone' | 'selectedPaymentInstrument' | 'requiresShipping' | 'createdAt' | 'updatedAt' | 'status'> & {
3769
4347
  cost: {
3770
4348
  total: Pick<Money, 'amount' | 'currencyCode'>;
3771
4349
  subtotal: Pick<Money, 'amount' | 'currencyCode'>;
@@ -3811,7 +4389,9 @@ export type CartRemoveLinesMutation = {
3811
4389
  selectedShippingMethod?: Maybe<(Pick<CartShippingMethod, 'handle' | 'title'> & {
3812
4390
  price: Pick<Money, 'amount' | 'currencyCode'>;
3813
4391
  })>;
3814
- selectedPaymentMethod?: Maybe<Pick<PaymentMethod, 'id' | 'name' | 'provider' | 'type' | 'icon' | 'description' | 'isDefault' | 'supportedCurrencies' | 'position'>>;
4392
+ selectedPaymentMethod?: Maybe<(Pick<PaymentMethod, 'id' | 'name' | 'provider' | 'type' | 'description' | 'isDefault' | 'supportedCurrencies' | 'position'> & {
4393
+ icon?: Maybe<Pick<Image, 'id' | 'url' | 'altText' | 'width' | 'height' | 'thumbhash'>>;
4394
+ })>;
3815
4395
  appliedGiftCards: Array<(Pick<CartAppliedGiftCard, 'id' | 'maskedCode' | 'lastCharacters'> & {
3816
4396
  appliedAmount: Pick<Money, 'amount' | 'currencyCode'>;
3817
4397
  remainingBalance: Pick<Money, 'amount' | 'currencyCode'>;
@@ -3827,7 +4407,7 @@ export type CartSelectPaymentMethodMutationVariables = Exact<{
3827
4407
  }>;
3828
4408
  export type CartSelectPaymentMethodMutation = {
3829
4409
  cartSelectPaymentMethod: {
3830
- cart?: Maybe<(Pick<Cart, 'id' | 'checkoutUrl' | 'totalQuantity' | 'note' | 'email' | 'phone' | 'selectedPaymentInstrumentCode' | 'requiresShipping' | 'createdAt' | 'updatedAt' | 'status'> & {
4410
+ cart?: Maybe<(Pick<Cart, 'id' | 'checkoutUrl' | 'totalQuantity' | 'note' | 'email' | 'phone' | 'selectedPaymentInstrument' | 'requiresShipping' | 'createdAt' | 'updatedAt' | 'status'> & {
3831
4411
  cost: {
3832
4412
  total: Pick<Money, 'amount' | 'currencyCode'>;
3833
4413
  subtotal: Pick<Money, 'amount' | 'currencyCode'>;
@@ -3873,7 +4453,9 @@ export type CartSelectPaymentMethodMutation = {
3873
4453
  selectedShippingMethod?: Maybe<(Pick<CartShippingMethod, 'handle' | 'title'> & {
3874
4454
  price: Pick<Money, 'amount' | 'currencyCode'>;
3875
4455
  })>;
3876
- selectedPaymentMethod?: Maybe<Pick<PaymentMethod, 'id' | 'name' | 'provider' | 'type' | 'icon' | 'description' | 'isDefault' | 'supportedCurrencies' | 'position'>>;
4456
+ selectedPaymentMethod?: Maybe<(Pick<PaymentMethod, 'id' | 'name' | 'provider' | 'type' | 'description' | 'isDefault' | 'supportedCurrencies' | 'position'> & {
4457
+ icon?: Maybe<Pick<Image, 'id' | 'url' | 'altText' | 'width' | 'height' | 'thumbhash'>>;
4458
+ })>;
3877
4459
  appliedGiftCards: Array<(Pick<CartAppliedGiftCard, 'id' | 'maskedCode' | 'lastCharacters'> & {
3878
4460
  appliedAmount: Pick<Money, 'amount' | 'currencyCode'>;
3879
4461
  remainingBalance: Pick<Money, 'amount' | 'currencyCode'>;
@@ -3889,7 +4471,7 @@ export type CartSelectShippingMethodMutationVariables = Exact<{
3889
4471
  }>;
3890
4472
  export type CartSelectShippingMethodMutation = {
3891
4473
  cartSelectShippingMethod: {
3892
- cart?: Maybe<(Pick<Cart, 'id' | 'checkoutUrl' | 'totalQuantity' | 'note' | 'email' | 'phone' | 'selectedPaymentInstrumentCode' | 'requiresShipping' | 'createdAt' | 'updatedAt' | 'status'> & {
4474
+ cart?: Maybe<(Pick<Cart, 'id' | 'checkoutUrl' | 'totalQuantity' | 'note' | 'email' | 'phone' | 'selectedPaymentInstrument' | 'requiresShipping' | 'createdAt' | 'updatedAt' | 'status'> & {
3893
4475
  cost: {
3894
4476
  total: Pick<Money, 'amount' | 'currencyCode'>;
3895
4477
  subtotal: Pick<Money, 'amount' | 'currencyCode'>;
@@ -3935,7 +4517,9 @@ export type CartSelectShippingMethodMutation = {
3935
4517
  selectedShippingMethod?: Maybe<(Pick<CartShippingMethod, 'handle' | 'title'> & {
3936
4518
  price: Pick<Money, 'amount' | 'currencyCode'>;
3937
4519
  })>;
3938
- selectedPaymentMethod?: Maybe<Pick<PaymentMethod, 'id' | 'name' | 'provider' | 'type' | 'icon' | 'description' | 'isDefault' | 'supportedCurrencies' | 'position'>>;
4520
+ selectedPaymentMethod?: Maybe<(Pick<PaymentMethod, 'id' | 'name' | 'provider' | 'type' | 'description' | 'isDefault' | 'supportedCurrencies' | 'position'> & {
4521
+ icon?: Maybe<Pick<Image, 'id' | 'url' | 'altText' | 'width' | 'height' | 'thumbhash'>>;
4522
+ })>;
3939
4523
  appliedGiftCards: Array<(Pick<CartAppliedGiftCard, 'id' | 'maskedCode' | 'lastCharacters'> & {
3940
4524
  appliedAmount: Pick<Money, 'amount' | 'currencyCode'>;
3941
4525
  remainingBalance: Pick<Money, 'amount' | 'currencyCode'>;
@@ -3951,7 +4535,7 @@ export type CartSetBillingAddressMutationVariables = Exact<{
3951
4535
  }>;
3952
4536
  export type CartSetBillingAddressMutation = {
3953
4537
  cartSetBillingAddress: {
3954
- cart?: Maybe<(Pick<Cart, 'id' | 'checkoutUrl' | 'totalQuantity' | 'note' | 'email' | 'phone' | 'selectedPaymentInstrumentCode' | 'requiresShipping' | 'createdAt' | 'updatedAt' | 'status'> & {
4538
+ cart?: Maybe<(Pick<Cart, 'id' | 'checkoutUrl' | 'totalQuantity' | 'note' | 'email' | 'phone' | 'selectedPaymentInstrument' | 'requiresShipping' | 'createdAt' | 'updatedAt' | 'status'> & {
3955
4539
  cost: {
3956
4540
  total: Pick<Money, 'amount' | 'currencyCode'>;
3957
4541
  subtotal: Pick<Money, 'amount' | 'currencyCode'>;
@@ -3997,7 +4581,9 @@ export type CartSetBillingAddressMutation = {
3997
4581
  selectedShippingMethod?: Maybe<(Pick<CartShippingMethod, 'handle' | 'title'> & {
3998
4582
  price: Pick<Money, 'amount' | 'currencyCode'>;
3999
4583
  })>;
4000
- selectedPaymentMethod?: Maybe<Pick<PaymentMethod, 'id' | 'name' | 'provider' | 'type' | 'icon' | 'description' | 'isDefault' | 'supportedCurrencies' | 'position'>>;
4584
+ selectedPaymentMethod?: Maybe<(Pick<PaymentMethod, 'id' | 'name' | 'provider' | 'type' | 'description' | 'isDefault' | 'supportedCurrencies' | 'position'> & {
4585
+ icon?: Maybe<Pick<Image, 'id' | 'url' | 'altText' | 'width' | 'height' | 'thumbhash'>>;
4586
+ })>;
4001
4587
  appliedGiftCards: Array<(Pick<CartAppliedGiftCard, 'id' | 'maskedCode' | 'lastCharacters'> & {
4002
4588
  appliedAmount: Pick<Money, 'amount' | 'currencyCode'>;
4003
4589
  remainingBalance: Pick<Money, 'amount' | 'currencyCode'>;
@@ -4013,7 +4599,7 @@ export type CartSetShippingAddressMutationVariables = Exact<{
4013
4599
  }>;
4014
4600
  export type CartSetShippingAddressMutation = {
4015
4601
  cartSetShippingAddress: {
4016
- cart?: Maybe<(Pick<Cart, 'id' | 'checkoutUrl' | 'totalQuantity' | 'note' | 'email' | 'phone' | 'selectedPaymentInstrumentCode' | 'requiresShipping' | 'createdAt' | 'updatedAt' | 'status'> & {
4602
+ cart?: Maybe<(Pick<Cart, 'id' | 'checkoutUrl' | 'totalQuantity' | 'note' | 'email' | 'phone' | 'selectedPaymentInstrument' | 'requiresShipping' | 'createdAt' | 'updatedAt' | 'status'> & {
4017
4603
  cost: {
4018
4604
  total: Pick<Money, 'amount' | 'currencyCode'>;
4019
4605
  subtotal: Pick<Money, 'amount' | 'currencyCode'>;
@@ -4059,7 +4645,9 @@ export type CartSetShippingAddressMutation = {
4059
4645
  selectedShippingMethod?: Maybe<(Pick<CartShippingMethod, 'handle' | 'title'> & {
4060
4646
  price: Pick<Money, 'amount' | 'currencyCode'>;
4061
4647
  })>;
4062
- selectedPaymentMethod?: Maybe<Pick<PaymentMethod, 'id' | 'name' | 'provider' | 'type' | 'icon' | 'description' | 'isDefault' | 'supportedCurrencies' | 'position'>>;
4648
+ selectedPaymentMethod?: Maybe<(Pick<PaymentMethod, 'id' | 'name' | 'provider' | 'type' | 'description' | 'isDefault' | 'supportedCurrencies' | 'position'> & {
4649
+ icon?: Maybe<Pick<Image, 'id' | 'url' | 'altText' | 'width' | 'height' | 'thumbhash'>>;
4650
+ })>;
4063
4651
  appliedGiftCards: Array<(Pick<CartAppliedGiftCard, 'id' | 'maskedCode' | 'lastCharacters'> & {
4064
4652
  appliedAmount: Pick<Money, 'amount' | 'currencyCode'>;
4065
4653
  remainingBalance: Pick<Money, 'amount' | 'currencyCode'>;
@@ -4076,7 +4664,7 @@ export type CartUpdateAttributesMutationVariables = Exact<{
4076
4664
  }>;
4077
4665
  export type CartUpdateAttributesMutation = {
4078
4666
  cartUpdateAttributes: {
4079
- cart?: Maybe<(Pick<Cart, 'id' | 'checkoutUrl' | 'totalQuantity' | 'note' | 'email' | 'phone' | 'selectedPaymentInstrumentCode' | 'requiresShipping' | 'createdAt' | 'updatedAt' | 'status'> & {
4667
+ cart?: Maybe<(Pick<Cart, 'id' | 'checkoutUrl' | 'totalQuantity' | 'note' | 'email' | 'phone' | 'selectedPaymentInstrument' | 'requiresShipping' | 'createdAt' | 'updatedAt' | 'status'> & {
4080
4668
  cost: {
4081
4669
  total: Pick<Money, 'amount' | 'currencyCode'>;
4082
4670
  subtotal: Pick<Money, 'amount' | 'currencyCode'>;
@@ -4122,7 +4710,9 @@ export type CartUpdateAttributesMutation = {
4122
4710
  selectedShippingMethod?: Maybe<(Pick<CartShippingMethod, 'handle' | 'title'> & {
4123
4711
  price: Pick<Money, 'amount' | 'currencyCode'>;
4124
4712
  })>;
4125
- selectedPaymentMethod?: Maybe<Pick<PaymentMethod, 'id' | 'name' | 'provider' | 'type' | 'icon' | 'description' | 'isDefault' | 'supportedCurrencies' | 'position'>>;
4713
+ selectedPaymentMethod?: Maybe<(Pick<PaymentMethod, 'id' | 'name' | 'provider' | 'type' | 'description' | 'isDefault' | 'supportedCurrencies' | 'position'> & {
4714
+ icon?: Maybe<Pick<Image, 'id' | 'url' | 'altText' | 'width' | 'height' | 'thumbhash'>>;
4715
+ })>;
4126
4716
  appliedGiftCards: Array<(Pick<CartAppliedGiftCard, 'id' | 'maskedCode' | 'lastCharacters'> & {
4127
4717
  appliedAmount: Pick<Money, 'amount' | 'currencyCode'>;
4128
4718
  remainingBalance: Pick<Money, 'amount' | 'currencyCode'>;
@@ -4139,7 +4729,7 @@ export type CartUpdateBuyerIdentityMutationVariables = Exact<{
4139
4729
  }>;
4140
4730
  export type CartUpdateBuyerIdentityMutation = {
4141
4731
  cartUpdateBuyerIdentity: {
4142
- cart?: Maybe<(Pick<Cart, 'id' | 'checkoutUrl' | 'totalQuantity' | 'note' | 'email' | 'phone' | 'selectedPaymentInstrumentCode' | 'requiresShipping' | 'createdAt' | 'updatedAt' | 'status'> & {
4732
+ cart?: Maybe<(Pick<Cart, 'id' | 'checkoutUrl' | 'totalQuantity' | 'note' | 'email' | 'phone' | 'selectedPaymentInstrument' | 'requiresShipping' | 'createdAt' | 'updatedAt' | 'status'> & {
4143
4733
  cost: {
4144
4734
  total: Pick<Money, 'amount' | 'currencyCode'>;
4145
4735
  subtotal: Pick<Money, 'amount' | 'currencyCode'>;
@@ -4185,7 +4775,9 @@ export type CartUpdateBuyerIdentityMutation = {
4185
4775
  selectedShippingMethod?: Maybe<(Pick<CartShippingMethod, 'handle' | 'title'> & {
4186
4776
  price: Pick<Money, 'amount' | 'currencyCode'>;
4187
4777
  })>;
4188
- selectedPaymentMethod?: Maybe<Pick<PaymentMethod, 'id' | 'name' | 'provider' | 'type' | 'icon' | 'description' | 'isDefault' | 'supportedCurrencies' | 'position'>>;
4778
+ selectedPaymentMethod?: Maybe<(Pick<PaymentMethod, 'id' | 'name' | 'provider' | 'type' | 'description' | 'isDefault' | 'supportedCurrencies' | 'position'> & {
4779
+ icon?: Maybe<Pick<Image, 'id' | 'url' | 'altText' | 'width' | 'height' | 'thumbhash'>>;
4780
+ })>;
4189
4781
  appliedGiftCards: Array<(Pick<CartAppliedGiftCard, 'id' | 'maskedCode' | 'lastCharacters'> & {
4190
4782
  appliedAmount: Pick<Money, 'amount' | 'currencyCode'>;
4191
4783
  remainingBalance: Pick<Money, 'amount' | 'currencyCode'>;
@@ -4201,7 +4793,7 @@ export type CartUpdateGiftCardRecipientMutationVariables = Exact<{
4201
4793
  }>;
4202
4794
  export type CartUpdateGiftCardRecipientMutation = {
4203
4795
  cartUpdateGiftCardRecipient: {
4204
- cart?: Maybe<(Pick<Cart, 'id' | 'checkoutUrl' | 'totalQuantity' | 'note' | 'email' | 'phone' | 'selectedPaymentInstrumentCode' | 'requiresShipping' | 'createdAt' | 'updatedAt' | 'status'> & {
4796
+ cart?: Maybe<(Pick<Cart, 'id' | 'checkoutUrl' | 'totalQuantity' | 'note' | 'email' | 'phone' | 'selectedPaymentInstrument' | 'requiresShipping' | 'createdAt' | 'updatedAt' | 'status'> & {
4205
4797
  cost: {
4206
4798
  total: Pick<Money, 'amount' | 'currencyCode'>;
4207
4799
  subtotal: Pick<Money, 'amount' | 'currencyCode'>;
@@ -4247,7 +4839,9 @@ export type CartUpdateGiftCardRecipientMutation = {
4247
4839
  selectedShippingMethod?: Maybe<(Pick<CartShippingMethod, 'handle' | 'title'> & {
4248
4840
  price: Pick<Money, 'amount' | 'currencyCode'>;
4249
4841
  })>;
4250
- selectedPaymentMethod?: Maybe<Pick<PaymentMethod, 'id' | 'name' | 'provider' | 'type' | 'icon' | 'description' | 'isDefault' | 'supportedCurrencies' | 'position'>>;
4842
+ selectedPaymentMethod?: Maybe<(Pick<PaymentMethod, 'id' | 'name' | 'provider' | 'type' | 'description' | 'isDefault' | 'supportedCurrencies' | 'position'> & {
4843
+ icon?: Maybe<Pick<Image, 'id' | 'url' | 'altText' | 'width' | 'height' | 'thumbhash'>>;
4844
+ })>;
4251
4845
  appliedGiftCards: Array<(Pick<CartAppliedGiftCard, 'id' | 'maskedCode' | 'lastCharacters'> & {
4252
4846
  appliedAmount: Pick<Money, 'amount' | 'currencyCode'>;
4253
4847
  remainingBalance: Pick<Money, 'amount' | 'currencyCode'>;
@@ -4264,7 +4858,7 @@ export type CartUpdateLinesMutationVariables = Exact<{
4264
4858
  }>;
4265
4859
  export type CartUpdateLinesMutation = {
4266
4860
  cartUpdateLines: {
4267
- cart?: Maybe<(Pick<Cart, 'id' | 'checkoutUrl' | 'totalQuantity' | 'note' | 'email' | 'phone' | 'selectedPaymentInstrumentCode' | 'requiresShipping' | 'createdAt' | 'updatedAt' | 'status'> & {
4861
+ cart?: Maybe<(Pick<Cart, 'id' | 'checkoutUrl' | 'totalQuantity' | 'note' | 'email' | 'phone' | 'selectedPaymentInstrument' | 'requiresShipping' | 'createdAt' | 'updatedAt' | 'status'> & {
4268
4862
  cost: {
4269
4863
  total: Pick<Money, 'amount' | 'currencyCode'>;
4270
4864
  subtotal: Pick<Money, 'amount' | 'currencyCode'>;
@@ -4310,7 +4904,9 @@ export type CartUpdateLinesMutation = {
4310
4904
  selectedShippingMethod?: Maybe<(Pick<CartShippingMethod, 'handle' | 'title'> & {
4311
4905
  price: Pick<Money, 'amount' | 'currencyCode'>;
4312
4906
  })>;
4313
- selectedPaymentMethod?: Maybe<Pick<PaymentMethod, 'id' | 'name' | 'provider' | 'type' | 'icon' | 'description' | 'isDefault' | 'supportedCurrencies' | 'position'>>;
4907
+ selectedPaymentMethod?: Maybe<(Pick<PaymentMethod, 'id' | 'name' | 'provider' | 'type' | 'description' | 'isDefault' | 'supportedCurrencies' | 'position'> & {
4908
+ icon?: Maybe<Pick<Image, 'id' | 'url' | 'altText' | 'width' | 'height' | 'thumbhash'>>;
4909
+ })>;
4314
4910
  appliedGiftCards: Array<(Pick<CartAppliedGiftCard, 'id' | 'maskedCode' | 'lastCharacters'> & {
4315
4911
  appliedAmount: Pick<Money, 'amount' | 'currencyCode'>;
4316
4912
  remainingBalance: Pick<Money, 'amount' | 'currencyCode'>;
@@ -4327,7 +4923,7 @@ export type CartUpdateNoteMutationVariables = Exact<{
4327
4923
  }>;
4328
4924
  export type CartUpdateNoteMutation = {
4329
4925
  cartUpdateNote: {
4330
- cart?: Maybe<(Pick<Cart, 'id' | 'checkoutUrl' | 'totalQuantity' | 'note' | 'email' | 'phone' | 'selectedPaymentInstrumentCode' | 'requiresShipping' | 'createdAt' | 'updatedAt' | 'status'> & {
4926
+ cart?: Maybe<(Pick<Cart, 'id' | 'checkoutUrl' | 'totalQuantity' | 'note' | 'email' | 'phone' | 'selectedPaymentInstrument' | 'requiresShipping' | 'createdAt' | 'updatedAt' | 'status'> & {
4331
4927
  cost: {
4332
4928
  total: Pick<Money, 'amount' | 'currencyCode'>;
4333
4929
  subtotal: Pick<Money, 'amount' | 'currencyCode'>;
@@ -4373,7 +4969,9 @@ export type CartUpdateNoteMutation = {
4373
4969
  selectedShippingMethod?: Maybe<(Pick<CartShippingMethod, 'handle' | 'title'> & {
4374
4970
  price: Pick<Money, 'amount' | 'currencyCode'>;
4375
4971
  })>;
4376
- selectedPaymentMethod?: Maybe<Pick<PaymentMethod, 'id' | 'name' | 'provider' | 'type' | 'icon' | 'description' | 'isDefault' | 'supportedCurrencies' | 'position'>>;
4972
+ selectedPaymentMethod?: Maybe<(Pick<PaymentMethod, 'id' | 'name' | 'provider' | 'type' | 'description' | 'isDefault' | 'supportedCurrencies' | 'position'> & {
4973
+ icon?: Maybe<Pick<Image, 'id' | 'url' | 'altText' | 'width' | 'height' | 'thumbhash'>>;
4974
+ })>;
4377
4975
  appliedGiftCards: Array<(Pick<CartAppliedGiftCard, 'id' | 'maskedCode' | 'lastCharacters'> & {
4378
4976
  appliedAmount: Pick<Money, 'amount' | 'currencyCode'>;
4379
4977
  remainingBalance: Pick<Money, 'amount' | 'currencyCode'>;
@@ -4457,7 +5055,7 @@ export type CustomerQueryVariables = Exact<{
4457
5055
  [key: string]: never;
4458
5056
  }>;
4459
5057
  export type CustomerQuery = {
4460
- customer?: Maybe<(Pick<Customer, 'id' | 'email' | 'firstName' | 'lastName' | 'displayName' | 'phone' | 'isEmailVerified' | 'emailMarketing' | 'orderCount' | 'createdAt' | 'updatedAt'> & {
5058
+ customer?: Maybe<(Pick<Customer, 'id' | 'email' | 'firstName' | 'lastName' | 'displayName' | 'phone' | 'isEmailVerified' | 'emailMarketing' | 'orderCount' | 'createdAt' | 'updatedAt' | 'sessionExpiresAt'> & {
4461
5059
  defaultAddress?: Maybe<Pick<MailingAddress, 'id' | 'streetLine1' | 'streetLine2' | 'city' | 'company' | 'country' | 'countryCode' | 'firstName' | 'lastName' | 'name' | 'phone' | 'state' | 'stateCode' | 'postalCode' | 'isDefault'>>;
4462
5060
  totalSpent: Pick<Money, 'amount' | 'currencyCode'>;
4463
5061
  })>;
@@ -4476,7 +5074,7 @@ export type CustomerSignupMutationVariables = Exact<{
4476
5074
  }>;
4477
5075
  export type CustomerSignupMutation = {
4478
5076
  customerSignup: {
4479
- customer?: Maybe<(Pick<Customer, 'id' | 'email' | 'firstName' | 'lastName' | 'displayName' | 'phone' | 'isEmailVerified' | 'emailMarketing' | 'orderCount' | 'createdAt' | 'updatedAt'> & {
5077
+ customer?: Maybe<(Pick<Customer, 'id' | 'email' | 'firstName' | 'lastName' | 'displayName' | 'phone' | 'isEmailVerified' | 'emailMarketing' | 'orderCount' | 'createdAt' | 'updatedAt' | 'sessionExpiresAt'> & {
4480
5078
  defaultAddress?: Maybe<Pick<MailingAddress, 'id' | 'streetLine1' | 'streetLine2' | 'city' | 'company' | 'country' | 'countryCode' | 'firstName' | 'lastName' | 'name' | 'phone' | 'state' | 'stateCode' | 'postalCode' | 'isDefault'>>;
4481
5079
  totalSpent: Pick<Money, 'amount' | 'currencyCode'>;
4482
5080
  })>;
@@ -4485,18 +5083,30 @@ export type CustomerSignupMutation = {
4485
5083
  };
4486
5084
  };
4487
5085
  export type AvailablePaymentMethodsFragment = {
4488
- methods: Array<(Pick<PaymentMethod, 'id' | 'name' | 'provider' | 'type' | 'icon' | 'description' | 'isDefault' | 'supportedCurrencies' | 'position' | 'providersAvailable' | 'preferredProvider' | 'available' | 'unavailableReason'> & {
4489
- instruments?: Maybe<Array<Pick<PaymentMethodInstrument, 'providerCode' | 'instrumentCode' | 'type' | 'displayName' | 'displayHint' | 'brandImageUrl' | 'enabled'>>>;
5086
+ methods: Array<(Pick<PaymentMethod, 'id' | 'name' | 'provider' | 'type' | 'description' | 'isDefault' | 'supportedCurrencies' | 'position' | 'providersAvailable' | 'preferredProvider' | 'available' | 'unavailableReason'> & {
5087
+ icon?: Maybe<Pick<Image, 'id' | 'url' | 'altText' | 'width' | 'height' | 'thumbhash'>>;
5088
+ instruments?: Maybe<Array<(Pick<PaymentInstrument, 'provider' | 'code' | 'type' | 'displayName' | 'displayHint' | 'enabled'> & {
5089
+ brandImage?: Maybe<Pick<Image, 'id' | 'url' | 'altText' | 'width' | 'height' | 'thumbhash'>>;
5090
+ })>>;
4490
5091
  })>;
4491
- defaultMethod?: Maybe<(Pick<PaymentMethod, 'id' | 'name' | 'provider' | 'type' | 'icon' | 'description' | 'isDefault' | 'supportedCurrencies' | 'position' | 'providersAvailable' | 'preferredProvider' | 'available' | 'unavailableReason'> & {
4492
- instruments?: Maybe<Array<Pick<PaymentMethodInstrument, 'providerCode' | 'instrumentCode' | 'type' | 'displayName' | 'displayHint' | 'brandImageUrl' | 'enabled'>>>;
5092
+ defaultMethod?: Maybe<(Pick<PaymentMethod, 'id' | 'name' | 'provider' | 'type' | 'description' | 'isDefault' | 'supportedCurrencies' | 'position' | 'providersAvailable' | 'preferredProvider' | 'available' | 'unavailableReason'> & {
5093
+ icon?: Maybe<Pick<Image, 'id' | 'url' | 'altText' | 'width' | 'height' | 'thumbhash'>>;
5094
+ instruments?: Maybe<Array<(Pick<PaymentInstrument, 'provider' | 'code' | 'type' | 'displayName' | 'displayHint' | 'enabled'> & {
5095
+ brandImage?: Maybe<Pick<Image, 'id' | 'url' | 'altText' | 'width' | 'height' | 'thumbhash'>>;
5096
+ })>>;
4493
5097
  })>;
4494
5098
  };
4495
- export type PaymentMethodFragment = (Pick<PaymentMethod, 'id' | 'name' | 'provider' | 'type' | 'icon' | 'description' | 'isDefault' | 'supportedCurrencies' | 'position' | 'providersAvailable' | 'preferredProvider' | 'available' | 'unavailableReason'> & {
4496
- instruments?: Maybe<Array<Pick<PaymentMethodInstrument, 'providerCode' | 'instrumentCode' | 'type' | 'displayName' | 'displayHint' | 'brandImageUrl' | 'enabled'>>>;
5099
+ export type PaymentMethodFragment = (Pick<PaymentMethod, 'id' | 'name' | 'provider' | 'type' | 'description' | 'isDefault' | 'supportedCurrencies' | 'position' | 'providersAvailable' | 'preferredProvider' | 'available' | 'unavailableReason'> & {
5100
+ icon?: Maybe<Pick<Image, 'id' | 'url' | 'altText' | 'width' | 'height' | 'thumbhash'>>;
5101
+ instruments?: Maybe<Array<(Pick<PaymentInstrument, 'provider' | 'code' | 'type' | 'displayName' | 'displayHint' | 'enabled'> & {
5102
+ brandImage?: Maybe<Pick<Image, 'id' | 'url' | 'altText' | 'width' | 'height' | 'thumbhash'>>;
5103
+ })>>;
4497
5104
  });
4498
- export type PaymentMethodInstrumentFragment = Pick<PaymentMethodInstrument, 'providerCode' | 'instrumentCode' | 'type' | 'displayName' | 'displayHint' | 'brandImageUrl' | 'enabled'>;
4499
- export type CartFragment = (Pick<Cart, 'id' | 'checkoutUrl' | 'totalQuantity' | 'note' | 'email' | 'phone' | 'selectedPaymentInstrumentCode' | 'requiresShipping' | 'createdAt' | 'updatedAt' | 'status'> & {
5105
+ export type PaymentInstrumentFragment = (Pick<PaymentInstrument, 'provider' | 'code' | 'type' | 'displayName' | 'displayHint' | 'enabled'> & {
5106
+ brandImage?: Maybe<Pick<Image, 'id' | 'url' | 'altText' | 'width' | 'height' | 'thumbhash'>>;
5107
+ });
5108
+ export type ImageThumbnailFragment = Pick<Image, 'id' | 'url' | 'altText' | 'width' | 'height' | 'thumbhash'>;
5109
+ export type CartFragment = (Pick<Cart, 'id' | 'checkoutUrl' | 'totalQuantity' | 'note' | 'email' | 'phone' | 'selectedPaymentInstrument' | 'requiresShipping' | 'createdAt' | 'updatedAt' | 'status'> & {
4500
5110
  cost: {
4501
5111
  total: Pick<Money, 'amount' | 'currencyCode'>;
4502
5112
  subtotal: Pick<Money, 'amount' | 'currencyCode'>;
@@ -4542,7 +5152,9 @@ export type CartFragment = (Pick<Cart, 'id' | 'checkoutUrl' | 'totalQuantity' |
4542
5152
  selectedShippingMethod?: Maybe<(Pick<CartShippingMethod, 'handle' | 'title'> & {
4543
5153
  price: Pick<Money, 'amount' | 'currencyCode'>;
4544
5154
  })>;
4545
- selectedPaymentMethod?: Maybe<Pick<PaymentMethod, 'id' | 'name' | 'provider' | 'type' | 'icon' | 'description' | 'isDefault' | 'supportedCurrencies' | 'position'>>;
5155
+ selectedPaymentMethod?: Maybe<(Pick<PaymentMethod, 'id' | 'name' | 'provider' | 'type' | 'description' | 'isDefault' | 'supportedCurrencies' | 'position'> & {
5156
+ icon?: Maybe<Pick<Image, 'id' | 'url' | 'altText' | 'width' | 'height' | 'thumbhash'>>;
5157
+ })>;
4546
5158
  appliedGiftCards: Array<(Pick<CartAppliedGiftCard, 'id' | 'maskedCode' | 'lastCharacters'> & {
4547
5159
  appliedAmount: Pick<Money, 'amount' | 'currencyCode'>;
4548
5160
  remainingBalance: Pick<Money, 'amount' | 'currencyCode'>;
@@ -4590,7 +5202,6 @@ export type ProductVariantFragment = (Pick<ProductVariant, 'id' | 'title' | 'sku
4590
5202
  weight?: Maybe<Pick<Weight, 'value' | 'unit'>>;
4591
5203
  });
4592
5204
  export type MoneyFragment = Pick<Money, 'amount' | 'currencyCode'>;
4593
- export type ImageThumbnailFragment = Pick<Image, 'id' | 'url' | 'altText' | 'width' | 'height' | 'thumbhash'>;
4594
5205
  export type SelectedOptionFragment = Pick<SelectedOption, 'name' | 'value'>;
4595
5206
  export type AttributeSelectionFragment = Pick<AttributeSelection, 'attributeDefinitionId' | 'attributeName' | 'type' | 'fillingMode' | 'billingMode' | 'optionId' | 'optionLabel' | 'optionIds' | 'textValue' | 'surchargeAmount' | 'surchargeType' | 'taxClassId' | 'linkedVariantId'>;
4596
5207
  export type CartBuyerIdentityFragment = Pick<CartBuyerIdentity, 'email' | 'phone' | 'countryCode'>;
@@ -4609,12 +5220,16 @@ export type CartAppliedGiftCardFragment = (Pick<CartAppliedGiftCard, 'id' | 'mas
4609
5220
  appliedAmount: Pick<Money, 'amount' | 'currencyCode'>;
4610
5221
  remainingBalance: Pick<Money, 'amount' | 'currencyCode'>;
4611
5222
  });
4612
- export type CartSelectedPaymentMethodFragment = Pick<PaymentMethod, 'id' | 'name' | 'provider' | 'type' | 'icon' | 'description' | 'isDefault' | 'supportedCurrencies' | 'position'>;
5223
+ export type CartSelectedPaymentMethodFragment = (Pick<PaymentMethod, 'id' | 'name' | 'provider' | 'type' | 'description' | 'isDefault' | 'supportedCurrencies' | 'position'> & {
5224
+ icon?: Maybe<Pick<Image, 'id' | 'url' | 'altText' | 'width' | 'height' | 'thumbhash'>>;
5225
+ });
4613
5226
  export type PageInfoFragment = Pick<PageInfo, 'hasNextPage' | 'hasPreviousPage' | 'startCursor' | 'endCursor'>;
4614
5227
  export type UserErrorFragment = Pick<UserError, 'message' | 'code' | 'field'>;
4615
5228
  export type CartWarningFragment = Pick<CartWarning, 'message' | 'code' | 'target'>;
4616
5229
  export type AvailableShippingMethodFragment = (Pick<AvailableShippingMethod, 'id' | 'name' | 'description' | 'deliveryType' | 'isFree' | 'sortOrder'> & {
4617
- carrier?: Maybe<Pick<ShippingCarrier, 'id' | 'name' | 'logoUrl' | 'serviceCode'>>;
5230
+ carrier?: Maybe<(Pick<ShippingCarrier, 'id' | 'name' | 'serviceCode'> & {
5231
+ logo?: Maybe<Pick<Image, 'id' | 'url' | 'altText' | 'width' | 'height' | 'thumbhash'>>;
5232
+ })>;
4618
5233
  price: Pick<Money, 'amount' | 'currencyCode'>;
4619
5234
  estimatedDelivery?: Maybe<Pick<DeliveryEstimate, 'minDays' | 'maxDays' | 'description'>>;
4620
5235
  freeShippingProgress?: Maybe<(Pick<FreeShippingProgress, 'qualifies' | 'progressPercent' | 'message'> & {
@@ -4623,7 +5238,9 @@ export type AvailableShippingMethodFragment = (Pick<AvailableShippingMethod, 'id
4623
5238
  remaining?: Maybe<Pick<Money, 'amount' | 'currencyCode'>>;
4624
5239
  })>;
4625
5240
  });
4626
- export type ShippingCarrierFragment = Pick<ShippingCarrier, 'id' | 'name' | 'logoUrl' | 'serviceCode'>;
5241
+ export type ShippingCarrierFragment = (Pick<ShippingCarrier, 'id' | 'name' | 'serviceCode'> & {
5242
+ logo?: Maybe<Pick<Image, 'id' | 'url' | 'altText' | 'width' | 'height' | 'thumbhash'>>;
5243
+ });
4627
5244
  export type DeliveryEstimateFragment = Pick<DeliveryEstimate, 'minDays' | 'maxDays' | 'description'>;
4628
5245
  export type FreeShippingProgressFragment = (Pick<FreeShippingProgress, 'qualifies' | 'progressPercent' | 'message'> & {
4629
5246
  currentAmount?: Maybe<Pick<Money, 'amount' | 'currencyCode'>>;
@@ -4645,7 +5262,7 @@ export type PaymentSessionFragment = Pick<PaymentSession, 'id' | 'orderId' | 'fl
4645
5262
  export type PaymentWarningFragment = Pick<PaymentWarning, 'message' | 'code' | 'retryHint'>;
4646
5263
  export type CustomerAccessTokenFieldsFragment = Pick<CustomerAccessToken, 'accessToken' | 'expiresAt'>;
4647
5264
  export type UserErrorFieldsFragment = Pick<UserError, 'message' | 'field' | 'code'>;
4648
- export type CustomerFieldsFragment = (Pick<Customer, 'id' | 'email' | 'firstName' | 'lastName' | 'displayName' | 'phone' | 'isEmailVerified' | 'emailMarketing' | 'orderCount' | 'createdAt' | 'updatedAt'> & {
5265
+ export type CustomerFieldsFragment = (Pick<Customer, 'id' | 'email' | 'firstName' | 'lastName' | 'displayName' | 'phone' | 'isEmailVerified' | 'emailMarketing' | 'orderCount' | 'createdAt' | 'updatedAt' | 'sessionExpiresAt'> & {
4649
5266
  defaultAddress?: Maybe<Pick<MailingAddress, 'id' | 'streetLine1' | 'streetLine2' | 'city' | 'company' | 'country' | 'countryCode' | 'firstName' | 'lastName' | 'name' | 'phone' | 'state' | 'stateCode' | 'postalCode' | 'isDefault'>>;
4650
5267
  totalSpent: Pick<Money, 'amount' | 'currencyCode'>;
4651
5268
  });