@ikas/storefront 0.0.8 → 0.0.12

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.
@@ -293,6 +293,13 @@ export interface OrderAddressStateInput {
293
293
  id?: string | null;
294
294
  name?: string | null;
295
295
  }
296
+ export interface OrderAdjustmentInput {
297
+ amount: number;
298
+ amountType: AmountTypeEnum;
299
+ name: string;
300
+ order: number;
301
+ type: AdjustmentEnum;
302
+ }
296
303
  export interface PaginationInput {
297
304
  limit?: number | null;
298
305
  page?: number | null;
@@ -312,6 +319,7 @@ export interface RetrieveInstallmentInfoInput {
312
319
  price: number;
313
320
  }
314
321
  export interface SaveCheckoutInput {
322
+ adjustments?: OrderAdjustmentInput[] | null;
315
323
  billingAddress?: OrderAddressInput | null;
316
324
  cartId: string;
317
325
  couponCode?: string | null;
@@ -28,7 +28,7 @@ export interface listCategory {
28
28
  listCategory: listCategory_listCategory;
29
29
  }
30
30
  export interface listCategoryVariables {
31
- id: StringFilterInput;
31
+ id?: StringFilterInput | null;
32
32
  paginationInput?: PaginationInput | null;
33
33
  name?: StringFilterInput | null;
34
34
  }
@@ -22,8 +22,8 @@ export interface listProduct_listProduct_data_variants_variantValueIds {
22
22
  export interface listProduct_listProduct_data_variants_attributes {
23
23
  __typename: "ProductAttributeValue";
24
24
  value: string | null;
25
- productAttributeId: string;
26
- productAttributeOptionId: string;
25
+ productAttributeId: string | null;
26
+ productAttributeOptionId: string | null;
27
27
  }
28
28
  export interface listProduct_listProduct_data_variants_images {
29
29
  __typename: "ProductImage";
@@ -37,7 +37,6 @@ export interface listProduct_listProduct_data_variants_prices {
37
37
  discountPrice: number | null;
38
38
  buyPrice: number | null;
39
39
  currency: string | null;
40
- salesChannelId: string | null;
41
40
  }
42
41
  export interface listProduct_listProduct_data_variants {
43
42
  __typename: "Variant";
@@ -56,8 +55,8 @@ export interface listProduct_listProduct_data_variants {
56
55
  export interface listProduct_listProduct_data_attributes {
57
56
  __typename: "ProductAttributeValue";
58
57
  value: string | null;
59
- productAttributeId: string;
60
- productAttributeOptionId: string;
58
+ productAttributeId: string | null;
59
+ productAttributeOptionId: string | null;
61
60
  }
62
61
  export interface listProduct_listProduct_data {
63
62
  __typename: "Product";
@@ -1,7 +1,8 @@
1
1
  import * as React from "react";
2
2
  import { IkasThemePageComponent } from "../../models/index";
3
+ import { IkasPageComponentPropValue } from "../../utils/index";
3
4
  declare type Props = {
4
- propValues: any;
5
+ pageComponentPropValue: IkasPageComponentPropValue;
5
6
  pageComponent: IkasThemePageComponent;
6
7
  index: number;
7
8
  };
@@ -45,10 +45,10 @@ export declare enum BridgeMessageType {
45
45
  UPDATE_PROP_VALUE = "UPDATE_PROP_VALUE",
46
46
  UPDATE_PAGE_PARAMS = "UPDATE_PAGE_PARAMS",
47
47
  UPDATE_PAGE_COMPONENT_ORDER = "UPDATE_PAGE_COMPONENT_ORDER",
48
- ADD_NEW_COMPONENT = "ADD_NEW_COMPONENT",
48
+ ADD_COMPONENT = "ADD_COMPONENT",
49
49
  DELETE_COMPONENT = "DELETE_COMPONENT",
50
50
  UPDATE_COMPONENT = "UPDATE_COMPONENT",
51
- ADD_NEW_PAGE_COMPONENT = "ADD_NEW_PAGE_COMPONENT",
51
+ ADD_PAGE_COMPONENT = "ADD_PAGE_COMPONENT",
52
52
  DELETE_PAGE_COMPONENT = "DELETE_PAGE_COMPONENT",
53
53
  COMPONENT_MOUSE_OVER = "COMPONENT_MOUSE_OVER",
54
54
  COMPONENT_MOUSE_LEAVE = "COMPONENT_MOUSE_LEAVE",