@jetshop/core 3.13.5-non-polyfill → 3.13.5

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/types.d.ts CHANGED
@@ -6,15 +6,37 @@ export type Scalars = {
6
6
  Boolean: boolean;
7
7
  Int: number;
8
8
  Float: number;
9
- Decimal: any;
10
9
  Uri: any;
10
+ /** The `Paging` scalar type represents a numeric values between (0; 100> */
11
+ Paging: any;
12
+ Decimal: any;
11
13
  /** The `DateTime` scalar type represents a date and time. `DateTime` expects
12
14
  * timestamps to be formatted in accordance with the
13
15
  * [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) standard.
14
16
  */
15
17
  DateTime: any;
16
- /** The `Paging` scalar type represents a numeric values between <1; 100> */
17
- Paging: any;
18
+ BigInt: any;
19
+ Byte: any;
20
+ /** The `Date` scalar type represents a year, month and day in accordance with the
21
+ * [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) standard.
22
+ */
23
+ Date: any;
24
+ /** The `DateTimeOffset` scalar type represents a date, time and offset from UTC.
25
+ * `DateTimeOffset` expects timestamps to be formatted in accordance with the
26
+ * [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) standard.
27
+ */
28
+ DateTimeOffset: any;
29
+ Guid: any;
30
+ Long: any;
31
+ /** The `Milliseconds` scalar type represents a period of time represented as the total number of milliseconds. */
32
+ Milliseconds: any;
33
+ SByte: any;
34
+ /** The `Seconds` scalar type represents a period of time represented as the total number of seconds. */
35
+ Seconds: any;
36
+ Short: any;
37
+ UInt: any;
38
+ ULong: any;
39
+ UShort: any;
18
40
  };
19
41
 
20
42
  export type ActivateExternalCustomerByIdInput = {
@@ -33,16 +55,15 @@ export type ActivateExternalCustomerByTokenInput = {
33
55
 
34
56
  export type ActivateExternalCustomerByTokenResult = {
35
57
  __typename?: 'ActivateExternalCustomerByTokenResult';
36
- success: Scalars['Boolean'];
37
58
  customer?: Maybe<ExternalCustomer>;
59
+ success: Scalars['Boolean'];
38
60
  };
39
61
 
40
62
  export enum ActivationStatusSource {
41
63
  PreexistingCustomer = 'PREEXISTING_CUSTOMER',
42
64
  ActivationRequired = 'ACTIVATION_REQUIRED',
43
65
  AdditionalUserDataRequired = 'ADDITIONAL_USER_DATA_REQUIRED',
44
- NonExistingCustomer = 'NON_EXISTING_CUSTOMER',
45
- CountryNotValid = 'COUNTRY_NOT_VALID'
66
+ NonExistingCustomer = 'NON_EXISTING_CUSTOMER'
46
67
  }
47
68
 
48
69
  export type ActiveFilters = {
@@ -81,10 +102,10 @@ export type AddToCustomerProductListInput = {
81
102
 
82
103
  export type AlternateRoute = {
83
104
  __typename?: 'AlternateRoute';
105
+ alias?: Maybe<Scalars['String']>;
84
106
  channelId?: Maybe<Scalars['Int']>;
85
107
  culture?: Maybe<Scalars['String']>;
86
108
  route?: Maybe<Scalars['String']>;
87
- alias?: Maybe<Scalars['String']>;
88
109
  };
89
110
 
90
111
  export type BooleanFilter = Filter & {
@@ -101,33 +122,28 @@ export type BooleanFilterInput = {
101
122
  value?: Maybe<Scalars['Boolean']>;
102
123
  };
103
124
 
104
- export type BoolValue = {
105
- __typename?: 'BoolValue';
106
- value?: Maybe<Scalars['Boolean']>;
107
- };
108
-
109
125
  export type BusinessCustomer = Customer & {
110
126
  __typename?: 'BusinessCustomer';
111
- organizationId?: Maybe<Scalars['String']>;
112
- organizationNumber?: Maybe<Scalars['String']>;
113
- id: Scalars['ID'];
114
- memberId?: Maybe<Scalars['String']>;
127
+ billingAddress?: Maybe<CustomerAddress>;
128
+ communication?: Maybe<CustomerCommunication>;
129
+ deliveryAddresses?: Maybe<Array<Maybe<CustomerAddress>>>;
130
+ dynamicContent?: Maybe<Scalars['String']>;
115
131
  email?: Maybe<Scalars['String']>;
132
+ externalAttributes?: Maybe<Array<Maybe<CustomerExternalAttribute>>>;
116
133
  /** Customer id for external system */
117
134
  externalId?: Maybe<Scalars['String']>;
118
- subscribedToNewsletter?: Maybe<Scalars['Boolean']>;
135
+ /** NB: Carries a performance cost, as asking for this will result in a separate API call in the backend. */
136
+ googleUserId?: Maybe<Scalars['String']>;
137
+ id: Scalars['ID'];
119
138
  language?: Maybe<Language>;
120
- billingAddress?: Maybe<CustomerAddress>;
121
- deliveryAddresses?: Maybe<Array<Maybe<CustomerAddress>>>;
139
+ memberId?: Maybe<Scalars['String']>;
122
140
  /** NB: Carries a performance cost, as asking for this will result in a separate API call in the backend. */
123
141
  orderHeaders?: Maybe<OrderHeaderResult>;
124
- communication?: Maybe<CustomerCommunication>;
142
+ organizationId?: Maybe<Scalars['String']>;
143
+ organizationNumber?: Maybe<Scalars['String']>;
125
144
  /** NB: Carries a performance cost, as asking for this will result in a separate API call in the backend. */
126
145
  store?: Maybe<Store>;
127
- dynamicContent?: Maybe<Scalars['String']>;
128
- externalAttributes?: Maybe<Array<Maybe<CustomerExternalAttribute>>>;
129
- /** NB: Carries a performance cost, as asking for this will result in a separate API call in the backend. */
130
- googleUserId?: Maybe<Scalars['String']>;
146
+ subscribedToNewsletter?: Maybe<Scalars['Boolean']>;
131
147
  };
132
148
 
133
149
  export type BusinessCustomerOrderHeadersArgs = {
@@ -137,40 +153,40 @@ export type BusinessCustomerOrderHeadersArgs = {
137
153
 
138
154
  export type Cart = {
139
155
  __typename?: 'Cart';
140
- id?: Maybe<Scalars['String']>;
141
- totalQuantity?: Maybe<Scalars['Int']>;
142
- productTotal?: Maybe<Price>;
143
- productPreviousTotal?: Maybe<Price>;
144
- discountTotal?: Maybe<Price>;
145
156
  aggregatedDiscounts?: Maybe<Array<Maybe<Discount>>>;
157
+ discountTotal?: Maybe<Price>;
146
158
  externalCheckoutUrl?: Maybe<Scalars['Uri']>;
159
+ id?: Maybe<Scalars['String']>;
147
160
  items?: Maybe<Array<Maybe<CartItem>>>;
161
+ productPreviousTotal?: Maybe<Price>;
162
+ productTotal?: Maybe<Price>;
163
+ totalQuantity?: Maybe<Scalars['Int']>;
148
164
  };
149
165
 
150
166
  export type CartItem = {
151
167
  __typename?: 'CartItem';
152
- id: Scalars['String'];
153
- quantity: Scalars['Int'];
154
168
  articleNumber: Scalars['String'];
155
- images?: Maybe<Array<Maybe<ProductImage>>>;
156
- subHeading?: Maybe<Scalars['String']>;
157
- variant?: Maybe<ProductVariant>;
158
- variantOptionNames?: Maybe<Array<Maybe<Scalars['String']>>>;
169
+ configurations?: Maybe<Array<Maybe<SelectedProductConfiguration>>>;
159
170
  customerComments?: Maybe<Array<Maybe<CartItemComment>>>;
171
+ /** Discount total */
172
+ discount?: Maybe<Price>;
160
173
  discounts?: Maybe<Array<Maybe<Discount>>>;
161
- /** Total price, including discounts */
162
- total: Price;
174
+ id: Scalars['String'];
175
+ images?: Maybe<Array<Maybe<ProductImage>>>;
176
+ preOrderDate?: Maybe<Scalars['DateTime']>;
163
177
  /** Total price, excluding discounts */
164
178
  previousTotal: Price;
165
- /** Unit price, including discounts */
166
- unitPrice: Price;
167
179
  /** Unit price, excluding discounts */
168
180
  previousUnitPrice: Price;
169
- /** Discount total */
170
- discount?: Maybe<Price>;
171
181
  product?: Maybe<Product>;
172
- configurations?: Maybe<Array<Maybe<SelectedProductConfiguration>>>;
173
- preOrderDate?: Maybe<Scalars['DateTime']>;
182
+ quantity: Scalars['Int'];
183
+ subHeading?: Maybe<Scalars['String']>;
184
+ /** Total price, including discounts */
185
+ total: Price;
186
+ /** Unit price, including discounts */
187
+ unitPrice: Price;
188
+ variant?: Maybe<ProductVariant>;
189
+ variantOptionNames?: Maybe<Array<Maybe<Scalars['String']>>>;
174
190
  };
175
191
 
176
192
  export type CartItemComment = {
@@ -186,52 +202,35 @@ export type CartMutation = {
186
202
 
187
203
  export type Category = Document & {
188
204
  __typename?: 'Category';
189
- id: Scalars['Int'];
190
- parentId?: Maybe<Scalars['Int']>;
191
- name: Scalars['String'];
192
- level: Scalars['Int'];
193
- /** The time interval of the campaign/category */
194
- activeDateSpan?: Maybe<CategoryActiveDateSpan>;
195
- /** Whether or not this category and all its children are considered hidden */
196
- isHidden: Scalars['Boolean'];
197
- /** When empty will display the value of the name field */
198
- mainHeader?: Maybe<Scalars['String']>;
205
+ breadcrumbText?: Maybe<Scalars['String']>;
199
206
  content?: Maybe<Scalars['String']>;
200
- externalId?: Maybe<Scalars['String']>;
201
- externalDiscountId?: Maybe<Scalars['String']>;
202
- images?: Maybe<Array<Maybe<CategoryImage>>>;
203
- /** NB: Carries a performance cost, as asking for this will result in a separate API call in the backend. */
204
- products?: Maybe<PagedResult>;
207
+ hasSubcategories?: Maybe<Scalars['Boolean']>;
205
208
  /** NB: Carries a performance cost, as asking for this will result in a separate API call in the backend. */
206
209
  head?: Maybe<HtmlHead>;
207
- /** The primary route of this Category. NB: Carries a performance cost, as asking
208
- * for this will result in a separate API call in the backend.
209
- */
210
- primaryRoute?: Maybe<Route>;
211
- breadcrumbText?: Maybe<Scalars['String']>;
212
- hasSubcategories?: Maybe<Scalars['Boolean']>;
213
- subcategories?: Maybe<Array<Maybe<Category>>>;
214
- parentCategory?: Maybe<Category>;
215
- parent?: Maybe<Category>;
210
+ id: Scalars['Int'];
211
+ images?: Maybe<Array<Maybe<CategoryImage>>>;
216
212
  /** A dynamic category has no fixed products; products are dynamically included
217
213
  * based on filters defined on the category in Admin. N.B. Products found on a
218
214
  * dynamic category has no route that includes said category, instead
219
215
  * product.primaryRoute will have to be used.
220
216
  */
221
217
  isDynamic: Scalars['Boolean'];
222
- /** The category's dynamic filtersNB: Carries a performance cost, as asking for
223
- * this will result in a separate API call in the backend.
224
- */
225
- dynamicFiltering?: Maybe<Array<Maybe<CategoryDynamicFilter>>>;
226
- /** Get content data set via the Content Editor. NB: Carries a performance cost,
227
- * as asking for this will result in a separate API call in the backend.
228
- */
229
- data?: Maybe<Content>;
230
- /** When set to false, the category will be excluded from sitemap. The frontend
231
- * implementation should use this value to set meta tags to exclude the category
232
- * from being indexed by crawlers. Defaults to true.
218
+ /** Whether or not this category and all its children are considered hidden */
219
+ isHidden: Scalars['Boolean'];
220
+ level: Scalars['Int'];
221
+ /** When empty will display the value of the name field */
222
+ mainHeader?: Maybe<Scalars['String']>;
223
+ name: Scalars['String'];
224
+ parent?: Maybe<Category>;
225
+ parentCategory?: Maybe<Category>;
226
+ parentId?: Maybe<Scalars['Int']>;
227
+ /** The primary route of this Category. NB: Carries a performance cost, as asking
228
+ * for this will result in a separate API call in the backend.
233
229
  */
234
- allowWebIndexing?: Maybe<Scalars['Boolean']>;
230
+ primaryRoute?: Maybe<Route>;
231
+ /** NB: Carries a performance cost, as asking for this will result in a separate API call in the backend. */
232
+ products?: Maybe<PagedResult>;
233
+ subcategories?: Maybe<Array<Maybe<Category>>>;
235
234
  };
236
235
 
237
236
  export type CategoryProductsArgs = {
@@ -242,33 +241,16 @@ export type CategoryProductsArgs = {
242
241
  filters?: Maybe<FilterInput>;
243
242
  };
244
243
 
245
- export type CategoryActiveDateSpan = {
246
- __typename?: 'CategoryActiveDateSpan';
247
- startDate?: Maybe<Scalars['DateTime']>;
248
- endDate?: Maybe<Scalars['DateTime']>;
249
- };
250
-
251
244
  export type CategoryAutoCompleteResult = {
252
245
  __typename?: 'CategoryAutoCompleteResult';
253
246
  result?: Maybe<Array<Maybe<Category>>>;
254
247
  };
255
248
 
256
- export type CategoryDynamicFilter = {
257
- __typename?: 'CategoryDynamicFilter';
258
- type?: Maybe<Scalars['String']>;
259
- value?: Maybe<CategoryDynamicFilterValue>;
260
- };
261
-
262
- export type CategoryDynamicFilterValue =
263
- | StringValue
264
- | ListStringValue
265
- | BoolValue;
266
-
267
249
  export type CategoryImage = {
268
250
  __typename?: 'CategoryImage';
269
- width?: Maybe<Scalars['Int']>;
270
251
  height?: Maybe<Scalars['Int']>;
271
252
  url?: Maybe<Scalars['Uri']>;
253
+ width?: Maybe<Scalars['Int']>;
272
254
  };
273
255
 
274
256
  export type CategorySearchResult = {
@@ -287,83 +269,63 @@ export type ChangeByOneItemQuantityInput = {
287
269
  */
288
270
  export type Channel = {
289
271
  __typename?: 'Channel';
290
- id: Scalars['Int'];
291
- name?: Maybe<Scalars['String']>;
292
- displayName?: Maybe<Scalars['String']>;
293
- groupName?: Maybe<Scalars['String']>;
294
- isDefault?: Maybe<Scalars['Boolean']>;
295
- url?: Maybe<Scalars['Uri']>;
296
- settings?: Maybe<ChannelSettings>;
297
- languages?: Maybe<Array<Maybe<Language>>>;
298
- defaultLanguage?: Maybe<Language>;
272
+ countries?: Maybe<Array<Maybe<Country>>>;
299
273
  currencies?: Maybe<Array<Maybe<Currency>>>;
300
274
  defaultCurrency?: Maybe<Currency>;
301
- countries?: Maybe<Array<Maybe<Country>>>;
275
+ defaultLanguage?: Maybe<Language>;
276
+ displayName?: Maybe<Scalars['String']>;
277
+ groupName?: Maybe<Scalars['String']>;
278
+ id: Scalars['Int'];
302
279
  /** The root url of images, this can be used to build image urls if needed. */
303
280
  imageUrl?: Maybe<Scalars['String']>;
281
+ isDefault?: Maybe<Scalars['Boolean']>;
282
+ languages?: Maybe<Array<Maybe<Language>>>;
283
+ name?: Maybe<Scalars['String']>;
304
284
  /** This channel requires a user to be authorized. */
305
285
  requiresAuth?: Maybe<Scalars['Boolean']>;
286
+ settings?: Maybe<ChannelSettings>;
287
+ url?: Maybe<Scalars['Uri']>;
306
288
  };
307
289
 
308
290
  export type ChannelSettings = {
309
291
  __typename?: 'ChannelSettings';
310
- pricesIncVat?: Maybe<Scalars['Boolean']>;
311
292
  countrySettings?: Maybe<Array<Maybe<CountrySettings>>>;
312
- tracking?: Maybe<Tracking>;
313
293
  nostoAccountId?: Maybe<Scalars['String']>;
294
+ pricesIncVat?: Maybe<Scalars['Boolean']>;
295
+ tracking?: Maybe<Tracking>;
314
296
  };
315
297
 
316
298
  export type Consent = {
317
299
  __typename?: 'Consent';
318
300
  id: Scalars['ID'];
319
- name?: Maybe<Scalars['String']>;
320
- title?: Maybe<Scalars['String']>;
321
- text?: Maybe<Scalars['String']>;
301
+ isMandatory?: Maybe<Scalars['Boolean']>;
322
302
  linkText?: Maybe<Scalars['String']>;
303
+ name?: Maybe<Scalars['String']>;
323
304
  page?: Maybe<Page>;
324
- isMandatory?: Maybe<Scalars['Boolean']>;
305
+ text?: Maybe<Scalars['String']>;
306
+ title?: Maybe<Scalars['String']>;
325
307
  };
326
308
 
327
309
  export type Content = {
328
310
  __typename?: 'Content';
329
- name?: Maybe<Scalars['String']>;
330
311
  id: Scalars['ID'];
331
312
  items?: Maybe<Array<Maybe<ContentItem>>>;
332
- tags?: Maybe<Array<Maybe<Scalars['String']>>>;
333
313
  };
334
314
 
335
315
  export type ContentItem = {
336
316
  __typename?: 'ContentItem';
337
- name?: Maybe<Scalars['String']>;
338
- type: Scalars['String'];
317
+ name: Scalars['String'];
339
318
  properties?: Maybe<Array<Maybe<ContentItemProperty>>>;
340
- children?: Maybe<Array<Maybe<ContentItem>>>;
341
- };
342
-
343
- export type ContentItemPropertiesArgs = {
344
- getImageAsImageValue?: Maybe<Scalars['Boolean']>;
319
+ type: Scalars['String'];
345
320
  };
346
321
 
347
322
  export type ContentItemProperty = {
348
323
  __typename?: 'ContentItemProperty';
349
324
  name: Scalars['String'];
350
325
  type: Scalars['String'];
351
- valueType?: Maybe<ContentPropertyValueType>;
352
- value?: Maybe<ContentItemPropertyValue>;
326
+ value?: Maybe<Scalars['String']>;
353
327
  };
354
328
 
355
- export type ContentItemPropertyValue =
356
- | StringValue
357
- | ImageValue
358
- | BoolValue
359
- | Product
360
- | Category;
361
-
362
- export enum ContentPropertyValueType {
363
- Object = 'OBJECT',
364
- Scalar = 'SCALAR'
365
- }
366
-
367
329
  export type Coordinates = {
368
330
  __typename?: 'Coordinates';
369
331
  latitude: Scalars['Decimal'];
@@ -372,33 +334,33 @@ export type Coordinates = {
372
334
 
373
335
  export type Country = {
374
336
  __typename?: 'Country';
375
- id: Scalars['ID'];
376
337
  code?: Maybe<Scalars['String']>;
377
- name?: Maybe<Scalars['String']>;
338
+ id: Scalars['ID'];
378
339
  isDefault?: Maybe<Scalars['Boolean']>;
340
+ name?: Maybe<Scalars['String']>;
379
341
  };
380
342
 
381
343
  export type CountrySettings = {
382
344
  __typename?: 'CountrySettings';
383
- countryCode: Scalars['String'];
384
- paymentTypes?: Maybe<Array<Maybe<PaymentType>>>;
385
- /** NB: Carries a performance cost, as asking for this will result in a separate API call in the backend. */
386
- privateCustomerFields?: Maybe<Array<Maybe<CustomerField>>>;
387
- /** NB: Carries a performance cost, as asking for this will result in a separate API call in the backend. */
388
- businessCustomerFields?: Maybe<Array<Maybe<CustomerField>>>;
389
- shipping?: Maybe<Shipping>;
390
345
  /** NB: Carries a performance cost, as asking for this will result in a separate API call in the backend.
391
346
  *
392
347
  * This will use localization, and will work well when requesting one `channel`,
393
348
  * but may give unpredictable results when getting multiple channels via `channels`
394
349
  */
395
- privateCustomerConsents?: Maybe<Array<Maybe<Consent>>>;
350
+ businessCustomerConsents?: Maybe<Array<Maybe<Consent>>>;
351
+ /** NB: Carries a performance cost, as asking for this will result in a separate API call in the backend. */
352
+ businessCustomerFields?: Maybe<Array<Maybe<CustomerField>>>;
353
+ countryCode: Scalars['String'];
354
+ paymentTypes?: Maybe<Array<Maybe<PaymentType>>>;
396
355
  /** NB: Carries a performance cost, as asking for this will result in a separate API call in the backend.
397
356
  *
398
357
  * This will use localization, and will work well when requesting one `channel`,
399
358
  * but may give unpredictable results when getting multiple channels via `channels`
400
359
  */
401
- businessCustomerConsents?: Maybe<Array<Maybe<Consent>>>;
360
+ privateCustomerConsents?: Maybe<Array<Maybe<Consent>>>;
361
+ /** NB: Carries a performance cost, as asking for this will result in a separate API call in the backend. */
362
+ privateCustomerFields?: Maybe<Array<Maybe<CustomerField>>>;
363
+ shipping?: Maybe<Shipping>;
402
364
  };
403
365
 
404
366
  export type CreateCustomerProductListInput = {
@@ -410,46 +372,46 @@ export type CreateCustomerProductListInput = {
410
372
 
411
373
  export type Currency = {
412
374
  __typename?: 'Currency';
375
+ format?: Maybe<CurrencyFormat>;
413
376
  id: Scalars['String'];
414
- name?: Maybe<Scalars['String']>;
415
377
  isDefault?: Maybe<Scalars['Boolean']>;
416
- format?: Maybe<CurrencyFormat>;
378
+ name?: Maybe<Scalars['String']>;
417
379
  };
418
380
 
419
381
  export type CurrencyFormat = {
420
382
  __typename?: 'CurrencyFormat';
421
- culture: Scalars['String'];
422
383
  code: Scalars['String'];
384
+ culture: Scalars['String'];
423
385
  decimals: Scalars['Int'];
424
386
  };
425
387
 
426
388
  export type CustomBoolField = CustomField & {
427
389
  __typename?: 'CustomBoolField';
428
- value: Scalars['Boolean'];
429
- type?: Maybe<ProductCustomFieldType>;
430
390
  key?: Maybe<Scalars['String']>;
431
391
  title?: Maybe<Scalars['String']>;
392
+ type?: Maybe<ProductCustomFieldType>;
393
+ value: Scalars['Boolean'];
432
394
  };
433
395
 
434
396
  export type Customer = {
435
- id: Scalars['ID'];
436
- memberId?: Maybe<Scalars['String']>;
397
+ billingAddress?: Maybe<CustomerAddress>;
398
+ communication?: Maybe<CustomerCommunication>;
399
+ deliveryAddresses?: Maybe<Array<Maybe<CustomerAddress>>>;
400
+ dynamicContent?: Maybe<Scalars['String']>;
437
401
  email?: Maybe<Scalars['String']>;
402
+ externalAttributes?: Maybe<Array<Maybe<CustomerExternalAttribute>>>;
438
403
  /** Customer id for external system */
439
404
  externalId?: Maybe<Scalars['String']>;
440
- subscribedToNewsletter?: Maybe<Scalars['Boolean']>;
405
+ /** NB: Carries a performance cost, as asking for this will result in a separate API call in the backend. */
406
+ googleUserId?: Maybe<Scalars['String']>;
407
+ id: Scalars['ID'];
441
408
  language?: Maybe<Language>;
442
- billingAddress?: Maybe<CustomerAddress>;
443
- deliveryAddresses?: Maybe<Array<Maybe<CustomerAddress>>>;
409
+ memberId?: Maybe<Scalars['String']>;
444
410
  /** NB: Carries a performance cost, as asking for this will result in a separate API call in the backend. */
445
411
  orderHeaders?: Maybe<OrderHeaderResult>;
446
- communication?: Maybe<CustomerCommunication>;
447
412
  /** NB: Carries a performance cost, as asking for this will result in a separate API call in the backend. */
448
413
  store?: Maybe<Store>;
449
- dynamicContent?: Maybe<Scalars['String']>;
450
- externalAttributes?: Maybe<Array<Maybe<CustomerExternalAttribute>>>;
451
- /** NB: Carries a performance cost, as asking for this will result in a separate API call in the backend. */
452
- googleUserId?: Maybe<Scalars['String']>;
414
+ subscribedToNewsletter?: Maybe<Scalars['Boolean']>;
453
415
  };
454
416
 
455
417
  export type CustomerOrderHeadersArgs = {
@@ -459,22 +421,22 @@ export type CustomerOrderHeadersArgs = {
459
421
 
460
422
  export type CustomerAddress = {
461
423
  __typename?: 'CustomerAddress';
462
- id?: Maybe<Scalars['Int']>;
463
424
  addressName?: Maybe<Scalars['String']>;
464
- firstName?: Maybe<Scalars['String']>;
465
- lastName?: Maybe<Scalars['String']>;
466
- companyAtt?: Maybe<Scalars['String']>;
425
+ city?: Maybe<Scalars['String']>;
426
+ co?: Maybe<Scalars['String']>;
467
427
  company?: Maybe<Scalars['String']>;
428
+ companyAtt?: Maybe<Scalars['String']>;
429
+ country?: Maybe<Country>;
468
430
  department?: Maybe<Scalars['String']>;
469
- streetName?: Maybe<Scalars['String']>;
470
- co?: Maybe<Scalars['String']>;
471
- postalCode?: Maybe<Scalars['String']>;
472
- city?: Maybe<Scalars['String']>;
431
+ firstName?: Maybe<Scalars['String']>;
432
+ id?: Maybe<Scalars['Int']>;
433
+ lastName?: Maybe<Scalars['String']>;
434
+ mobilePhone?: Maybe<Scalars['String']>;
473
435
  municipality?: Maybe<Scalars['String']>;
474
- region?: Maybe<Scalars['String']>;
475
- country?: Maybe<Country>;
476
436
  phone?: Maybe<Scalars['String']>;
477
- mobilePhone?: Maybe<Scalars['String']>;
437
+ postalCode?: Maybe<Scalars['String']>;
438
+ region?: Maybe<Scalars['String']>;
439
+ streetName?: Maybe<Scalars['String']>;
478
440
  };
479
441
 
480
442
  export type CustomerCommunication = {
@@ -492,21 +454,21 @@ export type CustomerExternalAttribute = {
492
454
 
493
455
  export type CustomerField = {
494
456
  __typename?: 'CustomerField';
495
- id: Scalars['ID'];
496
- required: Scalars['Boolean'];
497
- pattern?: Maybe<Scalars['String']>;
498
457
  fields?: Maybe<Array<Maybe<CustomerField>>>;
458
+ id: Scalars['ID'];
499
459
  name: Scalars['ID'];
460
+ pattern?: Maybe<Scalars['String']>;
461
+ required: Scalars['Boolean'];
500
462
  };
501
463
 
502
464
  export type CustomerLoyalty = {
503
465
  __typename?: 'CustomerLoyalty';
504
466
  bonusChecks?: Maybe<Array<Maybe<CustomerLoyaltyBonusCheck>>>;
505
- pointCards?: Maybe<Array<Maybe<CustomerLoyaltyPointCard>>>;
506
- discounts?: Maybe<Array<Maybe<CustomerLoyaltyDiscount>>>;
507
467
  /** NB: Carries a performance cost, as asking for this will result in a separate API call in the backend. */
508
468
  bonusPoints?: Maybe<CustomerLoyaltyBonusPoints>;
509
- };
469
+ discounts?: Maybe<Array<Maybe<CustomerLoyaltyDiscount>>>;
470
+ pointCards?: Maybe<Array<Maybe<CustomerLoyaltyPointCard>>>;
471
+ };
510
472
 
511
473
  export type CustomerLoyaltyDiscountsArgs = {
512
474
  includeRedeemed?: Scalars['Boolean'];
@@ -514,14 +476,14 @@ export type CustomerLoyaltyDiscountsArgs = {
514
476
 
515
477
  export type CustomerLoyaltyBonusCheck = {
516
478
  __typename?: 'CustomerLoyaltyBonusCheck';
479
+ /** For display purposes, not guaranteed to match up with a currency on the channel. */
480
+ currency?: Maybe<Scalars['String']>;
481
+ endDate?: Maybe<Scalars['DateTime']>;
517
482
  externalId?: Maybe<Scalars['String']>;
518
483
  name?: Maybe<Scalars['String']>;
519
- startDate?: Maybe<Scalars['DateTime']>;
520
- endDate?: Maybe<Scalars['DateTime']>;
521
484
  redeemed?: Maybe<Scalars['Boolean']>;
522
485
  redeemedOn?: Maybe<Scalars['DateTime']>;
523
- /** For display purposes, not guaranteed to match up with a currency on the channel. */
524
- currency?: Maybe<Scalars['String']>;
486
+ startDate?: Maybe<Scalars['DateTime']>;
525
487
  value?: Maybe<Scalars['Decimal']>;
526
488
  };
527
489
 
@@ -532,68 +494,68 @@ export type CustomerLoyaltyBonusPoints = {
532
494
 
533
495
  export type CustomerLoyaltyDiscount = {
534
496
  __typename?: 'CustomerLoyaltyDiscount';
535
- name?: Maybe<Scalars['String']>;
497
+ /** NB: Carries a performance cost, as asking for this will result in a separate API call in the backend. */
498
+ category?: Maybe<Category>;
536
499
  description?: Maybe<Scalars['String']>;
537
- startDate?: Maybe<Scalars['DateTime']>;
500
+ discountCode?: Maybe<Scalars['String']>;
538
501
  endDate?: Maybe<Scalars['DateTime']>;
539
502
  externalData?: Maybe<CustomerLoyaltyDiscountOfferExternalData>;
540
- /** NB: Carries a performance cost, as asking for this will result in a separate API call in the backend. */
541
- category?: Maybe<Category>;
542
503
  isActivatedByDiscountCode: Scalars['Boolean'];
543
- discountCode?: Maybe<Scalars['String']>;
504
+ name?: Maybe<Scalars['String']>;
505
+ startDate?: Maybe<Scalars['DateTime']>;
544
506
  };
545
507
 
546
508
  export type CustomerLoyaltyDiscountOfferExternalData = {
547
509
  __typename?: 'CustomerLoyaltyDiscountOfferExternalData';
548
- name?: Maybe<Scalars['String']>;
549
510
  description?: Maybe<Scalars['String']>;
550
- startDate?: Maybe<Scalars['DateTime']>;
551
511
  endDate?: Maybe<Scalars['DateTime']>;
552
512
  externalId?: Maybe<Scalars['String']>;
553
513
  externalReference?: Maybe<Scalars['String']>;
554
514
  heading?: Maybe<Scalars['String']>;
555
- redeemed?: Maybe<Scalars['Boolean']>;
556
- redeemedOn?: Maybe<Scalars['DateTime']>;
557
515
  imageUrl?: Maybe<Scalars['String']>;
558
516
  link?: Maybe<Scalars['String']>;
517
+ name?: Maybe<Scalars['String']>;
518
+ redeemed?: Maybe<Scalars['Boolean']>;
519
+ redeemedOn?: Maybe<Scalars['DateTime']>;
520
+ startDate?: Maybe<Scalars['DateTime']>;
559
521
  };
560
522
 
561
523
  export type CustomerLoyaltyPointCard = {
562
524
  __typename?: 'CustomerLoyaltyPointCard';
563
525
  externalId?: Maybe<Scalars['String']>;
564
- name?: Maybe<Scalars['String']>;
526
+ isActive?: Maybe<Scalars['Boolean']>;
565
527
  lastStampTime?: Maybe<Scalars['DateTime']>;
528
+ name?: Maybe<Scalars['String']>;
566
529
  numberOfSlots?: Maybe<Scalars['Int']>;
567
530
  numberOfSlotsRemaining?: Maybe<Scalars['Int']>;
568
- isActive?: Maybe<Scalars['Boolean']>;
569
531
  };
570
532
 
571
533
  export type CustomerProductList = {
572
534
  __typename?: 'CustomerProductList';
535
+ description?: Maybe<Scalars['String']>;
573
536
  id: Scalars['ID'];
574
- shareToken?: Maybe<Scalars['String']>;
537
+ /** NB: Carries a performance cost, as asking for this will result in a separate API call in the backend. */
538
+ items?: Maybe<Array<Maybe<CustomerProductListItem>>>;
575
539
  name?: Maybe<Scalars['String']>;
576
- description?: Maybe<Scalars['String']>;
540
+ shareToken?: Maybe<Scalars['String']>;
577
541
  /** NB: Carries a performance cost, as asking for this will result in a separate API call in the backend. */
578
542
  type?: Maybe<CustomerProductListType>;
579
- /** NB: Carries a performance cost, as asking for this will result in a separate API call in the backend. */
580
- items?: Maybe<Array<Maybe<CustomerProductListItem>>>;
581
543
  };
582
544
 
583
545
  export type CustomerProductListItem = {
584
546
  __typename?: 'CustomerProductListItem';
585
547
  description?: Maybe<Scalars['String']>;
586
- quantity?: Maybe<Scalars['Int']>;
587
- variant?: Maybe<ProductVariant>;
588
548
  /** NB: Carries a performance cost, as asking for this will result in a separate API call in the backend. */
589
549
  product?: Maybe<Product>;
550
+ quantity?: Maybe<Scalars['Int']>;
551
+ variant?: Maybe<ProductVariant>;
590
552
  };
591
553
 
592
554
  export type CustomerProductListResult = {
593
555
  __typename?: 'CustomerProductListResult';
594
- success?: Maybe<Scalars['Boolean']>;
595
556
  /** NB: Carries a performance cost, as asking for this will result in a separate API call in the backend. */
596
557
  customerProductList?: Maybe<CustomerProductList>;
558
+ success?: Maybe<Scalars['Boolean']>;
597
559
  };
598
560
 
599
561
  export type CustomerProductListType = {
@@ -651,20 +613,13 @@ export type CustomerUpdateDeliveryAddressInput = {
651
613
  addressName?: Maybe<Scalars['String']>;
652
614
  };
653
615
 
654
- export type CustomerUpdateExternalAttribute = {
655
- name: Scalars['String'];
656
- value: Scalars['String'];
657
- };
658
-
659
616
  export type CustomerUpdateInput = {
660
617
  pid?: Maybe<Scalars['String']>;
661
- emailAddress?: Maybe<Scalars['String']>;
662
618
  organizationNumber?: Maybe<Scalars['String']>;
663
619
  billingAddress: CustomerUpdateBillingAddressInput;
664
620
  deliveryAddresses?: Maybe<Array<Maybe<CustomerUpdateDeliveryAddressInput>>>;
665
621
  preferences?: Maybe<CustomerUpdatePreferenceInput>;
666
622
  consents?: Maybe<Array<Maybe<CustomerUpdateConsentInput>>>;
667
- externalAttributes?: Maybe<Array<Maybe<CustomerUpdateExternalAttribute>>>;
668
623
  dynamicContent?: Maybe<Scalars['String']>;
669
624
  };
670
625
 
@@ -687,42 +642,42 @@ export type CustomerUpdateResponse = {
687
642
  };
688
643
 
689
644
  export type CustomField = {
690
- type?: Maybe<ProductCustomFieldType>;
691
645
  key?: Maybe<Scalars['String']>;
692
646
  title?: Maybe<Scalars['String']>;
647
+ type?: Maybe<ProductCustomFieldType>;
693
648
  };
694
649
 
695
650
  export type CustomHtmlField = CustomField & {
696
651
  __typename?: 'CustomHtmlField';
697
- value: Scalars['String'];
698
- type?: Maybe<ProductCustomFieldType>;
699
652
  key?: Maybe<Scalars['String']>;
700
653
  title?: Maybe<Scalars['String']>;
654
+ type?: Maybe<ProductCustomFieldType>;
655
+ value: Scalars['String'];
701
656
  };
702
657
 
703
658
  export type CustomItem = {
704
659
  __typename?: 'CustomItem';
705
- id: Scalars['Int'];
706
- name: Scalars['String'];
707
660
  content?: Maybe<Scalars['String']>;
708
- linkUrl?: Maybe<Scalars['Uri']>;
661
+ id: Scalars['Int'];
709
662
  image?: Maybe<Image>;
663
+ linkUrl?: Maybe<Scalars['Uri']>;
664
+ name: Scalars['String'];
710
665
  };
711
666
 
712
667
  export type CustomListField = CustomField & {
713
668
  __typename?: 'CustomListField';
714
- value?: Maybe<Array<Maybe<Scalars['String']>>>;
715
- type?: Maybe<ProductCustomFieldType>;
716
669
  key?: Maybe<Scalars['String']>;
717
670
  title?: Maybe<Scalars['String']>;
671
+ type?: Maybe<ProductCustomFieldType>;
672
+ value?: Maybe<Array<Maybe<Scalars['String']>>>;
718
673
  };
719
674
 
720
675
  export type CustomMultiLevelListField = CustomField & {
721
676
  __typename?: 'CustomMultiLevelListField';
722
677
  items?: Maybe<Array<Maybe<CustomMultiLevelListFieldItem>>>;
723
- type?: Maybe<ProductCustomFieldType>;
724
678
  key?: Maybe<Scalars['String']>;
725
679
  title?: Maybe<Scalars['String']>;
680
+ type?: Maybe<ProductCustomFieldType>;
726
681
  };
727
682
 
728
683
  export type CustomMultiLevelListFieldItem = {
@@ -735,10 +690,10 @@ export type CustomMultiLevelListFieldItem = {
735
690
 
736
691
  export type CustomStringField = CustomField & {
737
692
  __typename?: 'CustomStringField';
738
- value: Scalars['String'];
739
- type?: Maybe<ProductCustomFieldType>;
740
693
  key?: Maybe<Scalars['String']>;
741
694
  title?: Maybe<Scalars['String']>;
695
+ type?: Maybe<ProductCustomFieldType>;
696
+ value: Scalars['String'];
742
697
  };
743
698
 
744
699
  export type DeleteCustomerProductListResult = {
@@ -748,93 +703,46 @@ export type DeleteCustomerProductListResult = {
748
703
 
749
704
  export type Discount = {
750
705
  __typename?: 'Discount';
751
- externalId?: Maybe<Scalars['ID']>;
706
+ campaign?: Maybe<Category>;
707
+ description?: Maybe<Scalars['String']>;
752
708
  name?: Maybe<Scalars['String']>;
753
709
  value?: Maybe<Price>;
754
- type?: Maybe<DiscountType>;
755
- description?: Maybe<Scalars['String']>;
756
- campaign?: Maybe<Category>;
757
710
  };
758
711
 
759
- export enum DiscountType {
760
- /** No discount defined */
761
- Undefined = 'UNDEFINED',
762
- /** Discount drops price of the order total by defined amount */
763
- FixedAmount = 'FIXED_AMOUNT',
764
- /** Discount drops price of the product by X % */
765
- Percent = 'PERCENT',
766
- /** Discount will get the amount of the cheapest product and use this as a discount */
767
- Items = 'ITEMS',
768
- /** Discount drops total price of the product if there is at least X of them in cart */
769
- ItemsPercentageLimit = 'ITEMS_PERCENTAGE_LIMIT',
770
- /** Only a collection of products */
771
- OnlyUseLandingPage = 'ONLY_USE_LANDING_PAGE',
772
- /** Discount drops price of the least expensive product in cart */
773
- PercentOnLeastExpensiveItem = 'PERCENT_ON_LEAST_EXPENSIVE_ITEM',
774
- /** Discount drops price of the most expensive product in cart */
775
- PercentOnMostExpensiveItem = 'PERCENT_ON_MOST_EXPENSIVE_ITEM',
776
- /** Discount allows to get a free gift when the product is added */
777
- FreeProduct = 'FREE_PRODUCT',
778
- /** Discount allows to get free shipping option for the product */
779
- FreeShipping = 'FREE_SHIPPING',
780
- /** Discount drops price for the package when all products in the package is added to cart */
781
- PackageDiscount = 'PACKAGE_DISCOUNT',
782
- /** Discount on the order total from a voucher */
783
- BonusVoucherDiscount = 'BONUS_VOUCHER_DISCOUNT',
784
- /** Discount allows to buy amount of X of the article, but pay only for amount of Y */
785
- BuyXArticlesPayYAmount = 'BUY_X_ARTICLES_PAY_Y_AMOUNT'
786
- }
787
-
788
712
  export type Document = {
713
+ breadcrumbText?: Maybe<Scalars['String']>;
789
714
  head?: Maybe<HtmlHead>;
790
715
  primaryRoute?: Maybe<Route>;
791
- breadcrumbText?: Maybe<Scalars['String']>;
792
716
  };
793
717
 
794
718
  export type ExternalCustomer = {
795
719
  __typename?: 'ExternalCustomer';
796
- externalId?: Maybe<Scalars['String']>;
797
- email?: Maybe<MaskedProperty>;
798
- firstName?: Maybe<MaskedProperty>;
799
- lastName?: Maybe<MaskedProperty>;
800
- co?: Maybe<MaskedProperty>;
801
720
  address?: Maybe<MaskedProperty>;
802
721
  city?: Maybe<MaskedProperty>;
803
- postalCode?: Maybe<MaskedProperty>;
722
+ co?: Maybe<MaskedProperty>;
804
723
  country?: Maybe<MaskedProperty>;
805
- countryCode?: Maybe<Scalars['String']>;
806
- phoneNumber?: Maybe<MaskedProperty>;
724
+ email?: Maybe<MaskedProperty>;
725
+ externalId?: Maybe<Scalars['String']>;
726
+ firstName?: Maybe<MaskedProperty>;
727
+ lastName?: Maybe<MaskedProperty>;
807
728
  mobilePhoneNumber?: Maybe<MaskedProperty>;
729
+ phoneNumber?: Maybe<MaskedProperty>;
808
730
  pid?: Maybe<MaskedProperty>;
731
+ postalCode?: Maybe<MaskedProperty>;
809
732
  };
810
733
 
811
734
  /** The activation status has 4 states;
812
735
  * PREEXISTING_CUSTOMER: No customer info will be returned and the customer is advised to login to the preexisting account.
813
- * ACTIVATION_REQUIRED: The customer account needs to be activated. Email (masked),
814
- * FirstName (masked) and externalId will be the only fields set on `customer`.
736
+ * ACTIVATION_REQUIRED: The customer account needs to be activated. Email (masked)
737
+ * and externalId will be the only fields set on `customer`.
815
738
  * ADDITIONAL_USER_DATA_REQUIRED: Additional data needed to register the customer,
816
739
  * the existing customer info will be available with masking on customer.
817
740
  * NON_EXISTING_CUSTOMER: Customer does not exist in any system and will have to do a sign up.
818
- * COUNTRY_NOT_VALID: The customer account may not be activated on this channel as
819
- * it's missing the customer country. Email (masked), FirstName (masked),
820
- * externalId and countryCode will be the only fields set on `customer`.
821
741
  */
822
742
  export type ExternalCustomerResult = {
823
743
  __typename?: 'ExternalCustomerResult';
824
- status?: Maybe<ActivationStatusSource>;
825
744
  customer?: Maybe<ExternalCustomer>;
826
- };
827
-
828
- export type ExternalOrderData = {
829
- __typename?: 'ExternalOrderData';
830
- name: Scalars['String'];
831
- value: Scalars['String'];
832
- };
833
-
834
- export type FacebookConversionsApi = {
835
- __typename?: 'FacebookConversionsApi';
836
- accessToken?: Maybe<Scalars['String']>;
837
- pixelId?: Maybe<Scalars['String']>;
745
+ status?: Maybe<ActivationStatusSource>;
838
746
  };
839
747
 
840
748
  export type Filter = {
@@ -851,8 +759,8 @@ export type FilterInput = {
851
759
 
852
760
  export type FreeShippingLimit = {
853
761
  __typename?: 'FreeShippingLimit';
854
- incVat?: Maybe<Scalars['Decimal']>;
855
762
  exVat?: Maybe<Scalars['Decimal']>;
763
+ incVat?: Maybe<Scalars['Decimal']>;
856
764
  };
857
765
 
858
766
  export type GoogleAnalytics = {
@@ -861,43 +769,29 @@ export type GoogleAnalytics = {
861
769
  useArticleNumberAsId?: Maybe<Scalars['Boolean']>;
862
770
  };
863
771
 
864
- export type GoogleAnalytics4 = {
865
- __typename?: 'GoogleAnalytics4';
866
- trackingId?: Maybe<Scalars['String']>;
867
- useArticleNumberAsId?: Maybe<Scalars['Boolean']>;
868
- };
869
-
870
772
  export type GoogleTagManager = {
871
773
  __typename?: 'GoogleTagManager';
872
774
  containerId?: Maybe<Scalars['String']>;
873
- useGa4Events?: Maybe<Scalars['Boolean']>;
874
775
  };
875
776
 
876
777
  export type HtmlHead = {
877
778
  __typename?: 'HtmlHead';
878
- title?: Maybe<Scalars['String']>;
879
779
  metaTags?: Maybe<Array<Maybe<HtmlMetaTag>>>;
780
+ title?: Maybe<Scalars['String']>;
880
781
  };
881
782
 
882
783
  export type HtmlMetaTag = {
883
784
  __typename?: 'HtmlMetaTag';
884
- name?: Maybe<Scalars['String']>;
885
785
  content?: Maybe<Scalars['String']>;
786
+ name?: Maybe<Scalars['String']>;
886
787
  };
887
788
 
888
789
  export type Image = {
889
790
  __typename?: 'Image';
791
+ height?: Maybe<Scalars['Int']>;
890
792
  title?: Maybe<Scalars['String']>;
891
793
  url?: Maybe<Scalars['Uri']>;
892
794
  width?: Maybe<Scalars['Int']>;
893
- height?: Maybe<Scalars['Int']>;
894
- };
895
-
896
- export type ImageValue = {
897
- __typename?: 'ImageValue';
898
- value?: Maybe<Scalars['String']>;
899
- focalPointX?: Maybe<Scalars['Int']>;
900
- focalPointY?: Maybe<Scalars['Int']>;
901
795
  };
902
796
 
903
797
  export type InputComment = {
@@ -907,23 +801,17 @@ export type InputComment = {
907
801
 
908
802
  export type Language = {
909
803
  __typename?: 'Language';
910
- id: Scalars['String'];
911
- name: Scalars['String'];
912
804
  culture: Scalars['String'];
805
+ id: Scalars['String'];
913
806
  isDefault?: Maybe<Scalars['Boolean']>;
914
- };
915
-
916
- export type Link = {
917
- __typename?: 'Link';
918
- target?: Maybe<Scalars['String']>;
919
- link?: Maybe<Scalars['Uri']>;
807
+ name: Scalars['String'];
920
808
  };
921
809
 
922
810
  export type ListFilter = Filter & {
923
811
  __typename?: 'ListFilter';
924
812
  hasActiveItems: Scalars['Boolean'];
925
- items: Array<Maybe<ListFilterItem>>;
926
813
  id: Scalars['String'];
814
+ items: Array<Maybe<ListFilterItem>>;
927
815
  name: Scalars['String'];
928
816
  };
929
817
 
@@ -935,15 +823,10 @@ export type ListFilterInput = {
935
823
  export type ListFilterItem = {
936
824
  __typename?: 'ListFilterItem';
937
825
  isActive?: Maybe<Scalars['Boolean']>;
938
- text: Scalars['String'];
939
826
  id: Scalars['String'];
940
- value: Scalars['String'];
941
827
  resultCount?: Maybe<Scalars['Int']>;
942
- };
943
-
944
- export type ListStringValue = {
945
- __typename?: 'ListStringValue';
946
- value?: Maybe<Array<Maybe<Scalars['String']>>>;
828
+ text: Scalars['String'];
829
+ value: Scalars['String'];
947
830
  };
948
831
 
949
832
  export type LoginExternalCustomerInput = {
@@ -959,20 +842,19 @@ export type LoginExternalCustomerResult = {
959
842
  export type LoginResponse = {
960
843
  __typename?: 'LoginResponse';
961
844
  token: Token;
962
- customerId?: Maybe<Scalars['Int']>;
963
845
  };
964
846
 
965
847
  export type MaskedProperty = {
966
848
  __typename?: 'MaskedProperty';
967
- masked?: Maybe<Scalars['String']>;
968
849
  encrypted?: Maybe<Scalars['String']>;
850
+ masked?: Maybe<Scalars['String']>;
969
851
  };
970
852
 
971
853
  export type MultiListFilter = Filter & {
972
854
  __typename?: 'MultiListFilter';
973
855
  isActive: Scalars['Boolean'];
974
- lists: Array<Maybe<MultiListFilterList>>;
975
856
  id: Scalars['String'];
857
+ lists: Array<Maybe<MultiListFilterList>>;
976
858
  name: Scalars['String'];
977
859
  };
978
860
 
@@ -985,14 +867,8 @@ export type MultiListFilterList = {
985
867
  __typename?: 'MultiListFilterList';
986
868
  hasActiveItems: Scalars['Boolean'];
987
869
  id: Scalars['String'];
988
- name: Scalars['String'];
989
870
  items: Array<Maybe<ListFilterItem>>;
990
- };
991
-
992
- export type MultipleContent = {
993
- __typename?: 'MultipleContent';
994
- notFoundIds: Array<Maybe<Scalars['ID']>>;
995
- content: Array<Maybe<Content>>;
871
+ name: Scalars['String'];
996
872
  };
997
873
 
998
874
  export type Mutation = {
@@ -1007,13 +883,26 @@ export type Mutation = {
1007
883
  setMultiListFilter?: Maybe<MultiListFilter>;
1008
884
  clearMultiListFilter?: Maybe<MultiListFilter>;
1009
885
  clearMultiListFilterList?: Maybe<MultiListFilter>;
1010
- subscribeToStockNotifications?: Maybe<Scalars['Boolean']>;
1011
- /** This mutation's purpose is to subscribe a customer to a newsletter. In order
1012
- * to subscribe a customer a valid email address is required
1013
- *
1014
- * Responds with a boolean value whether the subscription has been successful or not
886
+ /** Error codes: CustomerNotFound, CustomerAlreadyActivated,
887
+ * UnableToActivateCustomer, UnableToLoginCustomer, InvalidCustomerActivateInput
1015
888
  */
1016
- subscribeToNewsletter?: Maybe<Scalars['Boolean']>;
889
+ activateExternalCustomerById?: Maybe<ActivateExternalCustomerByIdResult>;
890
+ /** Error codes: CustomerNotFound, CustomerAlreadyActivated,
891
+ * UnableToActivateCustomer, UnableToLoginCustomer, InvalidCustomerActivateInput
892
+ */
893
+ activateExternalCustomerByToken?: Maybe<
894
+ ActivateExternalCustomerByTokenResult
895
+ >;
896
+ /** Adds products to the cart where you can add comments to the products and
897
+ * determine their quantities. Replies with the affected cart if a cartId has
898
+ * been presented, otherwise a new cart will be created.
899
+ */
900
+ addMultipleToCart?: Maybe<CartMutation>;
901
+ /** Adds a product to the cart where you can add a comment to the product and
902
+ * determine the quantity. Replies with the affected cart if a cartId has been
903
+ * presented, otherwise a new cart will be created.
904
+ */
905
+ addToCart?: Maybe<CartMutation>;
1017
906
  /** ## Description
1018
907
  * Adds items to product list, null id adds items to the default product list.
1019
908
  * ## Error Codes
@@ -1038,6 +927,14 @@ export type Mutation = {
1038
927
  * Error in underlying API call, more info may be contained in the error message.
1039
928
  */
1040
929
  createCustomerProductList?: Maybe<CustomerProductListResult>;
930
+ /** This mutation is used to reduce the quantity of a product in the cart, replies
931
+ * with the affected cart ruled by the cartId in the input.
932
+ */
933
+ decrementItemQuantity?: Maybe<CartMutation>;
934
+ /** This mutation deletes a customer. An authorization token is needed in the
935
+ * request, in order to be able to delete the customer.
936
+ */
937
+ deleteCustomer?: Maybe<Scalars['Boolean']>;
1041
938
  /** ## Description
1042
939
  * Deletes a product list for a logged in customer
1043
940
  * ## Error Codes
@@ -1049,6 +946,18 @@ export type Mutation = {
1049
946
  * Error in underlying API call, more info may be contained in the error message.
1050
947
  */
1051
948
  deleteCustomerProductList?: Maybe<DeleteCustomerProductListResult>;
949
+ /** This mutation is used to increase the quantity of a product in the cart,
950
+ * replies with the affected cart ruled by the cartId in the input
951
+ */
952
+ incrementItemQuantity?: Maybe<CartMutation>;
953
+ /** LoginMutation will log a user in.
954
+ * One of email, pid, externalId or memberNumber is required, along with a password.
955
+ * Returns an authorization token if the login was successful.
956
+ */
957
+ login?: Maybe<LoginResponse>;
958
+ loginExternalCustomer?: Maybe<LoginExternalCustomerResult>;
959
+ /** Removes a specific product in the cart, replies with the affected cart */
960
+ removeFromCart?: Maybe<CartMutation>;
1052
961
  /** ## Description
1053
962
  * Removes an item from a product list for a logged in customer, null id removes item in the default product list.
1054
963
  * ## Error Codes
@@ -1066,6 +975,43 @@ export type Mutation = {
1066
975
  * Argument `articleNumbers` cannot be null or empty.
1067
976
  */
1068
977
  removeFromCustomerProductList?: Maybe<CustomerProductListResult>;
978
+ /** Removes specific items from the cart, replies with the affected cart */
979
+ removeMultipleFromCart?: Maybe<CartMutation>;
980
+ /** Requires a valid email and returns boolean value if successful, otherwise an error will be thrown */
981
+ requestPasswordReset?: Maybe<RequestPasswordResetResult>;
982
+ /** Requires a valid resetPasswordToken and a new password and if successful will return a authentication token */
983
+ resetPassword?: Maybe<ResetPassword>;
984
+ /** Used to add a specific quantity to a product in the cart. Replies with the affected cart ruled by the cartId in the input */
985
+ setItemQuantity?: Maybe<CartMutation>;
986
+ /** The SignUp-mutation is used for creating a customer.
987
+ *
988
+ * If the sign up is successful the customer may be considered to be logged on and an authentication token will be returned
989
+ */
990
+ signUp?: Maybe<SignUpResponse>;
991
+ /** This mutation's purpose is to subscribe a customer to a newsletter. In order
992
+ * to subscribe a customer a valid email address is required
993
+ *
994
+ * Responds with a boolean value whether the subscription has been successful or not
995
+ */
996
+ subscribeToNewsletter?: Maybe<Scalars['Boolean']>;
997
+ subscribeToStockNotifications?: Maybe<Scalars['Boolean']>;
998
+ /** Responds with the affected cart. */
999
+ updateCart?: Maybe<UpdateCartMutation>;
1000
+ /** This mutation's purpose is to update a existing customer's information. An
1001
+ * authorization token is needed in the request, in order to be able to delete the customer.
1002
+ */
1003
+ updateCustomer?: Maybe<CustomerUpdateResponse>;
1004
+ /** ## Description
1005
+ * Updates a product list for a logged in customer
1006
+ * ## Error Codes
1007
+ * ### Unauthorized
1008
+ *
1009
+ * ### ProductListNotFound
1010
+ * Argument `id` did not match any list for this customer.
1011
+ * ### UnableToUpdateProductList
1012
+ * Error in underlying API call, more info may be contained in the error message.
1013
+ */
1014
+ updateCustomerProductList?: Maybe<CustomerProductListResult>;
1069
1015
  /** ## Description
1070
1016
  * Updates an item in product list, null id updates item in the default product list.
1071
1017
  * ## Error Codes
@@ -1083,98 +1029,8 @@ export type Mutation = {
1083
1029
  * Argument `articleNumber` cannot be null or empty.
1084
1030
  */
1085
1031
  updateCustomerProductListItem?: Maybe<CustomerProductListResult>;
1086
- /** ## Description
1087
- * Updates a product list for a logged in customer
1088
- * ## Error Codes
1089
- * ### Unauthorized
1090
- *
1091
- * ### ProductListNotFound
1092
- * Argument `id` did not match any list for this customer.
1093
- * ### UnableToUpdateProductList
1094
- * Error in underlying API call, more info may be contained in the error message.
1095
- */
1096
- updateCustomerProductList?: Maybe<CustomerProductListResult>;
1097
- /** Error codes: CustomerNotFound, CustomerAlreadyActivated,
1098
- * UnableToActivateCustomer, UnableToLoginCustomer, InvalidCustomerActivateInput
1099
- */
1100
- activateExternalCustomerById?: Maybe<ActivateExternalCustomerByIdResult>;
1101
- /** Error codes: CustomerNotFound, CustomerAlreadyActivated,
1102
- * UnableToActivateCustomer, UnableToLoginCustomer, InvalidCustomerActivateInput
1103
- */
1104
- activateExternalCustomerByToken?: Maybe<
1105
- ActivateExternalCustomerByTokenResult
1106
- >;
1107
- /** This mutation deletes a customer. An authorization token is needed in the
1108
- * request, in order to be able to delete the customer.
1109
- */
1110
- deleteCustomer?: Maybe<Scalars['Boolean']>;
1111
- loginExternalCustomer?: Maybe<LoginExternalCustomerResult>;
1112
- /** LoginMutation will log a user in.
1113
- * One of email, pid, externalId, memberNumber or customerId is required, along with a password.
1114
- * Returns an authorization token if the login was successful.
1115
- */
1116
- login?: Maybe<LoginResponse>;
1117
- /** Requires a valid email and returns boolean value if successful, otherwise an error will be thrown */
1118
- requestPasswordReset?: Maybe<RequestPasswordResetResult>;
1119
- /** Requires a valid resetPasswordToken and a new password and if successful will return a authentication token */
1120
- resetPassword?: Maybe<ResetPassword>;
1121
- /** The SignUp-mutation is used for creating a customer.
1122
- *
1123
- * If the sign up is successful the customer may be considered to be logged on and an authentication token will be returned
1124
- */
1125
- signUp?: Maybe<SignUpResponse>;
1126
- /** ## Description
1127
- * This mutation's purpose is to update a existing customer's group using an
1128
- * access code. An authorization token is needed in the request, in order to be
1129
- * able to update the customer.
1130
- * ## Error Codes
1131
- * ### Unauthorized
1132
- * Unauthorized
1133
- * ### UnableToUpdateCustomer
1134
- * Error in underlying API call, more info may be contained in the error message.
1135
- * ### CustomerAlreadyUpdated
1136
- * Customer already in the customer group
1137
- * ### CustomerNotFound
1138
- * No match on customer with access code
1139
- */
1140
- updateCustomerGroup?: Maybe<UpdateCustomerGroupResult>;
1141
- /** This mutation's purpose is to update an existing customer's information. An
1142
- * authorization token is needed in the request, in order to be able to update the customer.
1143
- */
1144
- updateCustomer?: Maybe<CustomerUpdateResponse>;
1145
- /** This mutation's purpose is to update a existing customer's price list using an
1146
- * access code. An authorization token is needed in the request, in order to be
1147
- * able to update the customer.
1148
- */
1149
- updateCustomerPriceList?: Maybe<UpdateCustomerPriceListResult>;
1150
1032
  /** The updatePassword mutation updates the customers password. Both the old password and a new password is a requirement. */
1151
1033
  updatePassword?: Maybe<UpdatePasswordResult>;
1152
- /** Adds products to the cart where you can add comments to the products and
1153
- * determine their quantities. Replies with the affected cart if a cartId has
1154
- * been presented, otherwise a new cart will be created.
1155
- */
1156
- addMultipleToCart?: Maybe<CartMutation>;
1157
- /** Adds a product to the cart where you can add a comment to the product and
1158
- * determine the quantity. Replies with the affected cart if a cartId has been
1159
- * presented, otherwise a new cart will be created.
1160
- */
1161
- addToCart?: Maybe<CartMutation>;
1162
- /** This mutation is used to reduce the quantity of a product in the cart, replies
1163
- * with the affected cart ruled by the cartId in the input.
1164
- */
1165
- decrementItemQuantity?: Maybe<CartMutation>;
1166
- /** Used to add a specific quantity to a product in the cart. Replies with the affected cart ruled by the cartId in the input */
1167
- setItemQuantity?: Maybe<CartMutation>;
1168
- /** This mutation is used to increase the quantity of a product in the cart,
1169
- * replies with the affected cart ruled by the cartId in the input
1170
- */
1171
- incrementItemQuantity?: Maybe<CartMutation>;
1172
- /** Removes a specific product in the cart, replies with the affected cart */
1173
- removeFromCart?: Maybe<CartMutation>;
1174
- /** Removes specific items from the cart, replies with the affected cart */
1175
- removeMultipleFromCart?: Maybe<CartMutation>;
1176
- /** Responds with the affected cart. */
1177
- updateCart?: Maybe<UpdateCartMutation>;
1178
1034
  };
1179
1035
 
1180
1036
  export type MutationToggleListFilterItemArgs = {
@@ -1221,126 +1077,114 @@ export type MutationClearMultiListFilterListArgs = {
1221
1077
  filter: MultiListFilter;
1222
1078
  };
1223
1079
 
1224
- export type MutationSubscribeToStockNotificationsArgs = {
1225
- email: Scalars['String'];
1226
- articleNumber: Scalars['String'];
1227
- };
1228
-
1229
- export type MutationSubscribeToNewsletterArgs = {
1230
- email: Scalars['String'];
1080
+ export type MutationActivateExternalCustomerByIdArgs = {
1081
+ input?: Maybe<ActivateExternalCustomerByIdInput>;
1231
1082
  };
1232
1083
 
1233
- export type MutationAddToCustomerProductListArgs = {
1234
- id?: Maybe<Scalars['ID']>;
1235
- items: Array<AddToCustomerProductListInput>;
1084
+ export type MutationActivateExternalCustomerByTokenArgs = {
1085
+ input?: Maybe<ActivateExternalCustomerByTokenInput>;
1236
1086
  };
1237
1087
 
1238
- export type MutationCreateCustomerProductListArgs = {
1239
- input: CreateCustomerProductListInput;
1088
+ export type MutationAddMultipleToCartArgs = {
1089
+ cartId?: Maybe<Scalars['String']>;
1090
+ items: Array<Maybe<AddMultipleToCartInput>>;
1240
1091
  };
1241
1092
 
1242
- export type MutationDeleteCustomerProductListArgs = {
1243
- id: Scalars['ID'];
1093
+ export type MutationAddToCartArgs = {
1094
+ input: AddToCartInput;
1244
1095
  };
1245
1096
 
1246
- export type MutationRemoveFromCustomerProductListArgs = {
1097
+ export type MutationAddToCustomerProductListArgs = {
1247
1098
  id?: Maybe<Scalars['ID']>;
1248
- articleNumbers?: Maybe<Array<Scalars['String']>>;
1249
- };
1250
-
1251
- export type MutationUpdateCustomerProductListItemArgs = {
1252
- input: UpdateCustomerProductListItemInput;
1099
+ items: Array<AddToCustomerProductListInput>;
1253
1100
  };
1254
1101
 
1255
- export type MutationUpdateCustomerProductListArgs = {
1256
- input: UpdateCustomerProductListInput;
1102
+ export type MutationCreateCustomerProductListArgs = {
1103
+ input: CreateCustomerProductListInput;
1257
1104
  };
1258
1105
 
1259
- export type MutationActivateExternalCustomerByIdArgs = {
1260
- input?: Maybe<ActivateExternalCustomerByIdInput>;
1106
+ export type MutationDecrementItemQuantityArgs = {
1107
+ input: ChangeByOneItemQuantityInput;
1261
1108
  };
1262
1109
 
1263
- export type MutationActivateExternalCustomerByTokenArgs = {
1264
- input?: Maybe<ActivateExternalCustomerByTokenInput>;
1110
+ export type MutationDeleteCustomerProductListArgs = {
1111
+ id: Scalars['ID'];
1265
1112
  };
1266
1113
 
1267
- export type MutationLoginExternalCustomerArgs = {
1268
- input?: Maybe<LoginExternalCustomerInput>;
1114
+ export type MutationIncrementItemQuantityArgs = {
1115
+ input: ChangeByOneItemQuantityInput;
1269
1116
  };
1270
1117
 
1271
1118
  export type MutationLoginArgs = {
1272
- password?: Maybe<Scalars['String']>;
1119
+ password: Scalars['String'];
1273
1120
  email?: Maybe<Scalars['String']>;
1274
1121
  pid?: Maybe<Scalars['String']>;
1275
1122
  externalId?: Maybe<Scalars['String']>;
1276
1123
  memberNumber?: Maybe<Scalars['String']>;
1277
- externalHashId?: Maybe<Scalars['String']>;
1278
- timeStamp?: Maybe<Scalars['String']>;
1279
- customerId?: Maybe<Scalars['Int']>;
1280
- cartId?: Maybe<Scalars['String']>;
1281
1124
  };
1282
1125
 
1283
- export type MutationRequestPasswordResetArgs = {
1284
- email: Scalars['String'];
1126
+ export type MutationLoginExternalCustomerArgs = {
1127
+ input?: Maybe<LoginExternalCustomerInput>;
1285
1128
  };
1286
1129
 
1287
- export type MutationResetPasswordArgs = {
1288
- resetPasswordToken: Scalars['String'];
1289
- newPassword: Scalars['String'];
1130
+ export type MutationRemoveFromCartArgs = {
1131
+ input: RemoveFromCartInput;
1290
1132
  };
1291
1133
 
1292
- export type MutationSignUpArgs = {
1293
- input: SignUpInput;
1134
+ export type MutationRemoveFromCustomerProductListArgs = {
1135
+ id?: Maybe<Scalars['ID']>;
1136
+ articleNumbers?: Maybe<Array<Scalars['String']>>;
1294
1137
  };
1295
1138
 
1296
- export type MutationUpdateCustomerGroupArgs = {
1297
- customerGroupAccessCode: Scalars['String'];
1139
+ export type MutationRemoveMultipleFromCartArgs = {
1140
+ input: RemoveMultipleFromCartInput;
1298
1141
  };
1299
1142
 
1300
- export type MutationUpdateCustomerArgs = {
1301
- input: CustomerUpdateInput;
1143
+ export type MutationRequestPasswordResetArgs = {
1144
+ email: Scalars['String'];
1302
1145
  };
1303
1146
 
1304
- export type MutationUpdateCustomerPriceListArgs = {
1305
- priceListAccessCode: Scalars['String'];
1147
+ export type MutationResetPasswordArgs = {
1148
+ resetPasswordToken: Scalars['String'];
1149
+ newPassword: Scalars['String'];
1306
1150
  };
1307
1151
 
1308
- export type MutationUpdatePasswordArgs = {
1309
- oldPassword: Scalars['String'];
1310
- newPassword: Scalars['String'];
1152
+ export type MutationSetItemQuantityArgs = {
1153
+ input: SetItemQuantityInput;
1311
1154
  };
1312
1155
 
1313
- export type MutationAddMultipleToCartArgs = {
1314
- cartId?: Maybe<Scalars['String']>;
1315
- items: Array<Maybe<AddMultipleToCartInput>>;
1156
+ export type MutationSignUpArgs = {
1157
+ input: SignUpInput;
1316
1158
  };
1317
1159
 
1318
- export type MutationAddToCartArgs = {
1319
- input: AddToCartInput;
1160
+ export type MutationSubscribeToNewsletterArgs = {
1161
+ email: Scalars['String'];
1320
1162
  };
1321
1163
 
1322
- export type MutationDecrementItemQuantityArgs = {
1323
- input: ChangeByOneItemQuantityInput;
1164
+ export type MutationSubscribeToStockNotificationsArgs = {
1165
+ email: Scalars['String'];
1166
+ articleNumber: Scalars['String'];
1324
1167
  };
1325
1168
 
1326
- export type MutationSetItemQuantityArgs = {
1327
- input: SetItemQuantityInput;
1169
+ export type MutationUpdateCartArgs = {
1170
+ input: UpdateCartInput;
1328
1171
  };
1329
1172
 
1330
- export type MutationIncrementItemQuantityArgs = {
1331
- input: ChangeByOneItemQuantityInput;
1173
+ export type MutationUpdateCustomerArgs = {
1174
+ input: CustomerUpdateInput;
1332
1175
  };
1333
1176
 
1334
- export type MutationRemoveFromCartArgs = {
1335
- input: RemoveFromCartInput;
1177
+ export type MutationUpdateCustomerProductListArgs = {
1178
+ input: UpdateCustomerProductListInput;
1336
1179
  };
1337
1180
 
1338
- export type MutationRemoveMultipleFromCartArgs = {
1339
- input: RemoveMultipleFromCartInput;
1181
+ export type MutationUpdateCustomerProductListItemArgs = {
1182
+ input: UpdateCustomerProductListItemInput;
1340
1183
  };
1341
1184
 
1342
- export type MutationUpdateCartArgs = {
1343
- input: UpdateCartInput;
1185
+ export type MutationUpdatePasswordArgs = {
1186
+ oldPassword: Scalars['String'];
1187
+ newPassword: Scalars['String'];
1344
1188
  };
1345
1189
 
1346
1190
  export type MyPagesContent = {
@@ -1353,29 +1197,26 @@ export type NumericRangeFilter = Filter & {
1353
1197
  __typename?: 'NumericRangeFilter';
1354
1198
  isActive: Scalars['Boolean'];
1355
1199
  value?: Maybe<Array<Maybe<Scalars['Decimal']>>>;
1356
- min: Scalars['Decimal'];
1357
- max: Scalars['Decimal'];
1358
1200
  id: Scalars['String'];
1201
+ max: Scalars['Decimal'];
1202
+ min: Scalars['Decimal'];
1359
1203
  name: Scalars['String'];
1360
1204
  };
1361
1205
 
1362
1206
  export type Order = {
1363
1207
  __typename?: 'Order';
1364
- id: Scalars['ID'];
1365
- orderNumber?: Maybe<Scalars['String']>;
1366
- status?: Maybe<OrderStatus>;
1367
- items?: Maybe<Array<Maybe<OrderItem>>>;
1368
1208
  billingInfo?: Maybe<OrderInfo>;
1209
+ currency?: Maybe<Currency>;
1369
1210
  deliveryInfo?: Maybe<OrderInfo>;
1370
- paymentMethod?: Maybe<OrderPaymentMethod>;
1371
1211
  deliveryMethod?: Maybe<OrderDeliveryMethod>;
1372
1212
  giftVouchers?: Maybe<Array<Maybe<OrderGiftVoucher>>>;
1373
- total?: Maybe<Price>;
1213
+ id: Scalars['ID'];
1214
+ items?: Maybe<Array<Maybe<OrderItem>>>;
1374
1215
  orderDate?: Maybe<Scalars['DateTime']>;
1375
- currency?: Maybe<Currency>;
1376
- attachments?: Maybe<Array<Maybe<OrderAttachment>>>;
1377
- orderPurchaseLocation?: Maybe<Scalars['String']>;
1378
- orderComments?: Maybe<Array<Maybe<OrderComment>>>;
1216
+ orderNumber?: Maybe<Scalars['String']>;
1217
+ paymentMethod?: Maybe<OrderPaymentMethod>;
1218
+ status?: Maybe<OrderStatus>;
1219
+ total?: Maybe<Price>;
1379
1220
  };
1380
1221
 
1381
1222
  export type OrderItemsArgs = {
@@ -1385,30 +1226,18 @@ export type OrderItemsArgs = {
1385
1226
 
1386
1227
  export type OrderAddress = {
1387
1228
  __typename?: 'OrderAddress';
1388
- street?: Maybe<Scalars['String']>;
1389
- postcode?: Maybe<Scalars['String']>;
1390
1229
  city?: Maybe<Scalars['String']>;
1391
- region?: Maybe<Scalars['String']>;
1392
1230
  /** NB: Carries a performance cost, as asking for this will result in a separate API call in the backend. */
1393
1231
  country?: Maybe<Country>;
1394
- };
1395
-
1396
- export type OrderAttachment = {
1397
- __typename?: 'OrderAttachment';
1398
- id: Scalars['ID'];
1399
- url?: Maybe<Scalars['String']>;
1400
- };
1401
-
1402
- export type OrderComment = {
1403
- __typename?: 'OrderComment';
1404
- title?: Maybe<Scalars['String']>;
1405
- text?: Maybe<Scalars['String']>;
1232
+ postcode?: Maybe<Scalars['String']>;
1233
+ region?: Maybe<Scalars['String']>;
1234
+ street?: Maybe<Scalars['String']>;
1406
1235
  };
1407
1236
 
1408
1237
  export type OrderDeliveryMethod = {
1409
1238
  __typename?: 'OrderDeliveryMethod';
1410
- name?: Maybe<Scalars['String']>;
1411
1239
  fee?: Maybe<Price>;
1240
+ name?: Maybe<Scalars['String']>;
1412
1241
  tracking?: Maybe<OrderDeliveryMethodTracking>;
1413
1242
  };
1414
1243
 
@@ -1420,24 +1249,24 @@ export type OrderDeliveryMethodTracking = {
1420
1249
 
1421
1250
  export type OrderGiftVoucher = {
1422
1251
  __typename?: 'OrderGiftVoucher';
1423
- name?: Maybe<Scalars['String']>;
1424
1252
  amount?: Maybe<Scalars['Decimal']>;
1425
1253
  charged?: Maybe<Scalars['Decimal']>;
1254
+ name?: Maybe<Scalars['String']>;
1426
1255
  validUntil?: Maybe<Scalars['DateTime']>;
1427
1256
  };
1428
1257
 
1429
1258
  export type OrderHeader = {
1430
1259
  __typename?: 'OrderHeader';
1260
+ currency?: Maybe<Currency>;
1261
+ /** If this is false, a call to `order` for this order will result in a failure. */
1262
+ hasOrderDetails?: Maybe<Scalars['Boolean']>;
1431
1263
  id: Scalars['ID'];
1264
+ orderDate?: Maybe<Scalars['DateTime']>;
1432
1265
  orderNumber?: Maybe<Scalars['String']>;
1433
1266
  status?: Maybe<OrderStatus>;
1434
1267
  statusTimeline?: Maybe<Array<Maybe<OrderStatus>>>;
1435
- /** If this is false, a call to `order` for this order will result in a failure. */
1436
- hasOrderDetails?: Maybe<Scalars['Boolean']>;
1437
1268
  total?: Maybe<Price>;
1438
- orderDate?: Maybe<Scalars['DateTime']>;
1439
1269
  trackingId?: Maybe<Scalars['String']>;
1440
- currency?: Maybe<Currency>;
1441
1270
  };
1442
1271
 
1443
1272
  export type OrderHeaderResult = {
@@ -1448,26 +1277,27 @@ export type OrderHeaderResult = {
1448
1277
 
1449
1278
  export type OrderInfo = {
1450
1279
  __typename?: 'OrderInfo';
1280
+ address?: Maybe<OrderAddress>;
1281
+ company?: Maybe<Scalars['String']>;
1451
1282
  firstName?: Maybe<Scalars['String']>;
1452
1283
  lastName?: Maybe<Scalars['String']>;
1453
- company?: Maybe<Scalars['String']>;
1454
1284
  phone?: Maybe<Scalars['String']>;
1455
- address?: Maybe<OrderAddress>;
1456
1285
  };
1457
1286
 
1458
1287
  export type OrderItem = {
1459
1288
  __typename?: 'OrderItem';
1460
1289
  articleNumber?: Maybe<Scalars['String']>;
1290
+ discounts?: Maybe<Array<Maybe<OrderItemDiscount>>>;
1461
1291
  /** Name of the Product at the time the order was placed (may since have changed).
1462
1292
  * Use this as a fallback if the 'product' field itself is null.
1463
1293
  */
1464
1294
  name?: Maybe<Scalars['String']>;
1465
- quantity?: Maybe<Scalars['Int']>;
1466
- unitPrice?: Maybe<Price>;
1467
- total?: Maybe<Price>;
1468
- discounts?: Maybe<Array<Maybe<OrderItemDiscount>>>;
1295
+ preOrderDate?: Maybe<Scalars['DateTime']>;
1469
1296
  /** N.B. this may be null if the Product has since been removed. */
1470
1297
  product?: Maybe<Product>;
1298
+ quantity?: Maybe<Scalars['Int']>;
1299
+ total?: Maybe<Price>;
1300
+ unitPrice?: Maybe<Price>;
1471
1301
  /** N.B. this may be null if the Product itself or the Variant has since been removed. */
1472
1302
  variant?: Maybe<ProductVariant>;
1473
1303
  /** N.B. this may be null if the Product has since been removed. */
@@ -1477,9 +1307,6 @@ export type OrderItem = {
1477
1307
  * be null when the OrderItem is not a Variant.
1478
1308
  */
1479
1309
  variantValue?: Maybe<Scalars['String']>;
1480
- preOrderDate?: Maybe<Scalars['DateTime']>;
1481
- /** list of name, value fields from orders coming from external systems. */
1482
- externalOrderData?: Maybe<Array<Maybe<ExternalOrderData>>>;
1483
1310
  };
1484
1311
 
1485
1312
  export type OrderItemDiscount = {
@@ -1489,29 +1316,29 @@ export type OrderItemDiscount = {
1489
1316
 
1490
1317
  export type OrderPaymentMethod = {
1491
1318
  __typename?: 'OrderPaymentMethod';
1492
- name?: Maybe<Scalars['String']>;
1493
1319
  fee?: Maybe<Price>;
1320
+ name?: Maybe<Scalars['String']>;
1494
1321
  };
1495
1322
 
1496
1323
  export type OrderStatus = {
1497
1324
  __typename?: 'OrderStatus';
1498
- id?: Maybe<Scalars['ID']>;
1499
1325
  description?: Maybe<Scalars['String']>;
1326
+ id?: Maybe<Scalars['ID']>;
1500
1327
  timestamp?: Maybe<Scalars['DateTime']>;
1501
1328
  };
1502
1329
 
1503
1330
  export type Package = {
1504
1331
  __typename?: 'Package';
1332
+ /** Total package discount in percentage */
1333
+ discountPercentage?: Maybe<Scalars['Decimal']>;
1334
+ /** Total package discount amount */
1335
+ discountValue?: Maybe<Price>;
1505
1336
  id: Scalars['ID'];
1506
1337
  items: Array<PackageItem>;
1507
- /** The current package price with any potential discount */
1508
- price?: Maybe<Price>;
1509
1338
  /** The previous package price without any potential discount */
1510
1339
  previousPrice?: Maybe<Price>;
1511
- /** Total package discount amount */
1512
- discountValue?: Maybe<Price>;
1513
- /** Total package discount in percentage */
1514
- discountPercentage?: Maybe<Scalars['Decimal']>;
1340
+ /** The current package price with any potential discount */
1341
+ price?: Maybe<Price>;
1515
1342
  };
1516
1343
 
1517
1344
  export type PackageDiscount = PackageDiscountPercentage | PackageDiscountValue;
@@ -1523,20 +1350,20 @@ export type PackageDiscountPercentage = {
1523
1350
 
1524
1351
  export type PackageDiscountValue = {
1525
1352
  __typename?: 'PackageDiscountValue';
1526
- valueIncVat: Scalars['Decimal'];
1527
1353
  valueExVat: Scalars['Decimal'];
1354
+ valueIncVat: Scalars['Decimal'];
1528
1355
  valueVat: Scalars['Decimal'];
1529
1356
  };
1530
1357
 
1531
1358
  export type PackageItem = {
1532
1359
  __typename?: 'PackageItem';
1533
- product?: Maybe<Product>;
1534
- minQuantity: Scalars['Int'];
1535
1360
  discount?: Maybe<PackageDiscount>;
1536
- /** The current package price with any potential discount */
1537
- price?: Maybe<Price>;
1361
+ minQuantity: Scalars['Int'];
1538
1362
  /** The previous package price without any potential discount */
1539
1363
  previousPrice?: Maybe<Price>;
1364
+ /** The current package price with any potential discount */
1365
+ price?: Maybe<Price>;
1366
+ product?: Maybe<Product>;
1540
1367
  };
1541
1368
 
1542
1369
  export type PackagePriceInput = {
@@ -1546,55 +1373,28 @@ export type PackagePriceInput = {
1546
1373
 
1547
1374
  export type Page = Document & {
1548
1375
  __typename?: 'Page';
1549
- id: Scalars['ID'];
1550
- name: Scalars['String'];
1551
- mainHeader?: Maybe<Scalars['String']>;
1376
+ breadcrumbText?: Maybe<Scalars['String']>;
1552
1377
  content?: Maybe<Scalars['String']>;
1553
- hasExternalUrl?: Maybe<Scalars['Boolean']>;
1554
- /** External URL if page is set to URL, null if not. */
1555
- externalUrl?: Maybe<Link>;
1556
- images?: Maybe<Array<Maybe<Image>>>;
1557
1378
  /** NB: Carries a performance cost, as asking for this will result in a separate API call in the backend. */
1558
1379
  head?: Maybe<HtmlHead>;
1380
+ id: Scalars['ID'];
1381
+ images?: Maybe<Array<Maybe<Image>>>;
1382
+ mainHeader?: Maybe<Scalars['String']>;
1383
+ name: Scalars['String'];
1559
1384
  /** The primary route of this Page. NB: Carries a performance cost, as asking for
1560
1385
  * this will result in a separate API call in the backend.
1561
1386
  */
1562
1387
  primaryRoute?: Maybe<Route>;
1563
- breadcrumbText?: Maybe<Scalars['String']>;
1564
- /** Get content data set via the Content Editor. NB: Carries a performance cost,
1565
- * as asking for this will result in a separate API call in the backend.
1566
- */
1567
- data?: Maybe<Content>;
1568
- /** * If this page was fetched by ID using the `page(id)` query, `parent` will be returned even if it is hidden.
1569
- * * If this page was fetched using the `pages` query, `parent` will not be returned if it is hidden
1570
- */
1571
- parent?: Maybe<Page>;
1572
- /** * If this page was fetched by ID using the `page(id)` query, `subPages` will
1573
- * be returned even if they are hidden. This can be overridden with the
1574
- * `includeHidden` flag.
1575
- * * If this page was fetched using the `pages` query, `subPages` will not be
1576
- * returned if they are hidden. The `includeHidden` flag has no effect on this.
1577
- */
1578
- subPages?: Maybe<Array<Page>>;
1579
- /** When set to false, the page will be excluded from sitemap. The frontend
1580
- * implementation should use this value to set meta tags to exclude the page from
1581
- * being indexed by crawlers. Defaults to true.
1582
- */
1583
- allowWebIndexing?: Maybe<Scalars['Boolean']>;
1584
- };
1585
-
1586
- export type PageSubPagesArgs = {
1587
- includeHidden?: Maybe<Scalars['Boolean']>;
1588
1388
  };
1589
1389
 
1590
1390
  export type PagedResult = {
1591
1391
  __typename?: 'PagedResult';
1592
- totalResults?: Maybe<Scalars['Int']>;
1593
- /** NB: Carries a performance cost, as asking for this will result in a separate API call in the backend. */
1594
- sortOrders?: Maybe<Array<Maybe<ProductSortOrder>>>;
1595
1392
  /** NB: Carries a performance cost, as asking for this will result in a separate API call in the backend. */
1596
1393
  filters?: Maybe<Array<Maybe<Filter>>>;
1597
1394
  result: Array<Maybe<Product>>;
1395
+ /** NB: Carries a performance cost, as asking for this will result in a separate API call in the backend. */
1396
+ sortOrders?: Maybe<Array<Maybe<ProductSortOrder>>>;
1397
+ totalResults?: Maybe<Scalars['Int']>;
1598
1398
  };
1599
1399
 
1600
1400
  export type PagedResultFiltersArgs = {
@@ -1608,59 +1408,53 @@ export type PagingInput = {
1608
1408
 
1609
1409
  export type PaymentType = {
1610
1410
  __typename?: 'paymentType';
1611
- name: Scalars['String'];
1612
1411
  apiClientId: Scalars['String'];
1613
1412
  availableForBusiness: Scalars['Boolean'];
1614
1413
  availableForPrivate: Scalars['Boolean'];
1414
+ name: Scalars['String'];
1615
1415
  };
1616
1416
 
1617
1417
  export type PersonLookup = {
1618
1418
  __typename?: 'PersonLookup';
1619
- firstName?: Maybe<MaskedProperty>;
1620
- lastName?: Maybe<MaskedProperty>;
1621
- co?: Maybe<MaskedProperty>;
1622
1419
  address?: Maybe<MaskedProperty>;
1623
1420
  city?: Maybe<MaskedProperty>;
1624
- postalCode?: Maybe<MaskedProperty>;
1421
+ co?: Maybe<MaskedProperty>;
1625
1422
  country?: Maybe<MaskedProperty>;
1626
- phoneNumber?: Maybe<MaskedProperty>;
1423
+ firstName?: Maybe<MaskedProperty>;
1424
+ lastName?: Maybe<MaskedProperty>;
1627
1425
  mobilePhoneNumber?: Maybe<MaskedProperty>;
1426
+ phoneNumber?: Maybe<MaskedProperty>;
1427
+ postalCode?: Maybe<MaskedProperty>;
1628
1428
  };
1629
1429
 
1630
1430
  export type Price = {
1631
1431
  __typename?: 'Price';
1632
- incVat: Scalars['Decimal'];
1633
1432
  exVat: Scalars['Decimal'];
1433
+ incVat: Scalars['Decimal'];
1634
1434
  vat: Scalars['Decimal'];
1635
1435
  };
1636
1436
 
1637
- export type PriceHistory = {
1638
- __typename?: 'PriceHistory';
1639
- timestamp?: Maybe<Scalars['DateTime']>;
1640
- price?: Maybe<Price>;
1641
- };
1642
-
1643
1437
  export type PrivateCustomer = Customer & {
1644
1438
  __typename?: 'PrivateCustomer';
1645
- pid?: Maybe<Scalars['String']>;
1646
- id: Scalars['ID'];
1647
- memberId?: Maybe<Scalars['String']>;
1439
+ billingAddress?: Maybe<CustomerAddress>;
1440
+ communication?: Maybe<CustomerCommunication>;
1441
+ deliveryAddresses?: Maybe<Array<Maybe<CustomerAddress>>>;
1442
+ dynamicContent?: Maybe<Scalars['String']>;
1648
1443
  email?: Maybe<Scalars['String']>;
1444
+ externalAttributes?: Maybe<Array<Maybe<CustomerExternalAttribute>>>;
1649
1445
  /** Customer id for external system */
1650
1446
  externalId?: Maybe<Scalars['String']>;
1651
- subscribedToNewsletter?: Maybe<Scalars['Boolean']>;
1447
+ /** NB: Carries a performance cost, as asking for this will result in a separate API call in the backend. */
1448
+ googleUserId?: Maybe<Scalars['String']>;
1449
+ id: Scalars['ID'];
1652
1450
  language?: Maybe<Language>;
1653
- billingAddress?: Maybe<CustomerAddress>;
1654
- deliveryAddresses?: Maybe<Array<Maybe<CustomerAddress>>>;
1451
+ memberId?: Maybe<Scalars['String']>;
1655
1452
  /** NB: Carries a performance cost, as asking for this will result in a separate API call in the backend. */
1656
1453
  orderHeaders?: Maybe<OrderHeaderResult>;
1657
- communication?: Maybe<CustomerCommunication>;
1454
+ pid?: Maybe<Scalars['String']>;
1658
1455
  /** NB: Carries a performance cost, as asking for this will result in a separate API call in the backend. */
1659
1456
  store?: Maybe<Store>;
1660
- dynamicContent?: Maybe<Scalars['String']>;
1661
- externalAttributes?: Maybe<Array<Maybe<CustomerExternalAttribute>>>;
1662
- /** NB: Carries a performance cost, as asking for this will result in a separate API call in the backend. */
1663
- googleUserId?: Maybe<Scalars['String']>;
1457
+ subscribedToNewsletter?: Maybe<Scalars['Boolean']>;
1664
1458
  };
1665
1459
 
1666
1460
  export type PrivateCustomerOrderHeadersArgs = {
@@ -1670,102 +1464,61 @@ export type PrivateCustomerOrderHeadersArgs = {
1670
1464
 
1671
1465
  export type Product = Document & {
1672
1466
  __typename?: 'Product';
1673
- id: Scalars['Int'];
1674
1467
  articleNumber: Scalars['String'];
1675
- name: Scalars['String'];
1676
- subName: Scalars['String'];
1677
- shortDescription: Scalars['String'];
1678
- description: Scalars['String'];
1679
- /** Product header if it differs from the actual product name, usually displayed
1680
- * instead of the product name in the header tag at the product page.
1681
- */
1682
- mainHeader: Scalars['String'];
1683
- publishedDate?: Maybe<Scalars['DateTime']>;
1684
1468
  /** NB: Carries a performance cost, as asking for this will result in a separate API call in the backend. */
1685
- canonicalCategory?: Maybe<Category>;
1686
- /** NB: Carries a performance cost, as asking for this will result in a separate API call in the backend. */
1687
- categories?: Maybe<Array<Maybe<Category>>>;
1469
+ badges?: Maybe<Array<Maybe<ProductBadge>>>;
1470
+ barcode?: Maybe<Scalars['String']>;
1471
+ breadcrumbText?: Maybe<Scalars['String']>;
1688
1472
  /** NB: Carries a performance cost, as asking for this will result in a separate API call in the backend. */
1689
1473
  campaigns?: Maybe<Array<Maybe<Category>>>;
1690
- hasVariants: Scalars['Boolean'];
1691
- hasVariantsWithDifferingPrices: Scalars['Boolean'];
1692
- variants?: Maybe<ProductVariants>;
1693
- images?: Maybe<Array<Maybe<ProductImage>>>;
1694
1474
  /** NB: Carries a performance cost, as asking for this will result in a separate API call in the backend. */
1695
- relatedProducts?: Maybe<Array<Maybe<Product>>>;
1475
+ canonicalCategory?: Maybe<Category>;
1696
1476
  /** NB: Carries a performance cost, as asking for this will result in a separate API call in the backend. */
1697
- badges?: Maybe<Array<Maybe<ProductBadge>>>;
1698
- /** The current price.
1699
- * - Will be a Customer specific price if that Customer has a separate price list.
1700
- * - Will be the member price if Customer is logged in and `Product.hasMemberPrice` is true.
1701
- * - Will be the non-member price if Customer is not logged in and `Product.hasMemberPrice` is true.
1702
- */
1703
- price?: Maybe<Price>;
1704
- hidePrice?: Maybe<Scalars['Boolean']>;
1705
- /** The previous price (i.e. this will be higher than `price` if the product is
1706
- * discounted). Will be a Customer specific previous price, if that Customer has
1707
- * a separate price list.
1708
- */
1709
- previousPrice?: Maybe<Price>;
1710
- /** Default price for the product in the channel, disregards Customer specific prices. */
1711
- defaultPrice?: Maybe<Price>;
1712
- /** Default previous price for the product in the channel, disregards Customer specific prices. */
1713
- defaultPreviousPrice?: Maybe<Price>;
1714
- /** Not in use. Always null. */
1715
- recommendedPrice?: Maybe<Price>;
1716
- /** The time interval of the discounted price. If the product has variants, the
1717
- * time interval will be that of the variant which price is shown on the product.
1477
+ categories?: Maybe<Array<Maybe<Category>>>;
1478
+ /** Calculates the price of the product based on the configuration choices that's
1479
+ * been madeNB: Carries a performance cost, as asking for this will result in a
1480
+ * separate API call in the backend.
1718
1481
  */
1719
- priceDateSpan?: Maybe<ProductPriceDateSpan>;
1720
- /** Indicates if this product and its variants has member prices. */
1721
- hasMemberPrice?: Maybe<Scalars['Boolean']>;
1722
- /** The price a Customer would get if member prices are active and the Customer is logged in.
1723
- * - Will be null if `Product.hasMemberPrice` is false.
1724
- * - Will be set if `Product.hasMemberPrice` is true.
1482
+ configurationPrice?: Maybe<ProductConfigurationPrice>;
1483
+ /** Configurations on a product are used to assemble a complete product,
1484
+ *
1485
+ * For example, if the product is a ring then the ring may have two
1486
+ * configurations; measures of circumference and choice of engraving
1487
+ *
1488
+ * In this field, all the configurations of the product will be presented, the configuration name and its various options.
1725
1489
  */
1726
- memberPrice?: Maybe<Price>;
1490
+ configurations?: Maybe<Array<Maybe<ProductConfiguration>>>;
1727
1491
  /** Specifies input field(s) for the Customer to populate on the Product that will then carry through to the Order.
1728
- * If 'required' is true the Product should not be purchasable until the field is populated.
1492
+ * If 'required' is true the Product should not be purchasable
1493
+ * until the field is populated.NB: Carries a performance cost, as asking for
1494
+ * this will result in a separate API call in the backend.
1729
1495
  */
1730
1496
  customerComments?: Maybe<Array<Maybe<ProductComment>>>;
1731
- /** NB: Carries a performance cost, as asking for this will result in a separate API call in the backend. */
1732
- stockStatus?: Maybe<StockStatus>;
1733
1497
  customFields?: Maybe<Array<Maybe<CustomField>>>;
1734
- /** NB: Carries a performance cost, as asking for this will result in a separate API call in the backend. */
1735
- warehouseStock?: Maybe<Array<Maybe<Warehouse>>>;
1736
- head?: Maybe<HtmlHead>;
1737
- /** The primary route of this Product. NB: Carries a performance cost, as asking
1738
- * for this will result in a separate API call in the backend.
1739
- */
1740
- primaryRoute?: Maybe<Route>;
1741
- breadcrumbText?: Maybe<Scalars['String']>;
1742
- recommendedProducts?: Maybe<RecommendedProducts>;
1498
+ /** Default previous price for the product in the channel, disregards Customer specific prices. */
1499
+ defaultPreviousPrice?: Maybe<Price>;
1500
+ /** Default price for the product in the channel, disregards Customer specific prices. */
1501
+ defaultPrice?: Maybe<Price>;
1502
+ description: Scalars['String'];
1743
1503
  /** The product is recommended to only be purchasable in multiples of the
1744
1504
  * distributionPackageSize. (Different shops may have different levels of
1745
1505
  * leniency on this rule).
1746
1506
  */
1747
1507
  distributionPackageSize: Scalars['Int'];
1748
- barcode?: Maybe<Scalars['String']>;
1749
- /** Configurations on a product are used to assemble a complete product,
1750
- *
1751
- * For example, if the product is a ring then the ring may have two
1752
- * configurations; measures of circumference and choice of engraving
1753
- *
1754
- * In this field, all the configurations of the product will be presented, the configuration name and its various options.
1755
- */
1756
- configurations?: Maybe<Array<Maybe<ProductConfiguration>>>;
1757
1508
  hasConfigurations: Scalars['Boolean'];
1758
- hasFamilyMembers: Scalars['Boolean'];
1759
- /** Calculates the price of the product based on the configuration choices that's
1760
- * been made. NB: Carries a performance cost, as asking for this will result in a
1761
- * separate API call in the backend.
1762
- */
1763
- configurationPrice?: Maybe<ProductConfigurationPrice>;
1764
- /** Quantity suffix e.g pcs, box, etc. */
1765
- quantitySuffix?: Maybe<Scalars['String']>;
1766
- isPreOrder?: Maybe<Scalars['Boolean']>;
1767
- preOrder?: Maybe<ProductPreOrder>;
1509
+ hasVariants: Scalars['Boolean'];
1510
+ /** NB: Carries a performance cost, as asking for this will result in a separate API call in the backend. */
1511
+ head?: Maybe<HtmlHead>;
1512
+ id: Scalars['Int'];
1513
+ images?: Maybe<Array<Maybe<ProductImage>>>;
1514
+ inPackages?: Maybe<Array<Product>>;
1768
1515
  isPackage?: Maybe<Scalars['Boolean']>;
1516
+ isPreOrder?: Maybe<Scalars['Boolean']>;
1517
+ /** Product header if it differs from the actual product name, usually displayed
1518
+ * instead of the product name in the header tag at the product page.
1519
+ */
1520
+ mainHeader: Scalars['String'];
1521
+ name: Scalars['String'];
1769
1522
  /** ## Description
1770
1523
  * NB: Carries a performance cost, as asking for this will result in a separate API call in the backend.
1771
1524
  * ## Error Codes
@@ -1777,43 +1530,54 @@ export type Product = Document & {
1777
1530
  * Failed to calculate package price
1778
1531
  */
1779
1532
  package?: Maybe<Package>;
1533
+ preOrder?: Maybe<ProductPreOrder>;
1534
+ /** The previous price (i.e. this will be higher than `price` if the product is
1535
+ * discounted). Will be a Customer specific previous price, if that Customer has
1536
+ * a separate price list.
1537
+ */
1538
+ previousPrice?: Maybe<Price>;
1539
+ /** The current price. Will be a Customer specific price, if that Customer has a separate price list. */
1540
+ price?: Maybe<Price>;
1541
+ /** The primary route of this Product. NB: Carries a performance cost, as asking
1542
+ * for this will result in a separate API call in the backend.
1543
+ */
1544
+ primaryRoute?: Maybe<Route>;
1545
+ publishedDate?: Maybe<Scalars['DateTime']>;
1546
+ /** NB: Carries a performance cost, as asking for this will result in a separate API call in the backend. */
1547
+ quantitySuffix?: Maybe<Scalars['String']>;
1548
+ /** Not in use. Always null. */
1549
+ recommendedPrice?: Maybe<Price>;
1550
+ recommendedProducts?: Maybe<RecommendedProducts>;
1551
+ /** NB: Carries a performance cost, as asking for this will result in a separate API call in the backend. */
1552
+ relatedProducts?: Maybe<Array<Maybe<Product>>>;
1553
+ shortDescription: Scalars['String'];
1554
+ /** NB: Carries a performance cost, as asking for this will result in a separate API call in the backend. */
1555
+ stockStatus?: Maybe<StockStatus>;
1556
+ subName: Scalars['String'];
1780
1557
  /** NB: Carries a performance cost, as asking for this will result in a separate API call in the backend. */
1781
1558
  upsell?: Maybe<Upsell>;
1782
- inPackages?: Maybe<Array<Product>>;
1783
- hasUpsell?: Maybe<Scalars['Boolean']>;
1784
- /** All other products in the same family as the product. NB: Carries a
1785
- * performance cost, as asking for this will result in a separate API call in the backend.
1786
- */
1787
- familyMembers?: Maybe<Array<Product>>;
1788
- /** Get Product History within the set number of days */
1789
- history?: Maybe<ProductHistory>;
1559
+ variants?: Maybe<ProductVariants>;
1560
+ /** NB: Carries a performance cost, as asking for this will result in a separate API call in the backend. */
1561
+ warehouseStock?: Maybe<Array<Maybe<Warehouse>>>;
1790
1562
  };
1791
1563
 
1792
1564
  export type ProductCategoriesArgs = {
1793
1565
  includeHidden?: Maybe<Scalars['Boolean']>;
1794
1566
  };
1795
1567
 
1568
+ export type ProductConfigurationPriceArgs = {
1569
+ options?: Maybe<Array<ProductConfigurationPriceInput>>;
1570
+ };
1571
+
1796
1572
  export type ProductImagesArgs = {
1797
1573
  includeVariantImages?: Maybe<Scalars['Boolean']>;
1798
1574
  limit?: Maybe<Scalars['Int']>;
1799
1575
  };
1800
1576
 
1801
- export type ProductWarehouseStockArgs = {
1802
- includeInactive?: Maybe<Scalars['Boolean']>;
1803
- };
1804
-
1805
- export type ProductConfigurationPriceArgs = {
1806
- options?: Maybe<Array<ProductConfigurationPriceInput>>;
1807
- };
1808
-
1809
1577
  export type ProductPackageArgs = {
1810
1578
  articleNumbers?: Maybe<Array<Maybe<PackagePriceInput>>>;
1811
1579
  };
1812
1580
 
1813
- export type ProductHistoryArgs = {
1814
- days?: Maybe<Scalars['Int']>;
1815
- };
1816
-
1817
1581
  export type ProductAutoCompleteResult = {
1818
1582
  __typename?: 'ProductAutoCompleteResult';
1819
1583
  result: Array<Maybe<Product>>;
@@ -1821,11 +1585,11 @@ export type ProductAutoCompleteResult = {
1821
1585
 
1822
1586
  export type ProductBadge = {
1823
1587
  __typename?: 'ProductBadge';
1824
- name?: Maybe<Scalars['String']>;
1825
- url?: Maybe<Scalars['Uri']>;
1826
1588
  location?: Maybe<ProductBadgeLocation>;
1589
+ name?: Maybe<Scalars['String']>;
1827
1590
  style?: Maybe<Scalars['String']>;
1828
1591
  text?: Maybe<Scalars['String']>;
1592
+ url?: Maybe<Scalars['Uri']>;
1829
1593
  };
1830
1594
 
1831
1595
  export enum ProductBadgeLocation {
@@ -1867,8 +1631,8 @@ export type ProductConfigurationOption = {
1867
1631
 
1868
1632
  export type ProductConfigurationPrice = {
1869
1633
  __typename?: 'ProductConfigurationPrice';
1870
- price?: Maybe<Price>;
1871
1634
  previousPrice?: Maybe<Price>;
1635
+ price?: Maybe<Price>;
1872
1636
  };
1873
1637
 
1874
1638
  /** Describes how the price is calculated on a configuration option.
@@ -1879,9 +1643,9 @@ export type ProductConfigurationPrice = {
1879
1643
  */
1880
1644
  export type ProductConfigurationPriceCalculation = {
1881
1645
  __typename?: 'ProductConfigurationPriceCalculation';
1646
+ formula?: Maybe<Scalars['String']>;
1882
1647
  id: Scalars['ID'];
1883
1648
  name?: Maybe<Scalars['String']>;
1884
- formula?: Maybe<Scalars['String']>;
1885
1649
  variables?: Maybe<Array<Maybe<ProductConfigurationPriceCalculationVariable>>>;
1886
1650
  };
1887
1651
 
@@ -1903,27 +1667,22 @@ export enum ProductCustomFieldType {
1903
1667
  MultiLevelList = 'MULTI_LEVEL_LIST'
1904
1668
  }
1905
1669
 
1906
- export type ProductHistory = {
1907
- __typename?: 'ProductHistory';
1908
- previousPrice?: Maybe<Array<Maybe<PriceHistory>>>;
1909
- };
1910
-
1911
1670
  export type ProductImage = {
1912
1671
  __typename?: 'ProductImage';
1913
1672
  /** Alternate text for the image, commonly used for the alt attribute of img-tags. */
1914
1673
  alt?: Maybe<Scalars['String']>;
1674
+ modifiedDate?: Maybe<Scalars['String']>;
1675
+ sizes: Array<Maybe<ProductImageSize>>;
1915
1676
  /** Extra information, commonly used for the title attribute of img-tag. Should be shown on hover. */
1916
1677
  title?: Maybe<Scalars['String']>;
1917
- sizes: Array<Maybe<ProductImageSize>>;
1918
1678
  url?: Maybe<Scalars['Uri']>;
1919
- modifiedDate?: Maybe<Scalars['String']>;
1920
1679
  };
1921
1680
 
1922
1681
  export type ProductImageSize = {
1923
1682
  __typename?: 'ProductImageSize';
1924
- width?: Maybe<Scalars['Int']>;
1925
1683
  height?: Maybe<Scalars['Int']>;
1926
1684
  url?: Maybe<Scalars['Uri']>;
1685
+ width?: Maybe<Scalars['Int']>;
1927
1686
  };
1928
1687
 
1929
1688
  export enum ProductOrderOptions {
@@ -1942,78 +1701,46 @@ export type ProductPreOrder = {
1942
1701
  toDate?: Maybe<Scalars['DateTime']>;
1943
1702
  };
1944
1703
 
1945
- export type ProductPriceDateSpan = {
1946
- __typename?: 'ProductPriceDateSpan';
1947
- startDate?: Maybe<Scalars['DateTime']>;
1948
- endDate?: Maybe<Scalars['DateTime']>;
1949
- };
1950
-
1951
1704
  export type ProductSearchResult = {
1952
1705
  __typename?: 'ProductSearchResult';
1953
- result: Array<Maybe<Product>>;
1954
1706
  filters?: Maybe<Array<Maybe<Filter>>>;
1707
+ result: Array<Maybe<Product>>;
1955
1708
  totalResults?: Maybe<Scalars['Int']>;
1956
1709
  };
1957
1710
 
1958
1711
  export type ProductSortOrder = {
1959
1712
  __typename?: 'ProductSortOrder';
1713
+ defaultDirection: SortDirection;
1714
+ isDefault: Scalars['Boolean'];
1960
1715
  text: Scalars['String'];
1961
1716
  value: ProductOrderOptions;
1962
- isDefault: Scalars['Boolean'];
1963
- defaultDirection: SortDirection;
1964
1717
  };
1965
1718
 
1966
1719
  export type ProductVariant = {
1967
1720
  __typename?: 'ProductVariant';
1968
- id: Scalars['String'];
1969
1721
  articleNumber: Scalars['String'];
1970
- /** Variant values (combination of option values) */
1971
- values: Array<Maybe<Scalars['String']>>;
1972
- /** The current price.
1973
- * - Will be a Customer specific price if that Customer has a separate price list.
1974
- * - Will be the member price if Customer is logged in and `Product.hasMemberPrice` is true.
1975
- * - Will be the non-member price if Customer is not logged in and `Product.hasMemberPrice` is true.
1976
- */
1977
- price?: Maybe<Price>;
1722
+ barcode?: Maybe<Scalars['String']>;
1723
+ /** Default previous price for the product in the channel, disregards Customer specific prices. */
1724
+ defaultPreviousPrice?: Maybe<Price>;
1725
+ /** Default price for the product in the channel, disregards Customer specific prices. */
1726
+ defaultPrice?: Maybe<Price>;
1727
+ id: Scalars['String'];
1728
+ images?: Maybe<Array<Maybe<ProductImage>>>;
1978
1729
  /** The previous price (i.e. this will be higher than `price` if the product is
1979
1730
  * discounted). Will be a Customer specific previous price, if that Customer has
1980
1731
  * a separate price list.
1981
1732
  */
1982
1733
  previousPrice?: Maybe<Price>;
1983
- /** Default price for the product in the channel, disregards Customer specific prices. */
1984
- defaultPrice?: Maybe<Price>;
1985
- /** Default previous price for the product in the channel, disregards Customer specific prices. */
1986
- defaultPreviousPrice?: Maybe<Price>;
1734
+ /** The current price. Will be a Customer specific price, if that Customer has a separate price list. */
1735
+ price?: Maybe<Price>;
1987
1736
  /** Not in use. Always null. */
1988
1737
  recommendedPrice?: Maybe<Price>;
1989
- /** The time interval of the discounted price. */
1990
- priceDateSpan?: Maybe<ProductPriceDateSpan>;
1991
- /** The price a Customer would get if member prices are active and the Customer is logged in.
1992
- * - Will be null if `Product.hasMemberPrice` is false.
1993
- * - Will be set if `Product.hasMemberPrice` is true.
1994
- */
1995
- memberPrice?: Maybe<Price>;
1996
1738
  /** NB: Carries a performance cost, as asking for this will result in a separate API call in the backend. */
1997
1739
  stockStatus?: Maybe<StockStatus>;
1740
+ /** Variant values (combination of option values) */
1741
+ values: Array<Maybe<Scalars['String']>>;
1998
1742
  /** NB: Carries a performance cost, as asking for this will result in a separate API call in the backend. */
1999
1743
  warehouseStock?: Maybe<Array<Maybe<Warehouse>>>;
2000
- images?: Maybe<Array<Maybe<ProductImage>>>;
2001
- barcode?: Maybe<Scalars['String']>;
2002
- /** Get Product History within the set number of days */
2003
- history?: Maybe<ProductVariantHistory>;
2004
- };
2005
-
2006
- export type ProductVariantWarehouseStockArgs = {
2007
- includeInactive?: Maybe<Scalars['Boolean']>;
2008
- };
2009
-
2010
- export type ProductVariantHistoryArgs = {
2011
- days?: Maybe<Scalars['Int']>;
2012
- };
2013
-
2014
- export type ProductVariantHistory = {
2015
- __typename?: 'ProductVariantHistory';
2016
- previousPrice?: Maybe<Array<Maybe<PriceHistory>>>;
2017
1744
  };
2018
1745
 
2019
1746
  export type ProductVariantOption = {
@@ -2032,136 +1759,119 @@ export type ProductVariants = {
2032
1759
 
2033
1760
  export type Query = {
2034
1761
  __typename?: 'Query';
2035
- store?: Maybe<Store>;
2036
- stores: Array<Maybe<Store>>;
2037
- startPage?: Maybe<StartPage>;
2038
- searchAutoComplete?: Maybe<SearchAutoCompleteResult>;
2039
- search?: Maybe<SearchResult>;
2040
- /** get product, category or page by path. */
2041
- route?: Maybe<Route>;
2042
- product?: Maybe<Product>;
2043
- products: Array<Maybe<Product>>;
2044
- /** Fetch a single page by ID. */
2045
- page?: Maybe<Page>;
2046
- /** Fetch all non-hidden pages. If you are using nested pages, only root level pages will be returned. */
2047
- pages: Array<Maybe<Page>>;
2048
- /** fetch order by id */
2049
- order?: Maybe<Order>;
2050
- /** Fetches my pages content */
2051
- myPagesContent?: Maybe<MyPagesContent>;
1762
+ cart?: Maybe<Cart>;
1763
+ /** get categories by channel id, culture, root and culture */
1764
+ categories: Array<Maybe<Category>>;
1765
+ /** get category by id */
1766
+ category?: Maybe<Category>;
1767
+ /** get channel by id, null gets default channel */
1768
+ channel?: Maybe<Channel>;
1769
+ /** get all channels */
1770
+ channels: Array<Maybe<Channel>>;
1771
+ customer?: Maybe<Customer>;
1772
+ /** Fetches customer-unique offers */
1773
+ customerLoyalty?: Maybe<CustomerLoyalty>;
2052
1774
  /** get customer product list by id, null gets default product list */
2053
1775
  customerProductList?: Maybe<CustomerProductList>;
2054
1776
  customerProductLists: Array<Maybe<CustomerProductList>>;
2055
- /** Fetches customer-unique offers */
2056
- customerLoyalty?: Maybe<CustomerLoyalty>;
2057
- /** Lookup a customer by a mobile phone number */
2058
- customerLookup?: Maybe<Customer>;
2059
- customer?: Maybe<Customer>;
2060
1777
  /** Used in the sign up process when the shop has a third party customer repository, e.g. Voyado.
2061
1778
  *
2062
1779
  * Error codes: INVALID_VALUE (if `key` is null), ExternalCustomerLookupFailed
2063
1780
  */
2064
1781
  externalCustomerLookup?: Maybe<ExternalCustomerResult>;
1782
+ /** Fetches my pages content */
1783
+ myPagesContent?: Maybe<MyPagesContent>;
1784
+ /** fetch order by id */
1785
+ order?: Maybe<Order>;
1786
+ page?: Maybe<Page>;
1787
+ pages: Array<Maybe<Page>>;
2065
1788
  /** Get information on person by Key(personal id number or phone number) */
2066
1789
  personLookup?: Maybe<PersonLookup>;
2067
- /** Returns content found, either by a list of content Ids, or filtered by tags.
2068
- * In the case of filtering by ids, not found content Ids are listed as well.
2069
- */
2070
- content?: Maybe<MultipleContent>;
2071
- /** get channel by id, null gets default channel */
2072
- channel?: Maybe<Channel>;
2073
- /** get all channels */
2074
- channels: Array<Maybe<Channel>>;
2075
- /** get categories by channel id, culture, root and culture */
2076
- categories: Array<Maybe<Category>>;
2077
- /** get category by id */
2078
- category?: Maybe<Category>;
2079
- cart?: Maybe<Cart>;
1790
+ product?: Maybe<Product>;
1791
+ products: Array<Maybe<Product>>;
1792
+ /** get product, category or page by path. */
1793
+ route?: Maybe<Route>;
1794
+ search?: Maybe<SearchResult>;
1795
+ searchAutoComplete?: Maybe<SearchAutoCompleteResult>;
1796
+ startPage?: Maybe<StartPage>;
1797
+ store?: Maybe<Store>;
1798
+ stores: Array<Maybe<Store>>;
2080
1799
  };
2081
1800
 
2082
- export type QueryStoreArgs = {
2083
- id: Scalars['Int'];
1801
+ export type QueryCartArgs = {
1802
+ id?: Maybe<Scalars['String']>;
2084
1803
  };
2085
1804
 
2086
- export type QueryStoresArgs = {
2087
- includeInactive?: Scalars['Boolean'];
1805
+ export type QueryCategoriesArgs = {
1806
+ root?: Maybe<Scalars['Int']>;
1807
+ levels?: Maybe<Scalars['Int']>;
1808
+ includeHidden?: Maybe<Scalars['Boolean']>;
2088
1809
  };
2089
1810
 
2090
- export type QueryStartPageArgs = {
2091
- id?: Maybe<Scalars['Int']>;
1811
+ export type QueryCategoryArgs = {
1812
+ id: Scalars['Int'];
2092
1813
  };
2093
1814
 
2094
- export type QuerySearchAutoCompleteArgs = {
2095
- term: Scalars['String'];
1815
+ export type QueryChannelArgs = {
1816
+ id?: Maybe<Scalars['String']>;
2096
1817
  };
2097
1818
 
2098
- export type QuerySearchArgs = {
2099
- term: Scalars['String'];
1819
+ export type QueryCustomerProductListArgs = {
1820
+ id?: Maybe<Scalars['ID']>;
1821
+ shareToken?: Maybe<Scalars['String']>;
2100
1822
  };
2101
1823
 
2102
- export type QueryRouteArgs = {
2103
- path: Scalars['String'];
1824
+ export type QueryExternalCustomerLookupArgs = {
1825
+ key?: Maybe<Scalars['String']>;
2104
1826
  };
2105
1827
 
2106
- export type QueryProductArgs = {
2107
- articleNumber?: Maybe<Scalars['String']>;
1828
+ export type QueryOrderArgs = {
2108
1829
  id?: Maybe<Scalars['Int']>;
2109
- barcode?: Maybe<Scalars['String']>;
2110
- };
2111
-
2112
- export type QueryProductsArgs = {
2113
- articleNumbers?: Maybe<Array<Maybe<Scalars['String']>>>;
2114
- ids?: Maybe<Array<Maybe<Scalars['Int']>>>;
2115
- barcodes?: Maybe<Array<Maybe<Scalars['String']>>>;
1830
+ orderId?: Maybe<Scalars['ID']>;
2116
1831
  };
2117
1832
 
2118
1833
  export type QueryPageArgs = {
2119
1834
  id: Scalars['Int'];
2120
1835
  };
2121
1836
 
2122
- export type QueryOrderArgs = {
2123
- id?: Maybe<Scalars['Int']>;
2124
- orderId?: Maybe<Scalars['ID']>;
2125
- };
2126
-
2127
- export type QueryCustomerProductListArgs = {
2128
- id?: Maybe<Scalars['ID']>;
2129
- shareToken?: Maybe<Scalars['String']>;
1837
+ export type QueryPersonLookupArgs = {
1838
+ key: Scalars['String'];
2130
1839
  };
2131
1840
 
2132
- export type QueryCustomerLookupArgs = {
2133
- phoneNumber?: Maybe<Scalars['String']>;
1841
+ export type QueryProductArgs = {
1842
+ articleNumber?: Maybe<Scalars['String']>;
1843
+ id?: Maybe<Scalars['Int']>;
1844
+ barcode?: Maybe<Scalars['String']>;
2134
1845
  };
2135
1846
 
2136
- export type QueryExternalCustomerLookupArgs = {
2137
- key?: Maybe<Scalars['String']>;
1847
+ export type QueryProductsArgs = {
1848
+ articleNumbers?: Maybe<Array<Maybe<Scalars['String']>>>;
1849
+ ids?: Maybe<Array<Maybe<Scalars['Int']>>>;
1850
+ barcodes?: Maybe<Array<Maybe<Scalars['String']>>>;
2138
1851
  };
2139
1852
 
2140
- export type QueryPersonLookupArgs = {
2141
- key: Scalars['String'];
1853
+ export type QueryRouteArgs = {
1854
+ path: Scalars['String'];
2142
1855
  };
2143
1856
 
2144
- export type QueryContentArgs = {
2145
- ids?: Maybe<Array<Maybe<Scalars['String']>>>;
2146
- tags?: Maybe<Array<Maybe<Scalars['String']>>>;
1857
+ export type QuerySearchArgs = {
1858
+ term: Scalars['String'];
2147
1859
  };
2148
1860
 
2149
- export type QueryChannelArgs = {
2150
- id?: Maybe<Scalars['String']>;
1861
+ export type QuerySearchAutoCompleteArgs = {
1862
+ term: Scalars['String'];
2151
1863
  };
2152
1864
 
2153
- export type QueryCategoriesArgs = {
2154
- root?: Maybe<Scalars['Int']>;
2155
- levels?: Maybe<Scalars['Int']>;
2156
- includeHidden?: Maybe<Scalars['Boolean']>;
1865
+ export type QueryStartPageArgs = {
1866
+ id?: Maybe<Scalars['Int']>;
2157
1867
  };
2158
1868
 
2159
- export type QueryCategoryArgs = {
2160
- id: Scalars['ID'];
1869
+ export type QueryStoreArgs = {
1870
+ id: Scalars['Int'];
2161
1871
  };
2162
1872
 
2163
- export type QueryCartArgs = {
2164
- id?: Maybe<Scalars['String']>;
1873
+ export type QueryStoresArgs = {
1874
+ includeInactive?: Scalars['Boolean'];
2165
1875
  };
2166
1876
 
2167
1877
  export type RangeFilterInput = {
@@ -2174,21 +1884,21 @@ export type RecommendedProducts = {
2174
1884
  __typename?: 'RecommendedProducts';
2175
1885
  /** Customers who bought this product also bought these products. */
2176
1886
  bought?: Maybe<Array<Maybe<Product>>>;
2177
- /** Customers who viewed this product also viewed these products. */
2178
- viewed?: Maybe<Array<Maybe<Product>>>;
2179
1887
  /** A shuffled top list of popular products. */
2180
1888
  shuffledToplist?: Maybe<Array<Maybe<Product>>>;
1889
+ /** Customers who viewed this product also viewed these products. */
1890
+ viewed?: Maybe<Array<Maybe<Product>>>;
2181
1891
  };
2182
1892
 
2183
1893
  export type RecommendedProductsBoughtArgs = {
2184
1894
  count?: Maybe<Scalars['Int']>;
2185
1895
  };
2186
1896
 
2187
- export type RecommendedProductsViewedArgs = {
1897
+ export type RecommendedProductsShuffledToplistArgs = {
2188
1898
  count?: Maybe<Scalars['Int']>;
2189
1899
  };
2190
1900
 
2191
- export type RecommendedProductsShuffledToplistArgs = {
1901
+ export type RecommendedProductsViewedArgs = {
2192
1902
  count?: Maybe<Scalars['Int']>;
2193
1903
  };
2194
1904
 
@@ -2215,10 +1925,12 @@ export type ResetPassword = {
2215
1925
  /** Represents a route to either a Category, a Product, a Page or the StartPage. */
2216
1926
  export type Route = {
2217
1927
  __typename?: 'Route';
2218
- id: Scalars['String'];
2219
- path: Scalars['String'];
1928
+ /** Alternative routes for this object, if it exists in another channel and/or in
1929
+ * another language.NB: Carries no additional performance cost.
1930
+ */
1931
+ alternateRoutes?: Maybe<Array<Maybe<AlternateRoute>>>;
2220
1932
  canonicalPath?: Maybe<Scalars['String']>;
2221
- slug: Scalars['String'];
1933
+ id: Scalars['String'];
2222
1934
  /** The Category, Product, Page or StartPage that the Route resolves to. NB:
2223
1935
  * Carries a performance cost, as asking for this will result in a separate API
2224
1936
  * call in the backend.
@@ -2230,22 +1942,16 @@ export type Route = {
2230
1942
  * categories a shop has, the more expensive this gets), route query in the backend.
2231
1943
  */
2232
1944
  parents?: Maybe<Array<Maybe<Route>>>;
2233
- /** Alternative routes for this object, if it exists in another channel and/or in
2234
- * another language.NB: Carries no additional performance cost.
2235
- */
2236
- alternateRoutes?: Maybe<Array<Maybe<AlternateRoute>>>;
2237
- /** N.B. for troubleshooting routes only! */
2238
- debug?: Maybe<Scalars['String']>;
2239
- /** Breadcrumb texts; starting with the root parent, ending on this route. */
2240
- breadcrumbs?: Maybe<Array<Maybe<Scalars['String']>>>;
1945
+ path: Scalars['String'];
1946
+ slug: Scalars['String'];
2241
1947
  };
2242
1948
 
2243
1949
  export type SearchAutoCompleteResult = {
2244
1950
  __typename?: 'SearchAutoCompleteResult';
2245
1951
  /** NB: Carries a performance cost, as asking for this will result in a separate API call in the backend. */
2246
- products?: Maybe<ProductAutoCompleteResult>;
2247
- /** NB: Carries a performance cost, as asking for this will result in a separate API call in the backend. */
2248
1952
  categories?: Maybe<CategoryAutoCompleteResult>;
1953
+ /** NB: Carries a performance cost, as asking for this will result in a separate API call in the backend. */
1954
+ products?: Maybe<ProductAutoCompleteResult>;
2249
1955
  };
2250
1956
 
2251
1957
  export type SearchAutoCompleteResultCategoriesArgs = {
@@ -2254,18 +1960,18 @@ export type SearchAutoCompleteResultCategoriesArgs = {
2254
1960
 
2255
1961
  export type SearchResult = {
2256
1962
  __typename?: 'SearchResult';
2257
- products?: Maybe<ProductSearchResult>;
2258
1963
  /** NB: Carries a performance cost, as asking for this will result in a separate API call in the backend. */
2259
1964
  categories?: Maybe<CategorySearchResult>;
1965
+ products?: Maybe<ProductSearchResult>;
2260
1966
  };
2261
1967
 
2262
- export type SearchResultProductsArgs = {
1968
+ export type SearchResultCategoriesArgs = {
2263
1969
  paging?: Maybe<PagingInput>;
2264
- filters?: Maybe<FilterInput>;
2265
1970
  };
2266
1971
 
2267
- export type SearchResultCategoriesArgs = {
1972
+ export type SearchResultProductsArgs = {
2268
1973
  paging?: Maybe<PagingInput>;
1974
+ filters?: Maybe<FilterInput>;
2269
1975
  };
2270
1976
 
2271
1977
  export type SelectedProductConfiguration = {
@@ -2336,11 +2042,6 @@ export type SignUpDeliveryAddressInput = {
2336
2042
  addressName?: Maybe<Scalars['String']>;
2337
2043
  };
2338
2044
 
2339
- export type SignUpExternalAttribute = {
2340
- name: Scalars['String'];
2341
- value: Scalars['String'];
2342
- };
2343
-
2344
2045
  export type SignUpInput = {
2345
2046
  type: CustomerType;
2346
2047
  pid?: Maybe<Scalars['String']>;
@@ -2353,9 +2054,7 @@ export type SignUpInput = {
2353
2054
  deliveryAddresses?: Maybe<Array<Maybe<SignUpDeliveryAddressInput>>>;
2354
2055
  preferences?: Maybe<SignUpPreferencesInput>;
2355
2056
  consents?: Maybe<Array<Maybe<SignUpConsentInput>>>;
2356
- externalAttributes?: Maybe<Array<Maybe<SignUpExternalAttribute>>>;
2357
2057
  dynamicContent?: Maybe<Scalars['String']>;
2358
- priceListAccessCode?: Maybe<Scalars['String']>;
2359
2058
  };
2360
2059
 
2361
2060
  export type SignUpPreferencesCommunicationInput = {
@@ -2392,65 +2091,54 @@ export enum SortDirection {
2392
2091
 
2393
2092
  export type StartPage = Document & {
2394
2093
  __typename?: 'StartPage';
2094
+ breadcrumbText?: Maybe<Scalars['String']>;
2095
+ content?: Maybe<Scalars['String']>;
2096
+ /** N.B. not yet in use */
2097
+ data?: Maybe<Content>;
2098
+ /** NB: Carries a performance cost, as asking for this will result in a separate API call in the backend. */
2099
+ head?: Maybe<HtmlHead>;
2395
2100
  id: Scalars['Int'];
2396
- name: Scalars['String'];
2397
2101
  images?: Maybe<Array<Maybe<Image>>>;
2398
2102
  isActive?: Maybe<Scalars['Boolean']>;
2399
- content?: Maybe<Scalars['String']>;
2400
2103
  items?: Maybe<Array<Maybe<StartPageItem>>>;
2401
- /** NB: Carries a performance cost, as asking for this will result in a separate API call in the backend. */
2402
- head?: Maybe<HtmlHead>;
2104
+ name: Scalars['String'];
2403
2105
  /** The primary route of this StartPage */
2404
2106
  primaryRoute?: Maybe<Route>;
2405
- breadcrumbText?: Maybe<Scalars['String']>;
2406
- /** Get content data set via the Content Editor. NB: Carries a performance cost,
2407
- * as asking for this will result in a separate API call in the backend.
2408
- */
2409
- data?: Maybe<Content>;
2410
2107
  };
2411
2108
 
2412
2109
  export type StartPageItem = {
2413
2110
  __typename?: 'StartPageItem';
2414
- id: Scalars['Int'];
2415
- row?: Maybe<Scalars['Int']>;
2416
2111
  column?: Maybe<Scalars['Int']>;
2112
+ id: Scalars['Int'];
2417
2113
  item: StartPageItemObject;
2114
+ row?: Maybe<Scalars['Int']>;
2418
2115
  };
2419
2116
 
2420
2117
  export type StartPageItemObject = Product | CustomItem;
2421
2118
 
2422
2119
  export type StockStatus = {
2423
2120
  __typename?: 'StockStatus';
2424
- /** Globally unique id. */
2425
- id: Scalars['ID'];
2426
- /** The stock status id, not globally unique. */
2427
- stockStatusId: Scalars['ID'];
2428
- text?: Maybe<Scalars['String']>;
2429
2121
  buyable: Scalars['Boolean'];
2430
- stockNotificationEnabled?: Maybe<Scalars['Boolean']>;
2431
- stockDate?: Maybe<Scalars['DateTime']>;
2122
+ id: Scalars['ID'];
2432
2123
  maxOrderQuantity?: Maybe<Scalars['Int']>;
2124
+ stockDate?: Maybe<Scalars['DateTime']>;
2125
+ stockNotificationEnabled?: Maybe<Scalars['Boolean']>;
2126
+ text?: Maybe<Scalars['String']>;
2433
2127
  };
2434
2128
 
2435
2129
  export type Store = {
2436
2130
  __typename?: 'Store';
2437
- id: Scalars['Int'];
2438
- externalId?: Maybe<Scalars['String']>;
2439
- name?: Maybe<Scalars['String']>;
2440
- city?: Maybe<Scalars['String']>;
2441
- region?: Maybe<Scalars['String']>;
2442
2131
  address1?: Maybe<Scalars['String']>;
2443
2132
  address2?: Maybe<Scalars['String']>;
2444
- description?: Maybe<Scalars['String']>;
2445
- other?: Maybe<Scalars['String']>;
2446
- openHours?: Maybe<Scalars['String']>;
2133
+ city?: Maybe<Scalars['String']>;
2447
2134
  contact?: Maybe<Scalars['String']>;
2448
2135
  coordinates?: Maybe<Coordinates>;
2449
- };
2450
-
2451
- export type StringValue = {
2452
- __typename?: 'StringValue';
2453
- value?: Maybe<Scalars['String']>;
2136
+ description?: Maybe<Scalars['String']>;
2137
+ id: Scalars['Int'];
2138
+ name?: Maybe<Scalars['String']>;
2139
+ openHours?: Maybe<Scalars['String']>;
2140
+ other?: Maybe<Scalars['String']>;
2141
+ region?: Maybe<Scalars['String']>;
2454
2142
  };
2455
2143
 
2456
2144
  /** Authorization token that is used for customer actions such as login, delete or update
@@ -2467,15 +2155,7 @@ export type Token = {
2467
2155
  export type Tracking = {
2468
2156
  __typename?: 'Tracking';
2469
2157
  ga?: Maybe<GoogleAnalytics>;
2470
- ga4?: Maybe<GoogleAnalytics4>;
2471
2158
  gtm?: Maybe<GoogleTagManager>;
2472
- fca?: Maybe<FacebookConversionsApi>;
2473
- trackingConsents?: Maybe<TrackingConsents>;
2474
- };
2475
-
2476
- export type TrackingConsents = {
2477
- __typename?: 'TrackingConsents';
2478
- useTrackingConsentApi?: Maybe<Scalars['Boolean']>;
2479
2159
  };
2480
2160
 
2481
2161
  export type UpdateCartInput = {
@@ -2495,16 +2175,6 @@ export type UpdateCartMutation = {
2495
2175
  cart?: Maybe<Cart>;
2496
2176
  };
2497
2177
 
2498
- export type UpdateCustomerGroupResult = {
2499
- __typename?: 'UpdateCustomerGroupResult';
2500
- success: Scalars['Boolean'];
2501
- };
2502
-
2503
- export type UpdateCustomerPriceListResult = {
2504
- __typename?: 'UpdateCustomerPriceListResult';
2505
- success: Scalars['Boolean'];
2506
- };
2507
-
2508
2178
  export type UpdateCustomerProductListInput = {
2509
2179
  id: Scalars['ID'];
2510
2180
  typeId: Scalars['ID'];
@@ -2541,20 +2211,21 @@ export type UpsellDiscountPercentage = {
2541
2211
 
2542
2212
  export type UpsellDiscountValue = {
2543
2213
  __typename?: 'UpsellDiscountValue';
2544
- valueIncVat: Scalars['Decimal'];
2545
2214
  valueExVat: Scalars['Decimal'];
2215
+ valueIncVat: Scalars['Decimal'];
2546
2216
  valueVat: Scalars['Decimal'];
2547
2217
  };
2548
2218
 
2549
2219
  export type UpsellItem = {
2550
2220
  __typename?: 'UpsellItem';
2551
- product?: Maybe<Product>;
2552
- minQuantity: Scalars['Int'];
2553
2221
  discount: UpsellDiscount;
2222
+ minQuantity: Scalars['Int'];
2223
+ product?: Maybe<Product>;
2554
2224
  };
2555
2225
 
2556
2226
  export type Warehouse = {
2557
2227
  __typename?: 'Warehouse';
2558
- stockLevel?: Maybe<Scalars['Int']>;
2228
+ /** NB: Carries a performance cost, as asking for this will result in a separate API call in the backend. */
2559
2229
  location?: Maybe<Store>;
2230
+ stockLevel?: Maybe<Scalars['Int']>;
2560
2231
  };