@ikas/storefront 0.0.160-alpha.13 → 0.0.160-alpha.3

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.
Files changed (33) hide show
  1. package/build/__generated__/global-types.d.ts +0 -8
  2. package/build/api/blog/__generated__/listBlog.d.ts +1 -1
  3. package/build/api/brand/__generated__/listProductBrand.d.ts +1 -1
  4. package/build/api/category/__generated__/listCategory.d.ts +1 -1
  5. package/build/api/category/__generated__/listCategoryPaths.d.ts +1 -1
  6. package/build/api/customer/index.d.ts +1 -2
  7. package/build/api/product-search/__generated__/getProductFilterData.d.ts +0 -1
  8. package/build/api/product-search/index.d.ts +1 -1
  9. package/build/index.es.js +575 -6817
  10. package/build/index.js +1990 -8236
  11. package/build/models/data/index.d.ts +0 -1
  12. package/build/models/data/order/index.d.ts +2 -16
  13. package/build/models/data/order/line-item/index.d.ts +0 -2
  14. package/build/models/data/product-filter/index.d.ts +0 -7
  15. package/build/models/theme/component/prop/index.d.ts +0 -2
  16. package/build/models/theme/index.d.ts +0 -2
  17. package/build/models/theme/settings/index.d.ts +0 -6
  18. package/build/models/ui/index.d.ts +0 -1
  19. package/build/store/customer.d.ts +0 -2
  20. package/build/storefront/index.d.ts +0 -3
  21. package/build/utils/providers/page-data.d.ts +2 -7
  22. package/build/utils/providers/placeholders.d.ts +1 -2
  23. package/build/utils/providers/prop-value/blog-list.d.ts +1 -1
  24. package/build/utils/providers/prop-value/custom.d.ts +0 -2
  25. package/build/utils/settings.d.ts +0 -8
  26. package/package.json +1 -2
  27. package/build/api/customer/__generated__/listOrderRefundSettings.d.ts +0 -13
  28. package/build/models/data/order/refund/settings.d.ts +0 -6
  29. package/build/models/theme/page/component/prop-value/blog-category-list.d.ts +0 -7
  30. package/build/models/theme/page/component/prop-value/blog-category.d.ts +0 -5
  31. package/build/models/ui/blog-category-list/index.d.ts +0 -52
  32. package/build/utils/providers/prop-value/blog-category-list.d.ts +0 -7
  33. 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;
@@ -82,5 +82,5 @@ export interface listBlogVariables {
82
82
  pagination?: PaginationInput | null;
83
83
  storefrontId?: StringFilterInput | null;
84
84
  tagId?: StringFilterInput | null;
85
- search?: string | null;
85
+ title?: StringFilterInput | null;
86
86
  }
@@ -26,6 +26,6 @@ export interface listProductBrand {
26
26
  export interface listProductBrandVariables {
27
27
  id?: StringFilterInput | null;
28
28
  pagination?: PaginationInput | null;
29
- search?: string | null;
29
+ name?: StringFilterInput | null;
30
30
  sort?: string | null;
31
31
  }
@@ -31,6 +31,6 @@ export interface listCategory {
31
31
  export interface listCategoryVariables {
32
32
  id?: StringFilterInput | null;
33
33
  pagination?: PaginationInput | null;
34
- search?: string | null;
34
+ name?: StringFilterInput | null;
35
35
  sort?: string | null;
36
36
  }
@@ -19,5 +19,5 @@ export interface listCategoryPaths {
19
19
  export interface listCategoryPathsVariables {
20
20
  id?: StringFilterInput | null;
21
21
  pagination?: PaginationInput | null;
22
- search?: string | null;
22
+ name?: StringFilterInput | null;
23
23
  }
@@ -1,4 +1,4 @@
1
- import { IkasCustomer, IkasOrder, IkasOrderRefundSettings } from "../../models/index";
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;
@@ -20,7 +20,6 @@ export interface getProductFilterData_getProductFilterData_filters {
20
20
  displayType: ProductFilterDisplayTypeEnum;
21
21
  id: string;
22
22
  isMultiSelect: boolean;
23
- isFacetFilter: boolean | null;
24
23
  key: string;
25
24
  name: string;
26
25
  order: number;
@@ -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, useStockFilter?: boolean): Promise<{
7
+ static searchProducts(input: SearchInput): Promise<{
8
8
  data: IkasProduct[];
9
9
  __typename: "ProductSearchResponse";
10
10
  count: number;