@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,20 +1,38 @@
|
|
|
1
1
|
import { CustomerAccountStatusEnum } from "../../../__generated__/global-types";
|
|
2
2
|
export interface getMyCustomer_getMyCustomer_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 getMyCustomer_getMyCustomer_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 getMyCustomer_getMyCustomer_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 getMyCustomer_getMyCustomer_addresses_state {
|
|
@@ -25,33 +43,97 @@ export interface getMyCustomer_getMyCustomer_addresses_state {
|
|
|
25
43
|
}
|
|
26
44
|
export interface getMyCustomer_getMyCustomer_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 city.
|
|
56
|
+
*/
|
|
30
57
|
city: getMyCustomer_getMyCustomer_addresses_city;
|
|
58
|
+
/**
|
|
59
|
+
* The customer's company.
|
|
60
|
+
*/
|
|
31
61
|
company: string | null;
|
|
62
|
+
/**
|
|
63
|
+
* The customer's country.
|
|
64
|
+
*/
|
|
32
65
|
country: getMyCustomer_getMyCustomer_addresses_country;
|
|
66
|
+
/**
|
|
67
|
+
* The customer's district in city.
|
|
68
|
+
*/
|
|
33
69
|
district: getMyCustomer_getMyCustomer_addresses_district | null;
|
|
34
70
|
id: string;
|
|
71
|
+
/**
|
|
72
|
+
* The customer's first name.
|
|
73
|
+
*/
|
|
35
74
|
firstName: string;
|
|
75
|
+
/**
|
|
76
|
+
* Whether this address is the default address for the customer. Returns ```true``` for each default address.
|
|
77
|
+
*/
|
|
36
78
|
isDefault: boolean | null;
|
|
79
|
+
/**
|
|
80
|
+
* The customer's last name.
|
|
81
|
+
*/
|
|
37
82
|
lastName: string;
|
|
83
|
+
/**
|
|
84
|
+
* The customer's postal code, also known as zip, postcode, etc.
|
|
85
|
+
*/
|
|
38
86
|
postalCode: string | null;
|
|
39
87
|
state: getMyCustomer_getMyCustomer_addresses_state | null;
|
|
88
|
+
/**
|
|
89
|
+
* Tax number that the customer will use for orders
|
|
90
|
+
*/
|
|
40
91
|
taxNumber: string | null;
|
|
92
|
+
/**
|
|
93
|
+
* If customer is corporate, customer can use that field to fill their Tax Office name.
|
|
94
|
+
*/
|
|
41
95
|
taxOffice: string | null;
|
|
42
96
|
title: string;
|
|
97
|
+
/**
|
|
98
|
+
* The customer's phone number at this address
|
|
99
|
+
*/
|
|
43
100
|
phone: string | null;
|
|
44
101
|
}
|
|
45
102
|
export interface getMyCustomer_getMyCustomer {
|
|
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: getMyCustomer_getMyCustomer_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;
|
|
56
138
|
}
|
|
57
139
|
export interface getMyCustomer {
|
|
@@ -1,20 +1,38 @@
|
|
|
1
1
|
import { CustomerAccountStatusEnum } from "../../../__generated__/global-types";
|
|
2
2
|
export interface registerCustomer_registerCustomer_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 registerCustomer_registerCustomer_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 registerCustomer_registerCustomer_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 registerCustomer_registerCustomer_customer_addresses_state {
|
|
@@ -25,32 +43,93 @@ export interface registerCustomer_registerCustomer_customer_addresses_state {
|
|
|
25
43
|
}
|
|
26
44
|
export interface registerCustomer_registerCustomer_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 city.
|
|
56
|
+
*/
|
|
30
57
|
city: registerCustomer_registerCustomer_customer_addresses_city;
|
|
58
|
+
/**
|
|
59
|
+
* The customer's company.
|
|
60
|
+
*/
|
|
31
61
|
company: string | null;
|
|
62
|
+
/**
|
|
63
|
+
* The customer's country.
|
|
64
|
+
*/
|
|
32
65
|
country: registerCustomer_registerCustomer_customer_addresses_country;
|
|
66
|
+
/**
|
|
67
|
+
* The customer's district in city.
|
|
68
|
+
*/
|
|
33
69
|
district: registerCustomer_registerCustomer_customer_addresses_district | null;
|
|
34
70
|
id: string;
|
|
71
|
+
/**
|
|
72
|
+
* The customer's first name.
|
|
73
|
+
*/
|
|
35
74
|
firstName: string;
|
|
75
|
+
/**
|
|
76
|
+
* Whether this address is the default address for the customer. Returns ```true``` for each default address.
|
|
77
|
+
*/
|
|
36
78
|
isDefault: boolean | null;
|
|
79
|
+
/**
|
|
80
|
+
* The customer's last name.
|
|
81
|
+
*/
|
|
37
82
|
lastName: string;
|
|
83
|
+
/**
|
|
84
|
+
* The customer's postal code, also known as zip, postcode, etc.
|
|
85
|
+
*/
|
|
38
86
|
postalCode: string | null;
|
|
39
87
|
state: registerCustomer_registerCustomer_customer_addresses_state | null;
|
|
88
|
+
/**
|
|
89
|
+
* Tax number that the customer will use for orders
|
|
90
|
+
*/
|
|
40
91
|
taxNumber: string | null;
|
|
92
|
+
/**
|
|
93
|
+
* If customer is corporate, customer can use that field to fill their Tax Office name.
|
|
94
|
+
*/
|
|
41
95
|
taxOffice: string | null;
|
|
42
96
|
title: string;
|
|
43
97
|
}
|
|
44
98
|
export interface registerCustomer_registerCustomer_customer {
|
|
45
99
|
__typename: "Customer";
|
|
46
100
|
id: string;
|
|
101
|
+
/**
|
|
102
|
+
* Email verification status. ***isEmailVerified*** returns ```true``` if the email is verified.
|
|
103
|
+
*/
|
|
47
104
|
isEmailVerified: boolean | null;
|
|
105
|
+
/**
|
|
106
|
+
* Phone verification status. ***isPhoneVerified*** returns ```true``` if the email is verified.
|
|
107
|
+
*/
|
|
48
108
|
isPhoneVerified: boolean | null;
|
|
109
|
+
/**
|
|
110
|
+
* The customer's last name.
|
|
111
|
+
*/
|
|
49
112
|
lastName: string | null;
|
|
113
|
+
/**
|
|
114
|
+
* A list of the ten most recently updated addresses for the customer.
|
|
115
|
+
*/
|
|
50
116
|
addresses: registerCustomer_registerCustomer_customer_addresses[] | null;
|
|
117
|
+
/**
|
|
118
|
+
* The customer's phone number
|
|
119
|
+
*/
|
|
51
120
|
phone: string | null;
|
|
121
|
+
/**
|
|
122
|
+
* CustomerAccountStatusEnum
|
|
123
|
+
*/
|
|
52
124
|
accountStatus: CustomerAccountStatusEnum | null;
|
|
125
|
+
/**
|
|
126
|
+
* The unique email address of the customer. Attempting to assign the same email
|
|
127
|
+
* address to multiple customers returns an error.
|
|
128
|
+
*/
|
|
53
129
|
email: string | null;
|
|
130
|
+
/**
|
|
131
|
+
* The customer's first name.
|
|
132
|
+
*/
|
|
54
133
|
firstName: string;
|
|
55
134
|
}
|
|
56
135
|
export interface registerCustomer_registerCustomer {
|
|
@@ -1,20 +1,38 @@
|
|
|
1
1
|
import { SaveMyCustomerInput, CustomerAccountStatusEnum } from "../../../__generated__/global-types";
|
|
2
2
|
export interface saveMyCustomer_saveMyCustomer_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 saveMyCustomer_saveMyCustomer_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 saveMyCustomer_saveMyCustomer_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 saveMyCustomer_saveMyCustomer_addresses_state {
|
|
@@ -25,34 +43,101 @@ export interface saveMyCustomer_saveMyCustomer_addresses_state {
|
|
|
25
43
|
}
|
|
26
44
|
export interface saveMyCustomer_saveMyCustomer_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 city.
|
|
56
|
+
*/
|
|
30
57
|
city: saveMyCustomer_saveMyCustomer_addresses_city;
|
|
58
|
+
/**
|
|
59
|
+
* The customer's company.
|
|
60
|
+
*/
|
|
31
61
|
company: string | null;
|
|
62
|
+
/**
|
|
63
|
+
* The customer's country.
|
|
64
|
+
*/
|
|
32
65
|
country: saveMyCustomer_saveMyCustomer_addresses_country;
|
|
66
|
+
/**
|
|
67
|
+
* The customer's district in city.
|
|
68
|
+
*/
|
|
33
69
|
district: saveMyCustomer_saveMyCustomer_addresses_district | null;
|
|
34
70
|
id: string;
|
|
71
|
+
/**
|
|
72
|
+
* The customer's first name.
|
|
73
|
+
*/
|
|
35
74
|
firstName: string;
|
|
75
|
+
/**
|
|
76
|
+
* Whether this address is the default address for the customer. Returns ```true``` for each default address.
|
|
77
|
+
*/
|
|
36
78
|
isDefault: boolean | null;
|
|
79
|
+
/**
|
|
80
|
+
* The customer's last name.
|
|
81
|
+
*/
|
|
37
82
|
lastName: string;
|
|
83
|
+
/**
|
|
84
|
+
* The customer's postal code, also known as zip, postcode, etc.
|
|
85
|
+
*/
|
|
38
86
|
postalCode: string | null;
|
|
39
87
|
state: saveMyCustomer_saveMyCustomer_addresses_state | null;
|
|
88
|
+
/**
|
|
89
|
+
* The customer's identity numbers.
|
|
90
|
+
*/
|
|
40
91
|
identityNumber: string | 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;
|
|
101
|
+
/**
|
|
102
|
+
* The customer's phone number at this address
|
|
103
|
+
*/
|
|
44
104
|
phone: string | null;
|
|
45
105
|
}
|
|
46
106
|
export interface saveMyCustomer_saveMyCustomer {
|
|
47
107
|
__typename: "Customer";
|
|
48
108
|
id: string;
|
|
109
|
+
/**
|
|
110
|
+
* Email verification status. ***isEmailVerified*** returns ```true``` if the email is verified.
|
|
111
|
+
*/
|
|
49
112
|
isEmailVerified: boolean | null;
|
|
113
|
+
/**
|
|
114
|
+
* Phone verification status. ***isPhoneVerified*** returns ```true``` if the email is verified.
|
|
115
|
+
*/
|
|
50
116
|
isPhoneVerified: boolean | null;
|
|
117
|
+
/**
|
|
118
|
+
* The customer's last name.
|
|
119
|
+
*/
|
|
51
120
|
lastName: string | null;
|
|
121
|
+
/**
|
|
122
|
+
* A list of the ten most recently updated addresses for the customer.
|
|
123
|
+
*/
|
|
52
124
|
addresses: saveMyCustomer_saveMyCustomer_addresses[] | null;
|
|
125
|
+
/**
|
|
126
|
+
* The customer's phone number
|
|
127
|
+
*/
|
|
53
128
|
phone: string | null;
|
|
129
|
+
/**
|
|
130
|
+
* CustomerAccountStatusEnum
|
|
131
|
+
*/
|
|
54
132
|
accountStatus: CustomerAccountStatusEnum | null;
|
|
133
|
+
/**
|
|
134
|
+
* The unique email address of the customer. Attempting to assign the same email
|
|
135
|
+
* address to multiple customers returns an error.
|
|
136
|
+
*/
|
|
55
137
|
email: string | null;
|
|
138
|
+
/**
|
|
139
|
+
* The customer's first name.
|
|
140
|
+
*/
|
|
56
141
|
firstName: string;
|
|
57
142
|
}
|
|
58
143
|
export interface saveMyCustomer {
|
|
@@ -9,10 +9,35 @@ export interface listCustomerReviews_listCustomerReviews_data {
|
|
|
9
9
|
}
|
|
10
10
|
export interface listCustomerReviews_listCustomerReviews {
|
|
11
11
|
__typename: "CustomerReviewSFPaginationResponse";
|
|
12
|
+
/**
|
|
13
|
+
* Returns the first three records of each page in the records returned as a
|
|
14
|
+
* response. For example, ***let's say page = 3, limit = 30, count = 3.*** The
|
|
15
|
+
* records that will return as a response are the records ***between 60-62.***
|
|
16
|
+
*/
|
|
12
17
|
count: number;
|
|
13
18
|
data: listCustomerReviews_listCustomerReviews_data[];
|
|
19
|
+
/**
|
|
20
|
+
* In the records returned as Response, it shows whether there are any more
|
|
21
|
+
* records or not. For example, let's say our page field is three and our limit
|
|
22
|
+
* field is thirty. Records between 60 and 90 will be returned. If hasNext is
|
|
23
|
+
* ```true``` despite these records, ***it means there are more records.*** If
|
|
24
|
+
* hasNext is ```false```, it means there are a total of ***90 records.***
|
|
25
|
+
*/
|
|
14
26
|
hasNext: boolean;
|
|
27
|
+
/**
|
|
28
|
+
* The maximum number of data you want to see on a page in the records returned
|
|
29
|
+
* as a response. For example, if the limit is ***20***, the data will be
|
|
30
|
+
* displayed ***as 20 each.***<br />:::note<br />min 1, max 200 values can be
|
|
31
|
+
* given. If no value is entered, default 50 is accepted.<br />:::
|
|
32
|
+
*/
|
|
15
33
|
limit: number;
|
|
34
|
+
/**
|
|
35
|
+
* The number of the page you want to see in the records that return as response.
|
|
36
|
+
* For example: We entered the page field as ***3***.And let our limit field be
|
|
37
|
+
* ***30***. The records that will return as a response are the records
|
|
38
|
+
* ***between 60-90.***<br />:::note<br />If no value is entered, default 1 is
|
|
39
|
+
* accepted.<br /> :::
|
|
40
|
+
*/
|
|
16
41
|
page: number;
|
|
17
42
|
}
|
|
18
43
|
export interface listCustomerReviews {
|
|
@@ -1,8 +1,17 @@
|
|
|
1
|
-
import { StringFilterInput, HTMLMetaDataTargetTypeEnumFilter, HTMLMetaDataTargetTypeEnum } from "../../../__generated__/global-types";
|
|
1
|
+
import { StringFilterInput, HTMLMetaDataTargetTypeEnumFilter, PaginationInput, HTMLMetaDataTargetTypeEnum } from "../../../__generated__/global-types";
|
|
2
2
|
export interface listHTMLMetaData_listHTMLMetaData {
|
|
3
3
|
__typename: "HTMLMetaData";
|
|
4
|
+
/**
|
|
5
|
+
* The token of the metadata. It is saved as completely unique.
|
|
6
|
+
*/
|
|
4
7
|
slug: string;
|
|
8
|
+
/**
|
|
9
|
+
* The page title of the metadata.
|
|
10
|
+
*/
|
|
5
11
|
pageTitle: string | null;
|
|
12
|
+
/**
|
|
13
|
+
* The description of the metadata.
|
|
14
|
+
*/
|
|
6
15
|
description: string | null;
|
|
7
16
|
targetId: string | null;
|
|
8
17
|
targetType: HTMLMetaDataTargetTypeEnum | null;
|
|
@@ -15,4 +24,5 @@ export interface listHTMLMetaDataVariables {
|
|
|
15
24
|
slug?: StringFilterInput | null;
|
|
16
25
|
targetId?: StringFilterInput | null;
|
|
17
26
|
targetType?: HTMLMetaDataTargetTypeEnumFilter | null;
|
|
27
|
+
pagination?: PaginationInput | null;
|
|
18
28
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { IkasHTMLMetaData } from "../../models/index";
|
|
2
2
|
export declare class IkasHTMLMetaDataAPI {
|
|
3
|
-
static listHTMLMetaData(slug?: string,
|
|
3
|
+
static listHTMLMetaData(slug?: string, targetIds?: string[], targetType?: string[], page?: number, limit?: number): Promise<IkasHTMLMetaData[]>;
|
|
4
4
|
}
|
|
@@ -5,18 +5,36 @@ export interface listProductAttribute_listProductAttribute_options {
|
|
|
5
5
|
createdAt: any | null;
|
|
6
6
|
updatedAt: any | null;
|
|
7
7
|
deleted: boolean | null;
|
|
8
|
+
/**
|
|
9
|
+
* Name of the product attribute option
|
|
10
|
+
*/
|
|
8
11
|
name: string;
|
|
9
12
|
}
|
|
10
13
|
export interface listProductAttribute_listProductAttribute_translations_options {
|
|
11
14
|
__typename: "ProductAttributeOptionTranslation";
|
|
12
15
|
id: string;
|
|
16
|
+
/**
|
|
17
|
+
* Name of the attribute option for translation.
|
|
18
|
+
*/
|
|
13
19
|
name: string | null;
|
|
14
20
|
}
|
|
15
21
|
export interface listProductAttribute_listProductAttribute_translations {
|
|
16
22
|
__typename: "ProductAttributeTranslation";
|
|
23
|
+
/**
|
|
24
|
+
* It is the description information of the translation.
|
|
25
|
+
*/
|
|
17
26
|
description: string | null;
|
|
27
|
+
/**
|
|
28
|
+
* It is the name information of the translation.
|
|
29
|
+
*/
|
|
18
30
|
locale: string;
|
|
31
|
+
/**
|
|
32
|
+
* It is the information in which language the translation is saved.
|
|
33
|
+
*/
|
|
19
34
|
name: string | null;
|
|
35
|
+
/**
|
|
36
|
+
* List of translations for attribute options
|
|
37
|
+
*/
|
|
20
38
|
options: listProductAttribute_listProductAttribute_translations_options[] | null;
|
|
21
39
|
}
|
|
22
40
|
export interface listProductAttribute_listProductAttribute {
|
|
@@ -25,10 +43,25 @@ export interface listProductAttribute_listProductAttribute {
|
|
|
25
43
|
createdAt: any | null;
|
|
26
44
|
updatedAt: any | null;
|
|
27
45
|
deleted: boolean | null;
|
|
46
|
+
/**
|
|
47
|
+
* Name of the attribute
|
|
48
|
+
*/
|
|
28
49
|
name: string;
|
|
50
|
+
/**
|
|
51
|
+
* Description of the attribute
|
|
52
|
+
*/
|
|
29
53
|
description: string | null;
|
|
54
|
+
/**
|
|
55
|
+
* Type of the attribute
|
|
56
|
+
*/
|
|
30
57
|
type: ProductAttributeTypeEnum;
|
|
58
|
+
/**
|
|
59
|
+
* Options of the attribute
|
|
60
|
+
*/
|
|
31
61
|
options: listProductAttribute_listProductAttribute_options[] | null;
|
|
62
|
+
/**
|
|
63
|
+
* Translations for the attribute
|
|
64
|
+
*/
|
|
32
65
|
translations: listProductAttribute_listProductAttribute_translations[] | null;
|
|
33
66
|
}
|
|
34
67
|
export interface listProductAttribute {
|
|
@@ -30,12 +30,21 @@ export interface getProductFilterData_getProductFilterData_filters {
|
|
|
30
30
|
}
|
|
31
31
|
export interface getProductFilterData_getProductFilterData_categories_metaData {
|
|
32
32
|
__typename: "HTMLMetaData";
|
|
33
|
+
/**
|
|
34
|
+
* The token of the metadata. It is saved as completely unique.
|
|
35
|
+
*/
|
|
33
36
|
slug: string;
|
|
34
37
|
}
|
|
35
38
|
export interface getProductFilterData_getProductFilterData_categories {
|
|
36
39
|
__typename: "Category";
|
|
37
40
|
id: string;
|
|
41
|
+
/**
|
|
42
|
+
* It is the name of the category in which the product is located.
|
|
43
|
+
*/
|
|
38
44
|
name: string;
|
|
45
|
+
/**
|
|
46
|
+
* It is the metadata information of the product category.
|
|
47
|
+
*/
|
|
39
48
|
metaData: getProductFilterData_getProductFilterData_categories_metaData | null;
|
|
40
49
|
}
|
|
41
50
|
export interface getProductFilterData_getProductFilterData {
|
|
@@ -2,7 +2,13 @@ import { StringFilterInput } from "../../../__generated__/global-types";
|
|
|
2
2
|
export interface listState_listState {
|
|
3
3
|
__typename: "State";
|
|
4
4
|
id: string;
|
|
5
|
+
/**
|
|
6
|
+
* State's name.
|
|
7
|
+
*/
|
|
5
8
|
name: string;
|
|
9
|
+
/**
|
|
10
|
+
* The two-letter state code corresponding to the state.
|
|
11
|
+
*/
|
|
6
12
|
stateCode: string | null;
|
|
7
13
|
}
|
|
8
14
|
export interface listState {
|
|
@@ -5,19 +5,42 @@ export interface listVariantType_listVariantType_values {
|
|
|
5
5
|
createdAt: any | null;
|
|
6
6
|
updatedAt: any | null;
|
|
7
7
|
deleted: boolean | null;
|
|
8
|
+
/**
|
|
9
|
+
* It is the name information of the values used in the Variant type. Value
|
|
10
|
+
* information of Variant type is unique according to name.It can be a maximum of
|
|
11
|
+
* 100 characters.
|
|
12
|
+
*/
|
|
8
13
|
name: string;
|
|
14
|
+
/**
|
|
15
|
+
* It is the image information of the variant values.
|
|
16
|
+
*/
|
|
9
17
|
thumbnailImageId: string | null;
|
|
18
|
+
/**
|
|
19
|
+
* It is the color code information of the variant values. It can be a maximum of 7 characters.
|
|
20
|
+
*/
|
|
10
21
|
colorCode: string | null;
|
|
11
22
|
}
|
|
12
23
|
export interface listVariantType_listVariantType_translations_values {
|
|
13
24
|
__typename: "VariantValueTranslation";
|
|
14
25
|
id: string;
|
|
26
|
+
/**
|
|
27
|
+
* It is the information in which language the translation is saved.
|
|
28
|
+
*/
|
|
15
29
|
name: string | null;
|
|
16
30
|
}
|
|
17
31
|
export interface listVariantType_listVariantType_translations {
|
|
18
32
|
__typename: "VariantTypeTranslation";
|
|
33
|
+
/**
|
|
34
|
+
* It is the name information of the translation.
|
|
35
|
+
*/
|
|
19
36
|
locale: string;
|
|
37
|
+
/**
|
|
38
|
+
* It is the information in which language the translation is saved.
|
|
39
|
+
*/
|
|
20
40
|
name: string | null;
|
|
41
|
+
/**
|
|
42
|
+
* It is the translation information of the values of variant types.
|
|
43
|
+
*/
|
|
21
44
|
values: listVariantType_listVariantType_translations_values[] | null;
|
|
22
45
|
}
|
|
23
46
|
export interface listVariantType_listVariantType {
|
|
@@ -26,9 +49,23 @@ export interface listVariantType_listVariantType {
|
|
|
26
49
|
createdAt: any | null;
|
|
27
50
|
updatedAt: any | null;
|
|
28
51
|
deleted: boolean | null;
|
|
52
|
+
/**
|
|
53
|
+
* Product variant type name information. ***For example: Size, Color, Number etc.***.It can be a maximum of 100 characters.
|
|
54
|
+
*/
|
|
29
55
|
name: string;
|
|
56
|
+
/**
|
|
57
|
+
* Product variant type selection type. It can be choice or color.
|
|
58
|
+
*/
|
|
30
59
|
selectionType: VariantSelectionTypeEnum;
|
|
60
|
+
/**
|
|
61
|
+
* Variant values used in Variant type. *** For example, variant type: Size.
|
|
62
|
+
* Variant values can be thought of as S, M, L, XL. ***It is unique according to
|
|
63
|
+
* the value name.Values array size must have at least one element.
|
|
64
|
+
*/
|
|
31
65
|
values: listVariantType_listVariantType_values[];
|
|
66
|
+
/**
|
|
67
|
+
* It is the translation information of the product variant types.
|
|
68
|
+
*/
|
|
32
69
|
translations: listVariantType_listVariantType_translations[] | null;
|
|
33
70
|
}
|
|
34
71
|
export interface listVariantType {
|