@vendure/common 2.0.0-next.0 → 2.0.0-next.1

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