@vendure/common 2.1.0-next.0 → 2.1.0-next.2

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.
@@ -11,44 +11,79 @@ export type MakeOptional<T, K extends keyof T> = Omit<T, K> & {
11
11
  export type MakeMaybe<T, K extends keyof T> = Omit<T, K> & {
12
12
  [SubKey in K]: Maybe<T[SubKey]>;
13
13
  };
14
+ export type MakeEmpty<T extends {
15
+ [key: string]: unknown;
16
+ }, K extends keyof T> = {
17
+ [_ in K]?: never;
18
+ };
19
+ export type Incremental<T> = T | {
20
+ [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never;
21
+ };
14
22
  /** All built-in and custom scalars, mapped to their actual values */
15
23
  export type Scalars = {
16
- ID: string | number;
17
- String: string;
18
- Boolean: boolean;
19
- Int: number;
20
- Float: number;
21
- DateTime: any;
22
- JSON: any;
23
- Money: number;
24
- Upload: any;
24
+ ID: {
25
+ input: string | number;
26
+ output: string | number;
27
+ };
28
+ String: {
29
+ input: string;
30
+ output: string;
31
+ };
32
+ Boolean: {
33
+ input: boolean;
34
+ output: boolean;
35
+ };
36
+ Int: {
37
+ input: number;
38
+ output: number;
39
+ };
40
+ Float: {
41
+ input: number;
42
+ output: number;
43
+ };
44
+ DateTime: {
45
+ input: any;
46
+ output: any;
47
+ };
48
+ JSON: {
49
+ input: any;
50
+ output: any;
51
+ };
52
+ Money: {
53
+ input: number;
54
+ output: number;
55
+ };
56
+ Upload: {
57
+ input: any;
58
+ output: any;
59
+ };
25
60
  };
26
61
  export type ActiveOrderResult = NoActiveOrderError | Order;
27
62
  export type AddPaymentToOrderResult = IneligiblePaymentMethodError | NoActiveOrderError | Order | OrderPaymentStateError | OrderStateTransitionError | PaymentDeclinedError | PaymentFailedError;
28
63
  export type Address = Node & {
29
64
  __typename?: 'Address';
30
- city?: Maybe<Scalars['String']>;
31
- company?: Maybe<Scalars['String']>;
65
+ city?: Maybe<Scalars['String']['output']>;
66
+ company?: Maybe<Scalars['String']['output']>;
32
67
  country: Country;
33
- createdAt: Scalars['DateTime'];
34
- customFields?: Maybe<Scalars['JSON']>;
35
- defaultBillingAddress?: Maybe<Scalars['Boolean']>;
36
- defaultShippingAddress?: Maybe<Scalars['Boolean']>;
37
- fullName?: Maybe<Scalars['String']>;
38
- id: Scalars['ID'];
39
- phoneNumber?: Maybe<Scalars['String']>;
40
- postalCode?: Maybe<Scalars['String']>;
41
- province?: Maybe<Scalars['String']>;
42
- streetLine1: Scalars['String'];
43
- streetLine2?: Maybe<Scalars['String']>;
44
- updatedAt: Scalars['DateTime'];
68
+ createdAt: Scalars['DateTime']['output'];
69
+ customFields?: Maybe<Scalars['JSON']['output']>;
70
+ defaultBillingAddress?: Maybe<Scalars['Boolean']['output']>;
71
+ defaultShippingAddress?: Maybe<Scalars['Boolean']['output']>;
72
+ fullName?: Maybe<Scalars['String']['output']>;
73
+ id: Scalars['ID']['output'];
74
+ phoneNumber?: Maybe<Scalars['String']['output']>;
75
+ postalCode?: Maybe<Scalars['String']['output']>;
76
+ province?: Maybe<Scalars['String']['output']>;
77
+ streetLine1: Scalars['String']['output'];
78
+ streetLine2?: Maybe<Scalars['String']['output']>;
79
+ updatedAt: Scalars['DateTime']['output'];
45
80
  };
46
81
  export type Adjustment = {
47
82
  __typename?: 'Adjustment';
48
- adjustmentSource: Scalars['String'];
49
- amount: Scalars['Money'];
50
- data?: Maybe<Scalars['JSON']>;
51
- description: Scalars['String'];
83
+ adjustmentSource: Scalars['String']['output'];
84
+ amount: Scalars['Money']['output'];
85
+ data?: Maybe<Scalars['JSON']['output']>;
86
+ description: Scalars['String']['output'];
52
87
  type: AdjustmentType;
53
88
  };
54
89
  export declare enum AdjustmentType {
@@ -60,30 +95,30 @@ export declare enum AdjustmentType {
60
95
  export type AlreadyLoggedInError = ErrorResult & {
61
96
  __typename?: 'AlreadyLoggedInError';
62
97
  errorCode: ErrorCode;
63
- message: Scalars['String'];
98
+ message: Scalars['String']['output'];
64
99
  };
65
100
  export type ApplyCouponCodeResult = CouponCodeExpiredError | CouponCodeInvalidError | CouponCodeLimitError | Order;
66
101
  export type Asset = Node & {
67
102
  __typename?: 'Asset';
68
- createdAt: Scalars['DateTime'];
69
- customFields?: Maybe<Scalars['JSON']>;
70
- fileSize: Scalars['Int'];
103
+ createdAt: Scalars['DateTime']['output'];
104
+ customFields?: Maybe<Scalars['JSON']['output']>;
105
+ fileSize: Scalars['Int']['output'];
71
106
  focalPoint?: Maybe<Coordinate>;
72
- height: Scalars['Int'];
73
- id: Scalars['ID'];
74
- mimeType: Scalars['String'];
75
- name: Scalars['String'];
76
- preview: Scalars['String'];
77
- source: Scalars['String'];
107
+ height: Scalars['Int']['output'];
108
+ id: Scalars['ID']['output'];
109
+ mimeType: Scalars['String']['output'];
110
+ name: Scalars['String']['output'];
111
+ preview: Scalars['String']['output'];
112
+ source: Scalars['String']['output'];
78
113
  tags: Array<Tag>;
79
114
  type: AssetType;
80
- updatedAt: Scalars['DateTime'];
81
- width: Scalars['Int'];
115
+ updatedAt: Scalars['DateTime']['output'];
116
+ width: Scalars['Int']['output'];
82
117
  };
83
118
  export type AssetList = PaginatedList & {
84
119
  __typename?: 'AssetList';
85
120
  items: Array<Asset>;
86
- totalItems: Scalars['Int'];
121
+ totalItems: Scalars['Int']['output'];
87
122
  };
88
123
  export declare enum AssetType {
89
124
  BINARY = "BINARY",
@@ -95,85 +130,85 @@ export type AuthenticationInput = {
95
130
  };
96
131
  export type AuthenticationMethod = Node & {
97
132
  __typename?: 'AuthenticationMethod';
98
- createdAt: Scalars['DateTime'];
99
- id: Scalars['ID'];
100
- strategy: Scalars['String'];
101
- updatedAt: Scalars['DateTime'];
133
+ createdAt: Scalars['DateTime']['output'];
134
+ id: Scalars['ID']['output'];
135
+ strategy: Scalars['String']['output'];
136
+ updatedAt: Scalars['DateTime']['output'];
102
137
  };
103
138
  export type AuthenticationResult = CurrentUser | InvalidCredentialsError | NotVerifiedError;
104
139
  export type BooleanCustomFieldConfig = CustomField & {
105
140
  __typename?: 'BooleanCustomFieldConfig';
106
141
  description?: Maybe<Array<LocalizedString>>;
107
- internal?: Maybe<Scalars['Boolean']>;
142
+ internal?: Maybe<Scalars['Boolean']['output']>;
108
143
  label?: Maybe<Array<LocalizedString>>;
109
- list: Scalars['Boolean'];
110
- name: Scalars['String'];
111
- nullable?: Maybe<Scalars['Boolean']>;
112
- readonly?: Maybe<Scalars['Boolean']>;
113
- type: Scalars['String'];
114
- ui?: Maybe<Scalars['JSON']>;
144
+ list: Scalars['Boolean']['output'];
145
+ name: Scalars['String']['output'];
146
+ nullable?: Maybe<Scalars['Boolean']['output']>;
147
+ readonly?: Maybe<Scalars['Boolean']['output']>;
148
+ type: Scalars['String']['output'];
149
+ ui?: Maybe<Scalars['JSON']['output']>;
115
150
  };
116
151
  /** Operators for filtering on a list of Boolean fields */
117
152
  export type BooleanListOperators = {
118
- inList: Scalars['Boolean'];
153
+ inList: Scalars['Boolean']['input'];
119
154
  };
120
155
  /** Operators for filtering on a Boolean field */
121
156
  export type BooleanOperators = {
122
- eq?: InputMaybe<Scalars['Boolean']>;
123
- isNull?: InputMaybe<Scalars['Boolean']>;
157
+ eq?: InputMaybe<Scalars['Boolean']['input']>;
158
+ isNull?: InputMaybe<Scalars['Boolean']['input']>;
124
159
  };
125
160
  export type Channel = Node & {
126
161
  __typename?: 'Channel';
127
162
  availableCurrencyCodes: Array<CurrencyCode>;
128
163
  availableLanguageCodes?: Maybe<Array<LanguageCode>>;
129
- code: Scalars['String'];
130
- createdAt: Scalars['DateTime'];
164
+ code: Scalars['String']['output'];
165
+ createdAt: Scalars['DateTime']['output'];
131
166
  /** @deprecated Use defaultCurrencyCode instead */
132
167
  currencyCode: CurrencyCode;
133
- customFields?: Maybe<Scalars['JSON']>;
168
+ customFields?: Maybe<Scalars['JSON']['output']>;
134
169
  defaultCurrencyCode: CurrencyCode;
135
170
  defaultLanguageCode: LanguageCode;
136
171
  defaultShippingZone?: Maybe<Zone>;
137
172
  defaultTaxZone?: Maybe<Zone>;
138
- id: Scalars['ID'];
173
+ id: Scalars['ID']['output'];
139
174
  /** Not yet used - will be implemented in a future release. */
140
- outOfStockThreshold?: Maybe<Scalars['Int']>;
141
- pricesIncludeTax: Scalars['Boolean'];
175
+ outOfStockThreshold?: Maybe<Scalars['Int']['output']>;
176
+ pricesIncludeTax: Scalars['Boolean']['output'];
142
177
  seller?: Maybe<Seller>;
143
- token: Scalars['String'];
178
+ token: Scalars['String']['output'];
144
179
  /** Not yet used - will be implemented in a future release. */
145
- trackInventory?: Maybe<Scalars['Boolean']>;
146
- updatedAt: Scalars['DateTime'];
180
+ trackInventory?: Maybe<Scalars['Boolean']['output']>;
181
+ updatedAt: Scalars['DateTime']['output'];
147
182
  };
148
183
  export type Collection = Node & {
149
184
  __typename?: 'Collection';
150
185
  assets: Array<Asset>;
151
186
  breadcrumbs: Array<CollectionBreadcrumb>;
152
187
  children?: Maybe<Array<Collection>>;
153
- createdAt: Scalars['DateTime'];
154
- customFields?: Maybe<Scalars['JSON']>;
155
- description: Scalars['String'];
188
+ createdAt: Scalars['DateTime']['output'];
189
+ customFields?: Maybe<Scalars['JSON']['output']>;
190
+ description: Scalars['String']['output'];
156
191
  featuredAsset?: Maybe<Asset>;
157
192
  filters: Array<ConfigurableOperation>;
158
- id: Scalars['ID'];
193
+ id: Scalars['ID']['output'];
159
194
  languageCode?: Maybe<LanguageCode>;
160
- name: Scalars['String'];
195
+ name: Scalars['String']['output'];
161
196
  parent?: Maybe<Collection>;
162
- parentId: Scalars['ID'];
163
- position: Scalars['Int'];
197
+ parentId: Scalars['ID']['output'];
198
+ position: Scalars['Int']['output'];
164
199
  productVariants: ProductVariantList;
165
- slug: Scalars['String'];
200
+ slug: Scalars['String']['output'];
166
201
  translations: Array<CollectionTranslation>;
167
- updatedAt: Scalars['DateTime'];
202
+ updatedAt: Scalars['DateTime']['output'];
168
203
  };
169
204
  export type CollectionProductVariantsArgs = {
170
205
  options?: InputMaybe<ProductVariantListOptions>;
171
206
  };
172
207
  export type CollectionBreadcrumb = {
173
208
  __typename?: 'CollectionBreadcrumb';
174
- id: Scalars['ID'];
175
- name: Scalars['String'];
176
- slug: Scalars['String'];
209
+ id: Scalars['ID']['output'];
210
+ name: Scalars['String']['output'];
211
+ slug: Scalars['String']['output'];
177
212
  };
178
213
  export type CollectionFilterParameter = {
179
214
  createdAt?: InputMaybe<DateOperators>;
@@ -189,7 +224,7 @@ export type CollectionFilterParameter = {
189
224
  export type CollectionList = PaginatedList & {
190
225
  __typename?: 'CollectionList';
191
226
  items: Array<Collection>;
192
- totalItems: Scalars['Int'];
227
+ totalItems: Scalars['Int']['output'];
193
228
  };
194
229
  export type CollectionListOptions = {
195
230
  /** Allows the results to be filtered */
@@ -197,12 +232,12 @@ export type CollectionListOptions = {
197
232
  /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */
198
233
  filterOperator?: InputMaybe<LogicalOperator>;
199
234
  /** Skips the first n results, for use in pagination */
200
- skip?: InputMaybe<Scalars['Int']>;
235
+ skip?: InputMaybe<Scalars['Int']['input']>;
201
236
  /** Specifies which properties to sort the results by */
202
237
  sort?: InputMaybe<CollectionSortParameter>;
203
238
  /** Takes n results, for use in pagination */
204
- take?: InputMaybe<Scalars['Int']>;
205
- topLevelOnly?: InputMaybe<Scalars['Boolean']>;
239
+ take?: InputMaybe<Scalars['Int']['input']>;
240
+ topLevelOnly?: InputMaybe<Scalars['Boolean']['input']>;
206
241
  };
207
242
  /**
208
243
  * Which Collections are present in the products returned
@@ -211,7 +246,7 @@ export type CollectionListOptions = {
211
246
  export type CollectionResult = {
212
247
  __typename?: 'CollectionResult';
213
248
  collection: Collection;
214
- count: Scalars['Int'];
249
+ count: Scalars['Int']['output'];
215
250
  };
216
251
  export type CollectionSortParameter = {
217
252
  createdAt?: InputMaybe<SortOrder>;
@@ -225,118 +260,118 @@ export type CollectionSortParameter = {
225
260
  };
226
261
  export type CollectionTranslation = {
227
262
  __typename?: 'CollectionTranslation';
228
- createdAt: Scalars['DateTime'];
229
- description: Scalars['String'];
230
- id: Scalars['ID'];
263
+ createdAt: Scalars['DateTime']['output'];
264
+ description: Scalars['String']['output'];
265
+ id: Scalars['ID']['output'];
231
266
  languageCode: LanguageCode;
232
- name: Scalars['String'];
233
- slug: Scalars['String'];
234
- updatedAt: Scalars['DateTime'];
267
+ name: Scalars['String']['output'];
268
+ slug: Scalars['String']['output'];
269
+ updatedAt: Scalars['DateTime']['output'];
235
270
  };
236
271
  export type ConfigArg = {
237
272
  __typename?: 'ConfigArg';
238
- name: Scalars['String'];
239
- value: Scalars['String'];
273
+ name: Scalars['String']['output'];
274
+ value: Scalars['String']['output'];
240
275
  };
241
276
  export type ConfigArgDefinition = {
242
277
  __typename?: 'ConfigArgDefinition';
243
- defaultValue?: Maybe<Scalars['JSON']>;
244
- description?: Maybe<Scalars['String']>;
245
- label?: Maybe<Scalars['String']>;
246
- list: Scalars['Boolean'];
247
- name: Scalars['String'];
248
- required: Scalars['Boolean'];
249
- type: Scalars['String'];
250
- ui?: Maybe<Scalars['JSON']>;
278
+ defaultValue?: Maybe<Scalars['JSON']['output']>;
279
+ description?: Maybe<Scalars['String']['output']>;
280
+ label?: Maybe<Scalars['String']['output']>;
281
+ list: Scalars['Boolean']['output'];
282
+ name: Scalars['String']['output'];
283
+ required: Scalars['Boolean']['output'];
284
+ type: Scalars['String']['output'];
285
+ ui?: Maybe<Scalars['JSON']['output']>;
251
286
  };
252
287
  export type ConfigArgInput = {
253
- name: Scalars['String'];
288
+ name: Scalars['String']['input'];
254
289
  /** A JSON stringified representation of the actual value */
255
- value: Scalars['String'];
290
+ value: Scalars['String']['input'];
256
291
  };
257
292
  export type ConfigurableOperation = {
258
293
  __typename?: 'ConfigurableOperation';
259
294
  args: Array<ConfigArg>;
260
- code: Scalars['String'];
295
+ code: Scalars['String']['output'];
261
296
  };
262
297
  export type ConfigurableOperationDefinition = {
263
298
  __typename?: 'ConfigurableOperationDefinition';
264
299
  args: Array<ConfigArgDefinition>;
265
- code: Scalars['String'];
266
- description: Scalars['String'];
300
+ code: Scalars['String']['output'];
301
+ description: Scalars['String']['output'];
267
302
  };
268
303
  export type ConfigurableOperationInput = {
269
304
  arguments: Array<ConfigArgInput>;
270
- code: Scalars['String'];
305
+ code: Scalars['String']['input'];
271
306
  };
272
307
  export type Coordinate = {
273
308
  __typename?: 'Coordinate';
274
- x: Scalars['Float'];
275
- y: Scalars['Float'];
309
+ x: Scalars['Float']['output'];
310
+ y: Scalars['Float']['output'];
276
311
  };
277
312
  export type Country = Node & Region & {
278
313
  __typename?: 'Country';
279
- code: Scalars['String'];
280
- createdAt: Scalars['DateTime'];
281
- customFields?: Maybe<Scalars['JSON']>;
282
- enabled: Scalars['Boolean'];
283
- id: Scalars['ID'];
314
+ code: Scalars['String']['output'];
315
+ createdAt: Scalars['DateTime']['output'];
316
+ customFields?: Maybe<Scalars['JSON']['output']>;
317
+ enabled: Scalars['Boolean']['output'];
318
+ id: Scalars['ID']['output'];
284
319
  languageCode: LanguageCode;
285
- name: Scalars['String'];
320
+ name: Scalars['String']['output'];
286
321
  parent?: Maybe<Region>;
287
- parentId?: Maybe<Scalars['ID']>;
322
+ parentId?: Maybe<Scalars['ID']['output']>;
288
323
  translations: Array<RegionTranslation>;
289
- type: Scalars['String'];
290
- updatedAt: Scalars['DateTime'];
324
+ type: Scalars['String']['output'];
325
+ updatedAt: Scalars['DateTime']['output'];
291
326
  };
292
327
  export type CountryList = PaginatedList & {
293
328
  __typename?: 'CountryList';
294
329
  items: Array<Country>;
295
- totalItems: Scalars['Int'];
330
+ totalItems: Scalars['Int']['output'];
296
331
  };
297
332
  /** Returned if the provided coupon code is invalid */
298
333
  export type CouponCodeExpiredError = ErrorResult & {
299
334
  __typename?: 'CouponCodeExpiredError';
300
- couponCode: Scalars['String'];
335
+ couponCode: Scalars['String']['output'];
301
336
  errorCode: ErrorCode;
302
- message: Scalars['String'];
337
+ message: Scalars['String']['output'];
303
338
  };
304
339
  /** Returned if the provided coupon code is invalid */
305
340
  export type CouponCodeInvalidError = ErrorResult & {
306
341
  __typename?: 'CouponCodeInvalidError';
307
- couponCode: Scalars['String'];
342
+ couponCode: Scalars['String']['output'];
308
343
  errorCode: ErrorCode;
309
- message: Scalars['String'];
344
+ message: Scalars['String']['output'];
310
345
  };
311
346
  /** Returned if the provided coupon code is invalid */
312
347
  export type CouponCodeLimitError = ErrorResult & {
313
348
  __typename?: 'CouponCodeLimitError';
314
- couponCode: Scalars['String'];
349
+ couponCode: Scalars['String']['output'];
315
350
  errorCode: ErrorCode;
316
- limit: Scalars['Int'];
317
- message: Scalars['String'];
351
+ limit: Scalars['Int']['output'];
352
+ message: Scalars['String']['output'];
318
353
  };
319
354
  export type CreateAddressInput = {
320
- city?: InputMaybe<Scalars['String']>;
321
- company?: InputMaybe<Scalars['String']>;
322
- countryCode: Scalars['String'];
323
- customFields?: InputMaybe<Scalars['JSON']>;
324
- defaultBillingAddress?: InputMaybe<Scalars['Boolean']>;
325
- defaultShippingAddress?: InputMaybe<Scalars['Boolean']>;
326
- fullName?: InputMaybe<Scalars['String']>;
327
- phoneNumber?: InputMaybe<Scalars['String']>;
328
- postalCode?: InputMaybe<Scalars['String']>;
329
- province?: InputMaybe<Scalars['String']>;
330
- streetLine1: Scalars['String'];
331
- streetLine2?: InputMaybe<Scalars['String']>;
355
+ city?: InputMaybe<Scalars['String']['input']>;
356
+ company?: InputMaybe<Scalars['String']['input']>;
357
+ countryCode: Scalars['String']['input'];
358
+ customFields?: InputMaybe<Scalars['JSON']['input']>;
359
+ defaultBillingAddress?: InputMaybe<Scalars['Boolean']['input']>;
360
+ defaultShippingAddress?: InputMaybe<Scalars['Boolean']['input']>;
361
+ fullName?: InputMaybe<Scalars['String']['input']>;
362
+ phoneNumber?: InputMaybe<Scalars['String']['input']>;
363
+ postalCode?: InputMaybe<Scalars['String']['input']>;
364
+ province?: InputMaybe<Scalars['String']['input']>;
365
+ streetLine1: Scalars['String']['input'];
366
+ streetLine2?: InputMaybe<Scalars['String']['input']>;
332
367
  };
333
368
  export type CreateCustomerInput = {
334
- customFields?: InputMaybe<Scalars['JSON']>;
335
- emailAddress: Scalars['String'];
336
- firstName: Scalars['String'];
337
- lastName: Scalars['String'];
338
- phoneNumber?: InputMaybe<Scalars['String']>;
339
- title?: InputMaybe<Scalars['String']>;
369
+ customFields?: InputMaybe<Scalars['JSON']['input']>;
370
+ emailAddress: Scalars['String']['input'];
371
+ firstName: Scalars['String']['input'];
372
+ lastName: Scalars['String']['input'];
373
+ phoneNumber?: InputMaybe<Scalars['String']['input']>;
374
+ title?: InputMaybe<Scalars['String']['input']>;
340
375
  };
341
376
  /**
342
377
  * @description
@@ -663,41 +698,41 @@ export declare enum CurrencyCode {
663
698
  export type CurrentUser = {
664
699
  __typename?: 'CurrentUser';
665
700
  channels: Array<CurrentUserChannel>;
666
- id: Scalars['ID'];
667
- identifier: Scalars['String'];
701
+ id: Scalars['ID']['output'];
702
+ identifier: Scalars['String']['output'];
668
703
  };
669
704
  export type CurrentUserChannel = {
670
705
  __typename?: 'CurrentUserChannel';
671
- code: Scalars['String'];
672
- id: Scalars['ID'];
706
+ code: Scalars['String']['output'];
707
+ id: Scalars['ID']['output'];
673
708
  permissions: Array<Permission>;
674
- token: Scalars['String'];
709
+ token: Scalars['String']['output'];
675
710
  };
676
711
  export type CustomField = {
677
712
  description?: Maybe<Array<LocalizedString>>;
678
- internal?: Maybe<Scalars['Boolean']>;
713
+ internal?: Maybe<Scalars['Boolean']['output']>;
679
714
  label?: Maybe<Array<LocalizedString>>;
680
- list: Scalars['Boolean'];
681
- name: Scalars['String'];
682
- nullable?: Maybe<Scalars['Boolean']>;
683
- readonly?: Maybe<Scalars['Boolean']>;
684
- type: Scalars['String'];
685
- ui?: Maybe<Scalars['JSON']>;
715
+ list: Scalars['Boolean']['output'];
716
+ name: Scalars['String']['output'];
717
+ nullable?: Maybe<Scalars['Boolean']['output']>;
718
+ readonly?: Maybe<Scalars['Boolean']['output']>;
719
+ type: Scalars['String']['output'];
720
+ ui?: Maybe<Scalars['JSON']['output']>;
686
721
  };
687
722
  export type CustomFieldConfig = BooleanCustomFieldConfig | DateTimeCustomFieldConfig | FloatCustomFieldConfig | IntCustomFieldConfig | LocaleStringCustomFieldConfig | LocaleTextCustomFieldConfig | RelationCustomFieldConfig | StringCustomFieldConfig | TextCustomFieldConfig;
688
723
  export type Customer = Node & {
689
724
  __typename?: 'Customer';
690
725
  addresses?: Maybe<Array<Address>>;
691
- createdAt: Scalars['DateTime'];
692
- customFields?: Maybe<Scalars['JSON']>;
693
- emailAddress: Scalars['String'];
694
- firstName: Scalars['String'];
695
- id: Scalars['ID'];
696
- lastName: Scalars['String'];
726
+ createdAt: Scalars['DateTime']['output'];
727
+ customFields?: Maybe<Scalars['JSON']['output']>;
728
+ emailAddress: Scalars['String']['output'];
729
+ firstName: Scalars['String']['output'];
730
+ id: Scalars['ID']['output'];
731
+ lastName: Scalars['String']['output'];
697
732
  orders: OrderList;
698
- phoneNumber?: Maybe<Scalars['String']>;
699
- title?: Maybe<Scalars['String']>;
700
- updatedAt: Scalars['DateTime'];
733
+ phoneNumber?: Maybe<Scalars['String']['output']>;
734
+ title?: Maybe<Scalars['String']['output']>;
735
+ updatedAt: Scalars['DateTime']['output'];
701
736
  user?: Maybe<User>;
702
737
  };
703
738
  export type CustomerOrdersArgs = {
@@ -715,12 +750,12 @@ export type CustomerFilterParameter = {
715
750
  };
716
751
  export type CustomerGroup = Node & {
717
752
  __typename?: 'CustomerGroup';
718
- createdAt: Scalars['DateTime'];
719
- customFields?: Maybe<Scalars['JSON']>;
753
+ createdAt: Scalars['DateTime']['output'];
754
+ customFields?: Maybe<Scalars['JSON']['output']>;
720
755
  customers: CustomerList;
721
- id: Scalars['ID'];
722
- name: Scalars['String'];
723
- updatedAt: Scalars['DateTime'];
756
+ id: Scalars['ID']['output'];
757
+ name: Scalars['String']['output'];
758
+ updatedAt: Scalars['DateTime']['output'];
724
759
  };
725
760
  export type CustomerGroupCustomersArgs = {
726
761
  options?: InputMaybe<CustomerListOptions>;
@@ -728,7 +763,7 @@ export type CustomerGroupCustomersArgs = {
728
763
  export type CustomerList = PaginatedList & {
729
764
  __typename?: 'CustomerList';
730
765
  items: Array<Customer>;
731
- totalItems: Scalars['Int'];
766
+ totalItems: Scalars['Int']['output'];
732
767
  };
733
768
  export type CustomerListOptions = {
734
769
  /** Allows the results to be filtered */
@@ -736,11 +771,11 @@ export type CustomerListOptions = {
736
771
  /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */
737
772
  filterOperator?: InputMaybe<LogicalOperator>;
738
773
  /** Skips the first n results, for use in pagination */
739
- skip?: InputMaybe<Scalars['Int']>;
774
+ skip?: InputMaybe<Scalars['Int']['input']>;
740
775
  /** Specifies which properties to sort the results by */
741
776
  sort?: InputMaybe<CustomerSortParameter>;
742
777
  /** Takes n results, for use in pagination */
743
- take?: InputMaybe<Scalars['Int']>;
778
+ take?: InputMaybe<Scalars['Int']['input']>;
744
779
  };
745
780
  export type CustomerSortParameter = {
746
781
  createdAt?: InputMaybe<SortOrder>;
@@ -754,19 +789,19 @@ export type CustomerSortParameter = {
754
789
  };
755
790
  /** Operators for filtering on a list of Date fields */
756
791
  export type DateListOperators = {
757
- inList: Scalars['DateTime'];
792
+ inList: Scalars['DateTime']['input'];
758
793
  };
759
794
  /** Operators for filtering on a DateTime field */
760
795
  export type DateOperators = {
761
- after?: InputMaybe<Scalars['DateTime']>;
762
- before?: InputMaybe<Scalars['DateTime']>;
796
+ after?: InputMaybe<Scalars['DateTime']['input']>;
797
+ before?: InputMaybe<Scalars['DateTime']['input']>;
763
798
  between?: InputMaybe<DateRange>;
764
- eq?: InputMaybe<Scalars['DateTime']>;
765
- isNull?: InputMaybe<Scalars['Boolean']>;
799
+ eq?: InputMaybe<Scalars['DateTime']['input']>;
800
+ isNull?: InputMaybe<Scalars['Boolean']['input']>;
766
801
  };
767
802
  export type DateRange = {
768
- end: Scalars['DateTime'];
769
- start: Scalars['DateTime'];
803
+ end: Scalars['DateTime']['input'];
804
+ start: Scalars['DateTime']['input'];
770
805
  };
771
806
  /**
772
807
  * Expects the same validation formats as the `<input type="datetime-local">` HTML element.
@@ -775,21 +810,21 @@ export type DateRange = {
775
810
  export type DateTimeCustomFieldConfig = CustomField & {
776
811
  __typename?: 'DateTimeCustomFieldConfig';
777
812
  description?: Maybe<Array<LocalizedString>>;
778
- internal?: Maybe<Scalars['Boolean']>;
813
+ internal?: Maybe<Scalars['Boolean']['output']>;
779
814
  label?: Maybe<Array<LocalizedString>>;
780
- list: Scalars['Boolean'];
781
- max?: Maybe<Scalars['String']>;
782
- min?: Maybe<Scalars['String']>;
783
- name: Scalars['String'];
784
- nullable?: Maybe<Scalars['Boolean']>;
785
- readonly?: Maybe<Scalars['Boolean']>;
786
- step?: Maybe<Scalars['Int']>;
787
- type: Scalars['String'];
788
- ui?: Maybe<Scalars['JSON']>;
815
+ list: Scalars['Boolean']['output'];
816
+ max?: Maybe<Scalars['String']['output']>;
817
+ min?: Maybe<Scalars['String']['output']>;
818
+ name: Scalars['String']['output'];
819
+ nullable?: Maybe<Scalars['Boolean']['output']>;
820
+ readonly?: Maybe<Scalars['Boolean']['output']>;
821
+ step?: Maybe<Scalars['Int']['output']>;
822
+ type: Scalars['String']['output'];
823
+ ui?: Maybe<Scalars['JSON']['output']>;
789
824
  };
790
825
  export type DeletionResponse = {
791
826
  __typename?: 'DeletionResponse';
792
- message?: Maybe<Scalars['String']>;
827
+ message?: Maybe<Scalars['String']['output']>;
793
828
  result: DeletionResult;
794
829
  };
795
830
  export declare enum DeletionResult {
@@ -800,17 +835,17 @@ export declare enum DeletionResult {
800
835
  }
801
836
  export type Discount = {
802
837
  __typename?: 'Discount';
803
- adjustmentSource: Scalars['String'];
804
- amount: Scalars['Money'];
805
- amountWithTax: Scalars['Money'];
806
- description: Scalars['String'];
838
+ adjustmentSource: Scalars['String']['output'];
839
+ amount: Scalars['Money']['output'];
840
+ amountWithTax: Scalars['Money']['output'];
841
+ description: Scalars['String']['output'];
807
842
  type: AdjustmentType;
808
843
  };
809
844
  /** Returned when attempting to create a Customer with an email address already registered to an existing User. */
810
845
  export type EmailAddressConflictError = ErrorResult & {
811
846
  __typename?: 'EmailAddressConflictError';
812
847
  errorCode: ErrorCode;
813
- message: Scalars['String'];
848
+ message: Scalars['String']['output'];
814
849
  };
815
850
  export declare enum ErrorCode {
816
851
  ALREADY_LOGGED_IN_ERROR = "ALREADY_LOGGED_IN_ERROR",
@@ -846,18 +881,18 @@ export declare enum ErrorCode {
846
881
  }
847
882
  export type ErrorResult = {
848
883
  errorCode: ErrorCode;
849
- message: Scalars['String'];
884
+ message: Scalars['String']['output'];
850
885
  };
851
886
  export type Facet = Node & {
852
887
  __typename?: 'Facet';
853
- code: Scalars['String'];
854
- createdAt: Scalars['DateTime'];
855
- customFields?: Maybe<Scalars['JSON']>;
856
- id: Scalars['ID'];
888
+ code: Scalars['String']['output'];
889
+ createdAt: Scalars['DateTime']['output'];
890
+ customFields?: Maybe<Scalars['JSON']['output']>;
891
+ id: Scalars['ID']['output'];
857
892
  languageCode: LanguageCode;
858
- name: Scalars['String'];
893
+ name: Scalars['String']['output'];
859
894
  translations: Array<FacetTranslation>;
860
- updatedAt: Scalars['DateTime'];
895
+ updatedAt: Scalars['DateTime']['output'];
861
896
  /** Returns a paginated, sortable, filterable list of the Facet's values. Added in v2.1.0. */
862
897
  valueList: FacetValueList;
863
898
  values: Array<FacetValue>;
@@ -876,7 +911,7 @@ export type FacetFilterParameter = {
876
911
  export type FacetList = PaginatedList & {
877
912
  __typename?: 'FacetList';
878
913
  items: Array<Facet>;
879
- totalItems: Scalars['Int'];
914
+ totalItems: Scalars['Int']['output'];
880
915
  };
881
916
  export type FacetListOptions = {
882
917
  /** Allows the results to be filtered */
@@ -884,11 +919,11 @@ export type FacetListOptions = {
884
919
  /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */
885
920
  filterOperator?: InputMaybe<LogicalOperator>;
886
921
  /** Skips the first n results, for use in pagination */
887
- skip?: InputMaybe<Scalars['Int']>;
922
+ skip?: InputMaybe<Scalars['Int']['input']>;
888
923
  /** Specifies which properties to sort the results by */
889
924
  sort?: InputMaybe<FacetSortParameter>;
890
925
  /** Takes n results, for use in pagination */
891
- take?: InputMaybe<Scalars['Int']>;
926
+ take?: InputMaybe<Scalars['Int']['input']>;
892
927
  };
893
928
  export type FacetSortParameter = {
894
929
  code?: InputMaybe<SortOrder>;
@@ -899,24 +934,24 @@ export type FacetSortParameter = {
899
934
  };
900
935
  export type FacetTranslation = {
901
936
  __typename?: 'FacetTranslation';
902
- createdAt: Scalars['DateTime'];
903
- id: Scalars['ID'];
937
+ createdAt: Scalars['DateTime']['output'];
938
+ id: Scalars['ID']['output'];
904
939
  languageCode: LanguageCode;
905
- name: Scalars['String'];
906
- updatedAt: Scalars['DateTime'];
940
+ name: Scalars['String']['output'];
941
+ updatedAt: Scalars['DateTime']['output'];
907
942
  };
908
943
  export type FacetValue = Node & {
909
944
  __typename?: 'FacetValue';
910
- code: Scalars['String'];
911
- createdAt: Scalars['DateTime'];
912
- customFields?: Maybe<Scalars['JSON']>;
945
+ code: Scalars['String']['output'];
946
+ createdAt: Scalars['DateTime']['output'];
947
+ customFields?: Maybe<Scalars['JSON']['output']>;
913
948
  facet: Facet;
914
- facetId: Scalars['ID'];
915
- id: Scalars['ID'];
949
+ facetId: Scalars['ID']['output'];
950
+ id: Scalars['ID']['output'];
916
951
  languageCode: LanguageCode;
917
- name: Scalars['String'];
952
+ name: Scalars['String']['output'];
918
953
  translations: Array<FacetValueTranslation>;
919
- updatedAt: Scalars['DateTime'];
954
+ updatedAt: Scalars['DateTime']['output'];
920
955
  };
921
956
  /**
922
957
  * Used to construct boolean expressions for filtering search results
@@ -927,8 +962,8 @@ export type FacetValue = Node & {
927
962
  * * ID=1 AND (ID=2 OR ID=3): `{ facetValueFilters: [{ and: 1 }, { or: [2,3] }] }`
928
963
  */
929
964
  export type FacetValueFilterInput = {
930
- and?: InputMaybe<Scalars['ID']>;
931
- or?: InputMaybe<Array<Scalars['ID']>>;
965
+ and?: InputMaybe<Scalars['ID']['input']>;
966
+ or?: InputMaybe<Array<Scalars['ID']['input']>>;
932
967
  };
933
968
  export type FacetValueFilterParameter = {
934
969
  code?: InputMaybe<StringOperators>;
@@ -942,7 +977,7 @@ export type FacetValueFilterParameter = {
942
977
  export type FacetValueList = PaginatedList & {
943
978
  __typename?: 'FacetValueList';
944
979
  items: Array<FacetValue>;
945
- totalItems: Scalars['Int'];
980
+ totalItems: Scalars['Int']['output'];
946
981
  };
947
982
  export type FacetValueListOptions = {
948
983
  /** Allows the results to be filtered */
@@ -950,11 +985,11 @@ export type FacetValueListOptions = {
950
985
  /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */
951
986
  filterOperator?: InputMaybe<LogicalOperator>;
952
987
  /** Skips the first n results, for use in pagination */
953
- skip?: InputMaybe<Scalars['Int']>;
988
+ skip?: InputMaybe<Scalars['Int']['input']>;
954
989
  /** Specifies which properties to sort the results by */
955
990
  sort?: InputMaybe<FacetValueSortParameter>;
956
991
  /** Takes n results, for use in pagination */
957
- take?: InputMaybe<Scalars['Int']>;
992
+ take?: InputMaybe<Scalars['Int']['input']>;
958
993
  };
959
994
  /**
960
995
  * Which FacetValues are present in the products returned
@@ -962,7 +997,7 @@ export type FacetValueListOptions = {
962
997
  */
963
998
  export type FacetValueResult = {
964
999
  __typename?: 'FacetValueResult';
965
- count: Scalars['Int'];
1000
+ count: Scalars['Int']['output'];
966
1001
  facetValue: FacetValue;
967
1002
  };
968
1003
  export type FacetValueSortParameter = {
@@ -975,47 +1010,47 @@ export type FacetValueSortParameter = {
975
1010
  };
976
1011
  export type FacetValueTranslation = {
977
1012
  __typename?: 'FacetValueTranslation';
978
- createdAt: Scalars['DateTime'];
979
- id: Scalars['ID'];
1013
+ createdAt: Scalars['DateTime']['output'];
1014
+ id: Scalars['ID']['output'];
980
1015
  languageCode: LanguageCode;
981
- name: Scalars['String'];
982
- updatedAt: Scalars['DateTime'];
1016
+ name: Scalars['String']['output'];
1017
+ updatedAt: Scalars['DateTime']['output'];
983
1018
  };
984
1019
  export type FloatCustomFieldConfig = CustomField & {
985
1020
  __typename?: 'FloatCustomFieldConfig';
986
1021
  description?: Maybe<Array<LocalizedString>>;
987
- internal?: Maybe<Scalars['Boolean']>;
1022
+ internal?: Maybe<Scalars['Boolean']['output']>;
988
1023
  label?: Maybe<Array<LocalizedString>>;
989
- list: Scalars['Boolean'];
990
- max?: Maybe<Scalars['Float']>;
991
- min?: Maybe<Scalars['Float']>;
992
- name: Scalars['String'];
993
- nullable?: Maybe<Scalars['Boolean']>;
994
- readonly?: Maybe<Scalars['Boolean']>;
995
- step?: Maybe<Scalars['Float']>;
996
- type: Scalars['String'];
997
- ui?: Maybe<Scalars['JSON']>;
1024
+ list: Scalars['Boolean']['output'];
1025
+ max?: Maybe<Scalars['Float']['output']>;
1026
+ min?: Maybe<Scalars['Float']['output']>;
1027
+ name: Scalars['String']['output'];
1028
+ nullable?: Maybe<Scalars['Boolean']['output']>;
1029
+ readonly?: Maybe<Scalars['Boolean']['output']>;
1030
+ step?: Maybe<Scalars['Float']['output']>;
1031
+ type: Scalars['String']['output'];
1032
+ ui?: Maybe<Scalars['JSON']['output']>;
998
1033
  };
999
1034
  export type Fulfillment = Node & {
1000
1035
  __typename?: 'Fulfillment';
1001
- createdAt: Scalars['DateTime'];
1002
- customFields?: Maybe<Scalars['JSON']>;
1003
- id: Scalars['ID'];
1036
+ createdAt: Scalars['DateTime']['output'];
1037
+ customFields?: Maybe<Scalars['JSON']['output']>;
1038
+ id: Scalars['ID']['output'];
1004
1039
  lines: Array<FulfillmentLine>;
1005
- method: Scalars['String'];
1006
- state: Scalars['String'];
1040
+ method: Scalars['String']['output'];
1041
+ state: Scalars['String']['output'];
1007
1042
  /** @deprecated Use the `lines` field instead */
1008
1043
  summary: Array<FulfillmentLine>;
1009
- trackingCode?: Maybe<Scalars['String']>;
1010
- updatedAt: Scalars['DateTime'];
1044
+ trackingCode?: Maybe<Scalars['String']['output']>;
1045
+ updatedAt: Scalars['DateTime']['output'];
1011
1046
  };
1012
1047
  export type FulfillmentLine = {
1013
1048
  __typename?: 'FulfillmentLine';
1014
1049
  fulfillment: Fulfillment;
1015
- fulfillmentId: Scalars['ID'];
1050
+ fulfillmentId: Scalars['ID']['output'];
1016
1051
  orderLine: OrderLine;
1017
- orderLineId: Scalars['ID'];
1018
- quantity: Scalars['Int'];
1052
+ orderLineId: Scalars['ID']['output'];
1053
+ quantity: Scalars['Int']['output'];
1019
1054
  };
1020
1055
  export declare enum GlobalFlag {
1021
1056
  FALSE = "FALSE",
@@ -1026,16 +1061,16 @@ export declare enum GlobalFlag {
1026
1061
  export type GuestCheckoutError = ErrorResult & {
1027
1062
  __typename?: 'GuestCheckoutError';
1028
1063
  errorCode: ErrorCode;
1029
- errorDetail: Scalars['String'];
1030
- message: Scalars['String'];
1064
+ errorDetail: Scalars['String']['output'];
1065
+ message: Scalars['String']['output'];
1031
1066
  };
1032
1067
  export type HistoryEntry = Node & {
1033
1068
  __typename?: 'HistoryEntry';
1034
- createdAt: Scalars['DateTime'];
1035
- data: Scalars['JSON'];
1036
- id: Scalars['ID'];
1069
+ createdAt: Scalars['DateTime']['output'];
1070
+ data: Scalars['JSON']['output'];
1071
+ id: Scalars['ID']['output'];
1037
1072
  type: HistoryEntryType;
1038
- updatedAt: Scalars['DateTime'];
1073
+ updatedAt: Scalars['DateTime']['output'];
1039
1074
  };
1040
1075
  export type HistoryEntryFilterParameter = {
1041
1076
  createdAt?: InputMaybe<DateOperators>;
@@ -1046,7 +1081,7 @@ export type HistoryEntryFilterParameter = {
1046
1081
  export type HistoryEntryList = PaginatedList & {
1047
1082
  __typename?: 'HistoryEntryList';
1048
1083
  items: Array<HistoryEntry>;
1049
- totalItems: Scalars['Int'];
1084
+ totalItems: Scalars['Int']['output'];
1050
1085
  };
1051
1086
  export type HistoryEntryListOptions = {
1052
1087
  /** Allows the results to be filtered */
@@ -1054,11 +1089,11 @@ export type HistoryEntryListOptions = {
1054
1089
  /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */
1055
1090
  filterOperator?: InputMaybe<LogicalOperator>;
1056
1091
  /** Skips the first n results, for use in pagination */
1057
- skip?: InputMaybe<Scalars['Int']>;
1092
+ skip?: InputMaybe<Scalars['Int']['input']>;
1058
1093
  /** Specifies which properties to sort the results by */
1059
1094
  sort?: InputMaybe<HistoryEntrySortParameter>;
1060
1095
  /** Takes n results, for use in pagination */
1061
- take?: InputMaybe<Scalars['Int']>;
1096
+ take?: InputMaybe<Scalars['Int']['input']>;
1062
1097
  };
1063
1098
  export type HistoryEntrySortParameter = {
1064
1099
  createdAt?: InputMaybe<SortOrder>;
@@ -1093,15 +1128,15 @@ export declare enum HistoryEntryType {
1093
1128
  }
1094
1129
  /** Operators for filtering on a list of ID fields */
1095
1130
  export type IdListOperators = {
1096
- inList: Scalars['ID'];
1131
+ inList: Scalars['ID']['input'];
1097
1132
  };
1098
1133
  /** Operators for filtering on an ID field */
1099
1134
  export type IdOperators = {
1100
- eq?: InputMaybe<Scalars['String']>;
1101
- in?: InputMaybe<Array<Scalars['String']>>;
1102
- isNull?: InputMaybe<Scalars['Boolean']>;
1103
- notEq?: InputMaybe<Scalars['String']>;
1104
- notIn?: InputMaybe<Array<Scalars['String']>>;
1135
+ eq?: InputMaybe<Scalars['String']['input']>;
1136
+ in?: InputMaybe<Array<Scalars['String']['input']>>;
1137
+ isNull?: InputMaybe<Scalars['Boolean']['input']>;
1138
+ notEq?: InputMaybe<Scalars['String']['input']>;
1139
+ notIn?: InputMaybe<Array<Scalars['String']['input']>>;
1105
1140
  };
1106
1141
  /**
1107
1142
  * Returned if the token used to change a Customer's email address is valid, but has
@@ -1110,7 +1145,7 @@ export type IdOperators = {
1110
1145
  export type IdentifierChangeTokenExpiredError = ErrorResult & {
1111
1146
  __typename?: 'IdentifierChangeTokenExpiredError';
1112
1147
  errorCode: ErrorCode;
1113
- message: Scalars['String'];
1148
+ message: Scalars['String']['output'];
1114
1149
  };
1115
1150
  /**
1116
1151
  * Returned if the token used to change a Customer's email address is either
@@ -1119,50 +1154,50 @@ export type IdentifierChangeTokenExpiredError = ErrorResult & {
1119
1154
  export type IdentifierChangeTokenInvalidError = ErrorResult & {
1120
1155
  __typename?: 'IdentifierChangeTokenInvalidError';
1121
1156
  errorCode: ErrorCode;
1122
- message: Scalars['String'];
1157
+ message: Scalars['String']['output'];
1123
1158
  };
1124
1159
  /** Returned when attempting to add a Payment using a PaymentMethod for which the Order is not eligible. */
1125
1160
  export type IneligiblePaymentMethodError = ErrorResult & {
1126
1161
  __typename?: 'IneligiblePaymentMethodError';
1127
- eligibilityCheckerMessage?: Maybe<Scalars['String']>;
1162
+ eligibilityCheckerMessage?: Maybe<Scalars['String']['output']>;
1128
1163
  errorCode: ErrorCode;
1129
- message: Scalars['String'];
1164
+ message: Scalars['String']['output'];
1130
1165
  };
1131
1166
  /** Returned when attempting to set a ShippingMethod for which the Order is not eligible */
1132
1167
  export type IneligibleShippingMethodError = ErrorResult & {
1133
1168
  __typename?: 'IneligibleShippingMethodError';
1134
1169
  errorCode: ErrorCode;
1135
- message: Scalars['String'];
1170
+ message: Scalars['String']['output'];
1136
1171
  };
1137
1172
  /** Returned when attempting to add more items to the Order than are available */
1138
1173
  export type InsufficientStockError = ErrorResult & {
1139
1174
  __typename?: 'InsufficientStockError';
1140
1175
  errorCode: ErrorCode;
1141
- message: Scalars['String'];
1176
+ message: Scalars['String']['output'];
1142
1177
  order: Order;
1143
- quantityAvailable: Scalars['Int'];
1178
+ quantityAvailable: Scalars['Int']['output'];
1144
1179
  };
1145
1180
  export type IntCustomFieldConfig = CustomField & {
1146
1181
  __typename?: 'IntCustomFieldConfig';
1147
1182
  description?: Maybe<Array<LocalizedString>>;
1148
- internal?: Maybe<Scalars['Boolean']>;
1183
+ internal?: Maybe<Scalars['Boolean']['output']>;
1149
1184
  label?: Maybe<Array<LocalizedString>>;
1150
- list: Scalars['Boolean'];
1151
- max?: Maybe<Scalars['Int']>;
1152
- min?: Maybe<Scalars['Int']>;
1153
- name: Scalars['String'];
1154
- nullable?: Maybe<Scalars['Boolean']>;
1155
- readonly?: Maybe<Scalars['Boolean']>;
1156
- step?: Maybe<Scalars['Int']>;
1157
- type: Scalars['String'];
1158
- ui?: Maybe<Scalars['JSON']>;
1185
+ list: Scalars['Boolean']['output'];
1186
+ max?: Maybe<Scalars['Int']['output']>;
1187
+ min?: Maybe<Scalars['Int']['output']>;
1188
+ name: Scalars['String']['output'];
1189
+ nullable?: Maybe<Scalars['Boolean']['output']>;
1190
+ readonly?: Maybe<Scalars['Boolean']['output']>;
1191
+ step?: Maybe<Scalars['Int']['output']>;
1192
+ type: Scalars['String']['output'];
1193
+ ui?: Maybe<Scalars['JSON']['output']>;
1159
1194
  };
1160
1195
  /** Returned if the user authentication credentials are not valid */
1161
1196
  export type InvalidCredentialsError = ErrorResult & {
1162
1197
  __typename?: 'InvalidCredentialsError';
1163
- authenticationError: Scalars['String'];
1198
+ authenticationError: Scalars['String']['output'];
1164
1199
  errorCode: ErrorCode;
1165
- message: Scalars['String'];
1200
+ message: Scalars['String']['output'];
1166
1201
  };
1167
1202
  /**
1168
1203
  * @description
@@ -1492,33 +1527,33 @@ export declare enum LanguageCode {
1492
1527
  export type LocaleStringCustomFieldConfig = CustomField & {
1493
1528
  __typename?: 'LocaleStringCustomFieldConfig';
1494
1529
  description?: Maybe<Array<LocalizedString>>;
1495
- internal?: Maybe<Scalars['Boolean']>;
1530
+ internal?: Maybe<Scalars['Boolean']['output']>;
1496
1531
  label?: Maybe<Array<LocalizedString>>;
1497
- length?: Maybe<Scalars['Int']>;
1498
- list: Scalars['Boolean'];
1499
- name: Scalars['String'];
1500
- nullable?: Maybe<Scalars['Boolean']>;
1501
- pattern?: Maybe<Scalars['String']>;
1502
- readonly?: Maybe<Scalars['Boolean']>;
1503
- type: Scalars['String'];
1504
- ui?: Maybe<Scalars['JSON']>;
1532
+ length?: Maybe<Scalars['Int']['output']>;
1533
+ list: Scalars['Boolean']['output'];
1534
+ name: Scalars['String']['output'];
1535
+ nullable?: Maybe<Scalars['Boolean']['output']>;
1536
+ pattern?: Maybe<Scalars['String']['output']>;
1537
+ readonly?: Maybe<Scalars['Boolean']['output']>;
1538
+ type: Scalars['String']['output'];
1539
+ ui?: Maybe<Scalars['JSON']['output']>;
1505
1540
  };
1506
1541
  export type LocaleTextCustomFieldConfig = CustomField & {
1507
1542
  __typename?: 'LocaleTextCustomFieldConfig';
1508
1543
  description?: Maybe<Array<LocalizedString>>;
1509
- internal?: Maybe<Scalars['Boolean']>;
1544
+ internal?: Maybe<Scalars['Boolean']['output']>;
1510
1545
  label?: Maybe<Array<LocalizedString>>;
1511
- list: Scalars['Boolean'];
1512
- name: Scalars['String'];
1513
- nullable?: Maybe<Scalars['Boolean']>;
1514
- readonly?: Maybe<Scalars['Boolean']>;
1515
- type: Scalars['String'];
1516
- ui?: Maybe<Scalars['JSON']>;
1546
+ list: Scalars['Boolean']['output'];
1547
+ name: Scalars['String']['output'];
1548
+ nullable?: Maybe<Scalars['Boolean']['output']>;
1549
+ readonly?: Maybe<Scalars['Boolean']['output']>;
1550
+ type: Scalars['String']['output'];
1551
+ ui?: Maybe<Scalars['JSON']['output']>;
1517
1552
  };
1518
1553
  export type LocalizedString = {
1519
1554
  __typename?: 'LocalizedString';
1520
1555
  languageCode: LanguageCode;
1521
- value: Scalars['String'];
1556
+ value: Scalars['String']['output'];
1522
1557
  };
1523
1558
  export declare enum LogicalOperator {
1524
1559
  AND = "AND",
@@ -1528,7 +1563,7 @@ export declare enum LogicalOperator {
1528
1563
  export type MissingPasswordError = ErrorResult & {
1529
1564
  __typename?: 'MissingPasswordError';
1530
1565
  errorCode: ErrorCode;
1531
- message: Scalars['String'];
1566
+ message: Scalars['String']['output'];
1532
1567
  };
1533
1568
  export type Mutation = {
1534
1569
  __typename?: 'Mutation';
@@ -1623,56 +1658,56 @@ export type Mutation = {
1623
1658
  verifyCustomerAccount: VerifyCustomerAccountResult;
1624
1659
  };
1625
1660
  export type MutationAddItemToOrderArgs = {
1626
- productVariantId: Scalars['ID'];
1627
- quantity: Scalars['Int'];
1661
+ productVariantId: Scalars['ID']['input'];
1662
+ quantity: Scalars['Int']['input'];
1628
1663
  };
1629
1664
  export type MutationAddPaymentToOrderArgs = {
1630
1665
  input: PaymentInput;
1631
1666
  };
1632
1667
  export type MutationAdjustOrderLineArgs = {
1633
- orderLineId: Scalars['ID'];
1634
- quantity: Scalars['Int'];
1668
+ orderLineId: Scalars['ID']['input'];
1669
+ quantity: Scalars['Int']['input'];
1635
1670
  };
1636
1671
  export type MutationApplyCouponCodeArgs = {
1637
- couponCode: Scalars['String'];
1672
+ couponCode: Scalars['String']['input'];
1638
1673
  };
1639
1674
  export type MutationAuthenticateArgs = {
1640
1675
  input: AuthenticationInput;
1641
- rememberMe?: InputMaybe<Scalars['Boolean']>;
1676
+ rememberMe?: InputMaybe<Scalars['Boolean']['input']>;
1642
1677
  };
1643
1678
  export type MutationCreateCustomerAddressArgs = {
1644
1679
  input: CreateAddressInput;
1645
1680
  };
1646
1681
  export type MutationDeleteCustomerAddressArgs = {
1647
- id: Scalars['ID'];
1682
+ id: Scalars['ID']['input'];
1648
1683
  };
1649
1684
  export type MutationLoginArgs = {
1650
- password: Scalars['String'];
1651
- rememberMe?: InputMaybe<Scalars['Boolean']>;
1652
- username: Scalars['String'];
1685
+ password: Scalars['String']['input'];
1686
+ rememberMe?: InputMaybe<Scalars['Boolean']['input']>;
1687
+ username: Scalars['String']['input'];
1653
1688
  };
1654
1689
  export type MutationRefreshCustomerVerificationArgs = {
1655
- emailAddress: Scalars['String'];
1690
+ emailAddress: Scalars['String']['input'];
1656
1691
  };
1657
1692
  export type MutationRegisterCustomerAccountArgs = {
1658
1693
  input: RegisterCustomerInput;
1659
1694
  };
1660
1695
  export type MutationRemoveCouponCodeArgs = {
1661
- couponCode: Scalars['String'];
1696
+ couponCode: Scalars['String']['input'];
1662
1697
  };
1663
1698
  export type MutationRemoveOrderLineArgs = {
1664
- orderLineId: Scalars['ID'];
1699
+ orderLineId: Scalars['ID']['input'];
1665
1700
  };
1666
1701
  export type MutationRequestPasswordResetArgs = {
1667
- emailAddress: Scalars['String'];
1702
+ emailAddress: Scalars['String']['input'];
1668
1703
  };
1669
1704
  export type MutationRequestUpdateCustomerEmailAddressArgs = {
1670
- newEmailAddress: Scalars['String'];
1671
- password: Scalars['String'];
1705
+ newEmailAddress: Scalars['String']['input'];
1706
+ password: Scalars['String']['input'];
1672
1707
  };
1673
1708
  export type MutationResetPasswordArgs = {
1674
- password: Scalars['String'];
1675
- token: Scalars['String'];
1709
+ password: Scalars['String']['input'];
1710
+ token: Scalars['String']['input'];
1676
1711
  };
1677
1712
  export type MutationSetCustomerForOrderArgs = {
1678
1713
  input: CreateCustomerInput;
@@ -1687,10 +1722,10 @@ export type MutationSetOrderShippingAddressArgs = {
1687
1722
  input: CreateAddressInput;
1688
1723
  };
1689
1724
  export type MutationSetOrderShippingMethodArgs = {
1690
- shippingMethodId: Array<Scalars['ID']>;
1725
+ shippingMethodId: Array<Scalars['ID']['input']>;
1691
1726
  };
1692
1727
  export type MutationTransitionOrderToStateArgs = {
1693
- state: Scalars['String'];
1728
+ state: Scalars['String']['input'];
1694
1729
  };
1695
1730
  export type MutationUpdateCustomerArgs = {
1696
1731
  input: UpdateCustomerInput;
@@ -1699,32 +1734,32 @@ export type MutationUpdateCustomerAddressArgs = {
1699
1734
  input: UpdateAddressInput;
1700
1735
  };
1701
1736
  export type MutationUpdateCustomerEmailAddressArgs = {
1702
- token: Scalars['String'];
1737
+ token: Scalars['String']['input'];
1703
1738
  };
1704
1739
  export type MutationUpdateCustomerPasswordArgs = {
1705
- currentPassword: Scalars['String'];
1706
- newPassword: Scalars['String'];
1740
+ currentPassword: Scalars['String']['input'];
1741
+ newPassword: Scalars['String']['input'];
1707
1742
  };
1708
1743
  export type MutationVerifyCustomerAccountArgs = {
1709
- password?: InputMaybe<Scalars['String']>;
1710
- token: Scalars['String'];
1744
+ password?: InputMaybe<Scalars['String']['input']>;
1745
+ token: Scalars['String']['input'];
1711
1746
  };
1712
1747
  export type NativeAuthInput = {
1713
- password: Scalars['String'];
1714
- username: Scalars['String'];
1748
+ password: Scalars['String']['input'];
1749
+ username: Scalars['String']['input'];
1715
1750
  };
1716
1751
  /** Returned when attempting an operation that relies on the NativeAuthStrategy, if that strategy is not configured. */
1717
1752
  export type NativeAuthStrategyError = ErrorResult & {
1718
1753
  __typename?: 'NativeAuthStrategyError';
1719
1754
  errorCode: ErrorCode;
1720
- message: Scalars['String'];
1755
+ message: Scalars['String']['output'];
1721
1756
  };
1722
1757
  export type NativeAuthenticationResult = CurrentUser | InvalidCredentialsError | NativeAuthStrategyError | NotVerifiedError;
1723
1758
  /** Returned when attempting to set a negative OrderLine quantity. */
1724
1759
  export type NegativeQuantityError = ErrorResult & {
1725
1760
  __typename?: 'NegativeQuantityError';
1726
1761
  errorCode: ErrorCode;
1727
- message: Scalars['String'];
1762
+ message: Scalars['String']['output'];
1728
1763
  };
1729
1764
  /**
1730
1765
  * Returned when invoking a mutation which depends on there being an active Order on the
@@ -1733,10 +1768,10 @@ export type NegativeQuantityError = ErrorResult & {
1733
1768
  export type NoActiveOrderError = ErrorResult & {
1734
1769
  __typename?: 'NoActiveOrderError';
1735
1770
  errorCode: ErrorCode;
1736
- message: Scalars['String'];
1771
+ message: Scalars['String']['output'];
1737
1772
  };
1738
1773
  export type Node = {
1739
- id: Scalars['ID'];
1774
+ id: Scalars['ID']['output'];
1740
1775
  };
1741
1776
  /**
1742
1777
  * Returned if `authOptions.requireVerification` is set to `true` (which is the default)
@@ -1745,66 +1780,66 @@ export type Node = {
1745
1780
  export type NotVerifiedError = ErrorResult & {
1746
1781
  __typename?: 'NotVerifiedError';
1747
1782
  errorCode: ErrorCode;
1748
- message: Scalars['String'];
1783
+ message: Scalars['String']['output'];
1749
1784
  };
1750
1785
  /** Operators for filtering on a list of Number fields */
1751
1786
  export type NumberListOperators = {
1752
- inList: Scalars['Float'];
1787
+ inList: Scalars['Float']['input'];
1753
1788
  };
1754
1789
  /** Operators for filtering on a Int or Float field */
1755
1790
  export type NumberOperators = {
1756
1791
  between?: InputMaybe<NumberRange>;
1757
- eq?: InputMaybe<Scalars['Float']>;
1758
- gt?: InputMaybe<Scalars['Float']>;
1759
- gte?: InputMaybe<Scalars['Float']>;
1760
- isNull?: InputMaybe<Scalars['Boolean']>;
1761
- lt?: InputMaybe<Scalars['Float']>;
1762
- lte?: InputMaybe<Scalars['Float']>;
1792
+ eq?: InputMaybe<Scalars['Float']['input']>;
1793
+ gt?: InputMaybe<Scalars['Float']['input']>;
1794
+ gte?: InputMaybe<Scalars['Float']['input']>;
1795
+ isNull?: InputMaybe<Scalars['Boolean']['input']>;
1796
+ lt?: InputMaybe<Scalars['Float']['input']>;
1797
+ lte?: InputMaybe<Scalars['Float']['input']>;
1763
1798
  };
1764
1799
  export type NumberRange = {
1765
- end: Scalars['Float'];
1766
- start: Scalars['Float'];
1800
+ end: Scalars['Float']['input'];
1801
+ start: Scalars['Float']['input'];
1767
1802
  };
1768
1803
  export type Order = Node & {
1769
1804
  __typename?: 'Order';
1770
1805
  /** An order is active as long as the payment process has not been completed */
1771
- active: Scalars['Boolean'];
1806
+ active: Scalars['Boolean']['output'];
1772
1807
  billingAddress?: Maybe<OrderAddress>;
1773
1808
  /** A unique code for the Order */
1774
- code: Scalars['String'];
1809
+ code: Scalars['String']['output'];
1775
1810
  /** An array of all coupon codes applied to the Order */
1776
- couponCodes: Array<Scalars['String']>;
1777
- createdAt: Scalars['DateTime'];
1811
+ couponCodes: Array<Scalars['String']['output']>;
1812
+ createdAt: Scalars['DateTime']['output'];
1778
1813
  currencyCode: CurrencyCode;
1779
- customFields?: Maybe<Scalars['JSON']>;
1814
+ customFields?: Maybe<Scalars['JSON']['output']>;
1780
1815
  customer?: Maybe<Customer>;
1781
1816
  discounts: Array<Discount>;
1782
1817
  fulfillments?: Maybe<Array<Fulfillment>>;
1783
1818
  history: HistoryEntryList;
1784
- id: Scalars['ID'];
1819
+ id: Scalars['ID']['output'];
1785
1820
  lines: Array<OrderLine>;
1786
1821
  /**
1787
1822
  * The date & time that the Order was placed, i.e. the Customer
1788
1823
  * completed the checkout and the Order is no longer "active"
1789
1824
  */
1790
- orderPlacedAt?: Maybe<Scalars['DateTime']>;
1825
+ orderPlacedAt?: Maybe<Scalars['DateTime']['output']>;
1791
1826
  payments?: Maybe<Array<Payment>>;
1792
1827
  /** Promotions applied to the order. Only gets populated after the payment process has completed. */
1793
1828
  promotions: Array<Promotion>;
1794
- shipping: Scalars['Money'];
1829
+ shipping: Scalars['Money']['output'];
1795
1830
  shippingAddress?: Maybe<OrderAddress>;
1796
1831
  shippingLines: Array<ShippingLine>;
1797
- shippingWithTax: Scalars['Money'];
1798
- state: Scalars['String'];
1832
+ shippingWithTax: Scalars['Money']['output'];
1833
+ state: Scalars['String']['output'];
1799
1834
  /**
1800
1835
  * The subTotal is the total of all OrderLines in the Order. This figure also includes any Order-level
1801
1836
  * discounts which have been prorated (proportionally distributed) amongst the items of each OrderLine.
1802
1837
  * To get a total of all OrderLines which does not account for prorated discounts, use the
1803
1838
  * sum of `OrderLine.discountedLinePrice` values.
1804
1839
  */
1805
- subTotal: Scalars['Money'];
1840
+ subTotal: Scalars['Money']['output'];
1806
1841
  /** Same as subTotal, but inclusive of tax */
1807
- subTotalWithTax: Scalars['Money'];
1842
+ subTotalWithTax: Scalars['Money']['output'];
1808
1843
  /**
1809
1844
  * Surcharges are arbitrary modifications to the Order total which are neither
1810
1845
  * ProductVariants nor discounts resulting from applied Promotions. For example,
@@ -1815,29 +1850,29 @@ export type Order = Node & {
1815
1850
  /** A summary of the taxes being applied to this Order */
1816
1851
  taxSummary: Array<OrderTaxSummary>;
1817
1852
  /** Equal to subTotal plus shipping */
1818
- total: Scalars['Money'];
1819
- totalQuantity: Scalars['Int'];
1853
+ total: Scalars['Money']['output'];
1854
+ totalQuantity: Scalars['Int']['output'];
1820
1855
  /** The final payable amount. Equal to subTotalWithTax plus shippingWithTax */
1821
- totalWithTax: Scalars['Money'];
1856
+ totalWithTax: Scalars['Money']['output'];
1822
1857
  type: OrderType;
1823
- updatedAt: Scalars['DateTime'];
1858
+ updatedAt: Scalars['DateTime']['output'];
1824
1859
  };
1825
1860
  export type OrderHistoryArgs = {
1826
1861
  options?: InputMaybe<HistoryEntryListOptions>;
1827
1862
  };
1828
1863
  export type OrderAddress = {
1829
1864
  __typename?: 'OrderAddress';
1830
- city?: Maybe<Scalars['String']>;
1831
- company?: Maybe<Scalars['String']>;
1832
- country?: Maybe<Scalars['String']>;
1833
- countryCode?: Maybe<Scalars['String']>;
1834
- customFields?: Maybe<Scalars['JSON']>;
1835
- fullName?: Maybe<Scalars['String']>;
1836
- phoneNumber?: Maybe<Scalars['String']>;
1837
- postalCode?: Maybe<Scalars['String']>;
1838
- province?: Maybe<Scalars['String']>;
1839
- streetLine1?: Maybe<Scalars['String']>;
1840
- streetLine2?: Maybe<Scalars['String']>;
1865
+ city?: Maybe<Scalars['String']['output']>;
1866
+ company?: Maybe<Scalars['String']['output']>;
1867
+ country?: Maybe<Scalars['String']['output']>;
1868
+ countryCode?: Maybe<Scalars['String']['output']>;
1869
+ customFields?: Maybe<Scalars['JSON']['output']>;
1870
+ fullName?: Maybe<Scalars['String']['output']>;
1871
+ phoneNumber?: Maybe<Scalars['String']['output']>;
1872
+ postalCode?: Maybe<Scalars['String']['output']>;
1873
+ province?: Maybe<Scalars['String']['output']>;
1874
+ streetLine1?: Maybe<Scalars['String']['output']>;
1875
+ streetLine2?: Maybe<Scalars['String']['output']>;
1841
1876
  };
1842
1877
  export type OrderFilterParameter = {
1843
1878
  active?: InputMaybe<BooleanOperators>;
@@ -1861,17 +1896,17 @@ export type OrderFilterParameter = {
1861
1896
  export type OrderLimitError = ErrorResult & {
1862
1897
  __typename?: 'OrderLimitError';
1863
1898
  errorCode: ErrorCode;
1864
- maxItems: Scalars['Int'];
1865
- message: Scalars['String'];
1899
+ maxItems: Scalars['Int']['output'];
1900
+ message: Scalars['String']['output'];
1866
1901
  };
1867
1902
  export type OrderLine = Node & {
1868
1903
  __typename?: 'OrderLine';
1869
- createdAt: Scalars['DateTime'];
1870
- customFields?: Maybe<Scalars['JSON']>;
1904
+ createdAt: Scalars['DateTime']['output'];
1905
+ customFields?: Maybe<Scalars['JSON']['output']>;
1871
1906
  /** The price of the line including discounts, excluding tax */
1872
- discountedLinePrice: Scalars['Money'];
1907
+ discountedLinePrice: Scalars['Money']['output'];
1873
1908
  /** The price of the line including discounts and tax */
1874
- discountedLinePriceWithTax: Scalars['Money'];
1909
+ discountedLinePriceWithTax: Scalars['Money']['output'];
1875
1910
  /**
1876
1911
  * The price of a single unit including discounts, excluding tax.
1877
1912
  *
@@ -1880,56 +1915,56 @@ export type OrderLine = Node & {
1880
1915
  * correct price to display to customers to avoid confusion
1881
1916
  * about the internal handling of distributed Order-level discounts.
1882
1917
  */
1883
- discountedUnitPrice: Scalars['Money'];
1918
+ discountedUnitPrice: Scalars['Money']['output'];
1884
1919
  /** The price of a single unit including discounts and tax */
1885
- discountedUnitPriceWithTax: Scalars['Money'];
1920
+ discountedUnitPriceWithTax: Scalars['Money']['output'];
1886
1921
  discounts: Array<Discount>;
1887
1922
  featuredAsset?: Maybe<Asset>;
1888
1923
  fulfillmentLines?: Maybe<Array<FulfillmentLine>>;
1889
- id: Scalars['ID'];
1924
+ id: Scalars['ID']['output'];
1890
1925
  /** The total price of the line excluding tax and discounts. */
1891
- linePrice: Scalars['Money'];
1926
+ linePrice: Scalars['Money']['output'];
1892
1927
  /** The total price of the line including tax but excluding discounts. */
1893
- linePriceWithTax: Scalars['Money'];
1928
+ linePriceWithTax: Scalars['Money']['output'];
1894
1929
  /** The total tax on this line */
1895
- lineTax: Scalars['Money'];
1930
+ lineTax: Scalars['Money']['output'];
1896
1931
  order: Order;
1897
1932
  /** The quantity at the time the Order was placed */
1898
- orderPlacedQuantity: Scalars['Int'];
1933
+ orderPlacedQuantity: Scalars['Int']['output'];
1899
1934
  productVariant: ProductVariant;
1900
1935
  /**
1901
1936
  * The actual line price, taking into account both item discounts _and_ prorated (proportionally-distributed)
1902
1937
  * Order-level discounts. This value is the true economic value of the OrderLine, and is used in tax
1903
1938
  * and refund calculations.
1904
1939
  */
1905
- proratedLinePrice: Scalars['Money'];
1940
+ proratedLinePrice: Scalars['Money']['output'];
1906
1941
  /** The proratedLinePrice including tax */
1907
- proratedLinePriceWithTax: Scalars['Money'];
1942
+ proratedLinePriceWithTax: Scalars['Money']['output'];
1908
1943
  /**
1909
1944
  * The actual unit price, taking into account both item discounts _and_ prorated (proportionally-distributed)
1910
1945
  * Order-level discounts. This value is the true economic value of the OrderItem, and is used in tax
1911
1946
  * and refund calculations.
1912
1947
  */
1913
- proratedUnitPrice: Scalars['Money'];
1948
+ proratedUnitPrice: Scalars['Money']['output'];
1914
1949
  /** The proratedUnitPrice including tax */
1915
- proratedUnitPriceWithTax: Scalars['Money'];
1916
- quantity: Scalars['Int'];
1950
+ proratedUnitPriceWithTax: Scalars['Money']['output'];
1951
+ quantity: Scalars['Int']['output'];
1917
1952
  taxLines: Array<TaxLine>;
1918
- taxRate: Scalars['Float'];
1953
+ taxRate: Scalars['Float']['output'];
1919
1954
  /** The price of a single unit, excluding tax and discounts */
1920
- unitPrice: Scalars['Money'];
1955
+ unitPrice: Scalars['Money']['output'];
1921
1956
  /** Non-zero if the unitPrice has changed since it was initially added to Order */
1922
- unitPriceChangeSinceAdded: Scalars['Money'];
1957
+ unitPriceChangeSinceAdded: Scalars['Money']['output'];
1923
1958
  /** The price of a single unit, including tax but excluding discounts */
1924
- unitPriceWithTax: Scalars['Money'];
1959
+ unitPriceWithTax: Scalars['Money']['output'];
1925
1960
  /** Non-zero if the unitPriceWithTax has changed since it was initially added to Order */
1926
- unitPriceWithTaxChangeSinceAdded: Scalars['Money'];
1927
- updatedAt: Scalars['DateTime'];
1961
+ unitPriceWithTaxChangeSinceAdded: Scalars['Money']['output'];
1962
+ updatedAt: Scalars['DateTime']['output'];
1928
1963
  };
1929
1964
  export type OrderList = PaginatedList & {
1930
1965
  __typename?: 'OrderList';
1931
1966
  items: Array<Order>;
1932
- totalItems: Scalars['Int'];
1967
+ totalItems: Scalars['Int']['output'];
1933
1968
  };
1934
1969
  export type OrderListOptions = {
1935
1970
  /** Allows the results to be filtered */
@@ -1937,23 +1972,23 @@ export type OrderListOptions = {
1937
1972
  /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */
1938
1973
  filterOperator?: InputMaybe<LogicalOperator>;
1939
1974
  /** Skips the first n results, for use in pagination */
1940
- skip?: InputMaybe<Scalars['Int']>;
1975
+ skip?: InputMaybe<Scalars['Int']['input']>;
1941
1976
  /** Specifies which properties to sort the results by */
1942
1977
  sort?: InputMaybe<OrderSortParameter>;
1943
1978
  /** Takes n results, for use in pagination */
1944
- take?: InputMaybe<Scalars['Int']>;
1979
+ take?: InputMaybe<Scalars['Int']['input']>;
1945
1980
  };
1946
1981
  /** Returned when attempting to modify the contents of an Order that is not in the `AddingItems` state. */
1947
1982
  export type OrderModificationError = ErrorResult & {
1948
1983
  __typename?: 'OrderModificationError';
1949
1984
  errorCode: ErrorCode;
1950
- message: Scalars['String'];
1985
+ message: Scalars['String']['output'];
1951
1986
  };
1952
1987
  /** Returned when attempting to add a Payment to an Order that is not in the `ArrangingPayment` state. */
1953
1988
  export type OrderPaymentStateError = ErrorResult & {
1954
1989
  __typename?: 'OrderPaymentStateError';
1955
1990
  errorCode: ErrorCode;
1956
- message: Scalars['String'];
1991
+ message: Scalars['String']['output'];
1957
1992
  };
1958
1993
  export type OrderSortParameter = {
1959
1994
  code?: InputMaybe<SortOrder>;
@@ -1974,10 +2009,10 @@ export type OrderSortParameter = {
1974
2009
  export type OrderStateTransitionError = ErrorResult & {
1975
2010
  __typename?: 'OrderStateTransitionError';
1976
2011
  errorCode: ErrorCode;
1977
- fromState: Scalars['String'];
1978
- message: Scalars['String'];
1979
- toState: Scalars['String'];
1980
- transitionError: Scalars['String'];
2012
+ fromState: Scalars['String']['output'];
2013
+ message: Scalars['String']['output'];
2014
+ toState: Scalars['String']['output'];
2015
+ transitionError: Scalars['String']['output'];
1981
2016
  };
1982
2017
  /**
1983
2018
  * A summary of the taxes being applied to this order, grouped
@@ -1986,13 +2021,13 @@ export type OrderStateTransitionError = ErrorResult & {
1986
2021
  export type OrderTaxSummary = {
1987
2022
  __typename?: 'OrderTaxSummary';
1988
2023
  /** A description of this tax */
1989
- description: Scalars['String'];
2024
+ description: Scalars['String']['output'];
1990
2025
  /** The total net price of OrderLines to which this taxRate applies */
1991
- taxBase: Scalars['Money'];
2026
+ taxBase: Scalars['Money']['output'];
1992
2027
  /** The taxRate as a percentage */
1993
- taxRate: Scalars['Float'];
2028
+ taxRate: Scalars['Float']['output'];
1994
2029
  /** The total tax being applied to the Order at this taxRate */
1995
- taxTotal: Scalars['Money'];
2030
+ taxTotal: Scalars['Money']['output'];
1996
2031
  };
1997
2032
  export declare enum OrderType {
1998
2033
  Aggregate = "Aggregate",
@@ -2001,13 +2036,13 @@ export declare enum OrderType {
2001
2036
  }
2002
2037
  export type PaginatedList = {
2003
2038
  items: Array<Node>;
2004
- totalItems: Scalars['Int'];
2039
+ totalItems: Scalars['Int']['output'];
2005
2040
  };
2006
2041
  /** Returned when attempting to verify a customer account with a password, when a password has already been set. */
2007
2042
  export type PasswordAlreadySetError = ErrorResult & {
2008
2043
  __typename?: 'PasswordAlreadySetError';
2009
2044
  errorCode: ErrorCode;
2010
- message: Scalars['String'];
2045
+ message: Scalars['String']['output'];
2011
2046
  };
2012
2047
  /**
2013
2048
  * Returned if the token used to reset a Customer's password is valid, but has
@@ -2016,7 +2051,7 @@ export type PasswordAlreadySetError = ErrorResult & {
2016
2051
  export type PasswordResetTokenExpiredError = ErrorResult & {
2017
2052
  __typename?: 'PasswordResetTokenExpiredError';
2018
2053
  errorCode: ErrorCode;
2019
- message: Scalars['String'];
2054
+ message: Scalars['String']['output'];
2020
2055
  };
2021
2056
  /**
2022
2057
  * Returned if the token used to reset a Customer's password is either
@@ -2025,41 +2060,41 @@ export type PasswordResetTokenExpiredError = ErrorResult & {
2025
2060
  export type PasswordResetTokenInvalidError = ErrorResult & {
2026
2061
  __typename?: 'PasswordResetTokenInvalidError';
2027
2062
  errorCode: ErrorCode;
2028
- message: Scalars['String'];
2063
+ message: Scalars['String']['output'];
2029
2064
  };
2030
2065
  /** Returned when attempting to register or verify a customer account where the given password fails password validation. */
2031
2066
  export type PasswordValidationError = ErrorResult & {
2032
2067
  __typename?: 'PasswordValidationError';
2033
2068
  errorCode: ErrorCode;
2034
- message: Scalars['String'];
2035
- validationErrorMessage: Scalars['String'];
2069
+ message: Scalars['String']['output'];
2070
+ validationErrorMessage: Scalars['String']['output'];
2036
2071
  };
2037
2072
  export type Payment = Node & {
2038
2073
  __typename?: 'Payment';
2039
- amount: Scalars['Money'];
2040
- createdAt: Scalars['DateTime'];
2041
- errorMessage?: Maybe<Scalars['String']>;
2042
- id: Scalars['ID'];
2043
- metadata?: Maybe<Scalars['JSON']>;
2044
- method: Scalars['String'];
2074
+ amount: Scalars['Money']['output'];
2075
+ createdAt: Scalars['DateTime']['output'];
2076
+ errorMessage?: Maybe<Scalars['String']['output']>;
2077
+ id: Scalars['ID']['output'];
2078
+ metadata?: Maybe<Scalars['JSON']['output']>;
2079
+ method: Scalars['String']['output'];
2045
2080
  refunds: Array<Refund>;
2046
- state: Scalars['String'];
2047
- transactionId?: Maybe<Scalars['String']>;
2048
- updatedAt: Scalars['DateTime'];
2081
+ state: Scalars['String']['output'];
2082
+ transactionId?: Maybe<Scalars['String']['output']>;
2083
+ updatedAt: Scalars['DateTime']['output'];
2049
2084
  };
2050
2085
  /** Returned when a Payment is declined by the payment provider. */
2051
2086
  export type PaymentDeclinedError = ErrorResult & {
2052
2087
  __typename?: 'PaymentDeclinedError';
2053
2088
  errorCode: ErrorCode;
2054
- message: Scalars['String'];
2055
- paymentErrorMessage: Scalars['String'];
2089
+ message: Scalars['String']['output'];
2090
+ paymentErrorMessage: Scalars['String']['output'];
2056
2091
  };
2057
2092
  /** Returned when a Payment fails due to an error. */
2058
2093
  export type PaymentFailedError = ErrorResult & {
2059
2094
  __typename?: 'PaymentFailedError';
2060
2095
  errorCode: ErrorCode;
2061
- message: Scalars['String'];
2062
- paymentErrorMessage: Scalars['String'];
2096
+ message: Scalars['String']['output'];
2097
+ paymentErrorMessage: Scalars['String']['output'];
2063
2098
  };
2064
2099
  /** Passed as input to the `addPaymentToOrder` mutation. */
2065
2100
  export type PaymentInput = {
@@ -2068,42 +2103,42 @@ export type PaymentInput = {
2068
2103
  * as the "metadata" argument. For example, it could contain an ID for the payment and other
2069
2104
  * data generated by the payment provider.
2070
2105
  */
2071
- metadata: Scalars['JSON'];
2106
+ metadata: Scalars['JSON']['input'];
2072
2107
  /** This field should correspond to the `code` property of a PaymentMethod. */
2073
- method: Scalars['String'];
2108
+ method: Scalars['String']['input'];
2074
2109
  };
2075
2110
  export type PaymentMethod = Node & {
2076
2111
  __typename?: 'PaymentMethod';
2077
2112
  checker?: Maybe<ConfigurableOperation>;
2078
- code: Scalars['String'];
2079
- createdAt: Scalars['DateTime'];
2080
- customFields?: Maybe<Scalars['JSON']>;
2081
- description: Scalars['String'];
2082
- enabled: Scalars['Boolean'];
2113
+ code: Scalars['String']['output'];
2114
+ createdAt: Scalars['DateTime']['output'];
2115
+ customFields?: Maybe<Scalars['JSON']['output']>;
2116
+ description: Scalars['String']['output'];
2117
+ enabled: Scalars['Boolean']['output'];
2083
2118
  handler: ConfigurableOperation;
2084
- id: Scalars['ID'];
2085
- name: Scalars['String'];
2119
+ id: Scalars['ID']['output'];
2120
+ name: Scalars['String']['output'];
2086
2121
  translations: Array<PaymentMethodTranslation>;
2087
- updatedAt: Scalars['DateTime'];
2122
+ updatedAt: Scalars['DateTime']['output'];
2088
2123
  };
2089
2124
  export type PaymentMethodQuote = {
2090
2125
  __typename?: 'PaymentMethodQuote';
2091
- code: Scalars['String'];
2092
- customFields?: Maybe<Scalars['JSON']>;
2093
- description: Scalars['String'];
2094
- eligibilityMessage?: Maybe<Scalars['String']>;
2095
- id: Scalars['ID'];
2096
- isEligible: Scalars['Boolean'];
2097
- name: Scalars['String'];
2126
+ code: Scalars['String']['output'];
2127
+ customFields?: Maybe<Scalars['JSON']['output']>;
2128
+ description: Scalars['String']['output'];
2129
+ eligibilityMessage?: Maybe<Scalars['String']['output']>;
2130
+ id: Scalars['ID']['output'];
2131
+ isEligible: Scalars['Boolean']['output'];
2132
+ name: Scalars['String']['output'];
2098
2133
  };
2099
2134
  export type PaymentMethodTranslation = {
2100
2135
  __typename?: 'PaymentMethodTranslation';
2101
- createdAt: Scalars['DateTime'];
2102
- description: Scalars['String'];
2103
- id: Scalars['ID'];
2136
+ createdAt: Scalars['DateTime']['output'];
2137
+ description: Scalars['String']['output'];
2138
+ id: Scalars['ID']['output'];
2104
2139
  languageCode: LanguageCode;
2105
- name: Scalars['String'];
2106
- updatedAt: Scalars['DateTime'];
2140
+ name: Scalars['String']['output'];
2141
+ updatedAt: Scalars['DateTime']['output'];
2107
2142
  };
2108
2143
  /**
2109
2144
  * @description
@@ -2328,25 +2363,25 @@ export declare enum Permission {
2328
2363
  /** The price range where the result has more than one price */
2329
2364
  export type PriceRange = {
2330
2365
  __typename?: 'PriceRange';
2331
- max: Scalars['Money'];
2332
- min: Scalars['Money'];
2366
+ max: Scalars['Money']['output'];
2367
+ min: Scalars['Money']['output'];
2333
2368
  };
2334
2369
  export type Product = Node & {
2335
2370
  __typename?: 'Product';
2336
2371
  assets: Array<Asset>;
2337
2372
  collections: Array<Collection>;
2338
- createdAt: Scalars['DateTime'];
2339
- customFields?: Maybe<Scalars['JSON']>;
2340
- description: Scalars['String'];
2373
+ createdAt: Scalars['DateTime']['output'];
2374
+ customFields?: Maybe<Scalars['JSON']['output']>;
2375
+ description: Scalars['String']['output'];
2341
2376
  facetValues: Array<FacetValue>;
2342
2377
  featuredAsset?: Maybe<Asset>;
2343
- id: Scalars['ID'];
2378
+ id: Scalars['ID']['output'];
2344
2379
  languageCode: LanguageCode;
2345
- name: Scalars['String'];
2380
+ name: Scalars['String']['output'];
2346
2381
  optionGroups: Array<ProductOptionGroup>;
2347
- slug: Scalars['String'];
2382
+ slug: Scalars['String']['output'];
2348
2383
  translations: Array<ProductTranslation>;
2349
- updatedAt: Scalars['DateTime'];
2384
+ updatedAt: Scalars['DateTime']['output'];
2350
2385
  /** Returns a paginated, sortable, filterable list of ProductVariants */
2351
2386
  variantList: ProductVariantList;
2352
2387
  /** Returns all ProductVariants */
@@ -2367,7 +2402,7 @@ export type ProductFilterParameter = {
2367
2402
  export type ProductList = PaginatedList & {
2368
2403
  __typename?: 'ProductList';
2369
2404
  items: Array<Product>;
2370
- totalItems: Scalars['Int'];
2405
+ totalItems: Scalars['Int']['output'];
2371
2406
  };
2372
2407
  export type ProductListOptions = {
2373
2408
  /** Allows the results to be filtered */
@@ -2375,52 +2410,52 @@ export type ProductListOptions = {
2375
2410
  /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */
2376
2411
  filterOperator?: InputMaybe<LogicalOperator>;
2377
2412
  /** Skips the first n results, for use in pagination */
2378
- skip?: InputMaybe<Scalars['Int']>;
2413
+ skip?: InputMaybe<Scalars['Int']['input']>;
2379
2414
  /** Specifies which properties to sort the results by */
2380
2415
  sort?: InputMaybe<ProductSortParameter>;
2381
2416
  /** Takes n results, for use in pagination */
2382
- take?: InputMaybe<Scalars['Int']>;
2417
+ take?: InputMaybe<Scalars['Int']['input']>;
2383
2418
  };
2384
2419
  export type ProductOption = Node & {
2385
2420
  __typename?: 'ProductOption';
2386
- code: Scalars['String'];
2387
- createdAt: Scalars['DateTime'];
2388
- customFields?: Maybe<Scalars['JSON']>;
2421
+ code: Scalars['String']['output'];
2422
+ createdAt: Scalars['DateTime']['output'];
2423
+ customFields?: Maybe<Scalars['JSON']['output']>;
2389
2424
  group: ProductOptionGroup;
2390
- groupId: Scalars['ID'];
2391
- id: Scalars['ID'];
2425
+ groupId: Scalars['ID']['output'];
2426
+ id: Scalars['ID']['output'];
2392
2427
  languageCode: LanguageCode;
2393
- name: Scalars['String'];
2428
+ name: Scalars['String']['output'];
2394
2429
  translations: Array<ProductOptionTranslation>;
2395
- updatedAt: Scalars['DateTime'];
2430
+ updatedAt: Scalars['DateTime']['output'];
2396
2431
  };
2397
2432
  export type ProductOptionGroup = Node & {
2398
2433
  __typename?: 'ProductOptionGroup';
2399
- code: Scalars['String'];
2400
- createdAt: Scalars['DateTime'];
2401
- customFields?: Maybe<Scalars['JSON']>;
2402
- id: Scalars['ID'];
2434
+ code: Scalars['String']['output'];
2435
+ createdAt: Scalars['DateTime']['output'];
2436
+ customFields?: Maybe<Scalars['JSON']['output']>;
2437
+ id: Scalars['ID']['output'];
2403
2438
  languageCode: LanguageCode;
2404
- name: Scalars['String'];
2439
+ name: Scalars['String']['output'];
2405
2440
  options: Array<ProductOption>;
2406
2441
  translations: Array<ProductOptionGroupTranslation>;
2407
- updatedAt: Scalars['DateTime'];
2442
+ updatedAt: Scalars['DateTime']['output'];
2408
2443
  };
2409
2444
  export type ProductOptionGroupTranslation = {
2410
2445
  __typename?: 'ProductOptionGroupTranslation';
2411
- createdAt: Scalars['DateTime'];
2412
- id: Scalars['ID'];
2446
+ createdAt: Scalars['DateTime']['output'];
2447
+ id: Scalars['ID']['output'];
2413
2448
  languageCode: LanguageCode;
2414
- name: Scalars['String'];
2415
- updatedAt: Scalars['DateTime'];
2449
+ name: Scalars['String']['output'];
2450
+ updatedAt: Scalars['DateTime']['output'];
2416
2451
  };
2417
2452
  export type ProductOptionTranslation = {
2418
2453
  __typename?: 'ProductOptionTranslation';
2419
- createdAt: Scalars['DateTime'];
2420
- id: Scalars['ID'];
2454
+ createdAt: Scalars['DateTime']['output'];
2455
+ id: Scalars['ID']['output'];
2421
2456
  languageCode: LanguageCode;
2422
- name: Scalars['String'];
2423
- updatedAt: Scalars['DateTime'];
2457
+ name: Scalars['String']['output'];
2458
+ updatedAt: Scalars['DateTime']['output'];
2424
2459
  };
2425
2460
  export type ProductSortParameter = {
2426
2461
  createdAt?: InputMaybe<SortOrder>;
@@ -2432,36 +2467,36 @@ export type ProductSortParameter = {
2432
2467
  };
2433
2468
  export type ProductTranslation = {
2434
2469
  __typename?: 'ProductTranslation';
2435
- createdAt: Scalars['DateTime'];
2436
- description: Scalars['String'];
2437
- id: Scalars['ID'];
2470
+ createdAt: Scalars['DateTime']['output'];
2471
+ description: Scalars['String']['output'];
2472
+ id: Scalars['ID']['output'];
2438
2473
  languageCode: LanguageCode;
2439
- name: Scalars['String'];
2440
- slug: Scalars['String'];
2441
- updatedAt: Scalars['DateTime'];
2474
+ name: Scalars['String']['output'];
2475
+ slug: Scalars['String']['output'];
2476
+ updatedAt: Scalars['DateTime']['output'];
2442
2477
  };
2443
2478
  export type ProductVariant = Node & {
2444
2479
  __typename?: 'ProductVariant';
2445
2480
  assets: Array<Asset>;
2446
- createdAt: Scalars['DateTime'];
2481
+ createdAt: Scalars['DateTime']['output'];
2447
2482
  currencyCode: CurrencyCode;
2448
- customFields?: Maybe<Scalars['JSON']>;
2483
+ customFields?: Maybe<Scalars['JSON']['output']>;
2449
2484
  facetValues: Array<FacetValue>;
2450
2485
  featuredAsset?: Maybe<Asset>;
2451
- id: Scalars['ID'];
2486
+ id: Scalars['ID']['output'];
2452
2487
  languageCode: LanguageCode;
2453
- name: Scalars['String'];
2488
+ name: Scalars['String']['output'];
2454
2489
  options: Array<ProductOption>;
2455
- price: Scalars['Money'];
2456
- priceWithTax: Scalars['Money'];
2490
+ price: Scalars['Money']['output'];
2491
+ priceWithTax: Scalars['Money']['output'];
2457
2492
  product: Product;
2458
- productId: Scalars['ID'];
2459
- sku: Scalars['String'];
2460
- stockLevel: Scalars['String'];
2493
+ productId: Scalars['ID']['output'];
2494
+ sku: Scalars['String']['output'];
2495
+ stockLevel: Scalars['String']['output'];
2461
2496
  taxCategory: TaxCategory;
2462
2497
  taxRateApplied: TaxRate;
2463
2498
  translations: Array<ProductVariantTranslation>;
2464
- updatedAt: Scalars['DateTime'];
2499
+ updatedAt: Scalars['DateTime']['output'];
2465
2500
  };
2466
2501
  export type ProductVariantFilterParameter = {
2467
2502
  createdAt?: InputMaybe<DateOperators>;
@@ -2479,7 +2514,7 @@ export type ProductVariantFilterParameter = {
2479
2514
  export type ProductVariantList = PaginatedList & {
2480
2515
  __typename?: 'ProductVariantList';
2481
2516
  items: Array<ProductVariant>;
2482
- totalItems: Scalars['Int'];
2517
+ totalItems: Scalars['Int']['output'];
2483
2518
  };
2484
2519
  export type ProductVariantListOptions = {
2485
2520
  /** Allows the results to be filtered */
@@ -2487,11 +2522,11 @@ export type ProductVariantListOptions = {
2487
2522
  /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */
2488
2523
  filterOperator?: InputMaybe<LogicalOperator>;
2489
2524
  /** Skips the first n results, for use in pagination */
2490
- skip?: InputMaybe<Scalars['Int']>;
2525
+ skip?: InputMaybe<Scalars['Int']['input']>;
2491
2526
  /** Specifies which properties to sort the results by */
2492
2527
  sort?: InputMaybe<ProductVariantSortParameter>;
2493
2528
  /** Takes n results, for use in pagination */
2494
- take?: InputMaybe<Scalars['Int']>;
2529
+ take?: InputMaybe<Scalars['Int']['input']>;
2495
2530
  };
2496
2531
  export type ProductVariantSortParameter = {
2497
2532
  createdAt?: InputMaybe<SortOrder>;
@@ -2506,63 +2541,63 @@ export type ProductVariantSortParameter = {
2506
2541
  };
2507
2542
  export type ProductVariantTranslation = {
2508
2543
  __typename?: 'ProductVariantTranslation';
2509
- createdAt: Scalars['DateTime'];
2510
- id: Scalars['ID'];
2544
+ createdAt: Scalars['DateTime']['output'];
2545
+ id: Scalars['ID']['output'];
2511
2546
  languageCode: LanguageCode;
2512
- name: Scalars['String'];
2513
- updatedAt: Scalars['DateTime'];
2547
+ name: Scalars['String']['output'];
2548
+ updatedAt: Scalars['DateTime']['output'];
2514
2549
  };
2515
2550
  export type Promotion = Node & {
2516
2551
  __typename?: 'Promotion';
2517
2552
  actions: Array<ConfigurableOperation>;
2518
2553
  conditions: Array<ConfigurableOperation>;
2519
- couponCode?: Maybe<Scalars['String']>;
2520
- createdAt: Scalars['DateTime'];
2521
- customFields?: Maybe<Scalars['JSON']>;
2522
- description: Scalars['String'];
2523
- enabled: Scalars['Boolean'];
2524
- endsAt?: Maybe<Scalars['DateTime']>;
2525
- id: Scalars['ID'];
2526
- name: Scalars['String'];
2527
- perCustomerUsageLimit?: Maybe<Scalars['Int']>;
2528
- startsAt?: Maybe<Scalars['DateTime']>;
2554
+ couponCode?: Maybe<Scalars['String']['output']>;
2555
+ createdAt: Scalars['DateTime']['output'];
2556
+ customFields?: Maybe<Scalars['JSON']['output']>;
2557
+ description: Scalars['String']['output'];
2558
+ enabled: Scalars['Boolean']['output'];
2559
+ endsAt?: Maybe<Scalars['DateTime']['output']>;
2560
+ id: Scalars['ID']['output'];
2561
+ name: Scalars['String']['output'];
2562
+ perCustomerUsageLimit?: Maybe<Scalars['Int']['output']>;
2563
+ startsAt?: Maybe<Scalars['DateTime']['output']>;
2529
2564
  translations: Array<PromotionTranslation>;
2530
- updatedAt: Scalars['DateTime'];
2531
- usageLimit?: Maybe<Scalars['Int']>;
2565
+ updatedAt: Scalars['DateTime']['output'];
2566
+ usageLimit?: Maybe<Scalars['Int']['output']>;
2532
2567
  };
2533
2568
  export type PromotionList = PaginatedList & {
2534
2569
  __typename?: 'PromotionList';
2535
2570
  items: Array<Promotion>;
2536
- totalItems: Scalars['Int'];
2571
+ totalItems: Scalars['Int']['output'];
2537
2572
  };
2538
2573
  export type PromotionTranslation = {
2539
2574
  __typename?: 'PromotionTranslation';
2540
- createdAt: Scalars['DateTime'];
2541
- description: Scalars['String'];
2542
- id: Scalars['ID'];
2575
+ createdAt: Scalars['DateTime']['output'];
2576
+ description: Scalars['String']['output'];
2577
+ id: Scalars['ID']['output'];
2543
2578
  languageCode: LanguageCode;
2544
- name: Scalars['String'];
2545
- updatedAt: Scalars['DateTime'];
2579
+ name: Scalars['String']['output'];
2580
+ updatedAt: Scalars['DateTime']['output'];
2546
2581
  };
2547
2582
  export type Province = Node & Region & {
2548
2583
  __typename?: 'Province';
2549
- code: Scalars['String'];
2550
- createdAt: Scalars['DateTime'];
2551
- customFields?: Maybe<Scalars['JSON']>;
2552
- enabled: Scalars['Boolean'];
2553
- id: Scalars['ID'];
2584
+ code: Scalars['String']['output'];
2585
+ createdAt: Scalars['DateTime']['output'];
2586
+ customFields?: Maybe<Scalars['JSON']['output']>;
2587
+ enabled: Scalars['Boolean']['output'];
2588
+ id: Scalars['ID']['output'];
2554
2589
  languageCode: LanguageCode;
2555
- name: Scalars['String'];
2590
+ name: Scalars['String']['output'];
2556
2591
  parent?: Maybe<Region>;
2557
- parentId?: Maybe<Scalars['ID']>;
2592
+ parentId?: Maybe<Scalars['ID']['output']>;
2558
2593
  translations: Array<RegionTranslation>;
2559
- type: Scalars['String'];
2560
- updatedAt: Scalars['DateTime'];
2594
+ type: Scalars['String']['output'];
2595
+ updatedAt: Scalars['DateTime']['output'];
2561
2596
  };
2562
2597
  export type ProvinceList = PaginatedList & {
2563
2598
  __typename?: 'ProvinceList';
2564
2599
  items: Array<Province>;
2565
- totalItems: Scalars['Int'];
2600
+ totalItems: Scalars['Int']['output'];
2566
2601
  };
2567
2602
  export type Query = {
2568
2603
  __typename?: 'Query';
@@ -2593,7 +2628,7 @@ export type Query = {
2593
2628
  /** Returns information about the current authenticated User */
2594
2629
  me?: Maybe<CurrentUser>;
2595
2630
  /** Returns the possible next states that the activeOrder can transition to */
2596
- nextOrderStates: Array<Scalars['String']>;
2631
+ nextOrderStates: Array<Scalars['String']['output']>;
2597
2632
  /**
2598
2633
  * Returns an Order based on the id. Note that in the Shop API, only orders belonging to the
2599
2634
  * currently-authenticated User may be queried.
@@ -2614,27 +2649,27 @@ export type Query = {
2614
2649
  search: SearchResponse;
2615
2650
  };
2616
2651
  export type QueryCollectionArgs = {
2617
- id?: InputMaybe<Scalars['ID']>;
2618
- slug?: InputMaybe<Scalars['String']>;
2652
+ id?: InputMaybe<Scalars['ID']['input']>;
2653
+ slug?: InputMaybe<Scalars['String']['input']>;
2619
2654
  };
2620
2655
  export type QueryCollectionsArgs = {
2621
2656
  options?: InputMaybe<CollectionListOptions>;
2622
2657
  };
2623
2658
  export type QueryFacetArgs = {
2624
- id: Scalars['ID'];
2659
+ id: Scalars['ID']['input'];
2625
2660
  };
2626
2661
  export type QueryFacetsArgs = {
2627
2662
  options?: InputMaybe<FacetListOptions>;
2628
2663
  };
2629
2664
  export type QueryOrderArgs = {
2630
- id: Scalars['ID'];
2665
+ id: Scalars['ID']['input'];
2631
2666
  };
2632
2667
  export type QueryOrderByCodeArgs = {
2633
- code: Scalars['String'];
2668
+ code: Scalars['String']['input'];
2634
2669
  };
2635
2670
  export type QueryProductArgs = {
2636
- id?: InputMaybe<Scalars['ID']>;
2637
- slug?: InputMaybe<Scalars['String']>;
2671
+ id?: InputMaybe<Scalars['ID']['input']>;
2672
+ slug?: InputMaybe<Scalars['String']['input']>;
2638
2673
  };
2639
2674
  export type QueryProductsArgs = {
2640
2675
  options?: InputMaybe<ProductListOptions>;
@@ -2645,72 +2680,72 @@ export type QuerySearchArgs = {
2645
2680
  export type RefreshCustomerVerificationResult = NativeAuthStrategyError | Success;
2646
2681
  export type Refund = Node & {
2647
2682
  __typename?: 'Refund';
2648
- adjustment: Scalars['Money'];
2649
- createdAt: Scalars['DateTime'];
2650
- id: Scalars['ID'];
2651
- items: Scalars['Money'];
2683
+ adjustment: Scalars['Money']['output'];
2684
+ createdAt: Scalars['DateTime']['output'];
2685
+ id: Scalars['ID']['output'];
2686
+ items: Scalars['Money']['output'];
2652
2687
  lines: Array<RefundLine>;
2653
- metadata?: Maybe<Scalars['JSON']>;
2654
- method?: Maybe<Scalars['String']>;
2655
- paymentId: Scalars['ID'];
2656
- reason?: Maybe<Scalars['String']>;
2657
- shipping: Scalars['Money'];
2658
- state: Scalars['String'];
2659
- total: Scalars['Money'];
2660
- transactionId?: Maybe<Scalars['String']>;
2661
- updatedAt: Scalars['DateTime'];
2688
+ metadata?: Maybe<Scalars['JSON']['output']>;
2689
+ method?: Maybe<Scalars['String']['output']>;
2690
+ paymentId: Scalars['ID']['output'];
2691
+ reason?: Maybe<Scalars['String']['output']>;
2692
+ shipping: Scalars['Money']['output'];
2693
+ state: Scalars['String']['output'];
2694
+ total: Scalars['Money']['output'];
2695
+ transactionId?: Maybe<Scalars['String']['output']>;
2696
+ updatedAt: Scalars['DateTime']['output'];
2662
2697
  };
2663
2698
  export type RefundLine = {
2664
2699
  __typename?: 'RefundLine';
2665
2700
  orderLine: OrderLine;
2666
- orderLineId: Scalars['ID'];
2667
- quantity: Scalars['Int'];
2701
+ orderLineId: Scalars['ID']['output'];
2702
+ quantity: Scalars['Int']['output'];
2668
2703
  refund: Refund;
2669
- refundId: Scalars['ID'];
2704
+ refundId: Scalars['ID']['output'];
2670
2705
  };
2671
2706
  export type Region = {
2672
- code: Scalars['String'];
2673
- createdAt: Scalars['DateTime'];
2674
- enabled: Scalars['Boolean'];
2675
- id: Scalars['ID'];
2707
+ code: Scalars['String']['output'];
2708
+ createdAt: Scalars['DateTime']['output'];
2709
+ enabled: Scalars['Boolean']['output'];
2710
+ id: Scalars['ID']['output'];
2676
2711
  languageCode: LanguageCode;
2677
- name: Scalars['String'];
2712
+ name: Scalars['String']['output'];
2678
2713
  parent?: Maybe<Region>;
2679
- parentId?: Maybe<Scalars['ID']>;
2714
+ parentId?: Maybe<Scalars['ID']['output']>;
2680
2715
  translations: Array<RegionTranslation>;
2681
- type: Scalars['String'];
2682
- updatedAt: Scalars['DateTime'];
2716
+ type: Scalars['String']['output'];
2717
+ updatedAt: Scalars['DateTime']['output'];
2683
2718
  };
2684
2719
  export type RegionTranslation = {
2685
2720
  __typename?: 'RegionTranslation';
2686
- createdAt: Scalars['DateTime'];
2687
- id: Scalars['ID'];
2721
+ createdAt: Scalars['DateTime']['output'];
2722
+ id: Scalars['ID']['output'];
2688
2723
  languageCode: LanguageCode;
2689
- name: Scalars['String'];
2690
- updatedAt: Scalars['DateTime'];
2724
+ name: Scalars['String']['output'];
2725
+ updatedAt: Scalars['DateTime']['output'];
2691
2726
  };
2692
2727
  export type RegisterCustomerAccountResult = MissingPasswordError | NativeAuthStrategyError | PasswordValidationError | Success;
2693
2728
  export type RegisterCustomerInput = {
2694
- emailAddress: Scalars['String'];
2695
- firstName?: InputMaybe<Scalars['String']>;
2696
- lastName?: InputMaybe<Scalars['String']>;
2697
- password?: InputMaybe<Scalars['String']>;
2698
- phoneNumber?: InputMaybe<Scalars['String']>;
2699
- title?: InputMaybe<Scalars['String']>;
2729
+ emailAddress: Scalars['String']['input'];
2730
+ firstName?: InputMaybe<Scalars['String']['input']>;
2731
+ lastName?: InputMaybe<Scalars['String']['input']>;
2732
+ password?: InputMaybe<Scalars['String']['input']>;
2733
+ phoneNumber?: InputMaybe<Scalars['String']['input']>;
2734
+ title?: InputMaybe<Scalars['String']['input']>;
2700
2735
  };
2701
2736
  export type RelationCustomFieldConfig = CustomField & {
2702
2737
  __typename?: 'RelationCustomFieldConfig';
2703
2738
  description?: Maybe<Array<LocalizedString>>;
2704
- entity: Scalars['String'];
2705
- internal?: Maybe<Scalars['Boolean']>;
2739
+ entity: Scalars['String']['output'];
2740
+ internal?: Maybe<Scalars['Boolean']['output']>;
2706
2741
  label?: Maybe<Array<LocalizedString>>;
2707
- list: Scalars['Boolean'];
2708
- name: Scalars['String'];
2709
- nullable?: Maybe<Scalars['Boolean']>;
2710
- readonly?: Maybe<Scalars['Boolean']>;
2711
- scalarFields: Array<Scalars['String']>;
2712
- type: Scalars['String'];
2713
- ui?: Maybe<Scalars['JSON']>;
2742
+ list: Scalars['Boolean']['output'];
2743
+ name: Scalars['String']['output'];
2744
+ nullable?: Maybe<Scalars['Boolean']['output']>;
2745
+ readonly?: Maybe<Scalars['Boolean']['output']>;
2746
+ scalarFields: Array<Scalars['String']['output']>;
2747
+ type: Scalars['String']['output'];
2748
+ ui?: Maybe<Scalars['JSON']['output']>;
2714
2749
  };
2715
2750
  export type RemoveOrderItemsResult = Order | OrderModificationError;
2716
2751
  export type RequestPasswordResetResult = NativeAuthStrategyError | Success;
@@ -2719,69 +2754,69 @@ export type ResetPasswordResult = CurrentUser | NativeAuthStrategyError | NotVer
2719
2754
  export type Role = Node & {
2720
2755
  __typename?: 'Role';
2721
2756
  channels: Array<Channel>;
2722
- code: Scalars['String'];
2723
- createdAt: Scalars['DateTime'];
2724
- description: Scalars['String'];
2725
- id: Scalars['ID'];
2757
+ code: Scalars['String']['output'];
2758
+ createdAt: Scalars['DateTime']['output'];
2759
+ description: Scalars['String']['output'];
2760
+ id: Scalars['ID']['output'];
2726
2761
  permissions: Array<Permission>;
2727
- updatedAt: Scalars['DateTime'];
2762
+ updatedAt: Scalars['DateTime']['output'];
2728
2763
  };
2729
2764
  export type RoleList = PaginatedList & {
2730
2765
  __typename?: 'RoleList';
2731
2766
  items: Array<Role>;
2732
- totalItems: Scalars['Int'];
2767
+ totalItems: Scalars['Int']['output'];
2733
2768
  };
2734
2769
  export type SearchInput = {
2735
- collectionId?: InputMaybe<Scalars['ID']>;
2736
- collectionSlug?: InputMaybe<Scalars['String']>;
2770
+ collectionId?: InputMaybe<Scalars['ID']['input']>;
2771
+ collectionSlug?: InputMaybe<Scalars['String']['input']>;
2737
2772
  facetValueFilters?: InputMaybe<Array<FacetValueFilterInput>>;
2738
2773
  /** @deprecated Use `facetValueFilters` instead */
2739
- facetValueIds?: InputMaybe<Array<Scalars['ID']>>;
2774
+ facetValueIds?: InputMaybe<Array<Scalars['ID']['input']>>;
2740
2775
  /** @deprecated Use `facetValueFilters` instead */
2741
2776
  facetValueOperator?: InputMaybe<LogicalOperator>;
2742
- groupByProduct?: InputMaybe<Scalars['Boolean']>;
2743
- skip?: InputMaybe<Scalars['Int']>;
2777
+ groupByProduct?: InputMaybe<Scalars['Boolean']['input']>;
2778
+ skip?: InputMaybe<Scalars['Int']['input']>;
2744
2779
  sort?: InputMaybe<SearchResultSortParameter>;
2745
- take?: InputMaybe<Scalars['Int']>;
2746
- term?: InputMaybe<Scalars['String']>;
2780
+ take?: InputMaybe<Scalars['Int']['input']>;
2781
+ term?: InputMaybe<Scalars['String']['input']>;
2747
2782
  };
2748
2783
  export type SearchReindexResponse = {
2749
2784
  __typename?: 'SearchReindexResponse';
2750
- success: Scalars['Boolean'];
2785
+ success: Scalars['Boolean']['output'];
2751
2786
  };
2752
2787
  export type SearchResponse = {
2753
2788
  __typename?: 'SearchResponse';
2754
2789
  collections: Array<CollectionResult>;
2755
2790
  facetValues: Array<FacetValueResult>;
2756
2791
  items: Array<SearchResult>;
2757
- totalItems: Scalars['Int'];
2792
+ totalItems: Scalars['Int']['output'];
2758
2793
  };
2759
2794
  export type SearchResult = {
2760
2795
  __typename?: 'SearchResult';
2761
2796
  /** An array of ids of the Collections in which this result appears */
2762
- collectionIds: Array<Scalars['ID']>;
2797
+ collectionIds: Array<Scalars['ID']['output']>;
2763
2798
  currencyCode: CurrencyCode;
2764
- description: Scalars['String'];
2765
- facetIds: Array<Scalars['ID']>;
2766
- facetValueIds: Array<Scalars['ID']>;
2799
+ description: Scalars['String']['output'];
2800
+ facetIds: Array<Scalars['ID']['output']>;
2801
+ facetValueIds: Array<Scalars['ID']['output']>;
2767
2802
  price: SearchResultPrice;
2768
2803
  priceWithTax: SearchResultPrice;
2769
2804
  productAsset?: Maybe<SearchResultAsset>;
2770
- productId: Scalars['ID'];
2771
- productName: Scalars['String'];
2805
+ productId: Scalars['ID']['output'];
2806
+ productName: Scalars['String']['output'];
2772
2807
  productVariantAsset?: Maybe<SearchResultAsset>;
2773
- productVariantId: Scalars['ID'];
2774
- productVariantName: Scalars['String'];
2808
+ productVariantId: Scalars['ID']['output'];
2809
+ productVariantName: Scalars['String']['output'];
2775
2810
  /** A relevance score for the result. Differs between database implementations */
2776
- score: Scalars['Float'];
2777
- sku: Scalars['String'];
2778
- slug: Scalars['String'];
2811
+ score: Scalars['Float']['output'];
2812
+ sku: Scalars['String']['output'];
2813
+ slug: Scalars['String']['output'];
2779
2814
  };
2780
2815
  export type SearchResultAsset = {
2781
2816
  __typename?: 'SearchResultAsset';
2782
2817
  focalPoint?: Maybe<Coordinate>;
2783
- id: Scalars['ID'];
2784
- preview: Scalars['String'];
2818
+ id: Scalars['ID']['output'];
2819
+ preview: Scalars['String']['output'];
2785
2820
  };
2786
2821
  /** The price of a search result product, either as a range or as a single price */
2787
2822
  export type SearchResultPrice = PriceRange | SinglePrice;
@@ -2791,69 +2826,69 @@ export type SearchResultSortParameter = {
2791
2826
  };
2792
2827
  export type Seller = Node & {
2793
2828
  __typename?: 'Seller';
2794
- createdAt: Scalars['DateTime'];
2795
- customFields?: Maybe<Scalars['JSON']>;
2796
- id: Scalars['ID'];
2797
- name: Scalars['String'];
2798
- updatedAt: Scalars['DateTime'];
2829
+ createdAt: Scalars['DateTime']['output'];
2830
+ customFields?: Maybe<Scalars['JSON']['output']>;
2831
+ id: Scalars['ID']['output'];
2832
+ name: Scalars['String']['output'];
2833
+ updatedAt: Scalars['DateTime']['output'];
2799
2834
  };
2800
2835
  export type SetCustomerForOrderResult = AlreadyLoggedInError | EmailAddressConflictError | GuestCheckoutError | NoActiveOrderError | Order;
2801
2836
  export type SetOrderShippingMethodResult = IneligibleShippingMethodError | NoActiveOrderError | Order | OrderModificationError;
2802
2837
  export type ShippingLine = {
2803
2838
  __typename?: 'ShippingLine';
2804
- discountedPrice: Scalars['Money'];
2805
- discountedPriceWithTax: Scalars['Money'];
2839
+ discountedPrice: Scalars['Money']['output'];
2840
+ discountedPriceWithTax: Scalars['Money']['output'];
2806
2841
  discounts: Array<Discount>;
2807
- id: Scalars['ID'];
2808
- price: Scalars['Money'];
2809
- priceWithTax: Scalars['Money'];
2842
+ id: Scalars['ID']['output'];
2843
+ price: Scalars['Money']['output'];
2844
+ priceWithTax: Scalars['Money']['output'];
2810
2845
  shippingMethod: ShippingMethod;
2811
2846
  };
2812
2847
  export type ShippingMethod = Node & {
2813
2848
  __typename?: 'ShippingMethod';
2814
2849
  calculator: ConfigurableOperation;
2815
2850
  checker: ConfigurableOperation;
2816
- code: Scalars['String'];
2817
- createdAt: Scalars['DateTime'];
2818
- customFields?: Maybe<Scalars['JSON']>;
2819
- description: Scalars['String'];
2820
- fulfillmentHandlerCode: Scalars['String'];
2821
- id: Scalars['ID'];
2851
+ code: Scalars['String']['output'];
2852
+ createdAt: Scalars['DateTime']['output'];
2853
+ customFields?: Maybe<Scalars['JSON']['output']>;
2854
+ description: Scalars['String']['output'];
2855
+ fulfillmentHandlerCode: Scalars['String']['output'];
2856
+ id: Scalars['ID']['output'];
2822
2857
  languageCode: LanguageCode;
2823
- name: Scalars['String'];
2858
+ name: Scalars['String']['output'];
2824
2859
  translations: Array<ShippingMethodTranslation>;
2825
- updatedAt: Scalars['DateTime'];
2860
+ updatedAt: Scalars['DateTime']['output'];
2826
2861
  };
2827
2862
  export type ShippingMethodList = PaginatedList & {
2828
2863
  __typename?: 'ShippingMethodList';
2829
2864
  items: Array<ShippingMethod>;
2830
- totalItems: Scalars['Int'];
2865
+ totalItems: Scalars['Int']['output'];
2831
2866
  };
2832
2867
  export type ShippingMethodQuote = {
2833
2868
  __typename?: 'ShippingMethodQuote';
2834
- code: Scalars['String'];
2835
- customFields?: Maybe<Scalars['JSON']>;
2836
- description: Scalars['String'];
2837
- id: Scalars['ID'];
2869
+ code: Scalars['String']['output'];
2870
+ customFields?: Maybe<Scalars['JSON']['output']>;
2871
+ description: Scalars['String']['output'];
2872
+ id: Scalars['ID']['output'];
2838
2873
  /** Any optional metadata returned by the ShippingCalculator in the ShippingCalculationResult */
2839
- metadata?: Maybe<Scalars['JSON']>;
2840
- name: Scalars['String'];
2841
- price: Scalars['Money'];
2842
- priceWithTax: Scalars['Money'];
2874
+ metadata?: Maybe<Scalars['JSON']['output']>;
2875
+ name: Scalars['String']['output'];
2876
+ price: Scalars['Money']['output'];
2877
+ priceWithTax: Scalars['Money']['output'];
2843
2878
  };
2844
2879
  export type ShippingMethodTranslation = {
2845
2880
  __typename?: 'ShippingMethodTranslation';
2846
- createdAt: Scalars['DateTime'];
2847
- description: Scalars['String'];
2848
- id: Scalars['ID'];
2881
+ createdAt: Scalars['DateTime']['output'];
2882
+ description: Scalars['String']['output'];
2883
+ id: Scalars['ID']['output'];
2849
2884
  languageCode: LanguageCode;
2850
- name: Scalars['String'];
2851
- updatedAt: Scalars['DateTime'];
2885
+ name: Scalars['String']['output'];
2886
+ updatedAt: Scalars['DateTime']['output'];
2852
2887
  };
2853
2888
  /** The price value where the result has a single price */
2854
2889
  export type SinglePrice = {
2855
2890
  __typename?: 'SinglePrice';
2856
- value: Scalars['Money'];
2891
+ value: Scalars['Money']['output'];
2857
2892
  };
2858
2893
  export declare enum SortOrder {
2859
2894
  ASC = "ASC",
@@ -2862,151 +2897,151 @@ export declare enum SortOrder {
2862
2897
  export type StringCustomFieldConfig = CustomField & {
2863
2898
  __typename?: 'StringCustomFieldConfig';
2864
2899
  description?: Maybe<Array<LocalizedString>>;
2865
- internal?: Maybe<Scalars['Boolean']>;
2900
+ internal?: Maybe<Scalars['Boolean']['output']>;
2866
2901
  label?: Maybe<Array<LocalizedString>>;
2867
- length?: Maybe<Scalars['Int']>;
2868
- list: Scalars['Boolean'];
2869
- name: Scalars['String'];
2870
- nullable?: Maybe<Scalars['Boolean']>;
2902
+ length?: Maybe<Scalars['Int']['output']>;
2903
+ list: Scalars['Boolean']['output'];
2904
+ name: Scalars['String']['output'];
2905
+ nullable?: Maybe<Scalars['Boolean']['output']>;
2871
2906
  options?: Maybe<Array<StringFieldOption>>;
2872
- pattern?: Maybe<Scalars['String']>;
2873
- readonly?: Maybe<Scalars['Boolean']>;
2874
- type: Scalars['String'];
2875
- ui?: Maybe<Scalars['JSON']>;
2907
+ pattern?: Maybe<Scalars['String']['output']>;
2908
+ readonly?: Maybe<Scalars['Boolean']['output']>;
2909
+ type: Scalars['String']['output'];
2910
+ ui?: Maybe<Scalars['JSON']['output']>;
2876
2911
  };
2877
2912
  export type StringFieldOption = {
2878
2913
  __typename?: 'StringFieldOption';
2879
2914
  label?: Maybe<Array<LocalizedString>>;
2880
- value: Scalars['String'];
2915
+ value: Scalars['String']['output'];
2881
2916
  };
2882
2917
  /** Operators for filtering on a list of String fields */
2883
2918
  export type StringListOperators = {
2884
- inList: Scalars['String'];
2919
+ inList: Scalars['String']['input'];
2885
2920
  };
2886
2921
  /** Operators for filtering on a String field */
2887
2922
  export type StringOperators = {
2888
- contains?: InputMaybe<Scalars['String']>;
2889
- eq?: InputMaybe<Scalars['String']>;
2890
- in?: InputMaybe<Array<Scalars['String']>>;
2891
- isNull?: InputMaybe<Scalars['Boolean']>;
2892
- notContains?: InputMaybe<Scalars['String']>;
2893
- notEq?: InputMaybe<Scalars['String']>;
2894
- notIn?: InputMaybe<Array<Scalars['String']>>;
2895
- regex?: InputMaybe<Scalars['String']>;
2923
+ contains?: InputMaybe<Scalars['String']['input']>;
2924
+ eq?: InputMaybe<Scalars['String']['input']>;
2925
+ in?: InputMaybe<Array<Scalars['String']['input']>>;
2926
+ isNull?: InputMaybe<Scalars['Boolean']['input']>;
2927
+ notContains?: InputMaybe<Scalars['String']['input']>;
2928
+ notEq?: InputMaybe<Scalars['String']['input']>;
2929
+ notIn?: InputMaybe<Array<Scalars['String']['input']>>;
2930
+ regex?: InputMaybe<Scalars['String']['input']>;
2896
2931
  };
2897
2932
  /** Indicates that an operation succeeded, where we do not want to return any more specific information. */
2898
2933
  export type Success = {
2899
2934
  __typename?: 'Success';
2900
- success: Scalars['Boolean'];
2935
+ success: Scalars['Boolean']['output'];
2901
2936
  };
2902
2937
  export type Surcharge = Node & {
2903
2938
  __typename?: 'Surcharge';
2904
- createdAt: Scalars['DateTime'];
2905
- description: Scalars['String'];
2906
- id: Scalars['ID'];
2907
- price: Scalars['Money'];
2908
- priceWithTax: Scalars['Money'];
2909
- sku?: Maybe<Scalars['String']>;
2939
+ createdAt: Scalars['DateTime']['output'];
2940
+ description: Scalars['String']['output'];
2941
+ id: Scalars['ID']['output'];
2942
+ price: Scalars['Money']['output'];
2943
+ priceWithTax: Scalars['Money']['output'];
2944
+ sku?: Maybe<Scalars['String']['output']>;
2910
2945
  taxLines: Array<TaxLine>;
2911
- taxRate: Scalars['Float'];
2912
- updatedAt: Scalars['DateTime'];
2946
+ taxRate: Scalars['Float']['output'];
2947
+ updatedAt: Scalars['DateTime']['output'];
2913
2948
  };
2914
2949
  export type Tag = Node & {
2915
2950
  __typename?: 'Tag';
2916
- createdAt: Scalars['DateTime'];
2917
- id: Scalars['ID'];
2918
- updatedAt: Scalars['DateTime'];
2919
- value: Scalars['String'];
2951
+ createdAt: Scalars['DateTime']['output'];
2952
+ id: Scalars['ID']['output'];
2953
+ updatedAt: Scalars['DateTime']['output'];
2954
+ value: Scalars['String']['output'];
2920
2955
  };
2921
2956
  export type TagList = PaginatedList & {
2922
2957
  __typename?: 'TagList';
2923
2958
  items: Array<Tag>;
2924
- totalItems: Scalars['Int'];
2959
+ totalItems: Scalars['Int']['output'];
2925
2960
  };
2926
2961
  export type TaxCategory = Node & {
2927
2962
  __typename?: 'TaxCategory';
2928
- createdAt: Scalars['DateTime'];
2929
- customFields?: Maybe<Scalars['JSON']>;
2930
- id: Scalars['ID'];
2931
- isDefault: Scalars['Boolean'];
2932
- name: Scalars['String'];
2933
- updatedAt: Scalars['DateTime'];
2963
+ createdAt: Scalars['DateTime']['output'];
2964
+ customFields?: Maybe<Scalars['JSON']['output']>;
2965
+ id: Scalars['ID']['output'];
2966
+ isDefault: Scalars['Boolean']['output'];
2967
+ name: Scalars['String']['output'];
2968
+ updatedAt: Scalars['DateTime']['output'];
2934
2969
  };
2935
2970
  export type TaxLine = {
2936
2971
  __typename?: 'TaxLine';
2937
- description: Scalars['String'];
2938
- taxRate: Scalars['Float'];
2972
+ description: Scalars['String']['output'];
2973
+ taxRate: Scalars['Float']['output'];
2939
2974
  };
2940
2975
  export type TaxRate = Node & {
2941
2976
  __typename?: 'TaxRate';
2942
2977
  category: TaxCategory;
2943
- createdAt: Scalars['DateTime'];
2944
- customFields?: Maybe<Scalars['JSON']>;
2978
+ createdAt: Scalars['DateTime']['output'];
2979
+ customFields?: Maybe<Scalars['JSON']['output']>;
2945
2980
  customerGroup?: Maybe<CustomerGroup>;
2946
- enabled: Scalars['Boolean'];
2947
- id: Scalars['ID'];
2948
- name: Scalars['String'];
2949
- updatedAt: Scalars['DateTime'];
2950
- value: Scalars['Float'];
2981
+ enabled: Scalars['Boolean']['output'];
2982
+ id: Scalars['ID']['output'];
2983
+ name: Scalars['String']['output'];
2984
+ updatedAt: Scalars['DateTime']['output'];
2985
+ value: Scalars['Float']['output'];
2951
2986
  zone: Zone;
2952
2987
  };
2953
2988
  export type TaxRateList = PaginatedList & {
2954
2989
  __typename?: 'TaxRateList';
2955
2990
  items: Array<TaxRate>;
2956
- totalItems: Scalars['Int'];
2991
+ totalItems: Scalars['Int']['output'];
2957
2992
  };
2958
2993
  export type TextCustomFieldConfig = CustomField & {
2959
2994
  __typename?: 'TextCustomFieldConfig';
2960
2995
  description?: Maybe<Array<LocalizedString>>;
2961
- internal?: Maybe<Scalars['Boolean']>;
2996
+ internal?: Maybe<Scalars['Boolean']['output']>;
2962
2997
  label?: Maybe<Array<LocalizedString>>;
2963
- list: Scalars['Boolean'];
2964
- name: Scalars['String'];
2965
- nullable?: Maybe<Scalars['Boolean']>;
2966
- readonly?: Maybe<Scalars['Boolean']>;
2967
- type: Scalars['String'];
2968
- ui?: Maybe<Scalars['JSON']>;
2998
+ list: Scalars['Boolean']['output'];
2999
+ name: Scalars['String']['output'];
3000
+ nullable?: Maybe<Scalars['Boolean']['output']>;
3001
+ readonly?: Maybe<Scalars['Boolean']['output']>;
3002
+ type: Scalars['String']['output'];
3003
+ ui?: Maybe<Scalars['JSON']['output']>;
2969
3004
  };
2970
3005
  export type TransitionOrderToStateResult = Order | OrderStateTransitionError;
2971
3006
  export type UpdateAddressInput = {
2972
- city?: InputMaybe<Scalars['String']>;
2973
- company?: InputMaybe<Scalars['String']>;
2974
- countryCode?: InputMaybe<Scalars['String']>;
2975
- customFields?: InputMaybe<Scalars['JSON']>;
2976
- defaultBillingAddress?: InputMaybe<Scalars['Boolean']>;
2977
- defaultShippingAddress?: InputMaybe<Scalars['Boolean']>;
2978
- fullName?: InputMaybe<Scalars['String']>;
2979
- id: Scalars['ID'];
2980
- phoneNumber?: InputMaybe<Scalars['String']>;
2981
- postalCode?: InputMaybe<Scalars['String']>;
2982
- province?: InputMaybe<Scalars['String']>;
2983
- streetLine1?: InputMaybe<Scalars['String']>;
2984
- streetLine2?: InputMaybe<Scalars['String']>;
3007
+ city?: InputMaybe<Scalars['String']['input']>;
3008
+ company?: InputMaybe<Scalars['String']['input']>;
3009
+ countryCode?: InputMaybe<Scalars['String']['input']>;
3010
+ customFields?: InputMaybe<Scalars['JSON']['input']>;
3011
+ defaultBillingAddress?: InputMaybe<Scalars['Boolean']['input']>;
3012
+ defaultShippingAddress?: InputMaybe<Scalars['Boolean']['input']>;
3013
+ fullName?: InputMaybe<Scalars['String']['input']>;
3014
+ id: Scalars['ID']['input'];
3015
+ phoneNumber?: InputMaybe<Scalars['String']['input']>;
3016
+ postalCode?: InputMaybe<Scalars['String']['input']>;
3017
+ province?: InputMaybe<Scalars['String']['input']>;
3018
+ streetLine1?: InputMaybe<Scalars['String']['input']>;
3019
+ streetLine2?: InputMaybe<Scalars['String']['input']>;
2985
3020
  };
2986
3021
  export type UpdateCustomerEmailAddressResult = IdentifierChangeTokenExpiredError | IdentifierChangeTokenInvalidError | NativeAuthStrategyError | Success;
2987
3022
  export type UpdateCustomerInput = {
2988
- customFields?: InputMaybe<Scalars['JSON']>;
2989
- firstName?: InputMaybe<Scalars['String']>;
2990
- lastName?: InputMaybe<Scalars['String']>;
2991
- phoneNumber?: InputMaybe<Scalars['String']>;
2992
- title?: InputMaybe<Scalars['String']>;
3023
+ customFields?: InputMaybe<Scalars['JSON']['input']>;
3024
+ firstName?: InputMaybe<Scalars['String']['input']>;
3025
+ lastName?: InputMaybe<Scalars['String']['input']>;
3026
+ phoneNumber?: InputMaybe<Scalars['String']['input']>;
3027
+ title?: InputMaybe<Scalars['String']['input']>;
2993
3028
  };
2994
3029
  export type UpdateCustomerPasswordResult = InvalidCredentialsError | NativeAuthStrategyError | PasswordValidationError | Success;
2995
3030
  export type UpdateOrderInput = {
2996
- customFields?: InputMaybe<Scalars['JSON']>;
3031
+ customFields?: InputMaybe<Scalars['JSON']['input']>;
2997
3032
  };
2998
3033
  export type UpdateOrderItemsResult = InsufficientStockError | NegativeQuantityError | Order | OrderLimitError | OrderModificationError;
2999
3034
  export type User = Node & {
3000
3035
  __typename?: 'User';
3001
3036
  authenticationMethods: Array<AuthenticationMethod>;
3002
- createdAt: Scalars['DateTime'];
3003
- customFields?: Maybe<Scalars['JSON']>;
3004
- id: Scalars['ID'];
3005
- identifier: Scalars['String'];
3006
- lastLogin?: Maybe<Scalars['DateTime']>;
3037
+ createdAt: Scalars['DateTime']['output'];
3038
+ customFields?: Maybe<Scalars['JSON']['output']>;
3039
+ id: Scalars['ID']['output'];
3040
+ identifier: Scalars['String']['output'];
3041
+ lastLogin?: Maybe<Scalars['DateTime']['output']>;
3007
3042
  roles: Array<Role>;
3008
- updatedAt: Scalars['DateTime'];
3009
- verified: Scalars['Boolean'];
3043
+ updatedAt: Scalars['DateTime']['output'];
3044
+ verified: Scalars['Boolean']['output'];
3010
3045
  };
3011
3046
  /**
3012
3047
  * Returned if the verification token (used to verify a Customer's email address) is valid, but has
@@ -3015,7 +3050,7 @@ export type User = Node & {
3015
3050
  export type VerificationTokenExpiredError = ErrorResult & {
3016
3051
  __typename?: 'VerificationTokenExpiredError';
3017
3052
  errorCode: ErrorCode;
3018
- message: Scalars['String'];
3053
+ message: Scalars['String']['output'];
3019
3054
  };
3020
3055
  /**
3021
3056
  * Returned if the verification token (used to verify a Customer's email address) is either
@@ -3024,15 +3059,15 @@ export type VerificationTokenExpiredError = ErrorResult & {
3024
3059
  export type VerificationTokenInvalidError = ErrorResult & {
3025
3060
  __typename?: 'VerificationTokenInvalidError';
3026
3061
  errorCode: ErrorCode;
3027
- message: Scalars['String'];
3062
+ message: Scalars['String']['output'];
3028
3063
  };
3029
3064
  export type VerifyCustomerAccountResult = CurrentUser | MissingPasswordError | NativeAuthStrategyError | PasswordAlreadySetError | PasswordValidationError | VerificationTokenExpiredError | VerificationTokenInvalidError;
3030
3065
  export type Zone = Node & {
3031
3066
  __typename?: 'Zone';
3032
- createdAt: Scalars['DateTime'];
3033
- customFields?: Maybe<Scalars['JSON']>;
3034
- id: Scalars['ID'];
3067
+ createdAt: Scalars['DateTime']['output'];
3068
+ customFields?: Maybe<Scalars['JSON']['output']>;
3069
+ id: Scalars['ID']['output'];
3035
3070
  members: Array<Region>;
3036
- name: Scalars['String'];
3037
- updatedAt: Scalars['DateTime'];
3071
+ name: Scalars['String']['output'];
3072
+ updatedAt: Scalars['DateTime']['output'];
3038
3073
  };