@ikas/storefront-models 6.1.0-beta.5 → 6.1.0-beta.51

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/index.d.ts CHANGED
@@ -82,10 +82,12 @@ export * from "./models/order/address";
82
82
  export * from "./models/order/adjustment/applied-order-line";
83
83
  export * from "./models/order/adjustment";
84
84
  export * from "./models/order/customer";
85
+ export * from "./models/order/gift-card-line";
85
86
  export * from "./models/order/gift-line";
86
87
  export * from "./models/order/invoice";
87
88
  export * from "./models/order/line-item/base-unit/unit-type";
88
89
  export * from "./models/order/line-item/base-unit";
90
+ export * from "./models/order/line-item/bundle-product-settings";
89
91
  export * from "./models/order/line-item/discount";
90
92
  export * from "./models/order/line-item/option/value";
91
93
  export * from "./models/order/line-item/option";
@@ -0,0 +1,6 @@
1
+ export declare type IkasOrderGiftCardLine = {
2
+ amount: number;
3
+ code: string;
4
+ giftCardId: string;
5
+ id: string;
6
+ };
@@ -9,6 +9,7 @@ import { IkasOrderAdjustment } from "./adjustment";
9
9
  import { IkasOrderPackage } from "./package";
10
10
  import { IkasOrderTaxLine } from "./tax-line";
11
11
  import { IkasBaseModel } from "../base";
12
+ import { IkasOrderGiftCardLine } from "./gift-card-line";
12
13
  export declare type IkasOrder = {
13
14
  billingAddress: IkasOrderAddress | null;
14
15
  cancelReason: IkasOrderCancelReason | null;
@@ -17,6 +18,7 @@ export declare type IkasOrder = {
17
18
  currencySymbol: string | null;
18
19
  customer: IkasOrderCustomer | null;
19
20
  customerId: string | null;
21
+ giftCardLines: IkasOrderGiftCardLine[] | null;
20
22
  giftPackageLines: IkasOrderGiftPackageLine[] | null;
21
23
  giftPackageNote: string | null;
22
24
  invoices: IkasInvoice[] | null;
@@ -0,0 +1,5 @@
1
+ export declare type IkasOrderLineBundleProductSettings = {
2
+ bundleLineId: string;
3
+ bundleLineQuantity: number;
4
+ name: string | null;
5
+ };
@@ -2,7 +2,9 @@ import { IkasOrderLineDiscount } from "./discount";
2
2
  import { IkasOrderLineVariant } from "./variant";
3
3
  import { IkasOrderLineItemOption } from "./option";
4
4
  import { IkasBaseModel } from "../../base";
5
+ import { IkasOrderLineBundleProductSettings } from "./bundle-product-settings";
5
6
  export declare type IkasOrderLineItem = {
7
+ bundleProductSettings: IkasOrderLineBundleProductSettings | null;
6
8
  currencyCode: string | null;
7
9
  currencySymbol: string | null;
8
10
  discount: IkasOrderLineDiscount | null;
@@ -82,10 +82,12 @@ export * from "./models/order/address";
82
82
  export * from "./models/order/adjustment/applied-order-line";
83
83
  export * from "./models/order/adjustment";
84
84
  export * from "./models/order/customer";
85
+ export * from "./models/order/gift-card-line";
85
86
  export * from "./models/order/gift-line";
86
87
  export * from "./models/order/invoice";
87
88
  export * from "./models/order/line-item/base-unit/unit-type";
88
89
  export * from "./models/order/line-item/base-unit";
90
+ export * from "./models/order/line-item/bundle-product-settings";
89
91
  export * from "./models/order/line-item/discount";
90
92
  export * from "./models/order/line-item/option/value";
91
93
  export * from "./models/order/line-item/option";
@@ -0,0 +1,6 @@
1
+ export declare type IkasOrderGiftCardLine = {
2
+ amount: number;
3
+ code: string;
4
+ giftCardId: string;
5
+ id: string;
6
+ };
@@ -9,6 +9,7 @@ import { IkasOrderAdjustment } from "./adjustment";
9
9
  import { IkasOrderPackage } from "./package";
10
10
  import { IkasOrderTaxLine } from "./tax-line";
11
11
  import { IkasBaseModel } from "../base";
12
+ import { IkasOrderGiftCardLine } from "./gift-card-line";
12
13
  export declare type IkasOrder = {
13
14
  billingAddress: IkasOrderAddress | null;
14
15
  cancelReason: IkasOrderCancelReason | null;
@@ -17,6 +18,7 @@ export declare type IkasOrder = {
17
18
  currencySymbol: string | null;
18
19
  customer: IkasOrderCustomer | null;
19
20
  customerId: string | null;
21
+ giftCardLines: IkasOrderGiftCardLine[] | null;
20
22
  giftPackageLines: IkasOrderGiftPackageLine[] | null;
21
23
  giftPackageNote: string | null;
22
24
  invoices: IkasInvoice[] | null;
@@ -0,0 +1,5 @@
1
+ export declare type IkasOrderLineBundleProductSettings = {
2
+ bundleLineId: string;
3
+ bundleLineQuantity: number;
4
+ name: string | null;
5
+ };
@@ -2,7 +2,9 @@ import { IkasOrderLineDiscount } from "./discount";
2
2
  import { IkasOrderLineVariant } from "./variant";
3
3
  import { IkasOrderLineItemOption } from "./option";
4
4
  import { IkasBaseModel } from "../../base";
5
+ import { IkasOrderLineBundleProductSettings } from "./bundle-product-settings";
5
6
  export declare type IkasOrderLineItem = {
7
+ bundleProductSettings: IkasOrderLineBundleProductSettings | null;
6
8
  currencyCode: string | null;
7
9
  currencySymbol: string | null;
8
10
  discount: IkasOrderLineDiscount | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ikas/storefront-models",
3
- "version": "6.1.0-beta.5",
3
+ "version": "6.1.0-beta.51",
4
4
  "author": "ikas",
5
5
  "license": "ISC",
6
6
  "description": "Data models to be used in an ikas storefront application.",