@ikas/storefront 0.0.15 → 0.0.16-0.alpha-1
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 +214 -8
- package/build/analytics/analytics.d.ts +22 -0
- package/build/analytics/facebookPixel.d.ts +15 -0
- package/build/analytics/googleTagManager.d.ts +201 -0
- package/build/analytics/head/index.d.ts +7 -0
- package/build/analytics/index.d.ts +2 -0
- package/build/api/blog/__generated__/getBlog.d.ts +83 -0
- package/build/api/blog/__generated__/listBlog.d.ts +86 -0
- package/build/api/blog/__generated__/listBlogCategory.d.ts +38 -0
- package/build/api/blog/__generated__/listBlogMetaData.d.ts +29 -0
- package/build/api/blog/index.d.ts +32 -0
- package/build/api/brand/__generated__/listProductBrand.d.ts +3 -2
- package/build/api/brand/index.d.ts +1 -0
- package/build/api/cart/__generated__/getCart.d.ts +7 -3
- package/build/api/cart/__generated__/saveItemToCart.d.ts +6 -3
- package/build/api/category/__generated__/listCategory.d.ts +4 -2
- package/build/api/category/__generated__/listCategoryPaths.d.ts +23 -0
- package/build/api/category/index.d.ts +3 -0
- package/build/api/checkout/__generated__/checkStocks.d.ts +3 -3
- package/build/api/checkout/__generated__/getCheckoutByCartId.d.ts +1 -1
- package/build/api/checkout/__generated__/getCheckoutById.d.ts +5 -4
- package/build/api/checkout/__generated__/listCheckoutSettings.d.ts +26 -0
- package/build/api/checkout/__generated__/listPaymentGateway.d.ts +14 -2
- package/build/api/checkout/__generated__/saveCheckout.d.ts +1 -1
- package/build/api/checkout/index.d.ts +11 -3
- package/build/api/city/__generated__/listCity.d.ts +1 -1
- package/build/api/contact-form/__generated__/sendContactFormToMerchant.d.ts +9 -0
- package/build/api/contact-form/index.d.ts +10 -0
- package/build/api/country/__generated__/getAvailableShippingCountries.d.ts +3 -0
- package/build/api/country/__generated__/getMyCountry.d.ts +3 -0
- package/build/api/country/__generated__/listCountry.d.ts +8 -1
- package/build/api/country/index.d.ts +3 -2
- package/build/api/customer/__generated__/createCustomerEmailSubscription.d.ts +11 -0
- package/build/api/customer/__generated__/createOrderRefundRequest.d.ts +215 -0
- package/build/api/customer/__generated__/customerLogin.d.ts +5 -3
- package/build/api/customer/__generated__/getCustomerOrders.d.ts +3 -4
- package/build/api/customer/__generated__/getLastViewedProducts.d.ts +15 -0
- package/build/api/customer/__generated__/getMyCustomer.d.ts +3 -2
- package/build/api/customer/__generated__/listOrderTransactions.d.ts +1 -1
- package/build/api/customer/__generated__/registerCustomer.d.ts +2 -2
- package/build/api/customer/__generated__/saveLastViewedProducts.d.ts +11 -0
- package/build/api/customer/__generated__/saveMyCustomer.d.ts +3 -2
- package/build/api/customer/index.d.ts +15 -0
- package/build/api/district/__generated__/listDistrict.d.ts +1 -1
- package/build/api/favorite-product/__generated__/isFavoriteProduct.d.ts +6 -0
- package/build/api/favorite-product/__generated__/listFavoriteProducts.d.ts +12 -0
- package/build/api/favorite-product/__generated__/saveFavoriteProduct.d.ts +7 -0
- package/build/api/favorite-product/index.d.ts +6 -0
- package/build/api/html-meta-data/__generated__/listHTMLMetaData.d.ts +2 -1
- package/build/api/html-meta-data/index.d.ts +1 -1
- package/build/api/index.d.ts +4 -3
- package/build/api/merchant/__generated__/listMerchantSettings.d.ts +1 -1
- package/build/api/product-attribute/__generated__/listProductAttribute.d.ts +2 -2
- package/build/api/product-search/__generated__/getProductFilterData.d.ts +50 -0
- package/build/api/product-search/__generated__/searchProducts.d.ts +26 -0
- package/build/api/product-search/index.d.ts +20 -0
- package/build/api/state/__generated__/listState.d.ts +1 -1
- package/build/api/stock-location/__generated__/listStockLocation.d.ts +1 -1
- package/build/api/storefront/__generated__/getStorefront.d.ts +41 -12
- package/build/api/storefront/index.d.ts +1 -1
- package/build/api/variant-type/__generated__/listVariantType.d.ts +2 -2
- package/build/components/checkout/components/address-form/index.d.ts +3 -0
- package/build/components/checkout/components/address-form/model.d.ts +13 -2
- package/build/components/checkout/components/button/index.d.ts +4 -1
- package/build/components/checkout/components/cart-summary/cross.d.ts +6 -0
- package/build/components/checkout/components/cart-summary/tag.d.ts +6 -0
- package/build/components/checkout/components/checkbox/index.d.ts +2 -1
- package/build/components/checkout/components/error-container/customer-login-required-error/index.d.ts +6 -0
- package/build/components/checkout/components/error-container/payment-error/index.d.ts +2 -0
- package/build/components/checkout/components/form-item/model.d.ts +11 -2
- package/build/components/checkout/index.d.ts +5 -0
- package/build/components/checkout/model.d.ts +23 -10
- package/build/components/hoc/ThemeComponent.d.ts +2 -2
- package/build/components/image/index.d.ts +35 -0
- package/build/components/index.d.ts +1 -2
- package/build/components/page/head.d.ts +5 -0
- package/build/components/page/index.d.ts +6 -1
- package/build/components/page-editor/model.d.ts +6 -2
- package/build/index.d.ts +1 -0
- package/build/index.es.js +17665 -9253
- package/build/index.js +18346 -9898
- package/build/models/data/blog/index.d.ts +67 -0
- package/build/models/data/brand/index.d.ts +1 -1
- package/build/models/data/cart/index.d.ts +9 -0
- package/build/models/data/category/index.d.ts +22 -1
- package/build/models/data/checkout/index.d.ts +5 -0
- package/build/models/data/checkout-settings/index.d.ts +18 -0
- package/build/models/data/contact-form/index.d.ts +7 -0
- package/build/models/data/country/index.d.ts +2 -0
- package/build/models/data/customer/index.d.ts +7 -0
- package/build/models/data/favorite-product/index.d.ts +6 -0
- package/build/models/data/image/index.d.ts +1 -0
- package/build/models/data/index.d.ts +5 -1
- package/build/models/data/order/address/index.d.ts +6 -0
- package/build/models/data/order/index.d.ts +19 -1
- package/build/models/data/order/line-item/index.d.ts +18 -0
- package/build/models/data/order/refund/index.d.ts +6 -0
- package/build/models/data/order/refund/refund-line-item/index.d.ts +5 -0
- package/build/models/data/payment-gateway/index.d.ts +26 -2
- package/build/models/data/product/attribute-value/index.d.ts +15 -1
- package/build/models/data/product/index.d.ts +2 -1
- package/build/models/data/product/variant/index.d.ts +1 -0
- package/build/models/data/product/variant/price/index.d.ts +2 -0
- package/build/models/data/product-attribute/index.d.ts +5 -2
- package/build/models/data/product-attribute/product-attribute-table-cell/index.d.ts +5 -0
- package/build/models/data/product-attribute/product-attribute-table-template/index.d.ts +6 -0
- package/build/models/data/product-filter/index.d.ts +102 -0
- package/build/models/data/product-tag/index.d.ts +5 -0
- package/build/models/data/sales-channel/index.d.ts +18 -0
- package/build/models/data/simple-product/index.d.ts +135 -0
- package/build/models/data/storefront/{storefront-domain → domain}/index.d.ts +1 -0
- package/build/models/data/storefront/index.d.ts +17 -6
- package/build/models/data/storefront/localization/index.d.ts +7 -0
- package/build/models/data/storefront/routing/index.d.ts +9 -0
- package/build/models/data/storefront/theme/index.d.ts +13 -0
- package/build/models/data/storefront/theme-localization/index.d.ts +12 -0
- package/build/models/data/variant-type/variant-value/index.d.ts +1 -1
- package/build/models/theme/component/prop/index.d.ts +17 -1
- package/build/models/theme/custom-data/index.d.ts +24 -0
- package/build/models/theme/index.d.ts +4 -0
- package/build/models/theme/page/component/prop-value/attribute-list.d.ts +7 -0
- package/build/models/theme/page/component/prop-value/attribute.d.ts +7 -0
- package/build/models/theme/page/component/prop-value/blog-list.d.ts +9 -0
- package/build/models/theme/page/component/prop-value/blog.d.ts +5 -0
- package/build/models/theme/page/component/prop-value/product-list.d.ts +2 -0
- package/build/models/theme/page/index.d.ts +14 -1
- package/build/models/theme/settings/index.d.ts +7 -0
- package/build/models/theme/settings/prop/color/index.d.ts +7 -0
- package/build/models/theme/settings/prop/favicon/index.d.ts +4 -0
- package/build/models/theme/theme.d.ts +4 -0
- package/build/models/ui/blog-list/index.d.ts +56 -0
- package/build/models/ui/brand-list/index.d.ts +3 -0
- package/build/models/ui/category-list/index.d.ts +3 -0
- package/build/models/ui/component-renderer/index.d.ts +7 -0
- package/build/models/ui/index.d.ts +12 -2
- package/build/models/ui/product-detail/index.d.ts +14 -3
- package/build/models/ui/product-list/index.d.ts +62 -14
- package/build/models/ui/validator/form/account-info.d.ts +40 -0
- package/build/models/ui/validator/form/address.d.ts +75 -0
- package/build/models/ui/validator/form/contact-form.d.ts +45 -0
- package/build/models/ui/validator/form/forgot-password.d.ts +29 -0
- package/build/models/ui/validator/form/login.d.ts +35 -0
- package/build/models/ui/validator/form/recover-password.d.ts +36 -0
- package/build/models/ui/validator/form/register.d.ts +45 -0
- package/build/models/ui/validator/index.d.ts +27 -0
- package/build/models/ui/validator/rules/index.d.ts +87 -0
- package/build/pages/404.d.ts +13 -0
- package/build/pages/[slug]/index.d.ts +9 -3
- package/build/pages/account/addresses.d.ts +2 -0
- package/build/pages/account/favorite-products.d.ts +12 -0
- package/build/pages/account/forgot-password.d.ts +3 -0
- package/build/pages/account/index.d.ts +2 -0
- package/build/pages/account/login.d.ts +3 -0
- package/build/pages/account/orders/[id].d.ts +2 -0
- package/build/pages/account/orders/index.d.ts +2 -0
- package/build/pages/account/recover-password.d.ts +3 -0
- package/build/pages/account/register.d.ts +3 -0
- package/build/pages/blog/[slug].d.ts +18 -0
- package/build/pages/blog/index.d.ts +13 -0
- package/build/pages/cart.d.ts +12 -0
- package/build/pages/checkout/[id].d.ts +5 -0
- package/build/pages/home.d.ts +3 -0
- package/build/pages/index.d.ts +8 -2
- package/build/pages/{[slug]/[secondSlug].d.ts → pages/[slug].d.ts} +2 -0
- package/build/pages/search.d.ts +13 -0
- package/build/store/base.d.ts +17 -0
- package/build/store/customer.d.ts +31 -1
- package/build/storefront/index.d.ts +29 -3
- package/build/utils/helper.d.ts +1 -0
- package/build/utils/index.d.ts +1 -0
- package/build/utils/providers/page-data.d.ts +60 -5
- package/build/utils/providers/placeholders.d.ts +5 -0
- package/build/utils/providers/prop-value/attribute-list.d.ts +9 -0
- package/build/utils/providers/prop-value/attribute.d.ts +9 -0
- package/build/utils/providers/prop-value/blog-list.d.ts +9 -0
- package/build/utils/providers/prop-value/blog.d.ts +8 -0
- package/build/utils/providers/prop-value/boolean.d.ts +1 -1
- package/build/utils/providers/prop-value/category.d.ts +2 -2
- package/build/utils/providers/prop-value/color.d.ts +6 -0
- package/build/utils/providers/prop-value/custom.d.ts +40 -0
- package/build/utils/providers/prop-value/product-detail.d.ts +2 -2
- package/build/utils/providers/prop-value/product-list.d.ts +1 -3
- package/build/utils/providers/prop-value/rich-text.d.ts +6 -0
- package/build/utils/settings.d.ts +168 -0
- package/package.json +3 -3
- package/build/api/product/__generated__/listProduct.d.ts +0 -90
- package/build/api/product/index.d.ts +0 -15
- package/build/api/product-stock-location/__generated__/listProductStockLocation.d.ts +0 -13
- package/build/api/product-stock-location/index.d.ts +0 -4
- package/build/api/theme/index.d.ts +0 -4
- package/build/components/gtm/functions.d.ts +0 -164
- package/build/components/gtm/index.d.ts +0 -7
- package/build/models/data/storefront/stockfront-location/index.d.ts +0 -5
- package/build/models/data/storefront/stockfront-route/index.d.ts +0 -5
- package/build/models/data/storefront/storefront-region/index.d.ts +0 -18
- package/build/models/ui/product-list/filter.d.ts +0 -18
|
@@ -12,6 +12,13 @@ export declare enum AmountTypeEnum {
|
|
|
12
12
|
AMOUNT = "AMOUNT",
|
|
13
13
|
RATIO = "RATIO"
|
|
14
14
|
}
|
|
15
|
+
/**
|
|
16
|
+
* Url Slug Target Type Enum Codes
|
|
17
|
+
*/
|
|
18
|
+
export declare enum BlogMetadataTargetTypeEnum {
|
|
19
|
+
BLOG = "BLOG",
|
|
20
|
+
BLOG_CATEGORY = "BLOG_CATEGORY"
|
|
21
|
+
}
|
|
15
22
|
/**
|
|
16
23
|
* Cancelled Reason Enum
|
|
17
24
|
*/
|
|
@@ -42,6 +49,14 @@ export declare enum CheckoutRecoveryStatusEnum {
|
|
|
42
49
|
NOT_RECOVERED = "NOT_RECOVERED",
|
|
43
50
|
RECOVERED = "RECOVERED"
|
|
44
51
|
}
|
|
52
|
+
/**
|
|
53
|
+
* Checkout Requirement Enum
|
|
54
|
+
*/
|
|
55
|
+
export declare enum CheckoutRequirementEnum {
|
|
56
|
+
INVISIBLE = "INVISIBLE",
|
|
57
|
+
MANDATORY = "MANDATORY",
|
|
58
|
+
OPTIONAL = "OPTIONAL"
|
|
59
|
+
}
|
|
45
60
|
/**
|
|
46
61
|
* Checkout Status Enum
|
|
47
62
|
*/
|
|
@@ -58,6 +73,14 @@ export declare enum CustomerAccountStatusesEnum {
|
|
|
58
73
|
DISABLED_ACCOUNT = "DISABLED_ACCOUNT",
|
|
59
74
|
INVITED_TO_CREATE_ACCOUNT = "INVITED_TO_CREATE_ACCOUNT"
|
|
60
75
|
}
|
|
76
|
+
/**
|
|
77
|
+
* Customer Email Subscription Statuses
|
|
78
|
+
*/
|
|
79
|
+
export declare enum CustomerEmailSubscriptionStatusesEnum {
|
|
80
|
+
NOT_SUBSCRIBED = "NOT_SUBSCRIBED",
|
|
81
|
+
PENDING_CONFIRMATION = "PENDING_CONFIRMATION",
|
|
82
|
+
SUBSCRIBED = "SUBSCRIBED"
|
|
83
|
+
}
|
|
61
84
|
/**
|
|
62
85
|
* Url Slug Target Type Enum Codes
|
|
63
86
|
*/
|
|
@@ -72,24 +95,51 @@ export declare enum HTMLMetaDataTargetTypeEnum {
|
|
|
72
95
|
*/
|
|
73
96
|
export declare enum OrderLineItemStatusEnum {
|
|
74
97
|
CANCELLED = "CANCELLED",
|
|
98
|
+
CANCEL_REJECTED = "CANCEL_REJECTED",
|
|
99
|
+
CANCEL_REQUESTED = "CANCEL_REQUESTED",
|
|
100
|
+
DELIVERED = "DELIVERED",
|
|
75
101
|
FULFILLED = "FULFILLED",
|
|
76
102
|
REFUNDED = "REFUNDED",
|
|
103
|
+
REFUND_REJECTED = "REFUND_REJECTED",
|
|
104
|
+
REFUND_REQUESTED = "REFUND_REQUESTED",
|
|
105
|
+
REFUND_REQUEST_ACCEPTED = "REFUND_REQUEST_ACCEPTED",
|
|
77
106
|
UNFULFILLED = "UNFULFILLED"
|
|
78
107
|
}
|
|
79
108
|
/**
|
|
80
109
|
* Order Package Fulfill Status Enum
|
|
81
110
|
*/
|
|
82
111
|
export declare enum OrderPackageFulfillStatusEnum {
|
|
112
|
+
CANCELLED = "CANCELLED",
|
|
113
|
+
CANCEL_REJECTED = "CANCEL_REJECTED",
|
|
114
|
+
CANCEL_REQUESTED = "CANCEL_REQUESTED",
|
|
83
115
|
DELIVERED = "DELIVERED",
|
|
116
|
+
ERROR = "ERROR",
|
|
84
117
|
FULFILLED = "FULFILLED",
|
|
85
|
-
|
|
118
|
+
READY_FOR_SHIPMENT = "READY_FOR_SHIPMENT",
|
|
119
|
+
REFUNDED = "REFUNDED",
|
|
120
|
+
REFUND_REJECTED = "REFUND_REJECTED",
|
|
121
|
+
REFUND_REQUESTED = "REFUND_REQUESTED",
|
|
122
|
+
REFUND_REQUEST_ACCEPTED = "REFUND_REQUEST_ACCEPTED"
|
|
86
123
|
}
|
|
87
124
|
/**
|
|
88
125
|
* Order Package Status Enum
|
|
89
126
|
*/
|
|
90
127
|
export declare enum OrderPackageStatusEnum {
|
|
128
|
+
CANCELLED = "CANCELLED",
|
|
129
|
+
CANCEL_REJECTED = "CANCEL_REJECTED",
|
|
130
|
+
CANCEL_REQUESTED = "CANCEL_REQUESTED",
|
|
131
|
+
DELIVERED = "DELIVERED",
|
|
91
132
|
FULFILLED = "FULFILLED",
|
|
133
|
+
PARTIALLY_CANCELLED = "PARTIALLY_CANCELLED",
|
|
134
|
+
PARTIALLY_DELIVERED = "PARTIALLY_DELIVERED",
|
|
92
135
|
PARTIALLY_FULFILLED = "PARTIALLY_FULFILLED",
|
|
136
|
+
PARTIALLY_REFUNDED = "PARTIALLY_REFUNDED",
|
|
137
|
+
READY_FOR_SHIPMENT = "READY_FOR_SHIPMENT",
|
|
138
|
+
REFUNDED = "REFUNDED",
|
|
139
|
+
REFUND_REJECTED = "REFUND_REJECTED",
|
|
140
|
+
REFUND_REQUESTED = "REFUND_REQUESTED",
|
|
141
|
+
REFUND_REQUEST_ACCEPTED = "REFUND_REQUEST_ACCEPTED",
|
|
142
|
+
UNABLE_TO_DELIVER = "UNABLE_TO_DELIVER",
|
|
93
143
|
UNFULFILLED = "UNFULFILLED"
|
|
94
144
|
}
|
|
95
145
|
/**
|
|
@@ -99,7 +149,25 @@ export declare enum OrderStatusEnum {
|
|
|
99
149
|
CANCELLED = "CANCELLED",
|
|
100
150
|
CREATED = "CREATED",
|
|
101
151
|
DRAFT = "DRAFT",
|
|
102
|
-
|
|
152
|
+
PARTIALLY_CANCELLED = "PARTIALLY_CANCELLED",
|
|
153
|
+
PARTIALLY_REFUNDED = "PARTIALLY_REFUNDED",
|
|
154
|
+
REFUNDED = "REFUNDED",
|
|
155
|
+
REFUND_REJECTED = "REFUND_REJECTED",
|
|
156
|
+
REFUND_REQUESTED = "REFUND_REQUESTED"
|
|
157
|
+
}
|
|
158
|
+
/**
|
|
159
|
+
* Payment Gateway Additional Price Type Enum
|
|
160
|
+
*/
|
|
161
|
+
export declare enum PaymentGatewayAdditionalPriceTypeEnum {
|
|
162
|
+
DECREMENT = "DECREMENT",
|
|
163
|
+
INCREMENT = "INCREMENT"
|
|
164
|
+
}
|
|
165
|
+
/**
|
|
166
|
+
* Payment Gateway Transaction Fee Type Enum
|
|
167
|
+
*/
|
|
168
|
+
export declare enum PaymentGatewayTransactionFeeTypeEnum {
|
|
169
|
+
AMOUNT = "AMOUNT",
|
|
170
|
+
RATIO = "RATIO"
|
|
103
171
|
}
|
|
104
172
|
/**
|
|
105
173
|
* Payment Method Enum
|
|
@@ -109,6 +177,7 @@ export declare enum PaymentMethodEnum {
|
|
|
109
177
|
CASH = "CASH",
|
|
110
178
|
CASH_ON_DELIVERY = "CASH_ON_DELIVERY",
|
|
111
179
|
CREDIT_CARD = "CREDIT_CARD",
|
|
180
|
+
CREDIT_CARD_ON_DELIVERY = "CREDIT_CARD_ON_DELIVERY",
|
|
112
181
|
GIFT_CARD = "GIFT_CARD",
|
|
113
182
|
MONEY_ORDER = "MONEY_ORDER",
|
|
114
183
|
OTHER = "OTHER"
|
|
@@ -131,15 +200,45 @@ export declare enum ProductAttributeTypeEnum {
|
|
|
131
200
|
HTML = "HTML",
|
|
132
201
|
MULTIPLE_CHOICE = "MULTIPLE_CHOICE",
|
|
133
202
|
NUMERIC = "NUMERIC",
|
|
203
|
+
TABLE = "TABLE",
|
|
134
204
|
TEXT = "TEXT"
|
|
135
205
|
}
|
|
136
206
|
/**
|
|
137
|
-
* Product
|
|
207
|
+
* Product Filter Type Enum Codes
|
|
138
208
|
*/
|
|
139
|
-
export declare enum
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
209
|
+
export declare enum ProductFilterDisplayTypeEnum {
|
|
210
|
+
BOX = "BOX",
|
|
211
|
+
DATE_RANGE = "DATE_RANGE",
|
|
212
|
+
LIST = "LIST",
|
|
213
|
+
NUMBER_RANGE = "NUMBER_RANGE",
|
|
214
|
+
NUMBER_RANGE_LIST = "NUMBER_RANGE_LIST",
|
|
215
|
+
SWATCH = "SWATCH"
|
|
216
|
+
}
|
|
217
|
+
/**
|
|
218
|
+
* ProductFilter Sort Type Enum
|
|
219
|
+
*/
|
|
220
|
+
export declare enum ProductFilterSortTypeEnum {
|
|
221
|
+
ALPHABETICAL_ASC = "ALPHABETICAL_ASC",
|
|
222
|
+
ALPHABETICAL_DESC = "ALPHABETICAL_DESC",
|
|
223
|
+
PRODUCT_COUNT_ASC = "PRODUCT_COUNT_ASC",
|
|
224
|
+
PRODUCT_COUNT_DESC = "PRODUCT_COUNT_DESC"
|
|
225
|
+
}
|
|
226
|
+
/**
|
|
227
|
+
* Product Filter Type Enum Codes
|
|
228
|
+
*/
|
|
229
|
+
export declare enum ProductFilterTypeEnum {
|
|
230
|
+
ATTRIBUTE = "ATTRIBUTE",
|
|
231
|
+
BRAND = "BRAND",
|
|
232
|
+
DISCOUNT_RATIO = "DISCOUNT_RATIO",
|
|
233
|
+
PRICE = "PRICE",
|
|
234
|
+
STOCK_STATUS = "STOCK_STATUS",
|
|
235
|
+
TAG = "TAG",
|
|
236
|
+
VARIANT_TYPE = "VARIANT_TYPE"
|
|
237
|
+
}
|
|
238
|
+
export declare enum ProductSearchShowStockOptionEnum {
|
|
239
|
+
HIDE_OUT_OF_STOCK = "HIDE_OUT_OF_STOCK",
|
|
240
|
+
SHOW_ALL = "SHOW_ALL",
|
|
241
|
+
SHOW_OUT_OF_STOCK_AT_END = "SHOW_OUT_OF_STOCK_AT_END"
|
|
143
242
|
}
|
|
144
243
|
/**
|
|
145
244
|
* Shipping Method Enum
|
|
@@ -149,6 +248,40 @@ export declare enum ShippingMethodEnum {
|
|
|
149
248
|
NO_SHIPMENT = "NO_SHIPMENT",
|
|
150
249
|
SHIPMENT = "SHIPMENT"
|
|
151
250
|
}
|
|
251
|
+
/**
|
|
252
|
+
* Sort By Direction Enum Codes
|
|
253
|
+
*/
|
|
254
|
+
export declare enum SortByDirectionEnum {
|
|
255
|
+
ASC = "ASC",
|
|
256
|
+
DESC = "DESC"
|
|
257
|
+
}
|
|
258
|
+
/**
|
|
259
|
+
* Sort By Type Enum Codes
|
|
260
|
+
*/
|
|
261
|
+
export declare enum SortByTypeEnum {
|
|
262
|
+
CREATED_AT = "CREATED_AT",
|
|
263
|
+
DISCOUNT_RATIO = "DISCOUNT_RATIO",
|
|
264
|
+
NAME = "NAME",
|
|
265
|
+
PRICE = "PRICE"
|
|
266
|
+
}
|
|
267
|
+
/**
|
|
268
|
+
* StorefrontStatusEnum
|
|
269
|
+
*/
|
|
270
|
+
export declare enum StorefrontStatusTypes {
|
|
271
|
+
FAILED = "FAILED",
|
|
272
|
+
NOT_DEPLOYED = "NOT_DEPLOYED",
|
|
273
|
+
READY = "READY",
|
|
274
|
+
WAITING = "WAITING"
|
|
275
|
+
}
|
|
276
|
+
/**
|
|
277
|
+
* StorefrontThemeStatusEnum
|
|
278
|
+
*/
|
|
279
|
+
export declare enum StorefrontThemeStatus {
|
|
280
|
+
FAILED = "FAILED",
|
|
281
|
+
NOT_DEPLOYED = "NOT_DEPLOYED",
|
|
282
|
+
READY = "READY",
|
|
283
|
+
WAITING = "WAITING"
|
|
284
|
+
}
|
|
152
285
|
/**
|
|
153
286
|
* Transaction Card Association Enum
|
|
154
287
|
*/
|
|
@@ -190,6 +323,10 @@ export declare enum VariantSelectionTypeEnum {
|
|
|
190
323
|
CHOICE = "CHOICE",
|
|
191
324
|
COLOR = "COLOR"
|
|
192
325
|
}
|
|
326
|
+
export interface BlogMetadataTargetTypeEnumFilter {
|
|
327
|
+
eq?: BlogMetadataTargetTypeEnum | null;
|
|
328
|
+
in?: BlogMetadataTargetTypeEnum[] | null;
|
|
329
|
+
}
|
|
193
330
|
export interface CartLineItemInput {
|
|
194
331
|
id?: string | null;
|
|
195
332
|
quantity: number;
|
|
@@ -200,8 +337,8 @@ export interface CartLineVariantInput {
|
|
|
200
337
|
name?: string | null;
|
|
201
338
|
}
|
|
202
339
|
export interface CheckStocksLineInput {
|
|
340
|
+
productId: string;
|
|
203
341
|
quantity: number;
|
|
204
|
-
stockLocationId?: string | null;
|
|
205
342
|
variantId: string;
|
|
206
343
|
}
|
|
207
344
|
export interface CheckoutCustomerInput {
|
|
@@ -210,6 +347,13 @@ export interface CheckoutCustomerInput {
|
|
|
210
347
|
id?: string | null;
|
|
211
348
|
lastName?: string | null;
|
|
212
349
|
}
|
|
350
|
+
export interface CreateCustomerEmailSubscriptionInput {
|
|
351
|
+
createdAt?: any | null;
|
|
352
|
+
deleted?: boolean | null;
|
|
353
|
+
email: string;
|
|
354
|
+
id?: string | null;
|
|
355
|
+
updatedAt?: any | null;
|
|
356
|
+
}
|
|
213
357
|
export interface CreateSaleTransactionWithCheckoutInput {
|
|
214
358
|
checkoutId: string;
|
|
215
359
|
paymentGatewayId: string;
|
|
@@ -257,6 +401,10 @@ export interface CustomerAddressStateInput {
|
|
|
257
401
|
id?: string | null;
|
|
258
402
|
name?: string | null;
|
|
259
403
|
}
|
|
404
|
+
export interface HTMLMetaDataTargetTypeEnumFilter {
|
|
405
|
+
eq?: HTMLMetaDataTargetTypeEnum | null;
|
|
406
|
+
in?: HTMLMetaDataTargetTypeEnum[] | null;
|
|
407
|
+
}
|
|
260
408
|
export interface OrderAddressCityInput {
|
|
261
409
|
code?: string | null;
|
|
262
410
|
id?: string | null;
|
|
@@ -280,6 +428,7 @@ export interface OrderAddressInput {
|
|
|
280
428
|
country: OrderAddressCountryInput;
|
|
281
429
|
district?: OrderAddressDistrictInput | null;
|
|
282
430
|
firstName: string;
|
|
431
|
+
identityNumber?: string | null;
|
|
283
432
|
isDefault: boolean;
|
|
284
433
|
lastName: string;
|
|
285
434
|
phone?: string | null;
|
|
@@ -296,10 +445,21 @@ export interface OrderAddressStateInput {
|
|
|
296
445
|
export interface OrderAdjustmentInput {
|
|
297
446
|
amount: number;
|
|
298
447
|
amountType: AmountTypeEnum;
|
|
448
|
+
campaignId?: string | null;
|
|
449
|
+
couponId?: string | null;
|
|
299
450
|
name: string;
|
|
300
451
|
order: number;
|
|
301
452
|
type: AdjustmentEnum;
|
|
302
453
|
}
|
|
454
|
+
export interface OrderRefundOrderLineInput {
|
|
455
|
+
orderLineItemId: string;
|
|
456
|
+
quantity: number;
|
|
457
|
+
}
|
|
458
|
+
export interface OrderRefundRequestInput {
|
|
459
|
+
orderId: string;
|
|
460
|
+
orderLineItems: OrderRefundOrderLineInput[];
|
|
461
|
+
reason?: string | null;
|
|
462
|
+
}
|
|
303
463
|
export interface PaginationInput {
|
|
304
464
|
limit?: number | null;
|
|
305
465
|
page?: number | null;
|
|
@@ -313,6 +473,22 @@ export interface PaymentMethodDetailInput {
|
|
|
313
473
|
installmentCount: number;
|
|
314
474
|
threeDSecure: boolean;
|
|
315
475
|
}
|
|
476
|
+
export interface ProductItemInput {
|
|
477
|
+
createdAt?: any | null;
|
|
478
|
+
deleted?: boolean | null;
|
|
479
|
+
id?: string | null;
|
|
480
|
+
productId: string;
|
|
481
|
+
updatedAt?: any | null;
|
|
482
|
+
variantId: string;
|
|
483
|
+
}
|
|
484
|
+
export interface ProductLastViewedInput {
|
|
485
|
+
createdAt?: any | null;
|
|
486
|
+
customerId: string;
|
|
487
|
+
deleted?: boolean | null;
|
|
488
|
+
id?: string | null;
|
|
489
|
+
products: ProductItemInput[];
|
|
490
|
+
updatedAt?: any | null;
|
|
491
|
+
}
|
|
316
492
|
export interface RetrieveInstallmentInfoInput {
|
|
317
493
|
binNumber: string;
|
|
318
494
|
paymentGatewayId: string;
|
|
@@ -327,6 +503,7 @@ export interface SaveCheckoutInput {
|
|
|
327
503
|
customer?: CheckoutCustomerInput | null;
|
|
328
504
|
deleted?: boolean | null;
|
|
329
505
|
id?: string | null;
|
|
506
|
+
note?: string | null;
|
|
330
507
|
shippingAddress?: OrderAddressInput | null;
|
|
331
508
|
shippingMethod: ShippingMethodEnum;
|
|
332
509
|
shippingSettingsId?: string | null;
|
|
@@ -337,6 +514,11 @@ export interface SaveItemToCartInput {
|
|
|
337
514
|
cartId?: string | null;
|
|
338
515
|
customerId?: string | null;
|
|
339
516
|
item: CartLineItemInput;
|
|
517
|
+
priceListId?: string | null;
|
|
518
|
+
salesChannelId: string;
|
|
519
|
+
storefrontId: string;
|
|
520
|
+
storefrontRoutingId: string;
|
|
521
|
+
storefrontThemeId: string;
|
|
340
522
|
}
|
|
341
523
|
export interface SaveMyCustomerInput {
|
|
342
524
|
addresses?: CustomerAddressInput[] | null;
|
|
@@ -344,6 +526,30 @@ export interface SaveMyCustomerInput {
|
|
|
344
526
|
lastName: string;
|
|
345
527
|
phone?: string | null;
|
|
346
528
|
}
|
|
529
|
+
export interface SearchInput {
|
|
530
|
+
brandId?: string | null;
|
|
531
|
+
categoryIdList?: string[] | null;
|
|
532
|
+
filterList?: SearchInputFilterListInput[] | null;
|
|
533
|
+
order?: SearchInputOrderByInput[] | null;
|
|
534
|
+
page?: number | null;
|
|
535
|
+
perPage?: number | null;
|
|
536
|
+
priceListId?: string | null;
|
|
537
|
+
productIdList?: string[] | null;
|
|
538
|
+
query?: string | null;
|
|
539
|
+
salesChannelId?: string | null;
|
|
540
|
+
showStockOption?: ProductSearchShowStockOptionEnum | null;
|
|
541
|
+
slug?: string | null;
|
|
542
|
+
}
|
|
543
|
+
export interface SearchInputFilterListInput {
|
|
544
|
+
id: string;
|
|
545
|
+
type: ProductFilterTypeEnum;
|
|
546
|
+
useAndFilter?: boolean | null;
|
|
547
|
+
valueList: string[];
|
|
548
|
+
}
|
|
549
|
+
export interface SearchInputOrderByInput {
|
|
550
|
+
direction: SortByDirectionEnum;
|
|
551
|
+
type: SortByTypeEnum;
|
|
552
|
+
}
|
|
347
553
|
export interface StringFilterInput {
|
|
348
554
|
eq?: string | null;
|
|
349
555
|
in?: string[] | null;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { IkasProductDetail, IkasOrderLineItem, IkasCheckout, IkasCategory } from "../models/index";
|
|
2
|
+
import { CheckoutStep } from "../components/checkout/model";
|
|
3
|
+
import { IkasCart } from "../models/data/cart/index";
|
|
4
|
+
export declare class Analytics {
|
|
5
|
+
constructor();
|
|
6
|
+
static pageView(url: string): void;
|
|
7
|
+
static productView(productDetail: IkasProductDetail): void;
|
|
8
|
+
static addToCart(item: IkasProductDetail | IkasOrderLineItem, quantity: number): void;
|
|
9
|
+
static removeFromCart(item: IkasProductDetail | IkasOrderLineItem, quantity: number): void;
|
|
10
|
+
static beginCheckout(checkout: IkasCheckout): void;
|
|
11
|
+
static purchase(checkout: IkasCheckout, orderId: string): void;
|
|
12
|
+
static checkoutStep(checkout: IkasCheckout, step: CheckoutStep): void;
|
|
13
|
+
static disableHTML(): void;
|
|
14
|
+
static addToWishlist(id: string): void;
|
|
15
|
+
static search(searchKeyword: string): void;
|
|
16
|
+
static completeRegistration(): void;
|
|
17
|
+
static customerLogin(email: string): void;
|
|
18
|
+
static customerVisit(email: string): void;
|
|
19
|
+
static viewCart(cart: IkasCart | null | undefined): void;
|
|
20
|
+
static viewCategory(categoryPath: string, category: IkasCategory): void;
|
|
21
|
+
static contactForm(): void;
|
|
22
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { IkasProductDetail, IkasOrderLineItem, IkasCheckout } from "../models/index";
|
|
2
|
+
import { IkasCart } from "../models/data/cart/index";
|
|
3
|
+
export declare class FacebookPixel {
|
|
4
|
+
constructor();
|
|
5
|
+
static productView(productDetail: IkasProductDetail): void;
|
|
6
|
+
static addToCart(item: IkasProductDetail | IkasOrderLineItem, quantity: number): void;
|
|
7
|
+
static beginCheckout(checkout: IkasCheckout): void;
|
|
8
|
+
static purchase(checkout: IkasCheckout, orderId: string): void;
|
|
9
|
+
static addToWishlist(id: string): void;
|
|
10
|
+
static search(searchKeyword: string): void;
|
|
11
|
+
static completeRegistration(): void;
|
|
12
|
+
static viewCart(cart: IkasCart): void;
|
|
13
|
+
static viewCategory(categoryPath: string): void;
|
|
14
|
+
static contactForm(): void;
|
|
15
|
+
}
|
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
import { IkasProductDetail, IkasOrderLineItem, IkasCheckout, IkasCategory } from "../models/index";
|
|
2
|
+
import { CheckoutStep } from "../components/checkout/model";
|
|
3
|
+
export declare class GoogleTagManager {
|
|
4
|
+
constructor();
|
|
5
|
+
static pageView(url: string): {
|
|
6
|
+
event: string;
|
|
7
|
+
page: string;
|
|
8
|
+
} | undefined;
|
|
9
|
+
static productView(productDetail: IkasProductDetail): {
|
|
10
|
+
event: string;
|
|
11
|
+
ecommerce: {
|
|
12
|
+
items: {
|
|
13
|
+
item_name: string;
|
|
14
|
+
item_id: string;
|
|
15
|
+
price: number;
|
|
16
|
+
item_brand: string;
|
|
17
|
+
item_category: string;
|
|
18
|
+
item_category_2: string;
|
|
19
|
+
item_category_3: string;
|
|
20
|
+
item_category_4: string;
|
|
21
|
+
item_variant: string;
|
|
22
|
+
item_list_name: string;
|
|
23
|
+
item_list_id: string;
|
|
24
|
+
index: number;
|
|
25
|
+
quantity: number;
|
|
26
|
+
}[];
|
|
27
|
+
extraParams: {
|
|
28
|
+
parent_id: string;
|
|
29
|
+
currency: string;
|
|
30
|
+
url: string;
|
|
31
|
+
item_image: string;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
} | undefined;
|
|
35
|
+
static addToCart(item: IkasProductDetail | IkasOrderLineItem, quantity: number): {
|
|
36
|
+
event: string;
|
|
37
|
+
ecommerce: {
|
|
38
|
+
items: ({
|
|
39
|
+
item_name: string;
|
|
40
|
+
item_id: string;
|
|
41
|
+
price: number;
|
|
42
|
+
item_brand: string;
|
|
43
|
+
item_category: string;
|
|
44
|
+
item_category_2: string;
|
|
45
|
+
item_category_3: string;
|
|
46
|
+
item_category_4: string;
|
|
47
|
+
item_variant: string;
|
|
48
|
+
item_list_name: string;
|
|
49
|
+
item_list_id: string;
|
|
50
|
+
index: number;
|
|
51
|
+
quantity: number;
|
|
52
|
+
} | {
|
|
53
|
+
item_name: string;
|
|
54
|
+
item_id: string;
|
|
55
|
+
price: string;
|
|
56
|
+
item_brand: string;
|
|
57
|
+
item_category: string;
|
|
58
|
+
item_category_2: string;
|
|
59
|
+
item_category_3: string;
|
|
60
|
+
item_category_4: string;
|
|
61
|
+
item_variant: string;
|
|
62
|
+
item_list_name: string;
|
|
63
|
+
item_list_id: string;
|
|
64
|
+
index: number;
|
|
65
|
+
quantity: number;
|
|
66
|
+
})[];
|
|
67
|
+
};
|
|
68
|
+
} | undefined;
|
|
69
|
+
static removeFromCart(item: IkasProductDetail | IkasOrderLineItem, quantity: number): {
|
|
70
|
+
event: string;
|
|
71
|
+
ecommerce: {
|
|
72
|
+
items: ({
|
|
73
|
+
item_name: string;
|
|
74
|
+
item_id: string;
|
|
75
|
+
price: number;
|
|
76
|
+
item_brand: string;
|
|
77
|
+
item_category: string;
|
|
78
|
+
item_category_2: string;
|
|
79
|
+
item_category_3: string;
|
|
80
|
+
item_category_4: string;
|
|
81
|
+
item_variant: string;
|
|
82
|
+
item_list_name: string;
|
|
83
|
+
item_list_id: string;
|
|
84
|
+
index: number;
|
|
85
|
+
quantity: number;
|
|
86
|
+
} | {
|
|
87
|
+
item_name: string;
|
|
88
|
+
item_id: string;
|
|
89
|
+
price: string;
|
|
90
|
+
item_brand: string;
|
|
91
|
+
item_category: string;
|
|
92
|
+
item_category_2: string;
|
|
93
|
+
item_category_3: string;
|
|
94
|
+
item_category_4: string;
|
|
95
|
+
item_variant: string;
|
|
96
|
+
item_list_name: string;
|
|
97
|
+
item_list_id: string;
|
|
98
|
+
index: number;
|
|
99
|
+
quantity: number;
|
|
100
|
+
})[];
|
|
101
|
+
};
|
|
102
|
+
} | undefined;
|
|
103
|
+
static beginCheckout(checkout: IkasCheckout): {
|
|
104
|
+
event: string;
|
|
105
|
+
ecommerce: {
|
|
106
|
+
items: {
|
|
107
|
+
item_name: string;
|
|
108
|
+
item_id: string;
|
|
109
|
+
price: string;
|
|
110
|
+
item_brand: string;
|
|
111
|
+
item_category: string;
|
|
112
|
+
item_category_2: string;
|
|
113
|
+
item_category_3: string;
|
|
114
|
+
item_category_4: string;
|
|
115
|
+
item_variant: string;
|
|
116
|
+
item_list_name: string;
|
|
117
|
+
item_list_id: string;
|
|
118
|
+
index: number;
|
|
119
|
+
quantity: number;
|
|
120
|
+
}[] | undefined;
|
|
121
|
+
};
|
|
122
|
+
} | undefined;
|
|
123
|
+
static purchase(checkout: IkasCheckout, orderId: string): {
|
|
124
|
+
event: string;
|
|
125
|
+
ecommerce: {
|
|
126
|
+
purchase: {
|
|
127
|
+
transaction_id: string;
|
|
128
|
+
affiliation: string;
|
|
129
|
+
value: string;
|
|
130
|
+
tax: string;
|
|
131
|
+
shipping: string;
|
|
132
|
+
currency: string | undefined;
|
|
133
|
+
coupon: string | null | undefined;
|
|
134
|
+
items: {
|
|
135
|
+
item_name: string;
|
|
136
|
+
item_id: string;
|
|
137
|
+
price: string;
|
|
138
|
+
item_brand: string;
|
|
139
|
+
item_category: string;
|
|
140
|
+
item_category_2: string;
|
|
141
|
+
item_category_3: string;
|
|
142
|
+
item_category_4: string;
|
|
143
|
+
item_variant: string;
|
|
144
|
+
item_list_name: string;
|
|
145
|
+
item_list_id: string;
|
|
146
|
+
index: number;
|
|
147
|
+
quantity: number;
|
|
148
|
+
}[] | undefined;
|
|
149
|
+
};
|
|
150
|
+
};
|
|
151
|
+
} | undefined;
|
|
152
|
+
static checkoutStep(checkout: IkasCheckout, step: CheckoutStep): {
|
|
153
|
+
event: string;
|
|
154
|
+
ecommerce: {
|
|
155
|
+
items: {
|
|
156
|
+
item_name: string;
|
|
157
|
+
item_id: string;
|
|
158
|
+
price: string;
|
|
159
|
+
item_brand: string;
|
|
160
|
+
item_category: string;
|
|
161
|
+
item_category_2: string;
|
|
162
|
+
item_category_3: string;
|
|
163
|
+
item_category_4: string;
|
|
164
|
+
item_variant: string;
|
|
165
|
+
item_list_name: string;
|
|
166
|
+
item_list_id: string;
|
|
167
|
+
index: number;
|
|
168
|
+
quantity: number;
|
|
169
|
+
}[] | undefined;
|
|
170
|
+
};
|
|
171
|
+
} | undefined;
|
|
172
|
+
static disableHTML(): void;
|
|
173
|
+
static completeRegistration(): {
|
|
174
|
+
event: string;
|
|
175
|
+
} | undefined;
|
|
176
|
+
static search(searchKeyword: string): {
|
|
177
|
+
event: string;
|
|
178
|
+
search_string: string;
|
|
179
|
+
} | undefined;
|
|
180
|
+
static viewCategory(category: IkasCategory, categoryPath: string): {
|
|
181
|
+
event: string;
|
|
182
|
+
ecommerce: {
|
|
183
|
+
category: {
|
|
184
|
+
id: string;
|
|
185
|
+
name: string;
|
|
186
|
+
metaData: import("../models/index").IkasHTMLMetaData | null | undefined;
|
|
187
|
+
href: string;
|
|
188
|
+
image: import("../models/index").IkasImage | null | undefined;
|
|
189
|
+
path: string;
|
|
190
|
+
}[];
|
|
191
|
+
};
|
|
192
|
+
} | undefined;
|
|
193
|
+
static customerLogin(email: string): {
|
|
194
|
+
event: string;
|
|
195
|
+
email: string;
|
|
196
|
+
} | undefined;
|
|
197
|
+
static customerVisit(email: string): {
|
|
198
|
+
event: string;
|
|
199
|
+
email: string;
|
|
200
|
+
} | undefined;
|
|
201
|
+
}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { StringFilterInput, PaginationInput, BlogMetadataTargetTypeEnum } from "../../../__generated__/global-types";
|
|
2
|
+
export interface getBlog_listBlog_data_blogContent {
|
|
3
|
+
__typename: "BlogContent";
|
|
4
|
+
content: string;
|
|
5
|
+
createdAt: any | null;
|
|
6
|
+
deleted: boolean | null;
|
|
7
|
+
id: string;
|
|
8
|
+
updatedAt: any | null;
|
|
9
|
+
}
|
|
10
|
+
export interface getBlog_listBlog_data_category_metadata {
|
|
11
|
+
__typename: "BlogMetadata";
|
|
12
|
+
createdAt: any | null;
|
|
13
|
+
deleted: boolean | null;
|
|
14
|
+
description: string | null;
|
|
15
|
+
id: string;
|
|
16
|
+
pageTitle: string | null;
|
|
17
|
+
slug: string;
|
|
18
|
+
targetId: string | null;
|
|
19
|
+
targetType: BlogMetadataTargetTypeEnum | null;
|
|
20
|
+
updatedAt: any | null;
|
|
21
|
+
}
|
|
22
|
+
export interface getBlog_listBlog_data_category {
|
|
23
|
+
__typename: "BlogCategory";
|
|
24
|
+
createdAt: any | null;
|
|
25
|
+
updatedAt: any | null;
|
|
26
|
+
deleted: boolean | null;
|
|
27
|
+
id: string;
|
|
28
|
+
name: string;
|
|
29
|
+
imageId: string;
|
|
30
|
+
metadata: getBlog_listBlog_data_category_metadata;
|
|
31
|
+
}
|
|
32
|
+
export interface getBlog_listBlog_data_metadata {
|
|
33
|
+
__typename: "BlogMetadata";
|
|
34
|
+
createdAt: any | null;
|
|
35
|
+
deleted: boolean | null;
|
|
36
|
+
description: string | null;
|
|
37
|
+
id: string;
|
|
38
|
+
pageTitle: string | null;
|
|
39
|
+
slug: string;
|
|
40
|
+
targetId: string | null;
|
|
41
|
+
targetType: BlogMetadataTargetTypeEnum | null;
|
|
42
|
+
updatedAt: any | null;
|
|
43
|
+
}
|
|
44
|
+
export interface getBlog_listBlog_data_writer {
|
|
45
|
+
__typename: "BlogWriter";
|
|
46
|
+
firstName: string;
|
|
47
|
+
lastName: string;
|
|
48
|
+
}
|
|
49
|
+
export interface getBlog_listBlog_data {
|
|
50
|
+
__typename: "Blog";
|
|
51
|
+
title: string;
|
|
52
|
+
blogContent: getBlog_listBlog_data_blogContent;
|
|
53
|
+
categoryId: string;
|
|
54
|
+
category: getBlog_listBlog_data_category;
|
|
55
|
+
createdAt: any | null;
|
|
56
|
+
deleted: boolean | null;
|
|
57
|
+
id: string;
|
|
58
|
+
imageId: string;
|
|
59
|
+
isPublished: boolean;
|
|
60
|
+
metadata: getBlog_listBlog_data_metadata;
|
|
61
|
+
writer: getBlog_listBlog_data_writer;
|
|
62
|
+
publishedAt: any | null;
|
|
63
|
+
shortDescription: string;
|
|
64
|
+
storefrontId: string;
|
|
65
|
+
tagIds: string[] | null;
|
|
66
|
+
updatedAt: any | null;
|
|
67
|
+
}
|
|
68
|
+
export interface getBlog_listBlog {
|
|
69
|
+
__typename: "BlogPaginationResponse";
|
|
70
|
+
count: number;
|
|
71
|
+
data: getBlog_listBlog_data[];
|
|
72
|
+
hasNext: boolean;
|
|
73
|
+
limit: number;
|
|
74
|
+
page: number;
|
|
75
|
+
}
|
|
76
|
+
export interface getBlog {
|
|
77
|
+
listBlog: getBlog_listBlog;
|
|
78
|
+
}
|
|
79
|
+
export interface getBlogVariables {
|
|
80
|
+
id?: StringFilterInput | null;
|
|
81
|
+
pagination?: PaginationInput | null;
|
|
82
|
+
storefrontId?: StringFilterInput | null;
|
|
83
|
+
}
|