@paddle/paddle-node-sdk 1.4.0-beta.0 → 1.4.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 (969) hide show
  1. package/CHANGELOG.md +3 -3
  2. package/LICENSE +1 -12
  3. package/README.md +7 -0
  4. package/dist/cjs/entities/address/address-collection.js +4 -4
  5. package/dist/cjs/entities/address/address.js +2 -2
  6. package/dist/cjs/entities/address/index.js +2 -2
  7. package/dist/cjs/entities/adjustment/adjustment-collection.js +4 -4
  8. package/dist/cjs/entities/adjustment/adjustment-item.js +3 -4
  9. package/dist/cjs/entities/adjustment/adjustment-proration.js +2 -2
  10. package/dist/cjs/entities/adjustment/adjustment.js +4 -5
  11. package/dist/cjs/entities/adjustment/index.js +6 -6
  12. package/dist/cjs/entities/business/business-collection.js +4 -4
  13. package/dist/cjs/entities/business/business.js +3 -4
  14. package/dist/cjs/entities/business/index.js +3 -3
  15. package/dist/cjs/entities/customer/credit-balance.js +2 -2
  16. package/dist/cjs/entities/customer/customer-collection.js +4 -4
  17. package/dist/cjs/entities/customer/customer.js +2 -2
  18. package/dist/cjs/entities/customer/index.js +4 -4
  19. package/dist/cjs/entities/discount/discount-collection.js +4 -4
  20. package/dist/cjs/entities/discount/discount.js +2 -2
  21. package/dist/cjs/entities/discount/index.js +2 -2
  22. package/dist/cjs/entities/event-types/index.js +1 -1
  23. package/dist/cjs/entities/events/event-collection.js +4 -4
  24. package/dist/cjs/entities/events/index.js +1 -1
  25. package/dist/cjs/entities/index.js +16 -16
  26. package/dist/cjs/entities/notification-settings/index.js +1 -1
  27. package/dist/cjs/entities/notification-settings/notification-settings.js +2 -2
  28. package/dist/cjs/entities/notifications/index.js +5 -5
  29. package/dist/cjs/entities/notifications/notification-collection.js +4 -4
  30. package/dist/cjs/entities/notifications/notification-log-collection.js +4 -4
  31. package/dist/cjs/entities/notifications/notification.js +2 -2
  32. package/dist/cjs/entities/payout/index.js +1 -1
  33. package/dist/cjs/entities/price/index.js +3 -3
  34. package/dist/cjs/entities/price/price-collection.js +4 -4
  35. package/dist/cjs/entities/price/price.js +8 -10
  36. package/dist/cjs/entities/pricing-preview/index.js +4 -4
  37. package/dist/cjs/entities/pricing-preview/pricing-preview-details.js +2 -2
  38. package/dist/cjs/entities/pricing-preview/pricing-preview-discounts.js +2 -2
  39. package/dist/cjs/entities/pricing-preview/pricing-preview-line-item.js +11 -11
  40. package/dist/cjs/entities/pricing-preview/pricing-preview.js +4 -4
  41. package/dist/cjs/entities/product/index.js +2 -2
  42. package/dist/cjs/entities/product/product-collection.js +4 -4
  43. package/dist/cjs/entities/product/product.js +3 -3
  44. package/dist/cjs/entities/report/index.js +4 -4
  45. package/dist/cjs/entities/report/report-collection.js +4 -4
  46. package/dist/cjs/entities/report/report.js +2 -2
  47. package/dist/cjs/entities/shared/billing-details.js +2 -2
  48. package/dist/cjs/entities/shared/chargeback-fee.js +2 -2
  49. package/dist/cjs/entities/shared/index.js +20 -20
  50. package/dist/cjs/entities/shared/payment-method-details.js +2 -2
  51. package/dist/cjs/entities/shared/payout-totals-adjustment.js +2 -2
  52. package/dist/cjs/entities/shared/tax-rates-used.js +2 -2
  53. package/dist/cjs/entities/shared/transaction-payment-attempt.js +2 -2
  54. package/dist/cjs/entities/shared/transaction-payout-totals-adjusted.js +2 -2
  55. package/dist/cjs/entities/shared/unit-price-override.js +2 -2
  56. package/dist/cjs/entities/subscription/index.js +15 -15
  57. package/dist/cjs/entities/subscription/next-transaction-adjustment-item.js +3 -3
  58. package/dist/cjs/entities/subscription/next-transaction-adjustment-preview.js +4 -4
  59. package/dist/cjs/entities/subscription/next-transaction.js +4 -6
  60. package/dist/cjs/entities/subscription/subscription-collection.js +4 -4
  61. package/dist/cjs/entities/subscription/subscription-item.js +3 -4
  62. package/dist/cjs/entities/subscription/subscription-preview-update-summary.js +4 -5
  63. package/dist/cjs/entities/subscription/subscription-preview.js +13 -19
  64. package/dist/cjs/entities/subscription/subscription.js +11 -17
  65. package/dist/cjs/entities/subscription/transaction-details-preview.js +4 -5
  66. package/dist/cjs/entities/subscription/transaction-line-item-preview.js +4 -5
  67. package/dist/cjs/entities/transaction/adjustment-totals.js +2 -2
  68. package/dist/cjs/entities/transaction/index.js +16 -16
  69. package/dist/cjs/entities/transaction/proration.js +2 -2
  70. package/dist/cjs/entities/transaction/transaction-adjustment-item.js +3 -4
  71. package/dist/cjs/entities/transaction/transaction-adjustment.js +4 -5
  72. package/dist/cjs/entities/transaction/transaction-collection.js +4 -4
  73. package/dist/cjs/entities/transaction/transaction-details.js +7 -8
  74. package/dist/cjs/entities/transaction/transaction-item-preview.js +3 -4
  75. package/dist/cjs/entities/transaction/transaction-item.js +3 -4
  76. package/dist/cjs/entities/transaction/transaction-line-item.js +5 -7
  77. package/dist/cjs/entities/transaction/transaction-preview.js +4 -6
  78. package/dist/cjs/entities/transaction/transaction-proration.js +2 -2
  79. package/dist/cjs/entities/transaction/transaction.js +13 -13
  80. package/dist/cjs/enums/adjustment/index.js +4 -4
  81. package/dist/cjs/enums/discount/index.js +2 -2
  82. package/dist/cjs/enums/index.js +9 -9
  83. package/dist/cjs/enums/notification/index.js +2 -2
  84. package/dist/cjs/enums/notification-settings/index.js +1 -1
  85. package/dist/cjs/enums/payout/index.js +1 -1
  86. package/dist/cjs/enums/report/index.js +4 -4
  87. package/dist/cjs/enums/shared/index.js +15 -15
  88. package/dist/cjs/enums/subscription/index.js +6 -6
  89. package/dist/cjs/enums/transaction/index.js +1 -1
  90. package/dist/cjs/index.js +14 -13
  91. package/dist/cjs/internal/api/case-helpers.js +5 -32
  92. package/dist/cjs/internal/api/client.js +20 -17
  93. package/dist/cjs/internal/api/constants.js +3 -3
  94. package/dist/cjs/internal/api/index.js +7 -5
  95. package/dist/cjs/internal/api/log-level.js +10 -0
  96. package/dist/cjs/internal/base/base-resource.js +2 -2
  97. package/dist/cjs/internal/base/collection.js +2 -2
  98. package/dist/cjs/internal/base/index.js +4 -4
  99. package/dist/cjs/internal/base/logger.js +22 -3
  100. package/dist/cjs/internal/base/query-parameters.js +4 -24
  101. package/dist/cjs/internal/index.js +3 -3
  102. package/dist/cjs/notifications/entities/address/address-notification.js +2 -2
  103. package/dist/cjs/notifications/entities/address/index.js +1 -1
  104. package/dist/cjs/notifications/entities/adjustment/adjustment-item-notification.js +3 -4
  105. package/dist/cjs/notifications/entities/adjustment/adjustment-notification.js +4 -5
  106. package/dist/cjs/notifications/entities/adjustment/adjustment-proration-notification.js +2 -2
  107. package/dist/cjs/notifications/entities/adjustment/index.js +5 -5
  108. package/dist/cjs/notifications/entities/business/business-notification.js +3 -4
  109. package/dist/cjs/notifications/entities/business/index.js +2 -2
  110. package/dist/cjs/notifications/entities/customer/customer-notification.js +2 -2
  111. package/dist/cjs/notifications/entities/customer/index.js +1 -1
  112. package/dist/cjs/notifications/entities/discount/discount-notification.js +2 -2
  113. package/dist/cjs/notifications/entities/discount/index.js +1 -1
  114. package/dist/cjs/notifications/entities/index.js +12 -12
  115. package/dist/cjs/notifications/entities/payout/index.js +1 -1
  116. package/dist/cjs/notifications/entities/price/index.js +2 -2
  117. package/dist/cjs/notifications/entities/price/price-notification.js +7 -8
  118. package/dist/cjs/notifications/entities/product/index.js +1 -1
  119. package/dist/cjs/notifications/entities/product/product-notification.js +2 -2
  120. package/dist/cjs/notifications/entities/report/index.js +2 -2
  121. package/dist/cjs/notifications/entities/report/report-notification.js +2 -2
  122. package/dist/cjs/notifications/entities/shared/billing-details-notification.js +2 -2
  123. package/dist/cjs/notifications/entities/shared/chargeback-fee-notification.js +2 -2
  124. package/dist/cjs/notifications/entities/shared/index.js +20 -20
  125. package/dist/cjs/notifications/entities/shared/payment-method-details-notification.js +2 -2
  126. package/dist/cjs/notifications/entities/shared/payout-totals-adjustment-notification.js +2 -2
  127. package/dist/cjs/notifications/entities/shared/tax-rates-used-notification.js +2 -2
  128. package/dist/cjs/notifications/entities/shared/transaction-payment-attempt-notification.js +2 -2
  129. package/dist/cjs/notifications/entities/shared/transaction-payout-totals-adjusted-notification.js +2 -2
  130. package/dist/cjs/notifications/entities/shared/unit-price-override-notification.js +2 -2
  131. package/dist/cjs/notifications/entities/subscription/index.js +6 -6
  132. package/dist/cjs/notifications/entities/subscription/subscription-item-notification.js +3 -4
  133. package/dist/cjs/notifications/entities/subscription/subscription-notification.js +8 -12
  134. package/dist/cjs/notifications/entities/subscription/subscription-price-notification.js +8 -8
  135. package/dist/cjs/notifications/entities/transaction/index.js +6 -6
  136. package/dist/cjs/notifications/entities/transaction/transaction-details-notification.js +7 -8
  137. package/dist/cjs/notifications/entities/transaction/transaction-item-notification.js +3 -4
  138. package/dist/cjs/notifications/entities/transaction/transaction-line-item-notification.js +5 -7
  139. package/dist/cjs/notifications/entities/transaction/transaction-notification.js +7 -10
  140. package/dist/cjs/notifications/entities/transaction/transaction-proration-notification.js +2 -2
  141. package/dist/cjs/notifications/events/address/address-created-event.js +6 -6
  142. package/dist/cjs/notifications/events/address/address-imported-event.js +6 -6
  143. package/dist/cjs/notifications/events/address/address-updated-event.js +6 -6
  144. package/dist/cjs/notifications/events/address/index.js +3 -3
  145. package/dist/cjs/notifications/events/adjustment/adjustment-created-event.js +6 -6
  146. package/dist/cjs/notifications/events/adjustment/adjustment-updated-event.js +6 -6
  147. package/dist/cjs/notifications/events/adjustment/index.js +2 -2
  148. package/dist/cjs/notifications/events/business/business-created-event.js +6 -6
  149. package/dist/cjs/notifications/events/business/business-imported-event.js +6 -6
  150. package/dist/cjs/notifications/events/business/business-updated-event.js +6 -6
  151. package/dist/cjs/notifications/events/business/index.js +3 -3
  152. package/dist/cjs/notifications/events/customer/customer-created-event.js +6 -6
  153. package/dist/cjs/notifications/events/customer/customer-imported-event.js +6 -6
  154. package/dist/cjs/notifications/events/customer/customer-updated-event.js +6 -6
  155. package/dist/cjs/notifications/events/customer/index.js +3 -3
  156. package/dist/cjs/notifications/events/discount/discount-created-event.js +6 -6
  157. package/dist/cjs/notifications/events/discount/discount-imported-event.js +6 -6
  158. package/dist/cjs/notifications/events/discount/discount-updated-event.js +6 -6
  159. package/dist/cjs/notifications/events/discount/index.js +3 -3
  160. package/dist/cjs/notifications/events/index.js +11 -11
  161. package/dist/cjs/notifications/events/payout/index.js +2 -2
  162. package/dist/cjs/notifications/events/payout/payout-created-event.js +6 -6
  163. package/dist/cjs/notifications/events/payout/payout-paid-event.js +6 -6
  164. package/dist/cjs/notifications/events/price/index.js +3 -3
  165. package/dist/cjs/notifications/events/price/price-created-event.js +6 -6
  166. package/dist/cjs/notifications/events/price/price-imported-event.js +6 -6
  167. package/dist/cjs/notifications/events/price/price-updated-event.js +6 -6
  168. package/dist/cjs/notifications/events/product/index.js +3 -3
  169. package/dist/cjs/notifications/events/product/product-created-event.js +6 -6
  170. package/dist/cjs/notifications/events/product/product-imported-event.js +6 -6
  171. package/dist/cjs/notifications/events/product/product-updated-event.js +6 -6
  172. package/dist/cjs/notifications/events/report/index.js +2 -2
  173. package/dist/cjs/notifications/events/report/report-created-event.js +6 -6
  174. package/dist/cjs/notifications/events/report/report-updated-event.js +6 -6
  175. package/dist/cjs/notifications/events/subscription/index.js +9 -9
  176. package/dist/cjs/notifications/events/subscription/subscription-activated-event.js +6 -6
  177. package/dist/cjs/notifications/events/subscription/subscription-canceled-event.js +6 -6
  178. package/dist/cjs/notifications/events/subscription/subscription-created-event.js +6 -6
  179. package/dist/cjs/notifications/events/subscription/subscription-imported-event.js +6 -6
  180. package/dist/cjs/notifications/events/subscription/subscription-past-due-event.js +6 -6
  181. package/dist/cjs/notifications/events/subscription/subscription-paused-event.js +6 -6
  182. package/dist/cjs/notifications/events/subscription/subscription-resumed-event.js +6 -6
  183. package/dist/cjs/notifications/events/subscription/subscription-trialing-event.js +6 -6
  184. package/dist/cjs/notifications/events/subscription/subscription-updated-event.js +6 -6
  185. package/dist/cjs/notifications/events/transaction/index.js +9 -9
  186. package/dist/cjs/notifications/events/transaction/transaction-billed-event.js +6 -6
  187. package/dist/cjs/notifications/events/transaction/transaction-canceled-event.js +6 -6
  188. package/dist/cjs/notifications/events/transaction/transaction-completed-event.js +6 -6
  189. package/dist/cjs/notifications/events/transaction/transaction-created-event.js +6 -6
  190. package/dist/cjs/notifications/events/transaction/transaction-paid-event.js +6 -6
  191. package/dist/cjs/notifications/events/transaction/transaction-past-due-event.js +6 -6
  192. package/dist/cjs/notifications/events/transaction/transaction-payment-failed-event.js +6 -6
  193. package/dist/cjs/notifications/events/transaction/transaction-ready-event.js +6 -6
  194. package/dist/cjs/notifications/events/transaction/transaction-updated-event.js +6 -6
  195. package/dist/cjs/notifications/helpers/index.js +3 -3
  196. package/dist/cjs/notifications/helpers/webhooks.js +91 -91
  197. package/dist/cjs/notifications/index.js +4 -4
  198. package/dist/cjs/notifications/types/address/index.js +1 -1
  199. package/dist/cjs/notifications/types/adjustment/index.js +6 -6
  200. package/dist/cjs/notifications/types/business/index.js +2 -2
  201. package/dist/cjs/notifications/types/customer/index.js +1 -1
  202. package/dist/cjs/notifications/types/discount/index.js +1 -1
  203. package/dist/cjs/notifications/types/index.js +12 -12
  204. package/dist/cjs/notifications/types/payout/index.js +1 -1
  205. package/dist/cjs/notifications/types/price/index.js +2 -2
  206. package/dist/cjs/notifications/types/product/index.js +1 -1
  207. package/dist/cjs/notifications/types/report/index.js +2 -2
  208. package/dist/cjs/notifications/types/shared/index.js +22 -22
  209. package/dist/cjs/notifications/types/subscription/index.js +7 -7
  210. package/dist/cjs/notifications/types/transaction/index.js +6 -6
  211. package/dist/cjs/paddle.js +24 -23
  212. package/dist/cjs/resources/addresses/index.js +13 -13
  213. package/dist/cjs/resources/addresses/operations/index.js +3 -3
  214. package/dist/cjs/resources/adjustments/index.js +7 -7
  215. package/dist/cjs/resources/adjustments/operations/index.js +2 -2
  216. package/dist/cjs/resources/businesses/index.js +13 -13
  217. package/dist/cjs/resources/businesses/operations/index.js +3 -3
  218. package/dist/cjs/resources/customers/index.js +14 -14
  219. package/dist/cjs/resources/customers/operations/index.js +4 -4
  220. package/dist/cjs/resources/discounts/index.js +11 -11
  221. package/dist/cjs/resources/discounts/operations/index.js +3 -3
  222. package/dist/cjs/resources/event-types/index.js +4 -4
  223. package/dist/cjs/resources/events/index.js +6 -6
  224. package/dist/cjs/resources/events/operations/index.js +1 -1
  225. package/dist/cjs/resources/index.js +14 -14
  226. package/dist/cjs/resources/notification-settings/index.js +11 -11
  227. package/dist/cjs/resources/notification-settings/operations/index.js +2 -2
  228. package/dist/cjs/resources/notifications/index.js +13 -13
  229. package/dist/cjs/resources/notifications/operations/index.js +2 -2
  230. package/dist/cjs/resources/prices/index.js +12 -12
  231. package/dist/cjs/resources/prices/operations/index.js +4 -4
  232. package/dist/cjs/resources/pricing-preview/index.js +5 -5
  233. package/dist/cjs/resources/pricing-preview/operations/index.js +1 -1
  234. package/dist/cjs/resources/products/index.js +12 -12
  235. package/dist/cjs/resources/products/operations/index.js +4 -4
  236. package/dist/cjs/resources/reports/index.js +11 -11
  237. package/dist/cjs/resources/reports/operations/index.js +2 -2
  238. package/dist/cjs/resources/subscriptions/index.js +27 -27
  239. package/dist/cjs/resources/subscriptions/operations/index.js +7 -7
  240. package/dist/cjs/resources/transactions/index.js +17 -17
  241. package/dist/cjs/resources/transactions/operations/index.js +7 -7
  242. package/dist/cjs/types/address/index.js +1 -1
  243. package/dist/cjs/types/adjustment/index.js +4 -4
  244. package/dist/cjs/types/business/index.js +2 -2
  245. package/dist/cjs/types/customer/index.js +3 -3
  246. package/dist/cjs/types/discount/index.js +1 -1
  247. package/dist/cjs/types/event-types/index.js +1 -1
  248. package/dist/cjs/types/events/index.js +1 -1
  249. package/dist/cjs/types/index.js +17 -17
  250. package/dist/cjs/types/notification-settings/index.js +1 -1
  251. package/dist/cjs/types/notifications/index.js +3 -3
  252. package/dist/cjs/types/payout/index.js +1 -1
  253. package/dist/cjs/types/price/index.js +3 -3
  254. package/dist/cjs/types/pricing-preview/index.js +5 -5
  255. package/dist/cjs/types/product/index.js +1 -1
  256. package/dist/cjs/types/report/index.js +3 -3
  257. package/dist/cjs/types/shared/index.js +29 -29
  258. package/dist/cjs/types/subscription/index.js +12 -12
  259. package/dist/cjs/types/transaction/index.js +15 -15
  260. package/dist/cjs/version.js +1 -1
  261. package/dist/esm/entities/address/address-collection.js +2 -2
  262. package/dist/esm/entities/address/address.js +1 -1
  263. package/dist/esm/entities/address/index.js +2 -2
  264. package/dist/esm/entities/adjustment/adjustment-collection.js +2 -2
  265. package/dist/esm/entities/adjustment/adjustment-item.js +1 -2
  266. package/dist/esm/entities/adjustment/adjustment-proration.js +1 -1
  267. package/dist/esm/entities/adjustment/adjustment.js +1 -2
  268. package/dist/esm/entities/adjustment/index.js +6 -6
  269. package/dist/esm/entities/business/business-collection.js +2 -2
  270. package/dist/esm/entities/business/business.js +1 -2
  271. package/dist/esm/entities/business/index.js +3 -3
  272. package/dist/esm/entities/customer/credit-balance.js +1 -1
  273. package/dist/esm/entities/customer/customer-collection.js +2 -2
  274. package/dist/esm/entities/customer/customer.js +1 -1
  275. package/dist/esm/entities/customer/index.js +4 -4
  276. package/dist/esm/entities/discount/discount-collection.js +2 -2
  277. package/dist/esm/entities/discount/discount.js +1 -1
  278. package/dist/esm/entities/discount/index.js +2 -2
  279. package/dist/esm/entities/event-types/index.js +1 -1
  280. package/dist/esm/entities/events/event-collection.js +2 -2
  281. package/dist/esm/entities/events/index.js +1 -1
  282. package/dist/esm/entities/index.js +16 -16
  283. package/dist/esm/entities/notification-settings/index.js +1 -1
  284. package/dist/esm/entities/notification-settings/notification-settings.js +1 -1
  285. package/dist/esm/entities/notifications/index.js +5 -5
  286. package/dist/esm/entities/notifications/notification-collection.js +2 -2
  287. package/dist/esm/entities/notifications/notification-log-collection.js +2 -2
  288. package/dist/esm/entities/notifications/notification.js +1 -1
  289. package/dist/esm/entities/payout/index.js +1 -1
  290. package/dist/esm/entities/price/index.js +3 -3
  291. package/dist/esm/entities/price/price-collection.js +2 -2
  292. package/dist/esm/entities/price/price.js +1 -3
  293. package/dist/esm/entities/pricing-preview/index.js +4 -4
  294. package/dist/esm/entities/pricing-preview/pricing-preview-details.js +1 -1
  295. package/dist/esm/entities/pricing-preview/pricing-preview-discounts.js +1 -1
  296. package/dist/esm/entities/pricing-preview/pricing-preview-line-item.js +4 -4
  297. package/dist/esm/entities/pricing-preview/pricing-preview.js +2 -2
  298. package/dist/esm/entities/product/index.js +2 -2
  299. package/dist/esm/entities/product/product-collection.js +2 -2
  300. package/dist/esm/entities/product/product.js +1 -1
  301. package/dist/esm/entities/report/index.js +4 -4
  302. package/dist/esm/entities/report/report-collection.js +2 -2
  303. package/dist/esm/entities/report/report.js +1 -1
  304. package/dist/esm/entities/shared/billing-details.js +1 -1
  305. package/dist/esm/entities/shared/chargeback-fee.js +1 -1
  306. package/dist/esm/entities/shared/index.js +20 -20
  307. package/dist/esm/entities/shared/payment-method-details.js +1 -1
  308. package/dist/esm/entities/shared/payout-totals-adjustment.js +1 -1
  309. package/dist/esm/entities/shared/tax-rates-used.js +1 -1
  310. package/dist/esm/entities/shared/transaction-payment-attempt.js +1 -1
  311. package/dist/esm/entities/shared/transaction-payout-totals-adjusted.js +1 -1
  312. package/dist/esm/entities/shared/unit-price-override.js +1 -1
  313. package/dist/esm/entities/subscription/index.js +15 -15
  314. package/dist/esm/entities/subscription/next-transaction-adjustment-item.js +1 -1
  315. package/dist/esm/entities/subscription/next-transaction-adjustment-preview.js +2 -2
  316. package/dist/esm/entities/subscription/next-transaction.js +1 -3
  317. package/dist/esm/entities/subscription/subscription-collection.js +2 -2
  318. package/dist/esm/entities/subscription/subscription-item.js +1 -2
  319. package/dist/esm/entities/subscription/subscription-preview-update-summary.js +1 -2
  320. package/dist/esm/entities/subscription/subscription-preview.js +1 -7
  321. package/dist/esm/entities/subscription/subscription.js +1 -7
  322. package/dist/esm/entities/subscription/transaction-details-preview.js +1 -2
  323. package/dist/esm/entities/subscription/transaction-line-item-preview.js +1 -2
  324. package/dist/esm/entities/transaction/adjustment-totals.js +1 -1
  325. package/dist/esm/entities/transaction/index.js +16 -16
  326. package/dist/esm/entities/transaction/proration.js +1 -1
  327. package/dist/esm/entities/transaction/transaction-adjustment-item.js +1 -2
  328. package/dist/esm/entities/transaction/transaction-adjustment.js +1 -2
  329. package/dist/esm/entities/transaction/transaction-collection.js +2 -2
  330. package/dist/esm/entities/transaction/transaction-details.js +1 -2
  331. package/dist/esm/entities/transaction/transaction-item-preview.js +1 -2
  332. package/dist/esm/entities/transaction/transaction-item.js +1 -2
  333. package/dist/esm/entities/transaction/transaction-line-item.js +1 -3
  334. package/dist/esm/entities/transaction/transaction-preview.js +1 -3
  335. package/dist/esm/entities/transaction/transaction-proration.js +1 -1
  336. package/dist/esm/entities/transaction/transaction.js +1 -1
  337. package/dist/esm/enums/adjustment/index.js +4 -4
  338. package/dist/esm/enums/discount/index.js +2 -2
  339. package/dist/esm/enums/index.js +9 -9
  340. package/dist/esm/enums/notification/index.js +2 -2
  341. package/dist/esm/enums/notification-settings/index.js +1 -1
  342. package/dist/esm/enums/payout/index.js +1 -1
  343. package/dist/esm/enums/report/index.js +4 -4
  344. package/dist/esm/enums/shared/index.js +15 -15
  345. package/dist/esm/enums/subscription/index.js +6 -6
  346. package/dist/esm/enums/transaction/index.js +1 -1
  347. package/dist/esm/index.js +8 -8
  348. package/dist/esm/internal/api/case-helpers.js +5 -9
  349. package/dist/esm/internal/api/client.js +8 -5
  350. package/dist/esm/internal/api/constants.js +1 -1
  351. package/dist/esm/internal/api/index.js +3 -2
  352. package/dist/esm/internal/api/log-level.js +7 -0
  353. package/dist/esm/internal/base/base-resource.js +1 -1
  354. package/dist/esm/internal/base/collection.js +1 -1
  355. package/dist/esm/internal/base/index.js +4 -4
  356. package/dist/esm/internal/base/logger.js +22 -3
  357. package/dist/esm/internal/base/query-parameters.js +2 -2
  358. package/dist/esm/internal/index.js +2 -2
  359. package/dist/esm/notifications/entities/address/address-notification.js +1 -1
  360. package/dist/esm/notifications/entities/address/index.js +1 -1
  361. package/dist/esm/notifications/entities/adjustment/adjustment-item-notification.js +1 -2
  362. package/dist/esm/notifications/entities/adjustment/adjustment-notification.js +1 -2
  363. package/dist/esm/notifications/entities/adjustment/adjustment-proration-notification.js +1 -1
  364. package/dist/esm/notifications/entities/adjustment/index.js +5 -5
  365. package/dist/esm/notifications/entities/business/business-notification.js +1 -2
  366. package/dist/esm/notifications/entities/business/index.js +2 -2
  367. package/dist/esm/notifications/entities/customer/customer-notification.js +1 -1
  368. package/dist/esm/notifications/entities/customer/index.js +1 -1
  369. package/dist/esm/notifications/entities/discount/discount-notification.js +1 -1
  370. package/dist/esm/notifications/entities/discount/index.js +1 -1
  371. package/dist/esm/notifications/entities/index.js +12 -12
  372. package/dist/esm/notifications/entities/payout/index.js +1 -1
  373. package/dist/esm/notifications/entities/price/index.js +2 -2
  374. package/dist/esm/notifications/entities/price/price-notification.js +1 -2
  375. package/dist/esm/notifications/entities/product/index.js +1 -1
  376. package/dist/esm/notifications/entities/product/product-notification.js +1 -1
  377. package/dist/esm/notifications/entities/report/index.js +2 -2
  378. package/dist/esm/notifications/entities/report/report-notification.js +1 -1
  379. package/dist/esm/notifications/entities/shared/billing-details-notification.js +1 -1
  380. package/dist/esm/notifications/entities/shared/chargeback-fee-notification.js +1 -1
  381. package/dist/esm/notifications/entities/shared/index.js +20 -20
  382. package/dist/esm/notifications/entities/shared/payment-method-details-notification.js +1 -1
  383. package/dist/esm/notifications/entities/shared/payout-totals-adjustment-notification.js +1 -1
  384. package/dist/esm/notifications/entities/shared/tax-rates-used-notification.js +1 -1
  385. package/dist/esm/notifications/entities/shared/transaction-payment-attempt-notification.js +1 -1
  386. package/dist/esm/notifications/entities/shared/transaction-payout-totals-adjusted-notification.js +1 -1
  387. package/dist/esm/notifications/entities/shared/unit-price-override-notification.js +1 -1
  388. package/dist/esm/notifications/entities/subscription/index.js +6 -6
  389. package/dist/esm/notifications/entities/subscription/subscription-item-notification.js +1 -2
  390. package/dist/esm/notifications/entities/subscription/subscription-notification.js +1 -5
  391. package/dist/esm/notifications/entities/subscription/subscription-price-notification.js +3 -3
  392. package/dist/esm/notifications/entities/transaction/index.js +6 -6
  393. package/dist/esm/notifications/entities/transaction/transaction-details-notification.js +1 -2
  394. package/dist/esm/notifications/entities/transaction/transaction-item-notification.js +1 -2
  395. package/dist/esm/notifications/entities/transaction/transaction-line-item-notification.js +1 -3
  396. package/dist/esm/notifications/entities/transaction/transaction-notification.js +1 -4
  397. package/dist/esm/notifications/entities/transaction/transaction-proration-notification.js +1 -1
  398. package/dist/esm/notifications/events/address/address-created-event.js +3 -3
  399. package/dist/esm/notifications/events/address/address-imported-event.js +3 -3
  400. package/dist/esm/notifications/events/address/address-updated-event.js +3 -3
  401. package/dist/esm/notifications/events/address/index.js +3 -3
  402. package/dist/esm/notifications/events/adjustment/adjustment-created-event.js +3 -3
  403. package/dist/esm/notifications/events/adjustment/adjustment-updated-event.js +3 -3
  404. package/dist/esm/notifications/events/adjustment/index.js +2 -2
  405. package/dist/esm/notifications/events/business/business-created-event.js +3 -3
  406. package/dist/esm/notifications/events/business/business-imported-event.js +3 -3
  407. package/dist/esm/notifications/events/business/business-updated-event.js +3 -3
  408. package/dist/esm/notifications/events/business/index.js +3 -3
  409. package/dist/esm/notifications/events/customer/customer-created-event.js +3 -3
  410. package/dist/esm/notifications/events/customer/customer-imported-event.js +3 -3
  411. package/dist/esm/notifications/events/customer/customer-updated-event.js +3 -3
  412. package/dist/esm/notifications/events/customer/index.js +3 -3
  413. package/dist/esm/notifications/events/discount/discount-created-event.js +3 -3
  414. package/dist/esm/notifications/events/discount/discount-imported-event.js +3 -3
  415. package/dist/esm/notifications/events/discount/discount-updated-event.js +3 -3
  416. package/dist/esm/notifications/events/discount/index.js +3 -3
  417. package/dist/esm/notifications/events/index.js +11 -11
  418. package/dist/esm/notifications/events/payout/index.js +2 -2
  419. package/dist/esm/notifications/events/payout/payout-created-event.js +3 -3
  420. package/dist/esm/notifications/events/payout/payout-paid-event.js +3 -3
  421. package/dist/esm/notifications/events/price/index.js +3 -3
  422. package/dist/esm/notifications/events/price/price-created-event.js +3 -3
  423. package/dist/esm/notifications/events/price/price-imported-event.js +3 -3
  424. package/dist/esm/notifications/events/price/price-updated-event.js +3 -3
  425. package/dist/esm/notifications/events/product/index.js +3 -3
  426. package/dist/esm/notifications/events/product/product-created-event.js +3 -3
  427. package/dist/esm/notifications/events/product/product-imported-event.js +3 -3
  428. package/dist/esm/notifications/events/product/product-updated-event.js +3 -3
  429. package/dist/esm/notifications/events/report/index.js +2 -2
  430. package/dist/esm/notifications/events/report/report-created-event.js +3 -3
  431. package/dist/esm/notifications/events/report/report-updated-event.js +3 -3
  432. package/dist/esm/notifications/events/subscription/index.js +9 -9
  433. package/dist/esm/notifications/events/subscription/subscription-activated-event.js +3 -3
  434. package/dist/esm/notifications/events/subscription/subscription-canceled-event.js +3 -3
  435. package/dist/esm/notifications/events/subscription/subscription-created-event.js +3 -3
  436. package/dist/esm/notifications/events/subscription/subscription-imported-event.js +3 -3
  437. package/dist/esm/notifications/events/subscription/subscription-past-due-event.js +3 -3
  438. package/dist/esm/notifications/events/subscription/subscription-paused-event.js +3 -3
  439. package/dist/esm/notifications/events/subscription/subscription-resumed-event.js +3 -3
  440. package/dist/esm/notifications/events/subscription/subscription-trialing-event.js +3 -3
  441. package/dist/esm/notifications/events/subscription/subscription-updated-event.js +3 -3
  442. package/dist/esm/notifications/events/transaction/index.js +9 -9
  443. package/dist/esm/notifications/events/transaction/transaction-billed-event.js +3 -3
  444. package/dist/esm/notifications/events/transaction/transaction-canceled-event.js +3 -3
  445. package/dist/esm/notifications/events/transaction/transaction-completed-event.js +3 -3
  446. package/dist/esm/notifications/events/transaction/transaction-created-event.js +3 -3
  447. package/dist/esm/notifications/events/transaction/transaction-paid-event.js +3 -3
  448. package/dist/esm/notifications/events/transaction/transaction-past-due-event.js +3 -3
  449. package/dist/esm/notifications/events/transaction/transaction-payment-failed-event.js +3 -3
  450. package/dist/esm/notifications/events/transaction/transaction-ready-event.js +3 -3
  451. package/dist/esm/notifications/events/transaction/transaction-updated-event.js +3 -3
  452. package/dist/esm/notifications/helpers/index.js +3 -3
  453. package/dist/esm/notifications/helpers/webhooks.js +4 -4
  454. package/dist/esm/notifications/index.js +4 -4
  455. package/dist/esm/notifications/types/address/index.js +1 -1
  456. package/dist/esm/notifications/types/adjustment/index.js +6 -6
  457. package/dist/esm/notifications/types/business/index.js +2 -2
  458. package/dist/esm/notifications/types/customer/index.js +1 -1
  459. package/dist/esm/notifications/types/discount/index.js +1 -1
  460. package/dist/esm/notifications/types/index.js +12 -12
  461. package/dist/esm/notifications/types/payout/index.js +1 -1
  462. package/dist/esm/notifications/types/price/index.js +2 -2
  463. package/dist/esm/notifications/types/product/index.js +1 -1
  464. package/dist/esm/notifications/types/report/index.js +2 -2
  465. package/dist/esm/notifications/types/shared/index.js +22 -22
  466. package/dist/esm/notifications/types/subscription/index.js +7 -7
  467. package/dist/esm/notifications/types/transaction/index.js +6 -6
  468. package/dist/esm/paddle.js +6 -5
  469. package/dist/esm/resources/addresses/index.js +3 -3
  470. package/dist/esm/resources/addresses/operations/index.js +3 -3
  471. package/dist/esm/resources/adjustments/index.js +3 -3
  472. package/dist/esm/resources/adjustments/operations/index.js +2 -2
  473. package/dist/esm/resources/businesses/index.js +3 -3
  474. package/dist/esm/resources/businesses/operations/index.js +3 -3
  475. package/dist/esm/resources/customers/index.js +3 -3
  476. package/dist/esm/resources/customers/operations/index.js +4 -4
  477. package/dist/esm/resources/discounts/index.js +3 -3
  478. package/dist/esm/resources/discounts/operations/index.js +3 -3
  479. package/dist/esm/resources/event-types/index.js +2 -2
  480. package/dist/esm/resources/events/index.js +3 -3
  481. package/dist/esm/resources/events/operations/index.js +1 -1
  482. package/dist/esm/resources/index.js +14 -14
  483. package/dist/esm/resources/notification-settings/index.js +3 -3
  484. package/dist/esm/resources/notification-settings/operations/index.js +2 -2
  485. package/dist/esm/resources/notifications/index.js +3 -3
  486. package/dist/esm/resources/notifications/operations/index.js +2 -2
  487. package/dist/esm/resources/prices/index.js +3 -3
  488. package/dist/esm/resources/prices/operations/index.js +4 -4
  489. package/dist/esm/resources/pricing-preview/index.js +3 -3
  490. package/dist/esm/resources/pricing-preview/operations/index.js +1 -1
  491. package/dist/esm/resources/products/index.js +3 -3
  492. package/dist/esm/resources/products/operations/index.js +4 -4
  493. package/dist/esm/resources/reports/index.js +3 -3
  494. package/dist/esm/resources/reports/operations/index.js +2 -2
  495. package/dist/esm/resources/subscriptions/index.js +3 -3
  496. package/dist/esm/resources/subscriptions/operations/index.js +7 -7
  497. package/dist/esm/resources/transactions/index.js +3 -3
  498. package/dist/esm/resources/transactions/operations/index.js +7 -7
  499. package/dist/esm/types/address/index.js +1 -1
  500. package/dist/esm/types/adjustment/index.js +4 -4
  501. package/dist/esm/types/business/index.js +2 -2
  502. package/dist/esm/types/customer/index.js +3 -3
  503. package/dist/esm/types/discount/index.js +1 -1
  504. package/dist/esm/types/event-types/index.js +1 -1
  505. package/dist/esm/types/events/index.js +1 -1
  506. package/dist/esm/types/index.js +17 -17
  507. package/dist/esm/types/notification-settings/index.js +1 -1
  508. package/dist/esm/types/notifications/index.js +3 -3
  509. package/dist/esm/types/payout/index.js +1 -1
  510. package/dist/esm/types/price/index.js +3 -3
  511. package/dist/esm/types/pricing-preview/index.js +5 -5
  512. package/dist/esm/types/product/index.js +1 -1
  513. package/dist/esm/types/report/index.js +3 -3
  514. package/dist/esm/types/shared/index.js +29 -29
  515. package/dist/esm/types/subscription/index.js +12 -12
  516. package/dist/esm/types/transaction/index.js +15 -15
  517. package/dist/esm/version.js +1 -1
  518. package/dist/types/entities/address/address-collection.d.ts +3 -3
  519. package/dist/types/entities/address/address.d.ts +3 -3
  520. package/dist/types/entities/address/index.d.ts +2 -2
  521. package/dist/types/entities/adjustment/adjustment-collection.d.ts +3 -3
  522. package/dist/types/entities/adjustment/adjustment-item-totals.d.ts +1 -1
  523. package/dist/types/entities/adjustment/adjustment-item.d.ts +3 -4
  524. package/dist/types/entities/adjustment/adjustment-proration.d.ts +2 -2
  525. package/dist/types/entities/adjustment/adjustment-time-period.d.ts +1 -1
  526. package/dist/types/entities/adjustment/adjustment.d.ts +3 -4
  527. package/dist/types/entities/adjustment/index.d.ts +6 -6
  528. package/dist/types/entities/business/business-collection.d.ts +3 -3
  529. package/dist/types/entities/business/business.d.ts +3 -4
  530. package/dist/types/entities/business/contacts.d.ts +1 -1
  531. package/dist/types/entities/business/index.d.ts +3 -3
  532. package/dist/types/entities/customer/credit-balance.d.ts +3 -3
  533. package/dist/types/entities/customer/customer-balance.d.ts +1 -1
  534. package/dist/types/entities/customer/customer-collection.d.ts +3 -3
  535. package/dist/types/entities/customer/customer.d.ts +3 -3
  536. package/dist/types/entities/customer/index.d.ts +4 -4
  537. package/dist/types/entities/discount/discount-collection.d.ts +3 -3
  538. package/dist/types/entities/discount/discount.d.ts +3 -3
  539. package/dist/types/entities/discount/index.d.ts +2 -2
  540. package/dist/types/entities/event-types/event-type.d.ts +2 -2
  541. package/dist/types/entities/event-types/index.d.ts +1 -1
  542. package/dist/types/entities/events/event-collection.d.ts +3 -3
  543. package/dist/types/entities/events/event.d.ts +1 -1
  544. package/dist/types/entities/events/index.d.ts +1 -1
  545. package/dist/types/entities/index.d.ts +16 -16
  546. package/dist/types/entities/notification-settings/index.d.ts +1 -1
  547. package/dist/types/entities/notification-settings/notification-settings.d.ts +3 -3
  548. package/dist/types/entities/notifications/index.d.ts +5 -5
  549. package/dist/types/entities/notifications/notification-collection.d.ts +3 -3
  550. package/dist/types/entities/notifications/notification-log-collection.d.ts +3 -3
  551. package/dist/types/entities/notifications/notification.d.ts +3 -3
  552. package/dist/types/entities/notifications/replay-notification.d.ts +1 -1
  553. package/dist/types/entities/payout/index.d.ts +1 -1
  554. package/dist/types/entities/payout/payout.d.ts +2 -2
  555. package/dist/types/entities/price/index.d.ts +3 -3
  556. package/dist/types/entities/price/price-collection.d.ts +3 -3
  557. package/dist/types/entities/price/price-quantity.d.ts +1 -1
  558. package/dist/types/entities/price/price.d.ts +3 -5
  559. package/dist/types/entities/pricing-preview/index.d.ts +4 -4
  560. package/dist/types/entities/pricing-preview/pricing-preview-details.d.ts +2 -2
  561. package/dist/types/entities/pricing-preview/pricing-preview-discounts.d.ts +2 -2
  562. package/dist/types/entities/pricing-preview/pricing-preview-line-item.d.ts +5 -5
  563. package/dist/types/entities/pricing-preview/pricing-preview.d.ts +4 -4
  564. package/dist/types/entities/product/index.d.ts +2 -2
  565. package/dist/types/entities/product/product-collection.d.ts +3 -3
  566. package/dist/types/entities/product/product.d.ts +3 -3
  567. package/dist/types/entities/report/index.d.ts +4 -4
  568. package/dist/types/entities/report/report-collection.d.ts +3 -3
  569. package/dist/types/entities/report/report-csv.d.ts +1 -1
  570. package/dist/types/entities/report/report-filters.d.ts +2 -2
  571. package/dist/types/entities/report/report.d.ts +3 -3
  572. package/dist/types/entities/shared/adjustment-original-amount.d.ts +2 -2
  573. package/dist/types/entities/shared/billing-details.d.ts +2 -2
  574. package/dist/types/entities/shared/chargeback-fee.d.ts +2 -2
  575. package/dist/types/entities/shared/import-meta.d.ts +1 -1
  576. package/dist/types/entities/shared/index.d.ts +20 -20
  577. package/dist/types/entities/shared/money.d.ts +2 -2
  578. package/dist/types/entities/shared/payment-card.d.ts +2 -2
  579. package/dist/types/entities/shared/payment-method-details.d.ts +3 -3
  580. package/dist/types/entities/shared/payout-totals-adjustment.d.ts +3 -3
  581. package/dist/types/entities/shared/tax-rates-used.d.ts +2 -2
  582. package/dist/types/entities/shared/time-period.d.ts +2 -2
  583. package/dist/types/entities/shared/total-adjustments.d.ts +2 -2
  584. package/dist/types/entities/shared/totals.d.ts +1 -1
  585. package/dist/types/entities/shared/transaction-checkout.d.ts +1 -1
  586. package/dist/types/entities/shared/transaction-payment-attempt.d.ts +3 -3
  587. package/dist/types/entities/shared/transaction-payout-totals-adjusted.d.ts +3 -3
  588. package/dist/types/entities/shared/transaction-payout-totals.d.ts +2 -2
  589. package/dist/types/entities/shared/transaction-totals-adjusted.d.ts +2 -2
  590. package/dist/types/entities/shared/transaction-totals.d.ts +2 -2
  591. package/dist/types/entities/shared/unit-price-override.d.ts +3 -3
  592. package/dist/types/entities/shared/unit-totals.d.ts +1 -1
  593. package/dist/types/entities/subscription/index.d.ts +15 -15
  594. package/dist/types/entities/subscription/next-transaction-adjustment-item.d.ts +3 -3
  595. package/dist/types/entities/subscription/next-transaction-adjustment-preview.d.ts +3 -3
  596. package/dist/types/entities/subscription/next-transaction.d.ts +2 -4
  597. package/dist/types/entities/subscription/subscription-collection.d.ts +3 -3
  598. package/dist/types/entities/subscription/subscription-discount.d.ts +1 -1
  599. package/dist/types/entities/subscription/subscription-item.d.ts +3 -4
  600. package/dist/types/entities/subscription/subscription-management.d.ts +1 -1
  601. package/dist/types/entities/subscription/subscription-preview-summary-result.d.ts +2 -2
  602. package/dist/types/entities/subscription/subscription-preview-update-summary.d.ts +2 -3
  603. package/dist/types/entities/subscription/subscription-preview.d.ts +3 -9
  604. package/dist/types/entities/subscription/subscription-scheduled-change.d.ts +2 -2
  605. package/dist/types/entities/subscription/subscription-time-period.d.ts +1 -1
  606. package/dist/types/entities/subscription/subscription.d.ts +3 -9
  607. package/dist/types/entities/subscription/transaction-details-preview.d.ts +2 -3
  608. package/dist/types/entities/subscription/transaction-line-item-preview.d.ts +2 -3
  609. package/dist/types/entities/transaction/address-preview.d.ts +2 -2
  610. package/dist/types/entities/transaction/adjustment-totals-breakdown.d.ts +1 -1
  611. package/dist/types/entities/transaction/adjustment-totals.d.ts +3 -3
  612. package/dist/types/entities/transaction/index.d.ts +16 -16
  613. package/dist/types/entities/transaction/proration.d.ts +2 -2
  614. package/dist/types/entities/transaction/transaction-adjustment-item.d.ts +3 -4
  615. package/dist/types/entities/transaction/transaction-adjustment.d.ts +3 -4
  616. package/dist/types/entities/transaction/transaction-collection.d.ts +3 -3
  617. package/dist/types/entities/transaction/transaction-details.d.ts +2 -3
  618. package/dist/types/entities/transaction/transaction-invoice-pdf.d.ts +1 -1
  619. package/dist/types/entities/transaction/transaction-item-preview.d.ts +2 -3
  620. package/dist/types/entities/transaction/transaction-item.d.ts +2 -3
  621. package/dist/types/entities/transaction/transaction-line-item.d.ts +2 -4
  622. package/dist/types/entities/transaction/transaction-preview.d.ts +3 -5
  623. package/dist/types/entities/transaction/transaction-proration.d.ts +2 -2
  624. package/dist/types/entities/transaction/transaction.d.ts +3 -3
  625. package/dist/types/entities/transaction/transactions-time-period.d.ts +1 -1
  626. package/dist/types/enums/adjustment/index.d.ts +4 -4
  627. package/dist/types/enums/discount/index.d.ts +2 -2
  628. package/dist/types/enums/index.d.ts +9 -9
  629. package/dist/types/enums/notification/index.d.ts +2 -2
  630. package/dist/types/enums/notification-settings/index.d.ts +1 -1
  631. package/dist/types/enums/payout/index.d.ts +1 -1
  632. package/dist/types/enums/report/index.d.ts +4 -4
  633. package/dist/types/enums/shared/index.d.ts +15 -15
  634. package/dist/types/enums/subscription/index.d.ts +6 -6
  635. package/dist/types/enums/transaction/index.d.ts +1 -1
  636. package/dist/types/index.d.ts +8 -8
  637. package/dist/types/internal/api/client.d.ts +3 -3
  638. package/dist/types/internal/api/constants.d.ts +1 -1
  639. package/dist/types/internal/api/index.d.ts +3 -2
  640. package/dist/types/internal/api/log-level.d.ts +6 -0
  641. package/dist/types/internal/base/base-resource.d.ts +2 -2
  642. package/dist/types/internal/base/collection.d.ts +2 -2
  643. package/dist/types/internal/base/index.d.ts +4 -4
  644. package/dist/types/internal/base/logger.d.ts +3 -0
  645. package/dist/types/internal/errors/generic.d.ts +1 -1
  646. package/dist/types/internal/index.d.ts +4 -4
  647. package/dist/types/internal/types/config.d.ts +2 -1
  648. package/dist/types/notifications/entities/address/address-notification.d.ts +3 -3
  649. package/dist/types/notifications/entities/address/index.d.ts +1 -1
  650. package/dist/types/notifications/entities/adjustment/adjustment-item-notification.d.ts +3 -4
  651. package/dist/types/notifications/entities/adjustment/adjustment-item-totals-notification.d.ts +1 -1
  652. package/dist/types/notifications/entities/adjustment/adjustment-notification.d.ts +3 -4
  653. package/dist/types/notifications/entities/adjustment/adjustment-proration-notification.d.ts +2 -2
  654. package/dist/types/notifications/entities/adjustment/adjustment-time-period-notification.d.ts +1 -1
  655. package/dist/types/notifications/entities/adjustment/index.d.ts +5 -5
  656. package/dist/types/notifications/entities/business/business-notification.d.ts +4 -5
  657. package/dist/types/notifications/entities/business/contacts-notification.d.ts +1 -1
  658. package/dist/types/notifications/entities/business/index.d.ts +2 -2
  659. package/dist/types/notifications/entities/customer/customer-notification.d.ts +4 -4
  660. package/dist/types/notifications/entities/customer/index.d.ts +1 -1
  661. package/dist/types/notifications/entities/discount/discount-notification.d.ts +4 -4
  662. package/dist/types/notifications/entities/discount/index.d.ts +1 -1
  663. package/dist/types/notifications/entities/index.d.ts +12 -12
  664. package/dist/types/notifications/entities/payout/index.d.ts +1 -1
  665. package/dist/types/notifications/entities/payout/payout-notification.d.ts +2 -2
  666. package/dist/types/notifications/entities/price/index.d.ts +2 -2
  667. package/dist/types/notifications/entities/price/price-notification.d.ts +4 -5
  668. package/dist/types/notifications/entities/price/price-quantity-notification.d.ts +1 -1
  669. package/dist/types/notifications/entities/product/index.d.ts +1 -1
  670. package/dist/types/notifications/entities/product/product-notification.d.ts +4 -4
  671. package/dist/types/notifications/entities/report/index.d.ts +2 -2
  672. package/dist/types/notifications/entities/report/report-filters-notification.d.ts +2 -2
  673. package/dist/types/notifications/entities/report/report-notification.d.ts +3 -3
  674. package/dist/types/notifications/entities/shared/adjustment-original-amount-notification.d.ts +2 -2
  675. package/dist/types/notifications/entities/shared/billing-details-notification.d.ts +2 -2
  676. package/dist/types/notifications/entities/shared/chargeback-fee-notification.d.ts +2 -2
  677. package/dist/types/notifications/entities/shared/import-meta-notification.d.ts +1 -1
  678. package/dist/types/notifications/entities/shared/index.d.ts +20 -20
  679. package/dist/types/notifications/entities/shared/money-notification.d.ts +2 -2
  680. package/dist/types/notifications/entities/shared/payment-card-notification.d.ts +2 -2
  681. package/dist/types/notifications/entities/shared/payment-method-details-notification.d.ts +3 -3
  682. package/dist/types/notifications/entities/shared/payout-totals-adjustment-notification.d.ts +3 -3
  683. package/dist/types/notifications/entities/shared/tax-rates-used-notification.d.ts +2 -2
  684. package/dist/types/notifications/entities/shared/time-period-notification.d.ts +2 -2
  685. package/dist/types/notifications/entities/shared/total-adjustments-notification.d.ts +2 -2
  686. package/dist/types/notifications/entities/shared/totals-notification.d.ts +1 -1
  687. package/dist/types/notifications/entities/shared/transaction-checkout-notification.d.ts +1 -1
  688. package/dist/types/notifications/entities/shared/transaction-payment-attempt-notification.d.ts +3 -3
  689. package/dist/types/notifications/entities/shared/transaction-payout-totals-adjusted-notification.d.ts +3 -3
  690. package/dist/types/notifications/entities/shared/transaction-payout-totals-notification.d.ts +2 -2
  691. package/dist/types/notifications/entities/shared/transaction-totals-adjusted-notification.d.ts +2 -2
  692. package/dist/types/notifications/entities/shared/transaction-totals-notification.d.ts +2 -2
  693. package/dist/types/notifications/entities/shared/unit-price-override-notification.d.ts +3 -3
  694. package/dist/types/notifications/entities/shared/unit-totals-notification.d.ts +1 -1
  695. package/dist/types/notifications/entities/subscription/index.d.ts +6 -6
  696. package/dist/types/notifications/entities/subscription/subscription-discount-notification.d.ts +1 -1
  697. package/dist/types/notifications/entities/subscription/subscription-item-notification.d.ts +3 -4
  698. package/dist/types/notifications/entities/subscription/subscription-notification.d.ts +4 -8
  699. package/dist/types/notifications/entities/subscription/subscription-price-notification.d.ts +4 -5
  700. package/dist/types/notifications/entities/subscription/subscription-scheduled-change-notification.d.ts +2 -2
  701. package/dist/types/notifications/entities/subscription/subscription-time-period-notification.d.ts +1 -1
  702. package/dist/types/notifications/entities/transaction/index.d.ts +6 -6
  703. package/dist/types/notifications/entities/transaction/transaction-details-notification.d.ts +2 -3
  704. package/dist/types/notifications/entities/transaction/transaction-item-notification.d.ts +2 -3
  705. package/dist/types/notifications/entities/transaction/transaction-line-item-notification.d.ts +2 -4
  706. package/dist/types/notifications/entities/transaction/transaction-notification.d.ts +4 -7
  707. package/dist/types/notifications/entities/transaction/transaction-proration-notification.d.ts +2 -2
  708. package/dist/types/notifications/entities/transaction/transactions-time-period-notification.d.ts +1 -1
  709. package/dist/types/notifications/events/address/address-created-event.d.ts +5 -5
  710. package/dist/types/notifications/events/address/address-imported-event.d.ts +5 -5
  711. package/dist/types/notifications/events/address/address-updated-event.d.ts +5 -5
  712. package/dist/types/notifications/events/address/index.d.ts +3 -3
  713. package/dist/types/notifications/events/adjustment/adjustment-created-event.d.ts +5 -5
  714. package/dist/types/notifications/events/adjustment/adjustment-updated-event.d.ts +5 -5
  715. package/dist/types/notifications/events/adjustment/index.d.ts +2 -2
  716. package/dist/types/notifications/events/business/business-created-event.d.ts +5 -5
  717. package/dist/types/notifications/events/business/business-imported-event.d.ts +5 -5
  718. package/dist/types/notifications/events/business/business-updated-event.d.ts +5 -5
  719. package/dist/types/notifications/events/business/index.d.ts +3 -3
  720. package/dist/types/notifications/events/customer/customer-created-event.d.ts +5 -5
  721. package/dist/types/notifications/events/customer/customer-imported-event.d.ts +5 -5
  722. package/dist/types/notifications/events/customer/customer-updated-event.d.ts +5 -5
  723. package/dist/types/notifications/events/customer/index.d.ts +3 -3
  724. package/dist/types/notifications/events/discount/discount-created-event.d.ts +5 -5
  725. package/dist/types/notifications/events/discount/discount-imported-event.d.ts +5 -5
  726. package/dist/types/notifications/events/discount/discount-updated-event.d.ts +5 -5
  727. package/dist/types/notifications/events/discount/index.d.ts +3 -3
  728. package/dist/types/notifications/events/index.d.ts +11 -11
  729. package/dist/types/notifications/events/payout/index.d.ts +2 -2
  730. package/dist/types/notifications/events/payout/payout-created-event.d.ts +5 -5
  731. package/dist/types/notifications/events/payout/payout-paid-event.d.ts +5 -5
  732. package/dist/types/notifications/events/price/index.d.ts +3 -3
  733. package/dist/types/notifications/events/price/price-created-event.d.ts +5 -5
  734. package/dist/types/notifications/events/price/price-imported-event.d.ts +5 -5
  735. package/dist/types/notifications/events/price/price-updated-event.d.ts +5 -5
  736. package/dist/types/notifications/events/product/index.d.ts +3 -3
  737. package/dist/types/notifications/events/product/product-created-event.d.ts +5 -5
  738. package/dist/types/notifications/events/product/product-imported-event.d.ts +5 -5
  739. package/dist/types/notifications/events/product/product-updated-event.d.ts +5 -5
  740. package/dist/types/notifications/events/report/index.d.ts +2 -2
  741. package/dist/types/notifications/events/report/report-created-event.d.ts +5 -5
  742. package/dist/types/notifications/events/report/report-updated-event.d.ts +5 -5
  743. package/dist/types/notifications/events/subscription/index.d.ts +9 -9
  744. package/dist/types/notifications/events/subscription/subscription-activated-event.d.ts +5 -5
  745. package/dist/types/notifications/events/subscription/subscription-canceled-event.d.ts +5 -5
  746. package/dist/types/notifications/events/subscription/subscription-created-event.d.ts +5 -5
  747. package/dist/types/notifications/events/subscription/subscription-imported-event.d.ts +5 -5
  748. package/dist/types/notifications/events/subscription/subscription-past-due-event.d.ts +5 -5
  749. package/dist/types/notifications/events/subscription/subscription-paused-event.d.ts +5 -5
  750. package/dist/types/notifications/events/subscription/subscription-resumed-event.d.ts +5 -5
  751. package/dist/types/notifications/events/subscription/subscription-trialing-event.d.ts +5 -5
  752. package/dist/types/notifications/events/subscription/subscription-updated-event.d.ts +5 -5
  753. package/dist/types/notifications/events/transaction/index.d.ts +9 -9
  754. package/dist/types/notifications/events/transaction/transaction-billed-event.d.ts +5 -5
  755. package/dist/types/notifications/events/transaction/transaction-canceled-event.d.ts +5 -5
  756. package/dist/types/notifications/events/transaction/transaction-completed-event.d.ts +5 -5
  757. package/dist/types/notifications/events/transaction/transaction-created-event.d.ts +5 -5
  758. package/dist/types/notifications/events/transaction/transaction-paid-event.d.ts +5 -5
  759. package/dist/types/notifications/events/transaction/transaction-past-due-event.d.ts +5 -5
  760. package/dist/types/notifications/events/transaction/transaction-payment-failed-event.d.ts +5 -5
  761. package/dist/types/notifications/events/transaction/transaction-ready-event.d.ts +5 -5
  762. package/dist/types/notifications/events/transaction/transaction-updated-event.d.ts +5 -5
  763. package/dist/types/notifications/helpers/index.d.ts +3 -3
  764. package/dist/types/notifications/helpers/types.d.ts +1 -1
  765. package/dist/types/notifications/helpers/webhooks.d.ts +2 -2
  766. package/dist/types/notifications/index.d.ts +4 -4
  767. package/dist/types/notifications/types/address/address-notification-response.d.ts +2 -2
  768. package/dist/types/notifications/types/address/index.d.ts +1 -1
  769. package/dist/types/notifications/types/adjustment/adjustment-item-notification-response.d.ts +2 -3
  770. package/dist/types/notifications/types/adjustment/adjustment-notification-response.d.ts +2 -3
  771. package/dist/types/notifications/types/adjustment/adjustment-totals-notification-response.d.ts +2 -2
  772. package/dist/types/notifications/types/adjustment/adjustments-proration-notification-response.d.ts +1 -1
  773. package/dist/types/notifications/types/adjustment/index.d.ts +6 -6
  774. package/dist/types/notifications/types/business/business-notification-response.d.ts +3 -4
  775. package/dist/types/notifications/types/business/index.d.ts +2 -2
  776. package/dist/types/notifications/types/customer/customer-notification-response.d.ts +3 -3
  777. package/dist/types/notifications/types/customer/index.d.ts +1 -1
  778. package/dist/types/notifications/types/discount/discount-notification-response.d.ts +3 -3
  779. package/dist/types/notifications/types/discount/index.d.ts +1 -1
  780. package/dist/types/notifications/types/index.d.ts +12 -12
  781. package/dist/types/notifications/types/payout/index.d.ts +1 -1
  782. package/dist/types/notifications/types/payout/payout-notification-response.d.ts +1 -1
  783. package/dist/types/notifications/types/price/index.d.ts +2 -2
  784. package/dist/types/notifications/types/price/price-notification-response.d.ts +3 -4
  785. package/dist/types/notifications/types/product/index.d.ts +1 -1
  786. package/dist/types/notifications/types/product/product-notification-response.d.ts +3 -3
  787. package/dist/types/notifications/types/report/index.d.ts +2 -2
  788. package/dist/types/notifications/types/report/report-filters-notification-response.d.ts +1 -1
  789. package/dist/types/notifications/types/report/report-notification-response.d.ts +2 -2
  790. package/dist/types/notifications/types/shared/adjustment-original-amount-notification-response.d.ts +1 -1
  791. package/dist/types/notifications/types/shared/billing-details-notification-response.d.ts +1 -1
  792. package/dist/types/notifications/types/shared/chargeback-fee.d.ts +1 -1
  793. package/dist/types/notifications/types/shared/index.d.ts +22 -22
  794. package/dist/types/notifications/types/shared/money-notification-response.d.ts +1 -1
  795. package/dist/types/notifications/types/shared/payment-card-notification-response.d.ts +1 -1
  796. package/dist/types/notifications/types/shared/payment-method-details.d.ts +2 -2
  797. package/dist/types/notifications/types/shared/payout-totals-adjustment-notification-response.d.ts +2 -2
  798. package/dist/types/notifications/types/shared/shared-price-notification-response.d.ts +3 -7
  799. package/dist/types/notifications/types/shared/shared-product-notification-response.d.ts +3 -3
  800. package/dist/types/notifications/types/shared/tax-rates-used-notification-response.d.ts +1 -1
  801. package/dist/types/notifications/types/shared/time-period-notification.d.ts +1 -1
  802. package/dist/types/notifications/types/shared/total-adjustments-notification-response.d.ts +1 -1
  803. package/dist/types/notifications/types/shared/transaction-payment-attempt-notification-response.d.ts +2 -2
  804. package/dist/types/notifications/types/shared/transaction-payout-totals-adjusted-notification-response.d.ts +2 -2
  805. package/dist/types/notifications/types/shared/transaction-payout-totals-notification-response.d.ts +1 -1
  806. package/dist/types/notifications/types/shared/transaction-totals-adjusted-notification-response.d.ts +1 -1
  807. package/dist/types/notifications/types/shared/transaction-totals-notification-response.d.ts +1 -1
  808. package/dist/types/notifications/types/shared/unit-price-override-notification-response.d.ts +2 -2
  809. package/dist/types/notifications/types/subscription/index.d.ts +7 -7
  810. package/dist/types/notifications/types/subscription/subscription-item-notification-response.d.ts +2 -3
  811. package/dist/types/notifications/types/subscription/subscription-notification-response.d.ts +3 -7
  812. package/dist/types/notifications/types/subscription/subscription-price-notification-response.d.ts +3 -4
  813. package/dist/types/notifications/types/subscription/subscription-scheduled-change-notification-response.d.ts +1 -1
  814. package/dist/types/notifications/types/transaction/index.d.ts +6 -6
  815. package/dist/types/notifications/types/transaction/transaction-details-notification-response.d.ts +1 -2
  816. package/dist/types/notifications/types/transaction/transaction-item-notification-response.d.ts +1 -2
  817. package/dist/types/notifications/types/transaction/transaction-line-item-notification-response.d.ts +1 -2
  818. package/dist/types/notifications/types/transaction/transaction-notification-response.d.ts +3 -6
  819. package/dist/types/notifications/types/transaction/transaction-proration-notification-response.d.ts +1 -1
  820. package/dist/types/paddle.d.ts +4 -4
  821. package/dist/types/resources/addresses/index.d.ts +4 -4
  822. package/dist/types/resources/addresses/operations/create-address-request-body.d.ts +2 -2
  823. package/dist/types/resources/addresses/operations/index.d.ts +3 -3
  824. package/dist/types/resources/addresses/operations/list-address-query-parameters.d.ts +1 -1
  825. package/dist/types/resources/addresses/operations/update-address-request-body.d.ts +2 -2
  826. package/dist/types/resources/adjustments/index.d.ts +4 -4
  827. package/dist/types/resources/adjustments/operations/create-adjustment-request-body.d.ts +1 -1
  828. package/dist/types/resources/adjustments/operations/index.d.ts +2 -2
  829. package/dist/types/resources/adjustments/operations/list-adjustment-query-parameters.d.ts +1 -1
  830. package/dist/types/resources/businesses/index.d.ts +4 -4
  831. package/dist/types/resources/businesses/operations/create-business-request-body.d.ts +1 -1
  832. package/dist/types/resources/businesses/operations/index.d.ts +3 -3
  833. package/dist/types/resources/businesses/operations/list-business-query-parameters.d.ts +1 -1
  834. package/dist/types/resources/businesses/operations/update-business-request-body.d.ts +2 -2
  835. package/dist/types/resources/customers/index.d.ts +4 -4
  836. package/dist/types/resources/customers/operations/create-customer-request-body.d.ts +1 -1
  837. package/dist/types/resources/customers/operations/get-credit-balance-query-parameters.d.ts +1 -1
  838. package/dist/types/resources/customers/operations/index.d.ts +4 -4
  839. package/dist/types/resources/customers/operations/list-customer-query-parameters.d.ts +1 -1
  840. package/dist/types/resources/customers/operations/update-customer-request-body.d.ts +2 -2
  841. package/dist/types/resources/discounts/index.d.ts +4 -4
  842. package/dist/types/resources/discounts/operations/create-discount-request-body.d.ts +2 -2
  843. package/dist/types/resources/discounts/operations/index.d.ts +3 -3
  844. package/dist/types/resources/discounts/operations/list-discount-query-parameters.d.ts +1 -1
  845. package/dist/types/resources/discounts/operations/update-discount-request-body.d.ts +2 -2
  846. package/dist/types/resources/event-types/index.d.ts +2 -2
  847. package/dist/types/resources/events/index.d.ts +4 -4
  848. package/dist/types/resources/events/operations/index.d.ts +1 -1
  849. package/dist/types/resources/index.d.ts +14 -14
  850. package/dist/types/resources/notification-settings/index.d.ts +4 -4
  851. package/dist/types/resources/notification-settings/operations/create-notification-settings-request-body.d.ts +2 -2
  852. package/dist/types/resources/notification-settings/operations/index.d.ts +2 -2
  853. package/dist/types/resources/notification-settings/operations/update-notification-settings-request-body.d.ts +1 -1
  854. package/dist/types/resources/notifications/index.d.ts +4 -4
  855. package/dist/types/resources/notifications/operations/index.d.ts +2 -2
  856. package/dist/types/resources/notifications/operations/list-notification-query-parameters.d.ts +1 -1
  857. package/dist/types/resources/prices/index.d.ts +4 -4
  858. package/dist/types/resources/prices/operations/create-price-request-body.d.ts +2 -2
  859. package/dist/types/resources/prices/operations/index.d.ts +4 -4
  860. package/dist/types/resources/prices/operations/list-price-query-parameters.d.ts +1 -1
  861. package/dist/types/resources/prices/operations/update-price-request-body.d.ts +2 -2
  862. package/dist/types/resources/pricing-preview/index.d.ts +4 -4
  863. package/dist/types/resources/pricing-preview/operations/index.d.ts +1 -1
  864. package/dist/types/resources/pricing-preview/operations/pricing-preview-request-body.d.ts +2 -2
  865. package/dist/types/resources/products/index.d.ts +4 -4
  866. package/dist/types/resources/products/operations/create-product-request-body.d.ts +2 -2
  867. package/dist/types/resources/products/operations/index.d.ts +4 -4
  868. package/dist/types/resources/products/operations/list-product-query-parameters.d.ts +1 -1
  869. package/dist/types/resources/products/operations/update-product-request-body.d.ts +2 -2
  870. package/dist/types/resources/reports/index.d.ts +4 -4
  871. package/dist/types/resources/reports/operations/create-report-request-object.d.ts +2 -2
  872. package/dist/types/resources/reports/operations/index.d.ts +2 -2
  873. package/dist/types/resources/reports/operations/list-report-query-parameters.d.ts +1 -1
  874. package/dist/types/resources/subscriptions/index.d.ts +4 -4
  875. package/dist/types/resources/subscriptions/operations/cancel-subscription-request-object.d.ts +1 -1
  876. package/dist/types/resources/subscriptions/operations/create-subscription-charge-request-object.d.ts +2 -2
  877. package/dist/types/resources/subscriptions/operations/index.d.ts +7 -7
  878. package/dist/types/resources/subscriptions/operations/list-subscription-query-parameters.d.ts +1 -1
  879. package/dist/types/resources/subscriptions/operations/pause-subscription-request-object.d.ts +1 -1
  880. package/dist/types/resources/subscriptions/operations/update-subscription-request-body.d.ts +2 -2
  881. package/dist/types/resources/transactions/index.d.ts +4 -4
  882. package/dist/types/resources/transactions/operations/create-transaction-request-body.d.ts +2 -2
  883. package/dist/types/resources/transactions/operations/index.d.ts +7 -7
  884. package/dist/types/resources/transactions/operations/list-transaction-query-parameters.d.ts +1 -1
  885. package/dist/types/resources/transactions/operations/transaction-preview-request-body.d.ts +2 -2
  886. package/dist/types/resources/transactions/operations/update-transaction-request-body.d.ts +2 -2
  887. package/dist/types/types/address/address-response.d.ts +2 -2
  888. package/dist/types/types/address/index.d.ts +1 -1
  889. package/dist/types/types/adjustment/adjustment-item-response.d.ts +2 -3
  890. package/dist/types/types/adjustment/adjustment-response.d.ts +2 -3
  891. package/dist/types/types/adjustment/adjustments-proration-response.d.ts +1 -1
  892. package/dist/types/types/adjustment/index.d.ts +4 -4
  893. package/dist/types/types/business/business-response.d.ts +2 -3
  894. package/dist/types/types/business/index.d.ts +2 -2
  895. package/dist/types/types/customer/credit-balance-response.d.ts +2 -2
  896. package/dist/types/types/customer/customer-response.d.ts +2 -2
  897. package/dist/types/types/customer/index.d.ts +3 -3
  898. package/dist/types/types/discount/discount-response.d.ts +2 -2
  899. package/dist/types/types/discount/index.d.ts +1 -1
  900. package/dist/types/types/event-types/event-type-response.d.ts +1 -1
  901. package/dist/types/types/event-types/index.d.ts +1 -1
  902. package/dist/types/types/events/events-response.d.ts +1 -1
  903. package/dist/types/types/events/index.d.ts +1 -1
  904. package/dist/types/types/index.d.ts +17 -17
  905. package/dist/types/types/notification-settings/index.d.ts +1 -1
  906. package/dist/types/types/notification-settings/notification-settings-response.d.ts +2 -2
  907. package/dist/types/types/notifications/index.d.ts +3 -3
  908. package/dist/types/types/notifications/notification.d.ts +3 -3
  909. package/dist/types/types/payout/index.d.ts +1 -1
  910. package/dist/types/types/payout/payout-response.d.ts +1 -1
  911. package/dist/types/types/price/index.d.ts +3 -3
  912. package/dist/types/types/price/non-catalog-price-request.d.ts +3 -3
  913. package/dist/types/types/price/price-response.d.ts +2 -2
  914. package/dist/types/types/price/subscription-non-catalog-price-request.d.ts +3 -3
  915. package/dist/types/types/pricing-preview/index.d.ts +5 -5
  916. package/dist/types/types/pricing-preview/pricing-preview-details-response.d.ts +1 -1
  917. package/dist/types/types/pricing-preview/pricing-preview-discounts-response.d.ts +1 -1
  918. package/dist/types/types/pricing-preview/pricing-preview-line-item-response.d.ts +4 -4
  919. package/dist/types/types/pricing-preview/pricing-preview-response.d.ts +4 -4
  920. package/dist/types/types/product/index.d.ts +1 -1
  921. package/dist/types/types/product/product-response.d.ts +2 -3
  922. package/dist/types/types/report/index.d.ts +3 -3
  923. package/dist/types/types/report/report-filters.d.ts +1 -1
  924. package/dist/types/types/report/report.d.ts +2 -2
  925. package/dist/types/types/shared/adjustment-original-amount-response.d.ts +1 -1
  926. package/dist/types/types/shared/billing-details-create.d.ts +1 -1
  927. package/dist/types/types/shared/billing-details-response.d.ts +1 -1
  928. package/dist/types/types/shared/billing-details-update.d.ts +1 -1
  929. package/dist/types/types/shared/chargeback-fee.d.ts +1 -1
  930. package/dist/types/types/shared/index.d.ts +29 -29
  931. package/dist/types/types/shared/money-response.d.ts +1 -1
  932. package/dist/types/types/shared/money.d.ts +1 -1
  933. package/dist/types/types/shared/payment-card-response.d.ts +1 -1
  934. package/dist/types/types/shared/payment-method-details.d.ts +2 -2
  935. package/dist/types/types/shared/payout-totals-adjustment-response.d.ts +2 -2
  936. package/dist/types/types/shared/tax-rates-used-response.d.ts +1 -1
  937. package/dist/types/types/shared/time-period.d.ts +1 -1
  938. package/dist/types/types/shared/total-adjustments-response.d.ts +1 -1
  939. package/dist/types/types/shared/transaction-details-preview-response.d.ts +1 -3
  940. package/dist/types/types/shared/transaction-line-item-preview-response.d.ts +1 -3
  941. package/dist/types/types/shared/transaction-payment-attempt-response.d.ts +2 -2
  942. package/dist/types/types/shared/transaction-payout-totals-adjusted-response.d.ts +2 -2
  943. package/dist/types/types/shared/transaction-payout-totals-response.d.ts +1 -1
  944. package/dist/types/types/shared/transaction-totals-adjusted-response.d.ts +1 -1
  945. package/dist/types/types/shared/transaction-totals-response.d.ts +1 -1
  946. package/dist/types/types/shared/unit-price-override-response.d.ts +2 -2
  947. package/dist/types/types/shared/unit-price-override.d.ts +2 -2
  948. package/dist/types/types/subscription/index.d.ts +12 -12
  949. package/dist/types/types/subscription/next-transaction-response.d.ts +1 -3
  950. package/dist/types/types/subscription/subscription-item-response.d.ts +2 -3
  951. package/dist/types/types/subscription/subscription-preview-response.d.ts +2 -9
  952. package/dist/types/types/subscription/subscription-preview-update-summary.d.ts +1 -2
  953. package/dist/types/types/subscription/subscription-response.d.ts +2 -8
  954. package/dist/types/types/subscription/subscription-result-response.d.ts +1 -1
  955. package/dist/types/types/subscription/subscription-scheduled-change-response.d.ts +1 -1
  956. package/dist/types/types/transaction/adjustment-totals-response.d.ts +2 -2
  957. package/dist/types/types/transaction/index.d.ts +15 -15
  958. package/dist/types/types/transaction/transaction-adjustment-item-response.d.ts +2 -3
  959. package/dist/types/types/transaction/transaction-adjustment-response.d.ts +2 -3
  960. package/dist/types/types/transaction/transaction-details-response.d.ts +1 -2
  961. package/dist/types/types/transaction/transaction-item-response.d.ts +1 -2
  962. package/dist/types/types/transaction/transaction-item.d.ts +1 -1
  963. package/dist/types/types/transaction/transaction-line-item-response.d.ts +1 -3
  964. package/dist/types/types/transaction/transaction-preview-item.d.ts +1 -1
  965. package/dist/types/types/transaction/transaction-preview-response.d.ts +5 -5
  966. package/dist/types/types/transaction/transaction-proration-response.d.ts +1 -1
  967. package/dist/types/types/transaction/transaction-response.d.ts +2 -11
  968. package/dist/types/version.d.ts +1 -1
  969. package/package.json +1 -1
@@ -1 +1 @@
1
- export * from './event-type-response.js';
1
+ export * from './event-type-response';
@@ -1,4 +1,4 @@
1
- import { type EventName, type IAddressNotificationResponse, type IAdjustmentNotificationResponse, type IBusinessNotificationResponse, type ICustomerNotificationResponse, type IDiscountNotificationResponse, type IPayoutNotificationResponse, type IPriceNotificationResponse, type IProductNotificationResponse, type IReportNotificationResponse, type ISubscriptionNotificationResponse, type ITransactionNotificationResponse } from '../../notifications/index.js';
1
+ import { type EventName, type IAddressNotificationResponse, type IAdjustmentNotificationResponse, type IBusinessNotificationResponse, type ICustomerNotificationResponse, type IDiscountNotificationResponse, type IPayoutNotificationResponse, type IPriceNotificationResponse, type IProductNotificationResponse, type IReportNotificationResponse, type ISubscriptionNotificationResponse, type ITransactionNotificationResponse } from '../../notifications';
2
2
  export interface IEventsResponse<T = object> {
3
3
  event_id: string;
4
4
  notification_id: string;
@@ -1 +1 @@
1
- export * from './events-response.js';
1
+ export * from './events-response';
@@ -1,17 +1,17 @@
1
- export * from './shared/index.js';
2
- export * from './product/index.js';
3
- export * from './price/index.js';
4
- export * from './transaction/index.js';
5
- export * from './adjustment/index.js';
6
- export * from './customer/index.js';
7
- export * from './business/index.js';
8
- export * from './subscription/index.js';
9
- export * from './address/index.js';
10
- export * from './discount/index.js';
11
- export * from './pricing-preview/index.js';
12
- export * from './events/index.js';
13
- export * from './payout/index.js';
14
- export * from './event-types/index.js';
15
- export * from './notification-settings/index.js';
16
- export * from './notifications/index.js';
17
- export * from './report/index.js';
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 './pricing-preview';
12
+ export * from './events';
13
+ export * from './payout';
14
+ export * from './event-types';
15
+ export * from './notification-settings';
16
+ export * from './notifications';
17
+ export * from './report';
@@ -1 +1 @@
1
- export * from './notification-settings-response.js';
1
+ export * from './notification-settings-response';
@@ -1,5 +1,5 @@
1
- import { type NotificationSettingsType } from '../../enums/index.js';
2
- import { type IEventTypeResponse } from '../event-types/index.js';
1
+ import { type NotificationSettingsType } from '../../enums';
2
+ import { type IEventTypeResponse } from '../event-types';
3
3
  export interface INotificationSettingsResponse {
4
4
  id: string;
5
5
  description: string;
@@ -1,3 +1,3 @@
1
- export * from './notification.js';
2
- export * from './notification-log.js';
3
- export * from './replay-notification.js';
1
+ export * from './notification';
2
+ export * from './notification-log';
3
+ export * from './replay-notification';
@@ -1,6 +1,6 @@
1
- import { type IEventName } from '../../notifications/index.js';
2
- import { type NotificationStatus, type Origin } from '../../enums/index.js';
3
- import { type IEvents } from '../events/index.js';
1
+ import { type NotificationStatus, type Origin } from '../../enums';
2
+ import type { IEvents } from '../events';
3
+ import { type IEventName } from '../../notifications';
4
4
  export interface INotificationResponse {
5
5
  id: string;
6
6
  type: IEventName;
@@ -1 +1 @@
1
- export * from './payout-response.js';
1
+ export * from './payout-response';
@@ -1,4 +1,4 @@
1
- import { type CurrencyCode, type PayoutStatus } from '../../enums/index.js';
1
+ import { type CurrencyCode, type PayoutStatus } from '../../enums';
2
2
  export interface IPayoutResponse {
3
3
  id: string;
4
4
  status: PayoutStatus;
@@ -1,3 +1,3 @@
1
- export * from './price-response.js';
2
- export * from './subscription-non-catalog-price-request.js';
3
- export * from './non-catalog-price-request.js';
1
+ export * from './price-response';
2
+ export * from './subscription-non-catalog-price-request';
3
+ export * from './non-catalog-price-request';
@@ -1,6 +1,6 @@
1
- import type { ICustomData, IMoney, IPriceQuantity, ITimePeriod, IUnitPriceOverride } from '../shared/index.js';
2
- import type { TaxMode } from '../../enums/index.js';
3
- import type { CreateProductRequestBody } from '../../resources/index.js';
1
+ import type { ICustomData, IMoney, IPriceQuantity, ITimePeriod, IUnitPriceOverride } from '../shared';
2
+ import type { TaxMode } from '../../enums';
3
+ import type { CreateProductRequestBody } from '../../resources';
4
4
  interface INonCatalogBasePriceRequestBody {
5
5
  name?: string | null;
6
6
  description: string;
@@ -1,5 +1,5 @@
1
- import { type ICustomData, type IImportMetaResponse, type IMoneyResponse, type IPriceQuantity, type IProductResponse, type ITimePeriod, type IUnitPriceOverrideResponse } from '../index.js';
2
- import { type CatalogType, type Status, type TaxMode } from '../../enums/index.js';
1
+ import { type ICustomData, type IImportMetaResponse, type IMoneyResponse, type IPriceQuantity, type IProductResponse, type ITimePeriod, type IUnitPriceOverrideResponse } from '../index';
2
+ import { type CatalogType, type Status, type TaxMode } from '../../enums';
3
3
  export interface IPriceResponse {
4
4
  id: string;
5
5
  product_id: string;
@@ -1,6 +1,6 @@
1
- import type { TaxMode } from '../../enums/index.js';
2
- import type { ICustomData, IMoney, IPriceQuantity, IUnitPriceOverride } from '../shared/index.js';
3
- import { type CreateProductRequestBody } from '../../resources/index.js';
1
+ import type { TaxMode } from '../../enums';
2
+ import type { ICustomData, IMoney, IPriceQuantity, IUnitPriceOverride } from '../shared';
3
+ import { type CreateProductRequestBody } from '../../resources';
4
4
  interface INonCatalogBasePriceRequest {
5
5
  name?: string | null;
6
6
  description: string;
@@ -1,5 +1,5 @@
1
- export * from './pricing-preview-response.js';
2
- export * from './pricing-preview-details-response.js';
3
- export * from './pricing-preview-discounts-response.js';
4
- export * from './pricing-preview-item-response.js';
5
- export * from './pricing-preview-line-item-response.js';
1
+ export * from './pricing-preview-response';
2
+ export * from './pricing-preview-details-response';
3
+ export * from './pricing-preview-discounts-response';
4
+ export * from './pricing-preview-item-response';
5
+ export * from './pricing-preview-line-item-response';
@@ -1,4 +1,4 @@
1
- import { type IPricingPreviewLineItemResponse } from './pricing-preview-line-item-response.js';
1
+ import { type IPricingPreviewLineItemResponse } from './pricing-preview-line-item-response';
2
2
  export interface IPricingPreviewDetailsResponse {
3
3
  line_items: IPricingPreviewLineItemResponse[];
4
4
  }
@@ -1,4 +1,4 @@
1
- import { type IDiscountResponse } from '../discount/index.js';
1
+ import { type IDiscountResponse } from '../discount';
2
2
  export interface IPricingPreviewDiscountsResponse {
3
3
  discount: IDiscountResponse;
4
4
  total: string;
@@ -1,7 +1,7 @@
1
- import { type IPriceResponse } from '../price/index.js';
2
- import { type ITotals, type IUnitTotals } from '../shared/index.js';
3
- import { type IProductResponse } from '../product/index.js';
4
- import { type IPricingPreviewDiscountsResponse } from './pricing-preview-discounts-response.js';
1
+ import { type IPriceResponse } from '../price';
2
+ import { type ITotals, type IUnitTotals } from '../shared';
3
+ import { type IProductResponse } from '../product';
4
+ import { type IPricingPreviewDiscountsResponse } from './pricing-preview-discounts-response';
5
5
  export interface IPricingPreviewLineItemResponse {
6
6
  price: IPriceResponse;
7
7
  quantity: number;
@@ -1,7 +1,7 @@
1
- import { type AvailablePaymentMethod, type CurrencyCode } from '../../enums/index.js';
2
- import { type IAddressPreviewResponse } from '../../resources/index.js';
3
- import { type IPricingPreviewItemResponse } from './pricing-preview-item-response.js';
4
- import { type IPricingPreviewDetailsResponse } from './pricing-preview-details-response.js';
1
+ import { type CurrencyCode, type AvailablePaymentMethod } from '../../enums';
2
+ import { type IAddressPreviewResponse } from '../../resources';
3
+ import { type IPricingPreviewItemResponse } from './pricing-preview-item-response';
4
+ import { type IPricingPreviewDetailsResponse } from './pricing-preview-details-response';
5
5
  export interface IPricingPreviewResponse {
6
6
  customer_id?: string | null;
7
7
  address_id?: string | null;
@@ -1 +1 @@
1
- export * from './product-response.js';
1
+ export * from './product-response';
@@ -1,6 +1,5 @@
1
- import { type CatalogType, type Status, type TaxCategory } from '../../enums/index.js';
2
- import { type ICustomData, type IImportMetaResponse } from '../shared/index.js';
3
- import { type IPriceResponse } from '../price/index.js';
1
+ import { type ICustomData, type IImportMetaResponse, type IPriceResponse } from '../index';
2
+ import { type CatalogType, type Status, type TaxCategory } from '../../enums';
4
3
  export interface IProductResponse {
5
4
  id: string;
6
5
  name: string;
@@ -1,3 +1,3 @@
1
- export * from './report-filters.js';
2
- export * from './report.js';
3
- export * from './reports-csv.js';
1
+ export * from './report-filters';
2
+ export * from './report';
3
+ export * from './reports-csv';
@@ -1,4 +1,4 @@
1
- import { type ReportFilterName, type ReportFilterOperator } from '../../enums/index.js';
1
+ import { type ReportFilterName, type ReportFilterOperator } from '../../enums';
2
2
  export interface IReportFilters {
3
3
  name: ReportFilterName;
4
4
  operator?: null | ReportFilterOperator;
@@ -1,5 +1,5 @@
1
- import { type ReportStatus, type ReportType } from '../../enums/index.js';
2
- import { type IReportFilters } from './report-filters.js';
1
+ import { type IReportFilters } from '../index';
2
+ import { type ReportType, type ReportStatus } from '../../enums';
3
3
  export interface IReportResponse {
4
4
  id: string;
5
5
  status: ReportStatus;
@@ -1,4 +1,4 @@
1
- import { type AdjustmentCurrencyCode } from '../../enums/index.js';
1
+ import { type AdjustmentCurrencyCode } from '../../enums';
2
2
  export interface IAdjustmentOriginalAmountResponse {
3
3
  amount: string;
4
4
  currency_code: AdjustmentCurrencyCode;
@@ -1,4 +1,4 @@
1
- import { type ITimePeriod } from './time-period.js';
1
+ import { type ITimePeriod } from '../index';
2
2
  export interface IBillingDetailsCreate {
3
3
  enableCheckout?: boolean;
4
4
  purchaseOrderNumber?: string;
@@ -1,4 +1,4 @@
1
- import { type ITimePeriod } from './time-period.js';
1
+ import { type ITimePeriod } from '../index';
2
2
  export interface IBillingDetailsResponse {
3
3
  enable_checkout?: boolean | null;
4
4
  purchase_order_number?: string | null;
@@ -1,4 +1,4 @@
1
- import { type ITimePeriod } from './time-period.js';
1
+ import { type ITimePeriod } from '../index';
2
2
  export interface IBillingDetailsUpdate {
3
3
  enableCheckout: boolean;
4
4
  purchaseOrderNumber: string;
@@ -1,4 +1,4 @@
1
- import { type IAdjustmentOriginalAmountResponse } from './adjustment-original-amount-response.js';
1
+ import { type IAdjustmentOriginalAmountResponse } from '../index';
2
2
  export interface IChargebackFee {
3
3
  amount: string;
4
4
  original?: IAdjustmentOriginalAmountResponse | null;
@@ -1,29 +1,29 @@
1
- export * from './time-period.js';
2
- export * from './money.js';
3
- export * from './money-response.js';
4
- export * from './unit-price-override.js';
5
- export * from './unit-price-override-response.js';
6
- export * from './price-quantity.js';
7
- export * from './billing-details-response.js';
8
- export * from './totals.js';
9
- export * from './tax-rates-used-response.js';
10
- export * from './transaction-totals-response.js';
11
- export * from './transaction-totals-adjusted-response.js';
12
- export * from './transaction-payout-totals-response.js';
13
- export * from './adjustment-original-amount-response.js';
14
- export * from './chargeback-fee.js';
15
- export * from './transaction-payout-totals-adjusted-response.js';
16
- export * from './unit-totals.js';
17
- export * from './payment-card-response.js';
18
- export * from './payment-method-details.js';
19
- export * from './transaction-payment-attempt-response.js';
20
- export * from './transaction-checkout.js';
21
- export * from './adjustment-item-totals.js';
22
- export * from './total-adjustments-response.js';
23
- export * from './payout-totals-adjustment-response.js';
24
- export * from './transaction-line-item-preview-response.js';
25
- export * from './transaction-details-preview-response.js';
26
- export * from './billing-details-create.js';
27
- export * from './billing-details-update.js';
28
- export * from './custom-data.js';
29
- export * from './import-meta-response.js';
1
+ export * from './time-period';
2
+ export * from './money';
3
+ export * from './money-response';
4
+ export * from './unit-price-override';
5
+ export * from './unit-price-override-response';
6
+ export * from './price-quantity';
7
+ export * from './billing-details-response';
8
+ export * from './totals';
9
+ export * from './tax-rates-used-response';
10
+ export * from './transaction-totals-response';
11
+ export * from './transaction-totals-adjusted-response';
12
+ export * from './transaction-payout-totals-response';
13
+ export * from './adjustment-original-amount-response';
14
+ export * from './chargeback-fee';
15
+ export * from './transaction-payout-totals-adjusted-response';
16
+ export * from './unit-totals';
17
+ export * from './payment-card-response';
18
+ export * from './payment-method-details';
19
+ export * from './transaction-payment-attempt-response';
20
+ export * from './transaction-checkout';
21
+ export * from './adjustment-item-totals';
22
+ export * from './total-adjustments-response';
23
+ export * from './payout-totals-adjustment-response';
24
+ export * from './transaction-line-item-preview-response';
25
+ export * from './transaction-details-preview-response';
26
+ export * from './billing-details-create';
27
+ export * from './billing-details-update';
28
+ export * from './custom-data';
29
+ export * from './import-meta-response';
@@ -1,4 +1,4 @@
1
- import { type CurrencyCode } from '../../enums/index.js';
1
+ import { type CurrencyCode } from '../../enums';
2
2
  export interface IMoneyResponse {
3
3
  amount: string;
4
4
  currency_code: CurrencyCode;
@@ -1,4 +1,4 @@
1
- import { type CurrencyCode } from '../../enums/index.js';
1
+ import { type CurrencyCode } from '../../enums';
2
2
  export interface IMoney {
3
3
  amount: string;
4
4
  currencyCode: CurrencyCode;
@@ -1,4 +1,4 @@
1
- import { type PaymentCardType } from '../../enums/index.js';
1
+ import { type PaymentCardType } from '../../enums';
2
2
  export interface IPaymentCardResponse {
3
3
  type: PaymentCardType;
4
4
  last4: string;
@@ -1,5 +1,5 @@
1
- import { type PaymentType } from '../../enums/index.js';
2
- import { type IPaymentCardResponse } from './payment-card-response.js';
1
+ import { type IPaymentCardResponse } from '../index';
2
+ import { type PaymentType } from '../../enums';
3
3
  export interface IPaymentMethodDetails {
4
4
  type: PaymentType;
5
5
  card?: IPaymentCardResponse | null;
@@ -1,5 +1,5 @@
1
- import { type IChargebackFee } from './chargeback-fee.js';
2
- import { type PayoutCurrencyCode } from '../../enums/index.js';
1
+ import { type IChargebackFee } from '../index';
2
+ import { type PayoutCurrencyCode } from '../../enums';
3
3
  export interface IPayoutTotalsAdjustmentResponse {
4
4
  subtotal: string;
5
5
  tax: string;
@@ -1,4 +1,4 @@
1
- import { type ITotals } from './totals.js';
1
+ import { type ITotals } from '../index';
2
2
  export interface ITaxRatesUsedResponse {
3
3
  tax_rate: string;
4
4
  totals?: ITotals | null;
@@ -1,4 +1,4 @@
1
- import { type Interval } from '../../enums/index.js';
1
+ import { type Interval } from '../../enums';
2
2
  export interface ITimePeriod {
3
3
  interval: Interval;
4
4
  frequency: number;
@@ -1,4 +1,4 @@
1
- import { type CurrencyCode } from '../../enums/index.js';
1
+ import { type CurrencyCode } from '../../enums';
2
2
  export interface ITotalAdjustmentsResponse {
3
3
  subtotal: string;
4
4
  tax: string;
@@ -1,6 +1,4 @@
1
- import { type ITaxRatesUsedResponse } from './tax-rates-used-response.js';
2
- import { type ITransactionTotalsResponse } from './transaction-totals-response.js';
3
- import { type ITransactionLineItemPreviewResponse } from './transaction-line-item-preview-response.js';
1
+ import { type ITaxRatesUsedResponse, type ITransactionTotalsResponse, type ITransactionLineItemPreviewResponse } from '../index';
4
2
  export interface ITransactionDetailsPreviewResponse {
5
3
  tax_rates_used: ITaxRatesUsedResponse[];
6
4
  totals: ITransactionTotalsResponse;
@@ -1,6 +1,4 @@
1
- import { type IUnitTotals } from './unit-totals.js';
2
- import { type ITotals } from './totals.js';
3
- import { type IProductResponse } from '../product/index.js';
1
+ import { type IProductResponse, type ITotals, type IUnitTotals } from '../index';
4
2
  export interface ITransactionLineItemPreviewResponse {
5
3
  price_id: string;
6
4
  quantity: number;
@@ -1,5 +1,5 @@
1
- import { type ErrorCode, type PaymentAttemptStatus } from '../../enums/index.js';
2
- import { type IPaymentMethodDetails } from './payment-method-details.js';
1
+ import { type IPaymentMethodDetails } from '../index';
2
+ import { type PaymentAttemptStatus, type ErrorCode } from '../../enums';
3
3
  export interface ITransactionPaymentAttemptResponse {
4
4
  payment_attempt_id: string;
5
5
  stored_payment_method_id: string;
@@ -1,5 +1,5 @@
1
- import { type IChargebackFee } from './chargeback-fee.js';
2
- import { type PayoutCurrencyCode } from '../../enums/index.js';
1
+ import { type IChargebackFee } from '../index';
2
+ import { type PayoutCurrencyCode } from '../../enums';
3
3
  export interface ITransactionPayoutTotalsAdjustedResponse {
4
4
  subtotal: string;
5
5
  tax: string;
@@ -1,4 +1,4 @@
1
- import { type PayoutCurrencyCode } from '../../enums/index.js';
1
+ import { type PayoutCurrencyCode } from '../../enums';
2
2
  export interface ITransactionPayoutTotalsResponse {
3
3
  subtotal: string;
4
4
  discount: string;
@@ -1,4 +1,4 @@
1
- import { type CurrencyCode } from '../../enums/index.js';
1
+ import { type CurrencyCode } from '../../enums';
2
2
  export interface ITransactionTotalsAdjustedResponse {
3
3
  subtotal: string;
4
4
  tax: string;
@@ -1,4 +1,4 @@
1
- import { type CurrencyCode } from '../../enums/index.js';
1
+ import { type CurrencyCode } from '../../enums';
2
2
  export interface ITransactionTotalsResponse {
3
3
  subtotal: string;
4
4
  discount: string;
@@ -1,5 +1,5 @@
1
- import { type CountryCode } from '../../enums/index.js';
2
- import { type IMoneyResponse } from './money-response.js';
1
+ import { type IMoneyResponse } from '../index';
2
+ import { type CountryCode } from '../../enums';
3
3
  export interface IUnitPriceOverrideResponse {
4
4
  country_codes: CountryCode[];
5
5
  unit_price: IMoneyResponse;
@@ -1,5 +1,5 @@
1
- import { type CountryCode } from '../../enums/index.js';
2
- import { type IMoney } from './money.js';
1
+ import { type IMoney } from '../index';
2
+ import { type CountryCode } from '../../enums';
3
3
  export interface IUnitPriceOverride {
4
4
  countryCodes: CountryCode[];
5
5
  unitPrice: IMoney;
@@ -1,12 +1,12 @@
1
- export * from './subscription-discount-response.js';
2
- export * from './subscription-time-period-response.js';
3
- export * from './subscription-scheduled-change-response.js';
4
- export * from './subscription-management-response.js';
5
- export * from './subscription-item-response.js';
6
- export * from './next-transaction-response.js';
7
- export * from './subscription-discount-response.js';
8
- export * from './subscription-update-item.js';
9
- export * from './subscription-response.js';
10
- export * from './subscription-preview-response.js';
11
- export * from './subscription-preview-update-summary.js';
12
- export * from './subscription-result-response.js';
1
+ export * from './subscription-discount-response';
2
+ export * from './subscription-time-period-response';
3
+ export * from './subscription-scheduled-change-response';
4
+ export * from './subscription-management-response';
5
+ export * from './subscription-item-response';
6
+ export * from './next-transaction-response';
7
+ export * from './subscription-discount-response';
8
+ export * from './subscription-update-item';
9
+ export * from './subscription-response';
10
+ export * from './subscription-preview-response';
11
+ export * from './subscription-preview-update-summary';
12
+ export * from './subscription-result-response';
@@ -1,6 +1,4 @@
1
- import { type IAdjustmentItemResponse } from '../adjustment/index.js';
2
- import { type ITotalAdjustmentsResponse, type ITransactionDetailsPreviewResponse } from '../shared/index.js';
3
- import { type ISubscriptionTimePeriodResponse } from './subscription-time-period-response.js';
1
+ import { type IAdjustmentItemResponse, type ISubscriptionTimePeriodResponse, type ITotalAdjustmentsResponse, type ITransactionDetailsPreviewResponse } from '../index';
4
2
  export interface AdjustmentPreviewResponse {
5
3
  transaction_id: string;
6
4
  items: IAdjustmentItemResponse[];
@@ -1,6 +1,5 @@
1
- import { type SubscriptionItemStatus } from '../../enums/index.js';
2
- import { type ISubscriptionTimePeriodResponse } from './subscription-time-period-response.js';
3
- import { type IPriceResponse } from '../price/index.js';
1
+ import { type IPriceResponse, type ISubscriptionTimePeriodResponse } from '../index';
2
+ import { type SubscriptionItemStatus } from '../../enums';
4
3
  export interface ISubscriptionItemResponse {
5
4
  status: SubscriptionItemStatus;
6
5
  quantity: number;
@@ -1,12 +1,5 @@
1
- import { type CollectionMode, type CurrencyCode, type SubscriptionStatus } from '../../enums/index.js';
2
- import { type ISubscriptionDiscountResponse } from './subscription-discount-response.js';
3
- import { type IBillingDetailsResponse, type ICustomData, type IImportMetaResponse, type ITimePeriod, type ITransactionDetailsPreviewResponse } from '../shared/index.js';
4
- import { type ISubscriptionTimePeriodResponse } from './subscription-time-period-response.js';
5
- import { type ISubscriptionScheduledChangeResponse } from './subscription-scheduled-change-response.js';
6
- import { type ISubscriptionManagementResponse } from './subscription-management-response.js';
7
- import { type ISubscriptionItemResponse } from './subscription-item-response.js';
8
- import { type INextTransactionResponse } from './next-transaction-response.js';
9
- import { type ISubscriptionPreviewUpdateSummary } from './subscription-preview-update-summary.js';
1
+ import { type ISubscriptionDiscountResponse, type IBillingDetailsResponse, type ITimePeriod, type ISubscriptionScheduledChangeResponse, type ISubscriptionItemResponse, type ICustomData, type INextTransactionResponse, type ITransactionDetailsPreviewResponse, type ISubscriptionTimePeriodResponse, type ISubscriptionManagementResponse, type ISubscriptionPreviewUpdateSummary, type IImportMetaResponse } from '../index';
2
+ import { type CurrencyCode, type CollectionMode, type SubscriptionStatus } from '../../enums';
10
3
  export interface ISubscriptionPreviewResponse {
11
4
  status: SubscriptionStatus;
12
5
  customer_id: string;
@@ -1,5 +1,4 @@
1
- import { type IMoneyResponse } from '../shared/index.js';
2
- import { type ISubscriptionResultResponse } from './subscription-result-response.js';
1
+ import { type IMoneyResponse, type ISubscriptionResultResponse } from '../index';
3
2
  export interface ISubscriptionPreviewUpdateSummary {
4
3
  credit: IMoneyResponse;
5
4
  charge: IMoneyResponse;
@@ -1,11 +1,5 @@
1
- import { type CollectionMode, type CurrencyCode, type SubscriptionStatus } from '../../enums/index.js';
2
- import { type ISubscriptionDiscountResponse } from './subscription-discount-response.js';
3
- import { type IBillingDetailsResponse, type ICustomData, type IImportMetaResponse, type ITimePeriod, type ITransactionDetailsPreviewResponse } from '../shared/index.js';
4
- import { type ISubscriptionTimePeriodResponse } from './subscription-time-period-response.js';
5
- import { type ISubscriptionScheduledChangeResponse } from './subscription-scheduled-change-response.js';
6
- import { type ISubscriptionManagementResponse } from './subscription-management-response.js';
7
- import { type ISubscriptionItemResponse } from './subscription-item-response.js';
8
- import { type INextTransactionResponse } from './next-transaction-response.js';
1
+ import { type IBillingDetailsResponse, type ICustomData, type IImportMetaResponse, type INextTransactionResponse, type ISubscriptionDiscountResponse, type ISubscriptionItemResponse, type ISubscriptionManagementResponse, type ISubscriptionScheduledChangeResponse, type ISubscriptionTimePeriodResponse, type ITimePeriod, type ITransactionDetailsPreviewResponse } from '../index';
2
+ import { type CollectionMode, type CurrencyCode, type SubscriptionStatus } from '../../enums';
9
3
  export interface ISubscriptionResponse {
10
4
  id: string;
11
5
  status: SubscriptionStatus;
@@ -1,4 +1,4 @@
1
- import { type IMoneyResponse } from '../shared/index.js';
1
+ import { type IMoneyResponse } from '../shared';
2
2
  export interface ISubscriptionResultResponse extends IMoneyResponse {
3
3
  action: 'credit' | 'charge';
4
4
  }
@@ -1,4 +1,4 @@
1
- import { type ScheduledChangeAction } from '../../enums/index.js';
1
+ import { type ScheduledChangeAction } from '../../enums';
2
2
  export interface ISubscriptionScheduledChangeResponse {
3
3
  action: ScheduledChangeAction;
4
4
  effective_at: string;
@@ -1,5 +1,5 @@
1
- import { type IAdjustmentTotalsBreakdown } from './adjustment-totals-breakdown.js';
2
- import { type CurrencyCode } from '../../enums/index.js';
1
+ import { type IAdjustmentTotalsBreakdown } from '../index';
2
+ import { type CurrencyCode } from '../../enums';
3
3
  export interface IAdjustmentTotalsResponse {
4
4
  subtotal: string;
5
5
  tax: string;