@vendure/payments-plugin 1.9.5 → 2.0.0-beta.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 (44) hide show
  1. package/package/braintree/braintree.handler.js +3 -3
  2. package/package/braintree/braintree.handler.js.map +1 -1
  3. package/package/braintree/braintree.plugin.js +2 -2
  4. package/package/braintree/braintree.plugin.js.map +1 -1
  5. package/package/braintree/braintree.resolver.js +9 -9
  6. package/package/braintree/braintree.resolver.js.map +1 -1
  7. package/package/braintree/index.js +5 -1
  8. package/package/braintree/index.js.map +1 -1
  9. package/package/braintree/types.d.ts +1 -1
  10. package/package/mollie/graphql/generated-shop-types.d.ts +1354 -1264
  11. package/package/mollie/graphql/generated-shop-types.js +323 -308
  12. package/package/mollie/graphql/generated-shop-types.js.map +1 -1
  13. package/package/mollie/index.js +5 -1
  14. package/package/mollie/index.js.map +1 -1
  15. package/package/mollie/mollie-shop-schema.js +1 -1
  16. package/package/mollie/mollie-shop-schema.js.map +1 -1
  17. package/package/mollie/mollie.controller.js +12 -8
  18. package/package/mollie/mollie.controller.js.map +1 -1
  19. package/package/mollie/mollie.handler.js +17 -6
  20. package/package/mollie/mollie.handler.js.map +1 -1
  21. package/package/mollie/mollie.helpers.js +27 -4
  22. package/package/mollie/mollie.helpers.js.map +1 -1
  23. package/package/mollie/mollie.plugin.js +1 -1
  24. package/package/mollie/mollie.plugin.js.map +1 -1
  25. package/package/mollie/mollie.resolver.js +11 -11
  26. package/package/mollie/mollie.resolver.js.map +1 -1
  27. package/package/mollie/mollie.service.d.ts +1 -1
  28. package/package/mollie/mollie.service.js +22 -16
  29. package/package/mollie/mollie.service.js.map +1 -1
  30. package/package/stripe/index.js +5 -1
  31. package/package/stripe/index.js.map +1 -1
  32. package/package/stripe/raw-body.middleware.js +1 -1
  33. package/package/stripe/raw-body.middleware.js.map +1 -1
  34. package/package/stripe/stripe.controller.js +8 -8
  35. package/package/stripe/stripe.controller.js.map +1 -1
  36. package/package/stripe/stripe.handler.js +2 -2
  37. package/package/stripe/stripe.handler.js.map +1 -1
  38. package/package/stripe/stripe.plugin.js +2 -2
  39. package/package/stripe/stripe.plugin.js.map +1 -1
  40. package/package/stripe/stripe.resolver.js +4 -4
  41. package/package/stripe/stripe.resolver.js.map +1 -1
  42. package/package/stripe/stripe.service.js +5 -4
  43. package/package/stripe/stripe.service.js.map +1 -1
  44. package/package.json +20 -8
@@ -1,17 +1,18 @@
1
- export declare type Maybe<T> = T | null;
2
- export declare type Exact<T extends {
1
+ export type Maybe<T> = T | null;
2
+ export type InputMaybe<T> = Maybe<T>;
3
+ export type Exact<T extends {
3
4
  [key: string]: unknown;
4
5
  }> = {
5
6
  [K in keyof T]: T[K];
6
7
  };
7
- export declare type MakeOptional<T, K extends keyof T> = Omit<T, K> & {
8
+ export type MakeOptional<T, K extends keyof T> = Omit<T, K> & {
8
9
  [SubKey in K]?: Maybe<T[SubKey]>;
9
10
  };
10
- export declare type MakeMaybe<T, K extends keyof T> = Omit<T, K> & {
11
+ export type MakeMaybe<T, K extends keyof T> = Omit<T, K> & {
11
12
  [SubKey in K]: Maybe<T[SubKey]>;
12
13
  };
13
14
  /** All built-in and custom scalars, mapped to their actual values */
14
- export declare type Scalars = {
15
+ export type Scalars = {
15
16
  ID: string;
16
17
  String: string;
17
18
  Boolean: boolean;
@@ -21,313 +22,318 @@ export declare type Scalars = {
21
22
  DateTime: any;
22
23
  /** The `JSON` scalar type represents JSON values as specified by [ECMA-404](http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf). */
23
24
  JSON: any;
25
+ /** The `Money` scalar type represents monetary values and supports signed double-precision fractional values as specified by [IEEE 754](https://en.wikipedia.org/wiki/IEEE_floating_point). */
26
+ Money: number;
24
27
  /** The `Upload` scalar type represents a file upload. */
25
28
  Upload: any;
26
29
  };
27
- export declare type ActiveOrderResult = Order | NoActiveOrderError;
28
- export declare type AddPaymentToOrderResult = Order | OrderPaymentStateError | IneligiblePaymentMethodError | PaymentFailedError | PaymentDeclinedError | OrderStateTransitionError | NoActiveOrderError;
29
- export declare type Address = Node & {
30
+ export type ActiveOrderResult = NoActiveOrderError | Order;
31
+ export type AddPaymentToOrderResult = IneligiblePaymentMethodError | NoActiveOrderError | Order | OrderPaymentStateError | OrderStateTransitionError | PaymentDeclinedError | PaymentFailedError;
32
+ export type Address = Node & {
30
33
  __typename?: 'Address';
31
- id: Scalars['ID'];
34
+ city?: Maybe<Scalars['String']>;
35
+ company?: Maybe<Scalars['String']>;
36
+ country: Country;
32
37
  createdAt: Scalars['DateTime'];
33
- updatedAt: Scalars['DateTime'];
38
+ customFields?: Maybe<Scalars['JSON']>;
39
+ defaultBillingAddress?: Maybe<Scalars['Boolean']>;
40
+ defaultShippingAddress?: Maybe<Scalars['Boolean']>;
34
41
  fullName?: Maybe<Scalars['String']>;
35
- company?: Maybe<Scalars['String']>;
42
+ id: Scalars['ID'];
43
+ phoneNumber?: Maybe<Scalars['String']>;
44
+ postalCode?: Maybe<Scalars['String']>;
45
+ province?: Maybe<Scalars['String']>;
36
46
  streetLine1: Scalars['String'];
37
47
  streetLine2?: Maybe<Scalars['String']>;
38
- city?: Maybe<Scalars['String']>;
39
- province?: Maybe<Scalars['String']>;
40
- postalCode?: Maybe<Scalars['String']>;
41
- country: Country;
42
- phoneNumber?: Maybe<Scalars['String']>;
43
- defaultShippingAddress?: Maybe<Scalars['Boolean']>;
44
- defaultBillingAddress?: Maybe<Scalars['Boolean']>;
45
- customFields?: Maybe<Scalars['JSON']>;
48
+ updatedAt: Scalars['DateTime'];
46
49
  };
47
- export declare type Adjustment = {
50
+ export type Adjustment = {
48
51
  __typename?: 'Adjustment';
49
52
  adjustmentSource: Scalars['String'];
50
- type: AdjustmentType;
53
+ amount: Scalars['Money'];
54
+ data?: Maybe<Scalars['JSON']>;
51
55
  description: Scalars['String'];
52
- amount: Scalars['Int'];
56
+ type: AdjustmentType;
53
57
  };
54
58
  export declare enum AdjustmentType {
55
- PROMOTION = "PROMOTION",
56
59
  DISTRIBUTED_ORDER_PROMOTION = "DISTRIBUTED_ORDER_PROMOTION",
57
- OTHER = "OTHER"
60
+ OTHER = "OTHER",
61
+ PROMOTION = "PROMOTION"
58
62
  }
59
63
  /** Returned when attempting to set the Customer for an Order when already logged in. */
60
- export declare type AlreadyLoggedInError = ErrorResult & {
64
+ export type AlreadyLoggedInError = ErrorResult & {
61
65
  __typename?: 'AlreadyLoggedInError';
62
66
  errorCode: ErrorCode;
63
67
  message: Scalars['String'];
64
68
  };
65
- export declare type ApplyCouponCodeResult = Order | CouponCodeExpiredError | CouponCodeInvalidError | CouponCodeLimitError;
66
- export declare type Asset = Node & {
69
+ export type ApplyCouponCodeResult = CouponCodeExpiredError | CouponCodeInvalidError | CouponCodeLimitError | Order;
70
+ export type Asset = Node & {
67
71
  __typename?: 'Asset';
68
- id: Scalars['ID'];
69
72
  createdAt: Scalars['DateTime'];
70
- updatedAt: Scalars['DateTime'];
71
- name: Scalars['String'];
72
- type: AssetType;
73
+ customFields?: Maybe<Scalars['JSON']>;
73
74
  fileSize: Scalars['Int'];
74
- mimeType: Scalars['String'];
75
- width: Scalars['Int'];
75
+ focalPoint?: Maybe<Coordinate>;
76
76
  height: Scalars['Int'];
77
- source: Scalars['String'];
77
+ id: Scalars['ID'];
78
+ mimeType: Scalars['String'];
79
+ name: Scalars['String'];
78
80
  preview: Scalars['String'];
79
- focalPoint?: Maybe<Coordinate>;
80
- customFields?: Maybe<Scalars['JSON']>;
81
+ source: Scalars['String'];
82
+ tags: Array<Tag>;
83
+ type: AssetType;
84
+ updatedAt: Scalars['DateTime'];
85
+ width: Scalars['Int'];
81
86
  };
82
- export declare type AssetList = PaginatedList & {
87
+ export type AssetList = PaginatedList & {
83
88
  __typename?: 'AssetList';
84
89
  items: Array<Asset>;
85
90
  totalItems: Scalars['Int'];
86
91
  };
87
92
  export declare enum AssetType {
93
+ BINARY = "BINARY",
88
94
  IMAGE = "IMAGE",
89
- VIDEO = "VIDEO",
90
- BINARY = "BINARY"
95
+ VIDEO = "VIDEO"
91
96
  }
92
- export declare type AuthenticationInput = {
93
- native?: Maybe<NativeAuthInput>;
97
+ export type AuthenticationInput = {
98
+ native?: InputMaybe<NativeAuthInput>;
94
99
  };
95
- export declare type AuthenticationMethod = Node & {
100
+ export type AuthenticationMethod = Node & {
96
101
  __typename?: 'AuthenticationMethod';
97
- id: Scalars['ID'];
98
102
  createdAt: Scalars['DateTime'];
99
- updatedAt: Scalars['DateTime'];
103
+ id: Scalars['ID'];
100
104
  strategy: Scalars['String'];
105
+ updatedAt: Scalars['DateTime'];
101
106
  };
102
- export declare type AuthenticationResult = CurrentUser | InvalidCredentialsError | NotVerifiedError;
103
- export declare type BooleanCustomFieldConfig = CustomField & {
107
+ export type AuthenticationResult = CurrentUser | InvalidCredentialsError | NotVerifiedError;
108
+ export type BooleanCustomFieldConfig = CustomField & {
104
109
  __typename?: 'BooleanCustomFieldConfig';
105
- name: Scalars['String'];
106
- type: Scalars['String'];
107
- list: Scalars['Boolean'];
108
- label?: Maybe<Array<LocalizedString>>;
109
110
  description?: Maybe<Array<LocalizedString>>;
110
- readonly?: Maybe<Scalars['Boolean']>;
111
111
  internal?: Maybe<Scalars['Boolean']>;
112
+ label?: Maybe<Array<LocalizedString>>;
113
+ list: Scalars['Boolean'];
114
+ name: Scalars['String'];
112
115
  nullable?: Maybe<Scalars['Boolean']>;
116
+ readonly?: Maybe<Scalars['Boolean']>;
117
+ type: Scalars['String'];
113
118
  ui?: Maybe<Scalars['JSON']>;
114
119
  };
115
120
  /** Operators for filtering on a list of Boolean fields */
116
- export declare type BooleanListOperators = {
121
+ export type BooleanListOperators = {
117
122
  inList: Scalars['Boolean'];
118
123
  };
119
124
  /** Operators for filtering on a Boolean field */
120
- export declare type BooleanOperators = {
121
- eq?: Maybe<Scalars['Boolean']>;
122
- isNull?: Maybe<Scalars['Boolean']>;
125
+ export type BooleanOperators = {
126
+ eq?: InputMaybe<Scalars['Boolean']>;
127
+ isNull?: InputMaybe<Scalars['Boolean']>;
123
128
  };
124
- export declare type Channel = Node & {
129
+ export type Channel = Node & {
125
130
  __typename?: 'Channel';
126
- id: Scalars['ID'];
127
- createdAt: Scalars['DateTime'];
128
- updatedAt: Scalars['DateTime'];
129
131
  code: Scalars['String'];
130
- token: Scalars['String'];
131
- defaultTaxZone?: Maybe<Zone>;
132
- defaultShippingZone?: Maybe<Zone>;
133
- defaultLanguageCode: LanguageCode;
132
+ createdAt: Scalars['DateTime'];
134
133
  currencyCode: CurrencyCode;
135
- pricesIncludeTax: Scalars['Boolean'];
136
134
  customFields?: Maybe<Scalars['JSON']>;
137
- };
138
- export declare type Collection = Node & {
139
- __typename?: 'Collection';
135
+ defaultLanguageCode: LanguageCode;
136
+ defaultShippingZone?: Maybe<Zone>;
137
+ defaultTaxZone?: Maybe<Zone>;
140
138
  id: Scalars['ID'];
141
- createdAt: Scalars['DateTime'];
139
+ pricesIncludeTax: Scalars['Boolean'];
140
+ seller?: Maybe<Seller>;
141
+ token: Scalars['String'];
142
142
  updatedAt: Scalars['DateTime'];
143
- languageCode?: Maybe<LanguageCode>;
144
- name: Scalars['String'];
145
- slug: Scalars['String'];
143
+ };
144
+ export type Collection = Node & {
145
+ __typename?: 'Collection';
146
+ assets: Array<Asset>;
146
147
  breadcrumbs: Array<CollectionBreadcrumb>;
147
- position: Scalars['Int'];
148
+ children?: Maybe<Array<Collection>>;
149
+ createdAt: Scalars['DateTime'];
150
+ customFields?: Maybe<Scalars['JSON']>;
148
151
  description: Scalars['String'];
149
152
  featuredAsset?: Maybe<Asset>;
150
- assets: Array<Asset>;
151
- parent?: Maybe<Collection>;
152
- children?: Maybe<Array<Collection>>;
153
153
  filters: Array<ConfigurableOperation>;
154
- translations: Array<CollectionTranslation>;
154
+ id: Scalars['ID'];
155
+ languageCode?: Maybe<LanguageCode>;
156
+ name: Scalars['String'];
157
+ parent?: Maybe<Collection>;
158
+ position: Scalars['Int'];
155
159
  productVariants: ProductVariantList;
156
- customFields?: Maybe<Scalars['JSON']>;
160
+ slug: Scalars['String'];
161
+ translations: Array<CollectionTranslation>;
162
+ updatedAt: Scalars['DateTime'];
157
163
  };
158
- export declare type CollectionProductVariantsArgs = {
159
- options?: Maybe<ProductVariantListOptions>;
164
+ export type CollectionProductVariantsArgs = {
165
+ options?: InputMaybe<ProductVariantListOptions>;
160
166
  };
161
- export declare type CollectionBreadcrumb = {
167
+ export type CollectionBreadcrumb = {
162
168
  __typename?: 'CollectionBreadcrumb';
163
169
  id: Scalars['ID'];
164
170
  name: Scalars['String'];
165
171
  slug: Scalars['String'];
166
172
  };
167
- export declare type CollectionFilterParameter = {
168
- id?: Maybe<IdOperators>;
169
- createdAt?: Maybe<DateOperators>;
170
- updatedAt?: Maybe<DateOperators>;
171
- languageCode?: Maybe<StringOperators>;
172
- name?: Maybe<StringOperators>;
173
- slug?: Maybe<StringOperators>;
174
- position?: Maybe<NumberOperators>;
175
- description?: Maybe<StringOperators>;
176
- };
177
- export declare type CollectionList = PaginatedList & {
173
+ export type CollectionFilterParameter = {
174
+ createdAt?: InputMaybe<DateOperators>;
175
+ description?: InputMaybe<StringOperators>;
176
+ id?: InputMaybe<IdOperators>;
177
+ languageCode?: InputMaybe<StringOperators>;
178
+ name?: InputMaybe<StringOperators>;
179
+ position?: InputMaybe<NumberOperators>;
180
+ slug?: InputMaybe<StringOperators>;
181
+ updatedAt?: InputMaybe<DateOperators>;
182
+ };
183
+ export type CollectionList = PaginatedList & {
178
184
  __typename?: 'CollectionList';
179
185
  items: Array<Collection>;
180
186
  totalItems: Scalars['Int'];
181
187
  };
182
- export declare type CollectionListOptions = {
183
- /** Skips the first n results, for use in pagination */
184
- skip?: Maybe<Scalars['Int']>;
185
- /** Takes n results, for use in pagination */
186
- take?: Maybe<Scalars['Int']>;
187
- /** Specifies which properties to sort the results by */
188
- sort?: Maybe<CollectionSortParameter>;
188
+ export type CollectionListOptions = {
189
189
  /** Allows the results to be filtered */
190
- filter?: Maybe<CollectionFilterParameter>;
190
+ filter?: InputMaybe<CollectionFilterParameter>;
191
191
  /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */
192
- filterOperator?: Maybe<LogicalOperator>;
192
+ filterOperator?: InputMaybe<LogicalOperator>;
193
+ /** Skips the first n results, for use in pagination */
194
+ skip?: InputMaybe<Scalars['Int']>;
195
+ /** Specifies which properties to sort the results by */
196
+ sort?: InputMaybe<CollectionSortParameter>;
197
+ /** Takes n results, for use in pagination */
198
+ take?: InputMaybe<Scalars['Int']>;
193
199
  };
194
200
  /**
195
201
  * Which Collections are present in the products returned
196
202
  * by the search, and in what quantity.
197
203
  */
198
- export declare type CollectionResult = {
204
+ export type CollectionResult = {
199
205
  __typename?: 'CollectionResult';
200
206
  collection: Collection;
201
207
  count: Scalars['Int'];
202
208
  };
203
- export declare type CollectionSortParameter = {
204
- id?: Maybe<SortOrder>;
205
- createdAt?: Maybe<SortOrder>;
206
- updatedAt?: Maybe<SortOrder>;
207
- name?: Maybe<SortOrder>;
208
- slug?: Maybe<SortOrder>;
209
- position?: Maybe<SortOrder>;
210
- description?: Maybe<SortOrder>;
209
+ export type CollectionSortParameter = {
210
+ createdAt?: InputMaybe<SortOrder>;
211
+ description?: InputMaybe<SortOrder>;
212
+ id?: InputMaybe<SortOrder>;
213
+ name?: InputMaybe<SortOrder>;
214
+ position?: InputMaybe<SortOrder>;
215
+ slug?: InputMaybe<SortOrder>;
216
+ updatedAt?: InputMaybe<SortOrder>;
211
217
  };
212
- export declare type CollectionTranslation = {
218
+ export type CollectionTranslation = {
213
219
  __typename?: 'CollectionTranslation';
214
- id: Scalars['ID'];
215
220
  createdAt: Scalars['DateTime'];
216
- updatedAt: Scalars['DateTime'];
221
+ description: Scalars['String'];
222
+ id: Scalars['ID'];
217
223
  languageCode: LanguageCode;
218
224
  name: Scalars['String'];
219
225
  slug: Scalars['String'];
220
- description: Scalars['String'];
226
+ updatedAt: Scalars['DateTime'];
221
227
  };
222
- export declare type ConfigArg = {
228
+ export type ConfigArg = {
223
229
  __typename?: 'ConfigArg';
224
230
  name: Scalars['String'];
225
231
  value: Scalars['String'];
226
232
  };
227
- export declare type ConfigArgDefinition = {
233
+ export type ConfigArgDefinition = {
228
234
  __typename?: 'ConfigArgDefinition';
229
- name: Scalars['String'];
230
- type: Scalars['String'];
231
- list: Scalars['Boolean'];
232
- required: Scalars['Boolean'];
233
235
  defaultValue?: Maybe<Scalars['JSON']>;
234
- label?: Maybe<Scalars['String']>;
235
236
  description?: Maybe<Scalars['String']>;
237
+ label?: Maybe<Scalars['String']>;
238
+ list: Scalars['Boolean'];
239
+ name: Scalars['String'];
240
+ required: Scalars['Boolean'];
241
+ type: Scalars['String'];
236
242
  ui?: Maybe<Scalars['JSON']>;
237
243
  };
238
- export declare type ConfigArgInput = {
244
+ export type ConfigArgInput = {
239
245
  name: Scalars['String'];
240
246
  /** A JSON stringified representation of the actual value */
241
247
  value: Scalars['String'];
242
248
  };
243
- export declare type ConfigurableOperation = {
249
+ export type ConfigurableOperation = {
244
250
  __typename?: 'ConfigurableOperation';
245
- code: Scalars['String'];
246
251
  args: Array<ConfigArg>;
252
+ code: Scalars['String'];
247
253
  };
248
- export declare type ConfigurableOperationDefinition = {
254
+ export type ConfigurableOperationDefinition = {
249
255
  __typename?: 'ConfigurableOperationDefinition';
250
- code: Scalars['String'];
251
256
  args: Array<ConfigArgDefinition>;
257
+ code: Scalars['String'];
252
258
  description: Scalars['String'];
253
259
  };
254
- export declare type ConfigurableOperationInput = {
255
- code: Scalars['String'];
260
+ export type ConfigurableOperationInput = {
256
261
  arguments: Array<ConfigArgInput>;
262
+ code: Scalars['String'];
257
263
  };
258
- export declare type Coordinate = {
264
+ export type Coordinate = {
259
265
  __typename?: 'Coordinate';
260
266
  x: Scalars['Float'];
261
267
  y: Scalars['Float'];
262
268
  };
263
- export declare type Country = Node & {
269
+ export type Country = Node & {
264
270
  __typename?: 'Country';
265
- id: Scalars['ID'];
271
+ code: Scalars['String'];
266
272
  createdAt: Scalars['DateTime'];
267
- updatedAt: Scalars['DateTime'];
273
+ customFields?: Maybe<Scalars['JSON']>;
274
+ enabled: Scalars['Boolean'];
275
+ id: Scalars['ID'];
268
276
  languageCode: LanguageCode;
269
- code: Scalars['String'];
270
277
  name: Scalars['String'];
271
- enabled: Scalars['Boolean'];
272
278
  translations: Array<CountryTranslation>;
273
- customFields?: Maybe<Scalars['JSON']>;
279
+ updatedAt: Scalars['DateTime'];
274
280
  };
275
- export declare type CountryList = PaginatedList & {
281
+ export type CountryList = PaginatedList & {
276
282
  __typename?: 'CountryList';
277
283
  items: Array<Country>;
278
284
  totalItems: Scalars['Int'];
279
285
  };
280
- export declare type CountryTranslation = {
286
+ export type CountryTranslation = {
281
287
  __typename?: 'CountryTranslation';
282
- id: Scalars['ID'];
283
288
  createdAt: Scalars['DateTime'];
284
- updatedAt: Scalars['DateTime'];
289
+ id: Scalars['ID'];
285
290
  languageCode: LanguageCode;
286
291
  name: Scalars['String'];
292
+ updatedAt: Scalars['DateTime'];
287
293
  };
288
294
  /** Returned if the provided coupon code is invalid */
289
- export declare type CouponCodeExpiredError = ErrorResult & {
295
+ export type CouponCodeExpiredError = ErrorResult & {
290
296
  __typename?: 'CouponCodeExpiredError';
297
+ couponCode: Scalars['String'];
291
298
  errorCode: ErrorCode;
292
299
  message: Scalars['String'];
293
- couponCode: Scalars['String'];
294
300
  };
295
301
  /** Returned if the provided coupon code is invalid */
296
- export declare type CouponCodeInvalidError = ErrorResult & {
302
+ export type CouponCodeInvalidError = ErrorResult & {
297
303
  __typename?: 'CouponCodeInvalidError';
304
+ couponCode: Scalars['String'];
298
305
  errorCode: ErrorCode;
299
306
  message: Scalars['String'];
300
- couponCode: Scalars['String'];
301
307
  };
302
308
  /** Returned if the provided coupon code is invalid */
303
- export declare type CouponCodeLimitError = ErrorResult & {
309
+ export type CouponCodeLimitError = ErrorResult & {
304
310
  __typename?: 'CouponCodeLimitError';
305
- errorCode: ErrorCode;
306
- message: Scalars['String'];
307
311
  couponCode: Scalars['String'];
312
+ errorCode: ErrorCode;
308
313
  limit: Scalars['Int'];
314
+ message: Scalars['String'];
309
315
  };
310
- export declare type CreateAddressInput = {
311
- fullName?: Maybe<Scalars['String']>;
312
- company?: Maybe<Scalars['String']>;
313
- streetLine1: Scalars['String'];
314
- streetLine2?: Maybe<Scalars['String']>;
315
- city?: Maybe<Scalars['String']>;
316
- province?: Maybe<Scalars['String']>;
317
- postalCode?: Maybe<Scalars['String']>;
316
+ export type CreateAddressInput = {
317
+ city?: InputMaybe<Scalars['String']>;
318
+ company?: InputMaybe<Scalars['String']>;
318
319
  countryCode: Scalars['String'];
319
- phoneNumber?: Maybe<Scalars['String']>;
320
- defaultShippingAddress?: Maybe<Scalars['Boolean']>;
321
- defaultBillingAddress?: Maybe<Scalars['Boolean']>;
322
- customFields?: Maybe<Scalars['JSON']>;
320
+ customFields?: InputMaybe<Scalars['JSON']>;
321
+ defaultBillingAddress?: InputMaybe<Scalars['Boolean']>;
322
+ defaultShippingAddress?: InputMaybe<Scalars['Boolean']>;
323
+ fullName?: InputMaybe<Scalars['String']>;
324
+ phoneNumber?: InputMaybe<Scalars['String']>;
325
+ postalCode?: InputMaybe<Scalars['String']>;
326
+ province?: InputMaybe<Scalars['String']>;
327
+ streetLine1: Scalars['String'];
328
+ streetLine2?: InputMaybe<Scalars['String']>;
323
329
  };
324
- export declare type CreateCustomerInput = {
325
- title?: Maybe<Scalars['String']>;
330
+ export type CreateCustomerInput = {
331
+ customFields?: InputMaybe<Scalars['JSON']>;
332
+ emailAddress: Scalars['String'];
326
333
  firstName: Scalars['String'];
327
334
  lastName: Scalars['String'];
328
- phoneNumber?: Maybe<Scalars['String']>;
329
- emailAddress: Scalars['String'];
330
- customFields?: Maybe<Scalars['JSON']>;
335
+ phoneNumber?: InputMaybe<Scalars['String']>;
336
+ title?: InputMaybe<Scalars['String']>;
331
337
  };
332
338
  /**
333
339
  * @description
@@ -651,137 +657,137 @@ export declare enum CurrencyCode {
651
657
  /** Zimbabwean dollar */
652
658
  ZWL = "ZWL"
653
659
  }
654
- export declare type CurrentUser = {
660
+ export type CurrentUser = {
655
661
  __typename?: 'CurrentUser';
662
+ channels: Array<CurrentUserChannel>;
656
663
  id: Scalars['ID'];
657
664
  identifier: Scalars['String'];
658
- channels: Array<CurrentUserChannel>;
659
665
  };
660
- export declare type CurrentUserChannel = {
666
+ export type CurrentUserChannel = {
661
667
  __typename?: 'CurrentUserChannel';
662
- id: Scalars['ID'];
663
- token: Scalars['String'];
664
668
  code: Scalars['String'];
669
+ id: Scalars['ID'];
665
670
  permissions: Array<Permission>;
671
+ token: Scalars['String'];
666
672
  };
667
- export declare type CustomField = {
668
- name: Scalars['String'];
669
- type: Scalars['String'];
670
- list: Scalars['Boolean'];
671
- label?: Maybe<Array<LocalizedString>>;
673
+ export type CustomField = {
672
674
  description?: Maybe<Array<LocalizedString>>;
673
- readonly?: Maybe<Scalars['Boolean']>;
674
675
  internal?: Maybe<Scalars['Boolean']>;
676
+ label?: Maybe<Array<LocalizedString>>;
677
+ list: Scalars['Boolean'];
678
+ name: Scalars['String'];
675
679
  nullable?: Maybe<Scalars['Boolean']>;
680
+ readonly?: Maybe<Scalars['Boolean']>;
681
+ type: Scalars['String'];
676
682
  ui?: Maybe<Scalars['JSON']>;
677
683
  };
678
- export declare type CustomFieldConfig = StringCustomFieldConfig | LocaleStringCustomFieldConfig | IntCustomFieldConfig | FloatCustomFieldConfig | BooleanCustomFieldConfig | DateTimeCustomFieldConfig | RelationCustomFieldConfig | TextCustomFieldConfig;
679
- export declare type Customer = Node & {
684
+ export type CustomFieldConfig = BooleanCustomFieldConfig | DateTimeCustomFieldConfig | FloatCustomFieldConfig | IntCustomFieldConfig | LocaleStringCustomFieldConfig | LocaleTextCustomFieldConfig | RelationCustomFieldConfig | StringCustomFieldConfig | TextCustomFieldConfig;
685
+ export type Customer = Node & {
680
686
  __typename?: 'Customer';
681
- id: Scalars['ID'];
687
+ addresses?: Maybe<Array<Address>>;
682
688
  createdAt: Scalars['DateTime'];
683
- updatedAt: Scalars['DateTime'];
684
- title?: Maybe<Scalars['String']>;
689
+ customFields?: Maybe<Scalars['JSON']>;
690
+ emailAddress: Scalars['String'];
685
691
  firstName: Scalars['String'];
692
+ id: Scalars['ID'];
686
693
  lastName: Scalars['String'];
687
- phoneNumber?: Maybe<Scalars['String']>;
688
- emailAddress: Scalars['String'];
689
- addresses?: Maybe<Array<Address>>;
690
694
  orders: OrderList;
695
+ phoneNumber?: Maybe<Scalars['String']>;
696
+ title?: Maybe<Scalars['String']>;
697
+ updatedAt: Scalars['DateTime'];
691
698
  user?: Maybe<User>;
692
- customFields?: Maybe<Scalars['JSON']>;
693
699
  };
694
- export declare type CustomerOrdersArgs = {
695
- options?: Maybe<OrderListOptions>;
700
+ export type CustomerOrdersArgs = {
701
+ options?: InputMaybe<OrderListOptions>;
696
702
  };
697
- export declare type CustomerFilterParameter = {
698
- id?: Maybe<IdOperators>;
699
- createdAt?: Maybe<DateOperators>;
700
- updatedAt?: Maybe<DateOperators>;
701
- title?: Maybe<StringOperators>;
702
- firstName?: Maybe<StringOperators>;
703
- lastName?: Maybe<StringOperators>;
704
- phoneNumber?: Maybe<StringOperators>;
705
- emailAddress?: Maybe<StringOperators>;
703
+ export type CustomerFilterParameter = {
704
+ createdAt?: InputMaybe<DateOperators>;
705
+ emailAddress?: InputMaybe<StringOperators>;
706
+ firstName?: InputMaybe<StringOperators>;
707
+ id?: InputMaybe<IdOperators>;
708
+ lastName?: InputMaybe<StringOperators>;
709
+ phoneNumber?: InputMaybe<StringOperators>;
710
+ title?: InputMaybe<StringOperators>;
711
+ updatedAt?: InputMaybe<DateOperators>;
706
712
  };
707
- export declare type CustomerGroup = Node & {
713
+ export type CustomerGroup = Node & {
708
714
  __typename?: 'CustomerGroup';
709
- id: Scalars['ID'];
710
715
  createdAt: Scalars['DateTime'];
711
- updatedAt: Scalars['DateTime'];
712
- name: Scalars['String'];
713
- customers: CustomerList;
714
716
  customFields?: Maybe<Scalars['JSON']>;
717
+ customers: CustomerList;
718
+ id: Scalars['ID'];
719
+ name: Scalars['String'];
720
+ updatedAt: Scalars['DateTime'];
715
721
  };
716
- export declare type CustomerGroupCustomersArgs = {
717
- options?: Maybe<CustomerListOptions>;
722
+ export type CustomerGroupCustomersArgs = {
723
+ options?: InputMaybe<CustomerListOptions>;
718
724
  };
719
- export declare type CustomerList = PaginatedList & {
725
+ export type CustomerList = PaginatedList & {
720
726
  __typename?: 'CustomerList';
721
727
  items: Array<Customer>;
722
728
  totalItems: Scalars['Int'];
723
729
  };
724
- export declare type CustomerListOptions = {
725
- /** Skips the first n results, for use in pagination */
726
- skip?: Maybe<Scalars['Int']>;
727
- /** Takes n results, for use in pagination */
728
- take?: Maybe<Scalars['Int']>;
729
- /** Specifies which properties to sort the results by */
730
- sort?: Maybe<CustomerSortParameter>;
730
+ export type CustomerListOptions = {
731
731
  /** Allows the results to be filtered */
732
- filter?: Maybe<CustomerFilterParameter>;
732
+ filter?: InputMaybe<CustomerFilterParameter>;
733
733
  /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */
734
- filterOperator?: Maybe<LogicalOperator>;
735
- };
736
- export declare type CustomerSortParameter = {
737
- id?: Maybe<SortOrder>;
738
- createdAt?: Maybe<SortOrder>;
739
- updatedAt?: Maybe<SortOrder>;
740
- title?: Maybe<SortOrder>;
741
- firstName?: Maybe<SortOrder>;
742
- lastName?: Maybe<SortOrder>;
743
- phoneNumber?: Maybe<SortOrder>;
744
- emailAddress?: Maybe<SortOrder>;
734
+ filterOperator?: InputMaybe<LogicalOperator>;
735
+ /** Skips the first n results, for use in pagination */
736
+ skip?: InputMaybe<Scalars['Int']>;
737
+ /** Specifies which properties to sort the results by */
738
+ sort?: InputMaybe<CustomerSortParameter>;
739
+ /** Takes n results, for use in pagination */
740
+ take?: InputMaybe<Scalars['Int']>;
741
+ };
742
+ export type CustomerSortParameter = {
743
+ createdAt?: InputMaybe<SortOrder>;
744
+ emailAddress?: InputMaybe<SortOrder>;
745
+ firstName?: InputMaybe<SortOrder>;
746
+ id?: InputMaybe<SortOrder>;
747
+ lastName?: InputMaybe<SortOrder>;
748
+ phoneNumber?: InputMaybe<SortOrder>;
749
+ title?: InputMaybe<SortOrder>;
750
+ updatedAt?: InputMaybe<SortOrder>;
745
751
  };
746
752
  /** Operators for filtering on a list of Date fields */
747
- export declare type DateListOperators = {
753
+ export type DateListOperators = {
748
754
  inList: Scalars['DateTime'];
749
755
  };
750
756
  /** Operators for filtering on a DateTime field */
751
- export declare type DateOperators = {
752
- eq?: Maybe<Scalars['DateTime']>;
753
- before?: Maybe<Scalars['DateTime']>;
754
- after?: Maybe<Scalars['DateTime']>;
755
- between?: Maybe<DateRange>;
756
- isNull?: Maybe<Scalars['Boolean']>;
757
- };
758
- export declare type DateRange = {
759
- start: Scalars['DateTime'];
757
+ export type DateOperators = {
758
+ after?: InputMaybe<Scalars['DateTime']>;
759
+ before?: InputMaybe<Scalars['DateTime']>;
760
+ between?: InputMaybe<DateRange>;
761
+ eq?: InputMaybe<Scalars['DateTime']>;
762
+ isNull?: InputMaybe<Scalars['Boolean']>;
763
+ };
764
+ export type DateRange = {
760
765
  end: Scalars['DateTime'];
766
+ start: Scalars['DateTime'];
761
767
  };
762
768
  /**
763
769
  * Expects the same validation formats as the `<input type="datetime-local">` HTML element.
764
770
  * See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/datetime-local#Additional_attributes
765
771
  */
766
- export declare type DateTimeCustomFieldConfig = CustomField & {
772
+ export type DateTimeCustomFieldConfig = CustomField & {
767
773
  __typename?: 'DateTimeCustomFieldConfig';
768
- name: Scalars['String'];
769
- type: Scalars['String'];
770
- list: Scalars['Boolean'];
771
- label?: Maybe<Array<LocalizedString>>;
772
774
  description?: Maybe<Array<LocalizedString>>;
773
- readonly?: Maybe<Scalars['Boolean']>;
774
775
  internal?: Maybe<Scalars['Boolean']>;
775
- nullable?: Maybe<Scalars['Boolean']>;
776
- min?: Maybe<Scalars['String']>;
776
+ label?: Maybe<Array<LocalizedString>>;
777
+ list: Scalars['Boolean'];
777
778
  max?: Maybe<Scalars['String']>;
779
+ min?: Maybe<Scalars['String']>;
780
+ name: Scalars['String'];
781
+ nullable?: Maybe<Scalars['Boolean']>;
782
+ readonly?: Maybe<Scalars['Boolean']>;
778
783
  step?: Maybe<Scalars['Int']>;
784
+ type: Scalars['String'];
779
785
  ui?: Maybe<Scalars['JSON']>;
780
786
  };
781
- export declare type DeletionResponse = {
787
+ export type DeletionResponse = {
782
788
  __typename?: 'DeletionResponse';
783
- result: DeletionResult;
784
789
  message?: Maybe<Scalars['String']>;
790
+ result: DeletionResult;
785
791
  };
786
792
  export declare enum DeletionResult {
787
793
  /** The entity was successfully deleted */
@@ -789,118 +795,119 @@ export declare enum DeletionResult {
789
795
  /** Deletion did not take place, reason given in message */
790
796
  NOT_DELETED = "NOT_DELETED"
791
797
  }
792
- export declare type Discount = {
798
+ export type Discount = {
793
799
  __typename?: 'Discount';
794
800
  adjustmentSource: Scalars['String'];
795
- type: AdjustmentType;
801
+ amount: Scalars['Money'];
802
+ amountWithTax: Scalars['Money'];
796
803
  description: Scalars['String'];
797
- amount: Scalars['Int'];
798
- amountWithTax: Scalars['Int'];
804
+ type: AdjustmentType;
799
805
  };
800
806
  /** Returned when attempting to create a Customer with an email address already registered to an existing User. */
801
- export declare type EmailAddressConflictError = ErrorResult & {
807
+ export type EmailAddressConflictError = ErrorResult & {
802
808
  __typename?: 'EmailAddressConflictError';
803
809
  errorCode: ErrorCode;
804
810
  message: Scalars['String'];
805
811
  };
806
812
  export declare enum ErrorCode {
807
- UNKNOWN_ERROR = "UNKNOWN_ERROR",
808
- NATIVE_AUTH_STRATEGY_ERROR = "NATIVE_AUTH_STRATEGY_ERROR",
809
- INVALID_CREDENTIALS_ERROR = "INVALID_CREDENTIALS_ERROR",
810
- ORDER_STATE_TRANSITION_ERROR = "ORDER_STATE_TRANSITION_ERROR",
811
- EMAIL_ADDRESS_CONFLICT_ERROR = "EMAIL_ADDRESS_CONFLICT_ERROR",
812
- ORDER_LIMIT_ERROR = "ORDER_LIMIT_ERROR",
813
- NEGATIVE_QUANTITY_ERROR = "NEGATIVE_QUANTITY_ERROR",
814
- INSUFFICIENT_STOCK_ERROR = "INSUFFICIENT_STOCK_ERROR",
815
- COUPON_CODE_INVALID_ERROR = "COUPON_CODE_INVALID_ERROR",
813
+ ALREADY_LOGGED_IN_ERROR = "ALREADY_LOGGED_IN_ERROR",
816
814
  COUPON_CODE_EXPIRED_ERROR = "COUPON_CODE_EXPIRED_ERROR",
815
+ COUPON_CODE_INVALID_ERROR = "COUPON_CODE_INVALID_ERROR",
817
816
  COUPON_CODE_LIMIT_ERROR = "COUPON_CODE_LIMIT_ERROR",
818
- ORDER_MODIFICATION_ERROR = "ORDER_MODIFICATION_ERROR",
817
+ EMAIL_ADDRESS_CONFLICT_ERROR = "EMAIL_ADDRESS_CONFLICT_ERROR",
818
+ GUEST_CHECKOUT_ERROR = "GUEST_CHECKOUT_ERROR",
819
+ IDENTIFIER_CHANGE_TOKEN_EXPIRED_ERROR = "IDENTIFIER_CHANGE_TOKEN_EXPIRED_ERROR",
820
+ IDENTIFIER_CHANGE_TOKEN_INVALID_ERROR = "IDENTIFIER_CHANGE_TOKEN_INVALID_ERROR",
821
+ INELIGIBLE_PAYMENT_METHOD_ERROR = "INELIGIBLE_PAYMENT_METHOD_ERROR",
819
822
  INELIGIBLE_SHIPPING_METHOD_ERROR = "INELIGIBLE_SHIPPING_METHOD_ERROR",
823
+ INSUFFICIENT_STOCK_ERROR = "INSUFFICIENT_STOCK_ERROR",
824
+ INVALID_CREDENTIALS_ERROR = "INVALID_CREDENTIALS_ERROR",
825
+ MISSING_PASSWORD_ERROR = "MISSING_PASSWORD_ERROR",
826
+ NATIVE_AUTH_STRATEGY_ERROR = "NATIVE_AUTH_STRATEGY_ERROR",
827
+ NEGATIVE_QUANTITY_ERROR = "NEGATIVE_QUANTITY_ERROR",
828
+ NOT_VERIFIED_ERROR = "NOT_VERIFIED_ERROR",
820
829
  NO_ACTIVE_ORDER_ERROR = "NO_ACTIVE_ORDER_ERROR",
830
+ ORDER_LIMIT_ERROR = "ORDER_LIMIT_ERROR",
831
+ ORDER_MODIFICATION_ERROR = "ORDER_MODIFICATION_ERROR",
821
832
  ORDER_PAYMENT_STATE_ERROR = "ORDER_PAYMENT_STATE_ERROR",
822
- INELIGIBLE_PAYMENT_METHOD_ERROR = "INELIGIBLE_PAYMENT_METHOD_ERROR",
823
- PAYMENT_FAILED_ERROR = "PAYMENT_FAILED_ERROR",
824
- PAYMENT_DECLINED_ERROR = "PAYMENT_DECLINED_ERROR",
825
- ALREADY_LOGGED_IN_ERROR = "ALREADY_LOGGED_IN_ERROR",
826
- MISSING_PASSWORD_ERROR = "MISSING_PASSWORD_ERROR",
827
- PASSWORD_VALIDATION_ERROR = "PASSWORD_VALIDATION_ERROR",
833
+ ORDER_STATE_TRANSITION_ERROR = "ORDER_STATE_TRANSITION_ERROR",
828
834
  PASSWORD_ALREADY_SET_ERROR = "PASSWORD_ALREADY_SET_ERROR",
829
- VERIFICATION_TOKEN_INVALID_ERROR = "VERIFICATION_TOKEN_INVALID_ERROR",
830
- VERIFICATION_TOKEN_EXPIRED_ERROR = "VERIFICATION_TOKEN_EXPIRED_ERROR",
831
- IDENTIFIER_CHANGE_TOKEN_INVALID_ERROR = "IDENTIFIER_CHANGE_TOKEN_INVALID_ERROR",
832
- IDENTIFIER_CHANGE_TOKEN_EXPIRED_ERROR = "IDENTIFIER_CHANGE_TOKEN_EXPIRED_ERROR",
833
- PASSWORD_RESET_TOKEN_INVALID_ERROR = "PASSWORD_RESET_TOKEN_INVALID_ERROR",
834
835
  PASSWORD_RESET_TOKEN_EXPIRED_ERROR = "PASSWORD_RESET_TOKEN_EXPIRED_ERROR",
835
- NOT_VERIFIED_ERROR = "NOT_VERIFIED_ERROR"
836
+ PASSWORD_RESET_TOKEN_INVALID_ERROR = "PASSWORD_RESET_TOKEN_INVALID_ERROR",
837
+ PASSWORD_VALIDATION_ERROR = "PASSWORD_VALIDATION_ERROR",
838
+ PAYMENT_DECLINED_ERROR = "PAYMENT_DECLINED_ERROR",
839
+ PAYMENT_FAILED_ERROR = "PAYMENT_FAILED_ERROR",
840
+ UNKNOWN_ERROR = "UNKNOWN_ERROR",
841
+ VERIFICATION_TOKEN_EXPIRED_ERROR = "VERIFICATION_TOKEN_EXPIRED_ERROR",
842
+ VERIFICATION_TOKEN_INVALID_ERROR = "VERIFICATION_TOKEN_INVALID_ERROR"
836
843
  }
837
- export declare type ErrorResult = {
844
+ export type ErrorResult = {
838
845
  errorCode: ErrorCode;
839
846
  message: Scalars['String'];
840
847
  };
841
- export declare type Facet = Node & {
848
+ export type Facet = Node & {
842
849
  __typename?: 'Facet';
843
- id: Scalars['ID'];
850
+ code: Scalars['String'];
844
851
  createdAt: Scalars['DateTime'];
845
- updatedAt: Scalars['DateTime'];
852
+ customFields?: Maybe<Scalars['JSON']>;
853
+ id: Scalars['ID'];
846
854
  languageCode: LanguageCode;
847
855
  name: Scalars['String'];
848
- code: Scalars['String'];
849
- values: Array<FacetValue>;
850
856
  translations: Array<FacetTranslation>;
851
- customFields?: Maybe<Scalars['JSON']>;
857
+ updatedAt: Scalars['DateTime'];
858
+ values: Array<FacetValue>;
852
859
  };
853
- export declare type FacetFilterParameter = {
854
- id?: Maybe<IdOperators>;
855
- createdAt?: Maybe<DateOperators>;
856
- updatedAt?: Maybe<DateOperators>;
857
- languageCode?: Maybe<StringOperators>;
858
- name?: Maybe<StringOperators>;
859
- code?: Maybe<StringOperators>;
860
+ export type FacetFilterParameter = {
861
+ code?: InputMaybe<StringOperators>;
862
+ createdAt?: InputMaybe<DateOperators>;
863
+ id?: InputMaybe<IdOperators>;
864
+ languageCode?: InputMaybe<StringOperators>;
865
+ name?: InputMaybe<StringOperators>;
866
+ updatedAt?: InputMaybe<DateOperators>;
860
867
  };
861
- export declare type FacetList = PaginatedList & {
868
+ export type FacetList = PaginatedList & {
862
869
  __typename?: 'FacetList';
863
870
  items: Array<Facet>;
864
871
  totalItems: Scalars['Int'];
865
872
  };
866
- export declare type FacetListOptions = {
867
- /** Skips the first n results, for use in pagination */
868
- skip?: Maybe<Scalars['Int']>;
869
- /** Takes n results, for use in pagination */
870
- take?: Maybe<Scalars['Int']>;
871
- /** Specifies which properties to sort the results by */
872
- sort?: Maybe<FacetSortParameter>;
873
+ export type FacetListOptions = {
873
874
  /** Allows the results to be filtered */
874
- filter?: Maybe<FacetFilterParameter>;
875
+ filter?: InputMaybe<FacetFilterParameter>;
875
876
  /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */
876
- filterOperator?: Maybe<LogicalOperator>;
877
+ filterOperator?: InputMaybe<LogicalOperator>;
878
+ /** Skips the first n results, for use in pagination */
879
+ skip?: InputMaybe<Scalars['Int']>;
880
+ /** Specifies which properties to sort the results by */
881
+ sort?: InputMaybe<FacetSortParameter>;
882
+ /** Takes n results, for use in pagination */
883
+ take?: InputMaybe<Scalars['Int']>;
877
884
  };
878
- export declare type FacetSortParameter = {
879
- id?: Maybe<SortOrder>;
880
- createdAt?: Maybe<SortOrder>;
881
- updatedAt?: Maybe<SortOrder>;
882
- name?: Maybe<SortOrder>;
883
- code?: Maybe<SortOrder>;
885
+ export type FacetSortParameter = {
886
+ code?: InputMaybe<SortOrder>;
887
+ createdAt?: InputMaybe<SortOrder>;
888
+ id?: InputMaybe<SortOrder>;
889
+ name?: InputMaybe<SortOrder>;
890
+ updatedAt?: InputMaybe<SortOrder>;
884
891
  };
885
- export declare type FacetTranslation = {
892
+ export type FacetTranslation = {
886
893
  __typename?: 'FacetTranslation';
887
- id: Scalars['ID'];
888
894
  createdAt: Scalars['DateTime'];
889
- updatedAt: Scalars['DateTime'];
895
+ id: Scalars['ID'];
890
896
  languageCode: LanguageCode;
891
897
  name: Scalars['String'];
898
+ updatedAt: Scalars['DateTime'];
892
899
  };
893
- export declare type FacetValue = Node & {
900
+ export type FacetValue = Node & {
894
901
  __typename?: 'FacetValue';
895
- id: Scalars['ID'];
902
+ code: Scalars['String'];
896
903
  createdAt: Scalars['DateTime'];
897
- updatedAt: Scalars['DateTime'];
898
- languageCode: LanguageCode;
904
+ customFields?: Maybe<Scalars['JSON']>;
899
905
  facet: Facet;
906
+ id: Scalars['ID'];
907
+ languageCode: LanguageCode;
900
908
  name: Scalars['String'];
901
- code: Scalars['String'];
902
909
  translations: Array<FacetValueTranslation>;
903
- customFields?: Maybe<Scalars['JSON']>;
910
+ updatedAt: Scalars['DateTime'];
904
911
  };
905
912
  /**
906
913
  * Used to construct boolean expressions for filtering search results
@@ -910,143 +917,154 @@ export declare type FacetValue = Node & {
910
917
  * * ID=1 AND ID=2: `{ facetValueFilters: [{ and: 1 }, { and: 2 }] }`
911
918
  * * ID=1 AND (ID=2 OR ID=3): `{ facetValueFilters: [{ and: 1 }, { or: [2,3] }] }`
912
919
  */
913
- export declare type FacetValueFilterInput = {
914
- and?: Maybe<Scalars['ID']>;
915
- or?: Maybe<Array<Scalars['ID']>>;
920
+ export type FacetValueFilterInput = {
921
+ and?: InputMaybe<Scalars['ID']>;
922
+ or?: InputMaybe<Array<Scalars['ID']>>;
916
923
  };
917
924
  /**
918
925
  * Which FacetValues are present in the products returned
919
926
  * by the search, and in what quantity.
920
927
  */
921
- export declare type FacetValueResult = {
928
+ export type FacetValueResult = {
922
929
  __typename?: 'FacetValueResult';
923
- facetValue: FacetValue;
924
930
  count: Scalars['Int'];
931
+ facetValue: FacetValue;
925
932
  };
926
- export declare type FacetValueTranslation = {
933
+ export type FacetValueTranslation = {
927
934
  __typename?: 'FacetValueTranslation';
928
- id: Scalars['ID'];
929
935
  createdAt: Scalars['DateTime'];
930
- updatedAt: Scalars['DateTime'];
936
+ id: Scalars['ID'];
931
937
  languageCode: LanguageCode;
932
938
  name: Scalars['String'];
939
+ updatedAt: Scalars['DateTime'];
933
940
  };
934
- export declare type FloatCustomFieldConfig = CustomField & {
941
+ export type FloatCustomFieldConfig = CustomField & {
935
942
  __typename?: 'FloatCustomFieldConfig';
936
- name: Scalars['String'];
937
- type: Scalars['String'];
938
- list: Scalars['Boolean'];
939
- label?: Maybe<Array<LocalizedString>>;
940
943
  description?: Maybe<Array<LocalizedString>>;
941
- readonly?: Maybe<Scalars['Boolean']>;
942
944
  internal?: Maybe<Scalars['Boolean']>;
943
- nullable?: Maybe<Scalars['Boolean']>;
944
- min?: Maybe<Scalars['Float']>;
945
+ label?: Maybe<Array<LocalizedString>>;
946
+ list: Scalars['Boolean'];
945
947
  max?: Maybe<Scalars['Float']>;
948
+ min?: Maybe<Scalars['Float']>;
949
+ name: Scalars['String'];
950
+ nullable?: Maybe<Scalars['Boolean']>;
951
+ readonly?: Maybe<Scalars['Boolean']>;
946
952
  step?: Maybe<Scalars['Float']>;
953
+ type: Scalars['String'];
947
954
  ui?: Maybe<Scalars['JSON']>;
948
955
  };
949
- export declare type Fulfillment = Node & {
956
+ export type Fulfillment = Node & {
950
957
  __typename?: 'Fulfillment';
951
- id: Scalars['ID'];
952
958
  createdAt: Scalars['DateTime'];
953
- updatedAt: Scalars['DateTime'];
954
- orderItems: Array<OrderItem>;
955
- summary: Array<FulfillmentLineSummary>;
956
- state: Scalars['String'];
959
+ customFields?: Maybe<Scalars['JSON']>;
960
+ id: Scalars['ID'];
961
+ lines: Array<FulfillmentLine>;
957
962
  method: Scalars['String'];
963
+ state: Scalars['String'];
964
+ /** @deprecated Use the `lines` field instead */
965
+ summary: Array<FulfillmentLine>;
958
966
  trackingCode?: Maybe<Scalars['String']>;
959
- customFields?: Maybe<Scalars['JSON']>;
967
+ updatedAt: Scalars['DateTime'];
960
968
  };
961
- export declare type FulfillmentLineSummary = {
962
- __typename?: 'FulfillmentLineSummary';
969
+ export type FulfillmentLine = {
970
+ __typename?: 'FulfillmentLine';
971
+ fulfillment: Fulfillment;
972
+ fulfillmentId: Scalars['ID'];
963
973
  orderLine: OrderLine;
974
+ orderLineId: Scalars['ID'];
964
975
  quantity: Scalars['Int'];
965
976
  };
966
977
  export declare enum GlobalFlag {
967
- TRUE = "TRUE",
968
978
  FALSE = "FALSE",
969
- INHERIT = "INHERIT"
979
+ INHERIT = "INHERIT",
980
+ TRUE = "TRUE"
970
981
  }
971
- export declare type HistoryEntry = Node & {
982
+ /** Returned when attempting to set the Customer on a guest checkout when the configured GuestCheckoutStrategy does not allow it. */
983
+ export type GuestCheckoutError = ErrorResult & {
984
+ __typename?: 'GuestCheckoutError';
985
+ errorCode: ErrorCode;
986
+ errorDetail: Scalars['String'];
987
+ message: Scalars['String'];
988
+ };
989
+ export type HistoryEntry = Node & {
972
990
  __typename?: 'HistoryEntry';
973
- id: Scalars['ID'];
974
991
  createdAt: Scalars['DateTime'];
975
- updatedAt: Scalars['DateTime'];
976
- type: HistoryEntryType;
977
992
  data: Scalars['JSON'];
993
+ id: Scalars['ID'];
994
+ type: HistoryEntryType;
995
+ updatedAt: Scalars['DateTime'];
978
996
  };
979
- export declare type HistoryEntryFilterParameter = {
980
- id?: Maybe<IdOperators>;
981
- createdAt?: Maybe<DateOperators>;
982
- updatedAt?: Maybe<DateOperators>;
983
- type?: Maybe<StringOperators>;
997
+ export type HistoryEntryFilterParameter = {
998
+ createdAt?: InputMaybe<DateOperators>;
999
+ id?: InputMaybe<IdOperators>;
1000
+ type?: InputMaybe<StringOperators>;
1001
+ updatedAt?: InputMaybe<DateOperators>;
984
1002
  };
985
- export declare type HistoryEntryList = PaginatedList & {
1003
+ export type HistoryEntryList = PaginatedList & {
986
1004
  __typename?: 'HistoryEntryList';
987
1005
  items: Array<HistoryEntry>;
988
1006
  totalItems: Scalars['Int'];
989
1007
  };
990
- export declare type HistoryEntryListOptions = {
991
- /** Skips the first n results, for use in pagination */
992
- skip?: Maybe<Scalars['Int']>;
993
- /** Takes n results, for use in pagination */
994
- take?: Maybe<Scalars['Int']>;
995
- /** Specifies which properties to sort the results by */
996
- sort?: Maybe<HistoryEntrySortParameter>;
1008
+ export type HistoryEntryListOptions = {
997
1009
  /** Allows the results to be filtered */
998
- filter?: Maybe<HistoryEntryFilterParameter>;
1010
+ filter?: InputMaybe<HistoryEntryFilterParameter>;
999
1011
  /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */
1000
- filterOperator?: Maybe<LogicalOperator>;
1012
+ filterOperator?: InputMaybe<LogicalOperator>;
1013
+ /** Skips the first n results, for use in pagination */
1014
+ skip?: InputMaybe<Scalars['Int']>;
1015
+ /** Specifies which properties to sort the results by */
1016
+ sort?: InputMaybe<HistoryEntrySortParameter>;
1017
+ /** Takes n results, for use in pagination */
1018
+ take?: InputMaybe<Scalars['Int']>;
1001
1019
  };
1002
- export declare type HistoryEntrySortParameter = {
1003
- id?: Maybe<SortOrder>;
1004
- createdAt?: Maybe<SortOrder>;
1005
- updatedAt?: Maybe<SortOrder>;
1020
+ export type HistoryEntrySortParameter = {
1021
+ createdAt?: InputMaybe<SortOrder>;
1022
+ id?: InputMaybe<SortOrder>;
1023
+ updatedAt?: InputMaybe<SortOrder>;
1006
1024
  };
1007
1025
  export declare enum HistoryEntryType {
1008
- CUSTOMER_REGISTERED = "CUSTOMER_REGISTERED",
1009
- CUSTOMER_VERIFIED = "CUSTOMER_VERIFIED",
1010
- CUSTOMER_DETAIL_UPDATED = "CUSTOMER_DETAIL_UPDATED",
1011
1026
  CUSTOMER_ADDED_TO_GROUP = "CUSTOMER_ADDED_TO_GROUP",
1012
- CUSTOMER_REMOVED_FROM_GROUP = "CUSTOMER_REMOVED_FROM_GROUP",
1013
1027
  CUSTOMER_ADDRESS_CREATED = "CUSTOMER_ADDRESS_CREATED",
1014
- CUSTOMER_ADDRESS_UPDATED = "CUSTOMER_ADDRESS_UPDATED",
1015
1028
  CUSTOMER_ADDRESS_DELETED = "CUSTOMER_ADDRESS_DELETED",
1016
- CUSTOMER_PASSWORD_UPDATED = "CUSTOMER_PASSWORD_UPDATED",
1017
- CUSTOMER_PASSWORD_RESET_REQUESTED = "CUSTOMER_PASSWORD_RESET_REQUESTED",
1018
- CUSTOMER_PASSWORD_RESET_VERIFIED = "CUSTOMER_PASSWORD_RESET_VERIFIED",
1029
+ CUSTOMER_ADDRESS_UPDATED = "CUSTOMER_ADDRESS_UPDATED",
1030
+ CUSTOMER_DETAIL_UPDATED = "CUSTOMER_DETAIL_UPDATED",
1019
1031
  CUSTOMER_EMAIL_UPDATE_REQUESTED = "CUSTOMER_EMAIL_UPDATE_REQUESTED",
1020
1032
  CUSTOMER_EMAIL_UPDATE_VERIFIED = "CUSTOMER_EMAIL_UPDATE_VERIFIED",
1021
1033
  CUSTOMER_NOTE = "CUSTOMER_NOTE",
1022
- ORDER_STATE_TRANSITION = "ORDER_STATE_TRANSITION",
1023
- ORDER_PAYMENT_TRANSITION = "ORDER_PAYMENT_TRANSITION",
1024
- ORDER_FULFILLMENT = "ORDER_FULFILLMENT",
1034
+ CUSTOMER_PASSWORD_RESET_REQUESTED = "CUSTOMER_PASSWORD_RESET_REQUESTED",
1035
+ CUSTOMER_PASSWORD_RESET_VERIFIED = "CUSTOMER_PASSWORD_RESET_VERIFIED",
1036
+ CUSTOMER_PASSWORD_UPDATED = "CUSTOMER_PASSWORD_UPDATED",
1037
+ CUSTOMER_REGISTERED = "CUSTOMER_REGISTERED",
1038
+ CUSTOMER_REMOVED_FROM_GROUP = "CUSTOMER_REMOVED_FROM_GROUP",
1039
+ CUSTOMER_VERIFIED = "CUSTOMER_VERIFIED",
1025
1040
  ORDER_CANCELLATION = "ORDER_CANCELLATION",
1026
- ORDER_REFUND_TRANSITION = "ORDER_REFUND_TRANSITION",
1027
- ORDER_FULFILLMENT_TRANSITION = "ORDER_FULFILLMENT_TRANSITION",
1028
- ORDER_NOTE = "ORDER_NOTE",
1029
1041
  ORDER_COUPON_APPLIED = "ORDER_COUPON_APPLIED",
1030
1042
  ORDER_COUPON_REMOVED = "ORDER_COUPON_REMOVED",
1031
- ORDER_MODIFIED = "ORDER_MODIFIED"
1043
+ ORDER_FULFILLMENT = "ORDER_FULFILLMENT",
1044
+ ORDER_FULFILLMENT_TRANSITION = "ORDER_FULFILLMENT_TRANSITION",
1045
+ ORDER_MODIFIED = "ORDER_MODIFIED",
1046
+ ORDER_NOTE = "ORDER_NOTE",
1047
+ ORDER_PAYMENT_TRANSITION = "ORDER_PAYMENT_TRANSITION",
1048
+ ORDER_REFUND_TRANSITION = "ORDER_REFUND_TRANSITION",
1049
+ ORDER_STATE_TRANSITION = "ORDER_STATE_TRANSITION"
1032
1050
  }
1033
1051
  /** Operators for filtering on a list of ID fields */
1034
- export declare type IdListOperators = {
1052
+ export type IdListOperators = {
1035
1053
  inList: Scalars['ID'];
1036
1054
  };
1037
1055
  /** Operators for filtering on an ID field */
1038
- export declare type IdOperators = {
1039
- eq?: Maybe<Scalars['String']>;
1040
- notEq?: Maybe<Scalars['String']>;
1041
- in?: Maybe<Array<Scalars['String']>>;
1042
- notIn?: Maybe<Array<Scalars['String']>>;
1043
- isNull?: Maybe<Scalars['Boolean']>;
1056
+ export type IdOperators = {
1057
+ eq?: InputMaybe<Scalars['String']>;
1058
+ in?: InputMaybe<Array<Scalars['String']>>;
1059
+ isNull?: InputMaybe<Scalars['Boolean']>;
1060
+ notEq?: InputMaybe<Scalars['String']>;
1061
+ notIn?: InputMaybe<Array<Scalars['String']>>;
1044
1062
  };
1045
1063
  /**
1046
1064
  * Returned if the token used to change a Customer's email address is valid, but has
1047
1065
  * expired according to the `verificationTokenDuration` setting in the AuthOptions.
1048
1066
  */
1049
- export declare type IdentifierChangeTokenExpiredError = ErrorResult & {
1067
+ export type IdentifierChangeTokenExpiredError = ErrorResult & {
1050
1068
  __typename?: 'IdentifierChangeTokenExpiredError';
1051
1069
  errorCode: ErrorCode;
1052
1070
  message: Scalars['String'];
@@ -1055,53 +1073,53 @@ export declare type IdentifierChangeTokenExpiredError = ErrorResult & {
1055
1073
  * Returned if the token used to change a Customer's email address is either
1056
1074
  * invalid or does not match any expected tokens.
1057
1075
  */
1058
- export declare type IdentifierChangeTokenInvalidError = ErrorResult & {
1076
+ export type IdentifierChangeTokenInvalidError = ErrorResult & {
1059
1077
  __typename?: 'IdentifierChangeTokenInvalidError';
1060
1078
  errorCode: ErrorCode;
1061
1079
  message: Scalars['String'];
1062
1080
  };
1063
1081
  /** Returned when attempting to add a Payment using a PaymentMethod for which the Order is not eligible. */
1064
- export declare type IneligiblePaymentMethodError = ErrorResult & {
1082
+ export type IneligiblePaymentMethodError = ErrorResult & {
1065
1083
  __typename?: 'IneligiblePaymentMethodError';
1084
+ eligibilityCheckerMessage?: Maybe<Scalars['String']>;
1066
1085
  errorCode: ErrorCode;
1067
1086
  message: Scalars['String'];
1068
- eligibilityCheckerMessage?: Maybe<Scalars['String']>;
1069
1087
  };
1070
1088
  /** Returned when attempting to set a ShippingMethod for which the Order is not eligible */
1071
- export declare type IneligibleShippingMethodError = ErrorResult & {
1089
+ export type IneligibleShippingMethodError = ErrorResult & {
1072
1090
  __typename?: 'IneligibleShippingMethodError';
1073
1091
  errorCode: ErrorCode;
1074
1092
  message: Scalars['String'];
1075
1093
  };
1076
1094
  /** Returned when attempting to add more items to the Order than are available */
1077
- export declare type InsufficientStockError = ErrorResult & {
1095
+ export type InsufficientStockError = ErrorResult & {
1078
1096
  __typename?: 'InsufficientStockError';
1079
1097
  errorCode: ErrorCode;
1080
1098
  message: Scalars['String'];
1081
- quantityAvailable: Scalars['Int'];
1082
1099
  order: Order;
1100
+ quantityAvailable: Scalars['Int'];
1083
1101
  };
1084
- export declare type IntCustomFieldConfig = CustomField & {
1102
+ export type IntCustomFieldConfig = CustomField & {
1085
1103
  __typename?: 'IntCustomFieldConfig';
1086
- name: Scalars['String'];
1087
- type: Scalars['String'];
1088
- list: Scalars['Boolean'];
1089
- label?: Maybe<Array<LocalizedString>>;
1090
1104
  description?: Maybe<Array<LocalizedString>>;
1091
- readonly?: Maybe<Scalars['Boolean']>;
1092
1105
  internal?: Maybe<Scalars['Boolean']>;
1093
- nullable?: Maybe<Scalars['Boolean']>;
1094
- min?: Maybe<Scalars['Int']>;
1106
+ label?: Maybe<Array<LocalizedString>>;
1107
+ list: Scalars['Boolean'];
1095
1108
  max?: Maybe<Scalars['Int']>;
1109
+ min?: Maybe<Scalars['Int']>;
1110
+ name: Scalars['String'];
1111
+ nullable?: Maybe<Scalars['Boolean']>;
1112
+ readonly?: Maybe<Scalars['Boolean']>;
1096
1113
  step?: Maybe<Scalars['Int']>;
1114
+ type: Scalars['String'];
1097
1115
  ui?: Maybe<Scalars['JSON']>;
1098
1116
  };
1099
1117
  /** Returned if the user authentication credentials are not valid */
1100
- export declare type InvalidCredentialsError = ErrorResult & {
1118
+ export type InvalidCredentialsError = ErrorResult & {
1101
1119
  __typename?: 'InvalidCredentialsError';
1120
+ authenticationError: Scalars['String'];
1102
1121
  errorCode: ErrorCode;
1103
1122
  message: Scalars['String'];
1104
- authenticationError: Scalars['String'];
1105
1123
  };
1106
1124
  /**
1107
1125
  * @description
@@ -1117,62 +1135,54 @@ export declare enum LanguageCode {
1117
1135
  af = "af",
1118
1136
  /** Akan */
1119
1137
  ak = "ak",
1120
- /** Albanian */
1121
- sq = "sq",
1122
1138
  /** Amharic */
1123
1139
  am = "am",
1124
1140
  /** Arabic */
1125
1141
  ar = "ar",
1126
- /** Armenian */
1127
- hy = "hy",
1128
1142
  /** Assamese */
1129
1143
  as = "as",
1130
1144
  /** Azerbaijani */
1131
1145
  az = "az",
1146
+ /** Belarusian */
1147
+ be = "be",
1148
+ /** Bulgarian */
1149
+ bg = "bg",
1132
1150
  /** Bambara */
1133
1151
  bm = "bm",
1134
1152
  /** Bangla */
1135
1153
  bn = "bn",
1136
- /** Basque */
1137
- eu = "eu",
1138
- /** Belarusian */
1139
- be = "be",
1140
- /** Bosnian */
1141
- bs = "bs",
1154
+ /** Tibetan */
1155
+ bo = "bo",
1142
1156
  /** Breton */
1143
1157
  br = "br",
1144
- /** Bulgarian */
1145
- bg = "bg",
1146
- /** Burmese */
1147
- my = "my",
1158
+ /** Bosnian */
1159
+ bs = "bs",
1148
1160
  /** Catalan */
1149
1161
  ca = "ca",
1150
1162
  /** Chechen */
1151
1163
  ce = "ce",
1152
- /** Chinese */
1153
- zh = "zh",
1154
- /** Simplified Chinese */
1155
- zh_Hans = "zh_Hans",
1156
- /** Traditional Chinese */
1157
- zh_Hant = "zh_Hant",
1158
- /** Church Slavic */
1159
- cu = "cu",
1160
- /** Cornish */
1161
- kw = "kw",
1162
1164
  /** Corsican */
1163
1165
  co = "co",
1164
- /** Croatian */
1165
- hr = "hr",
1166
1166
  /** Czech */
1167
1167
  cs = "cs",
1168
+ /** Church Slavic */
1169
+ cu = "cu",
1170
+ /** Welsh */
1171
+ cy = "cy",
1168
1172
  /** Danish */
1169
1173
  da = "da",
1170
- /** Dutch */
1171
- nl = "nl",
1172
- /** Flemish */
1173
- nl_BE = "nl_BE",
1174
+ /** German */
1175
+ de = "de",
1176
+ /** Austrian German */
1177
+ de_AT = "de_AT",
1178
+ /** Swiss High German */
1179
+ de_CH = "de_CH",
1174
1180
  /** Dzongkha */
1175
1181
  dz = "dz",
1182
+ /** Ewe */
1183
+ ee = "ee",
1184
+ /** Greek */
1185
+ el = "el",
1176
1186
  /** English */
1177
1187
  en = "en",
1178
1188
  /** Australian English */
@@ -1185,238 +1195,240 @@ export declare enum LanguageCode {
1185
1195
  en_US = "en_US",
1186
1196
  /** Esperanto */
1187
1197
  eo = "eo",
1198
+ /** Spanish */
1199
+ es = "es",
1200
+ /** European Spanish */
1201
+ es_ES = "es_ES",
1202
+ /** Mexican Spanish */
1203
+ es_MX = "es_MX",
1188
1204
  /** Estonian */
1189
1205
  et = "et",
1190
- /** Ewe */
1191
- ee = "ee",
1192
- /** Faroese */
1193
- fo = "fo",
1206
+ /** Basque */
1207
+ eu = "eu",
1208
+ /** Persian */
1209
+ fa = "fa",
1210
+ /** Dari */
1211
+ fa_AF = "fa_AF",
1212
+ /** Fulah */
1213
+ ff = "ff",
1194
1214
  /** Finnish */
1195
1215
  fi = "fi",
1216
+ /** Faroese */
1217
+ fo = "fo",
1196
1218
  /** French */
1197
1219
  fr = "fr",
1198
1220
  /** Canadian French */
1199
1221
  fr_CA = "fr_CA",
1200
1222
  /** Swiss French */
1201
1223
  fr_CH = "fr_CH",
1202
- /** Fulah */
1203
- ff = "ff",
1224
+ /** Western Frisian */
1225
+ fy = "fy",
1226
+ /** Irish */
1227
+ ga = "ga",
1228
+ /** Scottish Gaelic */
1229
+ gd = "gd",
1204
1230
  /** Galician */
1205
1231
  gl = "gl",
1206
- /** Ganda */
1207
- lg = "lg",
1208
- /** Georgian */
1209
- ka = "ka",
1210
- /** German */
1211
- de = "de",
1212
- /** Austrian German */
1213
- de_AT = "de_AT",
1214
- /** Swiss High German */
1215
- de_CH = "de_CH",
1216
- /** Greek */
1217
- el = "el",
1218
1232
  /** Gujarati */
1219
1233
  gu = "gu",
1220
- /** Haitian Creole */
1221
- ht = "ht",
1234
+ /** Manx */
1235
+ gv = "gv",
1222
1236
  /** Hausa */
1223
1237
  ha = "ha",
1224
1238
  /** Hebrew */
1225
1239
  he = "he",
1226
1240
  /** Hindi */
1227
1241
  hi = "hi",
1242
+ /** Croatian */
1243
+ hr = "hr",
1244
+ /** Haitian Creole */
1245
+ ht = "ht",
1228
1246
  /** Hungarian */
1229
1247
  hu = "hu",
1230
- /** Icelandic */
1231
- is = "is",
1232
- /** Igbo */
1233
- ig = "ig",
1234
- /** Indonesian */
1235
- id = "id",
1248
+ /** Armenian */
1249
+ hy = "hy",
1236
1250
  /** Interlingua */
1237
1251
  ia = "ia",
1238
- /** Irish */
1239
- ga = "ga",
1252
+ /** Indonesian */
1253
+ id = "id",
1254
+ /** Igbo */
1255
+ ig = "ig",
1256
+ /** Sichuan Yi */
1257
+ ii = "ii",
1258
+ /** Icelandic */
1259
+ is = "is",
1240
1260
  /** Italian */
1241
1261
  it = "it",
1242
1262
  /** Japanese */
1243
1263
  ja = "ja",
1244
1264
  /** Javanese */
1245
1265
  jv = "jv",
1266
+ /** Georgian */
1267
+ ka = "ka",
1268
+ /** Kikuyu */
1269
+ ki = "ki",
1270
+ /** Kazakh */
1271
+ kk = "kk",
1246
1272
  /** Kalaallisut */
1247
1273
  kl = "kl",
1248
- /** Kannada */
1249
- kn = "kn",
1250
- /** Kashmiri */
1251
- ks = "ks",
1252
- /** Kazakh */
1253
- kk = "kk",
1254
1274
  /** Khmer */
1255
1275
  km = "km",
1256
- /** Kikuyu */
1257
- ki = "ki",
1258
- /** Kinyarwanda */
1259
- rw = "rw",
1276
+ /** Kannada */
1277
+ kn = "kn",
1260
1278
  /** Korean */
1261
1279
  ko = "ko",
1280
+ /** Kashmiri */
1281
+ ks = "ks",
1262
1282
  /** Kurdish */
1263
1283
  ku = "ku",
1284
+ /** Cornish */
1285
+ kw = "kw",
1264
1286
  /** Kyrgyz */
1265
1287
  ky = "ky",
1266
- /** Lao */
1267
- lo = "lo",
1268
1288
  /** Latin */
1269
1289
  la = "la",
1270
- /** Latvian */
1271
- lv = "lv",
1290
+ /** Luxembourgish */
1291
+ lb = "lb",
1292
+ /** Ganda */
1293
+ lg = "lg",
1272
1294
  /** Lingala */
1273
1295
  ln = "ln",
1296
+ /** Lao */
1297
+ lo = "lo",
1274
1298
  /** Lithuanian */
1275
1299
  lt = "lt",
1276
1300
  /** Luba-Katanga */
1277
1301
  lu = "lu",
1278
- /** Luxembourgish */
1279
- lb = "lb",
1280
- /** Macedonian */
1281
- mk = "mk",
1302
+ /** Latvian */
1303
+ lv = "lv",
1282
1304
  /** Malagasy */
1283
1305
  mg = "mg",
1284
- /** Malay */
1285
- ms = "ms",
1286
- /** Malayalam */
1287
- ml = "ml",
1288
- /** Maltese */
1289
- mt = "mt",
1290
- /** Manx */
1291
- gv = "gv",
1292
1306
  /** Maori */
1293
1307
  mi = "mi",
1294
- /** Marathi */
1295
- mr = "mr",
1308
+ /** Macedonian */
1309
+ mk = "mk",
1310
+ /** Malayalam */
1311
+ ml = "ml",
1296
1312
  /** Mongolian */
1297
1313
  mn = "mn",
1298
- /** Nepali */
1299
- ne = "ne",
1300
- /** North Ndebele */
1301
- nd = "nd",
1302
- /** Northern Sami */
1303
- se = "se",
1314
+ /** Marathi */
1315
+ mr = "mr",
1316
+ /** Malay */
1317
+ ms = "ms",
1318
+ /** Maltese */
1319
+ mt = "mt",
1320
+ /** Burmese */
1321
+ my = "my",
1304
1322
  /** Norwegian Bokmål */
1305
1323
  nb = "nb",
1324
+ /** North Ndebele */
1325
+ nd = "nd",
1326
+ /** Nepali */
1327
+ ne = "ne",
1328
+ /** Dutch */
1329
+ nl = "nl",
1330
+ /** Flemish */
1331
+ nl_BE = "nl_BE",
1306
1332
  /** Norwegian Nynorsk */
1307
1333
  nn = "nn",
1308
1334
  /** Nyanja */
1309
1335
  ny = "ny",
1310
- /** Odia */
1311
- or = "or",
1312
1336
  /** Oromo */
1313
1337
  om = "om",
1338
+ /** Odia */
1339
+ or = "or",
1314
1340
  /** Ossetic */
1315
1341
  os = "os",
1316
- /** Pashto */
1317
- ps = "ps",
1318
- /** Persian */
1319
- fa = "fa",
1320
- /** Dari */
1321
- fa_AF = "fa_AF",
1342
+ /** Punjabi */
1343
+ pa = "pa",
1322
1344
  /** Polish */
1323
1345
  pl = "pl",
1346
+ /** Pashto */
1347
+ ps = "ps",
1324
1348
  /** Portuguese */
1325
1349
  pt = "pt",
1326
1350
  /** Brazilian Portuguese */
1327
1351
  pt_BR = "pt_BR",
1328
1352
  /** European Portuguese */
1329
1353
  pt_PT = "pt_PT",
1330
- /** Punjabi */
1331
- pa = "pa",
1332
1354
  /** Quechua */
1333
1355
  qu = "qu",
1334
- /** Romanian */
1335
- ro = "ro",
1336
- /** Moldavian */
1337
- ro_MD = "ro_MD",
1338
1356
  /** Romansh */
1339
1357
  rm = "rm",
1340
1358
  /** Rundi */
1341
1359
  rn = "rn",
1360
+ /** Romanian */
1361
+ ro = "ro",
1362
+ /** Moldavian */
1363
+ ro_MD = "ro_MD",
1342
1364
  /** Russian */
1343
1365
  ru = "ru",
1344
- /** Samoan */
1345
- sm = "sm",
1346
- /** Sango */
1347
- sg = "sg",
1366
+ /** Kinyarwanda */
1367
+ rw = "rw",
1348
1368
  /** Sanskrit */
1349
1369
  sa = "sa",
1350
- /** Scottish Gaelic */
1351
- gd = "gd",
1352
- /** Serbian */
1353
- sr = "sr",
1354
- /** Shona */
1355
- sn = "sn",
1356
- /** Sichuan Yi */
1357
- ii = "ii",
1358
1370
  /** Sindhi */
1359
1371
  sd = "sd",
1372
+ /** Northern Sami */
1373
+ se = "se",
1374
+ /** Sango */
1375
+ sg = "sg",
1360
1376
  /** Sinhala */
1361
1377
  si = "si",
1362
1378
  /** Slovak */
1363
1379
  sk = "sk",
1364
1380
  /** Slovenian */
1365
1381
  sl = "sl",
1382
+ /** Samoan */
1383
+ sm = "sm",
1384
+ /** Shona */
1385
+ sn = "sn",
1366
1386
  /** Somali */
1367
1387
  so = "so",
1388
+ /** Albanian */
1389
+ sq = "sq",
1390
+ /** Serbian */
1391
+ sr = "sr",
1368
1392
  /** Southern Sotho */
1369
1393
  st = "st",
1370
- /** Spanish */
1371
- es = "es",
1372
- /** European Spanish */
1373
- es_ES = "es_ES",
1374
- /** Mexican Spanish */
1375
- es_MX = "es_MX",
1376
1394
  /** Sundanese */
1377
1395
  su = "su",
1396
+ /** Swedish */
1397
+ sv = "sv",
1378
1398
  /** Swahili */
1379
1399
  sw = "sw",
1380
1400
  /** Congo Swahili */
1381
1401
  sw_CD = "sw_CD",
1382
- /** Swedish */
1383
- sv = "sv",
1384
- /** Tajik */
1385
- tg = "tg",
1386
1402
  /** Tamil */
1387
1403
  ta = "ta",
1388
- /** Tatar */
1389
- tt = "tt",
1390
1404
  /** Telugu */
1391
1405
  te = "te",
1406
+ /** Tajik */
1407
+ tg = "tg",
1392
1408
  /** Thai */
1393
1409
  th = "th",
1394
- /** Tibetan */
1395
- bo = "bo",
1396
1410
  /** Tigrinya */
1397
1411
  ti = "ti",
1412
+ /** Turkmen */
1413
+ tk = "tk",
1398
1414
  /** Tongan */
1399
1415
  to = "to",
1400
1416
  /** Turkish */
1401
1417
  tr = "tr",
1402
- /** Turkmen */
1403
- tk = "tk",
1418
+ /** Tatar */
1419
+ tt = "tt",
1420
+ /** Uyghur */
1421
+ ug = "ug",
1404
1422
  /** Ukrainian */
1405
1423
  uk = "uk",
1406
1424
  /** Urdu */
1407
1425
  ur = "ur",
1408
- /** Uyghur */
1409
- ug = "ug",
1410
1426
  /** Uzbek */
1411
1427
  uz = "uz",
1412
1428
  /** Vietnamese */
1413
1429
  vi = "vi",
1414
1430
  /** Volapük */
1415
1431
  vo = "vo",
1416
- /** Welsh */
1417
- cy = "cy",
1418
- /** Western Frisian */
1419
- fy = "fy",
1420
1432
  /** Wolof */
1421
1433
  wo = "wo",
1422
1434
  /** Xhosa */
@@ -1425,24 +1437,42 @@ export declare enum LanguageCode {
1425
1437
  yi = "yi",
1426
1438
  /** Yoruba */
1427
1439
  yo = "yo",
1440
+ /** Chinese */
1441
+ zh = "zh",
1442
+ /** Simplified Chinese */
1443
+ zh_Hans = "zh_Hans",
1444
+ /** Traditional Chinese */
1445
+ zh_Hant = "zh_Hant",
1428
1446
  /** Zulu */
1429
1447
  zu = "zu"
1430
1448
  }
1431
- export declare type LocaleStringCustomFieldConfig = CustomField & {
1449
+ export type LocaleStringCustomFieldConfig = CustomField & {
1432
1450
  __typename?: 'LocaleStringCustomFieldConfig';
1451
+ description?: Maybe<Array<LocalizedString>>;
1452
+ internal?: Maybe<Scalars['Boolean']>;
1453
+ label?: Maybe<Array<LocalizedString>>;
1454
+ length?: Maybe<Scalars['Int']>;
1455
+ list: Scalars['Boolean'];
1433
1456
  name: Scalars['String'];
1457
+ nullable?: Maybe<Scalars['Boolean']>;
1458
+ pattern?: Maybe<Scalars['String']>;
1459
+ readonly?: Maybe<Scalars['Boolean']>;
1434
1460
  type: Scalars['String'];
1435
- list: Scalars['Boolean'];
1436
- length?: Maybe<Scalars['Int']>;
1437
- label?: Maybe<Array<LocalizedString>>;
1461
+ ui?: Maybe<Scalars['JSON']>;
1462
+ };
1463
+ export type LocaleTextCustomFieldConfig = CustomField & {
1464
+ __typename?: 'LocaleTextCustomFieldConfig';
1438
1465
  description?: Maybe<Array<LocalizedString>>;
1439
- readonly?: Maybe<Scalars['Boolean']>;
1440
1466
  internal?: Maybe<Scalars['Boolean']>;
1467
+ label?: Maybe<Array<LocalizedString>>;
1468
+ list: Scalars['Boolean'];
1469
+ name: Scalars['String'];
1441
1470
  nullable?: Maybe<Scalars['Boolean']>;
1442
- pattern?: Maybe<Scalars['String']>;
1471
+ readonly?: Maybe<Scalars['Boolean']>;
1472
+ type: Scalars['String'];
1443
1473
  ui?: Maybe<Scalars['JSON']>;
1444
1474
  };
1445
- export declare type LocalizedString = {
1475
+ export type LocalizedString = {
1446
1476
  __typename?: 'LocalizedString';
1447
1477
  languageCode: LanguageCode;
1448
1478
  value: Scalars['String'];
@@ -1452,49 +1482,49 @@ export declare enum LogicalOperator {
1452
1482
  OR = "OR"
1453
1483
  }
1454
1484
  /** Returned when attempting to register or verify a customer account without a password, when one is required. */
1455
- export declare type MissingPasswordError = ErrorResult & {
1485
+ export type MissingPasswordError = ErrorResult & {
1456
1486
  __typename?: 'MissingPasswordError';
1457
1487
  errorCode: ErrorCode;
1458
1488
  message: Scalars['String'];
1459
1489
  };
1460
- export declare type MollieAmount = {
1490
+ export type MollieAmount = {
1461
1491
  __typename?: 'MollieAmount';
1462
- value?: Maybe<Scalars['String']>;
1463
1492
  currency?: Maybe<Scalars['String']>;
1493
+ value?: Maybe<Scalars['String']>;
1464
1494
  };
1465
- export declare type MolliePaymentIntent = {
1495
+ export type MolliePaymentIntent = {
1466
1496
  __typename?: 'MolliePaymentIntent';
1467
1497
  url: Scalars['String'];
1468
1498
  };
1469
- export declare type MolliePaymentIntentError = ErrorResult & {
1499
+ export type MolliePaymentIntentError = ErrorResult & {
1470
1500
  __typename?: 'MolliePaymentIntentError';
1471
1501
  errorCode: ErrorCode;
1472
1502
  message: Scalars['String'];
1473
1503
  };
1474
- export declare type MolliePaymentIntentInput = {
1504
+ export type MolliePaymentIntentInput = {
1505
+ molliePaymentMethodCode?: InputMaybe<Scalars['String']>;
1475
1506
  paymentMethodCode: Scalars['String'];
1476
- molliePaymentMethodCode?: Maybe<Scalars['String']>;
1477
1507
  };
1478
- export declare type MolliePaymentIntentResult = MolliePaymentIntent | MolliePaymentIntentError;
1479
- export declare type MolliePaymentMethod = {
1508
+ export type MolliePaymentIntentResult = MolliePaymentIntent | MolliePaymentIntentError;
1509
+ export type MolliePaymentMethod = {
1480
1510
  __typename?: 'MolliePaymentMethod';
1481
- id: Scalars['ID'];
1482
1511
  code: Scalars['String'];
1483
1512
  description?: Maybe<Scalars['String']>;
1484
- minimumAmount?: Maybe<MollieAmount>;
1485
- maximumAmount?: Maybe<MollieAmount>;
1513
+ id: Scalars['ID'];
1486
1514
  image?: Maybe<MolliePaymentMethodImages>;
1515
+ maximumAmount?: Maybe<MollieAmount>;
1516
+ minimumAmount?: Maybe<MollieAmount>;
1487
1517
  };
1488
- export declare type MolliePaymentMethodImages = {
1518
+ export type MolliePaymentMethodImages = {
1489
1519
  __typename?: 'MolliePaymentMethodImages';
1490
1520
  size1x?: Maybe<Scalars['String']>;
1491
1521
  size2x?: Maybe<Scalars['String']>;
1492
1522
  svg?: Maybe<Scalars['String']>;
1493
1523
  };
1494
- export declare type MolliePaymentMethodsInput = {
1524
+ export type MolliePaymentMethodsInput = {
1495
1525
  paymentMethodCode: Scalars['String'];
1496
1526
  };
1497
- export declare type Mutation = {
1527
+ export type Mutation = {
1498
1528
  __typename?: 'Mutation';
1499
1529
  /** Adds an item to the order. If custom fields are defined on the OrderLine entity, a third argument 'customFields' will be available. */
1500
1530
  addItemToOrder: UpdateOrderItemsResult;
@@ -1559,7 +1589,12 @@ export declare type Mutation = {
1559
1589
  setOrderCustomFields: ActiveOrderResult;
1560
1590
  /** Sets the shipping address for this order */
1561
1591
  setOrderShippingAddress: ActiveOrderResult;
1562
- /** Sets the shipping method by id, which can be obtained with the `eligibleShippingMethods` query */
1592
+ /**
1593
+ * Sets the shipping method by id, which can be obtained with the `eligibleShippingMethods` query.
1594
+ * An Order can have multiple shipping methods, in which case you can pass an array of ids. In this case,
1595
+ * you should configure a custom ShippingLineAssignmentStrategy in order to know which OrderLines each
1596
+ * shipping method will apply to.
1597
+ */
1563
1598
  setOrderShippingMethod: SetOrderShippingMethodResult;
1564
1599
  /** Transitions an Order to a new state. Valid next states can be found by querying `nextOrderStates` */
1565
1600
  transitionOrderToState?: Maybe<TransitionOrderToStateResult>;
@@ -1582,109 +1617,109 @@ export declare type Mutation = {
1582
1617
  */
1583
1618
  verifyCustomerAccount: VerifyCustomerAccountResult;
1584
1619
  };
1585
- export declare type MutationAddItemToOrderArgs = {
1620
+ export type MutationAddItemToOrderArgs = {
1586
1621
  productVariantId: Scalars['ID'];
1587
1622
  quantity: Scalars['Int'];
1588
1623
  };
1589
- export declare type MutationAddPaymentToOrderArgs = {
1624
+ export type MutationAddPaymentToOrderArgs = {
1590
1625
  input: PaymentInput;
1591
1626
  };
1592
- export declare type MutationAdjustOrderLineArgs = {
1627
+ export type MutationAdjustOrderLineArgs = {
1593
1628
  orderLineId: Scalars['ID'];
1594
1629
  quantity: Scalars['Int'];
1595
1630
  };
1596
- export declare type MutationApplyCouponCodeArgs = {
1631
+ export type MutationApplyCouponCodeArgs = {
1597
1632
  couponCode: Scalars['String'];
1598
1633
  };
1599
- export declare type MutationAuthenticateArgs = {
1634
+ export type MutationAuthenticateArgs = {
1600
1635
  input: AuthenticationInput;
1601
- rememberMe?: Maybe<Scalars['Boolean']>;
1636
+ rememberMe?: InputMaybe<Scalars['Boolean']>;
1602
1637
  };
1603
- export declare type MutationCreateCustomerAddressArgs = {
1638
+ export type MutationCreateCustomerAddressArgs = {
1604
1639
  input: CreateAddressInput;
1605
1640
  };
1606
- export declare type MutationCreateMolliePaymentIntentArgs = {
1641
+ export type MutationCreateMolliePaymentIntentArgs = {
1607
1642
  input: MolliePaymentIntentInput;
1608
1643
  };
1609
- export declare type MutationDeleteCustomerAddressArgs = {
1644
+ export type MutationDeleteCustomerAddressArgs = {
1610
1645
  id: Scalars['ID'];
1611
1646
  };
1612
- export declare type MutationLoginArgs = {
1613
- username: Scalars['String'];
1647
+ export type MutationLoginArgs = {
1614
1648
  password: Scalars['String'];
1615
- rememberMe?: Maybe<Scalars['Boolean']>;
1649
+ rememberMe?: InputMaybe<Scalars['Boolean']>;
1650
+ username: Scalars['String'];
1616
1651
  };
1617
- export declare type MutationRefreshCustomerVerificationArgs = {
1652
+ export type MutationRefreshCustomerVerificationArgs = {
1618
1653
  emailAddress: Scalars['String'];
1619
1654
  };
1620
- export declare type MutationRegisterCustomerAccountArgs = {
1655
+ export type MutationRegisterCustomerAccountArgs = {
1621
1656
  input: RegisterCustomerInput;
1622
1657
  };
1623
- export declare type MutationRemoveCouponCodeArgs = {
1658
+ export type MutationRemoveCouponCodeArgs = {
1624
1659
  couponCode: Scalars['String'];
1625
1660
  };
1626
- export declare type MutationRemoveOrderLineArgs = {
1661
+ export type MutationRemoveOrderLineArgs = {
1627
1662
  orderLineId: Scalars['ID'];
1628
1663
  };
1629
- export declare type MutationRequestPasswordResetArgs = {
1664
+ export type MutationRequestPasswordResetArgs = {
1630
1665
  emailAddress: Scalars['String'];
1631
1666
  };
1632
- export declare type MutationRequestUpdateCustomerEmailAddressArgs = {
1633
- password: Scalars['String'];
1667
+ export type MutationRequestUpdateCustomerEmailAddressArgs = {
1634
1668
  newEmailAddress: Scalars['String'];
1669
+ password: Scalars['String'];
1635
1670
  };
1636
- export declare type MutationResetPasswordArgs = {
1637
- token: Scalars['String'];
1671
+ export type MutationResetPasswordArgs = {
1638
1672
  password: Scalars['String'];
1673
+ token: Scalars['String'];
1639
1674
  };
1640
- export declare type MutationSetCustomerForOrderArgs = {
1675
+ export type MutationSetCustomerForOrderArgs = {
1641
1676
  input: CreateCustomerInput;
1642
1677
  };
1643
- export declare type MutationSetOrderBillingAddressArgs = {
1678
+ export type MutationSetOrderBillingAddressArgs = {
1644
1679
  input: CreateAddressInput;
1645
1680
  };
1646
- export declare type MutationSetOrderCustomFieldsArgs = {
1681
+ export type MutationSetOrderCustomFieldsArgs = {
1647
1682
  input: UpdateOrderInput;
1648
1683
  };
1649
- export declare type MutationSetOrderShippingAddressArgs = {
1684
+ export type MutationSetOrderShippingAddressArgs = {
1650
1685
  input: CreateAddressInput;
1651
1686
  };
1652
- export declare type MutationSetOrderShippingMethodArgs = {
1653
- shippingMethodId: Scalars['ID'];
1687
+ export type MutationSetOrderShippingMethodArgs = {
1688
+ shippingMethodId: Array<Scalars['ID']>;
1654
1689
  };
1655
- export declare type MutationTransitionOrderToStateArgs = {
1690
+ export type MutationTransitionOrderToStateArgs = {
1656
1691
  state: Scalars['String'];
1657
1692
  };
1658
- export declare type MutationUpdateCustomerArgs = {
1693
+ export type MutationUpdateCustomerArgs = {
1659
1694
  input: UpdateCustomerInput;
1660
1695
  };
1661
- export declare type MutationUpdateCustomerAddressArgs = {
1696
+ export type MutationUpdateCustomerAddressArgs = {
1662
1697
  input: UpdateAddressInput;
1663
1698
  };
1664
- export declare type MutationUpdateCustomerEmailAddressArgs = {
1699
+ export type MutationUpdateCustomerEmailAddressArgs = {
1665
1700
  token: Scalars['String'];
1666
1701
  };
1667
- export declare type MutationUpdateCustomerPasswordArgs = {
1702
+ export type MutationUpdateCustomerPasswordArgs = {
1668
1703
  currentPassword: Scalars['String'];
1669
1704
  newPassword: Scalars['String'];
1670
1705
  };
1671
- export declare type MutationVerifyCustomerAccountArgs = {
1706
+ export type MutationVerifyCustomerAccountArgs = {
1707
+ password?: InputMaybe<Scalars['String']>;
1672
1708
  token: Scalars['String'];
1673
- password?: Maybe<Scalars['String']>;
1674
1709
  };
1675
- export declare type NativeAuthInput = {
1676
- username: Scalars['String'];
1710
+ export type NativeAuthInput = {
1677
1711
  password: Scalars['String'];
1712
+ username: Scalars['String'];
1678
1713
  };
1679
1714
  /** Returned when attempting an operation that relies on the NativeAuthStrategy, if that strategy is not configured. */
1680
- export declare type NativeAuthStrategyError = ErrorResult & {
1715
+ export type NativeAuthStrategyError = ErrorResult & {
1681
1716
  __typename?: 'NativeAuthStrategyError';
1682
1717
  errorCode: ErrorCode;
1683
1718
  message: Scalars['String'];
1684
1719
  };
1685
- export declare type NativeAuthenticationResult = CurrentUser | InvalidCredentialsError | NotVerifiedError | NativeAuthStrategyError;
1720
+ export type NativeAuthenticationResult = CurrentUser | InvalidCredentialsError | NativeAuthStrategyError | NotVerifiedError;
1686
1721
  /** Returned when attempting to set a negative OrderLine quantity. */
1687
- export declare type NegativeQuantityError = ErrorResult & {
1722
+ export type NegativeQuantityError = ErrorResult & {
1688
1723
  __typename?: 'NegativeQuantityError';
1689
1724
  errorCode: ErrorCode;
1690
1725
  message: Scalars['String'];
@@ -1693,141 +1728,138 @@ export declare type NegativeQuantityError = ErrorResult & {
1693
1728
  * Returned when invoking a mutation which depends on there being an active Order on the
1694
1729
  * current session.
1695
1730
  */
1696
- export declare type NoActiveOrderError = ErrorResult & {
1731
+ export type NoActiveOrderError = ErrorResult & {
1697
1732
  __typename?: 'NoActiveOrderError';
1698
1733
  errorCode: ErrorCode;
1699
1734
  message: Scalars['String'];
1700
1735
  };
1701
- export declare type Node = {
1736
+ export type Node = {
1702
1737
  id: Scalars['ID'];
1703
1738
  };
1704
1739
  /**
1705
1740
  * Returned if `authOptions.requireVerification` is set to `true` (which is the default)
1706
1741
  * and an unverified user attempts to authenticate.
1707
1742
  */
1708
- export declare type NotVerifiedError = ErrorResult & {
1743
+ export type NotVerifiedError = ErrorResult & {
1709
1744
  __typename?: 'NotVerifiedError';
1710
1745
  errorCode: ErrorCode;
1711
1746
  message: Scalars['String'];
1712
1747
  };
1713
1748
  /** Operators for filtering on a list of Number fields */
1714
- export declare type NumberListOperators = {
1749
+ export type NumberListOperators = {
1715
1750
  inList: Scalars['Float'];
1716
1751
  };
1717
1752
  /** Operators for filtering on a Int or Float field */
1718
- export declare type NumberOperators = {
1719
- eq?: Maybe<Scalars['Float']>;
1720
- lt?: Maybe<Scalars['Float']>;
1721
- lte?: Maybe<Scalars['Float']>;
1722
- gt?: Maybe<Scalars['Float']>;
1723
- gte?: Maybe<Scalars['Float']>;
1724
- between?: Maybe<NumberRange>;
1725
- isNull?: Maybe<Scalars['Boolean']>;
1726
- };
1727
- export declare type NumberRange = {
1728
- start: Scalars['Float'];
1753
+ export type NumberOperators = {
1754
+ between?: InputMaybe<NumberRange>;
1755
+ eq?: InputMaybe<Scalars['Float']>;
1756
+ gt?: InputMaybe<Scalars['Float']>;
1757
+ gte?: InputMaybe<Scalars['Float']>;
1758
+ isNull?: InputMaybe<Scalars['Boolean']>;
1759
+ lt?: InputMaybe<Scalars['Float']>;
1760
+ lte?: InputMaybe<Scalars['Float']>;
1761
+ };
1762
+ export type NumberRange = {
1729
1763
  end: Scalars['Float'];
1764
+ start: Scalars['Float'];
1730
1765
  };
1731
- export declare type Order = Node & {
1766
+ export type Order = Node & {
1732
1767
  __typename?: 'Order';
1733
- id: Scalars['ID'];
1734
- createdAt: Scalars['DateTime'];
1735
- updatedAt: Scalars['DateTime'];
1736
- /**
1737
- * The date & time that the Order was placed, i.e. the Customer
1738
- * completed the checkout and the Order is no longer "active"
1739
- */
1740
- orderPlacedAt?: Maybe<Scalars['DateTime']>;
1741
- /** A unique code for the Order */
1742
- code: Scalars['String'];
1743
- state: Scalars['String'];
1744
1768
  /** An order is active as long as the payment process has not been completed */
1745
1769
  active: Scalars['Boolean'];
1746
- customer?: Maybe<Customer>;
1747
- shippingAddress?: Maybe<OrderAddress>;
1748
1770
  billingAddress?: Maybe<OrderAddress>;
1771
+ /** A unique code for the Order */
1772
+ code: Scalars['String'];
1773
+ /** An array of all coupon codes applied to the Order */
1774
+ couponCodes: Array<Scalars['String']>;
1775
+ createdAt: Scalars['DateTime'];
1776
+ currencyCode: CurrencyCode;
1777
+ customFields?: Maybe<Scalars['JSON']>;
1778
+ customer?: Maybe<Customer>;
1779
+ discounts: Array<Discount>;
1780
+ fulfillments?: Maybe<Array<Fulfillment>>;
1781
+ history: HistoryEntryList;
1782
+ id: Scalars['ID'];
1749
1783
  lines: Array<OrderLine>;
1750
1784
  /**
1751
- * Surcharges are arbitrary modifications to the Order total which are neither
1752
- * ProductVariants nor discounts resulting from applied Promotions. For example,
1753
- * one-off discounts based on customer interaction, or surcharges based on payment
1754
- * methods.
1785
+ * The date & time that the Order was placed, i.e. the Customer
1786
+ * completed the checkout and the Order is no longer "active"
1755
1787
  */
1756
- surcharges: Array<Surcharge>;
1757
- discounts: Array<Discount>;
1758
- /** An array of all coupon codes applied to the Order */
1759
- couponCodes: Array<Scalars['String']>;
1788
+ orderPlacedAt?: Maybe<Scalars['DateTime']>;
1789
+ payments?: Maybe<Array<Payment>>;
1760
1790
  /** Promotions applied to the order. Only gets populated after the payment process has completed. */
1761
1791
  promotions: Array<Promotion>;
1762
- payments?: Maybe<Array<Payment>>;
1763
- fulfillments?: Maybe<Array<Fulfillment>>;
1764
- totalQuantity: Scalars['Int'];
1792
+ shipping: Scalars['Money'];
1793
+ shippingAddress?: Maybe<OrderAddress>;
1794
+ shippingLines: Array<ShippingLine>;
1795
+ shippingWithTax: Scalars['Money'];
1796
+ state: Scalars['String'];
1765
1797
  /**
1766
1798
  * The subTotal is the total of all OrderLines in the Order. This figure also includes any Order-level
1767
1799
  * discounts which have been prorated (proportionally distributed) amongst the OrderItems.
1768
1800
  * To get a total of all OrderLines which does not account for prorated discounts, use the
1769
1801
  * sum of `OrderLine.discountedLinePrice` values.
1770
1802
  */
1771
- subTotal: Scalars['Int'];
1803
+ subTotal: Scalars['Money'];
1772
1804
  /** Same as subTotal, but inclusive of tax */
1773
- subTotalWithTax: Scalars['Int'];
1774
- currencyCode: CurrencyCode;
1775
- shippingLines: Array<ShippingLine>;
1776
- shipping: Scalars['Int'];
1777
- shippingWithTax: Scalars['Int'];
1778
- /** Equal to subTotal plus shipping */
1779
- total: Scalars['Int'];
1780
- /** The final payable amount. Equal to subTotalWithTax plus shippingWithTax */
1781
- totalWithTax: Scalars['Int'];
1805
+ subTotalWithTax: Scalars['Money'];
1806
+ /**
1807
+ * Surcharges are arbitrary modifications to the Order total which are neither
1808
+ * ProductVariants nor discounts resulting from applied Promotions. For example,
1809
+ * one-off discounts based on customer interaction, or surcharges based on payment
1810
+ * methods.
1811
+ */
1812
+ surcharges: Array<Surcharge>;
1782
1813
  /** A summary of the taxes being applied to this Order */
1783
1814
  taxSummary: Array<OrderTaxSummary>;
1784
- history: HistoryEntryList;
1785
- customFields?: Maybe<Scalars['JSON']>;
1815
+ /** Equal to subTotal plus shipping */
1816
+ total: Scalars['Money'];
1817
+ totalQuantity: Scalars['Int'];
1818
+ /** The final payable amount. Equal to subTotalWithTax plus shippingWithTax */
1819
+ totalWithTax: Scalars['Money'];
1820
+ type: OrderType;
1821
+ updatedAt: Scalars['DateTime'];
1786
1822
  };
1787
- export declare type OrderHistoryArgs = {
1788
- options?: Maybe<HistoryEntryListOptions>;
1823
+ export type OrderHistoryArgs = {
1824
+ options?: InputMaybe<HistoryEntryListOptions>;
1789
1825
  };
1790
- export declare type OrderAddress = {
1826
+ export type OrderAddress = {
1791
1827
  __typename?: 'OrderAddress';
1792
- fullName?: Maybe<Scalars['String']>;
1793
- company?: Maybe<Scalars['String']>;
1794
- streetLine1?: Maybe<Scalars['String']>;
1795
- streetLine2?: Maybe<Scalars['String']>;
1796
1828
  city?: Maybe<Scalars['String']>;
1797
- province?: Maybe<Scalars['String']>;
1798
- postalCode?: Maybe<Scalars['String']>;
1829
+ company?: Maybe<Scalars['String']>;
1799
1830
  country?: Maybe<Scalars['String']>;
1800
1831
  countryCode?: Maybe<Scalars['String']>;
1801
- phoneNumber?: Maybe<Scalars['String']>;
1802
1832
  customFields?: Maybe<Scalars['JSON']>;
1833
+ fullName?: Maybe<Scalars['String']>;
1834
+ phoneNumber?: Maybe<Scalars['String']>;
1835
+ postalCode?: Maybe<Scalars['String']>;
1836
+ province?: Maybe<Scalars['String']>;
1837
+ streetLine1?: Maybe<Scalars['String']>;
1838
+ streetLine2?: Maybe<Scalars['String']>;
1803
1839
  };
1804
- export declare type OrderFilterParameter = {
1805
- id?: Maybe<IdOperators>;
1806
- createdAt?: Maybe<DateOperators>;
1807
- updatedAt?: Maybe<DateOperators>;
1808
- orderPlacedAt?: Maybe<DateOperators>;
1809
- code?: Maybe<StringOperators>;
1810
- state?: Maybe<StringOperators>;
1811
- active?: Maybe<BooleanOperators>;
1812
- totalQuantity?: Maybe<NumberOperators>;
1813
- subTotal?: Maybe<NumberOperators>;
1814
- subTotalWithTax?: Maybe<NumberOperators>;
1815
- currencyCode?: Maybe<StringOperators>;
1816
- shipping?: Maybe<NumberOperators>;
1817
- shippingWithTax?: Maybe<NumberOperators>;
1818
- total?: Maybe<NumberOperators>;
1819
- totalWithTax?: Maybe<NumberOperators>;
1820
- };
1821
- export declare type OrderItem = Node & {
1840
+ export type OrderFilterParameter = {
1841
+ active?: InputMaybe<BooleanOperators>;
1842
+ code?: InputMaybe<StringOperators>;
1843
+ createdAt?: InputMaybe<DateOperators>;
1844
+ currencyCode?: InputMaybe<StringOperators>;
1845
+ id?: InputMaybe<IdOperators>;
1846
+ orderPlacedAt?: InputMaybe<DateOperators>;
1847
+ shipping?: InputMaybe<NumberOperators>;
1848
+ shippingWithTax?: InputMaybe<NumberOperators>;
1849
+ state?: InputMaybe<StringOperators>;
1850
+ subTotal?: InputMaybe<NumberOperators>;
1851
+ subTotalWithTax?: InputMaybe<NumberOperators>;
1852
+ total?: InputMaybe<NumberOperators>;
1853
+ totalQuantity?: InputMaybe<NumberOperators>;
1854
+ totalWithTax?: InputMaybe<NumberOperators>;
1855
+ type?: InputMaybe<StringOperators>;
1856
+ updatedAt?: InputMaybe<DateOperators>;
1857
+ };
1858
+ export type OrderItem = Node & {
1822
1859
  __typename?: 'OrderItem';
1823
- id: Scalars['ID'];
1824
- createdAt: Scalars['DateTime'];
1825
- updatedAt: Scalars['DateTime'];
1860
+ adjustments: Array<Adjustment>;
1826
1861
  cancelled: Scalars['Boolean'];
1827
- /** The price of a single unit, excluding tax and discounts */
1828
- unitPrice: Scalars['Int'];
1829
- /** The price of a single unit, including tax but excluding discounts */
1830
- unitPriceWithTax: Scalars['Int'];
1862
+ createdAt: Scalars['DateTime'];
1831
1863
  /**
1832
1864
  * The price of a single unit including discounts, excluding tax.
1833
1865
  *
@@ -1836,46 +1868,44 @@ export declare type OrderItem = Node & {
1836
1868
  * correct price to display to customers to avoid confusion
1837
1869
  * about the internal handling of distributed Order-level discounts.
1838
1870
  */
1839
- discountedUnitPrice: Scalars['Int'];
1871
+ discountedUnitPrice: Scalars['Money'];
1840
1872
  /** The price of a single unit including discounts and tax */
1841
- discountedUnitPriceWithTax: Scalars['Int'];
1873
+ discountedUnitPriceWithTax: Scalars['Money'];
1874
+ fulfillment?: Maybe<Fulfillment>;
1875
+ id: Scalars['ID'];
1842
1876
  /**
1843
1877
  * The actual unit price, taking into account both item discounts _and_ prorated (proportionally-distributed)
1844
1878
  * Order-level discounts. This value is the true economic value of the OrderItem, and is used in tax
1845
1879
  * and refund calculations.
1846
1880
  */
1847
- proratedUnitPrice: Scalars['Int'];
1881
+ proratedUnitPrice: Scalars['Money'];
1848
1882
  /** The proratedUnitPrice including tax */
1849
- proratedUnitPriceWithTax: Scalars['Int'];
1850
- unitTax: Scalars['Int'];
1851
- taxRate: Scalars['Float'];
1852
- adjustments: Array<Adjustment>;
1853
- taxLines: Array<TaxLine>;
1854
- fulfillment?: Maybe<Fulfillment>;
1883
+ proratedUnitPriceWithTax: Scalars['Money'];
1855
1884
  refundId?: Maybe<Scalars['ID']>;
1885
+ taxLines: Array<TaxLine>;
1886
+ taxRate: Scalars['Float'];
1887
+ /** The price of a single unit, excluding tax and discounts */
1888
+ unitPrice: Scalars['Money'];
1889
+ /** The price of a single unit, including tax but excluding discounts */
1890
+ unitPriceWithTax: Scalars['Money'];
1891
+ unitTax: Scalars['Money'];
1892
+ updatedAt: Scalars['DateTime'];
1856
1893
  };
1857
1894
  /** Returned when the maximum order size limit has been reached. */
1858
- export declare type OrderLimitError = ErrorResult & {
1895
+ export type OrderLimitError = ErrorResult & {
1859
1896
  __typename?: 'OrderLimitError';
1860
1897
  errorCode: ErrorCode;
1861
- message: Scalars['String'];
1862
1898
  maxItems: Scalars['Int'];
1899
+ message: Scalars['String'];
1863
1900
  };
1864
- export declare type OrderLine = Node & {
1901
+ export type OrderLine = Node & {
1865
1902
  __typename?: 'OrderLine';
1866
- id: Scalars['ID'];
1867
1903
  createdAt: Scalars['DateTime'];
1868
- updatedAt: Scalars['DateTime'];
1869
- productVariant: ProductVariant;
1870
- featuredAsset?: Maybe<Asset>;
1871
- /** The price of a single unit, excluding tax and discounts */
1872
- unitPrice: Scalars['Int'];
1873
- /** The price of a single unit, including tax but excluding discounts */
1874
- unitPriceWithTax: Scalars['Int'];
1875
- /** Non-zero if the unitPrice has changed since it was initially added to Order */
1876
- unitPriceChangeSinceAdded: Scalars['Int'];
1877
- /** Non-zero if the unitPriceWithTax has changed since it was initially added to Order */
1878
- unitPriceWithTaxChangeSinceAdded: Scalars['Int'];
1904
+ customFields?: Maybe<Scalars['JSON']>;
1905
+ /** The price of the line including discounts, excluding tax */
1906
+ discountedLinePrice: Scalars['Money'];
1907
+ /** The price of the line including discounts and tax */
1908
+ discountedLinePriceWithTax: Scalars['Money'];
1879
1909
  /**
1880
1910
  * The price of a single unit including discounts, excluding tax.
1881
1911
  *
@@ -1884,118 +1914,131 @@ export declare type OrderLine = Node & {
1884
1914
  * correct price to display to customers to avoid confusion
1885
1915
  * about the internal handling of distributed Order-level discounts.
1886
1916
  */
1887
- discountedUnitPrice: Scalars['Int'];
1917
+ discountedUnitPrice: Scalars['Money'];
1888
1918
  /** The price of a single unit including discounts and tax */
1889
- discountedUnitPriceWithTax: Scalars['Int'];
1890
- /**
1891
- * The actual unit price, taking into account both item discounts _and_ prorated (proportionally-distributed)
1892
- * Order-level discounts. This value is the true economic value of the OrderItem, and is used in tax
1893
- * and refund calculations.
1894
- */
1895
- proratedUnitPrice: Scalars['Int'];
1896
- /** The proratedUnitPrice including tax */
1897
- proratedUnitPriceWithTax: Scalars['Int'];
1898
- quantity: Scalars['Int'];
1899
- items: Array<OrderItem>;
1900
- taxRate: Scalars['Float'];
1919
+ discountedUnitPriceWithTax: Scalars['Money'];
1920
+ discounts: Array<Discount>;
1921
+ featuredAsset?: Maybe<Asset>;
1922
+ fulfillmentLines?: Maybe<Array<FulfillmentLine>>;
1923
+ id: Scalars['ID'];
1901
1924
  /** The total price of the line excluding tax and discounts. */
1902
- linePrice: Scalars['Int'];
1925
+ linePrice: Scalars['Money'];
1903
1926
  /** The total price of the line including tax but excluding discounts. */
1904
- linePriceWithTax: Scalars['Int'];
1905
- /** The price of the line including discounts, excluding tax */
1906
- discountedLinePrice: Scalars['Int'];
1907
- /** The price of the line including discounts and tax */
1908
- discountedLinePriceWithTax: Scalars['Int'];
1927
+ linePriceWithTax: Scalars['Money'];
1928
+ /** The total tax on this line */
1929
+ lineTax: Scalars['Money'];
1930
+ order: Order;
1931
+ /** The quantity at the time the Order was placed */
1932
+ orderPlacedQuantity: Scalars['Int'];
1933
+ productVariant: ProductVariant;
1909
1934
  /**
1910
1935
  * The actual line price, taking into account both item discounts _and_ prorated (proportionally-distributed)
1911
1936
  * Order-level discounts. This value is the true economic value of the OrderLine, and is used in tax
1912
1937
  * and refund calculations.
1913
1938
  */
1914
- proratedLinePrice: Scalars['Int'];
1939
+ proratedLinePrice: Scalars['Money'];
1915
1940
  /** The proratedLinePrice including tax */
1916
- proratedLinePriceWithTax: Scalars['Int'];
1917
- /** The total tax on this line */
1918
- lineTax: Scalars['Int'];
1919
- discounts: Array<Discount>;
1941
+ proratedLinePriceWithTax: Scalars['Money'];
1942
+ /**
1943
+ * The actual unit price, taking into account both item discounts _and_ prorated (proportionally-distributed)
1944
+ * Order-level discounts. This value is the true economic value of the OrderItem, and is used in tax
1945
+ * and refund calculations.
1946
+ */
1947
+ proratedUnitPrice: Scalars['Money'];
1948
+ /** The proratedUnitPrice including tax */
1949
+ proratedUnitPriceWithTax: Scalars['Money'];
1950
+ quantity: Scalars['Int'];
1920
1951
  taxLines: Array<TaxLine>;
1921
- order: Order;
1922
- fulfillments?: Maybe<Array<Fulfillment>>;
1923
- customFields?: Maybe<Scalars['JSON']>;
1952
+ taxRate: Scalars['Float'];
1953
+ /** The price of a single unit, excluding tax and discounts */
1954
+ unitPrice: Scalars['Money'];
1955
+ /** Non-zero if the unitPrice has changed since it was initially added to Order */
1956
+ unitPriceChangeSinceAdded: Scalars['Money'];
1957
+ /** The price of a single unit, including tax but excluding discounts */
1958
+ unitPriceWithTax: Scalars['Money'];
1959
+ /** Non-zero if the unitPriceWithTax has changed since it was initially added to Order */
1960
+ unitPriceWithTaxChangeSinceAdded: Scalars['Money'];
1961
+ updatedAt: Scalars['DateTime'];
1924
1962
  };
1925
- export declare type OrderList = PaginatedList & {
1963
+ export type OrderList = PaginatedList & {
1926
1964
  __typename?: 'OrderList';
1927
1965
  items: Array<Order>;
1928
1966
  totalItems: Scalars['Int'];
1929
1967
  };
1930
- export declare type OrderListOptions = {
1931
- /** Skips the first n results, for use in pagination */
1932
- skip?: Maybe<Scalars['Int']>;
1933
- /** Takes n results, for use in pagination */
1934
- take?: Maybe<Scalars['Int']>;
1935
- /** Specifies which properties to sort the results by */
1936
- sort?: Maybe<OrderSortParameter>;
1968
+ export type OrderListOptions = {
1937
1969
  /** Allows the results to be filtered */
1938
- filter?: Maybe<OrderFilterParameter>;
1970
+ filter?: InputMaybe<OrderFilterParameter>;
1939
1971
  /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */
1940
- filterOperator?: Maybe<LogicalOperator>;
1972
+ filterOperator?: InputMaybe<LogicalOperator>;
1973
+ /** Skips the first n results, for use in pagination */
1974
+ skip?: InputMaybe<Scalars['Int']>;
1975
+ /** Specifies which properties to sort the results by */
1976
+ sort?: InputMaybe<OrderSortParameter>;
1977
+ /** Takes n results, for use in pagination */
1978
+ take?: InputMaybe<Scalars['Int']>;
1941
1979
  };
1942
1980
  /** Returned when attempting to modify the contents of an Order that is not in the `AddingItems` state. */
1943
- export declare type OrderModificationError = ErrorResult & {
1981
+ export type OrderModificationError = ErrorResult & {
1944
1982
  __typename?: 'OrderModificationError';
1945
1983
  errorCode: ErrorCode;
1946
1984
  message: Scalars['String'];
1947
1985
  };
1948
1986
  /** Returned when attempting to add a Payment to an Order that is not in the `ArrangingPayment` state. */
1949
- export declare type OrderPaymentStateError = ErrorResult & {
1987
+ export type OrderPaymentStateError = ErrorResult & {
1950
1988
  __typename?: 'OrderPaymentStateError';
1951
1989
  errorCode: ErrorCode;
1952
1990
  message: Scalars['String'];
1953
1991
  };
1954
- export declare type OrderSortParameter = {
1955
- id?: Maybe<SortOrder>;
1956
- createdAt?: Maybe<SortOrder>;
1957
- updatedAt?: Maybe<SortOrder>;
1958
- orderPlacedAt?: Maybe<SortOrder>;
1959
- code?: Maybe<SortOrder>;
1960
- state?: Maybe<SortOrder>;
1961
- totalQuantity?: Maybe<SortOrder>;
1962
- subTotal?: Maybe<SortOrder>;
1963
- subTotalWithTax?: Maybe<SortOrder>;
1964
- shipping?: Maybe<SortOrder>;
1965
- shippingWithTax?: Maybe<SortOrder>;
1966
- total?: Maybe<SortOrder>;
1967
- totalWithTax?: Maybe<SortOrder>;
1992
+ export type OrderSortParameter = {
1993
+ code?: InputMaybe<SortOrder>;
1994
+ createdAt?: InputMaybe<SortOrder>;
1995
+ id?: InputMaybe<SortOrder>;
1996
+ orderPlacedAt?: InputMaybe<SortOrder>;
1997
+ shipping?: InputMaybe<SortOrder>;
1998
+ shippingWithTax?: InputMaybe<SortOrder>;
1999
+ state?: InputMaybe<SortOrder>;
2000
+ subTotal?: InputMaybe<SortOrder>;
2001
+ subTotalWithTax?: InputMaybe<SortOrder>;
2002
+ total?: InputMaybe<SortOrder>;
2003
+ totalQuantity?: InputMaybe<SortOrder>;
2004
+ totalWithTax?: InputMaybe<SortOrder>;
2005
+ updatedAt?: InputMaybe<SortOrder>;
1968
2006
  };
1969
2007
  /** Returned if there is an error in transitioning the Order state */
1970
- export declare type OrderStateTransitionError = ErrorResult & {
2008
+ export type OrderStateTransitionError = ErrorResult & {
1971
2009
  __typename?: 'OrderStateTransitionError';
1972
2010
  errorCode: ErrorCode;
1973
- message: Scalars['String'];
1974
- transitionError: Scalars['String'];
1975
2011
  fromState: Scalars['String'];
2012
+ message: Scalars['String'];
1976
2013
  toState: Scalars['String'];
2014
+ transitionError: Scalars['String'];
1977
2015
  };
1978
2016
  /**
1979
2017
  * A summary of the taxes being applied to this order, grouped
1980
2018
  * by taxRate.
1981
2019
  */
1982
- export declare type OrderTaxSummary = {
2020
+ export type OrderTaxSummary = {
1983
2021
  __typename?: 'OrderTaxSummary';
1984
2022
  /** A description of this tax */
1985
2023
  description: Scalars['String'];
2024
+ /** The total net price or OrderItems to which this taxRate applies */
2025
+ taxBase: Scalars['Money'];
1986
2026
  /** The taxRate as a percentage */
1987
2027
  taxRate: Scalars['Float'];
1988
- /** The total net price or OrderItems to which this taxRate applies */
1989
- taxBase: Scalars['Int'];
1990
2028
  /** The total tax being applied to the Order at this taxRate */
1991
- taxTotal: Scalars['Int'];
2029
+ taxTotal: Scalars['Money'];
1992
2030
  };
1993
- export declare type PaginatedList = {
2031
+ export declare enum OrderType {
2032
+ Aggregate = "Aggregate",
2033
+ Regular = "Regular",
2034
+ Seller = "Seller"
2035
+ }
2036
+ export type PaginatedList = {
1994
2037
  items: Array<Node>;
1995
2038
  totalItems: Scalars['Int'];
1996
2039
  };
1997
2040
  /** Returned when attempting to verify a customer account with a password, when a password has already been set. */
1998
- export declare type PasswordAlreadySetError = ErrorResult & {
2041
+ export type PasswordAlreadySetError = ErrorResult & {
1999
2042
  __typename?: 'PasswordAlreadySetError';
2000
2043
  errorCode: ErrorCode;
2001
2044
  message: Scalars['String'];
@@ -2004,7 +2047,7 @@ export declare type PasswordAlreadySetError = ErrorResult & {
2004
2047
  * Returned if the token used to reset a Customer's password is valid, but has
2005
2048
  * expired according to the `verificationTokenDuration` setting in the AuthOptions.
2006
2049
  */
2007
- export declare type PasswordResetTokenExpiredError = ErrorResult & {
2050
+ export type PasswordResetTokenExpiredError = ErrorResult & {
2008
2051
  __typename?: 'PasswordResetTokenExpiredError';
2009
2052
  errorCode: ErrorCode;
2010
2053
  message: Scalars['String'];
@@ -2013,78 +2056,88 @@ export declare type PasswordResetTokenExpiredError = ErrorResult & {
2013
2056
  * Returned if the token used to reset a Customer's password is either
2014
2057
  * invalid or does not match any expected tokens.
2015
2058
  */
2016
- export declare type PasswordResetTokenInvalidError = ErrorResult & {
2059
+ export type PasswordResetTokenInvalidError = ErrorResult & {
2017
2060
  __typename?: 'PasswordResetTokenInvalidError';
2018
2061
  errorCode: ErrorCode;
2019
2062
  message: Scalars['String'];
2020
2063
  };
2021
2064
  /** Returned when attempting to register or verify a customer account where the given password fails password validation. */
2022
- export declare type PasswordValidationError = ErrorResult & {
2065
+ export type PasswordValidationError = ErrorResult & {
2023
2066
  __typename?: 'PasswordValidationError';
2024
2067
  errorCode: ErrorCode;
2025
2068
  message: Scalars['String'];
2026
2069
  validationErrorMessage: Scalars['String'];
2027
2070
  };
2028
- export declare type Payment = Node & {
2071
+ export type Payment = Node & {
2029
2072
  __typename?: 'Payment';
2030
- id: Scalars['ID'];
2073
+ amount: Scalars['Money'];
2031
2074
  createdAt: Scalars['DateTime'];
2032
- updatedAt: Scalars['DateTime'];
2075
+ errorMessage?: Maybe<Scalars['String']>;
2076
+ id: Scalars['ID'];
2077
+ metadata?: Maybe<Scalars['JSON']>;
2033
2078
  method: Scalars['String'];
2034
- amount: Scalars['Int'];
2079
+ refunds: Array<Refund>;
2035
2080
  state: Scalars['String'];
2036
2081
  transactionId?: Maybe<Scalars['String']>;
2037
- errorMessage?: Maybe<Scalars['String']>;
2038
- refunds: Array<Refund>;
2039
- metadata?: Maybe<Scalars['JSON']>;
2082
+ updatedAt: Scalars['DateTime'];
2040
2083
  };
2041
2084
  /** Returned when a Payment is declined by the payment provider. */
2042
- export declare type PaymentDeclinedError = ErrorResult & {
2085
+ export type PaymentDeclinedError = ErrorResult & {
2043
2086
  __typename?: 'PaymentDeclinedError';
2044
2087
  errorCode: ErrorCode;
2045
2088
  message: Scalars['String'];
2046
2089
  paymentErrorMessage: Scalars['String'];
2047
2090
  };
2048
2091
  /** Returned when a Payment fails due to an error. */
2049
- export declare type PaymentFailedError = ErrorResult & {
2092
+ export type PaymentFailedError = ErrorResult & {
2050
2093
  __typename?: 'PaymentFailedError';
2051
2094
  errorCode: ErrorCode;
2052
2095
  message: Scalars['String'];
2053
2096
  paymentErrorMessage: Scalars['String'];
2054
2097
  };
2055
2098
  /** Passed as input to the `addPaymentToOrder` mutation. */
2056
- export declare type PaymentInput = {
2057
- /** This field should correspond to the `code` property of a PaymentMethod. */
2058
- method: Scalars['String'];
2099
+ export type PaymentInput = {
2059
2100
  /**
2060
2101
  * This field should contain arbitrary data passed to the specified PaymentMethodHandler's `createPayment()` method
2061
2102
  * as the "metadata" argument. For example, it could contain an ID for the payment and other
2062
2103
  * data generated by the payment provider.
2063
2104
  */
2064
2105
  metadata: Scalars['JSON'];
2106
+ /** This field should correspond to the `code` property of a PaymentMethod. */
2107
+ method: Scalars['String'];
2065
2108
  };
2066
- export declare type PaymentMethod = Node & {
2109
+ export type PaymentMethod = Node & {
2067
2110
  __typename?: 'PaymentMethod';
2068
- id: Scalars['ID'];
2069
- createdAt: Scalars['DateTime'];
2070
- updatedAt: Scalars['DateTime'];
2071
- name: Scalars['String'];
2111
+ checker?: Maybe<ConfigurableOperation>;
2072
2112
  code: Scalars['String'];
2113
+ createdAt: Scalars['DateTime'];
2114
+ customFields?: Maybe<Scalars['JSON']>;
2073
2115
  description: Scalars['String'];
2074
2116
  enabled: Scalars['Boolean'];
2075
- checker?: Maybe<ConfigurableOperation>;
2076
2117
  handler: ConfigurableOperation;
2077
- customFields?: Maybe<Scalars['JSON']>;
2118
+ id: Scalars['ID'];
2119
+ name: Scalars['String'];
2120
+ translations: Array<PaymentMethodTranslation>;
2121
+ updatedAt: Scalars['DateTime'];
2078
2122
  };
2079
- export declare type PaymentMethodQuote = {
2123
+ export type PaymentMethodQuote = {
2080
2124
  __typename?: 'PaymentMethodQuote';
2081
- id: Scalars['ID'];
2082
2125
  code: Scalars['String'];
2083
- name: Scalars['String'];
2126
+ customFields?: Maybe<Scalars['JSON']>;
2084
2127
  description: Scalars['String'];
2085
- isEligible: Scalars['Boolean'];
2086
2128
  eligibilityMessage?: Maybe<Scalars['String']>;
2087
- customFields?: Maybe<Scalars['JSON']>;
2129
+ id: Scalars['ID'];
2130
+ isEligible: Scalars['Boolean'];
2131
+ name: Scalars['String'];
2132
+ };
2133
+ export type PaymentMethodTranslation = {
2134
+ __typename?: 'PaymentMethodTranslation';
2135
+ createdAt: Scalars['DateTime'];
2136
+ description: Scalars['String'];
2137
+ id: Scalars['ID'];
2138
+ languageCode: LanguageCode;
2139
+ name: Scalars['String'];
2140
+ updatedAt: Scalars['DateTime'];
2088
2141
  };
2089
2142
  /**
2090
2143
  * @description
@@ -2121,383 +2174,402 @@ export declare type PaymentMethodQuote = {
2121
2174
  export declare enum Permission {
2122
2175
  /** Authenticated means simply that the user is logged in */
2123
2176
  Authenticated = "Authenticated",
2124
- /** SuperAdmin has unrestricted access to all operations */
2125
- SuperAdmin = "SuperAdmin",
2126
- /** Owner means the user owns this entity, e.g. a Customer's own Order */
2127
- Owner = "Owner",
2128
- /** Public means any unauthenticated user may perform the operation */
2129
- Public = "Public",
2130
- /** Grants permission to update GlobalSettings */
2131
- UpdateGlobalSettings = "UpdateGlobalSettings",
2177
+ /** Grants permission to create Administrator */
2178
+ CreateAdministrator = "CreateAdministrator",
2179
+ /** Grants permission to create Asset */
2180
+ CreateAsset = "CreateAsset",
2132
2181
  /** Grants permission to create Products, Facets, Assets, Collections */
2133
2182
  CreateCatalog = "CreateCatalog",
2134
- /** Grants permission to read Products, Facets, Assets, Collections */
2135
- ReadCatalog = "ReadCatalog",
2136
- /** Grants permission to update Products, Facets, Assets, Collections */
2137
- UpdateCatalog = "UpdateCatalog",
2138
- /** Grants permission to delete Products, Facets, Assets, Collections */
2139
- DeleteCatalog = "DeleteCatalog",
2183
+ /** Grants permission to create Channel */
2184
+ CreateChannel = "CreateChannel",
2185
+ /** Grants permission to create Collection */
2186
+ CreateCollection = "CreateCollection",
2187
+ /** Grants permission to create Country */
2188
+ CreateCountry = "CreateCountry",
2189
+ /** Grants permission to create Customer */
2190
+ CreateCustomer = "CreateCustomer",
2191
+ /** Grants permission to create CustomerGroup */
2192
+ CreateCustomerGroup = "CreateCustomerGroup",
2193
+ /** Grants permission to create Facet */
2194
+ CreateFacet = "CreateFacet",
2195
+ /** Grants permission to create Order */
2196
+ CreateOrder = "CreateOrder",
2197
+ /** Grants permission to create PaymentMethod */
2198
+ CreatePaymentMethod = "CreatePaymentMethod",
2199
+ /** Grants permission to create Product */
2200
+ CreateProduct = "CreateProduct",
2201
+ /** Grants permission to create Promotion */
2202
+ CreatePromotion = "CreatePromotion",
2203
+ /** Grants permission to create Seller */
2204
+ CreateSeller = "CreateSeller",
2140
2205
  /** Grants permission to create PaymentMethods, ShippingMethods, TaxCategories, TaxRates, Zones, Countries, System & GlobalSettings */
2141
2206
  CreateSettings = "CreateSettings",
2142
- /** Grants permission to read PaymentMethods, ShippingMethods, TaxCategories, TaxRates, Zones, Countries, System & GlobalSettings */
2143
- ReadSettings = "ReadSettings",
2144
- /** Grants permission to update PaymentMethods, ShippingMethods, TaxCategories, TaxRates, Zones, Countries, System & GlobalSettings */
2145
- UpdateSettings = "UpdateSettings",
2146
- /** Grants permission to delete PaymentMethods, ShippingMethods, TaxCategories, TaxRates, Zones, Countries, System & GlobalSettings */
2147
- DeleteSettings = "DeleteSettings",
2148
- /** Grants permission to create Administrator */
2149
- CreateAdministrator = "CreateAdministrator",
2150
- /** Grants permission to read Administrator */
2151
- ReadAdministrator = "ReadAdministrator",
2152
- /** Grants permission to update Administrator */
2153
- UpdateAdministrator = "UpdateAdministrator",
2207
+ /** Grants permission to create ShippingMethod */
2208
+ CreateShippingMethod = "CreateShippingMethod",
2209
+ /** Grants permission to create System */
2210
+ CreateSystem = "CreateSystem",
2211
+ /** Grants permission to create Tag */
2212
+ CreateTag = "CreateTag",
2213
+ /** Grants permission to create TaxCategory */
2214
+ CreateTaxCategory = "CreateTaxCategory",
2215
+ /** Grants permission to create TaxRate */
2216
+ CreateTaxRate = "CreateTaxRate",
2217
+ /** Grants permission to create Zone */
2218
+ CreateZone = "CreateZone",
2154
2219
  /** Grants permission to delete Administrator */
2155
2220
  DeleteAdministrator = "DeleteAdministrator",
2156
- /** Grants permission to create Asset */
2157
- CreateAsset = "CreateAsset",
2158
- /** Grants permission to read Asset */
2159
- ReadAsset = "ReadAsset",
2160
- /** Grants permission to update Asset */
2161
- UpdateAsset = "UpdateAsset",
2162
2221
  /** Grants permission to delete Asset */
2163
2222
  DeleteAsset = "DeleteAsset",
2164
- /** Grants permission to create Channel */
2165
- CreateChannel = "CreateChannel",
2166
- /** Grants permission to read Channel */
2167
- ReadChannel = "ReadChannel",
2168
- /** Grants permission to update Channel */
2169
- UpdateChannel = "UpdateChannel",
2223
+ /** Grants permission to delete Products, Facets, Assets, Collections */
2224
+ DeleteCatalog = "DeleteCatalog",
2170
2225
  /** Grants permission to delete Channel */
2171
2226
  DeleteChannel = "DeleteChannel",
2172
- /** Grants permission to create Collection */
2173
- CreateCollection = "CreateCollection",
2174
- /** Grants permission to read Collection */
2175
- ReadCollection = "ReadCollection",
2176
- /** Grants permission to update Collection */
2177
- UpdateCollection = "UpdateCollection",
2178
2227
  /** Grants permission to delete Collection */
2179
2228
  DeleteCollection = "DeleteCollection",
2180
- /** Grants permission to create Country */
2181
- CreateCountry = "CreateCountry",
2182
- /** Grants permission to read Country */
2183
- ReadCountry = "ReadCountry",
2184
- /** Grants permission to update Country */
2185
- UpdateCountry = "UpdateCountry",
2186
2229
  /** Grants permission to delete Country */
2187
2230
  DeleteCountry = "DeleteCountry",
2188
- /** Grants permission to create Customer */
2189
- CreateCustomer = "CreateCustomer",
2190
- /** Grants permission to read Customer */
2191
- ReadCustomer = "ReadCustomer",
2192
- /** Grants permission to update Customer */
2193
- UpdateCustomer = "UpdateCustomer",
2194
2231
  /** Grants permission to delete Customer */
2195
2232
  DeleteCustomer = "DeleteCustomer",
2196
- /** Grants permission to create CustomerGroup */
2197
- CreateCustomerGroup = "CreateCustomerGroup",
2198
- /** Grants permission to read CustomerGroup */
2199
- ReadCustomerGroup = "ReadCustomerGroup",
2200
- /** Grants permission to update CustomerGroup */
2201
- UpdateCustomerGroup = "UpdateCustomerGroup",
2202
2233
  /** Grants permission to delete CustomerGroup */
2203
2234
  DeleteCustomerGroup = "DeleteCustomerGroup",
2204
- /** Grants permission to create Facet */
2205
- CreateFacet = "CreateFacet",
2206
- /** Grants permission to read Facet */
2207
- ReadFacet = "ReadFacet",
2208
- /** Grants permission to update Facet */
2209
- UpdateFacet = "UpdateFacet",
2210
2235
  /** Grants permission to delete Facet */
2211
2236
  DeleteFacet = "DeleteFacet",
2212
- /** Grants permission to create Order */
2213
- CreateOrder = "CreateOrder",
2214
- /** Grants permission to read Order */
2215
- ReadOrder = "ReadOrder",
2216
- /** Grants permission to update Order */
2217
- UpdateOrder = "UpdateOrder",
2218
2237
  /** Grants permission to delete Order */
2219
2238
  DeleteOrder = "DeleteOrder",
2220
- /** Grants permission to create PaymentMethod */
2221
- CreatePaymentMethod = "CreatePaymentMethod",
2222
- /** Grants permission to read PaymentMethod */
2223
- ReadPaymentMethod = "ReadPaymentMethod",
2224
- /** Grants permission to update PaymentMethod */
2225
- UpdatePaymentMethod = "UpdatePaymentMethod",
2226
2239
  /** Grants permission to delete PaymentMethod */
2227
2240
  DeletePaymentMethod = "DeletePaymentMethod",
2228
- /** Grants permission to create Product */
2229
- CreateProduct = "CreateProduct",
2230
- /** Grants permission to read Product */
2231
- ReadProduct = "ReadProduct",
2232
- /** Grants permission to update Product */
2233
- UpdateProduct = "UpdateProduct",
2234
2241
  /** Grants permission to delete Product */
2235
2242
  DeleteProduct = "DeleteProduct",
2236
- /** Grants permission to create Promotion */
2237
- CreatePromotion = "CreatePromotion",
2238
- /** Grants permission to read Promotion */
2239
- ReadPromotion = "ReadPromotion",
2240
- /** Grants permission to update Promotion */
2241
- UpdatePromotion = "UpdatePromotion",
2242
2243
  /** Grants permission to delete Promotion */
2243
2244
  DeletePromotion = "DeletePromotion",
2244
- /** Grants permission to create ShippingMethod */
2245
- CreateShippingMethod = "CreateShippingMethod",
2246
- /** Grants permission to read ShippingMethod */
2247
- ReadShippingMethod = "ReadShippingMethod",
2248
- /** Grants permission to update ShippingMethod */
2249
- UpdateShippingMethod = "UpdateShippingMethod",
2245
+ /** Grants permission to delete Seller */
2246
+ DeleteSeller = "DeleteSeller",
2247
+ /** Grants permission to delete PaymentMethods, ShippingMethods, TaxCategories, TaxRates, Zones, Countries, System & GlobalSettings */
2248
+ DeleteSettings = "DeleteSettings",
2250
2249
  /** Grants permission to delete ShippingMethod */
2251
2250
  DeleteShippingMethod = "DeleteShippingMethod",
2252
- /** Grants permission to create Tag */
2253
- CreateTag = "CreateTag",
2254
- /** Grants permission to read Tag */
2255
- ReadTag = "ReadTag",
2256
- /** Grants permission to update Tag */
2257
- UpdateTag = "UpdateTag",
2251
+ /** Grants permission to delete System */
2252
+ DeleteSystem = "DeleteSystem",
2258
2253
  /** Grants permission to delete Tag */
2259
2254
  DeleteTag = "DeleteTag",
2260
- /** Grants permission to create TaxCategory */
2261
- CreateTaxCategory = "CreateTaxCategory",
2262
- /** Grants permission to read TaxCategory */
2263
- ReadTaxCategory = "ReadTaxCategory",
2264
- /** Grants permission to update TaxCategory */
2265
- UpdateTaxCategory = "UpdateTaxCategory",
2266
2255
  /** Grants permission to delete TaxCategory */
2267
2256
  DeleteTaxCategory = "DeleteTaxCategory",
2268
- /** Grants permission to create TaxRate */
2269
- CreateTaxRate = "CreateTaxRate",
2270
- /** Grants permission to read TaxRate */
2271
- ReadTaxRate = "ReadTaxRate",
2272
- /** Grants permission to update TaxRate */
2273
- UpdateTaxRate = "UpdateTaxRate",
2274
2257
  /** Grants permission to delete TaxRate */
2275
2258
  DeleteTaxRate = "DeleteTaxRate",
2276
- /** Grants permission to create System */
2277
- CreateSystem = "CreateSystem",
2259
+ /** Grants permission to delete Zone */
2260
+ DeleteZone = "DeleteZone",
2261
+ /** Owner means the user owns this entity, e.g. a Customer's own Order */
2262
+ Owner = "Owner",
2263
+ /** Public means any unauthenticated user may perform the operation */
2264
+ Public = "Public",
2265
+ /** Grants permission to read Administrator */
2266
+ ReadAdministrator = "ReadAdministrator",
2267
+ /** Grants permission to read Asset */
2268
+ ReadAsset = "ReadAsset",
2269
+ /** Grants permission to read Products, Facets, Assets, Collections */
2270
+ ReadCatalog = "ReadCatalog",
2271
+ /** Grants permission to read Channel */
2272
+ ReadChannel = "ReadChannel",
2273
+ /** Grants permission to read Collection */
2274
+ ReadCollection = "ReadCollection",
2275
+ /** Grants permission to read Country */
2276
+ ReadCountry = "ReadCountry",
2277
+ /** Grants permission to read Customer */
2278
+ ReadCustomer = "ReadCustomer",
2279
+ /** Grants permission to read CustomerGroup */
2280
+ ReadCustomerGroup = "ReadCustomerGroup",
2281
+ /** Grants permission to read Facet */
2282
+ ReadFacet = "ReadFacet",
2283
+ /** Grants permission to read Order */
2284
+ ReadOrder = "ReadOrder",
2285
+ /** Grants permission to read PaymentMethod */
2286
+ ReadPaymentMethod = "ReadPaymentMethod",
2287
+ /** Grants permission to read Product */
2288
+ ReadProduct = "ReadProduct",
2289
+ /** Grants permission to read Promotion */
2290
+ ReadPromotion = "ReadPromotion",
2291
+ /** Grants permission to read Seller */
2292
+ ReadSeller = "ReadSeller",
2293
+ /** Grants permission to read PaymentMethods, ShippingMethods, TaxCategories, TaxRates, Zones, Countries, System & GlobalSettings */
2294
+ ReadSettings = "ReadSettings",
2295
+ /** Grants permission to read ShippingMethod */
2296
+ ReadShippingMethod = "ReadShippingMethod",
2278
2297
  /** Grants permission to read System */
2279
2298
  ReadSystem = "ReadSystem",
2280
- /** Grants permission to update System */
2281
- UpdateSystem = "UpdateSystem",
2282
- /** Grants permission to delete System */
2283
- DeleteSystem = "DeleteSystem",
2284
- /** Grants permission to create Zone */
2285
- CreateZone = "CreateZone",
2299
+ /** Grants permission to read Tag */
2300
+ ReadTag = "ReadTag",
2301
+ /** Grants permission to read TaxCategory */
2302
+ ReadTaxCategory = "ReadTaxCategory",
2303
+ /** Grants permission to read TaxRate */
2304
+ ReadTaxRate = "ReadTaxRate",
2286
2305
  /** Grants permission to read Zone */
2287
2306
  ReadZone = "ReadZone",
2307
+ /** SuperAdmin has unrestricted access to all operations */
2308
+ SuperAdmin = "SuperAdmin",
2309
+ /** Grants permission to update Administrator */
2310
+ UpdateAdministrator = "UpdateAdministrator",
2311
+ /** Grants permission to update Asset */
2312
+ UpdateAsset = "UpdateAsset",
2313
+ /** Grants permission to update Products, Facets, Assets, Collections */
2314
+ UpdateCatalog = "UpdateCatalog",
2315
+ /** Grants permission to update Channel */
2316
+ UpdateChannel = "UpdateChannel",
2317
+ /** Grants permission to update Collection */
2318
+ UpdateCollection = "UpdateCollection",
2319
+ /** Grants permission to update Country */
2320
+ UpdateCountry = "UpdateCountry",
2321
+ /** Grants permission to update Customer */
2322
+ UpdateCustomer = "UpdateCustomer",
2323
+ /** Grants permission to update CustomerGroup */
2324
+ UpdateCustomerGroup = "UpdateCustomerGroup",
2325
+ /** Grants permission to update Facet */
2326
+ UpdateFacet = "UpdateFacet",
2327
+ /** Grants permission to update GlobalSettings */
2328
+ UpdateGlobalSettings = "UpdateGlobalSettings",
2329
+ /** Grants permission to update Order */
2330
+ UpdateOrder = "UpdateOrder",
2331
+ /** Grants permission to update PaymentMethod */
2332
+ UpdatePaymentMethod = "UpdatePaymentMethod",
2333
+ /** Grants permission to update Product */
2334
+ UpdateProduct = "UpdateProduct",
2335
+ /** Grants permission to update Promotion */
2336
+ UpdatePromotion = "UpdatePromotion",
2337
+ /** Grants permission to update Seller */
2338
+ UpdateSeller = "UpdateSeller",
2339
+ /** Grants permission to update PaymentMethods, ShippingMethods, TaxCategories, TaxRates, Zones, Countries, System & GlobalSettings */
2340
+ UpdateSettings = "UpdateSettings",
2341
+ /** Grants permission to update ShippingMethod */
2342
+ UpdateShippingMethod = "UpdateShippingMethod",
2343
+ /** Grants permission to update System */
2344
+ UpdateSystem = "UpdateSystem",
2345
+ /** Grants permission to update Tag */
2346
+ UpdateTag = "UpdateTag",
2347
+ /** Grants permission to update TaxCategory */
2348
+ UpdateTaxCategory = "UpdateTaxCategory",
2349
+ /** Grants permission to update TaxRate */
2350
+ UpdateTaxRate = "UpdateTaxRate",
2288
2351
  /** Grants permission to update Zone */
2289
- UpdateZone = "UpdateZone",
2290
- /** Grants permission to delete Zone */
2291
- DeleteZone = "DeleteZone"
2352
+ UpdateZone = "UpdateZone"
2292
2353
  }
2293
2354
  /** The price range where the result has more than one price */
2294
- export declare type PriceRange = {
2355
+ export type PriceRange = {
2295
2356
  __typename?: 'PriceRange';
2296
- min: Scalars['Int'];
2297
- max: Scalars['Int'];
2357
+ max: Scalars['Money'];
2358
+ min: Scalars['Money'];
2298
2359
  };
2299
- export declare type Product = Node & {
2360
+ export type Product = Node & {
2300
2361
  __typename?: 'Product';
2301
- id: Scalars['ID'];
2362
+ assets: Array<Asset>;
2363
+ collections: Array<Collection>;
2302
2364
  createdAt: Scalars['DateTime'];
2303
- updatedAt: Scalars['DateTime'];
2365
+ customFields?: Maybe<Scalars['JSON']>;
2366
+ description: Scalars['String'];
2367
+ facetValues: Array<FacetValue>;
2368
+ featuredAsset?: Maybe<Asset>;
2369
+ id: Scalars['ID'];
2304
2370
  languageCode: LanguageCode;
2305
2371
  name: Scalars['String'];
2372
+ optionGroups: Array<ProductOptionGroup>;
2306
2373
  slug: Scalars['String'];
2307
- description: Scalars['String'];
2308
- featuredAsset?: Maybe<Asset>;
2309
- assets: Array<Asset>;
2310
- /** Returns all ProductVariants */
2311
- variants: Array<ProductVariant>;
2374
+ translations: Array<ProductTranslation>;
2375
+ updatedAt: Scalars['DateTime'];
2312
2376
  /** Returns a paginated, sortable, filterable list of ProductVariants */
2313
2377
  variantList: ProductVariantList;
2314
- optionGroups: Array<ProductOptionGroup>;
2315
- facetValues: Array<FacetValue>;
2316
- translations: Array<ProductTranslation>;
2317
- collections: Array<Collection>;
2318
- customFields?: Maybe<Scalars['JSON']>;
2378
+ /** Returns all ProductVariants */
2379
+ variants: Array<ProductVariant>;
2319
2380
  };
2320
- export declare type ProductVariantListArgs = {
2321
- options?: Maybe<ProductVariantListOptions>;
2381
+ export type ProductVariantListArgs = {
2382
+ options?: InputMaybe<ProductVariantListOptions>;
2322
2383
  };
2323
- export declare type ProductFilterParameter = {
2324
- id?: Maybe<IdOperators>;
2325
- createdAt?: Maybe<DateOperators>;
2326
- updatedAt?: Maybe<DateOperators>;
2327
- languageCode?: Maybe<StringOperators>;
2328
- name?: Maybe<StringOperators>;
2329
- slug?: Maybe<StringOperators>;
2330
- description?: Maybe<StringOperators>;
2384
+ export type ProductFilterParameter = {
2385
+ createdAt?: InputMaybe<DateOperators>;
2386
+ description?: InputMaybe<StringOperators>;
2387
+ id?: InputMaybe<IdOperators>;
2388
+ languageCode?: InputMaybe<StringOperators>;
2389
+ name?: InputMaybe<StringOperators>;
2390
+ slug?: InputMaybe<StringOperators>;
2391
+ updatedAt?: InputMaybe<DateOperators>;
2331
2392
  };
2332
- export declare type ProductList = PaginatedList & {
2393
+ export type ProductList = PaginatedList & {
2333
2394
  __typename?: 'ProductList';
2334
2395
  items: Array<Product>;
2335
2396
  totalItems: Scalars['Int'];
2336
2397
  };
2337
- export declare type ProductListOptions = {
2338
- /** Skips the first n results, for use in pagination */
2339
- skip?: Maybe<Scalars['Int']>;
2340
- /** Takes n results, for use in pagination */
2341
- take?: Maybe<Scalars['Int']>;
2342
- /** Specifies which properties to sort the results by */
2343
- sort?: Maybe<ProductSortParameter>;
2398
+ export type ProductListOptions = {
2344
2399
  /** Allows the results to be filtered */
2345
- filter?: Maybe<ProductFilterParameter>;
2400
+ filter?: InputMaybe<ProductFilterParameter>;
2346
2401
  /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */
2347
- filterOperator?: Maybe<LogicalOperator>;
2402
+ filterOperator?: InputMaybe<LogicalOperator>;
2403
+ /** Skips the first n results, for use in pagination */
2404
+ skip?: InputMaybe<Scalars['Int']>;
2405
+ /** Specifies which properties to sort the results by */
2406
+ sort?: InputMaybe<ProductSortParameter>;
2407
+ /** Takes n results, for use in pagination */
2408
+ take?: InputMaybe<Scalars['Int']>;
2348
2409
  };
2349
- export declare type ProductOption = Node & {
2410
+ export type ProductOption = Node & {
2350
2411
  __typename?: 'ProductOption';
2351
- id: Scalars['ID'];
2412
+ code: Scalars['String'];
2352
2413
  createdAt: Scalars['DateTime'];
2353
- updatedAt: Scalars['DateTime'];
2414
+ customFields?: Maybe<Scalars['JSON']>;
2415
+ group: ProductOptionGroup;
2416
+ groupId: Scalars['ID'];
2417
+ id: Scalars['ID'];
2354
2418
  languageCode: LanguageCode;
2355
- code: Scalars['String'];
2356
2419
  name: Scalars['String'];
2357
- groupId: Scalars['ID'];
2358
- group: ProductOptionGroup;
2359
2420
  translations: Array<ProductOptionTranslation>;
2360
- customFields?: Maybe<Scalars['JSON']>;
2421
+ updatedAt: Scalars['DateTime'];
2361
2422
  };
2362
- export declare type ProductOptionGroup = Node & {
2423
+ export type ProductOptionGroup = Node & {
2363
2424
  __typename?: 'ProductOptionGroup';
2364
- id: Scalars['ID'];
2425
+ code: Scalars['String'];
2365
2426
  createdAt: Scalars['DateTime'];
2366
- updatedAt: Scalars['DateTime'];
2427
+ customFields?: Maybe<Scalars['JSON']>;
2428
+ id: Scalars['ID'];
2367
2429
  languageCode: LanguageCode;
2368
- code: Scalars['String'];
2369
2430
  name: Scalars['String'];
2370
2431
  options: Array<ProductOption>;
2371
2432
  translations: Array<ProductOptionGroupTranslation>;
2372
- customFields?: Maybe<Scalars['JSON']>;
2433
+ updatedAt: Scalars['DateTime'];
2373
2434
  };
2374
- export declare type ProductOptionGroupTranslation = {
2435
+ export type ProductOptionGroupTranslation = {
2375
2436
  __typename?: 'ProductOptionGroupTranslation';
2376
- id: Scalars['ID'];
2377
2437
  createdAt: Scalars['DateTime'];
2378
- updatedAt: Scalars['DateTime'];
2438
+ id: Scalars['ID'];
2379
2439
  languageCode: LanguageCode;
2380
2440
  name: Scalars['String'];
2441
+ updatedAt: Scalars['DateTime'];
2381
2442
  };
2382
- export declare type ProductOptionTranslation = {
2443
+ export type ProductOptionTranslation = {
2383
2444
  __typename?: 'ProductOptionTranslation';
2384
- id: Scalars['ID'];
2385
2445
  createdAt: Scalars['DateTime'];
2386
- updatedAt: Scalars['DateTime'];
2446
+ id: Scalars['ID'];
2387
2447
  languageCode: LanguageCode;
2388
2448
  name: Scalars['String'];
2449
+ updatedAt: Scalars['DateTime'];
2389
2450
  };
2390
- export declare type ProductSortParameter = {
2391
- id?: Maybe<SortOrder>;
2392
- createdAt?: Maybe<SortOrder>;
2393
- updatedAt?: Maybe<SortOrder>;
2394
- name?: Maybe<SortOrder>;
2395
- slug?: Maybe<SortOrder>;
2396
- description?: Maybe<SortOrder>;
2451
+ export type ProductSortParameter = {
2452
+ createdAt?: InputMaybe<SortOrder>;
2453
+ description?: InputMaybe<SortOrder>;
2454
+ id?: InputMaybe<SortOrder>;
2455
+ name?: InputMaybe<SortOrder>;
2456
+ slug?: InputMaybe<SortOrder>;
2457
+ updatedAt?: InputMaybe<SortOrder>;
2397
2458
  };
2398
- export declare type ProductTranslation = {
2459
+ export type ProductTranslation = {
2399
2460
  __typename?: 'ProductTranslation';
2461
+ createdAt: Scalars['DateTime'];
2462
+ description: Scalars['String'];
2400
2463
  id: Scalars['ID'];
2401
- createdAt: Scalars['DateTime'];
2402
- updatedAt: Scalars['DateTime'];
2403
2464
  languageCode: LanguageCode;
2404
2465
  name: Scalars['String'];
2405
2466
  slug: Scalars['String'];
2406
- description: Scalars['String'];
2467
+ updatedAt: Scalars['DateTime'];
2407
2468
  };
2408
- export declare type ProductVariant = Node & {
2469
+ export type ProductVariant = Node & {
2409
2470
  __typename?: 'ProductVariant';
2471
+ assets: Array<Asset>;
2472
+ createdAt: Scalars['DateTime'];
2473
+ currencyCode: CurrencyCode;
2474
+ customFields?: Maybe<Scalars['JSON']>;
2475
+ facetValues: Array<FacetValue>;
2476
+ featuredAsset?: Maybe<Asset>;
2410
2477
  id: Scalars['ID'];
2478
+ languageCode: LanguageCode;
2479
+ name: Scalars['String'];
2480
+ options: Array<ProductOption>;
2481
+ price: Scalars['Money'];
2482
+ priceWithTax: Scalars['Money'];
2411
2483
  product: Product;
2412
2484
  productId: Scalars['ID'];
2413
- createdAt: Scalars['DateTime'];
2414
- updatedAt: Scalars['DateTime'];
2415
- languageCode: LanguageCode;
2416
2485
  sku: Scalars['String'];
2417
- name: Scalars['String'];
2418
- featuredAsset?: Maybe<Asset>;
2419
- assets: Array<Asset>;
2420
- price: Scalars['Int'];
2421
- currencyCode: CurrencyCode;
2422
- priceWithTax: Scalars['Int'];
2423
2486
  stockLevel: Scalars['String'];
2424
- taxRateApplied: TaxRate;
2425
2487
  taxCategory: TaxCategory;
2426
- options: Array<ProductOption>;
2427
- facetValues: Array<FacetValue>;
2488
+ taxRateApplied: TaxRate;
2428
2489
  translations: Array<ProductVariantTranslation>;
2429
- customFields?: Maybe<Scalars['JSON']>;
2490
+ updatedAt: Scalars['DateTime'];
2430
2491
  };
2431
- export declare type ProductVariantFilterParameter = {
2432
- id?: Maybe<IdOperators>;
2433
- productId?: Maybe<IdOperators>;
2434
- createdAt?: Maybe<DateOperators>;
2435
- updatedAt?: Maybe<DateOperators>;
2436
- languageCode?: Maybe<StringOperators>;
2437
- sku?: Maybe<StringOperators>;
2438
- name?: Maybe<StringOperators>;
2439
- price?: Maybe<NumberOperators>;
2440
- currencyCode?: Maybe<StringOperators>;
2441
- priceWithTax?: Maybe<NumberOperators>;
2442
- stockLevel?: Maybe<StringOperators>;
2443
- };
2444
- export declare type ProductVariantList = PaginatedList & {
2492
+ export type ProductVariantFilterParameter = {
2493
+ createdAt?: InputMaybe<DateOperators>;
2494
+ currencyCode?: InputMaybe<StringOperators>;
2495
+ id?: InputMaybe<IdOperators>;
2496
+ languageCode?: InputMaybe<StringOperators>;
2497
+ name?: InputMaybe<StringOperators>;
2498
+ price?: InputMaybe<NumberOperators>;
2499
+ priceWithTax?: InputMaybe<NumberOperators>;
2500
+ productId?: InputMaybe<IdOperators>;
2501
+ sku?: InputMaybe<StringOperators>;
2502
+ stockLevel?: InputMaybe<StringOperators>;
2503
+ updatedAt?: InputMaybe<DateOperators>;
2504
+ };
2505
+ export type ProductVariantList = PaginatedList & {
2445
2506
  __typename?: 'ProductVariantList';
2446
2507
  items: Array<ProductVariant>;
2447
2508
  totalItems: Scalars['Int'];
2448
2509
  };
2449
- export declare type ProductVariantListOptions = {
2450
- /** Skips the first n results, for use in pagination */
2451
- skip?: Maybe<Scalars['Int']>;
2452
- /** Takes n results, for use in pagination */
2453
- take?: Maybe<Scalars['Int']>;
2454
- /** Specifies which properties to sort the results by */
2455
- sort?: Maybe<ProductVariantSortParameter>;
2510
+ export type ProductVariantListOptions = {
2456
2511
  /** Allows the results to be filtered */
2457
- filter?: Maybe<ProductVariantFilterParameter>;
2512
+ filter?: InputMaybe<ProductVariantFilterParameter>;
2458
2513
  /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */
2459
- filterOperator?: Maybe<LogicalOperator>;
2460
- };
2461
- export declare type ProductVariantSortParameter = {
2462
- id?: Maybe<SortOrder>;
2463
- productId?: Maybe<SortOrder>;
2464
- createdAt?: Maybe<SortOrder>;
2465
- updatedAt?: Maybe<SortOrder>;
2466
- sku?: Maybe<SortOrder>;
2467
- name?: Maybe<SortOrder>;
2468
- price?: Maybe<SortOrder>;
2469
- priceWithTax?: Maybe<SortOrder>;
2470
- stockLevel?: Maybe<SortOrder>;
2471
- };
2472
- export declare type ProductVariantTranslation = {
2514
+ filterOperator?: InputMaybe<LogicalOperator>;
2515
+ /** Skips the first n results, for use in pagination */
2516
+ skip?: InputMaybe<Scalars['Int']>;
2517
+ /** Specifies which properties to sort the results by */
2518
+ sort?: InputMaybe<ProductVariantSortParameter>;
2519
+ /** Takes n results, for use in pagination */
2520
+ take?: InputMaybe<Scalars['Int']>;
2521
+ };
2522
+ export type ProductVariantSortParameter = {
2523
+ createdAt?: InputMaybe<SortOrder>;
2524
+ id?: InputMaybe<SortOrder>;
2525
+ name?: InputMaybe<SortOrder>;
2526
+ price?: InputMaybe<SortOrder>;
2527
+ priceWithTax?: InputMaybe<SortOrder>;
2528
+ productId?: InputMaybe<SortOrder>;
2529
+ sku?: InputMaybe<SortOrder>;
2530
+ stockLevel?: InputMaybe<SortOrder>;
2531
+ updatedAt?: InputMaybe<SortOrder>;
2532
+ };
2533
+ export type ProductVariantTranslation = {
2473
2534
  __typename?: 'ProductVariantTranslation';
2474
- id: Scalars['ID'];
2475
2535
  createdAt: Scalars['DateTime'];
2476
- updatedAt: Scalars['DateTime'];
2536
+ id: Scalars['ID'];
2477
2537
  languageCode: LanguageCode;
2478
2538
  name: Scalars['String'];
2539
+ updatedAt: Scalars['DateTime'];
2479
2540
  };
2480
- export declare type Promotion = Node & {
2541
+ export type Promotion = Node & {
2481
2542
  __typename?: 'Promotion';
2482
- id: Scalars['ID'];
2543
+ actions: Array<ConfigurableOperation>;
2544
+ conditions: Array<ConfigurableOperation>;
2545
+ couponCode?: Maybe<Scalars['String']>;
2483
2546
  createdAt: Scalars['DateTime'];
2484
- updatedAt: Scalars['DateTime'];
2485
- startsAt?: Maybe<Scalars['DateTime']>;
2547
+ customFields?: Maybe<Scalars['JSON']>;
2548
+ description: Scalars['String'];
2549
+ enabled: Scalars['Boolean'];
2486
2550
  endsAt?: Maybe<Scalars['DateTime']>;
2487
- couponCode?: Maybe<Scalars['String']>;
2488
- perCustomerUsageLimit?: Maybe<Scalars['Int']>;
2551
+ id: Scalars['ID'];
2489
2552
  name: Scalars['String'];
2490
- enabled: Scalars['Boolean'];
2491
- conditions: Array<ConfigurableOperation>;
2492
- actions: Array<ConfigurableOperation>;
2493
- customFields?: Maybe<Scalars['JSON']>;
2553
+ perCustomerUsageLimit?: Maybe<Scalars['Int']>;
2554
+ startsAt?: Maybe<Scalars['DateTime']>;
2555
+ translations: Array<PromotionTranslation>;
2556
+ updatedAt: Scalars['DateTime'];
2494
2557
  };
2495
- export declare type PromotionList = PaginatedList & {
2558
+ export type PromotionList = PaginatedList & {
2496
2559
  __typename?: 'PromotionList';
2497
2560
  items: Array<Promotion>;
2498
2561
  totalItems: Scalars['Int'];
2499
2562
  };
2500
- export declare type Query = {
2563
+ export type PromotionTranslation = {
2564
+ __typename?: 'PromotionTranslation';
2565
+ createdAt: Scalars['DateTime'];
2566
+ description: Scalars['String'];
2567
+ id: Scalars['ID'];
2568
+ languageCode: LanguageCode;
2569
+ name: Scalars['String'];
2570
+ updatedAt: Scalars['DateTime'];
2571
+ };
2572
+ export type Query = {
2501
2573
  __typename?: 'Query';
2502
2574
  /** The active Channel */
2503
2575
  activeChannel: Channel;
@@ -2547,370 +2619,388 @@ export declare type Query = {
2547
2619
  /** Search Products based on the criteria set by the `SearchInput` */
2548
2620
  search: SearchResponse;
2549
2621
  };
2550
- export declare type QueryCollectionArgs = {
2551
- id?: Maybe<Scalars['ID']>;
2552
- slug?: Maybe<Scalars['String']>;
2622
+ export type QueryCollectionArgs = {
2623
+ id?: InputMaybe<Scalars['ID']>;
2624
+ slug?: InputMaybe<Scalars['String']>;
2553
2625
  };
2554
- export declare type QueryCollectionsArgs = {
2555
- options?: Maybe<CollectionListOptions>;
2626
+ export type QueryCollectionsArgs = {
2627
+ options?: InputMaybe<CollectionListOptions>;
2556
2628
  };
2557
- export declare type QueryFacetArgs = {
2629
+ export type QueryFacetArgs = {
2558
2630
  id: Scalars['ID'];
2559
2631
  };
2560
- export declare type QueryFacetsArgs = {
2561
- options?: Maybe<FacetListOptions>;
2632
+ export type QueryFacetsArgs = {
2633
+ options?: InputMaybe<FacetListOptions>;
2562
2634
  };
2563
- export declare type QueryMolliePaymentMethodsArgs = {
2635
+ export type QueryMolliePaymentMethodsArgs = {
2564
2636
  input: MolliePaymentMethodsInput;
2565
2637
  };
2566
- export declare type QueryOrderArgs = {
2638
+ export type QueryOrderArgs = {
2567
2639
  id: Scalars['ID'];
2568
2640
  };
2569
- export declare type QueryOrderByCodeArgs = {
2641
+ export type QueryOrderByCodeArgs = {
2570
2642
  code: Scalars['String'];
2571
2643
  };
2572
- export declare type QueryProductArgs = {
2573
- id?: Maybe<Scalars['ID']>;
2574
- slug?: Maybe<Scalars['String']>;
2644
+ export type QueryProductArgs = {
2645
+ id?: InputMaybe<Scalars['ID']>;
2646
+ slug?: InputMaybe<Scalars['String']>;
2575
2647
  };
2576
- export declare type QueryProductsArgs = {
2577
- options?: Maybe<ProductListOptions>;
2648
+ export type QueryProductsArgs = {
2649
+ options?: InputMaybe<ProductListOptions>;
2578
2650
  };
2579
- export declare type QuerySearchArgs = {
2651
+ export type QuerySearchArgs = {
2580
2652
  input: SearchInput;
2581
2653
  };
2582
- export declare type RefreshCustomerVerificationResult = Success | NativeAuthStrategyError;
2583
- export declare type Refund = Node & {
2654
+ export type RefreshCustomerVerificationResult = NativeAuthStrategyError | Success;
2655
+ export type Refund = Node & {
2584
2656
  __typename?: 'Refund';
2585
- id: Scalars['ID'];
2657
+ adjustment: Scalars['Money'];
2586
2658
  createdAt: Scalars['DateTime'];
2587
- updatedAt: Scalars['DateTime'];
2588
- items: Scalars['Int'];
2589
- shipping: Scalars['Int'];
2590
- adjustment: Scalars['Int'];
2591
- total: Scalars['Int'];
2659
+ id: Scalars['ID'];
2660
+ items: Scalars['Money'];
2661
+ lines: Array<RefundLine>;
2662
+ metadata?: Maybe<Scalars['JSON']>;
2592
2663
  method?: Maybe<Scalars['String']>;
2664
+ paymentId: Scalars['ID'];
2665
+ reason?: Maybe<Scalars['String']>;
2666
+ shipping: Scalars['Money'];
2593
2667
  state: Scalars['String'];
2668
+ total: Scalars['Money'];
2594
2669
  transactionId?: Maybe<Scalars['String']>;
2595
- reason?: Maybe<Scalars['String']>;
2596
- orderItems: Array<OrderItem>;
2597
- paymentId: Scalars['ID'];
2598
- metadata?: Maybe<Scalars['JSON']>;
2670
+ updatedAt: Scalars['DateTime'];
2599
2671
  };
2600
- export declare type RegisterCustomerAccountResult = Success | MissingPasswordError | PasswordValidationError | NativeAuthStrategyError;
2601
- export declare type RegisterCustomerInput = {
2672
+ export type RefundLine = {
2673
+ __typename?: 'RefundLine';
2674
+ orderLine: OrderLine;
2675
+ orderLineId: Scalars['ID'];
2676
+ quantity: Scalars['Int'];
2677
+ refund: Refund;
2678
+ refundId: Scalars['ID'];
2679
+ };
2680
+ export type RegisterCustomerAccountResult = MissingPasswordError | NativeAuthStrategyError | PasswordValidationError | Success;
2681
+ export type RegisterCustomerInput = {
2602
2682
  emailAddress: Scalars['String'];
2603
- title?: Maybe<Scalars['String']>;
2604
- firstName?: Maybe<Scalars['String']>;
2605
- lastName?: Maybe<Scalars['String']>;
2606
- phoneNumber?: Maybe<Scalars['String']>;
2607
- password?: Maybe<Scalars['String']>;
2683
+ firstName?: InputMaybe<Scalars['String']>;
2684
+ lastName?: InputMaybe<Scalars['String']>;
2685
+ password?: InputMaybe<Scalars['String']>;
2686
+ phoneNumber?: InputMaybe<Scalars['String']>;
2687
+ title?: InputMaybe<Scalars['String']>;
2608
2688
  };
2609
- export declare type RelationCustomFieldConfig = CustomField & {
2689
+ export type RelationCustomFieldConfig = CustomField & {
2610
2690
  __typename?: 'RelationCustomFieldConfig';
2611
- name: Scalars['String'];
2612
- type: Scalars['String'];
2613
- list: Scalars['Boolean'];
2614
- label?: Maybe<Array<LocalizedString>>;
2615
2691
  description?: Maybe<Array<LocalizedString>>;
2616
- readonly?: Maybe<Scalars['Boolean']>;
2692
+ entity: Scalars['String'];
2617
2693
  internal?: Maybe<Scalars['Boolean']>;
2694
+ label?: Maybe<Array<LocalizedString>>;
2695
+ list: Scalars['Boolean'];
2696
+ name: Scalars['String'];
2618
2697
  nullable?: Maybe<Scalars['Boolean']>;
2619
- entity: Scalars['String'];
2698
+ readonly?: Maybe<Scalars['Boolean']>;
2620
2699
  scalarFields: Array<Scalars['String']>;
2700
+ type: Scalars['String'];
2621
2701
  ui?: Maybe<Scalars['JSON']>;
2622
2702
  };
2623
- export declare type RemoveOrderItemsResult = Order | OrderModificationError;
2624
- export declare type RequestPasswordResetResult = Success | NativeAuthStrategyError;
2625
- export declare type RequestUpdateCustomerEmailAddressResult = Success | InvalidCredentialsError | EmailAddressConflictError | NativeAuthStrategyError;
2626
- export declare type ResetPasswordResult = CurrentUser | PasswordResetTokenInvalidError | PasswordResetTokenExpiredError | PasswordValidationError | NativeAuthStrategyError | NotVerifiedError;
2627
- export declare type Role = Node & {
2703
+ export type RemoveOrderItemsResult = Order | OrderModificationError;
2704
+ export type RequestPasswordResetResult = NativeAuthStrategyError | Success;
2705
+ export type RequestUpdateCustomerEmailAddressResult = EmailAddressConflictError | InvalidCredentialsError | NativeAuthStrategyError | Success;
2706
+ export type ResetPasswordResult = CurrentUser | NativeAuthStrategyError | NotVerifiedError | PasswordResetTokenExpiredError | PasswordResetTokenInvalidError | PasswordValidationError;
2707
+ export type Role = Node & {
2628
2708
  __typename?: 'Role';
2629
- id: Scalars['ID'];
2630
- createdAt: Scalars['DateTime'];
2631
- updatedAt: Scalars['DateTime'];
2709
+ channels: Array<Channel>;
2632
2710
  code: Scalars['String'];
2711
+ createdAt: Scalars['DateTime'];
2633
2712
  description: Scalars['String'];
2713
+ id: Scalars['ID'];
2634
2714
  permissions: Array<Permission>;
2635
- channels: Array<Channel>;
2715
+ updatedAt: Scalars['DateTime'];
2636
2716
  };
2637
- export declare type RoleList = PaginatedList & {
2717
+ export type RoleList = PaginatedList & {
2638
2718
  __typename?: 'RoleList';
2639
2719
  items: Array<Role>;
2640
2720
  totalItems: Scalars['Int'];
2641
2721
  };
2642
- export declare type SearchInput = {
2643
- term?: Maybe<Scalars['String']>;
2644
- facetValueIds?: Maybe<Array<Scalars['ID']>>;
2645
- facetValueOperator?: Maybe<LogicalOperator>;
2646
- facetValueFilters?: Maybe<Array<FacetValueFilterInput>>;
2647
- collectionId?: Maybe<Scalars['ID']>;
2648
- collectionSlug?: Maybe<Scalars['String']>;
2649
- groupByProduct?: Maybe<Scalars['Boolean']>;
2650
- take?: Maybe<Scalars['Int']>;
2651
- skip?: Maybe<Scalars['Int']>;
2652
- sort?: Maybe<SearchResultSortParameter>;
2653
- };
2654
- export declare type SearchReindexResponse = {
2722
+ export type SearchInput = {
2723
+ collectionId?: InputMaybe<Scalars['ID']>;
2724
+ collectionSlug?: InputMaybe<Scalars['String']>;
2725
+ facetValueFilters?: InputMaybe<Array<FacetValueFilterInput>>;
2726
+ /** @deprecated Use `facetValueFilters` instead */
2727
+ facetValueIds?: InputMaybe<Array<Scalars['ID']>>;
2728
+ /** @deprecated Use `facetValueFilters` instead */
2729
+ facetValueOperator?: InputMaybe<LogicalOperator>;
2730
+ groupByProduct?: InputMaybe<Scalars['Boolean']>;
2731
+ skip?: InputMaybe<Scalars['Int']>;
2732
+ sort?: InputMaybe<SearchResultSortParameter>;
2733
+ take?: InputMaybe<Scalars['Int']>;
2734
+ term?: InputMaybe<Scalars['String']>;
2735
+ };
2736
+ export type SearchReindexResponse = {
2655
2737
  __typename?: 'SearchReindexResponse';
2656
2738
  success: Scalars['Boolean'];
2657
2739
  };
2658
- export declare type SearchResponse = {
2740
+ export type SearchResponse = {
2659
2741
  __typename?: 'SearchResponse';
2742
+ collections: Array<CollectionResult>;
2743
+ facetValues: Array<FacetValueResult>;
2660
2744
  items: Array<SearchResult>;
2661
2745
  totalItems: Scalars['Int'];
2662
- facetValues: Array<FacetValueResult>;
2663
- collections: Array<CollectionResult>;
2664
2746
  };
2665
- export declare type SearchResult = {
2747
+ export type SearchResult = {
2666
2748
  __typename?: 'SearchResult';
2667
- sku: Scalars['String'];
2668
- slug: Scalars['String'];
2669
- productId: Scalars['ID'];
2670
- productName: Scalars['String'];
2671
- productAsset?: Maybe<SearchResultAsset>;
2672
- productVariantId: Scalars['ID'];
2673
- productVariantName: Scalars['String'];
2674
- productVariantAsset?: Maybe<SearchResultAsset>;
2675
- price: SearchResultPrice;
2676
- priceWithTax: SearchResultPrice;
2749
+ /** An array of ids of the Collections in which this result appears */
2750
+ collectionIds: Array<Scalars['ID']>;
2677
2751
  currencyCode: CurrencyCode;
2678
2752
  description: Scalars['String'];
2679
2753
  facetIds: Array<Scalars['ID']>;
2680
2754
  facetValueIds: Array<Scalars['ID']>;
2681
- /** An array of ids of the Collections in which this result appears */
2682
- collectionIds: Array<Scalars['ID']>;
2755
+ price: SearchResultPrice;
2756
+ priceWithTax: SearchResultPrice;
2757
+ productAsset?: Maybe<SearchResultAsset>;
2758
+ productId: Scalars['ID'];
2759
+ productName: Scalars['String'];
2760
+ productVariantAsset?: Maybe<SearchResultAsset>;
2761
+ productVariantId: Scalars['ID'];
2762
+ productVariantName: Scalars['String'];
2683
2763
  /** A relevance score for the result. Differs between database implementations */
2684
2764
  score: Scalars['Float'];
2765
+ sku: Scalars['String'];
2766
+ slug: Scalars['String'];
2685
2767
  };
2686
- export declare type SearchResultAsset = {
2768
+ export type SearchResultAsset = {
2687
2769
  __typename?: 'SearchResultAsset';
2770
+ focalPoint?: Maybe<Coordinate>;
2688
2771
  id: Scalars['ID'];
2689
2772
  preview: Scalars['String'];
2690
- focalPoint?: Maybe<Coordinate>;
2691
2773
  };
2692
2774
  /** The price of a search result product, either as a range or as a single price */
2693
- export declare type SearchResultPrice = PriceRange | SinglePrice;
2694
- export declare type SearchResultSortParameter = {
2695
- name?: Maybe<SortOrder>;
2696
- price?: Maybe<SortOrder>;
2697
- };
2698
- export declare type SetCustomerForOrderResult = Order | AlreadyLoggedInError | EmailAddressConflictError | NoActiveOrderError;
2699
- export declare type SetOrderShippingMethodResult = Order | OrderModificationError | IneligibleShippingMethodError | NoActiveOrderError;
2700
- export declare type ShippingLine = {
2775
+ export type SearchResultPrice = PriceRange | SinglePrice;
2776
+ export type SearchResultSortParameter = {
2777
+ name?: InputMaybe<SortOrder>;
2778
+ price?: InputMaybe<SortOrder>;
2779
+ };
2780
+ export type Seller = Node & {
2781
+ __typename?: 'Seller';
2782
+ createdAt: Scalars['DateTime'];
2783
+ customFields?: Maybe<Scalars['JSON']>;
2784
+ id: Scalars['ID'];
2785
+ name: Scalars['String'];
2786
+ updatedAt: Scalars['DateTime'];
2787
+ };
2788
+ export type SetCustomerForOrderResult = AlreadyLoggedInError | EmailAddressConflictError | GuestCheckoutError | NoActiveOrderError | Order;
2789
+ export type SetOrderShippingMethodResult = IneligibleShippingMethodError | NoActiveOrderError | Order | OrderModificationError;
2790
+ export type ShippingLine = {
2701
2791
  __typename?: 'ShippingLine';
2792
+ discountedPrice: Scalars['Money'];
2793
+ discountedPriceWithTax: Scalars['Money'];
2794
+ discounts: Array<Discount>;
2702
2795
  id: Scalars['ID'];
2796
+ price: Scalars['Money'];
2797
+ priceWithTax: Scalars['Money'];
2703
2798
  shippingMethod: ShippingMethod;
2704
- price: Scalars['Int'];
2705
- priceWithTax: Scalars['Int'];
2706
- discountedPrice: Scalars['Int'];
2707
- discountedPriceWithTax: Scalars['Int'];
2708
- discounts: Array<Discount>;
2709
2799
  };
2710
- export declare type ShippingMethod = Node & {
2800
+ export type ShippingMethod = Node & {
2711
2801
  __typename?: 'ShippingMethod';
2712
- id: Scalars['ID'];
2713
- createdAt: Scalars['DateTime'];
2714
- updatedAt: Scalars['DateTime'];
2715
- languageCode: LanguageCode;
2802
+ calculator: ConfigurableOperation;
2803
+ checker: ConfigurableOperation;
2716
2804
  code: Scalars['String'];
2717
- name: Scalars['String'];
2805
+ createdAt: Scalars['DateTime'];
2806
+ customFields?: Maybe<Scalars['JSON']>;
2718
2807
  description: Scalars['String'];
2719
2808
  fulfillmentHandlerCode: Scalars['String'];
2720
- checker: ConfigurableOperation;
2721
- calculator: ConfigurableOperation;
2809
+ id: Scalars['ID'];
2810
+ languageCode: LanguageCode;
2811
+ name: Scalars['String'];
2722
2812
  translations: Array<ShippingMethodTranslation>;
2723
- customFields?: Maybe<Scalars['JSON']>;
2813
+ updatedAt: Scalars['DateTime'];
2724
2814
  };
2725
- export declare type ShippingMethodList = PaginatedList & {
2815
+ export type ShippingMethodList = PaginatedList & {
2726
2816
  __typename?: 'ShippingMethodList';
2727
2817
  items: Array<ShippingMethod>;
2728
2818
  totalItems: Scalars['Int'];
2729
2819
  };
2730
- export declare type ShippingMethodQuote = {
2820
+ export type ShippingMethodQuote = {
2731
2821
  __typename?: 'ShippingMethodQuote';
2732
- id: Scalars['ID'];
2733
- price: Scalars['Int'];
2734
- priceWithTax: Scalars['Int'];
2735
2822
  code: Scalars['String'];
2736
- name: Scalars['String'];
2823
+ customFields?: Maybe<Scalars['JSON']>;
2737
2824
  description: Scalars['String'];
2825
+ id: Scalars['ID'];
2738
2826
  /** Any optional metadata returned by the ShippingCalculator in the ShippingCalculationResult */
2739
2827
  metadata?: Maybe<Scalars['JSON']>;
2740
- customFields?: Maybe<Scalars['JSON']>;
2828
+ name: Scalars['String'];
2829
+ price: Scalars['Money'];
2830
+ priceWithTax: Scalars['Money'];
2741
2831
  };
2742
- export declare type ShippingMethodTranslation = {
2832
+ export type ShippingMethodTranslation = {
2743
2833
  __typename?: 'ShippingMethodTranslation';
2744
- id: Scalars['ID'];
2745
2834
  createdAt: Scalars['DateTime'];
2746
- updatedAt: Scalars['DateTime'];
2835
+ description: Scalars['String'];
2836
+ id: Scalars['ID'];
2747
2837
  languageCode: LanguageCode;
2748
2838
  name: Scalars['String'];
2749
- description: Scalars['String'];
2839
+ updatedAt: Scalars['DateTime'];
2750
2840
  };
2751
2841
  /** The price value where the result has a single price */
2752
- export declare type SinglePrice = {
2842
+ export type SinglePrice = {
2753
2843
  __typename?: 'SinglePrice';
2754
- value: Scalars['Int'];
2844
+ value: Scalars['Money'];
2755
2845
  };
2756
2846
  export declare enum SortOrder {
2757
2847
  ASC = "ASC",
2758
2848
  DESC = "DESC"
2759
2849
  }
2760
- export declare type StringCustomFieldConfig = CustomField & {
2850
+ export type StringCustomFieldConfig = CustomField & {
2761
2851
  __typename?: 'StringCustomFieldConfig';
2762
- name: Scalars['String'];
2763
- type: Scalars['String'];
2764
- list: Scalars['Boolean'];
2765
- length?: Maybe<Scalars['Int']>;
2766
- label?: Maybe<Array<LocalizedString>>;
2767
2852
  description?: Maybe<Array<LocalizedString>>;
2768
- readonly?: Maybe<Scalars['Boolean']>;
2769
2853
  internal?: Maybe<Scalars['Boolean']>;
2854
+ label?: Maybe<Array<LocalizedString>>;
2855
+ length?: Maybe<Scalars['Int']>;
2856
+ list: Scalars['Boolean'];
2857
+ name: Scalars['String'];
2770
2858
  nullable?: Maybe<Scalars['Boolean']>;
2771
- pattern?: Maybe<Scalars['String']>;
2772
2859
  options?: Maybe<Array<StringFieldOption>>;
2860
+ pattern?: Maybe<Scalars['String']>;
2861
+ readonly?: Maybe<Scalars['Boolean']>;
2862
+ type: Scalars['String'];
2773
2863
  ui?: Maybe<Scalars['JSON']>;
2774
2864
  };
2775
- export declare type StringFieldOption = {
2865
+ export type StringFieldOption = {
2776
2866
  __typename?: 'StringFieldOption';
2777
- value: Scalars['String'];
2778
2867
  label?: Maybe<Array<LocalizedString>>;
2868
+ value: Scalars['String'];
2779
2869
  };
2780
2870
  /** Operators for filtering on a list of String fields */
2781
- export declare type StringListOperators = {
2871
+ export type StringListOperators = {
2782
2872
  inList: Scalars['String'];
2783
2873
  };
2784
2874
  /** Operators for filtering on a String field */
2785
- export declare type StringOperators = {
2786
- eq?: Maybe<Scalars['String']>;
2787
- notEq?: Maybe<Scalars['String']>;
2788
- contains?: Maybe<Scalars['String']>;
2789
- notContains?: Maybe<Scalars['String']>;
2790
- in?: Maybe<Array<Scalars['String']>>;
2791
- notIn?: Maybe<Array<Scalars['String']>>;
2792
- regex?: Maybe<Scalars['String']>;
2793
- isNull?: Maybe<Scalars['Boolean']>;
2875
+ export type StringOperators = {
2876
+ contains?: InputMaybe<Scalars['String']>;
2877
+ eq?: InputMaybe<Scalars['String']>;
2878
+ in?: InputMaybe<Array<Scalars['String']>>;
2879
+ isNull?: InputMaybe<Scalars['Boolean']>;
2880
+ notContains?: InputMaybe<Scalars['String']>;
2881
+ notEq?: InputMaybe<Scalars['String']>;
2882
+ notIn?: InputMaybe<Array<Scalars['String']>>;
2883
+ regex?: InputMaybe<Scalars['String']>;
2794
2884
  };
2795
2885
  /** Indicates that an operation succeeded, where we do not want to return any more specific information. */
2796
- export declare type Success = {
2886
+ export type Success = {
2797
2887
  __typename?: 'Success';
2798
2888
  success: Scalars['Boolean'];
2799
2889
  };
2800
- export declare type Surcharge = Node & {
2890
+ export type Surcharge = Node & {
2801
2891
  __typename?: 'Surcharge';
2802
- id: Scalars['ID'];
2803
2892
  createdAt: Scalars['DateTime'];
2804
- updatedAt: Scalars['DateTime'];
2805
2893
  description: Scalars['String'];
2894
+ id: Scalars['ID'];
2895
+ price: Scalars['Money'];
2896
+ priceWithTax: Scalars['Money'];
2806
2897
  sku?: Maybe<Scalars['String']>;
2807
2898
  taxLines: Array<TaxLine>;
2808
- price: Scalars['Int'];
2809
- priceWithTax: Scalars['Int'];
2810
2899
  taxRate: Scalars['Float'];
2900
+ updatedAt: Scalars['DateTime'];
2811
2901
  };
2812
- export declare type Tag = Node & {
2902
+ export type Tag = Node & {
2813
2903
  __typename?: 'Tag';
2814
- id: Scalars['ID'];
2815
2904
  createdAt: Scalars['DateTime'];
2905
+ id: Scalars['ID'];
2816
2906
  updatedAt: Scalars['DateTime'];
2817
2907
  value: Scalars['String'];
2818
2908
  };
2819
- export declare type TagList = PaginatedList & {
2909
+ export type TagList = PaginatedList & {
2820
2910
  __typename?: 'TagList';
2821
2911
  items: Array<Tag>;
2822
2912
  totalItems: Scalars['Int'];
2823
2913
  };
2824
- export declare type TaxCategory = Node & {
2914
+ export type TaxCategory = Node & {
2825
2915
  __typename?: 'TaxCategory';
2826
- id: Scalars['ID'];
2827
2916
  createdAt: Scalars['DateTime'];
2828
- updatedAt: Scalars['DateTime'];
2829
- name: Scalars['String'];
2830
- isDefault: Scalars['Boolean'];
2831
2917
  customFields?: Maybe<Scalars['JSON']>;
2918
+ id: Scalars['ID'];
2919
+ isDefault: Scalars['Boolean'];
2920
+ name: Scalars['String'];
2921
+ updatedAt: Scalars['DateTime'];
2832
2922
  };
2833
- export declare type TaxLine = {
2923
+ export type TaxLine = {
2834
2924
  __typename?: 'TaxLine';
2835
2925
  description: Scalars['String'];
2836
2926
  taxRate: Scalars['Float'];
2837
2927
  };
2838
- export declare type TaxRate = Node & {
2928
+ export type TaxRate = Node & {
2839
2929
  __typename?: 'TaxRate';
2840
- id: Scalars['ID'];
2930
+ category: TaxCategory;
2841
2931
  createdAt: Scalars['DateTime'];
2842
- updatedAt: Scalars['DateTime'];
2843
- name: Scalars['String'];
2932
+ customFields?: Maybe<Scalars['JSON']>;
2933
+ customerGroup?: Maybe<CustomerGroup>;
2844
2934
  enabled: Scalars['Boolean'];
2935
+ id: Scalars['ID'];
2936
+ name: Scalars['String'];
2937
+ updatedAt: Scalars['DateTime'];
2845
2938
  value: Scalars['Float'];
2846
- category: TaxCategory;
2847
2939
  zone: Zone;
2848
- customerGroup?: Maybe<CustomerGroup>;
2849
- customFields?: Maybe<Scalars['JSON']>;
2850
2940
  };
2851
- export declare type TaxRateList = PaginatedList & {
2941
+ export type TaxRateList = PaginatedList & {
2852
2942
  __typename?: 'TaxRateList';
2853
2943
  items: Array<TaxRate>;
2854
2944
  totalItems: Scalars['Int'];
2855
2945
  };
2856
- export declare type TextCustomFieldConfig = CustomField & {
2946
+ export type TextCustomFieldConfig = CustomField & {
2857
2947
  __typename?: 'TextCustomFieldConfig';
2858
- name: Scalars['String'];
2859
- type: Scalars['String'];
2860
- list: Scalars['Boolean'];
2861
- label?: Maybe<Array<LocalizedString>>;
2862
2948
  description?: Maybe<Array<LocalizedString>>;
2863
- readonly?: Maybe<Scalars['Boolean']>;
2864
2949
  internal?: Maybe<Scalars['Boolean']>;
2950
+ label?: Maybe<Array<LocalizedString>>;
2951
+ list: Scalars['Boolean'];
2952
+ name: Scalars['String'];
2865
2953
  nullable?: Maybe<Scalars['Boolean']>;
2954
+ readonly?: Maybe<Scalars['Boolean']>;
2955
+ type: Scalars['String'];
2866
2956
  ui?: Maybe<Scalars['JSON']>;
2867
2957
  };
2868
- export declare type TransitionOrderToStateResult = Order | OrderStateTransitionError;
2869
- export declare type UpdateAddressInput = {
2958
+ export type TransitionOrderToStateResult = Order | OrderStateTransitionError;
2959
+ export type UpdateAddressInput = {
2960
+ city?: InputMaybe<Scalars['String']>;
2961
+ company?: InputMaybe<Scalars['String']>;
2962
+ countryCode?: InputMaybe<Scalars['String']>;
2963
+ customFields?: InputMaybe<Scalars['JSON']>;
2964
+ defaultBillingAddress?: InputMaybe<Scalars['Boolean']>;
2965
+ defaultShippingAddress?: InputMaybe<Scalars['Boolean']>;
2966
+ fullName?: InputMaybe<Scalars['String']>;
2870
2967
  id: Scalars['ID'];
2871
- fullName?: Maybe<Scalars['String']>;
2872
- company?: Maybe<Scalars['String']>;
2873
- streetLine1?: Maybe<Scalars['String']>;
2874
- streetLine2?: Maybe<Scalars['String']>;
2875
- city?: Maybe<Scalars['String']>;
2876
- province?: Maybe<Scalars['String']>;
2877
- postalCode?: Maybe<Scalars['String']>;
2878
- countryCode?: Maybe<Scalars['String']>;
2879
- phoneNumber?: Maybe<Scalars['String']>;
2880
- defaultShippingAddress?: Maybe<Scalars['Boolean']>;
2881
- defaultBillingAddress?: Maybe<Scalars['Boolean']>;
2882
- customFields?: Maybe<Scalars['JSON']>;
2883
- };
2884
- export declare type UpdateCustomerEmailAddressResult = Success | IdentifierChangeTokenInvalidError | IdentifierChangeTokenExpiredError | NativeAuthStrategyError;
2885
- export declare type UpdateCustomerInput = {
2886
- title?: Maybe<Scalars['String']>;
2887
- firstName?: Maybe<Scalars['String']>;
2888
- lastName?: Maybe<Scalars['String']>;
2889
- phoneNumber?: Maybe<Scalars['String']>;
2890
- customFields?: Maybe<Scalars['JSON']>;
2891
- };
2892
- export declare type UpdateCustomerPasswordResult = Success | InvalidCredentialsError | PasswordValidationError | NativeAuthStrategyError;
2893
- export declare type UpdateOrderInput = {
2894
- customFields?: Maybe<Scalars['JSON']>;
2895
- };
2896
- export declare type UpdateOrderItemsResult = Order | OrderModificationError | OrderLimitError | NegativeQuantityError | InsufficientStockError;
2897
- export declare type User = Node & {
2968
+ phoneNumber?: InputMaybe<Scalars['String']>;
2969
+ postalCode?: InputMaybe<Scalars['String']>;
2970
+ province?: InputMaybe<Scalars['String']>;
2971
+ streetLine1?: InputMaybe<Scalars['String']>;
2972
+ streetLine2?: InputMaybe<Scalars['String']>;
2973
+ };
2974
+ export type UpdateCustomerEmailAddressResult = IdentifierChangeTokenExpiredError | IdentifierChangeTokenInvalidError | NativeAuthStrategyError | Success;
2975
+ export type UpdateCustomerInput = {
2976
+ customFields?: InputMaybe<Scalars['JSON']>;
2977
+ firstName?: InputMaybe<Scalars['String']>;
2978
+ lastName?: InputMaybe<Scalars['String']>;
2979
+ phoneNumber?: InputMaybe<Scalars['String']>;
2980
+ title?: InputMaybe<Scalars['String']>;
2981
+ };
2982
+ export type UpdateCustomerPasswordResult = InvalidCredentialsError | NativeAuthStrategyError | PasswordValidationError | Success;
2983
+ export type UpdateOrderInput = {
2984
+ customFields?: InputMaybe<Scalars['JSON']>;
2985
+ };
2986
+ export type UpdateOrderItemsResult = InsufficientStockError | NegativeQuantityError | Order | OrderLimitError | OrderModificationError;
2987
+ export type User = Node & {
2898
2988
  __typename?: 'User';
2899
- id: Scalars['ID'];
2989
+ authenticationMethods: Array<AuthenticationMethod>;
2900
2990
  createdAt: Scalars['DateTime'];
2901
- updatedAt: Scalars['DateTime'];
2991
+ customFields?: Maybe<Scalars['JSON']>;
2992
+ id: Scalars['ID'];
2902
2993
  identifier: Scalars['String'];
2903
- verified: Scalars['Boolean'];
2904
- roles: Array<Role>;
2905
2994
  lastLogin?: Maybe<Scalars['DateTime']>;
2906
- authenticationMethods: Array<AuthenticationMethod>;
2907
- customFields?: Maybe<Scalars['JSON']>;
2995
+ roles: Array<Role>;
2996
+ updatedAt: Scalars['DateTime'];
2997
+ verified: Scalars['Boolean'];
2908
2998
  };
2909
2999
  /**
2910
3000
  * Returned if the verification token (used to verify a Customer's email address) is valid, but has
2911
3001
  * expired according to the `verificationTokenDuration` setting in the AuthOptions.
2912
3002
  */
2913
- export declare type VerificationTokenExpiredError = ErrorResult & {
3003
+ export type VerificationTokenExpiredError = ErrorResult & {
2914
3004
  __typename?: 'VerificationTokenExpiredError';
2915
3005
  errorCode: ErrorCode;
2916
3006
  message: Scalars['String'];
@@ -2919,18 +3009,18 @@ export declare type VerificationTokenExpiredError = ErrorResult & {
2919
3009
  * Returned if the verification token (used to verify a Customer's email address) is either
2920
3010
  * invalid or does not match any expected tokens.
2921
3011
  */
2922
- export declare type VerificationTokenInvalidError = ErrorResult & {
3012
+ export type VerificationTokenInvalidError = ErrorResult & {
2923
3013
  __typename?: 'VerificationTokenInvalidError';
2924
3014
  errorCode: ErrorCode;
2925
3015
  message: Scalars['String'];
2926
3016
  };
2927
- export declare type VerifyCustomerAccountResult = CurrentUser | VerificationTokenInvalidError | VerificationTokenExpiredError | MissingPasswordError | PasswordValidationError | PasswordAlreadySetError | NativeAuthStrategyError;
2928
- export declare type Zone = Node & {
3017
+ export type VerifyCustomerAccountResult = CurrentUser | MissingPasswordError | NativeAuthStrategyError | PasswordAlreadySetError | PasswordValidationError | VerificationTokenExpiredError | VerificationTokenInvalidError;
3018
+ export type Zone = Node & {
2929
3019
  __typename?: 'Zone';
2930
- id: Scalars['ID'];
2931
3020
  createdAt: Scalars['DateTime'];
2932
- updatedAt: Scalars['DateTime'];
2933
- name: Scalars['String'];
2934
- members: Array<Country>;
2935
3021
  customFields?: Maybe<Scalars['JSON']>;
3022
+ id: Scalars['ID'];
3023
+ members: Array<Country>;
3024
+ name: Scalars['String'];
3025
+ updatedAt: Scalars['DateTime'];
2936
3026
  };