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