@paddle/paddle-node-sdk 1.2.0 → 1.3.0-beta.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 (1616) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist/cjs/entities/price/price.js +28 -0
  3. package/dist/cjs/internal/api/client.js +100 -0
  4. package/dist/cjs/notifications/entities/price/price-notification.js +27 -0
  5. package/dist/cjs/notifications/helpers/webhooks-validator.js +41 -0
  6. package/dist/cjs/version.js +4 -0
  7. package/dist/esm/entities/address/address-collection.js +7 -0
  8. package/dist/esm/entities/address/address.js +19 -0
  9. package/dist/esm/entities/adjustment/adjustment-collection.js +7 -0
  10. package/dist/esm/entities/adjustment/adjustment-item-totals.js +7 -0
  11. package/dist/esm/entities/adjustment/adjustment-item.js +11 -0
  12. package/dist/esm/entities/adjustment/adjustment-proration.js +9 -0
  13. package/dist/esm/entities/adjustment/adjustment-time-period.js +6 -0
  14. package/dist/esm/entities/adjustment/adjustment.js +19 -0
  15. package/dist/esm/entities/business/business-collection.js +7 -0
  16. package/dist/esm/entities/business/business.js +16 -0
  17. package/dist/esm/entities/business/contacts.js +6 -0
  18. package/dist/esm/entities/customer/credit-balance.js +8 -0
  19. package/dist/esm/entities/customer/customer-balance.js +7 -0
  20. package/dist/esm/entities/customer/customer-collection.js +7 -0
  21. package/dist/esm/entities/customer/customer.js +15 -0
  22. package/dist/esm/entities/discount/discount-collection.js +7 -0
  23. package/dist/esm/entities/discount/discount.js +24 -0
  24. package/dist/esm/entities/event-types/event-type.js +8 -0
  25. package/dist/esm/entities/events/event-collection.js +7 -0
  26. package/dist/esm/entities/events/event.js +10 -0
  27. package/dist/esm/entities/index.js +16 -0
  28. package/dist/esm/entities/notification-settings/notification-settings.js +14 -0
  29. package/dist/esm/entities/notifications/notification-collection.js +7 -0
  30. package/dist/esm/entities/notifications/notification-log-collection.js +7 -0
  31. package/dist/esm/entities/notifications/notification-log.js +10 -0
  32. package/dist/esm/entities/notifications/notification.js +18 -0
  33. package/dist/esm/entities/notifications/replay-notification.js +5 -0
  34. package/dist/esm/entities/payout/payout.js +8 -0
  35. package/dist/esm/entities/price/price-collection.js +7 -0
  36. package/dist/esm/entities/price/price-quantity.js +6 -0
  37. package/dist/esm/entities/price/price.js +24 -0
  38. package/dist/esm/entities/pricing-preview/pricing-preview-details.js +6 -0
  39. package/dist/esm/entities/pricing-preview/pricing-preview-discounts.js +8 -0
  40. package/dist/esm/entities/pricing-preview/pricing-preview-line-item.js +17 -0
  41. package/dist/esm/entities/pricing-preview/pricing-preview.js +16 -0
  42. package/dist/esm/entities/product/product-collection.js +7 -0
  43. package/dist/esm/entities/product/product.js +18 -0
  44. package/dist/esm/entities/report/report-collection.js +7 -0
  45. package/dist/esm/entities/report/report-csv.js +5 -0
  46. package/dist/esm/entities/report/report-filters.js +8 -0
  47. package/dist/esm/entities/report/report.js +13 -0
  48. package/dist/esm/entities/shared/adjustment-original-amount.js +6 -0
  49. package/dist/esm/entities/shared/billing-details.js +10 -0
  50. package/dist/esm/entities/shared/chargeback-fee.js +7 -0
  51. package/dist/esm/entities/shared/import-meta.js +6 -0
  52. package/dist/esm/entities/shared/money.js +6 -0
  53. package/dist/esm/entities/shared/payment-card.js +9 -0
  54. package/dist/esm/entities/shared/payment-method-details.js +7 -0
  55. package/dist/esm/entities/shared/payout-totals-adjustment.js +14 -0
  56. package/dist/esm/entities/shared/tax-rates-used.js +7 -0
  57. package/dist/esm/entities/shared/time-period.js +6 -0
  58. package/dist/esm/entities/shared/total-adjustments.js +10 -0
  59. package/dist/esm/entities/shared/totals.js +8 -0
  60. package/dist/esm/entities/shared/transaction-checkout.js +5 -0
  61. package/dist/esm/entities/shared/transaction-payment-attempt.js +16 -0
  62. package/dist/esm/entities/shared/transaction-payout-totals-adjusted.js +14 -0
  63. package/dist/esm/entities/shared/transaction-payout-totals.js +15 -0
  64. package/dist/esm/entities/shared/transaction-totals-adjusted.js +11 -0
  65. package/dist/esm/entities/shared/transaction-totals.js +15 -0
  66. package/dist/esm/entities/shared/unit-price-override.js +7 -0
  67. package/dist/esm/entities/shared/unit-totals.js +8 -0
  68. package/dist/esm/entities/subscription/next-transaction-adjustment-item.js +10 -0
  69. package/dist/esm/entities/subscription/next-transaction-adjustment-preview.js +9 -0
  70. package/dist/esm/entities/subscription/next-transaction.js +8 -0
  71. package/dist/esm/entities/subscription/subscription-collection.js +7 -0
  72. package/dist/esm/entities/subscription/subscription-discount.js +8 -0
  73. package/dist/esm/entities/subscription/subscription-item.js +14 -0
  74. package/dist/esm/entities/subscription/subscription-management.js +8 -0
  75. package/dist/esm/entities/subscription/subscription-preview-summary-result.js +7 -0
  76. package/dist/esm/entities/subscription/subscription-preview-update-summary.js +8 -0
  77. package/dist/esm/entities/subscription/subscription-preview.js +47 -0
  78. package/dist/esm/entities/subscription/subscription-scheduled-change.js +7 -0
  79. package/dist/esm/entities/subscription/subscription-time-period.js +6 -0
  80. package/dist/esm/entities/subscription/subscription.js +38 -0
  81. package/dist/esm/entities/subscription/transaction-details-preview.js +8 -0
  82. package/dist/esm/entities/subscription/transaction-line-item-preview.js +11 -0
  83. package/dist/esm/entities/transaction/address-preview.js +6 -0
  84. package/dist/esm/entities/transaction/adjustment-totals-breakdown.js +7 -0
  85. package/dist/esm/entities/transaction/adjustment-totals.js +12 -0
  86. package/dist/esm/entities/transaction/proration.js +7 -0
  87. package/dist/esm/entities/transaction/transaction-adjustment-item.js +13 -0
  88. package/dist/esm/entities/transaction/transaction-adjustment.js +19 -0
  89. package/dist/esm/entities/transaction/transaction-collection.js +7 -0
  90. package/dist/esm/entities/transaction/transaction-details.js +17 -0
  91. package/dist/esm/entities/transaction/transaction-invoice-pdf.js +5 -0
  92. package/dist/esm/entities/transaction/transaction-item-preview.js +10 -0
  93. package/dist/esm/entities/transaction/transaction-item.js +8 -0
  94. package/dist/esm/entities/transaction/transaction-line-item.js +13 -0
  95. package/dist/esm/entities/transaction/transaction-preview.js +17 -0
  96. package/dist/esm/entities/transaction/transaction-proration.js +9 -0
  97. package/dist/esm/entities/transaction/transaction.js +39 -0
  98. package/dist/esm/entities/transaction/transactions-time-period.js +6 -0
  99. package/dist/esm/enums/adjustment/adjustment-action.js +1 -0
  100. package/dist/esm/enums/adjustment/adjustment-currency-code.js +1 -0
  101. package/dist/esm/enums/adjustment/adjustment-status.js +1 -0
  102. package/dist/esm/enums/adjustment/adjustment-type.js +1 -0
  103. package/dist/esm/enums/discount/discount-status.js +1 -0
  104. package/dist/esm/enums/discount/discount-type.js +1 -0
  105. package/dist/esm/enums/notification/notification-status.js +1 -0
  106. package/dist/esm/enums/notification/origin.js +1 -0
  107. package/dist/esm/enums/notification-settings/notification-settings-type.js +1 -0
  108. package/dist/esm/enums/payout/payout-status.js +1 -0
  109. package/dist/esm/enums/report/report-filter-name.js +1 -0
  110. package/dist/esm/enums/report/report-filter-operator.js +1 -0
  111. package/dist/esm/enums/report/report-status.js +1 -0
  112. package/dist/esm/enums/report/report-type.js +1 -0
  113. package/dist/esm/enums/shared/available-payment-methods.js +1 -0
  114. package/dist/esm/enums/shared/catalog-type.js +1 -0
  115. package/dist/esm/enums/shared/collection-mode.js +1 -0
  116. package/dist/esm/enums/shared/country-code.js +1 -0
  117. package/dist/esm/enums/shared/currency-code.js +1 -0
  118. package/dist/esm/enums/shared/error-code.js +1 -0
  119. package/dist/esm/enums/shared/interval.js +1 -0
  120. package/dist/esm/enums/shared/payment-attempt-status.js +1 -0
  121. package/dist/esm/enums/shared/payment-type.js +1 -0
  122. package/dist/esm/enums/shared/payout-currency-code.js +1 -0
  123. package/dist/esm/enums/shared/status.js +1 -0
  124. package/dist/esm/enums/shared/tax-category.js +1 -0
  125. package/dist/esm/enums/shared/tax-mode.js +1 -0
  126. package/dist/esm/enums/shared/transaction-origin.js +1 -0
  127. package/dist/esm/enums/shared/transaction-status.js +1 -0
  128. package/dist/esm/enums/subscription/proration-billing-mode.js +1 -0
  129. package/dist/esm/enums/subscription/scheduled-change-action.js +1 -0
  130. package/dist/esm/enums/subscription/subscription-effective-from.js +1 -0
  131. package/dist/esm/enums/subscription/subscription-item-status.js +1 -0
  132. package/dist/esm/enums/subscription/subscription-on-payment-failure.js +1 -0
  133. package/dist/esm/enums/subscription/subscription-status.js +1 -0
  134. package/dist/esm/enums/transaction/payment-card-type.js +1 -0
  135. package/dist/esm/index.js +8 -0
  136. package/dist/esm/internal/api/case-helpers.js +51 -0
  137. package/dist/esm/internal/api/client.js +93 -0
  138. package/dist/esm/internal/api/constants.js +5 -0
  139. package/dist/esm/internal/api/environment.js +5 -0
  140. package/dist/esm/internal/base/base-resource.js +17 -0
  141. package/dist/esm/internal/base/collection.js +61 -0
  142. package/dist/esm/internal/base/logger.js +17 -0
  143. package/dist/esm/internal/base/path-parameters.js +16 -0
  144. package/dist/esm/internal/base/query-parameters.js +16 -0
  145. package/dist/esm/internal/errors/generic.js +10 -0
  146. package/dist/esm/internal/index.js +2 -0
  147. package/dist/esm/internal/types/config.js +1 -0
  148. package/dist/esm/internal/types/response.js +1 -0
  149. package/dist/esm/notifications/entities/address/address-notification.js +20 -0
  150. package/dist/esm/notifications/entities/adjustment/adjustment-item-notification.js +11 -0
  151. package/dist/esm/notifications/entities/adjustment/adjustment-item-totals-notification.js +7 -0
  152. package/dist/esm/notifications/entities/adjustment/adjustment-notification.js +21 -0
  153. package/dist/esm/notifications/entities/adjustment/adjustment-proration-notification.js +9 -0
  154. package/dist/esm/notifications/entities/adjustment/adjustment-time-period-notification.js +6 -0
  155. package/dist/esm/notifications/entities/business/business-notification.js +17 -0
  156. package/dist/esm/notifications/entities/business/contacts-notification.js +6 -0
  157. package/dist/esm/notifications/entities/customer/customer-notification.js +15 -0
  158. package/dist/esm/notifications/entities/discount/discount-notification.js +24 -0
  159. package/dist/esm/notifications/entities/payout/payout-notification.js +8 -0
  160. package/dist/esm/notifications/entities/price/price-notification.js +23 -0
  161. package/dist/esm/notifications/entities/price/price-quantity-notification.js +6 -0
  162. package/dist/esm/notifications/entities/product/product-notification.js +17 -0
  163. package/dist/esm/notifications/entities/report/report-filters-notification.js +8 -0
  164. package/dist/esm/notifications/entities/report/report-notification.js +13 -0
  165. package/dist/esm/notifications/entities/shared/adjustment-original-amount-notification.js +6 -0
  166. package/dist/esm/notifications/entities/shared/billing-details-notification.js +10 -0
  167. package/dist/esm/notifications/entities/shared/chargeback-fee-notification.js +7 -0
  168. package/dist/esm/notifications/entities/shared/import-meta-notification.js +6 -0
  169. package/dist/esm/notifications/entities/shared/money-notification.js +6 -0
  170. package/dist/esm/notifications/entities/shared/payment-card-notification.js +9 -0
  171. package/dist/esm/notifications/entities/shared/payment-method-details-notification.js +7 -0
  172. package/dist/esm/notifications/entities/shared/payout-totals-adjustment-notification.js +14 -0
  173. package/dist/esm/notifications/entities/shared/tax-rates-used-notification.js +7 -0
  174. package/dist/esm/notifications/entities/shared/time-period-notification.js +6 -0
  175. package/dist/esm/notifications/entities/shared/total-adjustments-notification.js +10 -0
  176. package/dist/esm/notifications/entities/shared/totals-notification.js +8 -0
  177. package/dist/esm/notifications/entities/shared/transaction-checkout-notification.js +5 -0
  178. package/dist/esm/notifications/entities/shared/transaction-payment-attempt-notification.js +17 -0
  179. package/dist/esm/notifications/entities/shared/transaction-payout-totals-adjusted-notification.js +14 -0
  180. package/dist/esm/notifications/entities/shared/transaction-payout-totals-notification.js +15 -0
  181. package/dist/esm/notifications/entities/shared/transaction-totals-adjusted-notification.js +11 -0
  182. package/dist/esm/notifications/entities/shared/transaction-totals-notification.js +15 -0
  183. package/dist/esm/notifications/entities/shared/unit-price-override-notification.js +7 -0
  184. package/dist/esm/notifications/entities/shared/unit-totals-notification.js +8 -0
  185. package/dist/esm/notifications/entities/subscription/subscription-discount-notification.js +8 -0
  186. package/dist/esm/notifications/entities/subscription/subscription-item-notification.js +16 -0
  187. package/dist/esm/notifications/entities/subscription/subscription-notification.js +34 -0
  188. package/dist/esm/notifications/entities/subscription/subscription-price-notification.js +23 -0
  189. package/dist/esm/notifications/entities/subscription/subscription-scheduled-change-notification.js +7 -0
  190. package/dist/esm/notifications/entities/subscription/subscription-time-period-notification.js +6 -0
  191. package/dist/esm/notifications/entities/transaction/transaction-details-notification.js +17 -0
  192. package/dist/esm/notifications/entities/transaction/transaction-item-notification.js +8 -0
  193. package/dist/esm/notifications/entities/transaction/transaction-line-item-notification.js +17 -0
  194. package/dist/esm/notifications/entities/transaction/transaction-notification.js +31 -0
  195. package/dist/esm/notifications/entities/transaction/transaction-proration-notification.js +9 -0
  196. package/dist/esm/notifications/entities/transaction/transactions-time-period-notification.js +6 -0
  197. package/dist/esm/notifications/events/address/address-created-event.js +10 -0
  198. package/dist/esm/notifications/events/address/address-imported-event.js +10 -0
  199. package/dist/esm/notifications/events/address/address-updated-event.js +10 -0
  200. package/dist/esm/notifications/events/adjustment/adjustment-created-event.js +10 -0
  201. package/dist/esm/notifications/events/adjustment/adjustment-updated-event.js +10 -0
  202. package/dist/esm/notifications/events/business/business-created-event.js +10 -0
  203. package/dist/esm/notifications/events/business/business-imported-event.js +10 -0
  204. package/dist/esm/notifications/events/business/business-updated-event.js +10 -0
  205. package/dist/esm/notifications/events/customer/customer-created-event.js +10 -0
  206. package/dist/esm/notifications/events/customer/customer-imported-event.js +10 -0
  207. package/dist/esm/notifications/events/customer/customer-updated-event.js +10 -0
  208. package/dist/esm/notifications/events/discount/discount-created-event.js +10 -0
  209. package/dist/esm/notifications/events/discount/discount-imported-event.js +10 -0
  210. package/dist/esm/notifications/events/discount/discount-updated-event.js +10 -0
  211. package/dist/esm/notifications/events/payout/payout-created-event.js +10 -0
  212. package/dist/esm/notifications/events/payout/payout-paid-event.js +10 -0
  213. package/dist/esm/notifications/events/price/price-created-event.js +10 -0
  214. package/dist/esm/notifications/events/price/price-imported-event.js +10 -0
  215. package/dist/esm/notifications/events/price/price-updated-event.js +10 -0
  216. package/dist/esm/notifications/events/product/product-created-event.js +10 -0
  217. package/dist/esm/notifications/events/product/product-imported-event.js +10 -0
  218. package/dist/esm/notifications/events/product/product-updated-event.js +10 -0
  219. package/dist/esm/notifications/events/report/report-created-event.js +10 -0
  220. package/dist/esm/notifications/events/report/report-updated-event.js +10 -0
  221. package/dist/esm/notifications/events/subscription/subscription-activated-event.js +10 -0
  222. package/dist/esm/notifications/events/subscription/subscription-canceled-event.js +10 -0
  223. package/dist/esm/notifications/events/subscription/subscription-created-event.js +10 -0
  224. package/dist/esm/notifications/events/subscription/subscription-imported-event.js +10 -0
  225. package/dist/esm/notifications/events/subscription/subscription-past-due-event.js +10 -0
  226. package/dist/esm/notifications/events/subscription/subscription-paused-event.js +10 -0
  227. package/dist/esm/notifications/events/subscription/subscription-resumed-event.js +10 -0
  228. package/dist/esm/notifications/events/subscription/subscription-trialing-event.js +10 -0
  229. package/dist/esm/notifications/events/subscription/subscription-updated-event.js +10 -0
  230. package/dist/esm/notifications/events/transaction/transaction-billed-event.js +10 -0
  231. package/dist/esm/notifications/events/transaction/transaction-canceled-event.js +10 -0
  232. package/dist/esm/notifications/events/transaction/transaction-completed-event.js +10 -0
  233. package/dist/esm/notifications/events/transaction/transaction-created-event.js +10 -0
  234. package/dist/esm/notifications/events/transaction/transaction-paid-event.js +10 -0
  235. package/dist/esm/notifications/events/transaction/transaction-past-due-event.js +10 -0
  236. package/dist/esm/notifications/events/transaction/transaction-payment-failed-event.js +10 -0
  237. package/dist/esm/notifications/events/transaction/transaction-ready-event.js +10 -0
  238. package/dist/esm/notifications/events/transaction/transaction-updated-event.js +10 -0
  239. package/dist/esm/notifications/helpers/types.js +45 -0
  240. package/dist/esm/notifications/helpers/webhooks-validator.js +37 -0
  241. package/dist/esm/notifications/helpers/webhooks.js +110 -0
  242. package/dist/esm/notifications/types/address/address-notification-response.js +1 -0
  243. package/dist/esm/notifications/types/adjustment/adjustment-item-notification-response.js +1 -0
  244. package/dist/esm/notifications/types/adjustment/adjustment-notification-response.js +1 -0
  245. package/dist/esm/notifications/types/adjustment/adjustment-totals-breakdown-notification.js +1 -0
  246. package/dist/esm/notifications/types/adjustment/adjustment-totals-notification-response.js +1 -0
  247. package/dist/esm/notifications/types/adjustment/adjustments-proration-notification-response.js +1 -0
  248. package/dist/esm/notifications/types/adjustment/adjustments-time-period-notification-response.js +1 -0
  249. package/dist/esm/notifications/types/business/business-notification-response.js +1 -0
  250. package/dist/esm/notifications/types/business/businesses-contacts-notification.js +1 -0
  251. package/dist/esm/notifications/types/customer/customer-notification-response.js +1 -0
  252. package/dist/esm/notifications/types/discount/discount-notification-response.js +1 -0
  253. package/dist/esm/notifications/types/payout/payout-notification-response.js +1 -0
  254. package/dist/esm/notifications/types/price/price-notification-response.js +1 -0
  255. package/dist/esm/notifications/types/price/price-quantity-notification.js +1 -0
  256. package/dist/esm/notifications/types/product/product-notification-response.js +1 -0
  257. package/dist/esm/notifications/types/report/report-filters-notification-response.js +1 -0
  258. package/dist/esm/notifications/types/report/report-notification-response.js +1 -0
  259. package/dist/esm/notifications/types/shared/adjustment-original-amount-notification-response.js +1 -0
  260. package/dist/esm/notifications/types/shared/billing-details-notification-response.js +1 -0
  261. package/dist/esm/notifications/types/shared/chargeback-fee.js +1 -0
  262. package/dist/esm/notifications/types/shared/import-meta-notification-response.js +1 -0
  263. package/dist/esm/notifications/types/shared/money-notification-response.js +1 -0
  264. package/dist/esm/notifications/types/shared/payment-card-notification-response.js +1 -0
  265. package/dist/esm/notifications/types/shared/payment-method-details.js +1 -0
  266. package/dist/esm/notifications/types/shared/payout-totals-adjustment-notification-response.js +1 -0
  267. package/dist/esm/notifications/types/shared/shared-price-notification-response.js +1 -0
  268. package/dist/esm/notifications/types/shared/shared-product-notification-response.js +1 -0
  269. package/dist/esm/notifications/types/shared/tax-rates-used-notification-response.js +1 -0
  270. package/dist/esm/notifications/types/shared/time-period-notification.js +1 -0
  271. package/dist/esm/notifications/types/shared/total-adjustments-notification-response.js +1 -0
  272. package/dist/esm/notifications/types/shared/totals.js +1 -0
  273. package/dist/esm/notifications/types/shared/transaction-checkout-notification.js +1 -0
  274. package/dist/esm/notifications/types/shared/transaction-payment-attempt-notification-response.js +1 -0
  275. package/dist/esm/notifications/types/shared/transaction-payout-totals-adjusted-notification-response.js +1 -0
  276. package/dist/esm/notifications/types/shared/transaction-payout-totals-notification-response.js +1 -0
  277. package/dist/esm/notifications/types/shared/transaction-totals-adjusted-notification-response.js +1 -0
  278. package/dist/esm/notifications/types/shared/transaction-totals-notification-response.js +1 -0
  279. package/dist/esm/notifications/types/shared/unit-price-override-notification-response.js +1 -0
  280. package/dist/esm/notifications/types/shared/unit-totals.js +1 -0
  281. package/dist/esm/notifications/types/subscription/subscription-discount-notification-response.js +1 -0
  282. package/dist/esm/notifications/types/subscription/subscription-item-notification-response.js +1 -0
  283. package/dist/esm/notifications/types/subscription/subscription-notification-response.js +1 -0
  284. package/dist/esm/notifications/types/subscription/subscription-price-notification-response.js +1 -0
  285. package/dist/esm/notifications/types/subscription/subscription-scheduled-change-notification-response.js +1 -0
  286. package/dist/esm/notifications/types/subscription/subscription-time-period-notification-response.js +1 -0
  287. package/dist/esm/notifications/types/transaction/transaction-details-notification-response.js +1 -0
  288. package/dist/esm/notifications/types/transaction/transaction-item-notification-response.js +1 -0
  289. package/dist/esm/notifications/types/transaction/transaction-line-item-notification-response.js +1 -0
  290. package/dist/esm/notifications/types/transaction/transaction-notification-response.js +1 -0
  291. package/dist/esm/notifications/types/transaction/transaction-proration-notification-response.js +1 -0
  292. package/dist/esm/notifications/types/transaction/transactions-time-period-notification-response.js +1 -0
  293. package/dist/esm/paddle.js +29 -0
  294. package/dist/esm/resources/addresses/index.js +64 -0
  295. package/dist/esm/resources/addresses/operations/create-address-request-body.js +1 -0
  296. package/dist/esm/resources/addresses/operations/list-address-query-parameters.js +1 -0
  297. package/dist/esm/resources/addresses/operations/update-address-request-body.js +1 -0
  298. package/dist/esm/resources/adjustments/index.js +29 -0
  299. package/dist/esm/resources/adjustments/operations/create-adjustment-request-body.js +1 -0
  300. package/dist/esm/resources/adjustments/operations/list-adjustment-query-parameters.js +1 -0
  301. package/dist/esm/resources/businesses/index.js +64 -0
  302. package/dist/esm/resources/businesses/operations/create-business-request-body.js +1 -0
  303. package/dist/esm/resources/businesses/operations/list-business-query-parameters.js +1 -0
  304. package/dist/esm/resources/businesses/operations/update-business-request-body.js +1 -0
  305. package/dist/esm/resources/customers/index.js +68 -0
  306. package/dist/esm/resources/customers/operations/create-customer-request-body.js +1 -0
  307. package/dist/esm/resources/customers/operations/get-credit-balance-query-parameters.js +1 -0
  308. package/dist/esm/resources/customers/operations/list-customer-query-parameters.js +1 -0
  309. package/dist/esm/resources/customers/operations/update-customer-request-body.js +1 -0
  310. package/dist/esm/resources/discounts/index.js +56 -0
  311. package/dist/esm/resources/discounts/operations/create-discount-request-body.js +1 -0
  312. package/dist/esm/resources/discounts/operations/list-discount-query-parameters.js +1 -0
  313. package/dist/esm/resources/discounts/operations/update-discount-request-body.js +1 -0
  314. package/dist/esm/resources/event-types/index.js +23 -0
  315. package/dist/esm/resources/events/index.js +12 -0
  316. package/dist/esm/resources/events/operations/list-events-query-parameters.js +1 -0
  317. package/dist/esm/resources/notification-settings/index.js +66 -0
  318. package/dist/esm/resources/notification-settings/operations/create-notification-settings-request-body.js +1 -0
  319. package/dist/esm/resources/notification-settings/operations/update-notification-settings-request-body.js +1 -0
  320. package/dist/esm/resources/notifications/index.js +51 -0
  321. package/dist/esm/resources/notifications/operations/list-notification-log-query-parameters.js +1 -0
  322. package/dist/esm/resources/notifications/operations/list-notification-query-parameters.js +1 -0
  323. package/dist/esm/resources/prices/index.js +57 -0
  324. package/dist/esm/resources/prices/operations/create-price-request-body.js +1 -0
  325. package/dist/esm/resources/prices/operations/get-price-query-parameters.js +1 -0
  326. package/dist/esm/resources/prices/operations/list-price-query-parameters.js +1 -0
  327. package/dist/esm/resources/prices/operations/update-price-request-body.js +1 -0
  328. package/dist/esm/resources/pricing-preview/index.js +24 -0
  329. package/dist/esm/resources/pricing-preview/operations/pricing-preview-request-body.js +1 -0
  330. package/dist/esm/resources/products/index.js +57 -0
  331. package/dist/esm/resources/products/operations/create-product-request-body.js +1 -0
  332. package/dist/esm/resources/products/operations/get-product-query-parameters.js +1 -0
  333. package/dist/esm/resources/products/operations/list-product-query-parameters.js +1 -0
  334. package/dist/esm/resources/products/operations/update-product-request-body.js +1 -0
  335. package/dist/esm/resources/reports/index.js +51 -0
  336. package/dist/esm/resources/reports/operations/create-report-request-object.js +1 -0
  337. package/dist/esm/resources/reports/operations/list-report-query-parameters.js +1 -0
  338. package/dist/esm/resources/subscriptions/index.js +132 -0
  339. package/dist/esm/resources/subscriptions/operations/cancel-subscription-request-object.js +1 -0
  340. package/dist/esm/resources/subscriptions/operations/create-subscription-charge-request-object.js +1 -0
  341. package/dist/esm/resources/subscriptions/operations/get-subscription-query-parameters.js +1 -0
  342. package/dist/esm/resources/subscriptions/operations/list-subscription-query-parameters.js +1 -0
  343. package/dist/esm/resources/subscriptions/operations/pause-subscription-request-object.js +1 -0
  344. package/dist/esm/resources/subscriptions/operations/resume-subscription-request-object.js +1 -0
  345. package/dist/esm/resources/subscriptions/operations/update-subscription-request-body.js +1 -0
  346. package/dist/esm/resources/transactions/index.js +73 -0
  347. package/dist/esm/resources/transactions/operations/create-transaction-query-parameters.js +1 -0
  348. package/dist/esm/resources/transactions/operations/create-transaction-request-body.js +1 -0
  349. package/dist/esm/resources/transactions/operations/get-transaction-query-parameters.js +1 -0
  350. package/dist/esm/resources/transactions/operations/list-transaction-query-parameters.js +1 -0
  351. package/dist/esm/resources/transactions/operations/transaction-preview-request-body.js +1 -0
  352. package/dist/esm/resources/transactions/operations/update-transaction-query-parameters.js +1 -0
  353. package/dist/esm/resources/transactions/operations/update-transaction-request-body.js +1 -0
  354. package/dist/esm/types/address/address-response.js +1 -0
  355. package/dist/esm/types/adjustment/adjustment-item-response.js +1 -0
  356. package/dist/esm/types/adjustment/adjustment-response.js +1 -0
  357. package/dist/esm/types/adjustment/adjustments-proration-response.js +1 -0
  358. package/dist/esm/types/adjustment/adjustments-time-period-response.js +1 -0
  359. package/dist/esm/types/business/business-response.js +1 -0
  360. package/dist/esm/types/business/businesses-contacts.js +1 -0
  361. package/dist/esm/types/customer/credit-balance-response.js +1 -0
  362. package/dist/esm/types/customer/customer-balance.js +1 -0
  363. package/dist/esm/types/customer/customer-response.js +1 -0
  364. package/dist/esm/types/discount/discount-response.js +1 -0
  365. package/dist/esm/types/event-types/event-type-response.js +1 -0
  366. package/dist/esm/types/events/events-response.js +1 -0
  367. package/dist/esm/types/index.js +17 -0
  368. package/dist/esm/types/notification-settings/notification-settings-response.js +1 -0
  369. package/dist/esm/types/notifications/index.js +3 -0
  370. package/dist/esm/types/notifications/notification-log.js +1 -0
  371. package/dist/esm/types/notifications/notification.js +1 -0
  372. package/dist/esm/types/notifications/replay-notification.js +1 -0
  373. package/dist/esm/types/payout/payout-response.js +1 -0
  374. package/dist/esm/types/price/non-catalog-price-request.js +1 -0
  375. package/dist/esm/types/price/price-response.js +1 -0
  376. package/dist/esm/types/price/subscription-non-catalog-price-request.js +1 -0
  377. package/dist/esm/types/pricing-preview/pricing-preview-details-response.js +1 -0
  378. package/dist/esm/types/pricing-preview/pricing-preview-discounts-response.js +1 -0
  379. package/dist/esm/types/pricing-preview/pricing-preview-item-response.js +1 -0
  380. package/dist/esm/types/pricing-preview/pricing-preview-line-item-response.js +1 -0
  381. package/dist/esm/types/pricing-preview/pricing-preview-response.js +1 -0
  382. package/dist/esm/types/product/product-response.js +1 -0
  383. package/dist/esm/types/report/report-filters.js +1 -0
  384. package/dist/esm/types/report/report.js +1 -0
  385. package/dist/esm/types/report/reports-csv.js +1 -0
  386. package/dist/esm/types/shared/adjustment-item-totals.js +1 -0
  387. package/dist/esm/types/shared/adjustment-original-amount-response.js +1 -0
  388. package/dist/esm/types/shared/billing-details-create.js +1 -0
  389. package/dist/esm/types/shared/billing-details-response.js +1 -0
  390. package/dist/esm/types/shared/billing-details-update.js +1 -0
  391. package/dist/esm/types/shared/chargeback-fee.js +1 -0
  392. package/dist/esm/types/shared/custom-data.js +1 -0
  393. package/dist/esm/types/shared/import-meta-response.js +1 -0
  394. package/dist/esm/types/shared/money-response.js +1 -0
  395. package/dist/esm/types/shared/money.js +1 -0
  396. package/dist/esm/types/shared/payment-card-response.js +1 -0
  397. package/dist/esm/types/shared/payment-method-details.js +1 -0
  398. package/dist/esm/types/shared/payout-totals-adjustment-response.js +1 -0
  399. package/dist/esm/types/shared/price-quantity.js +1 -0
  400. package/dist/esm/types/shared/tax-rates-used-response.js +1 -0
  401. package/dist/esm/types/shared/time-period.js +1 -0
  402. package/dist/esm/types/shared/total-adjustments-response.js +1 -0
  403. package/dist/esm/types/shared/totals.js +1 -0
  404. package/dist/esm/types/shared/transaction-checkout.js +1 -0
  405. package/dist/esm/types/shared/transaction-details-preview-response.js +1 -0
  406. package/dist/esm/types/shared/transaction-line-item-preview-response.js +1 -0
  407. package/dist/esm/types/shared/transaction-payment-attempt-response.js +1 -0
  408. package/dist/esm/types/shared/transaction-payout-totals-adjusted-response.js +1 -0
  409. package/dist/esm/types/shared/transaction-payout-totals-response.js +1 -0
  410. package/dist/esm/types/shared/transaction-totals-adjusted-response.js +1 -0
  411. package/dist/esm/types/shared/transaction-totals-response.js +1 -0
  412. package/dist/esm/types/shared/unit-price-override-response.js +1 -0
  413. package/dist/esm/types/shared/unit-price-override.js +1 -0
  414. package/dist/esm/types/shared/unit-totals.js +1 -0
  415. package/dist/esm/types/subscription/next-transaction-response.js +1 -0
  416. package/dist/esm/types/subscription/subscription-discount-response.js +1 -0
  417. package/dist/esm/types/subscription/subscription-item-response.js +1 -0
  418. package/dist/esm/types/subscription/subscription-management-response.js +1 -0
  419. package/dist/esm/types/subscription/subscription-preview-response.js +1 -0
  420. package/dist/esm/types/subscription/subscription-preview-update-summary.js +1 -0
  421. package/dist/esm/types/subscription/subscription-response.js +1 -0
  422. package/dist/esm/types/subscription/subscription-result-response.js +1 -0
  423. package/dist/esm/types/subscription/subscription-scheduled-change-response.js +1 -0
  424. package/dist/esm/types/subscription/subscription-time-period-response.js +1 -0
  425. package/dist/esm/types/subscription/subscription-update-item.js +1 -0
  426. package/dist/esm/types/transaction/adjustment-totals-breakdown.js +1 -0
  427. package/dist/esm/types/transaction/adjustment-totals-response.js +1 -0
  428. package/dist/esm/types/transaction/transaction-adjustment-item-response.js +1 -0
  429. package/dist/esm/types/transaction/transaction-adjustment-response.js +1 -0
  430. package/dist/esm/types/transaction/transaction-details-response.js +1 -0
  431. package/dist/esm/types/transaction/transaction-invoice-pdf.js +1 -0
  432. package/dist/esm/types/transaction/transaction-item-response.js +1 -0
  433. package/dist/esm/types/transaction/transaction-item.js +1 -0
  434. package/dist/esm/types/transaction/transaction-line-item-response.js +1 -0
  435. package/dist/esm/types/transaction/transaction-preview-item.js +1 -0
  436. package/dist/esm/types/transaction/transaction-preview-response.js +1 -0
  437. package/dist/esm/types/transaction/transaction-proration-response.js +1 -0
  438. package/dist/esm/types/transaction/transaction-response.js +1 -0
  439. package/dist/esm/types/transaction/transactions-time-period-response.js +1 -0
  440. package/dist/esm/types/transaction/transactions-time-period.js +1 -0
  441. package/dist/esm/version.js +1 -0
  442. package/dist/types/entities/address/index.d.ts +2 -0
  443. package/dist/types/entities/adjustment/index.d.ts +6 -0
  444. package/dist/types/entities/business/index.d.ts +3 -0
  445. package/dist/types/entities/customer/index.d.ts +4 -0
  446. package/dist/types/entities/discount/index.d.ts +2 -0
  447. package/dist/types/entities/event-types/index.d.ts +1 -0
  448. package/dist/types/entities/events/index.d.ts +1 -0
  449. package/dist/types/entities/notification-settings/index.d.ts +1 -0
  450. package/dist/types/entities/notifications/index.d.ts +5 -0
  451. package/dist/types/entities/payout/index.d.ts +1 -0
  452. package/dist/types/entities/price/index.d.ts +3 -0
  453. package/dist/types/entities/pricing-preview/index.d.ts +4 -0
  454. package/dist/types/entities/product/index.d.ts +2 -0
  455. package/dist/types/entities/report/index.d.ts +4 -0
  456. package/dist/types/entities/shared/index.d.ts +20 -0
  457. package/dist/types/entities/subscription/index.d.ts +15 -0
  458. package/dist/types/entities/transaction/index.d.ts +16 -0
  459. package/dist/types/enums/adjustment/index.d.ts +4 -0
  460. package/dist/types/enums/discount/index.d.ts +2 -0
  461. package/dist/types/enums/index.d.ts +9 -0
  462. package/dist/types/enums/notification/index.d.ts +2 -0
  463. package/dist/types/enums/notification-settings/index.d.ts +1 -0
  464. package/dist/types/enums/payout/index.d.ts +1 -0
  465. package/dist/types/enums/report/index.d.ts +4 -0
  466. package/dist/types/enums/shared/index.d.ts +15 -0
  467. package/dist/types/enums/subscription/index.d.ts +6 -0
  468. package/dist/types/enums/transaction/index.d.ts +1 -0
  469. package/dist/types/index.d.ts +7 -16
  470. package/dist/types/internal/api/index.d.ts +2 -0
  471. package/dist/types/internal/base/index.d.ts +4 -0
  472. package/dist/types/notifications/entities/address/index.d.ts +1 -0
  473. package/dist/types/notifications/entities/adjustment/index.d.ts +5 -0
  474. package/dist/types/notifications/entities/business/index.d.ts +2 -0
  475. package/dist/types/notifications/entities/customer/index.d.ts +1 -0
  476. package/dist/types/notifications/entities/discount/index.d.ts +1 -0
  477. package/dist/types/notifications/entities/index.d.ts +12 -0
  478. package/dist/types/notifications/entities/payout/index.d.ts +1 -0
  479. package/dist/types/notifications/entities/price/index.d.ts +2 -0
  480. package/dist/types/notifications/entities/product/index.d.ts +1 -0
  481. package/dist/types/notifications/entities/report/index.d.ts +2 -0
  482. package/dist/types/notifications/entities/shared/index.d.ts +20 -0
  483. package/dist/types/notifications/entities/subscription/index.d.ts +6 -0
  484. package/dist/types/notifications/entities/transaction/index.d.ts +6 -0
  485. package/dist/types/notifications/events/address/index.d.ts +3 -0
  486. package/dist/types/notifications/events/adjustment/index.d.ts +2 -0
  487. package/dist/types/notifications/events/business/index.d.ts +3 -0
  488. package/dist/types/notifications/events/customer/index.d.ts +3 -0
  489. package/dist/types/notifications/events/discount/index.d.ts +3 -0
  490. package/dist/types/notifications/events/index.d.ts +11 -0
  491. package/dist/types/notifications/events/payout/index.d.ts +2 -0
  492. package/dist/types/notifications/events/price/index.d.ts +3 -0
  493. package/dist/types/notifications/events/product/index.d.ts +3 -0
  494. package/dist/types/notifications/events/report/index.d.ts +2 -0
  495. package/dist/types/notifications/events/subscription/index.d.ts +9 -0
  496. package/dist/types/notifications/events/transaction/index.d.ts +9 -0
  497. package/dist/types/notifications/helpers/index.d.ts +3 -0
  498. package/dist/types/notifications/index.d.ts +4 -3
  499. package/dist/types/notifications/types/address/index.d.ts +1 -0
  500. package/dist/types/notifications/types/adjustment/index.d.ts +6 -0
  501. package/dist/types/notifications/types/business/index.d.ts +2 -0
  502. package/dist/types/notifications/types/customer/index.d.ts +1 -0
  503. package/dist/types/notifications/types/discount/index.d.ts +1 -0
  504. package/dist/types/notifications/types/index.d.ts +12 -0
  505. package/dist/types/notifications/types/payout/index.d.ts +1 -0
  506. package/dist/types/notifications/types/price/index.d.ts +2 -0
  507. package/dist/types/notifications/types/price/price-notification-response.d.ts +22 -0
  508. package/dist/types/notifications/types/product/index.d.ts +1 -0
  509. package/dist/types/notifications/types/report/index.d.ts +2 -0
  510. package/dist/types/notifications/types/shared/index.d.ts +22 -0
  511. package/dist/types/notifications/types/subscription/index.d.ts +7 -0
  512. package/dist/types/notifications/types/transaction/index.d.ts +6 -0
  513. package/dist/types/resources/addresses/operations/index.d.ts +3 -0
  514. package/dist/types/resources/adjustments/operations/index.d.ts +2 -0
  515. package/dist/types/resources/businesses/operations/index.d.ts +3 -0
  516. package/dist/types/resources/customers/operations/index.d.ts +4 -0
  517. package/dist/types/resources/discounts/operations/index.d.ts +3 -0
  518. package/dist/types/resources/events/operations/index.d.ts +1 -0
  519. package/dist/types/resources/index.d.ts +14 -0
  520. package/dist/types/resources/notification-settings/operations/index.d.ts +2 -0
  521. package/dist/types/resources/notifications/operations/index.d.ts +2 -0
  522. package/dist/types/resources/prices/operations/index.d.ts +4 -0
  523. package/dist/types/resources/pricing-preview/operations/index.d.ts +1 -0
  524. package/dist/types/resources/products/operations/index.d.ts +4 -0
  525. package/dist/types/resources/reports/operations/index.d.ts +2 -0
  526. package/dist/types/resources/subscriptions/operations/index.d.ts +7 -0
  527. package/dist/types/resources/transactions/operations/index.d.ts +7 -0
  528. package/dist/types/types/address/index.d.ts +1 -0
  529. package/dist/types/types/adjustment/index.d.ts +4 -0
  530. package/dist/types/types/business/index.d.ts +2 -0
  531. package/dist/types/types/customer/index.d.ts +3 -0
  532. package/dist/types/types/discount/index.d.ts +1 -0
  533. package/dist/types/types/event-types/index.d.ts +1 -0
  534. package/dist/types/types/events/index.d.ts +1 -0
  535. package/dist/types/types/index.d.ts +17 -0
  536. package/dist/types/types/notification-settings/index.d.ts +1 -0
  537. package/dist/types/types/notifications/index.d.ts +3 -0
  538. package/dist/types/types/payout/index.d.ts +1 -0
  539. package/dist/types/types/price/index.d.ts +3 -0
  540. package/dist/types/types/price/price-response.d.ts +21 -0
  541. package/dist/types/types/pricing-preview/index.d.ts +5 -0
  542. package/dist/types/types/product/index.d.ts +1 -0
  543. package/dist/types/types/report/index.d.ts +3 -0
  544. package/dist/types/types/shared/index.d.ts +29 -0
  545. package/dist/types/types/subscription/index.d.ts +12 -0
  546. package/dist/types/types/transaction/index.d.ts +15 -0
  547. package/dist/types/version.d.ts +1 -0
  548. package/package.json +5 -4
  549. package/dist/entities/price/price.js +0 -26
  550. package/dist/index.d.ts +0 -8
  551. package/dist/internal/api/client.js +0 -100
  552. package/dist/notifications/entities/price/price-notification.js +0 -26
  553. package/dist/notifications/helpers/webhooks-validator.js +0 -41
  554. package/dist/notifications/types/price/price-notification-response.d.ts +0 -22
  555. package/dist/types/price/price-response.d.ts +0 -21
  556. package/dist/version.d.ts +0 -1
  557. package/dist/version.js +0 -4
  558. /package/dist/{entities → cjs/entities}/address/address-collection.js +0 -0
  559. /package/dist/{entities → cjs/entities}/address/address.js +0 -0
  560. /package/dist/{entities → cjs/entities}/address/index.js +0 -0
  561. /package/dist/{entities → cjs/entities}/adjustment/adjustment-collection.js +0 -0
  562. /package/dist/{entities → cjs/entities}/adjustment/adjustment-item-totals.js +0 -0
  563. /package/dist/{entities → cjs/entities}/adjustment/adjustment-item.js +0 -0
  564. /package/dist/{entities → cjs/entities}/adjustment/adjustment-proration.js +0 -0
  565. /package/dist/{entities → cjs/entities}/adjustment/adjustment-time-period.js +0 -0
  566. /package/dist/{entities → cjs/entities}/adjustment/adjustment.js +0 -0
  567. /package/dist/{entities → cjs/entities}/adjustment/index.js +0 -0
  568. /package/dist/{entities → cjs/entities}/business/business-collection.js +0 -0
  569. /package/dist/{entities → cjs/entities}/business/business.js +0 -0
  570. /package/dist/{entities → cjs/entities}/business/contacts.js +0 -0
  571. /package/dist/{entities → cjs/entities}/business/index.js +0 -0
  572. /package/dist/{entities → cjs/entities}/customer/credit-balance.js +0 -0
  573. /package/dist/{entities → cjs/entities}/customer/customer-balance.js +0 -0
  574. /package/dist/{entities → cjs/entities}/customer/customer-collection.js +0 -0
  575. /package/dist/{entities → cjs/entities}/customer/customer.js +0 -0
  576. /package/dist/{entities → cjs/entities}/customer/index.js +0 -0
  577. /package/dist/{entities → cjs/entities}/discount/discount-collection.js +0 -0
  578. /package/dist/{entities → cjs/entities}/discount/discount.js +0 -0
  579. /package/dist/{entities → cjs/entities}/discount/index.js +0 -0
  580. /package/dist/{entities → cjs/entities}/event-types/event-type.js +0 -0
  581. /package/dist/{entities → cjs/entities}/event-types/index.js +0 -0
  582. /package/dist/{entities → cjs/entities}/events/event-collection.js +0 -0
  583. /package/dist/{entities → cjs/entities}/events/event.js +0 -0
  584. /package/dist/{entities → cjs/entities}/events/index.js +0 -0
  585. /package/dist/{entities → cjs/entities}/index.js +0 -0
  586. /package/dist/{entities → cjs/entities}/notification-settings/index.js +0 -0
  587. /package/dist/{entities → cjs/entities}/notification-settings/notification-settings.js +0 -0
  588. /package/dist/{entities → cjs/entities}/notifications/index.js +0 -0
  589. /package/dist/{entities → cjs/entities}/notifications/notification-collection.js +0 -0
  590. /package/dist/{entities → cjs/entities}/notifications/notification-log-collection.js +0 -0
  591. /package/dist/{entities → cjs/entities}/notifications/notification-log.js +0 -0
  592. /package/dist/{entities → cjs/entities}/notifications/notification.js +0 -0
  593. /package/dist/{entities → cjs/entities}/notifications/replay-notification.js +0 -0
  594. /package/dist/{entities → cjs/entities}/payout/index.js +0 -0
  595. /package/dist/{entities → cjs/entities}/payout/payout.js +0 -0
  596. /package/dist/{entities → cjs/entities}/price/index.js +0 -0
  597. /package/dist/{entities → cjs/entities}/price/price-collection.js +0 -0
  598. /package/dist/{entities → cjs/entities}/price/price-quantity.js +0 -0
  599. /package/dist/{entities → cjs/entities}/pricing-preview/index.js +0 -0
  600. /package/dist/{entities → cjs/entities}/pricing-preview/pricing-preview-details.js +0 -0
  601. /package/dist/{entities → cjs/entities}/pricing-preview/pricing-preview-discounts.js +0 -0
  602. /package/dist/{entities → cjs/entities}/pricing-preview/pricing-preview-line-item.js +0 -0
  603. /package/dist/{entities → cjs/entities}/pricing-preview/pricing-preview.js +0 -0
  604. /package/dist/{entities → cjs/entities}/product/index.js +0 -0
  605. /package/dist/{entities → cjs/entities}/product/product-collection.js +0 -0
  606. /package/dist/{entities → cjs/entities}/product/product.js +0 -0
  607. /package/dist/{entities → cjs/entities}/report/index.js +0 -0
  608. /package/dist/{entities → cjs/entities}/report/report-collection.js +0 -0
  609. /package/dist/{entities → cjs/entities}/report/report-csv.js +0 -0
  610. /package/dist/{entities → cjs/entities}/report/report-filters.js +0 -0
  611. /package/dist/{entities → cjs/entities}/report/report.js +0 -0
  612. /package/dist/{entities → cjs/entities}/shared/adjustment-original-amount.js +0 -0
  613. /package/dist/{entities → cjs/entities}/shared/billing-details.js +0 -0
  614. /package/dist/{entities → cjs/entities}/shared/chargeback-fee.js +0 -0
  615. /package/dist/{entities → cjs/entities}/shared/import-meta.js +0 -0
  616. /package/dist/{entities → cjs/entities}/shared/index.js +0 -0
  617. /package/dist/{entities → cjs/entities}/shared/money.js +0 -0
  618. /package/dist/{entities → cjs/entities}/shared/payment-card.js +0 -0
  619. /package/dist/{entities → cjs/entities}/shared/payment-method-details.js +0 -0
  620. /package/dist/{entities → cjs/entities}/shared/payout-totals-adjustment.js +0 -0
  621. /package/dist/{entities → cjs/entities}/shared/tax-rates-used.js +0 -0
  622. /package/dist/{entities → cjs/entities}/shared/time-period.js +0 -0
  623. /package/dist/{entities → cjs/entities}/shared/total-adjustments.js +0 -0
  624. /package/dist/{entities → cjs/entities}/shared/totals.js +0 -0
  625. /package/dist/{entities → cjs/entities}/shared/transaction-checkout.js +0 -0
  626. /package/dist/{entities → cjs/entities}/shared/transaction-payment-attempt.js +0 -0
  627. /package/dist/{entities → cjs/entities}/shared/transaction-payout-totals-adjusted.js +0 -0
  628. /package/dist/{entities → cjs/entities}/shared/transaction-payout-totals.js +0 -0
  629. /package/dist/{entities → cjs/entities}/shared/transaction-totals-adjusted.js +0 -0
  630. /package/dist/{entities → cjs/entities}/shared/transaction-totals.js +0 -0
  631. /package/dist/{entities → cjs/entities}/shared/unit-price-override.js +0 -0
  632. /package/dist/{entities → cjs/entities}/shared/unit-totals.js +0 -0
  633. /package/dist/{entities → cjs/entities}/subscription/index.js +0 -0
  634. /package/dist/{entities → cjs/entities}/subscription/next-transaction-adjustment-item.js +0 -0
  635. /package/dist/{entities → cjs/entities}/subscription/next-transaction-adjustment-preview.js +0 -0
  636. /package/dist/{entities → cjs/entities}/subscription/next-transaction.js +0 -0
  637. /package/dist/{entities → cjs/entities}/subscription/subscription-collection.js +0 -0
  638. /package/dist/{entities → cjs/entities}/subscription/subscription-discount.js +0 -0
  639. /package/dist/{entities → cjs/entities}/subscription/subscription-item.js +0 -0
  640. /package/dist/{entities → cjs/entities}/subscription/subscription-management.js +0 -0
  641. /package/dist/{entities → cjs/entities}/subscription/subscription-preview-summary-result.js +0 -0
  642. /package/dist/{entities → cjs/entities}/subscription/subscription-preview-update-summary.js +0 -0
  643. /package/dist/{entities → cjs/entities}/subscription/subscription-preview.js +0 -0
  644. /package/dist/{entities → cjs/entities}/subscription/subscription-scheduled-change.js +0 -0
  645. /package/dist/{entities → cjs/entities}/subscription/subscription-time-period.js +0 -0
  646. /package/dist/{entities → cjs/entities}/subscription/subscription.js +0 -0
  647. /package/dist/{entities → cjs/entities}/subscription/transaction-details-preview.js +0 -0
  648. /package/dist/{entities → cjs/entities}/subscription/transaction-line-item-preview.js +0 -0
  649. /package/dist/{entities → cjs/entities}/transaction/address-preview.js +0 -0
  650. /package/dist/{entities → cjs/entities}/transaction/adjustment-totals-breakdown.js +0 -0
  651. /package/dist/{entities → cjs/entities}/transaction/adjustment-totals.js +0 -0
  652. /package/dist/{entities → cjs/entities}/transaction/index.js +0 -0
  653. /package/dist/{entities → cjs/entities}/transaction/proration.js +0 -0
  654. /package/dist/{entities → cjs/entities}/transaction/transaction-adjustment-item.js +0 -0
  655. /package/dist/{entities → cjs/entities}/transaction/transaction-adjustment.js +0 -0
  656. /package/dist/{entities → cjs/entities}/transaction/transaction-collection.js +0 -0
  657. /package/dist/{entities → cjs/entities}/transaction/transaction-details.js +0 -0
  658. /package/dist/{entities → cjs/entities}/transaction/transaction-invoice-pdf.js +0 -0
  659. /package/dist/{entities → cjs/entities}/transaction/transaction-item-preview.js +0 -0
  660. /package/dist/{entities → cjs/entities}/transaction/transaction-item.js +0 -0
  661. /package/dist/{entities → cjs/entities}/transaction/transaction-line-item.js +0 -0
  662. /package/dist/{entities → cjs/entities}/transaction/transaction-preview.js +0 -0
  663. /package/dist/{entities → cjs/entities}/transaction/transaction-proration.js +0 -0
  664. /package/dist/{entities → cjs/entities}/transaction/transaction.js +0 -0
  665. /package/dist/{entities → cjs/entities}/transaction/transactions-time-period.js +0 -0
  666. /package/dist/{enums → cjs/enums}/adjustment/adjustment-action.js +0 -0
  667. /package/dist/{enums → cjs/enums}/adjustment/adjustment-currency-code.js +0 -0
  668. /package/dist/{enums → cjs/enums}/adjustment/adjustment-status.js +0 -0
  669. /package/dist/{enums → cjs/enums}/adjustment/adjustment-type.js +0 -0
  670. /package/dist/{enums → cjs/enums}/adjustment/index.js +0 -0
  671. /package/dist/{enums → cjs/enums}/discount/discount-status.js +0 -0
  672. /package/dist/{enums → cjs/enums}/discount/discount-type.js +0 -0
  673. /package/dist/{enums → cjs/enums}/discount/index.js +0 -0
  674. /package/dist/{enums → cjs/enums}/index.js +0 -0
  675. /package/dist/{enums → cjs/enums}/notification/index.js +0 -0
  676. /package/dist/{enums → cjs/enums}/notification/notification-status.js +0 -0
  677. /package/dist/{enums → cjs/enums}/notification/origin.js +0 -0
  678. /package/dist/{enums → cjs/enums}/notification-settings/index.js +0 -0
  679. /package/dist/{enums → cjs/enums}/notification-settings/notification-settings-type.js +0 -0
  680. /package/dist/{enums → cjs/enums}/payout/index.js +0 -0
  681. /package/dist/{enums → cjs/enums}/payout/payout-status.js +0 -0
  682. /package/dist/{enums → cjs/enums}/report/index.js +0 -0
  683. /package/dist/{enums → cjs/enums}/report/report-filter-name.js +0 -0
  684. /package/dist/{enums → cjs/enums}/report/report-filter-operator.js +0 -0
  685. /package/dist/{enums → cjs/enums}/report/report-status.js +0 -0
  686. /package/dist/{enums → cjs/enums}/report/report-type.js +0 -0
  687. /package/dist/{enums → cjs/enums}/shared/available-payment-methods.js +0 -0
  688. /package/dist/{enums → cjs/enums}/shared/catalog-type.js +0 -0
  689. /package/dist/{enums → cjs/enums}/shared/collection-mode.js +0 -0
  690. /package/dist/{enums → cjs/enums}/shared/country-code.js +0 -0
  691. /package/dist/{enums → cjs/enums}/shared/currency-code.js +0 -0
  692. /package/dist/{enums → cjs/enums}/shared/error-code.js +0 -0
  693. /package/dist/{enums → cjs/enums}/shared/index.js +0 -0
  694. /package/dist/{enums → cjs/enums}/shared/interval.js +0 -0
  695. /package/dist/{enums → cjs/enums}/shared/payment-attempt-status.js +0 -0
  696. /package/dist/{enums → cjs/enums}/shared/payment-type.js +0 -0
  697. /package/dist/{enums → cjs/enums}/shared/payout-currency-code.js +0 -0
  698. /package/dist/{enums → cjs/enums}/shared/status.js +0 -0
  699. /package/dist/{enums → cjs/enums}/shared/tax-category.js +0 -0
  700. /package/dist/{enums → cjs/enums}/shared/tax-mode.js +0 -0
  701. /package/dist/{enums → cjs/enums}/shared/transaction-origin.js +0 -0
  702. /package/dist/{enums → cjs/enums}/shared/transaction-status.js +0 -0
  703. /package/dist/{enums → cjs/enums}/subscription/index.js +0 -0
  704. /package/dist/{enums → cjs/enums}/subscription/proration-billing-mode.js +0 -0
  705. /package/dist/{enums → cjs/enums}/subscription/scheduled-change-action.js +0 -0
  706. /package/dist/{enums → cjs/enums}/subscription/subscription-effective-from.js +0 -0
  707. /package/dist/{enums → cjs/enums}/subscription/subscription-item-status.js +0 -0
  708. /package/dist/{enums → cjs/enums}/subscription/subscription-on-payment-failure.js +0 -0
  709. /package/dist/{enums → cjs/enums}/subscription/subscription-status.js +0 -0
  710. /package/dist/{enums → cjs/enums}/transaction/index.js +0 -0
  711. /package/dist/{enums → cjs/enums}/transaction/payment-card-type.js +0 -0
  712. /package/dist/{index.js → cjs/index.js} +0 -0
  713. /package/dist/{internal → cjs/internal}/api/case-helpers.js +0 -0
  714. /package/dist/{internal → cjs/internal}/api/constants.js +0 -0
  715. /package/dist/{internal → cjs/internal}/api/environment.js +0 -0
  716. /package/dist/{internal → cjs/internal}/api/index.js +0 -0
  717. /package/dist/{internal → cjs/internal}/base/base-resource.js +0 -0
  718. /package/dist/{internal → cjs/internal}/base/collection.js +0 -0
  719. /package/dist/{internal → cjs/internal}/base/index.js +0 -0
  720. /package/dist/{internal → cjs/internal}/base/logger.js +0 -0
  721. /package/dist/{internal → cjs/internal}/base/path-parameters.js +0 -0
  722. /package/dist/{internal → cjs/internal}/base/query-parameters.js +0 -0
  723. /package/dist/{internal → cjs/internal}/errors/generic.js +0 -0
  724. /package/dist/{internal → cjs/internal}/index.js +0 -0
  725. /package/dist/{internal → cjs/internal}/types/config.js +0 -0
  726. /package/dist/{internal → cjs/internal}/types/response.js +0 -0
  727. /package/dist/{notifications → cjs/notifications}/entities/address/address-notification.js +0 -0
  728. /package/dist/{notifications → cjs/notifications}/entities/address/index.js +0 -0
  729. /package/dist/{notifications → cjs/notifications}/entities/adjustment/adjustment-item-notification.js +0 -0
  730. /package/dist/{notifications → cjs/notifications}/entities/adjustment/adjustment-item-totals-notification.js +0 -0
  731. /package/dist/{notifications → cjs/notifications}/entities/adjustment/adjustment-notification.js +0 -0
  732. /package/dist/{notifications → cjs/notifications}/entities/adjustment/adjustment-proration-notification.js +0 -0
  733. /package/dist/{notifications → cjs/notifications}/entities/adjustment/adjustment-time-period-notification.js +0 -0
  734. /package/dist/{notifications → cjs/notifications}/entities/adjustment/index.js +0 -0
  735. /package/dist/{notifications → cjs/notifications}/entities/business/business-notification.js +0 -0
  736. /package/dist/{notifications → cjs/notifications}/entities/business/contacts-notification.js +0 -0
  737. /package/dist/{notifications → cjs/notifications}/entities/business/index.js +0 -0
  738. /package/dist/{notifications → cjs/notifications}/entities/customer/customer-notification.js +0 -0
  739. /package/dist/{notifications → cjs/notifications}/entities/customer/index.js +0 -0
  740. /package/dist/{notifications → cjs/notifications}/entities/discount/discount-notification.js +0 -0
  741. /package/dist/{notifications → cjs/notifications}/entities/discount/index.js +0 -0
  742. /package/dist/{notifications → cjs/notifications}/entities/index.js +0 -0
  743. /package/dist/{notifications → cjs/notifications}/entities/payout/index.js +0 -0
  744. /package/dist/{notifications → cjs/notifications}/entities/payout/payout-notification.js +0 -0
  745. /package/dist/{notifications → cjs/notifications}/entities/price/index.js +0 -0
  746. /package/dist/{notifications → cjs/notifications}/entities/price/price-quantity-notification.js +0 -0
  747. /package/dist/{notifications → cjs/notifications}/entities/product/index.js +0 -0
  748. /package/dist/{notifications → cjs/notifications}/entities/product/product-notification.js +0 -0
  749. /package/dist/{notifications → cjs/notifications}/entities/report/index.js +0 -0
  750. /package/dist/{notifications → cjs/notifications}/entities/report/report-filters-notification.js +0 -0
  751. /package/dist/{notifications → cjs/notifications}/entities/report/report-notification.js +0 -0
  752. /package/dist/{notifications → cjs/notifications}/entities/shared/adjustment-original-amount-notification.js +0 -0
  753. /package/dist/{notifications → cjs/notifications}/entities/shared/billing-details-notification.js +0 -0
  754. /package/dist/{notifications → cjs/notifications}/entities/shared/chargeback-fee-notification.js +0 -0
  755. /package/dist/{notifications → cjs/notifications}/entities/shared/import-meta-notification.js +0 -0
  756. /package/dist/{notifications → cjs/notifications}/entities/shared/index.js +0 -0
  757. /package/dist/{notifications → cjs/notifications}/entities/shared/money-notification.js +0 -0
  758. /package/dist/{notifications → cjs/notifications}/entities/shared/payment-card-notification.js +0 -0
  759. /package/dist/{notifications → cjs/notifications}/entities/shared/payment-method-details-notification.js +0 -0
  760. /package/dist/{notifications → cjs/notifications}/entities/shared/payout-totals-adjustment-notification.js +0 -0
  761. /package/dist/{notifications → cjs/notifications}/entities/shared/tax-rates-used-notification.js +0 -0
  762. /package/dist/{notifications → cjs/notifications}/entities/shared/time-period-notification.js +0 -0
  763. /package/dist/{notifications → cjs/notifications}/entities/shared/total-adjustments-notification.js +0 -0
  764. /package/dist/{notifications → cjs/notifications}/entities/shared/totals-notification.js +0 -0
  765. /package/dist/{notifications → cjs/notifications}/entities/shared/transaction-checkout-notification.js +0 -0
  766. /package/dist/{notifications → cjs/notifications}/entities/shared/transaction-payment-attempt-notification.js +0 -0
  767. /package/dist/{notifications → cjs/notifications}/entities/shared/transaction-payout-totals-adjusted-notification.js +0 -0
  768. /package/dist/{notifications → cjs/notifications}/entities/shared/transaction-payout-totals-notification.js +0 -0
  769. /package/dist/{notifications → cjs/notifications}/entities/shared/transaction-totals-adjusted-notification.js +0 -0
  770. /package/dist/{notifications → cjs/notifications}/entities/shared/transaction-totals-notification.js +0 -0
  771. /package/dist/{notifications → cjs/notifications}/entities/shared/unit-price-override-notification.js +0 -0
  772. /package/dist/{notifications → cjs/notifications}/entities/shared/unit-totals-notification.js +0 -0
  773. /package/dist/{notifications → cjs/notifications}/entities/subscription/index.js +0 -0
  774. /package/dist/{notifications → cjs/notifications}/entities/subscription/subscription-discount-notification.js +0 -0
  775. /package/dist/{notifications → cjs/notifications}/entities/subscription/subscription-item-notification.js +0 -0
  776. /package/dist/{notifications → cjs/notifications}/entities/subscription/subscription-notification.js +0 -0
  777. /package/dist/{notifications → cjs/notifications}/entities/subscription/subscription-price-notification.js +0 -0
  778. /package/dist/{notifications → cjs/notifications}/entities/subscription/subscription-scheduled-change-notification.js +0 -0
  779. /package/dist/{notifications → cjs/notifications}/entities/subscription/subscription-time-period-notification.js +0 -0
  780. /package/dist/{notifications → cjs/notifications}/entities/transaction/index.js +0 -0
  781. /package/dist/{notifications → cjs/notifications}/entities/transaction/transaction-details-notification.js +0 -0
  782. /package/dist/{notifications → cjs/notifications}/entities/transaction/transaction-item-notification.js +0 -0
  783. /package/dist/{notifications → cjs/notifications}/entities/transaction/transaction-line-item-notification.js +0 -0
  784. /package/dist/{notifications → cjs/notifications}/entities/transaction/transaction-notification.js +0 -0
  785. /package/dist/{notifications → cjs/notifications}/entities/transaction/transaction-proration-notification.js +0 -0
  786. /package/dist/{notifications → cjs/notifications}/entities/transaction/transactions-time-period-notification.js +0 -0
  787. /package/dist/{notifications → cjs/notifications}/events/address/address-created-event.js +0 -0
  788. /package/dist/{notifications → cjs/notifications}/events/address/address-imported-event.js +0 -0
  789. /package/dist/{notifications → cjs/notifications}/events/address/address-updated-event.js +0 -0
  790. /package/dist/{notifications → cjs/notifications}/events/address/index.js +0 -0
  791. /package/dist/{notifications → cjs/notifications}/events/adjustment/adjustment-created-event.js +0 -0
  792. /package/dist/{notifications → cjs/notifications}/events/adjustment/adjustment-updated-event.js +0 -0
  793. /package/dist/{notifications → cjs/notifications}/events/adjustment/index.js +0 -0
  794. /package/dist/{notifications → cjs/notifications}/events/business/business-created-event.js +0 -0
  795. /package/dist/{notifications → cjs/notifications}/events/business/business-imported-event.js +0 -0
  796. /package/dist/{notifications → cjs/notifications}/events/business/business-updated-event.js +0 -0
  797. /package/dist/{notifications → cjs/notifications}/events/business/index.js +0 -0
  798. /package/dist/{notifications → cjs/notifications}/events/customer/customer-created-event.js +0 -0
  799. /package/dist/{notifications → cjs/notifications}/events/customer/customer-imported-event.js +0 -0
  800. /package/dist/{notifications → cjs/notifications}/events/customer/customer-updated-event.js +0 -0
  801. /package/dist/{notifications → cjs/notifications}/events/customer/index.js +0 -0
  802. /package/dist/{notifications → cjs/notifications}/events/discount/discount-created-event.js +0 -0
  803. /package/dist/{notifications → cjs/notifications}/events/discount/discount-imported-event.js +0 -0
  804. /package/dist/{notifications → cjs/notifications}/events/discount/discount-updated-event.js +0 -0
  805. /package/dist/{notifications → cjs/notifications}/events/discount/index.js +0 -0
  806. /package/dist/{notifications → cjs/notifications}/events/index.js +0 -0
  807. /package/dist/{notifications → cjs/notifications}/events/payout/index.js +0 -0
  808. /package/dist/{notifications → cjs/notifications}/events/payout/payout-created-event.js +0 -0
  809. /package/dist/{notifications → cjs/notifications}/events/payout/payout-paid-event.js +0 -0
  810. /package/dist/{notifications → cjs/notifications}/events/price/index.js +0 -0
  811. /package/dist/{notifications → cjs/notifications}/events/price/price-created-event.js +0 -0
  812. /package/dist/{notifications → cjs/notifications}/events/price/price-imported-event.js +0 -0
  813. /package/dist/{notifications → cjs/notifications}/events/price/price-updated-event.js +0 -0
  814. /package/dist/{notifications → cjs/notifications}/events/product/index.js +0 -0
  815. /package/dist/{notifications → cjs/notifications}/events/product/product-created-event.js +0 -0
  816. /package/dist/{notifications → cjs/notifications}/events/product/product-imported-event.js +0 -0
  817. /package/dist/{notifications → cjs/notifications}/events/product/product-updated-event.js +0 -0
  818. /package/dist/{notifications → cjs/notifications}/events/report/index.js +0 -0
  819. /package/dist/{notifications → cjs/notifications}/events/report/report-created-event.js +0 -0
  820. /package/dist/{notifications → cjs/notifications}/events/report/report-updated-event.js +0 -0
  821. /package/dist/{notifications → cjs/notifications}/events/subscription/index.js +0 -0
  822. /package/dist/{notifications → cjs/notifications}/events/subscription/subscription-activated-event.js +0 -0
  823. /package/dist/{notifications → cjs/notifications}/events/subscription/subscription-canceled-event.js +0 -0
  824. /package/dist/{notifications → cjs/notifications}/events/subscription/subscription-created-event.js +0 -0
  825. /package/dist/{notifications → cjs/notifications}/events/subscription/subscription-imported-event.js +0 -0
  826. /package/dist/{notifications → cjs/notifications}/events/subscription/subscription-past-due-event.js +0 -0
  827. /package/dist/{notifications → cjs/notifications}/events/subscription/subscription-paused-event.js +0 -0
  828. /package/dist/{notifications → cjs/notifications}/events/subscription/subscription-resumed-event.js +0 -0
  829. /package/dist/{notifications → cjs/notifications}/events/subscription/subscription-trialing-event.js +0 -0
  830. /package/dist/{notifications → cjs/notifications}/events/subscription/subscription-updated-event.js +0 -0
  831. /package/dist/{notifications → cjs/notifications}/events/transaction/index.js +0 -0
  832. /package/dist/{notifications → cjs/notifications}/events/transaction/transaction-billed-event.js +0 -0
  833. /package/dist/{notifications → cjs/notifications}/events/transaction/transaction-canceled-event.js +0 -0
  834. /package/dist/{notifications → cjs/notifications}/events/transaction/transaction-completed-event.js +0 -0
  835. /package/dist/{notifications → cjs/notifications}/events/transaction/transaction-created-event.js +0 -0
  836. /package/dist/{notifications → cjs/notifications}/events/transaction/transaction-paid-event.js +0 -0
  837. /package/dist/{notifications → cjs/notifications}/events/transaction/transaction-past-due-event.js +0 -0
  838. /package/dist/{notifications → cjs/notifications}/events/transaction/transaction-payment-failed-event.js +0 -0
  839. /package/dist/{notifications → cjs/notifications}/events/transaction/transaction-ready-event.js +0 -0
  840. /package/dist/{notifications → cjs/notifications}/events/transaction/transaction-updated-event.js +0 -0
  841. /package/dist/{notifications → cjs/notifications}/helpers/index.js +0 -0
  842. /package/dist/{notifications → cjs/notifications}/helpers/types.js +0 -0
  843. /package/dist/{notifications → cjs/notifications}/helpers/webhooks.js +0 -0
  844. /package/dist/{notifications → cjs/notifications}/index.js +0 -0
  845. /package/dist/{notifications → cjs/notifications}/types/address/address-notification-response.js +0 -0
  846. /package/dist/{notifications → cjs/notifications}/types/address/index.js +0 -0
  847. /package/dist/{notifications → cjs/notifications}/types/adjustment/adjustment-item-notification-response.js +0 -0
  848. /package/dist/{notifications → cjs/notifications}/types/adjustment/adjustment-notification-response.js +0 -0
  849. /package/dist/{notifications → cjs/notifications}/types/adjustment/adjustment-totals-breakdown-notification.js +0 -0
  850. /package/dist/{notifications → cjs/notifications}/types/adjustment/adjustment-totals-notification-response.js +0 -0
  851. /package/dist/{notifications → cjs/notifications}/types/adjustment/adjustments-proration-notification-response.js +0 -0
  852. /package/dist/{notifications → cjs/notifications}/types/adjustment/adjustments-time-period-notification-response.js +0 -0
  853. /package/dist/{notifications → cjs/notifications}/types/adjustment/index.js +0 -0
  854. /package/dist/{notifications → cjs/notifications}/types/business/business-notification-response.js +0 -0
  855. /package/dist/{notifications → cjs/notifications}/types/business/businesses-contacts-notification.js +0 -0
  856. /package/dist/{notifications → cjs/notifications}/types/business/index.js +0 -0
  857. /package/dist/{notifications → cjs/notifications}/types/customer/customer-notification-response.js +0 -0
  858. /package/dist/{notifications → cjs/notifications}/types/customer/index.js +0 -0
  859. /package/dist/{notifications → cjs/notifications}/types/discount/discount-notification-response.js +0 -0
  860. /package/dist/{notifications → cjs/notifications}/types/discount/index.js +0 -0
  861. /package/dist/{notifications → cjs/notifications}/types/index.js +0 -0
  862. /package/dist/{notifications → cjs/notifications}/types/payout/index.js +0 -0
  863. /package/dist/{notifications → cjs/notifications}/types/payout/payout-notification-response.js +0 -0
  864. /package/dist/{notifications → cjs/notifications}/types/price/index.js +0 -0
  865. /package/dist/{notifications → cjs/notifications}/types/price/price-notification-response.js +0 -0
  866. /package/dist/{notifications → cjs/notifications}/types/price/price-quantity-notification.js +0 -0
  867. /package/dist/{notifications → cjs/notifications}/types/product/index.js +0 -0
  868. /package/dist/{notifications → cjs/notifications}/types/product/product-notification-response.js +0 -0
  869. /package/dist/{notifications → cjs/notifications}/types/report/index.js +0 -0
  870. /package/dist/{notifications → cjs/notifications}/types/report/report-filters-notification-response.js +0 -0
  871. /package/dist/{notifications → cjs/notifications}/types/report/report-notification-response.js +0 -0
  872. /package/dist/{notifications → cjs/notifications}/types/shared/adjustment-original-amount-notification-response.js +0 -0
  873. /package/dist/{notifications → cjs/notifications}/types/shared/billing-details-notification-response.js +0 -0
  874. /package/dist/{notifications → cjs/notifications}/types/shared/chargeback-fee.js +0 -0
  875. /package/dist/{notifications → cjs/notifications}/types/shared/import-meta-notification-response.js +0 -0
  876. /package/dist/{notifications → cjs/notifications}/types/shared/index.js +0 -0
  877. /package/dist/{notifications → cjs/notifications}/types/shared/money-notification-response.js +0 -0
  878. /package/dist/{notifications → cjs/notifications}/types/shared/payment-card-notification-response.js +0 -0
  879. /package/dist/{notifications → cjs/notifications}/types/shared/payment-method-details.js +0 -0
  880. /package/dist/{notifications → cjs/notifications}/types/shared/payout-totals-adjustment-notification-response.js +0 -0
  881. /package/dist/{notifications → cjs/notifications}/types/shared/shared-price-notification-response.js +0 -0
  882. /package/dist/{notifications → cjs/notifications}/types/shared/shared-product-notification-response.js +0 -0
  883. /package/dist/{notifications → cjs/notifications}/types/shared/tax-rates-used-notification-response.js +0 -0
  884. /package/dist/{notifications → cjs/notifications}/types/shared/time-period-notification.js +0 -0
  885. /package/dist/{notifications → cjs/notifications}/types/shared/total-adjustments-notification-response.js +0 -0
  886. /package/dist/{notifications → cjs/notifications}/types/shared/totals.js +0 -0
  887. /package/dist/{notifications → cjs/notifications}/types/shared/transaction-checkout-notification.js +0 -0
  888. /package/dist/{notifications → cjs/notifications}/types/shared/transaction-payment-attempt-notification-response.js +0 -0
  889. /package/dist/{notifications → cjs/notifications}/types/shared/transaction-payout-totals-adjusted-notification-response.js +0 -0
  890. /package/dist/{notifications → cjs/notifications}/types/shared/transaction-payout-totals-notification-response.js +0 -0
  891. /package/dist/{notifications → cjs/notifications}/types/shared/transaction-totals-adjusted-notification-response.js +0 -0
  892. /package/dist/{notifications → cjs/notifications}/types/shared/transaction-totals-notification-response.js +0 -0
  893. /package/dist/{notifications → cjs/notifications}/types/shared/unit-price-override-notification-response.js +0 -0
  894. /package/dist/{notifications → cjs/notifications}/types/shared/unit-totals.js +0 -0
  895. /package/dist/{notifications → cjs/notifications}/types/subscription/index.js +0 -0
  896. /package/dist/{notifications → cjs/notifications}/types/subscription/subscription-discount-notification-response.js +0 -0
  897. /package/dist/{notifications → cjs/notifications}/types/subscription/subscription-item-notification-response.js +0 -0
  898. /package/dist/{notifications → cjs/notifications}/types/subscription/subscription-notification-response.js +0 -0
  899. /package/dist/{notifications → cjs/notifications}/types/subscription/subscription-price-notification-response.js +0 -0
  900. /package/dist/{notifications → cjs/notifications}/types/subscription/subscription-scheduled-change-notification-response.js +0 -0
  901. /package/dist/{notifications → cjs/notifications}/types/subscription/subscription-time-period-notification-response.js +0 -0
  902. /package/dist/{notifications → cjs/notifications}/types/transaction/index.js +0 -0
  903. /package/dist/{notifications → cjs/notifications}/types/transaction/transaction-details-notification-response.js +0 -0
  904. /package/dist/{notifications → cjs/notifications}/types/transaction/transaction-item-notification-response.js +0 -0
  905. /package/dist/{notifications → cjs/notifications}/types/transaction/transaction-line-item-notification-response.js +0 -0
  906. /package/dist/{notifications → cjs/notifications}/types/transaction/transaction-notification-response.js +0 -0
  907. /package/dist/{notifications → cjs/notifications}/types/transaction/transaction-proration-notification-response.js +0 -0
  908. /package/dist/{notifications → cjs/notifications}/types/transaction/transactions-time-period-notification-response.js +0 -0
  909. /package/dist/{paddle.js → cjs/paddle.js} +0 -0
  910. /package/dist/{resources → cjs/resources}/addresses/index.js +0 -0
  911. /package/dist/{resources → cjs/resources}/addresses/operations/create-address-request-body.js +0 -0
  912. /package/dist/{resources → cjs/resources}/addresses/operations/index.js +0 -0
  913. /package/dist/{resources → cjs/resources}/addresses/operations/list-address-query-parameters.js +0 -0
  914. /package/dist/{resources → cjs/resources}/addresses/operations/update-address-request-body.js +0 -0
  915. /package/dist/{resources → cjs/resources}/adjustments/index.js +0 -0
  916. /package/dist/{resources → cjs/resources}/adjustments/operations/create-adjustment-request-body.js +0 -0
  917. /package/dist/{resources → cjs/resources}/adjustments/operations/index.js +0 -0
  918. /package/dist/{resources → cjs/resources}/adjustments/operations/list-adjustment-query-parameters.js +0 -0
  919. /package/dist/{resources → cjs/resources}/businesses/index.js +0 -0
  920. /package/dist/{resources → cjs/resources}/businesses/operations/create-business-request-body.js +0 -0
  921. /package/dist/{resources → cjs/resources}/businesses/operations/index.js +0 -0
  922. /package/dist/{resources → cjs/resources}/businesses/operations/list-business-query-parameters.js +0 -0
  923. /package/dist/{resources → cjs/resources}/businesses/operations/update-business-request-body.js +0 -0
  924. /package/dist/{resources → cjs/resources}/customers/index.js +0 -0
  925. /package/dist/{resources → cjs/resources}/customers/operations/create-customer-request-body.js +0 -0
  926. /package/dist/{resources → cjs/resources}/customers/operations/get-credit-balance-query-parameters.js +0 -0
  927. /package/dist/{resources → cjs/resources}/customers/operations/index.js +0 -0
  928. /package/dist/{resources → cjs/resources}/customers/operations/list-customer-query-parameters.js +0 -0
  929. /package/dist/{resources → cjs/resources}/customers/operations/update-customer-request-body.js +0 -0
  930. /package/dist/{resources → cjs/resources}/discounts/index.js +0 -0
  931. /package/dist/{resources → cjs/resources}/discounts/operations/create-discount-request-body.js +0 -0
  932. /package/dist/{resources → cjs/resources}/discounts/operations/index.js +0 -0
  933. /package/dist/{resources → cjs/resources}/discounts/operations/list-discount-query-parameters.js +0 -0
  934. /package/dist/{resources → cjs/resources}/discounts/operations/update-discount-request-body.js +0 -0
  935. /package/dist/{resources → cjs/resources}/event-types/index.js +0 -0
  936. /package/dist/{resources → cjs/resources}/events/index.js +0 -0
  937. /package/dist/{resources → cjs/resources}/events/operations/index.js +0 -0
  938. /package/dist/{resources → cjs/resources}/events/operations/list-events-query-parameters.js +0 -0
  939. /package/dist/{resources → cjs/resources}/index.js +0 -0
  940. /package/dist/{resources → cjs/resources}/notification-settings/index.js +0 -0
  941. /package/dist/{resources → cjs/resources}/notification-settings/operations/create-notification-settings-request-body.js +0 -0
  942. /package/dist/{resources → cjs/resources}/notification-settings/operations/index.js +0 -0
  943. /package/dist/{resources → cjs/resources}/notification-settings/operations/update-notification-settings-request-body.js +0 -0
  944. /package/dist/{resources → cjs/resources}/notifications/index.js +0 -0
  945. /package/dist/{resources → cjs/resources}/notifications/operations/index.js +0 -0
  946. /package/dist/{resources → cjs/resources}/notifications/operations/list-notification-log-query-parameters.js +0 -0
  947. /package/dist/{resources → cjs/resources}/notifications/operations/list-notification-query-parameters.js +0 -0
  948. /package/dist/{resources → cjs/resources}/prices/index.js +0 -0
  949. /package/dist/{resources → cjs/resources}/prices/operations/create-price-request-body.js +0 -0
  950. /package/dist/{resources → cjs/resources}/prices/operations/get-price-query-parameters.js +0 -0
  951. /package/dist/{resources → cjs/resources}/prices/operations/index.js +0 -0
  952. /package/dist/{resources → cjs/resources}/prices/operations/list-price-query-parameters.js +0 -0
  953. /package/dist/{resources → cjs/resources}/prices/operations/update-price-request-body.js +0 -0
  954. /package/dist/{resources → cjs/resources}/pricing-preview/index.js +0 -0
  955. /package/dist/{resources → cjs/resources}/pricing-preview/operations/index.js +0 -0
  956. /package/dist/{resources → cjs/resources}/pricing-preview/operations/pricing-preview-request-body.js +0 -0
  957. /package/dist/{resources → cjs/resources}/products/index.js +0 -0
  958. /package/dist/{resources → cjs/resources}/products/operations/create-product-request-body.js +0 -0
  959. /package/dist/{resources → cjs/resources}/products/operations/get-product-query-parameters.js +0 -0
  960. /package/dist/{resources → cjs/resources}/products/operations/index.js +0 -0
  961. /package/dist/{resources → cjs/resources}/products/operations/list-product-query-parameters.js +0 -0
  962. /package/dist/{resources → cjs/resources}/products/operations/update-product-request-body.js +0 -0
  963. /package/dist/{resources → cjs/resources}/reports/index.js +0 -0
  964. /package/dist/{resources → cjs/resources}/reports/operations/create-report-request-object.js +0 -0
  965. /package/dist/{resources → cjs/resources}/reports/operations/index.js +0 -0
  966. /package/dist/{resources → cjs/resources}/reports/operations/list-report-query-parameters.js +0 -0
  967. /package/dist/{resources → cjs/resources}/subscriptions/index.js +0 -0
  968. /package/dist/{resources → cjs/resources}/subscriptions/operations/cancel-subscription-request-object.js +0 -0
  969. /package/dist/{resources → cjs/resources}/subscriptions/operations/create-subscription-charge-request-object.js +0 -0
  970. /package/dist/{resources → cjs/resources}/subscriptions/operations/get-subscription-query-parameters.js +0 -0
  971. /package/dist/{resources → cjs/resources}/subscriptions/operations/index.js +0 -0
  972. /package/dist/{resources → cjs/resources}/subscriptions/operations/list-subscription-query-parameters.js +0 -0
  973. /package/dist/{resources → cjs/resources}/subscriptions/operations/pause-subscription-request-object.js +0 -0
  974. /package/dist/{resources → cjs/resources}/subscriptions/operations/resume-subscription-request-object.js +0 -0
  975. /package/dist/{resources → cjs/resources}/subscriptions/operations/update-subscription-request-body.js +0 -0
  976. /package/dist/{resources → cjs/resources}/transactions/index.js +0 -0
  977. /package/dist/{resources → cjs/resources}/transactions/operations/create-transaction-query-parameters.js +0 -0
  978. /package/dist/{resources → cjs/resources}/transactions/operations/create-transaction-request-body.js +0 -0
  979. /package/dist/{resources → cjs/resources}/transactions/operations/get-transaction-query-parameters.js +0 -0
  980. /package/dist/{resources → cjs/resources}/transactions/operations/index.js +0 -0
  981. /package/dist/{resources → cjs/resources}/transactions/operations/list-transaction-query-parameters.js +0 -0
  982. /package/dist/{resources → cjs/resources}/transactions/operations/transaction-preview-request-body.js +0 -0
  983. /package/dist/{resources → cjs/resources}/transactions/operations/update-transaction-query-parameters.js +0 -0
  984. /package/dist/{resources → cjs/resources}/transactions/operations/update-transaction-request-body.js +0 -0
  985. /package/dist/{types → cjs/types}/address/address-response.js +0 -0
  986. /package/dist/{types → cjs/types}/address/index.js +0 -0
  987. /package/dist/{types → cjs/types}/adjustment/adjustment-item-response.js +0 -0
  988. /package/dist/{types → cjs/types}/adjustment/adjustment-response.js +0 -0
  989. /package/dist/{types → cjs/types}/adjustment/adjustments-proration-response.js +0 -0
  990. /package/dist/{types → cjs/types}/adjustment/adjustments-time-period-response.js +0 -0
  991. /package/dist/{types → cjs/types}/adjustment/index.js +0 -0
  992. /package/dist/{types → cjs/types}/business/business-response.js +0 -0
  993. /package/dist/{types → cjs/types}/business/businesses-contacts.js +0 -0
  994. /package/dist/{types → cjs/types}/business/index.js +0 -0
  995. /package/dist/{types → cjs/types}/customer/credit-balance-response.js +0 -0
  996. /package/dist/{types → cjs/types}/customer/customer-balance.js +0 -0
  997. /package/dist/{types → cjs/types}/customer/customer-response.js +0 -0
  998. /package/dist/{types → cjs/types}/customer/index.js +0 -0
  999. /package/dist/{types → cjs/types}/discount/discount-response.js +0 -0
  1000. /package/dist/{types → cjs/types}/discount/index.js +0 -0
  1001. /package/dist/{types → cjs/types}/event-types/event-type-response.js +0 -0
  1002. /package/dist/{types → cjs/types}/event-types/index.js +0 -0
  1003. /package/dist/{types → cjs/types}/events/events-response.js +0 -0
  1004. /package/dist/{types → cjs/types}/events/index.js +0 -0
  1005. /package/dist/{types → cjs/types}/index.js +0 -0
  1006. /package/dist/{types → cjs/types}/notification-settings/index.js +0 -0
  1007. /package/dist/{types → cjs/types}/notification-settings/notification-settings-response.js +0 -0
  1008. /package/dist/{types → cjs/types}/notifications/index.js +0 -0
  1009. /package/dist/{types → cjs/types}/notifications/notification-log.js +0 -0
  1010. /package/dist/{types → cjs/types}/notifications/notification.js +0 -0
  1011. /package/dist/{types → cjs/types}/notifications/replay-notification.js +0 -0
  1012. /package/dist/{types → cjs/types}/payout/index.js +0 -0
  1013. /package/dist/{types → cjs/types}/payout/payout-response.js +0 -0
  1014. /package/dist/{types → cjs/types}/price/index.js +0 -0
  1015. /package/dist/{types → cjs/types}/price/non-catalog-price-request.js +0 -0
  1016. /package/dist/{types → cjs/types}/price/price-response.js +0 -0
  1017. /package/dist/{types → cjs/types}/price/subscription-non-catalog-price-request.js +0 -0
  1018. /package/dist/{types → cjs/types}/pricing-preview/index.js +0 -0
  1019. /package/dist/{types → cjs/types}/pricing-preview/pricing-preview-details-response.js +0 -0
  1020. /package/dist/{types → cjs/types}/pricing-preview/pricing-preview-discounts-response.js +0 -0
  1021. /package/dist/{types → cjs/types}/pricing-preview/pricing-preview-item-response.js +0 -0
  1022. /package/dist/{types → cjs/types}/pricing-preview/pricing-preview-line-item-response.js +0 -0
  1023. /package/dist/{types → cjs/types}/pricing-preview/pricing-preview-response.js +0 -0
  1024. /package/dist/{types → cjs/types}/product/index.js +0 -0
  1025. /package/dist/{types → cjs/types}/product/product-response.js +0 -0
  1026. /package/dist/{types → cjs/types}/report/index.js +0 -0
  1027. /package/dist/{types → cjs/types}/report/report-filters.js +0 -0
  1028. /package/dist/{types → cjs/types}/report/report.js +0 -0
  1029. /package/dist/{types → cjs/types}/report/reports-csv.js +0 -0
  1030. /package/dist/{types → cjs/types}/shared/adjustment-item-totals.js +0 -0
  1031. /package/dist/{types → cjs/types}/shared/adjustment-original-amount-response.js +0 -0
  1032. /package/dist/{types → cjs/types}/shared/billing-details-create.js +0 -0
  1033. /package/dist/{types → cjs/types}/shared/billing-details-response.js +0 -0
  1034. /package/dist/{types → cjs/types}/shared/billing-details-update.js +0 -0
  1035. /package/dist/{types → cjs/types}/shared/chargeback-fee.js +0 -0
  1036. /package/dist/{types → cjs/types}/shared/custom-data.js +0 -0
  1037. /package/dist/{types → cjs/types}/shared/import-meta-response.js +0 -0
  1038. /package/dist/{types → cjs/types}/shared/index.js +0 -0
  1039. /package/dist/{types → cjs/types}/shared/money-response.js +0 -0
  1040. /package/dist/{types → cjs/types}/shared/money.js +0 -0
  1041. /package/dist/{types → cjs/types}/shared/payment-card-response.js +0 -0
  1042. /package/dist/{types → cjs/types}/shared/payment-method-details.js +0 -0
  1043. /package/dist/{types → cjs/types}/shared/payout-totals-adjustment-response.js +0 -0
  1044. /package/dist/{types → cjs/types}/shared/price-quantity.js +0 -0
  1045. /package/dist/{types → cjs/types}/shared/tax-rates-used-response.js +0 -0
  1046. /package/dist/{types → cjs/types}/shared/time-period.js +0 -0
  1047. /package/dist/{types → cjs/types}/shared/total-adjustments-response.js +0 -0
  1048. /package/dist/{types → cjs/types}/shared/totals.js +0 -0
  1049. /package/dist/{types → cjs/types}/shared/transaction-checkout.js +0 -0
  1050. /package/dist/{types → cjs/types}/shared/transaction-details-preview-response.js +0 -0
  1051. /package/dist/{types → cjs/types}/shared/transaction-line-item-preview-response.js +0 -0
  1052. /package/dist/{types → cjs/types}/shared/transaction-payment-attempt-response.js +0 -0
  1053. /package/dist/{types → cjs/types}/shared/transaction-payout-totals-adjusted-response.js +0 -0
  1054. /package/dist/{types → cjs/types}/shared/transaction-payout-totals-response.js +0 -0
  1055. /package/dist/{types → cjs/types}/shared/transaction-totals-adjusted-response.js +0 -0
  1056. /package/dist/{types → cjs/types}/shared/transaction-totals-response.js +0 -0
  1057. /package/dist/{types → cjs/types}/shared/unit-price-override-response.js +0 -0
  1058. /package/dist/{types → cjs/types}/shared/unit-price-override.js +0 -0
  1059. /package/dist/{types → cjs/types}/shared/unit-totals.js +0 -0
  1060. /package/dist/{types → cjs/types}/subscription/index.js +0 -0
  1061. /package/dist/{types → cjs/types}/subscription/next-transaction-response.js +0 -0
  1062. /package/dist/{types → cjs/types}/subscription/subscription-discount-response.js +0 -0
  1063. /package/dist/{types → cjs/types}/subscription/subscription-item-response.js +0 -0
  1064. /package/dist/{types → cjs/types}/subscription/subscription-management-response.js +0 -0
  1065. /package/dist/{types → cjs/types}/subscription/subscription-preview-response.js +0 -0
  1066. /package/dist/{types → cjs/types}/subscription/subscription-preview-update-summary.js +0 -0
  1067. /package/dist/{types → cjs/types}/subscription/subscription-response.js +0 -0
  1068. /package/dist/{types → cjs/types}/subscription/subscription-result-response.js +0 -0
  1069. /package/dist/{types → cjs/types}/subscription/subscription-scheduled-change-response.js +0 -0
  1070. /package/dist/{types → cjs/types}/subscription/subscription-time-period-response.js +0 -0
  1071. /package/dist/{types → cjs/types}/subscription/subscription-update-item.js +0 -0
  1072. /package/dist/{types → cjs/types}/transaction/adjustment-totals-breakdown.js +0 -0
  1073. /package/dist/{types → cjs/types}/transaction/adjustment-totals-response.js +0 -0
  1074. /package/dist/{types → cjs/types}/transaction/index.js +0 -0
  1075. /package/dist/{types → cjs/types}/transaction/transaction-adjustment-item-response.js +0 -0
  1076. /package/dist/{types → cjs/types}/transaction/transaction-adjustment-response.js +0 -0
  1077. /package/dist/{types → cjs/types}/transaction/transaction-details-response.js +0 -0
  1078. /package/dist/{types → cjs/types}/transaction/transaction-invoice-pdf.js +0 -0
  1079. /package/dist/{types → cjs/types}/transaction/transaction-item-response.js +0 -0
  1080. /package/dist/{types → cjs/types}/transaction/transaction-item.js +0 -0
  1081. /package/dist/{types → cjs/types}/transaction/transaction-line-item-response.js +0 -0
  1082. /package/dist/{types → cjs/types}/transaction/transaction-preview-item.js +0 -0
  1083. /package/dist/{types → cjs/types}/transaction/transaction-preview-response.js +0 -0
  1084. /package/dist/{types → cjs/types}/transaction/transaction-proration-response.js +0 -0
  1085. /package/dist/{types → cjs/types}/transaction/transaction-response.js +0 -0
  1086. /package/dist/{types → cjs/types}/transaction/transactions-time-period-response.js +0 -0
  1087. /package/dist/{types → cjs/types}/transaction/transactions-time-period.js +0 -0
  1088. /package/dist/{entities/address/index.d.ts → esm/entities/address/index.js} +0 -0
  1089. /package/dist/{entities/adjustment/index.d.ts → esm/entities/adjustment/index.js} +0 -0
  1090. /package/dist/{entities/business/index.d.ts → esm/entities/business/index.js} +0 -0
  1091. /package/dist/{entities/customer/index.d.ts → esm/entities/customer/index.js} +0 -0
  1092. /package/dist/{entities/discount/index.d.ts → esm/entities/discount/index.js} +0 -0
  1093. /package/dist/{entities/event-types/index.d.ts → esm/entities/event-types/index.js} +0 -0
  1094. /package/dist/{entities/events/index.d.ts → esm/entities/events/index.js} +0 -0
  1095. /package/dist/{entities/notification-settings/index.d.ts → esm/entities/notification-settings/index.js} +0 -0
  1096. /package/dist/{entities/notifications/index.d.ts → esm/entities/notifications/index.js} +0 -0
  1097. /package/dist/{entities/payout/index.d.ts → esm/entities/payout/index.js} +0 -0
  1098. /package/dist/{entities/price/index.d.ts → esm/entities/price/index.js} +0 -0
  1099. /package/dist/{entities/pricing-preview/index.d.ts → esm/entities/pricing-preview/index.js} +0 -0
  1100. /package/dist/{entities/product/index.d.ts → esm/entities/product/index.js} +0 -0
  1101. /package/dist/{entities/report/index.d.ts → esm/entities/report/index.js} +0 -0
  1102. /package/dist/{entities/shared/index.d.ts → esm/entities/shared/index.js} +0 -0
  1103. /package/dist/{entities/subscription/index.d.ts → esm/entities/subscription/index.js} +0 -0
  1104. /package/dist/{entities/transaction/index.d.ts → esm/entities/transaction/index.js} +0 -0
  1105. /package/dist/{enums/adjustment/index.d.ts → esm/enums/adjustment/index.js} +0 -0
  1106. /package/dist/{enums/discount/index.d.ts → esm/enums/discount/index.js} +0 -0
  1107. /package/dist/{enums/index.d.ts → esm/enums/index.js} +0 -0
  1108. /package/dist/{enums/notification/index.d.ts → esm/enums/notification/index.js} +0 -0
  1109. /package/dist/{enums/notification-settings/index.d.ts → esm/enums/notification-settings/index.js} +0 -0
  1110. /package/dist/{enums/payout/index.d.ts → esm/enums/payout/index.js} +0 -0
  1111. /package/dist/{enums/report/index.d.ts → esm/enums/report/index.js} +0 -0
  1112. /package/dist/{enums/shared/index.d.ts → esm/enums/shared/index.js} +0 -0
  1113. /package/dist/{enums/subscription/index.d.ts → esm/enums/subscription/index.js} +0 -0
  1114. /package/dist/{enums/transaction/index.d.ts → esm/enums/transaction/index.js} +0 -0
  1115. /package/dist/{internal/api/index.d.ts → esm/internal/api/index.js} +0 -0
  1116. /package/dist/{internal/base/index.d.ts → esm/internal/base/index.js} +0 -0
  1117. /package/dist/{notifications/entities/address/index.d.ts → esm/notifications/entities/address/index.js} +0 -0
  1118. /package/dist/{notifications/entities/adjustment/index.d.ts → esm/notifications/entities/adjustment/index.js} +0 -0
  1119. /package/dist/{notifications/entities/business/index.d.ts → esm/notifications/entities/business/index.js} +0 -0
  1120. /package/dist/{notifications/entities/customer/index.d.ts → esm/notifications/entities/customer/index.js} +0 -0
  1121. /package/dist/{notifications/entities/discount/index.d.ts → esm/notifications/entities/discount/index.js} +0 -0
  1122. /package/dist/{notifications/entities/index.d.ts → esm/notifications/entities/index.js} +0 -0
  1123. /package/dist/{notifications/entities/payout/index.d.ts → esm/notifications/entities/payout/index.js} +0 -0
  1124. /package/dist/{notifications/entities/price/index.d.ts → esm/notifications/entities/price/index.js} +0 -0
  1125. /package/dist/{notifications/entities/product/index.d.ts → esm/notifications/entities/product/index.js} +0 -0
  1126. /package/dist/{notifications/entities/report/index.d.ts → esm/notifications/entities/report/index.js} +0 -0
  1127. /package/dist/{notifications/entities/shared/index.d.ts → esm/notifications/entities/shared/index.js} +0 -0
  1128. /package/dist/{notifications/entities/subscription/index.d.ts → esm/notifications/entities/subscription/index.js} +0 -0
  1129. /package/dist/{notifications/entities/transaction/index.d.ts → esm/notifications/entities/transaction/index.js} +0 -0
  1130. /package/dist/{notifications/events/address/index.d.ts → esm/notifications/events/address/index.js} +0 -0
  1131. /package/dist/{notifications/events/adjustment/index.d.ts → esm/notifications/events/adjustment/index.js} +0 -0
  1132. /package/dist/{notifications/events/business/index.d.ts → esm/notifications/events/business/index.js} +0 -0
  1133. /package/dist/{notifications/events/customer/index.d.ts → esm/notifications/events/customer/index.js} +0 -0
  1134. /package/dist/{notifications/events/discount/index.d.ts → esm/notifications/events/discount/index.js} +0 -0
  1135. /package/dist/{notifications/events/index.d.ts → esm/notifications/events/index.js} +0 -0
  1136. /package/dist/{notifications/events/payout/index.d.ts → esm/notifications/events/payout/index.js} +0 -0
  1137. /package/dist/{notifications/events/price/index.d.ts → esm/notifications/events/price/index.js} +0 -0
  1138. /package/dist/{notifications/events/product/index.d.ts → esm/notifications/events/product/index.js} +0 -0
  1139. /package/dist/{notifications/events/report/index.d.ts → esm/notifications/events/report/index.js} +0 -0
  1140. /package/dist/{notifications/events/subscription/index.d.ts → esm/notifications/events/subscription/index.js} +0 -0
  1141. /package/dist/{notifications/events/transaction/index.d.ts → esm/notifications/events/transaction/index.js} +0 -0
  1142. /package/dist/{notifications/helpers/index.d.ts → esm/notifications/helpers/index.js} +0 -0
  1143. /package/dist/{notifications/index.d.ts → esm/notifications/index.js} +0 -0
  1144. /package/dist/{notifications/types/address/index.d.ts → esm/notifications/types/address/index.js} +0 -0
  1145. /package/dist/{notifications/types/adjustment/index.d.ts → esm/notifications/types/adjustment/index.js} +0 -0
  1146. /package/dist/{notifications/types/business/index.d.ts → esm/notifications/types/business/index.js} +0 -0
  1147. /package/dist/{notifications/types/customer/index.d.ts → esm/notifications/types/customer/index.js} +0 -0
  1148. /package/dist/{notifications/types/discount/index.d.ts → esm/notifications/types/discount/index.js} +0 -0
  1149. /package/dist/{notifications/types/index.d.ts → esm/notifications/types/index.js} +0 -0
  1150. /package/dist/{notifications/types/payout/index.d.ts → esm/notifications/types/payout/index.js} +0 -0
  1151. /package/dist/{notifications/types/price/index.d.ts → esm/notifications/types/price/index.js} +0 -0
  1152. /package/dist/{notifications/types/product/index.d.ts → esm/notifications/types/product/index.js} +0 -0
  1153. /package/dist/{notifications/types/report/index.d.ts → esm/notifications/types/report/index.js} +0 -0
  1154. /package/dist/{notifications/types/shared/index.d.ts → esm/notifications/types/shared/index.js} +0 -0
  1155. /package/dist/{notifications/types/subscription/index.d.ts → esm/notifications/types/subscription/index.js} +0 -0
  1156. /package/dist/{notifications/types/transaction/index.d.ts → esm/notifications/types/transaction/index.js} +0 -0
  1157. /package/dist/{resources/addresses/operations/index.d.ts → esm/resources/addresses/operations/index.js} +0 -0
  1158. /package/dist/{resources/adjustments/operations/index.d.ts → esm/resources/adjustments/operations/index.js} +0 -0
  1159. /package/dist/{resources/businesses/operations/index.d.ts → esm/resources/businesses/operations/index.js} +0 -0
  1160. /package/dist/{resources/customers/operations/index.d.ts → esm/resources/customers/operations/index.js} +0 -0
  1161. /package/dist/{resources/discounts/operations/index.d.ts → esm/resources/discounts/operations/index.js} +0 -0
  1162. /package/dist/{resources/events/operations/index.d.ts → esm/resources/events/operations/index.js} +0 -0
  1163. /package/dist/{resources/index.d.ts → esm/resources/index.js} +0 -0
  1164. /package/dist/{resources/notification-settings/operations/index.d.ts → esm/resources/notification-settings/operations/index.js} +0 -0
  1165. /package/dist/{resources/notifications/operations/index.d.ts → esm/resources/notifications/operations/index.js} +0 -0
  1166. /package/dist/{resources/prices/operations/index.d.ts → esm/resources/prices/operations/index.js} +0 -0
  1167. /package/dist/{resources/pricing-preview/operations/index.d.ts → esm/resources/pricing-preview/operations/index.js} +0 -0
  1168. /package/dist/{resources/products/operations/index.d.ts → esm/resources/products/operations/index.js} +0 -0
  1169. /package/dist/{resources/reports/operations/index.d.ts → esm/resources/reports/operations/index.js} +0 -0
  1170. /package/dist/{resources/subscriptions/operations/index.d.ts → esm/resources/subscriptions/operations/index.js} +0 -0
  1171. /package/dist/{resources/transactions/operations/index.d.ts → esm/resources/transactions/operations/index.js} +0 -0
  1172. /package/dist/{types/address/index.d.ts → esm/types/address/index.js} +0 -0
  1173. /package/dist/{types/adjustment/index.d.ts → esm/types/adjustment/index.js} +0 -0
  1174. /package/dist/{types/business/index.d.ts → esm/types/business/index.js} +0 -0
  1175. /package/dist/{types/customer/index.d.ts → esm/types/customer/index.js} +0 -0
  1176. /package/dist/{types/discount/index.d.ts → esm/types/discount/index.js} +0 -0
  1177. /package/dist/{types/event-types/index.d.ts → esm/types/event-types/index.js} +0 -0
  1178. /package/dist/{types/events/index.d.ts → esm/types/events/index.js} +0 -0
  1179. /package/dist/{types/notification-settings/index.d.ts → esm/types/notification-settings/index.js} +0 -0
  1180. /package/dist/{types/payout/index.d.ts → esm/types/payout/index.js} +0 -0
  1181. /package/dist/{types/price/index.d.ts → esm/types/price/index.js} +0 -0
  1182. /package/dist/{types/pricing-preview/index.d.ts → esm/types/pricing-preview/index.js} +0 -0
  1183. /package/dist/{types/product/index.d.ts → esm/types/product/index.js} +0 -0
  1184. /package/dist/{types/report/index.d.ts → esm/types/report/index.js} +0 -0
  1185. /package/dist/{types/shared/index.d.ts → esm/types/shared/index.js} +0 -0
  1186. /package/dist/{types/subscription/index.d.ts → esm/types/subscription/index.js} +0 -0
  1187. /package/dist/{types/transaction/index.d.ts → esm/types/transaction/index.js} +0 -0
  1188. /package/dist/{entities → types/entities}/address/address-collection.d.ts +0 -0
  1189. /package/dist/{entities → types/entities}/address/address.d.ts +0 -0
  1190. /package/dist/{entities → types/entities}/adjustment/adjustment-collection.d.ts +0 -0
  1191. /package/dist/{entities → types/entities}/adjustment/adjustment-item-totals.d.ts +0 -0
  1192. /package/dist/{entities → types/entities}/adjustment/adjustment-item.d.ts +0 -0
  1193. /package/dist/{entities → types/entities}/adjustment/adjustment-proration.d.ts +0 -0
  1194. /package/dist/{entities → types/entities}/adjustment/adjustment-time-period.d.ts +0 -0
  1195. /package/dist/{entities → types/entities}/adjustment/adjustment.d.ts +0 -0
  1196. /package/dist/{entities → types/entities}/business/business-collection.d.ts +0 -0
  1197. /package/dist/{entities → types/entities}/business/business.d.ts +0 -0
  1198. /package/dist/{entities → types/entities}/business/contacts.d.ts +0 -0
  1199. /package/dist/{entities → types/entities}/customer/credit-balance.d.ts +0 -0
  1200. /package/dist/{entities → types/entities}/customer/customer-balance.d.ts +0 -0
  1201. /package/dist/{entities → types/entities}/customer/customer-collection.d.ts +0 -0
  1202. /package/dist/{entities → types/entities}/customer/customer.d.ts +0 -0
  1203. /package/dist/{entities → types/entities}/discount/discount-collection.d.ts +0 -0
  1204. /package/dist/{entities → types/entities}/discount/discount.d.ts +0 -0
  1205. /package/dist/{entities → types/entities}/event-types/event-type.d.ts +0 -0
  1206. /package/dist/{entities → types/entities}/events/event-collection.d.ts +0 -0
  1207. /package/dist/{entities → types/entities}/events/event.d.ts +0 -0
  1208. /package/dist/{entities → types/entities}/index.d.ts +0 -0
  1209. /package/dist/{entities → types/entities}/notification-settings/notification-settings.d.ts +0 -0
  1210. /package/dist/{entities → types/entities}/notifications/notification-collection.d.ts +0 -0
  1211. /package/dist/{entities → types/entities}/notifications/notification-log-collection.d.ts +0 -0
  1212. /package/dist/{entities → types/entities}/notifications/notification-log.d.ts +0 -0
  1213. /package/dist/{entities → types/entities}/notifications/notification.d.ts +0 -0
  1214. /package/dist/{entities → types/entities}/notifications/replay-notification.d.ts +0 -0
  1215. /package/dist/{entities → types/entities}/payout/payout.d.ts +0 -0
  1216. /package/dist/{entities → types/entities}/price/price-collection.d.ts +0 -0
  1217. /package/dist/{entities → types/entities}/price/price-quantity.d.ts +0 -0
  1218. /package/dist/{entities → types/entities}/price/price.d.ts +0 -0
  1219. /package/dist/{entities → types/entities}/pricing-preview/pricing-preview-details.d.ts +0 -0
  1220. /package/dist/{entities → types/entities}/pricing-preview/pricing-preview-discounts.d.ts +0 -0
  1221. /package/dist/{entities → types/entities}/pricing-preview/pricing-preview-line-item.d.ts +0 -0
  1222. /package/dist/{entities → types/entities}/pricing-preview/pricing-preview.d.ts +0 -0
  1223. /package/dist/{entities → types/entities}/product/product-collection.d.ts +0 -0
  1224. /package/dist/{entities → types/entities}/product/product.d.ts +0 -0
  1225. /package/dist/{entities → types/entities}/report/report-collection.d.ts +0 -0
  1226. /package/dist/{entities → types/entities}/report/report-csv.d.ts +0 -0
  1227. /package/dist/{entities → types/entities}/report/report-filters.d.ts +0 -0
  1228. /package/dist/{entities → types/entities}/report/report.d.ts +0 -0
  1229. /package/dist/{entities → types/entities}/shared/adjustment-original-amount.d.ts +0 -0
  1230. /package/dist/{entities → types/entities}/shared/billing-details.d.ts +0 -0
  1231. /package/dist/{entities → types/entities}/shared/chargeback-fee.d.ts +0 -0
  1232. /package/dist/{entities → types/entities}/shared/import-meta.d.ts +0 -0
  1233. /package/dist/{entities → types/entities}/shared/money.d.ts +0 -0
  1234. /package/dist/{entities → types/entities}/shared/payment-card.d.ts +0 -0
  1235. /package/dist/{entities → types/entities}/shared/payment-method-details.d.ts +0 -0
  1236. /package/dist/{entities → types/entities}/shared/payout-totals-adjustment.d.ts +0 -0
  1237. /package/dist/{entities → types/entities}/shared/tax-rates-used.d.ts +0 -0
  1238. /package/dist/{entities → types/entities}/shared/time-period.d.ts +0 -0
  1239. /package/dist/{entities → types/entities}/shared/total-adjustments.d.ts +0 -0
  1240. /package/dist/{entities → types/entities}/shared/totals.d.ts +0 -0
  1241. /package/dist/{entities → types/entities}/shared/transaction-checkout.d.ts +0 -0
  1242. /package/dist/{entities → types/entities}/shared/transaction-payment-attempt.d.ts +0 -0
  1243. /package/dist/{entities → types/entities}/shared/transaction-payout-totals-adjusted.d.ts +0 -0
  1244. /package/dist/{entities → types/entities}/shared/transaction-payout-totals.d.ts +0 -0
  1245. /package/dist/{entities → types/entities}/shared/transaction-totals-adjusted.d.ts +0 -0
  1246. /package/dist/{entities → types/entities}/shared/transaction-totals.d.ts +0 -0
  1247. /package/dist/{entities → types/entities}/shared/unit-price-override.d.ts +0 -0
  1248. /package/dist/{entities → types/entities}/shared/unit-totals.d.ts +0 -0
  1249. /package/dist/{entities → types/entities}/subscription/next-transaction-adjustment-item.d.ts +0 -0
  1250. /package/dist/{entities → types/entities}/subscription/next-transaction-adjustment-preview.d.ts +0 -0
  1251. /package/dist/{entities → types/entities}/subscription/next-transaction.d.ts +0 -0
  1252. /package/dist/{entities → types/entities}/subscription/subscription-collection.d.ts +0 -0
  1253. /package/dist/{entities → types/entities}/subscription/subscription-discount.d.ts +0 -0
  1254. /package/dist/{entities → types/entities}/subscription/subscription-item.d.ts +0 -0
  1255. /package/dist/{entities → types/entities}/subscription/subscription-management.d.ts +0 -0
  1256. /package/dist/{entities → types/entities}/subscription/subscription-preview-summary-result.d.ts +0 -0
  1257. /package/dist/{entities → types/entities}/subscription/subscription-preview-update-summary.d.ts +0 -0
  1258. /package/dist/{entities → types/entities}/subscription/subscription-preview.d.ts +0 -0
  1259. /package/dist/{entities → types/entities}/subscription/subscription-scheduled-change.d.ts +0 -0
  1260. /package/dist/{entities → types/entities}/subscription/subscription-time-period.d.ts +0 -0
  1261. /package/dist/{entities → types/entities}/subscription/subscription.d.ts +0 -0
  1262. /package/dist/{entities → types/entities}/subscription/transaction-details-preview.d.ts +0 -0
  1263. /package/dist/{entities → types/entities}/subscription/transaction-line-item-preview.d.ts +0 -0
  1264. /package/dist/{entities → types/entities}/transaction/address-preview.d.ts +0 -0
  1265. /package/dist/{entities → types/entities}/transaction/adjustment-totals-breakdown.d.ts +0 -0
  1266. /package/dist/{entities → types/entities}/transaction/adjustment-totals.d.ts +0 -0
  1267. /package/dist/{entities → types/entities}/transaction/proration.d.ts +0 -0
  1268. /package/dist/{entities → types/entities}/transaction/transaction-adjustment-item.d.ts +0 -0
  1269. /package/dist/{entities → types/entities}/transaction/transaction-adjustment.d.ts +0 -0
  1270. /package/dist/{entities → types/entities}/transaction/transaction-collection.d.ts +0 -0
  1271. /package/dist/{entities → types/entities}/transaction/transaction-details.d.ts +0 -0
  1272. /package/dist/{entities → types/entities}/transaction/transaction-invoice-pdf.d.ts +0 -0
  1273. /package/dist/{entities → types/entities}/transaction/transaction-item-preview.d.ts +0 -0
  1274. /package/dist/{entities → types/entities}/transaction/transaction-item.d.ts +0 -0
  1275. /package/dist/{entities → types/entities}/transaction/transaction-line-item.d.ts +0 -0
  1276. /package/dist/{entities → types/entities}/transaction/transaction-preview.d.ts +0 -0
  1277. /package/dist/{entities → types/entities}/transaction/transaction-proration.d.ts +0 -0
  1278. /package/dist/{entities → types/entities}/transaction/transaction.d.ts +0 -0
  1279. /package/dist/{entities → types/entities}/transaction/transactions-time-period.d.ts +0 -0
  1280. /package/dist/{enums → types/enums}/adjustment/adjustment-action.d.ts +0 -0
  1281. /package/dist/{enums → types/enums}/adjustment/adjustment-currency-code.d.ts +0 -0
  1282. /package/dist/{enums → types/enums}/adjustment/adjustment-status.d.ts +0 -0
  1283. /package/dist/{enums → types/enums}/adjustment/adjustment-type.d.ts +0 -0
  1284. /package/dist/{enums → types/enums}/discount/discount-status.d.ts +0 -0
  1285. /package/dist/{enums → types/enums}/discount/discount-type.d.ts +0 -0
  1286. /package/dist/{enums → types/enums}/notification/notification-status.d.ts +0 -0
  1287. /package/dist/{enums → types/enums}/notification/origin.d.ts +0 -0
  1288. /package/dist/{enums → types/enums}/notification-settings/notification-settings-type.d.ts +0 -0
  1289. /package/dist/{enums → types/enums}/payout/payout-status.d.ts +0 -0
  1290. /package/dist/{enums → types/enums}/report/report-filter-name.d.ts +0 -0
  1291. /package/dist/{enums → types/enums}/report/report-filter-operator.d.ts +0 -0
  1292. /package/dist/{enums → types/enums}/report/report-status.d.ts +0 -0
  1293. /package/dist/{enums → types/enums}/report/report-type.d.ts +0 -0
  1294. /package/dist/{enums → types/enums}/shared/available-payment-methods.d.ts +0 -0
  1295. /package/dist/{enums → types/enums}/shared/catalog-type.d.ts +0 -0
  1296. /package/dist/{enums → types/enums}/shared/collection-mode.d.ts +0 -0
  1297. /package/dist/{enums → types/enums}/shared/country-code.d.ts +0 -0
  1298. /package/dist/{enums → types/enums}/shared/currency-code.d.ts +0 -0
  1299. /package/dist/{enums → types/enums}/shared/error-code.d.ts +0 -0
  1300. /package/dist/{enums → types/enums}/shared/interval.d.ts +0 -0
  1301. /package/dist/{enums → types/enums}/shared/payment-attempt-status.d.ts +0 -0
  1302. /package/dist/{enums → types/enums}/shared/payment-type.d.ts +0 -0
  1303. /package/dist/{enums → types/enums}/shared/payout-currency-code.d.ts +0 -0
  1304. /package/dist/{enums → types/enums}/shared/status.d.ts +0 -0
  1305. /package/dist/{enums → types/enums}/shared/tax-category.d.ts +0 -0
  1306. /package/dist/{enums → types/enums}/shared/tax-mode.d.ts +0 -0
  1307. /package/dist/{enums → types/enums}/shared/transaction-origin.d.ts +0 -0
  1308. /package/dist/{enums → types/enums}/shared/transaction-status.d.ts +0 -0
  1309. /package/dist/{enums → types/enums}/subscription/proration-billing-mode.d.ts +0 -0
  1310. /package/dist/{enums → types/enums}/subscription/scheduled-change-action.d.ts +0 -0
  1311. /package/dist/{enums → types/enums}/subscription/subscription-effective-from.d.ts +0 -0
  1312. /package/dist/{enums → types/enums}/subscription/subscription-item-status.d.ts +0 -0
  1313. /package/dist/{enums → types/enums}/subscription/subscription-on-payment-failure.d.ts +0 -0
  1314. /package/dist/{enums → types/enums}/subscription/subscription-status.d.ts +0 -0
  1315. /package/dist/{enums → types/enums}/transaction/payment-card-type.d.ts +0 -0
  1316. /package/dist/{internal → types/internal}/api/case-helpers.d.ts +0 -0
  1317. /package/dist/{internal → types/internal}/api/client.d.ts +0 -0
  1318. /package/dist/{internal → types/internal}/api/constants.d.ts +0 -0
  1319. /package/dist/{internal → types/internal}/api/environment.d.ts +0 -0
  1320. /package/dist/{internal → types/internal}/base/base-resource.d.ts +0 -0
  1321. /package/dist/{internal → types/internal}/base/collection.d.ts +0 -0
  1322. /package/dist/{internal → types/internal}/base/logger.d.ts +0 -0
  1323. /package/dist/{internal → types/internal}/base/path-parameters.d.ts +0 -0
  1324. /package/dist/{internal → types/internal}/base/query-parameters.d.ts +0 -0
  1325. /package/dist/{internal → types/internal}/errors/generic.d.ts +0 -0
  1326. /package/dist/{internal → types/internal}/index.d.ts +0 -0
  1327. /package/dist/{internal → types/internal}/types/config.d.ts +0 -0
  1328. /package/dist/{internal → types/internal}/types/response.d.ts +0 -0
  1329. /package/dist/{notifications → types/notifications}/entities/address/address-notification.d.ts +0 -0
  1330. /package/dist/{notifications → types/notifications}/entities/adjustment/adjustment-item-notification.d.ts +0 -0
  1331. /package/dist/{notifications → types/notifications}/entities/adjustment/adjustment-item-totals-notification.d.ts +0 -0
  1332. /package/dist/{notifications → types/notifications}/entities/adjustment/adjustment-notification.d.ts +0 -0
  1333. /package/dist/{notifications → types/notifications}/entities/adjustment/adjustment-proration-notification.d.ts +0 -0
  1334. /package/dist/{notifications → types/notifications}/entities/adjustment/adjustment-time-period-notification.d.ts +0 -0
  1335. /package/dist/{notifications → types/notifications}/entities/business/business-notification.d.ts +0 -0
  1336. /package/dist/{notifications → types/notifications}/entities/business/contacts-notification.d.ts +0 -0
  1337. /package/dist/{notifications → types/notifications}/entities/customer/customer-notification.d.ts +0 -0
  1338. /package/dist/{notifications → types/notifications}/entities/discount/discount-notification.d.ts +0 -0
  1339. /package/dist/{notifications → types/notifications}/entities/payout/payout-notification.d.ts +0 -0
  1340. /package/dist/{notifications → types/notifications}/entities/price/price-notification.d.ts +0 -0
  1341. /package/dist/{notifications → types/notifications}/entities/price/price-quantity-notification.d.ts +0 -0
  1342. /package/dist/{notifications → types/notifications}/entities/product/product-notification.d.ts +0 -0
  1343. /package/dist/{notifications → types/notifications}/entities/report/report-filters-notification.d.ts +0 -0
  1344. /package/dist/{notifications → types/notifications}/entities/report/report-notification.d.ts +0 -0
  1345. /package/dist/{notifications → types/notifications}/entities/shared/adjustment-original-amount-notification.d.ts +0 -0
  1346. /package/dist/{notifications → types/notifications}/entities/shared/billing-details-notification.d.ts +0 -0
  1347. /package/dist/{notifications → types/notifications}/entities/shared/chargeback-fee-notification.d.ts +0 -0
  1348. /package/dist/{notifications → types/notifications}/entities/shared/import-meta-notification.d.ts +0 -0
  1349. /package/dist/{notifications → types/notifications}/entities/shared/money-notification.d.ts +0 -0
  1350. /package/dist/{notifications → types/notifications}/entities/shared/payment-card-notification.d.ts +0 -0
  1351. /package/dist/{notifications → types/notifications}/entities/shared/payment-method-details-notification.d.ts +0 -0
  1352. /package/dist/{notifications → types/notifications}/entities/shared/payout-totals-adjustment-notification.d.ts +0 -0
  1353. /package/dist/{notifications → types/notifications}/entities/shared/tax-rates-used-notification.d.ts +0 -0
  1354. /package/dist/{notifications → types/notifications}/entities/shared/time-period-notification.d.ts +0 -0
  1355. /package/dist/{notifications → types/notifications}/entities/shared/total-adjustments-notification.d.ts +0 -0
  1356. /package/dist/{notifications → types/notifications}/entities/shared/totals-notification.d.ts +0 -0
  1357. /package/dist/{notifications → types/notifications}/entities/shared/transaction-checkout-notification.d.ts +0 -0
  1358. /package/dist/{notifications → types/notifications}/entities/shared/transaction-payment-attempt-notification.d.ts +0 -0
  1359. /package/dist/{notifications → types/notifications}/entities/shared/transaction-payout-totals-adjusted-notification.d.ts +0 -0
  1360. /package/dist/{notifications → types/notifications}/entities/shared/transaction-payout-totals-notification.d.ts +0 -0
  1361. /package/dist/{notifications → types/notifications}/entities/shared/transaction-totals-adjusted-notification.d.ts +0 -0
  1362. /package/dist/{notifications → types/notifications}/entities/shared/transaction-totals-notification.d.ts +0 -0
  1363. /package/dist/{notifications → types/notifications}/entities/shared/unit-price-override-notification.d.ts +0 -0
  1364. /package/dist/{notifications → types/notifications}/entities/shared/unit-totals-notification.d.ts +0 -0
  1365. /package/dist/{notifications → types/notifications}/entities/subscription/subscription-discount-notification.d.ts +0 -0
  1366. /package/dist/{notifications → types/notifications}/entities/subscription/subscription-item-notification.d.ts +0 -0
  1367. /package/dist/{notifications → types/notifications}/entities/subscription/subscription-notification.d.ts +0 -0
  1368. /package/dist/{notifications → types/notifications}/entities/subscription/subscription-price-notification.d.ts +0 -0
  1369. /package/dist/{notifications → types/notifications}/entities/subscription/subscription-scheduled-change-notification.d.ts +0 -0
  1370. /package/dist/{notifications → types/notifications}/entities/subscription/subscription-time-period-notification.d.ts +0 -0
  1371. /package/dist/{notifications → types/notifications}/entities/transaction/transaction-details-notification.d.ts +0 -0
  1372. /package/dist/{notifications → types/notifications}/entities/transaction/transaction-item-notification.d.ts +0 -0
  1373. /package/dist/{notifications → types/notifications}/entities/transaction/transaction-line-item-notification.d.ts +0 -0
  1374. /package/dist/{notifications → types/notifications}/entities/transaction/transaction-notification.d.ts +0 -0
  1375. /package/dist/{notifications → types/notifications}/entities/transaction/transaction-proration-notification.d.ts +0 -0
  1376. /package/dist/{notifications → types/notifications}/entities/transaction/transactions-time-period-notification.d.ts +0 -0
  1377. /package/dist/{notifications → types/notifications}/events/address/address-created-event.d.ts +0 -0
  1378. /package/dist/{notifications → types/notifications}/events/address/address-imported-event.d.ts +0 -0
  1379. /package/dist/{notifications → types/notifications}/events/address/address-updated-event.d.ts +0 -0
  1380. /package/dist/{notifications → types/notifications}/events/adjustment/adjustment-created-event.d.ts +0 -0
  1381. /package/dist/{notifications → types/notifications}/events/adjustment/adjustment-updated-event.d.ts +0 -0
  1382. /package/dist/{notifications → types/notifications}/events/business/business-created-event.d.ts +0 -0
  1383. /package/dist/{notifications → types/notifications}/events/business/business-imported-event.d.ts +0 -0
  1384. /package/dist/{notifications → types/notifications}/events/business/business-updated-event.d.ts +0 -0
  1385. /package/dist/{notifications → types/notifications}/events/customer/customer-created-event.d.ts +0 -0
  1386. /package/dist/{notifications → types/notifications}/events/customer/customer-imported-event.d.ts +0 -0
  1387. /package/dist/{notifications → types/notifications}/events/customer/customer-updated-event.d.ts +0 -0
  1388. /package/dist/{notifications → types/notifications}/events/discount/discount-created-event.d.ts +0 -0
  1389. /package/dist/{notifications → types/notifications}/events/discount/discount-imported-event.d.ts +0 -0
  1390. /package/dist/{notifications → types/notifications}/events/discount/discount-updated-event.d.ts +0 -0
  1391. /package/dist/{notifications → types/notifications}/events/payout/payout-created-event.d.ts +0 -0
  1392. /package/dist/{notifications → types/notifications}/events/payout/payout-paid-event.d.ts +0 -0
  1393. /package/dist/{notifications → types/notifications}/events/price/price-created-event.d.ts +0 -0
  1394. /package/dist/{notifications → types/notifications}/events/price/price-imported-event.d.ts +0 -0
  1395. /package/dist/{notifications → types/notifications}/events/price/price-updated-event.d.ts +0 -0
  1396. /package/dist/{notifications → types/notifications}/events/product/product-created-event.d.ts +0 -0
  1397. /package/dist/{notifications → types/notifications}/events/product/product-imported-event.d.ts +0 -0
  1398. /package/dist/{notifications → types/notifications}/events/product/product-updated-event.d.ts +0 -0
  1399. /package/dist/{notifications → types/notifications}/events/report/report-created-event.d.ts +0 -0
  1400. /package/dist/{notifications → types/notifications}/events/report/report-updated-event.d.ts +0 -0
  1401. /package/dist/{notifications → types/notifications}/events/subscription/subscription-activated-event.d.ts +0 -0
  1402. /package/dist/{notifications → types/notifications}/events/subscription/subscription-canceled-event.d.ts +0 -0
  1403. /package/dist/{notifications → types/notifications}/events/subscription/subscription-created-event.d.ts +0 -0
  1404. /package/dist/{notifications → types/notifications}/events/subscription/subscription-imported-event.d.ts +0 -0
  1405. /package/dist/{notifications → types/notifications}/events/subscription/subscription-past-due-event.d.ts +0 -0
  1406. /package/dist/{notifications → types/notifications}/events/subscription/subscription-paused-event.d.ts +0 -0
  1407. /package/dist/{notifications → types/notifications}/events/subscription/subscription-resumed-event.d.ts +0 -0
  1408. /package/dist/{notifications → types/notifications}/events/subscription/subscription-trialing-event.d.ts +0 -0
  1409. /package/dist/{notifications → types/notifications}/events/subscription/subscription-updated-event.d.ts +0 -0
  1410. /package/dist/{notifications → types/notifications}/events/transaction/transaction-billed-event.d.ts +0 -0
  1411. /package/dist/{notifications → types/notifications}/events/transaction/transaction-canceled-event.d.ts +0 -0
  1412. /package/dist/{notifications → types/notifications}/events/transaction/transaction-completed-event.d.ts +0 -0
  1413. /package/dist/{notifications → types/notifications}/events/transaction/transaction-created-event.d.ts +0 -0
  1414. /package/dist/{notifications → types/notifications}/events/transaction/transaction-paid-event.d.ts +0 -0
  1415. /package/dist/{notifications → types/notifications}/events/transaction/transaction-past-due-event.d.ts +0 -0
  1416. /package/dist/{notifications → types/notifications}/events/transaction/transaction-payment-failed-event.d.ts +0 -0
  1417. /package/dist/{notifications → types/notifications}/events/transaction/transaction-ready-event.d.ts +0 -0
  1418. /package/dist/{notifications → types/notifications}/events/transaction/transaction-updated-event.d.ts +0 -0
  1419. /package/dist/{notifications → types/notifications}/helpers/types.d.ts +0 -0
  1420. /package/dist/{notifications → types/notifications}/helpers/webhooks-validator.d.ts +0 -0
  1421. /package/dist/{notifications → types/notifications}/helpers/webhooks.d.ts +0 -0
  1422. /package/dist/{notifications → types/notifications}/types/address/address-notification-response.d.ts +0 -0
  1423. /package/dist/{notifications → types/notifications}/types/adjustment/adjustment-item-notification-response.d.ts +0 -0
  1424. /package/dist/{notifications → types/notifications}/types/adjustment/adjustment-notification-response.d.ts +0 -0
  1425. /package/dist/{notifications → types/notifications}/types/adjustment/adjustment-totals-breakdown-notification.d.ts +0 -0
  1426. /package/dist/{notifications → types/notifications}/types/adjustment/adjustment-totals-notification-response.d.ts +0 -0
  1427. /package/dist/{notifications → types/notifications}/types/adjustment/adjustments-proration-notification-response.d.ts +0 -0
  1428. /package/dist/{notifications → types/notifications}/types/adjustment/adjustments-time-period-notification-response.d.ts +0 -0
  1429. /package/dist/{notifications → types/notifications}/types/business/business-notification-response.d.ts +0 -0
  1430. /package/dist/{notifications → types/notifications}/types/business/businesses-contacts-notification.d.ts +0 -0
  1431. /package/dist/{notifications → types/notifications}/types/customer/customer-notification-response.d.ts +0 -0
  1432. /package/dist/{notifications → types/notifications}/types/discount/discount-notification-response.d.ts +0 -0
  1433. /package/dist/{notifications → types/notifications}/types/payout/payout-notification-response.d.ts +0 -0
  1434. /package/dist/{notifications → types/notifications}/types/price/price-quantity-notification.d.ts +0 -0
  1435. /package/dist/{notifications → types/notifications}/types/product/product-notification-response.d.ts +0 -0
  1436. /package/dist/{notifications → types/notifications}/types/report/report-filters-notification-response.d.ts +0 -0
  1437. /package/dist/{notifications → types/notifications}/types/report/report-notification-response.d.ts +0 -0
  1438. /package/dist/{notifications → types/notifications}/types/shared/adjustment-original-amount-notification-response.d.ts +0 -0
  1439. /package/dist/{notifications → types/notifications}/types/shared/billing-details-notification-response.d.ts +0 -0
  1440. /package/dist/{notifications → types/notifications}/types/shared/chargeback-fee.d.ts +0 -0
  1441. /package/dist/{notifications → types/notifications}/types/shared/import-meta-notification-response.d.ts +0 -0
  1442. /package/dist/{notifications → types/notifications}/types/shared/money-notification-response.d.ts +0 -0
  1443. /package/dist/{notifications → types/notifications}/types/shared/payment-card-notification-response.d.ts +0 -0
  1444. /package/dist/{notifications → types/notifications}/types/shared/payment-method-details.d.ts +0 -0
  1445. /package/dist/{notifications → types/notifications}/types/shared/payout-totals-adjustment-notification-response.d.ts +0 -0
  1446. /package/dist/{notifications → types/notifications}/types/shared/shared-price-notification-response.d.ts +0 -0
  1447. /package/dist/{notifications → types/notifications}/types/shared/shared-product-notification-response.d.ts +0 -0
  1448. /package/dist/{notifications → types/notifications}/types/shared/tax-rates-used-notification-response.d.ts +0 -0
  1449. /package/dist/{notifications → types/notifications}/types/shared/time-period-notification.d.ts +0 -0
  1450. /package/dist/{notifications → types/notifications}/types/shared/total-adjustments-notification-response.d.ts +0 -0
  1451. /package/dist/{notifications → types/notifications}/types/shared/totals.d.ts +0 -0
  1452. /package/dist/{notifications → types/notifications}/types/shared/transaction-checkout-notification.d.ts +0 -0
  1453. /package/dist/{notifications → types/notifications}/types/shared/transaction-payment-attempt-notification-response.d.ts +0 -0
  1454. /package/dist/{notifications → types/notifications}/types/shared/transaction-payout-totals-adjusted-notification-response.d.ts +0 -0
  1455. /package/dist/{notifications → types/notifications}/types/shared/transaction-payout-totals-notification-response.d.ts +0 -0
  1456. /package/dist/{notifications → types/notifications}/types/shared/transaction-totals-adjusted-notification-response.d.ts +0 -0
  1457. /package/dist/{notifications → types/notifications}/types/shared/transaction-totals-notification-response.d.ts +0 -0
  1458. /package/dist/{notifications → types/notifications}/types/shared/unit-price-override-notification-response.d.ts +0 -0
  1459. /package/dist/{notifications → types/notifications}/types/shared/unit-totals.d.ts +0 -0
  1460. /package/dist/{notifications → types/notifications}/types/subscription/subscription-discount-notification-response.d.ts +0 -0
  1461. /package/dist/{notifications → types/notifications}/types/subscription/subscription-item-notification-response.d.ts +0 -0
  1462. /package/dist/{notifications → types/notifications}/types/subscription/subscription-notification-response.d.ts +0 -0
  1463. /package/dist/{notifications → types/notifications}/types/subscription/subscription-price-notification-response.d.ts +0 -0
  1464. /package/dist/{notifications → types/notifications}/types/subscription/subscription-scheduled-change-notification-response.d.ts +0 -0
  1465. /package/dist/{notifications → types/notifications}/types/subscription/subscription-time-period-notification-response.d.ts +0 -0
  1466. /package/dist/{notifications → types/notifications}/types/transaction/transaction-details-notification-response.d.ts +0 -0
  1467. /package/dist/{notifications → types/notifications}/types/transaction/transaction-item-notification-response.d.ts +0 -0
  1468. /package/dist/{notifications → types/notifications}/types/transaction/transaction-line-item-notification-response.d.ts +0 -0
  1469. /package/dist/{notifications → types/notifications}/types/transaction/transaction-notification-response.d.ts +0 -0
  1470. /package/dist/{notifications → types/notifications}/types/transaction/transaction-proration-notification-response.d.ts +0 -0
  1471. /package/dist/{notifications → types/notifications}/types/transaction/transactions-time-period-notification-response.d.ts +0 -0
  1472. /package/dist/{paddle.d.ts → types/paddle.d.ts} +0 -0
  1473. /package/dist/{resources → types/resources}/addresses/index.d.ts +0 -0
  1474. /package/dist/{resources → types/resources}/addresses/operations/create-address-request-body.d.ts +0 -0
  1475. /package/dist/{resources → types/resources}/addresses/operations/list-address-query-parameters.d.ts +0 -0
  1476. /package/dist/{resources → types/resources}/addresses/operations/update-address-request-body.d.ts +0 -0
  1477. /package/dist/{resources → types/resources}/adjustments/index.d.ts +0 -0
  1478. /package/dist/{resources → types/resources}/adjustments/operations/create-adjustment-request-body.d.ts +0 -0
  1479. /package/dist/{resources → types/resources}/adjustments/operations/list-adjustment-query-parameters.d.ts +0 -0
  1480. /package/dist/{resources → types/resources}/businesses/index.d.ts +0 -0
  1481. /package/dist/{resources → types/resources}/businesses/operations/create-business-request-body.d.ts +0 -0
  1482. /package/dist/{resources → types/resources}/businesses/operations/list-business-query-parameters.d.ts +0 -0
  1483. /package/dist/{resources → types/resources}/businesses/operations/update-business-request-body.d.ts +0 -0
  1484. /package/dist/{resources → types/resources}/customers/index.d.ts +0 -0
  1485. /package/dist/{resources → types/resources}/customers/operations/create-customer-request-body.d.ts +0 -0
  1486. /package/dist/{resources → types/resources}/customers/operations/get-credit-balance-query-parameters.d.ts +0 -0
  1487. /package/dist/{resources → types/resources}/customers/operations/list-customer-query-parameters.d.ts +0 -0
  1488. /package/dist/{resources → types/resources}/customers/operations/update-customer-request-body.d.ts +0 -0
  1489. /package/dist/{resources → types/resources}/discounts/index.d.ts +0 -0
  1490. /package/dist/{resources → types/resources}/discounts/operations/create-discount-request-body.d.ts +0 -0
  1491. /package/dist/{resources → types/resources}/discounts/operations/list-discount-query-parameters.d.ts +0 -0
  1492. /package/dist/{resources → types/resources}/discounts/operations/update-discount-request-body.d.ts +0 -0
  1493. /package/dist/{resources → types/resources}/event-types/index.d.ts +0 -0
  1494. /package/dist/{resources → types/resources}/events/index.d.ts +0 -0
  1495. /package/dist/{resources → types/resources}/events/operations/list-events-query-parameters.d.ts +0 -0
  1496. /package/dist/{resources → types/resources}/notification-settings/index.d.ts +0 -0
  1497. /package/dist/{resources → types/resources}/notification-settings/operations/create-notification-settings-request-body.d.ts +0 -0
  1498. /package/dist/{resources → types/resources}/notification-settings/operations/update-notification-settings-request-body.d.ts +0 -0
  1499. /package/dist/{resources → types/resources}/notifications/index.d.ts +0 -0
  1500. /package/dist/{resources → types/resources}/notifications/operations/list-notification-log-query-parameters.d.ts +0 -0
  1501. /package/dist/{resources → types/resources}/notifications/operations/list-notification-query-parameters.d.ts +0 -0
  1502. /package/dist/{resources → types/resources}/prices/index.d.ts +0 -0
  1503. /package/dist/{resources → types/resources}/prices/operations/create-price-request-body.d.ts +0 -0
  1504. /package/dist/{resources → types/resources}/prices/operations/get-price-query-parameters.d.ts +0 -0
  1505. /package/dist/{resources → types/resources}/prices/operations/list-price-query-parameters.d.ts +0 -0
  1506. /package/dist/{resources → types/resources}/prices/operations/update-price-request-body.d.ts +0 -0
  1507. /package/dist/{resources → types/resources}/pricing-preview/index.d.ts +0 -0
  1508. /package/dist/{resources → types/resources}/pricing-preview/operations/pricing-preview-request-body.d.ts +0 -0
  1509. /package/dist/{resources → types/resources}/products/index.d.ts +0 -0
  1510. /package/dist/{resources → types/resources}/products/operations/create-product-request-body.d.ts +0 -0
  1511. /package/dist/{resources → types/resources}/products/operations/get-product-query-parameters.d.ts +0 -0
  1512. /package/dist/{resources → types/resources}/products/operations/list-product-query-parameters.d.ts +0 -0
  1513. /package/dist/{resources → types/resources}/products/operations/update-product-request-body.d.ts +0 -0
  1514. /package/dist/{resources → types/resources}/reports/index.d.ts +0 -0
  1515. /package/dist/{resources → types/resources}/reports/operations/create-report-request-object.d.ts +0 -0
  1516. /package/dist/{resources → types/resources}/reports/operations/list-report-query-parameters.d.ts +0 -0
  1517. /package/dist/{resources → types/resources}/subscriptions/index.d.ts +0 -0
  1518. /package/dist/{resources → types/resources}/subscriptions/operations/cancel-subscription-request-object.d.ts +0 -0
  1519. /package/dist/{resources → types/resources}/subscriptions/operations/create-subscription-charge-request-object.d.ts +0 -0
  1520. /package/dist/{resources → types/resources}/subscriptions/operations/get-subscription-query-parameters.d.ts +0 -0
  1521. /package/dist/{resources → types/resources}/subscriptions/operations/list-subscription-query-parameters.d.ts +0 -0
  1522. /package/dist/{resources → types/resources}/subscriptions/operations/pause-subscription-request-object.d.ts +0 -0
  1523. /package/dist/{resources → types/resources}/subscriptions/operations/resume-subscription-request-object.d.ts +0 -0
  1524. /package/dist/{resources → types/resources}/subscriptions/operations/update-subscription-request-body.d.ts +0 -0
  1525. /package/dist/{resources → types/resources}/transactions/index.d.ts +0 -0
  1526. /package/dist/{resources → types/resources}/transactions/operations/create-transaction-query-parameters.d.ts +0 -0
  1527. /package/dist/{resources → types/resources}/transactions/operations/create-transaction-request-body.d.ts +0 -0
  1528. /package/dist/{resources → types/resources}/transactions/operations/get-transaction-query-parameters.d.ts +0 -0
  1529. /package/dist/{resources → types/resources}/transactions/operations/list-transaction-query-parameters.d.ts +0 -0
  1530. /package/dist/{resources → types/resources}/transactions/operations/transaction-preview-request-body.d.ts +0 -0
  1531. /package/dist/{resources → types/resources}/transactions/operations/update-transaction-query-parameters.d.ts +0 -0
  1532. /package/dist/{resources → types/resources}/transactions/operations/update-transaction-request-body.d.ts +0 -0
  1533. /package/dist/types/{address → types/address}/address-response.d.ts +0 -0
  1534. /package/dist/types/{adjustment → types/adjustment}/adjustment-item-response.d.ts +0 -0
  1535. /package/dist/types/{adjustment → types/adjustment}/adjustment-response.d.ts +0 -0
  1536. /package/dist/types/{adjustment → types/adjustment}/adjustments-proration-response.d.ts +0 -0
  1537. /package/dist/types/{adjustment → types/adjustment}/adjustments-time-period-response.d.ts +0 -0
  1538. /package/dist/types/{business → types/business}/business-response.d.ts +0 -0
  1539. /package/dist/types/{business → types/business}/businesses-contacts.d.ts +0 -0
  1540. /package/dist/types/{customer → types/customer}/credit-balance-response.d.ts +0 -0
  1541. /package/dist/types/{customer → types/customer}/customer-balance.d.ts +0 -0
  1542. /package/dist/types/{customer → types/customer}/customer-response.d.ts +0 -0
  1543. /package/dist/types/{discount → types/discount}/discount-response.d.ts +0 -0
  1544. /package/dist/types/{event-types → types/event-types}/event-type-response.d.ts +0 -0
  1545. /package/dist/types/{events → types/events}/events-response.d.ts +0 -0
  1546. /package/dist/types/{notification-settings → types/notification-settings}/notification-settings-response.d.ts +0 -0
  1547. /package/dist/types/{notifications → types/notifications}/notification-log.d.ts +0 -0
  1548. /package/dist/types/{notifications → types/notifications}/notification.d.ts +0 -0
  1549. /package/dist/types/{notifications → types/notifications}/replay-notification.d.ts +0 -0
  1550. /package/dist/types/{payout → types/payout}/payout-response.d.ts +0 -0
  1551. /package/dist/types/{price → types/price}/non-catalog-price-request.d.ts +0 -0
  1552. /package/dist/types/{price → types/price}/subscription-non-catalog-price-request.d.ts +0 -0
  1553. /package/dist/types/{pricing-preview → types/pricing-preview}/pricing-preview-details-response.d.ts +0 -0
  1554. /package/dist/types/{pricing-preview → types/pricing-preview}/pricing-preview-discounts-response.d.ts +0 -0
  1555. /package/dist/types/{pricing-preview → types/pricing-preview}/pricing-preview-item-response.d.ts +0 -0
  1556. /package/dist/types/{pricing-preview → types/pricing-preview}/pricing-preview-line-item-response.d.ts +0 -0
  1557. /package/dist/types/{pricing-preview → types/pricing-preview}/pricing-preview-response.d.ts +0 -0
  1558. /package/dist/types/{product → types/product}/product-response.d.ts +0 -0
  1559. /package/dist/types/{report → types/report}/report-filters.d.ts +0 -0
  1560. /package/dist/types/{report → types/report}/report.d.ts +0 -0
  1561. /package/dist/types/{report → types/report}/reports-csv.d.ts +0 -0
  1562. /package/dist/types/{shared → types/shared}/adjustment-item-totals.d.ts +0 -0
  1563. /package/dist/types/{shared → types/shared}/adjustment-original-amount-response.d.ts +0 -0
  1564. /package/dist/types/{shared → types/shared}/billing-details-create.d.ts +0 -0
  1565. /package/dist/types/{shared → types/shared}/billing-details-response.d.ts +0 -0
  1566. /package/dist/types/{shared → types/shared}/billing-details-update.d.ts +0 -0
  1567. /package/dist/types/{shared → types/shared}/chargeback-fee.d.ts +0 -0
  1568. /package/dist/types/{shared → types/shared}/custom-data.d.ts +0 -0
  1569. /package/dist/types/{shared → types/shared}/import-meta-response.d.ts +0 -0
  1570. /package/dist/types/{shared → types/shared}/money-response.d.ts +0 -0
  1571. /package/dist/types/{shared → types/shared}/money.d.ts +0 -0
  1572. /package/dist/types/{shared → types/shared}/payment-card-response.d.ts +0 -0
  1573. /package/dist/types/{shared → types/shared}/payment-method-details.d.ts +0 -0
  1574. /package/dist/types/{shared → types/shared}/payout-totals-adjustment-response.d.ts +0 -0
  1575. /package/dist/types/{shared → types/shared}/price-quantity.d.ts +0 -0
  1576. /package/dist/types/{shared → types/shared}/tax-rates-used-response.d.ts +0 -0
  1577. /package/dist/types/{shared → types/shared}/time-period.d.ts +0 -0
  1578. /package/dist/types/{shared → types/shared}/total-adjustments-response.d.ts +0 -0
  1579. /package/dist/types/{shared → types/shared}/totals.d.ts +0 -0
  1580. /package/dist/types/{shared → types/shared}/transaction-checkout.d.ts +0 -0
  1581. /package/dist/types/{shared → types/shared}/transaction-details-preview-response.d.ts +0 -0
  1582. /package/dist/types/{shared → types/shared}/transaction-line-item-preview-response.d.ts +0 -0
  1583. /package/dist/types/{shared → types/shared}/transaction-payment-attempt-response.d.ts +0 -0
  1584. /package/dist/types/{shared → types/shared}/transaction-payout-totals-adjusted-response.d.ts +0 -0
  1585. /package/dist/types/{shared → types/shared}/transaction-payout-totals-response.d.ts +0 -0
  1586. /package/dist/types/{shared → types/shared}/transaction-totals-adjusted-response.d.ts +0 -0
  1587. /package/dist/types/{shared → types/shared}/transaction-totals-response.d.ts +0 -0
  1588. /package/dist/types/{shared → types/shared}/unit-price-override-response.d.ts +0 -0
  1589. /package/dist/types/{shared → types/shared}/unit-price-override.d.ts +0 -0
  1590. /package/dist/types/{shared → types/shared}/unit-totals.d.ts +0 -0
  1591. /package/dist/types/{subscription → types/subscription}/next-transaction-response.d.ts +0 -0
  1592. /package/dist/types/{subscription → types/subscription}/subscription-discount-response.d.ts +0 -0
  1593. /package/dist/types/{subscription → types/subscription}/subscription-item-response.d.ts +0 -0
  1594. /package/dist/types/{subscription → types/subscription}/subscription-management-response.d.ts +0 -0
  1595. /package/dist/types/{subscription → types/subscription}/subscription-preview-response.d.ts +0 -0
  1596. /package/dist/types/{subscription → types/subscription}/subscription-preview-update-summary.d.ts +0 -0
  1597. /package/dist/types/{subscription → types/subscription}/subscription-response.d.ts +0 -0
  1598. /package/dist/types/{subscription → types/subscription}/subscription-result-response.d.ts +0 -0
  1599. /package/dist/types/{subscription → types/subscription}/subscription-scheduled-change-response.d.ts +0 -0
  1600. /package/dist/types/{subscription → types/subscription}/subscription-time-period-response.d.ts +0 -0
  1601. /package/dist/types/{subscription → types/subscription}/subscription-update-item.d.ts +0 -0
  1602. /package/dist/types/{transaction → types/transaction}/adjustment-totals-breakdown.d.ts +0 -0
  1603. /package/dist/types/{transaction → types/transaction}/adjustment-totals-response.d.ts +0 -0
  1604. /package/dist/types/{transaction → types/transaction}/transaction-adjustment-item-response.d.ts +0 -0
  1605. /package/dist/types/{transaction → types/transaction}/transaction-adjustment-response.d.ts +0 -0
  1606. /package/dist/types/{transaction → types/transaction}/transaction-details-response.d.ts +0 -0
  1607. /package/dist/types/{transaction → types/transaction}/transaction-invoice-pdf.d.ts +0 -0
  1608. /package/dist/types/{transaction → types/transaction}/transaction-item-response.d.ts +0 -0
  1609. /package/dist/types/{transaction → types/transaction}/transaction-item.d.ts +0 -0
  1610. /package/dist/types/{transaction → types/transaction}/transaction-line-item-response.d.ts +0 -0
  1611. /package/dist/types/{transaction → types/transaction}/transaction-preview-item.d.ts +0 -0
  1612. /package/dist/types/{transaction → types/transaction}/transaction-preview-response.d.ts +0 -0
  1613. /package/dist/types/{transaction → types/transaction}/transaction-proration-response.d.ts +0 -0
  1614. /package/dist/types/{transaction → types/transaction}/transaction-response.d.ts +0 -0
  1615. /package/dist/types/{transaction → types/transaction}/transactions-time-period-response.d.ts +0 -0
  1616. /package/dist/types/{transaction → types/transaction}/transactions-time-period.d.ts +0 -0
package/CHANGELOG.md CHANGED
@@ -12,6 +12,22 @@ When we make [non-breaking changes](https://developer.paddle.com/api-reference/a
12
12
 
13
13
  This means when upgrading minor versions of the SDK, you may notice type errors. You can safely ignore these or fix by adding additional type guards.
14
14
 
15
+ ## 1.3.0-beta.0 - 2024-03-26
16
+
17
+ ### Changed
18
+
19
+ - Updated the package to export both CommonJS and ES module formats.
20
+
21
+ ---
22
+
23
+ ## 1.2.1 - 2024-03-20
24
+
25
+ ### Fixed
26
+
27
+ - Handled missing `unitPriceOverrides` in the `subscriptions.getPaymentMethodChangeTransaction` operation.
28
+
29
+ ---
30
+
15
31
  ## 1.2.0 - 2024-03-19
16
32
 
17
33
  ### Changed
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Price = void 0;
4
+ const index_1 = require("../index");
5
+ class Price {
6
+ constructor(price) {
7
+ var _a, _b;
8
+ this.id = price.id;
9
+ this.productId = price.product_id;
10
+ this.description = price.description;
11
+ this.type = price.type;
12
+ this.name = price.name ? price.name : null;
13
+ this.billingCycle = price.billing_cycle ? new index_1.TimePeriod(price.billing_cycle) : null;
14
+ this.trialPeriod = price.trial_period ? new index_1.TimePeriod(price.trial_period) : null;
15
+ this.taxMode = price.tax_mode;
16
+ this.unitPrice = new index_1.Money(price.unit_price);
17
+ this.unitPriceOverrides =
18
+ (_b = (_a = price.unit_price_overrides) === null || _a === void 0 ? void 0 : _a.map((unit_price_override) => new index_1.UnitPriceOverride(unit_price_override))) !== null && _b !== void 0 ? _b : [];
19
+ this.quantity = new index_1.PriceQuantity(price.quantity);
20
+ this.status = price.status;
21
+ this.createdAt = price.created_at;
22
+ this.updatedAt = price.updated_at;
23
+ this.customData = price.custom_data ? price.custom_data : null;
24
+ this.importMeta = price.import_meta ? new index_1.ImportMeta(price.import_meta) : null;
25
+ this.product = price.product ? new index_1.Product(price.product) : null;
26
+ }
27
+ }
28
+ exports.Price = Price;
@@ -0,0 +1,100 @@
1
+ "use strict";
2
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
+ return new (P || (P = Promise))(function (resolve, reject) {
5
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
9
+ });
10
+ };
11
+ var __importDefault = (this && this.__importDefault) || function (mod) {
12
+ return (mod && mod.__esModule) ? mod : { "default": mod };
13
+ };
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.Client = void 0;
16
+ const constants_1 = require("./constants");
17
+ const node_fetch_1 = __importDefault(require("node-fetch"));
18
+ const version_1 = require("../../version");
19
+ const environment_1 = require("./environment");
20
+ const node_crypto_1 = require("node:crypto");
21
+ const logger_1 = require("../base/logger");
22
+ const case_helpers_1 = require("./case-helpers");
23
+ class Client {
24
+ constructor(apiKey, options) {
25
+ this.apiKey = apiKey;
26
+ this.options = options;
27
+ this.baseUrl = this.getBaseUrl(this.options.environment);
28
+ }
29
+ getBaseUrl(environment) {
30
+ const urlBasedOnEnv = constants_1.API_ENVIRONMENT_TO_BASE_URL_MAP[environment !== null && environment !== void 0 ? environment : environment_1.Environment.production];
31
+ return urlBasedOnEnv || environment;
32
+ }
33
+ getHeaders() {
34
+ const uuid = (0, node_crypto_1.randomUUID)();
35
+ return {
36
+ Authorization: `bearer ${this.apiKey}`,
37
+ 'Content-Type': 'application/json',
38
+ 'user-agent': `PaddleSDK/node ${version_1.SDK_VERSION}`,
39
+ 'X-Transaction-ID': uuid,
40
+ };
41
+ }
42
+ get(url, queryParams) {
43
+ return __awaiter(this, void 0, void 0, function* () {
44
+ let finalUrl = url.includes(this.baseUrl) ? url : `${this.baseUrl}${url}`;
45
+ if (!finalUrl.includes('?') && queryParams) {
46
+ finalUrl += queryParams.toQueryString();
47
+ }
48
+ const logUrl = finalUrl.split('?')[0];
49
+ const headers = this.getHeaders();
50
+ logger_1.Logger.logRequest('GET', logUrl, headers);
51
+ const rawResponse = yield (0, node_fetch_1.default)(finalUrl, {
52
+ headers,
53
+ });
54
+ logger_1.Logger.logResponse('GET', logUrl, headers, rawResponse);
55
+ return rawResponse.json();
56
+ });
57
+ }
58
+ post(url, requestBody) {
59
+ return __awaiter(this, void 0, void 0, function* () {
60
+ const logUrl = url.split('?')[0];
61
+ const headers = this.getHeaders();
62
+ logger_1.Logger.logRequest('POST', logUrl, headers);
63
+ const rawResponse = yield (0, node_fetch_1.default)(`${this.baseUrl}${url}`, {
64
+ method: 'POST',
65
+ body: JSON.stringify((0, case_helpers_1.convertToSnakeCase)(requestBody)),
66
+ headers,
67
+ });
68
+ logger_1.Logger.logResponse('POST', logUrl, headers, rawResponse);
69
+ return rawResponse.json();
70
+ });
71
+ }
72
+ patch(url, requestBody) {
73
+ return __awaiter(this, void 0, void 0, function* () {
74
+ const logUrl = url.split('?')[0];
75
+ const headers = this.getHeaders();
76
+ logger_1.Logger.logRequest('PATCH', logUrl, headers);
77
+ const rawResponse = yield (0, node_fetch_1.default)(`${this.baseUrl}${url}`, {
78
+ method: 'PATCH',
79
+ body: JSON.stringify((0, case_helpers_1.convertToSnakeCase)(requestBody)),
80
+ headers,
81
+ });
82
+ logger_1.Logger.logResponse('PATCH', logUrl, headers, rawResponse);
83
+ return rawResponse.json();
84
+ });
85
+ }
86
+ delete(url) {
87
+ return __awaiter(this, void 0, void 0, function* () {
88
+ const logUrl = url.split('?')[0];
89
+ const headers = this.getHeaders();
90
+ logger_1.Logger.logRequest('DELETE', logUrl, headers);
91
+ const rawResponse = yield (0, node_fetch_1.default)(`${this.baseUrl}${url}`, {
92
+ method: 'DELETE',
93
+ headers,
94
+ });
95
+ logger_1.Logger.logResponse('DELETE', logUrl, headers, rawResponse);
96
+ return rawResponse;
97
+ });
98
+ }
99
+ }
100
+ exports.Client = Client;
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PriceNotification = void 0;
4
+ const index_1 = require("../index");
5
+ class PriceNotification {
6
+ constructor(price) {
7
+ var _a, _b, _c, _d;
8
+ this.id = price.id;
9
+ this.productId = price.product_id;
10
+ this.description = price.description;
11
+ this.type = price.type ? price.type : null;
12
+ this.name = price.name ? price.name : null;
13
+ this.billingCycle = price.billing_cycle ? new index_1.TimePeriodNotification(price.billing_cycle) : null;
14
+ this.trialPeriod = price.trial_period ? new index_1.TimePeriodNotification(price.trial_period) : null;
15
+ this.taxMode = price.tax_mode;
16
+ this.unitPrice = new index_1.MoneyNotification(price.unit_price);
17
+ this.unitPriceOverrides =
18
+ (_b = (_a = price.unit_price_overrides) === null || _a === void 0 ? void 0 : _a.map((unit_price_override) => new index_1.UnitPriceOverrideNotification(unit_price_override))) !== null && _b !== void 0 ? _b : [];
19
+ this.quantity = new index_1.PriceQuantityNotification(price.quantity);
20
+ this.status = price.status;
21
+ this.createdAt = (_c = price.created_at) !== null && _c !== void 0 ? _c : null;
22
+ this.updatedAt = (_d = price.updated_at) !== null && _d !== void 0 ? _d : null;
23
+ this.customData = price.custom_data ? price.custom_data : null;
24
+ this.importMeta = price.import_meta ? new index_1.ImportMetaNotification(price.import_meta) : null;
25
+ }
26
+ }
27
+ exports.PriceNotification = PriceNotification;
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.WebhooksValidator = void 0;
4
+ const node_crypto_1 = require("node:crypto");
5
+ class WebhooksValidator {
6
+ extractHeader(header) {
7
+ const parts = header.split(';');
8
+ let ts = '';
9
+ let h1 = '';
10
+ for (const part of parts) {
11
+ const [key, value] = part.split('=');
12
+ if (value) {
13
+ if (key === 'ts') {
14
+ ts = value;
15
+ }
16
+ else if (key === 'h1') {
17
+ h1 = value;
18
+ }
19
+ }
20
+ }
21
+ if (ts && h1) {
22
+ return { ts: parseInt(ts), h1 };
23
+ }
24
+ else {
25
+ throw new Error('[Paddle] Invalid webhook signature');
26
+ }
27
+ }
28
+ isValidSignature(requestBody, secretKey, signature) {
29
+ const headers = this.extractHeader(signature);
30
+ const payloadWithTime = `${headers.ts}:${requestBody}`;
31
+ if (new Date().getTime() > new Date((headers.ts + WebhooksValidator.MAX_VALID_TIME_DIFFERENCE) * 1000).getTime()) {
32
+ return false;
33
+ }
34
+ const hmac = (0, node_crypto_1.createHmac)('sha256', secretKey);
35
+ hmac.update(payloadWithTime);
36
+ const computedHash = hmac.digest('hex');
37
+ return computedHash === headers.h1;
38
+ }
39
+ }
40
+ exports.WebhooksValidator = WebhooksValidator;
41
+ WebhooksValidator.MAX_VALID_TIME_DIFFERENCE = 5;
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SDK_VERSION = void 0;
4
+ exports.SDK_VERSION = '1.3.0-beta.0';
@@ -0,0 +1,7 @@
1
+ import { Address } from './address';
2
+ import { Collection } from '../../internal/base';
3
+ export class AddressCollection extends Collection {
4
+ fromJson(data) {
5
+ return new Address(data);
6
+ }
7
+ }
@@ -0,0 +1,19 @@
1
+ import { ImportMeta } from '../index';
2
+ export class Address {
3
+ constructor(address) {
4
+ this.id = address.id;
5
+ this.customerId = address.customer_id;
6
+ this.description = address.description ? address.description : null;
7
+ this.firstLine = address.first_line ? address.first_line : null;
8
+ this.secondLine = address.second_line ? address.second_line : null;
9
+ this.city = address.city ? address.city : null;
10
+ this.postalCode = address.postal_code ? address.postal_code : null;
11
+ this.region = address.region ? address.region : null;
12
+ this.countryCode = address.country_code;
13
+ this.customData = address.custom_data ? address.custom_data : null;
14
+ this.status = address.status;
15
+ this.createdAt = address.created_at;
16
+ this.updatedAt = address.updated_at;
17
+ this.importMeta = address.import_meta ? new ImportMeta(address.import_meta) : null;
18
+ }
19
+ }
@@ -0,0 +1,7 @@
1
+ import { Adjustment } from './adjustment';
2
+ import { Collection } from '../../internal/base';
3
+ export class AdjustmentCollection extends Collection {
4
+ fromJson(data) {
5
+ return new Adjustment(data);
6
+ }
7
+ }
@@ -0,0 +1,7 @@
1
+ export class AdjustmentItemTotals {
2
+ constructor(adjustmentItemTotals) {
3
+ this.subtotal = adjustmentItemTotals.subtotal;
4
+ this.tax = adjustmentItemTotals.tax;
5
+ this.total = adjustmentItemTotals.total;
6
+ }
7
+ }
@@ -0,0 +1,11 @@
1
+ import { AdjustmentItemTotals, AdjustmentProration } from '../index';
2
+ export class AdjustmentItem {
3
+ constructor(adjustmentItem) {
4
+ this.id = adjustmentItem.id;
5
+ this.itemId = adjustmentItem.item_id;
6
+ this.type = adjustmentItem.type;
7
+ this.amount = adjustmentItem.amount ? adjustmentItem.amount : null;
8
+ this.proration = adjustmentItem.proration ? new AdjustmentProration(adjustmentItem.proration) : null;
9
+ this.totals = adjustmentItem.totals ? new AdjustmentItemTotals(adjustmentItem.totals) : null;
10
+ }
11
+ }
@@ -0,0 +1,9 @@
1
+ import { AdjustmentTimePeriod } from '../index';
2
+ export class AdjustmentProration {
3
+ constructor(adjustmentsProration) {
4
+ this.rate = adjustmentsProration.rate;
5
+ this.billingPeriod = adjustmentsProration.billing_period
6
+ ? new AdjustmentTimePeriod(adjustmentsProration.billing_period)
7
+ : null;
8
+ }
9
+ }
@@ -0,0 +1,6 @@
1
+ export class AdjustmentTimePeriod {
2
+ constructor(adjustmentsTimePeriod) {
3
+ this.startsAt = adjustmentsTimePeriod.starts_at;
4
+ this.endsAt = adjustmentsTimePeriod.ends_at;
5
+ }
6
+ }
@@ -0,0 +1,19 @@
1
+ import { AdjustmentItem, PayoutTotalsAdjustment, TotalAdjustments } from '../index';
2
+ export class Adjustment {
3
+ constructor(adjustment) {
4
+ this.id = adjustment.id;
5
+ this.action = adjustment.action;
6
+ this.transactionId = adjustment.transaction_id;
7
+ this.subscriptionId = adjustment.subscription_id ? adjustment.subscription_id : null;
8
+ this.customerId = adjustment.customer_id;
9
+ this.reason = adjustment.reason;
10
+ this.creditAppliedToBalance = adjustment.credit_applied_to_balance;
11
+ this.currencyCode = adjustment.currency_code;
12
+ this.status = adjustment.status;
13
+ this.items = adjustment.items.map((item) => new AdjustmentItem(item));
14
+ this.totals = new TotalAdjustments(adjustment.totals);
15
+ this.payoutTotals = adjustment.payout_totals ? new PayoutTotalsAdjustment(adjustment.payout_totals) : null;
16
+ this.createdAt = adjustment.created_at;
17
+ this.updatedAt = adjustment.updated_at;
18
+ }
19
+ }
@@ -0,0 +1,7 @@
1
+ import { Business } from './business';
2
+ import { Collection } from '../../internal/base';
3
+ export class BusinessCollection extends Collection {
4
+ fromJson(data) {
5
+ return new Business(data);
6
+ }
7
+ }
@@ -0,0 +1,16 @@
1
+ import { Contacts, ImportMeta } from '../index';
2
+ export class Business {
3
+ constructor(business) {
4
+ this.id = business.id;
5
+ this.customerId = business.customer_id;
6
+ this.name = business.name;
7
+ this.companyNumber = business.company_number ? business.company_number : null;
8
+ this.taxIdentifier = business.tax_identifier ? business.tax_identifier : null;
9
+ this.status = business.status;
10
+ this.contacts = business.contacts ? business.contacts.map((contact) => new Contacts(contact)) : null;
11
+ this.createdAt = business.created_at;
12
+ this.updatedAt = business.updated_at;
13
+ this.customData = business.custom_data ? business.custom_data : null;
14
+ this.importMeta = business.import_meta ? new ImportMeta(business.import_meta) : null;
15
+ }
16
+ }
@@ -0,0 +1,6 @@
1
+ export class Contacts {
2
+ constructor(contacts) {
3
+ this.name = contacts.name ? contacts.name : null;
4
+ this.email = contacts.email;
5
+ }
6
+ }
@@ -0,0 +1,8 @@
1
+ import { CustomerBalance } from '../index';
2
+ export class CreditBalance {
3
+ constructor(creditBalance) {
4
+ this.customerId = creditBalance.customer_id ? creditBalance.customer_id : null;
5
+ this.currencyCode = creditBalance.currency_code ? creditBalance.currency_code : null;
6
+ this.balance = creditBalance.balance ? new CustomerBalance(creditBalance.balance) : null;
7
+ }
8
+ }
@@ -0,0 +1,7 @@
1
+ export class CustomerBalance {
2
+ constructor(customerBalance) {
3
+ this.available = customerBalance.available;
4
+ this.reserved = customerBalance.reserved;
5
+ this.used = customerBalance.used;
6
+ }
7
+ }
@@ -0,0 +1,7 @@
1
+ import { Customer } from './customer';
2
+ import { Collection } from '../../internal/base';
3
+ export class CustomerCollection extends Collection {
4
+ fromJson(data) {
5
+ return new Customer(data);
6
+ }
7
+ }
@@ -0,0 +1,15 @@
1
+ import { ImportMeta } from '../index';
2
+ export class Customer {
3
+ constructor(customer) {
4
+ this.id = customer.id;
5
+ this.name = customer.name ? customer.name : null;
6
+ this.email = customer.email;
7
+ this.marketingConsent = customer.marketing_consent;
8
+ this.status = customer.status;
9
+ this.customData = customer.custom_data ? customer.custom_data : null;
10
+ this.locale = customer.locale;
11
+ this.createdAt = customer.created_at;
12
+ this.updatedAt = customer.updated_at;
13
+ this.importMeta = customer.import_meta ? new ImportMeta(customer.import_meta) : null;
14
+ }
15
+ }
@@ -0,0 +1,7 @@
1
+ import { Discount } from './discount';
2
+ import { Collection } from '../../internal/base';
3
+ export class DiscountCollection extends Collection {
4
+ fromJson(data) {
5
+ return new Discount(data);
6
+ }
7
+ }
@@ -0,0 +1,24 @@
1
+ import { ImportMeta } from '../index';
2
+ export class Discount {
3
+ constructor(discount) {
4
+ var _a;
5
+ this.id = discount.id;
6
+ this.status = discount.status;
7
+ this.description = discount.description;
8
+ this.enabledForCheckout = discount.enabled_for_checkout;
9
+ this.code = discount.code ? discount.code : null;
10
+ this.type = discount.type;
11
+ this.amount = discount.amount;
12
+ this.currencyCode = discount.currency_code ? discount.currency_code : null;
13
+ this.recur = discount.recur;
14
+ this.maximumRecurringIntervals = discount.maximum_recurring_intervals ? discount.maximum_recurring_intervals : null;
15
+ this.usageLimit = discount.usage_limit ? discount.usage_limit : null;
16
+ this.restrictTo = discount.restrict_to ? discount.restrict_to : null;
17
+ this.expiresAt = discount.expires_at ? discount.expires_at : null;
18
+ this.customData = discount.custom_data ? discount.custom_data : null;
19
+ this.timesUsed = (_a = discount.times_used) !== null && _a !== void 0 ? _a : null;
20
+ this.createdAt = discount.created_at;
21
+ this.updatedAt = discount.updated_at;
22
+ this.importMeta = discount.import_meta ? new ImportMeta(discount.import_meta) : null;
23
+ }
24
+ }
@@ -0,0 +1,8 @@
1
+ export class EventType {
2
+ constructor(eventType) {
3
+ this.name = eventType.name;
4
+ this.description = eventType.description;
5
+ this.group = eventType.group;
6
+ this.availableVersions = eventType.available_versions;
7
+ }
8
+ }
@@ -0,0 +1,7 @@
1
+ import { Collection } from '../../internal/base';
2
+ import { Webhooks } from '../../notifications';
3
+ export class EventCollection extends Collection {
4
+ fromJson(data) {
5
+ return Webhooks.fromJson(data);
6
+ }
7
+ }
@@ -0,0 +1,10 @@
1
+ export class Event {
2
+ constructor(eventData) {
3
+ var _a;
4
+ this.eventId = eventData.event_id;
5
+ this.notificationId = (_a = eventData.notification_id) !== null && _a !== void 0 ? _a : null;
6
+ this.eventType = eventData.event_type;
7
+ this.occurredAt = eventData.occurred_at;
8
+ this.data = eventData.data;
9
+ }
10
+ }
@@ -0,0 +1,16 @@
1
+ export * from './shared';
2
+ export * from './product';
3
+ export * from './price';
4
+ export * from './transaction';
5
+ export * from './adjustment';
6
+ export * from './customer';
7
+ export * from './business';
8
+ export * from './subscription';
9
+ export * from './address';
10
+ export * from './discount';
11
+ export * from './events';
12
+ export * from './payout';
13
+ export * from './event-types';
14
+ export * from './notification-settings';
15
+ export * from './notifications';
16
+ export * from './report';
@@ -0,0 +1,14 @@
1
+ import { EventType } from '../event-types';
2
+ export class NotificationSettings {
3
+ constructor(notificationSettings) {
4
+ this.id = notificationSettings.id;
5
+ this.description = notificationSettings.description;
6
+ this.type = notificationSettings.type;
7
+ this.destination = notificationSettings.destination;
8
+ this.active = notificationSettings.active;
9
+ this.apiVersion = notificationSettings.api_version;
10
+ this.includeSensitiveFields = notificationSettings.include_sensitive_fields;
11
+ this.subscribedEvents = notificationSettings.subscribed_events.map((subscribed_event) => new EventType(subscribed_event));
12
+ this.endpointSecretKey = notificationSettings.endpoint_secret_key;
13
+ }
14
+ }
@@ -0,0 +1,7 @@
1
+ import { Collection } from '../../internal/base';
2
+ import { Notification } from './notification';
3
+ export class NotificationCollection extends Collection {
4
+ fromJson(data) {
5
+ return new Notification(data);
6
+ }
7
+ }
@@ -0,0 +1,7 @@
1
+ import { Collection } from '../../internal/base';
2
+ import { NotificationLog } from './notification-log';
3
+ export class NotificationLogCollection extends Collection {
4
+ fromJson(data) {
5
+ return new NotificationLog(data);
6
+ }
7
+ }
@@ -0,0 +1,10 @@
1
+ export class NotificationLog {
2
+ constructor(notificationLogResponse) {
3
+ var _a;
4
+ this.id = notificationLogResponse.id;
5
+ this.responseCode = notificationLogResponse.response_code;
6
+ this.responseContentType = (_a = notificationLogResponse.response_content_type) !== null && _a !== void 0 ? _a : null;
7
+ this.responseBody = notificationLogResponse.response_body;
8
+ this.attemptedAt = notificationLogResponse.attempted_at;
9
+ }
10
+ }
@@ -0,0 +1,18 @@
1
+ import { Webhooks } from '../../notifications';
2
+ export class Notification {
3
+ constructor(notificationResponse) {
4
+ var _a, _b, _c, _d;
5
+ this.id = notificationResponse.id;
6
+ this.type = notificationResponse.type;
7
+ this.status = notificationResponse.status;
8
+ this.payload = Webhooks.fromJson(notificationResponse.payload);
9
+ this.occurredAt = notificationResponse.occurred_at;
10
+ this.deliveredAt = (_a = notificationResponse.delivered_at) !== null && _a !== void 0 ? _a : null;
11
+ this.replayedAt = (_b = notificationResponse.replayed_at) !== null && _b !== void 0 ? _b : null;
12
+ this.origin = notificationResponse.origin;
13
+ this.lastAttemptAt = (_c = notificationResponse.last_attempt_at) !== null && _c !== void 0 ? _c : null;
14
+ this.retryAt = (_d = notificationResponse.retry_at) !== null && _d !== void 0 ? _d : null;
15
+ this.timesAttempted = notificationResponse.times_attempted;
16
+ this.notificationSettingId = notificationResponse.notification_setting_id;
17
+ }
18
+ }
@@ -0,0 +1,5 @@
1
+ export class ReplayNotification {
2
+ constructor(notificationResponse) {
3
+ this.notificationId = notificationResponse.notification_id;
4
+ }
5
+ }
@@ -0,0 +1,8 @@
1
+ export class Payout {
2
+ constructor(payout) {
3
+ this.id = payout.id;
4
+ this.status = payout.status;
5
+ this.amount = payout.amount;
6
+ this.currencyCode = payout.currency_code;
7
+ }
8
+ }
@@ -0,0 +1,7 @@
1
+ import { Collection } from '../../internal/base';
2
+ import { Price } from './price';
3
+ export class PriceCollection extends Collection {
4
+ fromJson(data) {
5
+ return new Price(data);
6
+ }
7
+ }
@@ -0,0 +1,6 @@
1
+ export class PriceQuantity {
2
+ constructor(priceQuantity) {
3
+ this.minimum = priceQuantity.minimum;
4
+ this.maximum = priceQuantity.maximum;
5
+ }
6
+ }
@@ -0,0 +1,24 @@
1
+ import { ImportMeta, Money, PriceQuantity, Product, TimePeriod, UnitPriceOverride } from '../index';
2
+ export class Price {
3
+ constructor(price) {
4
+ var _a, _b;
5
+ this.id = price.id;
6
+ this.productId = price.product_id;
7
+ this.description = price.description;
8
+ this.type = price.type;
9
+ this.name = price.name ? price.name : null;
10
+ this.billingCycle = price.billing_cycle ? new TimePeriod(price.billing_cycle) : null;
11
+ this.trialPeriod = price.trial_period ? new TimePeriod(price.trial_period) : null;
12
+ this.taxMode = price.tax_mode;
13
+ this.unitPrice = new Money(price.unit_price);
14
+ this.unitPriceOverrides =
15
+ (_b = (_a = price.unit_price_overrides) === null || _a === void 0 ? void 0 : _a.map((unit_price_override) => new UnitPriceOverride(unit_price_override))) !== null && _b !== void 0 ? _b : [];
16
+ this.quantity = new PriceQuantity(price.quantity);
17
+ this.status = price.status;
18
+ this.createdAt = price.created_at;
19
+ this.updatedAt = price.updated_at;
20
+ this.customData = price.custom_data ? price.custom_data : null;
21
+ this.importMeta = price.import_meta ? new ImportMeta(price.import_meta) : null;
22
+ this.product = price.product ? new Product(price.product) : null;
23
+ }
24
+ }
@@ -0,0 +1,6 @@
1
+ import { PricingPreviewLineItem } from './pricing-preview-line-item';
2
+ export class PricingPreviewDetails {
3
+ constructor(details) {
4
+ this.lineItems = details.line_items.map((line_item) => new PricingPreviewLineItem(line_item));
5
+ }
6
+ }
@@ -0,0 +1,8 @@
1
+ import { Discount } from '../index';
2
+ export class PricingPreviewDiscounts {
3
+ constructor(previewDiscount) {
4
+ this.discount = new Discount(previewDiscount.discount);
5
+ this.total = previewDiscount.total;
6
+ this.formattedTotal = previewDiscount.formatted_total;
7
+ }
8
+ }