@paygentic/sdk 0.3.1-beta.0 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1128) hide show
  1. package/README.md +3 -2
  2. package/RUNTIMES.md +6 -6
  3. package/dist/commonjs/__tests__/subscriptions.test.js +15 -0
  4. package/dist/commonjs/__tests__/subscriptions.test.js.map +1 -1
  5. package/dist/commonjs/funcs/billableMetricsCreate.js +1 -1
  6. package/dist/commonjs/funcs/billableMetricsCreate.js.map +1 -1
  7. package/dist/commonjs/funcs/billableMetricsGet.js +1 -1
  8. package/dist/commonjs/funcs/billableMetricsGet.js.map +1 -1
  9. package/dist/commonjs/funcs/billableMetricsGetPrice.js +1 -1
  10. package/dist/commonjs/funcs/billableMetricsGetPrice.js.map +1 -1
  11. package/dist/commonjs/funcs/billableMetricsGetPriceLegacy.js +1 -1
  12. package/dist/commonjs/funcs/billableMetricsGetPriceLegacy.js.map +1 -1
  13. package/dist/commonjs/funcs/billableMetricsList.js +1 -1
  14. package/dist/commonjs/funcs/billableMetricsList.js.map +1 -1
  15. package/dist/commonjs/funcs/billableMetricsUpdate.js +1 -1
  16. package/dist/commonjs/funcs/billableMetricsUpdate.js.map +1 -1
  17. package/dist/commonjs/funcs/consumersGet.js +1 -1
  18. package/dist/commonjs/funcs/consumersGet.js.map +1 -1
  19. package/dist/commonjs/funcs/consumersListOffSessionPaymentMethods.js +1 -1
  20. package/dist/commonjs/funcs/consumersListOffSessionPaymentMethods.js.map +1 -1
  21. package/dist/commonjs/funcs/customersCheckAuthorizationSessionStatus.js +1 -1
  22. package/dist/commonjs/funcs/customersCheckAuthorizationSessionStatus.js.map +1 -1
  23. package/dist/commonjs/funcs/customersCreate.js +1 -1
  24. package/dist/commonjs/funcs/customersCreate.js.map +1 -1
  25. package/dist/commonjs/funcs/customersCreateAuthorizationSession.js +1 -1
  26. package/dist/commonjs/funcs/customersCreateAuthorizationSession.js.map +1 -1
  27. package/dist/commonjs/funcs/customersGet.js +1 -1
  28. package/dist/commonjs/funcs/customersGet.js.map +1 -1
  29. package/dist/commonjs/funcs/customersList.js +1 -1
  30. package/dist/commonjs/funcs/customersList.js.map +1 -1
  31. package/dist/commonjs/funcs/customersUpdateCustomer.js +1 -1
  32. package/dist/commonjs/funcs/customersUpdateCustomer.js.map +1 -1
  33. package/dist/commonjs/funcs/disputesCreate.js +1 -1
  34. package/dist/commonjs/funcs/disputesCreate.js.map +1 -1
  35. package/dist/commonjs/funcs/disputesList.js +1 -1
  36. package/dist/commonjs/funcs/disputesList.js.map +1 -1
  37. package/dist/commonjs/funcs/entitlementsCreate.js +1 -1
  38. package/dist/commonjs/funcs/entitlementsCreate.js.map +1 -1
  39. package/dist/commonjs/funcs/entitlementsListActive.js +1 -1
  40. package/dist/commonjs/funcs/entitlementsListActive.js.map +1 -1
  41. package/dist/commonjs/funcs/externalBankAccountsCreate.js +1 -1
  42. package/dist/commonjs/funcs/externalBankAccountsCreate.js.map +1 -1
  43. package/dist/commonjs/funcs/externalBankAccountsDelete.js +1 -1
  44. package/dist/commonjs/funcs/externalBankAccountsDelete.js.map +1 -1
  45. package/dist/commonjs/funcs/externalBankAccountsGet.js +1 -1
  46. package/dist/commonjs/funcs/externalBankAccountsGet.js.map +1 -1
  47. package/dist/commonjs/funcs/externalBankAccountsList.js +1 -1
  48. package/dist/commonjs/funcs/externalBankAccountsList.js.map +1 -1
  49. package/dist/commonjs/funcs/externalBankAccountsUpdate.js +1 -1
  50. package/dist/commonjs/funcs/externalBankAccountsUpdate.js.map +1 -1
  51. package/dist/commonjs/funcs/merchantsGet.js +1 -1
  52. package/dist/commonjs/funcs/merchantsGet.js.map +1 -1
  53. package/dist/commonjs/funcs/merchantsListEligibleCountries.js +1 -1
  54. package/dist/commonjs/funcs/merchantsListEligibleCountries.js.map +1 -1
  55. package/dist/commonjs/funcs/payoutsGet.js +1 -1
  56. package/dist/commonjs/funcs/payoutsGet.js.map +1 -1
  57. package/dist/commonjs/funcs/payoutsList.js +1 -1
  58. package/dist/commonjs/funcs/payoutsList.js.map +1 -1
  59. package/dist/commonjs/funcs/payoutsListMethods.js +1 -1
  60. package/dist/commonjs/funcs/payoutsListMethods.js.map +1 -1
  61. package/dist/commonjs/funcs/plansCreate.js +1 -1
  62. package/dist/commonjs/funcs/plansCreate.js.map +1 -1
  63. package/dist/commonjs/funcs/plansGet.js +1 -1
  64. package/dist/commonjs/funcs/plansGet.js.map +1 -1
  65. package/dist/commonjs/funcs/plansList.js +1 -1
  66. package/dist/commonjs/funcs/plansList.js.map +1 -1
  67. package/dist/commonjs/funcs/plansUpdate.js +1 -1
  68. package/dist/commonjs/funcs/plansUpdate.js.map +1 -1
  69. package/dist/commonjs/funcs/pricesCreate.js +1 -1
  70. package/dist/commonjs/funcs/pricesCreate.js.map +1 -1
  71. package/dist/commonjs/funcs/pricesGet.js +1 -1
  72. package/dist/commonjs/funcs/pricesGet.js.map +1 -1
  73. package/dist/commonjs/funcs/pricesList.js +1 -1
  74. package/dist/commonjs/funcs/pricesList.js.map +1 -1
  75. package/dist/commonjs/funcs/pricesUpdate.js +1 -1
  76. package/dist/commonjs/funcs/pricesUpdate.js.map +1 -1
  77. package/dist/commonjs/funcs/productsCreate.js +1 -1
  78. package/dist/commonjs/funcs/productsCreate.js.map +1 -1
  79. package/dist/commonjs/funcs/productsGet.js +1 -1
  80. package/dist/commonjs/funcs/productsGet.js.map +1 -1
  81. package/dist/commonjs/funcs/productsList.js +1 -1
  82. package/dist/commonjs/funcs/productsList.js.map +1 -1
  83. package/dist/commonjs/funcs/productsUpdate.js +1 -1
  84. package/dist/commonjs/funcs/productsUpdate.js.map +1 -1
  85. package/dist/commonjs/funcs/sourcesAdd.js +1 -1
  86. package/dist/commonjs/funcs/sourcesAdd.js.map +1 -1
  87. package/dist/commonjs/funcs/sourcesApproveEvent.js +1 -1
  88. package/dist/commonjs/funcs/sourcesApproveEvent.js.map +1 -1
  89. package/dist/commonjs/funcs/sourcesBulkApproveEvents.js +1 -1
  90. package/dist/commonjs/funcs/sourcesBulkApproveEvents.js.map +1 -1
  91. package/dist/commonjs/funcs/sourcesCreate.js +1 -1
  92. package/dist/commonjs/funcs/sourcesCreate.js.map +1 -1
  93. package/dist/commonjs/funcs/sourcesDelete.js +1 -1
  94. package/dist/commonjs/funcs/sourcesDelete.js.map +1 -1
  95. package/dist/commonjs/funcs/sourcesEventsBulkReject.js +1 -1
  96. package/dist/commonjs/funcs/sourcesEventsBulkReject.js.map +1 -1
  97. package/dist/commonjs/funcs/sourcesGet.js +1 -1
  98. package/dist/commonjs/funcs/sourcesGet.js.map +1 -1
  99. package/dist/commonjs/funcs/sourcesGetRule.js +1 -1
  100. package/dist/commonjs/funcs/sourcesGetRule.js.map +1 -1
  101. package/dist/commonjs/funcs/sourcesList.js +1 -1
  102. package/dist/commonjs/funcs/sourcesList.js.map +1 -1
  103. package/dist/commonjs/funcs/sourcesListEvents.js +1 -1
  104. package/dist/commonjs/funcs/sourcesListEvents.js.map +1 -1
  105. package/dist/commonjs/funcs/sourcesListRules.js +1 -1
  106. package/dist/commonjs/funcs/sourcesListRules.js.map +1 -1
  107. package/dist/commonjs/funcs/sourcesRejectEvent.js +1 -1
  108. package/dist/commonjs/funcs/sourcesRejectEvent.js.map +1 -1
  109. package/dist/commonjs/funcs/sourcesUpdate.js +1 -1
  110. package/dist/commonjs/funcs/sourcesUpdate.js.map +1 -1
  111. package/dist/commonjs/funcs/sourcesUpdateRule.js +1 -1
  112. package/dist/commonjs/funcs/sourcesUpdateRule.js.map +1 -1
  113. package/{funcs/disputesList.d.ts → dist/commonjs/funcs/subscriptionsCreateSubscription.d.ts} +5 -4
  114. package/dist/commonjs/funcs/subscriptionsCreateSubscription.d.ts.map +1 -0
  115. package/dist/commonjs/funcs/subscriptionsCreateSubscription.js +119 -0
  116. package/dist/commonjs/funcs/subscriptionsCreateSubscription.js.map +1 -0
  117. package/dist/commonjs/funcs/subscriptionsGeneratePortalLink.js +1 -1
  118. package/dist/commonjs/funcs/subscriptionsGeneratePortalLink.js.map +1 -1
  119. package/dist/commonjs/funcs/subscriptionsGet.js +1 -1
  120. package/dist/commonjs/funcs/subscriptionsGet.js.map +1 -1
  121. package/dist/commonjs/funcs/subscriptionsList.js +1 -1
  122. package/dist/commonjs/funcs/subscriptionsList.js.map +1 -1
  123. package/dist/commonjs/funcs/usageEventsBatchCreate.js +1 -1
  124. package/dist/commonjs/funcs/usageEventsBatchCreate.js.map +1 -1
  125. package/dist/commonjs/funcs/usageEventsCreate.js +1 -1
  126. package/dist/commonjs/funcs/usageEventsCreate.js.map +1 -1
  127. package/dist/commonjs/funcs/usageEventsGet.js +1 -1
  128. package/dist/commonjs/funcs/usageEventsGet.js.map +1 -1
  129. package/dist/commonjs/funcs/usageEventsList.js +1 -1
  130. package/dist/commonjs/funcs/usageEventsList.js.map +1 -1
  131. package/dist/commonjs/funcs/usersGet.js +1 -1
  132. package/dist/commonjs/funcs/usersGet.js.map +1 -1
  133. package/dist/commonjs/funcs/usersUpdate.js +1 -1
  134. package/dist/commonjs/funcs/usersUpdate.js.map +1 -1
  135. package/dist/commonjs/funcs/walletsCreateTopup.js +1 -1
  136. package/dist/commonjs/funcs/walletsCreateTopup.js.map +1 -1
  137. package/dist/commonjs/funcs/walletsGet.js +1 -1
  138. package/dist/commonjs/funcs/walletsGet.js.map +1 -1
  139. package/dist/commonjs/funcs/walletsGetTopup.js +1 -1
  140. package/dist/commonjs/funcs/walletsGetTopup.js.map +1 -1
  141. package/dist/commonjs/funcs/walletsList.js +1 -1
  142. package/dist/commonjs/funcs/walletsList.js.map +1 -1
  143. package/dist/commonjs/funcs/walletsListTopups.js +1 -1
  144. package/dist/commonjs/funcs/walletsListTopups.js.map +1 -1
  145. package/dist/commonjs/lib/config.d.ts +3 -3
  146. package/dist/commonjs/lib/config.js +3 -3
  147. package/dist/commonjs/lib/config.js.map +1 -1
  148. package/dist/commonjs/models/billablemetric.d.ts +27 -0
  149. package/dist/commonjs/models/billablemetric.d.ts.map +1 -1
  150. package/dist/commonjs/models/billablemetric.js +22 -1
  151. package/dist/commonjs/models/billablemetric.js.map +1 -1
  152. package/dist/commonjs/models/componentsschemasprice.d.ts +27 -0
  153. package/dist/commonjs/models/componentsschemasprice.d.ts.map +1 -1
  154. package/dist/commonjs/models/componentsschemasprice.js +22 -1
  155. package/dist/commonjs/models/componentsschemasprice.js.map +1 -1
  156. package/dist/commonjs/models/index.d.ts +0 -1
  157. package/dist/commonjs/models/index.d.ts.map +1 -1
  158. package/dist/commonjs/models/index.js +0 -1
  159. package/dist/commonjs/models/index.js.map +1 -1
  160. package/dist/commonjs/models/operations/createbillablemetric.d.ts +36 -0
  161. package/dist/commonjs/models/operations/createbillablemetric.d.ts.map +1 -1
  162. package/dist/commonjs/models/operations/createbillablemetric.js +25 -1
  163. package/dist/commonjs/models/operations/createbillablemetric.js.map +1 -1
  164. package/dist/commonjs/models/operations/createplan.d.ts +0 -6
  165. package/dist/commonjs/models/operations/createplan.d.ts.map +1 -1
  166. package/dist/commonjs/models/operations/createplan.js +0 -3
  167. package/dist/commonjs/models/operations/createplan.js.map +1 -1
  168. package/dist/commonjs/models/operations/createprice.d.ts +36 -0
  169. package/dist/commonjs/models/operations/createprice.d.ts.map +1 -1
  170. package/dist/commonjs/models/operations/createprice.js +26 -1
  171. package/dist/commonjs/models/operations/createprice.js.map +1 -1
  172. package/dist/commonjs/models/operations/createsubscription.d.ts +144 -0
  173. package/dist/commonjs/models/operations/createsubscription.d.ts.map +1 -0
  174. package/dist/commonjs/models/operations/createsubscription.js +150 -0
  175. package/dist/commonjs/models/operations/createsubscription.js.map +1 -0
  176. package/dist/commonjs/models/operations/index.d.ts +1 -0
  177. package/dist/commonjs/models/operations/index.d.ts.map +1 -1
  178. package/dist/commonjs/models/operations/index.js +1 -0
  179. package/dist/commonjs/models/operations/index.js.map +1 -1
  180. package/dist/commonjs/models/operations/updatecustomer.d.ts +4 -4
  181. package/dist/commonjs/models/operations/updatecustomer.js +4 -4
  182. package/dist/commonjs/models/plan.d.ts +29 -6
  183. package/dist/commonjs/models/plan.d.ts.map +1 -1
  184. package/dist/commonjs/models/plan.js +41 -4
  185. package/dist/commonjs/models/plan.js.map +1 -1
  186. package/dist/commonjs/models/price.d.ts +30 -3
  187. package/dist/commonjs/models/price.d.ts.map +1 -1
  188. package/dist/commonjs/models/price.js +24 -3
  189. package/dist/commonjs/models/price.js.map +1 -1
  190. package/dist/commonjs/models/pricepropertiesunion.d.ts +4 -0
  191. package/dist/commonjs/models/pricepropertiesunion.d.ts.map +1 -1
  192. package/dist/commonjs/models/pricepropertiesunion.js +11 -2
  193. package/dist/commonjs/models/pricepropertiesunion.js.map +1 -1
  194. package/dist/commonjs/models/schemasprice.d.ts +27 -0
  195. package/dist/commonjs/models/schemasprice.d.ts.map +1 -1
  196. package/dist/commonjs/models/schemasprice.js +22 -1
  197. package/dist/commonjs/models/schemasprice.js.map +1 -1
  198. package/dist/commonjs/models/subscription.d.ts +172 -0
  199. package/dist/commonjs/models/subscription.d.ts.map +1 -1
  200. package/dist/commonjs/models/subscription.js +129 -1
  201. package/dist/commonjs/models/subscription.js.map +1 -1
  202. package/dist/commonjs/models/usageevent.d.ts +5 -0
  203. package/dist/commonjs/models/usageevent.d.ts.map +1 -1
  204. package/dist/commonjs/models/usageevent.js +2 -0
  205. package/dist/commonjs/models/usageevent.js.map +1 -1
  206. package/dist/commonjs/sdk/subscriptions.d.ts +7 -0
  207. package/dist/commonjs/sdk/subscriptions.d.ts.map +1 -1
  208. package/dist/commonjs/sdk/subscriptions.js +10 -0
  209. package/dist/commonjs/sdk/subscriptions.js.map +1 -1
  210. package/dist/esm/__tests__/subscriptions.test.js +15 -0
  211. package/dist/esm/__tests__/subscriptions.test.js.map +1 -1
  212. package/dist/esm/funcs/billableMetricsCreate.js +1 -1
  213. package/dist/esm/funcs/billableMetricsCreate.js.map +1 -1
  214. package/dist/esm/funcs/billableMetricsGet.js +1 -1
  215. package/dist/esm/funcs/billableMetricsGet.js.map +1 -1
  216. package/dist/esm/funcs/billableMetricsGetPrice.js +1 -1
  217. package/dist/esm/funcs/billableMetricsGetPrice.js.map +1 -1
  218. package/dist/esm/funcs/billableMetricsGetPriceLegacy.js +1 -1
  219. package/dist/esm/funcs/billableMetricsGetPriceLegacy.js.map +1 -1
  220. package/dist/esm/funcs/billableMetricsList.js +1 -1
  221. package/dist/esm/funcs/billableMetricsList.js.map +1 -1
  222. package/dist/esm/funcs/billableMetricsUpdate.js +1 -1
  223. package/dist/esm/funcs/billableMetricsUpdate.js.map +1 -1
  224. package/dist/esm/funcs/consumersGet.js +1 -1
  225. package/dist/esm/funcs/consumersGet.js.map +1 -1
  226. package/dist/esm/funcs/consumersListOffSessionPaymentMethods.js +1 -1
  227. package/dist/esm/funcs/consumersListOffSessionPaymentMethods.js.map +1 -1
  228. package/dist/esm/funcs/customersCheckAuthorizationSessionStatus.js +1 -1
  229. package/dist/esm/funcs/customersCheckAuthorizationSessionStatus.js.map +1 -1
  230. package/dist/esm/funcs/customersCreate.js +1 -1
  231. package/dist/esm/funcs/customersCreate.js.map +1 -1
  232. package/dist/esm/funcs/customersCreateAuthorizationSession.js +1 -1
  233. package/dist/esm/funcs/customersCreateAuthorizationSession.js.map +1 -1
  234. package/dist/esm/funcs/customersGet.js +1 -1
  235. package/dist/esm/funcs/customersGet.js.map +1 -1
  236. package/dist/esm/funcs/customersList.js +1 -1
  237. package/dist/esm/funcs/customersList.js.map +1 -1
  238. package/dist/esm/funcs/customersUpdateCustomer.js +1 -1
  239. package/dist/esm/funcs/customersUpdateCustomer.js.map +1 -1
  240. package/dist/esm/funcs/disputesCreate.js +1 -1
  241. package/dist/esm/funcs/disputesCreate.js.map +1 -1
  242. package/dist/esm/funcs/disputesList.js +1 -1
  243. package/dist/esm/funcs/disputesList.js.map +1 -1
  244. package/dist/esm/funcs/entitlementsCreate.js +1 -1
  245. package/dist/esm/funcs/entitlementsCreate.js.map +1 -1
  246. package/dist/esm/funcs/entitlementsListActive.js +1 -1
  247. package/dist/esm/funcs/entitlementsListActive.js.map +1 -1
  248. package/dist/esm/funcs/externalBankAccountsCreate.js +1 -1
  249. package/dist/esm/funcs/externalBankAccountsCreate.js.map +1 -1
  250. package/dist/esm/funcs/externalBankAccountsDelete.js +1 -1
  251. package/dist/esm/funcs/externalBankAccountsDelete.js.map +1 -1
  252. package/dist/esm/funcs/externalBankAccountsGet.js +1 -1
  253. package/dist/esm/funcs/externalBankAccountsGet.js.map +1 -1
  254. package/dist/esm/funcs/externalBankAccountsList.js +1 -1
  255. package/dist/esm/funcs/externalBankAccountsList.js.map +1 -1
  256. package/dist/esm/funcs/externalBankAccountsUpdate.js +1 -1
  257. package/dist/esm/funcs/externalBankAccountsUpdate.js.map +1 -1
  258. package/dist/esm/funcs/merchantsGet.js +1 -1
  259. package/dist/esm/funcs/merchantsGet.js.map +1 -1
  260. package/dist/esm/funcs/merchantsListEligibleCountries.js +1 -1
  261. package/dist/esm/funcs/merchantsListEligibleCountries.js.map +1 -1
  262. package/dist/esm/funcs/payoutsGet.js +1 -1
  263. package/dist/esm/funcs/payoutsGet.js.map +1 -1
  264. package/dist/esm/funcs/payoutsList.js +1 -1
  265. package/dist/esm/funcs/payoutsList.js.map +1 -1
  266. package/dist/esm/funcs/payoutsListMethods.js +1 -1
  267. package/dist/esm/funcs/payoutsListMethods.js.map +1 -1
  268. package/dist/esm/funcs/plansCreate.js +1 -1
  269. package/dist/esm/funcs/plansCreate.js.map +1 -1
  270. package/dist/esm/funcs/plansGet.js +1 -1
  271. package/dist/esm/funcs/plansGet.js.map +1 -1
  272. package/dist/esm/funcs/plansList.js +1 -1
  273. package/dist/esm/funcs/plansList.js.map +1 -1
  274. package/dist/esm/funcs/plansUpdate.js +1 -1
  275. package/dist/esm/funcs/plansUpdate.js.map +1 -1
  276. package/dist/esm/funcs/pricesCreate.js +1 -1
  277. package/dist/esm/funcs/pricesCreate.js.map +1 -1
  278. package/dist/esm/funcs/pricesGet.js +1 -1
  279. package/dist/esm/funcs/pricesGet.js.map +1 -1
  280. package/dist/esm/funcs/pricesList.js +1 -1
  281. package/dist/esm/funcs/pricesList.js.map +1 -1
  282. package/dist/esm/funcs/pricesUpdate.js +1 -1
  283. package/dist/esm/funcs/pricesUpdate.js.map +1 -1
  284. package/dist/esm/funcs/productsCreate.js +1 -1
  285. package/dist/esm/funcs/productsCreate.js.map +1 -1
  286. package/dist/esm/funcs/productsGet.js +1 -1
  287. package/dist/esm/funcs/productsGet.js.map +1 -1
  288. package/dist/esm/funcs/productsList.js +1 -1
  289. package/dist/esm/funcs/productsList.js.map +1 -1
  290. package/dist/esm/funcs/productsUpdate.js +1 -1
  291. package/dist/esm/funcs/productsUpdate.js.map +1 -1
  292. package/dist/esm/funcs/sourcesAdd.js +1 -1
  293. package/dist/esm/funcs/sourcesAdd.js.map +1 -1
  294. package/dist/esm/funcs/sourcesApproveEvent.js +1 -1
  295. package/dist/esm/funcs/sourcesApproveEvent.js.map +1 -1
  296. package/dist/esm/funcs/sourcesBulkApproveEvents.js +1 -1
  297. package/dist/esm/funcs/sourcesBulkApproveEvents.js.map +1 -1
  298. package/dist/esm/funcs/sourcesCreate.js +1 -1
  299. package/dist/esm/funcs/sourcesCreate.js.map +1 -1
  300. package/dist/esm/funcs/sourcesDelete.js +1 -1
  301. package/dist/esm/funcs/sourcesDelete.js.map +1 -1
  302. package/dist/esm/funcs/sourcesEventsBulkReject.js +1 -1
  303. package/dist/esm/funcs/sourcesEventsBulkReject.js.map +1 -1
  304. package/dist/esm/funcs/sourcesGet.js +1 -1
  305. package/dist/esm/funcs/sourcesGet.js.map +1 -1
  306. package/dist/esm/funcs/sourcesGetRule.js +1 -1
  307. package/dist/esm/funcs/sourcesGetRule.js.map +1 -1
  308. package/dist/esm/funcs/sourcesList.js +1 -1
  309. package/dist/esm/funcs/sourcesList.js.map +1 -1
  310. package/dist/esm/funcs/sourcesListEvents.js +1 -1
  311. package/dist/esm/funcs/sourcesListEvents.js.map +1 -1
  312. package/dist/esm/funcs/sourcesListRules.js +1 -1
  313. package/dist/esm/funcs/sourcesListRules.js.map +1 -1
  314. package/dist/esm/funcs/sourcesRejectEvent.js +1 -1
  315. package/dist/esm/funcs/sourcesRejectEvent.js.map +1 -1
  316. package/dist/esm/funcs/sourcesUpdate.js +1 -1
  317. package/dist/esm/funcs/sourcesUpdate.js.map +1 -1
  318. package/dist/esm/funcs/sourcesUpdateRule.js +1 -1
  319. package/dist/esm/funcs/sourcesUpdateRule.js.map +1 -1
  320. package/{funcs/productsList.d.ts → dist/esm/funcs/subscriptionsCreateSubscription.d.ts} +7 -3
  321. package/dist/esm/funcs/subscriptionsCreateSubscription.d.ts.map +1 -0
  322. package/dist/esm/funcs/subscriptionsCreateSubscription.js +83 -0
  323. package/dist/esm/funcs/subscriptionsCreateSubscription.js.map +1 -0
  324. package/dist/esm/funcs/subscriptionsGeneratePortalLink.js +1 -1
  325. package/dist/esm/funcs/subscriptionsGeneratePortalLink.js.map +1 -1
  326. package/dist/esm/funcs/subscriptionsGet.js +1 -1
  327. package/dist/esm/funcs/subscriptionsGet.js.map +1 -1
  328. package/dist/esm/funcs/subscriptionsList.js +1 -1
  329. package/dist/esm/funcs/subscriptionsList.js.map +1 -1
  330. package/dist/esm/funcs/usageEventsBatchCreate.js +1 -1
  331. package/dist/esm/funcs/usageEventsBatchCreate.js.map +1 -1
  332. package/dist/esm/funcs/usageEventsCreate.js +1 -1
  333. package/dist/esm/funcs/usageEventsCreate.js.map +1 -1
  334. package/dist/esm/funcs/usageEventsGet.js +1 -1
  335. package/dist/esm/funcs/usageEventsGet.js.map +1 -1
  336. package/dist/esm/funcs/usageEventsList.js +1 -1
  337. package/dist/esm/funcs/usageEventsList.js.map +1 -1
  338. package/dist/esm/funcs/usersGet.js +1 -1
  339. package/dist/esm/funcs/usersGet.js.map +1 -1
  340. package/dist/esm/funcs/usersUpdate.js +1 -1
  341. package/dist/esm/funcs/usersUpdate.js.map +1 -1
  342. package/dist/esm/funcs/walletsCreateTopup.js +1 -1
  343. package/dist/esm/funcs/walletsCreateTopup.js.map +1 -1
  344. package/dist/esm/funcs/walletsGet.js +1 -1
  345. package/dist/esm/funcs/walletsGet.js.map +1 -1
  346. package/dist/esm/funcs/walletsGetTopup.js +1 -1
  347. package/dist/esm/funcs/walletsGetTopup.js.map +1 -1
  348. package/dist/esm/funcs/walletsList.js +1 -1
  349. package/dist/esm/funcs/walletsList.js.map +1 -1
  350. package/dist/esm/funcs/walletsListTopups.js +1 -1
  351. package/dist/esm/funcs/walletsListTopups.js.map +1 -1
  352. package/dist/esm/lib/config.d.ts +3 -3
  353. package/dist/esm/lib/config.js +3 -3
  354. package/dist/esm/lib/config.js.map +1 -1
  355. package/dist/esm/models/billablemetric.d.ts +27 -0
  356. package/dist/esm/models/billablemetric.d.ts.map +1 -1
  357. package/dist/esm/models/billablemetric.js +21 -0
  358. package/dist/esm/models/billablemetric.js.map +1 -1
  359. package/dist/esm/models/componentsschemasprice.d.ts +27 -0
  360. package/dist/esm/models/componentsschemasprice.d.ts.map +1 -1
  361. package/dist/esm/models/componentsschemasprice.js +21 -0
  362. package/dist/esm/models/componentsschemasprice.js.map +1 -1
  363. package/dist/esm/models/index.d.ts +0 -1
  364. package/dist/esm/models/index.d.ts.map +1 -1
  365. package/dist/esm/models/index.js +0 -1
  366. package/dist/esm/models/index.js.map +1 -1
  367. package/dist/esm/models/operations/createbillablemetric.d.ts +36 -0
  368. package/dist/esm/models/operations/createbillablemetric.d.ts.map +1 -1
  369. package/dist/esm/models/operations/createbillablemetric.js +24 -0
  370. package/dist/esm/models/operations/createbillablemetric.js.map +1 -1
  371. package/dist/esm/models/operations/createplan.d.ts +0 -6
  372. package/dist/esm/models/operations/createplan.d.ts.map +1 -1
  373. package/dist/esm/models/operations/createplan.js +0 -3
  374. package/dist/esm/models/operations/createplan.js.map +1 -1
  375. package/dist/esm/models/operations/createprice.d.ts +36 -0
  376. package/dist/esm/models/operations/createprice.d.ts.map +1 -1
  377. package/dist/esm/models/operations/createprice.js +25 -0
  378. package/dist/esm/models/operations/createprice.js.map +1 -1
  379. package/dist/esm/models/operations/createsubscription.d.ts +144 -0
  380. package/dist/esm/models/operations/createsubscription.d.ts.map +1 -0
  381. package/dist/esm/models/operations/createsubscription.js +108 -0
  382. package/dist/esm/models/operations/createsubscription.js.map +1 -0
  383. package/dist/esm/models/operations/index.d.ts +1 -0
  384. package/dist/esm/models/operations/index.d.ts.map +1 -1
  385. package/dist/esm/models/operations/index.js +1 -0
  386. package/dist/esm/models/operations/index.js.map +1 -1
  387. package/dist/esm/models/operations/updatecustomer.d.ts +4 -4
  388. package/dist/esm/models/operations/updatecustomer.js +4 -4
  389. package/dist/esm/models/plan.d.ts +29 -6
  390. package/dist/esm/models/plan.d.ts.map +1 -1
  391. package/dist/esm/models/plan.js +38 -3
  392. package/dist/esm/models/plan.js.map +1 -1
  393. package/dist/esm/models/price.d.ts +30 -3
  394. package/dist/esm/models/price.d.ts.map +1 -1
  395. package/dist/esm/models/price.js +23 -2
  396. package/dist/esm/models/price.js.map +1 -1
  397. package/dist/esm/models/pricepropertiesunion.d.ts +4 -0
  398. package/dist/esm/models/pricepropertiesunion.d.ts.map +1 -1
  399. package/dist/esm/models/pricepropertiesunion.js +12 -3
  400. package/dist/esm/models/pricepropertiesunion.js.map +1 -1
  401. package/dist/esm/models/schemasprice.d.ts +27 -0
  402. package/dist/esm/models/schemasprice.d.ts.map +1 -1
  403. package/dist/esm/models/schemasprice.js +21 -0
  404. package/dist/esm/models/schemasprice.js.map +1 -1
  405. package/dist/esm/models/subscription.d.ts +172 -0
  406. package/dist/esm/models/subscription.d.ts.map +1 -1
  407. package/dist/esm/models/subscription.js +122 -0
  408. package/dist/esm/models/subscription.js.map +1 -1
  409. package/dist/esm/models/usageevent.d.ts +5 -0
  410. package/dist/esm/models/usageevent.d.ts.map +1 -1
  411. package/dist/esm/models/usageevent.js +2 -0
  412. package/dist/esm/models/usageevent.js.map +1 -1
  413. package/dist/esm/sdk/subscriptions.d.ts +7 -0
  414. package/dist/esm/sdk/subscriptions.d.ts.map +1 -1
  415. package/dist/esm/sdk/subscriptions.js +10 -0
  416. package/dist/esm/sdk/subscriptions.js.map +1 -1
  417. package/examples/package-lock.json +1 -1
  418. package/jsr.json +1 -1
  419. package/package.json +6 -1
  420. package/src/__tests__/subscriptions.test.ts +18 -0
  421. package/src/funcs/billableMetricsCreate.ts +1 -1
  422. package/src/funcs/billableMetricsGet.ts +1 -1
  423. package/src/funcs/billableMetricsGetPrice.ts +1 -1
  424. package/src/funcs/billableMetricsGetPriceLegacy.ts +1 -1
  425. package/src/funcs/billableMetricsList.ts +1 -1
  426. package/src/funcs/billableMetricsUpdate.ts +1 -1
  427. package/src/funcs/consumersGet.ts +1 -1
  428. package/src/funcs/consumersListOffSessionPaymentMethods.ts +1 -1
  429. package/src/funcs/customersCheckAuthorizationSessionStatus.ts +1 -1
  430. package/src/funcs/customersCreate.ts +1 -1
  431. package/src/funcs/customersCreateAuthorizationSession.ts +1 -1
  432. package/src/funcs/customersGet.ts +1 -1
  433. package/src/funcs/customersList.ts +1 -1
  434. package/src/funcs/customersUpdateCustomer.ts +1 -1
  435. package/src/funcs/disputesCreate.ts +1 -1
  436. package/src/funcs/disputesList.ts +1 -1
  437. package/src/funcs/entitlementsCreate.ts +1 -1
  438. package/src/funcs/entitlementsListActive.ts +1 -1
  439. package/src/funcs/externalBankAccountsCreate.ts +1 -1
  440. package/src/funcs/externalBankAccountsDelete.ts +1 -1
  441. package/src/funcs/externalBankAccountsGet.ts +1 -1
  442. package/src/funcs/externalBankAccountsList.ts +1 -1
  443. package/src/funcs/externalBankAccountsUpdate.ts +1 -1
  444. package/src/funcs/merchantsGet.ts +1 -1
  445. package/src/funcs/merchantsListEligibleCountries.ts +1 -1
  446. package/src/funcs/payoutsGet.ts +1 -1
  447. package/src/funcs/payoutsList.ts +1 -1
  448. package/src/funcs/payoutsListMethods.ts +1 -1
  449. package/src/funcs/plansCreate.ts +1 -1
  450. package/src/funcs/plansGet.ts +1 -1
  451. package/src/funcs/plansList.ts +1 -1
  452. package/src/funcs/plansUpdate.ts +1 -1
  453. package/src/funcs/pricesCreate.ts +1 -1
  454. package/src/funcs/pricesGet.ts +1 -1
  455. package/src/funcs/pricesList.ts +1 -1
  456. package/src/funcs/pricesUpdate.ts +1 -1
  457. package/src/funcs/productsCreate.ts +1 -1
  458. package/src/funcs/productsGet.ts +1 -1
  459. package/src/funcs/productsList.ts +1 -1
  460. package/src/funcs/productsUpdate.ts +1 -1
  461. package/src/funcs/sourcesAdd.ts +1 -1
  462. package/src/funcs/sourcesApproveEvent.ts +1 -1
  463. package/src/funcs/sourcesBulkApproveEvents.ts +1 -1
  464. package/src/funcs/sourcesCreate.ts +1 -1
  465. package/src/funcs/sourcesDelete.ts +1 -1
  466. package/src/funcs/sourcesEventsBulkReject.ts +1 -1
  467. package/src/funcs/sourcesGet.ts +1 -1
  468. package/src/funcs/sourcesGetRule.ts +1 -1
  469. package/src/funcs/sourcesList.ts +1 -1
  470. package/src/funcs/sourcesListEvents.ts +1 -1
  471. package/src/funcs/sourcesListRules.ts +1 -1
  472. package/src/funcs/sourcesRejectEvent.ts +1 -1
  473. package/src/funcs/sourcesUpdate.ts +1 -1
  474. package/src/funcs/sourcesUpdateRule.ts +1 -1
  475. package/src/funcs/subscriptionsCreateSubscription.ts +175 -0
  476. package/src/funcs/subscriptionsGeneratePortalLink.ts +1 -1
  477. package/src/funcs/subscriptionsGet.ts +1 -1
  478. package/src/funcs/subscriptionsList.ts +1 -1
  479. package/src/funcs/usageEventsBatchCreate.ts +1 -1
  480. package/src/funcs/usageEventsCreate.ts +1 -1
  481. package/src/funcs/usageEventsGet.ts +1 -1
  482. package/src/funcs/usageEventsList.ts +1 -1
  483. package/src/funcs/usersGet.ts +1 -1
  484. package/src/funcs/usersUpdate.ts +1 -1
  485. package/src/funcs/walletsCreateTopup.ts +1 -1
  486. package/src/funcs/walletsGet.ts +1 -1
  487. package/src/funcs/walletsGetTopup.ts +1 -1
  488. package/src/funcs/walletsList.ts +1 -1
  489. package/src/funcs/walletsListTopups.ts +1 -1
  490. package/src/lib/config.ts +3 -3
  491. package/src/models/billablemetric.ts +30 -0
  492. package/src/models/componentsschemasprice.ts +34 -0
  493. package/src/models/index.ts +0 -1
  494. package/src/models/operations/createbillablemetric.ts +39 -0
  495. package/src/models/operations/createplan.ts +0 -8
  496. package/src/models/operations/createprice.ts +38 -0
  497. package/src/models/operations/createsubscription.ts +254 -0
  498. package/src/models/operations/index.ts +1 -0
  499. package/src/models/operations/updatecustomer.ts +8 -8
  500. package/src/models/plan.ts +73 -13
  501. package/src/models/price.ts +36 -5
  502. package/src/models/pricepropertiesunion.ts +25 -7
  503. package/src/models/schemasprice.ts +33 -0
  504. package/src/models/subscription.ts +276 -0
  505. package/src/models/usageevent.ts +7 -0
  506. package/src/sdk/subscriptions.ts +18 -0
  507. package/core.d.ts +0 -10
  508. package/core.d.ts.map +0 -1
  509. package/dist/commonjs/models/paymentoptions.d.ts +0 -55
  510. package/dist/commonjs/models/paymentoptions.d.ts.map +0 -1
  511. package/dist/commonjs/models/paymentoptions.js +0 -77
  512. package/dist/commonjs/models/paymentoptions.js.map +0 -1
  513. package/dist/esm/models/paymentoptions.d.ts +0 -55
  514. package/dist/esm/models/paymentoptions.d.ts.map +0 -1
  515. package/dist/esm/models/paymentoptions.js +0 -39
  516. package/dist/esm/models/paymentoptions.js.map +0 -1
  517. package/examples/node_modules/.package-lock.json +0 -627
  518. package/examples/node_modules/@esbuild/darwin-arm64/package.json +0 -20
  519. package/examples/node_modules/@types/node/assert/strict.d.ts +0 -8
  520. package/examples/node_modules/@types/node/assert.d.ts +0 -1044
  521. package/examples/node_modules/@types/node/async_hooks.d.ts +0 -605
  522. package/examples/node_modules/@types/node/buffer.buffer.d.ts +0 -462
  523. package/examples/node_modules/@types/node/buffer.d.ts +0 -1932
  524. package/examples/node_modules/@types/node/child_process.d.ts +0 -1452
  525. package/examples/node_modules/@types/node/cluster.d.ts +0 -578
  526. package/examples/node_modules/@types/node/compatibility/disposable.d.ts +0 -16
  527. package/examples/node_modules/@types/node/compatibility/index.d.ts +0 -9
  528. package/examples/node_modules/@types/node/compatibility/indexable.d.ts +0 -20
  529. package/examples/node_modules/@types/node/compatibility/iterators.d.ts +0 -21
  530. package/examples/node_modules/@types/node/console.d.ts +0 -452
  531. package/examples/node_modules/@types/node/constants.d.ts +0 -21
  532. package/examples/node_modules/@types/node/crypto.d.ts +0 -4570
  533. package/examples/node_modules/@types/node/dgram.d.ts +0 -596
  534. package/examples/node_modules/@types/node/diagnostics_channel.d.ts +0 -578
  535. package/examples/node_modules/@types/node/dns/promises.d.ts +0 -479
  536. package/examples/node_modules/@types/node/dns.d.ts +0 -871
  537. package/examples/node_modules/@types/node/domain.d.ts +0 -170
  538. package/examples/node_modules/@types/node/events.d.ts +0 -931
  539. package/examples/node_modules/@types/node/fs/promises.d.ts +0 -1248
  540. package/examples/node_modules/@types/node/fs.d.ts +0 -4362
  541. package/examples/node_modules/@types/node/globals.d.ts +0 -170
  542. package/examples/node_modules/@types/node/globals.typedarray.d.ts +0 -21
  543. package/examples/node_modules/@types/node/http.d.ts +0 -2031
  544. package/examples/node_modules/@types/node/http2.d.ts +0 -2623
  545. package/examples/node_modules/@types/node/https.d.ts +0 -549
  546. package/examples/node_modules/@types/node/index.d.ts +0 -93
  547. package/examples/node_modules/@types/node/inspector.generated.d.ts +0 -3966
  548. package/examples/node_modules/@types/node/module.d.ts +0 -539
  549. package/examples/node_modules/@types/node/net.d.ts +0 -1011
  550. package/examples/node_modules/@types/node/os.d.ts +0 -495
  551. package/examples/node_modules/@types/node/package.json +0 -140
  552. package/examples/node_modules/@types/node/path.d.ts +0 -200
  553. package/examples/node_modules/@types/node/perf_hooks.d.ts +0 -963
  554. package/examples/node_modules/@types/node/process.d.ts +0 -1956
  555. package/examples/node_modules/@types/node/punycode.d.ts +0 -117
  556. package/examples/node_modules/@types/node/querystring.d.ts +0 -152
  557. package/examples/node_modules/@types/node/readline/promises.d.ts +0 -162
  558. package/examples/node_modules/@types/node/readline.d.ts +0 -589
  559. package/examples/node_modules/@types/node/repl.d.ts +0 -430
  560. package/examples/node_modules/@types/node/sea.d.ts +0 -153
  561. package/examples/node_modules/@types/node/stream/consumers.d.ts +0 -38
  562. package/examples/node_modules/@types/node/stream/promises.d.ts +0 -90
  563. package/examples/node_modules/@types/node/stream/web.d.ts +0 -533
  564. package/examples/node_modules/@types/node/stream.d.ts +0 -1668
  565. package/examples/node_modules/@types/node/string_decoder.d.ts +0 -67
  566. package/examples/node_modules/@types/node/test.d.ts +0 -1807
  567. package/examples/node_modules/@types/node/timers/promises.d.ts +0 -108
  568. package/examples/node_modules/@types/node/timers.d.ts +0 -286
  569. package/examples/node_modules/@types/node/tls.d.ts +0 -1231
  570. package/examples/node_modules/@types/node/trace_events.d.ts +0 -197
  571. package/examples/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +0 -460
  572. package/examples/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +0 -19
  573. package/examples/node_modules/@types/node/ts5.6/index.d.ts +0 -93
  574. package/examples/node_modules/@types/node/tty.d.ts +0 -208
  575. package/examples/node_modules/@types/node/url.d.ts +0 -964
  576. package/examples/node_modules/@types/node/util.d.ts +0 -2331
  577. package/examples/node_modules/@types/node/v8.d.ts +0 -808
  578. package/examples/node_modules/@types/node/vm.d.ts +0 -1030
  579. package/examples/node_modules/@types/node/wasi.d.ts +0 -181
  580. package/examples/node_modules/@types/node/web-globals/abortcontroller.d.ts +0 -34
  581. package/examples/node_modules/@types/node/web-globals/domexception.d.ts +0 -68
  582. package/examples/node_modules/@types/node/web-globals/events.d.ts +0 -94
  583. package/examples/node_modules/@types/node/web-globals/fetch.d.ts +0 -46
  584. package/examples/node_modules/@types/node/worker_threads.d.ts +0 -743
  585. package/examples/node_modules/@types/node/zlib.d.ts +0 -539
  586. package/examples/node_modules/dotenv/config.d.ts +0 -1
  587. package/examples/node_modules/dotenv/config.js +0 -9
  588. package/examples/node_modules/dotenv/lib/cli-options.js +0 -17
  589. package/examples/node_modules/dotenv/lib/env-options.js +0 -28
  590. package/examples/node_modules/dotenv/lib/main.d.ts +0 -162
  591. package/examples/node_modules/dotenv/lib/main.js +0 -386
  592. package/examples/node_modules/dotenv/package.json +0 -62
  593. package/examples/node_modules/esbuild/install.js +0 -289
  594. package/examples/node_modules/esbuild/lib/main.d.ts +0 -716
  595. package/examples/node_modules/esbuild/lib/main.js +0 -2242
  596. package/examples/node_modules/esbuild/package.json +0 -49
  597. package/examples/node_modules/fsevents/fsevents.d.ts +0 -46
  598. package/examples/node_modules/fsevents/fsevents.js +0 -83
  599. package/examples/node_modules/fsevents/package.json +0 -62
  600. package/examples/node_modules/get-tsconfig/dist/index.mjs +0 -7
  601. package/examples/node_modules/get-tsconfig/package.json +0 -46
  602. package/examples/node_modules/resolve-pkg-maps/dist/index.mjs +0 -1
  603. package/examples/node_modules/resolve-pkg-maps/package.json +0 -42
  604. package/examples/node_modules/tsx/dist/cjs/api/index.mjs +0 -1
  605. package/examples/node_modules/tsx/dist/cjs/index.mjs +0 -1
  606. package/examples/node_modules/tsx/dist/cli.mjs +0 -55
  607. package/examples/node_modules/tsx/dist/client-BQVF1NaW.mjs +0 -1
  608. package/examples/node_modules/tsx/dist/esm/api/index.mjs +0 -1
  609. package/examples/node_modules/tsx/dist/esm/index.mjs +0 -2
  610. package/examples/node_modules/tsx/dist/get-pipe-path-BHW2eJdv.mjs +0 -1
  611. package/examples/node_modules/tsx/dist/index-7AaEi15b.mjs +0 -14
  612. package/examples/node_modules/tsx/dist/index-gbaejti9.mjs +0 -1
  613. package/examples/node_modules/tsx/dist/lexer-DQCqS3nf.mjs +0 -3
  614. package/examples/node_modules/tsx/dist/loader.mjs +0 -1
  615. package/examples/node_modules/tsx/dist/node-features-_8ZFwP_x.mjs +0 -1
  616. package/examples/node_modules/tsx/dist/package-DqlROeDy.mjs +0 -1
  617. package/examples/node_modules/tsx/dist/patch-repl.mjs +0 -1
  618. package/examples/node_modules/tsx/dist/preflight.mjs +0 -1
  619. package/examples/node_modules/tsx/dist/register-B7jrtLTO.mjs +0 -1
  620. package/examples/node_modules/tsx/dist/register-CFH5oNdT.mjs +0 -4
  621. package/examples/node_modules/tsx/dist/repl.mjs +0 -3
  622. package/examples/node_modules/tsx/dist/require-DQxpCAr4.mjs +0 -1
  623. package/examples/node_modules/tsx/dist/suppress-warnings.mjs +0 -1
  624. package/examples/node_modules/tsx/dist/temporary-directory-CwHp0_NW.mjs +0 -1
  625. package/examples/node_modules/tsx/dist/types-Cxp8y2TL.d.ts +0 -5
  626. package/examples/node_modules/tsx/package.json +0 -68
  627. package/examples/node_modules/undici-types/agent.d.ts +0 -31
  628. package/examples/node_modules/undici-types/api.d.ts +0 -43
  629. package/examples/node_modules/undici-types/balanced-pool.d.ts +0 -29
  630. package/examples/node_modules/undici-types/cache.d.ts +0 -36
  631. package/examples/node_modules/undici-types/client.d.ts +0 -108
  632. package/examples/node_modules/undici-types/connector.d.ts +0 -34
  633. package/examples/node_modules/undici-types/content-type.d.ts +0 -21
  634. package/examples/node_modules/undici-types/cookies.d.ts +0 -28
  635. package/examples/node_modules/undici-types/diagnostics-channel.d.ts +0 -66
  636. package/examples/node_modules/undici-types/dispatcher.d.ts +0 -256
  637. package/examples/node_modules/undici-types/env-http-proxy-agent.d.ts +0 -21
  638. package/examples/node_modules/undici-types/errors.d.ts +0 -149
  639. package/examples/node_modules/undici-types/eventsource.d.ts +0 -61
  640. package/examples/node_modules/undici-types/fetch.d.ts +0 -209
  641. package/examples/node_modules/undici-types/file.d.ts +0 -39
  642. package/examples/node_modules/undici-types/filereader.d.ts +0 -54
  643. package/examples/node_modules/undici-types/formdata.d.ts +0 -108
  644. package/examples/node_modules/undici-types/global-dispatcher.d.ts +0 -9
  645. package/examples/node_modules/undici-types/global-origin.d.ts +0 -7
  646. package/examples/node_modules/undici-types/handlers.d.ts +0 -15
  647. package/examples/node_modules/undici-types/header.d.ts +0 -4
  648. package/examples/node_modules/undici-types/index.d.ts +0 -71
  649. package/examples/node_modules/undici-types/interceptors.d.ts +0 -17
  650. package/examples/node_modules/undici-types/mock-agent.d.ts +0 -50
  651. package/examples/node_modules/undici-types/mock-client.d.ts +0 -25
  652. package/examples/node_modules/undici-types/mock-errors.d.ts +0 -12
  653. package/examples/node_modules/undici-types/mock-interceptor.d.ts +0 -93
  654. package/examples/node_modules/undici-types/mock-pool.d.ts +0 -25
  655. package/examples/node_modules/undici-types/package.json +0 -55
  656. package/examples/node_modules/undici-types/patch.d.ts +0 -33
  657. package/examples/node_modules/undici-types/pool-stats.d.ts +0 -19
  658. package/examples/node_modules/undici-types/pool.d.ts +0 -39
  659. package/examples/node_modules/undici-types/proxy-agent.d.ts +0 -28
  660. package/examples/node_modules/undici-types/readable.d.ts +0 -65
  661. package/examples/node_modules/undici-types/retry-agent.d.ts +0 -8
  662. package/examples/node_modules/undici-types/retry-handler.d.ts +0 -116
  663. package/examples/node_modules/undici-types/util.d.ts +0 -18
  664. package/examples/node_modules/undici-types/webidl.d.ts +0 -228
  665. package/examples/node_modules/undici-types/websocket.d.ts +0 -150
  666. package/funcs/billableMetricsCreate.d.ts +0 -19
  667. package/funcs/billableMetricsCreate.d.ts.map +0 -1
  668. package/funcs/billableMetricsGet.d.ts +0 -16
  669. package/funcs/billableMetricsGet.d.ts.map +0 -1
  670. package/funcs/billableMetricsGetPrice.d.ts +0 -16
  671. package/funcs/billableMetricsGetPrice.d.ts.map +0 -1
  672. package/funcs/billableMetricsGetPriceLegacy.d.ts +0 -16
  673. package/funcs/billableMetricsGetPriceLegacy.d.ts.map +0 -1
  674. package/funcs/billableMetricsList.d.ts +0 -15
  675. package/funcs/billableMetricsList.d.ts.map +0 -1
  676. package/funcs/billableMetricsUpdate.d.ts +0 -16
  677. package/funcs/billableMetricsUpdate.d.ts.map +0 -1
  678. package/funcs/consumersGet.d.ts +0 -16
  679. package/funcs/consumersGet.d.ts.map +0 -1
  680. package/funcs/consumersListOffSessionPaymentMethods.d.ts +0 -15
  681. package/funcs/consumersListOffSessionPaymentMethods.d.ts.map +0 -1
  682. package/funcs/customersCheckAuthorizationSessionStatus.d.ts +0 -16
  683. package/funcs/customersCheckAuthorizationSessionStatus.d.ts.map +0 -1
  684. package/funcs/customersCreate.d.ts +0 -18
  685. package/funcs/customersCreate.d.ts.map +0 -1
  686. package/funcs/customersCreateAuthorizationSession.d.ts +0 -19
  687. package/funcs/customersCreateAuthorizationSession.d.ts.map +0 -1
  688. package/funcs/customersGet.d.ts +0 -16
  689. package/funcs/customersGet.d.ts.map +0 -1
  690. package/funcs/customersList.d.ts +0 -15
  691. package/funcs/customersList.d.ts.map +0 -1
  692. package/funcs/customersUpdateCustomer.d.ts +0 -16
  693. package/funcs/customersUpdateCustomer.d.ts.map +0 -1
  694. package/funcs/disputesCreate.d.ts +0 -18
  695. package/funcs/disputesCreate.d.ts.map +0 -1
  696. package/funcs/disputesList.d.ts.map +0 -1
  697. package/funcs/entitlementsCreate.d.ts +0 -18
  698. package/funcs/entitlementsCreate.d.ts.map +0 -1
  699. package/funcs/entitlementsListActive.d.ts +0 -15
  700. package/funcs/entitlementsListActive.d.ts.map +0 -1
  701. package/funcs/externalBankAccountsCreate.d.ts +0 -19
  702. package/funcs/externalBankAccountsCreate.d.ts.map +0 -1
  703. package/funcs/externalBankAccountsDelete.d.ts +0 -18
  704. package/funcs/externalBankAccountsDelete.d.ts.map +0 -1
  705. package/funcs/externalBankAccountsGet.d.ts +0 -19
  706. package/funcs/externalBankAccountsGet.d.ts.map +0 -1
  707. package/funcs/externalBankAccountsList.d.ts +0 -18
  708. package/funcs/externalBankAccountsList.d.ts.map +0 -1
  709. package/funcs/externalBankAccountsUpdate.d.ts +0 -19
  710. package/funcs/externalBankAccountsUpdate.d.ts.map +0 -1
  711. package/funcs/merchantsGet.d.ts +0 -16
  712. package/funcs/merchantsGet.d.ts.map +0 -1
  713. package/funcs/merchantsListEligibleCountries.d.ts +0 -17
  714. package/funcs/merchantsListEligibleCountries.d.ts.map +0 -1
  715. package/funcs/payoutsGet.d.ts +0 -19
  716. package/funcs/payoutsGet.d.ts.map +0 -1
  717. package/funcs/payoutsList.d.ts +0 -18
  718. package/funcs/payoutsList.d.ts.map +0 -1
  719. package/funcs/payoutsListMethods.d.ts +0 -18
  720. package/funcs/payoutsListMethods.d.ts.map +0 -1
  721. package/funcs/plansCreate.d.ts +0 -16
  722. package/funcs/plansCreate.d.ts.map +0 -1
  723. package/funcs/plansGet.d.ts +0 -16
  724. package/funcs/plansGet.d.ts.map +0 -1
  725. package/funcs/plansList.d.ts +0 -15
  726. package/funcs/plansList.d.ts.map +0 -1
  727. package/funcs/plansUpdate.d.ts +0 -16
  728. package/funcs/plansUpdate.d.ts.map +0 -1
  729. package/funcs/pricesCreate.d.ts +0 -16
  730. package/funcs/pricesCreate.d.ts.map +0 -1
  731. package/funcs/pricesGet.d.ts +0 -16
  732. package/funcs/pricesGet.d.ts.map +0 -1
  733. package/funcs/pricesList.d.ts +0 -15
  734. package/funcs/pricesList.d.ts.map +0 -1
  735. package/funcs/pricesUpdate.d.ts +0 -16
  736. package/funcs/pricesUpdate.d.ts.map +0 -1
  737. package/funcs/productsCreate.d.ts +0 -16
  738. package/funcs/productsCreate.d.ts.map +0 -1
  739. package/funcs/productsGet.d.ts +0 -16
  740. package/funcs/productsGet.d.ts.map +0 -1
  741. package/funcs/productsList.d.ts.map +0 -1
  742. package/funcs/productsUpdate.d.ts +0 -16
  743. package/funcs/productsUpdate.d.ts.map +0 -1
  744. package/funcs/sourcesAdd.d.ts +0 -19
  745. package/funcs/sourcesAdd.d.ts.map +0 -1
  746. package/funcs/sourcesApproveEvent.d.ts +0 -19
  747. package/funcs/sourcesApproveEvent.d.ts.map +0 -1
  748. package/funcs/sourcesBulkApproveEvents.d.ts +0 -18
  749. package/funcs/sourcesBulkApproveEvents.d.ts.map +0 -1
  750. package/funcs/sourcesCreate.d.ts +0 -18
  751. package/funcs/sourcesCreate.d.ts.map +0 -1
  752. package/funcs/sourcesDelete.d.ts +0 -15
  753. package/funcs/sourcesDelete.d.ts.map +0 -1
  754. package/funcs/sourcesEventsBulkReject.d.ts +0 -18
  755. package/funcs/sourcesEventsBulkReject.d.ts.map +0 -1
  756. package/funcs/sourcesGet.d.ts +0 -16
  757. package/funcs/sourcesGet.d.ts.map +0 -1
  758. package/funcs/sourcesGetRule.d.ts +0 -16
  759. package/funcs/sourcesGetRule.d.ts.map +0 -1
  760. package/funcs/sourcesList.d.ts +0 -15
  761. package/funcs/sourcesList.d.ts.map +0 -1
  762. package/funcs/sourcesListEvents.d.ts +0 -18
  763. package/funcs/sourcesListEvents.d.ts.map +0 -1
  764. package/funcs/sourcesListRules.d.ts +0 -18
  765. package/funcs/sourcesListRules.d.ts.map +0 -1
  766. package/funcs/sourcesRejectEvent.d.ts +0 -19
  767. package/funcs/sourcesRejectEvent.d.ts.map +0 -1
  768. package/funcs/sourcesUpdate.d.ts +0 -16
  769. package/funcs/sourcesUpdate.d.ts.map +0 -1
  770. package/funcs/sourcesUpdateRule.d.ts +0 -16
  771. package/funcs/sourcesUpdateRule.d.ts.map +0 -1
  772. package/funcs/subscriptionsGeneratePortalLink.d.ts +0 -19
  773. package/funcs/subscriptionsGeneratePortalLink.d.ts.map +0 -1
  774. package/funcs/subscriptionsGet.d.ts +0 -16
  775. package/funcs/subscriptionsGet.d.ts.map +0 -1
  776. package/funcs/subscriptionsList.d.ts +0 -15
  777. package/funcs/subscriptionsList.d.ts.map +0 -1
  778. package/funcs/usageEventsBatchCreate.d.ts +0 -19
  779. package/funcs/usageEventsBatchCreate.d.ts.map +0 -1
  780. package/funcs/usageEventsCreate.d.ts +0 -18
  781. package/funcs/usageEventsCreate.d.ts.map +0 -1
  782. package/funcs/usageEventsGet.d.ts +0 -16
  783. package/funcs/usageEventsGet.d.ts.map +0 -1
  784. package/funcs/usageEventsList.d.ts +0 -15
  785. package/funcs/usageEventsList.d.ts.map +0 -1
  786. package/funcs/usersGet.d.ts +0 -16
  787. package/funcs/usersGet.d.ts.map +0 -1
  788. package/funcs/usersUpdate.d.ts +0 -16
  789. package/funcs/usersUpdate.d.ts.map +0 -1
  790. package/funcs/walletsCreateTopup.d.ts +0 -16
  791. package/funcs/walletsCreateTopup.d.ts.map +0 -1
  792. package/funcs/walletsGet.d.ts +0 -16
  793. package/funcs/walletsGet.d.ts.map +0 -1
  794. package/funcs/walletsGetTopup.d.ts +0 -16
  795. package/funcs/walletsGetTopup.d.ts.map +0 -1
  796. package/funcs/walletsList.d.ts +0 -15
  797. package/funcs/walletsList.d.ts.map +0 -1
  798. package/funcs/walletsListTopups.d.ts +0 -15
  799. package/funcs/walletsListTopups.d.ts.map +0 -1
  800. package/hooks/hooks.d.ts +0 -25
  801. package/hooks/hooks.d.ts.map +0 -1
  802. package/hooks/index.d.ts +0 -3
  803. package/hooks/index.d.ts.map +0 -1
  804. package/hooks/registration.d.ts +0 -3
  805. package/hooks/registration.d.ts.map +0 -1
  806. package/hooks/types.d.ts +0 -76
  807. package/hooks/types.d.ts.map +0 -1
  808. package/index.d.ts +0 -6
  809. package/index.d.ts.map +0 -1
  810. package/lib/base64.d.ts +0 -10
  811. package/lib/base64.d.ts.map +0 -1
  812. package/lib/config.d.ts +0 -38
  813. package/lib/config.d.ts.map +0 -1
  814. package/lib/dlv.d.ts +0 -14
  815. package/lib/dlv.d.ts.map +0 -1
  816. package/lib/encodings.d.ts +0 -52
  817. package/lib/encodings.d.ts.map +0 -1
  818. package/lib/env.d.ts +0 -15
  819. package/lib/env.d.ts.map +0 -1
  820. package/lib/files.d.ts +0 -13
  821. package/lib/files.d.ts.map +0 -1
  822. package/lib/http.d.ts +0 -67
  823. package/lib/http.d.ts.map +0 -1
  824. package/lib/is-plain-object.d.ts +0 -2
  825. package/lib/is-plain-object.d.ts.map +0 -1
  826. package/lib/logger.d.ts +0 -6
  827. package/lib/logger.d.ts.map +0 -1
  828. package/lib/matchers.d.ts +0 -59
  829. package/lib/matchers.d.ts.map +0 -1
  830. package/lib/primitives.d.ts +0 -26
  831. package/lib/primitives.d.ts.map +0 -1
  832. package/lib/retries.d.ts +0 -38
  833. package/lib/retries.d.ts.map +0 -1
  834. package/lib/schemas.d.ts +0 -19
  835. package/lib/schemas.d.ts.map +0 -1
  836. package/lib/sdks.d.ts +0 -63
  837. package/lib/sdks.d.ts.map +0 -1
  838. package/lib/security.d.ts +0 -83
  839. package/lib/security.d.ts.map +0 -1
  840. package/lib/url.d.ts +0 -5
  841. package/lib/url.d.ts.map +0 -1
  842. package/models/activeentitlement.d.ts +0 -87
  843. package/models/activeentitlement.d.ts.map +0 -1
  844. package/models/address.d.ts +0 -42
  845. package/models/address.d.ts.map +0 -1
  846. package/models/authorizationsession.d.ts +0 -78
  847. package/models/authorizationsession.d.ts.map +0 -1
  848. package/models/batchusageeventresponse.d.ts +0 -147
  849. package/models/batchusageeventresponse.d.ts.map +0 -1
  850. package/models/billablemetric.d.ts +0 -110
  851. package/models/billablemetric.d.ts.map +0 -1
  852. package/models/componentsschemasprice.d.ts +0 -104
  853. package/models/componentsschemasprice.d.ts.map +0 -1
  854. package/models/consumer.d.ts +0 -81
  855. package/models/consumer.d.ts.map +0 -1
  856. package/models/createdisputerequest.d.ts +0 -37
  857. package/models/createdisputerequest.d.ts.map +0 -1
  858. package/models/createentitlementrequest.d.ts +0 -85
  859. package/models/createentitlementrequest.d.ts.map +0 -1
  860. package/models/createrulerequest.d.ts +0 -58
  861. package/models/createrulerequest.d.ts.map +0 -1
  862. package/models/createusageeventrequest.d.ts +0 -101
  863. package/models/createusageeventrequest.d.ts.map +0 -1
  864. package/models/customer.d.ts +0 -121
  865. package/models/customer.d.ts.map +0 -1
  866. package/models/dispute.d.ts +0 -136
  867. package/models/dispute.d.ts.map +0 -1
  868. package/models/disputewithcustomer.d.ts +0 -167
  869. package/models/disputewithcustomer.d.ts.map +0 -1
  870. package/models/entitlement.d.ts +0 -140
  871. package/models/entitlement.d.ts.map +0 -1
  872. package/models/errors/badrequest.d.ts +0 -30
  873. package/models/errors/badrequest.d.ts.map +0 -1
  874. package/models/errors/error.d.ts +0 -68
  875. package/models/errors/error.d.ts.map +0 -1
  876. package/models/errors/httpclienterrors.d.ts +0 -44
  877. package/models/errors/httpclienterrors.d.ts.map +0 -1
  878. package/models/errors/index.d.ts +0 -9
  879. package/models/errors/index.d.ts.map +0 -1
  880. package/models/errors/paygenticdefaulterror.d.ts +0 -10
  881. package/models/errors/paygenticdefaulterror.d.ts.map +0 -1
  882. package/models/errors/paygenticerror.d.ts +0 -19
  883. package/models/errors/paygenticerror.d.ts.map +0 -1
  884. package/models/errors/responsevalidationerror.d.ts +0 -26
  885. package/models/errors/responsevalidationerror.d.ts.map +0 -1
  886. package/models/errors/sdkvalidationerror.d.ts +0 -21
  887. package/models/errors/sdkvalidationerror.d.ts.map +0 -1
  888. package/models/errors/validationerror.d.ts +0 -57
  889. package/models/errors/validationerror.d.ts.map +0 -1
  890. package/models/externalbankaccount.d.ts +0 -190
  891. package/models/externalbankaccount.d.ts.map +0 -1
  892. package/models/index.d.ts +0 -41
  893. package/models/index.d.ts.map +0 -1
  894. package/models/merchant.d.ts +0 -115
  895. package/models/merchant.d.ts.map +0 -1
  896. package/models/offsessionpaymentmethod.d.ts +0 -42
  897. package/models/offsessionpaymentmethod.d.ts.map +0 -1
  898. package/models/offsetpagination.d.ts +0 -45
  899. package/models/offsetpagination.d.ts.map +0 -1
  900. package/models/operations/approvesourceevent.d.ts +0 -31
  901. package/models/operations/approvesourceevent.d.ts.map +0 -1
  902. package/models/operations/batchcreateusageevents.d.ts +0 -30
  903. package/models/operations/batchcreateusageevents.d.ts.map +0 -1
  904. package/models/operations/bulkapprovesourceevents.d.ts +0 -157
  905. package/models/operations/bulkapprovesourceevents.d.ts.map +0 -1
  906. package/models/operations/bulkrejectsourceevents.d.ts +0 -90
  907. package/models/operations/bulkrejectsourceevents.d.ts.map +0 -1
  908. package/models/operations/checkauthorizationsessionstatus.d.ts +0 -32
  909. package/models/operations/checkauthorizationsessionstatus.d.ts.map +0 -1
  910. package/models/operations/createauthorizationsession.d.ts +0 -47
  911. package/models/operations/createauthorizationsession.d.ts.map +0 -1
  912. package/models/operations/createbillablemetric.d.ts +0 -86
  913. package/models/operations/createbillablemetric.d.ts.map +0 -1
  914. package/models/operations/createcustomer.d.ts +0 -163
  915. package/models/operations/createcustomer.d.ts.map +0 -1
  916. package/models/operations/createexternalbankaccount.d.ts +0 -108
  917. package/models/operations/createexternalbankaccount.d.ts.map +0 -1
  918. package/models/operations/createplan.d.ts +0 -87
  919. package/models/operations/createplan.d.ts.map +0 -1
  920. package/models/operations/createprice.d.ts +0 -83
  921. package/models/operations/createprice.d.ts.map +0 -1
  922. package/models/operations/createproduct.d.ts +0 -71
  923. package/models/operations/createproduct.d.ts.map +0 -1
  924. package/models/operations/createsource.d.ts +0 -135
  925. package/models/operations/createsource.d.ts.map +0 -1
  926. package/models/operations/createwallettopup.d.ts +0 -101
  927. package/models/operations/createwallettopup.d.ts.map +0 -1
  928. package/models/operations/deleteexternalbankaccount.d.ts +0 -32
  929. package/models/operations/deleteexternalbankaccount.d.ts.map +0 -1
  930. package/models/operations/deletesourcerule.d.ts +0 -29
  931. package/models/operations/deletesourcerule.d.ts.map +0 -1
  932. package/models/operations/generateportallink.d.ts +0 -32
  933. package/models/operations/generateportallink.d.ts.map +0 -1
  934. package/models/operations/getactiveentitlements.d.ts +0 -127
  935. package/models/operations/getactiveentitlements.d.ts.map +0 -1
  936. package/models/operations/getbillablemetric.d.ts +0 -29
  937. package/models/operations/getbillablemetric.d.ts.map +0 -1
  938. package/models/operations/getbillablemetricprice.d.ts +0 -31
  939. package/models/operations/getbillablemetricprice.d.ts.map +0 -1
  940. package/models/operations/getbillablemetricpricelegacy.d.ts +0 -31
  941. package/models/operations/getbillablemetricpricelegacy.d.ts.map +0 -1
  942. package/models/operations/getconsumer.d.ts +0 -29
  943. package/models/operations/getconsumer.d.ts.map +0 -1
  944. package/models/operations/getcustomer.d.ts +0 -32
  945. package/models/operations/getcustomer.d.ts.map +0 -1
  946. package/models/operations/getexternalbankaccount.d.ts +0 -32
  947. package/models/operations/getexternalbankaccount.d.ts.map +0 -1
  948. package/models/operations/getmerchant.d.ts +0 -32
  949. package/models/operations/getmerchant.d.ts.map +0 -1
  950. package/models/operations/getpayoutbyid.d.ts +0 -32
  951. package/models/operations/getpayoutbyid.d.ts.map +0 -1
  952. package/models/operations/getpayoutmethods.d.ts +0 -58
  953. package/models/operations/getpayoutmethods.d.ts.map +0 -1
  954. package/models/operations/getplan.d.ts +0 -32
  955. package/models/operations/getplan.d.ts.map +0 -1
  956. package/models/operations/getprice.d.ts +0 -32
  957. package/models/operations/getprice.d.ts.map +0 -1
  958. package/models/operations/getproduct.d.ts +0 -32
  959. package/models/operations/getproduct.d.ts.map +0 -1
  960. package/models/operations/getsource.d.ts +0 -32
  961. package/models/operations/getsource.d.ts.map +0 -1
  962. package/models/operations/getsourcerule.d.ts +0 -29
  963. package/models/operations/getsourcerule.d.ts.map +0 -1
  964. package/models/operations/getsubscription.d.ts +0 -29
  965. package/models/operations/getsubscription.d.ts.map +0 -1
  966. package/models/operations/getusageevent.d.ts +0 -29
  967. package/models/operations/getusageevent.d.ts.map +0 -1
  968. package/models/operations/getuser.d.ts +0 -29
  969. package/models/operations/getuser.d.ts.map +0 -1
  970. package/models/operations/getwallet.d.ts +0 -29
  971. package/models/operations/getwallet.d.ts.map +0 -1
  972. package/models/operations/getwallettopup.d.ts +0 -37
  973. package/models/operations/getwallettopup.d.ts.map +0 -1
  974. package/models/operations/index.d.ts +0 -64
  975. package/models/operations/index.d.ts.map +0 -1
  976. package/models/operations/listbillablemetrics.d.ts +0 -132
  977. package/models/operations/listbillablemetrics.d.ts.map +0 -1
  978. package/models/operations/listcustomers.d.ts +0 -101
  979. package/models/operations/listcustomers.d.ts.map +0 -1
  980. package/models/operations/listdisputes.d.ts +0 -178
  981. package/models/operations/listdisputes.d.ts.map +0 -1
  982. package/models/operations/listexternalbankaccounts.d.ts +0 -98
  983. package/models/operations/listexternalbankaccounts.d.ts.map +0 -1
  984. package/models/operations/listoffsessionpaymentmethods.d.ts +0 -83
  985. package/models/operations/listoffsessionpaymentmethods.d.ts.map +0 -1
  986. package/models/operations/listpayouts.d.ts +0 -129
  987. package/models/operations/listpayouts.d.ts.map +0 -1
  988. package/models/operations/listplans.d.ts +0 -107
  989. package/models/operations/listplans.d.ts.map +0 -1
  990. package/models/operations/listprices.d.ts +0 -102
  991. package/models/operations/listprices.d.ts.map +0 -1
  992. package/models/operations/listproducts.d.ts +0 -76
  993. package/models/operations/listproducts.d.ts.map +0 -1
  994. package/models/operations/listsourceevents.d.ts +0 -110
  995. package/models/operations/listsourceevents.d.ts.map +0 -1
  996. package/models/operations/listsourcerules.d.ts +0 -61
  997. package/models/operations/listsourcerules.d.ts.map +0 -1
  998. package/models/operations/listsources.d.ts +0 -75
  999. package/models/operations/listsources.d.ts.map +0 -1
  1000. package/models/operations/listsubscriptions.d.ts +0 -105
  1001. package/models/operations/listsubscriptions.d.ts.map +0 -1
  1002. package/models/operations/listusageevents.d.ts +0 -126
  1003. package/models/operations/listusageevents.d.ts.map +0 -1
  1004. package/models/operations/listwallets.d.ts +0 -101
  1005. package/models/operations/listwallets.d.ts.map +0 -1
  1006. package/models/operations/listwallettopups.d.ts +0 -153
  1007. package/models/operations/listwallettopups.d.ts.map +0 -1
  1008. package/models/operations/rejectsourceevent.d.ts +0 -31
  1009. package/models/operations/rejectsourceevent.d.ts.map +0 -1
  1010. package/models/operations/updatebillablemetric.d.ts +0 -69
  1011. package/models/operations/updatebillablemetric.d.ts.map +0 -1
  1012. package/models/operations/updatecustomer.d.ts +0 -88
  1013. package/models/operations/updatecustomer.d.ts.map +0 -1
  1014. package/models/operations/updateexternalbankaccount.d.ts +0 -123
  1015. package/models/operations/updateexternalbankaccount.d.ts.map +0 -1
  1016. package/models/operations/updateplan.d.ts +0 -96
  1017. package/models/operations/updateplan.d.ts.map +0 -1
  1018. package/models/operations/updateprice.d.ts +0 -113
  1019. package/models/operations/updateprice.d.ts.map +0 -1
  1020. package/models/operations/updateproduct.d.ts +0 -67
  1021. package/models/operations/updateproduct.d.ts.map +0 -1
  1022. package/models/operations/updatesource.d.ts +0 -127
  1023. package/models/operations/updatesource.d.ts.map +0 -1
  1024. package/models/operations/updatesourcerule.d.ts +0 -32
  1025. package/models/operations/updatesourcerule.d.ts.map +0 -1
  1026. package/models/operations/updateuser.d.ts +0 -115
  1027. package/models/operations/updateuser.d.ts.map +0 -1
  1028. package/models/paymentoptions.d.ts +0 -55
  1029. package/models/paymentoptions.d.ts.map +0 -1
  1030. package/models/payout.d.ts +0 -220
  1031. package/models/payout.d.ts.map +0 -1
  1032. package/models/payoutmethod.d.ts +0 -86
  1033. package/models/payoutmethod.d.ts.map +0 -1
  1034. package/models/plan.d.ts +0 -103
  1035. package/models/plan.d.ts.map +0 -1
  1036. package/models/price.d.ts +0 -240
  1037. package/models/price.d.ts.map +0 -1
  1038. package/models/pricepropertiesunion.d.ts +0 -197
  1039. package/models/pricepropertiesunion.d.ts.map +0 -1
  1040. package/models/product.d.ts +0 -76
  1041. package/models/product.d.ts.map +0 -1
  1042. package/models/rulecondition.d.ts +0 -219
  1043. package/models/rulecondition.d.ts.map +0 -1
  1044. package/models/schemasprice.d.ts +0 -110
  1045. package/models/schemasprice.d.ts.map +0 -1
  1046. package/models/security.d.ts +0 -29
  1047. package/models/security.d.ts.map +0 -1
  1048. package/models/source.d.ts +0 -140
  1049. package/models/source.d.ts.map +0 -1
  1050. package/models/sourceevent.d.ts +0 -91
  1051. package/models/sourceevent.d.ts.map +0 -1
  1052. package/models/sourcerule.d.ts +0 -96
  1053. package/models/sourcerule.d.ts.map +0 -1
  1054. package/models/subscription.d.ts +0 -112
  1055. package/models/subscription.d.ts.map +0 -1
  1056. package/models/subscriptionportal.d.ts +0 -62
  1057. package/models/subscriptionportal.d.ts.map +0 -1
  1058. package/models/topupresponse.d.ts +0 -171
  1059. package/models/topupresponse.d.ts.map +0 -1
  1060. package/models/updaterulerequest.d.ts +0 -53
  1061. package/models/updaterulerequest.d.ts.map +0 -1
  1062. package/models/usageevent.d.ts +0 -177
  1063. package/models/usageevent.d.ts.map +0 -1
  1064. package/models/user.d.ts +0 -109
  1065. package/models/user.d.ts.map +0 -1
  1066. package/models/validationerror.d.ts +0 -71
  1067. package/models/validationerror.d.ts.map +0 -1
  1068. package/models/wallet.d.ts +0 -107
  1069. package/models/wallet.d.ts.map +0 -1
  1070. package/sdk/billablemetrics.d.ts +0 -33
  1071. package/sdk/billablemetrics.d.ts.map +0 -1
  1072. package/sdk/consumers.d.ts +0 -14
  1073. package/sdk/consumers.d.ts.map +0 -1
  1074. package/sdk/customers.d.ts +0 -36
  1075. package/sdk/customers.d.ts.map +0 -1
  1076. package/sdk/disputes.d.ts +0 -20
  1077. package/sdk/disputes.d.ts.map +0 -1
  1078. package/sdk/entitlements.d.ts +0 -17
  1079. package/sdk/entitlements.d.ts.map +0 -1
  1080. package/sdk/events.d.ts +0 -12
  1081. package/sdk/events.d.ts.map +0 -1
  1082. package/sdk/externalbankaccounts.d.ts +0 -41
  1083. package/sdk/externalbankaccounts.d.ts.map +0 -1
  1084. package/sdk/index.d.ts +0 -2
  1085. package/sdk/index.d.ts.map +0 -1
  1086. package/sdk/merchants.d.ts +0 -17
  1087. package/sdk/merchants.d.ts.map +0 -1
  1088. package/sdk/payouts.d.ts +0 -27
  1089. package/sdk/payouts.d.ts.map +0 -1
  1090. package/sdk/plans.d.ts +0 -22
  1091. package/sdk/plans.d.ts.map +0 -1
  1092. package/sdk/prices.d.ts +0 -22
  1093. package/sdk/prices.d.ts.map +0 -1
  1094. package/sdk/products.d.ts +0 -22
  1095. package/sdk/products.d.ts.map +0 -1
  1096. package/sdk/sdk.d.ts +0 -52
  1097. package/sdk/sdk.d.ts.map +0 -1
  1098. package/sdk/sources.d.ts +0 -82
  1099. package/sdk/sources.d.ts.map +0 -1
  1100. package/sdk/subscriptions.d.ts +0 -21
  1101. package/sdk/subscriptions.d.ts.map +0 -1
  1102. package/sdk/usageevents.d.ts +0 -28
  1103. package/sdk/usageevents.d.ts.map +0 -1
  1104. package/sdk/users.d.ts +0 -14
  1105. package/sdk/users.d.ts.map +0 -1
  1106. package/sdk/wallets.d.ts +0 -26
  1107. package/sdk/wallets.d.ts.map +0 -1
  1108. package/src/models/paymentoptions.ts +0 -96
  1109. package/types/async.d.ts +0 -23
  1110. package/types/async.d.ts.map +0 -1
  1111. package/types/blobs.d.ts +0 -4
  1112. package/types/blobs.d.ts.map +0 -1
  1113. package/types/constdatetime.d.ts +0 -3
  1114. package/types/constdatetime.d.ts.map +0 -1
  1115. package/types/decimal.d.ts +0 -2
  1116. package/types/decimal.d.ts.map +0 -1
  1117. package/types/enums.d.ts +0 -12
  1118. package/types/enums.d.ts.map +0 -1
  1119. package/types/fp.d.ts +0 -31
  1120. package/types/fp.d.ts.map +0 -1
  1121. package/types/index.d.ts +0 -9
  1122. package/types/index.d.ts.map +0 -1
  1123. package/types/operations.d.ts +0 -27
  1124. package/types/operations.d.ts.map +0 -1
  1125. package/types/rfcdate.d.ts +0 -21
  1126. package/types/rfcdate.d.ts.map +0 -1
  1127. package/types/streams.d.ts +0 -2
  1128. package/types/streams.d.ts.map +0 -1
@@ -1,108 +0,0 @@
1
- import * as z from "zod";
2
- import { ClosedEnum } from "../../types/enums.js";
3
- import { Result as SafeParseResult } from "../../types/fp.js";
4
- import { SDKValidationError } from "../errors/sdkvalidationerror.js";
5
- /**
6
- * Type of account holder
7
- */
8
- export declare const CreateExternalBankAccountAccountHolderType: {
9
- readonly Individual: "individual";
10
- readonly Company: "company";
11
- };
12
- /**
13
- * Type of account holder
14
- */
15
- export type CreateExternalBankAccountAccountHolderType = ClosedEnum<typeof CreateExternalBankAccountAccountHolderType>;
16
- export type CreateExternalBankAccountRequest = {
17
- /**
18
- * Unique identifier for an organization
19
- */
20
- organizationId: string;
21
- /**
22
- * ISO 3166-1 alpha-2 country code
23
- */
24
- countryCode: string;
25
- /**
26
- * Name of the bank
27
- */
28
- bankName: string;
29
- /**
30
- * Currency code for the account
31
- */
32
- currency: string;
33
- /**
34
- * Bank account number
35
- */
36
- accountNumber: string;
37
- /**
38
- * Bank routing number
39
- */
40
- routingNumber: string;
41
- /**
42
- * Name of the account holder
43
- */
44
- accountHolderName: string;
45
- /**
46
- * Type of account holder
47
- */
48
- accountHolderType: CreateExternalBankAccountAccountHolderType;
49
- /**
50
- * Additional metadata for the account
51
- */
52
- metadata?: {
53
- [k: string]: any;
54
- } | undefined;
55
- };
56
- /** @internal */
57
- export declare const CreateExternalBankAccountAccountHolderType$inboundSchema: z.ZodNativeEnum<typeof CreateExternalBankAccountAccountHolderType>;
58
- /** @internal */
59
- export declare const CreateExternalBankAccountAccountHolderType$outboundSchema: z.ZodNativeEnum<typeof CreateExternalBankAccountAccountHolderType>;
60
- /**
61
- * @internal
62
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
63
- */
64
- export declare namespace CreateExternalBankAccountAccountHolderType$ {
65
- /** @deprecated use `CreateExternalBankAccountAccountHolderType$inboundSchema` instead. */
66
- const inboundSchema: z.ZodNativeEnum<{
67
- readonly Individual: "individual";
68
- readonly Company: "company";
69
- }>;
70
- /** @deprecated use `CreateExternalBankAccountAccountHolderType$outboundSchema` instead. */
71
- const outboundSchema: z.ZodNativeEnum<{
72
- readonly Individual: "individual";
73
- readonly Company: "company";
74
- }>;
75
- }
76
- /** @internal */
77
- export declare const CreateExternalBankAccountRequest$inboundSchema: z.ZodType<CreateExternalBankAccountRequest, z.ZodTypeDef, unknown>;
78
- /** @internal */
79
- export type CreateExternalBankAccountRequest$Outbound = {
80
- organizationId: string;
81
- countryCode: string;
82
- bankName: string;
83
- currency: string;
84
- accountNumber: string;
85
- routingNumber: string;
86
- accountHolderName: string;
87
- accountHolderType: string;
88
- metadata?: {
89
- [k: string]: any;
90
- } | undefined;
91
- };
92
- /** @internal */
93
- export declare const CreateExternalBankAccountRequest$outboundSchema: z.ZodType<CreateExternalBankAccountRequest$Outbound, z.ZodTypeDef, CreateExternalBankAccountRequest>;
94
- /**
95
- * @internal
96
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
97
- */
98
- export declare namespace CreateExternalBankAccountRequest$ {
99
- /** @deprecated use `CreateExternalBankAccountRequest$inboundSchema` instead. */
100
- const inboundSchema: z.ZodType<CreateExternalBankAccountRequest, z.ZodTypeDef, unknown>;
101
- /** @deprecated use `CreateExternalBankAccountRequest$outboundSchema` instead. */
102
- const outboundSchema: z.ZodType<CreateExternalBankAccountRequest$Outbound, z.ZodTypeDef, CreateExternalBankAccountRequest>;
103
- /** @deprecated use `CreateExternalBankAccountRequest$Outbound` instead. */
104
- type Outbound = CreateExternalBankAccountRequest$Outbound;
105
- }
106
- export declare function createExternalBankAccountRequestToJSON(createExternalBankAccountRequest: CreateExternalBankAccountRequest): string;
107
- export declare function createExternalBankAccountRequestFromJSON(jsonString: string): SafeParseResult<CreateExternalBankAccountRequest, SDKValidationError>;
108
- //# sourceMappingURL=createexternalbankaccount.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"createexternalbankaccount.d.ts","sourceRoot":"","sources":["../../src/models/operations/createexternalbankaccount.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE;;GAEG;AACH,eAAO,MAAM,0CAA0C;;;CAG7C,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,0CAA0C,GAAG,UAAU,CACjE,OAAO,0CAA0C,CAClD,CAAC;AAEF,MAAM,MAAM,gCAAgC,GAAG;IAC7C;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,QAA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C,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,+CAA+C,EAAE,CAAC,CAAC,OAAO,CACrE,yCAAyC,EACzC,CAAC,CAAC,UAAU,EACZ,gCAAgC,CAWhC,CAAC;AAEH;;;GAGG;AACH,yBAAiB,iCAAiC,CAAC;IACjD,gFAAgF;IACzE,MAAM,aAAa,oEAAiD,CAAC;IAC5E,iFAAiF;IAC1E,MAAM,cAAc,sGAAkD,CAAC;IAC9E,2EAA2E;IAC3E,KAAY,QAAQ,GAAG,yCAAyC,CAAC;CAClE;AAED,wBAAgB,sCAAsC,CACpD,gCAAgC,EAAE,gCAAgC,GACjE,MAAM,CAMR;AAED,wBAAgB,wCAAwC,CACtD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,gCAAgC,EAAE,kBAAkB,CAAC,CAMvE"}
@@ -1,87 +0,0 @@
1
- import * as z from "zod";
2
- import { Result as SafeParseResult } from "../../types/fp.js";
3
- import { SDKValidationError } from "../errors/sdkvalidationerror.js";
4
- import * as models from "../index.js";
5
- export type CreatePlanRequest = {
6
- /**
7
- * Name of the plan
8
- */
9
- name: string;
10
- /**
11
- * Display name for invoices
12
- */
13
- invoiceDisplayName?: string | undefined;
14
- /**
15
- * Description of the plan
16
- */
17
- description?: string | undefined;
18
- /**
19
- * Billing interval for the plan
20
- */
21
- billingInterval?: string | undefined;
22
- /**
23
- * Currency for the plan
24
- */
25
- currency?: string | undefined;
26
- /**
27
- * Unique identifier for an organization
28
- */
29
- merchantId: string;
30
- /**
31
- * Unique identifier for a product
32
- */
33
- productId?: string | undefined;
34
- /**
35
- * Tax configuration for the plan
36
- */
37
- tax?: {
38
- [k: string]: any;
39
- } | undefined;
40
- /**
41
- * Array of price IDs to associate with this plan
42
- */
43
- prices?: Array<string> | undefined;
44
- /**
45
- * Price as a decimal string (e.g., '10.99')
46
- */
47
- price?: string | undefined;
48
- /**
49
- * Payment options for the plan, pre/post paid, pay as you go, outOfBand payments.
50
- */
51
- paymentOptions?: models.PaymentOptions | undefined;
52
- };
53
- /** @internal */
54
- export declare const CreatePlanRequest$inboundSchema: z.ZodType<CreatePlanRequest, z.ZodTypeDef, unknown>;
55
- /** @internal */
56
- export type CreatePlanRequest$Outbound = {
57
- name: string;
58
- invoiceDisplayName?: string | undefined;
59
- description?: string | undefined;
60
- billingInterval?: string | undefined;
61
- currency?: string | undefined;
62
- merchantId: string;
63
- productId?: string | undefined;
64
- tax?: {
65
- [k: string]: any;
66
- } | undefined;
67
- prices?: Array<string> | undefined;
68
- price?: string | undefined;
69
- paymentOptions?: models.PaymentOptions$Outbound | undefined;
70
- };
71
- /** @internal */
72
- export declare const CreatePlanRequest$outboundSchema: z.ZodType<CreatePlanRequest$Outbound, z.ZodTypeDef, CreatePlanRequest>;
73
- /**
74
- * @internal
75
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
76
- */
77
- export declare namespace CreatePlanRequest$ {
78
- /** @deprecated use `CreatePlanRequest$inboundSchema` instead. */
79
- const inboundSchema: z.ZodType<CreatePlanRequest, z.ZodTypeDef, unknown>;
80
- /** @deprecated use `CreatePlanRequest$outboundSchema` instead. */
81
- const outboundSchema: z.ZodType<CreatePlanRequest$Outbound, z.ZodTypeDef, CreatePlanRequest>;
82
- /** @deprecated use `CreatePlanRequest$Outbound` instead. */
83
- type Outbound = CreatePlanRequest$Outbound;
84
- }
85
- export declare function createPlanRequestToJSON(createPlanRequest: CreatePlanRequest): string;
86
- export declare function createPlanRequestFromJSON(jsonString: string): SafeParseResult<CreatePlanRequest, SDKValidationError>;
87
- //# sourceMappingURL=createplan.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"createplan.d.ts","sourceRoot":"","sources":["../../src/models/operations/createplan.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAA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,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,GAAG,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,GAAG,SAAS,CAAC;IACvC,MAAM,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;IACnC,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,cAAc,CAAC,EAAE,MAAM,CAAC,uBAAuB,GAAG,SAAS,CAAC;CAC7D,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,gCAAgC,EAAE,CAAC,CAAC,OAAO,CACtD,0BAA0B,EAC1B,CAAC,CAAC,UAAU,EACZ,iBAAiB,CAajB,CAAC;AAEH;;;GAGG;AACH,yBAAiB,kBAAkB,CAAC;IAClC,iEAAiE;IAC1D,MAAM,aAAa,qDAAkC,CAAC;IAC7D,kEAAkE;IAC3D,MAAM,cAAc,wEAAmC,CAAC;IAC/D,4DAA4D;IAC5D,KAAY,QAAQ,GAAG,0BAA0B,CAAC;CACnD;AAED,wBAAgB,uBAAuB,CACrC,iBAAiB,EAAE,iBAAiB,GACnC,MAAM,CAIR;AAED,wBAAgB,yBAAyB,CACvC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,iBAAiB,EAAE,kBAAkB,CAAC,CAMxD"}
@@ -1,83 +0,0 @@
1
- import * as z from "zod";
2
- import { ClosedEnum } from "../../types/enums.js";
3
- import { Result as SafeParseResult } from "../../types/fp.js";
4
- import { SDKValidationError } from "../errors/sdkvalidationerror.js";
5
- import * as models from "../index.js";
6
- /**
7
- * The pricing model to be used, which can be standard, dynamic, volume-based, or percentage-based.
8
- */
9
- export declare const CreatePriceModel: {
10
- readonly Standard: "standard";
11
- readonly Dynamic: "dynamic";
12
- readonly Volume: "volume";
13
- readonly Percentage: "percentage";
14
- };
15
- /**
16
- * The pricing model to be used, which can be standard, dynamic, volume-based, or percentage-based.
17
- */
18
- export type CreatePriceModel = ClosedEnum<typeof CreatePriceModel>;
19
- export type CreatePriceRequest = {
20
- /**
21
- * Unique identifier for a billable metric
22
- */
23
- billableMetricId: string;
24
- /**
25
- * The pricing model to be used, which can be standard, dynamic, volume-based, or percentage-based.
26
- */
27
- model: CreatePriceModel;
28
- /**
29
- * The name that will be displayed on invoices for this price.
30
- */
31
- invoiceDisplayName: string;
32
- properties: models.PricePropertiesUnion;
33
- };
34
- /** @internal */
35
- export declare const CreatePriceModel$inboundSchema: z.ZodNativeEnum<typeof CreatePriceModel>;
36
- /** @internal */
37
- export declare const CreatePriceModel$outboundSchema: z.ZodNativeEnum<typeof CreatePriceModel>;
38
- /**
39
- * @internal
40
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
41
- */
42
- export declare namespace CreatePriceModel$ {
43
- /** @deprecated use `CreatePriceModel$inboundSchema` instead. */
44
- const inboundSchema: z.ZodNativeEnum<{
45
- readonly Standard: "standard";
46
- readonly Dynamic: "dynamic";
47
- readonly Volume: "volume";
48
- readonly Percentage: "percentage";
49
- }>;
50
- /** @deprecated use `CreatePriceModel$outboundSchema` instead. */
51
- const outboundSchema: z.ZodNativeEnum<{
52
- readonly Standard: "standard";
53
- readonly Dynamic: "dynamic";
54
- readonly Volume: "volume";
55
- readonly Percentage: "percentage";
56
- }>;
57
- }
58
- /** @internal */
59
- export declare const CreatePriceRequest$inboundSchema: z.ZodType<CreatePriceRequest, z.ZodTypeDef, unknown>;
60
- /** @internal */
61
- export type CreatePriceRequest$Outbound = {
62
- billableMetricId: string;
63
- model: string;
64
- invoiceDisplayName: string;
65
- properties: models.PricePropertiesUnion$Outbound;
66
- };
67
- /** @internal */
68
- export declare const CreatePriceRequest$outboundSchema: z.ZodType<CreatePriceRequest$Outbound, z.ZodTypeDef, CreatePriceRequest>;
69
- /**
70
- * @internal
71
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
72
- */
73
- export declare namespace CreatePriceRequest$ {
74
- /** @deprecated use `CreatePriceRequest$inboundSchema` instead. */
75
- const inboundSchema: z.ZodType<CreatePriceRequest, z.ZodTypeDef, unknown>;
76
- /** @deprecated use `CreatePriceRequest$outboundSchema` instead. */
77
- const outboundSchema: z.ZodType<CreatePriceRequest$Outbound, z.ZodTypeDef, CreatePriceRequest>;
78
- /** @deprecated use `CreatePriceRequest$Outbound` instead. */
79
- type Outbound = CreatePriceRequest$Outbound;
80
- }
81
- export declare function createPriceRequestToJSON(createPriceRequest: CreatePriceRequest): string;
82
- export declare function createPriceRequestFromJSON(jsonString: string): SafeParseResult<CreatePriceRequest, SDKValidationError>;
83
- //# sourceMappingURL=createprice.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"createprice.d.ts","sourceRoot":"","sources":["../../src/models/operations/createprice.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,KAAK,MAAM,MAAM,aAAa,CAAC;AAEtC;;GAEG;AACH,eAAO,MAAM,gBAAgB;;;;;CAKnB,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG,UAAU,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAEnE,MAAM,MAAM,kBAAkB,GAAG;IAC/B;;OAEG;IACH,gBAAgB,EAAE,MAAM,CAAC;IACzB;;OAEG;IACH,KAAK,EAAE,gBAAgB,CAAC;IACxB;;OAEG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAC3B,UAAU,EAAE,MAAM,CAAC,oBAAoB,CAAC;CACzC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,8BAA8B,EAAE,CAAC,CAAC,aAAa,CAC1D,OAAO,gBAAgB,CACS,CAAC;AAEnC,gBAAgB;AAChB,eAAO,MAAM,+BAA+B,EAAE,CAAC,CAAC,aAAa,CAC3D,OAAO,gBAAgB,CACS,CAAC;AAEnC;;;GAGG;AACH,yBAAiB,iBAAiB,CAAC;IACjC,gEAAgE;IACzD,MAAM,aAAa;;;;;MAAiC,CAAC;IAC5D,iEAAiE;IAC1D,MAAM,cAAc;;;;;MAAkC,CAAC;CAC/D;AAED,gBAAgB;AAChB,eAAO,MAAM,gCAAgC,EAAE,CAAC,CAAC,OAAO,CACtD,kBAAkB,EAClB,CAAC,CAAC,UAAU,EACZ,OAAO,CAMP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,2BAA2B,GAAG;IACxC,gBAAgB,EAAE,MAAM,CAAC;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,kBAAkB,EAAE,MAAM,CAAC;IAC3B,UAAU,EAAE,MAAM,CAAC,6BAA6B,CAAC;CAClD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,iCAAiC,EAAE,CAAC,CAAC,OAAO,CACvD,2BAA2B,EAC3B,CAAC,CAAC,UAAU,EACZ,kBAAkB,CAMlB,CAAC;AAEH;;;GAGG;AACH,yBAAiB,mBAAmB,CAAC;IACnC,kEAAkE;IAC3D,MAAM,aAAa,sDAAmC,CAAC;IAC9D,mEAAmE;IAC5D,MAAM,cAAc,0EAAoC,CAAC;IAChE,6DAA6D;IAC7D,KAAY,QAAQ,GAAG,2BAA2B,CAAC;CACpD;AAED,wBAAgB,wBAAwB,CACtC,kBAAkB,EAAE,kBAAkB,GACrC,MAAM,CAIR;AAED,wBAAgB,0BAA0B,CACxC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,kBAAkB,EAAE,kBAAkB,CAAC,CAMzD"}
@@ -1,71 +0,0 @@
1
- import * as z from "zod";
2
- import { Result as SafeParseResult } from "../../types/fp.js";
3
- import { SDKValidationError } from "../errors/sdkvalidationerror.js";
4
- /**
5
- * Optional metadata to associate with the product
6
- */
7
- export type Metadata = {};
8
- export type CreateProductRequest = {
9
- /**
10
- * Name of the product. This will be displayed to the customer.
11
- */
12
- name: string;
13
- /**
14
- * Description of the product. This will be displayed to the customer.
15
- */
16
- description: string;
17
- /**
18
- * Unique identifier for an organization
19
- */
20
- merchantId: string;
21
- /**
22
- * Optional metadata to associate with the product
23
- */
24
- metadata?: Metadata | undefined;
25
- };
26
- /** @internal */
27
- export declare const Metadata$inboundSchema: z.ZodType<Metadata, z.ZodTypeDef, unknown>;
28
- /** @internal */
29
- export type Metadata$Outbound = {};
30
- /** @internal */
31
- export declare const Metadata$outboundSchema: z.ZodType<Metadata$Outbound, z.ZodTypeDef, Metadata>;
32
- /**
33
- * @internal
34
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
35
- */
36
- export declare namespace Metadata$ {
37
- /** @deprecated use `Metadata$inboundSchema` instead. */
38
- const inboundSchema: z.ZodType<Metadata, z.ZodTypeDef, unknown>;
39
- /** @deprecated use `Metadata$outboundSchema` instead. */
40
- const outboundSchema: z.ZodType<Metadata$Outbound, z.ZodTypeDef, Metadata>;
41
- /** @deprecated use `Metadata$Outbound` instead. */
42
- type Outbound = Metadata$Outbound;
43
- }
44
- export declare function metadataToJSON(metadata: Metadata): string;
45
- export declare function metadataFromJSON(jsonString: string): SafeParseResult<Metadata, SDKValidationError>;
46
- /** @internal */
47
- export declare const CreateProductRequest$inboundSchema: z.ZodType<CreateProductRequest, z.ZodTypeDef, unknown>;
48
- /** @internal */
49
- export type CreateProductRequest$Outbound = {
50
- name: string;
51
- description: string;
52
- merchantId: string;
53
- metadata?: Metadata$Outbound | undefined;
54
- };
55
- /** @internal */
56
- export declare const CreateProductRequest$outboundSchema: z.ZodType<CreateProductRequest$Outbound, z.ZodTypeDef, CreateProductRequest>;
57
- /**
58
- * @internal
59
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
60
- */
61
- export declare namespace CreateProductRequest$ {
62
- /** @deprecated use `CreateProductRequest$inboundSchema` instead. */
63
- const inboundSchema: z.ZodType<CreateProductRequest, z.ZodTypeDef, unknown>;
64
- /** @deprecated use `CreateProductRequest$outboundSchema` instead. */
65
- const outboundSchema: z.ZodType<CreateProductRequest$Outbound, z.ZodTypeDef, CreateProductRequest>;
66
- /** @deprecated use `CreateProductRequest$Outbound` instead. */
67
- type Outbound = CreateProductRequest$Outbound;
68
- }
69
- export declare function createProductRequestToJSON(createProductRequest: CreateProductRequest): string;
70
- export declare function createProductRequestFromJSON(jsonString: string): SafeParseResult<CreateProductRequest, SDKValidationError>;
71
- //# sourceMappingURL=createproduct.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"createproduct.d.ts","sourceRoot":"","sources":["../../src/models/operations/createproduct.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE;;GAEG;AACH,MAAM,MAAM,QAAQ,GAAG,EAAE,CAAC;AAE1B,MAAM,MAAM,oBAAoB,GAAG;IACjC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,QAAQ,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAC;CACjC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,sBAAsB,EAAE,CAAC,CAAC,OAAO,CAC5C,QAAQ,EACR,CAAC,CAAC,UAAU,EACZ,OAAO,CACO,CAAC;AAEjB,gBAAgB;AAChB,MAAM,MAAM,iBAAiB,GAAG,EAAE,CAAC;AAEnC,gBAAgB;AAChB,eAAO,MAAM,uBAAuB,EAAE,CAAC,CAAC,OAAO,CAC7C,iBAAiB,EACjB,CAAC,CAAC,UAAU,EACZ,QAAQ,CACM,CAAC;AAEjB;;;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um } from "../../types/enums.js";
3
- import { Result as SafeParseResult } from "../../types/fp.js";
4
- import { SDKValidationError } from "../errors/sdkvalidationerror.js";
5
- /**
6
- * The type of source. Currently only 'stripe_revenue' is supported.
7
- */
8
- export declare const CreateSourceType: {
9
- readonly StripeRevenue: "stripe_revenue";
10
- };
11
- /**
12
- * The type of source. Currently only 'stripe_revenue' is supported.
13
- */
14
- export type CreateSourceType = ClosedEnum<typeof CreateSourceType>;
15
- /**
16
- * How events are processed - automatic (immediate) or manual (requires approval)
17
- */
18
- export declare const CreateSourceProcessingMode: {
19
- readonly Automatic: "automatic";
20
- readonly Manual: "manual";
21
- };
22
- /**
23
- * How events are processed - automatic (immediate) or manual (requires approval)
24
- */
25
- export type CreateSourceProcessingMode = ClosedEnum<typeof CreateSourceProcessingMode>;
26
- export type CreateSourceRequest = {
27
- /**
28
- * Unique identifier for a plan
29
- */
30
- planId: string;
31
- /**
32
- * The type of source. Currently only 'stripe_revenue' is supported.
33
- */
34
- type: CreateSourceType;
35
- /**
36
- * Display name for the source
37
- */
38
- name: string;
39
- /**
40
- * Optional description of the source
41
- */
42
- description?: string | undefined;
43
- /**
44
- * Configuration specific to the source type. For stripe_revenue, must include ampersandProjectId.
45
- */
46
- config?: {
47
- [k: string]: any;
48
- } | undefined;
49
- /**
50
- * Metadata for the source. For stripe_revenue, must include billableMetricMapping with revenue (billable metric ID).
51
- */
52
- metadata?: {
53
- [k: string]: any;
54
- } | undefined;
55
- /**
56
- * Whether the source is enabled
57
- */
58
- enabled?: boolean | undefined;
59
- /**
60
- * How events are processed - automatic (immediate) or manual (requires approval)
61
- */
62
- processingMode?: CreateSourceProcessingMode | undefined;
63
- };
64
- /** @internal */
65
- export declare const CreateSourceType$inboundSchema: z.ZodNativeEnum<typeof CreateSourceType>;
66
- /** @internal */
67
- export declare const CreateSourceType$outboundSchema: z.ZodNativeEnum<typeof CreateSourceType>;
68
- /**
69
- * @internal
70
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
71
- */
72
- export declare namespace CreateSourceType$ {
73
- /** @deprecated use `CreateSourceType$inboundSchema` instead. */
74
- const inboundSchema: z.ZodNativeEnum<{
75
- readonly StripeRevenue: "stripe_revenue";
76
- }>;
77
- /** @deprecated use `CreateSourceType$outboundSchema` instead. */
78
- const outboundSchema: z.ZodNativeEnum<{
79
- readonly StripeRevenue: "stripe_revenue";
80
- }>;
81
- }
82
- /** @internal */
83
- export declare const CreateSourceProcessingMode$inboundSchema: z.ZodNativeEnum<typeof CreateSourceProcessingMode>;
84
- /** @internal */
85
- export declare const CreateSourceProcessingMode$outboundSchema: z.ZodNativeEnum<typeof CreateSourceProcessingMode>;
86
- /**
87
- * @internal
88
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
89
- */
90
- export declare namespace CreateSourceProcessingMode$ {
91
- /** @deprecated use `CreateSourceProcessingMode$inboundSchema` instead. */
92
- const inboundSchema: z.ZodNativeEnum<{
93
- readonly Automatic: "automatic";
94
- readonly Manual: "manual";
95
- }>;
96
- /** @deprecated use `CreateSourceProcessingMode$outboundSchema` instead. */
97
- const outboundSchema: z.ZodNativeEnum<{
98
- readonly Automatic: "automatic";
99
- readonly Manual: "manual";
100
- }>;
101
- }
102
- /** @internal */
103
- export declare const CreateSourceRequest$inboundSchema: z.ZodType<CreateSourceRequest, z.ZodTypeDef, unknown>;
104
- /** @internal */
105
- export type CreateSourceRequest$Outbound = {
106
- planId: string;
107
- type: string;
108
- name: string;
109
- description?: string | undefined;
110
- config?: {
111
- [k: string]: any;
112
- } | undefined;
113
- metadata?: {
114
- [k: string]: any;
115
- } | undefined;
116
- enabled: boolean;
117
- processingMode: string;
118
- };
119
- /** @internal */
120
- export declare const CreateSourceRequest$outboundSchema: z.ZodType<CreateSourceRequest$Outbound, z.ZodTypeDef, CreateSourceRequest>;
121
- /**
122
- * @internal
123
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
124
- */
125
- export declare namespace CreateSourceRequest$ {
126
- /** @deprecated use `CreateSourceRequest$inboundSchema` instead. */
127
- const inboundSchema: z.ZodType<CreateSourceRequest, z.ZodTypeDef, unknown>;
128
- /** @deprecated use `CreateSourceRequest$outboundSchema` instead. */
129
- const outboundSchema: z.ZodType<CreateSourceRequest$Outbound, z.ZodTypeDef, CreateSourceRequest>;
130
- /** @deprecated use `CreateSourceRequest$Outbound` instead. */
131
- type Outbound = CreateSourceRequest$Outbound;
132
- }
133
- export declare function createSourceRequestToJSON(createSourceRequest: CreateSourceRequest): string;
134
- export declare function createSourceRequestFromJSON(jsonString: string): SafeParseResult<CreateSourceRequest, SDKValidationError>;
135
- //# sourceMappingURL=createsource.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"createsource.d.ts","sourceRoot":"","sources":["../../src/models/operations/createsource.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE;;GAEG;AACH,eAAO,MAAM,gBAAgB;;CAEnB,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG,UAAU,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAEnE;;GAEG;AACH,eAAO,MAAM,0BAA0B;;;CAG7B,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,0BAA0B,GAAG,UAAU,CACjD,OAAO,0BAA0B,CAClC,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG;IAChC;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,IAAI,EAAE,gBAAgB,CAAC;IACvB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC;;OAEG;IAC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AAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,MAAM,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,GAAG,SAAS,CAAC;IAC1C,QAAQ,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,GAAG,SAAS,CAAC;IAC5C,OAAO,EAAE,OAAO,CAAC;IACjB,cAAc,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,kCAAkC,EAAE,CAAC,CAAC,OAAO,CACxD,4BAA4B,EAC5B,CAAC,CAAC,UAAU,EACZ,mBAAmB,CAYnB,CAAC;AAEH;;;GAGG;AACH,yBAAiB,oBAAoB,CAAC;IACpC,mEAAmE;IAC5D,MAAM,aAAa,uDAAoC,CAAC;IAC/D,oEAAoE;IAC7D,MAAM,cAAc,4EAAqC,CAAC;IACjE,8DAA8D;IAC9D,KAAY,QAAQ,GAAG,4BAA4B,CAAC;CACrD;AAED,wBAAgB,yBAAyB,CACvC,mBAAmB,EAAE,mBAAmB,GACvC,MAAM,CAIR;AAED,wBAAgB,2BAA2B,CACzC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,mBAAmB,EAAE,kBAAkB,CAAC,CAM1D"}
@@ -1,101 +0,0 @@
1
- import * as z from "zod";
2
- import { ClosedEnum } from "../../types/enums.js";
3
- import { Result as SafeParseResult } from "../../types/fp.js";
4
- import { SDKValidationError } from "../errors/sdkvalidationerror.js";
5
- /**
6
- * Payment method to use for the topup
7
- */
8
- export declare const Method: {
9
- readonly Stripe: "stripe";
10
- };
11
- /**
12
- * Payment method to use for the topup
13
- */
14
- export type Method = ClosedEnum<typeof Method>;
15
- export type CreateWalletTopupRequestBody = {
16
- /**
17
- * Amount to top up in the currency of the wallet
18
- */
19
- amount: string;
20
- /**
21
- * Payment method to use for the topup
22
- */
23
- method: Method;
24
- /**
25
- * URL to redirect to after the topup is created
26
- */
27
- returnUrl?: string | undefined;
28
- };
29
- export type CreateWalletTopupRequest = {
30
- /**
31
- * ID of the wallet to top up
32
- */
33
- walletId: string;
34
- requestBody: CreateWalletTopupRequestBody;
35
- };
36
- /** @internal */
37
- export declare const Method$inboundSchema: z.ZodNativeEnum<typeof Method>;
38
- /** @internal */
39
- export declare const Method$outboundSchema: z.ZodNativeEnum<typeof Method>;
40
- /**
41
- * @internal
42
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
43
- */
44
- export declare namespace Method$ {
45
- /** @deprecated use `Method$inboundSchema` instead. */
46
- const inboundSchema: z.ZodNativeEnum<{
47
- readonly Stripe: "stripe";
48
- }>;
49
- /** @deprecated use `Method$outboundSchema` instead. */
50
- const outboundSchema: z.ZodNativeEnum<{
51
- readonly Stripe: "stripe";
52
- }>;
53
- }
54
- /** @internal */
55
- export declare const CreateWalletTopupRequestBody$inboundSchema: z.ZodType<CreateWalletTopupRequestBody, z.ZodTypeDef, unknown>;
56
- /** @internal */
57
- export type CreateWalletTopupRequestBody$Outbound = {
58
- amount: string;
59
- method: string;
60
- returnUrl?: string | undefined;
61
- };
62
- /** @internal */
63
- export declare const CreateWalletTopupRequestBody$outboundSchema: z.ZodType<CreateWalletTopupRequestBody$Outbound, z.ZodTypeDef, CreateWalletTopupRequestBody>;
64
- /**
65
- * @internal
66
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
67
- */
68
- export declare namespace CreateWalletTopupRequestBody$ {
69
- /** @deprecated use `CreateWalletTopupRequestBody$inboundSchema` instead. */
70
- const inboundSchema: z.ZodType<CreateWalletTopupRequestBody, z.ZodTypeDef, unknown>;
71
- /** @deprecated use `CreateWalletTopupRequestBody$outboundSchema` instead. */
72
- const outboundSchema: z.ZodType<CreateWalletTopupRequestBody$Outbound, z.ZodTypeDef, CreateWalletTopupRequestBody>;
73
- /** @deprecated use `CreateWalletTopupRequestBody$Outbound` instead. */
74
- type Outbound = CreateWalletTopupRequestBody$Outbound;
75
- }
76
- export declare function createWalletTopupRequestBodyToJSON(createWalletTopupRequestBody: CreateWalletTopupRequestBody): string;
77
- export declare function createWalletTopupRequestBodyFromJSON(jsonString: string): SafeParseResult<CreateWalletTopupRequestBody, SDKValidationError>;
78
- /** @internal */
79
- export declare const CreateWalletTopupRequest$inboundSchema: z.ZodType<CreateWalletTopupRequest, z.ZodTypeDef, unknown>;
80
- /** @internal */
81
- export type CreateWalletTopupRequest$Outbound = {
82
- walletId: string;
83
- RequestBody: CreateWalletTopupRequestBody$Outbound;
84
- };
85
- /** @internal */
86
- export declare const CreateWalletTopupRequest$outboundSchema: z.ZodType<CreateWalletTopupRequest$Outbound, z.ZodTypeDef, CreateWalletTopupRequest>;
87
- /**
88
- * @internal
89
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
90
- */
91
- export declare namespace CreateWalletTopupRequest$ {
92
- /** @deprecated use `CreateWalletTopupRequest$inboundSchema` instead. */
93
- const inboundSchema: z.ZodType<CreateWalletTopupRequest, z.ZodTypeDef, unknown>;
94
- /** @deprecated use `CreateWalletTopupRequest$outboundSchema` instead. */
95
- const outboundSchema: z.ZodType<CreateWalletTopupRequest$Outbound, z.ZodTypeDef, CreateWalletTopupRequest>;
96
- /** @deprecated use `CreateWalletTopupRequest$Outbound` instead. */
97
- type Outbound = CreateWalletTopupRequest$Outbound;
98
- }
99
- export declare function createWalletTopupRequestToJSON(createWalletTopupRequest: CreateWalletTopupRequest): string;
100
- export declare function createWalletTopupRequestFromJSON(jsonString: string): SafeParseResult<CreateWalletTopupRequest, SDKValidationError>;
101
- //# sourceMappingURL=createwallettopup.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"createwallettopup.d.ts","sourceRoot":"","sources":["../../src/models/operations/createwallettopup.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO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AM/D"}
@@ -1,32 +0,0 @@
1
- import * as z from "zod";
2
- import { Result as SafeParseResult } from "../../types/fp.js";
3
- import { SDKValidationError } from "../errors/sdkvalidationerror.js";
4
- export type DeleteExternalBankAccountRequest = {
5
- /**
6
- * External bank account ID
7
- */
8
- id: string;
9
- };
10
- /** @internal */
11
- export declare const DeleteExternalBankAccountRequest$inboundSchema: z.ZodType<DeleteExternalBankAccountRequest, z.ZodTypeDef, unknown>;
12
- /** @internal */
13
- export type DeleteExternalBankAccountRequest$Outbound = {
14
- id: string;
15
- };
16
- /** @internal */
17
- export declare const DeleteExternalBankAccountRequest$outboundSchema: z.ZodType<DeleteExternalBankAccountRequest$Outbound, z.ZodTypeDef, DeleteExternalBankAccountRequest>;
18
- /**
19
- * @internal
20
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
21
- */
22
- export declare namespace DeleteExternalBankAccountRequest$ {
23
- /** @deprecated use `DeleteExternalBankAccountRequest$inboundSchema` instead. */
24
- const inboundSchema: z.ZodType<DeleteExternalBankAccountRequest, z.ZodTypeDef, unknown>;
25
- /** @deprecated use `DeleteExternalBankAccountRequest$outboundSchema` instead. */
26
- const outboundSchema: z.ZodType<DeleteExternalBankAccountRequest$Outbound, z.ZodTypeDef, DeleteExternalBankAccountRequest>;
27
- /** @deprecated use `DeleteExternalBankAccountRequest$Outbound` instead. */
28
- type Outbound = DeleteExternalBankAccountRequest$Outbound;
29
- }
30
- export declare function deleteExternalBankAccountRequestToJSON(deleteExternalBankAccountRequest: DeleteExternalBankAccountRequest): string;
31
- export declare function deleteExternalBankAccountRequestFromJSON(jsonString: string): SafeParseResult<DeleteExternalBankAccountRequest, SDKValidationError>;
32
- //# sourceMappingURL=deleteexternalbankaccount.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"deleteexternalbankaccount.d.ts","sourceRoot":"","sources":["../../src/models/operations/deleteexternalbankaccount.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,gCAAgC,GAAG;IAC7C;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,8CAA8C,EAAE,CAAC,CAAC,OAAO,CACpE,gCAAgC,EAChC,CAAC,CAAC,UAAU,EACZ,OAAO,CAGP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,yCAAyC,GAAG;IACtD,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,+CAA+C,EAAE,CAAC,CAAC,OAAO,CACrE,yCAAyC,EACzC,CAAC,CAAC,UAAU,EACZ,gCAAgC,CAGhC,CAAC;AAEH;;;GAGG;AACH,yBAAiB,iCAAiC,CAAC;IACjD,gFAAgF;IACzE,MAAM,aAAa,oEAAiD,CAAC;IAC5E,iFAAiF;IAC1E,MAAM,cAAc,sGAAkD,CAAC;IAC9E,2EAA2E;IAC3E,KAAY,QAAQ,GAAG,yCAAyC,CAAC;CAClE;AAED,wBAAgB,sCAAsC,CACpD,gCAAgC,EAAE,gCAAgC,GACjE,MAAM,CAMR;AAED,wBAAgB,wCAAwC,CACtD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,gCAAgC,EAAE,kBAAkB,CAAC,CAMvE"}