@ikas/storefront 1.0.7 → 1.0.9
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/build/__generated__/global-types.d.ts +3 -0
- package/build/api/blog/__generated__/getBlog.d.ts +25 -0
- package/build/api/blog/__generated__/listBlog.d.ts +25 -0
- package/build/api/blog/__generated__/listBlogCategory.d.ts +25 -0
- package/build/api/blog/__generated__/listBlogMetaData.d.ts +27 -1
- package/build/api/blog/index.d.ts +1 -1
- package/build/api/brand/__generated__/listProductBrand.d.ts +41 -0
- package/build/api/cart/__generated__/getCart.d.ts +92 -0
- package/build/api/cart/__generated__/saveItemToCart.d.ts +114 -1
- package/build/api/category/__generated__/listCategory.d.ts +47 -0
- package/build/api/category/__generated__/listCategoryPaths.d.ts +9 -0
- package/build/api/checkout/__generated__/getCheckoutById.d.ts +339 -1
- package/build/api/checkout/__generated__/getOrder.d.ts +406 -1
- package/build/api/city/__generated__/listCity.d.ts +6 -0
- package/build/api/country/__generated__/listCountry.d.ts +18 -0
- package/build/api/customer/__generated__/createOrderRefundRequest.d.ts +375 -0
- package/build/api/customer/__generated__/customerLogin.d.ts +85 -0
- package/build/api/customer/__generated__/getCustomerOrders.d.ts +406 -1
- package/build/api/customer/__generated__/getMyCustomer.d.ts +82 -0
- package/build/api/customer/__generated__/registerCustomer.d.ts +79 -0
- package/build/api/customer/__generated__/saveMyCustomer.d.ts +85 -0
- package/build/api/customer-review/__generated__/listCustomerReviews.d.ts +25 -0
- package/build/api/district/__generated__/listDistrict.d.ts +3 -0
- package/build/api/html-meta-data/__generated__/listHTMLMetaData.d.ts +11 -1
- package/build/api/html-meta-data/index.d.ts +1 -1
- package/build/api/product-attribute/__generated__/listProductAttribute.d.ts +33 -0
- package/build/api/product-search/__generated__/getProductFilterData.d.ts +9 -0
- package/build/api/state/__generated__/listState.d.ts +6 -0
- package/build/api/variant-type/__generated__/listVariantType.d.ts +37 -0
- package/build/index.es.js +463 -317
- package/build/index.js +463 -317
- package/build/models/ui/navigation-link/index.d.ts +1 -0
- package/build/providers/page-data-get.d.ts +4 -0
- package/build/providers/prop-value/link.d.ts +8 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ShippingMethodEnum, CheckoutRecoveryEmailStatusEnum, CheckoutRecoveryStatusEnum, CheckoutStatusEnum, AmountTypeEnum, OrderLineItemStatusEnum, CartStatusEnum, AdjustmentEnum } from "../../../__generated__/global-types";
|
|
1
|
+
import { ShippingMethodEnum, CheckoutRecoveryEmailStatusEnum, CheckoutRecoveryStatusEnum, CheckoutStatusEnum, AmountTypeEnum, OrderLineItemStatusEnum, ProductOptionTypeEnum, CartStatusEnum, AdjustmentEnum } from "../../../__generated__/global-types";
|
|
2
2
|
export interface getCheckoutById_getCheckoutById_availableShippingMethods {
|
|
3
3
|
__typename: "AvailableShippingMethod";
|
|
4
4
|
price: number;
|
|
@@ -9,47 +9,137 @@ export interface getCheckoutById_getCheckoutById_availableShippingMethods {
|
|
|
9
9
|
}
|
|
10
10
|
export interface getCheckoutById_getCheckoutById_billingAddress_city {
|
|
11
11
|
__typename: "OrderAddressCity";
|
|
12
|
+
/**
|
|
13
|
+
* It is the code of the city of the address.
|
|
14
|
+
*/
|
|
12
15
|
code: string | null;
|
|
16
|
+
/**
|
|
17
|
+
* It is the id of the city of the address.
|
|
18
|
+
*/
|
|
13
19
|
id: string | null;
|
|
20
|
+
/**
|
|
21
|
+
* It is the name of the city of the address.
|
|
22
|
+
*/
|
|
14
23
|
name: string;
|
|
15
24
|
}
|
|
16
25
|
export interface getCheckoutById_getCheckoutById_billingAddress_country {
|
|
17
26
|
__typename: "OrderAddressCountry";
|
|
27
|
+
/**
|
|
28
|
+
* It is the code of the country of the address.
|
|
29
|
+
*/
|
|
18
30
|
code: string | null;
|
|
31
|
+
/**
|
|
32
|
+
* It is the id of the country of the address.
|
|
33
|
+
*/
|
|
19
34
|
id: string | null;
|
|
35
|
+
/**
|
|
36
|
+
* It is the name of the country of the address.
|
|
37
|
+
*/
|
|
20
38
|
name: string;
|
|
39
|
+
/**
|
|
40
|
+
* It is the two-letter code of the country of the address.
|
|
41
|
+
*/
|
|
21
42
|
iso2: string | null;
|
|
43
|
+
/**
|
|
44
|
+
* It is the three-letter code of the country of the address.
|
|
45
|
+
*/
|
|
22
46
|
iso3: string | null;
|
|
23
47
|
}
|
|
24
48
|
export interface getCheckoutById_getCheckoutById_billingAddress_district {
|
|
25
49
|
__typename: "OrderAddressDistrict";
|
|
50
|
+
/**
|
|
51
|
+
* It is the code of the district of the address.
|
|
52
|
+
*/
|
|
26
53
|
code: string | null;
|
|
54
|
+
/**
|
|
55
|
+
* It is the id of the district of the address.
|
|
56
|
+
*/
|
|
27
57
|
id: string | null;
|
|
58
|
+
/**
|
|
59
|
+
* It is the name of the district of the address.
|
|
60
|
+
*/
|
|
28
61
|
name: string | null;
|
|
29
62
|
}
|
|
30
63
|
export interface getCheckoutById_getCheckoutById_billingAddress_state {
|
|
31
64
|
__typename: "OrderAddressState";
|
|
65
|
+
/**
|
|
66
|
+
* It is the code of the state of the address.
|
|
67
|
+
*/
|
|
32
68
|
code: string | null;
|
|
69
|
+
/**
|
|
70
|
+
* It is the id of the state of the address.
|
|
71
|
+
*/
|
|
33
72
|
id: string | null;
|
|
73
|
+
/**
|
|
74
|
+
* It is the name of the state of the address.
|
|
75
|
+
*/
|
|
34
76
|
name: string | null;
|
|
35
77
|
}
|
|
36
78
|
export interface getCheckoutById_getCheckoutById_billingAddress {
|
|
37
79
|
__typename: "OrderAddress";
|
|
80
|
+
/**
|
|
81
|
+
* The address"s id of the order address.
|
|
82
|
+
*/
|
|
38
83
|
id: string | null;
|
|
84
|
+
/**
|
|
85
|
+
* The street address of the address.
|
|
86
|
+
*/
|
|
39
87
|
addressLine1: string;
|
|
88
|
+
/**
|
|
89
|
+
* An optional additional field for the street address of the address.
|
|
90
|
+
*/
|
|
40
91
|
addressLine2: string | null;
|
|
92
|
+
/**
|
|
93
|
+
* The city information of the address.
|
|
94
|
+
*/
|
|
41
95
|
city: getCheckoutById_getCheckoutById_billingAddress_city;
|
|
96
|
+
/**
|
|
97
|
+
* The company of the person associated with the address.
|
|
98
|
+
*/
|
|
42
99
|
company: string | null;
|
|
100
|
+
/**
|
|
101
|
+
* The country information of the address.
|
|
102
|
+
*/
|
|
43
103
|
country: getCheckoutById_getCheckoutById_billingAddress_country;
|
|
104
|
+
/**
|
|
105
|
+
* The district information of the address.
|
|
106
|
+
*/
|
|
44
107
|
district: getCheckoutById_getCheckoutById_billingAddress_district | null;
|
|
108
|
+
/**
|
|
109
|
+
* The first name of the person associated with the address
|
|
110
|
+
*/
|
|
45
111
|
firstName: string;
|
|
112
|
+
/**
|
|
113
|
+
* The identity number of the person associated with the address.
|
|
114
|
+
*/
|
|
46
115
|
identityNumber: string | null;
|
|
116
|
+
/**
|
|
117
|
+
* The address"s id of the order address.
|
|
118
|
+
*/
|
|
47
119
|
isDefault: boolean;
|
|
120
|
+
/**
|
|
121
|
+
* The last name of the person associated with the address
|
|
122
|
+
*/
|
|
48
123
|
lastName: string;
|
|
124
|
+
/**
|
|
125
|
+
* The phone of the person associated with the address.
|
|
126
|
+
*/
|
|
49
127
|
phone: string | null;
|
|
128
|
+
/**
|
|
129
|
+
* The postal code of the address.
|
|
130
|
+
*/
|
|
50
131
|
postalCode: string | null;
|
|
132
|
+
/**
|
|
133
|
+
* The state information of the address.
|
|
134
|
+
*/
|
|
51
135
|
state: getCheckoutById_getCheckoutById_billingAddress_state | null;
|
|
136
|
+
/**
|
|
137
|
+
* The tax number of the person associated with the address.
|
|
138
|
+
*/
|
|
52
139
|
taxNumber: string | null;
|
|
140
|
+
/**
|
|
141
|
+
* The tax office of the person associated with the address.
|
|
142
|
+
*/
|
|
53
143
|
taxOffice: string | null;
|
|
54
144
|
}
|
|
55
145
|
export interface getCheckoutById_getCheckoutById_customer {
|
|
@@ -62,60 +152,171 @@ export interface getCheckoutById_getCheckoutById_customer {
|
|
|
62
152
|
}
|
|
63
153
|
export interface getCheckoutById_getCheckoutById_shippingAddress_city {
|
|
64
154
|
__typename: "OrderAddressCity";
|
|
155
|
+
/**
|
|
156
|
+
* It is the code of the city of the address.
|
|
157
|
+
*/
|
|
65
158
|
code: string | null;
|
|
159
|
+
/**
|
|
160
|
+
* It is the id of the city of the address.
|
|
161
|
+
*/
|
|
66
162
|
id: string | null;
|
|
163
|
+
/**
|
|
164
|
+
* It is the name of the city of the address.
|
|
165
|
+
*/
|
|
67
166
|
name: string;
|
|
68
167
|
}
|
|
69
168
|
export interface getCheckoutById_getCheckoutById_shippingAddress_country {
|
|
70
169
|
__typename: "OrderAddressCountry";
|
|
170
|
+
/**
|
|
171
|
+
* It is the id of the country of the address.
|
|
172
|
+
*/
|
|
71
173
|
id: string | null;
|
|
174
|
+
/**
|
|
175
|
+
* It is the code of the country of the address.
|
|
176
|
+
*/
|
|
72
177
|
code: string | null;
|
|
178
|
+
/**
|
|
179
|
+
* It is the name of the country of the address.
|
|
180
|
+
*/
|
|
73
181
|
name: string;
|
|
182
|
+
/**
|
|
183
|
+
* It is the two-letter code of the country of the address.
|
|
184
|
+
*/
|
|
74
185
|
iso2: string | null;
|
|
186
|
+
/**
|
|
187
|
+
* It is the three-letter code of the country of the address.
|
|
188
|
+
*/
|
|
75
189
|
iso3: string | null;
|
|
76
190
|
}
|
|
77
191
|
export interface getCheckoutById_getCheckoutById_shippingAddress_district {
|
|
78
192
|
__typename: "OrderAddressDistrict";
|
|
193
|
+
/**
|
|
194
|
+
* It is the name of the district of the address.
|
|
195
|
+
*/
|
|
79
196
|
name: string | null;
|
|
197
|
+
/**
|
|
198
|
+
* It is the id of the district of the address.
|
|
199
|
+
*/
|
|
80
200
|
id: string | null;
|
|
201
|
+
/**
|
|
202
|
+
* It is the code of the district of the address.
|
|
203
|
+
*/
|
|
81
204
|
code: string | null;
|
|
82
205
|
}
|
|
83
206
|
export interface getCheckoutById_getCheckoutById_shippingAddress_state {
|
|
84
207
|
__typename: "OrderAddressState";
|
|
208
|
+
/**
|
|
209
|
+
* It is the name of the state of the address.
|
|
210
|
+
*/
|
|
85
211
|
name: string | null;
|
|
212
|
+
/**
|
|
213
|
+
* It is the id of the state of the address.
|
|
214
|
+
*/
|
|
86
215
|
id: string | null;
|
|
216
|
+
/**
|
|
217
|
+
* It is the code of the state of the address.
|
|
218
|
+
*/
|
|
87
219
|
code: string | null;
|
|
88
220
|
}
|
|
89
221
|
export interface getCheckoutById_getCheckoutById_shippingAddress {
|
|
90
222
|
__typename: "OrderAddress";
|
|
223
|
+
/**
|
|
224
|
+
* The address"s id of the order address.
|
|
225
|
+
*/
|
|
91
226
|
id: string | null;
|
|
227
|
+
/**
|
|
228
|
+
* The street address of the address.
|
|
229
|
+
*/
|
|
92
230
|
addressLine1: string;
|
|
231
|
+
/**
|
|
232
|
+
* An optional additional field for the street address of the address.
|
|
233
|
+
*/
|
|
93
234
|
addressLine2: string | null;
|
|
235
|
+
/**
|
|
236
|
+
* The city information of the address.
|
|
237
|
+
*/
|
|
94
238
|
city: getCheckoutById_getCheckoutById_shippingAddress_city;
|
|
239
|
+
/**
|
|
240
|
+
* The company of the person associated with the address.
|
|
241
|
+
*/
|
|
95
242
|
company: string | null;
|
|
243
|
+
/**
|
|
244
|
+
* The country information of the address.
|
|
245
|
+
*/
|
|
96
246
|
country: getCheckoutById_getCheckoutById_shippingAddress_country;
|
|
247
|
+
/**
|
|
248
|
+
* The district information of the address.
|
|
249
|
+
*/
|
|
97
250
|
district: getCheckoutById_getCheckoutById_shippingAddress_district | null;
|
|
251
|
+
/**
|
|
252
|
+
* The first name of the person associated with the address
|
|
253
|
+
*/
|
|
98
254
|
firstName: string;
|
|
255
|
+
/**
|
|
256
|
+
* The identity number of the person associated with the address.
|
|
257
|
+
*/
|
|
99
258
|
identityNumber: string | null;
|
|
259
|
+
/**
|
|
260
|
+
* The address"s id of the order address.
|
|
261
|
+
*/
|
|
100
262
|
isDefault: boolean;
|
|
263
|
+
/**
|
|
264
|
+
* The last name of the person associated with the address
|
|
265
|
+
*/
|
|
101
266
|
lastName: string;
|
|
267
|
+
/**
|
|
268
|
+
* The phone of the person associated with the address.
|
|
269
|
+
*/
|
|
102
270
|
phone: string | null;
|
|
271
|
+
/**
|
|
272
|
+
* The postal code of the address.
|
|
273
|
+
*/
|
|
103
274
|
postalCode: string | null;
|
|
275
|
+
/**
|
|
276
|
+
* The state information of the address.
|
|
277
|
+
*/
|
|
104
278
|
state: getCheckoutById_getCheckoutById_shippingAddress_state | null;
|
|
279
|
+
/**
|
|
280
|
+
* The tax number of the person associated with the address.
|
|
281
|
+
*/
|
|
105
282
|
taxNumber: string | null;
|
|
283
|
+
/**
|
|
284
|
+
* The tax office of the person associated with the address.
|
|
285
|
+
*/
|
|
106
286
|
taxOffice: string | null;
|
|
107
287
|
}
|
|
108
288
|
export interface getCheckoutById_getCheckoutById_shippingLines {
|
|
109
289
|
__typename: "OrderShippingLine";
|
|
290
|
+
/**
|
|
291
|
+
* It is the title of the order shipping line.
|
|
292
|
+
*/
|
|
110
293
|
title: string;
|
|
294
|
+
/**
|
|
295
|
+
* It is the tax value of the order shipping line price.
|
|
296
|
+
*/
|
|
111
297
|
taxValue: number | null;
|
|
298
|
+
/**
|
|
299
|
+
* It is the price of the order shipping line.
|
|
300
|
+
*/
|
|
112
301
|
price: number;
|
|
302
|
+
/**
|
|
303
|
+
* It is the shipping settings id of the order shipping line.
|
|
304
|
+
*/
|
|
113
305
|
shippingSettingsId: string | null;
|
|
306
|
+
/**
|
|
307
|
+
* It is the shipping zone rate id of the order shipping line.
|
|
308
|
+
*/
|
|
114
309
|
shippingZoneRateId: string | null;
|
|
115
310
|
}
|
|
116
311
|
export interface getCheckoutById_getCheckoutById_cart_taxLines {
|
|
117
312
|
__typename: "OrderTaxLine";
|
|
313
|
+
/**
|
|
314
|
+
* It is the price of the order tax.
|
|
315
|
+
*/
|
|
118
316
|
price: number;
|
|
317
|
+
/**
|
|
318
|
+
* It is the percentage of the slice to which the calculated tax amount belongs.
|
|
319
|
+
*/
|
|
119
320
|
rate: number;
|
|
120
321
|
}
|
|
121
322
|
export interface getCheckoutById_getCheckoutById_cart_items_discount {
|
|
@@ -126,41 +327,148 @@ export interface getCheckoutById_getCheckoutById_cart_items_discount {
|
|
|
126
327
|
}
|
|
127
328
|
export interface getCheckoutById_getCheckoutById_cart_items_variant_variantValues {
|
|
128
329
|
__typename: "OrderLineVariantVariantValues";
|
|
330
|
+
/**
|
|
331
|
+
* It is the order of variant value. The variant value order starts from 0.
|
|
332
|
+
*/
|
|
129
333
|
order: number;
|
|
334
|
+
/**
|
|
335
|
+
* It is the order of variant value. The variant value order starts from 0.
|
|
336
|
+
*/
|
|
130
337
|
variantTypeId: string;
|
|
338
|
+
/**
|
|
339
|
+
* It is the order of variant value. The variant value order starts from 0.
|
|
340
|
+
*/
|
|
131
341
|
variantTypeName: string | null;
|
|
342
|
+
/**
|
|
343
|
+
* It is the order of variant value. The variant value order starts from 0.
|
|
344
|
+
*/
|
|
132
345
|
variantValueId: string;
|
|
346
|
+
/**
|
|
347
|
+
* It is the order of variant value. The variant value order starts from 0.
|
|
348
|
+
*/
|
|
133
349
|
variantValueName: string | null;
|
|
134
350
|
}
|
|
135
351
|
export interface getCheckoutById_getCheckoutById_cart_items_variant {
|
|
136
352
|
__typename: "OrderLineVariant";
|
|
353
|
+
/**
|
|
354
|
+
* It is the barcode list of the variant.
|
|
355
|
+
*/
|
|
137
356
|
barcodeList: string[] | null;
|
|
357
|
+
/**
|
|
358
|
+
* It is the id of the variant.
|
|
359
|
+
*/
|
|
138
360
|
id: string | null;
|
|
361
|
+
/**
|
|
362
|
+
* It is the main image id of the variant.
|
|
363
|
+
*/
|
|
139
364
|
mainImageId: string | null;
|
|
365
|
+
/**
|
|
366
|
+
* It is the name of the variant.
|
|
367
|
+
*/
|
|
140
368
|
name: string;
|
|
369
|
+
/**
|
|
370
|
+
* It is the product id of the variant.
|
|
371
|
+
*/
|
|
141
372
|
productId: string | null;
|
|
373
|
+
/**
|
|
374
|
+
* It is the sku of the variant.
|
|
375
|
+
*/
|
|
142
376
|
sku: string | null;
|
|
377
|
+
/**
|
|
378
|
+
* It is the slug of the variant. The slug value is unique each variant and product.
|
|
379
|
+
*/
|
|
143
380
|
slug: string | null;
|
|
381
|
+
/**
|
|
382
|
+
* It is the variant values of the variant.
|
|
383
|
+
*/
|
|
144
384
|
variantValues: getCheckoutById_getCheckoutById_cart_items_variant_variantValues[] | null;
|
|
145
385
|
}
|
|
386
|
+
export interface getCheckoutById_getCheckoutById_cart_items_options_values {
|
|
387
|
+
__typename: "OrderLineOptionValue";
|
|
388
|
+
name: string | null;
|
|
389
|
+
price: number | null;
|
|
390
|
+
value: string;
|
|
391
|
+
}
|
|
392
|
+
export interface getCheckoutById_getCheckoutById_cart_items_options {
|
|
393
|
+
__typename: "OrderLineOption";
|
|
394
|
+
/**
|
|
395
|
+
* It is the name of order line option in the order line item.
|
|
396
|
+
*/
|
|
397
|
+
name: string;
|
|
398
|
+
/**
|
|
399
|
+
* It is the product option id of the product in the order line item.
|
|
400
|
+
*/
|
|
401
|
+
productOptionId: string;
|
|
402
|
+
/**
|
|
403
|
+
* It is the product option set id of the product in the order line item.
|
|
404
|
+
*/
|
|
405
|
+
productOptionsSetId: string;
|
|
406
|
+
/**
|
|
407
|
+
* It is the type of the order line option.
|
|
408
|
+
*/
|
|
409
|
+
type: ProductOptionTypeEnum;
|
|
410
|
+
values: getCheckoutById_getCheckoutById_cart_items_options_values[];
|
|
411
|
+
}
|
|
146
412
|
export interface getCheckoutById_getCheckoutById_cart_items {
|
|
147
413
|
__typename: "OrderLineItem";
|
|
148
414
|
createdAt: any | null;
|
|
415
|
+
/**
|
|
416
|
+
* It is the currency code of the order line item.
|
|
417
|
+
*/
|
|
149
418
|
currencyCode: string | null;
|
|
419
|
+
/**
|
|
420
|
+
* Information about the discount. Shows the details of the discount applied to the order line item.
|
|
421
|
+
*/
|
|
150
422
|
discount: getCheckoutById_getCheckoutById_cart_items_discount | null;
|
|
423
|
+
/**
|
|
424
|
+
* It is the discount price of the order line item.
|
|
425
|
+
*/
|
|
151
426
|
discountPrice: number | null;
|
|
427
|
+
/**
|
|
428
|
+
* It is the final price of the order line item. If the discount price is less
|
|
429
|
+
* than the sell price, the final price is equal to the discount price.
|
|
430
|
+
*/
|
|
152
431
|
finalPrice: number | null;
|
|
153
432
|
id: string;
|
|
433
|
+
/**
|
|
434
|
+
* It is the original order line item id of the line item. If the line item is
|
|
435
|
+
* derived from another line item, this field is filled.
|
|
436
|
+
*/
|
|
154
437
|
originalOrderLineItemId: string | null;
|
|
438
|
+
/**
|
|
439
|
+
* It is the selling price of the order line item.
|
|
440
|
+
*/
|
|
155
441
|
price: number;
|
|
442
|
+
/**
|
|
443
|
+
* It is the quantity of variant in the order line item.
|
|
444
|
+
*/
|
|
156
445
|
quantity: number;
|
|
446
|
+
/**
|
|
447
|
+
* It is the status enum of the order line item
|
|
448
|
+
*/
|
|
157
449
|
status: OrderLineItemStatusEnum;
|
|
158
450
|
deleted: boolean | null;
|
|
451
|
+
/**
|
|
452
|
+
* It is the date when the last status of the order line item was updated.
|
|
453
|
+
*/
|
|
159
454
|
statusUpdatedAt: any | null;
|
|
455
|
+
/**
|
|
456
|
+
* It is the stock location id of the variant value in the order line item.
|
|
457
|
+
*/
|
|
160
458
|
stockLocationId: string | null;
|
|
459
|
+
/**
|
|
460
|
+
* It is the tax value of the order line item.
|
|
461
|
+
*/
|
|
161
462
|
taxValue: number | null;
|
|
162
463
|
updatedAt: any | null;
|
|
464
|
+
/**
|
|
465
|
+
* Information about the variant of the order line item.
|
|
466
|
+
*/
|
|
163
467
|
variant: getCheckoutById_getCheckoutById_cart_items_variant;
|
|
468
|
+
/**
|
|
469
|
+
* It is the option information of the variant value in the order line item.
|
|
470
|
+
*/
|
|
471
|
+
options: getCheckoutById_getCheckoutById_cart_items_options[] | null;
|
|
164
472
|
}
|
|
165
473
|
export interface getCheckoutById_getCheckoutById_cart {
|
|
166
474
|
__typename: "Cart";
|
|
@@ -179,23 +487,53 @@ export interface getCheckoutById_getCheckoutById_cart {
|
|
|
179
487
|
}
|
|
180
488
|
export interface getCheckoutById_getCheckoutById_adjustments_appliedOrderLines {
|
|
181
489
|
__typename: "OrderAdjustmentAppliedOrderLine";
|
|
490
|
+
/**
|
|
491
|
+
* Is he amount of the applied adjustment.
|
|
492
|
+
*/
|
|
182
493
|
amount: number;
|
|
494
|
+
/**
|
|
495
|
+
* It is the quantity of variants within the order line item to which the adjustment is applied.
|
|
496
|
+
*/
|
|
183
497
|
appliedQuantity: number;
|
|
498
|
+
/**
|
|
499
|
+
* It is the id of the order line item to which the adjustment is applied.
|
|
500
|
+
*/
|
|
184
501
|
orderLineId: string;
|
|
185
502
|
}
|
|
186
503
|
export interface getCheckoutById_getCheckoutById_adjustments {
|
|
187
504
|
__typename: "OrderAdjustment";
|
|
505
|
+
/**
|
|
506
|
+
* It is the adjustment amount in the order. This amount can be positive or negative.
|
|
507
|
+
*/
|
|
188
508
|
amount: number;
|
|
189
509
|
amountType: AmountTypeEnum;
|
|
510
|
+
/**
|
|
511
|
+
* It is the name of the adjustment.
|
|
512
|
+
*/
|
|
190
513
|
name: string;
|
|
514
|
+
/**
|
|
515
|
+
* It is the order of the adjustment. Adjustments are applied in this order.
|
|
516
|
+
*/
|
|
191
517
|
order: number;
|
|
192
518
|
type: AdjustmentEnum;
|
|
519
|
+
/**
|
|
520
|
+
* It is the coupon id generated depending on the campaign.
|
|
521
|
+
*/
|
|
193
522
|
couponId: string | null;
|
|
523
|
+
/**
|
|
524
|
+
* A list of order line items, each containing information about a order line item in the order.
|
|
525
|
+
*/
|
|
194
526
|
appliedOrderLines: getCheckoutById_getCheckoutById_adjustments_appliedOrderLines[] | null;
|
|
195
527
|
}
|
|
196
528
|
export interface getCheckoutById_getCheckoutById_giftPackageLines {
|
|
197
529
|
__typename: "OrderGiftPackageLine";
|
|
530
|
+
/**
|
|
531
|
+
* It is the price of the order gift package line.
|
|
532
|
+
*/
|
|
198
533
|
price: number;
|
|
534
|
+
/**
|
|
535
|
+
* It is the tax value of the order gift package line price.
|
|
536
|
+
*/
|
|
199
537
|
taxValue: number | null;
|
|
200
538
|
}
|
|
201
539
|
export interface getCheckoutById_getCheckoutById {
|