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