@paddle/paddle-node-sdk 0.3.0 → 0.5.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 (377) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/dist/entities/price/price.d.ts +8 -8
  3. package/dist/entities/price/price.js +4 -7
  4. package/dist/entities/pricing-preview/pricing-preview.d.ts +1 -2
  5. package/dist/entities/shared/transaction-payment-attempt.d.ts +1 -0
  6. package/dist/entities/shared/transaction-payment-attempt.js +1 -0
  7. package/dist/entities/subscription/index.d.ts +0 -2
  8. package/dist/entities/subscription/index.js +0 -2
  9. package/dist/entities/subscription/subscription-item.d.ts +2 -2
  10. package/dist/entities/subscription/subscription-item.js +1 -1
  11. package/dist/entities/transaction/transaction-includes.d.ts +2 -1
  12. package/dist/entities/transaction/transaction-includes.js +1 -0
  13. package/dist/entities/transaction/transaction-preview.d.ts +1 -2
  14. package/dist/enums/shared/index.d.ts +1 -0
  15. package/dist/enums/shared/index.js +1 -0
  16. package/dist/notifications/entities/address/address-notification.d.ts +19 -0
  17. package/dist/notifications/entities/address/address-notification.js +22 -0
  18. package/dist/notifications/entities/address/index.d.ts +1 -0
  19. package/dist/notifications/entities/address/index.js +17 -0
  20. package/dist/notifications/entities/adjustment/adjustment-item-notification.d.ts +12 -0
  21. package/dist/notifications/entities/adjustment/adjustment-item-notification.js +15 -0
  22. package/dist/notifications/entities/adjustment/adjustment-item-totals-notification.d.ts +7 -0
  23. package/dist/notifications/entities/adjustment/adjustment-item-totals-notification.js +11 -0
  24. package/dist/notifications/entities/adjustment/adjustment-notification.d.ts +20 -0
  25. package/dist/notifications/entities/adjustment/adjustment-notification.js +25 -0
  26. package/dist/notifications/entities/adjustment/adjustment-proration-notification.d.ts +7 -0
  27. package/dist/notifications/entities/adjustment/adjustment-proration-notification.js +13 -0
  28. package/dist/notifications/entities/adjustment/adjustment-time-period-notification.d.ts +6 -0
  29. package/dist/notifications/entities/adjustment/adjustment-time-period-notification.js +10 -0
  30. package/dist/notifications/entities/adjustment/index.d.ts +5 -0
  31. package/dist/notifications/entities/adjustment/index.js +21 -0
  32. package/dist/notifications/entities/business/business-notification.d.ts +17 -0
  33. package/dist/notifications/entities/business/business-notification.js +19 -0
  34. package/dist/notifications/entities/business/contacts-notification.d.ts +6 -0
  35. package/dist/notifications/entities/business/contacts-notification.js +10 -0
  36. package/dist/notifications/entities/business/index.d.ts +2 -0
  37. package/dist/notifications/entities/business/index.js +18 -0
  38. package/dist/notifications/entities/customer/customer-notification.d.ts +17 -0
  39. package/dist/notifications/entities/customer/customer-notification.js +19 -0
  40. package/dist/notifications/entities/customer/index.d.ts +1 -0
  41. package/dist/notifications/entities/customer/index.js +17 -0
  42. package/dist/notifications/entities/discount/discount-notification.d.ts +25 -0
  43. package/dist/notifications/entities/discount/discount-notification.js +28 -0
  44. package/dist/notifications/entities/discount/index.d.ts +1 -0
  45. package/dist/notifications/entities/discount/index.js +17 -0
  46. package/dist/notifications/entities/index.d.ts +12 -0
  47. package/dist/notifications/entities/index.js +28 -0
  48. package/dist/notifications/entities/payout/index.d.ts +1 -0
  49. package/dist/notifications/entities/payout/index.js +17 -0
  50. package/dist/notifications/entities/payout/payout-notification.d.ts +9 -0
  51. package/dist/notifications/entities/payout/payout-notification.js +12 -0
  52. package/dist/notifications/entities/price/index.d.ts +2 -0
  53. package/dist/notifications/entities/price/index.js +18 -0
  54. package/dist/notifications/entities/price/price-notification.d.ts +21 -0
  55. package/dist/notifications/entities/price/price-notification.js +23 -0
  56. package/dist/notifications/entities/price/price-quantity-notification.d.ts +6 -0
  57. package/dist/notifications/entities/price/price-quantity-notification.js +10 -0
  58. package/dist/notifications/entities/product/index.d.ts +1 -0
  59. package/dist/notifications/entities/product/index.js +17 -0
  60. package/dist/notifications/entities/product/product-notification.d.ts +17 -0
  61. package/dist/notifications/entities/product/product-notification.js +20 -0
  62. package/dist/notifications/entities/report/index.d.ts +2 -0
  63. package/dist/notifications/entities/report/index.js +18 -0
  64. package/dist/notifications/entities/report/report-filters-notification.d.ts +8 -0
  65. package/dist/notifications/entities/report/report-filters-notification.js +12 -0
  66. package/dist/notifications/entities/report/report-notification.d.ts +13 -0
  67. package/dist/notifications/entities/report/report-notification.js +17 -0
  68. package/dist/notifications/entities/shared/adjustment-original-amount-notification.d.ts +7 -0
  69. package/dist/notifications/entities/shared/adjustment-original-amount-notification.js +10 -0
  70. package/dist/notifications/entities/shared/billing-details-notification.d.ts +9 -0
  71. package/dist/notifications/entities/shared/billing-details-notification.js +14 -0
  72. package/dist/notifications/entities/shared/chargeback-fee-notification.d.ts +7 -0
  73. package/dist/notifications/entities/shared/chargeback-fee-notification.js +11 -0
  74. package/dist/notifications/entities/shared/import-meta-notification.d.ts +6 -0
  75. package/dist/notifications/entities/shared/import-meta-notification.js +10 -0
  76. package/dist/notifications/entities/shared/index.d.ts +20 -0
  77. package/dist/notifications/entities/shared/index.js +36 -0
  78. package/dist/notifications/entities/shared/money-notification.d.ts +7 -0
  79. package/dist/notifications/entities/shared/money-notification.js +10 -0
  80. package/dist/notifications/entities/shared/payment-card-notification.d.ts +10 -0
  81. package/dist/notifications/entities/shared/payment-card-notification.js +13 -0
  82. package/dist/notifications/entities/shared/payment-method-details-notification.d.ts +8 -0
  83. package/dist/notifications/entities/shared/payment-method-details-notification.js +11 -0
  84. package/dist/notifications/entities/shared/payout-totals-adjustment-notification.d.ts +13 -0
  85. package/dist/notifications/entities/shared/payout-totals-adjustment-notification.js +18 -0
  86. package/dist/notifications/entities/shared/tax-rates-used-notification.d.ts +7 -0
  87. package/dist/notifications/entities/shared/tax-rates-used-notification.js +11 -0
  88. package/dist/notifications/entities/shared/time-period-notification.d.ts +7 -0
  89. package/dist/notifications/entities/shared/time-period-notification.js +10 -0
  90. package/dist/notifications/entities/shared/total-adjustments-notification.d.ts +11 -0
  91. package/dist/notifications/entities/shared/total-adjustments-notification.js +14 -0
  92. package/dist/notifications/entities/shared/totals-notification.d.ts +8 -0
  93. package/dist/notifications/entities/shared/totals-notification.js +12 -0
  94. package/dist/notifications/entities/shared/transaction-checkout-notification.d.ts +5 -0
  95. package/dist/notifications/entities/shared/transaction-checkout-notification.js +9 -0
  96. package/dist/notifications/entities/shared/transaction-payment-attempt-notification.d.ts +15 -0
  97. package/dist/notifications/entities/shared/transaction-payment-attempt-notification.js +21 -0
  98. package/dist/notifications/entities/shared/transaction-payout-totals-adjusted-notification.d.ts +13 -0
  99. package/dist/notifications/entities/shared/transaction-payout-totals-adjusted-notification.js +18 -0
  100. package/dist/notifications/entities/shared/transaction-payout-totals-notification.d.ts +16 -0
  101. package/dist/notifications/entities/shared/transaction-payout-totals-notification.js +19 -0
  102. package/dist/notifications/entities/shared/transaction-totals-adjusted-notification.d.ts +12 -0
  103. package/dist/notifications/entities/shared/transaction-totals-adjusted-notification.js +15 -0
  104. package/dist/notifications/entities/shared/transaction-totals-notification.d.ts +16 -0
  105. package/dist/notifications/entities/shared/transaction-totals-notification.js +19 -0
  106. package/dist/notifications/entities/shared/unit-price-override-notification.d.ts +8 -0
  107. package/dist/notifications/entities/shared/unit-price-override-notification.js +11 -0
  108. package/dist/notifications/entities/shared/unit-totals-notification.d.ts +8 -0
  109. package/dist/notifications/entities/shared/unit-totals-notification.js +12 -0
  110. package/dist/notifications/entities/subscription/index.d.ts +6 -0
  111. package/dist/notifications/entities/subscription/index.js +22 -0
  112. package/dist/notifications/entities/subscription/subscription-discount-notification.d.ts +7 -0
  113. package/dist/notifications/entities/subscription/subscription-discount-notification.js +12 -0
  114. package/dist/notifications/entities/subscription/subscription-item-notification.d.ts +15 -0
  115. package/dist/notifications/entities/subscription/subscription-item-notification.js +20 -0
  116. package/dist/{entities → notifications/entities}/subscription/subscription-notification.d.ts +10 -8
  117. package/dist/{entities → notifications/entities}/subscription/subscription-notification.js +9 -6
  118. package/dist/notifications/entities/subscription/subscription-price-notification.d.ts +21 -0
  119. package/dist/notifications/entities/subscription/subscription-price-notification.js +27 -0
  120. package/dist/notifications/entities/subscription/subscription-scheduled-change-notification.d.ts +8 -0
  121. package/dist/notifications/entities/subscription/subscription-scheduled-change-notification.js +11 -0
  122. package/dist/notifications/entities/subscription/subscription-time-period-notification.d.ts +6 -0
  123. package/dist/notifications/entities/subscription/subscription-time-period-notification.js +10 -0
  124. package/dist/notifications/entities/transaction/index.d.ts +6 -0
  125. package/dist/notifications/entities/transaction/index.js +22 -0
  126. package/dist/notifications/entities/transaction/transaction-details-notification.d.ts +11 -0
  127. package/dist/notifications/entities/transaction/transaction-details-notification.js +21 -0
  128. package/dist/notifications/entities/transaction/transaction-item-notification.d.ts +8 -0
  129. package/dist/notifications/entities/transaction/transaction-item-notification.js +12 -0
  130. package/dist/notifications/entities/transaction/transaction-line-item-notification.d.ts +13 -0
  131. package/dist/notifications/entities/transaction/transaction-line-item-notification.js +21 -0
  132. package/dist/notifications/entities/transaction/transaction-notification.d.ts +29 -0
  133. package/dist/notifications/entities/transaction/transaction-notification.js +35 -0
  134. package/dist/notifications/entities/transaction/transaction-proration-notification.d.ts +7 -0
  135. package/dist/notifications/entities/transaction/transaction-proration-notification.js +13 -0
  136. package/dist/notifications/entities/transaction/transactions-time-period-notification.d.ts +6 -0
  137. package/dist/notifications/entities/transaction/transactions-time-period-notification.js +10 -0
  138. package/dist/notifications/events/address/address-created-event.d.ts +5 -4
  139. package/dist/notifications/events/address/address-created-event.js +2 -2
  140. package/dist/notifications/events/address/address-imported-event.d.ts +5 -4
  141. package/dist/notifications/events/address/address-imported-event.js +2 -2
  142. package/dist/notifications/events/address/address-updated-event.d.ts +5 -4
  143. package/dist/notifications/events/address/address-updated-event.js +2 -2
  144. package/dist/notifications/events/adjustment/adjustment-created-event.d.ts +5 -4
  145. package/dist/notifications/events/adjustment/adjustment-created-event.js +2 -2
  146. package/dist/notifications/events/adjustment/adjustment-updated-event.d.ts +5 -4
  147. package/dist/notifications/events/adjustment/adjustment-updated-event.js +2 -2
  148. package/dist/notifications/events/business/business-created-event.d.ts +5 -4
  149. package/dist/notifications/events/business/business-created-event.js +2 -2
  150. package/dist/notifications/events/business/business-imported-event.d.ts +5 -4
  151. package/dist/notifications/events/business/business-imported-event.js +2 -2
  152. package/dist/notifications/events/business/business-updated-event.d.ts +5 -4
  153. package/dist/notifications/events/business/business-updated-event.js +2 -2
  154. package/dist/notifications/events/customer/customer-created-event.d.ts +5 -4
  155. package/dist/notifications/events/customer/customer-created-event.js +2 -2
  156. package/dist/notifications/events/customer/customer-imported-event.d.ts +5 -4
  157. package/dist/notifications/events/customer/customer-imported-event.js +2 -2
  158. package/dist/notifications/events/customer/customer-updated-event.d.ts +5 -4
  159. package/dist/notifications/events/customer/customer-updated-event.js +2 -2
  160. package/dist/notifications/events/discount/discount-created-event.d.ts +5 -4
  161. package/dist/notifications/events/discount/discount-created-event.js +2 -2
  162. package/dist/notifications/events/discount/discount-imported-event.d.ts +5 -4
  163. package/dist/notifications/events/discount/discount-imported-event.js +2 -2
  164. package/dist/notifications/events/discount/discount-updated-event.d.ts +5 -4
  165. package/dist/notifications/events/discount/discount-updated-event.js +2 -2
  166. package/dist/notifications/events/payout/payout-created-event.d.ts +5 -4
  167. package/dist/notifications/events/payout/payout-created-event.js +2 -2
  168. package/dist/notifications/events/payout/payout-paid-event.d.ts +5 -4
  169. package/dist/notifications/events/payout/payout-paid-event.js +2 -2
  170. package/dist/notifications/events/price/price-created-event.d.ts +5 -4
  171. package/dist/notifications/events/price/price-created-event.js +2 -2
  172. package/dist/notifications/events/price/price-imported-event.d.ts +5 -4
  173. package/dist/notifications/events/price/price-imported-event.js +2 -2
  174. package/dist/notifications/events/price/price-updated-event.d.ts +5 -4
  175. package/dist/notifications/events/price/price-updated-event.js +2 -2
  176. package/dist/notifications/events/product/product-created-event.d.ts +5 -4
  177. package/dist/notifications/events/product/product-created-event.js +2 -2
  178. package/dist/notifications/events/product/product-imported-event.d.ts +5 -4
  179. package/dist/notifications/events/product/product-imported-event.js +2 -2
  180. package/dist/notifications/events/product/product-updated-event.d.ts +5 -4
  181. package/dist/notifications/events/product/product-updated-event.js +2 -2
  182. package/dist/notifications/events/report/report-created-event.d.ts +5 -4
  183. package/dist/notifications/events/report/report-created-event.js +2 -2
  184. package/dist/notifications/events/report/report-updated-event.d.ts +5 -4
  185. package/dist/notifications/events/report/report-updated-event.js +2 -2
  186. package/dist/notifications/events/subscription/subscription-activated-event.d.ts +3 -2
  187. package/dist/notifications/events/subscription/subscription-activated-event.js +1 -1
  188. package/dist/notifications/events/subscription/subscription-canceled-event.d.ts +3 -2
  189. package/dist/notifications/events/subscription/subscription-canceled-event.js +1 -1
  190. package/dist/notifications/events/subscription/subscription-created-event.d.ts +3 -2
  191. package/dist/notifications/events/subscription/subscription-created-event.js +1 -1
  192. package/dist/notifications/events/subscription/subscription-imported-event.d.ts +3 -2
  193. package/dist/notifications/events/subscription/subscription-imported-event.js +1 -1
  194. package/dist/notifications/events/subscription/subscription-past-due-event.d.ts +3 -2
  195. package/dist/notifications/events/subscription/subscription-past-due-event.js +1 -1
  196. package/dist/notifications/events/subscription/subscription-paused-event.d.ts +3 -2
  197. package/dist/notifications/events/subscription/subscription-paused-event.js +1 -1
  198. package/dist/notifications/events/subscription/subscription-resumed-event.d.ts +3 -2
  199. package/dist/notifications/events/subscription/subscription-resumed-event.js +1 -1
  200. package/dist/notifications/events/subscription/subscription-trialing-event.d.ts +3 -2
  201. package/dist/notifications/events/subscription/subscription-trialing-event.js +1 -1
  202. package/dist/notifications/events/subscription/subscription-updated-event.d.ts +3 -2
  203. package/dist/notifications/events/subscription/subscription-updated-event.js +1 -1
  204. package/dist/notifications/events/transaction/transaction-billed-event.d.ts +5 -4
  205. package/dist/notifications/events/transaction/transaction-billed-event.js +2 -2
  206. package/dist/notifications/events/transaction/transaction-canceled-event.d.ts +5 -4
  207. package/dist/notifications/events/transaction/transaction-canceled-event.js +2 -2
  208. package/dist/notifications/events/transaction/transaction-completed-event.d.ts +5 -4
  209. package/dist/notifications/events/transaction/transaction-completed-event.js +2 -2
  210. package/dist/notifications/events/transaction/transaction-created-event.d.ts +5 -4
  211. package/dist/notifications/events/transaction/transaction-created-event.js +2 -2
  212. package/dist/notifications/events/transaction/transaction-paid-event.d.ts +5 -4
  213. package/dist/notifications/events/transaction/transaction-paid-event.js +2 -2
  214. package/dist/notifications/events/transaction/transaction-past-due-event.d.ts +5 -4
  215. package/dist/notifications/events/transaction/transaction-past-due-event.js +2 -2
  216. package/dist/notifications/events/transaction/transaction-payment-failed-event.d.ts +5 -4
  217. package/dist/notifications/events/transaction/transaction-payment-failed-event.js +2 -2
  218. package/dist/notifications/events/transaction/transaction-ready-event.d.ts +5 -4
  219. package/dist/notifications/events/transaction/transaction-ready-event.js +2 -2
  220. package/dist/notifications/events/transaction/transaction-updated-event.d.ts +5 -4
  221. package/dist/notifications/events/transaction/transaction-updated-event.js +2 -2
  222. package/dist/notifications/index.d.ts +2 -0
  223. package/dist/notifications/index.js +2 -0
  224. package/dist/notifications/types/address/address-notification-response.d.ts +17 -0
  225. package/dist/notifications/types/address/index.d.ts +1 -0
  226. package/dist/notifications/types/address/index.js +17 -0
  227. package/dist/notifications/types/adjustment/adjustment-item-notification-response.d.ts +10 -0
  228. package/dist/notifications/types/adjustment/adjustment-notification-response.d.ts +18 -0
  229. package/dist/notifications/types/adjustment/adjustment-notification-response.js +2 -0
  230. package/dist/notifications/types/adjustment/adjustment-totals-breakdown-notification.d.ts +5 -0
  231. package/dist/notifications/types/adjustment/adjustment-totals-breakdown-notification.js +2 -0
  232. package/dist/notifications/types/adjustment/adjustment-totals-notification-response.d.ts +11 -0
  233. package/dist/notifications/types/adjustment/adjustment-totals-notification-response.js +2 -0
  234. package/dist/notifications/types/adjustment/adjustments-proration-notification-response.d.ts +5 -0
  235. package/dist/notifications/types/adjustment/adjustments-proration-notification-response.js +2 -0
  236. package/dist/notifications/types/adjustment/adjustments-time-period-notification-response.d.ts +4 -0
  237. package/dist/notifications/types/adjustment/adjustments-time-period-notification-response.js +2 -0
  238. package/dist/notifications/types/adjustment/index.d.ts +6 -0
  239. package/dist/notifications/types/adjustment/index.js +22 -0
  240. package/dist/notifications/types/business/business-notification-response.d.ts +15 -0
  241. package/dist/notifications/types/business/business-notification-response.js +2 -0
  242. package/dist/notifications/types/business/businesses-contacts-notification.d.ts +4 -0
  243. package/dist/notifications/types/business/businesses-contacts-notification.js +2 -0
  244. package/dist/notifications/types/business/index.d.ts +2 -0
  245. package/dist/notifications/types/business/index.js +18 -0
  246. package/dist/notifications/types/customer/customer-notification-response.d.ts +15 -0
  247. package/dist/notifications/types/customer/customer-notification-response.js +2 -0
  248. package/dist/notifications/types/customer/index.d.ts +1 -0
  249. package/dist/notifications/types/customer/index.js +17 -0
  250. package/dist/notifications/types/discount/discount-notification-response.d.ts +23 -0
  251. package/dist/notifications/types/discount/discount-notification-response.js +2 -0
  252. package/dist/notifications/types/discount/index.d.ts +1 -0
  253. package/dist/notifications/types/discount/index.js +17 -0
  254. package/dist/notifications/types/index.d.ts +12 -0
  255. package/dist/notifications/types/index.js +28 -0
  256. package/dist/notifications/types/payout/index.d.ts +1 -0
  257. package/dist/notifications/types/payout/index.js +17 -0
  258. package/dist/notifications/types/payout/payout-notification-response.d.ts +7 -0
  259. package/dist/notifications/types/payout/payout-notification-response.js +2 -0
  260. package/dist/notifications/types/price/index.d.ts +2 -0
  261. package/dist/notifications/types/price/index.js +18 -0
  262. package/dist/notifications/types/price/price-notification-response.d.ts +20 -0
  263. package/dist/notifications/types/price/price-notification-response.js +2 -0
  264. package/dist/notifications/types/price/price-quantity-notification.d.ts +4 -0
  265. package/dist/notifications/types/price/price-quantity-notification.js +2 -0
  266. package/dist/notifications/types/product/index.d.ts +1 -0
  267. package/dist/notifications/types/product/index.js +17 -0
  268. package/dist/notifications/types/product/product-notification-response.d.ts +16 -0
  269. package/dist/notifications/types/product/product-notification-response.js +2 -0
  270. package/dist/notifications/types/report/index.d.ts +2 -0
  271. package/dist/notifications/types/report/index.js +18 -0
  272. package/dist/notifications/types/report/report-filters-notification-response.d.ts +6 -0
  273. package/dist/notifications/types/report/report-filters-notification-response.js +2 -0
  274. package/dist/notifications/types/report/report-notification-response.d.ts +11 -0
  275. package/dist/notifications/types/report/report-notification-response.js +2 -0
  276. package/dist/notifications/types/shared/adjustment-original-amount-notification-response.d.ts +5 -0
  277. package/dist/notifications/types/shared/adjustment-original-amount-notification-response.js +2 -0
  278. package/dist/notifications/types/shared/billing-details-notification-response.d.ts +7 -0
  279. package/dist/notifications/types/shared/billing-details-notification-response.js +2 -0
  280. package/dist/notifications/types/shared/chargeback-fee.d.ts +5 -0
  281. package/dist/notifications/types/shared/chargeback-fee.js +2 -0
  282. package/dist/notifications/types/shared/import-meta-notification-response.d.ts +4 -0
  283. package/dist/notifications/types/shared/import-meta-notification-response.js +2 -0
  284. package/dist/notifications/types/shared/index.d.ts +22 -0
  285. package/dist/notifications/types/shared/index.js +38 -0
  286. package/dist/notifications/types/shared/money-notification-response.d.ts +5 -0
  287. package/dist/notifications/types/shared/money-notification-response.js +2 -0
  288. package/dist/notifications/types/shared/payment-card-notification-response.d.ts +8 -0
  289. package/dist/notifications/types/shared/payment-card-notification-response.js +2 -0
  290. package/dist/notifications/types/shared/payment-method-details.d.ts +6 -0
  291. package/dist/notifications/types/shared/payment-method-details.js +2 -0
  292. package/dist/notifications/types/shared/payout-totals-adjustment-notification-response.d.ts +11 -0
  293. package/dist/notifications/types/shared/payout-totals-adjustment-notification-response.js +2 -0
  294. package/dist/notifications/types/shared/shared-price-notification-response.d.ts +19 -0
  295. package/dist/notifications/types/shared/shared-price-notification-response.js +2 -0
  296. package/dist/notifications/types/shared/shared-product-notification-response.d.ts +15 -0
  297. package/dist/notifications/types/shared/shared-product-notification-response.js +2 -0
  298. package/dist/notifications/types/shared/tax-rates-used-notification-response.d.ts +5 -0
  299. package/dist/notifications/types/shared/tax-rates-used-notification-response.js +2 -0
  300. package/dist/notifications/types/shared/time-period-notification.d.ts +5 -0
  301. package/dist/notifications/types/shared/time-period-notification.js +2 -0
  302. package/dist/notifications/types/shared/total-adjustments-notification-response.d.ts +9 -0
  303. package/dist/notifications/types/shared/total-adjustments-notification-response.js +2 -0
  304. package/dist/notifications/types/shared/totals.d.ts +6 -0
  305. package/dist/notifications/types/shared/totals.js +2 -0
  306. package/dist/notifications/types/shared/transaction-checkout-notification.d.ts +3 -0
  307. package/dist/notifications/types/shared/transaction-checkout-notification.js +2 -0
  308. package/dist/notifications/types/shared/transaction-payment-attempt-notification-response.d.ts +13 -0
  309. package/dist/notifications/types/shared/transaction-payment-attempt-notification-response.js +2 -0
  310. package/dist/notifications/types/shared/transaction-payout-totals-adjusted-notification-response.d.ts +11 -0
  311. package/dist/notifications/types/shared/transaction-payout-totals-adjusted-notification-response.js +2 -0
  312. package/dist/notifications/types/shared/transaction-payout-totals-notification-response.d.ts +14 -0
  313. package/dist/notifications/types/shared/transaction-payout-totals-notification-response.js +2 -0
  314. package/dist/notifications/types/shared/transaction-totals-adjusted-notification-response.d.ts +10 -0
  315. package/dist/notifications/types/shared/transaction-totals-adjusted-notification-response.js +2 -0
  316. package/dist/notifications/types/shared/transaction-totals-notification-response.d.ts +14 -0
  317. package/dist/notifications/types/shared/transaction-totals-notification-response.js +2 -0
  318. package/dist/notifications/types/shared/unit-price-override-notification-response.d.ts +6 -0
  319. package/dist/notifications/types/shared/unit-price-override-notification-response.js +2 -0
  320. package/dist/notifications/types/shared/unit-totals.d.ts +6 -0
  321. package/dist/notifications/types/shared/unit-totals.js +2 -0
  322. package/dist/notifications/types/subscription/index.d.ts +7 -0
  323. package/dist/notifications/types/subscription/index.js +23 -0
  324. package/dist/notifications/types/subscription/subscription-discount-notification-response.d.ts +5 -0
  325. package/dist/notifications/types/subscription/subscription-discount-notification-response.js +2 -0
  326. package/dist/notifications/types/subscription/subscription-item-notification-response.d.ts +13 -0
  327. package/dist/notifications/types/subscription/subscription-item-notification-response.js +2 -0
  328. package/dist/notifications/types/subscription/subscription-notification-response.d.ts +28 -0
  329. package/dist/notifications/types/subscription/subscription-notification-response.js +2 -0
  330. package/dist/notifications/types/subscription/subscription-price-notification-response.d.ts +20 -0
  331. package/dist/notifications/types/subscription/subscription-price-notification-response.js +2 -0
  332. package/dist/notifications/types/subscription/subscription-scheduled-change-notification-response.d.ts +6 -0
  333. package/dist/notifications/types/subscription/subscription-scheduled-change-notification-response.js +2 -0
  334. package/dist/notifications/types/subscription/subscription-time-period-notification-response.d.ts +4 -0
  335. package/dist/notifications/types/subscription/subscription-time-period-notification-response.js +2 -0
  336. package/dist/notifications/types/transaction/index.d.ts +6 -0
  337. package/dist/notifications/types/transaction/index.js +22 -0
  338. package/dist/notifications/types/transaction/transaction-details-notification-response.d.ts +9 -0
  339. package/dist/notifications/types/transaction/transaction-details-notification-response.js +2 -0
  340. package/dist/notifications/types/transaction/transaction-item-notification-response.d.ts +7 -0
  341. package/dist/notifications/types/transaction/transaction-item-notification-response.js +2 -0
  342. package/dist/notifications/types/transaction/transaction-line-item-notification-response.d.ts +11 -0
  343. package/dist/notifications/types/transaction/transaction-line-item-notification-response.js +2 -0
  344. package/dist/notifications/types/transaction/transaction-notification-response.d.ts +27 -0
  345. package/dist/notifications/types/transaction/transaction-notification-response.js +2 -0
  346. package/dist/notifications/types/transaction/transaction-proration-notification-response.d.ts +5 -0
  347. package/dist/notifications/types/transaction/transaction-proration-notification-response.js +2 -0
  348. package/dist/notifications/types/transaction/transactions-time-period-notification-response.d.ts +4 -0
  349. package/dist/notifications/types/transaction/transactions-time-period-notification-response.js +2 -0
  350. package/dist/resources/customers/operations/list-customer-query-parameters.d.ts +1 -0
  351. package/dist/resources/subscriptions/operations/resume-subscription-request-object.d.ts +1 -2
  352. package/dist/resources/transactions/index.d.ts +3 -3
  353. package/dist/resources/transactions/index.js +4 -3
  354. package/dist/resources/transactions/operations/create-transaction-query-parameters.d.ts +1 -1
  355. package/dist/resources/transactions/operations/index.d.ts +1 -0
  356. package/dist/resources/transactions/operations/index.js +1 -0
  357. package/dist/resources/transactions/operations/update-transaction-query-parameters.d.ts +3 -0
  358. package/dist/resources/transactions/operations/update-transaction-query-parameters.js +2 -0
  359. package/dist/types/events/events-response.d.ts +34 -45
  360. package/dist/types/price/price-response.d.ts +1 -1
  361. package/dist/types/pricing-preview/pricing-preview-response.d.ts +1 -2
  362. package/dist/types/shared/shared-price-response.d.ts +4 -4
  363. package/dist/types/shared/transaction-payment-attempt-response.d.ts +1 -0
  364. package/dist/types/subscription/index.d.ts +0 -2
  365. package/dist/types/subscription/index.js +0 -2
  366. package/dist/types/subscription/subscription-item-response.d.ts +2 -2
  367. package/dist/types/transaction/transaction-preview-response.d.ts +1 -2
  368. package/dist/types/transaction/transaction-response.d.ts +2 -1
  369. package/dist/version.d.ts +1 -1
  370. package/dist/version.js +1 -1
  371. package/package.json +1 -1
  372. package/dist/entities/subscription/subscription-price.d.ts +0 -13
  373. package/dist/entities/subscription/subscription-price.js +0 -16
  374. package/dist/types/subscription/subscription-notification-response.d.ts +0 -28
  375. package/dist/types/subscription/subscription-price-response.d.ts +0 -11
  376. /package/dist/{types/subscription/subscription-notification-response.js → notifications/types/address/address-notification-response.js} +0 -0
  377. /package/dist/{types/subscription/subscription-price-response.js → notifications/types/adjustment/adjustment-item-notification-response.js} +0 -0
@@ -2,13 +2,13 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DiscountImportedEvent = void 0;
4
4
  const event_1 = require("../../../entities/events/event");
5
- const entities_1 = require("../../../entities");
5
+ const entities_1 = require("../../entities");
6
6
  const helpers_1 = require("../../helpers");
7
7
  class DiscountImportedEvent extends event_1.Event {
8
8
  constructor(response) {
9
9
  super(response);
10
10
  this.eventType = helpers_1.EventName.DiscountImported;
11
- this.data = new entities_1.Discount(response.data);
11
+ this.data = new entities_1.DiscountNotification(response.data);
12
12
  }
13
13
  }
14
14
  exports.DiscountImportedEvent = DiscountImportedEvent;
@@ -1,9 +1,10 @@
1
1
  import { Event } from '../../../entities/events/event';
2
- import { Discount } from '../../../entities';
3
- import { type IDiscountResponse, type IEventsResponse } from '../../../types';
2
+ import { DiscountNotification } from '../../entities';
3
+ import { type IEventsResponse } from '../../../types';
4
4
  import { EventName } from '../../helpers';
5
+ import { type IDiscountNotificationResponse } from '../../types';
5
6
  export declare class DiscountUpdatedEvent extends Event {
6
7
  readonly eventType = EventName.DiscountUpdated;
7
- readonly data: Discount;
8
- constructor(response: IEventsResponse<IDiscountResponse>);
8
+ readonly data: DiscountNotification;
9
+ constructor(response: IEventsResponse<IDiscountNotificationResponse>);
9
10
  }
@@ -2,13 +2,13 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DiscountUpdatedEvent = void 0;
4
4
  const event_1 = require("../../../entities/events/event");
5
- const entities_1 = require("../../../entities");
5
+ const entities_1 = require("../../entities");
6
6
  const helpers_1 = require("../../helpers");
7
7
  class DiscountUpdatedEvent extends event_1.Event {
8
8
  constructor(response) {
9
9
  super(response);
10
10
  this.eventType = helpers_1.EventName.DiscountUpdated;
11
- this.data = new entities_1.Discount(response.data);
11
+ this.data = new entities_1.DiscountNotification(response.data);
12
12
  }
13
13
  }
14
14
  exports.DiscountUpdatedEvent = DiscountUpdatedEvent;
@@ -1,9 +1,10 @@
1
1
  import { Event } from '../../../entities/events/event';
2
- import { Payout } from '../../../entities';
3
- import { type IEventsResponse, type IPayoutResponse } from '../../../types';
2
+ import { PayoutNotification } from '../../entities';
3
+ import { type IEventsResponse } from '../../../types';
4
4
  import { EventName } from '../../helpers';
5
+ import { type IPayoutNotificationResponse } from '../../types';
5
6
  export declare class PayoutCreatedEvent extends Event {
6
7
  readonly eventType = EventName.PayoutCreated;
7
- readonly data: Payout;
8
- constructor(response: IEventsResponse<IPayoutResponse>);
8
+ readonly data: PayoutNotification;
9
+ constructor(response: IEventsResponse<IPayoutNotificationResponse>);
9
10
  }
@@ -2,13 +2,13 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.PayoutCreatedEvent = void 0;
4
4
  const event_1 = require("../../../entities/events/event");
5
- const entities_1 = require("../../../entities");
5
+ const entities_1 = require("../../entities");
6
6
  const helpers_1 = require("../../helpers");
7
7
  class PayoutCreatedEvent extends event_1.Event {
8
8
  constructor(response) {
9
9
  super(response);
10
10
  this.eventType = helpers_1.EventName.PayoutCreated;
11
- this.data = new entities_1.Payout(response.data);
11
+ this.data = new entities_1.PayoutNotification(response.data);
12
12
  }
13
13
  }
14
14
  exports.PayoutCreatedEvent = PayoutCreatedEvent;
@@ -1,9 +1,10 @@
1
1
  import { Event } from '../../../entities/events/event';
2
- import { Payout } from '../../../entities';
2
+ import { PayoutNotification } from '../../entities';
3
3
  import { EventName } from '../../helpers';
4
- import { type IEventsResponse, type IPayoutResponse } from '../../../types';
4
+ import { type IEventsResponse } from '../../../types';
5
+ import { type IPayoutNotificationResponse } from '../../types';
5
6
  export declare class PayoutPaidEvent extends Event {
6
7
  readonly eventType = EventName.PayoutPaid;
7
- readonly data: Payout;
8
- constructor(response: IEventsResponse<IPayoutResponse>);
8
+ readonly data: PayoutNotification;
9
+ constructor(response: IEventsResponse<IPayoutNotificationResponse>);
9
10
  }
@@ -2,13 +2,13 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.PayoutPaidEvent = void 0;
4
4
  const event_1 = require("../../../entities/events/event");
5
- const entities_1 = require("../../../entities");
5
+ const entities_1 = require("../../entities");
6
6
  const helpers_1 = require("../../helpers");
7
7
  class PayoutPaidEvent extends event_1.Event {
8
8
  constructor(response) {
9
9
  super(response);
10
10
  this.eventType = helpers_1.EventName.PayoutPaid;
11
- this.data = new entities_1.Payout(response.data);
11
+ this.data = new entities_1.PayoutNotification(response.data);
12
12
  }
13
13
  }
14
14
  exports.PayoutPaidEvent = PayoutPaidEvent;
@@ -1,9 +1,10 @@
1
1
  import { Event } from '../../../entities/events/event';
2
- import { Price } from '../../../entities';
2
+ import { PriceNotification } from '../../entities';
3
3
  import { EventName } from '../../helpers';
4
- import { type IEventsResponse, type IPriceResponse } from '../../../types';
4
+ import { type IEventsResponse } from '../../../types';
5
+ import { type IPriceNotificationResponse } from '../../types';
5
6
  export declare class PriceCreatedEvent extends Event {
6
7
  readonly eventType = EventName.PriceCreated;
7
- readonly data: Price;
8
- constructor(response: IEventsResponse<IPriceResponse>);
8
+ readonly data: PriceNotification;
9
+ constructor(response: IEventsResponse<IPriceNotificationResponse>);
9
10
  }
@@ -2,13 +2,13 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.PriceCreatedEvent = void 0;
4
4
  const event_1 = require("../../../entities/events/event");
5
- const entities_1 = require("../../../entities");
5
+ const entities_1 = require("../../entities");
6
6
  const helpers_1 = require("../../helpers");
7
7
  class PriceCreatedEvent extends event_1.Event {
8
8
  constructor(response) {
9
9
  super(response);
10
10
  this.eventType = helpers_1.EventName.PriceCreated;
11
- this.data = new entities_1.Price(response.data);
11
+ this.data = new entities_1.PriceNotification(response.data);
12
12
  }
13
13
  }
14
14
  exports.PriceCreatedEvent = PriceCreatedEvent;
@@ -1,9 +1,10 @@
1
1
  import { Event } from '../../../entities/events/event';
2
- import { Price } from '../../../entities';
2
+ import { PriceNotification } from '../../entities';
3
3
  import { EventName } from '../../helpers';
4
- import { type IEventsResponse, type IPriceResponse } from '../../../types';
4
+ import { type IEventsResponse } from '../../../types';
5
+ import { type IPriceNotificationResponse } from '../../types';
5
6
  export declare class PriceImportedEvent extends Event {
6
7
  readonly eventType = EventName.PriceImported;
7
- readonly data: Price;
8
- constructor(response: IEventsResponse<IPriceResponse>);
8
+ readonly data: PriceNotification;
9
+ constructor(response: IEventsResponse<IPriceNotificationResponse>);
9
10
  }
@@ -2,13 +2,13 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.PriceImportedEvent = void 0;
4
4
  const event_1 = require("../../../entities/events/event");
5
- const entities_1 = require("../../../entities");
5
+ const entities_1 = require("../../entities");
6
6
  const helpers_1 = require("../../helpers");
7
7
  class PriceImportedEvent extends event_1.Event {
8
8
  constructor(response) {
9
9
  super(response);
10
10
  this.eventType = helpers_1.EventName.PriceImported;
11
- this.data = new entities_1.Price(response.data);
11
+ this.data = new entities_1.PriceNotification(response.data);
12
12
  }
13
13
  }
14
14
  exports.PriceImportedEvent = PriceImportedEvent;
@@ -1,9 +1,10 @@
1
1
  import { Event } from '../../../entities/events/event';
2
- import { Price } from '../../../entities';
2
+ import { PriceNotification } from '../../entities';
3
3
  import { EventName } from '../../helpers';
4
- import { type IEventsResponse, type IPriceResponse } from '../../../types';
4
+ import { type IEventsResponse } from '../../../types';
5
+ import { type IPriceNotificationResponse } from '../../types';
5
6
  export declare class PriceUpdatedEvent extends Event {
6
7
  readonly eventType = EventName.PriceUpdated;
7
- readonly data: Price;
8
- constructor(response: IEventsResponse<IPriceResponse>);
8
+ readonly data: PriceNotification;
9
+ constructor(response: IEventsResponse<IPriceNotificationResponse>);
9
10
  }
@@ -2,13 +2,13 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.PriceUpdatedEvent = void 0;
4
4
  const event_1 = require("../../../entities/events/event");
5
- const entities_1 = require("../../../entities");
5
+ const entities_1 = require("../../entities");
6
6
  const helpers_1 = require("../../helpers");
7
7
  class PriceUpdatedEvent extends event_1.Event {
8
8
  constructor(response) {
9
9
  super(response);
10
10
  this.eventType = helpers_1.EventName.PriceUpdated;
11
- this.data = new entities_1.Price(response.data);
11
+ this.data = new entities_1.PriceNotification(response.data);
12
12
  }
13
13
  }
14
14
  exports.PriceUpdatedEvent = PriceUpdatedEvent;
@@ -1,9 +1,10 @@
1
1
  import { Event } from '../../../entities/events/event';
2
- import { Product } from '../../../entities';
2
+ import { ProductNotification } from '../../entities';
3
3
  import { EventName } from '../../helpers';
4
- import { type IEventsResponse, type IProductResponse } from '../../../types';
4
+ import { type IEventsResponse } from '../../../types';
5
+ import { type IProductNotificationResponse } from '../../types';
5
6
  export declare class ProductCreatedEvent extends Event {
6
7
  readonly eventType = EventName.ProductCreated;
7
- readonly data: Product;
8
- constructor(response: IEventsResponse<IProductResponse>);
8
+ readonly data: ProductNotification;
9
+ constructor(response: IEventsResponse<IProductNotificationResponse>);
9
10
  }
@@ -2,13 +2,13 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ProductCreatedEvent = void 0;
4
4
  const event_1 = require("../../../entities/events/event");
5
- const entities_1 = require("../../../entities");
5
+ const entities_1 = require("../../entities");
6
6
  const helpers_1 = require("../../helpers");
7
7
  class ProductCreatedEvent extends event_1.Event {
8
8
  constructor(response) {
9
9
  super(response);
10
10
  this.eventType = helpers_1.EventName.ProductCreated;
11
- this.data = new entities_1.Product(response.data);
11
+ this.data = new entities_1.ProductNotification(response.data);
12
12
  }
13
13
  }
14
14
  exports.ProductCreatedEvent = ProductCreatedEvent;
@@ -1,9 +1,10 @@
1
1
  import { Event } from '../../../entities/events/event';
2
- import { Product } from '../../../entities';
2
+ import { ProductNotification } from '../../entities';
3
3
  import { EventName } from '../../helpers';
4
- import { type IEventsResponse, type IProductResponse } from '../../../types';
4
+ import { type IEventsResponse } from '../../../types';
5
+ import { type IProductNotificationResponse } from '../../types';
5
6
  export declare class ProductImportedEvent extends Event {
6
7
  readonly eventType = EventName.ProductImported;
7
- readonly data: Product;
8
- constructor(response: IEventsResponse<IProductResponse>);
8
+ readonly data: ProductNotification;
9
+ constructor(response: IEventsResponse<IProductNotificationResponse>);
9
10
  }
@@ -2,13 +2,13 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ProductImportedEvent = void 0;
4
4
  const event_1 = require("../../../entities/events/event");
5
- const entities_1 = require("../../../entities");
5
+ const entities_1 = require("../../entities");
6
6
  const helpers_1 = require("../../helpers");
7
7
  class ProductImportedEvent extends event_1.Event {
8
8
  constructor(response) {
9
9
  super(response);
10
10
  this.eventType = helpers_1.EventName.ProductImported;
11
- this.data = new entities_1.Product(response.data);
11
+ this.data = new entities_1.ProductNotification(response.data);
12
12
  }
13
13
  }
14
14
  exports.ProductImportedEvent = ProductImportedEvent;
@@ -1,9 +1,10 @@
1
1
  import { Event } from '../../../entities/events/event';
2
- import { Product } from '../../../entities';
2
+ import { ProductNotification } from '../../entities';
3
3
  import { EventName } from '../../helpers';
4
- import { type IEventsResponse, type IProductResponse } from '../../../types';
4
+ import { type IEventsResponse } from '../../../types';
5
+ import { type IProductNotificationResponse } from '../../types';
5
6
  export declare class ProductUpdatedEvent extends Event {
6
7
  readonly eventType = EventName.ProductUpdated;
7
- readonly data: Product;
8
- constructor(response: IEventsResponse<IProductResponse>);
8
+ readonly data: ProductNotification;
9
+ constructor(response: IEventsResponse<IProductNotificationResponse>);
9
10
  }
@@ -2,13 +2,13 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ProductUpdatedEvent = void 0;
4
4
  const event_1 = require("../../../entities/events/event");
5
- const entities_1 = require("../../../entities");
5
+ const entities_1 = require("../../entities");
6
6
  const helpers_1 = require("../../helpers");
7
7
  class ProductUpdatedEvent extends event_1.Event {
8
8
  constructor(response) {
9
9
  super(response);
10
10
  this.eventType = helpers_1.EventName.ProductUpdated;
11
- this.data = new entities_1.Product(response.data);
11
+ this.data = new entities_1.ProductNotification(response.data);
12
12
  }
13
13
  }
14
14
  exports.ProductUpdatedEvent = ProductUpdatedEvent;
@@ -1,9 +1,10 @@
1
1
  import { Event } from '../../../entities/events/event';
2
- import { Report } from '../../../entities';
2
+ import { ReportNotification } from '../../entities';
3
3
  import { EventName } from '../../helpers';
4
- import { type IEventsResponse, type IReportResponse } from '../../../types';
4
+ import { type IEventsResponse } from '../../../types';
5
+ import { type IReportNotificationResponse } from '../../types';
5
6
  export declare class ReportCreatedEvent extends Event {
6
7
  readonly eventType = EventName.ReportCreated;
7
- readonly data: Report;
8
- constructor(response: IEventsResponse<IReportResponse>);
8
+ readonly data: ReportNotification;
9
+ constructor(response: IEventsResponse<IReportNotificationResponse>);
9
10
  }
@@ -2,13 +2,13 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ReportCreatedEvent = void 0;
4
4
  const event_1 = require("../../../entities/events/event");
5
- const entities_1 = require("../../../entities");
5
+ const entities_1 = require("../../entities");
6
6
  const helpers_1 = require("../../helpers");
7
7
  class ReportCreatedEvent extends event_1.Event {
8
8
  constructor(response) {
9
9
  super(response);
10
10
  this.eventType = helpers_1.EventName.ReportCreated;
11
- this.data = new entities_1.Report(response.data);
11
+ this.data = new entities_1.ReportNotification(response.data);
12
12
  }
13
13
  }
14
14
  exports.ReportCreatedEvent = ReportCreatedEvent;
@@ -1,9 +1,10 @@
1
1
  import { Event } from '../../../entities/events/event';
2
- import { Report } from '../../../entities';
2
+ import { ReportNotification } from '../../entities';
3
3
  import { EventName } from '../../helpers';
4
- import { type IEventsResponse, type IReportResponse } from '../../../types';
4
+ import { type IEventsResponse } from '../../../types';
5
+ import { type IReportNotificationResponse } from '../../types';
5
6
  export declare class ReportUpdatedEvent extends Event {
6
7
  readonly eventType = EventName.ReportUpdated;
7
- readonly data: Report;
8
- constructor(response: IEventsResponse<IReportResponse>);
8
+ readonly data: ReportNotification;
9
+ constructor(response: IEventsResponse<IReportNotificationResponse>);
9
10
  }
@@ -2,13 +2,13 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ReportUpdatedEvent = void 0;
4
4
  const event_1 = require("../../../entities/events/event");
5
- const entities_1 = require("../../../entities");
5
+ const entities_1 = require("../../entities");
6
6
  const helpers_1 = require("../../helpers");
7
7
  class ReportUpdatedEvent extends event_1.Event {
8
8
  constructor(response) {
9
9
  super(response);
10
10
  this.eventType = helpers_1.EventName.ReportUpdated;
11
- this.data = new entities_1.Report(response.data);
11
+ this.data = new entities_1.ReportNotification(response.data);
12
12
  }
13
13
  }
14
14
  exports.ReportUpdatedEvent = ReportUpdatedEvent;
@@ -1,7 +1,8 @@
1
1
  import { Event } from '../../../entities/events/event';
2
- import { SubscriptionNotification } from '../../../entities';
2
+ import { SubscriptionNotification } from '../../entities';
3
3
  import { EventName } from '../../helpers';
4
- import { type IEventsResponse, type ISubscriptionNotificationResponse } from '../../../types';
4
+ import { type IEventsResponse } from '../../../types';
5
+ import { type ISubscriptionNotificationResponse } from '../../types';
5
6
  export declare class SubscriptionActivatedEvent extends Event {
6
7
  readonly eventType = EventName.SubscriptionActivated;
7
8
  readonly data: Omit<SubscriptionNotification, 'transactionId'>;
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SubscriptionActivatedEvent = void 0;
4
4
  const event_1 = require("../../../entities/events/event");
5
- const entities_1 = require("../../../entities");
5
+ const entities_1 = require("../../entities");
6
6
  const helpers_1 = require("../../helpers");
7
7
  class SubscriptionActivatedEvent extends event_1.Event {
8
8
  constructor(response) {
@@ -1,7 +1,8 @@
1
1
  import { Event } from '../../../entities/events/event';
2
- import { SubscriptionNotification } from '../../../entities';
2
+ import { SubscriptionNotification } from '../../entities';
3
3
  import { EventName } from '../../helpers';
4
- import { type IEventsResponse, type ISubscriptionNotificationResponse } from '../../../types';
4
+ import { type IEventsResponse } from '../../../types';
5
+ import { type ISubscriptionNotificationResponse } from '../../types';
5
6
  export declare class SubscriptionCanceledEvent extends Event {
6
7
  readonly eventType = EventName.SubscriptionCanceled;
7
8
  readonly data: Omit<SubscriptionNotification, 'transactionId'>;
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SubscriptionCanceledEvent = void 0;
4
4
  const event_1 = require("../../../entities/events/event");
5
- const entities_1 = require("../../../entities");
5
+ const entities_1 = require("../../entities");
6
6
  const helpers_1 = require("../../helpers");
7
7
  class SubscriptionCanceledEvent extends event_1.Event {
8
8
  constructor(response) {
@@ -1,7 +1,8 @@
1
1
  import { Event } from '../../../entities/events/event';
2
- import { SubscriptionNotification } from '../../../entities';
2
+ import { SubscriptionNotification } from '../../entities';
3
3
  import { EventName } from '../../helpers';
4
- import { type IEventsResponse, type ISubscriptionNotificationResponse } from '../../../types';
4
+ import { type IEventsResponse } from '../../../types';
5
+ import { type ISubscriptionNotificationResponse } from '../../types';
5
6
  export declare class SubscriptionCreatedEvent extends Event {
6
7
  readonly eventType = EventName.SubscriptionCreated;
7
8
  readonly data: SubscriptionNotification;
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SubscriptionCreatedEvent = void 0;
4
4
  const event_1 = require("../../../entities/events/event");
5
- const entities_1 = require("../../../entities");
5
+ const entities_1 = require("../../entities");
6
6
  const helpers_1 = require("../../helpers");
7
7
  class SubscriptionCreatedEvent extends event_1.Event {
8
8
  constructor(response) {
@@ -1,7 +1,8 @@
1
1
  import { Event } from '../../../entities/events/event';
2
- import { SubscriptionNotification } from '../../../entities';
2
+ import { SubscriptionNotification } from '../../entities';
3
3
  import { EventName } from '../../helpers';
4
- import { type IEventsResponse, type ISubscriptionNotificationResponse } from '../../../types';
4
+ import { type IEventsResponse } from '../../../types';
5
+ import { type ISubscriptionNotificationResponse } from '../../types';
5
6
  export declare class SubscriptionImportedEvent extends Event {
6
7
  readonly eventType = EventName.SubscriptionImported;
7
8
  readonly data: Omit<SubscriptionNotification, 'transactionId'>;
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SubscriptionImportedEvent = void 0;
4
4
  const event_1 = require("../../../entities/events/event");
5
- const entities_1 = require("../../../entities");
5
+ const entities_1 = require("../../entities");
6
6
  const helpers_1 = require("../../helpers");
7
7
  class SubscriptionImportedEvent extends event_1.Event {
8
8
  constructor(response) {
@@ -1,7 +1,8 @@
1
1
  import { Event } from '../../../entities/events/event';
2
- import { SubscriptionNotification } from '../../../entities';
2
+ import { SubscriptionNotification } from '../../entities';
3
3
  import { EventName } from '../../helpers';
4
- import { type IEventsResponse, type ISubscriptionNotificationResponse } from '../../../types';
4
+ import { type IEventsResponse } from '../../../types';
5
+ import { type ISubscriptionNotificationResponse } from '../../types';
5
6
  export declare class SubscriptionPastDueEvent extends Event {
6
7
  readonly eventType = EventName.SubscriptionPastDue;
7
8
  readonly data: Omit<SubscriptionNotification, 'transactionId'>;
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SubscriptionPastDueEvent = void 0;
4
4
  const event_1 = require("../../../entities/events/event");
5
- const entities_1 = require("../../../entities");
5
+ const entities_1 = require("../../entities");
6
6
  const helpers_1 = require("../../helpers");
7
7
  class SubscriptionPastDueEvent extends event_1.Event {
8
8
  constructor(response) {
@@ -1,7 +1,8 @@
1
1
  import { Event } from '../../../entities/events/event';
2
- import { SubscriptionNotification } from '../../../entities';
2
+ import { SubscriptionNotification } from '../../entities';
3
3
  import { EventName } from '../../helpers';
4
- import { type IEventsResponse, type ISubscriptionNotificationResponse } from '../../../types';
4
+ import { type IEventsResponse } from '../../../types';
5
+ import { type ISubscriptionNotificationResponse } from '../../types';
5
6
  export declare class SubscriptionPausedEvent extends Event {
6
7
  readonly eventType = EventName.SubscriptionPaused;
7
8
  readonly data: Omit<SubscriptionNotification, 'transactionId'>;
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SubscriptionPausedEvent = void 0;
4
4
  const event_1 = require("../../../entities/events/event");
5
- const entities_1 = require("../../../entities");
5
+ const entities_1 = require("../../entities");
6
6
  const helpers_1 = require("../../helpers");
7
7
  class SubscriptionPausedEvent extends event_1.Event {
8
8
  constructor(response) {
@@ -1,7 +1,8 @@
1
1
  import { Event } from '../../../entities/events/event';
2
- import { SubscriptionNotification } from '../../../entities';
2
+ import { SubscriptionNotification } from '../../entities';
3
3
  import { EventName } from '../../helpers';
4
- import { type IEventsResponse, type ISubscriptionNotificationResponse } from '../../../types';
4
+ import { type IEventsResponse } from '../../../types';
5
+ import { type ISubscriptionNotificationResponse } from '../../types';
5
6
  export declare class SubscriptionResumedEvent extends Event {
6
7
  readonly eventType = EventName.SubscriptionResumed;
7
8
  readonly data: Omit<SubscriptionNotification, 'transactionId'>;
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SubscriptionResumedEvent = void 0;
4
4
  const event_1 = require("../../../entities/events/event");
5
- const entities_1 = require("../../../entities");
5
+ const entities_1 = require("../../entities");
6
6
  const helpers_1 = require("../../helpers");
7
7
  class SubscriptionResumedEvent extends event_1.Event {
8
8
  constructor(response) {
@@ -1,7 +1,8 @@
1
1
  import { Event } from '../../../entities/events/event';
2
- import { SubscriptionNotification } from '../../../entities';
2
+ import { SubscriptionNotification } from '../../entities';
3
3
  import { EventName } from '../../helpers';
4
- import { type IEventsResponse, type ISubscriptionNotificationResponse } from '../../../types';
4
+ import { type IEventsResponse } from '../../../types';
5
+ import { type ISubscriptionNotificationResponse } from '../../types';
5
6
  export declare class SubscriptionTrialingEvent extends Event {
6
7
  readonly eventType = EventName.SubscriptionTrialing;
7
8
  readonly data: Omit<SubscriptionNotification, 'transactionId'>;
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SubscriptionTrialingEvent = void 0;
4
4
  const event_1 = require("../../../entities/events/event");
5
- const entities_1 = require("../../../entities");
5
+ const entities_1 = require("../../entities");
6
6
  const helpers_1 = require("../../helpers");
7
7
  class SubscriptionTrialingEvent extends event_1.Event {
8
8
  constructor(response) {
@@ -1,7 +1,8 @@
1
1
  import { Event } from '../../../entities/events/event';
2
- import { SubscriptionNotification } from '../../../entities';
2
+ import { SubscriptionNotification } from '../../entities';
3
3
  import { EventName } from '../../helpers';
4
- import { type IEventsResponse, type ISubscriptionNotificationResponse } from '../../../types';
4
+ import { type IEventsResponse } from '../../../types';
5
+ import { type ISubscriptionNotificationResponse } from '../../types';
5
6
  export declare class SubscriptionUpdatedEvent extends Event {
6
7
  readonly eventType = EventName.SubscriptionUpdated;
7
8
  readonly data: Omit<SubscriptionNotification, 'transactionId'>;
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SubscriptionUpdatedEvent = void 0;
4
4
  const event_1 = require("../../../entities/events/event");
5
- const entities_1 = require("../../../entities");
5
+ const entities_1 = require("../../entities");
6
6
  const helpers_1 = require("../../helpers");
7
7
  class SubscriptionUpdatedEvent extends event_1.Event {
8
8
  constructor(response) {
@@ -1,9 +1,10 @@
1
1
  import { Event } from '../../../entities/events/event';
2
- import { Transaction } from '../../../entities';
2
+ import { TransactionNotification } from '../../entities';
3
3
  import { EventName } from '../../helpers';
4
- import { type IEventsResponse, type ITransactionResponse } from '../../../types';
4
+ import { type IEventsResponse } from '../../../types';
5
+ import { type ITransactionNotificationResponse } from '../../types';
5
6
  export declare class TransactionBilledEvent extends Event {
6
7
  readonly eventType = EventName.TransactionBilled;
7
- readonly data: Transaction;
8
- constructor(response: IEventsResponse<ITransactionResponse>);
8
+ readonly data: TransactionNotification;
9
+ constructor(response: IEventsResponse<ITransactionNotificationResponse>);
9
10
  }