@ikas/storefront 1.0.7 → 1.0.8
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 +462 -316
- package/build/index.js +462 -316
- 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,65 +1,176 @@
|
|
|
1
|
-
import { CancelledReasonEnum, AdjustmentEnum, AmountTypeEnum, OrderLineItemStatusEnum, OrderPackageFulfillStatusEnum, OrderPackageStatusEnum, OrderPaymentStatusEnum, ShippingMethodEnum, OrderStatusEnum } from "../../../__generated__/global-types";
|
|
1
|
+
import { CancelledReasonEnum, AdjustmentEnum, AmountTypeEnum, OrderLineItemStatusEnum, ProductOptionTypeEnum, OrderPackageFulfillStatusEnum, OrderPackageStatusEnum, OrderPaymentStatusEnum, ShippingMethodEnum, OrderStatusEnum } from "../../../__generated__/global-types";
|
|
2
2
|
export interface getCustomerOrders_getCustomerOrders_billingAddress_city {
|
|
3
3
|
__typename: "OrderAddressCity";
|
|
4
|
+
/**
|
|
5
|
+
* It is the code of the city of the address.
|
|
6
|
+
*/
|
|
4
7
|
code: string | null;
|
|
8
|
+
/**
|
|
9
|
+
* It is the id of the city of the address.
|
|
10
|
+
*/
|
|
5
11
|
id: string | null;
|
|
12
|
+
/**
|
|
13
|
+
* It is the name of the city of the address.
|
|
14
|
+
*/
|
|
6
15
|
name: string;
|
|
7
16
|
}
|
|
8
17
|
export interface getCustomerOrders_getCustomerOrders_billingAddress_country {
|
|
9
18
|
__typename: "OrderAddressCountry";
|
|
19
|
+
/**
|
|
20
|
+
* It is the name of the country of the address.
|
|
21
|
+
*/
|
|
10
22
|
name: string;
|
|
23
|
+
/**
|
|
24
|
+
* It is the id of the country of the address.
|
|
25
|
+
*/
|
|
11
26
|
id: string | null;
|
|
27
|
+
/**
|
|
28
|
+
* It is the code of the country of the address.
|
|
29
|
+
*/
|
|
12
30
|
code: string | null;
|
|
13
31
|
}
|
|
14
32
|
export interface getCustomerOrders_getCustomerOrders_billingAddress_district {
|
|
15
33
|
__typename: "OrderAddressDistrict";
|
|
34
|
+
/**
|
|
35
|
+
* It is the name of the district of the address.
|
|
36
|
+
*/
|
|
16
37
|
name: string | null;
|
|
38
|
+
/**
|
|
39
|
+
* It is the id of the district of the address.
|
|
40
|
+
*/
|
|
17
41
|
id: string | null;
|
|
42
|
+
/**
|
|
43
|
+
* It is the code of the district of the address.
|
|
44
|
+
*/
|
|
18
45
|
code: string | null;
|
|
19
46
|
}
|
|
20
47
|
export interface getCustomerOrders_getCustomerOrders_billingAddress_state {
|
|
21
48
|
__typename: "OrderAddressState";
|
|
49
|
+
/**
|
|
50
|
+
* It is the name of the state of the address.
|
|
51
|
+
*/
|
|
22
52
|
name: string | null;
|
|
53
|
+
/**
|
|
54
|
+
* It is the id of the state of the address.
|
|
55
|
+
*/
|
|
23
56
|
id: string | null;
|
|
57
|
+
/**
|
|
58
|
+
* It is the code of the state of the address.
|
|
59
|
+
*/
|
|
24
60
|
code: string | null;
|
|
25
61
|
}
|
|
26
62
|
export interface getCustomerOrders_getCustomerOrders_billingAddress {
|
|
27
63
|
__typename: "OrderAddress";
|
|
64
|
+
/**
|
|
65
|
+
* The street address of the address.
|
|
66
|
+
*/
|
|
28
67
|
addressLine1: string;
|
|
68
|
+
/**
|
|
69
|
+
* An optional additional field for the street address of the address.
|
|
70
|
+
*/
|
|
29
71
|
addressLine2: string | null;
|
|
72
|
+
/**
|
|
73
|
+
* The city information of the address.
|
|
74
|
+
*/
|
|
30
75
|
city: getCustomerOrders_getCustomerOrders_billingAddress_city;
|
|
76
|
+
/**
|
|
77
|
+
* The company of the person associated with the address.
|
|
78
|
+
*/
|
|
31
79
|
company: string | null;
|
|
80
|
+
/**
|
|
81
|
+
* The country information of the address.
|
|
82
|
+
*/
|
|
32
83
|
country: getCustomerOrders_getCustomerOrders_billingAddress_country;
|
|
84
|
+
/**
|
|
85
|
+
* The district information of the address.
|
|
86
|
+
*/
|
|
33
87
|
district: getCustomerOrders_getCustomerOrders_billingAddress_district | null;
|
|
88
|
+
/**
|
|
89
|
+
* The first name of the person associated with the address
|
|
90
|
+
*/
|
|
34
91
|
firstName: string;
|
|
92
|
+
/**
|
|
93
|
+
* The identity number of the person associated with the address.
|
|
94
|
+
*/
|
|
35
95
|
identityNumber: string | null;
|
|
96
|
+
/**
|
|
97
|
+
* The address"s id of the order address.
|
|
98
|
+
*/
|
|
36
99
|
isDefault: boolean;
|
|
100
|
+
/**
|
|
101
|
+
* The last name of the person associated with the address
|
|
102
|
+
*/
|
|
37
103
|
lastName: string;
|
|
104
|
+
/**
|
|
105
|
+
* The phone of the person associated with the address.
|
|
106
|
+
*/
|
|
38
107
|
phone: string | null;
|
|
108
|
+
/**
|
|
109
|
+
* The postal code of the address.
|
|
110
|
+
*/
|
|
39
111
|
postalCode: string | null;
|
|
112
|
+
/**
|
|
113
|
+
* The state information of the address.
|
|
114
|
+
*/
|
|
40
115
|
state: getCustomerOrders_getCustomerOrders_billingAddress_state | null;
|
|
116
|
+
/**
|
|
117
|
+
* The tax number of the person associated with the address.
|
|
118
|
+
*/
|
|
41
119
|
taxNumber: string | null;
|
|
120
|
+
/**
|
|
121
|
+
* The tax office of the person associated with the address.
|
|
122
|
+
*/
|
|
42
123
|
taxOffice: string | null;
|
|
43
124
|
}
|
|
44
125
|
export interface getCustomerOrders_getCustomerOrders_currencyRates {
|
|
45
126
|
__typename: "OrderCurrencyRate";
|
|
127
|
+
/**
|
|
128
|
+
* It is the rate of the currency.
|
|
129
|
+
*/
|
|
46
130
|
rate: number;
|
|
131
|
+
/**
|
|
132
|
+
* It is the original rate of the currency.
|
|
133
|
+
*/
|
|
47
134
|
originalRate: number;
|
|
135
|
+
/**
|
|
136
|
+
* It is the code of the currency.
|
|
137
|
+
*/
|
|
48
138
|
code: string;
|
|
49
139
|
}
|
|
50
140
|
export interface getCustomerOrders_getCustomerOrders_customer {
|
|
51
141
|
__typename: "OrderCustomer";
|
|
142
|
+
/**
|
|
143
|
+
* It is the last name of the customer who created the order.
|
|
144
|
+
*/
|
|
52
145
|
lastName: string | null;
|
|
146
|
+
/**
|
|
147
|
+
* It is the first name of the customer who created the order.
|
|
148
|
+
*/
|
|
53
149
|
firstName: string | null;
|
|
150
|
+
/**
|
|
151
|
+
* It is the email of the customer who created the order.
|
|
152
|
+
*/
|
|
54
153
|
email: string | null;
|
|
154
|
+
/**
|
|
155
|
+
* It is the id of the customer who created the order.
|
|
156
|
+
*/
|
|
55
157
|
id: string | null;
|
|
56
158
|
}
|
|
57
159
|
export interface getCustomerOrders_getCustomerOrders_orderAdjustments {
|
|
58
160
|
__typename: "OrderAdjustment";
|
|
59
161
|
type: AdjustmentEnum;
|
|
162
|
+
/**
|
|
163
|
+
* It is the order of the adjustment. Adjustments are applied in this order.
|
|
164
|
+
*/
|
|
60
165
|
order: number;
|
|
166
|
+
/**
|
|
167
|
+
* It is the name of the adjustment.
|
|
168
|
+
*/
|
|
61
169
|
name: string;
|
|
62
170
|
amountType: AmountTypeEnum;
|
|
171
|
+
/**
|
|
172
|
+
* It is the adjustment amount in the order. This amount can be positive or negative.
|
|
173
|
+
*/
|
|
63
174
|
amount: number;
|
|
64
175
|
}
|
|
65
176
|
export interface getCustomerOrders_getCustomerOrders_orderLineItems_discount {
|
|
@@ -70,55 +181,184 @@ export interface getCustomerOrders_getCustomerOrders_orderLineItems_discount {
|
|
|
70
181
|
}
|
|
71
182
|
export interface getCustomerOrders_getCustomerOrders_orderLineItems_variant_variantValues {
|
|
72
183
|
__typename: "OrderLineVariantVariantValues";
|
|
184
|
+
/**
|
|
185
|
+
* It is the order of variant value. The variant value order starts from 0.
|
|
186
|
+
*/
|
|
73
187
|
variantValueName: string | null;
|
|
188
|
+
/**
|
|
189
|
+
* It is the order of variant value. The variant value order starts from 0.
|
|
190
|
+
*/
|
|
74
191
|
variantValueId: string;
|
|
192
|
+
/**
|
|
193
|
+
* It is the order of variant value. The variant value order starts from 0.
|
|
194
|
+
*/
|
|
75
195
|
variantTypeName: string | null;
|
|
196
|
+
/**
|
|
197
|
+
* It is the order of variant value. The variant value order starts from 0.
|
|
198
|
+
*/
|
|
76
199
|
variantTypeId: string;
|
|
200
|
+
/**
|
|
201
|
+
* It is the order of variant value. The variant value order starts from 0.
|
|
202
|
+
*/
|
|
77
203
|
order: number;
|
|
78
204
|
}
|
|
79
205
|
export interface getCustomerOrders_getCustomerOrders_orderLineItems_variant {
|
|
80
206
|
__typename: "OrderLineVariant";
|
|
207
|
+
/**
|
|
208
|
+
* It is the barcode list of the variant.
|
|
209
|
+
*/
|
|
81
210
|
barcodeList: string[] | null;
|
|
211
|
+
/**
|
|
212
|
+
* It is the id of the variant.
|
|
213
|
+
*/
|
|
82
214
|
id: string | null;
|
|
215
|
+
/**
|
|
216
|
+
* It is the main image id of the variant.
|
|
217
|
+
*/
|
|
83
218
|
mainImageId: string | null;
|
|
219
|
+
/**
|
|
220
|
+
* It is the name of the variant.
|
|
221
|
+
*/
|
|
84
222
|
name: string;
|
|
223
|
+
/**
|
|
224
|
+
* It is the product id of the variant.
|
|
225
|
+
*/
|
|
85
226
|
productId: string | null;
|
|
227
|
+
/**
|
|
228
|
+
* It is the sku of the variant.
|
|
229
|
+
*/
|
|
86
230
|
sku: string | null;
|
|
231
|
+
/**
|
|
232
|
+
* It is the variant values of the variant.
|
|
233
|
+
*/
|
|
87
234
|
variantValues: getCustomerOrders_getCustomerOrders_orderLineItems_variant_variantValues[] | null;
|
|
88
235
|
}
|
|
236
|
+
export interface getCustomerOrders_getCustomerOrders_orderLineItems_options_values {
|
|
237
|
+
__typename: "OrderLineOptionValue";
|
|
238
|
+
name: string | null;
|
|
239
|
+
price: number | null;
|
|
240
|
+
value: string;
|
|
241
|
+
}
|
|
242
|
+
export interface getCustomerOrders_getCustomerOrders_orderLineItems_options {
|
|
243
|
+
__typename: "OrderLineOption";
|
|
244
|
+
/**
|
|
245
|
+
* It is the name of order line option in the order line item.
|
|
246
|
+
*/
|
|
247
|
+
name: string;
|
|
248
|
+
/**
|
|
249
|
+
* It is the product option id of the product in the order line item.
|
|
250
|
+
*/
|
|
251
|
+
productOptionId: string;
|
|
252
|
+
/**
|
|
253
|
+
* It is the product option set id of the product in the order line item.
|
|
254
|
+
*/
|
|
255
|
+
productOptionsSetId: string;
|
|
256
|
+
/**
|
|
257
|
+
* It is the type of the order line option.
|
|
258
|
+
*/
|
|
259
|
+
type: ProductOptionTypeEnum;
|
|
260
|
+
values: getCustomerOrders_getCustomerOrders_orderLineItems_options_values[];
|
|
261
|
+
}
|
|
89
262
|
export interface getCustomerOrders_getCustomerOrders_orderLineItems {
|
|
90
263
|
__typename: "OrderLineItem";
|
|
91
264
|
createdAt: any | null;
|
|
265
|
+
/**
|
|
266
|
+
* It is the currency code of the order line item.
|
|
267
|
+
*/
|
|
92
268
|
currencyCode: string | null;
|
|
93
269
|
deleted: boolean | null;
|
|
270
|
+
/**
|
|
271
|
+
* Information about the discount. Shows the details of the discount applied to the order line item.
|
|
272
|
+
*/
|
|
94
273
|
discount: getCustomerOrders_getCustomerOrders_orderLineItems_discount | null;
|
|
274
|
+
/**
|
|
275
|
+
* It is the discount price of the order line item.
|
|
276
|
+
*/
|
|
95
277
|
discountPrice: number | null;
|
|
278
|
+
/**
|
|
279
|
+
* It is the final price of the order line item. If the discount price is less
|
|
280
|
+
* than the sell price, the final price is equal to the discount price.
|
|
281
|
+
*/
|
|
96
282
|
finalPrice: number | null;
|
|
97
283
|
id: string;
|
|
284
|
+
/**
|
|
285
|
+
* It is the original order line item id of the line item. If the line item is
|
|
286
|
+
* derived from another line item, this field is filled.
|
|
287
|
+
*/
|
|
98
288
|
originalOrderLineItemId: string | null;
|
|
289
|
+
/**
|
|
290
|
+
* It is the selling price of the order line item.
|
|
291
|
+
*/
|
|
99
292
|
price: number;
|
|
293
|
+
/**
|
|
294
|
+
* It is the quantity of variant in the order line item.
|
|
295
|
+
*/
|
|
100
296
|
quantity: number;
|
|
297
|
+
/**
|
|
298
|
+
* It is the status enum of the order line item
|
|
299
|
+
*/
|
|
101
300
|
status: OrderLineItemStatusEnum;
|
|
301
|
+
/**
|
|
302
|
+
* It is the date when the last status of the order line item was updated.
|
|
303
|
+
*/
|
|
102
304
|
statusUpdatedAt: any | null;
|
|
305
|
+
/**
|
|
306
|
+
* It is the stock location id of the variant value in the order line item.
|
|
307
|
+
*/
|
|
103
308
|
stockLocationId: string | null;
|
|
309
|
+
/**
|
|
310
|
+
* It is the tax value of the order line item.
|
|
311
|
+
*/
|
|
104
312
|
taxValue: number | null;
|
|
105
313
|
updatedAt: any | null;
|
|
314
|
+
/**
|
|
315
|
+
* Information about the variant of the order line item.
|
|
316
|
+
*/
|
|
106
317
|
variant: getCustomerOrders_getCustomerOrders_orderLineItems_variant;
|
|
318
|
+
/**
|
|
319
|
+
* It is the option information of the variant value in the order line item.
|
|
320
|
+
*/
|
|
321
|
+
options: getCustomerOrders_getCustomerOrders_orderLineItems_options[] | null;
|
|
107
322
|
}
|
|
108
323
|
export interface getCustomerOrders_getCustomerOrders_orderPackages_trackingInfo {
|
|
109
324
|
__typename: "TrackingInfo";
|
|
325
|
+
/**
|
|
326
|
+
* It is the tracking number of the order package.
|
|
327
|
+
*/
|
|
110
328
|
trackingNumber: string | null;
|
|
329
|
+
/**
|
|
330
|
+
* It is the tracking link of the order package.
|
|
331
|
+
*/
|
|
111
332
|
trackingLink: string | null;
|
|
333
|
+
/**
|
|
334
|
+
* Indicates whether the notification is sent to the customer after the cargo is
|
|
335
|
+
* delivered. ***isSendNotification*** returns true if the notification is sent.
|
|
336
|
+
*/
|
|
112
337
|
isSendNotification: boolean | null;
|
|
338
|
+
/**
|
|
339
|
+
* It is the name of the cargo company.
|
|
340
|
+
*/
|
|
113
341
|
cargoCompany: string | null;
|
|
114
342
|
}
|
|
115
343
|
export interface getCustomerOrders_getCustomerOrders_orderPackages {
|
|
116
344
|
__typename: "OrderPackage";
|
|
117
345
|
updatedAt: any | null;
|
|
346
|
+
/**
|
|
347
|
+
* It is the stock location id information where the package will be shipped.
|
|
348
|
+
*/
|
|
118
349
|
trackingInfo: getCustomerOrders_getCustomerOrders_orderPackages_trackingInfo | null;
|
|
119
350
|
stockLocationId: string;
|
|
351
|
+
/**
|
|
352
|
+
* It is the number of order package. Order package number is created with the order number - order package sequence format.
|
|
353
|
+
*/
|
|
120
354
|
orderPackageNumber: string;
|
|
355
|
+
/**
|
|
356
|
+
* It is the fulfill status of the package
|
|
357
|
+
*/
|
|
121
358
|
orderPackageFulfillStatus: OrderPackageFulfillStatusEnum;
|
|
359
|
+
/**
|
|
360
|
+
* It is the id list of the order line items in the package.
|
|
361
|
+
*/
|
|
122
362
|
orderLineItemIds: string[];
|
|
123
363
|
id: string;
|
|
124
364
|
deleted: boolean | null;
|
|
@@ -126,84 +366,249 @@ export interface getCustomerOrders_getCustomerOrders_orderPackages {
|
|
|
126
366
|
}
|
|
127
367
|
export interface getCustomerOrders_getCustomerOrders_shippingAddress_state {
|
|
128
368
|
__typename: "OrderAddressState";
|
|
369
|
+
/**
|
|
370
|
+
* It is the name of the state of the address.
|
|
371
|
+
*/
|
|
129
372
|
name: string | null;
|
|
373
|
+
/**
|
|
374
|
+
* It is the id of the state of the address.
|
|
375
|
+
*/
|
|
130
376
|
id: string | null;
|
|
377
|
+
/**
|
|
378
|
+
* It is the code of the state of the address.
|
|
379
|
+
*/
|
|
131
380
|
code: string | null;
|
|
132
381
|
}
|
|
133
382
|
export interface getCustomerOrders_getCustomerOrders_shippingAddress_district {
|
|
134
383
|
__typename: "OrderAddressDistrict";
|
|
384
|
+
/**
|
|
385
|
+
* It is the name of the district of the address.
|
|
386
|
+
*/
|
|
135
387
|
name: string | null;
|
|
388
|
+
/**
|
|
389
|
+
* It is the id of the district of the address.
|
|
390
|
+
*/
|
|
136
391
|
id: string | null;
|
|
392
|
+
/**
|
|
393
|
+
* It is the code of the district of the address.
|
|
394
|
+
*/
|
|
137
395
|
code: string | null;
|
|
138
396
|
}
|
|
139
397
|
export interface getCustomerOrders_getCustomerOrders_shippingAddress_country {
|
|
140
398
|
__typename: "OrderAddressCountry";
|
|
399
|
+
/**
|
|
400
|
+
* It is the name of the country of the address.
|
|
401
|
+
*/
|
|
141
402
|
name: string;
|
|
403
|
+
/**
|
|
404
|
+
* It is the id of the country of the address.
|
|
405
|
+
*/
|
|
142
406
|
id: string | null;
|
|
407
|
+
/**
|
|
408
|
+
* It is the code of the country of the address.
|
|
409
|
+
*/
|
|
143
410
|
code: string | null;
|
|
144
411
|
}
|
|
145
412
|
export interface getCustomerOrders_getCustomerOrders_shippingAddress_city {
|
|
146
413
|
__typename: "OrderAddressCity";
|
|
414
|
+
/**
|
|
415
|
+
* It is the id of the city of the address.
|
|
416
|
+
*/
|
|
147
417
|
id: string | null;
|
|
418
|
+
/**
|
|
419
|
+
* It is the code of the city of the address.
|
|
420
|
+
*/
|
|
148
421
|
code: string | null;
|
|
422
|
+
/**
|
|
423
|
+
* It is the name of the city of the address.
|
|
424
|
+
*/
|
|
149
425
|
name: string;
|
|
150
426
|
}
|
|
151
427
|
export interface getCustomerOrders_getCustomerOrders_shippingAddress {
|
|
152
428
|
__typename: "OrderAddress";
|
|
429
|
+
/**
|
|
430
|
+
* The tax office of the person associated with the address.
|
|
431
|
+
*/
|
|
153
432
|
taxOffice: string | null;
|
|
433
|
+
/**
|
|
434
|
+
* The tax number of the person associated with the address.
|
|
435
|
+
*/
|
|
154
436
|
taxNumber: string | null;
|
|
437
|
+
/**
|
|
438
|
+
* The state information of the address.
|
|
439
|
+
*/
|
|
155
440
|
state: getCustomerOrders_getCustomerOrders_shippingAddress_state | null;
|
|
441
|
+
/**
|
|
442
|
+
* The postal code of the address.
|
|
443
|
+
*/
|
|
156
444
|
postalCode: string | null;
|
|
445
|
+
/**
|
|
446
|
+
* The phone of the person associated with the address.
|
|
447
|
+
*/
|
|
157
448
|
phone: string | null;
|
|
449
|
+
/**
|
|
450
|
+
* The last name of the person associated with the address
|
|
451
|
+
*/
|
|
158
452
|
lastName: string;
|
|
453
|
+
/**
|
|
454
|
+
* The address"s id of the order address.
|
|
455
|
+
*/
|
|
159
456
|
isDefault: boolean;
|
|
457
|
+
/**
|
|
458
|
+
* The identity number of the person associated with the address.
|
|
459
|
+
*/
|
|
160
460
|
identityNumber: string | null;
|
|
461
|
+
/**
|
|
462
|
+
* The first name of the person associated with the address
|
|
463
|
+
*/
|
|
161
464
|
firstName: string;
|
|
465
|
+
/**
|
|
466
|
+
* The district information of the address.
|
|
467
|
+
*/
|
|
162
468
|
district: getCustomerOrders_getCustomerOrders_shippingAddress_district | null;
|
|
469
|
+
/**
|
|
470
|
+
* The country information of the address.
|
|
471
|
+
*/
|
|
163
472
|
country: getCustomerOrders_getCustomerOrders_shippingAddress_country;
|
|
473
|
+
/**
|
|
474
|
+
* The company of the person associated with the address.
|
|
475
|
+
*/
|
|
164
476
|
company: string | null;
|
|
477
|
+
/**
|
|
478
|
+
* The city information of the address.
|
|
479
|
+
*/
|
|
165
480
|
city: getCustomerOrders_getCustomerOrders_shippingAddress_city;
|
|
481
|
+
/**
|
|
482
|
+
* An optional additional field for the street address of the address.
|
|
483
|
+
*/
|
|
166
484
|
addressLine2: string | null;
|
|
485
|
+
/**
|
|
486
|
+
* The street address of the address.
|
|
487
|
+
*/
|
|
167
488
|
addressLine1: string;
|
|
168
489
|
}
|
|
169
490
|
export interface getCustomerOrders_getCustomerOrders_shippingLines {
|
|
170
491
|
__typename: "OrderShippingLine";
|
|
492
|
+
/**
|
|
493
|
+
* It is the title of the order shipping line.
|
|
494
|
+
*/
|
|
171
495
|
title: string;
|
|
496
|
+
/**
|
|
497
|
+
* It is the tax value of the order shipping line price.
|
|
498
|
+
*/
|
|
172
499
|
taxValue: number | null;
|
|
500
|
+
/**
|
|
501
|
+
* It is the price of the order shipping line.
|
|
502
|
+
*/
|
|
173
503
|
price: number;
|
|
174
504
|
}
|
|
175
505
|
export interface getCustomerOrders_getCustomerOrders_taxLines {
|
|
176
506
|
__typename: "OrderTaxLine";
|
|
507
|
+
/**
|
|
508
|
+
* It is the percentage of the slice to which the calculated tax amount belongs.
|
|
509
|
+
*/
|
|
177
510
|
rate: number;
|
|
511
|
+
/**
|
|
512
|
+
* It is the price of the order tax.
|
|
513
|
+
*/
|
|
178
514
|
price: number;
|
|
179
515
|
}
|
|
180
516
|
export interface getCustomerOrders_getCustomerOrders {
|
|
181
517
|
__typename: "Order";
|
|
518
|
+
/**
|
|
519
|
+
* It is the billing address of the order.
|
|
520
|
+
*/
|
|
182
521
|
billingAddress: getCustomerOrders_getCustomerOrders_billingAddress | null;
|
|
522
|
+
/**
|
|
523
|
+
* If the order has been cancelled, it indicates the cancellation date of the order.
|
|
524
|
+
*/
|
|
183
525
|
cancelledAt: any | null;
|
|
526
|
+
/**
|
|
527
|
+
* It is the cancel reason of the order. If the order has been cancelled, it indicates the cancellation reason of the order.
|
|
528
|
+
*/
|
|
184
529
|
cancelReason: CancelledReasonEnum | null;
|
|
185
530
|
createdAt: any | null;
|
|
531
|
+
/**
|
|
532
|
+
* It is the currency value of the order.
|
|
533
|
+
*/
|
|
186
534
|
currencyCode: string;
|
|
535
|
+
/**
|
|
536
|
+
* A list of currency rate objects.
|
|
537
|
+
*/
|
|
187
538
|
currencyRates: getCustomerOrders_getCustomerOrders_currencyRates[];
|
|
539
|
+
/**
|
|
540
|
+
* Information about the customer. The order does not have to be a customer
|
|
541
|
+
* information. If the order was created by ikasPOS, the customer information may be null.
|
|
542
|
+
*/
|
|
188
543
|
customer: getCustomerOrders_getCustomerOrders_customer | null;
|
|
189
544
|
deleted: boolean | null;
|
|
190
545
|
id: string;
|
|
191
546
|
merchantId: string;
|
|
547
|
+
/**
|
|
548
|
+
* An optional note, can attach to the order.
|
|
549
|
+
*/
|
|
192
550
|
note: string | null;
|
|
551
|
+
/**
|
|
552
|
+
* The date the order was ordered.
|
|
553
|
+
*/
|
|
193
554
|
orderedAt: any | null;
|
|
555
|
+
/**
|
|
556
|
+
* A list of adjustment objects, each containing information about a adjustment in the order.
|
|
557
|
+
*/
|
|
194
558
|
orderAdjustments: getCustomerOrders_getCustomerOrders_orderAdjustments[] | null;
|
|
559
|
+
/**
|
|
560
|
+
* A list of line item objects, each containing information about an item in the order.
|
|
561
|
+
*/
|
|
195
562
|
orderLineItems: getCustomerOrders_getCustomerOrders_orderLineItems[];
|
|
563
|
+
/**
|
|
564
|
+
* The position of the order in the store's order count starting from 1001. Order numbers are sequential and start from 1001.
|
|
565
|
+
*/
|
|
196
566
|
orderNumber: string | null;
|
|
567
|
+
/**
|
|
568
|
+
* A list of order package objects.
|
|
569
|
+
*/
|
|
197
570
|
orderPackages: getCustomerOrders_getCustomerOrders_orderPackages[] | null;
|
|
571
|
+
/**
|
|
572
|
+
* It is the package status enum of the order
|
|
573
|
+
*/
|
|
198
574
|
orderPackageStatus: OrderPackageStatusEnum | null;
|
|
575
|
+
/**
|
|
576
|
+
* It is the payment status enum of the order
|
|
577
|
+
*/
|
|
199
578
|
orderPaymentStatus: OrderPaymentStatusEnum | null;
|
|
579
|
+
/**
|
|
580
|
+
* It is the tag id list in the order.
|
|
581
|
+
*/
|
|
200
582
|
orderTagIds: string[] | null;
|
|
583
|
+
/**
|
|
584
|
+
* It is the shipping address of the order.
|
|
585
|
+
*/
|
|
201
586
|
shippingAddress: getCustomerOrders_getCustomerOrders_shippingAddress | null;
|
|
587
|
+
/**
|
|
588
|
+
* A list of shipping line objects, each containing information about a shipping in the order.
|
|
589
|
+
*/
|
|
202
590
|
shippingLines: getCustomerOrders_getCustomerOrders_shippingLines[] | null;
|
|
591
|
+
/**
|
|
592
|
+
* It is the shipping method enum of the order
|
|
593
|
+
*/
|
|
203
594
|
shippingMethod: ShippingMethodEnum;
|
|
595
|
+
/**
|
|
596
|
+
* It is the status enum of the order
|
|
597
|
+
*/
|
|
204
598
|
status: OrderStatusEnum;
|
|
599
|
+
/**
|
|
600
|
+
* A list of tax line objects, tax line objects contain the taxes of the shippingLines, orderLineItems, and giftPackageLines.
|
|
601
|
+
*/
|
|
205
602
|
taxLines: getCustomerOrders_getCustomerOrders_taxLines[] | null;
|
|
603
|
+
/**
|
|
604
|
+
* The total final price of the order resulting from the apply of
|
|
605
|
+
* ``orderAdjustments`` , ```shippingLines```, and ```giftPackageLines```
|
|
606
|
+
* pricing to the order total price.
|
|
607
|
+
*/
|
|
206
608
|
totalFinalPrice: number;
|
|
609
|
+
/**
|
|
610
|
+
* It is the sum of the net prices of the line items in the order.
|
|
611
|
+
*/
|
|
207
612
|
totalPrice: number;
|
|
208
613
|
updatedAt: any | null;
|
|
209
614
|
}
|