@flexprice/sdk 2.0.9 → 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 (671) hide show
  1. package/docs/sdk/models/cancellation-type.md +2 -2
  2. package/docs/sdk/models/create-or-update-integration-request.md +1 -1
  3. package/docs/sdk/models/dto-cancel-subscription-request.md +8 -7
  4. package/docs/sdk/models/dto-create-customer-request.md +17 -17
  5. package/docs/sdk/models/dto-create-subscription-request.md +41 -39
  6. package/docs/sdk/models/dto-customer-response.md +22 -22
  7. package/docs/sdk/models/dto-update-customer-request.md +15 -15
  8. package/docs/sdk/models/github-com-flexprice-flexprice-internal-domain-customer-customer.md +21 -21
  9. package/docs/sdk/models/payment-gateway-type.md +2 -2
  10. package/docs/sdk/models/secret-provider.md +1 -1
  11. package/docs/sdk/models/webhook-dto-alert-webhook-payload.md +32 -0
  12. package/docs/sdk/models/webhook-dto-communication-webhook-payload.md +27 -0
  13. package/docs/sdk/models/webhook-dto-credit-note-webhook-payload.md +37 -0
  14. package/docs/sdk/models/webhook-dto-customer-webhook-payload.md +16 -0
  15. package/docs/sdk/models/webhook-dto-entitlement-webhook-payload.md +48 -0
  16. package/docs/sdk/models/webhook-dto-feature-webhook-payload.md +28 -0
  17. package/docs/sdk/models/webhook-dto-invoice-webhook-payload.md +27 -0
  18. package/docs/sdk/models/webhook-dto-payment-webhook-payload.md +16 -0
  19. package/docs/sdk/models/webhook-dto-subscription-phase-webhook-payload.md +16 -0
  20. package/docs/sdk/models/webhook-dto-subscription-webhook-payload.md +25 -0
  21. package/docs/sdk/models/webhook-dto-transaction-webhook-payload.md +17 -0
  22. package/docs/sdk/models/webhook-dto-wallet-alert-info.md +19 -0
  23. package/docs/sdk/models/webhook-dto-wallet-webhook-payload.md +18 -0
  24. package/docs/sdk/models/window-size.md +2 -2
  25. package/docs/sdks/integrations/README.md +2 -2
  26. package/docs/sdks/webhookevents/README.md +2973 -0
  27. package/esm/funcs/addons-delete-addon.js.map +1 -1
  28. package/esm/funcs/addons-get-addon-by-lookup-key.js.map +1 -1
  29. package/esm/funcs/addons-get-addon.js.map +1 -1
  30. package/esm/funcs/addons-update-addon.js.map +1 -1
  31. package/esm/funcs/costs-delete-costsheet.js.map +1 -1
  32. package/esm/funcs/costs-get-costsheet.js.map +1 -1
  33. package/esm/funcs/costs-update-costsheet.js.map +1 -1
  34. package/esm/funcs/coupons-delete-coupon.js.map +1 -1
  35. package/esm/funcs/coupons-get-coupon.js.map +1 -1
  36. package/esm/funcs/coupons-update-coupon.js.map +1 -1
  37. package/esm/funcs/credit-grants-delete-credit-grant.js.map +1 -1
  38. package/esm/funcs/credit-grants-get-credit-grant.js.map +1 -1
  39. package/esm/funcs/credit-grants-get-plan-credit-grants.js.map +1 -1
  40. package/esm/funcs/credit-grants-update-credit-grant.js.map +1 -1
  41. package/esm/funcs/credit-notes-get-credit-note.js.map +1 -1
  42. package/esm/funcs/credit-notes-process-credit-note.js.map +1 -1
  43. package/esm/funcs/credit-notes-void-credit-note.js.map +1 -1
  44. package/esm/funcs/customers-delete-customer.js.map +1 -1
  45. package/esm/funcs/customers-get-customer-by-external-id.js.map +1 -1
  46. package/esm/funcs/customers-get-customer-entitlements.js.map +1 -1
  47. package/esm/funcs/customers-get-customer-upcoming-grants.js.map +1 -1
  48. package/esm/funcs/customers-get-customer.js.map +1 -1
  49. package/esm/funcs/entitlements-delete-entitlement.js.map +1 -1
  50. package/esm/funcs/entitlements-get-addon-entitlements.js.map +1 -1
  51. package/esm/funcs/entitlements-get-entitlement.js.map +1 -1
  52. package/esm/funcs/entitlements-get-plan-entitlements.js.map +1 -1
  53. package/esm/funcs/entitlements-update-entitlement.js.map +1 -1
  54. package/esm/funcs/entity-integration-mappings-delete-entity-integration-mapping.js.map +1 -1
  55. package/esm/funcs/events-get-event.js.map +1 -1
  56. package/esm/funcs/features-delete-feature.js.map +1 -1
  57. package/esm/funcs/features-update-feature.js.map +1 -1
  58. package/esm/funcs/groups-delete-group.js.map +1 -1
  59. package/esm/funcs/groups-get-group.js.map +1 -1
  60. package/esm/funcs/integrations-create-or-update-integration.js.map +1 -1
  61. package/esm/funcs/integrations-delete-integration.js.map +1 -1
  62. package/esm/funcs/integrations-get-integration.js.map +1 -1
  63. package/esm/funcs/invoices-attempt-invoice-payment.js.map +1 -1
  64. package/esm/funcs/invoices-finalize-invoice.js.map +1 -1
  65. package/esm/funcs/invoices-get-customer-invoice-summary.js.map +1 -1
  66. package/esm/funcs/invoices-get-invoice-pdf.js.map +1 -1
  67. package/esm/funcs/invoices-get-invoice.js.map +1 -1
  68. package/esm/funcs/invoices-recalculate-invoice-v2.js.map +1 -1
  69. package/esm/funcs/invoices-recalculate-invoice.js.map +1 -1
  70. package/esm/funcs/invoices-trigger-invoice-comms-webhook.js.map +1 -1
  71. package/esm/funcs/invoices-update-invoice-payment-status.js.map +1 -1
  72. package/esm/funcs/invoices-update-invoice.js.map +1 -1
  73. package/esm/funcs/invoices-void-invoice.js.map +1 -1
  74. package/esm/funcs/payments-delete-payment.js.map +1 -1
  75. package/esm/funcs/payments-get-payment.js.map +1 -1
  76. package/esm/funcs/payments-process-payment.js.map +1 -1
  77. package/esm/funcs/payments-update-payment.js.map +1 -1
  78. package/esm/funcs/plans-delete-plan.js.map +1 -1
  79. package/esm/funcs/plans-get-plan.js.map +1 -1
  80. package/esm/funcs/plans-post-plans-id-clone.js.map +1 -1
  81. package/esm/funcs/plans-sync-plan-prices.js.map +1 -1
  82. package/esm/funcs/plans-update-plan.js.map +1 -1
  83. package/esm/funcs/price-units-delete-price-unit.js.map +1 -1
  84. package/esm/funcs/price-units-get-price-unit-by-code.js.map +1 -1
  85. package/esm/funcs/price-units-get-price-unit.js.map +1 -1
  86. package/esm/funcs/price-units-update-price-unit.js.map +1 -1
  87. package/esm/funcs/prices-delete-price.js.map +1 -1
  88. package/esm/funcs/prices-get-price-by-lookup-key.js.map +1 -1
  89. package/esm/funcs/prices-get-price.js.map +1 -1
  90. package/esm/funcs/prices-update-price.js.map +1 -1
  91. package/esm/funcs/rbac-get-rbac-role.js.map +1 -1
  92. package/esm/funcs/scheduled-tasks-delete-scheduled-task.js.map +1 -1
  93. package/esm/funcs/scheduled-tasks-get-scheduled-task.js.map +1 -1
  94. package/esm/funcs/scheduled-tasks-trigger-scheduled-task-run.js.map +1 -1
  95. package/esm/funcs/scheduled-tasks-update-scheduled-task.js.map +1 -1
  96. package/esm/funcs/secrets-delete-api-key.js.map +1 -1
  97. package/esm/funcs/subscriptions-activate-subscription.js.map +1 -1
  98. package/esm/funcs/subscriptions-cancel-subscription-schedule.js.map +1 -1
  99. package/esm/funcs/subscriptions-cancel-subscription.js.map +1 -1
  100. package/esm/funcs/subscriptions-create-subscription-line-item.js.map +1 -1
  101. package/esm/funcs/subscriptions-delete-subscription-line-item.js.map +1 -1
  102. package/esm/funcs/subscriptions-execute-subscription-change.js.map +1 -1
  103. package/esm/funcs/subscriptions-get-subscription-addon-associations.js.map +1 -1
  104. package/esm/funcs/subscriptions-get-subscription-entitlements.js.map +1 -1
  105. package/esm/funcs/subscriptions-get-subscription-schedule.js.map +1 -1
  106. package/esm/funcs/subscriptions-get-subscription-upcoming-grants.js.map +1 -1
  107. package/esm/funcs/subscriptions-get-subscription-v2.js.map +1 -1
  108. package/esm/funcs/subscriptions-get-subscription.js.map +1 -1
  109. package/esm/funcs/subscriptions-list-subscription-pauses.js.map +1 -1
  110. package/esm/funcs/subscriptions-list-subscription-schedules.js.map +1 -1
  111. package/esm/funcs/subscriptions-pause-subscription.js.map +1 -1
  112. package/esm/funcs/subscriptions-preview-subscription-change.js.map +1 -1
  113. package/esm/funcs/subscriptions-resume-subscription.js.map +1 -1
  114. package/esm/funcs/subscriptions-update-subscription-line-item.js.map +1 -1
  115. package/esm/funcs/subscriptions-update-subscription.js.map +1 -1
  116. package/esm/funcs/tasks-download-task-export.js.map +1 -1
  117. package/esm/funcs/tasks-get-task.js.map +1 -1
  118. package/esm/funcs/tasks-update-task-status.js.map +1 -1
  119. package/esm/funcs/tax-associations-delete-tax-association.js.map +1 -1
  120. package/esm/funcs/tax-associations-get-tax-association.js.map +1 -1
  121. package/esm/funcs/tax-associations-update-tax-association.js.map +1 -1
  122. package/esm/funcs/tax-rates-delete-tax-rate.js.map +1 -1
  123. package/esm/funcs/tax-rates-get-tax-rate.js.map +1 -1
  124. package/esm/funcs/tax-rates-update-tax-rate.js.map +1 -1
  125. package/esm/funcs/tenants-get-tenant-by-id.js.map +1 -1
  126. package/esm/funcs/wallets-get-wallet-balance.js.map +1 -1
  127. package/esm/funcs/wallets-get-wallet-transactions.js.map +1 -1
  128. package/esm/funcs/wallets-get-wallet.js.map +1 -1
  129. package/esm/funcs/wallets-get-wallets-by-customer-id.js.map +1 -1
  130. package/esm/funcs/wallets-terminate-wallet.js.map +1 -1
  131. package/esm/funcs/wallets-top-up-wallet.js.map +1 -1
  132. package/esm/funcs/wallets-update-wallet.js.map +1 -1
  133. package/esm/funcs/webhook-events-post-webhook-events-credit-note-created.d.ts +17 -0
  134. package/esm/funcs/webhook-events-post-webhook-events-credit-note-created.d.ts.map +1 -0
  135. package/esm/funcs/{webhooks-handle-chargebee-webhook.js → webhook-events-post-webhook-events-credit-note-created.js} +10 -34
  136. package/esm/funcs/webhook-events-post-webhook-events-credit-note-created.js.map +1 -0
  137. package/esm/funcs/webhook-events-post-webhook-events-credit-note-updated.d.ts +17 -0
  138. package/esm/funcs/webhook-events-post-webhook-events-credit-note-updated.d.ts.map +1 -0
  139. package/esm/funcs/{webhooks-handle-moyasar-webhook.js → webhook-events-post-webhook-events-credit-note-updated.js} +9 -35
  140. package/esm/funcs/webhook-events-post-webhook-events-credit-note-updated.js.map +1 -0
  141. package/esm/funcs/webhook-events-post-webhook-events-customer-created.d.ts +17 -0
  142. package/esm/funcs/webhook-events-post-webhook-events-customer-created.d.ts.map +1 -0
  143. package/esm/funcs/{webhooks-handle-nomod-webhook.js → webhook-events-post-webhook-events-customer-created.js} +10 -39
  144. package/esm/funcs/webhook-events-post-webhook-events-customer-created.js.map +1 -0
  145. package/esm/funcs/webhook-events-post-webhook-events-customer-deleted.d.ts +17 -0
  146. package/esm/funcs/webhook-events-post-webhook-events-customer-deleted.d.ts.map +1 -0
  147. package/esm/funcs/{webhooks-handle-razorpay-webhook.js → webhook-events-post-webhook-events-customer-deleted.js} +9 -35
  148. package/esm/funcs/webhook-events-post-webhook-events-customer-deleted.js.map +1 -0
  149. package/esm/funcs/webhook-events-post-webhook-events-customer-updated.d.ts +17 -0
  150. package/esm/funcs/webhook-events-post-webhook-events-customer-updated.d.ts.map +1 -0
  151. package/esm/funcs/webhook-events-post-webhook-events-customer-updated.js +68 -0
  152. package/esm/funcs/webhook-events-post-webhook-events-customer-updated.js.map +1 -0
  153. package/esm/funcs/webhook-events-post-webhook-events-entitlement-created.d.ts +17 -0
  154. package/esm/funcs/webhook-events-post-webhook-events-entitlement-created.d.ts.map +1 -0
  155. package/esm/funcs/webhook-events-post-webhook-events-entitlement-created.js +68 -0
  156. package/esm/funcs/webhook-events-post-webhook-events-entitlement-created.js.map +1 -0
  157. package/esm/funcs/webhook-events-post-webhook-events-entitlement-deleted.d.ts +17 -0
  158. package/esm/funcs/webhook-events-post-webhook-events-entitlement-deleted.d.ts.map +1 -0
  159. package/esm/funcs/webhook-events-post-webhook-events-entitlement-deleted.js +68 -0
  160. package/esm/funcs/webhook-events-post-webhook-events-entitlement-deleted.js.map +1 -0
  161. package/esm/funcs/webhook-events-post-webhook-events-entitlement-updated.d.ts +17 -0
  162. package/esm/funcs/webhook-events-post-webhook-events-entitlement-updated.d.ts.map +1 -0
  163. package/esm/funcs/webhook-events-post-webhook-events-entitlement-updated.js +68 -0
  164. package/esm/funcs/webhook-events-post-webhook-events-entitlement-updated.js.map +1 -0
  165. package/esm/funcs/webhook-events-post-webhook-events-feature-created.d.ts +17 -0
  166. package/esm/funcs/webhook-events-post-webhook-events-feature-created.d.ts.map +1 -0
  167. package/esm/funcs/webhook-events-post-webhook-events-feature-created.js +68 -0
  168. package/esm/funcs/webhook-events-post-webhook-events-feature-created.js.map +1 -0
  169. package/esm/funcs/webhook-events-post-webhook-events-feature-deleted.d.ts +17 -0
  170. package/esm/funcs/webhook-events-post-webhook-events-feature-deleted.d.ts.map +1 -0
  171. package/esm/funcs/webhook-events-post-webhook-events-feature-deleted.js +68 -0
  172. package/esm/funcs/webhook-events-post-webhook-events-feature-deleted.js.map +1 -0
  173. package/esm/funcs/webhook-events-post-webhook-events-feature-updated.d.ts +17 -0
  174. package/esm/funcs/webhook-events-post-webhook-events-feature-updated.d.ts.map +1 -0
  175. package/esm/funcs/webhook-events-post-webhook-events-feature-updated.js +68 -0
  176. package/esm/funcs/webhook-events-post-webhook-events-feature-updated.js.map +1 -0
  177. package/esm/funcs/webhook-events-post-webhook-events-feature-wallet-balance-alert.d.ts +17 -0
  178. package/esm/funcs/webhook-events-post-webhook-events-feature-wallet-balance-alert.d.ts.map +1 -0
  179. package/esm/funcs/webhook-events-post-webhook-events-feature-wallet-balance-alert.js +68 -0
  180. package/esm/funcs/webhook-events-post-webhook-events-feature-wallet-balance-alert.js.map +1 -0
  181. package/esm/funcs/webhook-events-post-webhook-events-invoice-communication-triggered.d.ts +17 -0
  182. package/esm/funcs/webhook-events-post-webhook-events-invoice-communication-triggered.d.ts.map +1 -0
  183. package/esm/funcs/webhook-events-post-webhook-events-invoice-communication-triggered.js +68 -0
  184. package/esm/funcs/webhook-events-post-webhook-events-invoice-communication-triggered.js.map +1 -0
  185. package/esm/funcs/webhook-events-post-webhook-events-invoice-create-drafted.d.ts +17 -0
  186. package/esm/funcs/webhook-events-post-webhook-events-invoice-create-drafted.d.ts.map +1 -0
  187. package/esm/funcs/webhook-events-post-webhook-events-invoice-create-drafted.js +68 -0
  188. package/esm/funcs/webhook-events-post-webhook-events-invoice-create-drafted.js.map +1 -0
  189. package/esm/funcs/webhook-events-post-webhook-events-invoice-payment-overdue.d.ts +17 -0
  190. package/esm/funcs/webhook-events-post-webhook-events-invoice-payment-overdue.d.ts.map +1 -0
  191. package/esm/funcs/webhook-events-post-webhook-events-invoice-payment-overdue.js +68 -0
  192. package/esm/funcs/webhook-events-post-webhook-events-invoice-payment-overdue.js.map +1 -0
  193. package/esm/funcs/webhook-events-post-webhook-events-invoice-update-finalized.d.ts +17 -0
  194. package/esm/funcs/webhook-events-post-webhook-events-invoice-update-finalized.d.ts.map +1 -0
  195. package/esm/funcs/webhook-events-post-webhook-events-invoice-update-finalized.js +68 -0
  196. package/esm/funcs/webhook-events-post-webhook-events-invoice-update-finalized.js.map +1 -0
  197. package/esm/funcs/webhook-events-post-webhook-events-invoice-update-payment.d.ts +17 -0
  198. package/esm/funcs/webhook-events-post-webhook-events-invoice-update-payment.d.ts.map +1 -0
  199. package/esm/funcs/webhook-events-post-webhook-events-invoice-update-payment.js +68 -0
  200. package/esm/funcs/webhook-events-post-webhook-events-invoice-update-payment.js.map +1 -0
  201. package/esm/funcs/webhook-events-post-webhook-events-invoice-update-voided.d.ts +17 -0
  202. package/esm/funcs/webhook-events-post-webhook-events-invoice-update-voided.d.ts.map +1 -0
  203. package/esm/funcs/webhook-events-post-webhook-events-invoice-update-voided.js +68 -0
  204. package/esm/funcs/webhook-events-post-webhook-events-invoice-update-voided.js.map +1 -0
  205. package/esm/funcs/webhook-events-post-webhook-events-invoice-update.d.ts +17 -0
  206. package/esm/funcs/webhook-events-post-webhook-events-invoice-update.d.ts.map +1 -0
  207. package/esm/funcs/webhook-events-post-webhook-events-invoice-update.js +68 -0
  208. package/esm/funcs/webhook-events-post-webhook-events-invoice-update.js.map +1 -0
  209. package/esm/funcs/webhook-events-post-webhook-events-payment-created.d.ts +17 -0
  210. package/esm/funcs/webhook-events-post-webhook-events-payment-created.d.ts.map +1 -0
  211. package/esm/funcs/webhook-events-post-webhook-events-payment-created.js +68 -0
  212. package/esm/funcs/webhook-events-post-webhook-events-payment-created.js.map +1 -0
  213. package/esm/funcs/webhook-events-post-webhook-events-payment-failed.d.ts +17 -0
  214. package/esm/funcs/webhook-events-post-webhook-events-payment-failed.d.ts.map +1 -0
  215. package/esm/funcs/webhook-events-post-webhook-events-payment-failed.js +68 -0
  216. package/esm/funcs/webhook-events-post-webhook-events-payment-failed.js.map +1 -0
  217. package/esm/funcs/webhook-events-post-webhook-events-payment-pending.d.ts +17 -0
  218. package/esm/funcs/webhook-events-post-webhook-events-payment-pending.d.ts.map +1 -0
  219. package/esm/funcs/webhook-events-post-webhook-events-payment-pending.js +68 -0
  220. package/esm/funcs/webhook-events-post-webhook-events-payment-pending.js.map +1 -0
  221. package/esm/funcs/webhook-events-post-webhook-events-payment-success.d.ts +17 -0
  222. package/esm/funcs/webhook-events-post-webhook-events-payment-success.d.ts.map +1 -0
  223. package/esm/funcs/webhook-events-post-webhook-events-payment-success.js +68 -0
  224. package/esm/funcs/webhook-events-post-webhook-events-payment-success.js.map +1 -0
  225. package/esm/funcs/webhook-events-post-webhook-events-payment-updated.d.ts +17 -0
  226. package/esm/funcs/webhook-events-post-webhook-events-payment-updated.d.ts.map +1 -0
  227. package/esm/funcs/webhook-events-post-webhook-events-payment-updated.js +68 -0
  228. package/esm/funcs/webhook-events-post-webhook-events-payment-updated.js.map +1 -0
  229. package/esm/funcs/webhook-events-post-webhook-events-subscription-activated.d.ts +17 -0
  230. package/esm/funcs/webhook-events-post-webhook-events-subscription-activated.d.ts.map +1 -0
  231. package/esm/funcs/webhook-events-post-webhook-events-subscription-activated.js +68 -0
  232. package/esm/funcs/webhook-events-post-webhook-events-subscription-activated.js.map +1 -0
  233. package/esm/funcs/webhook-events-post-webhook-events-subscription-cancelled.d.ts +17 -0
  234. package/esm/funcs/webhook-events-post-webhook-events-subscription-cancelled.d.ts.map +1 -0
  235. package/esm/funcs/webhook-events-post-webhook-events-subscription-cancelled.js +68 -0
  236. package/esm/funcs/webhook-events-post-webhook-events-subscription-cancelled.js.map +1 -0
  237. package/esm/funcs/webhook-events-post-webhook-events-subscription-created.d.ts +17 -0
  238. package/esm/funcs/webhook-events-post-webhook-events-subscription-created.d.ts.map +1 -0
  239. package/esm/funcs/webhook-events-post-webhook-events-subscription-created.js +68 -0
  240. package/esm/funcs/webhook-events-post-webhook-events-subscription-created.js.map +1 -0
  241. package/esm/funcs/webhook-events-post-webhook-events-subscription-draft-created.d.ts +17 -0
  242. package/esm/funcs/webhook-events-post-webhook-events-subscription-draft-created.d.ts.map +1 -0
  243. package/esm/funcs/webhook-events-post-webhook-events-subscription-draft-created.js +68 -0
  244. package/esm/funcs/webhook-events-post-webhook-events-subscription-draft-created.js.map +1 -0
  245. package/esm/funcs/webhook-events-post-webhook-events-subscription-paused.d.ts +17 -0
  246. package/esm/funcs/webhook-events-post-webhook-events-subscription-paused.d.ts.map +1 -0
  247. package/esm/funcs/webhook-events-post-webhook-events-subscription-paused.js +68 -0
  248. package/esm/funcs/webhook-events-post-webhook-events-subscription-paused.js.map +1 -0
  249. package/esm/funcs/webhook-events-post-webhook-events-subscription-phase-created.d.ts +17 -0
  250. package/esm/funcs/webhook-events-post-webhook-events-subscription-phase-created.d.ts.map +1 -0
  251. package/esm/funcs/webhook-events-post-webhook-events-subscription-phase-created.js +68 -0
  252. package/esm/funcs/webhook-events-post-webhook-events-subscription-phase-created.js.map +1 -0
  253. package/esm/funcs/webhook-events-post-webhook-events-subscription-phase-deleted.d.ts +17 -0
  254. package/esm/funcs/webhook-events-post-webhook-events-subscription-phase-deleted.d.ts.map +1 -0
  255. package/esm/funcs/webhook-events-post-webhook-events-subscription-phase-deleted.js +68 -0
  256. package/esm/funcs/webhook-events-post-webhook-events-subscription-phase-deleted.js.map +1 -0
  257. package/esm/funcs/webhook-events-post-webhook-events-subscription-phase-updated.d.ts +17 -0
  258. package/esm/funcs/webhook-events-post-webhook-events-subscription-phase-updated.d.ts.map +1 -0
  259. package/esm/funcs/webhook-events-post-webhook-events-subscription-phase-updated.js +68 -0
  260. package/esm/funcs/webhook-events-post-webhook-events-subscription-phase-updated.js.map +1 -0
  261. package/esm/funcs/webhook-events-post-webhook-events-subscription-renewal-due.d.ts +17 -0
  262. package/esm/funcs/webhook-events-post-webhook-events-subscription-renewal-due.d.ts.map +1 -0
  263. package/esm/funcs/webhook-events-post-webhook-events-subscription-renewal-due.js +68 -0
  264. package/esm/funcs/webhook-events-post-webhook-events-subscription-renewal-due.js.map +1 -0
  265. package/esm/funcs/webhook-events-post-webhook-events-subscription-resumed.d.ts +17 -0
  266. package/esm/funcs/webhook-events-post-webhook-events-subscription-resumed.d.ts.map +1 -0
  267. package/esm/funcs/webhook-events-post-webhook-events-subscription-resumed.js +68 -0
  268. package/esm/funcs/webhook-events-post-webhook-events-subscription-resumed.js.map +1 -0
  269. package/esm/funcs/webhook-events-post-webhook-events-subscription-updated.d.ts +17 -0
  270. package/esm/funcs/webhook-events-post-webhook-events-subscription-updated.d.ts.map +1 -0
  271. package/esm/funcs/webhook-events-post-webhook-events-subscription-updated.js +68 -0
  272. package/esm/funcs/webhook-events-post-webhook-events-subscription-updated.js.map +1 -0
  273. package/esm/funcs/webhook-events-post-webhook-events-wallet-created.d.ts +17 -0
  274. package/esm/funcs/webhook-events-post-webhook-events-wallet-created.d.ts.map +1 -0
  275. package/esm/funcs/webhook-events-post-webhook-events-wallet-created.js +68 -0
  276. package/esm/funcs/webhook-events-post-webhook-events-wallet-created.js.map +1 -0
  277. package/esm/funcs/webhook-events-post-webhook-events-wallet-credit-balance-dropped.d.ts +17 -0
  278. package/esm/funcs/webhook-events-post-webhook-events-wallet-credit-balance-dropped.d.ts.map +1 -0
  279. package/esm/funcs/webhook-events-post-webhook-events-wallet-credit-balance-dropped.js +68 -0
  280. package/esm/funcs/webhook-events-post-webhook-events-wallet-credit-balance-dropped.js.map +1 -0
  281. package/esm/funcs/webhook-events-post-webhook-events-wallet-credit-balance-recovered.d.ts +17 -0
  282. package/esm/funcs/webhook-events-post-webhook-events-wallet-credit-balance-recovered.d.ts.map +1 -0
  283. package/esm/funcs/webhook-events-post-webhook-events-wallet-credit-balance-recovered.js +68 -0
  284. package/esm/funcs/webhook-events-post-webhook-events-wallet-credit-balance-recovered.js.map +1 -0
  285. package/esm/funcs/webhook-events-post-webhook-events-wallet-ongoing-balance-dropped.d.ts +17 -0
  286. package/esm/funcs/webhook-events-post-webhook-events-wallet-ongoing-balance-dropped.d.ts.map +1 -0
  287. package/esm/funcs/webhook-events-post-webhook-events-wallet-ongoing-balance-dropped.js +68 -0
  288. package/esm/funcs/webhook-events-post-webhook-events-wallet-ongoing-balance-dropped.js.map +1 -0
  289. package/esm/funcs/webhook-events-post-webhook-events-wallet-ongoing-balance-recovered.d.ts +17 -0
  290. package/esm/funcs/webhook-events-post-webhook-events-wallet-ongoing-balance-recovered.d.ts.map +1 -0
  291. package/esm/funcs/webhook-events-post-webhook-events-wallet-ongoing-balance-recovered.js +68 -0
  292. package/esm/funcs/webhook-events-post-webhook-events-wallet-ongoing-balance-recovered.js.map +1 -0
  293. package/esm/funcs/webhook-events-post-webhook-events-wallet-terminated.d.ts +17 -0
  294. package/esm/funcs/webhook-events-post-webhook-events-wallet-terminated.d.ts.map +1 -0
  295. package/esm/funcs/webhook-events-post-webhook-events-wallet-terminated.js +68 -0
  296. package/esm/funcs/webhook-events-post-webhook-events-wallet-terminated.js.map +1 -0
  297. package/esm/funcs/webhook-events-post-webhook-events-wallet-transaction-created.d.ts +17 -0
  298. package/esm/funcs/webhook-events-post-webhook-events-wallet-transaction-created.d.ts.map +1 -0
  299. package/esm/funcs/webhook-events-post-webhook-events-wallet-transaction-created.js +68 -0
  300. package/esm/funcs/webhook-events-post-webhook-events-wallet-transaction-created.js.map +1 -0
  301. package/esm/funcs/webhook-events-post-webhook-events-wallet-updated.d.ts +17 -0
  302. package/esm/funcs/webhook-events-post-webhook-events-wallet-updated.d.ts.map +1 -0
  303. package/esm/funcs/webhook-events-post-webhook-events-wallet-updated.js +68 -0
  304. package/esm/funcs/webhook-events-post-webhook-events-wallet-updated.js.map +1 -0
  305. package/esm/lib/config.d.ts +3 -3
  306. package/esm/lib/config.js +3 -3
  307. package/esm/lib/config.js.map +1 -1
  308. package/esm/lib/encodings.d.ts.map +1 -1
  309. package/esm/lib/encodings.js +20 -5
  310. package/esm/lib/encodings.js.map +1 -1
  311. package/esm/lib/sdks.d.ts.map +1 -1
  312. package/esm/lib/sdks.js +8 -4
  313. package/esm/lib/sdks.js.map +1 -1
  314. package/esm/lib/url.d.ts.map +1 -1
  315. package/esm/lib/url.js +4 -2
  316. package/esm/lib/url.js.map +1 -1
  317. package/esm/sdk/models/cancellation-type.d.ts +1 -0
  318. package/esm/sdk/models/cancellation-type.d.ts.map +1 -1
  319. package/esm/sdk/models/cancellation-type.js +1 -0
  320. package/esm/sdk/models/cancellation-type.js.map +1 -1
  321. package/esm/sdk/models/dto-cancel-subscription-request.d.ts +8 -0
  322. package/esm/sdk/models/dto-cancel-subscription-request.d.ts.map +1 -1
  323. package/esm/sdk/models/dto-cancel-subscription-request.js +2 -0
  324. package/esm/sdk/models/dto-cancel-subscription-request.js.map +1 -1
  325. package/esm/sdk/models/dto-create-customer-request.d.ts +8 -3
  326. package/esm/sdk/models/dto-create-customer-request.d.ts.map +1 -1
  327. package/esm/sdk/models/dto-create-customer-request.js.map +1 -1
  328. package/esm/sdk/models/dto-create-subscription-request.d.ts +18 -0
  329. package/esm/sdk/models/dto-create-subscription-request.d.ts.map +1 -1
  330. package/esm/sdk/models/dto-create-subscription-request.js +4 -0
  331. package/esm/sdk/models/dto-create-subscription-request.js.map +1 -1
  332. package/esm/sdk/models/dto-customer-response.d.ts +5 -1
  333. package/esm/sdk/models/dto-customer-response.d.ts.map +1 -1
  334. package/esm/sdk/models/dto-customer-response.js.map +1 -1
  335. package/esm/sdk/models/dto-update-customer-request.d.ts +9 -4
  336. package/esm/sdk/models/dto-update-customer-request.d.ts.map +1 -1
  337. package/esm/sdk/models/dto-update-customer-request.js.map +1 -1
  338. package/esm/sdk/models/github-com-flexprice-flexprice-internal-domain-customer-customer.d.ts +5 -1
  339. package/esm/sdk/models/github-com-flexprice-flexprice-internal-domain-customer-customer.d.ts.map +1 -1
  340. package/esm/sdk/models/github-com-flexprice-flexprice-internal-domain-customer-customer.js.map +1 -1
  341. package/esm/sdk/models/index.d.ts +13 -7
  342. package/esm/sdk/models/index.d.ts.map +1 -1
  343. package/esm/sdk/models/index.js +13 -7
  344. package/esm/sdk/models/index.js.map +1 -1
  345. package/esm/sdk/models/payment-gateway-type.d.ts +1 -0
  346. package/esm/sdk/models/payment-gateway-type.d.ts.map +1 -1
  347. package/esm/sdk/models/payment-gateway-type.js +1 -0
  348. package/esm/sdk/models/payment-gateway-type.js.map +1 -1
  349. package/esm/sdk/models/secret-provider.d.ts +1 -0
  350. package/esm/sdk/models/secret-provider.d.ts.map +1 -1
  351. package/esm/sdk/models/secret-provider.js +1 -0
  352. package/esm/sdk/models/secret-provider.js.map +1 -1
  353. package/esm/sdk/models/webhook-dto-alert-webhook-payload.d.ts +21 -0
  354. package/esm/sdk/models/webhook-dto-alert-webhook-payload.d.ts.map +1 -0
  355. package/esm/sdk/models/webhook-dto-alert-webhook-payload.js +29 -0
  356. package/esm/sdk/models/webhook-dto-alert-webhook-payload.js.map +1 -0
  357. package/esm/sdk/models/webhook-dto-communication-webhook-payload.d.ts +12 -0
  358. package/esm/sdk/models/webhook-dto-communication-webhook-payload.d.ts.map +1 -0
  359. package/esm/sdk/models/webhook-dto-communication-webhook-payload.js +21 -0
  360. package/esm/sdk/models/webhook-dto-communication-webhook-payload.js.map +1 -0
  361. package/esm/sdk/models/webhook-dto-credit-note-webhook-payload.d.ts +12 -0
  362. package/esm/sdk/models/webhook-dto-credit-note-webhook-payload.d.ts.map +1 -0
  363. package/esm/sdk/models/webhook-dto-credit-note-webhook-payload.js +22 -0
  364. package/esm/sdk/models/webhook-dto-credit-note-webhook-payload.js.map +1 -0
  365. package/esm/sdk/models/webhook-dto-customer-webhook-payload.d.ts +15 -0
  366. package/esm/sdk/models/webhook-dto-customer-webhook-payload.d.ts.map +1 -0
  367. package/esm/sdk/models/webhook-dto-customer-webhook-payload.js +21 -0
  368. package/esm/sdk/models/webhook-dto-customer-webhook-payload.js.map +1 -0
  369. package/esm/sdk/models/webhook-dto-entitlement-webhook-payload.d.ts +12 -0
  370. package/esm/sdk/models/webhook-dto-entitlement-webhook-payload.d.ts.map +1 -0
  371. package/esm/sdk/models/webhook-dto-entitlement-webhook-payload.js +21 -0
  372. package/esm/sdk/models/webhook-dto-entitlement-webhook-payload.js.map +1 -0
  373. package/esm/sdk/models/webhook-dto-feature-webhook-payload.d.ts +12 -0
  374. package/esm/sdk/models/webhook-dto-feature-webhook-payload.d.ts.map +1 -0
  375. package/esm/sdk/models/webhook-dto-feature-webhook-payload.js +21 -0
  376. package/esm/sdk/models/webhook-dto-feature-webhook-payload.js.map +1 -0
  377. package/esm/sdk/models/webhook-dto-invoice-webhook-payload.d.ts +12 -0
  378. package/esm/sdk/models/webhook-dto-invoice-webhook-payload.d.ts.map +1 -0
  379. package/esm/sdk/models/webhook-dto-invoice-webhook-payload.js +21 -0
  380. package/esm/sdk/models/webhook-dto-invoice-webhook-payload.js.map +1 -0
  381. package/esm/sdk/models/webhook-dto-payment-webhook-payload.d.ts +12 -0
  382. package/esm/sdk/models/webhook-dto-payment-webhook-payload.d.ts.map +1 -0
  383. package/esm/sdk/models/webhook-dto-payment-webhook-payload.js +21 -0
  384. package/esm/sdk/models/webhook-dto-payment-webhook-payload.js.map +1 -0
  385. package/esm/sdk/models/webhook-dto-subscription-phase-webhook-payload.d.ts +12 -0
  386. package/esm/sdk/models/webhook-dto-subscription-phase-webhook-payload.d.ts.map +1 -0
  387. package/esm/sdk/models/webhook-dto-subscription-phase-webhook-payload.js +21 -0
  388. package/esm/sdk/models/webhook-dto-subscription-phase-webhook-payload.js.map +1 -0
  389. package/esm/sdk/models/webhook-dto-subscription-webhook-payload.d.ts +12 -0
  390. package/esm/sdk/models/webhook-dto-subscription-webhook-payload.d.ts.map +1 -0
  391. package/esm/sdk/models/webhook-dto-subscription-webhook-payload.js +21 -0
  392. package/esm/sdk/models/webhook-dto-subscription-webhook-payload.js.map +1 -0
  393. package/esm/sdk/models/webhook-dto-transaction-webhook-payload.d.ts +14 -0
  394. package/esm/sdk/models/webhook-dto-transaction-webhook-payload.d.ts.map +1 -0
  395. package/esm/sdk/models/webhook-dto-transaction-webhook-payload.js +23 -0
  396. package/esm/sdk/models/webhook-dto-transaction-webhook-payload.js.map +1 -0
  397. package/esm/sdk/models/webhook-dto-wallet-alert-info.d.ts +15 -0
  398. package/esm/sdk/models/webhook-dto-wallet-alert-info.d.ts.map +1 -0
  399. package/esm/sdk/models/webhook-dto-wallet-alert-info.js +27 -0
  400. package/esm/sdk/models/webhook-dto-wallet-alert-info.js.map +1 -0
  401. package/esm/sdk/models/webhook-dto-wallet-webhook-payload.d.ts +19 -0
  402. package/esm/sdk/models/webhook-dto-wallet-webhook-payload.d.ts.map +1 -0
  403. package/esm/sdk/models/webhook-dto-wallet-webhook-payload.js +25 -0
  404. package/esm/sdk/models/webhook-dto-wallet-webhook-payload.js.map +1 -0
  405. package/esm/sdk/models/window-size.d.ts +1 -1
  406. package/esm/sdk/models/window-size.js +1 -1
  407. package/esm/sdk/models/window-size.js.map +1 -1
  408. package/esm/sdk/sdk.d.ts +3 -3
  409. package/esm/sdk/sdk.d.ts.map +1 -1
  410. package/esm/sdk/sdk.js +4 -4
  411. package/esm/sdk/sdk.js.map +1 -1
  412. package/esm/sdk/webhook-events.d.ts +306 -0
  413. package/esm/sdk/webhook-events.d.ts.map +1 -0
  414. package/esm/sdk/webhook-events.js +438 -0
  415. package/esm/sdk/webhook-events.js.map +1 -0
  416. package/jsr.json +1 -1
  417. package/package.json +1 -1
  418. package/src/funcs/addons-delete-addon.ts +0 -1
  419. package/src/funcs/addons-get-addon-by-lookup-key.ts +0 -1
  420. package/src/funcs/addons-get-addon.ts +0 -1
  421. package/src/funcs/addons-update-addon.ts +0 -1
  422. package/src/funcs/costs-delete-costsheet.ts +0 -1
  423. package/src/funcs/costs-get-costsheet.ts +0 -1
  424. package/src/funcs/costs-update-costsheet.ts +0 -1
  425. package/src/funcs/coupons-delete-coupon.ts +0 -1
  426. package/src/funcs/coupons-get-coupon.ts +0 -1
  427. package/src/funcs/coupons-update-coupon.ts +0 -1
  428. package/src/funcs/credit-grants-delete-credit-grant.ts +0 -1
  429. package/src/funcs/credit-grants-get-credit-grant.ts +0 -1
  430. package/src/funcs/credit-grants-get-plan-credit-grants.ts +0 -1
  431. package/src/funcs/credit-grants-update-credit-grant.ts +0 -1
  432. package/src/funcs/credit-notes-get-credit-note.ts +0 -1
  433. package/src/funcs/credit-notes-process-credit-note.ts +0 -1
  434. package/src/funcs/credit-notes-void-credit-note.ts +0 -1
  435. package/src/funcs/customers-delete-customer.ts +0 -1
  436. package/src/funcs/customers-get-customer-by-external-id.ts +0 -1
  437. package/src/funcs/customers-get-customer-entitlements.ts +0 -1
  438. package/src/funcs/customers-get-customer-upcoming-grants.ts +0 -1
  439. package/src/funcs/customers-get-customer.ts +0 -1
  440. package/src/funcs/entitlements-delete-entitlement.ts +0 -1
  441. package/src/funcs/entitlements-get-addon-entitlements.ts +0 -1
  442. package/src/funcs/entitlements-get-entitlement.ts +0 -1
  443. package/src/funcs/entitlements-get-plan-entitlements.ts +0 -1
  444. package/src/funcs/entitlements-update-entitlement.ts +0 -1
  445. package/src/funcs/entity-integration-mappings-delete-entity-integration-mapping.ts +0 -1
  446. package/src/funcs/events-get-event.ts +0 -1
  447. package/src/funcs/features-delete-feature.ts +0 -1
  448. package/src/funcs/features-update-feature.ts +0 -1
  449. package/src/funcs/groups-delete-group.ts +0 -1
  450. package/src/funcs/groups-get-group.ts +0 -1
  451. package/src/funcs/integrations-create-or-update-integration.ts +0 -1
  452. package/src/funcs/integrations-delete-integration.ts +0 -1
  453. package/src/funcs/integrations-get-integration.ts +0 -1
  454. package/src/funcs/invoices-attempt-invoice-payment.ts +0 -1
  455. package/src/funcs/invoices-finalize-invoice.ts +0 -1
  456. package/src/funcs/invoices-get-customer-invoice-summary.ts +0 -1
  457. package/src/funcs/invoices-get-invoice-pdf.ts +0 -1
  458. package/src/funcs/invoices-get-invoice.ts +0 -1
  459. package/src/funcs/invoices-recalculate-invoice-v2.ts +0 -1
  460. package/src/funcs/invoices-recalculate-invoice.ts +0 -1
  461. package/src/funcs/invoices-trigger-invoice-comms-webhook.ts +0 -1
  462. package/src/funcs/invoices-update-invoice-payment-status.ts +0 -1
  463. package/src/funcs/invoices-update-invoice.ts +0 -1
  464. package/src/funcs/invoices-void-invoice.ts +0 -1
  465. package/src/funcs/payments-delete-payment.ts +0 -1
  466. package/src/funcs/payments-get-payment.ts +0 -1
  467. package/src/funcs/payments-process-payment.ts +0 -1
  468. package/src/funcs/payments-update-payment.ts +0 -1
  469. package/src/funcs/plans-delete-plan.ts +0 -1
  470. package/src/funcs/plans-get-plan.ts +0 -1
  471. package/src/funcs/plans-post-plans-id-clone.ts +0 -1
  472. package/src/funcs/plans-sync-plan-prices.ts +0 -1
  473. package/src/funcs/plans-update-plan.ts +0 -1
  474. package/src/funcs/price-units-delete-price-unit.ts +0 -1
  475. package/src/funcs/price-units-get-price-unit-by-code.ts +0 -1
  476. package/src/funcs/price-units-get-price-unit.ts +0 -1
  477. package/src/funcs/price-units-update-price-unit.ts +0 -1
  478. package/src/funcs/prices-delete-price.ts +0 -1
  479. package/src/funcs/prices-get-price-by-lookup-key.ts +0 -1
  480. package/src/funcs/prices-get-price.ts +0 -1
  481. package/src/funcs/prices-update-price.ts +0 -1
  482. package/src/funcs/rbac-get-rbac-role.ts +0 -1
  483. package/src/funcs/scheduled-tasks-delete-scheduled-task.ts +0 -1
  484. package/src/funcs/scheduled-tasks-get-scheduled-task.ts +0 -1
  485. package/src/funcs/scheduled-tasks-trigger-scheduled-task-run.ts +0 -1
  486. package/src/funcs/scheduled-tasks-update-scheduled-task.ts +0 -1
  487. package/src/funcs/secrets-delete-api-key.ts +0 -1
  488. package/src/funcs/subscriptions-activate-subscription.ts +0 -1
  489. package/src/funcs/subscriptions-cancel-subscription-schedule.ts +0 -1
  490. package/src/funcs/subscriptions-cancel-subscription.ts +0 -1
  491. package/src/funcs/subscriptions-create-subscription-line-item.ts +0 -1
  492. package/src/funcs/subscriptions-delete-subscription-line-item.ts +0 -1
  493. package/src/funcs/subscriptions-execute-subscription-change.ts +0 -1
  494. package/src/funcs/subscriptions-get-subscription-addon-associations.ts +0 -1
  495. package/src/funcs/subscriptions-get-subscription-entitlements.ts +0 -1
  496. package/src/funcs/subscriptions-get-subscription-schedule.ts +0 -1
  497. package/src/funcs/subscriptions-get-subscription-upcoming-grants.ts +0 -1
  498. package/src/funcs/subscriptions-get-subscription-v2.ts +0 -1
  499. package/src/funcs/subscriptions-get-subscription.ts +0 -1
  500. package/src/funcs/subscriptions-list-subscription-pauses.ts +0 -1
  501. package/src/funcs/subscriptions-list-subscription-schedules.ts +0 -1
  502. package/src/funcs/subscriptions-pause-subscription.ts +0 -1
  503. package/src/funcs/subscriptions-preview-subscription-change.ts +0 -1
  504. package/src/funcs/subscriptions-resume-subscription.ts +0 -1
  505. package/src/funcs/subscriptions-update-subscription-line-item.ts +0 -1
  506. package/src/funcs/subscriptions-update-subscription.ts +0 -1
  507. package/src/funcs/tasks-download-task-export.ts +0 -1
  508. package/src/funcs/tasks-get-task.ts +0 -1
  509. package/src/funcs/tasks-update-task-status.ts +0 -1
  510. package/src/funcs/tax-associations-delete-tax-association.ts +0 -1
  511. package/src/funcs/tax-associations-get-tax-association.ts +0 -1
  512. package/src/funcs/tax-associations-update-tax-association.ts +0 -1
  513. package/src/funcs/tax-rates-delete-tax-rate.ts +0 -1
  514. package/src/funcs/tax-rates-get-tax-rate.ts +0 -1
  515. package/src/funcs/tax-rates-update-tax-rate.ts +0 -1
  516. package/src/funcs/tenants-get-tenant-by-id.ts +0 -1
  517. package/src/funcs/wallets-get-wallet-balance.ts +0 -1
  518. package/src/funcs/wallets-get-wallet-transactions.ts +0 -1
  519. package/src/funcs/wallets-get-wallet.ts +0 -1
  520. package/src/funcs/wallets-get-wallets-by-customer-id.ts +0 -1
  521. package/src/funcs/wallets-terminate-wallet.ts +0 -1
  522. package/src/funcs/wallets-top-up-wallet.ts +0 -1
  523. package/src/funcs/wallets-update-wallet.ts +0 -1
  524. package/src/funcs/{webhooks-handle-chargebee-webhook.ts → webhook-events-post-webhook-events-credit-note-created.ts} +12 -52
  525. package/src/funcs/{webhooks-handle-nomod-webhook.ts → webhook-events-post-webhook-events-credit-note-updated.ts} +11 -58
  526. package/src/funcs/{webhooks-handle-moyasar-webhook.ts → webhook-events-post-webhook-events-customer-created.ts} +9 -58
  527. package/src/funcs/{webhooks-handle-razorpay-webhook.ts → webhook-events-post-webhook-events-customer-deleted.ts} +9 -58
  528. package/src/funcs/webhook-events-post-webhook-events-customer-updated.ts +142 -0
  529. package/src/funcs/webhook-events-post-webhook-events-entitlement-created.ts +142 -0
  530. package/src/funcs/webhook-events-post-webhook-events-entitlement-deleted.ts +142 -0
  531. package/src/funcs/webhook-events-post-webhook-events-entitlement-updated.ts +142 -0
  532. package/src/funcs/webhook-events-post-webhook-events-feature-created.ts +142 -0
  533. package/src/funcs/webhook-events-post-webhook-events-feature-deleted.ts +142 -0
  534. package/src/funcs/webhook-events-post-webhook-events-feature-updated.ts +142 -0
  535. package/src/funcs/webhook-events-post-webhook-events-feature-wallet-balance-alert.ts +142 -0
  536. package/src/funcs/webhook-events-post-webhook-events-invoice-communication-triggered.ts +142 -0
  537. package/src/funcs/webhook-events-post-webhook-events-invoice-create-drafted.ts +142 -0
  538. package/src/funcs/webhook-events-post-webhook-events-invoice-payment-overdue.ts +142 -0
  539. package/src/funcs/webhook-events-post-webhook-events-invoice-update-finalized.ts +142 -0
  540. package/src/funcs/webhook-events-post-webhook-events-invoice-update-payment.ts +142 -0
  541. package/src/funcs/webhook-events-post-webhook-events-invoice-update-voided.ts +142 -0
  542. package/src/funcs/webhook-events-post-webhook-events-invoice-update.ts +142 -0
  543. package/src/funcs/webhook-events-post-webhook-events-payment-created.ts +142 -0
  544. package/src/funcs/webhook-events-post-webhook-events-payment-failed.ts +142 -0
  545. package/src/funcs/webhook-events-post-webhook-events-payment-pending.ts +142 -0
  546. package/src/funcs/webhook-events-post-webhook-events-payment-success.ts +142 -0
  547. package/src/funcs/webhook-events-post-webhook-events-payment-updated.ts +142 -0
  548. package/src/funcs/webhook-events-post-webhook-events-subscription-activated.ts +142 -0
  549. package/src/funcs/webhook-events-post-webhook-events-subscription-cancelled.ts +142 -0
  550. package/src/funcs/webhook-events-post-webhook-events-subscription-created.ts +142 -0
  551. package/src/funcs/webhook-events-post-webhook-events-subscription-draft-created.ts +142 -0
  552. package/src/funcs/webhook-events-post-webhook-events-subscription-paused.ts +142 -0
  553. package/src/funcs/webhook-events-post-webhook-events-subscription-phase-created.ts +142 -0
  554. package/src/funcs/webhook-events-post-webhook-events-subscription-phase-deleted.ts +142 -0
  555. package/src/funcs/webhook-events-post-webhook-events-subscription-phase-updated.ts +142 -0
  556. package/src/funcs/webhook-events-post-webhook-events-subscription-renewal-due.ts +142 -0
  557. package/src/funcs/webhook-events-post-webhook-events-subscription-resumed.ts +142 -0
  558. package/src/funcs/webhook-events-post-webhook-events-subscription-updated.ts +142 -0
  559. package/src/funcs/webhook-events-post-webhook-events-wallet-created.ts +142 -0
  560. package/src/funcs/webhook-events-post-webhook-events-wallet-credit-balance-dropped.ts +142 -0
  561. package/src/funcs/webhook-events-post-webhook-events-wallet-credit-balance-recovered.ts +142 -0
  562. package/src/funcs/webhook-events-post-webhook-events-wallet-ongoing-balance-dropped.ts +142 -0
  563. package/src/funcs/webhook-events-post-webhook-events-wallet-ongoing-balance-recovered.ts +142 -0
  564. package/src/funcs/webhook-events-post-webhook-events-wallet-terminated.ts +142 -0
  565. package/src/funcs/webhook-events-post-webhook-events-wallet-transaction-created.ts +142 -0
  566. package/src/funcs/webhook-events-post-webhook-events-wallet-updated.ts +142 -0
  567. package/src/lib/config.ts +3 -3
  568. package/src/lib/encodings.ts +23 -4
  569. package/src/lib/sdks.ts +7 -5
  570. package/src/lib/url.ts +16 -14
  571. package/src/sdk/models/cancellation-type.ts +1 -0
  572. package/src/sdk/models/dto-cancel-subscription-request.ts +10 -0
  573. package/src/sdk/models/dto-create-customer-request.ts +8 -3
  574. package/src/sdk/models/dto-create-subscription-request.ts +22 -0
  575. package/src/sdk/models/dto-customer-response.ts +5 -1
  576. package/src/sdk/models/dto-update-customer-request.ts +9 -4
  577. package/src/sdk/models/github-com-flexprice-flexprice-internal-domain-customer-customer.ts +5 -1
  578. package/src/sdk/models/index.ts +13 -7
  579. package/src/sdk/models/payment-gateway-type.ts +1 -0
  580. package/src/sdk/models/secret-provider.ts +1 -0
  581. package/src/sdk/models/webhook-dto-alert-webhook-payload.ts +66 -0
  582. package/src/sdk/models/webhook-dto-communication-webhook-payload.ts +46 -0
  583. package/src/sdk/models/webhook-dto-credit-note-webhook-payload.ts +47 -0
  584. package/src/sdk/models/webhook-dto-customer-webhook-payload.ts +48 -0
  585. package/src/sdk/models/webhook-dto-entitlement-webhook-payload.ts +46 -0
  586. package/src/sdk/models/webhook-dto-feature-webhook-payload.ts +45 -0
  587. package/src/sdk/models/webhook-dto-invoice-webhook-payload.ts +45 -0
  588. package/src/sdk/models/webhook-dto-payment-webhook-payload.ts +45 -0
  589. package/src/sdk/models/webhook-dto-subscription-phase-webhook-payload.ts +49 -0
  590. package/src/sdk/models/webhook-dto-subscription-webhook-payload.ts +46 -0
  591. package/src/sdk/models/webhook-dto-transaction-webhook-payload.ts +52 -0
  592. package/src/sdk/models/webhook-dto-wallet-alert-info.ts +54 -0
  593. package/src/sdk/models/webhook-dto-wallet-webhook-payload.ts +60 -0
  594. package/src/sdk/models/window-size.ts +1 -1
  595. package/src/sdk/sdk.ts +4 -4
  596. package/src/sdk/webhook-events.ts +705 -0
  597. package/docs/sdk/models/handle-chargebee-webhook-request.md +0 -19
  598. package/docs/sdk/models/handle-hubspot-webhook-request.md +0 -21
  599. package/docs/sdk/models/handle-moyasar-webhook-request.md +0 -20
  600. package/docs/sdk/models/handle-nomod-webhook-request.md +0 -20
  601. package/docs/sdk/models/handle-quickbooks-webhook-request.md +0 -20
  602. package/docs/sdk/models/handle-razorpay-webhook-request.md +0 -21
  603. package/docs/sdk/models/handle-stripe-webhook-request.md +0 -21
  604. package/docs/sdks/webhooks/README.md +0 -509
  605. package/esm/funcs/webhooks-handle-chargebee-webhook.d.ts +0 -18
  606. package/esm/funcs/webhooks-handle-chargebee-webhook.d.ts.map +0 -1
  607. package/esm/funcs/webhooks-handle-chargebee-webhook.js.map +0 -1
  608. package/esm/funcs/webhooks-handle-hubspot-webhook.d.ts +0 -18
  609. package/esm/funcs/webhooks-handle-hubspot-webhook.d.ts.map +0 -1
  610. package/esm/funcs/webhooks-handle-hubspot-webhook.js +0 -94
  611. package/esm/funcs/webhooks-handle-hubspot-webhook.js.map +0 -1
  612. package/esm/funcs/webhooks-handle-moyasar-webhook.d.ts +0 -18
  613. package/esm/funcs/webhooks-handle-moyasar-webhook.d.ts.map +0 -1
  614. package/esm/funcs/webhooks-handle-moyasar-webhook.js.map +0 -1
  615. package/esm/funcs/webhooks-handle-nomod-webhook.d.ts +0 -18
  616. package/esm/funcs/webhooks-handle-nomod-webhook.d.ts.map +0 -1
  617. package/esm/funcs/webhooks-handle-nomod-webhook.js.map +0 -1
  618. package/esm/funcs/webhooks-handle-quickbooks-webhook.d.ts +0 -18
  619. package/esm/funcs/webhooks-handle-quickbooks-webhook.d.ts.map +0 -1
  620. package/esm/funcs/webhooks-handle-quickbooks-webhook.js +0 -94
  621. package/esm/funcs/webhooks-handle-quickbooks-webhook.js.map +0 -1
  622. package/esm/funcs/webhooks-handle-razorpay-webhook.d.ts +0 -18
  623. package/esm/funcs/webhooks-handle-razorpay-webhook.d.ts.map +0 -1
  624. package/esm/funcs/webhooks-handle-razorpay-webhook.js.map +0 -1
  625. package/esm/funcs/webhooks-handle-stripe-webhook.d.ts +0 -18
  626. package/esm/funcs/webhooks-handle-stripe-webhook.d.ts.map +0 -1
  627. package/esm/funcs/webhooks-handle-stripe-webhook.js +0 -94
  628. package/esm/funcs/webhooks-handle-stripe-webhook.js.map +0 -1
  629. package/esm/sdk/models/handle-chargebee-webhook-op.d.ts +0 -20
  630. package/esm/sdk/models/handle-chargebee-webhook-op.d.ts.map +0 -1
  631. package/esm/sdk/models/handle-chargebee-webhook-op.js +0 -19
  632. package/esm/sdk/models/handle-chargebee-webhook-op.js.map +0 -1
  633. package/esm/sdk/models/handle-hubspot-webhook-op.d.ts +0 -25
  634. package/esm/sdk/models/handle-hubspot-webhook-op.d.ts.map +0 -1
  635. package/esm/sdk/models/handle-hubspot-webhook-op.js +0 -21
  636. package/esm/sdk/models/handle-hubspot-webhook-op.js.map +0 -1
  637. package/esm/sdk/models/handle-moyasar-webhook-op.d.ts +0 -25
  638. package/esm/sdk/models/handle-moyasar-webhook-op.d.ts.map +0 -1
  639. package/esm/sdk/models/handle-moyasar-webhook-op.js +0 -21
  640. package/esm/sdk/models/handle-moyasar-webhook-op.js.map +0 -1
  641. package/esm/sdk/models/handle-nomod-webhook-op.d.ts +0 -25
  642. package/esm/sdk/models/handle-nomod-webhook-op.d.ts.map +0 -1
  643. package/esm/sdk/models/handle-nomod-webhook-op.js +0 -21
  644. package/esm/sdk/models/handle-nomod-webhook-op.js.map +0 -1
  645. package/esm/sdk/models/handle-quickbooks-webhook-op.d.ts +0 -25
  646. package/esm/sdk/models/handle-quickbooks-webhook-op.d.ts.map +0 -1
  647. package/esm/sdk/models/handle-quickbooks-webhook-op.js +0 -21
  648. package/esm/sdk/models/handle-quickbooks-webhook-op.js.map +0 -1
  649. package/esm/sdk/models/handle-razorpay-webhook-op.d.ts +0 -25
  650. package/esm/sdk/models/handle-razorpay-webhook-op.d.ts.map +0 -1
  651. package/esm/sdk/models/handle-razorpay-webhook-op.js +0 -21
  652. package/esm/sdk/models/handle-razorpay-webhook-op.js.map +0 -1
  653. package/esm/sdk/models/handle-stripe-webhook-op.d.ts +0 -25
  654. package/esm/sdk/models/handle-stripe-webhook-op.d.ts.map +0 -1
  655. package/esm/sdk/models/handle-stripe-webhook-op.js +0 -21
  656. package/esm/sdk/models/handle-stripe-webhook-op.js.map +0 -1
  657. package/esm/sdk/webhooks.d.ts +0 -67
  658. package/esm/sdk/webhooks.d.ts.map +0 -1
  659. package/esm/sdk/webhooks.js +0 -78
  660. package/esm/sdk/webhooks.js.map +0 -1
  661. package/src/funcs/webhooks-handle-hubspot-webhook.ts +0 -191
  662. package/src/funcs/webhooks-handle-quickbooks-webhook.ts +0 -191
  663. package/src/funcs/webhooks-handle-stripe-webhook.ts +0 -190
  664. package/src/sdk/models/handle-chargebee-webhook-op.ts +0 -50
  665. package/src/sdk/models/handle-hubspot-webhook-op.ts +0 -57
  666. package/src/sdk/models/handle-moyasar-webhook-op.ts +0 -57
  667. package/src/sdk/models/handle-nomod-webhook-op.ts +0 -55
  668. package/src/sdk/models/handle-quickbooks-webhook-op.ts +0 -57
  669. package/src/sdk/models/handle-razorpay-webhook-op.ts +0 -57
  670. package/src/sdk/models/handle-stripe-webhook-op.ts +0 -55
  671. package/src/sdk/webhooks.ts +0 -160
@@ -1,509 +0,0 @@
1
- # Webhooks
2
-
3
- ## Overview
4
-
5
- ### Available Operations
6
-
7
- * [handleChargebeeWebhook](#handlechargebeewebhook) - Handle Chargebee webhook events
8
- * [handleHubspotWebhook](#handlehubspotwebhook) - Handle HubSpot webhook events
9
- * [handleMoyasarWebhook](#handlemoyasarwebhook) - Handle Moyasar webhook events
10
- * [handleNomodWebhook](#handlenomodwebhook) - Handle Nomod webhook events
11
- * [handleQuickbooksWebhook](#handlequickbookswebhook) - Handle QuickBooks webhook events
12
- * [handleRazorpayWebhook](#handlerazorpaywebhook) - Handle Razorpay webhook events
13
- * [handleStripeWebhook](#handlestripewebhook) - Handle Stripe webhook events
14
-
15
- ## handleChargebeeWebhook
16
-
17
- Use as the Chargebee webhook endpoint URL. Receives payment and subscription events from Chargebee to sync status into FlexPrice.
18
-
19
- ### Example Usage
20
-
21
- <!-- UsageSnippet language="typescript" operationID="handleChargebeeWebhook" method="post" path="/webhooks/chargebee/{tenant_id}/{environment_id}" -->
22
- ```typescript
23
- import { Flexprice } from "@flexprice/sdk";
24
-
25
- const flexprice = new Flexprice({
26
- apiKeyAuth: "<YOUR_API_KEY_HERE>",
27
- });
28
-
29
- async function run() {
30
- const result = await flexprice.webhooks.handleChargebeeWebhook("<id>", "<id>");
31
-
32
- console.log(result);
33
- }
34
-
35
- run();
36
- ```
37
-
38
- ### Standalone function
39
-
40
- The standalone function version of this method:
41
-
42
- ```typescript
43
- import { FlexpriceCore } from "@flexprice/sdk/core.js";
44
- import { webhooksHandleChargebeeWebhook } from "@flexprice/sdk/funcs/webhooks-handle-chargebee-webhook.js";
45
-
46
- // Use `FlexpriceCore` for best tree-shaking performance.
47
- // You can create one instance of it to use across an application.
48
- const flexprice = new FlexpriceCore({
49
- apiKeyAuth: "<YOUR_API_KEY_HERE>",
50
- });
51
-
52
- async function run() {
53
- const res = await webhooksHandleChargebeeWebhook(flexprice, "<id>", "<id>");
54
- if (res.ok) {
55
- const { value: result } = res;
56
- console.log(result);
57
- } else {
58
- console.log("webhooksHandleChargebeeWebhook failed:", res.error);
59
- }
60
- }
61
-
62
- run();
63
- ```
64
-
65
- ### Parameters
66
-
67
- | Parameter | Type | Required | Description |
68
- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
69
- | `tenantId` | *string* | :heavy_check_mark: | Tenant ID |
70
- | `environmentId` | *string* | :heavy_check_mark: | Environment ID |
71
- | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
72
- | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
73
- | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
74
-
75
- ### Response
76
-
77
- **Promise\<[{ [k: string]: any }](../../models/.md)\>**
78
-
79
- ### Errors
80
-
81
- | Error Type | Status Code | Content Type |
82
- | --------------- | --------------- | --------------- |
83
- | models.SDKError | 4XX, 5XX | \*/\* |
84
-
85
- ## handleHubspotWebhook
86
-
87
- Use as the HubSpot webhook endpoint URL. Receives deal and customer events (e.g. deal closed won) to create or update customers in FlexPrice.
88
-
89
- ### Example Usage
90
-
91
- <!-- UsageSnippet language="typescript" operationID="handleHubspotWebhook" method="post" path="/webhooks/hubspot/{tenant_id}/{environment_id}" -->
92
- ```typescript
93
- import { Flexprice } from "@flexprice/sdk";
94
-
95
- const flexprice = new Flexprice({
96
- apiKeyAuth: "<YOUR_API_KEY_HERE>",
97
- });
98
-
99
- async function run() {
100
- const result = await flexprice.webhooks.handleHubspotWebhook("<id>", "<id>", "<value>");
101
-
102
- console.log(result);
103
- }
104
-
105
- run();
106
- ```
107
-
108
- ### Standalone function
109
-
110
- The standalone function version of this method:
111
-
112
- ```typescript
113
- import { FlexpriceCore } from "@flexprice/sdk/core.js";
114
- import { webhooksHandleHubspotWebhook } from "@flexprice/sdk/funcs/webhooks-handle-hubspot-webhook.js";
115
-
116
- // Use `FlexpriceCore` for best tree-shaking performance.
117
- // You can create one instance of it to use across an application.
118
- const flexprice = new FlexpriceCore({
119
- apiKeyAuth: "<YOUR_API_KEY_HERE>",
120
- });
121
-
122
- async function run() {
123
- const res = await webhooksHandleHubspotWebhook(flexprice, "<id>", "<id>", "<value>");
124
- if (res.ok) {
125
- const { value: result } = res;
126
- console.log(result);
127
- } else {
128
- console.log("webhooksHandleHubspotWebhook failed:", res.error);
129
- }
130
- }
131
-
132
- run();
133
- ```
134
-
135
- ### Parameters
136
-
137
- | Parameter | Type | Required | Description |
138
- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
139
- | `tenantId` | *string* | :heavy_check_mark: | Tenant ID |
140
- | `environmentId` | *string* | :heavy_check_mark: | Environment ID |
141
- | `xHubSpotSignatureV3` | *string* | :heavy_check_mark: | HubSpot webhook signature |
142
- | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
143
- | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
144
- | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
145
-
146
- ### Response
147
-
148
- **Promise\<[{ [k: string]: any }](../../models/.md)\>**
149
-
150
- ### Errors
151
-
152
- | Error Type | Status Code | Content Type |
153
- | --------------- | --------------- | --------------- |
154
- | models.SDKError | 4XX, 5XX | \*/\* |
155
-
156
- ## handleMoyasarWebhook
157
-
158
- Use as the Moyasar webhook endpoint URL. Receives payment events from Moyasar to update payment status in FlexPrice.
159
-
160
- ### Example Usage
161
-
162
- <!-- UsageSnippet language="typescript" operationID="handleMoyasarWebhook" method="post" path="/webhooks/moyasar/{tenant_id}/{environment_id}" -->
163
- ```typescript
164
- import { Flexprice } from "@flexprice/sdk";
165
-
166
- const flexprice = new Flexprice({
167
- apiKeyAuth: "<YOUR_API_KEY_HERE>",
168
- });
169
-
170
- async function run() {
171
- const result = await flexprice.webhooks.handleMoyasarWebhook("<id>", "<id>");
172
-
173
- console.log(result);
174
- }
175
-
176
- run();
177
- ```
178
-
179
- ### Standalone function
180
-
181
- The standalone function version of this method:
182
-
183
- ```typescript
184
- import { FlexpriceCore } from "@flexprice/sdk/core.js";
185
- import { webhooksHandleMoyasarWebhook } from "@flexprice/sdk/funcs/webhooks-handle-moyasar-webhook.js";
186
-
187
- // Use `FlexpriceCore` for best tree-shaking performance.
188
- // You can create one instance of it to use across an application.
189
- const flexprice = new FlexpriceCore({
190
- apiKeyAuth: "<YOUR_API_KEY_HERE>",
191
- });
192
-
193
- async function run() {
194
- const res = await webhooksHandleMoyasarWebhook(flexprice, "<id>", "<id>");
195
- if (res.ok) {
196
- const { value: result } = res;
197
- console.log(result);
198
- } else {
199
- console.log("webhooksHandleMoyasarWebhook failed:", res.error);
200
- }
201
- }
202
-
203
- run();
204
- ```
205
-
206
- ### Parameters
207
-
208
- | Parameter | Type | Required | Description |
209
- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
210
- | `tenantId` | *string* | :heavy_check_mark: | Tenant ID |
211
- | `environmentId` | *string* | :heavy_check_mark: | Environment ID |
212
- | `xMoyasarSignature` | *string* | :heavy_minus_sign: | Moyasar webhook signature |
213
- | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
214
- | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
215
- | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
216
-
217
- ### Response
218
-
219
- **Promise\<[{ [k: string]: any }](../../models/.md)\>**
220
-
221
- ### Errors
222
-
223
- | Error Type | Status Code | Content Type |
224
- | --------------- | --------------- | --------------- |
225
- | models.SDKError | 4XX, 5XX | \*/\* |
226
-
227
- ## handleNomodWebhook
228
-
229
- Use as the Nomod webhook endpoint URL. Receives payment and invoice events from Nomod to keep FlexPrice in sync.
230
-
231
- ### Example Usage
232
-
233
- <!-- UsageSnippet language="typescript" operationID="handleNomodWebhook" method="post" path="/webhooks/nomod/{tenant_id}/{environment_id}" -->
234
- ```typescript
235
- import { Flexprice } from "@flexprice/sdk";
236
-
237
- const flexprice = new Flexprice({
238
- apiKeyAuth: "<YOUR_API_KEY_HERE>",
239
- });
240
-
241
- async function run() {
242
- const result = await flexprice.webhooks.handleNomodWebhook("<id>", "<id>");
243
-
244
- console.log(result);
245
- }
246
-
247
- run();
248
- ```
249
-
250
- ### Standalone function
251
-
252
- The standalone function version of this method:
253
-
254
- ```typescript
255
- import { FlexpriceCore } from "@flexprice/sdk/core.js";
256
- import { webhooksHandleNomodWebhook } from "@flexprice/sdk/funcs/webhooks-handle-nomod-webhook.js";
257
-
258
- // Use `FlexpriceCore` for best tree-shaking performance.
259
- // You can create one instance of it to use across an application.
260
- const flexprice = new FlexpriceCore({
261
- apiKeyAuth: "<YOUR_API_KEY_HERE>",
262
- });
263
-
264
- async function run() {
265
- const res = await webhooksHandleNomodWebhook(flexprice, "<id>", "<id>");
266
- if (res.ok) {
267
- const { value: result } = res;
268
- console.log(result);
269
- } else {
270
- console.log("webhooksHandleNomodWebhook failed:", res.error);
271
- }
272
- }
273
-
274
- run();
275
- ```
276
-
277
- ### Parameters
278
-
279
- | Parameter | Type | Required | Description |
280
- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
281
- | `tenantId` | *string* | :heavy_check_mark: | Tenant ID |
282
- | `environmentId` | *string* | :heavy_check_mark: | Environment ID |
283
- | `xApiKey` | *string* | :heavy_minus_sign: | Nomod webhook secret (if configured) |
284
- | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
285
- | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
286
- | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
287
-
288
- ### Response
289
-
290
- **Promise\<[{ [k: string]: any }](../../models/.md)\>**
291
-
292
- ### Errors
293
-
294
- | Error Type | Status Code | Content Type |
295
- | --------------- | --------------- | --------------- |
296
- | models.SDKError | 4XX, 5XX | \*/\* |
297
-
298
- ## handleQuickbooksWebhook
299
-
300
- Use as the QuickBooks webhook endpoint URL. Receives payment events from QuickBooks to sync payment status into FlexPrice.
301
-
302
- ### Example Usage
303
-
304
- <!-- UsageSnippet language="typescript" operationID="handleQuickbooksWebhook" method="post" path="/webhooks/quickbooks/{tenant_id}/{environment_id}" -->
305
- ```typescript
306
- import { Flexprice } from "@flexprice/sdk";
307
-
308
- const flexprice = new Flexprice({
309
- apiKeyAuth: "<YOUR_API_KEY_HERE>",
310
- });
311
-
312
- async function run() {
313
- const result = await flexprice.webhooks.handleQuickbooksWebhook("<id>", "<id>");
314
-
315
- console.log(result);
316
- }
317
-
318
- run();
319
- ```
320
-
321
- ### Standalone function
322
-
323
- The standalone function version of this method:
324
-
325
- ```typescript
326
- import { FlexpriceCore } from "@flexprice/sdk/core.js";
327
- import { webhooksHandleQuickbooksWebhook } from "@flexprice/sdk/funcs/webhooks-handle-quickbooks-webhook.js";
328
-
329
- // Use `FlexpriceCore` for best tree-shaking performance.
330
- // You can create one instance of it to use across an application.
331
- const flexprice = new FlexpriceCore({
332
- apiKeyAuth: "<YOUR_API_KEY_HERE>",
333
- });
334
-
335
- async function run() {
336
- const res = await webhooksHandleQuickbooksWebhook(flexprice, "<id>", "<id>");
337
- if (res.ok) {
338
- const { value: result } = res;
339
- console.log(result);
340
- } else {
341
- console.log("webhooksHandleQuickbooksWebhook failed:", res.error);
342
- }
343
- }
344
-
345
- run();
346
- ```
347
-
348
- ### Parameters
349
-
350
- | Parameter | Type | Required | Description |
351
- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
352
- | `tenantId` | *string* | :heavy_check_mark: | Tenant ID |
353
- | `environmentId` | *string* | :heavy_check_mark: | Environment ID |
354
- | `intuitSignature` | *string* | :heavy_minus_sign: | QuickBooks webhook signature |
355
- | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
356
- | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
357
- | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
358
-
359
- ### Response
360
-
361
- **Promise\<[{ [k: string]: any }](../../models/.md)\>**
362
-
363
- ### Errors
364
-
365
- | Error Type | Status Code | Content Type |
366
- | --------------- | --------------- | --------------- |
367
- | models.SDKError | 4XX, 5XX | \*/\* |
368
-
369
- ## handleRazorpayWebhook
370
-
371
- Use as the Razorpay webhook endpoint URL. Receives payment capture and failure events to update invoice or payment status in FlexPrice.
372
-
373
- ### Example Usage
374
-
375
- <!-- UsageSnippet language="typescript" operationID="handleRazorpayWebhook" method="post" path="/webhooks/razorpay/{tenant_id}/{environment_id}" -->
376
- ```typescript
377
- import { Flexprice } from "@flexprice/sdk";
378
-
379
- const flexprice = new Flexprice({
380
- apiKeyAuth: "<YOUR_API_KEY_HERE>",
381
- });
382
-
383
- async function run() {
384
- const result = await flexprice.webhooks.handleRazorpayWebhook("<id>", "<id>", "<value>");
385
-
386
- console.log(result);
387
- }
388
-
389
- run();
390
- ```
391
-
392
- ### Standalone function
393
-
394
- The standalone function version of this method:
395
-
396
- ```typescript
397
- import { FlexpriceCore } from "@flexprice/sdk/core.js";
398
- import { webhooksHandleRazorpayWebhook } from "@flexprice/sdk/funcs/webhooks-handle-razorpay-webhook.js";
399
-
400
- // Use `FlexpriceCore` for best tree-shaking performance.
401
- // You can create one instance of it to use across an application.
402
- const flexprice = new FlexpriceCore({
403
- apiKeyAuth: "<YOUR_API_KEY_HERE>",
404
- });
405
-
406
- async function run() {
407
- const res = await webhooksHandleRazorpayWebhook(flexprice, "<id>", "<id>", "<value>");
408
- if (res.ok) {
409
- const { value: result } = res;
410
- console.log(result);
411
- } else {
412
- console.log("webhooksHandleRazorpayWebhook failed:", res.error);
413
- }
414
- }
415
-
416
- run();
417
- ```
418
-
419
- ### Parameters
420
-
421
- | Parameter | Type | Required | Description |
422
- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
423
- | `tenantId` | *string* | :heavy_check_mark: | Tenant ID |
424
- | `environmentId` | *string* | :heavy_check_mark: | Environment ID |
425
- | `xRazorpaySignature` | *string* | :heavy_check_mark: | Razorpay webhook signature |
426
- | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
427
- | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
428
- | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
429
-
430
- ### Response
431
-
432
- **Promise\<[{ [k: string]: any }](../../models/.md)\>**
433
-
434
- ### Errors
435
-
436
- | Error Type | Status Code | Content Type |
437
- | --------------- | --------------- | --------------- |
438
- | models.SDKError | 4XX, 5XX | \*/\* |
439
-
440
- ## handleStripeWebhook
441
-
442
- Use as the Stripe webhook endpoint URL. Receives payment and customer events from Stripe to keep FlexPrice in sync (e.g. payment succeeded, customer created).
443
-
444
- ### Example Usage
445
-
446
- <!-- UsageSnippet language="typescript" operationID="handleStripeWebhook" method="post" path="/webhooks/stripe/{tenant_id}/{environment_id}" -->
447
- ```typescript
448
- import { Flexprice } from "@flexprice/sdk";
449
-
450
- const flexprice = new Flexprice({
451
- apiKeyAuth: "<YOUR_API_KEY_HERE>",
452
- });
453
-
454
- async function run() {
455
- const result = await flexprice.webhooks.handleStripeWebhook("<id>", "<id>", "<value>");
456
-
457
- console.log(result);
458
- }
459
-
460
- run();
461
- ```
462
-
463
- ### Standalone function
464
-
465
- The standalone function version of this method:
466
-
467
- ```typescript
468
- import { FlexpriceCore } from "@flexprice/sdk/core.js";
469
- import { webhooksHandleStripeWebhook } from "@flexprice/sdk/funcs/webhooks-handle-stripe-webhook.js";
470
-
471
- // Use `FlexpriceCore` for best tree-shaking performance.
472
- // You can create one instance of it to use across an application.
473
- const flexprice = new FlexpriceCore({
474
- apiKeyAuth: "<YOUR_API_KEY_HERE>",
475
- });
476
-
477
- async function run() {
478
- const res = await webhooksHandleStripeWebhook(flexprice, "<id>", "<id>", "<value>");
479
- if (res.ok) {
480
- const { value: result } = res;
481
- console.log(result);
482
- } else {
483
- console.log("webhooksHandleStripeWebhook failed:", res.error);
484
- }
485
- }
486
-
487
- run();
488
- ```
489
-
490
- ### Parameters
491
-
492
- | Parameter | Type | Required | Description |
493
- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
494
- | `tenantId` | *string* | :heavy_check_mark: | Tenant ID |
495
- | `environmentId` | *string* | :heavy_check_mark: | Environment ID |
496
- | `stripeSignature` | *string* | :heavy_check_mark: | Stripe webhook signature |
497
- | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
498
- | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
499
- | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
500
-
501
- ### Response
502
-
503
- **Promise\<[{ [k: string]: any }](../../models/.md)\>**
504
-
505
- ### Errors
506
-
507
- | Error Type | Status Code | Content Type |
508
- | --------------- | --------------- | --------------- |
509
- | models.SDKError | 4XX, 5XX | \*/\* |
@@ -1,18 +0,0 @@
1
- import { FlexpriceCore } from "../core.js";
2
- import { RequestOptions } from "../lib/sdks.js";
3
- import { FlexPriceError } from "../sdk/models/flex-price-error.js";
4
- import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../sdk/models/http-client-errors.js";
5
- import { ResponseValidationError } from "../sdk/models/response-validation-error.js";
6
- import { SDKValidationError } from "../sdk/models/sdk-validation-error.js";
7
- import { APIPromise } from "../types/async.js";
8
- import { Result } from "../types/fp.js";
9
- /**
10
- * Handle Chargebee webhook events
11
- *
12
- * @remarks
13
- * Use as the Chargebee webhook endpoint URL. Receives payment and subscription events from Chargebee to sync status into FlexPrice.
14
- */
15
- export declare function webhooksHandleChargebeeWebhook(client: FlexpriceCore, tenantId: string, environmentId: string, options?: RequestOptions): APIPromise<Result<{
16
- [k: string]: any;
17
- }, FlexPriceError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
18
- //# sourceMappingURL=webhooks-handle-chargebee-webhook.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"webhooks-handle-chargebee-webhook.d.ts","sourceRoot":"","sources":["../../src/funcs/webhooks-handle-chargebee-webhook.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAK3C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC;AACnE,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,qCAAqC,CAAC;AAE7C,OAAO,EAAE,uBAAuB,EAAE,MAAM,4CAA4C,CAAC;AACrF,OAAO,EAAE,kBAAkB,EAAE,MAAM,uCAAuC,CAAC;AAC3E,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC;;;;;GAKG;AACH,wBAAgB,8BAA8B,CAC5C,MAAM,EAAE,aAAa,EACrB,QAAQ,EAAE,MAAM,EAChB,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CACX,MAAM,CACJ;IAAE,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;CAAE,EAClB,cAAc,GACd,uBAAuB,GACvB,eAAe,GACf,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,qBAAqB,GACrB,kBAAkB,CACrB,CACF,CAOA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"webhooks-handle-chargebee-webhook.js","sourceRoot":"","sources":["../../src/funcs/webhooks-handle-chargebee-webhook.ts"],"names":[],"mappings":"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"}
@@ -1,18 +0,0 @@
1
- import { FlexpriceCore } from "../core.js";
2
- import { RequestOptions } from "../lib/sdks.js";
3
- import { FlexPriceError } from "../sdk/models/flex-price-error.js";
4
- import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../sdk/models/http-client-errors.js";
5
- import { ResponseValidationError } from "../sdk/models/response-validation-error.js";
6
- import { SDKValidationError } from "../sdk/models/sdk-validation-error.js";
7
- import { APIPromise } from "../types/async.js";
8
- import { Result } from "../types/fp.js";
9
- /**
10
- * Handle HubSpot webhook events
11
- *
12
- * @remarks
13
- * Use as the HubSpot webhook endpoint URL. Receives deal and customer events (e.g. deal closed won) to create or update customers in FlexPrice.
14
- */
15
- export declare function webhooksHandleHubspotWebhook(client: FlexpriceCore, tenantId: string, environmentId: string, xHubSpotSignatureV3: string, options?: RequestOptions): APIPromise<Result<{
16
- [k: string]: any;
17
- }, FlexPriceError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
18
- //# sourceMappingURL=webhooks-handle-hubspot-webhook.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"webhooks-handle-hubspot-webhook.d.ts","sourceRoot":"","sources":["../../src/funcs/webhooks-handle-hubspot-webhook.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAK3C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC;AACnE,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,qCAAqC,CAAC;AAE7C,OAAO,EAAE,uBAAuB,EAAE,MAAM,4CAA4C,CAAC;AACrF,OAAO,EAAE,kBAAkB,EAAE,MAAM,uCAAuC,CAAC;AAC3E,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC;;;;;GAKG;AACH,wBAAgB,4BAA4B,CAC1C,MAAM,EAAE,aAAa,EACrB,QAAQ,EAAE,MAAM,EAChB,aAAa,EAAE,MAAM,EACrB,mBAAmB,EAAE,MAAM,EAC3B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CACX,MAAM,CACJ;IAAE,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;CAAE,EAClB,cAAc,GACd,uBAAuB,GACvB,eAAe,GACf,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,qBAAqB,GACrB,kBAAkB,CACrB,CACF,CAQA"}