b23-lib 3.9.1 → 3.9.2

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 (47) hide show
  1. package/dist/Classes/Address.d.mts +1 -1
  2. package/dist/Classes/Address.d.ts +1 -1
  3. package/dist/Classes/Base.d.mts +1 -1
  4. package/dist/Classes/Base.d.ts +1 -1
  5. package/dist/Classes/Cart.d.mts +2 -2
  6. package/dist/Classes/Cart.d.ts +2 -2
  7. package/dist/Classes/Charge.d.mts +1 -1
  8. package/dist/Classes/Charge.d.ts +1 -1
  9. package/dist/Classes/Common.d.mts +1 -1
  10. package/dist/Classes/Common.d.ts +1 -1
  11. package/dist/Classes/Coupon.d.mts +1 -1
  12. package/dist/Classes/Coupon.d.ts +1 -1
  13. package/dist/Classes/Customer.d.mts +1 -1
  14. package/dist/Classes/Customer.d.ts +1 -1
  15. package/dist/Classes/CustomerAddress.d.mts +1 -1
  16. package/dist/Classes/CustomerAddress.d.ts +1 -1
  17. package/dist/Classes/Inventory.d.mts +2 -2
  18. package/dist/Classes/Inventory.d.ts +2 -2
  19. package/dist/Classes/Invoice.d.mts +2 -2
  20. package/dist/Classes/Invoice.d.ts +2 -2
  21. package/dist/Classes/LineItem.d.mts +2 -2
  22. package/dist/Classes/LineItem.d.ts +2 -2
  23. package/dist/Classes/Order.d.mts +2 -2
  24. package/dist/Classes/Order.d.ts +2 -2
  25. package/dist/Classes/Payment.d.mts +1 -1
  26. package/dist/Classes/Payment.d.ts +1 -1
  27. package/dist/Classes/Price.d.mts +1 -1
  28. package/dist/Classes/Price.d.ts +1 -1
  29. package/dist/Classes/Product.d.mts +2 -2
  30. package/dist/Classes/Product.d.ts +2 -2
  31. package/dist/Classes/ShoppingContainer.d.mts +2 -2
  32. package/dist/Classes/ShoppingContainer.d.ts +2 -2
  33. package/dist/Classes/TaxRule.d.mts +1 -1
  34. package/dist/Classes/TaxRule.d.ts +1 -1
  35. package/dist/Classes/TieredPrice.d.mts +2 -2
  36. package/dist/Classes/TieredPrice.d.ts +2 -2
  37. package/dist/{Common-BtMFh79I.d.ts → Price-CM028BEC.d.ts} +80 -80
  38. package/dist/{Common-BqhQxCq8.d.mts → Price-DhE6HC9v.d.mts} +80 -80
  39. package/dist/{Product-mtVUKzNI.d.ts → TieredPrice-BYCsK-r6.d.ts} +113 -113
  40. package/dist/{Product-BywRotdH.d.mts → TieredPrice-Da5vsB_9.d.mts} +113 -113
  41. package/dist/index.d.mts +94 -2
  42. package/dist/index.d.ts +94 -2
  43. package/dist/index.js +2 -2
  44. package/dist/index.js.map +1 -1
  45. package/dist/index.mjs +2 -2
  46. package/dist/index.mjs.map +1 -1
  47. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
1
  import BaseModel, { BaseAttributes } from './Base.mjs';
2
2
  import '../Auth/index.mjs';
3
- import '../Common-BqhQxCq8.mjs';
3
+ import '../Price-DhE6HC9v.mjs';
4
4
  import './Enum.mjs';
5
5
 
6
6
  declare enum AddressType {
@@ -1,6 +1,6 @@
1
1
  import BaseModel, { BaseAttributes } from './Base.js';
2
2
  import '../Auth/index.js';
3
- import '../Common-BtMFh79I.js';
3
+ import '../Price-CM028BEC.js';
4
4
  import './Enum.js';
5
5
 
6
6
  declare enum AddressType {
@@ -1,5 +1,5 @@
1
1
  import { AuthType } from '../Auth/index.mjs';
2
- import { b as Prettify, I as ISODateTimeUTC } from '../Common-BqhQxCq8.mjs';
2
+ import { b as Prettify, I as ISODateTimeUTC } from '../Price-DhE6HC9v.mjs';
3
3
  import './Enum.mjs';
4
4
 
5
5
  interface CustomFields {
@@ -1,5 +1,5 @@
1
1
  import { AuthType } from '../Auth/index.js';
2
- import { b as Prettify, I as ISODateTimeUTC } from '../Common-BtMFh79I.js';
2
+ import { b as Prettify, I as ISODateTimeUTC } from '../Price-CM028BEC.js';
3
3
  import './Enum.js';
4
4
 
5
5
  interface CustomFields {
@@ -1,7 +1,7 @@
1
1
  import LineItemModel from './LineItem.mjs';
2
- import { P as ProductModel } from '../Product-BywRotdH.mjs';
2
+ import { a as ProductModel } from '../TieredPrice-Da5vsB_9.mjs';
3
3
  import BaseShoppingContainerModel, { BaseShoppingContainerAttributes, BaseShoppingContainerData } from './ShoppingContainer.mjs';
4
- import '../Common-BqhQxCq8.mjs';
4
+ import '../Price-DhE6HC9v.mjs';
5
5
  import './Enum.mjs';
6
6
  import './Coupon.mjs';
7
7
  import './Base.mjs';
@@ -1,7 +1,7 @@
1
1
  import LineItemModel from './LineItem.js';
2
- import { P as ProductModel } from '../Product-mtVUKzNI.js';
2
+ import { a as ProductModel } from '../TieredPrice-BYCsK-r6.js';
3
3
  import BaseShoppingContainerModel, { BaseShoppingContainerAttributes, BaseShoppingContainerData } from './ShoppingContainer.js';
4
- import '../Common-BtMFh79I.js';
4
+ import '../Price-CM028BEC.js';
5
5
  import './Enum.js';
6
6
  import './Coupon.js';
7
7
  import './Base.js';
@@ -1,5 +1,5 @@
1
1
  import { CustomFieldAttributes, CustomFieldModel } from './Base.mjs';
2
- import { P as PriceData, a as PriceModel, d as LocalizedString, L as LocaleCode } from '../Common-BqhQxCq8.mjs';
2
+ import { P as PriceData, a as PriceModel, d as LocalizedString, L as LocaleCode } from '../Price-DhE6HC9v.mjs';
3
3
  import { TaxSystem, ChargeType, ChargeImpact } from './Enum.mjs';
4
4
  import { TaxRuleData, TaxRuleModel } from './TaxRule.mjs';
5
5
  import CouponModel from './Coupon.mjs';
@@ -1,5 +1,5 @@
1
1
  import { CustomFieldAttributes, CustomFieldModel } from './Base.js';
2
- import { P as PriceData, a as PriceModel, d as LocalizedString, L as LocaleCode } from '../Common-BtMFh79I.js';
2
+ import { P as PriceData, a as PriceModel, d as LocalizedString, L as LocaleCode } from '../Price-CM028BEC.js';
3
3
  import { TaxSystem, ChargeType, ChargeImpact } from './Enum.js';
4
4
  import { TaxRuleData, TaxRuleModel } from './TaxRule.js';
5
5
  import CouponModel from './Coupon.js';
@@ -1,2 +1,2 @@
1
1
  import './Enum.mjs';
2
- export { f as Color, C as CountryCode, c as CurrencyCode, E as E164Phone, I as ISODateTimeUTC, h as LanguageCode, L as LocaleCode, d as LocalizedString, e as LocalizedValue, b as Prettify, R as RegionalPrice, S as ShippingDetails } from '../Common-BqhQxCq8.mjs';
2
+ export { f as Color, C as CountryCode, c as CurrencyCode, E as E164Phone, I as ISODateTimeUTC, g as LanguageCode, L as LocaleCode, d as LocalizedString, e as LocalizedValue, b as Prettify, R as RegionalPrice, S as ShippingDetails } from '../Price-DhE6HC9v.mjs';
@@ -1,2 +1,2 @@
1
1
  import './Enum.js';
2
- export { f as Color, C as CountryCode, c as CurrencyCode, E as E164Phone, I as ISODateTimeUTC, h as LanguageCode, L as LocaleCode, d as LocalizedString, e as LocalizedValue, b as Prettify, R as RegionalPrice, S as ShippingDetails } from '../Common-BtMFh79I.js';
2
+ export { f as Color, C as CountryCode, c as CurrencyCode, E as E164Phone, I as ISODateTimeUTC, g as LanguageCode, L as LocaleCode, d as LocalizedString, e as LocalizedValue, b as Prettify, R as RegionalPrice, S as ShippingDetails } from '../Price-CM028BEC.js';
@@ -1,5 +1,5 @@
1
1
  import BaseModel, { BaseAttributes } from './Base.mjs';
2
- import { d as LocalizedString, I as ISODateTimeUTC, R as RegionalPrice, C as CountryCode, a as PriceModel, L as LocaleCode, c as CurrencyCode } from '../Common-BqhQxCq8.mjs';
2
+ import { d as LocalizedString, I as ISODateTimeUTC, R as RegionalPrice, C as CountryCode, a as PriceModel, L as LocaleCode, c as CurrencyCode } from '../Price-DhE6HC9v.mjs';
3
3
  import '../Auth/index.mjs';
4
4
  import './Enum.mjs';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import BaseModel, { BaseAttributes } from './Base.js';
2
- import { d as LocalizedString, I as ISODateTimeUTC, R as RegionalPrice, C as CountryCode, a as PriceModel, L as LocaleCode, c as CurrencyCode } from '../Common-BtMFh79I.js';
2
+ import { d as LocalizedString, I as ISODateTimeUTC, R as RegionalPrice, C as CountryCode, a as PriceModel, L as LocaleCode, c as CurrencyCode } from '../Price-CM028BEC.js';
3
3
  import '../Auth/index.js';
4
4
  import './Enum.js';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import BaseModel, { BaseAttributes, BaseData } from './Base.mjs';
2
- import { E as E164Phone } from '../Common-BqhQxCq8.mjs';
2
+ import { E as E164Phone } from '../Price-DhE6HC9v.mjs';
3
3
  import '../Auth/index.mjs';
4
4
  import './Enum.mjs';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import BaseModel, { BaseAttributes, BaseData } from './Base.js';
2
- import { E as E164Phone } from '../Common-BtMFh79I.js';
2
+ import { E as E164Phone } from '../Price-CM028BEC.js';
3
3
  import '../Auth/index.js';
4
4
  import './Enum.js';
5
5
 
@@ -1,7 +1,7 @@
1
1
  import AddressModel, { AddressData } from './Address.mjs';
2
2
  import BaseModel, { BaseAttributes } from './Base.mjs';
3
3
  import '../Auth/index.mjs';
4
- import '../Common-BqhQxCq8.mjs';
4
+ import '../Price-DhE6HC9v.mjs';
5
5
  import './Enum.mjs';
6
6
 
7
7
  type CustomerAddressAttributes = BaseAttributes & {
@@ -1,7 +1,7 @@
1
1
  import AddressModel, { AddressData } from './Address.js';
2
2
  import BaseModel, { BaseAttributes } from './Base.js';
3
3
  import '../Auth/index.js';
4
- import '../Common-BtMFh79I.js';
4
+ import '../Price-CM028BEC.js';
5
5
  import './Enum.js';
6
6
 
7
7
  type CustomerAddressAttributes = BaseAttributes & {
@@ -1,6 +1,6 @@
1
1
  import BaseModel, { BaseAttributes, BaseData } from './Base.mjs';
2
- import { C as CountryCode } from '../Common-BqhQxCq8.mjs';
3
- import { S as SelectionAttributes } from '../Product-BywRotdH.mjs';
2
+ import { C as CountryCode } from '../Price-DhE6HC9v.mjs';
3
+ import { S as SelectionAttributes } from '../TieredPrice-Da5vsB_9.mjs';
4
4
  import '../Auth/index.mjs';
5
5
  import './Enum.mjs';
6
6
  import './ImageInfo.mjs';
@@ -1,6 +1,6 @@
1
1
  import BaseModel, { BaseAttributes, BaseData } from './Base.js';
2
- import { C as CountryCode } from '../Common-BtMFh79I.js';
3
- import { S as SelectionAttributes } from '../Product-mtVUKzNI.js';
2
+ import { C as CountryCode } from '../Price-CM028BEC.js';
3
+ import { S as SelectionAttributes } from '../TieredPrice-BYCsK-r6.js';
4
4
  import '../Auth/index.js';
5
5
  import './Enum.js';
6
6
  import './ImageInfo.js';
@@ -1,12 +1,12 @@
1
1
  import { TaxSystem, ChargeType, ChargeImpact, InvoiceState } from './Enum.mjs';
2
- import { P as PriceData, a as PriceModel, b as Prettify, C as CountryCode, c as CurrencyCode, L as LocaleCode } from '../Common-BqhQxCq8.mjs';
2
+ import { P as PriceData, a as PriceModel, b as Prettify, C as CountryCode, c as CurrencyCode, L as LocaleCode } from '../Price-DhE6HC9v.mjs';
3
3
  import AddressModel, { AddressData } from './Address.mjs';
4
4
  import { ShoppingContainerTotal, ShoppingContainerTotalModel } from './ShoppingContainer.mjs';
5
5
  import BaseModel, { BaseAttributes, BaseData } from './Base.mjs';
6
6
  import './LineItem.mjs';
7
7
  import './Coupon.mjs';
8
8
  import './ImageInfo.mjs';
9
- import '../Product-BywRotdH.mjs';
9
+ import '../TieredPrice-Da5vsB_9.mjs';
10
10
  import './TaxRule.mjs';
11
11
  import './Charge.mjs';
12
12
  import '../Auth/index.mjs';
@@ -1,12 +1,12 @@
1
1
  import { TaxSystem, ChargeType, ChargeImpact, InvoiceState } from './Enum.js';
2
- import { P as PriceData, a as PriceModel, b as Prettify, C as CountryCode, c as CurrencyCode, L as LocaleCode } from '../Common-BtMFh79I.js';
2
+ import { P as PriceData, a as PriceModel, b as Prettify, C as CountryCode, c as CurrencyCode, L as LocaleCode } from '../Price-CM028BEC.js';
3
3
  import AddressModel, { AddressData } from './Address.js';
4
4
  import { ShoppingContainerTotal, ShoppingContainerTotalModel } from './ShoppingContainer.js';
5
5
  import BaseModel, { BaseAttributes, BaseData } from './Base.js';
6
6
  import './LineItem.js';
7
7
  import './Coupon.js';
8
8
  import './ImageInfo.js';
9
- import '../Product-mtVUKzNI.js';
9
+ import '../TieredPrice-BYCsK-r6.js';
10
10
  import './TaxRule.js';
11
11
  import './Charge.js';
12
12
  import '../Auth/index.js';
@@ -1,8 +1,8 @@
1
- import { P as PriceData, a as PriceModel, d as LocalizedString, e as LocalizedValue, L as LocaleCode, C as CountryCode, c as CurrencyCode } from '../Common-BqhQxCq8.mjs';
1
+ import { P as PriceData, a as PriceModel, d as LocalizedString, e as LocalizedValue, L as LocaleCode, C as CountryCode, c as CurrencyCode } from '../Price-DhE6HC9v.mjs';
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, a as TieredPriceModel, S as SelectionAttributes, b as ProductSpecification, P as ProductModel } from '../Product-BywRotdH.mjs';
5
+ import { T as TieredPriceData, b as TieredPriceModel, S as SelectionAttributes, c as ProductSpecification, a as ProductModel } from '../TieredPrice-Da5vsB_9.mjs';
6
6
  import { TaxRuleData, TaxRuleModel } from './TaxRule.mjs';
7
7
  import { CustomFieldAttributes, CustomFieldModel } from './Base.mjs';
8
8
  import '../Auth/index.mjs';
@@ -1,8 +1,8 @@
1
- import { P as PriceData, a as PriceModel, d as LocalizedString, e as LocalizedValue, L as LocaleCode, C as CountryCode, c as CurrencyCode } from '../Common-BtMFh79I.js';
1
+ import { P as PriceData, a as PriceModel, d as LocalizedString, e as LocalizedValue, L as LocaleCode, C as CountryCode, c as CurrencyCode } from '../Price-CM028BEC.js';
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, a as TieredPriceModel, S as SelectionAttributes, b as ProductSpecification, P as ProductModel } from '../Product-mtVUKzNI.js';
5
+ import { T as TieredPriceData, b as TieredPriceModel, S as SelectionAttributes, c as ProductSpecification, a as ProductModel } from '../TieredPrice-BYCsK-r6.js';
6
6
  import { TaxRuleData, TaxRuleModel } from './TaxRule.js';
7
7
  import { CustomFieldAttributes, CustomFieldModel } from './Base.js';
8
8
  import '../Auth/index.js';
@@ -2,13 +2,13 @@ import AddressModel, { AddressData } from './Address.mjs';
2
2
  import { LineItemState } from './Enum.mjs';
3
3
  import { PaymentStatus } from './Payment.mjs';
4
4
  import BaseShoppingContainerModel, { BaseShoppingContainerAttributes, ShoppingContainerTotal, BaseShoppingContainerData } from './ShoppingContainer.mjs';
5
- import { b as Prettify } from '../Common-BqhQxCq8.mjs';
5
+ import { b as Prettify } from '../Price-DhE6HC9v.mjs';
6
6
  import './Base.mjs';
7
7
  import '../Auth/index.mjs';
8
8
  import './LineItem.mjs';
9
9
  import './Coupon.mjs';
10
10
  import './ImageInfo.mjs';
11
- import '../Product-BywRotdH.mjs';
11
+ import '../TieredPrice-Da5vsB_9.mjs';
12
12
  import './TaxRule.mjs';
13
13
  import './Charge.mjs';
14
14
 
@@ -2,13 +2,13 @@ import AddressModel, { AddressData } from './Address.js';
2
2
  import { LineItemState } from './Enum.js';
3
3
  import { PaymentStatus } from './Payment.js';
4
4
  import BaseShoppingContainerModel, { BaseShoppingContainerAttributes, ShoppingContainerTotal, BaseShoppingContainerData } from './ShoppingContainer.js';
5
- import { b as Prettify } from '../Common-BtMFh79I.js';
5
+ import { b as Prettify } from '../Price-CM028BEC.js';
6
6
  import './Base.js';
7
7
  import '../Auth/index.js';
8
8
  import './LineItem.js';
9
9
  import './Coupon.js';
10
10
  import './ImageInfo.js';
11
- import '../Product-mtVUKzNI.js';
11
+ import '../TieredPrice-BYCsK-r6.js';
12
12
  import './TaxRule.js';
13
13
  import './Charge.js';
14
14
 
@@ -1,5 +1,5 @@
1
1
  import BaseModel, { BaseAttributes, BaseData } from './Base.mjs';
2
- import { c as CurrencyCode, I as ISODateTimeUTC } from '../Common-BqhQxCq8.mjs';
2
+ import { c as CurrencyCode, I as ISODateTimeUTC } from '../Price-DhE6HC9v.mjs';
3
3
  import '../Auth/index.mjs';
4
4
  import './Enum.mjs';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import BaseModel, { BaseAttributes, BaseData } from './Base.js';
2
- import { c as CurrencyCode, I as ISODateTimeUTC } from '../Common-BtMFh79I.js';
2
+ import { c as CurrencyCode, I as ISODateTimeUTC } from '../Price-CM028BEC.js';
3
3
  import '../Auth/index.js';
4
4
  import './Enum.js';
5
5
 
@@ -1,2 +1,2 @@
1
- export { g as PriceAttributes, P as PriceData, a as default } from '../Common-BqhQxCq8.mjs';
1
+ export { h as PriceAttributes, P as PriceData, a as default } from '../Price-DhE6HC9v.mjs';
2
2
  import './Enum.mjs';
@@ -1,2 +1,2 @@
1
- export { g as PriceAttributes, P as PriceData, a as default } from '../Common-BtMFh79I.js';
1
+ export { h as PriceAttributes, P as PriceData, a as default } from '../Price-CM028BEC.js';
2
2
  import './Enum.js';
@@ -1,6 +1,6 @@
1
1
  import './Base.mjs';
2
- import '../Common-BqhQxCq8.mjs';
2
+ import '../Price-DhE6HC9v.mjs';
3
3
  import './Enum.mjs';
4
4
  import './ImageInfo.mjs';
5
- export { n as ProductAttributes, o as ProductData, k as ProductSelectionAttributes, b as ProductSpecification, S as SelectionAttributes, l as VariantData, m as VariantModel, P as default } from '../Product-BywRotdH.mjs';
5
+ export { f as ProductAttributes, g as ProductData, d as ProductSelectionAttributes, c as ProductSpecification, S as SelectionAttributes, V as VariantData, e as VariantModel, a as default } from '../TieredPrice-Da5vsB_9.mjs';
6
6
  import '../Auth/index.mjs';
@@ -1,6 +1,6 @@
1
1
  import './Base.js';
2
- import '../Common-BtMFh79I.js';
2
+ import '../Price-CM028BEC.js';
3
3
  import './Enum.js';
4
4
  import './ImageInfo.js';
5
- export { n as ProductAttributes, o as ProductData, k as ProductSelectionAttributes, b as ProductSpecification, S as SelectionAttributes, l as VariantData, m as VariantModel, P as default } from '../Product-mtVUKzNI.js';
5
+ export { f as ProductAttributes, g as ProductData, d as ProductSelectionAttributes, c as ProductSpecification, S as SelectionAttributes, V as VariantData, e as VariantModel, a as default } from '../TieredPrice-BYCsK-r6.js';
6
6
  import '../Auth/index.js';
@@ -1,13 +1,13 @@
1
1
  import BaseModel, { BaseAttributes, BaseData } from './Base.mjs';
2
2
  import AddressModel, { AddressData } from './Address.mjs';
3
3
  import LineItemModel, { LineItemData } from './LineItem.mjs';
4
- import { P as PriceData, a as PriceModel, S as ShippingDetails, C as CountryCode, c as CurrencyCode, L as LocaleCode } from '../Common-BqhQxCq8.mjs';
4
+ import { P as PriceData, a as PriceModel, S as ShippingDetails, C as CountryCode, c as CurrencyCode, L as LocaleCode } from '../Price-DhE6HC9v.mjs';
5
5
  import CouponModel, { CouponData } from './Coupon.mjs';
6
6
  import { TaxSystem } from './Enum.mjs';
7
7
  import ChargeModel, { ChargeData } from './Charge.mjs';
8
8
  import '../Auth/index.mjs';
9
9
  import './ImageInfo.mjs';
10
- import '../Product-BywRotdH.mjs';
10
+ import '../TieredPrice-Da5vsB_9.mjs';
11
11
  import './TaxRule.mjs';
12
12
 
13
13
  /**
@@ -1,13 +1,13 @@
1
1
  import BaseModel, { BaseAttributes, BaseData } from './Base.js';
2
2
  import AddressModel, { AddressData } from './Address.js';
3
3
  import LineItemModel, { LineItemData } from './LineItem.js';
4
- import { P as PriceData, a as PriceModel, S as ShippingDetails, C as CountryCode, c as CurrencyCode, L as LocaleCode } from '../Common-BtMFh79I.js';
4
+ import { P as PriceData, a as PriceModel, S as ShippingDetails, C as CountryCode, c as CurrencyCode, L as LocaleCode } from '../Price-CM028BEC.js';
5
5
  import CouponModel, { CouponData } from './Coupon.js';
6
6
  import { TaxSystem } from './Enum.js';
7
7
  import ChargeModel, { ChargeData } from './Charge.js';
8
8
  import '../Auth/index.js';
9
9
  import './ImageInfo.js';
10
- import '../Product-mtVUKzNI.js';
10
+ import '../TieredPrice-BYCsK-r6.js';
11
11
  import './TaxRule.js';
12
12
 
13
13
  /**
@@ -1,5 +1,5 @@
1
1
  import { CustomFieldAttributes, CustomFieldModel } from './Base.mjs';
2
- import { b as Prettify, C as CountryCode, P as PriceData, I as ISODateTimeUTC, a as PriceModel } from '../Common-BqhQxCq8.mjs';
2
+ import { b as Prettify, C as CountryCode, P as PriceData, I as ISODateTimeUTC, a as PriceModel } from '../Price-DhE6HC9v.mjs';
3
3
  import { TaxSystem } from './Enum.mjs';
4
4
  import '../Auth/index.mjs';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import { CustomFieldAttributes, CustomFieldModel } from './Base.js';
2
- import { b as Prettify, C as CountryCode, P as PriceData, I as ISODateTimeUTC, a as PriceModel } from '../Common-BtMFh79I.js';
2
+ import { b as Prettify, C as CountryCode, P as PriceData, I as ISODateTimeUTC, a as PriceModel } from '../Price-CM028BEC.js';
3
3
  import { TaxSystem } from './Enum.js';
4
4
  import '../Auth/index.js';
5
5
 
@@ -1,5 +1,5 @@
1
- import '../Common-BqhQxCq8.mjs';
2
- export { d as PriceTier, h as PriceTierAttributes, e as PriceTierData, c as PricingType, g as SelectionPricing, f as SelectionPricingData, j as SelectionTieredPriceModel, i as TieredPriceAttributes, T as TieredPriceData, a as TieredPriceModel, V as VolumeTieredPriceModel } from '../Product-BywRotdH.mjs';
1
+ import '../Price-DhE6HC9v.mjs';
2
+ export { h as PriceTier, l as PriceTierAttributes, i as PriceTierData, P as PricingType, k as SelectionPricing, j as SelectionPricingData, o as SelectionTieredPriceModel, m as TieredPriceAttributes, T as TieredPriceData, b as TieredPriceModel, n as VolumeTieredPriceModel } from '../TieredPrice-Da5vsB_9.mjs';
3
3
  import './Enum.mjs';
4
4
  import './Base.mjs';
5
5
  import '../Auth/index.mjs';
@@ -1,5 +1,5 @@
1
- import '../Common-BtMFh79I.js';
2
- export { d as PriceTier, h as PriceTierAttributes, e as PriceTierData, c as PricingType, g as SelectionPricing, f as SelectionPricingData, j as SelectionTieredPriceModel, i as TieredPriceAttributes, T as TieredPriceData, a as TieredPriceModel, V as VolumeTieredPriceModel } from '../Product-mtVUKzNI.js';
1
+ import '../Price-CM028BEC.js';
2
+ export { h as PriceTier, l as PriceTierAttributes, i as PriceTierData, P as PricingType, k as SelectionPricing, j as SelectionPricingData, o as SelectionTieredPriceModel, m as TieredPriceAttributes, T as TieredPriceData, b as TieredPriceModel, n as VolumeTieredPriceModel } from '../TieredPrice-BYCsK-r6.js';
3
3
  import './Enum.js';
4
4
  import './Base.js';
5
5
  import '../Auth/index.js';
@@ -1,5 +1,84 @@
1
1
  import { OperationalCountry, OperationalCountryCurrency, OperationalLocale, OperationalLanguage } from './Classes/Enum.js';
2
2
 
3
+ type Prettify<T> = {
4
+ [K in keyof T]: T[K];
5
+ } & {};
6
+ /**
7
+ * Represents a ISO 3166-1 alpha-2 country code (e.g., 'US', 'IN').
8
+ */
9
+ type CountryCode = keyof typeof OperationalCountry;
10
+ /**
11
+ * Represents a ISO 4217 currency code (e.g., 'INR', 'USD').
12
+ */
13
+ type CurrencyCode = keyof typeof OperationalCountryCurrency;
14
+ /**
15
+ * /**
16
+ * Represents a value that can be localized into multiple languages.
17
+ * The 'en' property is mandatory and serves as the default English translation.
18
+ * Additional properties can be added for other locales using their respective locale codes.
19
+ */
20
+ type LocalizedValue<T> = Prettify<{
21
+ en: T;
22
+ } & {
23
+ [locale in Exclude<LocaleCode | LanguageCode, 'en'>]?: T;
24
+ }>;
25
+ /**
26
+ * /**
27
+ * Represents a string that can be localized into multiple languages.
28
+ * The 'en' property is mandatory and serves as the default English translation.
29
+ * Additional properties can be added for other locales using their respective locale codes.
30
+ */
31
+ type LocalizedString = LocalizedValue<string>;
32
+ /**
33
+ * Represents a BCP 47 language tag (e.g., 'en-US', 'fr-FR').
34
+ * Used to identify languages and regional variations.
35
+ */
36
+ type LocaleCode = keyof typeof OperationalLocale;
37
+ type LanguageCode = keyof typeof OperationalLanguage;
38
+ type Color = {
39
+ name: string;
40
+ hex?: string;
41
+ };
42
+ /**
43
+ * Represents a date and time string formatted according to the ISO 8601 standard.
44
+ * Example: "2023-10-27T10:30:00.000Z"
45
+ */
46
+ type ISODateTimeUTC = string;
47
+ /**
48
+ * Represents a phone number in E.164 format (e.g., '+1234567890').
49
+ * Example: "+9122334455"
50
+ */
51
+ type E164Phone = string;
52
+ type RegionalPrice = {
53
+ [country in CountryCode]?: PriceData;
54
+ };
55
+ interface ShippingDetails {
56
+ courierName: string;
57
+ courierId?: string;
58
+ serviceType?: string;
59
+ rating?: number;
60
+ estimatedDeliveryDays?: number;
61
+ cost: number;
62
+ currency?: string;
63
+ isFallback: boolean;
64
+ trackingUrl?: string;
65
+ deliveryType?: string;
66
+ insuranceAmount?: number;
67
+ weight?: number;
68
+ dimensions?: {
69
+ length: number;
70
+ width: number;
71
+ height: number;
72
+ unit?: string;
73
+ };
74
+ pickupDate?: string;
75
+ deliveryDate?: string;
76
+ status?: string;
77
+ rawApiData?: any;
78
+ codCharges?: number;
79
+ [key: string]: any;
80
+ }
81
+
3
82
  type PriceAttributes = {
4
83
  amount: number;
5
84
  currency: CurrencyCode;
@@ -155,83 +234,4 @@ declare class PriceModel {
155
234
  static getSmallestUnit(currency: CurrencyCode): number;
156
235
  }
157
236
 
158
- type Prettify<T> = {
159
- [K in keyof T]: T[K];
160
- } & {};
161
- /**
162
- * Represents a ISO 3166-1 alpha-2 country code (e.g., 'US', 'IN').
163
- */
164
- type CountryCode = keyof typeof OperationalCountry;
165
- /**
166
- * Represents a ISO 4217 currency code (e.g., 'INR', 'USD').
167
- */
168
- type CurrencyCode = keyof typeof OperationalCountryCurrency;
169
- /**
170
- * /**
171
- * Represents a value that can be localized into multiple languages.
172
- * The 'en' property is mandatory and serves as the default English translation.
173
- * Additional properties can be added for other locales using their respective locale codes.
174
- */
175
- type LocalizedValue<T> = Prettify<{
176
- en: T;
177
- } & {
178
- [locale in Exclude<LocaleCode | LanguageCode, 'en'>]?: T;
179
- }>;
180
- /**
181
- * /**
182
- * Represents a string that can be localized into multiple languages.
183
- * The 'en' property is mandatory and serves as the default English translation.
184
- * Additional properties can be added for other locales using their respective locale codes.
185
- */
186
- type LocalizedString = LocalizedValue<string>;
187
- /**
188
- * Represents a BCP 47 language tag (e.g., 'en-US', 'fr-FR').
189
- * Used to identify languages and regional variations.
190
- */
191
- type LocaleCode = keyof typeof OperationalLocale;
192
- type LanguageCode = keyof typeof OperationalLanguage;
193
- type Color = {
194
- name: string;
195
- hex?: string;
196
- };
197
- /**
198
- * Represents a date and time string formatted according to the ISO 8601 standard.
199
- * Example: "2023-10-27T10:30:00.000Z"
200
- */
201
- type ISODateTimeUTC = string;
202
- /**
203
- * Represents a phone number in E.164 format (e.g., '+1234567890').
204
- * Example: "+9122334455"
205
- */
206
- type E164Phone = string;
207
- type RegionalPrice = {
208
- [country in CountryCode]?: PriceData;
209
- };
210
- interface ShippingDetails {
211
- courierName: string;
212
- courierId?: string;
213
- serviceType?: string;
214
- rating?: number;
215
- estimatedDeliveryDays?: number;
216
- cost: number;
217
- currency?: string;
218
- isFallback: boolean;
219
- trackingUrl?: string;
220
- deliveryType?: string;
221
- insuranceAmount?: number;
222
- weight?: number;
223
- dimensions?: {
224
- length: number;
225
- width: number;
226
- height: number;
227
- unit?: string;
228
- };
229
- pickupDate?: string;
230
- deliveryDate?: string;
231
- status?: string;
232
- rawApiData?: any;
233
- codCharges?: number;
234
- [key: string]: any;
235
- }
236
-
237
- export { type CountryCode as C, type E164Phone as E, type ISODateTimeUTC as I, type LocaleCode as L, type PriceData as P, type RegionalPrice as R, type ShippingDetails as S, PriceModel as a, type Prettify as b, type CurrencyCode as c, type LocalizedString as d, type LocalizedValue as e, type Color as f, type PriceAttributes as g, type LanguageCode as h };
237
+ export { type CountryCode as C, type E164Phone as E, type ISODateTimeUTC as I, type LocaleCode as L, type PriceData as P, type RegionalPrice as R, type ShippingDetails as S, PriceModel as a, type Prettify as b, type CurrencyCode as c, type LocalizedString as d, type LocalizedValue as e, type Color as f, type LanguageCode as g, type PriceAttributes as h };