@jetshop/core 4.3.6 → 4.3.8-non-polyfill

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