@ikas/storefront 0.0.16-0.alpha-1 → 0.0.16
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 +8 -214
- package/build/api/brand/__generated__/listProductBrand.d.ts +2 -3
- package/build/api/brand/index.d.ts +0 -1
- package/build/api/cart/__generated__/getCart.d.ts +3 -7
- package/build/api/cart/__generated__/saveItemToCart.d.ts +3 -6
- package/build/api/category/__generated__/listCategory.d.ts +2 -4
- package/build/api/category/index.d.ts +0 -3
- 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 +4 -5
- package/build/api/checkout/__generated__/listPaymentGateway.d.ts +2 -14
- package/build/api/checkout/__generated__/saveCheckout.d.ts +1 -1
- package/build/api/checkout/index.d.ts +3 -11
- package/build/api/city/__generated__/listCity.d.ts +1 -1
- package/build/api/country/__generated__/getAvailableShippingCountries.d.ts +0 -3
- package/build/api/country/__generated__/listCountry.d.ts +1 -8
- package/build/api/country/index.d.ts +2 -3
- package/build/api/customer/__generated__/customerLogin.d.ts +3 -5
- package/build/api/customer/__generated__/getCustomerOrders.d.ts +4 -3
- package/build/api/customer/__generated__/getMyCustomer.d.ts +2 -3
- 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__/saveMyCustomer.d.ts +2 -3
- package/build/api/customer/index.d.ts +0 -15
- package/build/api/district/__generated__/listDistrict.d.ts +1 -1
- package/build/api/html-meta-data/__generated__/listHTMLMetaData.d.ts +1 -2
- package/build/api/html-meta-data/index.d.ts +1 -1
- package/build/api/index.d.ts +3 -4
- package/build/api/merchant/__generated__/listMerchantSettings.d.ts +1 -1
- package/build/api/product/__generated__/listProduct.d.ts +90 -0
- package/build/api/product/index.d.ts +15 -0
- package/build/api/product-attribute/__generated__/listProductAttribute.d.ts +2 -2
- package/build/api/product-stock-location/__generated__/listProductStockLocation.d.ts +13 -0
- package/build/api/product-stock-location/index.d.ts +4 -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 +12 -41
- package/build/api/storefront/index.d.ts +1 -1
- package/build/api/theme/index.d.ts +4 -0
- package/build/api/variant-type/__generated__/listVariantType.d.ts +2 -2
- package/build/components/checkout/components/address-form/index.d.ts +0 -3
- package/build/components/checkout/components/address-form/model.d.ts +0 -11
- package/build/components/checkout/components/button/index.d.ts +1 -4
- package/build/components/checkout/components/checkbox/index.d.ts +1 -2
- package/build/components/checkout/components/error-container/payment-error/index.d.ts +0 -2
- package/build/components/checkout/components/form-item/model.d.ts +2 -11
- package/build/components/checkout/index.d.ts +0 -5
- package/build/components/checkout/model.d.ts +5 -18
- package/build/components/gtm/functions.d.ts +164 -0
- package/build/components/gtm/index.d.ts +7 -0
- package/build/components/hoc/ThemeComponent.d.ts +2 -2
- package/build/components/index.d.ts +2 -1
- package/build/components/page/head.d.ts +0 -5
- package/build/components/page/index.d.ts +1 -6
- package/build/components/page-editor/model.d.ts +2 -6
- package/build/index.d.ts +0 -1
- package/build/index.es.js +10449 -18854
- package/build/index.js +10441 -18882
- package/build/models/data/brand/index.d.ts +1 -1
- package/build/models/data/cart/index.d.ts +0 -9
- package/build/models/data/category/index.d.ts +1 -22
- package/build/models/data/checkout/index.d.ts +0 -5
- package/build/models/data/country/index.d.ts +0 -2
- package/build/models/data/customer/index.d.ts +0 -7
- package/build/models/data/image/index.d.ts +0 -1
- package/build/models/data/index.d.ts +1 -5
- package/build/models/data/order/address/index.d.ts +0 -6
- package/build/models/data/order/index.d.ts +1 -19
- package/build/models/data/order/line-item/index.d.ts +0 -18
- package/build/models/data/payment-gateway/index.d.ts +2 -26
- package/build/models/data/product/attribute-value/index.d.ts +1 -15
- package/build/models/data/product/index.d.ts +1 -2
- package/build/models/data/product/variant/index.d.ts +0 -1
- package/build/models/data/product/variant/price/index.d.ts +0 -2
- package/build/models/data/product-attribute/index.d.ts +2 -5
- package/build/models/data/storefront/index.d.ts +6 -17
- package/build/models/data/storefront/stockfront-location/index.d.ts +5 -0
- package/build/models/data/storefront/stockfront-route/index.d.ts +5 -0
- package/build/models/data/storefront/{domain → storefront-domain}/index.d.ts +0 -1
- package/build/models/data/storefront/storefront-region/index.d.ts +18 -0
- package/build/models/data/variant-type/variant-value/index.d.ts +1 -1
- package/build/models/theme/component/prop/index.d.ts +1 -17
- package/build/models/theme/index.d.ts +0 -4
- package/build/models/theme/page/component/prop-value/product-list.d.ts +0 -2
- package/build/models/theme/page/index.d.ts +1 -14
- package/build/models/theme/theme.d.ts +0 -4
- package/build/models/ui/brand-list/index.d.ts +0 -3
- package/build/models/ui/category-list/index.d.ts +0 -3
- package/build/models/ui/index.d.ts +2 -12
- package/build/models/ui/product-detail/index.d.ts +3 -14
- package/build/models/ui/product-list/filter.d.ts +18 -0
- package/build/models/ui/product-list/index.d.ts +14 -62
- package/build/pages/{pages/[slug].d.ts → [slug]/[secondSlug].d.ts} +0 -2
- package/build/pages/[slug]/index.d.ts +3 -9
- package/build/pages/account/addresses.d.ts +0 -2
- package/build/pages/account/forgot-password.d.ts +0 -3
- package/build/pages/account/index.d.ts +0 -2
- package/build/pages/account/login.d.ts +0 -3
- package/build/pages/account/orders/[id].d.ts +0 -2
- package/build/pages/account/orders/index.d.ts +0 -2
- package/build/pages/account/recover-password.d.ts +0 -3
- package/build/pages/account/register.d.ts +0 -3
- package/build/pages/checkout/[id].d.ts +0 -5
- package/build/pages/home.d.ts +0 -3
- package/build/pages/index.d.ts +2 -8
- package/build/store/base.d.ts +0 -17
- package/build/store/customer.d.ts +1 -31
- package/build/storefront/index.d.ts +3 -29
- package/build/utils/helper.d.ts +0 -1
- package/build/utils/index.d.ts +0 -1
- package/build/utils/providers/page-data.d.ts +5 -60
- 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/product-detail.d.ts +2 -2
- package/build/utils/providers/prop-value/product-list.d.ts +3 -1
- package/package.json +3 -3
- package/build/analytics/analytics.d.ts +0 -22
- package/build/analytics/facebookPixel.d.ts +0 -15
- package/build/analytics/googleTagManager.d.ts +0 -201
- package/build/analytics/head/index.d.ts +0 -7
- package/build/analytics/index.d.ts +0 -2
- package/build/api/blog/__generated__/getBlog.d.ts +0 -83
- package/build/api/blog/__generated__/listBlog.d.ts +0 -86
- package/build/api/blog/__generated__/listBlogCategory.d.ts +0 -38
- package/build/api/blog/__generated__/listBlogMetaData.d.ts +0 -29
- package/build/api/blog/index.d.ts +0 -32
- package/build/api/category/__generated__/listCategoryPaths.d.ts +0 -23
- package/build/api/checkout/__generated__/listCheckoutSettings.d.ts +0 -26
- package/build/api/contact-form/__generated__/sendContactFormToMerchant.d.ts +0 -9
- package/build/api/contact-form/index.d.ts +0 -10
- package/build/api/country/__generated__/getMyCountry.d.ts +0 -3
- package/build/api/customer/__generated__/createCustomerEmailSubscription.d.ts +0 -11
- package/build/api/customer/__generated__/createOrderRefundRequest.d.ts +0 -215
- package/build/api/customer/__generated__/getLastViewedProducts.d.ts +0 -15
- package/build/api/customer/__generated__/saveLastViewedProducts.d.ts +0 -11
- package/build/api/favorite-product/__generated__/isFavoriteProduct.d.ts +0 -6
- package/build/api/favorite-product/__generated__/listFavoriteProducts.d.ts +0 -12
- package/build/api/favorite-product/__generated__/saveFavoriteProduct.d.ts +0 -7
- package/build/api/favorite-product/index.d.ts +0 -6
- package/build/api/product-search/__generated__/getProductFilterData.d.ts +0 -50
- package/build/api/product-search/__generated__/searchProducts.d.ts +0 -26
- package/build/api/product-search/index.d.ts +0 -20
- package/build/components/checkout/components/cart-summary/cross.d.ts +0 -6
- package/build/components/checkout/components/cart-summary/tag.d.ts +0 -6
- package/build/components/checkout/components/error-container/customer-login-required-error/index.d.ts +0 -6
- package/build/components/image/index.d.ts +0 -35
- package/build/models/data/blog/index.d.ts +0 -67
- package/build/models/data/checkout-settings/index.d.ts +0 -18
- package/build/models/data/contact-form/index.d.ts +0 -7
- package/build/models/data/favorite-product/index.d.ts +0 -6
- package/build/models/data/order/refund/index.d.ts +0 -6
- package/build/models/data/order/refund/refund-line-item/index.d.ts +0 -5
- package/build/models/data/product-attribute/product-attribute-table-cell/index.d.ts +0 -5
- package/build/models/data/product-attribute/product-attribute-table-template/index.d.ts +0 -6
- package/build/models/data/product-filter/index.d.ts +0 -102
- package/build/models/data/product-tag/index.d.ts +0 -5
- package/build/models/data/sales-channel/index.d.ts +0 -18
- package/build/models/data/simple-product/index.d.ts +0 -135
- package/build/models/data/storefront/localization/index.d.ts +0 -7
- package/build/models/data/storefront/routing/index.d.ts +0 -9
- package/build/models/data/storefront/theme/index.d.ts +0 -13
- package/build/models/data/storefront/theme-localization/index.d.ts +0 -12
- package/build/models/theme/custom-data/index.d.ts +0 -24
- package/build/models/theme/page/component/prop-value/attribute-list.d.ts +0 -7
- package/build/models/theme/page/component/prop-value/attribute.d.ts +0 -7
- package/build/models/theme/page/component/prop-value/blog-list.d.ts +0 -9
- package/build/models/theme/page/component/prop-value/blog.d.ts +0 -5
- package/build/models/theme/settings/index.d.ts +0 -7
- package/build/models/theme/settings/prop/color/index.d.ts +0 -7
- package/build/models/theme/settings/prop/favicon/index.d.ts +0 -4
- package/build/models/ui/blog-list/index.d.ts +0 -56
- package/build/models/ui/component-renderer/index.d.ts +0 -7
- package/build/models/ui/validator/form/account-info.d.ts +0 -40
- package/build/models/ui/validator/form/address.d.ts +0 -75
- package/build/models/ui/validator/form/contact-form.d.ts +0 -45
- package/build/models/ui/validator/form/forgot-password.d.ts +0 -29
- package/build/models/ui/validator/form/login.d.ts +0 -35
- package/build/models/ui/validator/form/recover-password.d.ts +0 -36
- package/build/models/ui/validator/form/register.d.ts +0 -45
- package/build/models/ui/validator/index.d.ts +0 -27
- package/build/models/ui/validator/rules/index.d.ts +0 -87
- package/build/pages/404.d.ts +0 -13
- package/build/pages/account/favorite-products.d.ts +0 -12
- package/build/pages/blog/[slug].d.ts +0 -18
- package/build/pages/blog/index.d.ts +0 -13
- package/build/pages/cart.d.ts +0 -12
- package/build/pages/search.d.ts +0 -13
- package/build/utils/providers/placeholders.d.ts +0 -5
- package/build/utils/providers/prop-value/attribute-list.d.ts +0 -9
- package/build/utils/providers/prop-value/attribute.d.ts +0 -9
- package/build/utils/providers/prop-value/blog-list.d.ts +0 -9
- package/build/utils/providers/prop-value/blog.d.ts +0 -8
- package/build/utils/providers/prop-value/color.d.ts +0 -6
- package/build/utils/providers/prop-value/custom.d.ts +0 -40
- package/build/utils/providers/prop-value/rich-text.d.ts +0 -6
- package/build/utils/settings.d.ts +0 -168
|
@@ -1,15 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,201 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,83 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
import { StringFilterInput, PaginationInput, BlogMetadataTargetTypeEnum } from "../../../__generated__/global-types";
|
|
2
|
-
export interface listBlog_listBlog_data_category_metadata {
|
|
3
|
-
__typename: "BlogMetadata";
|
|
4
|
-
createdAt: any | null;
|
|
5
|
-
deleted: boolean | null;
|
|
6
|
-
description: string | null;
|
|
7
|
-
id: string;
|
|
8
|
-
pageTitle: string | null;
|
|
9
|
-
slug: string;
|
|
10
|
-
targetId: string | null;
|
|
11
|
-
targetType: BlogMetadataTargetTypeEnum | null;
|
|
12
|
-
updatedAt: any | null;
|
|
13
|
-
}
|
|
14
|
-
export interface listBlog_listBlog_data_category {
|
|
15
|
-
__typename: "BlogCategory";
|
|
16
|
-
createdAt: any | null;
|
|
17
|
-
updatedAt: any | null;
|
|
18
|
-
deleted: boolean | null;
|
|
19
|
-
id: string;
|
|
20
|
-
name: string;
|
|
21
|
-
imageId: string;
|
|
22
|
-
metadata: listBlog_listBlog_data_category_metadata;
|
|
23
|
-
}
|
|
24
|
-
export interface listBlog_listBlog_data_tags {
|
|
25
|
-
__typename: "BlogTag";
|
|
26
|
-
createdAt: any | null;
|
|
27
|
-
id: string;
|
|
28
|
-
name: string;
|
|
29
|
-
deleted: boolean | null;
|
|
30
|
-
updatedAt: any | null;
|
|
31
|
-
}
|
|
32
|
-
export interface listBlog_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 listBlog_listBlog_data_writer {
|
|
45
|
-
__typename: "BlogWriter";
|
|
46
|
-
firstName: string;
|
|
47
|
-
lastName: string;
|
|
48
|
-
}
|
|
49
|
-
export interface listBlog_listBlog_data {
|
|
50
|
-
__typename: "Blog";
|
|
51
|
-
title: string;
|
|
52
|
-
categoryId: string;
|
|
53
|
-
category: listBlog_listBlog_data_category;
|
|
54
|
-
tags: listBlog_listBlog_data_tags[] | null;
|
|
55
|
-
createdAt: any | null;
|
|
56
|
-
deleted: boolean | null;
|
|
57
|
-
id: string;
|
|
58
|
-
imageId: string;
|
|
59
|
-
isPublished: boolean;
|
|
60
|
-
metadata: listBlog_listBlog_data_metadata;
|
|
61
|
-
writer: listBlog_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 listBlog_listBlog {
|
|
69
|
-
__typename: "BlogPaginationResponse";
|
|
70
|
-
count: number;
|
|
71
|
-
data: listBlog_listBlog_data[];
|
|
72
|
-
hasNext: boolean;
|
|
73
|
-
limit: number;
|
|
74
|
-
page: number;
|
|
75
|
-
}
|
|
76
|
-
export interface listBlog {
|
|
77
|
-
listBlog: listBlog_listBlog;
|
|
78
|
-
}
|
|
79
|
-
export interface listBlogVariables {
|
|
80
|
-
id?: StringFilterInput | null;
|
|
81
|
-
categoryId?: StringFilterInput | null;
|
|
82
|
-
pagination?: PaginationInput | null;
|
|
83
|
-
storefrontId?: StringFilterInput | null;
|
|
84
|
-
tagId?: StringFilterInput | null;
|
|
85
|
-
title?: StringFilterInput | null;
|
|
86
|
-
}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { StringFilterInput, PaginationInput, BlogMetadataTargetTypeEnum } from "../../../__generated__/global-types";
|
|
2
|
-
export interface listBlogCategory_listBlogCategory_data_metadata {
|
|
3
|
-
__typename: "BlogMetadata";
|
|
4
|
-
createdAt: any | null;
|
|
5
|
-
deleted: boolean | null;
|
|
6
|
-
description: string | null;
|
|
7
|
-
id: string;
|
|
8
|
-
pageTitle: string | null;
|
|
9
|
-
slug: string;
|
|
10
|
-
targetId: string | null;
|
|
11
|
-
targetType: BlogMetadataTargetTypeEnum | null;
|
|
12
|
-
updatedAt: any | null;
|
|
13
|
-
}
|
|
14
|
-
export interface listBlogCategory_listBlogCategory_data {
|
|
15
|
-
__typename: "BlogCategory";
|
|
16
|
-
createdAt: any | null;
|
|
17
|
-
deleted: boolean | null;
|
|
18
|
-
id: string;
|
|
19
|
-
imageId: string;
|
|
20
|
-
metadata: listBlogCategory_listBlogCategory_data_metadata;
|
|
21
|
-
name: string;
|
|
22
|
-
updatedAt: any | null;
|
|
23
|
-
}
|
|
24
|
-
export interface listBlogCategory_listBlogCategory {
|
|
25
|
-
__typename: "BlogCategoryPaginationResponse";
|
|
26
|
-
count: number;
|
|
27
|
-
data: listBlogCategory_listBlogCategory_data[];
|
|
28
|
-
hasNext: boolean;
|
|
29
|
-
limit: number;
|
|
30
|
-
page: number;
|
|
31
|
-
}
|
|
32
|
-
export interface listBlogCategory {
|
|
33
|
-
listBlogCategory: listBlogCategory_listBlogCategory;
|
|
34
|
-
}
|
|
35
|
-
export interface listBlogCategoryVariables {
|
|
36
|
-
id?: StringFilterInput | null;
|
|
37
|
-
pagination?: PaginationInput | null;
|
|
38
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { StringFilterInput, BlogMetadataTargetTypeEnumFilter, BlogMetadataTargetTypeEnum } from "../../../__generated__/global-types";
|
|
2
|
-
export interface listBlogMetaData_listBlogMetadata_data {
|
|
3
|
-
__typename: "BlogMetadata";
|
|
4
|
-
createdAt: any | null;
|
|
5
|
-
deleted: boolean | null;
|
|
6
|
-
description: string | null;
|
|
7
|
-
id: string;
|
|
8
|
-
pageTitle: string | null;
|
|
9
|
-
slug: string;
|
|
10
|
-
targetId: string | null;
|
|
11
|
-
targetType: BlogMetadataTargetTypeEnum | null;
|
|
12
|
-
updatedAt: any | null;
|
|
13
|
-
}
|
|
14
|
-
export interface listBlogMetaData_listBlogMetadata {
|
|
15
|
-
__typename: "BlogMetadataPaginationResponse";
|
|
16
|
-
count: number;
|
|
17
|
-
data: listBlogMetaData_listBlogMetadata_data[];
|
|
18
|
-
hasNext: boolean;
|
|
19
|
-
limit: number;
|
|
20
|
-
page: number;
|
|
21
|
-
}
|
|
22
|
-
export interface listBlogMetaData {
|
|
23
|
-
listBlogMetadata: listBlogMetaData_listBlogMetadata;
|
|
24
|
-
}
|
|
25
|
-
export interface listBlogMetaDataVariables {
|
|
26
|
-
slug?: StringFilterInput | null;
|
|
27
|
-
targetId?: StringFilterInput | null;
|
|
28
|
-
targetType?: BlogMetadataTargetTypeEnumFilter | null;
|
|
29
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { IkasBlog, IkasBlogCategory, IkasBlogMetaData } from "../../models/data/blog/index";
|
|
2
|
-
export declare class IkasBlogAPI {
|
|
3
|
-
static listBlog(params: ListBlogParams): Promise<ListBlogResponse>;
|
|
4
|
-
static getBlog(params: GetBlogParams): Promise<IkasBlog | undefined>;
|
|
5
|
-
static listBlogMetaData(slug?: string, targetId?: string, targetType?: string[]): Promise<IkasBlogMetaData[]>;
|
|
6
|
-
static listBlogCategory(params: ListBlogCategoryParams): Promise<{
|
|
7
|
-
blogCategories: IkasBlogCategory[];
|
|
8
|
-
count: number;
|
|
9
|
-
hasNext: boolean;
|
|
10
|
-
}>;
|
|
11
|
-
}
|
|
12
|
-
declare type ListBlogParams = {
|
|
13
|
-
idList?: string[];
|
|
14
|
-
categoryId?: string;
|
|
15
|
-
page: number;
|
|
16
|
-
limit: number;
|
|
17
|
-
tagId?: string;
|
|
18
|
-
title?: string;
|
|
19
|
-
};
|
|
20
|
-
declare type ListBlogResponse = {
|
|
21
|
-
blogs: IkasBlog[];
|
|
22
|
-
count: number;
|
|
23
|
-
};
|
|
24
|
-
declare type GetBlogParams = {
|
|
25
|
-
id: string;
|
|
26
|
-
};
|
|
27
|
-
declare type ListBlogCategoryParams = {
|
|
28
|
-
idList?: string[];
|
|
29
|
-
page: number;
|
|
30
|
-
limit: number;
|
|
31
|
-
};
|
|
32
|
-
export {};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { StringFilterInput, PaginationInput } from "../../../__generated__/global-types";
|
|
2
|
-
export interface listCategoryPaths_listCategory_data_metaData {
|
|
3
|
-
__typename: "HTMLMetaData";
|
|
4
|
-
slug: string;
|
|
5
|
-
}
|
|
6
|
-
export interface listCategoryPaths_listCategory_data {
|
|
7
|
-
__typename: "Category";
|
|
8
|
-
id: string;
|
|
9
|
-
name: string;
|
|
10
|
-
metaData: listCategoryPaths_listCategory_data_metaData | null;
|
|
11
|
-
}
|
|
12
|
-
export interface listCategoryPaths_listCategory {
|
|
13
|
-
__typename: "CategoryPaginationResponse";
|
|
14
|
-
data: listCategoryPaths_listCategory_data[];
|
|
15
|
-
}
|
|
16
|
-
export interface listCategoryPaths {
|
|
17
|
-
listCategory: listCategoryPaths_listCategory;
|
|
18
|
-
}
|
|
19
|
-
export interface listCategoryPathsVariables {
|
|
20
|
-
id?: StringFilterInput | null;
|
|
21
|
-
pagination?: PaginationInput | null;
|
|
22
|
-
name?: StringFilterInput | null;
|
|
23
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { StringFilterInput, CheckoutRequirementEnum } from "../../../__generated__/global-types";
|
|
2
|
-
export interface listCheckoutSettings_listCheckoutSettings_options {
|
|
3
|
-
__typename: "CheckoutOption";
|
|
4
|
-
name: string;
|
|
5
|
-
required: boolean;
|
|
6
|
-
}
|
|
7
|
-
export interface listCheckoutSettings_listCheckoutSettings {
|
|
8
|
-
__typename: "CheckoutSettings";
|
|
9
|
-
createdAt: any | null;
|
|
10
|
-
id: string;
|
|
11
|
-
identityNumberRequirement: CheckoutRequirementEnum;
|
|
12
|
-
isAccountRequired: boolean;
|
|
13
|
-
isTermsAndConditionsDefaultChecked: boolean | null;
|
|
14
|
-
options: listCheckoutSettings_listCheckoutSettings_options[] | null;
|
|
15
|
-
phoneRequirement: CheckoutRequirementEnum;
|
|
16
|
-
showCheckoutNote: boolean | null;
|
|
17
|
-
showTermsAndConditionsCheckbox: boolean;
|
|
18
|
-
storefrontId: string;
|
|
19
|
-
updatedAt: any | null;
|
|
20
|
-
}
|
|
21
|
-
export interface listCheckoutSettings {
|
|
22
|
-
listCheckoutSettings: listCheckoutSettings_listCheckoutSettings[];
|
|
23
|
-
}
|
|
24
|
-
export interface listCheckoutSettingsVariables {
|
|
25
|
-
storefrontId: StringFilterInput;
|
|
26
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
declare type SaveContactForm = {
|
|
2
|
-
firstName: string;
|
|
3
|
-
lastName: string;
|
|
4
|
-
email: string;
|
|
5
|
-
message: string;
|
|
6
|
-
};
|
|
7
|
-
export declare class IkasContactFormAPI {
|
|
8
|
-
static sendContactFormToMerchant(input: SaveContactForm): Promise<boolean | undefined>;
|
|
9
|
-
}
|
|
10
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { CreateCustomerEmailSubscriptionInput } from "../../../__generated__/global-types";
|
|
2
|
-
export interface createCustomerEmailSubscription_createCustomerEmailSubscription {
|
|
3
|
-
__typename: "Customer";
|
|
4
|
-
id: string;
|
|
5
|
-
}
|
|
6
|
-
export interface createCustomerEmailSubscription {
|
|
7
|
-
createCustomerEmailSubscription: createCustomerEmailSubscription_createCustomerEmailSubscription;
|
|
8
|
-
}
|
|
9
|
-
export interface createCustomerEmailSubscriptionVariables {
|
|
10
|
-
input: CreateCustomerEmailSubscriptionInput;
|
|
11
|
-
}
|