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