b23-lib 3.9.6 → 3.9.8
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/dist/Auth/index.js +1 -1
- package/dist/Auth/index.js.map +1 -1
- package/dist/Auth/index.mjs +1 -1
- package/dist/Classes/Cart.d.mts +1 -1
- package/dist/Classes/Cart.d.ts +1 -1
- package/dist/Classes/Cart.js +1 -1
- package/dist/Classes/Cart.js.map +1 -1
- package/dist/Classes/Cart.mjs +1 -1
- package/dist/Classes/Charge.js.map +1 -1
- package/dist/Classes/Charge.mjs +1 -1
- package/dist/Classes/Coupon.js +1 -1
- package/dist/Classes/Coupon.js.map +1 -1
- package/dist/Classes/Coupon.mjs +1 -1
- package/dist/Classes/Inventory.d.mts +1 -1
- package/dist/Classes/Inventory.d.ts +1 -1
- package/dist/Classes/Inventory.js +1 -1
- package/dist/Classes/Inventory.js.map +1 -1
- package/dist/Classes/Inventory.mjs +1 -1
- package/dist/Classes/Invoice.d.mts +1 -1
- package/dist/Classes/Invoice.d.ts +1 -1
- package/dist/Classes/LineItem.d.mts +1 -1
- package/dist/Classes/LineItem.d.ts +1 -1
- package/dist/Classes/LineItem.js.map +1 -1
- package/dist/Classes/LineItem.mjs +1 -1
- package/dist/Classes/Order.d.mts +1 -1
- package/dist/Classes/Order.d.ts +1 -1
- package/dist/Classes/Order.js +1 -1
- package/dist/Classes/Order.js.map +1 -1
- package/dist/Classes/Order.mjs +1 -1
- package/dist/Classes/Product.d.mts +1 -1
- package/dist/Classes/Product.d.ts +1 -1
- package/dist/Classes/Product.js +1 -1
- package/dist/Classes/Product.js.map +1 -1
- package/dist/Classes/Product.mjs +1 -1
- package/dist/Classes/ShoppingContainer.d.mts +1 -1
- package/dist/Classes/ShoppingContainer.d.ts +1 -1
- package/dist/Classes/ShoppingContainer.js +1 -1
- package/dist/Classes/ShoppingContainer.js.map +1 -1
- package/dist/Classes/ShoppingContainer.mjs +1 -1
- package/dist/Classes/TieredPrice.d.mts +1 -1
- package/dist/Classes/TieredPrice.d.ts +1 -1
- package/dist/Classes/TieredPrice.js +1 -1
- package/dist/Classes/TieredPrice.js.map +1 -1
- package/dist/Classes/TieredPrice.mjs +1 -1
- package/dist/{TieredPrice-BnozYepN.d.ts → TieredPrice-D512SmTC.d.ts} +14 -11
- package/dist/{TieredPrice-CpedXDSI.d.mts → TieredPrice-DtpmvAJJ.d.mts} +14 -11
- package/dist/{chunk-4GDSMVWZ.mjs → chunk-56TRG5UD.mjs} +2 -2
- package/dist/{chunk-4GDSMVWZ.mjs.map → chunk-56TRG5UD.mjs.map} +1 -1
- package/dist/{chunk-FUGUGFHM.mjs → chunk-6IGPC7FH.mjs} +2 -2
- package/dist/{chunk-FUGUGFHM.mjs.map → chunk-6IGPC7FH.mjs.map} +1 -1
- package/dist/{chunk-JL3NMYBT.mjs → chunk-A34BAO7J.mjs} +2 -2
- package/dist/{chunk-JL3NMYBT.mjs.map → chunk-A34BAO7J.mjs.map} +1 -1
- package/dist/{chunk-QH6GGZEG.mjs → chunk-KFXRFY63.mjs} +2 -2
- package/dist/{chunk-QH6GGZEG.mjs.map → chunk-KFXRFY63.mjs.map} +1 -1
- package/dist/{chunk-FSJ32AZ7.mjs → chunk-UO6WBOEX.mjs} +2 -2
- package/dist/{chunk-FSJ32AZ7.mjs.map → chunk-UO6WBOEX.mjs.map} +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {a,f}from'../chunk-
|
|
1
|
+
import {a,f}from'../chunk-KFXRFY63.mjs';import'../chunk-7RAIVZKB.mjs';import'../chunk-UIQH5QIR.mjs';import'../chunk-PL5HGCWN.mjs';import'../chunk-O6BLQQO7.mjs';import {b}from'../chunk-UXZBULDS.mjs';var u=class extends b{productKey;stocks;constructor(r,o=new Date){super(r,o),this.productKey=r.productKey,this.stocks=r.stocks.map(e=>({selectionAttributes:a.deepClone(e.selectionAttributes),size:e.size,available:e.available,country:e.country}));}getProductKey(){return this.productKey}getStockData(r,o,e){let n=r?f.generateSelectionAttributesKey(r):void 0;return this.stocks.filter(t=>!(n&&f.generateSelectionAttributesKey(t.selectionAttributes)!==n||o&&t.size!==o||e&&t.country!==e)).map(t=>({selectionAttributes:a.deepClone(t.selectionAttributes),size:t.size,available:t.available,country:t.country}))}getDetails(){return {...super.getDetails(),productKey:this.getProductKey(),stocks:this.getStockData()}}};export{u as InventoryModel};//# sourceMappingURL=Inventory.mjs.map
|
|
2
2
|
//# sourceMappingURL=Inventory.mjs.map
|
|
@@ -6,7 +6,7 @@ import BaseModel, { BaseAttributes, BaseData } from './Base.mjs';
|
|
|
6
6
|
import './LineItem.mjs';
|
|
7
7
|
import './Coupon.mjs';
|
|
8
8
|
import './ImageInfo.mjs';
|
|
9
|
-
import '../TieredPrice-
|
|
9
|
+
import '../TieredPrice-DtpmvAJJ.mjs';
|
|
10
10
|
import './TaxRule.mjs';
|
|
11
11
|
import './Charge.mjs';
|
|
12
12
|
import '../Auth/index.mjs';
|
|
@@ -6,7 +6,7 @@ import BaseModel, { BaseAttributes, BaseData } from './Base.js';
|
|
|
6
6
|
import './LineItem.js';
|
|
7
7
|
import './Coupon.js';
|
|
8
8
|
import './ImageInfo.js';
|
|
9
|
-
import '../TieredPrice-
|
|
9
|
+
import '../TieredPrice-D512SmTC.js';
|
|
10
10
|
import './TaxRule.js';
|
|
11
11
|
import './Charge.js';
|
|
12
12
|
import '../Auth/index.js';
|
|
@@ -2,7 +2,7 @@ import { P as PriceData, a as PriceModel, d as LocalizedString, e as LocalizedVa
|
|
|
2
2
|
import CouponModel from './Coupon.mjs';
|
|
3
3
|
import { TaxSystem, LineItemState, ProductType } from './Enum.mjs';
|
|
4
4
|
import ImageInfoModel, { ImageInfoData } from './ImageInfo.mjs';
|
|
5
|
-
import { T as TieredPriceData, b as TieredPriceModel, S as SelectionAttributes, c as ProductSpecification, a as ProductModel } from '../TieredPrice-
|
|
5
|
+
import { T as TieredPriceData, b as TieredPriceModel, S as SelectionAttributes, c as ProductSpecification, a as ProductModel } from '../TieredPrice-DtpmvAJJ.mjs';
|
|
6
6
|
import { TaxRuleData, TaxRuleModel } from './TaxRule.mjs';
|
|
7
7
|
import { CustomFieldAttributes, CustomFieldModel } from './Base.mjs';
|
|
8
8
|
import '../Auth/index.mjs';
|
|
@@ -2,7 +2,7 @@ import { P as PriceData, a as PriceModel, d as LocalizedString, e as LocalizedVa
|
|
|
2
2
|
import CouponModel from './Coupon.js';
|
|
3
3
|
import { TaxSystem, LineItemState, ProductType } from './Enum.js';
|
|
4
4
|
import ImageInfoModel, { ImageInfoData } from './ImageInfo.js';
|
|
5
|
-
import { T as TieredPriceData, b as TieredPriceModel, S as SelectionAttributes, c as ProductSpecification, a as ProductModel } from '../TieredPrice-
|
|
5
|
+
import { T as TieredPriceData, b as TieredPriceModel, S as SelectionAttributes, c as ProductSpecification, a as ProductModel } from '../TieredPrice-D512SmTC.js';
|
|
6
6
|
import { TaxRuleData, TaxRuleModel } from './TaxRule.js';
|
|
7
7
|
import { CustomFieldAttributes, CustomFieldModel } from './Base.js';
|
|
8
8
|
import '../Auth/index.js';
|