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