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