@ikas/storefront 1.0.14-alpha.3 → 1.0.14
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 +0 -3
- package/build/api/blog/__generated__/getBlog.d.ts +16 -14
- package/build/api/blog/__generated__/listBlog.d.ts +16 -14
- package/build/api/blog/__generated__/listBlogCategory.d.ts +16 -14
- package/build/api/blog/__generated__/listBlogMetaData.d.ts +16 -14
- package/build/api/brand/__generated__/listProductBrand.d.ts +3 -3
- package/build/api/cart/__generated__/getCart.d.ts +4 -2
- package/build/api/cart/__generated__/saveItemToCart.d.ts +4 -2
- package/build/api/category/__generated__/listCategory.d.ts +3 -3
- package/build/api/checkout/__generated__/getCheckoutById.d.ts +4 -2
- package/build/api/checkout/__generated__/getOrder.d.ts +11 -5
- package/build/api/customer/__generated__/createOrderRefundRequest.d.ts +11 -5
- package/build/api/customer/__generated__/customerLogin.d.ts +5 -12
- package/build/api/customer/__generated__/getCustomerOrders.d.ts +11 -5
- package/build/api/customer/__generated__/getMyCustomer.d.ts +5 -4
- package/build/api/customer/__generated__/registerCustomer.d.ts +5 -12
- package/build/api/customer/__generated__/saveMyCustomer.d.ts +5 -12
- package/build/api/customer/index.d.ts +0 -5
- package/build/api/customer-review/__generated__/listCustomerReviews.d.ts +16 -14
- package/build/api/variant-type/__generated__/listVariantType.d.ts +7 -3
- package/build/index.es.js +60 -172
- package/build/index.js +60 -172
- package/build/store/customer.d.ts +0 -19
- package/build/storefront/index.d.ts +1 -3
- package/package.json +1 -1
- package/build/api/customer/__generated__/customerSocialLogin.d.ts +0 -161
|
@@ -33,7 +33,6 @@ export declare enum CancelledReasonEnum {
|
|
|
33
33
|
*/
|
|
34
34
|
export declare enum CartStatusEnum {
|
|
35
35
|
ACTIVE = "ACTIVE",
|
|
36
|
-
FREEZE = "FREEZE",
|
|
37
36
|
PASSIVE = "PASSIVE"
|
|
38
37
|
}
|
|
39
38
|
/**
|
|
@@ -405,8 +404,6 @@ export interface CustomerAddressCityInput {
|
|
|
405
404
|
export interface CustomerAddressCountryInput {
|
|
406
405
|
code?: string | null;
|
|
407
406
|
id?: string | null;
|
|
408
|
-
iso2?: string | null;
|
|
409
|
-
iso3?: string | null;
|
|
410
407
|
name: string;
|
|
411
408
|
}
|
|
412
409
|
export interface CustomerAddressDistrictInput {
|
|
@@ -68,31 +68,33 @@ export interface getBlog_listBlog_data {
|
|
|
68
68
|
export interface getBlog_listBlog {
|
|
69
69
|
__typename: "BlogPaginationResponse";
|
|
70
70
|
/**
|
|
71
|
-
* Returns the first three records of each page in the records returned as a
|
|
72
|
-
* For example,
|
|
73
|
-
*
|
|
71
|
+
* Returns the first three records of each page in the records returned as a
|
|
72
|
+
* response. For example, ***let's say page = 3, limit = 30, count = 3.*** The
|
|
73
|
+
* records that will return as a response are the records ***between 60-62.***
|
|
74
74
|
*/
|
|
75
75
|
count: number;
|
|
76
76
|
data: getBlog_listBlog_data[];
|
|
77
77
|
/**
|
|
78
|
-
* In the records returned as Response, it shows whether there are any more
|
|
78
|
+
* In the records returned as Response, it shows whether there are any more
|
|
79
|
+
* records or not. For example, let's say our page field is three and our limit
|
|
80
|
+
* field is thirty. Records between 60 and 90 will be returned. If hasNext is
|
|
81
|
+
* ```true``` despite these records, ***it means there are more records.*** If
|
|
82
|
+
* hasNext is ```false```, it means there are a total of ***90 records.***
|
|
79
83
|
*/
|
|
80
84
|
hasNext: boolean;
|
|
81
85
|
/**
|
|
82
|
-
* The maximum number of data you want to see on a page in the records returned
|
|
83
|
-
* For example, if the limit is
|
|
84
|
-
*
|
|
85
|
-
*
|
|
86
|
-
* :::
|
|
86
|
+
* The maximum number of data you want to see on a page in the records returned
|
|
87
|
+
* as a response. For example, if the limit is ***20***, the data will be
|
|
88
|
+
* displayed ***as 20 each.***<br />:::note<br />min 1, max 200 values can be
|
|
89
|
+
* given. If no value is entered, default 50 is accepted.<br />:::
|
|
87
90
|
*/
|
|
88
91
|
limit: number;
|
|
89
92
|
/**
|
|
90
93
|
* The number of the page you want to see in the records that return as response.
|
|
91
|
-
* For example: We entered the page field as
|
|
92
|
-
* The records that will return as a response are the records
|
|
93
|
-
*
|
|
94
|
-
*
|
|
95
|
-
* :::
|
|
94
|
+
* For example: We entered the page field as ***3***.And let our limit field be
|
|
95
|
+
* ***30***. The records that will return as a response are the records
|
|
96
|
+
* ***between 60-90.***<br />:::note<br />If no value is entered, default 1 is
|
|
97
|
+
* accepted.<br /> :::
|
|
96
98
|
*/
|
|
97
99
|
page: number;
|
|
98
100
|
}
|
|
@@ -68,31 +68,33 @@ export interface listBlog_listBlog_data {
|
|
|
68
68
|
export interface listBlog_listBlog {
|
|
69
69
|
__typename: "BlogPaginationResponse";
|
|
70
70
|
/**
|
|
71
|
-
* Returns the first three records of each page in the records returned as a
|
|
72
|
-
* For example,
|
|
73
|
-
*
|
|
71
|
+
* Returns the first three records of each page in the records returned as a
|
|
72
|
+
* response. For example, ***let's say page = 3, limit = 30, count = 3.*** The
|
|
73
|
+
* records that will return as a response are the records ***between 60-62.***
|
|
74
74
|
*/
|
|
75
75
|
count: number;
|
|
76
76
|
data: listBlog_listBlog_data[];
|
|
77
77
|
/**
|
|
78
|
-
* In the records returned as Response, it shows whether there are any more
|
|
78
|
+
* In the records returned as Response, it shows whether there are any more
|
|
79
|
+
* records or not. For example, let's say our page field is three and our limit
|
|
80
|
+
* field is thirty. Records between 60 and 90 will be returned. If hasNext is
|
|
81
|
+
* ```true``` despite these records, ***it means there are more records.*** If
|
|
82
|
+
* hasNext is ```false```, it means there are a total of ***90 records.***
|
|
79
83
|
*/
|
|
80
84
|
hasNext: boolean;
|
|
81
85
|
/**
|
|
82
|
-
* The maximum number of data you want to see on a page in the records returned
|
|
83
|
-
* For example, if the limit is
|
|
84
|
-
*
|
|
85
|
-
*
|
|
86
|
-
* :::
|
|
86
|
+
* The maximum number of data you want to see on a page in the records returned
|
|
87
|
+
* as a response. For example, if the limit is ***20***, the data will be
|
|
88
|
+
* displayed ***as 20 each.***<br />:::note<br />min 1, max 200 values can be
|
|
89
|
+
* given. If no value is entered, default 50 is accepted.<br />:::
|
|
87
90
|
*/
|
|
88
91
|
limit: number;
|
|
89
92
|
/**
|
|
90
93
|
* The number of the page you want to see in the records that return as response.
|
|
91
|
-
* For example: We entered the page field as
|
|
92
|
-
* The records that will return as a response are the records
|
|
93
|
-
*
|
|
94
|
-
*
|
|
95
|
-
* :::
|
|
94
|
+
* For example: We entered the page field as ***3***.And let our limit field be
|
|
95
|
+
* ***30***. The records that will return as a response are the records
|
|
96
|
+
* ***between 60-90.***<br />:::note<br />If no value is entered, default 1 is
|
|
97
|
+
* accepted.<br /> :::
|
|
96
98
|
*/
|
|
97
99
|
page: number;
|
|
98
100
|
}
|
|
@@ -24,31 +24,33 @@ export interface listBlogCategory_listBlogCategory_data {
|
|
|
24
24
|
export interface listBlogCategory_listBlogCategory {
|
|
25
25
|
__typename: "BlogCategoryPaginationResponse";
|
|
26
26
|
/**
|
|
27
|
-
* Returns the first three records of each page in the records returned as a
|
|
28
|
-
* For example,
|
|
29
|
-
*
|
|
27
|
+
* Returns the first three records of each page in the records returned as a
|
|
28
|
+
* response. For example, ***let's say page = 3, limit = 30, count = 3.*** The
|
|
29
|
+
* records that will return as a response are the records ***between 60-62.***
|
|
30
30
|
*/
|
|
31
31
|
count: number;
|
|
32
32
|
data: listBlogCategory_listBlogCategory_data[];
|
|
33
33
|
/**
|
|
34
|
-
* In the records returned as Response, it shows whether there are any more
|
|
34
|
+
* In the records returned as Response, it shows whether there are any more
|
|
35
|
+
* records or not. For example, let's say our page field is three and our limit
|
|
36
|
+
* field is thirty. Records between 60 and 90 will be returned. If hasNext is
|
|
37
|
+
* ```true``` despite these records, ***it means there are more records.*** If
|
|
38
|
+
* hasNext is ```false```, it means there are a total of ***90 records.***
|
|
35
39
|
*/
|
|
36
40
|
hasNext: boolean;
|
|
37
41
|
/**
|
|
38
|
-
* The maximum number of data you want to see on a page in the records returned
|
|
39
|
-
* For example, if the limit is
|
|
40
|
-
*
|
|
41
|
-
*
|
|
42
|
-
* :::
|
|
42
|
+
* The maximum number of data you want to see on a page in the records returned
|
|
43
|
+
* as a response. For example, if the limit is ***20***, the data will be
|
|
44
|
+
* displayed ***as 20 each.***<br />:::note<br />min 1, max 200 values can be
|
|
45
|
+
* given. If no value is entered, default 50 is accepted.<br />:::
|
|
43
46
|
*/
|
|
44
47
|
limit: number;
|
|
45
48
|
/**
|
|
46
49
|
* The number of the page you want to see in the records that return as response.
|
|
47
|
-
* For example: We entered the page field as
|
|
48
|
-
* The records that will return as a response are the records
|
|
49
|
-
*
|
|
50
|
-
*
|
|
51
|
-
* :::
|
|
50
|
+
* For example: We entered the page field as ***3***.And let our limit field be
|
|
51
|
+
* ***30***. The records that will return as a response are the records
|
|
52
|
+
* ***between 60-90.***<br />:::note<br />If no value is entered, default 1 is
|
|
53
|
+
* accepted.<br /> :::
|
|
52
54
|
*/
|
|
53
55
|
page: number;
|
|
54
56
|
}
|
|
@@ -14,31 +14,33 @@ export interface listBlogMetaData_listBlogMetadata_data {
|
|
|
14
14
|
export interface listBlogMetaData_listBlogMetadata {
|
|
15
15
|
__typename: "BlogMetadataPaginationResponse";
|
|
16
16
|
/**
|
|
17
|
-
* Returns the first three records of each page in the records returned as a
|
|
18
|
-
* For example,
|
|
19
|
-
*
|
|
17
|
+
* Returns the first three records of each page in the records returned as a
|
|
18
|
+
* response. For example, ***let's say page = 3, limit = 30, count = 3.*** The
|
|
19
|
+
* records that will return as a response are the records ***between 60-62.***
|
|
20
20
|
*/
|
|
21
21
|
count: number;
|
|
22
22
|
data: listBlogMetaData_listBlogMetadata_data[];
|
|
23
23
|
/**
|
|
24
|
-
* In the records returned as Response, it shows whether there are any more
|
|
24
|
+
* In the records returned as Response, it shows whether there are any more
|
|
25
|
+
* records or not. For example, let's say our page field is three and our limit
|
|
26
|
+
* field is thirty. Records between 60 and 90 will be returned. If hasNext is
|
|
27
|
+
* ```true``` despite these records, ***it means there are more records.*** If
|
|
28
|
+
* hasNext is ```false```, it means there are a total of ***90 records.***
|
|
25
29
|
*/
|
|
26
30
|
hasNext: boolean;
|
|
27
31
|
/**
|
|
28
|
-
* The maximum number of data you want to see on a page in the records returned
|
|
29
|
-
* For example, if the limit is
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
* :::
|
|
32
|
+
* The maximum number of data you want to see on a page in the records returned
|
|
33
|
+
* as a response. For example, if the limit is ***20***, the data will be
|
|
34
|
+
* displayed ***as 20 each.***<br />:::note<br />min 1, max 200 values can be
|
|
35
|
+
* given. If no value is entered, default 50 is accepted.<br />:::
|
|
33
36
|
*/
|
|
34
37
|
limit: number;
|
|
35
38
|
/**
|
|
36
39
|
* The number of the page you want to see in the records that return as response.
|
|
37
|
-
* For example: We entered the page field as
|
|
38
|
-
* The records that will return as a response are the records
|
|
39
|
-
*
|
|
40
|
-
*
|
|
41
|
-
* :::
|
|
40
|
+
* For example: We entered the page field as ***3***.And let our limit field be
|
|
41
|
+
* ***30***. The records that will return as a response are the records
|
|
42
|
+
* ***between 60-90.***<br />:::note<br />If no value is entered, default 1 is
|
|
43
|
+
* accepted.<br /> :::
|
|
42
44
|
*/
|
|
43
45
|
page: number;
|
|
44
46
|
}
|
|
@@ -71,9 +71,9 @@ export interface listProductBrand_listProductBrand {
|
|
|
71
71
|
__typename: "ProductBrandPaginationResponse";
|
|
72
72
|
data: listProductBrand_listProductBrand_data[];
|
|
73
73
|
/**
|
|
74
|
-
* Returns the first three records of each page in the records returned as a
|
|
75
|
-
* For example,
|
|
76
|
-
*
|
|
74
|
+
* Returns the first three records of each page in the records returned as a
|
|
75
|
+
* response. For example, ***let's say page = 3, limit = 30, count = 3.*** The
|
|
76
|
+
* records that will return as a response are the records ***between 60-62.***
|
|
77
77
|
*/
|
|
78
78
|
count: number;
|
|
79
79
|
}
|
|
@@ -105,7 +105,8 @@ export interface getCart_getCart_items {
|
|
|
105
105
|
*/
|
|
106
106
|
discountPrice: number | null;
|
|
107
107
|
/**
|
|
108
|
-
* It is the final price of the order line item. If the discount price is less
|
|
108
|
+
* It is the final price of the order line item. If the discount price is less
|
|
109
|
+
* than the sell price, the final price is equal to the discount price.
|
|
109
110
|
*/
|
|
110
111
|
finalPrice: number | null;
|
|
111
112
|
id: string;
|
|
@@ -114,7 +115,8 @@ export interface getCart_getCart_items {
|
|
|
114
115
|
*/
|
|
115
116
|
options: getCart_getCart_items_options[] | null;
|
|
116
117
|
/**
|
|
117
|
-
* It is the original order line item id of the line item. If the line item is
|
|
118
|
+
* It is the original order line item id of the line item. If the line item is
|
|
119
|
+
* derived from another line item, this field is filled.
|
|
118
120
|
*/
|
|
119
121
|
originalOrderLineItemId: string | null;
|
|
120
122
|
/**
|
|
@@ -117,7 +117,8 @@ export interface saveItemToCart_saveItemToCart_items {
|
|
|
117
117
|
*/
|
|
118
118
|
discountPrice: number | null;
|
|
119
119
|
/**
|
|
120
|
-
* It is the final price of the order line item. If the discount price is less
|
|
120
|
+
* It is the final price of the order line item. If the discount price is less
|
|
121
|
+
* than the sell price, the final price is equal to the discount price.
|
|
121
122
|
*/
|
|
122
123
|
finalPrice: number | null;
|
|
123
124
|
id: string;
|
|
@@ -126,7 +127,8 @@ export interface saveItemToCart_saveItemToCart_items {
|
|
|
126
127
|
*/
|
|
127
128
|
options: saveItemToCart_saveItemToCart_items_options[] | null;
|
|
128
129
|
/**
|
|
129
|
-
* It is the original order line item id of the line item. If the line item is
|
|
130
|
+
* It is the original order line item id of the line item. If the line item is
|
|
131
|
+
* derived from another line item, this field is filled.
|
|
130
132
|
*/
|
|
131
133
|
originalOrderLineItemId: string | null;
|
|
132
134
|
/**
|
|
@@ -82,9 +82,9 @@ export interface listCategory_listCategory {
|
|
|
82
82
|
__typename: "CategoryPaginationResponse";
|
|
83
83
|
data: listCategory_listCategory_data[];
|
|
84
84
|
/**
|
|
85
|
-
* Returns the first three records of each page in the records returned as a
|
|
86
|
-
* For example,
|
|
87
|
-
*
|
|
85
|
+
* Returns the first three records of each page in the records returned as a
|
|
86
|
+
* response. For example, ***let's say page = 3, limit = 30, count = 3.*** The
|
|
87
|
+
* records that will return as a response are the records ***between 60-62.***
|
|
88
88
|
*/
|
|
89
89
|
count: number;
|
|
90
90
|
}
|
|
@@ -425,12 +425,14 @@ export interface getCheckoutById_getCheckoutById_cart_items {
|
|
|
425
425
|
*/
|
|
426
426
|
discountPrice: number | null;
|
|
427
427
|
/**
|
|
428
|
-
* It is the final price of the order line item. If the discount price is less
|
|
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.
|
|
429
430
|
*/
|
|
430
431
|
finalPrice: number | null;
|
|
431
432
|
id: string;
|
|
432
433
|
/**
|
|
433
|
-
* It is the original order line item id of the line item. If the line item is
|
|
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.
|
|
434
436
|
*/
|
|
435
437
|
originalOrderLineItemId: string | null;
|
|
436
438
|
/**
|
|
@@ -276,12 +276,14 @@ export interface getOrder_getOrder_orderLineItems {
|
|
|
276
276
|
*/
|
|
277
277
|
discountPrice: number | null;
|
|
278
278
|
/**
|
|
279
|
-
* It is the final price of the order line item. If the discount price is less
|
|
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.
|
|
280
281
|
*/
|
|
281
282
|
finalPrice: number | null;
|
|
282
283
|
id: string;
|
|
283
284
|
/**
|
|
284
|
-
* It is the original order line item id of the line item. If the line item is
|
|
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.
|
|
285
287
|
*/
|
|
286
288
|
originalOrderLineItemId: string | null;
|
|
287
289
|
/**
|
|
@@ -329,7 +331,8 @@ export interface getOrder_getOrder_orderPackages_trackingInfo {
|
|
|
329
331
|
*/
|
|
330
332
|
trackingLink: string | null;
|
|
331
333
|
/**
|
|
332
|
-
* Indicates whether the notification is sent to the customer after the cargo is
|
|
334
|
+
* Indicates whether the notification is sent to the customer after the cargo is
|
|
335
|
+
* delivered. ***isSendNotification*** returns true if the notification is sent.
|
|
333
336
|
*/
|
|
334
337
|
isSendNotification: boolean | null;
|
|
335
338
|
/**
|
|
@@ -534,7 +537,8 @@ export interface getOrder_getOrder {
|
|
|
534
537
|
*/
|
|
535
538
|
currencyRates: getOrder_getOrder_currencyRates[];
|
|
536
539
|
/**
|
|
537
|
-
* Information about the customer. The order does not have to be a customer
|
|
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.
|
|
538
542
|
*/
|
|
539
543
|
customer: getOrder_getOrder_customer | null;
|
|
540
544
|
deleted: boolean | null;
|
|
@@ -597,7 +601,9 @@ export interface getOrder_getOrder {
|
|
|
597
601
|
*/
|
|
598
602
|
taxLines: getOrder_getOrder_taxLines[] | null;
|
|
599
603
|
/**
|
|
600
|
-
* The total final price of the order resulting from the apply of
|
|
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.
|
|
601
607
|
*/
|
|
602
608
|
totalFinalPrice: number;
|
|
603
609
|
/**
|
|
@@ -250,12 +250,14 @@ export interface createOrderRefundRequest_createOrderRefundRequest_orderLineItem
|
|
|
250
250
|
*/
|
|
251
251
|
discountPrice: number | null;
|
|
252
252
|
/**
|
|
253
|
-
* It is the final price of the order line item. If the discount price is less
|
|
253
|
+
* It is the final price of the order line item. If the discount price is less
|
|
254
|
+
* than the sell price, the final price is equal to the discount price.
|
|
254
255
|
*/
|
|
255
256
|
finalPrice: number | null;
|
|
256
257
|
id: string;
|
|
257
258
|
/**
|
|
258
|
-
* It is the original order line item id of the line item. If the line item is
|
|
259
|
+
* It is the original order line item id of the line item. If the line item is
|
|
260
|
+
* derived from another line item, this field is filled.
|
|
259
261
|
*/
|
|
260
262
|
originalOrderLineItemId: string | null;
|
|
261
263
|
/**
|
|
@@ -299,7 +301,8 @@ export interface createOrderRefundRequest_createOrderRefundRequest_orderPackages
|
|
|
299
301
|
*/
|
|
300
302
|
trackingLink: string | null;
|
|
301
303
|
/**
|
|
302
|
-
* Indicates whether the notification is sent to the customer after the cargo is
|
|
304
|
+
* Indicates whether the notification is sent to the customer after the cargo is
|
|
305
|
+
* delivered. ***isSendNotification*** returns true if the notification is sent.
|
|
303
306
|
*/
|
|
304
307
|
isSendNotification: boolean | null;
|
|
305
308
|
/**
|
|
@@ -504,7 +507,8 @@ export interface createOrderRefundRequest_createOrderRefundRequest {
|
|
|
504
507
|
*/
|
|
505
508
|
currencyRates: createOrderRefundRequest_createOrderRefundRequest_currencyRates[];
|
|
506
509
|
/**
|
|
507
|
-
* Information about the customer. The order does not have to be a customer
|
|
510
|
+
* Information about the customer. The order does not have to be a customer
|
|
511
|
+
* information. If the order was created by ikasPOS, the customer information may be null.
|
|
508
512
|
*/
|
|
509
513
|
customer: createOrderRefundRequest_createOrderRefundRequest_customer | null;
|
|
510
514
|
deleted: boolean | null;
|
|
@@ -567,7 +571,9 @@ export interface createOrderRefundRequest_createOrderRefundRequest {
|
|
|
567
571
|
*/
|
|
568
572
|
taxLines: createOrderRefundRequest_createOrderRefundRequest_taxLines[] | null;
|
|
569
573
|
/**
|
|
570
|
-
* The total final price of the order resulting from the apply of
|
|
574
|
+
* The total final price of the order resulting from the apply of
|
|
575
|
+
* ``orderAdjustments`` , ```shippingLines```, and ```giftPackageLines```
|
|
576
|
+
* pricing to the order total price.
|
|
571
577
|
*/
|
|
572
578
|
totalFinalPrice: number;
|
|
573
579
|
/**
|
|
@@ -22,14 +22,6 @@ export interface customerLogin_customerLogin_customer_addresses_country {
|
|
|
22
22
|
* The customer's normalized country name.
|
|
23
23
|
*/
|
|
24
24
|
name: string;
|
|
25
|
-
/**
|
|
26
|
-
* The two-letter country code corresponding to the customer's country.
|
|
27
|
-
*/
|
|
28
|
-
iso2: string | null;
|
|
29
|
-
/**
|
|
30
|
-
* The two-letter country code corresponding to the customer's country.
|
|
31
|
-
*/
|
|
32
|
-
iso3: string | null;
|
|
33
25
|
}
|
|
34
26
|
export interface customerLogin_customerLogin_customer_addresses_district {
|
|
35
27
|
__typename: "CustomerAddressDistrict";
|
|
@@ -85,7 +77,7 @@ export interface customerLogin_customerLogin_customer_addresses {
|
|
|
85
77
|
*/
|
|
86
78
|
firstName: string;
|
|
87
79
|
/**
|
|
88
|
-
* Whether this address is the default address for the customer. Returns
|
|
80
|
+
* Whether this address is the default address for the customer. Returns ```true``` for each default address.
|
|
89
81
|
*/
|
|
90
82
|
isDefault: boolean | null;
|
|
91
83
|
/**
|
|
@@ -111,11 +103,11 @@ export interface customerLogin_customerLogin_customer {
|
|
|
111
103
|
__typename: "Customer";
|
|
112
104
|
id: string;
|
|
113
105
|
/**
|
|
114
|
-
* Email verification status.
|
|
106
|
+
* Email verification status. ***isEmailVerified*** returns ```true``` if the email is verified.
|
|
115
107
|
*/
|
|
116
108
|
isEmailVerified: boolean | null;
|
|
117
109
|
/**
|
|
118
|
-
* Phone verification status.
|
|
110
|
+
* Phone verification status. ***isPhoneVerified*** returns ```true``` if the email is verified.
|
|
119
111
|
*/
|
|
120
112
|
isPhoneVerified: boolean | null;
|
|
121
113
|
/**
|
|
@@ -135,7 +127,8 @@ export interface customerLogin_customerLogin_customer {
|
|
|
135
127
|
*/
|
|
136
128
|
accountStatus: CustomerAccountStatusEnum | null;
|
|
137
129
|
/**
|
|
138
|
-
* The unique email address of the customer. Attempting to assign the same email
|
|
130
|
+
* The unique email address of the customer. Attempting to assign the same email
|
|
131
|
+
* address to multiple customers returns an error.
|
|
139
132
|
*/
|
|
140
133
|
email: string | null;
|
|
141
134
|
/**
|
|
@@ -276,12 +276,14 @@ export interface getCustomerOrders_getCustomerOrders_orderLineItems {
|
|
|
276
276
|
*/
|
|
277
277
|
discountPrice: number | null;
|
|
278
278
|
/**
|
|
279
|
-
* It is the final price of the order line item. If the discount price is less
|
|
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.
|
|
280
281
|
*/
|
|
281
282
|
finalPrice: number | null;
|
|
282
283
|
id: string;
|
|
283
284
|
/**
|
|
284
|
-
* It is the original order line item id of the line item. If the line item is
|
|
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.
|
|
285
287
|
*/
|
|
286
288
|
originalOrderLineItemId: string | null;
|
|
287
289
|
/**
|
|
@@ -329,7 +331,8 @@ export interface getCustomerOrders_getCustomerOrders_orderPackages_trackingInfo
|
|
|
329
331
|
*/
|
|
330
332
|
trackingLink: string | null;
|
|
331
333
|
/**
|
|
332
|
-
* Indicates whether the notification is sent to the customer after the cargo is
|
|
334
|
+
* Indicates whether the notification is sent to the customer after the cargo is
|
|
335
|
+
* delivered. ***isSendNotification*** returns true if the notification is sent.
|
|
333
336
|
*/
|
|
334
337
|
isSendNotification: boolean | null;
|
|
335
338
|
/**
|
|
@@ -534,7 +537,8 @@ export interface getCustomerOrders_getCustomerOrders {
|
|
|
534
537
|
*/
|
|
535
538
|
currencyRates: getCustomerOrders_getCustomerOrders_currencyRates[];
|
|
536
539
|
/**
|
|
537
|
-
* Information about the customer. The order does not have to be a customer
|
|
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.
|
|
538
542
|
*/
|
|
539
543
|
customer: getCustomerOrders_getCustomerOrders_customer | null;
|
|
540
544
|
deleted: boolean | null;
|
|
@@ -597,7 +601,9 @@ export interface getCustomerOrders_getCustomerOrders {
|
|
|
597
601
|
*/
|
|
598
602
|
taxLines: getCustomerOrders_getCustomerOrders_taxLines[] | null;
|
|
599
603
|
/**
|
|
600
|
-
* The total final price of the order resulting from the apply of
|
|
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.
|
|
601
607
|
*/
|
|
602
608
|
totalFinalPrice: number;
|
|
603
609
|
/**
|
|
@@ -73,7 +73,7 @@ export interface getMyCustomer_getMyCustomer_addresses {
|
|
|
73
73
|
*/
|
|
74
74
|
firstName: string;
|
|
75
75
|
/**
|
|
76
|
-
* Whether this address is the default address for the customer. Returns
|
|
76
|
+
* Whether this address is the default address for the customer. Returns ```true``` for each default address.
|
|
77
77
|
*/
|
|
78
78
|
isDefault: boolean | null;
|
|
79
79
|
/**
|
|
@@ -103,11 +103,11 @@ export interface getMyCustomer_getMyCustomer {
|
|
|
103
103
|
__typename: "Customer";
|
|
104
104
|
id: string;
|
|
105
105
|
/**
|
|
106
|
-
* Email verification status.
|
|
106
|
+
* Email verification status. ***isEmailVerified*** returns ```true``` if the email is verified.
|
|
107
107
|
*/
|
|
108
108
|
isEmailVerified: boolean | null;
|
|
109
109
|
/**
|
|
110
|
-
* Phone verification status.
|
|
110
|
+
* Phone verification status. ***isPhoneVerified*** returns ```true``` if the email is verified.
|
|
111
111
|
*/
|
|
112
112
|
isPhoneVerified: boolean | null;
|
|
113
113
|
/**
|
|
@@ -127,7 +127,8 @@ export interface getMyCustomer_getMyCustomer {
|
|
|
127
127
|
*/
|
|
128
128
|
accountStatus: CustomerAccountStatusEnum | null;
|
|
129
129
|
/**
|
|
130
|
-
* The unique email address of the customer. Attempting to assign the same email
|
|
130
|
+
* The unique email address of the customer. Attempting to assign the same email
|
|
131
|
+
* address to multiple customers returns an error.
|
|
131
132
|
*/
|
|
132
133
|
email: string | null;
|
|
133
134
|
/**
|
|
@@ -22,14 +22,6 @@ export interface registerCustomer_registerCustomer_customer_addresses_country {
|
|
|
22
22
|
* The customer's normalized country name.
|
|
23
23
|
*/
|
|
24
24
|
name: string;
|
|
25
|
-
/**
|
|
26
|
-
* The two-letter country code corresponding to the customer's country.
|
|
27
|
-
*/
|
|
28
|
-
iso2: string | null;
|
|
29
|
-
/**
|
|
30
|
-
* The two-letter country code corresponding to the customer's country.
|
|
31
|
-
*/
|
|
32
|
-
iso3: string | null;
|
|
33
25
|
}
|
|
34
26
|
export interface registerCustomer_registerCustomer_customer_addresses_district {
|
|
35
27
|
__typename: "CustomerAddressDistrict";
|
|
@@ -81,7 +73,7 @@ export interface registerCustomer_registerCustomer_customer_addresses {
|
|
|
81
73
|
*/
|
|
82
74
|
firstName: string;
|
|
83
75
|
/**
|
|
84
|
-
* Whether this address is the default address for the customer. Returns
|
|
76
|
+
* Whether this address is the default address for the customer. Returns ```true``` for each default address.
|
|
85
77
|
*/
|
|
86
78
|
isDefault: boolean | null;
|
|
87
79
|
/**
|
|
@@ -107,11 +99,11 @@ export interface registerCustomer_registerCustomer_customer {
|
|
|
107
99
|
__typename: "Customer";
|
|
108
100
|
id: string;
|
|
109
101
|
/**
|
|
110
|
-
* Email verification status.
|
|
102
|
+
* Email verification status. ***isEmailVerified*** returns ```true``` if the email is verified.
|
|
111
103
|
*/
|
|
112
104
|
isEmailVerified: boolean | null;
|
|
113
105
|
/**
|
|
114
|
-
* Phone verification status.
|
|
106
|
+
* Phone verification status. ***isPhoneVerified*** returns ```true``` if the email is verified.
|
|
115
107
|
*/
|
|
116
108
|
isPhoneVerified: boolean | null;
|
|
117
109
|
/**
|
|
@@ -131,7 +123,8 @@ export interface registerCustomer_registerCustomer_customer {
|
|
|
131
123
|
*/
|
|
132
124
|
accountStatus: CustomerAccountStatusEnum | null;
|
|
133
125
|
/**
|
|
134
|
-
* The unique email address of the customer. Attempting to assign the same email
|
|
126
|
+
* The unique email address of the customer. Attempting to assign the same email
|
|
127
|
+
* address to multiple customers returns an error.
|
|
135
128
|
*/
|
|
136
129
|
email: string | null;
|
|
137
130
|
/**
|
|
@@ -22,14 +22,6 @@ export interface saveMyCustomer_saveMyCustomer_addresses_country {
|
|
|
22
22
|
* The customer's normalized country name.
|
|
23
23
|
*/
|
|
24
24
|
name: string;
|
|
25
|
-
/**
|
|
26
|
-
* The two-letter country code corresponding to the customer's country.
|
|
27
|
-
*/
|
|
28
|
-
iso2: string | null;
|
|
29
|
-
/**
|
|
30
|
-
* The two-letter country code corresponding to the customer's country.
|
|
31
|
-
*/
|
|
32
|
-
iso3: string | null;
|
|
33
25
|
}
|
|
34
26
|
export interface saveMyCustomer_saveMyCustomer_addresses_district {
|
|
35
27
|
__typename: "CustomerAddressDistrict";
|
|
@@ -81,7 +73,7 @@ export interface saveMyCustomer_saveMyCustomer_addresses {
|
|
|
81
73
|
*/
|
|
82
74
|
firstName: string;
|
|
83
75
|
/**
|
|
84
|
-
* Whether this address is the default address for the customer. Returns
|
|
76
|
+
* Whether this address is the default address for the customer. Returns ```true``` for each default address.
|
|
85
77
|
*/
|
|
86
78
|
isDefault: boolean | null;
|
|
87
79
|
/**
|
|
@@ -115,11 +107,11 @@ export interface saveMyCustomer_saveMyCustomer {
|
|
|
115
107
|
__typename: "Customer";
|
|
116
108
|
id: string;
|
|
117
109
|
/**
|
|
118
|
-
* Email verification status.
|
|
110
|
+
* Email verification status. ***isEmailVerified*** returns ```true``` if the email is verified.
|
|
119
111
|
*/
|
|
120
112
|
isEmailVerified: boolean | null;
|
|
121
113
|
/**
|
|
122
|
-
* Phone verification status.
|
|
114
|
+
* Phone verification status. ***isPhoneVerified*** returns ```true``` if the email is verified.
|
|
123
115
|
*/
|
|
124
116
|
isPhoneVerified: boolean | null;
|
|
125
117
|
/**
|
|
@@ -139,7 +131,8 @@ export interface saveMyCustomer_saveMyCustomer {
|
|
|
139
131
|
*/
|
|
140
132
|
accountStatus: CustomerAccountStatusEnum | null;
|
|
141
133
|
/**
|
|
142
|
-
* The unique email address of the customer. Attempting to assign the same email
|
|
134
|
+
* The unique email address of the customer. Attempting to assign the same email
|
|
135
|
+
* address to multiple customers returns an error.
|
|
143
136
|
*/
|
|
144
137
|
email: string | null;
|
|
145
138
|
/**
|
|
@@ -9,11 +9,6 @@ export declare class IkasCustomerAPI {
|
|
|
9
9
|
token: string;
|
|
10
10
|
tokenExpiry: number;
|
|
11
11
|
} | undefined>;
|
|
12
|
-
static socialLogin(code: string): Promise<{
|
|
13
|
-
customer: IkasCustomer;
|
|
14
|
-
token: string;
|
|
15
|
-
tokenExpiry: number;
|
|
16
|
-
} | undefined>;
|
|
17
12
|
static register(email: string, password: string, firstName: string, lastName: string, isAcceptMarketing?: boolean): Promise<{
|
|
18
13
|
customer: IkasCustomer;
|
|
19
14
|
__typename: "CustomerLoginResponse";
|