@ikas/storefront-api 4.8.0-beta.9 → 4.8.0

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.
@@ -4,6 +4,7 @@ import { CartLineOptionInputData } from "./CartLineOptionInput";
4
4
  export declare class AddItemToCartInputData {
5
5
  cartId: string | null;
6
6
  item: CartLineItemInputData;
7
+ metadata: any | null;
7
8
  options: CartLineOptionInputData[] | null;
8
9
  priceListId: string | null;
9
10
  salesChannelId: string;
@@ -4,6 +4,7 @@ import { PaymentMethodDetailInputData } from "./PaymentMethodDetailInput";
4
4
  export declare class CreateSaleTransactionWithCartInputData {
5
5
  cartId: string;
6
6
  masterPassDetail: CreateSaleTransactionMasterPassPaymentMethodDetailData | null;
7
+ metadata: any | null;
7
8
  paymentGatewayId: string;
8
9
  paymentMethodDetail: PaymentMethodDetailInputData | null;
9
10
  constructor(data?: Partial<CreateSaleTransactionWithCartInputData>);
@@ -4,6 +4,7 @@ import { PaymentMethodDetailInputData } from "./PaymentMethodDetailInput";
4
4
  export declare class CreateSaleTransactionWithCheckoutInputData {
5
5
  checkoutId: string;
6
6
  masterPassDetail: CreateSaleTransactionMasterPassPaymentMethodDetailData | null;
7
+ metadata: any | null;
7
8
  paymentGatewayId: string;
8
9
  paymentMethodDetail: PaymentMethodDetailInputData | null;
9
10
  constructor(data?: Partial<CreateSaleTransactionWithCheckoutInputData>);
@@ -5,6 +5,7 @@ export declare class SaveItemToCartInputData {
5
5
  cartId: string | null;
6
6
  customerId: string | null;
7
7
  item: CartLineItemInputData;
8
+ metadata: any | null;
8
9
  options: CartLineOptionInputData[] | null;
9
10
  priceListId: string | null;
10
11
  salesChannelId: string;
@@ -4,6 +4,7 @@ export declare class UpdateCartCampaignOfferInputData {
4
4
  campaignOfferId: string;
5
5
  campaignOfferProductId: string;
6
6
  cartId: string;
7
+ metadata: any | null;
7
8
  productId: string;
8
9
  variantId: string;
9
10
  constructor(data?: Partial<UpdateCartCampaignOfferInputData>);
@@ -2713,6 +2713,7 @@ export interface VariantValueTranslation {
2713
2713
  export interface AddItemToCartInput {
2714
2714
  cartId?: string | null;
2715
2715
  item: CartLineItemInput;
2716
+ metadata?: any | null;
2716
2717
  options?: CartLineOptionInput[] | null;
2717
2718
  priceListId?: string | null;
2718
2719
  salesChannelId: string;
@@ -2799,12 +2800,14 @@ export interface CreateSaleTransactionMasterPassPaymentMethodDetail {
2799
2800
  export interface CreateSaleTransactionWithCartInput {
2800
2801
  cartId: string;
2801
2802
  masterPassDetail?: CreateSaleTransactionMasterPassPaymentMethodDetail | null;
2803
+ metadata?: any | null;
2802
2804
  paymentGatewayId: string;
2803
2805
  paymentMethodDetail?: PaymentMethodDetailInput | null;
2804
2806
  }
2805
2807
  export interface CreateSaleTransactionWithCheckoutInput {
2806
2808
  checkoutId: string;
2807
2809
  masterPassDetail?: CreateSaleTransactionMasterPassPaymentMethodDetail | null;
2810
+ metadata?: any | null;
2808
2811
  paymentGatewayId: string;
2809
2812
  paymentMethodDetail?: PaymentMethodDetailInput | null;
2810
2813
  }
@@ -3028,6 +3031,7 @@ export interface SaveItemToCartInput {
3028
3031
  cartId?: string | null;
3029
3032
  customerId?: string | null;
3030
3033
  item: CartLineItemInput;
3034
+ metadata?: any | null;
3031
3035
  options?: CartLineOptionInput[] | null;
3032
3036
  priceListId?: string | null;
3033
3037
  salesChannelId: string;
@@ -3126,6 +3130,7 @@ export interface UpdateCartCampaignOfferInput {
3126
3130
  campaignOfferId: string;
3127
3131
  campaignOfferProductId: string;
3128
3132
  cartId: string;
3133
+ metadata?: any | null;
3129
3134
  productId: string;
3130
3135
  variantId: string;
3131
3136
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ikas/storefront-api",
3
- "version": "4.8.0-beta.9",
3
+ "version": "4.8.0",
4
4
  "author": "ikas",
5
5
  "license": "ISC",
6
6
  "description": "API functions that returns models from the ikas-storefront-models package.",
@@ -17,8 +17,8 @@
17
17
  },
18
18
  "devDependencies": {
19
19
  "@rollup/plugin-commonjs": "^22.0.0",
20
- "@ikas/storefront-config": "^4.8.0-beta.9",
21
- "@ikas/storefront-models": "^4.8.0-beta.9",
20
+ "@ikas/storefront-config": "^4.8.0",
21
+ "@ikas/storefront-models": "^4.8.0",
22
22
  "@rollup/plugin-node-resolve": "^13.3.0",
23
23
  "rollup-plugin-rename-node-modules": "^1.2.0",
24
24
  "prettier": "^2.2.1",
@@ -34,8 +34,8 @@
34
34
  "@ikas/fe-api-client": "^1.0.19"
35
35
  },
36
36
  "peerDependencies": {
37
- "@ikas/storefront-config": "^4.8.0-beta.9",
38
- "@ikas/storefront-models": "^4.8.0-beta.9",
37
+ "@ikas/storefront-config": "^4.8.0",
38
+ "@ikas/storefront-models": "^4.8.0",
39
39
  "@ikas/fe-api-client": "^1.0.18",
40
40
  "axios": "^0.26.0",
41
41
  "ts-essentials": "^7.0.1"