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