@ikas/storefront 0.0.160-alpha.12 → 0.0.160-alpha.2
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 +0 -8
- package/build/api/blog/__generated__/listBlog.d.ts +1 -1
- package/build/api/brand/__generated__/listProductBrand.d.ts +1 -1
- package/build/api/category/__generated__/listCategory.d.ts +1 -1
- package/build/api/category/__generated__/listCategoryPaths.d.ts +1 -1
- package/build/api/customer/index.d.ts +1 -2
- package/build/api/product-search/__generated__/getProductFilterData.d.ts +0 -1
- package/build/api/product-search/index.d.ts +1 -1
- package/build/index.es.js +577 -6819
- package/build/index.js +1991 -8237
- package/build/models/data/index.d.ts +0 -1
- package/build/models/data/order/index.d.ts +2 -16
- package/build/models/data/order/line-item/index.d.ts +0 -2
- package/build/models/data/product-filter/index.d.ts +0 -7
- package/build/models/theme/component/prop/index.d.ts +0 -2
- package/build/models/theme/index.d.ts +0 -2
- package/build/models/theme/settings/index.d.ts +0 -6
- package/build/models/ui/index.d.ts +0 -1
- package/build/store/customer.d.ts +0 -2
- package/build/storefront/index.d.ts +0 -3
- package/build/utils/providers/page-data.d.ts +2 -7
- package/build/utils/providers/placeholders.d.ts +1 -2
- package/build/utils/providers/prop-value/blog-list.d.ts +1 -1
- package/build/utils/providers/prop-value/custom.d.ts +0 -2
- package/build/utils/settings.d.ts +0 -8
- package/package.json +1 -2
- package/build/api/customer/__generated__/listOrderRefundSettings.d.ts +0 -13
- package/build/models/data/order/refund/settings.d.ts +0 -6
- package/build/models/theme/page/component/prop-value/blog-category-list.d.ts +0 -7
- package/build/models/theme/page/component/prop-value/blog-category.d.ts +0 -5
- package/build/models/ui/blog-category-list/index.d.ts +0 -52
- package/build/utils/providers/prop-value/blog-category-list.d.ts +0 -7
- package/build/utils/providers/prop-value/blog-category.d.ts +0 -8
|
@@ -173,7 +173,6 @@ export declare enum PaymentGatewayTransactionFeeTypeEnum {
|
|
|
173
173
|
* Payment Method Enum
|
|
174
174
|
*/
|
|
175
175
|
export declare enum PaymentMethodEnum {
|
|
176
|
-
APP_PAYMENT = "APP_PAYMENT",
|
|
177
176
|
BUY_ONLINE_PAY_AT_STORE = "BUY_ONLINE_PAY_AT_STORE",
|
|
178
177
|
CASH = "CASH",
|
|
179
178
|
CASH_ON_DELIVERY = "CASH_ON_DELIVERY",
|
|
@@ -530,7 +529,6 @@ export interface SaveMyCustomerInput {
|
|
|
530
529
|
export interface SearchInput {
|
|
531
530
|
brandId?: string | null;
|
|
532
531
|
categoryIdList?: string[] | null;
|
|
533
|
-
facetList?: SearchInputFacetListInput[] | null;
|
|
534
532
|
filterList?: SearchInputFilterListInput[] | null;
|
|
535
533
|
order?: SearchInputOrderByInput[] | null;
|
|
536
534
|
page?: number | null;
|
|
@@ -542,13 +540,7 @@ export interface SearchInput {
|
|
|
542
540
|
showStockOption?: ProductSearchShowStockOptionEnum | null;
|
|
543
541
|
slug?: string | null;
|
|
544
542
|
}
|
|
545
|
-
export interface SearchInputFacetListInput {
|
|
546
|
-
displayType: ProductFilterDisplayTypeEnum;
|
|
547
|
-
id: string;
|
|
548
|
-
type: ProductFilterTypeEnum;
|
|
549
|
-
}
|
|
550
543
|
export interface SearchInputFilterListInput {
|
|
551
|
-
displayType?: ProductFilterDisplayTypeEnum | null;
|
|
552
544
|
id: string;
|
|
553
545
|
type: ProductFilterTypeEnum;
|
|
554
546
|
useAndFilter?: boolean | null;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IkasCustomer, IkasOrder
|
|
1
|
+
import { IkasCustomer, IkasOrder } from "../../models/index";
|
|
2
2
|
import { IkasRefund } from "../../models/data/order/refund/index";
|
|
3
3
|
import * as RefreshTokenTypes from "./__generated__/customerRefreshToken";
|
|
4
4
|
import * as GetLastViewedProductsTypes from "./__generated__/getLastViewedProducts";
|
|
@@ -31,7 +31,6 @@ export declare class IkasCustomerAPI {
|
|
|
31
31
|
static createCustomerEmailSubscription(email: string): Promise<boolean>;
|
|
32
32
|
static getLastViewedProducts(customerId: string): Promise<GetLastViewedProductsTypes.getLastViewedProducts_getLastViewedProducts_products[]>;
|
|
33
33
|
static saveLastViewedProducts(input: LastViewedProductInput): Promise<boolean>;
|
|
34
|
-
static getOrderRefundSettings(): Promise<IkasOrderRefundSettings | undefined>;
|
|
35
34
|
}
|
|
36
35
|
declare type LastViewedProduct = {
|
|
37
36
|
productId: string;
|
|
@@ -4,7 +4,7 @@ import * as SearchProductTypes from "./__generated__/searchProducts";
|
|
|
4
4
|
import { IkasProductFilter } from "../../models/data/product-filter/index";
|
|
5
5
|
import { IkasFilterCategory } from "../../models/data/category/index";
|
|
6
6
|
export declare class IkasProductSearchAPI {
|
|
7
|
-
static searchProducts(input: SearchInput
|
|
7
|
+
static searchProducts(input: SearchInput): Promise<{
|
|
8
8
|
data: IkasProduct[];
|
|
9
9
|
__typename: "ProductSearchResponse";
|
|
10
10
|
count: number;
|