@flexprice/sdk 2.0.10 → 2.0.11

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 (668) hide show
  1. package/docs/sdk/models/cancellation-type.md +2 -2
  2. package/docs/sdk/models/dto-cancel-subscription-request.md +8 -7
  3. package/docs/sdk/models/dto-create-customer-request.md +17 -17
  4. package/docs/sdk/models/dto-create-subscription-request.md +41 -39
  5. package/docs/sdk/models/dto-customer-response.md +22 -22
  6. package/docs/sdk/models/dto-update-customer-request.md +15 -15
  7. package/docs/sdk/models/github-com-flexprice-flexprice-internal-domain-customer-customer.md +21 -21
  8. package/docs/sdk/models/webhook-dto-alert-webhook-payload.md +32 -0
  9. package/docs/sdk/models/webhook-dto-communication-webhook-payload.md +27 -0
  10. package/docs/sdk/models/webhook-dto-credit-note-webhook-payload.md +37 -0
  11. package/docs/sdk/models/webhook-dto-customer-webhook-payload.md +16 -0
  12. package/docs/sdk/models/webhook-dto-entitlement-webhook-payload.md +48 -0
  13. package/docs/sdk/models/webhook-dto-feature-webhook-payload.md +28 -0
  14. package/docs/sdk/models/webhook-dto-invoice-webhook-payload.md +27 -0
  15. package/docs/sdk/models/webhook-dto-payment-webhook-payload.md +16 -0
  16. package/docs/sdk/models/webhook-dto-subscription-phase-webhook-payload.md +16 -0
  17. package/docs/sdk/models/webhook-dto-subscription-webhook-payload.md +25 -0
  18. package/docs/sdk/models/webhook-dto-transaction-webhook-payload.md +17 -0
  19. package/docs/sdk/models/webhook-dto-wallet-alert-info.md +19 -0
  20. package/docs/sdk/models/webhook-dto-wallet-webhook-payload.md +18 -0
  21. package/docs/sdk/models/window-size.md +2 -2
  22. package/docs/sdks/webhookevents/README.md +2973 -0
  23. package/esm/funcs/addons-delete-addon.js.map +1 -1
  24. package/esm/funcs/addons-get-addon-by-lookup-key.js.map +1 -1
  25. package/esm/funcs/addons-get-addon.js.map +1 -1
  26. package/esm/funcs/addons-update-addon.js.map +1 -1
  27. package/esm/funcs/costs-delete-costsheet.js.map +1 -1
  28. package/esm/funcs/costs-get-costsheet.js.map +1 -1
  29. package/esm/funcs/costs-update-costsheet.js.map +1 -1
  30. package/esm/funcs/coupons-delete-coupon.js.map +1 -1
  31. package/esm/funcs/coupons-get-coupon.js.map +1 -1
  32. package/esm/funcs/coupons-update-coupon.js.map +1 -1
  33. package/esm/funcs/credit-grants-delete-credit-grant.js.map +1 -1
  34. package/esm/funcs/credit-grants-get-credit-grant.js.map +1 -1
  35. package/esm/funcs/credit-grants-get-plan-credit-grants.js.map +1 -1
  36. package/esm/funcs/credit-grants-update-credit-grant.js.map +1 -1
  37. package/esm/funcs/credit-notes-get-credit-note.js.map +1 -1
  38. package/esm/funcs/credit-notes-process-credit-note.js.map +1 -1
  39. package/esm/funcs/credit-notes-void-credit-note.js.map +1 -1
  40. package/esm/funcs/customers-delete-customer.js.map +1 -1
  41. package/esm/funcs/customers-get-customer-by-external-id.js.map +1 -1
  42. package/esm/funcs/customers-get-customer-entitlements.js.map +1 -1
  43. package/esm/funcs/customers-get-customer-upcoming-grants.js.map +1 -1
  44. package/esm/funcs/customers-get-customer.js.map +1 -1
  45. package/esm/funcs/entitlements-delete-entitlement.js.map +1 -1
  46. package/esm/funcs/entitlements-get-addon-entitlements.js.map +1 -1
  47. package/esm/funcs/entitlements-get-entitlement.js.map +1 -1
  48. package/esm/funcs/entitlements-get-plan-entitlements.js.map +1 -1
  49. package/esm/funcs/entitlements-update-entitlement.js.map +1 -1
  50. package/esm/funcs/entity-integration-mappings-delete-entity-integration-mapping.js.map +1 -1
  51. package/esm/funcs/events-get-event.js.map +1 -1
  52. package/esm/funcs/features-delete-feature.js.map +1 -1
  53. package/esm/funcs/features-update-feature.js.map +1 -1
  54. package/esm/funcs/groups-delete-group.js.map +1 -1
  55. package/esm/funcs/groups-get-group.js.map +1 -1
  56. package/esm/funcs/integrations-create-or-update-integration.js.map +1 -1
  57. package/esm/funcs/integrations-delete-integration.js.map +1 -1
  58. package/esm/funcs/integrations-get-integration.js.map +1 -1
  59. package/esm/funcs/invoices-attempt-invoice-payment.js.map +1 -1
  60. package/esm/funcs/invoices-finalize-invoice.js.map +1 -1
  61. package/esm/funcs/invoices-get-customer-invoice-summary.js.map +1 -1
  62. package/esm/funcs/invoices-get-invoice-pdf.js.map +1 -1
  63. package/esm/funcs/invoices-get-invoice.js.map +1 -1
  64. package/esm/funcs/invoices-recalculate-invoice-v2.js.map +1 -1
  65. package/esm/funcs/invoices-recalculate-invoice.js.map +1 -1
  66. package/esm/funcs/invoices-trigger-invoice-comms-webhook.js.map +1 -1
  67. package/esm/funcs/invoices-update-invoice-payment-status.js.map +1 -1
  68. package/esm/funcs/invoices-update-invoice.js.map +1 -1
  69. package/esm/funcs/invoices-void-invoice.js.map +1 -1
  70. package/esm/funcs/payments-delete-payment.js.map +1 -1
  71. package/esm/funcs/payments-get-payment.js.map +1 -1
  72. package/esm/funcs/payments-process-payment.js.map +1 -1
  73. package/esm/funcs/payments-update-payment.js.map +1 -1
  74. package/esm/funcs/plans-delete-plan.js.map +1 -1
  75. package/esm/funcs/plans-get-plan.js.map +1 -1
  76. package/esm/funcs/plans-post-plans-id-clone.js.map +1 -1
  77. package/esm/funcs/plans-sync-plan-prices.js.map +1 -1
  78. package/esm/funcs/plans-update-plan.js.map +1 -1
  79. package/esm/funcs/price-units-delete-price-unit.js.map +1 -1
  80. package/esm/funcs/price-units-get-price-unit-by-code.js.map +1 -1
  81. package/esm/funcs/price-units-get-price-unit.js.map +1 -1
  82. package/esm/funcs/price-units-update-price-unit.js.map +1 -1
  83. package/esm/funcs/prices-delete-price.js.map +1 -1
  84. package/esm/funcs/prices-get-price-by-lookup-key.js.map +1 -1
  85. package/esm/funcs/prices-get-price.js.map +1 -1
  86. package/esm/funcs/prices-update-price.js.map +1 -1
  87. package/esm/funcs/rbac-get-rbac-role.js.map +1 -1
  88. package/esm/funcs/scheduled-tasks-delete-scheduled-task.js.map +1 -1
  89. package/esm/funcs/scheduled-tasks-get-scheduled-task.js.map +1 -1
  90. package/esm/funcs/scheduled-tasks-trigger-scheduled-task-run.js.map +1 -1
  91. package/esm/funcs/scheduled-tasks-update-scheduled-task.js.map +1 -1
  92. package/esm/funcs/secrets-delete-api-key.js.map +1 -1
  93. package/esm/funcs/subscriptions-activate-subscription.js.map +1 -1
  94. package/esm/funcs/subscriptions-cancel-subscription-schedule.js.map +1 -1
  95. package/esm/funcs/subscriptions-cancel-subscription.js.map +1 -1
  96. package/esm/funcs/subscriptions-create-subscription-line-item.js.map +1 -1
  97. package/esm/funcs/subscriptions-delete-subscription-line-item.js.map +1 -1
  98. package/esm/funcs/subscriptions-execute-subscription-change.js.map +1 -1
  99. package/esm/funcs/subscriptions-get-subscription-addon-associations.js.map +1 -1
  100. package/esm/funcs/subscriptions-get-subscription-entitlements.js.map +1 -1
  101. package/esm/funcs/subscriptions-get-subscription-schedule.js.map +1 -1
  102. package/esm/funcs/subscriptions-get-subscription-upcoming-grants.js.map +1 -1
  103. package/esm/funcs/subscriptions-get-subscription-v2.js.map +1 -1
  104. package/esm/funcs/subscriptions-get-subscription.js.map +1 -1
  105. package/esm/funcs/subscriptions-list-subscription-pauses.js.map +1 -1
  106. package/esm/funcs/subscriptions-list-subscription-schedules.js.map +1 -1
  107. package/esm/funcs/subscriptions-pause-subscription.js.map +1 -1
  108. package/esm/funcs/subscriptions-preview-subscription-change.js.map +1 -1
  109. package/esm/funcs/subscriptions-resume-subscription.js.map +1 -1
  110. package/esm/funcs/subscriptions-update-subscription-line-item.js.map +1 -1
  111. package/esm/funcs/subscriptions-update-subscription.js.map +1 -1
  112. package/esm/funcs/tasks-download-task-export.js.map +1 -1
  113. package/esm/funcs/tasks-get-task.js.map +1 -1
  114. package/esm/funcs/tasks-update-task-status.js.map +1 -1
  115. package/esm/funcs/tax-associations-delete-tax-association.js.map +1 -1
  116. package/esm/funcs/tax-associations-get-tax-association.js.map +1 -1
  117. package/esm/funcs/tax-associations-update-tax-association.js.map +1 -1
  118. package/esm/funcs/tax-rates-delete-tax-rate.js.map +1 -1
  119. package/esm/funcs/tax-rates-get-tax-rate.js.map +1 -1
  120. package/esm/funcs/tax-rates-update-tax-rate.js.map +1 -1
  121. package/esm/funcs/tenants-get-tenant-by-id.js.map +1 -1
  122. package/esm/funcs/wallets-get-wallet-balance.js.map +1 -1
  123. package/esm/funcs/wallets-get-wallet-transactions.js.map +1 -1
  124. package/esm/funcs/wallets-get-wallet.js.map +1 -1
  125. package/esm/funcs/wallets-get-wallets-by-customer-id.js.map +1 -1
  126. package/esm/funcs/wallets-terminate-wallet.js.map +1 -1
  127. package/esm/funcs/wallets-top-up-wallet.js.map +1 -1
  128. package/esm/funcs/wallets-update-wallet.js.map +1 -1
  129. package/esm/funcs/webhook-events-post-webhook-events-credit-note-created.d.ts +17 -0
  130. package/esm/funcs/webhook-events-post-webhook-events-credit-note-created.d.ts.map +1 -0
  131. package/esm/funcs/{webhooks-handle-chargebee-webhook.js → webhook-events-post-webhook-events-credit-note-created.js} +10 -34
  132. package/esm/funcs/webhook-events-post-webhook-events-credit-note-created.js.map +1 -0
  133. package/esm/funcs/webhook-events-post-webhook-events-credit-note-updated.d.ts +17 -0
  134. package/esm/funcs/webhook-events-post-webhook-events-credit-note-updated.d.ts.map +1 -0
  135. package/esm/funcs/{webhooks-handle-paddle-webhook.js → webhook-events-post-webhook-events-credit-note-updated.js} +9 -35
  136. package/esm/funcs/webhook-events-post-webhook-events-credit-note-updated.js.map +1 -0
  137. package/esm/funcs/webhook-events-post-webhook-events-customer-created.d.ts +17 -0
  138. package/esm/funcs/webhook-events-post-webhook-events-customer-created.d.ts.map +1 -0
  139. package/esm/funcs/{webhooks-handle-moyasar-webhook.js → webhook-events-post-webhook-events-customer-created.js} +9 -35
  140. package/esm/funcs/webhook-events-post-webhook-events-customer-created.js.map +1 -0
  141. package/esm/funcs/webhook-events-post-webhook-events-customer-deleted.d.ts +17 -0
  142. package/esm/funcs/webhook-events-post-webhook-events-customer-deleted.d.ts.map +1 -0
  143. package/esm/funcs/{webhooks-handle-nomod-webhook.js → webhook-events-post-webhook-events-customer-deleted.js} +10 -39
  144. package/esm/funcs/webhook-events-post-webhook-events-customer-deleted.js.map +1 -0
  145. package/esm/funcs/webhook-events-post-webhook-events-customer-updated.d.ts +17 -0
  146. package/esm/funcs/webhook-events-post-webhook-events-customer-updated.d.ts.map +1 -0
  147. package/esm/funcs/webhook-events-post-webhook-events-customer-updated.js +68 -0
  148. package/esm/funcs/webhook-events-post-webhook-events-customer-updated.js.map +1 -0
  149. package/esm/funcs/webhook-events-post-webhook-events-entitlement-created.d.ts +17 -0
  150. package/esm/funcs/webhook-events-post-webhook-events-entitlement-created.d.ts.map +1 -0
  151. package/esm/funcs/webhook-events-post-webhook-events-entitlement-created.js +68 -0
  152. package/esm/funcs/webhook-events-post-webhook-events-entitlement-created.js.map +1 -0
  153. package/esm/funcs/webhook-events-post-webhook-events-entitlement-deleted.d.ts +17 -0
  154. package/esm/funcs/webhook-events-post-webhook-events-entitlement-deleted.d.ts.map +1 -0
  155. package/esm/funcs/webhook-events-post-webhook-events-entitlement-deleted.js +68 -0
  156. package/esm/funcs/webhook-events-post-webhook-events-entitlement-deleted.js.map +1 -0
  157. package/esm/funcs/webhook-events-post-webhook-events-entitlement-updated.d.ts +17 -0
  158. package/esm/funcs/webhook-events-post-webhook-events-entitlement-updated.d.ts.map +1 -0
  159. package/esm/funcs/webhook-events-post-webhook-events-entitlement-updated.js +68 -0
  160. package/esm/funcs/webhook-events-post-webhook-events-entitlement-updated.js.map +1 -0
  161. package/esm/funcs/webhook-events-post-webhook-events-feature-created.d.ts +17 -0
  162. package/esm/funcs/webhook-events-post-webhook-events-feature-created.d.ts.map +1 -0
  163. package/esm/funcs/webhook-events-post-webhook-events-feature-created.js +68 -0
  164. package/esm/funcs/webhook-events-post-webhook-events-feature-created.js.map +1 -0
  165. package/esm/funcs/webhook-events-post-webhook-events-feature-deleted.d.ts +17 -0
  166. package/esm/funcs/webhook-events-post-webhook-events-feature-deleted.d.ts.map +1 -0
  167. package/esm/funcs/webhook-events-post-webhook-events-feature-deleted.js +68 -0
  168. package/esm/funcs/webhook-events-post-webhook-events-feature-deleted.js.map +1 -0
  169. package/esm/funcs/webhook-events-post-webhook-events-feature-updated.d.ts +17 -0
  170. package/esm/funcs/webhook-events-post-webhook-events-feature-updated.d.ts.map +1 -0
  171. package/esm/funcs/webhook-events-post-webhook-events-feature-updated.js +68 -0
  172. package/esm/funcs/webhook-events-post-webhook-events-feature-updated.js.map +1 -0
  173. package/esm/funcs/webhook-events-post-webhook-events-feature-wallet-balance-alert.d.ts +17 -0
  174. package/esm/funcs/webhook-events-post-webhook-events-feature-wallet-balance-alert.d.ts.map +1 -0
  175. package/esm/funcs/webhook-events-post-webhook-events-feature-wallet-balance-alert.js +68 -0
  176. package/esm/funcs/webhook-events-post-webhook-events-feature-wallet-balance-alert.js.map +1 -0
  177. package/esm/funcs/webhook-events-post-webhook-events-invoice-communication-triggered.d.ts +17 -0
  178. package/esm/funcs/webhook-events-post-webhook-events-invoice-communication-triggered.d.ts.map +1 -0
  179. package/esm/funcs/webhook-events-post-webhook-events-invoice-communication-triggered.js +68 -0
  180. package/esm/funcs/webhook-events-post-webhook-events-invoice-communication-triggered.js.map +1 -0
  181. package/esm/funcs/webhook-events-post-webhook-events-invoice-create-drafted.d.ts +17 -0
  182. package/esm/funcs/webhook-events-post-webhook-events-invoice-create-drafted.d.ts.map +1 -0
  183. package/esm/funcs/webhook-events-post-webhook-events-invoice-create-drafted.js +68 -0
  184. package/esm/funcs/webhook-events-post-webhook-events-invoice-create-drafted.js.map +1 -0
  185. package/esm/funcs/webhook-events-post-webhook-events-invoice-payment-overdue.d.ts +17 -0
  186. package/esm/funcs/webhook-events-post-webhook-events-invoice-payment-overdue.d.ts.map +1 -0
  187. package/esm/funcs/webhook-events-post-webhook-events-invoice-payment-overdue.js +68 -0
  188. package/esm/funcs/webhook-events-post-webhook-events-invoice-payment-overdue.js.map +1 -0
  189. package/esm/funcs/webhook-events-post-webhook-events-invoice-update-finalized.d.ts +17 -0
  190. package/esm/funcs/webhook-events-post-webhook-events-invoice-update-finalized.d.ts.map +1 -0
  191. package/esm/funcs/webhook-events-post-webhook-events-invoice-update-finalized.js +68 -0
  192. package/esm/funcs/webhook-events-post-webhook-events-invoice-update-finalized.js.map +1 -0
  193. package/esm/funcs/webhook-events-post-webhook-events-invoice-update-payment.d.ts +17 -0
  194. package/esm/funcs/webhook-events-post-webhook-events-invoice-update-payment.d.ts.map +1 -0
  195. package/esm/funcs/webhook-events-post-webhook-events-invoice-update-payment.js +68 -0
  196. package/esm/funcs/webhook-events-post-webhook-events-invoice-update-payment.js.map +1 -0
  197. package/esm/funcs/webhook-events-post-webhook-events-invoice-update-voided.d.ts +17 -0
  198. package/esm/funcs/webhook-events-post-webhook-events-invoice-update-voided.d.ts.map +1 -0
  199. package/esm/funcs/webhook-events-post-webhook-events-invoice-update-voided.js +68 -0
  200. package/esm/funcs/webhook-events-post-webhook-events-invoice-update-voided.js.map +1 -0
  201. package/esm/funcs/webhook-events-post-webhook-events-invoice-update.d.ts +17 -0
  202. package/esm/funcs/webhook-events-post-webhook-events-invoice-update.d.ts.map +1 -0
  203. package/esm/funcs/webhook-events-post-webhook-events-invoice-update.js +68 -0
  204. package/esm/funcs/webhook-events-post-webhook-events-invoice-update.js.map +1 -0
  205. package/esm/funcs/webhook-events-post-webhook-events-payment-created.d.ts +17 -0
  206. package/esm/funcs/webhook-events-post-webhook-events-payment-created.d.ts.map +1 -0
  207. package/esm/funcs/webhook-events-post-webhook-events-payment-created.js +68 -0
  208. package/esm/funcs/webhook-events-post-webhook-events-payment-created.js.map +1 -0
  209. package/esm/funcs/webhook-events-post-webhook-events-payment-failed.d.ts +17 -0
  210. package/esm/funcs/webhook-events-post-webhook-events-payment-failed.d.ts.map +1 -0
  211. package/esm/funcs/webhook-events-post-webhook-events-payment-failed.js +68 -0
  212. package/esm/funcs/webhook-events-post-webhook-events-payment-failed.js.map +1 -0
  213. package/esm/funcs/webhook-events-post-webhook-events-payment-pending.d.ts +17 -0
  214. package/esm/funcs/webhook-events-post-webhook-events-payment-pending.d.ts.map +1 -0
  215. package/esm/funcs/webhook-events-post-webhook-events-payment-pending.js +68 -0
  216. package/esm/funcs/webhook-events-post-webhook-events-payment-pending.js.map +1 -0
  217. package/esm/funcs/webhook-events-post-webhook-events-payment-success.d.ts +17 -0
  218. package/esm/funcs/webhook-events-post-webhook-events-payment-success.d.ts.map +1 -0
  219. package/esm/funcs/webhook-events-post-webhook-events-payment-success.js +68 -0
  220. package/esm/funcs/webhook-events-post-webhook-events-payment-success.js.map +1 -0
  221. package/esm/funcs/webhook-events-post-webhook-events-payment-updated.d.ts +17 -0
  222. package/esm/funcs/webhook-events-post-webhook-events-payment-updated.d.ts.map +1 -0
  223. package/esm/funcs/webhook-events-post-webhook-events-payment-updated.js +68 -0
  224. package/esm/funcs/webhook-events-post-webhook-events-payment-updated.js.map +1 -0
  225. package/esm/funcs/webhook-events-post-webhook-events-subscription-activated.d.ts +17 -0
  226. package/esm/funcs/webhook-events-post-webhook-events-subscription-activated.d.ts.map +1 -0
  227. package/esm/funcs/webhook-events-post-webhook-events-subscription-activated.js +68 -0
  228. package/esm/funcs/webhook-events-post-webhook-events-subscription-activated.js.map +1 -0
  229. package/esm/funcs/webhook-events-post-webhook-events-subscription-cancelled.d.ts +17 -0
  230. package/esm/funcs/webhook-events-post-webhook-events-subscription-cancelled.d.ts.map +1 -0
  231. package/esm/funcs/webhook-events-post-webhook-events-subscription-cancelled.js +68 -0
  232. package/esm/funcs/webhook-events-post-webhook-events-subscription-cancelled.js.map +1 -0
  233. package/esm/funcs/webhook-events-post-webhook-events-subscription-created.d.ts +17 -0
  234. package/esm/funcs/webhook-events-post-webhook-events-subscription-created.d.ts.map +1 -0
  235. package/esm/funcs/webhook-events-post-webhook-events-subscription-created.js +68 -0
  236. package/esm/funcs/webhook-events-post-webhook-events-subscription-created.js.map +1 -0
  237. package/esm/funcs/webhook-events-post-webhook-events-subscription-draft-created.d.ts +17 -0
  238. package/esm/funcs/webhook-events-post-webhook-events-subscription-draft-created.d.ts.map +1 -0
  239. package/esm/funcs/webhook-events-post-webhook-events-subscription-draft-created.js +68 -0
  240. package/esm/funcs/webhook-events-post-webhook-events-subscription-draft-created.js.map +1 -0
  241. package/esm/funcs/webhook-events-post-webhook-events-subscription-paused.d.ts +17 -0
  242. package/esm/funcs/webhook-events-post-webhook-events-subscription-paused.d.ts.map +1 -0
  243. package/esm/funcs/webhook-events-post-webhook-events-subscription-paused.js +68 -0
  244. package/esm/funcs/webhook-events-post-webhook-events-subscription-paused.js.map +1 -0
  245. package/esm/funcs/webhook-events-post-webhook-events-subscription-phase-created.d.ts +17 -0
  246. package/esm/funcs/webhook-events-post-webhook-events-subscription-phase-created.d.ts.map +1 -0
  247. package/esm/funcs/webhook-events-post-webhook-events-subscription-phase-created.js +68 -0
  248. package/esm/funcs/webhook-events-post-webhook-events-subscription-phase-created.js.map +1 -0
  249. package/esm/funcs/webhook-events-post-webhook-events-subscription-phase-deleted.d.ts +17 -0
  250. package/esm/funcs/webhook-events-post-webhook-events-subscription-phase-deleted.d.ts.map +1 -0
  251. package/esm/funcs/webhook-events-post-webhook-events-subscription-phase-deleted.js +68 -0
  252. package/esm/funcs/webhook-events-post-webhook-events-subscription-phase-deleted.js.map +1 -0
  253. package/esm/funcs/webhook-events-post-webhook-events-subscription-phase-updated.d.ts +17 -0
  254. package/esm/funcs/webhook-events-post-webhook-events-subscription-phase-updated.d.ts.map +1 -0
  255. package/esm/funcs/webhook-events-post-webhook-events-subscription-phase-updated.js +68 -0
  256. package/esm/funcs/webhook-events-post-webhook-events-subscription-phase-updated.js.map +1 -0
  257. package/esm/funcs/webhook-events-post-webhook-events-subscription-renewal-due.d.ts +17 -0
  258. package/esm/funcs/webhook-events-post-webhook-events-subscription-renewal-due.d.ts.map +1 -0
  259. package/esm/funcs/webhook-events-post-webhook-events-subscription-renewal-due.js +68 -0
  260. package/esm/funcs/webhook-events-post-webhook-events-subscription-renewal-due.js.map +1 -0
  261. package/esm/funcs/webhook-events-post-webhook-events-subscription-resumed.d.ts +17 -0
  262. package/esm/funcs/webhook-events-post-webhook-events-subscription-resumed.d.ts.map +1 -0
  263. package/esm/funcs/webhook-events-post-webhook-events-subscription-resumed.js +68 -0
  264. package/esm/funcs/webhook-events-post-webhook-events-subscription-resumed.js.map +1 -0
  265. package/esm/funcs/webhook-events-post-webhook-events-subscription-updated.d.ts +17 -0
  266. package/esm/funcs/webhook-events-post-webhook-events-subscription-updated.d.ts.map +1 -0
  267. package/esm/funcs/webhook-events-post-webhook-events-subscription-updated.js +68 -0
  268. package/esm/funcs/webhook-events-post-webhook-events-subscription-updated.js.map +1 -0
  269. package/esm/funcs/webhook-events-post-webhook-events-wallet-created.d.ts +17 -0
  270. package/esm/funcs/webhook-events-post-webhook-events-wallet-created.d.ts.map +1 -0
  271. package/esm/funcs/webhook-events-post-webhook-events-wallet-created.js +68 -0
  272. package/esm/funcs/webhook-events-post-webhook-events-wallet-created.js.map +1 -0
  273. package/esm/funcs/webhook-events-post-webhook-events-wallet-credit-balance-dropped.d.ts +17 -0
  274. package/esm/funcs/webhook-events-post-webhook-events-wallet-credit-balance-dropped.d.ts.map +1 -0
  275. package/esm/funcs/webhook-events-post-webhook-events-wallet-credit-balance-dropped.js +68 -0
  276. package/esm/funcs/webhook-events-post-webhook-events-wallet-credit-balance-dropped.js.map +1 -0
  277. package/esm/funcs/webhook-events-post-webhook-events-wallet-credit-balance-recovered.d.ts +17 -0
  278. package/esm/funcs/webhook-events-post-webhook-events-wallet-credit-balance-recovered.d.ts.map +1 -0
  279. package/esm/funcs/webhook-events-post-webhook-events-wallet-credit-balance-recovered.js +68 -0
  280. package/esm/funcs/webhook-events-post-webhook-events-wallet-credit-balance-recovered.js.map +1 -0
  281. package/esm/funcs/webhook-events-post-webhook-events-wallet-ongoing-balance-dropped.d.ts +17 -0
  282. package/esm/funcs/webhook-events-post-webhook-events-wallet-ongoing-balance-dropped.d.ts.map +1 -0
  283. package/esm/funcs/webhook-events-post-webhook-events-wallet-ongoing-balance-dropped.js +68 -0
  284. package/esm/funcs/webhook-events-post-webhook-events-wallet-ongoing-balance-dropped.js.map +1 -0
  285. package/esm/funcs/webhook-events-post-webhook-events-wallet-ongoing-balance-recovered.d.ts +17 -0
  286. package/esm/funcs/webhook-events-post-webhook-events-wallet-ongoing-balance-recovered.d.ts.map +1 -0
  287. package/esm/funcs/webhook-events-post-webhook-events-wallet-ongoing-balance-recovered.js +68 -0
  288. package/esm/funcs/webhook-events-post-webhook-events-wallet-ongoing-balance-recovered.js.map +1 -0
  289. package/esm/funcs/webhook-events-post-webhook-events-wallet-terminated.d.ts +17 -0
  290. package/esm/funcs/webhook-events-post-webhook-events-wallet-terminated.d.ts.map +1 -0
  291. package/esm/funcs/webhook-events-post-webhook-events-wallet-terminated.js +68 -0
  292. package/esm/funcs/webhook-events-post-webhook-events-wallet-terminated.js.map +1 -0
  293. package/esm/funcs/webhook-events-post-webhook-events-wallet-transaction-created.d.ts +17 -0
  294. package/esm/funcs/webhook-events-post-webhook-events-wallet-transaction-created.d.ts.map +1 -0
  295. package/esm/funcs/webhook-events-post-webhook-events-wallet-transaction-created.js +68 -0
  296. package/esm/funcs/webhook-events-post-webhook-events-wallet-transaction-created.js.map +1 -0
  297. package/esm/funcs/webhook-events-post-webhook-events-wallet-updated.d.ts +17 -0
  298. package/esm/funcs/webhook-events-post-webhook-events-wallet-updated.d.ts.map +1 -0
  299. package/esm/funcs/webhook-events-post-webhook-events-wallet-updated.js +68 -0
  300. package/esm/funcs/webhook-events-post-webhook-events-wallet-updated.js.map +1 -0
  301. package/esm/lib/config.d.ts +3 -3
  302. package/esm/lib/config.js +3 -3
  303. package/esm/lib/config.js.map +1 -1
  304. package/esm/lib/encodings.d.ts.map +1 -1
  305. package/esm/lib/encodings.js +20 -5
  306. package/esm/lib/encodings.js.map +1 -1
  307. package/esm/lib/sdks.d.ts.map +1 -1
  308. package/esm/lib/sdks.js +8 -4
  309. package/esm/lib/sdks.js.map +1 -1
  310. package/esm/lib/url.d.ts.map +1 -1
  311. package/esm/lib/url.js +4 -2
  312. package/esm/lib/url.js.map +1 -1
  313. package/esm/sdk/models/cancellation-type.d.ts +1 -0
  314. package/esm/sdk/models/cancellation-type.d.ts.map +1 -1
  315. package/esm/sdk/models/cancellation-type.js +1 -0
  316. package/esm/sdk/models/cancellation-type.js.map +1 -1
  317. package/esm/sdk/models/dto-cancel-subscription-request.d.ts +8 -0
  318. package/esm/sdk/models/dto-cancel-subscription-request.d.ts.map +1 -1
  319. package/esm/sdk/models/dto-cancel-subscription-request.js +2 -0
  320. package/esm/sdk/models/dto-cancel-subscription-request.js.map +1 -1
  321. package/esm/sdk/models/dto-create-customer-request.d.ts +8 -3
  322. package/esm/sdk/models/dto-create-customer-request.d.ts.map +1 -1
  323. package/esm/sdk/models/dto-create-customer-request.js.map +1 -1
  324. package/esm/sdk/models/dto-create-subscription-request.d.ts +18 -0
  325. package/esm/sdk/models/dto-create-subscription-request.d.ts.map +1 -1
  326. package/esm/sdk/models/dto-create-subscription-request.js +4 -0
  327. package/esm/sdk/models/dto-create-subscription-request.js.map +1 -1
  328. package/esm/sdk/models/dto-customer-response.d.ts +5 -1
  329. package/esm/sdk/models/dto-customer-response.d.ts.map +1 -1
  330. package/esm/sdk/models/dto-customer-response.js.map +1 -1
  331. package/esm/sdk/models/dto-update-customer-request.d.ts +9 -4
  332. package/esm/sdk/models/dto-update-customer-request.d.ts.map +1 -1
  333. package/esm/sdk/models/dto-update-customer-request.js.map +1 -1
  334. package/esm/sdk/models/github-com-flexprice-flexprice-internal-domain-customer-customer.d.ts +5 -1
  335. package/esm/sdk/models/github-com-flexprice-flexprice-internal-domain-customer-customer.d.ts.map +1 -1
  336. package/esm/sdk/models/github-com-flexprice-flexprice-internal-domain-customer-customer.js.map +1 -1
  337. package/esm/sdk/models/index.d.ts +13 -8
  338. package/esm/sdk/models/index.d.ts.map +1 -1
  339. package/esm/sdk/models/index.js +13 -8
  340. package/esm/sdk/models/index.js.map +1 -1
  341. package/esm/sdk/models/webhook-dto-alert-webhook-payload.d.ts +21 -0
  342. package/esm/sdk/models/webhook-dto-alert-webhook-payload.d.ts.map +1 -0
  343. package/esm/sdk/models/webhook-dto-alert-webhook-payload.js +29 -0
  344. package/esm/sdk/models/webhook-dto-alert-webhook-payload.js.map +1 -0
  345. package/esm/sdk/models/webhook-dto-communication-webhook-payload.d.ts +12 -0
  346. package/esm/sdk/models/webhook-dto-communication-webhook-payload.d.ts.map +1 -0
  347. package/esm/sdk/models/webhook-dto-communication-webhook-payload.js +21 -0
  348. package/esm/sdk/models/webhook-dto-communication-webhook-payload.js.map +1 -0
  349. package/esm/sdk/models/webhook-dto-credit-note-webhook-payload.d.ts +12 -0
  350. package/esm/sdk/models/webhook-dto-credit-note-webhook-payload.d.ts.map +1 -0
  351. package/esm/sdk/models/webhook-dto-credit-note-webhook-payload.js +22 -0
  352. package/esm/sdk/models/webhook-dto-credit-note-webhook-payload.js.map +1 -0
  353. package/esm/sdk/models/webhook-dto-customer-webhook-payload.d.ts +15 -0
  354. package/esm/sdk/models/webhook-dto-customer-webhook-payload.d.ts.map +1 -0
  355. package/esm/sdk/models/webhook-dto-customer-webhook-payload.js +21 -0
  356. package/esm/sdk/models/webhook-dto-customer-webhook-payload.js.map +1 -0
  357. package/esm/sdk/models/webhook-dto-entitlement-webhook-payload.d.ts +12 -0
  358. package/esm/sdk/models/webhook-dto-entitlement-webhook-payload.d.ts.map +1 -0
  359. package/esm/sdk/models/webhook-dto-entitlement-webhook-payload.js +21 -0
  360. package/esm/sdk/models/webhook-dto-entitlement-webhook-payload.js.map +1 -0
  361. package/esm/sdk/models/webhook-dto-feature-webhook-payload.d.ts +12 -0
  362. package/esm/sdk/models/webhook-dto-feature-webhook-payload.d.ts.map +1 -0
  363. package/esm/sdk/models/webhook-dto-feature-webhook-payload.js +21 -0
  364. package/esm/sdk/models/webhook-dto-feature-webhook-payload.js.map +1 -0
  365. package/esm/sdk/models/webhook-dto-invoice-webhook-payload.d.ts +12 -0
  366. package/esm/sdk/models/webhook-dto-invoice-webhook-payload.d.ts.map +1 -0
  367. package/esm/sdk/models/webhook-dto-invoice-webhook-payload.js +21 -0
  368. package/esm/sdk/models/webhook-dto-invoice-webhook-payload.js.map +1 -0
  369. package/esm/sdk/models/webhook-dto-payment-webhook-payload.d.ts +12 -0
  370. package/esm/sdk/models/webhook-dto-payment-webhook-payload.d.ts.map +1 -0
  371. package/esm/sdk/models/webhook-dto-payment-webhook-payload.js +21 -0
  372. package/esm/sdk/models/webhook-dto-payment-webhook-payload.js.map +1 -0
  373. package/esm/sdk/models/webhook-dto-subscription-phase-webhook-payload.d.ts +12 -0
  374. package/esm/sdk/models/webhook-dto-subscription-phase-webhook-payload.d.ts.map +1 -0
  375. package/esm/sdk/models/webhook-dto-subscription-phase-webhook-payload.js +21 -0
  376. package/esm/sdk/models/webhook-dto-subscription-phase-webhook-payload.js.map +1 -0
  377. package/esm/sdk/models/webhook-dto-subscription-webhook-payload.d.ts +12 -0
  378. package/esm/sdk/models/webhook-dto-subscription-webhook-payload.d.ts.map +1 -0
  379. package/esm/sdk/models/webhook-dto-subscription-webhook-payload.js +21 -0
  380. package/esm/sdk/models/webhook-dto-subscription-webhook-payload.js.map +1 -0
  381. package/esm/sdk/models/webhook-dto-transaction-webhook-payload.d.ts +14 -0
  382. package/esm/sdk/models/webhook-dto-transaction-webhook-payload.d.ts.map +1 -0
  383. package/esm/sdk/models/webhook-dto-transaction-webhook-payload.js +23 -0
  384. package/esm/sdk/models/webhook-dto-transaction-webhook-payload.js.map +1 -0
  385. package/esm/sdk/models/webhook-dto-wallet-alert-info.d.ts +15 -0
  386. package/esm/sdk/models/webhook-dto-wallet-alert-info.d.ts.map +1 -0
  387. package/esm/sdk/models/webhook-dto-wallet-alert-info.js +27 -0
  388. package/esm/sdk/models/webhook-dto-wallet-alert-info.js.map +1 -0
  389. package/esm/sdk/models/webhook-dto-wallet-webhook-payload.d.ts +19 -0
  390. package/esm/sdk/models/webhook-dto-wallet-webhook-payload.d.ts.map +1 -0
  391. package/esm/sdk/models/webhook-dto-wallet-webhook-payload.js +25 -0
  392. package/esm/sdk/models/webhook-dto-wallet-webhook-payload.js.map +1 -0
  393. package/esm/sdk/models/window-size.d.ts +1 -1
  394. package/esm/sdk/models/window-size.js +1 -1
  395. package/esm/sdk/models/window-size.js.map +1 -1
  396. package/esm/sdk/sdk.d.ts +3 -3
  397. package/esm/sdk/sdk.d.ts.map +1 -1
  398. package/esm/sdk/sdk.js +4 -4
  399. package/esm/sdk/sdk.js.map +1 -1
  400. package/esm/sdk/webhook-events.d.ts +306 -0
  401. package/esm/sdk/webhook-events.d.ts.map +1 -0
  402. package/esm/sdk/webhook-events.js +438 -0
  403. package/esm/sdk/webhook-events.js.map +1 -0
  404. package/jsr.json +1 -1
  405. package/package.json +1 -1
  406. package/src/funcs/addons-delete-addon.ts +0 -1
  407. package/src/funcs/addons-get-addon-by-lookup-key.ts +0 -1
  408. package/src/funcs/addons-get-addon.ts +0 -1
  409. package/src/funcs/addons-update-addon.ts +0 -1
  410. package/src/funcs/costs-delete-costsheet.ts +0 -1
  411. package/src/funcs/costs-get-costsheet.ts +0 -1
  412. package/src/funcs/costs-update-costsheet.ts +0 -1
  413. package/src/funcs/coupons-delete-coupon.ts +0 -1
  414. package/src/funcs/coupons-get-coupon.ts +0 -1
  415. package/src/funcs/coupons-update-coupon.ts +0 -1
  416. package/src/funcs/credit-grants-delete-credit-grant.ts +0 -1
  417. package/src/funcs/credit-grants-get-credit-grant.ts +0 -1
  418. package/src/funcs/credit-grants-get-plan-credit-grants.ts +0 -1
  419. package/src/funcs/credit-grants-update-credit-grant.ts +0 -1
  420. package/src/funcs/credit-notes-get-credit-note.ts +0 -1
  421. package/src/funcs/credit-notes-process-credit-note.ts +0 -1
  422. package/src/funcs/credit-notes-void-credit-note.ts +0 -1
  423. package/src/funcs/customers-delete-customer.ts +0 -1
  424. package/src/funcs/customers-get-customer-by-external-id.ts +0 -1
  425. package/src/funcs/customers-get-customer-entitlements.ts +0 -1
  426. package/src/funcs/customers-get-customer-upcoming-grants.ts +0 -1
  427. package/src/funcs/customers-get-customer.ts +0 -1
  428. package/src/funcs/entitlements-delete-entitlement.ts +0 -1
  429. package/src/funcs/entitlements-get-addon-entitlements.ts +0 -1
  430. package/src/funcs/entitlements-get-entitlement.ts +0 -1
  431. package/src/funcs/entitlements-get-plan-entitlements.ts +0 -1
  432. package/src/funcs/entitlements-update-entitlement.ts +0 -1
  433. package/src/funcs/entity-integration-mappings-delete-entity-integration-mapping.ts +0 -1
  434. package/src/funcs/events-get-event.ts +0 -1
  435. package/src/funcs/features-delete-feature.ts +0 -1
  436. package/src/funcs/features-update-feature.ts +0 -1
  437. package/src/funcs/groups-delete-group.ts +0 -1
  438. package/src/funcs/groups-get-group.ts +0 -1
  439. package/src/funcs/integrations-create-or-update-integration.ts +0 -1
  440. package/src/funcs/integrations-delete-integration.ts +0 -1
  441. package/src/funcs/integrations-get-integration.ts +0 -1
  442. package/src/funcs/invoices-attempt-invoice-payment.ts +0 -1
  443. package/src/funcs/invoices-finalize-invoice.ts +0 -1
  444. package/src/funcs/invoices-get-customer-invoice-summary.ts +0 -1
  445. package/src/funcs/invoices-get-invoice-pdf.ts +0 -1
  446. package/src/funcs/invoices-get-invoice.ts +0 -1
  447. package/src/funcs/invoices-recalculate-invoice-v2.ts +0 -1
  448. package/src/funcs/invoices-recalculate-invoice.ts +0 -1
  449. package/src/funcs/invoices-trigger-invoice-comms-webhook.ts +0 -1
  450. package/src/funcs/invoices-update-invoice-payment-status.ts +0 -1
  451. package/src/funcs/invoices-update-invoice.ts +0 -1
  452. package/src/funcs/invoices-void-invoice.ts +0 -1
  453. package/src/funcs/payments-delete-payment.ts +0 -1
  454. package/src/funcs/payments-get-payment.ts +0 -1
  455. package/src/funcs/payments-process-payment.ts +0 -1
  456. package/src/funcs/payments-update-payment.ts +0 -1
  457. package/src/funcs/plans-delete-plan.ts +0 -1
  458. package/src/funcs/plans-get-plan.ts +0 -1
  459. package/src/funcs/plans-post-plans-id-clone.ts +0 -1
  460. package/src/funcs/plans-sync-plan-prices.ts +0 -1
  461. package/src/funcs/plans-update-plan.ts +0 -1
  462. package/src/funcs/price-units-delete-price-unit.ts +0 -1
  463. package/src/funcs/price-units-get-price-unit-by-code.ts +0 -1
  464. package/src/funcs/price-units-get-price-unit.ts +0 -1
  465. package/src/funcs/price-units-update-price-unit.ts +0 -1
  466. package/src/funcs/prices-delete-price.ts +0 -1
  467. package/src/funcs/prices-get-price-by-lookup-key.ts +0 -1
  468. package/src/funcs/prices-get-price.ts +0 -1
  469. package/src/funcs/prices-update-price.ts +0 -1
  470. package/src/funcs/rbac-get-rbac-role.ts +0 -1
  471. package/src/funcs/scheduled-tasks-delete-scheduled-task.ts +0 -1
  472. package/src/funcs/scheduled-tasks-get-scheduled-task.ts +0 -1
  473. package/src/funcs/scheduled-tasks-trigger-scheduled-task-run.ts +0 -1
  474. package/src/funcs/scheduled-tasks-update-scheduled-task.ts +0 -1
  475. package/src/funcs/secrets-delete-api-key.ts +0 -1
  476. package/src/funcs/subscriptions-activate-subscription.ts +0 -1
  477. package/src/funcs/subscriptions-cancel-subscription-schedule.ts +0 -1
  478. package/src/funcs/subscriptions-cancel-subscription.ts +0 -1
  479. package/src/funcs/subscriptions-create-subscription-line-item.ts +0 -1
  480. package/src/funcs/subscriptions-delete-subscription-line-item.ts +0 -1
  481. package/src/funcs/subscriptions-execute-subscription-change.ts +0 -1
  482. package/src/funcs/subscriptions-get-subscription-addon-associations.ts +0 -1
  483. package/src/funcs/subscriptions-get-subscription-entitlements.ts +0 -1
  484. package/src/funcs/subscriptions-get-subscription-schedule.ts +0 -1
  485. package/src/funcs/subscriptions-get-subscription-upcoming-grants.ts +0 -1
  486. package/src/funcs/subscriptions-get-subscription-v2.ts +0 -1
  487. package/src/funcs/subscriptions-get-subscription.ts +0 -1
  488. package/src/funcs/subscriptions-list-subscription-pauses.ts +0 -1
  489. package/src/funcs/subscriptions-list-subscription-schedules.ts +0 -1
  490. package/src/funcs/subscriptions-pause-subscription.ts +0 -1
  491. package/src/funcs/subscriptions-preview-subscription-change.ts +0 -1
  492. package/src/funcs/subscriptions-resume-subscription.ts +0 -1
  493. package/src/funcs/subscriptions-update-subscription-line-item.ts +0 -1
  494. package/src/funcs/subscriptions-update-subscription.ts +0 -1
  495. package/src/funcs/tasks-download-task-export.ts +0 -1
  496. package/src/funcs/tasks-get-task.ts +0 -1
  497. package/src/funcs/tasks-update-task-status.ts +0 -1
  498. package/src/funcs/tax-associations-delete-tax-association.ts +0 -1
  499. package/src/funcs/tax-associations-get-tax-association.ts +0 -1
  500. package/src/funcs/tax-associations-update-tax-association.ts +0 -1
  501. package/src/funcs/tax-rates-delete-tax-rate.ts +0 -1
  502. package/src/funcs/tax-rates-get-tax-rate.ts +0 -1
  503. package/src/funcs/tax-rates-update-tax-rate.ts +0 -1
  504. package/src/funcs/tenants-get-tenant-by-id.ts +0 -1
  505. package/src/funcs/wallets-get-wallet-balance.ts +0 -1
  506. package/src/funcs/wallets-get-wallet-transactions.ts +0 -1
  507. package/src/funcs/wallets-get-wallet.ts +0 -1
  508. package/src/funcs/wallets-get-wallets-by-customer-id.ts +0 -1
  509. package/src/funcs/wallets-terminate-wallet.ts +0 -1
  510. package/src/funcs/wallets-top-up-wallet.ts +0 -1
  511. package/src/funcs/wallets-update-wallet.ts +0 -1
  512. package/src/funcs/{webhooks-handle-chargebee-webhook.ts → webhook-events-post-webhook-events-credit-note-created.ts} +12 -52
  513. package/src/funcs/{webhooks-handle-paddle-webhook.ts → webhook-events-post-webhook-events-credit-note-updated.ts} +9 -57
  514. package/src/funcs/{webhooks-handle-nomod-webhook.ts → webhook-events-post-webhook-events-customer-created.ts} +11 -58
  515. package/src/funcs/{webhooks-handle-moyasar-webhook.ts → webhook-events-post-webhook-events-customer-deleted.ts} +9 -58
  516. package/src/funcs/webhook-events-post-webhook-events-customer-updated.ts +142 -0
  517. package/src/funcs/webhook-events-post-webhook-events-entitlement-created.ts +142 -0
  518. package/src/funcs/webhook-events-post-webhook-events-entitlement-deleted.ts +142 -0
  519. package/src/funcs/webhook-events-post-webhook-events-entitlement-updated.ts +142 -0
  520. package/src/funcs/webhook-events-post-webhook-events-feature-created.ts +142 -0
  521. package/src/funcs/webhook-events-post-webhook-events-feature-deleted.ts +142 -0
  522. package/src/funcs/webhook-events-post-webhook-events-feature-updated.ts +142 -0
  523. package/src/funcs/webhook-events-post-webhook-events-feature-wallet-balance-alert.ts +142 -0
  524. package/src/funcs/webhook-events-post-webhook-events-invoice-communication-triggered.ts +142 -0
  525. package/src/funcs/webhook-events-post-webhook-events-invoice-create-drafted.ts +142 -0
  526. package/src/funcs/webhook-events-post-webhook-events-invoice-payment-overdue.ts +142 -0
  527. package/src/funcs/webhook-events-post-webhook-events-invoice-update-finalized.ts +142 -0
  528. package/src/funcs/webhook-events-post-webhook-events-invoice-update-payment.ts +142 -0
  529. package/src/funcs/webhook-events-post-webhook-events-invoice-update-voided.ts +142 -0
  530. package/src/funcs/webhook-events-post-webhook-events-invoice-update.ts +142 -0
  531. package/src/funcs/webhook-events-post-webhook-events-payment-created.ts +142 -0
  532. package/src/funcs/webhook-events-post-webhook-events-payment-failed.ts +142 -0
  533. package/src/funcs/webhook-events-post-webhook-events-payment-pending.ts +142 -0
  534. package/src/funcs/webhook-events-post-webhook-events-payment-success.ts +142 -0
  535. package/src/funcs/webhook-events-post-webhook-events-payment-updated.ts +142 -0
  536. package/src/funcs/webhook-events-post-webhook-events-subscription-activated.ts +142 -0
  537. package/src/funcs/webhook-events-post-webhook-events-subscription-cancelled.ts +142 -0
  538. package/src/funcs/webhook-events-post-webhook-events-subscription-created.ts +142 -0
  539. package/src/funcs/webhook-events-post-webhook-events-subscription-draft-created.ts +142 -0
  540. package/src/funcs/webhook-events-post-webhook-events-subscription-paused.ts +142 -0
  541. package/src/funcs/webhook-events-post-webhook-events-subscription-phase-created.ts +142 -0
  542. package/src/funcs/webhook-events-post-webhook-events-subscription-phase-deleted.ts +142 -0
  543. package/src/funcs/webhook-events-post-webhook-events-subscription-phase-updated.ts +142 -0
  544. package/src/funcs/webhook-events-post-webhook-events-subscription-renewal-due.ts +142 -0
  545. package/src/funcs/webhook-events-post-webhook-events-subscription-resumed.ts +142 -0
  546. package/src/funcs/webhook-events-post-webhook-events-subscription-updated.ts +142 -0
  547. package/src/funcs/webhook-events-post-webhook-events-wallet-created.ts +142 -0
  548. package/src/funcs/webhook-events-post-webhook-events-wallet-credit-balance-dropped.ts +142 -0
  549. package/src/funcs/webhook-events-post-webhook-events-wallet-credit-balance-recovered.ts +142 -0
  550. package/src/funcs/webhook-events-post-webhook-events-wallet-ongoing-balance-dropped.ts +142 -0
  551. package/src/funcs/webhook-events-post-webhook-events-wallet-ongoing-balance-recovered.ts +142 -0
  552. package/src/funcs/webhook-events-post-webhook-events-wallet-terminated.ts +142 -0
  553. package/src/funcs/webhook-events-post-webhook-events-wallet-transaction-created.ts +142 -0
  554. package/src/funcs/webhook-events-post-webhook-events-wallet-updated.ts +142 -0
  555. package/src/lib/config.ts +3 -3
  556. package/src/lib/encodings.ts +23 -4
  557. package/src/lib/sdks.ts +7 -5
  558. package/src/lib/url.ts +16 -14
  559. package/src/sdk/models/cancellation-type.ts +1 -0
  560. package/src/sdk/models/dto-cancel-subscription-request.ts +10 -0
  561. package/src/sdk/models/dto-create-customer-request.ts +8 -3
  562. package/src/sdk/models/dto-create-subscription-request.ts +22 -0
  563. package/src/sdk/models/dto-customer-response.ts +5 -1
  564. package/src/sdk/models/dto-update-customer-request.ts +9 -4
  565. package/src/sdk/models/github-com-flexprice-flexprice-internal-domain-customer-customer.ts +5 -1
  566. package/src/sdk/models/index.ts +13 -8
  567. package/src/sdk/models/webhook-dto-alert-webhook-payload.ts +66 -0
  568. package/src/sdk/models/webhook-dto-communication-webhook-payload.ts +46 -0
  569. package/src/sdk/models/webhook-dto-credit-note-webhook-payload.ts +47 -0
  570. package/src/sdk/models/webhook-dto-customer-webhook-payload.ts +48 -0
  571. package/src/sdk/models/webhook-dto-entitlement-webhook-payload.ts +46 -0
  572. package/src/sdk/models/webhook-dto-feature-webhook-payload.ts +45 -0
  573. package/src/sdk/models/webhook-dto-invoice-webhook-payload.ts +45 -0
  574. package/src/sdk/models/webhook-dto-payment-webhook-payload.ts +45 -0
  575. package/src/sdk/models/webhook-dto-subscription-phase-webhook-payload.ts +49 -0
  576. package/src/sdk/models/webhook-dto-subscription-webhook-payload.ts +46 -0
  577. package/src/sdk/models/webhook-dto-transaction-webhook-payload.ts +52 -0
  578. package/src/sdk/models/webhook-dto-wallet-alert-info.ts +54 -0
  579. package/src/sdk/models/webhook-dto-wallet-webhook-payload.ts +60 -0
  580. package/src/sdk/models/window-size.ts +1 -1
  581. package/src/sdk/sdk.ts +4 -4
  582. package/src/sdk/webhook-events.ts +705 -0
  583. package/docs/sdk/models/handle-chargebee-webhook-request.md +0 -19
  584. package/docs/sdk/models/handle-hubspot-webhook-request.md +0 -21
  585. package/docs/sdk/models/handle-moyasar-webhook-request.md +0 -20
  586. package/docs/sdk/models/handle-nomod-webhook-request.md +0 -20
  587. package/docs/sdk/models/handle-paddle-webhook-request.md +0 -21
  588. package/docs/sdk/models/handle-quickbooks-webhook-request.md +0 -20
  589. package/docs/sdk/models/handle-razorpay-webhook-request.md +0 -21
  590. package/docs/sdk/models/handle-stripe-webhook-request.md +0 -21
  591. package/docs/sdks/webhooks/README.md +0 -581
  592. package/esm/funcs/webhooks-handle-chargebee-webhook.d.ts +0 -18
  593. package/esm/funcs/webhooks-handle-chargebee-webhook.d.ts.map +0 -1
  594. package/esm/funcs/webhooks-handle-chargebee-webhook.js.map +0 -1
  595. package/esm/funcs/webhooks-handle-hubspot-webhook.d.ts +0 -18
  596. package/esm/funcs/webhooks-handle-hubspot-webhook.d.ts.map +0 -1
  597. package/esm/funcs/webhooks-handle-hubspot-webhook.js +0 -94
  598. package/esm/funcs/webhooks-handle-hubspot-webhook.js.map +0 -1
  599. package/esm/funcs/webhooks-handle-moyasar-webhook.d.ts +0 -18
  600. package/esm/funcs/webhooks-handle-moyasar-webhook.d.ts.map +0 -1
  601. package/esm/funcs/webhooks-handle-moyasar-webhook.js.map +0 -1
  602. package/esm/funcs/webhooks-handle-nomod-webhook.d.ts +0 -18
  603. package/esm/funcs/webhooks-handle-nomod-webhook.d.ts.map +0 -1
  604. package/esm/funcs/webhooks-handle-nomod-webhook.js.map +0 -1
  605. package/esm/funcs/webhooks-handle-paddle-webhook.d.ts +0 -18
  606. package/esm/funcs/webhooks-handle-paddle-webhook.d.ts.map +0 -1
  607. package/esm/funcs/webhooks-handle-paddle-webhook.js.map +0 -1
  608. package/esm/funcs/webhooks-handle-quickbooks-webhook.d.ts +0 -18
  609. package/esm/funcs/webhooks-handle-quickbooks-webhook.d.ts.map +0 -1
  610. package/esm/funcs/webhooks-handle-quickbooks-webhook.js +0 -94
  611. package/esm/funcs/webhooks-handle-quickbooks-webhook.js.map +0 -1
  612. package/esm/funcs/webhooks-handle-razorpay-webhook.d.ts +0 -18
  613. package/esm/funcs/webhooks-handle-razorpay-webhook.d.ts.map +0 -1
  614. package/esm/funcs/webhooks-handle-razorpay-webhook.js +0 -94
  615. package/esm/funcs/webhooks-handle-razorpay-webhook.js.map +0 -1
  616. package/esm/funcs/webhooks-handle-stripe-webhook.d.ts +0 -18
  617. package/esm/funcs/webhooks-handle-stripe-webhook.d.ts.map +0 -1
  618. package/esm/funcs/webhooks-handle-stripe-webhook.js +0 -94
  619. package/esm/funcs/webhooks-handle-stripe-webhook.js.map +0 -1
  620. package/esm/sdk/models/handle-chargebee-webhook-op.d.ts +0 -20
  621. package/esm/sdk/models/handle-chargebee-webhook-op.d.ts.map +0 -1
  622. package/esm/sdk/models/handle-chargebee-webhook-op.js +0 -19
  623. package/esm/sdk/models/handle-chargebee-webhook-op.js.map +0 -1
  624. package/esm/sdk/models/handle-hubspot-webhook-op.d.ts +0 -25
  625. package/esm/sdk/models/handle-hubspot-webhook-op.d.ts.map +0 -1
  626. package/esm/sdk/models/handle-hubspot-webhook-op.js +0 -21
  627. package/esm/sdk/models/handle-hubspot-webhook-op.js.map +0 -1
  628. package/esm/sdk/models/handle-moyasar-webhook-op.d.ts +0 -25
  629. package/esm/sdk/models/handle-moyasar-webhook-op.d.ts.map +0 -1
  630. package/esm/sdk/models/handle-moyasar-webhook-op.js +0 -21
  631. package/esm/sdk/models/handle-moyasar-webhook-op.js.map +0 -1
  632. package/esm/sdk/models/handle-nomod-webhook-op.d.ts +0 -25
  633. package/esm/sdk/models/handle-nomod-webhook-op.d.ts.map +0 -1
  634. package/esm/sdk/models/handle-nomod-webhook-op.js +0 -21
  635. package/esm/sdk/models/handle-nomod-webhook-op.js.map +0 -1
  636. package/esm/sdk/models/handle-paddle-webhook-op.d.ts +0 -25
  637. package/esm/sdk/models/handle-paddle-webhook-op.d.ts.map +0 -1
  638. package/esm/sdk/models/handle-paddle-webhook-op.js +0 -21
  639. package/esm/sdk/models/handle-paddle-webhook-op.js.map +0 -1
  640. package/esm/sdk/models/handle-quickbooks-webhook-op.d.ts +0 -25
  641. package/esm/sdk/models/handle-quickbooks-webhook-op.d.ts.map +0 -1
  642. package/esm/sdk/models/handle-quickbooks-webhook-op.js +0 -21
  643. package/esm/sdk/models/handle-quickbooks-webhook-op.js.map +0 -1
  644. package/esm/sdk/models/handle-razorpay-webhook-op.d.ts +0 -25
  645. package/esm/sdk/models/handle-razorpay-webhook-op.d.ts.map +0 -1
  646. package/esm/sdk/models/handle-razorpay-webhook-op.js +0 -21
  647. package/esm/sdk/models/handle-razorpay-webhook-op.js.map +0 -1
  648. package/esm/sdk/models/handle-stripe-webhook-op.d.ts +0 -25
  649. package/esm/sdk/models/handle-stripe-webhook-op.d.ts.map +0 -1
  650. package/esm/sdk/models/handle-stripe-webhook-op.js +0 -21
  651. package/esm/sdk/models/handle-stripe-webhook-op.js.map +0 -1
  652. package/esm/sdk/webhooks.d.ts +0 -76
  653. package/esm/sdk/webhooks.d.ts.map +0 -1
  654. package/esm/sdk/webhooks.js +0 -88
  655. package/esm/sdk/webhooks.js.map +0 -1
  656. package/src/funcs/webhooks-handle-hubspot-webhook.ts +0 -191
  657. package/src/funcs/webhooks-handle-quickbooks-webhook.ts +0 -191
  658. package/src/funcs/webhooks-handle-razorpay-webhook.ts +0 -191
  659. package/src/funcs/webhooks-handle-stripe-webhook.ts +0 -190
  660. package/src/sdk/models/handle-chargebee-webhook-op.ts +0 -50
  661. package/src/sdk/models/handle-hubspot-webhook-op.ts +0 -57
  662. package/src/sdk/models/handle-moyasar-webhook-op.ts +0 -57
  663. package/src/sdk/models/handle-nomod-webhook-op.ts +0 -55
  664. package/src/sdk/models/handle-paddle-webhook-op.ts +0 -55
  665. package/src/sdk/models/handle-quickbooks-webhook-op.ts +0 -57
  666. package/src/sdk/models/handle-razorpay-webhook-op.ts +0 -57
  667. package/src/sdk/models/handle-stripe-webhook-op.ts +0 -55
  668. package/src/sdk/webhooks.ts +0 -182
@@ -0,0 +1,21 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+ import * as z from "zod/v4-mini";
5
+ import { remap as remap$ } from "../../lib/primitives.js";
6
+ import { safeParse } from "../../lib/schemas.js";
7
+ import * as types from "../../types/primitives.js";
8
+ import { DtoCustomerResponse$inboundSchema, } from "./dto-customer-response.js";
9
+ /** @internal */
10
+ export const WebhookDtoCustomerWebhookPayload$inboundSchema = z.pipe(z.object({
11
+ customer: types.optional(DtoCustomerResponse$inboundSchema),
12
+ event_type: types.optional(types.string()),
13
+ }), z.transform((v) => {
14
+ return remap$(v, {
15
+ "event_type": "eventType",
16
+ });
17
+ }));
18
+ export function webhookDtoCustomerWebhookPayloadFromJSON(jsonString) {
19
+ return safeParse(jsonString, (x) => WebhookDtoCustomerWebhookPayload$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'WebhookDtoCustomerWebhookPayload' from JSON`);
20
+ }
21
+ //# sourceMappingURL=webhook-dto-customer-webhook-payload.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"webhook-dto-customer-webhook-payload.js","sourceRoot":"","sources":["../../../src/sdk/models/webhook-dto-customer-webhook-payload.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAEjD,OAAO,KAAK,KAAK,MAAM,2BAA2B,CAAC;AACnD,OAAO,EAEL,iCAAiC,GAClC,MAAM,4BAA4B,CAAC;AAWpC,gBAAgB;AAChB,MAAM,CAAC,MAAM,8CAA8C,GAGvD,CAAC,CAAC,IAAI,CACR,CAAC,CAAC,MAAM,CAAC;IACP,QAAQ,EAAE,KAAK,CAAC,QAAQ,CAAC,iCAAiC,CAAC;IAC3D,UAAU,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;CAC3C,CAAC,EACF,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;IACjB,OAAO,MAAM,CAAC,CAAC,EAAE;QACf,YAAY,EAAE,WAAW;KAC1B,CAAC,CAAC;AAAA,CACJ,CAAC,CACH,CAAC;AAEF,MAAM,UAAU,wCAAwC,CACtD,UAAkB,EACqD;IACvE,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,8CAA8C,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC1E,8DAA8D,CAC/D,CAAC;AAAA,CACH"}
@@ -0,0 +1,12 @@
1
+ import * as z from "zod/v4-mini";
2
+ import { Result as SafeParseResult } from "../../types/fp.js";
3
+ import { DtoEntitlementResponse } from "./dto-entitlement-response.js";
4
+ import { SDKValidationError } from "./sdk-validation-error.js";
5
+ export type WebhookDtoEntitlementWebhookPayload = {
6
+ entitlement?: DtoEntitlementResponse | undefined;
7
+ eventType?: string | undefined;
8
+ };
9
+ /** @internal */
10
+ export declare const WebhookDtoEntitlementWebhookPayload$inboundSchema: z.ZodMiniType<WebhookDtoEntitlementWebhookPayload, unknown>;
11
+ export declare function webhookDtoEntitlementWebhookPayloadFromJSON(jsonString: string): SafeParseResult<WebhookDtoEntitlementWebhookPayload, SDKValidationError>;
12
+ //# sourceMappingURL=webhook-dto-entitlement-webhook-payload.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"webhook-dto-entitlement-webhook-payload.d.ts","sourceRoot":"","sources":["../../../src/sdk/models/webhook-dto-entitlement-webhook-payload.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAGjC,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAE9D,OAAO,EACL,sBAAsB,EAEvB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAE/D,MAAM,MAAM,mCAAmC,GAAG;IAChD,WAAW,CAAC,EAAE,sBAAsB,GAAG,SAAS,CAAC;IACjD,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAChC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,iDAAiD,EAAE,CAAC,CAAC,WAAW,CAC3E,mCAAmC,EACnC,OAAO,CAWR,CAAC;AAEF,wBAAgB,2CAA2C,CACzD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,mCAAmC,EAAE,kBAAkB,CAAC,CAO1E"}
@@ -0,0 +1,21 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+ import * as z from "zod/v4-mini";
5
+ import { remap as remap$ } from "../../lib/primitives.js";
6
+ import { safeParse } from "../../lib/schemas.js";
7
+ import * as types from "../../types/primitives.js";
8
+ import { DtoEntitlementResponse$inboundSchema, } from "./dto-entitlement-response.js";
9
+ /** @internal */
10
+ export const WebhookDtoEntitlementWebhookPayload$inboundSchema = z.pipe(z.object({
11
+ entitlement: types.optional(DtoEntitlementResponse$inboundSchema),
12
+ event_type: types.optional(types.string()),
13
+ }), z.transform((v) => {
14
+ return remap$(v, {
15
+ "event_type": "eventType",
16
+ });
17
+ }));
18
+ export function webhookDtoEntitlementWebhookPayloadFromJSON(jsonString) {
19
+ return safeParse(jsonString, (x) => WebhookDtoEntitlementWebhookPayload$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'WebhookDtoEntitlementWebhookPayload' from JSON`);
20
+ }
21
+ //# sourceMappingURL=webhook-dto-entitlement-webhook-payload.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"webhook-dto-entitlement-webhook-payload.js","sourceRoot":"","sources":["../../../src/sdk/models/webhook-dto-entitlement-webhook-payload.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAEjD,OAAO,KAAK,KAAK,MAAM,2BAA2B,CAAC;AACnD,OAAO,EAEL,oCAAoC,GACrC,MAAM,+BAA+B,CAAC;AAQvC,gBAAgB;AAChB,MAAM,CAAC,MAAM,iDAAiD,GAG1D,CAAC,CAAC,IAAI,CACR,CAAC,CAAC,MAAM,CAAC;IACP,WAAW,EAAE,KAAK,CAAC,QAAQ,CAAC,oCAAoC,CAAC;IACjE,UAAU,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;CAC3C,CAAC,EACF,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;IACjB,OAAO,MAAM,CAAC,CAAC,EAAE;QACf,YAAY,EAAE,WAAW;KAC1B,CAAC,CAAC;AAAA,CACJ,CAAC,CACH,CAAC;AAEF,MAAM,UAAU,2CAA2C,CACzD,UAAkB,EACwD;IAC1E,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CACJ,iDAAiD,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACxE,iEAAiE,CAClE,CAAC;AAAA,CACH"}
@@ -0,0 +1,12 @@
1
+ import * as z from "zod/v4-mini";
2
+ import { Result as SafeParseResult } from "../../types/fp.js";
3
+ import { DtoFeatureResponse } from "./dto-feature-response.js";
4
+ import { SDKValidationError } from "./sdk-validation-error.js";
5
+ export type WebhookDtoFeatureWebhookPayload = {
6
+ eventType?: string | undefined;
7
+ feature?: DtoFeatureResponse | undefined;
8
+ };
9
+ /** @internal */
10
+ export declare const WebhookDtoFeatureWebhookPayload$inboundSchema: z.ZodMiniType<WebhookDtoFeatureWebhookPayload, unknown>;
11
+ export declare function webhookDtoFeatureWebhookPayloadFromJSON(jsonString: string): SafeParseResult<WebhookDtoFeatureWebhookPayload, SDKValidationError>;
12
+ //# sourceMappingURL=webhook-dto-feature-webhook-payload.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"webhook-dto-feature-webhook-payload.d.ts","sourceRoot":"","sources":["../../../src/sdk/models/webhook-dto-feature-webhook-payload.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAGjC,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAE9D,OAAO,EACL,kBAAkB,EAEnB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAE/D,MAAM,MAAM,+BAA+B,GAAG;IAC5C,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,OAAO,CAAC,EAAE,kBAAkB,GAAG,SAAS,CAAC;CAC1C,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,6CAA6C,EAAE,CAAC,CAAC,WAAW,CACvE,+BAA+B,EAC/B,OAAO,CAWR,CAAC;AAEF,wBAAgB,uCAAuC,CACrD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,+BAA+B,EAAE,kBAAkB,CAAC,CAMtE"}
@@ -0,0 +1,21 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+ import * as z from "zod/v4-mini";
5
+ import { remap as remap$ } from "../../lib/primitives.js";
6
+ import { safeParse } from "../../lib/schemas.js";
7
+ import * as types from "../../types/primitives.js";
8
+ import { DtoFeatureResponse$inboundSchema, } from "./dto-feature-response.js";
9
+ /** @internal */
10
+ export const WebhookDtoFeatureWebhookPayload$inboundSchema = z.pipe(z.object({
11
+ event_type: types.optional(types.string()),
12
+ feature: types.optional(DtoFeatureResponse$inboundSchema),
13
+ }), z.transform((v) => {
14
+ return remap$(v, {
15
+ "event_type": "eventType",
16
+ });
17
+ }));
18
+ export function webhookDtoFeatureWebhookPayloadFromJSON(jsonString) {
19
+ return safeParse(jsonString, (x) => WebhookDtoFeatureWebhookPayload$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'WebhookDtoFeatureWebhookPayload' from JSON`);
20
+ }
21
+ //# sourceMappingURL=webhook-dto-feature-webhook-payload.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"webhook-dto-feature-webhook-payload.js","sourceRoot":"","sources":["../../../src/sdk/models/webhook-dto-feature-webhook-payload.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAEjD,OAAO,KAAK,KAAK,MAAM,2BAA2B,CAAC;AACnD,OAAO,EAEL,gCAAgC,GACjC,MAAM,2BAA2B,CAAC;AAQnC,gBAAgB;AAChB,MAAM,CAAC,MAAM,6CAA6C,GAGtD,CAAC,CAAC,IAAI,CACR,CAAC,CAAC,MAAM,CAAC;IACP,UAAU,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;IAC1C,OAAO,EAAE,KAAK,CAAC,QAAQ,CAAC,gCAAgC,CAAC;CAC1D,CAAC,EACF,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;IACjB,OAAO,MAAM,CAAC,CAAC,EAAE;QACf,YAAY,EAAE,WAAW;KAC1B,CAAC,CAAC;AAAA,CACJ,CAAC,CACH,CAAC;AAEF,MAAM,UAAU,uCAAuC,CACrD,UAAkB,EACoD;IACtE,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,6CAA6C,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACzE,6DAA6D,CAC9D,CAAC;AAAA,CACH"}
@@ -0,0 +1,12 @@
1
+ import * as z from "zod/v4-mini";
2
+ import { Result as SafeParseResult } from "../../types/fp.js";
3
+ import { DtoInvoiceResponse } from "./dto-invoice-response.js";
4
+ import { SDKValidationError } from "./sdk-validation-error.js";
5
+ export type WebhookDtoInvoiceWebhookPayload = {
6
+ eventType?: string | undefined;
7
+ invoice?: DtoInvoiceResponse | undefined;
8
+ };
9
+ /** @internal */
10
+ export declare const WebhookDtoInvoiceWebhookPayload$inboundSchema: z.ZodMiniType<WebhookDtoInvoiceWebhookPayload, unknown>;
11
+ export declare function webhookDtoInvoiceWebhookPayloadFromJSON(jsonString: string): SafeParseResult<WebhookDtoInvoiceWebhookPayload, SDKValidationError>;
12
+ //# sourceMappingURL=webhook-dto-invoice-webhook-payload.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"webhook-dto-invoice-webhook-payload.d.ts","sourceRoot":"","sources":["../../../src/sdk/models/webhook-dto-invoice-webhook-payload.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAGjC,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAE9D,OAAO,EACL,kBAAkB,EAEnB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAE/D,MAAM,MAAM,+BAA+B,GAAG;IAC5C,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,OAAO,CAAC,EAAE,kBAAkB,GAAG,SAAS,CAAC;CAC1C,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,6CAA6C,EAAE,CAAC,CAAC,WAAW,CACvE,+BAA+B,EAC/B,OAAO,CAWR,CAAC;AAEF,wBAAgB,uCAAuC,CACrD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,+BAA+B,EAAE,kBAAkB,CAAC,CAMtE"}
@@ -0,0 +1,21 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+ import * as z from "zod/v4-mini";
5
+ import { remap as remap$ } from "../../lib/primitives.js";
6
+ import { safeParse } from "../../lib/schemas.js";
7
+ import * as types from "../../types/primitives.js";
8
+ import { DtoInvoiceResponse$inboundSchema, } from "./dto-invoice-response.js";
9
+ /** @internal */
10
+ export const WebhookDtoInvoiceWebhookPayload$inboundSchema = z.pipe(z.object({
11
+ event_type: types.optional(types.string()),
12
+ invoice: types.optional(DtoInvoiceResponse$inboundSchema),
13
+ }), z.transform((v) => {
14
+ return remap$(v, {
15
+ "event_type": "eventType",
16
+ });
17
+ }));
18
+ export function webhookDtoInvoiceWebhookPayloadFromJSON(jsonString) {
19
+ return safeParse(jsonString, (x) => WebhookDtoInvoiceWebhookPayload$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'WebhookDtoInvoiceWebhookPayload' from JSON`);
20
+ }
21
+ //# sourceMappingURL=webhook-dto-invoice-webhook-payload.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"webhook-dto-invoice-webhook-payload.js","sourceRoot":"","sources":["../../../src/sdk/models/webhook-dto-invoice-webhook-payload.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAEjD,OAAO,KAAK,KAAK,MAAM,2BAA2B,CAAC;AACnD,OAAO,EAEL,gCAAgC,GACjC,MAAM,2BAA2B,CAAC;AAQnC,gBAAgB;AAChB,MAAM,CAAC,MAAM,6CAA6C,GAGtD,CAAC,CAAC,IAAI,CACR,CAAC,CAAC,MAAM,CAAC;IACP,UAAU,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;IAC1C,OAAO,EAAE,KAAK,CAAC,QAAQ,CAAC,gCAAgC,CAAC;CAC1D,CAAC,EACF,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;IACjB,OAAO,MAAM,CAAC,CAAC,EAAE;QACf,YAAY,EAAE,WAAW;KAC1B,CAAC,CAAC;AAAA,CACJ,CAAC,CACH,CAAC;AAEF,MAAM,UAAU,uCAAuC,CACrD,UAAkB,EACoD;IACtE,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,6CAA6C,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACzE,6DAA6D,CAC9D,CAAC;AAAA,CACH"}
@@ -0,0 +1,12 @@
1
+ import * as z from "zod/v4-mini";
2
+ import { Result as SafeParseResult } from "../../types/fp.js";
3
+ import { DtoPaymentResponse } from "./dto-payment-response.js";
4
+ import { SDKValidationError } from "./sdk-validation-error.js";
5
+ export type WebhookDtoPaymentWebhookPayload = {
6
+ eventType?: string | undefined;
7
+ payment?: DtoPaymentResponse | undefined;
8
+ };
9
+ /** @internal */
10
+ export declare const WebhookDtoPaymentWebhookPayload$inboundSchema: z.ZodMiniType<WebhookDtoPaymentWebhookPayload, unknown>;
11
+ export declare function webhookDtoPaymentWebhookPayloadFromJSON(jsonString: string): SafeParseResult<WebhookDtoPaymentWebhookPayload, SDKValidationError>;
12
+ //# sourceMappingURL=webhook-dto-payment-webhook-payload.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"webhook-dto-payment-webhook-payload.d.ts","sourceRoot":"","sources":["../../../src/sdk/models/webhook-dto-payment-webhook-payload.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAGjC,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAE9D,OAAO,EACL,kBAAkB,EAEnB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAE/D,MAAM,MAAM,+BAA+B,GAAG;IAC5C,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,OAAO,CAAC,EAAE,kBAAkB,GAAG,SAAS,CAAC;CAC1C,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,6CAA6C,EAAE,CAAC,CAAC,WAAW,CACvE,+BAA+B,EAC/B,OAAO,CAWR,CAAC;AAEF,wBAAgB,uCAAuC,CACrD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,+BAA+B,EAAE,kBAAkB,CAAC,CAMtE"}
@@ -0,0 +1,21 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+ import * as z from "zod/v4-mini";
5
+ import { remap as remap$ } from "../../lib/primitives.js";
6
+ import { safeParse } from "../../lib/schemas.js";
7
+ import * as types from "../../types/primitives.js";
8
+ import { DtoPaymentResponse$inboundSchema, } from "./dto-payment-response.js";
9
+ /** @internal */
10
+ export const WebhookDtoPaymentWebhookPayload$inboundSchema = z.pipe(z.object({
11
+ event_type: types.optional(types.string()),
12
+ payment: types.optional(DtoPaymentResponse$inboundSchema),
13
+ }), z.transform((v) => {
14
+ return remap$(v, {
15
+ "event_type": "eventType",
16
+ });
17
+ }));
18
+ export function webhookDtoPaymentWebhookPayloadFromJSON(jsonString) {
19
+ return safeParse(jsonString, (x) => WebhookDtoPaymentWebhookPayload$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'WebhookDtoPaymentWebhookPayload' from JSON`);
20
+ }
21
+ //# sourceMappingURL=webhook-dto-payment-webhook-payload.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"webhook-dto-payment-webhook-payload.js","sourceRoot":"","sources":["../../../src/sdk/models/webhook-dto-payment-webhook-payload.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAEjD,OAAO,KAAK,KAAK,MAAM,2BAA2B,CAAC;AACnD,OAAO,EAEL,gCAAgC,GACjC,MAAM,2BAA2B,CAAC;AAQnC,gBAAgB;AAChB,MAAM,CAAC,MAAM,6CAA6C,GAGtD,CAAC,CAAC,IAAI,CACR,CAAC,CAAC,MAAM,CAAC;IACP,UAAU,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;IAC1C,OAAO,EAAE,KAAK,CAAC,QAAQ,CAAC,gCAAgC,CAAC;CAC1D,CAAC,EACF,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;IACjB,OAAO,MAAM,CAAC,CAAC,EAAE;QACf,YAAY,EAAE,WAAW;KAC1B,CAAC,CAAC;AAAA,CACJ,CAAC,CACH,CAAC;AAEF,MAAM,UAAU,uCAAuC,CACrD,UAAkB,EACoD;IACtE,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,6CAA6C,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACzE,6DAA6D,CAC9D,CAAC;AAAA,CACH"}
@@ -0,0 +1,12 @@
1
+ import * as z from "zod/v4-mini";
2
+ import { Result as SafeParseResult } from "../../types/fp.js";
3
+ import { DtoSubscriptionPhaseResponse } from "./dto-subscription-phase-response.js";
4
+ import { SDKValidationError } from "./sdk-validation-error.js";
5
+ export type WebhookDtoSubscriptionPhaseWebhookPayload = {
6
+ eventType?: string | undefined;
7
+ phase?: DtoSubscriptionPhaseResponse | undefined;
8
+ };
9
+ /** @internal */
10
+ export declare const WebhookDtoSubscriptionPhaseWebhookPayload$inboundSchema: z.ZodMiniType<WebhookDtoSubscriptionPhaseWebhookPayload, unknown>;
11
+ export declare function webhookDtoSubscriptionPhaseWebhookPayloadFromJSON(jsonString: string): SafeParseResult<WebhookDtoSubscriptionPhaseWebhookPayload, SDKValidationError>;
12
+ //# sourceMappingURL=webhook-dto-subscription-phase-webhook-payload.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"webhook-dto-subscription-phase-webhook-payload.d.ts","sourceRoot":"","sources":["../../../src/sdk/models/webhook-dto-subscription-phase-webhook-payload.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAGjC,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAE9D,OAAO,EACL,4BAA4B,EAE7B,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAE/D,MAAM,MAAM,yCAAyC,GAAG;IACtD,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,KAAK,CAAC,EAAE,4BAA4B,GAAG,SAAS,CAAC;CAClD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,uDAAuD,EAClE,CAAC,CAAC,WAAW,CAAC,yCAAyC,EAAE,OAAO,CAU/D,CAAC;AAEJ,wBAAgB,iDAAiD,CAC/D,UAAU,EAAE,MAAM,GACjB,eAAe,CAChB,yCAAyC,EACzC,kBAAkB,CACnB,CASA"}
@@ -0,0 +1,21 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+ import * as z from "zod/v4-mini";
5
+ import { remap as remap$ } from "../../lib/primitives.js";
6
+ import { safeParse } from "../../lib/schemas.js";
7
+ import * as types from "../../types/primitives.js";
8
+ import { DtoSubscriptionPhaseResponse$inboundSchema, } from "./dto-subscription-phase-response.js";
9
+ /** @internal */
10
+ export const WebhookDtoSubscriptionPhaseWebhookPayload$inboundSchema = z.pipe(z.object({
11
+ event_type: types.optional(types.string()),
12
+ phase: types.optional(DtoSubscriptionPhaseResponse$inboundSchema),
13
+ }), z.transform((v) => {
14
+ return remap$(v, {
15
+ "event_type": "eventType",
16
+ });
17
+ }));
18
+ export function webhookDtoSubscriptionPhaseWebhookPayloadFromJSON(jsonString) {
19
+ return safeParse(jsonString, (x) => WebhookDtoSubscriptionPhaseWebhookPayload$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'WebhookDtoSubscriptionPhaseWebhookPayload' from JSON`);
20
+ }
21
+ //# sourceMappingURL=webhook-dto-subscription-phase-webhook-payload.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"webhook-dto-subscription-phase-webhook-payload.js","sourceRoot":"","sources":["../../../src/sdk/models/webhook-dto-subscription-phase-webhook-payload.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAEjD,OAAO,KAAK,KAAK,MAAM,2BAA2B,CAAC;AACnD,OAAO,EAEL,0CAA0C,GAC3C,MAAM,sCAAsC,CAAC;AAQ9C,gBAAgB;AAChB,MAAM,CAAC,MAAM,uDAAuD,GACE,CAAC,CAAC,IAAI,CACxE,CAAC,CAAC,MAAM,CAAC;IACP,UAAU,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;IAC1C,KAAK,EAAE,KAAK,CAAC,QAAQ,CAAC,0CAA0C,CAAC;CAClE,CAAC,EACF,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;IACjB,OAAO,MAAM,CAAC,CAAC,EAAE;QACf,YAAY,EAAE,WAAW;KAC1B,CAAC,CAAC;AAAA,CACJ,CAAC,CACH,CAAC;AAEJ,MAAM,UAAU,iDAAiD,CAC/D,UAAkB,EAIlB;IACA,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CACJ,uDAAuD,CAAC,KAAK,CAC3D,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CACd,EACH,uEAAuE,CACxE,CAAC;AAAA,CACH"}
@@ -0,0 +1,12 @@
1
+ import * as z from "zod/v4-mini";
2
+ import { Result as SafeParseResult } from "../../types/fp.js";
3
+ import { DtoSubscriptionResponse } from "./dto-subscription-response.js";
4
+ import { SDKValidationError } from "./sdk-validation-error.js";
5
+ export type WebhookDtoSubscriptionWebhookPayload = {
6
+ eventType?: string | undefined;
7
+ subscription?: DtoSubscriptionResponse | undefined;
8
+ };
9
+ /** @internal */
10
+ export declare const WebhookDtoSubscriptionWebhookPayload$inboundSchema: z.ZodMiniType<WebhookDtoSubscriptionWebhookPayload, unknown>;
11
+ export declare function webhookDtoSubscriptionWebhookPayloadFromJSON(jsonString: string): SafeParseResult<WebhookDtoSubscriptionWebhookPayload, SDKValidationError>;
12
+ //# sourceMappingURL=webhook-dto-subscription-webhook-payload.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"webhook-dto-subscription-webhook-payload.d.ts","sourceRoot":"","sources":["../../../src/sdk/models/webhook-dto-subscription-webhook-payload.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAGjC,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAE9D,OAAO,EACL,uBAAuB,EAExB,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAE/D,MAAM,MAAM,oCAAoC,GAAG;IACjD,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,YAAY,CAAC,EAAE,uBAAuB,GAAG,SAAS,CAAC;CACpD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,kDAAkD,EAAE,CAAC,CAAC,WAAW,CAC5E,oCAAoC,EACpC,OAAO,CAWR,CAAC;AAEF,wBAAgB,4CAA4C,CAC1D,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,oCAAoC,EAAE,kBAAkB,CAAC,CAO3E"}
@@ -0,0 +1,21 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+ import * as z from "zod/v4-mini";
5
+ import { remap as remap$ } from "../../lib/primitives.js";
6
+ import { safeParse } from "../../lib/schemas.js";
7
+ import * as types from "../../types/primitives.js";
8
+ import { DtoSubscriptionResponse$inboundSchema, } from "./dto-subscription-response.js";
9
+ /** @internal */
10
+ export const WebhookDtoSubscriptionWebhookPayload$inboundSchema = z.pipe(z.object({
11
+ event_type: types.optional(types.string()),
12
+ subscription: types.optional(DtoSubscriptionResponse$inboundSchema),
13
+ }), z.transform((v) => {
14
+ return remap$(v, {
15
+ "event_type": "eventType",
16
+ });
17
+ }));
18
+ export function webhookDtoSubscriptionWebhookPayloadFromJSON(jsonString) {
19
+ return safeParse(jsonString, (x) => WebhookDtoSubscriptionWebhookPayload$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'WebhookDtoSubscriptionWebhookPayload' from JSON`);
20
+ }
21
+ //# sourceMappingURL=webhook-dto-subscription-webhook-payload.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"webhook-dto-subscription-webhook-payload.js","sourceRoot":"","sources":["../../../src/sdk/models/webhook-dto-subscription-webhook-payload.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAEjD,OAAO,KAAK,KAAK,MAAM,2BAA2B,CAAC;AACnD,OAAO,EAEL,qCAAqC,GACtC,MAAM,gCAAgC,CAAC;AAQxC,gBAAgB;AAChB,MAAM,CAAC,MAAM,kDAAkD,GAG3D,CAAC,CAAC,IAAI,CACR,CAAC,CAAC,MAAM,CAAC;IACP,UAAU,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;IAC1C,YAAY,EAAE,KAAK,CAAC,QAAQ,CAAC,qCAAqC,CAAC;CACpE,CAAC,EACF,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;IACjB,OAAO,MAAM,CAAC,CAAC,EAAE;QACf,YAAY,EAAE,WAAW;KAC1B,CAAC,CAAC;AAAA,CACJ,CAAC,CACH,CAAC;AAEF,MAAM,UAAU,4CAA4C,CAC1D,UAAkB,EACyD;IAC3E,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CACJ,kDAAkD,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACzE,kEAAkE,CACnE,CAAC;AAAA,CACH"}
@@ -0,0 +1,14 @@
1
+ import * as z from "zod/v4-mini";
2
+ import { Result as SafeParseResult } from "../../types/fp.js";
3
+ import { DtoWalletResponse } from "./dto-wallet-response.js";
4
+ import { DtoWalletTransactionResponse } from "./dto-wallet-transaction-response.js";
5
+ import { SDKValidationError } from "./sdk-validation-error.js";
6
+ export type WebhookDtoTransactionWebhookPayload = {
7
+ eventType?: string | undefined;
8
+ transaction?: DtoWalletTransactionResponse | undefined;
9
+ wallet?: DtoWalletResponse | undefined;
10
+ };
11
+ /** @internal */
12
+ export declare const WebhookDtoTransactionWebhookPayload$inboundSchema: z.ZodMiniType<WebhookDtoTransactionWebhookPayload, unknown>;
13
+ export declare function webhookDtoTransactionWebhookPayloadFromJSON(jsonString: string): SafeParseResult<WebhookDtoTransactionWebhookPayload, SDKValidationError>;
14
+ //# sourceMappingURL=webhook-dto-transaction-webhook-payload.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"webhook-dto-transaction-webhook-payload.d.ts","sourceRoot":"","sources":["../../../src/sdk/models/webhook-dto-transaction-webhook-payload.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAGjC,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAE9D,OAAO,EACL,iBAAiB,EAElB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,4BAA4B,EAE7B,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAE/D,MAAM,MAAM,mCAAmC,GAAG;IAChD,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,WAAW,CAAC,EAAE,4BAA4B,GAAG,SAAS,CAAC;IACvD,MAAM,CAAC,EAAE,iBAAiB,GAAG,SAAS,CAAC;CACxC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,iDAAiD,EAAE,CAAC,CAAC,WAAW,CAC3E,mCAAmC,EACnC,OAAO,CAYR,CAAC;AAEF,wBAAgB,2CAA2C,CACzD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,mCAAmC,EAAE,kBAAkB,CAAC,CAO1E"}
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+ import * as z from "zod/v4-mini";
5
+ import { remap as remap$ } from "../../lib/primitives.js";
6
+ import { safeParse } from "../../lib/schemas.js";
7
+ import * as types from "../../types/primitives.js";
8
+ import { DtoWalletResponse$inboundSchema, } from "./dto-wallet-response.js";
9
+ import { DtoWalletTransactionResponse$inboundSchema, } from "./dto-wallet-transaction-response.js";
10
+ /** @internal */
11
+ export const WebhookDtoTransactionWebhookPayload$inboundSchema = z.pipe(z.object({
12
+ event_type: types.optional(types.string()),
13
+ transaction: types.optional(DtoWalletTransactionResponse$inboundSchema),
14
+ wallet: types.optional(DtoWalletResponse$inboundSchema),
15
+ }), z.transform((v) => {
16
+ return remap$(v, {
17
+ "event_type": "eventType",
18
+ });
19
+ }));
20
+ export function webhookDtoTransactionWebhookPayloadFromJSON(jsonString) {
21
+ return safeParse(jsonString, (x) => WebhookDtoTransactionWebhookPayload$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'WebhookDtoTransactionWebhookPayload' from JSON`);
22
+ }
23
+ //# sourceMappingURL=webhook-dto-transaction-webhook-payload.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"webhook-dto-transaction-webhook-payload.js","sourceRoot":"","sources":["../../../src/sdk/models/webhook-dto-transaction-webhook-payload.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAEjD,OAAO,KAAK,KAAK,MAAM,2BAA2B,CAAC;AACnD,OAAO,EAEL,+BAA+B,GAChC,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAEL,0CAA0C,GAC3C,MAAM,sCAAsC,CAAC;AAS9C,gBAAgB;AAChB,MAAM,CAAC,MAAM,iDAAiD,GAG1D,CAAC,CAAC,IAAI,CACR,CAAC,CAAC,MAAM,CAAC;IACP,UAAU,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;IAC1C,WAAW,EAAE,KAAK,CAAC,QAAQ,CAAC,0CAA0C,CAAC;IACvE,MAAM,EAAE,KAAK,CAAC,QAAQ,CAAC,+BAA+B,CAAC;CACxD,CAAC,EACF,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;IACjB,OAAO,MAAM,CAAC,CAAC,EAAE;QACf,YAAY,EAAE,WAAW;KAC1B,CAAC,CAAC;AAAA,CACJ,CAAC,CACH,CAAC;AAEF,MAAM,UAAU,2CAA2C,CACzD,UAAkB,EACwD;IAC1E,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CACJ,iDAAiD,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACxE,iEAAiE,CAClE,CAAC;AAAA,CACH"}
@@ -0,0 +1,15 @@
1
+ import * as z from "zod/v4-mini";
2
+ import { Result as SafeParseResult } from "../../types/fp.js";
3
+ import { AlertSettings } from "./alert-settings.js";
4
+ import { SDKValidationError } from "./sdk-validation-error.js";
5
+ export type WebhookDtoWalletAlertInfo = {
6
+ alertSettings?: AlertSettings | undefined;
7
+ alertType?: string | undefined;
8
+ creditBalance?: number | undefined;
9
+ currentBalance?: number | undefined;
10
+ state?: string | undefined;
11
+ };
12
+ /** @internal */
13
+ export declare const WebhookDtoWalletAlertInfo$inboundSchema: z.ZodMiniType<WebhookDtoWalletAlertInfo, unknown>;
14
+ export declare function webhookDtoWalletAlertInfoFromJSON(jsonString: string): SafeParseResult<WebhookDtoWalletAlertInfo, SDKValidationError>;
15
+ //# sourceMappingURL=webhook-dto-wallet-alert-info.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"webhook-dto-wallet-alert-info.d.ts","sourceRoot":"","sources":["../../../src/sdk/models/webhook-dto-wallet-alert-info.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAGjC,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAE9D,OAAO,EACL,aAAa,EAEd,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAE/D,MAAM,MAAM,yBAAyB,GAAG;IACtC,aAAa,CAAC,EAAE,aAAa,GAAG,SAAS,CAAC;IAC1C,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,aAAa,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACnC,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACpC,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC5B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,uCAAuC,EAAE,CAAC,CAAC,WAAW,CACjE,yBAAyB,EACzB,OAAO,CAiBR,CAAC;AAEF,wBAAgB,iCAAiC,CAC/C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,yBAAyB,EAAE,kBAAkB,CAAC,CAMhE"}
@@ -0,0 +1,27 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+ import * as z from "zod/v4-mini";
5
+ import { remap as remap$ } from "../../lib/primitives.js";
6
+ import { safeParse } from "../../lib/schemas.js";
7
+ import * as types from "../../types/primitives.js";
8
+ import { AlertSettings$inboundSchema, } from "./alert-settings.js";
9
+ /** @internal */
10
+ export const WebhookDtoWalletAlertInfo$inboundSchema = z.pipe(z.object({
11
+ alert_settings: types.optional(AlertSettings$inboundSchema),
12
+ alert_type: types.optional(types.string()),
13
+ credit_balance: types.optional(types.number()),
14
+ current_balance: types.optional(types.number()),
15
+ state: types.optional(types.string()),
16
+ }), z.transform((v) => {
17
+ return remap$(v, {
18
+ "alert_settings": "alertSettings",
19
+ "alert_type": "alertType",
20
+ "credit_balance": "creditBalance",
21
+ "current_balance": "currentBalance",
22
+ });
23
+ }));
24
+ export function webhookDtoWalletAlertInfoFromJSON(jsonString) {
25
+ return safeParse(jsonString, (x) => WebhookDtoWalletAlertInfo$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'WebhookDtoWalletAlertInfo' from JSON`);
26
+ }
27
+ //# sourceMappingURL=webhook-dto-wallet-alert-info.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"webhook-dto-wallet-alert-info.js","sourceRoot":"","sources":["../../../src/sdk/models/webhook-dto-wallet-alert-info.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAEjD,OAAO,KAAK,KAAK,MAAM,2BAA2B,CAAC;AACnD,OAAO,EAEL,2BAA2B,GAC5B,MAAM,qBAAqB,CAAC;AAW7B,gBAAgB;AAChB,MAAM,CAAC,MAAM,uCAAuC,GAGhD,CAAC,CAAC,IAAI,CACR,CAAC,CAAC,MAAM,CAAC;IACP,cAAc,EAAE,KAAK,CAAC,QAAQ,CAAC,2BAA2B,CAAC;IAC3D,UAAU,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;IAC1C,cAAc,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;IAC9C,eAAe,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;IAC/C,KAAK,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;CACtC,CAAC,EACF,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;IACjB,OAAO,MAAM,CAAC,CAAC,EAAE;QACf,gBAAgB,EAAE,eAAe;QACjC,YAAY,EAAE,WAAW;QACzB,gBAAgB,EAAE,eAAe;QACjC,iBAAiB,EAAE,gBAAgB;KACpC,CAAC,CAAC;AAAA,CACJ,CAAC,CACH,CAAC;AAEF,MAAM,UAAU,iCAAiC,CAC/C,UAAkB,EAC8C;IAChE,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,uCAAuC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACnE,uDAAuD,CACxD,CAAC;AAAA,CACH"}
@@ -0,0 +1,19 @@
1
+ import * as z from "zod/v4-mini";
2
+ import { Result as SafeParseResult } from "../../types/fp.js";
3
+ import { DtoCustomerResponse } from "./dto-customer-response.js";
4
+ import { DtoWalletResponse } from "./dto-wallet-response.js";
5
+ import { SDKValidationError } from "./sdk-validation-error.js";
6
+ import { WebhookDtoWalletAlertInfo } from "./webhook-dto-wallet-alert-info.js";
7
+ export type WebhookDtoWalletWebhookPayload = {
8
+ alert?: WebhookDtoWalletAlertInfo | undefined;
9
+ /**
10
+ * Customer response object containing all customer information
11
+ */
12
+ customer?: DtoCustomerResponse | undefined;
13
+ eventType?: string | undefined;
14
+ wallet?: DtoWalletResponse | undefined;
15
+ };
16
+ /** @internal */
17
+ export declare const WebhookDtoWalletWebhookPayload$inboundSchema: z.ZodMiniType<WebhookDtoWalletWebhookPayload, unknown>;
18
+ export declare function webhookDtoWalletWebhookPayloadFromJSON(jsonString: string): SafeParseResult<WebhookDtoWalletWebhookPayload, SDKValidationError>;
19
+ //# sourceMappingURL=webhook-dto-wallet-webhook-payload.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"webhook-dto-wallet-webhook-payload.d.ts","sourceRoot":"","sources":["../../../src/sdk/models/webhook-dto-wallet-webhook-payload.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAGjC,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAE9D,OAAO,EACL,mBAAmB,EAEpB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,iBAAiB,EAElB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAC/D,OAAO,EACL,yBAAyB,EAE1B,MAAM,oCAAoC,CAAC;AAE5C,MAAM,MAAM,8BAA8B,GAAG;IAC3C,KAAK,CAAC,EAAE,yBAAyB,GAAG,SAAS,CAAC;IAC9C;;OAEG;IACH,QAAQ,CAAC,EAAE,mBAAmB,GAAG,SAAS,CAAC;IAC3C,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,MAAM,CAAC,EAAE,iBAAiB,GAAG,SAAS,CAAC;CACxC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,4CAA4C,EAAE,CAAC,CAAC,WAAW,CACtE,8BAA8B,EAC9B,OAAO,CAaR,CAAC;AAEF,wBAAgB,sCAAsC,CACpD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,8BAA8B,EAAE,kBAAkB,CAAC,CAMrE"}
@@ -0,0 +1,25 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+ import * as z from "zod/v4-mini";
5
+ import { remap as remap$ } from "../../lib/primitives.js";
6
+ import { safeParse } from "../../lib/schemas.js";
7
+ import * as types from "../../types/primitives.js";
8
+ import { DtoCustomerResponse$inboundSchema, } from "./dto-customer-response.js";
9
+ import { DtoWalletResponse$inboundSchema, } from "./dto-wallet-response.js";
10
+ import { WebhookDtoWalletAlertInfo$inboundSchema, } from "./webhook-dto-wallet-alert-info.js";
11
+ /** @internal */
12
+ export const WebhookDtoWalletWebhookPayload$inboundSchema = z.pipe(z.object({
13
+ alert: types.optional(WebhookDtoWalletAlertInfo$inboundSchema),
14
+ customer: types.optional(DtoCustomerResponse$inboundSchema),
15
+ event_type: types.optional(types.string()),
16
+ wallet: types.optional(DtoWalletResponse$inboundSchema),
17
+ }), z.transform((v) => {
18
+ return remap$(v, {
19
+ "event_type": "eventType",
20
+ });
21
+ }));
22
+ export function webhookDtoWalletWebhookPayloadFromJSON(jsonString) {
23
+ return safeParse(jsonString, (x) => WebhookDtoWalletWebhookPayload$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'WebhookDtoWalletWebhookPayload' from JSON`);
24
+ }
25
+ //# sourceMappingURL=webhook-dto-wallet-webhook-payload.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"webhook-dto-wallet-webhook-payload.js","sourceRoot":"","sources":["../../../src/sdk/models/webhook-dto-wallet-webhook-payload.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAEjD,OAAO,KAAK,KAAK,MAAM,2BAA2B,CAAC;AACnD,OAAO,EAEL,iCAAiC,GAClC,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAEL,+BAA+B,GAChC,MAAM,0BAA0B,CAAC;AAElC,OAAO,EAEL,uCAAuC,GACxC,MAAM,oCAAoC,CAAC;AAY5C,gBAAgB;AAChB,MAAM,CAAC,MAAM,4CAA4C,GAGrD,CAAC,CAAC,IAAI,CACR,CAAC,CAAC,MAAM,CAAC;IACP,KAAK,EAAE,KAAK,CAAC,QAAQ,CAAC,uCAAuC,CAAC;IAC9D,QAAQ,EAAE,KAAK,CAAC,QAAQ,CAAC,iCAAiC,CAAC;IAC3D,UAAU,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;IAC1C,MAAM,EAAE,KAAK,CAAC,QAAQ,CAAC,+BAA+B,CAAC;CACxD,CAAC,EACF,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;IACjB,OAAO,MAAM,CAAC,CAAC,EAAE;QACf,YAAY,EAAE,WAAW;KAC1B,CAAC,CAAC;AAAA,CACJ,CAAC,CACH,CAAC;AAEF,MAAM,UAAU,sCAAsC,CACpD,UAAkB,EACmD;IACrE,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,4CAA4C,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACxE,4DAA4D,CAC7D,CAAC;AAAA,CACH"}
@@ -1,7 +1,6 @@
1
1
  import * as z from "zod/v4-mini";
2
2
  import { OpenEnum } from "../../types/enums.js";
3
3
  export declare const WindowSize: {
4
- readonly Month: "MONTH";
5
4
  readonly Minute: "MINUTE";
6
5
  readonly FifteenMIN: "15MIN";
7
6
  readonly ThirtyMIN: "30MIN";
@@ -11,6 +10,7 @@ export declare const WindowSize: {
11
10
  readonly TwelveHOUR: "12HOUR";
12
11
  readonly Day: "DAY";
13
12
  readonly Week: "WEEK";
13
+ readonly Month: "MONTH";
14
14
  };
15
15
  export type WindowSize = OpenEnum<typeof WindowSize>;
16
16
  /** @internal */
@@ -3,7 +3,6 @@
3
3
  */
4
4
  import * as openEnums from "../../types/enums.js";
5
5
  export const WindowSize = {
6
- Month: "MONTH",
7
6
  Minute: "MINUTE",
8
7
  FifteenMIN: "15MIN",
9
8
  ThirtyMIN: "30MIN",
@@ -13,6 +12,7 @@ export const WindowSize = {
13
12
  TwelveHOUR: "12HOUR",
14
13
  Day: "DAY",
15
14
  Week: "WEEK",
15
+ Month: "MONTH",
16
16
  };
17
17
  /** @internal */
18
18
  export const WindowSize$inboundSchema = openEnums.inboundSchema(WindowSize);
@@ -1 +1 @@
1
- {"version":3,"file":"window-size.js","sourceRoot":"","sources":["../../../src/sdk/models/window-size.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,OAAO,KAAK,SAAS,MAAM,sBAAsB,CAAC;AAGlD,MAAM,CAAC,MAAM,UAAU,GAAG;IACxB,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,QAAQ;IAChB,UAAU,EAAE,OAAO;IACnB,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,MAAM;IACZ,SAAS,EAAE,OAAO;IAClB,OAAO,EAAE,OAAO;IAChB,UAAU,EAAE,QAAQ;IACpB,GAAG,EAAE,KAAK;IACV,IAAI,EAAE,MAAM;CACJ,CAAC;AAGX,gBAAgB;AAChB,MAAM,CAAC,MAAM,wBAAwB,GACnC,SAAS,CAAC,aAAa,CAAC,UAAU,CAAC,CAAC;AACtC,gBAAgB;AAChB,MAAM,CAAC,MAAM,yBAAyB,GACpC,SAAS,CAAC,cAAc,CAAC,UAAU,CAAC,CAAC"}
1
+ {"version":3,"file":"window-size.js","sourceRoot":"","sources":["../../../src/sdk/models/window-size.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,OAAO,KAAK,SAAS,MAAM,sBAAsB,CAAC;AAGlD,MAAM,CAAC,MAAM,UAAU,GAAG;IACxB,MAAM,EAAE,QAAQ;IAChB,UAAU,EAAE,OAAO;IACnB,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,MAAM;IACZ,SAAS,EAAE,OAAO;IAClB,OAAO,EAAE,OAAO;IAChB,UAAU,EAAE,QAAQ;IACpB,GAAG,EAAE,KAAK;IACV,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,OAAO;CACN,CAAC;AAGX,gBAAgB;AAChB,MAAM,CAAC,MAAM,wBAAwB,GACnC,SAAS,CAAC,aAAa,CAAC,UAAU,CAAC,CAAC;AACtC,gBAAgB;AAChB,MAAM,CAAC,MAAM,yBAAyB,GACpC,SAAS,CAAC,cAAc,CAAC,UAAU,CAAC,CAAC"}
package/esm/sdk/sdk.d.ts CHANGED
@@ -27,7 +27,7 @@ import { TaxRates } from "./tax-rates.js";
27
27
  import { Tenants } from "./tenants.js";
28
28
  import { Users } from "./users.js";
29
29
  import { Wallets } from "./wallets.js";
30
- import { Webhooks } from "./webhooks.js";
30
+ import { WebhookEvents } from "./webhook-events.js";
31
31
  import { Workflows } from "./workflows.js";
32
32
  export declare class Flexprice extends ClientSDK {
33
33
  private _addons?;
@@ -86,8 +86,8 @@ export declare class Flexprice extends ClientSDK {
86
86
  get tenants(): Tenants;
87
87
  private _users?;
88
88
  get users(): Users;
89
- private _webhooks?;
90
- get webhooks(): Webhooks;
89
+ private _webhookEvents?;
90
+ get webhookEvents(): WebhookEvents;
91
91
  private _workflows?;
92
92
  get workflows(): Workflows;
93
93
  }
@@ -1 +1 @@
1
- {"version":3,"file":"sdk.d.ts","sourceRoot":"","sources":["../../src/sdk/sdk.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAAE,yBAAyB,EAAE,MAAM,kCAAkC,CAAC;AAC7E,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACn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C,CAAgB;IACvC,IAAI,aAAa,IAAI,aAAa,CAEjC;IAED,OAAO,CAAC,MAAM,CAAC,CAAQ;IACvB,IAAI,KAAK,IAAI,KAAK,CAEjB;IAED,OAAO,CAAC,eAAe,CAAC,CAAiB;IACzC,IAAI,cAAc,IAAI,cAAc,CAEnC;IAED,OAAO,CAAC,gBAAgB,CAAC,CAAkB;IAC3C,IAAI,eAAe,IAAI,eAAe,CAErC;IAED,OAAO,CAAC,SAAS,CAAC,CAAW;IAC7B,IAAI,QAAQ,IAAI,QAAQ,CAEvB;IAED,OAAO,CAAC,QAAQ,CAAC,CAAU;IAC3B,IAAI,OAAO,IAAI,OAAO,CAErB;IAED,OAAO,CAAC,MAAM,CAAC,CAAQ;IACvB,IAAI,KAAK,IAAI,KAAK,CAEjB;IAED,OAAO,CAAC,cAAc,CAAC,CAAgB;IACvC,IAAI,aAAa,IAAI,aAAa,CAEjC;IAED,OAAO,CAAC,UAAU,CAAC,CAAY;IAC/B,IAAI,SAAS,IAAI,SAAS,CAEzB;CACF"}
package/esm/sdk/sdk.js CHANGED
@@ -30,7 +30,7 @@ import { TaxRates } from "./tax-rates.js";
30
30
  import { Tenants } from "./tenants.js";
31
31
  import { Users } from "./users.js";
32
32
  import { Wallets } from "./wallets.js";
33
- import { Webhooks } from "./webhooks.js";
33
+ import { WebhookEvents } from "./webhook-events.js";
34
34
  import { Workflows } from "./workflows.js";
35
35
  export class Flexprice extends ClientSDK {
36
36
  _addons;
@@ -145,9 +145,9 @@ export class Flexprice extends ClientSDK {
145
145
  get users() {
146
146
  return (this._users ?? (this._users = new Users(this._options)));
147
147
  }
148
- _webhooks;
149
- get webhooks() {
150
- return (this._webhooks ?? (this._webhooks = new Webhooks(this._options)));
148
+ _webhookEvents;
149
+ get webhookEvents() {
150
+ return (this._webhookEvents ?? (this._webhookEvents = new WebhookEvents(this._options)));
151
151
  }
152
152
  _workflows;
153
153
  get workflows() {
@@ -1 +1 @@
1
- {"version":3,"file":"sdk.js","source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