@rebuy/rebuy 3.32.0 → 3.34.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.
Files changed (52) hide show
  1. package/README.md +1 -1
  2. package/dist/cab/index.cjs +12 -1
  3. package/dist/cab/index.d.ts +1 -0
  4. package/dist/cab/index.mjs +12 -1
  5. package/dist/cab/utf8ByteLength.d.ts +6 -0
  6. package/dist/index.cjs +1138 -923
  7. package/dist/index.d.ts +1 -0
  8. package/dist/index.mjs +1138 -923
  9. package/dist/pricing/postPurchaseSubscriptionDisplay.d.ts +5 -0
  10. package/dist/schema/index.d.ts +8 -0
  11. package/dist/schema/postPurchaseChoice.d.ts +25 -0
  12. package/dist/schema/postPurchaseDiscount.d.ts +22 -0
  13. package/dist/schema/postPurchasePlanAdjustment.d.ts +11 -0
  14. package/dist/schema/postPurchasePlanCatalog.d.ts +42 -0
  15. package/dist/schema/postPurchaseProduct.d.ts +260 -0
  16. package/dist/schema/postPurchaseProductSettings.d.ts +1 -1
  17. package/dist/schema/postPurchaseProductSource.d.ts +2 -2
  18. package/dist/schema/postPurchaseSubscription.d.ts +21 -0
  19. package/dist/schema/postPurchaseSubscriptionDisplay.d.ts +10 -0
  20. package/dist/schema/postPurchaseSubscriptionProduct.d.ts +224 -0
  21. package/dist/schema/postPurchaseSubscriptionSettings.d.ts +22 -0
  22. package/dist/schema/widgets/checkout-and-beyond/banner.d.ts +1 -1
  23. package/dist/schema/widgets/checkout-and-beyond/carousel.d.ts +1 -1
  24. package/dist/schema/widgets/checkout-and-beyond/cartLine.d.ts +1 -1
  25. package/dist/schema/widgets/checkout-and-beyond/common.d.ts +1 -1
  26. package/dist/schema/widgets/checkout-and-beyond/dataSource.d.ts +2 -2
  27. package/dist/schema/widgets/checkout-and-beyond/discount.d.ts +1 -1
  28. package/dist/schema/widgets/checkout-and-beyond/icons.d.ts +1 -1
  29. package/dist/schema/widgets/checkout-and-beyond/image.d.ts +2 -2
  30. package/dist/schema/widgets/checkout-and-beyond/offers.d.ts +1 -1
  31. package/dist/schema/widgets/checkout-and-beyond/progressBar.d.ts +1 -1
  32. package/dist/schema/widgets/post-purchase-offer/postPurchaseOffer.d.ts +2 -2
  33. package/dist/schema/widgets/post-purchase-offer/postPurchaseSettings.d.ts +2 -2
  34. package/dist/schema/widgets/post-purchase-offer/postPurchaseWidget.d.ts +2 -2
  35. package/dist/server/__fixtures__/postPurchaseLegacyPlans.d.ts +35 -0
  36. package/dist/server/__fixtures__/postPurchaseSubscription.d.ts +75 -0
  37. package/dist/server/index.cjs +802 -118
  38. package/dist/server/index.d.ts +3 -1
  39. package/dist/server/index.mjs +802 -118
  40. package/dist/server/normalizePostPurchaseCollection.d.ts +16 -16
  41. package/dist/server/normalizePostPurchaseProduct.d.ts +9 -9
  42. package/dist/server/postPurchaseLegacyPlans.d.ts +3 -0
  43. package/dist/server/postPurchaseModernPlans.d.ts +7 -0
  44. package/dist/server/postPurchasePlanAdjustment.d.ts +3 -0
  45. package/dist/server/postPurchasePlanCatalog.d.ts +5 -0
  46. package/dist/server/postPurchaseSubscriptionEligibility.d.ts +5 -0
  47. package/dist/server/prepareNormalizedSubscription.d.ts +11 -0
  48. package/dist/server/preparePostPurchaseSubscription.d.ts +102 -0
  49. package/dist/server/projectPostPurchaseProduct.d.ts +7 -7
  50. package/dist/server/requestSchemas.d.ts +1 -1
  51. package/dist/server/selectPostPurchaseChoice.d.ts +43 -0
  52. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -7,3 +7,4 @@ export * from './schema';
7
7
  export * from './session';
8
8
  export { buildOfferTemplate, type BuildOfferTemplateInput, convertOfferToV2, isOfferV1 } from './transforms';
9
9
  export * from './utilities';
10
+ export { postPurchaseSubscriptionDisplay } from './pricing/postPurchaseSubscriptionDisplay';