b23-lib 3.1.4 → 3.2.1

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 (66) 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 +1 -1
  6. package/dist/Classes/Cart.d.ts +1 -1
  7. package/dist/Classes/Cart.js.map +1 -1
  8. package/dist/Classes/Cart.mjs +1 -1
  9. package/dist/Classes/Charge.d.mts +1 -1
  10. package/dist/Classes/Charge.d.ts +1 -1
  11. package/dist/Classes/Charge.js.map +1 -1
  12. package/dist/Classes/Charge.mjs +1 -1
  13. package/dist/Classes/Common.d.mts +1 -1
  14. package/dist/Classes/Common.d.ts +1 -1
  15. package/dist/Classes/Coupon.d.mts +1 -1
  16. package/dist/Classes/Coupon.d.ts +1 -1
  17. package/dist/Classes/Customer.d.mts +1 -1
  18. package/dist/Classes/Customer.d.ts +1 -1
  19. package/dist/Classes/CustomerAddress.d.mts +1 -1
  20. package/dist/Classes/CustomerAddress.d.ts +1 -1
  21. package/dist/Classes/Inventory.d.mts +1 -1
  22. package/dist/Classes/Inventory.d.ts +1 -1
  23. package/dist/Classes/Invoice.d.mts +140 -0
  24. package/dist/Classes/Invoice.d.ts +140 -0
  25. package/dist/Classes/Invoice.js +2 -0
  26. package/dist/Classes/Invoice.js.map +1 -0
  27. package/dist/Classes/Invoice.mjs +2 -0
  28. package/dist/Classes/Invoice.mjs.map +1 -0
  29. package/dist/Classes/LineItem.d.mts +1 -1
  30. package/dist/Classes/LineItem.d.ts +1 -1
  31. package/dist/Classes/LineItem.js.map +1 -1
  32. package/dist/Classes/LineItem.mjs +1 -1
  33. package/dist/Classes/Order.d.mts +1 -1
  34. package/dist/Classes/Order.d.ts +1 -1
  35. package/dist/Classes/Order.js.map +1 -1
  36. package/dist/Classes/Order.mjs +1 -1
  37. package/dist/Classes/Payment.d.mts +1 -1
  38. package/dist/Classes/Payment.d.ts +1 -1
  39. package/dist/Classes/Price.d.mts +1 -1
  40. package/dist/Classes/Price.d.ts +1 -1
  41. package/dist/Classes/Product.d.mts +1 -1
  42. package/dist/Classes/Product.d.ts +1 -1
  43. package/dist/Classes/ShoppingContainer.d.mts +1 -1
  44. package/dist/Classes/ShoppingContainer.d.ts +1 -1
  45. package/dist/Classes/ShoppingContainer.js.map +1 -1
  46. package/dist/Classes/ShoppingContainer.mjs +1 -1
  47. package/dist/Classes/TaxRule.d.mts +1 -1
  48. package/dist/Classes/TaxRule.d.ts +1 -1
  49. package/dist/Classes/TaxRule.js.map +1 -1
  50. package/dist/Classes/TaxRule.mjs +1 -1
  51. package/dist/Classes/TieredPrice.d.mts +1 -1
  52. package/dist/Classes/TieredPrice.d.ts +1 -1
  53. package/dist/{Common-Cq0_dPyJ.d.ts → Common-BPgGKaZC.d.ts} +1 -1
  54. package/dist/{Common-C4Fl1Axr.d.mts → Common-DY253_Gs.d.mts} +1 -1
  55. package/dist/{chunk-DYBLLXII.mjs → chunk-5IRYC2KY.mjs} +2 -2
  56. package/dist/{chunk-DYBLLXII.mjs.map → chunk-5IRYC2KY.mjs.map} +1 -1
  57. package/dist/{chunk-6BROF5JI.mjs → chunk-MJGCYQ53.mjs} +2 -2
  58. package/dist/{chunk-6BROF5JI.mjs.map → chunk-MJGCYQ53.mjs.map} +1 -1
  59. package/dist/{chunk-X27KEKNB.mjs → chunk-SOZHGHMY.mjs} +2 -2
  60. package/dist/chunk-SOZHGHMY.mjs.map +1 -0
  61. package/dist/{chunk-WTA42ELE.mjs → chunk-XJPFHEW3.mjs} +2 -2
  62. package/dist/{chunk-WTA42ELE.mjs.map → chunk-XJPFHEW3.mjs.map} +1 -1
  63. package/dist/index.d.mts +1 -1
  64. package/dist/index.d.ts +1 -1
  65. package/package.json +11 -1
  66. package/dist/chunk-X27KEKNB.mjs.map +0 -1
@@ -1,2 +1,2 @@
1
- import {a as a$1}from'../chunk-6BROF5JI.mjs';import'../chunk-PWWKQNF7.mjs';import'../chunk-DYBLLXII.mjs';import {b}from'../chunk-HX32EJ3F.mjs';import'../chunk-WTA42ELE.mjs';import'../chunk-X27KEKNB.mjs';import'../chunk-QGIQ3MH6.mjs';import'../chunk-FCRJAAPY.mjs';import'../chunk-LI5JQ6UC.mjs';import'../chunk-QK4XJ3GB.mjs';import'../chunk-2B2XI6FG.mjs';import {a as a$2}from'../chunk-R5DM7WCD.mjs';import'../chunk-UXZBULDS.mjs';var a=(s=>(s.PLACED="PLACED",s.PENDING_PAYMENT="PENDING_PAYMENT",s.PROCESSING="PROCESSING",s.CANCELLED="CANCELLED",s.COMPLETED="COMPLETED",s))(a||{}),i=class extends a$1{orderNumber;cartId;paymentStatus;holdReason;state;shippingAddress;billingAddress;constructor(t,e=new Date){super(t,e),this.orderNumber=t.orderNumber,this.cartId=t.cartId,this.paymentStatus=t.paymentStatus,this.holdReason=t.holdReason||"",this.state=t.state,this.shippingAddress=new b(t.shippingAddress,e),this.billingAddress=new b(t.billingAddress,e);}getCustomerId(){return this.customerId}getCustomerEmail(){return this.customerEmail}getShippingAddress(){return this.shippingAddress}getBillingAddress(){return this.billingAddress}getOrderNumber(){return this.orderNumber}getCartId(){return this.cartId}getPaymentStatus(){return this.paymentStatus}getHoldReason(){return this.holdReason}getState(){return this.state}getLineItemState(t){let e=this.getLineItems().find(o=>o.getId()===t);if(!e)throw new a$2(t);return e.getState()}getDetails(){return {...super.getDetails(),orderNumber:this.getOrderNumber(),customerId:this.getCustomerId(),customerEmail:this.getCustomerEmail(),shippingAddress:this.getShippingAddress().getDetails(),billingAddress:this.getBillingAddress().getDetails(),cartId:this.getCartId(),paymentStatus:this.getPaymentStatus(),holdReason:this.getHoldReason(),state:this.getState()}}};export{a as OrderState,i as default};//# sourceMappingURL=Order.mjs.map
1
+ import {a as a$1}from'../chunk-MJGCYQ53.mjs';import'../chunk-5IRYC2KY.mjs';import {b}from'../chunk-HX32EJ3F.mjs';import'../chunk-XJPFHEW3.mjs';import'../chunk-SOZHGHMY.mjs';import'../chunk-PWWKQNF7.mjs';import'../chunk-QGIQ3MH6.mjs';import'../chunk-FCRJAAPY.mjs';import'../chunk-LI5JQ6UC.mjs';import'../chunk-QK4XJ3GB.mjs';import'../chunk-2B2XI6FG.mjs';import {a as a$2}from'../chunk-R5DM7WCD.mjs';import'../chunk-UXZBULDS.mjs';var a=(s=>(s.PLACED="PLACED",s.PENDING_PAYMENT="PENDING_PAYMENT",s.PROCESSING="PROCESSING",s.CANCELLED="CANCELLED",s.COMPLETED="COMPLETED",s))(a||{}),i=class extends a$1{orderNumber;cartId;paymentStatus;holdReason;state;shippingAddress;billingAddress;constructor(t,e=new Date){super(t,e),this.orderNumber=t.orderNumber,this.cartId=t.cartId,this.paymentStatus=t.paymentStatus,this.holdReason=t.holdReason||"",this.state=t.state,this.shippingAddress=new b(t.shippingAddress,e),this.billingAddress=new b(t.billingAddress,e);}getCustomerId(){return this.customerId}getCustomerEmail(){return this.customerEmail}getShippingAddress(){return this.shippingAddress}getBillingAddress(){return this.billingAddress}getOrderNumber(){return this.orderNumber}getCartId(){return this.cartId}getPaymentStatus(){return this.paymentStatus}getHoldReason(){return this.holdReason}getState(){return this.state}getLineItemState(t){let e=this.getLineItems().find(o=>o.getId()===t);if(!e)throw new a$2(t);return e.getState()}getDetails(){return {...super.getDetails(),orderNumber:this.getOrderNumber(),customerId:this.getCustomerId(),customerEmail:this.getCustomerEmail(),shippingAddress:this.getShippingAddress().getDetails(),billingAddress:this.getBillingAddress().getDetails(),cartId:this.getCartId(),paymentStatus:this.getPaymentStatus(),holdReason:this.getHoldReason(),state:this.getState()}}};export{a as OrderState,i as default};//# sourceMappingURL=Order.mjs.map
2
2
  //# sourceMappingURL=Order.mjs.map
@@ -1,5 +1,5 @@
1
1
  import BaseModel, { BaseAttributes, BaseData } from './Base.mjs';
2
- import { a as CurrencyCode, I as ISODateTimeUTC } from '../Common-C4Fl1Axr.mjs';
2
+ import { c as CurrencyCode, I as ISODateTimeUTC } from '../Common-DY253_Gs.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 { a as CurrencyCode, I as ISODateTimeUTC } from '../Common-Cq0_dPyJ.js';
2
+ import { c as CurrencyCode, I as ISODateTimeUTC } from '../Common-BPgGKaZC.js';
3
3
  import '../Auth/index.js';
4
4
  import './Enum.js';
5
5
 
@@ -1,2 +1,2 @@
1
- export { g as PriceAttributes, b as PriceData, c as default } from '../Common-C4Fl1Axr.mjs';
1
+ export { g as PriceAttributes, P as PriceData, a as default } from '../Common-DY253_Gs.mjs';
2
2
  import './Enum.mjs';
@@ -1,2 +1,2 @@
1
- export { g as PriceAttributes, b as PriceData, c as default } from '../Common-Cq0_dPyJ.js';
1
+ export { g as PriceAttributes, P as PriceData, a as default } from '../Common-BPgGKaZC.js';
2
2
  import './Enum.js';
@@ -1,5 +1,5 @@
1
1
  import BaseModel, { BaseAttributes } from './Base.mjs';
2
- import { P as Prettify, f as Color, d as LocalizedString, C as CountryCode, e as LocalizedValue, L as LocaleCode } from '../Common-C4Fl1Axr.mjs';
2
+ import { b as Prettify, f as Color, d as LocalizedString, C as CountryCode, e as LocalizedValue, L as LocaleCode } from '../Common-DY253_Gs.mjs';
3
3
  import { GenderCategory, ImageCategory } from './Enum.mjs';
4
4
  import ImageInfoModel, { ImageInfoData } from './ImageInfo.mjs';
5
5
  import { TieredPriceAttributes, TieredPriceModel } from './TieredPrice.mjs';
@@ -1,5 +1,5 @@
1
1
  import BaseModel, { BaseAttributes } from './Base.js';
2
- import { P as Prettify, f as Color, d as LocalizedString, C as CountryCode, e as LocalizedValue, L as LocaleCode } from '../Common-Cq0_dPyJ.js';
2
+ import { b as Prettify, f as Color, d as LocalizedString, C as CountryCode, e as LocalizedValue, L as LocaleCode } from '../Common-BPgGKaZC.js';
3
3
  import { GenderCategory, ImageCategory } from './Enum.js';
4
4
  import ImageInfoModel, { ImageInfoData } from './ImageInfo.js';
5
5
  import { TieredPriceAttributes, TieredPriceModel } from './TieredPrice.js';
@@ -1,7 +1,7 @@
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 { b as PriceData, c as PriceModel, S as ShippingDetails, C as CountryCode, a as CurrencyCode, L as LocaleCode } from '../Common-C4Fl1Axr.mjs';
4
+ import { P as PriceData, a as PriceModel, S as ShippingDetails, C as CountryCode, c as CurrencyCode, L as LocaleCode } from '../Common-DY253_Gs.mjs';
5
5
  import CouponModel, { CouponData } from './Coupon.mjs';
6
6
  import { TaxSystem } from './Enum.mjs';
7
7
  import ChargeModel, { ChargeData } from './Charge.mjs';
@@ -1,7 +1,7 @@
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 { b as PriceData, c as PriceModel, S as ShippingDetails, C as CountryCode, a as CurrencyCode, L as LocaleCode } from '../Common-Cq0_dPyJ.js';
4
+ import { P as PriceData, a as PriceModel, S as ShippingDetails, C as CountryCode, c as CurrencyCode, L as LocaleCode } from '../Common-BPgGKaZC.js';
5
5
  import CouponModel, { CouponData } from './Coupon.js';
6
6
  import { TaxSystem } from './Enum.js';
7
7
  import ChargeModel, { ChargeData } from './Charge.js';