@revkeen/sdk 1.20260316.71 → 1.20260410.850

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 (1006) hide show
  1. package/Client.d.ts +9 -24
  2. package/Client.js +12 -32
  3. package/Client.ts +18 -48
  4. package/api/resources/analytics/client/Client.d.ts +6 -0
  5. package/api/resources/analytics/client/Client.js +6 -0
  6. package/api/resources/analytics/client/Client.ts +6 -0
  7. package/api/resources/billing/client/Client.d.ts +1 -1
  8. package/api/resources/billing/client/Client.js +1 -1
  9. package/api/resources/billing/client/Client.ts +1 -1
  10. package/api/resources/checkoutSessions/client/Client.d.ts +19 -2
  11. package/api/resources/checkoutSessions/client/Client.js +61 -2
  12. package/api/resources/checkoutSessions/client/Client.ts +78 -2
  13. package/api/resources/checkoutSessions/client/requests/CheckoutSessionsRetrieveRequest.d.ts +10 -0
  14. package/api/resources/{apps/types/DeleteAppsAppKeyInstallResponse.js → checkoutSessions/client/requests/CheckoutSessionsRetrieveRequest.js} +1 -1
  15. package/api/resources/{businesses/client/requests/GetBusinessesIdRequest.ts → checkoutSessions/client/requests/CheckoutSessionsRetrieveRequest.ts} +2 -2
  16. package/api/resources/checkoutSessions/client/requests/index.d.ts +1 -0
  17. package/api/resources/checkoutSessions/client/requests/index.ts +1 -0
  18. package/api/resources/creditNotes/client/Client.d.ts +32 -0
  19. package/api/resources/creditNotes/client/Client.js +115 -0
  20. package/api/resources/creditNotes/client/Client.ts +159 -0
  21. package/api/resources/creditNotes/client/requests/CreateCreditNoteInput.d.ts +4 -0
  22. package/api/resources/creditNotes/client/requests/CreateCreditNoteInput.ts +4 -0
  23. package/api/resources/creditNotes/client/requests/CreditNotesInvoiceEligibilityRequest.d.ts +11 -0
  24. package/api/resources/creditNotes/client/requests/CreditNotesInvoiceEligibilityRequest.js +3 -0
  25. package/api/resources/creditNotes/client/requests/CreditNotesInvoiceEligibilityRequest.ts +12 -0
  26. package/api/resources/creditNotes/client/requests/CreditNotesTransactionReversalEligibilityRequest.d.ts +13 -0
  27. package/api/resources/creditNotes/client/requests/CreditNotesTransactionReversalEligibilityRequest.js +3 -0
  28. package/api/resources/creditNotes/client/requests/CreditNotesTransactionReversalEligibilityRequest.ts +14 -0
  29. package/api/resources/creditNotes/client/requests/index.d.ts +2 -0
  30. package/api/resources/creditNotes/client/requests/index.ts +2 -0
  31. package/api/resources/creditNotes/types/CreditNotesInvoiceEligibilityResponse.d.ts +5 -0
  32. package/api/resources/creditNotes/types/CreditNotesInvoiceEligibilityResponse.js +3 -0
  33. package/api/resources/creditNotes/types/CreditNotesInvoiceEligibilityResponse.ts +7 -0
  34. package/api/resources/creditNotes/types/CreditNotesTransactionReversalEligibilityResponse.d.ts +5 -0
  35. package/api/resources/creditNotes/types/CreditNotesTransactionReversalEligibilityResponse.js +3 -0
  36. package/api/resources/creditNotes/types/CreditNotesTransactionReversalEligibilityResponse.ts +7 -0
  37. package/api/resources/creditNotes/types/index.d.ts +2 -0
  38. package/api/resources/creditNotes/types/index.js +2 -0
  39. package/api/resources/creditNotes/types/index.ts +2 -0
  40. package/api/resources/customers/client/Client.d.ts +1 -1
  41. package/api/resources/customers/client/Client.js +1 -1
  42. package/api/resources/customers/client/Client.ts +1 -1
  43. package/api/resources/customers/client/requests/CustomersCreateRequest.d.ts +5 -1
  44. package/api/resources/customers/client/requests/CustomersCreateRequest.ts +5 -1
  45. package/api/resources/customers/client/requests/CustomersUpdateRequest.d.ts +5 -1
  46. package/api/resources/customers/client/requests/CustomersUpdateRequest.ts +5 -1
  47. package/api/resources/customers/types/CustomersInvoicesListResponse.d.ts +1 -0
  48. package/api/resources/customers/types/CustomersInvoicesListResponse.ts +1 -0
  49. package/api/resources/customers/types/CustomersOrdersListResponse.d.ts +1 -0
  50. package/api/resources/customers/types/CustomersOrdersListResponse.ts +1 -0
  51. package/api/resources/customers/types/CustomersPaymentsListResponse.d.ts +1 -0
  52. package/api/resources/customers/types/CustomersPaymentsListResponse.ts +1 -0
  53. package/api/resources/customers/types/CustomersSubscriptionsListResponse.d.ts +1 -0
  54. package/api/resources/customers/types/CustomersSubscriptionsListResponse.ts +1 -0
  55. package/api/resources/disputes/client/Client.d.ts +1 -1
  56. package/api/resources/disputes/client/Client.js +1 -1
  57. package/api/resources/disputes/client/Client.ts +1 -1
  58. package/api/resources/disputes/types/DisputesGetOpenResponse.d.ts +2 -0
  59. package/api/resources/disputes/types/DisputesGetOpenResponse.ts +2 -0
  60. package/api/resources/disputes/types/DisputesListResponse.d.ts +4 -0
  61. package/api/resources/disputes/types/DisputesListResponse.ts +4 -0
  62. package/api/resources/disputes/types/DisputesRetrieveResponse.d.ts +4 -0
  63. package/api/resources/disputes/types/DisputesRetrieveResponse.ts +4 -0
  64. package/api/resources/entitlements/client/Client.d.ts +40 -0
  65. package/api/resources/entitlements/client/Client.js +128 -0
  66. package/api/resources/entitlements/client/Client.ts +169 -0
  67. package/api/resources/entitlements/client/requests/EntitlementsCheckRequest.d.ts +14 -0
  68. package/api/resources/entitlements/client/requests/EntitlementsCheckRequest.js +3 -0
  69. package/api/resources/entitlements/client/requests/EntitlementsCheckRequest.ts +15 -0
  70. package/api/resources/entitlements/client/requests/EntitlementsListRequest.d.ts +21 -0
  71. package/api/resources/{businesses/types/GetBusinessesIdResponse.js → entitlements/client/requests/EntitlementsListRequest.js} +1 -1
  72. package/api/resources/entitlements/client/requests/EntitlementsListRequest.ts +22 -0
  73. package/api/resources/entitlements/client/requests/index.d.ts +2 -0
  74. package/api/resources/entitlements/client/requests/index.ts +2 -0
  75. package/api/resources/entitlements/types/CustomersEntitlementsCheckResponse.d.ts +2 -2
  76. package/api/resources/entitlements/types/CustomersEntitlementsCheckResponse.ts +2 -2
  77. package/api/resources/entitlements/types/CustomersEntitlementsGrantResponse.d.ts +2 -2
  78. package/api/resources/entitlements/types/CustomersEntitlementsGrantResponse.ts +2 -2
  79. package/api/resources/entitlements/types/CustomersEntitlementsListResponse.d.ts +2 -2
  80. package/api/resources/entitlements/types/CustomersEntitlementsListResponse.ts +2 -2
  81. package/api/resources/entitlements/types/CustomersEntitlementsRevokeByIdResponse.d.ts +2 -2
  82. package/api/resources/entitlements/types/CustomersEntitlementsRevokeByIdResponse.ts +2 -2
  83. package/api/resources/entitlements/types/CustomersEntitlementsRevokeByKeyResponse.d.ts +2 -2
  84. package/api/resources/entitlements/types/CustomersEntitlementsRevokeByKeyResponse.ts +2 -2
  85. package/api/resources/events/client/Client.d.ts +1 -1
  86. package/api/resources/events/client/Client.js +1 -1
  87. package/api/resources/events/client/Client.ts +1 -1
  88. package/api/resources/exports/client/Client.d.ts +53 -0
  89. package/api/resources/{businesses → exports}/client/Client.js +28 -74
  90. package/api/resources/{businesses → exports}/client/Client.ts +46 -109
  91. package/api/resources/exports/client/requests/CreateExportRequest.d.ts +42 -0
  92. package/api/resources/exports/client/requests/CreateExportRequest.js +25 -0
  93. package/api/resources/exports/client/requests/CreateExportRequest.ts +44 -0
  94. package/api/resources/exports/client/requests/ExportsRetrieveRequest.d.ts +11 -0
  95. package/api/resources/{businesses/client/requests/GetBusinessesIdRequest.js → exports/client/requests/ExportsRetrieveRequest.js} +1 -1
  96. package/api/resources/{taxRates/client/requests/DeleteTaxRatesIdRequest.ts → exports/client/requests/ExportsRetrieveRequest.ts} +2 -2
  97. package/api/resources/exports/client/requests/index.d.ts +3 -0
  98. package/api/resources/exports/client/requests/index.js +2 -0
  99. package/api/resources/exports/client/requests/index.ts +2 -0
  100. package/api/resources/finance/client/Client.d.ts +13 -7
  101. package/api/resources/finance/client/Client.js +15 -9
  102. package/api/resources/finance/client/Client.ts +23 -17
  103. package/api/resources/finance/client/requests/{GetFinanceIncomeRequest.d.ts → FinanceGetIncomeRequest.d.ts} +3 -3
  104. package/api/resources/finance/client/requests/FinanceGetIncomeRequest.js +3 -0
  105. package/api/resources/finance/client/requests/{GetFinanceIncomeRequest.ts → FinanceGetIncomeRequest.ts} +2 -2
  106. package/api/resources/finance/client/requests/index.d.ts +1 -1
  107. package/api/resources/finance/client/requests/index.ts +1 -1
  108. package/api/resources/finance/types/FinanceGetIncomeRequestGroupBy.d.ts +8 -0
  109. package/api/resources/finance/types/{GetFinanceIncomeRequestGroupBy.js → FinanceGetIncomeRequestGroupBy.js} +2 -2
  110. package/api/resources/finance/types/FinanceGetIncomeRequestGroupBy.ts +10 -0
  111. package/api/resources/finance/types/{GetFinanceIncomeResponse.d.ts → FinanceGetIncomeResponse.d.ts} +4 -4
  112. package/api/resources/finance/types/FinanceGetIncomeResponse.js +3 -0
  113. package/api/resources/finance/types/{GetFinanceIncomeResponse.ts → FinanceGetIncomeResponse.ts} +3 -3
  114. package/api/resources/finance/types/{GetFinanceSummaryResponse.d.ts → FinanceGetSummaryResponse.d.ts} +2 -2
  115. package/api/resources/finance/types/FinanceGetSummaryResponse.js +3 -0
  116. package/api/resources/finance/types/{GetFinanceSummaryResponse.ts → FinanceGetSummaryResponse.ts} +1 -1
  117. package/api/resources/finance/types/index.d.ts +3 -3
  118. package/api/resources/finance/types/index.js +3 -3
  119. package/api/resources/finance/types/index.ts +3 -3
  120. package/api/resources/imports/client/Client.d.ts +53 -0
  121. package/api/resources/imports/client/Client.js +129 -0
  122. package/api/resources/imports/client/Client.ts +173 -0
  123. package/api/resources/imports/client/requests/CreateImportRequest.d.ts +33 -0
  124. package/api/resources/imports/client/requests/CreateImportRequest.js +17 -0
  125. package/api/resources/imports/client/requests/CreateImportRequest.ts +35 -0
  126. package/api/resources/imports/client/requests/ImportsRetrieveRequest.d.ts +11 -0
  127. package/api/resources/{businesses/client/requests/PostBusinessesRequest.js → imports/client/requests/ImportsRetrieveRequest.js} +1 -1
  128. package/api/resources/{taxRates/client/requests/GetTaxRatesIdRequest.ts → imports/client/requests/ImportsRetrieveRequest.ts} +2 -2
  129. package/api/resources/imports/client/requests/index.d.ts +3 -0
  130. package/api/resources/imports/client/requests/index.js +2 -0
  131. package/api/resources/imports/client/requests/index.ts +2 -0
  132. package/api/resources/imports/index.d.ts +2 -0
  133. package/api/resources/{businesses/index.ts → imports/index.js} +1 -1
  134. package/api/resources/{clients → imports}/index.ts +0 -1
  135. package/api/resources/index.d.ts +7 -24
  136. package/api/resources/index.js +7 -24
  137. package/api/resources/index.ts +7 -24
  138. package/api/resources/integrations/client/Client.d.ts +84 -0
  139. package/api/resources/integrations/client/Client.js +286 -0
  140. package/api/resources/integrations/client/Client.ts +396 -0
  141. package/api/resources/integrations/client/requests/IntegrationsActivateRequest.d.ts +16 -0
  142. package/api/resources/integrations/client/requests/IntegrationsActivateRequest.ts +18 -0
  143. package/api/resources/integrations/client/requests/IntegrationsAutoSendInvoicesRequest.d.ts +13 -0
  144. package/api/resources/integrations/client/requests/IntegrationsAutoSendInvoicesRequest.js +3 -0
  145. package/api/resources/integrations/client/requests/IntegrationsAutoSendInvoicesRequest.ts +15 -0
  146. package/api/resources/integrations/client/requests/IntegrationsGetBillableItemsRequest.d.ts +11 -0
  147. package/api/resources/integrations/client/requests/IntegrationsGetBillableItemsRequest.js +3 -0
  148. package/api/resources/integrations/client/requests/IntegrationsGetBillableItemsRequest.ts +13 -0
  149. package/api/resources/integrations/client/requests/IntegrationsGetUnmappedAttemptsRequest.d.ts +11 -0
  150. package/api/resources/integrations/client/requests/IntegrationsGetUnmappedAttemptsRequest.js +3 -0
  151. package/api/resources/integrations/client/requests/IntegrationsGetUnmappedAttemptsRequest.ts +13 -0
  152. package/api/resources/integrations/client/requests/IntegrationsResumeSyncRequest.d.ts +11 -0
  153. package/api/resources/{apps/types/PostAppsAppKeyInstallResponse.js → integrations/client/requests/IntegrationsResumeSyncRequest.js} +1 -1
  154. package/api/resources/integrations/client/requests/IntegrationsResumeSyncRequest.ts +13 -0
  155. package/api/resources/integrations/client/requests/IntegrationsSuggestMappingsRequest.d.ts +38 -0
  156. package/api/resources/integrations/client/requests/IntegrationsSuggestMappingsRequest.js +16 -0
  157. package/api/resources/integrations/client/requests/IntegrationsSuggestMappingsRequest.ts +43 -0
  158. package/api/resources/integrations/client/requests/index.d.ts +5 -0
  159. package/api/resources/integrations/client/requests/index.js +1 -0
  160. package/api/resources/integrations/client/requests/index.ts +5 -0
  161. package/api/resources/integrations/types/IntegrationsActivateResponse.d.ts +16 -0
  162. package/api/resources/integrations/types/IntegrationsActivateResponse.js +5 -0
  163. package/api/resources/integrations/types/IntegrationsActivateResponse.ts +17 -0
  164. package/api/resources/integrations/types/IntegrationsAutoSendInvoicesRequestProvider.d.ts +7 -0
  165. package/api/resources/integrations/types/IntegrationsAutoSendInvoicesRequestProvider.js +7 -0
  166. package/api/resources/integrations/types/IntegrationsAutoSendInvoicesRequestProvider.ts +9 -0
  167. package/api/resources/integrations/types/IntegrationsAutoSendInvoicesResponse.d.ts +4 -0
  168. package/api/resources/integrations/types/IntegrationsAutoSendInvoicesResponse.js +3 -0
  169. package/api/resources/{userInvitations/types/DeleteUserInvitationsIdResponse.ts → integrations/types/IntegrationsAutoSendInvoicesResponse.ts} +1 -1
  170. package/api/resources/integrations/types/IntegrationsBatchRetryResponse.d.ts +1 -1
  171. package/api/resources/integrations/types/IntegrationsBatchRetryResponse.ts +1 -1
  172. package/api/resources/integrations/types/IntegrationsGetBillableItemsRequestProvider.d.ts +7 -0
  173. package/api/resources/integrations/types/IntegrationsGetBillableItemsRequestProvider.js +7 -0
  174. package/api/resources/integrations/types/IntegrationsGetBillableItemsRequestProvider.ts +9 -0
  175. package/api/resources/integrations/types/IntegrationsGetBillableItemsResponse.d.ts +25 -0
  176. package/api/resources/integrations/types/IntegrationsGetBillableItemsResponse.js +14 -0
  177. package/api/resources/integrations/types/IntegrationsGetBillableItemsResponse.ts +29 -0
  178. package/api/resources/integrations/types/IntegrationsGetProductMappingsResponse.d.ts +3 -1
  179. package/api/resources/integrations/types/IntegrationsGetProductMappingsResponse.ts +3 -1
  180. package/api/resources/integrations/types/IntegrationsGetStatusResponse.d.ts +16 -0
  181. package/api/resources/integrations/types/IntegrationsGetStatusResponse.js +5 -0
  182. package/api/resources/integrations/types/IntegrationsGetStatusResponse.ts +17 -0
  183. package/api/resources/integrations/types/IntegrationsGetUnmappedAttemptsRequestProvider.d.ts +7 -0
  184. package/api/resources/integrations/types/IntegrationsGetUnmappedAttemptsRequestProvider.js +7 -0
  185. package/api/resources/integrations/types/IntegrationsGetUnmappedAttemptsRequestProvider.ts +9 -0
  186. package/api/resources/integrations/types/IntegrationsGetUnmappedAttemptsResponse.d.ts +17 -0
  187. package/api/resources/integrations/types/IntegrationsGetUnmappedAttemptsResponse.js +3 -0
  188. package/api/resources/integrations/types/IntegrationsGetUnmappedAttemptsResponse.ts +20 -0
  189. package/api/resources/integrations/types/IntegrationsListResponse.d.ts +16 -0
  190. package/api/resources/integrations/types/IntegrationsListResponse.js +5 -0
  191. package/api/resources/integrations/types/IntegrationsListResponse.ts +17 -0
  192. package/api/resources/integrations/types/IntegrationsResumeSyncRequestProvider.d.ts +7 -0
  193. package/api/resources/integrations/types/IntegrationsResumeSyncRequestProvider.js +7 -0
  194. package/api/resources/integrations/types/IntegrationsResumeSyncRequestProvider.ts +9 -0
  195. package/api/resources/integrations/types/IntegrationsResumeSyncResponse.d.ts +6 -0
  196. package/api/resources/{apps/client/requests/DeleteAppsAppKeyInstallRequest.js → integrations/types/IntegrationsResumeSyncResponse.js} +1 -1
  197. package/api/resources/{apps/types/DeleteAppsAppKeyInstallResponse.ts → integrations/types/IntegrationsResumeSyncResponse.ts} +2 -1
  198. package/api/resources/integrations/types/IntegrationsRetryLogResponse.d.ts +1 -1
  199. package/api/resources/integrations/types/IntegrationsRetryLogResponse.ts +1 -1
  200. package/api/resources/integrations/types/IntegrationsSuggestMappingsRequestProvider.d.ts +7 -0
  201. package/api/resources/integrations/types/IntegrationsSuggestMappingsRequestProvider.js +7 -0
  202. package/api/resources/integrations/types/IntegrationsSuggestMappingsRequestProvider.ts +9 -0
  203. package/api/resources/integrations/types/IntegrationsSuggestMappingsResponse.d.ts +16 -0
  204. package/api/resources/integrations/types/IntegrationsSuggestMappingsResponse.js +3 -0
  205. package/api/resources/integrations/types/IntegrationsSuggestMappingsResponse.ts +19 -0
  206. package/api/resources/integrations/types/IntegrationsSyncLogByIdResponse.d.ts +1 -1
  207. package/api/resources/integrations/types/IntegrationsSyncLogByIdResponse.ts +1 -1
  208. package/api/resources/integrations/types/IntegrationsSyncLogsResponse.d.ts +1 -1
  209. package/api/resources/integrations/types/IntegrationsSyncLogsResponse.ts +1 -1
  210. package/api/resources/integrations/types/IntegrationsSyncStatsByTypeResponse.d.ts +1 -1
  211. package/api/resources/integrations/types/IntegrationsSyncStatsByTypeResponse.ts +1 -1
  212. package/api/resources/integrations/types/IntegrationsSyncStatsResponse.d.ts +1 -1
  213. package/api/resources/integrations/types/IntegrationsSyncStatsResponse.ts +1 -1
  214. package/api/resources/integrations/types/index.d.ts +10 -0
  215. package/api/resources/integrations/types/index.js +10 -0
  216. package/api/resources/integrations/types/index.ts +10 -0
  217. package/api/resources/invoices/client/Client.d.ts +1 -1
  218. package/api/resources/invoices/client/Client.js +1 -1
  219. package/api/resources/invoices/client/Client.ts +1 -1
  220. package/api/resources/payments/client/Client.d.ts +1 -35
  221. package/api/resources/payments/client/Client.js +1 -119
  222. package/api/resources/payments/client/Client.ts +1 -153
  223. package/api/resources/payments/client/requests/index.d.ts +0 -2
  224. package/api/resources/payments/client/requests/index.ts +0 -2
  225. package/api/resources/payouts/client/Client.d.ts +1 -1
  226. package/api/resources/payouts/client/Client.js +1 -1
  227. package/api/resources/payouts/client/Client.ts +1 -1
  228. package/api/resources/prices/client/Client.d.ts +1 -1
  229. package/api/resources/prices/client/Client.js +1 -1
  230. package/api/resources/prices/client/Client.ts +1 -1
  231. package/api/resources/products/client/Client.d.ts +1 -1
  232. package/api/resources/products/client/Client.js +1 -1
  233. package/api/resources/products/client/Client.ts +1 -1
  234. package/api/resources/products/client/requests/CreateProductRequest.d.ts +2 -0
  235. package/api/resources/products/client/requests/CreateProductRequest.ts +2 -0
  236. package/api/resources/products/client/requests/UpdateProductRequest.d.ts +2 -0
  237. package/api/resources/products/client/requests/UpdateProductRequest.ts +2 -0
  238. package/api/resources/refunds/client/Client.d.ts +1 -1
  239. package/api/resources/refunds/client/Client.js +1 -1
  240. package/api/resources/refunds/client/Client.ts +1 -1
  241. package/api/resources/subscriptions/client/Client.d.ts +1 -1
  242. package/api/resources/subscriptions/client/Client.js +1 -1
  243. package/api/resources/subscriptions/client/Client.ts +1 -1
  244. package/api/resources/transactions/client/Client.d.ts +49 -0
  245. package/api/resources/transactions/client/Client.js +132 -0
  246. package/api/resources/transactions/client/Client.ts +186 -0
  247. package/api/resources/transactions/client/requests/TransactionsListRequest.d.ts +26 -0
  248. package/api/resources/transactions/client/requests/TransactionsListRequest.js +3 -0
  249. package/api/resources/transactions/client/requests/TransactionsListRequest.ts +28 -0
  250. package/api/resources/transactions/client/requests/TransactionsRetrieveRequest.d.ts +11 -0
  251. package/api/resources/{apps/types/GetAppsEntitlementsResponse.js → transactions/client/requests/TransactionsRetrieveRequest.js} +1 -1
  252. package/api/resources/{userInvitations/client/requests/PostUserInvitationsIdResendRequest.ts → transactions/client/requests/TransactionsRetrieveRequest.ts} +2 -1
  253. package/api/resources/transactions/client/requests/index.d.ts +3 -0
  254. package/api/resources/transactions/client/requests/index.ts +2 -0
  255. package/api/resources/transactions/types/TransactionsListRequestStatus.d.ts +9 -0
  256. package/api/resources/transactions/types/TransactionsListRequestStatus.js +9 -0
  257. package/api/resources/transactions/types/TransactionsListRequestStatus.ts +11 -0
  258. package/api/resources/transactions/types/TransactionsListRequestType.d.ts +11 -0
  259. package/api/resources/transactions/types/TransactionsListRequestType.js +11 -0
  260. package/api/resources/transactions/types/TransactionsListRequestType.ts +13 -0
  261. package/api/resources/transactions/types/index.d.ts +3 -0
  262. package/api/resources/transactions/types/index.js +3 -0
  263. package/api/resources/transactions/types/index.ts +2 -0
  264. package/api/resources/webhookEndpoints/client/Client.d.ts +13 -67
  265. package/api/resources/webhookEndpoints/client/Client.js +36 -135
  266. package/api/resources/webhookEndpoints/client/Client.ts +59 -157
  267. package/api/resources/webhookEndpoints/client/requests/WebhookEndpointsCreateRequest.d.ts +13 -0
  268. package/api/resources/{apps/client/requests/PostAppsAppKeyInstallRequest.js → webhookEndpoints/client/requests/WebhookEndpointsCreateRequest.js} +1 -1
  269. package/api/resources/webhookEndpoints/client/requests/WebhookEndpointsCreateRequest.ts +14 -0
  270. package/api/resources/webhookEndpoints/client/requests/WebhookEndpointsDeleteRequest.d.ts +0 -1
  271. package/api/resources/webhookEndpoints/client/requests/WebhookEndpointsDeleteRequest.ts +0 -1
  272. package/api/resources/webhookEndpoints/client/requests/WebhookEndpointsListRequest.d.ts +1 -6
  273. package/api/resources/webhookEndpoints/client/requests/WebhookEndpointsListRequest.ts +1 -6
  274. package/api/resources/webhookEndpoints/client/requests/WebhookEndpointsRetrieveRequest.d.ts +0 -1
  275. package/api/resources/webhookEndpoints/client/requests/WebhookEndpointsRetrieveRequest.ts +0 -1
  276. package/api/resources/webhookEndpoints/client/requests/WebhookEndpointsRotateSecretRequest.d.ts +0 -1
  277. package/api/resources/webhookEndpoints/client/requests/WebhookEndpointsRotateSecretRequest.ts +0 -1
  278. package/api/resources/webhookEndpoints/client/requests/WebhookEndpointsUpdateRequest.d.ts +14 -0
  279. package/api/resources/webhookEndpoints/client/requests/WebhookEndpointsUpdateRequest.js +3 -0
  280. package/api/resources/webhookEndpoints/client/requests/{UpdateWebhookEndpointInput.ts → WebhookEndpointsUpdateRequest.ts} +1 -6
  281. package/api/resources/webhookEndpoints/client/requests/index.d.ts +2 -2
  282. package/api/resources/webhookEndpoints/client/requests/index.ts +2 -2
  283. package/api/resources/webhookEndpoints/types/WebhookEndpointsCreateResponse.d.ts +5 -0
  284. package/api/resources/webhookEndpoints/types/WebhookEndpointsCreateResponse.js +3 -0
  285. package/api/{types/WebhookEndpointCreateResponse.ts → resources/webhookEndpoints/types/WebhookEndpointsCreateResponse.ts} +2 -2
  286. package/api/resources/webhookEndpoints/types/WebhookEndpointsDeleteResponse.d.ts +10 -0
  287. package/api/resources/webhookEndpoints/types/WebhookEndpointsDeleteResponse.js +3 -0
  288. package/api/{types/WebhookEndpointDeleteResponse.ts → resources/webhookEndpoints/types/WebhookEndpointsDeleteResponse.ts} +3 -3
  289. package/api/resources/webhookEndpoints/types/WebhookEndpointsListRequestStatus.d.ts +0 -1
  290. package/api/resources/webhookEndpoints/types/WebhookEndpointsListRequestStatus.js +0 -1
  291. package/api/resources/webhookEndpoints/types/WebhookEndpointsListRequestStatus.ts +0 -1
  292. package/api/{types/WebhookEndpointListResponse.d.ts → resources/webhookEndpoints/types/WebhookEndpointsListResponse.d.ts} +5 -8
  293. package/api/{types/WebhookEndpointListResponse.js → resources/webhookEndpoints/types/WebhookEndpointsListResponse.js} +5 -6
  294. package/api/{types/WebhookEndpointListResponse.ts → resources/webhookEndpoints/types/WebhookEndpointsListResponse.ts} +4 -7
  295. package/api/{types/WebhookEndpointUpdateResponse.d.ts → resources/webhookEndpoints/types/WebhookEndpointsRetrieveResponse.d.ts} +4 -7
  296. package/api/resources/webhookEndpoints/types/WebhookEndpointsRetrieveResponse.js +17 -0
  297. package/api/{types/WebhookEndpointUpdateResponse.ts → resources/webhookEndpoints/types/WebhookEndpointsRetrieveResponse.ts} +3 -6
  298. package/api/resources/webhookEndpoints/types/WebhookEndpointsRotateSecretResponse.d.ts +5 -0
  299. package/api/resources/webhookEndpoints/types/WebhookEndpointsRotateSecretResponse.js +3 -0
  300. package/api/resources/webhookEndpoints/types/WebhookEndpointsRotateSecretResponse.ts +7 -0
  301. package/api/{types/WebhookEndpointRetrieveResponse.d.ts → resources/webhookEndpoints/types/WebhookEndpointsUpdateResponse.d.ts} +4 -7
  302. package/api/resources/webhookEndpoints/types/WebhookEndpointsUpdateResponse.js +17 -0
  303. package/api/{types/WebhookEndpointRetrieveResponse.ts → resources/webhookEndpoints/types/WebhookEndpointsUpdateResponse.ts} +3 -6
  304. package/api/resources/webhookEndpoints/types/index.d.ts +6 -0
  305. package/api/resources/webhookEndpoints/types/index.js +6 -0
  306. package/api/resources/webhookEndpoints/types/index.ts +6 -0
  307. package/api/types/BadRequestErrorBody.d.ts +1 -7
  308. package/api/types/BadRequestErrorBody.ts +1 -8
  309. package/api/types/BatchIngestRequest.d.ts +3 -0
  310. package/api/types/BatchIngestRequest.ts +3 -0
  311. package/api/types/BatchIngestResult.d.ts +3 -0
  312. package/api/types/BatchIngestResult.ts +3 -0
  313. package/api/types/Benefit.d.ts +14 -0
  314. package/api/types/{WebhookEvent.js → Benefit.js} +1 -1
  315. package/api/types/Benefit.ts +15 -0
  316. package/api/types/BillingAnchorRulesResponse.d.ts +3 -0
  317. package/api/types/BillingAnchorRulesResponse.ts +3 -0
  318. package/api/types/BillingIntervalsResponse.d.ts +3 -0
  319. package/api/types/BillingIntervalsResponse.ts +3 -0
  320. package/api/types/BillingPreviewErrorResponse.d.ts +3 -0
  321. package/api/types/BillingPreviewErrorResponse.ts +3 -0
  322. package/api/types/BillingPreviewResponse.d.ts +3 -0
  323. package/api/types/BillingPreviewResponse.ts +3 -0
  324. package/api/types/ChargeCaptureResponse.d.ts +3 -0
  325. package/api/types/ChargeCaptureResponse.ts +3 -0
  326. package/api/types/ChargeCreateResponse.d.ts +3 -0
  327. package/api/types/ChargeCreateResponse.ts +3 -0
  328. package/api/types/ChargeDuplicateErrorResponse.d.ts +3 -0
  329. package/api/types/ChargeDuplicateErrorResponse.ts +3 -0
  330. package/api/types/ChargeErrorResponse.d.ts +3 -0
  331. package/api/types/ChargeErrorResponse.ts +3 -0
  332. package/api/types/ChargeListResponse.d.ts +7 -0
  333. package/api/types/ChargeListResponse.ts +7 -0
  334. package/api/types/ChargeRefundResponse.d.ts +3 -0
  335. package/api/types/ChargeRefundResponse.ts +3 -0
  336. package/api/types/ChargeRetrieveResponse.d.ts +3 -0
  337. package/api/types/ChargeRetrieveResponse.ts +3 -0
  338. package/api/types/CheckoutSession.d.ts +27 -0
  339. package/api/types/CheckoutSession.js +8 -0
  340. package/api/types/CheckoutSession.ts +29 -0
  341. package/api/types/CheckoutSessionCreateResponse.d.ts +3 -0
  342. package/api/types/CheckoutSessionCreateResponse.ts +3 -0
  343. package/api/types/CheckoutSessionErrorResponse.d.ts +3 -0
  344. package/api/types/CheckoutSessionErrorResponse.ts +3 -0
  345. package/api/types/CheckoutSessionRetrieveResponse.d.ts +6 -0
  346. package/api/types/CheckoutSessionRetrieveResponse.js +3 -0
  347. package/api/types/{WebhookEndpointRotateSecretResponse.ts → CheckoutSessionRetrieveResponse.ts} +3 -2
  348. package/api/types/ConflictErrorBody.d.ts +1 -1
  349. package/api/types/ConflictErrorBody.ts +1 -1
  350. package/api/types/CreateMeterResponse.d.ts +3 -0
  351. package/api/types/CreateMeterResponse.ts +3 -0
  352. package/api/types/CreditEligibilityResponse.d.ts +8 -0
  353. package/api/types/CreditEligibilityResponse.ts +8 -0
  354. package/api/types/CreditNote.d.ts +18 -0
  355. package/api/types/CreditNote.ts +18 -0
  356. package/api/types/CreditNoteCreateResponse.d.ts +3 -0
  357. package/api/types/CreditNoteCreateResponse.ts +3 -0
  358. package/api/types/CreditNoteEligibilityResponse.d.ts +38 -0
  359. package/api/types/CreditNoteEligibilityResponse.js +3 -0
  360. package/api/types/CreditNoteEligibilityResponse.ts +42 -0
  361. package/api/types/CreditNoteListResponse.d.ts +3 -0
  362. package/api/types/CreditNoteListResponse.ts +3 -0
  363. package/api/types/CreditNoteResponse.d.ts +3 -0
  364. package/api/types/CreditNoteResponse.ts +3 -0
  365. package/api/types/CreditNoteRetrieveResponse.d.ts +3 -0
  366. package/api/types/CreditNoteRetrieveResponse.ts +3 -0
  367. package/api/types/CreditNoteVoidResponse.d.ts +3 -0
  368. package/api/types/CreditNoteVoidResponse.ts +3 -0
  369. package/api/types/CustomerCreateResponse.d.ts +14 -1
  370. package/api/types/CustomerCreateResponse.ts +14 -1
  371. package/api/types/CustomerInvoice.d.ts +3 -0
  372. package/api/types/CustomerInvoice.ts +3 -0
  373. package/api/types/CustomerListResponse.d.ts +14 -1
  374. package/api/types/CustomerListResponse.ts +14 -1
  375. package/api/types/CustomerOrder.d.ts +3 -0
  376. package/api/types/CustomerOrder.ts +3 -0
  377. package/api/types/CustomerPayment.d.ts +3 -0
  378. package/api/types/CustomerPayment.ts +3 -0
  379. package/api/types/CustomerPaymentMethodsListResponse.d.ts +5 -2
  380. package/api/types/CustomerPaymentMethodsListResponse.ts +6 -2
  381. package/api/types/CustomerPortalSessionCreateResponse.d.ts +3 -0
  382. package/api/types/CustomerPortalSessionCreateResponse.ts +3 -0
  383. package/api/types/CustomerRetrieveResponse.d.ts +14 -1
  384. package/api/types/CustomerRetrieveResponse.ts +14 -1
  385. package/api/types/CustomerSubscription.d.ts +3 -0
  386. package/api/types/CustomerSubscription.ts +3 -0
  387. package/api/types/CustomerUpdateResponse.d.ts +14 -1
  388. package/api/types/CustomerUpdateResponse.ts +14 -1
  389. package/api/types/Discount.d.ts +3 -0
  390. package/api/types/Discount.ts +3 -0
  391. package/api/types/DiscountCreateResponse.d.ts +3 -0
  392. package/api/types/DiscountCreateResponse.ts +3 -0
  393. package/api/types/DiscountDeleteResponse.d.ts +3 -0
  394. package/api/types/DiscountDeleteResponse.ts +3 -0
  395. package/api/types/DiscountListResponse.d.ts +3 -0
  396. package/api/types/DiscountListResponse.ts +3 -0
  397. package/api/types/DiscountRetrieveResponse.d.ts +3 -0
  398. package/api/types/DiscountRetrieveResponse.ts +3 -0
  399. package/api/types/DiscountUpdateResponse.d.ts +3 -0
  400. package/api/types/DiscountUpdateResponse.ts +3 -0
  401. package/api/types/Dispute.d.ts +25 -0
  402. package/api/types/Dispute.js +2 -0
  403. package/api/types/Dispute.ts +25 -0
  404. package/api/types/DryRunResult.d.ts +3 -0
  405. package/api/types/DryRunResult.ts +3 -0
  406. package/api/types/Entitlement.d.ts +34 -0
  407. package/api/types/Entitlement.js +19 -0
  408. package/api/types/Entitlement.ts +37 -0
  409. package/api/types/EntitlementCheck.d.ts +28 -0
  410. package/api/types/EntitlementCheck.js +19 -0
  411. package/api/types/EntitlementCheck.ts +31 -0
  412. package/api/types/EntitlementCheckResponse.d.ts +5 -0
  413. package/api/types/EntitlementCheckResponse.js +3 -0
  414. package/api/types/{PaymentAttemptSingleResponse.ts → EntitlementCheckResponse.ts} +2 -2
  415. package/api/types/EntitlementListResponse.d.ts +19 -0
  416. package/api/types/EntitlementListResponse.js +3 -0
  417. package/api/types/EntitlementListResponse.ts +23 -0
  418. package/api/types/ErrorResponse.d.ts +3 -0
  419. package/api/types/ErrorResponse.ts +3 -0
  420. package/api/types/Event.d.ts +5 -2
  421. package/api/types/Event.ts +5 -2
  422. package/api/types/EventErrorResponse.d.ts +3 -0
  423. package/api/types/EventErrorResponse.ts +3 -0
  424. package/api/types/EventListResponse.d.ts +3 -0
  425. package/api/types/EventListResponse.ts +3 -0
  426. package/api/types/Export.d.ts +59 -0
  427. package/api/types/Export.js +30 -0
  428. package/api/types/Export.ts +61 -0
  429. package/api/types/ExportCreateResponse.d.ts +8 -0
  430. package/api/{resources/payments/client/requests/CancelPaymentRequest.js → types/ExportCreateResponse.js} +1 -1
  431. package/api/types/ExportCreateResponse.ts +10 -0
  432. package/api/types/ExportRetrieveResponse.d.ts +8 -0
  433. package/api/{resources/businesses/types/GetBusinessesResponse.js → types/ExportRetrieveResponse.js} +1 -1
  434. package/api/types/{PaymentSecurityResponse.ts → ExportRetrieveResponse.ts} +5 -2
  435. package/api/types/ExternalUpsertResponse.d.ts +3 -0
  436. package/api/types/ExternalUpsertResponse.ts +3 -0
  437. package/api/types/Import.d.ts +63 -0
  438. package/api/types/Import.js +24 -0
  439. package/api/types/Import.ts +66 -0
  440. package/api/types/ImportCreateResponse.d.ts +8 -0
  441. package/api/{resources/businesses/client/requests/GetBusinessesRequest.js → types/ImportCreateResponse.js} +1 -1
  442. package/api/types/ImportCreateResponse.ts +10 -0
  443. package/api/types/ImportRetrieveResponse.d.ts +8 -0
  444. package/api/types/ImportRetrieveResponse.js +3 -0
  445. package/api/types/ImportRetrieveResponse.ts +10 -0
  446. package/api/types/InternalServerErrorBody.d.ts +1 -0
  447. package/api/types/InternalServerErrorBody.ts +1 -0
  448. package/api/types/Invoice.d.ts +12 -0
  449. package/api/types/Invoice.ts +12 -0
  450. package/api/types/InvoiceCommentDetail.d.ts +3 -0
  451. package/api/types/InvoiceCommentDetail.ts +3 -0
  452. package/api/types/InvoiceCommentDetailResponse.d.ts +3 -0
  453. package/api/types/InvoiceCommentDetailResponse.ts +3 -0
  454. package/api/types/InvoiceCommentListDetailResponse.d.ts +3 -0
  455. package/api/types/InvoiceCommentListDetailResponse.ts +3 -0
  456. package/api/types/InvoiceListResponse.d.ts +3 -0
  457. package/api/types/InvoiceListResponse.ts +3 -0
  458. package/api/types/InvoiceResponse.d.ts +3 -0
  459. package/api/types/InvoiceResponse.ts +3 -0
  460. package/api/types/MeterError.d.ts +3 -0
  461. package/api/types/MeterError.ts +3 -0
  462. package/api/types/MeterGetResponse.d.ts +3 -0
  463. package/api/types/MeterGetResponse.ts +3 -0
  464. package/api/types/MeterListResponse.d.ts +3 -0
  465. package/api/types/MeterListResponse.ts +3 -0
  466. package/api/types/MeterPriceError.d.ts +3 -0
  467. package/api/types/MeterPriceError.ts +3 -0
  468. package/api/types/MeterPriceListResponse.d.ts +3 -0
  469. package/api/types/MeterPriceListResponse.ts +3 -0
  470. package/api/types/MeterPriceResponse.d.ts +3 -0
  471. package/api/types/MeterPriceResponse.ts +3 -0
  472. package/api/types/NotFoundErrorBody.d.ts +1 -20
  473. package/api/types/NotFoundErrorBody.js +1 -12
  474. package/api/types/NotFoundErrorBody.ts +1 -22
  475. package/api/types/OauthScope.d.ts +205 -0
  476. package/api/types/OauthScope.js +205 -0
  477. package/api/types/OauthScope.ts +206 -0
  478. package/api/types/OpenDispute.d.ts +18 -0
  479. package/api/types/OpenDispute.ts +18 -0
  480. package/api/types/Order.d.ts +3 -0
  481. package/api/types/Order.ts +3 -0
  482. package/api/types/OrderErrorResponse.d.ts +3 -0
  483. package/api/types/OrderErrorResponse.ts +3 -0
  484. package/api/types/OrderLineItem.d.ts +3 -0
  485. package/api/types/OrderLineItem.ts +3 -0
  486. package/api/types/OrderListResponse.d.ts +3 -0
  487. package/api/types/OrderListResponse.ts +3 -0
  488. package/api/types/Pagination.d.ts +13 -0
  489. package/api/types/{SetupIntentError.js → Pagination.js} +1 -1
  490. package/api/types/Pagination.ts +14 -0
  491. package/api/types/Payment.d.ts +3 -0
  492. package/api/types/Payment.ts +3 -0
  493. package/api/types/PaymentErrorResponse.d.ts +3 -0
  494. package/api/types/PaymentErrorResponse.ts +3 -0
  495. package/api/types/PaymentIntent.d.ts +3 -0
  496. package/api/types/PaymentIntent.ts +3 -0
  497. package/api/types/PaymentIntentErrorResponse.d.ts +3 -0
  498. package/api/types/PaymentIntentErrorResponse.ts +3 -0
  499. package/api/types/PaymentIntentListResponse.d.ts +3 -0
  500. package/api/types/PaymentIntentListResponse.ts +3 -0
  501. package/api/types/PaymentListResponse.d.ts +3 -0
  502. package/api/types/PaymentListResponse.ts +3 -0
  503. package/api/types/PaymentMethod.d.ts +3 -0
  504. package/api/types/PaymentMethod.ts +3 -0
  505. package/api/types/Payout.d.ts +3 -0
  506. package/api/types/Payout.ts +3 -0
  507. package/api/types/PayoutPayment.d.ts +3 -0
  508. package/api/types/PayoutPayment.ts +3 -0
  509. package/api/types/PhaseItem.d.ts +3 -0
  510. package/api/types/PhaseItem.ts +3 -0
  511. package/api/types/Price.d.ts +3 -0
  512. package/api/types/Price.ts +3 -0
  513. package/api/types/PriceErrorResponse.d.ts +3 -0
  514. package/api/types/PriceErrorResponse.ts +3 -0
  515. package/api/types/PriceListResponse.d.ts +3 -0
  516. package/api/types/PriceListResponse.ts +3 -0
  517. package/api/types/Product.d.ts +110 -0
  518. package/api/types/Product.js +44 -0
  519. package/api/types/Product.ts +112 -0
  520. package/api/types/ProductCreateResponse.d.ts +5 -2
  521. package/api/types/ProductCreateResponse.ts +6 -2
  522. package/api/types/ProductErrorResponse.d.ts +3 -0
  523. package/api/types/ProductErrorResponse.ts +3 -0
  524. package/api/types/ProductListResponse.d.ts +6 -12
  525. package/api/types/ProductListResponse.ts +7 -13
  526. package/api/types/ProductRetrieveResponse.d.ts +5 -2
  527. package/api/types/ProductRetrieveResponse.ts +6 -2
  528. package/api/types/ProductUpdateResponse.d.ts +5 -2
  529. package/api/types/ProductUpdateResponse.ts +6 -2
  530. package/api/types/Refund.d.ts +3 -0
  531. package/api/types/Refund.ts +3 -0
  532. package/api/types/RefundCreateResponse.d.ts +3 -0
  533. package/api/types/RefundCreateResponse.ts +3 -0
  534. package/api/types/RefundListResponse.d.ts +7 -0
  535. package/api/types/RefundListResponse.ts +7 -0
  536. package/api/types/RefundRetrieveResponse.d.ts +3 -0
  537. package/api/types/RefundRetrieveResponse.ts +3 -0
  538. package/api/types/ResendWebhookResponse.d.ts +3 -0
  539. package/api/types/ResendWebhookResponse.ts +3 -0
  540. package/api/types/SchedulePhase.d.ts +3 -0
  541. package/api/types/SchedulePhase.ts +3 -0
  542. package/api/types/StaleUpdateResponse.d.ts +3 -0
  543. package/api/types/StaleUpdateResponse.ts +3 -0
  544. package/api/types/SubscriptionCancelResponse.d.ts +3 -0
  545. package/api/types/SubscriptionCancelResponse.ts +3 -0
  546. package/api/types/SubscriptionCancelSubscriptionResponse.d.ts +3 -0
  547. package/api/types/SubscriptionCancelSubscriptionResponse.ts +3 -0
  548. package/api/types/SubscriptionChangePlanResponse.d.ts +3 -0
  549. package/api/types/SubscriptionChangePlanResponse.ts +3 -0
  550. package/api/types/SubscriptionChangeQuantityResponse.d.ts +3 -0
  551. package/api/types/SubscriptionChangeQuantityResponse.ts +3 -0
  552. package/api/types/SubscriptionCreateResponse.d.ts +3 -0
  553. package/api/types/SubscriptionCreateResponse.ts +3 -0
  554. package/api/types/SubscriptionItem.d.ts +3 -0
  555. package/api/types/SubscriptionItem.ts +3 -0
  556. package/api/types/SubscriptionItemCreateResponse.d.ts +3 -0
  557. package/api/types/SubscriptionItemCreateResponse.ts +3 -0
  558. package/api/types/SubscriptionItemDeleteResponse.d.ts +3 -0
  559. package/api/types/SubscriptionItemDeleteResponse.ts +3 -0
  560. package/api/types/SubscriptionItemListResponse.d.ts +3 -0
  561. package/api/types/SubscriptionItemListResponse.ts +3 -0
  562. package/api/types/SubscriptionItemUpdateResponse.d.ts +3 -0
  563. package/api/types/SubscriptionItemUpdateResponse.ts +3 -0
  564. package/api/types/SubscriptionListResponse.d.ts +3 -0
  565. package/api/types/SubscriptionListResponse.ts +3 -0
  566. package/api/types/SubscriptionPauseResponse.d.ts +3 -0
  567. package/api/types/SubscriptionPauseResponse.ts +3 -0
  568. package/api/types/SubscriptionPreviewRenewalResponse.d.ts +3 -0
  569. package/api/types/SubscriptionPreviewRenewalResponse.ts +3 -0
  570. package/api/types/SubscriptionReactivateResponse.d.ts +3 -0
  571. package/api/types/SubscriptionReactivateResponse.ts +3 -0
  572. package/api/types/SubscriptionResumeResponse.d.ts +3 -0
  573. package/api/types/SubscriptionResumeResponse.ts +3 -0
  574. package/api/types/SubscriptionRetrieveResponse.d.ts +3 -0
  575. package/api/types/SubscriptionRetrieveResponse.ts +3 -0
  576. package/api/types/SubscriptionSchedule.d.ts +3 -0
  577. package/api/types/SubscriptionSchedule.ts +3 -0
  578. package/api/types/SubscriptionScheduleErrorResponse.d.ts +3 -0
  579. package/api/types/SubscriptionScheduleErrorResponse.ts +3 -0
  580. package/api/types/SubscriptionScheduleListResponse.d.ts +3 -0
  581. package/api/types/SubscriptionScheduleListResponse.ts +3 -0
  582. package/api/types/SubscriptionUpdateResponse.d.ts +3 -0
  583. package/api/types/SubscriptionUpdateResponse.ts +3 -0
  584. package/api/types/SuccessResponse.d.ts +3 -0
  585. package/api/types/SuccessResponse.ts +3 -0
  586. package/api/types/TerminalDevice.d.ts +3 -0
  587. package/api/types/TerminalDevice.ts +3 -0
  588. package/api/types/TerminalDeviceErrorResponse.d.ts +3 -0
  589. package/api/types/TerminalDeviceErrorResponse.ts +3 -0
  590. package/api/types/TerminalDeviceListResponse.d.ts +3 -0
  591. package/api/types/TerminalDeviceListResponse.ts +3 -0
  592. package/api/types/TerminalDeviceResponse.d.ts +3 -0
  593. package/api/types/TerminalDeviceResponse.ts +3 -0
  594. package/api/types/TerminalPayment.d.ts +3 -0
  595. package/api/types/TerminalPayment.ts +3 -0
  596. package/api/types/TerminalPaymentErrorResponse.d.ts +3 -0
  597. package/api/types/TerminalPaymentErrorResponse.ts +3 -0
  598. package/api/types/TerminalPaymentListResponse.d.ts +3 -0
  599. package/api/types/TerminalPaymentListResponse.ts +3 -0
  600. package/api/types/TerminalPaymentResponse.d.ts +3 -0
  601. package/api/types/TerminalPaymentResponse.ts +3 -0
  602. package/api/types/TestEventResponse.d.ts +3 -0
  603. package/api/types/TestEventResponse.ts +3 -0
  604. package/api/types/Transaction.d.ts +71 -0
  605. package/api/types/Transaction.js +25 -0
  606. package/api/types/Transaction.ts +73 -0
  607. package/api/types/TransactionListResponse.d.ts +17 -0
  608. package/api/types/TransactionListResponse.js +8 -0
  609. package/api/types/{TaxRateListResponse.ts → TransactionListResponse.ts} +7 -4
  610. package/api/types/TransactionRetrieveResponse.d.ts +8 -0
  611. package/api/types/TransactionRetrieveResponse.js +3 -0
  612. package/api/types/TransactionRetrieveResponse.ts +10 -0
  613. package/api/types/TransactionReversalEligibilityResponse.d.ts +26 -0
  614. package/api/types/TransactionReversalEligibilityResponse.js +3 -0
  615. package/api/types/TransactionReversalEligibilityResponse.ts +28 -0
  616. package/api/types/UnauthorizedErrorBody.d.ts +1 -7
  617. package/api/types/UnauthorizedErrorBody.ts +1 -8
  618. package/api/types/UpdateMeterResponse.d.ts +3 -0
  619. package/api/types/UpdateMeterResponse.ts +3 -0
  620. package/api/types/UsageAggregateResponse.d.ts +3 -0
  621. package/api/types/UsageAggregateResponse.ts +3 -0
  622. package/api/types/UsageBalanceMeter.d.ts +3 -0
  623. package/api/types/UsageBalanceMeter.ts +3 -0
  624. package/api/types/UsageBalanceResponse.d.ts +3 -0
  625. package/api/types/UsageBalanceResponse.ts +3 -0
  626. package/api/types/UsageEvent.d.ts +3 -0
  627. package/api/types/UsageEvent.ts +3 -0
  628. package/api/types/UsageEventError.d.ts +3 -0
  629. package/api/types/UsageEventError.ts +3 -0
  630. package/api/types/UsageEventListResponse.d.ts +3 -0
  631. package/api/types/UsageEventListResponse.ts +3 -0
  632. package/api/types/Void.d.ts +3 -0
  633. package/api/types/Void.ts +3 -0
  634. package/api/types/VoidCreateResponse.d.ts +3 -0
  635. package/api/types/VoidCreateResponse.ts +3 -0
  636. package/api/types/VoidListResponse.d.ts +7 -0
  637. package/api/types/VoidListResponse.ts +7 -0
  638. package/api/types/VoidRetrieveResponse.d.ts +3 -0
  639. package/api/types/VoidRetrieveResponse.ts +3 -0
  640. package/api/types/WebhookEndpoint.d.ts +1 -4
  641. package/api/types/WebhookEndpoint.js +0 -1
  642. package/api/types/WebhookEndpoint.ts +1 -4
  643. package/api/types/index.d.ts +21 -28
  644. package/api/types/index.js +21 -28
  645. package/api/types/index.ts +21 -28
  646. package/package.json +1 -1
  647. package/webhooks.d.ts +1 -1
  648. package/webhooks.ts +5 -1
  649. package/api/resources/apps/client/Client.d.ts +0 -63
  650. package/api/resources/apps/client/Client.js +0 -187
  651. package/api/resources/apps/client/Client.ts +0 -246
  652. package/api/resources/apps/client/requests/DeleteAppsAppKeyInstallRequest.d.ts +0 -10
  653. package/api/resources/apps/client/requests/DeleteAppsAppKeyInstallRequest.ts +0 -11
  654. package/api/resources/apps/client/requests/PostAppsAppKeyInstallRequest.d.ts +0 -10
  655. package/api/resources/apps/client/requests/PostAppsAppKeyInstallRequest.ts +0 -11
  656. package/api/resources/apps/client/requests/index.d.ts +0 -3
  657. package/api/resources/apps/client/requests/index.ts +0 -2
  658. package/api/resources/apps/types/DeleteAppsAppKeyInstallResponse.d.ts +0 -5
  659. package/api/resources/apps/types/GetAppsEntitlementsResponse.d.ts +0 -5
  660. package/api/resources/apps/types/GetAppsEntitlementsResponse.ts +0 -6
  661. package/api/resources/apps/types/PostAppsAppKeyInstallResponse.d.ts +0 -6
  662. package/api/resources/apps/types/PostAppsAppKeyInstallResponse.ts +0 -7
  663. package/api/resources/apps/types/index.d.ts +0 -4
  664. package/api/resources/apps/types/index.js +0 -4
  665. package/api/resources/apps/types/index.ts +0 -3
  666. package/api/resources/businesses/client/Client.d.ts +0 -59
  667. package/api/resources/businesses/client/requests/GetBusinessesIdRequest.d.ts +0 -10
  668. package/api/resources/businesses/client/requests/GetBusinessesRequest.d.ts +0 -13
  669. package/api/resources/businesses/client/requests/GetBusinessesRequest.ts +0 -14
  670. package/api/resources/businesses/client/requests/PostBusinessesRequest.d.ts +0 -21
  671. package/api/resources/businesses/client/requests/PostBusinessesRequest.ts +0 -22
  672. package/api/resources/businesses/client/requests/index.d.ts +0 -4
  673. package/api/resources/businesses/client/requests/index.js +0 -2
  674. package/api/resources/businesses/client/requests/index.ts +0 -3
  675. package/api/resources/businesses/index.d.ts +0 -3
  676. package/api/resources/businesses/index.js +0 -3
  677. package/api/resources/businesses/types/GetBusinessesIdResponse.d.ts +0 -5
  678. package/api/resources/businesses/types/GetBusinessesIdResponse.ts +0 -6
  679. package/api/resources/businesses/types/GetBusinessesResponse.d.ts +0 -15
  680. package/api/resources/businesses/types/GetBusinessesResponse.ts +0 -17
  681. package/api/resources/businesses/types/PostBusinessesResponse.d.ts +0 -5
  682. package/api/resources/businesses/types/PostBusinessesResponse.js +0 -3
  683. package/api/resources/businesses/types/PostBusinessesResponse.ts +0 -6
  684. package/api/resources/businesses/types/index.d.ts +0 -4
  685. package/api/resources/businesses/types/index.js +0 -4
  686. package/api/resources/businesses/types/index.ts +0 -3
  687. package/api/resources/clients/client/Client.d.ts +0 -32
  688. package/api/resources/clients/client/Client.js +0 -76
  689. package/api/resources/clients/client/Client.ts +0 -108
  690. package/api/resources/clients/client/requests/GetClientsIdConfiguredCurrenciesRequest.d.ts +0 -10
  691. package/api/resources/clients/client/requests/GetClientsIdConfiguredCurrenciesRequest.js +0 -3
  692. package/api/resources/clients/client/requests/GetClientsIdConfiguredCurrenciesRequest.ts +0 -11
  693. package/api/resources/clients/client/requests/index.d.ts +0 -2
  694. package/api/resources/clients/client/requests/index.js +0 -2
  695. package/api/resources/clients/client/requests/index.ts +0 -1
  696. package/api/resources/clients/index.d.ts +0 -3
  697. package/api/resources/clients/index.js +0 -3
  698. package/api/resources/clients/types/GetClientsIdConfiguredCurrenciesResponse.d.ts +0 -18
  699. package/api/resources/clients/types/GetClientsIdConfiguredCurrenciesResponse.js +0 -3
  700. package/api/resources/clients/types/GetClientsIdConfiguredCurrenciesResponse.ts +0 -21
  701. package/api/resources/clients/types/index.d.ts +0 -2
  702. package/api/resources/clients/types/index.js +0 -2
  703. package/api/resources/clients/types/index.ts +0 -1
  704. package/api/resources/finance/client/requests/GetFinanceIncomeRequest.js +0 -3
  705. package/api/resources/finance/types/GetFinanceIncomeRequestGroupBy.d.ts +0 -8
  706. package/api/resources/finance/types/GetFinanceIncomeRequestGroupBy.ts +0 -10
  707. package/api/resources/finance/types/GetFinanceIncomeResponse.js +0 -3
  708. package/api/resources/finance/types/GetFinanceSummaryResponse.js +0 -3
  709. package/api/resources/paymentAttempts/client/Client.d.ts +0 -165
  710. package/api/resources/paymentAttempts/client/Client.js +0 -537
  711. package/api/resources/paymentAttempts/client/Client.ts +0 -757
  712. package/api/resources/paymentAttempts/client/index.d.ts +0 -2
  713. package/api/resources/paymentAttempts/client/index.js +0 -2
  714. package/api/resources/paymentAttempts/client/index.ts +0 -1
  715. package/api/resources/paymentAttempts/client/requests/CheckRetryEligibilityPaymentAttemptsRequest.d.ts +0 -11
  716. package/api/resources/paymentAttempts/client/requests/CheckRetryEligibilityPaymentAttemptsRequest.js +0 -3
  717. package/api/resources/paymentAttempts/client/requests/CheckRetryEligibilityPaymentAttemptsRequest.ts +0 -12
  718. package/api/resources/paymentAttempts/client/requests/GetByGatewayOrderIdPaymentAttemptsRequest.d.ts +0 -11
  719. package/api/resources/paymentAttempts/client/requests/GetByGatewayOrderIdPaymentAttemptsRequest.js +0 -3
  720. package/api/resources/paymentAttempts/client/requests/GetByGatewayOrderIdPaymentAttemptsRequest.ts +0 -12
  721. package/api/resources/paymentAttempts/client/requests/GetPaymentAttemptsRequest.d.ts +0 -11
  722. package/api/resources/paymentAttempts/client/requests/GetPaymentAttemptsRequest.js +0 -3
  723. package/api/resources/paymentAttempts/client/requests/GetPaymentAttemptsRequest.ts +0 -12
  724. package/api/resources/paymentAttempts/client/requests/GetSecurityResultPaymentAttemptsRequest.d.ts +0 -11
  725. package/api/resources/paymentAttempts/client/requests/GetSecurityResultPaymentAttemptsRequest.js +0 -3
  726. package/api/resources/paymentAttempts/client/requests/GetSecurityResultPaymentAttemptsRequest.ts +0 -12
  727. package/api/resources/paymentAttempts/client/requests/ListByInvoicePaymentAttemptsRequest.d.ts +0 -13
  728. package/api/resources/paymentAttempts/client/requests/ListByInvoicePaymentAttemptsRequest.js +0 -3
  729. package/api/resources/paymentAttempts/client/requests/ListByInvoicePaymentAttemptsRequest.ts +0 -14
  730. package/api/resources/paymentAttempts/client/requests/ListBySubscriptionPaymentAttemptsRequest.d.ts +0 -13
  731. package/api/resources/paymentAttempts/client/requests/ListBySubscriptionPaymentAttemptsRequest.js +0 -3
  732. package/api/resources/paymentAttempts/client/requests/ListBySubscriptionPaymentAttemptsRequest.ts +0 -14
  733. package/api/resources/paymentAttempts/client/requests/ListByTransactionPaymentAttemptsRequest.d.ts +0 -11
  734. package/api/resources/paymentAttempts/client/requests/ListByTransactionPaymentAttemptsRequest.js +0 -3
  735. package/api/resources/paymentAttempts/client/requests/ListByTransactionPaymentAttemptsRequest.ts +0 -12
  736. package/api/resources/paymentAttempts/client/requests/ListPaymentAttemptsRequest.d.ts +0 -19
  737. package/api/resources/paymentAttempts/client/requests/ListPaymentAttemptsRequest.js +0 -3
  738. package/api/resources/paymentAttempts/client/requests/ListPaymentAttemptsRequest.ts +0 -20
  739. package/api/resources/paymentAttempts/client/requests/index.d.ts +0 -9
  740. package/api/resources/paymentAttempts/client/requests/index.js +0 -2
  741. package/api/resources/paymentAttempts/client/requests/index.ts +0 -8
  742. package/api/resources/paymentAttempts/index.d.ts +0 -4
  743. package/api/resources/paymentAttempts/index.js +0 -4
  744. package/api/resources/paymentAttempts/index.ts +0 -3
  745. package/api/resources/paymentAttempts/resources/analytics/client/Client.d.ts +0 -30
  746. package/api/resources/paymentAttempts/resources/analytics/client/Client.js +0 -70
  747. package/api/resources/paymentAttempts/resources/analytics/client/Client.ts +0 -102
  748. package/api/resources/paymentAttempts/resources/analytics/client/index.d.ts +0 -2
  749. package/api/resources/paymentAttempts/resources/analytics/client/index.js +0 -2
  750. package/api/resources/paymentAttempts/resources/analytics/client/index.ts +0 -1
  751. package/api/resources/paymentAttempts/resources/analytics/client/requests/GetDeclinesAnalyticsRequest.d.ts +0 -16
  752. package/api/resources/paymentAttempts/resources/analytics/client/requests/GetDeclinesAnalyticsRequest.js +0 -3
  753. package/api/resources/paymentAttempts/resources/analytics/client/requests/GetDeclinesAnalyticsRequest.ts +0 -17
  754. package/api/resources/paymentAttempts/resources/analytics/client/requests/index.d.ts +0 -2
  755. package/api/resources/paymentAttempts/resources/analytics/client/requests/index.js +0 -2
  756. package/api/resources/paymentAttempts/resources/analytics/client/requests/index.ts +0 -1
  757. package/api/resources/paymentAttempts/resources/index.d.ts +0 -3
  758. package/api/resources/paymentAttempts/resources/index.js +0 -3
  759. package/api/resources/paymentAttempts/resources/index.ts +0 -2
  760. package/api/resources/paymentAttempts/types/ListSecurityCodesPaymentAttemptsResponse.d.ts +0 -32
  761. package/api/resources/paymentAttempts/types/ListSecurityCodesPaymentAttemptsResponse.js +0 -3
  762. package/api/resources/paymentAttempts/types/ListSecurityCodesPaymentAttemptsResponse.ts +0 -38
  763. package/api/resources/paymentAttempts/types/index.d.ts +0 -2
  764. package/api/resources/paymentAttempts/types/index.js +0 -2
  765. package/api/resources/paymentAttempts/types/index.ts +0 -1
  766. package/api/resources/paymentMethods/client/Client.d.ts +0 -115
  767. package/api/resources/paymentMethods/client/Client.js +0 -327
  768. package/api/resources/paymentMethods/client/Client.ts +0 -428
  769. package/api/resources/paymentMethods/client/index.d.ts +0 -2
  770. package/api/resources/paymentMethods/client/index.js +0 -2
  771. package/api/resources/paymentMethods/client/index.ts +0 -1
  772. package/api/resources/paymentMethods/client/requests/AttachPaymentMethodRequest.d.ts +0 -14
  773. package/api/resources/paymentMethods/client/requests/AttachPaymentMethodRequest.js +0 -3
  774. package/api/resources/paymentMethods/client/requests/AttachPaymentMethodRequest.ts +0 -15
  775. package/api/resources/paymentMethods/client/requests/DetachPaymentMethodsRequest.d.ts +0 -11
  776. package/api/resources/paymentMethods/client/requests/DetachPaymentMethodsRequest.js +0 -3
  777. package/api/resources/paymentMethods/client/requests/DetachPaymentMethodsRequest.ts +0 -12
  778. package/api/resources/paymentMethods/client/requests/ListPaymentMethodsRequest.d.ts +0 -18
  779. package/api/resources/paymentMethods/client/requests/ListPaymentMethodsRequest.js +0 -3
  780. package/api/resources/paymentMethods/client/requests/ListPaymentMethodsRequest.ts +0 -20
  781. package/api/resources/paymentMethods/client/requests/RetrievePaymentMethodsRequest.d.ts +0 -11
  782. package/api/resources/paymentMethods/client/requests/RetrievePaymentMethodsRequest.js +0 -3
  783. package/api/resources/paymentMethods/client/requests/RetrievePaymentMethodsRequest.ts +0 -12
  784. package/api/resources/paymentMethods/client/requests/UpdatePaymentMethodRequest.d.ts +0 -15
  785. package/api/resources/paymentMethods/client/requests/UpdatePaymentMethodRequest.js +0 -3
  786. package/api/resources/paymentMethods/client/requests/UpdatePaymentMethodRequest.ts +0 -17
  787. package/api/resources/paymentMethods/client/requests/index.d.ts +0 -6
  788. package/api/resources/paymentMethods/client/requests/index.js +0 -2
  789. package/api/resources/paymentMethods/client/requests/index.ts +0 -5
  790. package/api/resources/paymentMethods/index.d.ts +0 -3
  791. package/api/resources/paymentMethods/index.js +0 -3
  792. package/api/resources/paymentMethods/index.ts +0 -2
  793. package/api/resources/paymentMethods/types/ListPaymentMethodsRequestType.d.ts +0 -8
  794. package/api/resources/paymentMethods/types/ListPaymentMethodsRequestType.js +0 -8
  795. package/api/resources/paymentMethods/types/ListPaymentMethodsRequestType.ts +0 -10
  796. package/api/resources/paymentMethods/types/index.d.ts +0 -2
  797. package/api/resources/paymentMethods/types/index.js +0 -2
  798. package/api/resources/paymentMethods/types/index.ts +0 -1
  799. package/api/resources/payments/client/requests/CancelPaymentRequest.d.ts +0 -13
  800. package/api/resources/payments/client/requests/CancelPaymentRequest.ts +0 -14
  801. package/api/resources/payments/client/requests/CapturePaymentRequest.d.ts +0 -13
  802. package/api/resources/payments/client/requests/CapturePaymentRequest.js +0 -3
  803. package/api/resources/payments/client/requests/CapturePaymentRequest.ts +0 -14
  804. package/api/resources/setupIntents/client/Client.d.ts +0 -144
  805. package/api/resources/setupIntents/client/Client.js +0 -400
  806. package/api/resources/setupIntents/client/Client.ts +0 -518
  807. package/api/resources/setupIntents/client/index.d.ts +0 -2
  808. package/api/resources/setupIntents/client/index.js +0 -2
  809. package/api/resources/setupIntents/client/index.ts +0 -1
  810. package/api/resources/setupIntents/client/requests/CancelSetupIntentRequest.d.ts +0 -22
  811. package/api/resources/setupIntents/client/requests/CancelSetupIntentRequest.js +0 -11
  812. package/api/resources/setupIntents/client/requests/CancelSetupIntentRequest.ts +0 -24
  813. package/api/resources/setupIntents/client/requests/ConfirmSetupIntentRequest.d.ts +0 -15
  814. package/api/resources/setupIntents/client/requests/ConfirmSetupIntentRequest.js +0 -3
  815. package/api/resources/setupIntents/client/requests/ConfirmSetupIntentRequest.ts +0 -16
  816. package/api/resources/setupIntents/client/requests/CreateSetupIntentRequest.d.ts +0 -25
  817. package/api/resources/setupIntents/client/requests/CreateSetupIntentRequest.js +0 -10
  818. package/api/resources/setupIntents/client/requests/CreateSetupIntentRequest.ts +0 -27
  819. package/api/resources/setupIntents/client/requests/ListSetupIntentsRequest.d.ts +0 -18
  820. package/api/resources/setupIntents/client/requests/ListSetupIntentsRequest.js +0 -3
  821. package/api/resources/setupIntents/client/requests/ListSetupIntentsRequest.ts +0 -20
  822. package/api/resources/setupIntents/client/requests/RetrieveSetupIntentsRequest.d.ts +0 -11
  823. package/api/resources/setupIntents/client/requests/RetrieveSetupIntentsRequest.js +0 -3
  824. package/api/resources/setupIntents/client/requests/RetrieveSetupIntentsRequest.ts +0 -12
  825. package/api/resources/setupIntents/client/requests/UpdateSetupIntentRequest.d.ts +0 -19
  826. package/api/resources/setupIntents/client/requests/UpdateSetupIntentRequest.js +0 -3
  827. package/api/resources/setupIntents/client/requests/UpdateSetupIntentRequest.ts +0 -20
  828. package/api/resources/setupIntents/client/requests/index.d.ts +0 -7
  829. package/api/resources/setupIntents/client/requests/index.js +0 -3
  830. package/api/resources/setupIntents/client/requests/index.ts +0 -6
  831. package/api/resources/setupIntents/index.d.ts +0 -3
  832. package/api/resources/setupIntents/index.js +0 -3
  833. package/api/resources/setupIntents/index.ts +0 -2
  834. package/api/resources/setupIntents/types/ListSetupIntentsRequestStatus.d.ts +0 -11
  835. package/api/resources/setupIntents/types/ListSetupIntentsRequestStatus.js +0 -11
  836. package/api/resources/setupIntents/types/ListSetupIntentsRequestStatus.ts +0 -13
  837. package/api/resources/setupIntents/types/index.d.ts +0 -2
  838. package/api/resources/setupIntents/types/index.js +0 -2
  839. package/api/resources/setupIntents/types/index.ts +0 -1
  840. package/api/resources/taxRates/client/Client.d.ts +0 -93
  841. package/api/resources/taxRates/client/Client.js +0 -293
  842. package/api/resources/taxRates/client/Client.ts +0 -397
  843. package/api/resources/taxRates/client/index.d.ts +0 -2
  844. package/api/resources/taxRates/client/index.js +0 -2
  845. package/api/resources/taxRates/client/index.ts +0 -1
  846. package/api/resources/taxRates/client/requests/CreateTaxRateRequest.d.ts +0 -38
  847. package/api/resources/taxRates/client/requests/CreateTaxRateRequest.js +0 -12
  848. package/api/resources/taxRates/client/requests/CreateTaxRateRequest.ts +0 -40
  849. package/api/resources/taxRates/client/requests/DeleteTaxRatesIdRequest.d.ts +0 -11
  850. package/api/resources/taxRates/client/requests/DeleteTaxRatesIdRequest.js +0 -3
  851. package/api/resources/taxRates/client/requests/GetTaxRatesIdRequest.d.ts +0 -11
  852. package/api/resources/taxRates/client/requests/GetTaxRatesIdRequest.js +0 -3
  853. package/api/resources/taxRates/client/requests/GetTaxRatesRequest.d.ts +0 -24
  854. package/api/resources/taxRates/client/requests/GetTaxRatesRequest.js +0 -3
  855. package/api/resources/taxRates/client/requests/GetTaxRatesRequest.ts +0 -26
  856. package/api/resources/taxRates/client/requests/UpdateTaxRateRequest.d.ts +0 -25
  857. package/api/resources/taxRates/client/requests/UpdateTaxRateRequest.js +0 -3
  858. package/api/resources/taxRates/client/requests/UpdateTaxRateRequest.ts +0 -26
  859. package/api/resources/taxRates/client/requests/index.d.ts +0 -6
  860. package/api/resources/taxRates/client/requests/index.js +0 -2
  861. package/api/resources/taxRates/client/requests/index.ts +0 -5
  862. package/api/resources/taxRates/index.d.ts +0 -3
  863. package/api/resources/taxRates/index.js +0 -3
  864. package/api/resources/taxRates/index.ts +0 -2
  865. package/api/resources/taxRates/types/GetTaxRatesRequestActive.d.ts +0 -7
  866. package/api/resources/taxRates/types/GetTaxRatesRequestActive.js +0 -7
  867. package/api/resources/taxRates/types/GetTaxRatesRequestActive.ts +0 -8
  868. package/api/resources/taxRates/types/GetTaxRatesRequestInclusive.d.ts +0 -7
  869. package/api/resources/taxRates/types/GetTaxRatesRequestInclusive.js +0 -7
  870. package/api/resources/taxRates/types/GetTaxRatesRequestInclusive.ts +0 -9
  871. package/api/resources/taxRates/types/GetTaxRatesRequestTaxType.d.ts +0 -9
  872. package/api/resources/taxRates/types/GetTaxRatesRequestTaxType.js +0 -9
  873. package/api/resources/taxRates/types/GetTaxRatesRequestTaxType.ts +0 -10
  874. package/api/resources/taxRates/types/index.d.ts +0 -4
  875. package/api/resources/taxRates/types/index.js +0 -4
  876. package/api/resources/taxRates/types/index.ts +0 -3
  877. package/api/resources/userInvitations/client/Client.d.ts +0 -96
  878. package/api/resources/userInvitations/client/Client.js +0 -299
  879. package/api/resources/userInvitations/client/Client.ts +0 -397
  880. package/api/resources/userInvitations/client/index.d.ts +0 -2
  881. package/api/resources/userInvitations/client/index.js +0 -2
  882. package/api/resources/userInvitations/client/index.ts +0 -1
  883. package/api/resources/userInvitations/client/requests/DeleteUserInvitationsIdRequest.d.ts +0 -10
  884. package/api/resources/userInvitations/client/requests/DeleteUserInvitationsIdRequest.js +0 -3
  885. package/api/resources/userInvitations/client/requests/DeleteUserInvitationsIdRequest.ts +0 -11
  886. package/api/resources/userInvitations/client/requests/PostUserInvitationsAcceptRequest.d.ts +0 -13
  887. package/api/resources/userInvitations/client/requests/PostUserInvitationsAcceptRequest.js +0 -3
  888. package/api/resources/userInvitations/client/requests/PostUserInvitationsAcceptRequest.ts +0 -14
  889. package/api/resources/userInvitations/client/requests/PostUserInvitationsIdResendRequest.d.ts +0 -10
  890. package/api/resources/userInvitations/client/requests/PostUserInvitationsIdResendRequest.js +0 -3
  891. package/api/resources/userInvitations/client/requests/PostUserInvitationsRequest.d.ts +0 -21
  892. package/api/resources/userInvitations/client/requests/PostUserInvitationsRequest.js +0 -10
  893. package/api/resources/userInvitations/client/requests/PostUserInvitationsRequest.ts +0 -23
  894. package/api/resources/userInvitations/client/requests/index.d.ts +0 -5
  895. package/api/resources/userInvitations/client/requests/index.js +0 -2
  896. package/api/resources/userInvitations/client/requests/index.ts +0 -4
  897. package/api/resources/userInvitations/index.d.ts +0 -3
  898. package/api/resources/userInvitations/index.js +0 -3
  899. package/api/resources/userInvitations/index.ts +0 -2
  900. package/api/resources/userInvitations/types/DeleteUserInvitationsIdResponse.d.ts +0 -4
  901. package/api/resources/userInvitations/types/DeleteUserInvitationsIdResponse.js +0 -3
  902. package/api/resources/userInvitations/types/GetUserInvitationsResponse.d.ts +0 -26
  903. package/api/resources/userInvitations/types/GetUserInvitationsResponse.js +0 -16
  904. package/api/resources/userInvitations/types/GetUserInvitationsResponse.ts +0 -30
  905. package/api/resources/userInvitations/types/PostUserInvitationsAcceptResponse.d.ts +0 -6
  906. package/api/resources/userInvitations/types/PostUserInvitationsAcceptResponse.js +0 -3
  907. package/api/resources/userInvitations/types/PostUserInvitationsAcceptResponse.ts +0 -7
  908. package/api/resources/userInvitations/types/PostUserInvitationsIdResendResponse.d.ts +0 -23
  909. package/api/resources/userInvitations/types/PostUserInvitationsIdResendResponse.js +0 -13
  910. package/api/resources/userInvitations/types/PostUserInvitationsIdResendResponse.ts +0 -26
  911. package/api/resources/userInvitations/types/PostUserInvitationsResponse.d.ts +0 -23
  912. package/api/resources/userInvitations/types/PostUserInvitationsResponse.js +0 -13
  913. package/api/resources/userInvitations/types/PostUserInvitationsResponse.ts +0 -26
  914. package/api/resources/userInvitations/types/index.d.ts +0 -6
  915. package/api/resources/userInvitations/types/index.js +0 -6
  916. package/api/resources/userInvitations/types/index.ts +0 -5
  917. package/api/resources/webhookEndpoints/client/requests/CreateWebhookEndpointInput.d.ts +0 -16
  918. package/api/resources/webhookEndpoints/client/requests/CreateWebhookEndpointInput.js +0 -3
  919. package/api/resources/webhookEndpoints/client/requests/CreateWebhookEndpointInput.ts +0 -17
  920. package/api/resources/webhookEndpoints/client/requests/UpdateWebhookEndpointInput.d.ts +0 -19
  921. package/api/resources/webhookEndpoints/client/requests/UpdateWebhookEndpointInput.js +0 -3
  922. package/api/types/AuthenticationError.d.ts +0 -24
  923. package/api/types/AuthenticationError.js +0 -16
  924. package/api/types/AuthenticationError.ts +0 -27
  925. package/api/types/AvsCodeInterpretation.d.ts +0 -38
  926. package/api/types/AvsCodeInterpretation.js +0 -21
  927. package/api/types/AvsCodeInterpretation.ts +0 -40
  928. package/api/types/CvvCodeInterpretation.d.ts +0 -34
  929. package/api/types/CvvCodeInterpretation.js +0 -21
  930. package/api/types/CvvCodeInterpretation.ts +0 -36
  931. package/api/types/DeclineAnalyticsResponse.d.ts +0 -33
  932. package/api/types/DeclineAnalyticsResponse.js +0 -3
  933. package/api/types/DeclineAnalyticsResponse.ts +0 -38
  934. package/api/types/ForbiddenErrorBody.d.ts +0 -23
  935. package/api/types/ForbiddenErrorBody.js +0 -15
  936. package/api/types/ForbiddenErrorBody.ts +0 -26
  937. package/api/types/PaymentAttempt.d.ts +0 -171
  938. package/api/types/PaymentAttempt.js +0 -89
  939. package/api/types/PaymentAttempt.ts +0 -173
  940. package/api/types/PaymentAttemptErrorResponse.d.ts +0 -5
  941. package/api/types/PaymentAttemptErrorResponse.js +0 -3
  942. package/api/types/PaymentAttemptErrorResponse.ts +0 -6
  943. package/api/types/PaymentAttemptListResponse.d.ts +0 -14
  944. package/api/types/PaymentAttemptListResponse.js +0 -3
  945. package/api/types/PaymentAttemptListResponse.ts +0 -17
  946. package/api/types/PaymentAttemptSingleResponse.d.ts +0 -5
  947. package/api/types/PaymentAttemptSingleResponse.js +0 -3
  948. package/api/types/PaymentMethodList.d.ts +0 -19
  949. package/api/types/PaymentMethodList.js +0 -9
  950. package/api/types/PaymentMethodList.ts +0 -22
  951. package/api/types/PaymentSecurityResponse.d.ts +0 -5
  952. package/api/types/PaymentSecurityResponse.js +0 -3
  953. package/api/types/PaymentSecurityResult.d.ts +0 -27
  954. package/api/types/PaymentSecurityResult.js +0 -18
  955. package/api/types/PaymentSecurityResult.ts +0 -30
  956. package/api/types/RetryEligibilityResponse.d.ts +0 -14
  957. package/api/types/RetryEligibilityResponse.js +0 -3
  958. package/api/types/RetryEligibilityResponse.ts +0 -17
  959. package/api/types/SetupIntent.d.ts +0 -70
  960. package/api/types/SetupIntent.js +0 -29
  961. package/api/types/SetupIntent.ts +0 -73
  962. package/api/types/SetupIntentError.d.ts +0 -23
  963. package/api/types/SetupIntentError.ts +0 -25
  964. package/api/types/SetupIntentList.d.ts +0 -21
  965. package/api/types/SetupIntentList.js +0 -9
  966. package/api/types/SetupIntentList.ts +0 -24
  967. package/api/types/SetupIntentNextAction.d.ts +0 -29
  968. package/api/types/SetupIntentNextAction.js +0 -10
  969. package/api/types/SetupIntentNextAction.ts +0 -32
  970. package/api/types/TaxRate.d.ts +0 -46
  971. package/api/types/TaxRate.js +0 -16
  972. package/api/types/TaxRate.ts +0 -48
  973. package/api/types/TaxRateErrorResponse.d.ts +0 -12
  974. package/api/types/TaxRateErrorResponse.js +0 -3
  975. package/api/types/TaxRateErrorResponse.ts +0 -14
  976. package/api/types/TaxRateListResponse.d.ts +0 -14
  977. package/api/types/TaxRateListResponse.js +0 -8
  978. package/api/types/ValidationError.d.ts +0 -28
  979. package/api/types/ValidationError.js +0 -14
  980. package/api/types/ValidationError.ts +0 -32
  981. package/api/types/WebhookEndpointCreateResponse.d.ts +0 -5
  982. package/api/types/WebhookEndpointCreateResponse.js +0 -3
  983. package/api/types/WebhookEndpointDeleteResponse.d.ts +0 -10
  984. package/api/types/WebhookEndpointDeleteResponse.js +0 -3
  985. package/api/types/WebhookEndpointRetrieveResponse.js +0 -18
  986. package/api/types/WebhookEndpointRotateSecretResponse.d.ts +0 -5
  987. package/api/types/WebhookEndpointRotateSecretResponse.js +0 -3
  988. package/api/types/WebhookEndpointUpdateResponse.js +0 -18
  989. package/api/types/WebhookEvent.d.ts +0 -24
  990. package/api/types/WebhookEvent.ts +0 -26
  991. /package/api/resources/{apps → exports}/client/index.d.ts +0 -0
  992. /package/api/resources/{apps → exports}/client/index.js +0 -0
  993. /package/api/resources/{apps → exports}/client/index.ts +0 -0
  994. /package/api/resources/{paymentAttempts/resources/analytics → exports}/index.d.ts +0 -0
  995. /package/api/resources/{paymentAttempts/resources/analytics → exports}/index.js +0 -0
  996. /package/api/resources/{paymentAttempts/resources/analytics → exports}/index.ts +0 -0
  997. /package/api/resources/{businesses → imports}/client/index.d.ts +0 -0
  998. /package/api/resources/{businesses → imports}/client/index.js +0 -0
  999. /package/api/resources/{businesses → imports}/client/index.ts +0 -0
  1000. /package/api/resources/{clients → transactions}/client/index.d.ts +0 -0
  1001. /package/api/resources/{clients → transactions}/client/index.js +0 -0
  1002. /package/api/resources/{clients → transactions}/client/index.ts +0 -0
  1003. /package/api/resources/{apps → transactions}/client/requests/index.js +0 -0
  1004. /package/api/resources/{apps → transactions}/index.d.ts +0 -0
  1005. /package/api/resources/{apps → transactions}/index.js +0 -0
  1006. /package/api/resources/{apps → transactions}/index.ts +0 -0
package/Client.d.ts CHANGED
@@ -1,10 +1,7 @@
1
1
  import { AnalyticsClient } from "./api/resources/analytics/client/Client.js";
2
- import { AppsClient } from "./api/resources/apps/client/Client.js";
3
2
  import { BillingClient } from "./api/resources/billing/client/Client.js";
4
- import { BusinessesClient } from "./api/resources/businesses/client/Client.js";
5
3
  import { ChargesClient } from "./api/resources/charges/client/Client.js";
6
4
  import { CheckoutSessionsClient } from "./api/resources/checkoutSessions/client/Client.js";
7
- import { ClientsClient } from "./api/resources/clients/client/Client.js";
8
5
  import { CommsClient } from "./api/resources/comms/client/Client.js";
9
6
  import { CreditNotesClient } from "./api/resources/creditNotes/client/Client.js";
10
7
  import { CustomersClient } from "./api/resources/customers/client/Client.js";
@@ -12,29 +9,27 @@ import { DiscountsClient } from "./api/resources/discounts/client/Client.js";
12
9
  import { DisputesClient } from "./api/resources/disputes/client/Client.js";
13
10
  import { EntitlementsClient } from "./api/resources/entitlements/client/Client.js";
14
11
  import { EventsClient } from "./api/resources/events/client/Client.js";
12
+ import { ExportsClient } from "./api/resources/exports/client/Client.js";
15
13
  import { FinanceClient } from "./api/resources/finance/client/Client.js";
14
+ import { ImportsClient } from "./api/resources/imports/client/Client.js";
16
15
  import { IntegrationsClient } from "./api/resources/integrations/client/Client.js";
17
16
  import { InvoicesClient } from "./api/resources/invoices/client/Client.js";
18
17
  import { MetersClient } from "./api/resources/meters/client/Client.js";
19
18
  import { OrdersClient } from "./api/resources/orders/client/Client.js";
20
- import { PaymentAttemptsClient } from "./api/resources/paymentAttempts/client/Client.js";
21
19
  import { PaymentIntentsClient } from "./api/resources/paymentIntents/client/Client.js";
22
20
  import { PaymentLinksClient } from "./api/resources/paymentLinks/client/Client.js";
23
- import { PaymentMethodsClient } from "./api/resources/paymentMethods/client/Client.js";
24
21
  import { PaymentsClient } from "./api/resources/payments/client/Client.js";
25
22
  import { PayoutsClient } from "./api/resources/payouts/client/Client.js";
26
23
  import { PricesClient } from "./api/resources/prices/client/Client.js";
27
24
  import { ProductsClient } from "./api/resources/products/client/Client.js";
28
25
  import { RefundsClient } from "./api/resources/refunds/client/Client.js";
29
- import { SetupIntentsClient } from "./api/resources/setupIntents/client/Client.js";
30
26
  import { SubscriptionSchedulesClient } from "./api/resources/subscriptionSchedules/client/Client.js";
31
27
  import { SubscriptionsClient } from "./api/resources/subscriptions/client/Client.js";
32
28
  import { SyncStateClient } from "./api/resources/syncState/client/Client.js";
33
- import { TaxRatesClient } from "./api/resources/taxRates/client/Client.js";
34
29
  import { TerminalDevicesClient } from "./api/resources/terminalDevices/client/Client.js";
35
30
  import { TerminalPaymentsClient } from "./api/resources/terminalPayments/client/Client.js";
31
+ import { TransactionsClient } from "./api/resources/transactions/client/Client.js";
36
32
  import { UsageClient } from "./api/resources/usage/client/Client.js";
37
- import { UserInvitationsClient } from "./api/resources/userInvitations/client/Client.js";
38
33
  import { VoidsClient } from "./api/resources/voids/client/Client.js";
39
34
  import { WebhookEndpointsClient } from "./api/resources/webhookEndpoints/client/Client.js";
40
35
  import type { BaseClientOptions, BaseRequestOptions } from "./BaseClient.js";
@@ -47,12 +42,8 @@ export declare namespace RevKeenClient {
47
42
  export declare class RevKeenClient {
48
43
  protected readonly _options: NormalizedClientOptionsWithAuth<RevKeenClient.Options>;
49
44
  protected _invoices: InvoicesClient | undefined;
50
- protected _userInvitations: UserInvitationsClient | undefined;
51
45
  protected _products: ProductsClient | undefined;
52
- protected _apps: AppsClient | undefined;
53
46
  protected _checkoutSessions: CheckoutSessionsClient | undefined;
54
- protected _businesses: BusinessesClient | undefined;
55
- protected _clients: ClientsClient | undefined;
56
47
  protected _entitlements: EntitlementsClient | undefined;
57
48
  protected _customers: CustomersClient | undefined;
58
49
  protected _subscriptions: SubscriptionsClient | undefined;
@@ -66,33 +57,28 @@ export declare class RevKeenClient {
66
57
  protected _disputes: DisputesClient | undefined;
67
58
  protected _discounts: DiscountsClient | undefined;
68
59
  protected _paymentLinks: PaymentLinksClient | undefined;
69
- protected _paymentAttempts: PaymentAttemptsClient | undefined;
70
60
  protected _charges: ChargesClient | undefined;
71
61
  protected _billing: BillingClient | undefined;
72
62
  protected _prices: PricesClient | undefined;
73
63
  protected _meters: MetersClient | undefined;
74
- protected _taxRates: TaxRatesClient | undefined;
75
64
  protected _orders: OrdersClient | undefined;
76
65
  protected _payments: PaymentsClient | undefined;
77
66
  protected _integrations: IntegrationsClient | undefined;
78
67
  protected _syncState: SyncStateClient | undefined;
79
68
  protected _webhookEndpoints: WebhookEndpointsClient | undefined;
80
69
  protected _paymentIntents: PaymentIntentsClient | undefined;
81
- protected _setupIntents: SetupIntentsClient | undefined;
82
- protected _paymentMethods: PaymentMethodsClient | undefined;
83
70
  protected _events: EventsClient | undefined;
84
71
  protected _subscriptionSchedules: SubscriptionSchedulesClient | undefined;
85
72
  protected _terminalPayments: TerminalPaymentsClient | undefined;
86
73
  protected _terminalDevices: TerminalDevicesClient | undefined;
87
74
  protected _usage: UsageClient | undefined;
75
+ protected _transactions: TransactionsClient | undefined;
76
+ protected _exports: ExportsClient | undefined;
77
+ protected _imports: ImportsClient | undefined;
88
78
  constructor(options: RevKeenClient.Options);
89
79
  get invoices(): InvoicesClient;
90
- get userInvitations(): UserInvitationsClient;
91
80
  get products(): ProductsClient;
92
- get apps(): AppsClient;
93
81
  get checkoutSessions(): CheckoutSessionsClient;
94
- get businesses(): BusinessesClient;
95
- get clients(): ClientsClient;
96
82
  get entitlements(): EntitlementsClient;
97
83
  get customers(): CustomersClient;
98
84
  get subscriptions(): SubscriptionsClient;
@@ -106,24 +92,23 @@ export declare class RevKeenClient {
106
92
  get disputes(): DisputesClient;
107
93
  get discounts(): DiscountsClient;
108
94
  get paymentLinks(): PaymentLinksClient;
109
- get paymentAttempts(): PaymentAttemptsClient;
110
95
  get charges(): ChargesClient;
111
96
  get billing(): BillingClient;
112
97
  get prices(): PricesClient;
113
98
  get meters(): MetersClient;
114
- get taxRates(): TaxRatesClient;
115
99
  get orders(): OrdersClient;
116
100
  get payments(): PaymentsClient;
117
101
  get integrations(): IntegrationsClient;
118
102
  get syncState(): SyncStateClient;
119
103
  get webhookEndpoints(): WebhookEndpointsClient;
120
104
  get paymentIntents(): PaymentIntentsClient;
121
- get setupIntents(): SetupIntentsClient;
122
- get paymentMethods(): PaymentMethodsClient;
123
105
  get events(): EventsClient;
124
106
  get subscriptionSchedules(): SubscriptionSchedulesClient;
125
107
  get terminalPayments(): TerminalPaymentsClient;
126
108
  get terminalDevices(): TerminalDevicesClient;
127
109
  get usage(): UsageClient;
110
+ get transactions(): TransactionsClient;
111
+ get exports(): ExportsClient;
112
+ get imports(): ImportsClient;
128
113
  }
129
114
  //# sourceMappingURL=Client.d.ts.map
package/Client.js CHANGED
@@ -1,11 +1,8 @@
1
1
  // This file was auto-generated by Fern from our API Definition.
2
2
  import { AnalyticsClient } from "./api/resources/analytics/client/Client.js";
3
- import { AppsClient } from "./api/resources/apps/client/Client.js";
4
3
  import { BillingClient } from "./api/resources/billing/client/Client.js";
5
- import { BusinessesClient } from "./api/resources/businesses/client/Client.js";
6
4
  import { ChargesClient } from "./api/resources/charges/client/Client.js";
7
5
  import { CheckoutSessionsClient } from "./api/resources/checkoutSessions/client/Client.js";
8
- import { ClientsClient } from "./api/resources/clients/client/Client.js";
9
6
  import { CommsClient } from "./api/resources/comms/client/Client.js";
10
7
  import { CreditNotesClient } from "./api/resources/creditNotes/client/Client.js";
11
8
  import { CustomersClient } from "./api/resources/customers/client/Client.js";
@@ -13,29 +10,27 @@ import { DiscountsClient } from "./api/resources/discounts/client/Client.js";
13
10
  import { DisputesClient } from "./api/resources/disputes/client/Client.js";
14
11
  import { EntitlementsClient } from "./api/resources/entitlements/client/Client.js";
15
12
  import { EventsClient } from "./api/resources/events/client/Client.js";
13
+ import { ExportsClient } from "./api/resources/exports/client/Client.js";
16
14
  import { FinanceClient } from "./api/resources/finance/client/Client.js";
15
+ import { ImportsClient } from "./api/resources/imports/client/Client.js";
17
16
  import { IntegrationsClient } from "./api/resources/integrations/client/Client.js";
18
17
  import { InvoicesClient } from "./api/resources/invoices/client/Client.js";
19
18
  import { MetersClient } from "./api/resources/meters/client/Client.js";
20
19
  import { OrdersClient } from "./api/resources/orders/client/Client.js";
21
- import { PaymentAttemptsClient } from "./api/resources/paymentAttempts/client/Client.js";
22
20
  import { PaymentIntentsClient } from "./api/resources/paymentIntents/client/Client.js";
23
21
  import { PaymentLinksClient } from "./api/resources/paymentLinks/client/Client.js";
24
- import { PaymentMethodsClient } from "./api/resources/paymentMethods/client/Client.js";
25
22
  import { PaymentsClient } from "./api/resources/payments/client/Client.js";
26
23
  import { PayoutsClient } from "./api/resources/payouts/client/Client.js";
27
24
  import { PricesClient } from "./api/resources/prices/client/Client.js";
28
25
  import { ProductsClient } from "./api/resources/products/client/Client.js";
29
26
  import { RefundsClient } from "./api/resources/refunds/client/Client.js";
30
- import { SetupIntentsClient } from "./api/resources/setupIntents/client/Client.js";
31
27
  import { SubscriptionSchedulesClient } from "./api/resources/subscriptionSchedules/client/Client.js";
32
28
  import { SubscriptionsClient } from "./api/resources/subscriptions/client/Client.js";
33
29
  import { SyncStateClient } from "./api/resources/syncState/client/Client.js";
34
- import { TaxRatesClient } from "./api/resources/taxRates/client/Client.js";
35
30
  import { TerminalDevicesClient } from "./api/resources/terminalDevices/client/Client.js";
36
31
  import { TerminalPaymentsClient } from "./api/resources/terminalPayments/client/Client.js";
32
+ import { TransactionsClient } from "./api/resources/transactions/client/Client.js";
37
33
  import { UsageClient } from "./api/resources/usage/client/Client.js";
38
- import { UserInvitationsClient } from "./api/resources/userInvitations/client/Client.js";
39
34
  import { VoidsClient } from "./api/resources/voids/client/Client.js";
40
35
  import { WebhookEndpointsClient } from "./api/resources/webhookEndpoints/client/Client.js";
41
36
  import { normalizeClientOptionsWithAuth } from "./BaseClient.js";
@@ -46,24 +41,12 @@ export class RevKeenClient {
46
41
  get invoices() {
47
42
  return (this._invoices ?? (this._invoices = new InvoicesClient(this._options)));
48
43
  }
49
- get userInvitations() {
50
- return (this._userInvitations ?? (this._userInvitations = new UserInvitationsClient(this._options)));
51
- }
52
44
  get products() {
53
45
  return (this._products ?? (this._products = new ProductsClient(this._options)));
54
46
  }
55
- get apps() {
56
- return (this._apps ?? (this._apps = new AppsClient(this._options)));
57
- }
58
47
  get checkoutSessions() {
59
48
  return (this._checkoutSessions ?? (this._checkoutSessions = new CheckoutSessionsClient(this._options)));
60
49
  }
61
- get businesses() {
62
- return (this._businesses ?? (this._businesses = new BusinessesClient(this._options)));
63
- }
64
- get clients() {
65
- return (this._clients ?? (this._clients = new ClientsClient(this._options)));
66
- }
67
50
  get entitlements() {
68
51
  return (this._entitlements ?? (this._entitlements = new EntitlementsClient(this._options)));
69
52
  }
@@ -103,9 +86,6 @@ export class RevKeenClient {
103
86
  get paymentLinks() {
104
87
  return (this._paymentLinks ?? (this._paymentLinks = new PaymentLinksClient(this._options)));
105
88
  }
106
- get paymentAttempts() {
107
- return (this._paymentAttempts ?? (this._paymentAttempts = new PaymentAttemptsClient(this._options)));
108
- }
109
89
  get charges() {
110
90
  return (this._charges ?? (this._charges = new ChargesClient(this._options)));
111
91
  }
@@ -118,9 +98,6 @@ export class RevKeenClient {
118
98
  get meters() {
119
99
  return (this._meters ?? (this._meters = new MetersClient(this._options)));
120
100
  }
121
- get taxRates() {
122
- return (this._taxRates ?? (this._taxRates = new TaxRatesClient(this._options)));
123
- }
124
101
  get orders() {
125
102
  return (this._orders ?? (this._orders = new OrdersClient(this._options)));
126
103
  }
@@ -139,12 +116,6 @@ export class RevKeenClient {
139
116
  get paymentIntents() {
140
117
  return (this._paymentIntents ?? (this._paymentIntents = new PaymentIntentsClient(this._options)));
141
118
  }
142
- get setupIntents() {
143
- return (this._setupIntents ?? (this._setupIntents = new SetupIntentsClient(this._options)));
144
- }
145
- get paymentMethods() {
146
- return (this._paymentMethods ?? (this._paymentMethods = new PaymentMethodsClient(this._options)));
147
- }
148
119
  get events() {
149
120
  return (this._events ?? (this._events = new EventsClient(this._options)));
150
121
  }
@@ -160,5 +131,14 @@ export class RevKeenClient {
160
131
  get usage() {
161
132
  return (this._usage ?? (this._usage = new UsageClient(this._options)));
162
133
  }
134
+ get transactions() {
135
+ return (this._transactions ?? (this._transactions = new TransactionsClient(this._options)));
136
+ }
137
+ get exports() {
138
+ return (this._exports ?? (this._exports = new ExportsClient(this._options)));
139
+ }
140
+ get imports() {
141
+ return (this._imports ?? (this._imports = new ImportsClient(this._options)));
142
+ }
163
143
  }
164
144
  //# sourceMappingURL=Client.js.map
package/Client.ts CHANGED
@@ -1,12 +1,9 @@
1
1
  // This file was auto-generated by Fern from our API Definition.
2
2
 
3
3
  import { AnalyticsClient } from "./api/resources/analytics/client/Client.js";
4
- import { AppsClient } from "./api/resources/apps/client/Client.js";
5
4
  import { BillingClient } from "./api/resources/billing/client/Client.js";
6
- import { BusinessesClient } from "./api/resources/businesses/client/Client.js";
7
5
  import { ChargesClient } from "./api/resources/charges/client/Client.js";
8
6
  import { CheckoutSessionsClient } from "./api/resources/checkoutSessions/client/Client.js";
9
- import { ClientsClient } from "./api/resources/clients/client/Client.js";
10
7
  import { CommsClient } from "./api/resources/comms/client/Client.js";
11
8
  import { CreditNotesClient } from "./api/resources/creditNotes/client/Client.js";
12
9
  import { CustomersClient } from "./api/resources/customers/client/Client.js";
@@ -14,29 +11,27 @@ import { DiscountsClient } from "./api/resources/discounts/client/Client.js";
14
11
  import { DisputesClient } from "./api/resources/disputes/client/Client.js";
15
12
  import { EntitlementsClient } from "./api/resources/entitlements/client/Client.js";
16
13
  import { EventsClient } from "./api/resources/events/client/Client.js";
14
+ import { ExportsClient } from "./api/resources/exports/client/Client.js";
17
15
  import { FinanceClient } from "./api/resources/finance/client/Client.js";
16
+ import { ImportsClient } from "./api/resources/imports/client/Client.js";
18
17
  import { IntegrationsClient } from "./api/resources/integrations/client/Client.js";
19
18
  import { InvoicesClient } from "./api/resources/invoices/client/Client.js";
20
19
  import { MetersClient } from "./api/resources/meters/client/Client.js";
21
20
  import { OrdersClient } from "./api/resources/orders/client/Client.js";
22
- import { PaymentAttemptsClient } from "./api/resources/paymentAttempts/client/Client.js";
23
21
  import { PaymentIntentsClient } from "./api/resources/paymentIntents/client/Client.js";
24
22
  import { PaymentLinksClient } from "./api/resources/paymentLinks/client/Client.js";
25
- import { PaymentMethodsClient } from "./api/resources/paymentMethods/client/Client.js";
26
23
  import { PaymentsClient } from "./api/resources/payments/client/Client.js";
27
24
  import { PayoutsClient } from "./api/resources/payouts/client/Client.js";
28
25
  import { PricesClient } from "./api/resources/prices/client/Client.js";
29
26
  import { ProductsClient } from "./api/resources/products/client/Client.js";
30
27
  import { RefundsClient } from "./api/resources/refunds/client/Client.js";
31
- import { SetupIntentsClient } from "./api/resources/setupIntents/client/Client.js";
32
28
  import { SubscriptionSchedulesClient } from "./api/resources/subscriptionSchedules/client/Client.js";
33
29
  import { SubscriptionsClient } from "./api/resources/subscriptions/client/Client.js";
34
30
  import { SyncStateClient } from "./api/resources/syncState/client/Client.js";
35
- import { TaxRatesClient } from "./api/resources/taxRates/client/Client.js";
36
31
  import { TerminalDevicesClient } from "./api/resources/terminalDevices/client/Client.js";
37
32
  import { TerminalPaymentsClient } from "./api/resources/terminalPayments/client/Client.js";
33
+ import { TransactionsClient } from "./api/resources/transactions/client/Client.js";
38
34
  import { UsageClient } from "./api/resources/usage/client/Client.js";
39
- import { UserInvitationsClient } from "./api/resources/userInvitations/client/Client.js";
40
35
  import { VoidsClient } from "./api/resources/voids/client/Client.js";
41
36
  import { WebhookEndpointsClient } from "./api/resources/webhookEndpoints/client/Client.js";
42
37
  import type { BaseClientOptions, BaseRequestOptions } from "./BaseClient.js";
@@ -51,12 +46,8 @@ export declare namespace RevKeenClient {
51
46
  export class RevKeenClient {
52
47
  protected readonly _options: NormalizedClientOptionsWithAuth<RevKeenClient.Options>;
53
48
  protected _invoices: InvoicesClient | undefined;
54
- protected _userInvitations: UserInvitationsClient | undefined;
55
49
  protected _products: ProductsClient | undefined;
56
- protected _apps: AppsClient | undefined;
57
50
  protected _checkoutSessions: CheckoutSessionsClient | undefined;
58
- protected _businesses: BusinessesClient | undefined;
59
- protected _clients: ClientsClient | undefined;
60
51
  protected _entitlements: EntitlementsClient | undefined;
61
52
  protected _customers: CustomersClient | undefined;
62
53
  protected _subscriptions: SubscriptionsClient | undefined;
@@ -70,25 +61,24 @@ export class RevKeenClient {
70
61
  protected _disputes: DisputesClient | undefined;
71
62
  protected _discounts: DiscountsClient | undefined;
72
63
  protected _paymentLinks: PaymentLinksClient | undefined;
73
- protected _paymentAttempts: PaymentAttemptsClient | undefined;
74
64
  protected _charges: ChargesClient | undefined;
75
65
  protected _billing: BillingClient | undefined;
76
66
  protected _prices: PricesClient | undefined;
77
67
  protected _meters: MetersClient | undefined;
78
- protected _taxRates: TaxRatesClient | undefined;
79
68
  protected _orders: OrdersClient | undefined;
80
69
  protected _payments: PaymentsClient | undefined;
81
70
  protected _integrations: IntegrationsClient | undefined;
82
71
  protected _syncState: SyncStateClient | undefined;
83
72
  protected _webhookEndpoints: WebhookEndpointsClient | undefined;
84
73
  protected _paymentIntents: PaymentIntentsClient | undefined;
85
- protected _setupIntents: SetupIntentsClient | undefined;
86
- protected _paymentMethods: PaymentMethodsClient | undefined;
87
74
  protected _events: EventsClient | undefined;
88
75
  protected _subscriptionSchedules: SubscriptionSchedulesClient | undefined;
89
76
  protected _terminalPayments: TerminalPaymentsClient | undefined;
90
77
  protected _terminalDevices: TerminalDevicesClient | undefined;
91
78
  protected _usage: UsageClient | undefined;
79
+ protected _transactions: TransactionsClient | undefined;
80
+ protected _exports: ExportsClient | undefined;
81
+ protected _imports: ImportsClient | undefined;
92
82
 
93
83
  constructor(options: RevKeenClient.Options) {
94
84
  this._options = normalizeClientOptionsWithAuth(options);
@@ -98,30 +88,14 @@ export class RevKeenClient {
98
88
  return (this._invoices ??= new InvoicesClient(this._options));
99
89
  }
100
90
 
101
- public get userInvitations(): UserInvitationsClient {
102
- return (this._userInvitations ??= new UserInvitationsClient(this._options));
103
- }
104
-
105
91
  public get products(): ProductsClient {
106
92
  return (this._products ??= new ProductsClient(this._options));
107
93
  }
108
94
 
109
- public get apps(): AppsClient {
110
- return (this._apps ??= new AppsClient(this._options));
111
- }
112
-
113
95
  public get checkoutSessions(): CheckoutSessionsClient {
114
96
  return (this._checkoutSessions ??= new CheckoutSessionsClient(this._options));
115
97
  }
116
98
 
117
- public get businesses(): BusinessesClient {
118
- return (this._businesses ??= new BusinessesClient(this._options));
119
- }
120
-
121
- public get clients(): ClientsClient {
122
- return (this._clients ??= new ClientsClient(this._options));
123
- }
124
-
125
99
  public get entitlements(): EntitlementsClient {
126
100
  return (this._entitlements ??= new EntitlementsClient(this._options));
127
101
  }
@@ -174,10 +148,6 @@ export class RevKeenClient {
174
148
  return (this._paymentLinks ??= new PaymentLinksClient(this._options));
175
149
  }
176
150
 
177
- public get paymentAttempts(): PaymentAttemptsClient {
178
- return (this._paymentAttempts ??= new PaymentAttemptsClient(this._options));
179
- }
180
-
181
151
  public get charges(): ChargesClient {
182
152
  return (this._charges ??= new ChargesClient(this._options));
183
153
  }
@@ -194,10 +164,6 @@ export class RevKeenClient {
194
164
  return (this._meters ??= new MetersClient(this._options));
195
165
  }
196
166
 
197
- public get taxRates(): TaxRatesClient {
198
- return (this._taxRates ??= new TaxRatesClient(this._options));
199
- }
200
-
201
167
  public get orders(): OrdersClient {
202
168
  return (this._orders ??= new OrdersClient(this._options));
203
169
  }
@@ -222,14 +188,6 @@ export class RevKeenClient {
222
188
  return (this._paymentIntents ??= new PaymentIntentsClient(this._options));
223
189
  }
224
190
 
225
- public get setupIntents(): SetupIntentsClient {
226
- return (this._setupIntents ??= new SetupIntentsClient(this._options));
227
- }
228
-
229
- public get paymentMethods(): PaymentMethodsClient {
230
- return (this._paymentMethods ??= new PaymentMethodsClient(this._options));
231
- }
232
-
233
191
  public get events(): EventsClient {
234
192
  return (this._events ??= new EventsClient(this._options));
235
193
  }
@@ -249,4 +207,16 @@ export class RevKeenClient {
249
207
  public get usage(): UsageClient {
250
208
  return (this._usage ??= new UsageClient(this._options));
251
209
  }
210
+
211
+ public get transactions(): TransactionsClient {
212
+ return (this._transactions ??= new TransactionsClient(this._options));
213
+ }
214
+
215
+ public get exports(): ExportsClient {
216
+ return (this._exports ??= new ExportsClient(this._options));
217
+ }
218
+
219
+ public get imports(): ImportsClient {
220
+ return (this._imports ??= new ImportsClient(this._options));
221
+ }
252
222
  }
@@ -7,6 +7,12 @@ export declare namespace AnalyticsClient {
7
7
  interface RequestOptions extends BaseRequestOptions {
8
8
  }
9
9
  }
10
+ /**
11
+ * Revenue analytics including MRR summaries, time-series data, accounts receivable aging, days sales outstanding (DSO), and customer lifetime value (LTV). Use these endpoints to build dashboards and financial reports.
12
+ *
13
+ * **Required Scopes:**
14
+ * - `analytics:read` - Access analytics endpoints
15
+ */
10
16
  export declare class AnalyticsClient {
11
17
  protected readonly _options: NormalizedClientOptionsWithAuth<AnalyticsClient.Options>;
12
18
  constructor(options: AnalyticsClient.Options);
@@ -6,6 +6,12 @@ import * as environments from "../../../../environments.js";
6
6
  import { handleNonStatusCodeError } from "../../../../errors/handleNonStatusCodeError.js";
7
7
  import * as errors from "../../../../errors/index.js";
8
8
  import * as RevKeen from "../../../index.js";
9
+ /**
10
+ * Revenue analytics including MRR summaries, time-series data, accounts receivable aging, days sales outstanding (DSO), and customer lifetime value (LTV). Use these endpoints to build dashboards and financial reports.
11
+ *
12
+ * **Required Scopes:**
13
+ * - `analytics:read` - Access analytics endpoints
14
+ */
9
15
  export class AnalyticsClient {
10
16
  constructor(options) {
11
17
  this._options = normalizeClientOptionsWithAuth(options);
@@ -15,6 +15,12 @@ export declare namespace AnalyticsClient {
15
15
  export interface RequestOptions extends BaseRequestOptions {}
16
16
  }
17
17
 
18
+ /**
19
+ * Revenue analytics including MRR summaries, time-series data, accounts receivable aging, days sales outstanding (DSO), and customer lifetime value (LTV). Use these endpoints to build dashboards and financial reports.
20
+ *
21
+ * **Required Scopes:**
22
+ * - `analytics:read` - Access analytics endpoints
23
+ */
18
24
  export class AnalyticsClient {
19
25
  protected readonly _options: NormalizedClientOptionsWithAuth<AnalyticsClient.Options>;
20
26
 
@@ -8,7 +8,7 @@ export declare namespace BillingClient {
8
8
  }
9
9
  }
10
10
  /**
11
- * Billing schedule preview and configuration utilities.
11
+ * Billing utilities let you preview upcoming charges and billing schedules before they execute. Use these endpoints to show customers what they will be charged and when, or to validate pricing changes before applying them.
12
12
  *
13
13
  * **Required Scopes:**
14
14
  * - `billing:read` - Preview billing schedules
@@ -7,7 +7,7 @@ import { handleNonStatusCodeError } from "../../../../errors/handleNonStatusCode
7
7
  import * as errors from "../../../../errors/index.js";
8
8
  import * as RevKeen from "../../../index.js";
9
9
  /**
10
- * Billing schedule preview and configuration utilities.
10
+ * Billing utilities let you preview upcoming charges and billing schedules before they execute. Use these endpoints to show customers what they will be charged and when, or to validate pricing changes before applying them.
11
11
  *
12
12
  * **Required Scopes:**
13
13
  * - `billing:read` - Preview billing schedules
@@ -16,7 +16,7 @@ export declare namespace BillingClient {
16
16
  }
17
17
 
18
18
  /**
19
- * Billing schedule preview and configuration utilities.
19
+ * Billing utilities let you preview upcoming charges and billing schedules before they execute. Use these endpoints to show customers what they will be charged and when, or to validate pricing changes before applying them.
20
20
  *
21
21
  * **Required Scopes:**
22
22
  * - `billing:read` - Preview billing schedules
@@ -11,8 +11,8 @@ export declare namespace CheckoutSessionsClient {
11
11
  * Create hosted checkout pages for one-time payments or subscription sign-ups. Redirect customers to RevKeen-hosted payment forms.
12
12
  *
13
13
  * **Required Scopes:**
14
- * - `checkout_sessions:read` - List and retrieve sessions
15
- * - `checkout_sessions:write` - Create checkout sessions
14
+ * - `checkout:read` - List and retrieve sessions
15
+ * - `checkout:write` - Create checkout sessions
16
16
  */
17
17
  export declare class CheckoutSessionsClient {
18
18
  protected readonly _options: NormalizedClientOptionsWithAuth<CheckoutSessionsClient.Options>;
@@ -32,5 +32,22 @@ export declare class CheckoutSessionsClient {
32
32
  */
33
33
  checkoutSessionsCreate(request?: RevKeen.CreateCheckoutSessionInput, requestOptions?: CheckoutSessionsClient.RequestOptions): core.HttpResponsePromise<RevKeen.CheckoutSessionCreateResponse>;
34
34
  private __checkoutSessionsCreate;
35
+ /**
36
+ * Retrieve a checkout session by its ID.
37
+ *
38
+ * @param {RevKeen.CheckoutSessionsRetrieveRequest} request
39
+ * @param {CheckoutSessionsClient.RequestOptions} requestOptions - Request-specific configuration.
40
+ *
41
+ * @throws {@link RevKeen.UnauthorizedError}
42
+ * @throws {@link RevKeen.NotFoundError}
43
+ * @throws {@link RevKeen.InternalServerError}
44
+ *
45
+ * @example
46
+ * await client.checkoutSessions.checkoutSessionsRetrieve({
47
+ * id: "550e8400-e29b-41d4-a716-446655440000"
48
+ * })
49
+ */
50
+ checkoutSessionsRetrieve(request: RevKeen.CheckoutSessionsRetrieveRequest, requestOptions?: CheckoutSessionsClient.RequestOptions): core.HttpResponsePromise<RevKeen.CheckoutSessionRetrieveResponse>;
51
+ private __checkoutSessionsRetrieve;
35
52
  }
36
53
  //# sourceMappingURL=Client.d.ts.map
@@ -10,8 +10,8 @@ import * as RevKeen from "../../../index.js";
10
10
  * Create hosted checkout pages for one-time payments or subscription sign-ups. Redirect customers to RevKeen-hosted payment forms.
11
11
  *
12
12
  * **Required Scopes:**
13
- * - `checkout_sessions:read` - List and retrieve sessions
14
- * - `checkout_sessions:write` - Create checkout sessions
13
+ * - `checkout:read` - List and retrieve sessions
14
+ * - `checkout:write` - Create checkout sessions
15
15
  */
16
16
  export class CheckoutSessionsClient {
17
17
  constructor(options) {
@@ -76,5 +76,64 @@ export class CheckoutSessionsClient {
76
76
  }
77
77
  return handleNonStatusCodeError(_response.error, _response.rawResponse, "POST", "/checkout-sessions");
78
78
  }
79
+ /**
80
+ * Retrieve a checkout session by its ID.
81
+ *
82
+ * @param {RevKeen.CheckoutSessionsRetrieveRequest} request
83
+ * @param {CheckoutSessionsClient.RequestOptions} requestOptions - Request-specific configuration.
84
+ *
85
+ * @throws {@link RevKeen.UnauthorizedError}
86
+ * @throws {@link RevKeen.NotFoundError}
87
+ * @throws {@link RevKeen.InternalServerError}
88
+ *
89
+ * @example
90
+ * await client.checkoutSessions.checkoutSessionsRetrieve({
91
+ * id: "550e8400-e29b-41d4-a716-446655440000"
92
+ * })
93
+ */
94
+ checkoutSessionsRetrieve(request, requestOptions) {
95
+ return core.HttpResponsePromise.fromPromise(this.__checkoutSessionsRetrieve(request, requestOptions));
96
+ }
97
+ async __checkoutSessionsRetrieve(request, requestOptions) {
98
+ const { id } = request;
99
+ const _authRequest = await this._options.authProvider.getAuthRequest();
100
+ const _headers = mergeHeaders(_authRequest.headers, this._options?.headers, requestOptions?.headers);
101
+ const _response = await (this._options.fetcher ?? core.fetcher)({
102
+ url: core.url.join((await core.Supplier.get(this._options.baseUrl)) ??
103
+ (await core.Supplier.get(this._options.environment)) ??
104
+ environments.RevKeenEnvironment.Default, `checkout-sessions/${core.url.encodePathParam(id)}`),
105
+ method: "GET",
106
+ headers: _headers,
107
+ queryParameters: requestOptions?.queryParams,
108
+ timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000,
109
+ maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
110
+ abortSignal: requestOptions?.abortSignal,
111
+ fetchFn: this._options?.fetch,
112
+ logging: this._options.logging,
113
+ });
114
+ if (_response.ok) {
115
+ return {
116
+ data: _response.body,
117
+ rawResponse: _response.rawResponse,
118
+ };
119
+ }
120
+ if (_response.error.reason === "status-code") {
121
+ switch (_response.error.statusCode) {
122
+ case 401:
123
+ throw new RevKeen.UnauthorizedError(_response.error.body, _response.rawResponse);
124
+ case 404:
125
+ throw new RevKeen.NotFoundError(_response.error.body, _response.rawResponse);
126
+ case 500:
127
+ throw new RevKeen.InternalServerError(_response.error.body, _response.rawResponse);
128
+ default:
129
+ throw new errors.RevKeenError({
130
+ statusCode: _response.error.statusCode,
131
+ body: _response.error.body,
132
+ rawResponse: _response.rawResponse,
133
+ });
134
+ }
135
+ }
136
+ return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/checkout-sessions/{id}");
137
+ }
79
138
  }
80
139
  //# sourceMappingURL=Client.js.map