@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,20 +1,38 @@
|
|
|
1
1
|
import { CustomerAccountStatusEnum, CustomerEmailSubscriptionStatusesEnum } from "../../../__generated__/global-types";
|
|
2
2
|
export interface customerLogin_customerLogin_customer_addresses_city {
|
|
3
3
|
__typename: "CustomerAddressCity";
|
|
4
|
+
/**
|
|
5
|
+
* The two-letter country code corresponding to the customer's country.
|
|
6
|
+
*/
|
|
4
7
|
code: string | null;
|
|
5
8
|
id: string | null;
|
|
9
|
+
/**
|
|
10
|
+
* The customer's normalized city name.
|
|
11
|
+
*/
|
|
6
12
|
name: string;
|
|
7
13
|
}
|
|
8
14
|
export interface customerLogin_customerLogin_customer_addresses_country {
|
|
9
15
|
__typename: "CustomerAddressCountry";
|
|
16
|
+
/**
|
|
17
|
+
* The two-letter country code corresponding to the customer's country.
|
|
18
|
+
*/
|
|
10
19
|
code: string | null;
|
|
11
20
|
id: string | null;
|
|
21
|
+
/**
|
|
22
|
+
* The customer's normalized country name.
|
|
23
|
+
*/
|
|
12
24
|
name: string;
|
|
13
25
|
}
|
|
14
26
|
export interface customerLogin_customerLogin_customer_addresses_district {
|
|
15
27
|
__typename: "CustomerAddressDistrict";
|
|
16
28
|
id: string | null;
|
|
29
|
+
/**
|
|
30
|
+
* The customer's normalized district name.
|
|
31
|
+
*/
|
|
17
32
|
name: string | null;
|
|
33
|
+
/**
|
|
34
|
+
* The two-letter district code corresponding to the customer's district.
|
|
35
|
+
*/
|
|
18
36
|
code: string | null;
|
|
19
37
|
}
|
|
20
38
|
export interface customerLogin_customerLogin_customer_addresses_state {
|
|
@@ -25,34 +43,101 @@ export interface customerLogin_customerLogin_customer_addresses_state {
|
|
|
25
43
|
}
|
|
26
44
|
export interface customerLogin_customerLogin_customer_addresses {
|
|
27
45
|
__typename: "CustomerAddress";
|
|
46
|
+
/**
|
|
47
|
+
* The customer's mailing address.
|
|
48
|
+
*/
|
|
28
49
|
addressLine1: string;
|
|
50
|
+
/**
|
|
51
|
+
* An additional field for the customer's mailing address.
|
|
52
|
+
*/
|
|
29
53
|
addressLine2: string | null;
|
|
54
|
+
/**
|
|
55
|
+
* The customer's identity numbers.
|
|
56
|
+
*/
|
|
30
57
|
identityNumber: string | null;
|
|
58
|
+
/**
|
|
59
|
+
* The customer's city.
|
|
60
|
+
*/
|
|
31
61
|
city: customerLogin_customerLogin_customer_addresses_city;
|
|
62
|
+
/**
|
|
63
|
+
* The customer's company.
|
|
64
|
+
*/
|
|
32
65
|
company: string | null;
|
|
66
|
+
/**
|
|
67
|
+
* The customer's country.
|
|
68
|
+
*/
|
|
33
69
|
country: customerLogin_customerLogin_customer_addresses_country;
|
|
70
|
+
/**
|
|
71
|
+
* The customer's district in city.
|
|
72
|
+
*/
|
|
34
73
|
district: customerLogin_customerLogin_customer_addresses_district | null;
|
|
35
74
|
id: string;
|
|
75
|
+
/**
|
|
76
|
+
* The customer's first name.
|
|
77
|
+
*/
|
|
36
78
|
firstName: string;
|
|
79
|
+
/**
|
|
80
|
+
* Whether this address is the default address for the customer. Returns ```true``` for each default address.
|
|
81
|
+
*/
|
|
37
82
|
isDefault: boolean | null;
|
|
83
|
+
/**
|
|
84
|
+
* The customer's last name.
|
|
85
|
+
*/
|
|
38
86
|
lastName: string;
|
|
87
|
+
/**
|
|
88
|
+
* The customer's postal code, also known as zip, postcode, etc.
|
|
89
|
+
*/
|
|
39
90
|
postalCode: string | null;
|
|
40
91
|
state: customerLogin_customerLogin_customer_addresses_state | null;
|
|
92
|
+
/**
|
|
93
|
+
* Tax number that the customer will use for orders
|
|
94
|
+
*/
|
|
41
95
|
taxNumber: string | null;
|
|
96
|
+
/**
|
|
97
|
+
* If customer is corporate, customer can use that field to fill their Tax Office name.
|
|
98
|
+
*/
|
|
42
99
|
taxOffice: string | null;
|
|
43
100
|
title: string;
|
|
44
101
|
}
|
|
45
102
|
export interface customerLogin_customerLogin_customer {
|
|
46
103
|
__typename: "Customer";
|
|
47
104
|
id: string;
|
|
105
|
+
/**
|
|
106
|
+
* Email verification status. ***isEmailVerified*** returns ```true``` if the email is verified.
|
|
107
|
+
*/
|
|
48
108
|
isEmailVerified: boolean | null;
|
|
109
|
+
/**
|
|
110
|
+
* Phone verification status. ***isPhoneVerified*** returns ```true``` if the email is verified.
|
|
111
|
+
*/
|
|
49
112
|
isPhoneVerified: boolean | null;
|
|
113
|
+
/**
|
|
114
|
+
* The customer's last name.
|
|
115
|
+
*/
|
|
50
116
|
lastName: string | null;
|
|
117
|
+
/**
|
|
118
|
+
* A list of the ten most recently updated addresses for the customer.
|
|
119
|
+
*/
|
|
51
120
|
addresses: customerLogin_customerLogin_customer_addresses[] | null;
|
|
121
|
+
/**
|
|
122
|
+
* The customer's phone number
|
|
123
|
+
*/
|
|
52
124
|
phone: string | null;
|
|
125
|
+
/**
|
|
126
|
+
* CustomerAccountStatusEnum
|
|
127
|
+
*/
|
|
53
128
|
accountStatus: CustomerAccountStatusEnum | null;
|
|
129
|
+
/**
|
|
130
|
+
* The unique email address of the customer. Attempting to assign the same email
|
|
131
|
+
* address to multiple customers returns an error.
|
|
132
|
+
*/
|
|
54
133
|
email: string | null;
|
|
134
|
+
/**
|
|
135
|
+
* The customer's first name.
|
|
136
|
+
*/
|
|
55
137
|
firstName: string;
|
|
138
|
+
/**
|
|
139
|
+
* CustomerEmailSubscriptionStatusesEnum
|
|
140
|
+
*/
|
|
56
141
|
subscriptionStatus: CustomerEmailSubscriptionStatusesEnum | null;
|
|
57
142
|
}
|
|
58
143
|
export interface customerLogin_customerLogin {
|