@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,215 +0,0 @@
|
|
|
1
|
-
import { OrderRefundRequestInput, CancelledReasonEnum, AdjustmentEnum, AmountTypeEnum, OrderLineItemStatusEnum, OrderPackageFulfillStatusEnum, OrderPackageStatusEnum, PaymentStatusEnum, ShippingMethodEnum, OrderStatusEnum } from "../../../__generated__/global-types";
|
|
2
|
-
export interface createOrderRefundRequest_createOrderRefundRequest_billingAddress_city {
|
|
3
|
-
__typename: "OrderAddressCity";
|
|
4
|
-
code: string | null;
|
|
5
|
-
id: string | null;
|
|
6
|
-
name: string;
|
|
7
|
-
}
|
|
8
|
-
export interface createOrderRefundRequest_createOrderRefundRequest_billingAddress_country {
|
|
9
|
-
__typename: "OrderAddressCountry";
|
|
10
|
-
name: string;
|
|
11
|
-
id: string | null;
|
|
12
|
-
code: string | null;
|
|
13
|
-
}
|
|
14
|
-
export interface createOrderRefundRequest_createOrderRefundRequest_billingAddress_district {
|
|
15
|
-
__typename: "OrderAddressDistrict";
|
|
16
|
-
name: string | null;
|
|
17
|
-
id: string | null;
|
|
18
|
-
code: string | null;
|
|
19
|
-
}
|
|
20
|
-
export interface createOrderRefundRequest_createOrderRefundRequest_billingAddress_state {
|
|
21
|
-
__typename: "OrderAddressState";
|
|
22
|
-
name: string | null;
|
|
23
|
-
id: string | null;
|
|
24
|
-
code: string | null;
|
|
25
|
-
}
|
|
26
|
-
export interface createOrderRefundRequest_createOrderRefundRequest_billingAddress {
|
|
27
|
-
__typename: "OrderAddress";
|
|
28
|
-
addressLine1: string;
|
|
29
|
-
addressLine2: string | null;
|
|
30
|
-
city: createOrderRefundRequest_createOrderRefundRequest_billingAddress_city;
|
|
31
|
-
company: string | null;
|
|
32
|
-
country: createOrderRefundRequest_createOrderRefundRequest_billingAddress_country;
|
|
33
|
-
district: createOrderRefundRequest_createOrderRefundRequest_billingAddress_district | null;
|
|
34
|
-
firstName: string;
|
|
35
|
-
identityNumber: string | null;
|
|
36
|
-
isDefault: boolean;
|
|
37
|
-
lastName: string;
|
|
38
|
-
phone: string | null;
|
|
39
|
-
postalCode: string;
|
|
40
|
-
state: createOrderRefundRequest_createOrderRefundRequest_billingAddress_state | null;
|
|
41
|
-
taxNumber: string | null;
|
|
42
|
-
taxOffice: string | null;
|
|
43
|
-
}
|
|
44
|
-
export interface createOrderRefundRequest_createOrderRefundRequest_currencyRates {
|
|
45
|
-
__typename: "OrderCurrencyRate";
|
|
46
|
-
rate: number;
|
|
47
|
-
originalRate: number;
|
|
48
|
-
code: string;
|
|
49
|
-
}
|
|
50
|
-
export interface createOrderRefundRequest_createOrderRefundRequest_customer {
|
|
51
|
-
__typename: "OrderCustomer";
|
|
52
|
-
lastName: string | null;
|
|
53
|
-
firstName: string | null;
|
|
54
|
-
email: string | null;
|
|
55
|
-
id: string | null;
|
|
56
|
-
}
|
|
57
|
-
export interface createOrderRefundRequest_createOrderRefundRequest_orderAdjustments {
|
|
58
|
-
__typename: "OrderAdjustment";
|
|
59
|
-
type: AdjustmentEnum;
|
|
60
|
-
order: number;
|
|
61
|
-
name: string;
|
|
62
|
-
amountType: AmountTypeEnum;
|
|
63
|
-
amount: number;
|
|
64
|
-
}
|
|
65
|
-
export interface createOrderRefundRequest_createOrderRefundRequest_orderLineItems_discount {
|
|
66
|
-
__typename: "OrderLineDiscount";
|
|
67
|
-
reason: string | null;
|
|
68
|
-
amountType: AmountTypeEnum;
|
|
69
|
-
amount: number;
|
|
70
|
-
}
|
|
71
|
-
export interface createOrderRefundRequest_createOrderRefundRequest_orderLineItems_variant_variantValues {
|
|
72
|
-
__typename: "OrderLineVariantVariantValues";
|
|
73
|
-
variantValueName: string;
|
|
74
|
-
variantValueId: string;
|
|
75
|
-
variantTypeName: string;
|
|
76
|
-
variantTypeId: string;
|
|
77
|
-
order: number;
|
|
78
|
-
}
|
|
79
|
-
export interface createOrderRefundRequest_createOrderRefundRequest_orderLineItems_variant {
|
|
80
|
-
__typename: "OrderLineVariant";
|
|
81
|
-
barcodeList: string[] | null;
|
|
82
|
-
id: string | null;
|
|
83
|
-
mainImageId: string | null;
|
|
84
|
-
name: string;
|
|
85
|
-
productId: string | null;
|
|
86
|
-
sku: string | null;
|
|
87
|
-
variantValues: createOrderRefundRequest_createOrderRefundRequest_orderLineItems_variant_variantValues[] | null;
|
|
88
|
-
}
|
|
89
|
-
export interface createOrderRefundRequest_createOrderRefundRequest_orderLineItems {
|
|
90
|
-
__typename: "OrderLineItem";
|
|
91
|
-
createdAt: any | null;
|
|
92
|
-
currencyCode: string | null;
|
|
93
|
-
deleted: boolean | null;
|
|
94
|
-
discount: createOrderRefundRequest_createOrderRefundRequest_orderLineItems_discount | null;
|
|
95
|
-
discountPrice: number | null;
|
|
96
|
-
finalPrice: number | null;
|
|
97
|
-
id: string;
|
|
98
|
-
originalOrderLineItemId: string | null;
|
|
99
|
-
price: number;
|
|
100
|
-
quantity: number;
|
|
101
|
-
status: OrderLineItemStatusEnum;
|
|
102
|
-
statusUpdatedAt: any | null;
|
|
103
|
-
stockLocationId: string | null;
|
|
104
|
-
taxValue: number | null;
|
|
105
|
-
updatedAt: any | null;
|
|
106
|
-
variant: createOrderRefundRequest_createOrderRefundRequest_orderLineItems_variant;
|
|
107
|
-
}
|
|
108
|
-
export interface createOrderRefundRequest_createOrderRefundRequest_orderPackages_trackingInfo {
|
|
109
|
-
__typename: "TrackingInfo";
|
|
110
|
-
trackingNumber: string | null;
|
|
111
|
-
trackingLink: string | null;
|
|
112
|
-
isSendNotification: boolean | null;
|
|
113
|
-
cargoCompany: string | null;
|
|
114
|
-
}
|
|
115
|
-
export interface createOrderRefundRequest_createOrderRefundRequest_orderPackages {
|
|
116
|
-
__typename: "OrderPackage";
|
|
117
|
-
updatedAt: any | null;
|
|
118
|
-
trackingInfo: createOrderRefundRequest_createOrderRefundRequest_orderPackages_trackingInfo | null;
|
|
119
|
-
stockLocationId: string;
|
|
120
|
-
orderPackageNumber: string;
|
|
121
|
-
orderPackageFulfillStatus: OrderPackageFulfillStatusEnum;
|
|
122
|
-
orderLineItemIds: string[];
|
|
123
|
-
id: string;
|
|
124
|
-
deleted: boolean | null;
|
|
125
|
-
createdAt: any | null;
|
|
126
|
-
}
|
|
127
|
-
export interface createOrderRefundRequest_createOrderRefundRequest_shippingAddress_state {
|
|
128
|
-
__typename: "OrderAddressState";
|
|
129
|
-
name: string | null;
|
|
130
|
-
id: string | null;
|
|
131
|
-
code: string | null;
|
|
132
|
-
}
|
|
133
|
-
export interface createOrderRefundRequest_createOrderRefundRequest_shippingAddress_district {
|
|
134
|
-
__typename: "OrderAddressDistrict";
|
|
135
|
-
name: string | null;
|
|
136
|
-
id: string | null;
|
|
137
|
-
code: string | null;
|
|
138
|
-
}
|
|
139
|
-
export interface createOrderRefundRequest_createOrderRefundRequest_shippingAddress_country {
|
|
140
|
-
__typename: "OrderAddressCountry";
|
|
141
|
-
name: string;
|
|
142
|
-
id: string | null;
|
|
143
|
-
code: string | null;
|
|
144
|
-
}
|
|
145
|
-
export interface createOrderRefundRequest_createOrderRefundRequest_shippingAddress_city {
|
|
146
|
-
__typename: "OrderAddressCity";
|
|
147
|
-
id: string | null;
|
|
148
|
-
code: string | null;
|
|
149
|
-
name: string;
|
|
150
|
-
}
|
|
151
|
-
export interface createOrderRefundRequest_createOrderRefundRequest_shippingAddress {
|
|
152
|
-
__typename: "OrderAddress";
|
|
153
|
-
taxOffice: string | null;
|
|
154
|
-
taxNumber: string | null;
|
|
155
|
-
state: createOrderRefundRequest_createOrderRefundRequest_shippingAddress_state | null;
|
|
156
|
-
postalCode: string;
|
|
157
|
-
phone: string | null;
|
|
158
|
-
lastName: string;
|
|
159
|
-
isDefault: boolean;
|
|
160
|
-
identityNumber: string | null;
|
|
161
|
-
firstName: string;
|
|
162
|
-
district: createOrderRefundRequest_createOrderRefundRequest_shippingAddress_district | null;
|
|
163
|
-
country: createOrderRefundRequest_createOrderRefundRequest_shippingAddress_country;
|
|
164
|
-
company: string | null;
|
|
165
|
-
city: createOrderRefundRequest_createOrderRefundRequest_shippingAddress_city;
|
|
166
|
-
addressLine2: string | null;
|
|
167
|
-
addressLine1: string;
|
|
168
|
-
}
|
|
169
|
-
export interface createOrderRefundRequest_createOrderRefundRequest_shippingLines {
|
|
170
|
-
__typename: "OrderShippingLine";
|
|
171
|
-
title: string;
|
|
172
|
-
taxValue: number | null;
|
|
173
|
-
price: number;
|
|
174
|
-
}
|
|
175
|
-
export interface createOrderRefundRequest_createOrderRefundRequest_taxLines {
|
|
176
|
-
__typename: "OrderTaxLine";
|
|
177
|
-
rate: number;
|
|
178
|
-
price: number;
|
|
179
|
-
}
|
|
180
|
-
export interface createOrderRefundRequest_createOrderRefundRequest {
|
|
181
|
-
__typename: "Order";
|
|
182
|
-
billingAddress: createOrderRefundRequest_createOrderRefundRequest_billingAddress | null;
|
|
183
|
-
cancelledAt: any | null;
|
|
184
|
-
cancelReason: CancelledReasonEnum | null;
|
|
185
|
-
createdAt: any | null;
|
|
186
|
-
currencyCode: string;
|
|
187
|
-
currencyRates: createOrderRefundRequest_createOrderRefundRequest_currencyRates[];
|
|
188
|
-
customer: createOrderRefundRequest_createOrderRefundRequest_customer | null;
|
|
189
|
-
deleted: boolean | null;
|
|
190
|
-
id: string;
|
|
191
|
-
merchantId: string;
|
|
192
|
-
note: string | null;
|
|
193
|
-
orderedAt: any | null;
|
|
194
|
-
orderAdjustments: createOrderRefundRequest_createOrderRefundRequest_orderAdjustments[] | null;
|
|
195
|
-
orderLineItems: createOrderRefundRequest_createOrderRefundRequest_orderLineItems[];
|
|
196
|
-
orderNumber: string | null;
|
|
197
|
-
orderPackages: createOrderRefundRequest_createOrderRefundRequest_orderPackages[] | null;
|
|
198
|
-
orderPackageStatus: OrderPackageStatusEnum | null;
|
|
199
|
-
orderPaymentStatus: PaymentStatusEnum | null;
|
|
200
|
-
orderTagIds: string[] | null;
|
|
201
|
-
shippingAddress: createOrderRefundRequest_createOrderRefundRequest_shippingAddress | null;
|
|
202
|
-
shippingLines: createOrderRefundRequest_createOrderRefundRequest_shippingLines[] | null;
|
|
203
|
-
shippingMethod: ShippingMethodEnum;
|
|
204
|
-
status: OrderStatusEnum;
|
|
205
|
-
taxLines: createOrderRefundRequest_createOrderRefundRequest_taxLines[] | null;
|
|
206
|
-
totalFinalPrice: number;
|
|
207
|
-
totalPrice: number;
|
|
208
|
-
updatedAt: any | null;
|
|
209
|
-
}
|
|
210
|
-
export interface createOrderRefundRequest {
|
|
211
|
-
createOrderRefundRequest: createOrderRefundRequest_createOrderRefundRequest;
|
|
212
|
-
}
|
|
213
|
-
export interface createOrderRefundRequestVariables {
|
|
214
|
-
input: OrderRefundRequestInput;
|
|
215
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export interface getLastViewedProducts_getLastViewedProducts_products {
|
|
2
|
-
__typename: "ProductItem";
|
|
3
|
-
productId: string;
|
|
4
|
-
variantId: string;
|
|
5
|
-
}
|
|
6
|
-
export interface getLastViewedProducts_getLastViewedProducts {
|
|
7
|
-
__typename: "ProductLastViewed";
|
|
8
|
-
products: getLastViewedProducts_getLastViewedProducts_products[];
|
|
9
|
-
}
|
|
10
|
-
export interface getLastViewedProducts {
|
|
11
|
-
getLastViewedProducts: getLastViewedProducts_getLastViewedProducts;
|
|
12
|
-
}
|
|
13
|
-
export interface getLastViewedProductsVariables {
|
|
14
|
-
customerId?: string | null;
|
|
15
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { ProductLastViewedInput } from "../../../__generated__/global-types";
|
|
2
|
-
export interface saveLastViewedProducts_saveLastViewedProducts {
|
|
3
|
-
__typename: "ProductLastViewed";
|
|
4
|
-
id: string;
|
|
5
|
-
}
|
|
6
|
-
export interface saveLastViewedProducts {
|
|
7
|
-
saveLastViewedProducts: saveLastViewedProducts_saveLastViewedProducts;
|
|
8
|
-
}
|
|
9
|
-
export interface saveLastViewedProductsVariables {
|
|
10
|
-
input: ProductLastViewedInput;
|
|
11
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export interface listFavoriteProducts_listFavoriteProducts {
|
|
2
|
-
__typename: "CustomerFavoriteProduct";
|
|
3
|
-
id: string;
|
|
4
|
-
createdAt: any | null;
|
|
5
|
-
updatedAt: any | null;
|
|
6
|
-
deleted: boolean | null;
|
|
7
|
-
productId: string;
|
|
8
|
-
customerId: string;
|
|
9
|
-
}
|
|
10
|
-
export interface listFavoriteProducts {
|
|
11
|
-
listFavoriteProducts: listFavoriteProducts_listFavoriteProducts[];
|
|
12
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { IkasFavoriteProduct } from "../../models/index";
|
|
2
|
-
export declare class IkasFavoriteProductAPI {
|
|
3
|
-
static listFavoriteProducts(): Promise<IkasFavoriteProduct[]>;
|
|
4
|
-
static isFavoriteProduct(productId: string): Promise<boolean>;
|
|
5
|
-
static saveFavoriteProduct(isFavorite: boolean, productId: string): Promise<boolean>;
|
|
6
|
-
}
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import { ProductFilterDisplayTypeEnum, ProductFilterTypeEnum, ProductFilterSortTypeEnum } from "../../../__generated__/global-types";
|
|
2
|
-
export interface getProductFilterData_getProductFilterData_filters_values {
|
|
3
|
-
__typename: "ApplicableProductFilterValue";
|
|
4
|
-
colorCode: string | null;
|
|
5
|
-
id: string;
|
|
6
|
-
key: string;
|
|
7
|
-
name: string;
|
|
8
|
-
thumbnailImageId: string | null;
|
|
9
|
-
}
|
|
10
|
-
export interface getProductFilterData_getProductFilterData_filters_settings {
|
|
11
|
-
__typename: "ProductFilterSettings";
|
|
12
|
-
showCollapsedOnDesktop: boolean;
|
|
13
|
-
showCollapsedOnMobile: boolean;
|
|
14
|
-
sortType: ProductFilterSortTypeEnum;
|
|
15
|
-
useAndFilter: boolean | null;
|
|
16
|
-
}
|
|
17
|
-
export interface getProductFilterData_getProductFilterData_filters {
|
|
18
|
-
__typename: "ProductFilterDataFilter";
|
|
19
|
-
customValues: string[] | null;
|
|
20
|
-
displayType: ProductFilterDisplayTypeEnum;
|
|
21
|
-
id: string;
|
|
22
|
-
isMultiSelect: boolean;
|
|
23
|
-
key: string;
|
|
24
|
-
name: string;
|
|
25
|
-
order: number;
|
|
26
|
-
type: ProductFilterTypeEnum;
|
|
27
|
-
values: getProductFilterData_getProductFilterData_filters_values[] | null;
|
|
28
|
-
settings: getProductFilterData_getProductFilterData_filters_settings | null;
|
|
29
|
-
}
|
|
30
|
-
export interface getProductFilterData_getProductFilterData_categories_metaData {
|
|
31
|
-
__typename: "HTMLMetaData";
|
|
32
|
-
slug: string;
|
|
33
|
-
}
|
|
34
|
-
export interface getProductFilterData_getProductFilterData_categories {
|
|
35
|
-
__typename: "Category";
|
|
36
|
-
id: string;
|
|
37
|
-
name: string;
|
|
38
|
-
metaData: getProductFilterData_getProductFilterData_categories_metaData | null;
|
|
39
|
-
}
|
|
40
|
-
export interface getProductFilterData_getProductFilterData {
|
|
41
|
-
__typename: "ProductFilterData";
|
|
42
|
-
filters: getProductFilterData_getProductFilterData_filters[];
|
|
43
|
-
categories: getProductFilterData_getProductFilterData_categories[] | null;
|
|
44
|
-
}
|
|
45
|
-
export interface getProductFilterData {
|
|
46
|
-
getProductFilterData: getProductFilterData_getProductFilterData;
|
|
47
|
-
}
|
|
48
|
-
export interface getProductFilterDataVariables {
|
|
49
|
-
categoryId?: string | null;
|
|
50
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { SearchInput } from "../../../__generated__/global-types";
|
|
2
|
-
export interface searchProducts_searchProducts_facets_values {
|
|
3
|
-
__typename: "ProductFacetCountValue";
|
|
4
|
-
count: number;
|
|
5
|
-
id: string;
|
|
6
|
-
}
|
|
7
|
-
export interface searchProducts_searchProducts_facets {
|
|
8
|
-
__typename: "ProductFacetCount";
|
|
9
|
-
id: string;
|
|
10
|
-
values: searchProducts_searchProducts_facets_values[];
|
|
11
|
-
}
|
|
12
|
-
export interface searchProducts_searchProducts {
|
|
13
|
-
__typename: "ProductSearchResponse";
|
|
14
|
-
count: number;
|
|
15
|
-
data: any;
|
|
16
|
-
facets: searchProducts_searchProducts_facets[] | null;
|
|
17
|
-
limit: number;
|
|
18
|
-
page: number;
|
|
19
|
-
totalCount: number;
|
|
20
|
-
}
|
|
21
|
-
export interface searchProducts {
|
|
22
|
-
searchProducts: searchProducts_searchProducts;
|
|
23
|
-
}
|
|
24
|
-
export interface searchProductsVariables {
|
|
25
|
-
input: SearchInput;
|
|
26
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { SearchInput } from "../../__generated__/global-types";
|
|
2
|
-
import { IkasProduct } from "../../models/index";
|
|
3
|
-
import * as SearchProductTypes from "./__generated__/searchProducts";
|
|
4
|
-
import { IkasProductFilter } from "../../models/data/product-filter/index";
|
|
5
|
-
import { IkasFilterCategory } from "../../models/data/category/index";
|
|
6
|
-
export declare class IkasProductSearchAPI {
|
|
7
|
-
static searchProducts(input: SearchInput): Promise<{
|
|
8
|
-
data: IkasProduct[];
|
|
9
|
-
__typename: "ProductSearchResponse";
|
|
10
|
-
count: number;
|
|
11
|
-
facets: SearchProductTypes.searchProducts_searchProducts_facets[] | null;
|
|
12
|
-
limit: number;
|
|
13
|
-
page: number;
|
|
14
|
-
totalCount: number;
|
|
15
|
-
} | undefined>;
|
|
16
|
-
static getProductFilterData(categoryId?: string): Promise<{
|
|
17
|
-
filters: IkasProductFilter[];
|
|
18
|
-
categories: IkasFilterCategory[] | null;
|
|
19
|
-
} | undefined>;
|
|
20
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import { ImageLoader } from "next/image";
|
|
3
|
-
import { IkasImage } from "../../models/index";
|
|
4
|
-
export declare const Image: React.FC<ImageProps>;
|
|
5
|
-
declare const VALID_LAYOUT_VALUES: readonly [
|
|
6
|
-
"fill",
|
|
7
|
-
"fixed",
|
|
8
|
-
"intrinsic",
|
|
9
|
-
"responsive",
|
|
10
|
-
undefined
|
|
11
|
-
];
|
|
12
|
-
declare type LayoutValue = typeof VALID_LAYOUT_VALUES[number];
|
|
13
|
-
declare type ImgElementStyle = NonNullable<JSX.IntrinsicElements["img"]["style"]>;
|
|
14
|
-
declare type ImageProps = Omit<JSX.IntrinsicElements["img"], "src" | "srcSet" | "ref" | "width" | "height" | "loading" | "style"> & {
|
|
15
|
-
loader?: ImageLoader;
|
|
16
|
-
priority?: boolean;
|
|
17
|
-
loading?: "lazy" | "eager" | undefined;
|
|
18
|
-
objectFit?: ImgElementStyle["objectFit"];
|
|
19
|
-
objectPosition?: ImgElementStyle["objectPosition"];
|
|
20
|
-
image: IkasImage;
|
|
21
|
-
sizes: string;
|
|
22
|
-
} & ({
|
|
23
|
-
width?: never;
|
|
24
|
-
height?: never;
|
|
25
|
-
unsized: true;
|
|
26
|
-
} | {
|
|
27
|
-
width?: never;
|
|
28
|
-
height?: never;
|
|
29
|
-
layout: "fill";
|
|
30
|
-
} | {
|
|
31
|
-
width: number | string;
|
|
32
|
-
height: number | string;
|
|
33
|
-
layout?: Exclude<LayoutValue, "fill">;
|
|
34
|
-
});
|
|
35
|
-
export {};
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import { IkasImage } from "../image/index";
|
|
2
|
-
export declare class IkasBlog {
|
|
3
|
-
id: string;
|
|
4
|
-
createdAt: number;
|
|
5
|
-
updatedAt: number;
|
|
6
|
-
categoryId: string | null;
|
|
7
|
-
category: IkasBlogCategory | null;
|
|
8
|
-
imageId: string | null;
|
|
9
|
-
title: string | null;
|
|
10
|
-
shortDescription: string | null;
|
|
11
|
-
isPublished: boolean;
|
|
12
|
-
storefrontId: string;
|
|
13
|
-
tagIds: string[] | null;
|
|
14
|
-
tags: IkasBlogTag[] | null;
|
|
15
|
-
writer: IkasBlogWriter;
|
|
16
|
-
blogContent: IkasBlogContent;
|
|
17
|
-
metadata: IkasBlogMetaData | null;
|
|
18
|
-
image: IkasImage | null;
|
|
19
|
-
constructor(data?: Partial<IkasBlog>);
|
|
20
|
-
get href(): string;
|
|
21
|
-
}
|
|
22
|
-
export declare class IkasBlogContent {
|
|
23
|
-
id: string;
|
|
24
|
-
createdAt: number;
|
|
25
|
-
updatedAt: number;
|
|
26
|
-
content: string;
|
|
27
|
-
constructor(data?: Partial<IkasBlogContent>);
|
|
28
|
-
}
|
|
29
|
-
export declare class IkasBlogWriter {
|
|
30
|
-
firstName: string;
|
|
31
|
-
lastName: string;
|
|
32
|
-
constructor(data?: Partial<IkasBlogWriter>);
|
|
33
|
-
}
|
|
34
|
-
export declare enum IkasBlogMetadataTargetType {
|
|
35
|
-
BLOG = "BLOG",
|
|
36
|
-
BLOG_CATEGORY = "BLOG_CATEGORY"
|
|
37
|
-
}
|
|
38
|
-
export declare class IkasBlogMetaData {
|
|
39
|
-
id: string;
|
|
40
|
-
createdAt: number;
|
|
41
|
-
updatedAt: number;
|
|
42
|
-
pageTitle: string | null;
|
|
43
|
-
description: string | null;
|
|
44
|
-
slug: string;
|
|
45
|
-
targetId: string;
|
|
46
|
-
targetType: IkasBlogMetadataTargetType;
|
|
47
|
-
constructor(data?: Partial<IkasBlogMetaData>);
|
|
48
|
-
}
|
|
49
|
-
export declare class IkasBlogCategory {
|
|
50
|
-
id: string;
|
|
51
|
-
createdAt: number;
|
|
52
|
-
updatedAt: number;
|
|
53
|
-
deleted: boolean;
|
|
54
|
-
name: string;
|
|
55
|
-
imageId: string;
|
|
56
|
-
metadata: IkasBlogMetaData | null;
|
|
57
|
-
constructor(data?: Partial<IkasBlogCategory>);
|
|
58
|
-
get href(): string;
|
|
59
|
-
}
|
|
60
|
-
export declare class IkasBlogTag {
|
|
61
|
-
id: string;
|
|
62
|
-
createdAt: number;
|
|
63
|
-
updatedAt: number;
|
|
64
|
-
deleted: boolean;
|
|
65
|
-
name: string | null;
|
|
66
|
-
constructor(data?: Partial<IkasBlogTag>);
|
|
67
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
export declare class IkasCheckoutSettings {
|
|
2
|
-
id: string;
|
|
3
|
-
createdAt: number;
|
|
4
|
-
updatedAt: number;
|
|
5
|
-
phoneRequirement: IkasCheckoutRequirementEnum | null;
|
|
6
|
-
identityNumberRequirement: IkasCheckoutRequirementEnum | null;
|
|
7
|
-
isAccountRequired: boolean;
|
|
8
|
-
isTermsAndConditionsDefaultChecked: boolean;
|
|
9
|
-
showTermsAndConditionsCheckbox: boolean;
|
|
10
|
-
showCheckoutNote: boolean;
|
|
11
|
-
storefrontId: string;
|
|
12
|
-
constructor(data?: Partial<IkasCheckoutSettings>);
|
|
13
|
-
}
|
|
14
|
-
export declare enum IkasCheckoutRequirementEnum {
|
|
15
|
-
INVISIBLE = "INVISIBLE",
|
|
16
|
-
MANDATORY = "MANDATORY",
|
|
17
|
-
OPTIONAL = "OPTIONAL"
|
|
18
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { IkasProductAttributeTableCell } from "../product-attribute-table-cell/index";
|
|
2
|
-
export declare class IkasProductAttributeTableTemplate {
|
|
3
|
-
columns: IkasProductAttributeTableCell[] | null;
|
|
4
|
-
rows: IkasProductAttributeTableCell[] | null;
|
|
5
|
-
constructor(data?: Partial<IkasProductAttributeTableTemplate>);
|
|
6
|
-
}
|
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
import { SearchInputFilterListInput } from "../../../__generated__/global-types";
|
|
2
|
-
import { IkasImage } from "../image/index";
|
|
3
|
-
import { IkasProductList } from "../../ui/index";
|
|
4
|
-
export declare class IkasProductFilter {
|
|
5
|
-
id: string;
|
|
6
|
-
key: string;
|
|
7
|
-
name: string;
|
|
8
|
-
order: number;
|
|
9
|
-
type: IkasProductFilterType;
|
|
10
|
-
displayType: IkasProductFilterDisplayType;
|
|
11
|
-
isMultiSelect: boolean;
|
|
12
|
-
values?: IkasApplicableProductFilterValue[] | null;
|
|
13
|
-
customValues?: string[] | null;
|
|
14
|
-
settings?: IkasProductFilterSettings | null;
|
|
15
|
-
private _numberRange?;
|
|
16
|
-
numberRangeLimit?: RangeValue | null;
|
|
17
|
-
numberRangeListOptions?: NumberRangeListOption[] | null;
|
|
18
|
-
private productList?;
|
|
19
|
-
constructor(data?: Partial<IkasProductFilter>, productList?: IkasProductList | undefined | null);
|
|
20
|
-
get isCustomValueFilter(): boolean;
|
|
21
|
-
get valueList(): string[];
|
|
22
|
-
get keyList(): string[];
|
|
23
|
-
get displayedValues(): IkasApplicableProductFilterValue[];
|
|
24
|
-
get numberRange(): RangeValue | null | undefined;
|
|
25
|
-
onFilterValueClick(filterValue: IkasApplicableProductFilterValue): void;
|
|
26
|
-
onNumberRangeClick(option: NumberRangeListOption): void;
|
|
27
|
-
onNumberRangeChange(numberRange: RangeValue | null): void;
|
|
28
|
-
clear(): void;
|
|
29
|
-
toInput(): SearchInputFilterListInput;
|
|
30
|
-
toJSON(): this;
|
|
31
|
-
applyQueryParam(value: string): void;
|
|
32
|
-
private rangeToId;
|
|
33
|
-
}
|
|
34
|
-
export declare class IkasApplicableProductFilterValue {
|
|
35
|
-
id: string;
|
|
36
|
-
key: string;
|
|
37
|
-
name: string;
|
|
38
|
-
colorCode?: string | null;
|
|
39
|
-
thumbnailImageId?: string | null;
|
|
40
|
-
thumbnailImage?: IkasImage | null;
|
|
41
|
-
resultCount?: number | null;
|
|
42
|
-
private _isSelected?;
|
|
43
|
-
constructor(data?: Partial<IkasApplicableProductFilterValue>);
|
|
44
|
-
get isSelected(): boolean | undefined;
|
|
45
|
-
toJSON(): this & {
|
|
46
|
-
isSelected: boolean | undefined;
|
|
47
|
-
};
|
|
48
|
-
}
|
|
49
|
-
export declare class IkasProductFilterValue {
|
|
50
|
-
id: string;
|
|
51
|
-
type: IkasProductFilterType;
|
|
52
|
-
valueList: string[];
|
|
53
|
-
constructor(data: IkasProductFilterValue);
|
|
54
|
-
}
|
|
55
|
-
export declare class IkasProductFilterSettings {
|
|
56
|
-
useAndFilter?: boolean | null;
|
|
57
|
-
showCollapsedOnDesktop: boolean;
|
|
58
|
-
showCollapsedOnMobile: boolean;
|
|
59
|
-
sortType: IkasProductFilterSortType;
|
|
60
|
-
constructor(data: Partial<IkasProductFilterSettings>);
|
|
61
|
-
}
|
|
62
|
-
export declare enum IkasProductFilterType {
|
|
63
|
-
ATTRIBUTE = "ATTRIBUTE",
|
|
64
|
-
BRAND = "BRAND",
|
|
65
|
-
DISCOUNT_RATIO = "DISCOUNT_RATIO",
|
|
66
|
-
PRICE = "PRICE",
|
|
67
|
-
STOCK_STATUS = "STOCK_STATUS",
|
|
68
|
-
TAG = "TAG",
|
|
69
|
-
VARIANT_TYPE = "VARIANT_TYPE"
|
|
70
|
-
}
|
|
71
|
-
export declare enum IkasProductFilterDisplayType {
|
|
72
|
-
BOX = "BOX",
|
|
73
|
-
DATE_RANGE = "DATE_RANGE",
|
|
74
|
-
LIST = "LIST",
|
|
75
|
-
NUMBER_RANGE_LIST = "NUMBER_RANGE_LIST",
|
|
76
|
-
NUMBER_RANGE = "NUMBER_RANGE",
|
|
77
|
-
SWATCH = "SWATCH"
|
|
78
|
-
}
|
|
79
|
-
export declare enum IkasProductFilterSortType {
|
|
80
|
-
ALPHABETICAL_ASC = "ALPHABETICAL_ASC",
|
|
81
|
-
ALPHABETICAL_DESC = "ALPHABETICAL_DESC",
|
|
82
|
-
PRODUCT_COUNT_ASC = "PRODUCT_COUNT_ASC",
|
|
83
|
-
PRODUCT_COUNT_DESC = "PRODUCT_COUNT_DESC"
|
|
84
|
-
}
|
|
85
|
-
export declare class RangeValue {
|
|
86
|
-
from: number;
|
|
87
|
-
to: number | undefined | null;
|
|
88
|
-
constructor(data: Partial<NumberRangeListOption>);
|
|
89
|
-
}
|
|
90
|
-
declare class NumberRangeListOption {
|
|
91
|
-
from: number;
|
|
92
|
-
to: number | undefined | null;
|
|
93
|
-
key: string;
|
|
94
|
-
private _isSelected;
|
|
95
|
-
constructor(data: Partial<NumberRangeListOption>);
|
|
96
|
-
get isSelected(): boolean;
|
|
97
|
-
toJSON(): this & {
|
|
98
|
-
isSelected: boolean;
|
|
99
|
-
};
|
|
100
|
-
}
|
|
101
|
-
export declare function parseRangeStr(rangeStr: string): RangeValue;
|
|
102
|
-
export {};
|