@moovio/sdk 0.22.12 → 0.22.13

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 (265) hide show
  1. package/README.md +91 -51
  2. package/bin/mcp-server.js +2514 -615
  3. package/bin/mcp-server.js.map +54 -13
  4. package/examples/package-lock.json +1 -1
  5. package/funcs/invoicesCreateInvoicePayment.d.ts +19 -0
  6. package/funcs/invoicesCreateInvoicePayment.d.ts.map +1 -0
  7. package/funcs/invoicesCreateInvoicePayment.js +148 -0
  8. package/funcs/invoicesCreateInvoicePayment.js.map +1 -0
  9. package/funcs/invoicesListInvoicePayments.d.ts +17 -0
  10. package/funcs/invoicesListInvoicePayments.d.ts.map +1 -0
  11. package/funcs/invoicesListInvoicePayments.js +129 -0
  12. package/funcs/invoicesListInvoicePayments.js.map +1 -0
  13. package/funcs/webhooksCreate.d.ts +16 -0
  14. package/funcs/webhooksCreate.d.ts.map +1 -0
  15. package/funcs/webhooksCreate.js +133 -0
  16. package/funcs/webhooksCreate.js.map +1 -0
  17. package/funcs/webhooksDisable.d.ts +15 -0
  18. package/funcs/webhooksDisable.d.ts.map +1 -0
  19. package/funcs/webhooksDisable.js +133 -0
  20. package/funcs/webhooksDisable.js.map +1 -0
  21. package/funcs/webhooksGet.d.ts +14 -0
  22. package/funcs/webhooksGet.d.ts.map +1 -0
  23. package/funcs/webhooksGet.js +122 -0
  24. package/funcs/webhooksGet.js.map +1 -0
  25. package/funcs/webhooksGetSecret.d.ts +14 -0
  26. package/funcs/webhooksGetSecret.d.ts.map +1 -0
  27. package/funcs/webhooksGetSecret.js +122 -0
  28. package/funcs/webhooksGetSecret.js.map +1 -0
  29. package/funcs/webhooksList.d.ts +14 -0
  30. package/funcs/webhooksList.d.ts.map +1 -0
  31. package/funcs/webhooksList.js +108 -0
  32. package/funcs/webhooksList.js.map +1 -0
  33. package/funcs/webhooksListEventTypes.d.ts +14 -0
  34. package/funcs/webhooksListEventTypes.d.ts.map +1 -0
  35. package/funcs/webhooksListEventTypes.js +108 -0
  36. package/funcs/webhooksListEventTypes.js.map +1 -0
  37. package/funcs/webhooksPing.d.ts +14 -0
  38. package/funcs/webhooksPing.d.ts.map +1 -0
  39. package/funcs/webhooksPing.js +122 -0
  40. package/funcs/webhooksPing.js.map +1 -0
  41. package/funcs/webhooksUpdate.d.ts +15 -0
  42. package/funcs/webhooksUpdate.d.ts.map +1 -0
  43. package/funcs/webhooksUpdate.js +138 -0
  44. package/funcs/webhooksUpdate.js.map +1 -0
  45. package/jsr.json +1 -1
  46. package/lib/config.d.ts +3 -3
  47. package/lib/config.js +3 -3
  48. package/mcp-server/mcp-server.js +1 -1
  49. package/mcp-server/server.d.ts.map +1 -1
  50. package/mcp-server/server.js +21 -1
  51. package/mcp-server/server.js.map +1 -1
  52. package/mcp-server/tools/invoicesCreateInvoicePayment.d.ts +8 -0
  53. package/mcp-server/tools/invoicesCreateInvoicePayment.d.ts.map +1 -0
  54. package/mcp-server/tools/invoicesCreateInvoicePayment.js +66 -0
  55. package/mcp-server/tools/invoicesCreateInvoicePayment.js.map +1 -0
  56. package/mcp-server/tools/invoicesListInvoicePayments.d.ts +8 -0
  57. package/mcp-server/tools/invoicesListInvoicePayments.d.ts.map +1 -0
  58. package/mcp-server/tools/invoicesListInvoicePayments.js +65 -0
  59. package/mcp-server/tools/invoicesListInvoicePayments.js.map +1 -0
  60. package/mcp-server/tools/webhooksCreate.d.ts +8 -0
  61. package/mcp-server/tools/webhooksCreate.d.ts.map +1 -0
  62. package/mcp-server/tools/webhooksCreate.js +62 -0
  63. package/mcp-server/tools/webhooksCreate.js.map +1 -0
  64. package/mcp-server/tools/webhooksDisable.d.ts +8 -0
  65. package/mcp-server/tools/webhooksDisable.d.ts.map +1 -0
  66. package/mcp-server/tools/webhooksDisable.js +61 -0
  67. package/mcp-server/tools/webhooksDisable.js.map +1 -0
  68. package/mcp-server/tools/webhooksGet.d.ts +8 -0
  69. package/mcp-server/tools/webhooksGet.d.ts.map +1 -0
  70. package/mcp-server/tools/webhooksGet.js +62 -0
  71. package/mcp-server/tools/webhooksGet.js.map +1 -0
  72. package/mcp-server/tools/webhooksGetSecret.d.ts +8 -0
  73. package/mcp-server/tools/webhooksGetSecret.d.ts.map +1 -0
  74. package/mcp-server/tools/webhooksGetSecret.js +62 -0
  75. package/mcp-server/tools/webhooksGetSecret.js.map +1 -0
  76. package/mcp-server/tools/webhooksList.d.ts +8 -0
  77. package/mcp-server/tools/webhooksList.d.ts.map +1 -0
  78. package/mcp-server/tools/webhooksList.js +62 -0
  79. package/mcp-server/tools/webhooksList.js.map +1 -0
  80. package/mcp-server/tools/webhooksListEventTypes.d.ts +8 -0
  81. package/mcp-server/tools/webhooksListEventTypes.d.ts.map +1 -0
  82. package/mcp-server/tools/webhooksListEventTypes.js +62 -0
  83. package/mcp-server/tools/webhooksListEventTypes.js.map +1 -0
  84. package/mcp-server/tools/webhooksPing.d.ts +8 -0
  85. package/mcp-server/tools/webhooksPing.d.ts.map +1 -0
  86. package/mcp-server/tools/webhooksPing.js +62 -0
  87. package/mcp-server/tools/webhooksPing.js.map +1 -0
  88. package/mcp-server/tools/webhooksUpdate.d.ts +8 -0
  89. package/mcp-server/tools/webhooksUpdate.d.ts.map +1 -0
  90. package/mcp-server/tools/webhooksUpdate.js +62 -0
  91. package/mcp-server/tools/webhooksUpdate.js.map +1 -0
  92. package/models/components/createinvoicepayment.d.ts +21 -0
  93. package/models/components/createinvoicepayment.d.ts.map +1 -0
  94. package/models/components/createinvoicepayment.js +63 -0
  95. package/models/components/createinvoicepayment.js.map +1 -0
  96. package/models/components/createwebhook.d.ts +40 -0
  97. package/models/components/createwebhook.d.ts.map +1 -0
  98. package/models/components/createwebhook.js +66 -0
  99. package/models/components/createwebhook.js.map +1 -0
  100. package/models/components/eventtype.d.ts +33 -0
  101. package/models/components/eventtype.d.ts.map +1 -0
  102. package/models/components/eventtype.js +62 -0
  103. package/models/components/eventtype.js.map +1 -0
  104. package/models/components/index.d.ts +8 -0
  105. package/models/components/index.d.ts.map +1 -1
  106. package/models/components/index.js +8 -0
  107. package/models/components/index.js.map +1 -1
  108. package/models/components/invoiceexternalpayment.d.ts +0 -11
  109. package/models/components/invoiceexternalpayment.d.ts.map +1 -1
  110. package/models/components/invoiceexternalpayment.js +1 -10
  111. package/models/components/invoiceexternalpayment.js.map +1 -1
  112. package/models/components/invoicepayment.d.ts +4 -2
  113. package/models/components/invoicepayment.d.ts.map +1 -1
  114. package/models/components/invoicepayment.js +4 -2
  115. package/models/components/invoicepayment.js.map +1 -1
  116. package/models/components/invoicetransferpayment.d.ts +0 -11
  117. package/models/components/invoicetransferpayment.d.ts.map +1 -1
  118. package/models/components/invoicetransferpayment.js +1 -11
  119. package/models/components/invoicetransferpayment.js.map +1 -1
  120. package/models/components/pingresponse.d.ts +38 -0
  121. package/models/components/pingresponse.d.ts.map +1 -0
  122. package/models/components/pingresponse.js +63 -0
  123. package/models/components/pingresponse.js.map +1 -0
  124. package/models/components/updatewebhook.d.ts +40 -0
  125. package/models/components/updatewebhook.d.ts.map +1 -0
  126. package/models/components/updatewebhook.js +66 -0
  127. package/models/components/updatewebhook.js.map +1 -0
  128. package/models/components/webhook.d.ts +60 -0
  129. package/models/components/webhook.d.ts.map +1 -0
  130. package/models/components/webhook.js +74 -0
  131. package/models/components/webhook.js.map +1 -0
  132. package/models/components/webhooksecret.d.ts +23 -0
  133. package/models/components/webhooksecret.d.ts.map +1 -0
  134. package/models/components/webhooksecret.js +58 -0
  135. package/models/components/webhooksecret.js.map +1 -0
  136. package/models/components/webhookstatus.d.ts +18 -0
  137. package/models/components/webhookstatus.d.ts.map +1 -0
  138. package/models/components/webhookstatus.js +52 -0
  139. package/models/components/webhookstatus.js.map +1 -0
  140. package/models/errors/createinvoicepaymenterror.d.ts +30 -0
  141. package/models/errors/createinvoicepaymenterror.d.ts.map +1 -0
  142. package/models/errors/createinvoicepaymenterror.js +83 -0
  143. package/models/errors/createinvoicepaymenterror.js.map +1 -0
  144. package/models/errors/createwebhookvalidationerror.d.ts +57 -0
  145. package/models/errors/createwebhookvalidationerror.d.ts.map +1 -0
  146. package/models/errors/createwebhookvalidationerror.js +87 -0
  147. package/models/errors/createwebhookvalidationerror.js.map +1 -0
  148. package/models/errors/index.d.ts +3 -0
  149. package/models/errors/index.d.ts.map +1 -1
  150. package/models/errors/index.js +3 -0
  151. package/models/errors/index.js.map +1 -1
  152. package/models/errors/updatewebhookvalidationerror.d.ts +57 -0
  153. package/models/errors/updatewebhookvalidationerror.d.ts.map +1 -0
  154. package/models/errors/updatewebhookvalidationerror.js +87 -0
  155. package/models/errors/updatewebhookvalidationerror.js.map +1 -0
  156. package/models/operations/createinvoicepayment.d.ts +68 -0
  157. package/models/operations/createinvoicepayment.d.ts.map +1 -0
  158. package/models/operations/createinvoicepayment.js +124 -0
  159. package/models/operations/createinvoicepayment.js.map +1 -0
  160. package/models/operations/createwebhook.d.ts +51 -0
  161. package/models/operations/createwebhook.d.ts.map +1 -0
  162. package/models/operations/createwebhook.js +96 -0
  163. package/models/operations/createwebhook.js.map +1 -0
  164. package/models/operations/disablewebhook.d.ts +61 -0
  165. package/models/operations/disablewebhook.d.ts.map +1 -0
  166. package/models/operations/disablewebhook.js +107 -0
  167. package/models/operations/disablewebhook.js.map +1 -0
  168. package/models/operations/getwebhook.d.ts +64 -0
  169. package/models/operations/getwebhook.d.ts.map +1 -0
  170. package/models/operations/getwebhook.js +112 -0
  171. package/models/operations/getwebhook.js.map +1 -0
  172. package/models/operations/getwebhooksecret.d.ts +64 -0
  173. package/models/operations/getwebhooksecret.d.ts.map +1 -0
  174. package/models/operations/getwebhooksecret.js +112 -0
  175. package/models/operations/getwebhooksecret.js.map +1 -0
  176. package/models/operations/index.d.ts +10 -0
  177. package/models/operations/index.d.ts.map +1 -1
  178. package/models/operations/index.js +10 -0
  179. package/models/operations/index.js.map +1 -1
  180. package/models/operations/listeventtypes.d.ts +60 -0
  181. package/models/operations/listeventtypes.d.ts.map +1 -0
  182. package/models/operations/listeventtypes.js +108 -0
  183. package/models/operations/listeventtypes.js.map +1 -0
  184. package/models/operations/listinvoicepayments.d.ts +66 -0
  185. package/models/operations/listinvoicepayments.d.ts.map +1 -0
  186. package/models/operations/listinvoicepayments.js +114 -0
  187. package/models/operations/listinvoicepayments.js.map +1 -0
  188. package/models/operations/listwebhooks.d.ts +60 -0
  189. package/models/operations/listwebhooks.d.ts.map +1 -0
  190. package/models/operations/listwebhooks.js +108 -0
  191. package/models/operations/listwebhooks.js.map +1 -0
  192. package/models/operations/pingwebhook.d.ts +64 -0
  193. package/models/operations/pingwebhook.d.ts.map +1 -0
  194. package/models/operations/pingwebhook.js +112 -0
  195. package/models/operations/pingwebhook.js.map +1 -0
  196. package/models/operations/updatewebhook.d.ts +66 -0
  197. package/models/operations/updatewebhook.d.ts.map +1 -0
  198. package/models/operations/updatewebhook.js +122 -0
  199. package/models/operations/updatewebhook.js.map +1 -0
  200. package/package.json +1 -1
  201. package/sdk/invoices.d.ts +15 -0
  202. package/sdk/invoices.d.ts.map +1 -1
  203. package/sdk/invoices.js +21 -0
  204. package/sdk/invoices.js.map +1 -1
  205. package/sdk/sdk.d.ts +3 -0
  206. package/sdk/sdk.d.ts.map +1 -1
  207. package/sdk/sdk.js +4 -0
  208. package/sdk/sdk.js.map +1 -1
  209. package/sdk/webhooks.d.ts +38 -0
  210. package/sdk/webhooks.d.ts.map +1 -0
  211. package/sdk/webhooks.js +68 -0
  212. package/sdk/webhooks.js.map +1 -0
  213. package/src/funcs/invoicesCreateInvoicePayment.ts +213 -0
  214. package/src/funcs/invoicesListInvoicePayments.ts +186 -0
  215. package/src/funcs/webhooksCreate.ts +194 -0
  216. package/src/funcs/webhooksDisable.ts +191 -0
  217. package/src/funcs/webhooksGet.ts +176 -0
  218. package/src/funcs/webhooksGetSecret.ts +176 -0
  219. package/src/funcs/webhooksList.ts +156 -0
  220. package/src/funcs/webhooksListEventTypes.ts +156 -0
  221. package/src/funcs/webhooksPing.ts +176 -0
  222. package/src/funcs/webhooksUpdate.ts +200 -0
  223. package/src/lib/config.ts +3 -3
  224. package/src/mcp-server/mcp-server.ts +1 -1
  225. package/src/mcp-server/server.ts +21 -1
  226. package/src/mcp-server/tools/invoicesCreateInvoicePayment.ts +40 -0
  227. package/src/mcp-server/tools/invoicesListInvoicePayments.ts +38 -0
  228. package/src/mcp-server/tools/webhooksCreate.ts +35 -0
  229. package/src/mcp-server/tools/webhooksDisable.ts +34 -0
  230. package/src/mcp-server/tools/webhooksGet.ts +35 -0
  231. package/src/mcp-server/tools/webhooksGetSecret.ts +35 -0
  232. package/src/mcp-server/tools/webhooksList.ts +35 -0
  233. package/src/mcp-server/tools/webhooksListEventTypes.ts +35 -0
  234. package/src/mcp-server/tools/webhooksPing.ts +36 -0
  235. package/src/mcp-server/tools/webhooksUpdate.ts +35 -0
  236. package/src/models/components/createinvoicepayment.ts +60 -0
  237. package/src/models/components/createwebhook.ts +84 -0
  238. package/src/models/components/eventtype.ts +67 -0
  239. package/src/models/components/index.ts +8 -0
  240. package/src/models/components/invoiceexternalpayment.ts +0 -21
  241. package/src/models/components/invoicepayment.ts +8 -4
  242. package/src/models/components/invoicetransferpayment.ts +0 -17
  243. package/src/models/components/pingresponse.ts +73 -0
  244. package/src/models/components/updatewebhook.ts +84 -0
  245. package/src/models/components/webhook.ts +115 -0
  246. package/src/models/components/webhooksecret.ts +53 -0
  247. package/src/models/components/webhookstatus.ts +27 -0
  248. package/src/models/errors/createinvoicepaymenterror.ts +78 -0
  249. package/src/models/errors/createwebhookvalidationerror.ts +108 -0
  250. package/src/models/errors/index.ts +3 -0
  251. package/src/models/errors/updatewebhookvalidationerror.ts +108 -0
  252. package/src/models/operations/createinvoicepayment.ts +197 -0
  253. package/src/models/operations/createwebhook.ts +132 -0
  254. package/src/models/operations/disablewebhook.ts +168 -0
  255. package/src/models/operations/getwebhook.ts +175 -0
  256. package/src/models/operations/getwebhooksecret.ts +175 -0
  257. package/src/models/operations/index.ts +10 -0
  258. package/src/models/operations/listeventtypes.ts +167 -0
  259. package/src/models/operations/listinvoicepayments.ts +181 -0
  260. package/src/models/operations/listwebhooks.ts +167 -0
  261. package/src/models/operations/pingwebhook.ts +175 -0
  262. package/src/models/operations/updatewebhook.ts +187 -0
  263. package/src/sdk/invoices.ts +37 -0
  264. package/src/sdk/sdk.ts +6 -0
  265. package/src/sdk/webhooks.ts +130 -0
package/README.md CHANGED
@@ -826,6 +826,15 @@ you'll need to specify the `/accounts/{accountID}/invoices.read` scope.
826
826
 
827
827
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
828
828
  you'll need to specify the `/accounts/{accountID}/invoices.write` scope.
829
+ * [createInvoicePayment](docs/sdks/invoices/README.md#createinvoicepayment) - Creates a payment resource to represent that an invoice was paid outside of the Moov platform.
830
+ If a payment link was created for the invoice, the corresponding payment link is canceled, but a receipt is still sent.
831
+
832
+ To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
833
+ you'll need to specify the `/accounts/{accountID}/invoices.write` scope.
834
+ * [listInvoicePayments](docs/sdks/invoices/README.md#listinvoicepayments) - List all the payments made towards an invoice.
835
+
836
+ To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
837
+ you'll need to specify the `/accounts/{accountID}/invoices.read` scope.
829
838
 
830
839
  ### [IssuingTransactions](docs/sdks/issuingtransactions/README.md)
831
840
 
@@ -1241,6 +1250,17 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
1241
1250
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
1242
1251
  you'll need to specify the `/accounts/{accountID}/wallets.write` scope.
1243
1252
 
1253
+ ### [Webhooks](docs/sdks/webhooks/README.md)
1254
+
1255
+ * [listEventTypes](docs/sdks/webhooks/README.md#listeventtypes) - List all available event types that can be subscribed to.
1256
+ * [list](docs/sdks/webhooks/README.md#list) - List all webhooks configured for the account.
1257
+ * [create](docs/sdks/webhooks/README.md#create) - Create a new webhook for the account.
1258
+ * [get](docs/sdks/webhooks/README.md#get) - Get details of a specific webhook.
1259
+ * [update](docs/sdks/webhooks/README.md#update) - Update an existing webhook.
1260
+ * [disable](docs/sdks/webhooks/README.md#disable) - Disable a webhook. Disabled webhooks will no longer receive events.
1261
+ * [ping](docs/sdks/webhooks/README.md#ping) - Send a test ping to a webhook to verify it is configured correctly.
1262
+ * [getSecret](docs/sdks/webhooks/README.md#getsecret) - Get the secret key for verifying webhook payloads.
1263
+
1244
1264
  </details>
1245
1265
  <!-- End Available Resources and Operations [operations] -->
1246
1266
 
@@ -1755,10 +1775,19 @@ To access this endpoint using an [access token](https://docs.moov.io/api/authent
1755
1775
  you'll need to specify the `/institutions.read` scope.
1756
1776
  - [`invoicesCreateInvoice`](docs/sdks/invoices/README.md#createinvoice) - Create an invoice for a Moov account.
1757
1777
 
1778
+ To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
1779
+ you'll need to specify the `/accounts/{accountID}/invoices.write` scope.
1780
+ - [`invoicesCreateInvoicePayment`](docs/sdks/invoices/README.md#createinvoicepayment) - Creates a payment resource to represent that an invoice was paid outside of the Moov platform.
1781
+ If a payment link was created for the invoice, the corresponding payment link is canceled, but a receipt is still sent.
1782
+
1758
1783
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
1759
1784
  you'll need to specify the `/accounts/{accountID}/invoices.write` scope.
1760
1785
  - [`invoicesGetInvoice`](docs/sdks/invoices/README.md#getinvoice) - Retrieve an invoice by ID.
1761
1786
 
1787
+ To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
1788
+ you'll need to specify the `/accounts/{accountID}/invoices.read` scope.
1789
+ - [`invoicesListInvoicePayments`](docs/sdks/invoices/README.md#listinvoicepayments) - List all the payments made towards an invoice.
1790
+
1762
1791
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
1763
1792
  you'll need to specify the `/accounts/{accountID}/invoices.read` scope.
1764
1793
  - [`invoicesListInvoices`](docs/sdks/invoices/README.md#listinvoices) - List all the invoices created under a Moov account.
@@ -2132,6 +2161,14 @@ Read our [wallet transactions guide](https://docs.moov.io/guides/sources/wallets
2132
2161
 
2133
2162
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
2134
2163
  you'll need to specify the `/accounts/{accountID}/wallets.read` scope.
2164
+ - [`webhooksCreate`](docs/sdks/webhooks/README.md#create) - Create a new webhook for the account.
2165
+ - [`webhooksDisable`](docs/sdks/webhooks/README.md#disable) - Disable a webhook. Disabled webhooks will no longer receive events.
2166
+ - [`webhooksGet`](docs/sdks/webhooks/README.md#get) - Get details of a specific webhook.
2167
+ - [`webhooksGetSecret`](docs/sdks/webhooks/README.md#getsecret) - Get the secret key for verifying webhook payloads.
2168
+ - [`webhooksList`](docs/sdks/webhooks/README.md#list) - List all webhooks configured for the account.
2169
+ - [`webhooksListEventTypes`](docs/sdks/webhooks/README.md#listeventtypes) - List all available event types that can be subscribed to.
2170
+ - [`webhooksPing`](docs/sdks/webhooks/README.md#ping) - Send a test ping to a webhook to verify it is configured correctly.
2171
+ - [`webhooksUpdate`](docs/sdks/webhooks/README.md#update) - Update an existing webhook.
2135
2172
  - ~~[`institutionsSearch`](docs/sdks/institutions/README.md#search)~~ - This endpoint has been deprecated and will be removed in a future release. Use [/institutions](https://docs.moov.io/api/enrichment/form-shortening/institutions/get/).
2136
2173
 
2137
2174
  Search for institutions by either their name or routing number.
@@ -2334,7 +2371,7 @@ run();
2334
2371
  **Primary error:**
2335
2372
  * [`MoovError`](./src/models/errors/mooverror.ts): The base class for HTTP error responses.
2336
2373
 
2337
- <details><summary>Less common errors (56)</summary>
2374
+ <details><summary>Less common errors (59)</summary>
2338
2375
 
2339
2376
  <br />
2340
2377
 
@@ -2347,56 +2384,59 @@ run();
2347
2384
 
2348
2385
 
2349
2386
  **Inherit from [`MoovError`](./src/models/errors/mooverror.ts)**:
2350
- * [`GenericError`](./src/models/errors/genericerror.ts): Applicable to 74 of 168 methods.*
2351
- * [`BrandValidationError`](./src/models/errors/brandvalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 2 of 168 methods.*
2352
- * [`ImageRequestValidationError`](./src/models/errors/imagerequestvalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 2 of 168 methods.*
2353
- * [`ProductRequestValidationError`](./src/models/errors/productrequestvalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 2 of 168 methods.*
2354
- * [`ScheduleValidationError`](./src/models/errors/schedulevalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 2 of 168 methods.*
2355
- * [`TerminalApplicationError`](./src/models/errors/terminalapplicationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 2 of 168 methods.*
2356
- * [`Transfer`](./src/models/errors/transfer.ts): Details of a Transfer. Status code `409`. Applicable to 1 of 168 methods.*
2357
- * [`CardAcquiringRefund`](./src/models/errors/cardacquiringrefund.ts): Details of a card refund. Status code `409`. Applicable to 1 of 168 methods.*
2358
- * [`CreateAccountError`](./src/models/errors/createaccounterror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 168 methods.*
2359
- * [`PatchAccountError`](./src/models/errors/patchaccounterror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 168 methods.*
2360
- * [`ConnectAccountRequestValidationError`](./src/models/errors/connectaccountrequestvalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 168 methods.*
2361
- * [`AssignCountriesError`](./src/models/errors/assigncountrieserror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 168 methods.*
2362
- * [`LinkApplePayError`](./src/models/errors/linkapplepayerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 168 methods.*
2363
- * [`BankAccountValidationError`](./src/models/errors/bankaccountvalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 168 methods.*
2364
- * [`MicroDepositValidationError`](./src/models/errors/microdepositvalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 168 methods.*
2365
- * [`AddCapabilitiesError`](./src/models/errors/addcapabilitieserror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 168 methods.*
2366
- * [`LinkCardError`](./src/models/errors/linkcarderror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 168 methods.*
2367
- * [`UpdateCardError`](./src/models/errors/updatecarderror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 168 methods.*
2368
- * [`FileUploadValidationError`](./src/models/errors/fileuploadvalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 168 methods.*
2369
- * [`FeePlanAgreementError`](./src/models/errors/feeplanagreementerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 168 methods.*
2370
- * [`FileValidationError`](./src/models/errors/filevalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 168 methods.*
2371
- * [`ImageMetadataValidationError`](./src/models/errors/imagemetadatavalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 168 methods.*
2372
- * [`CreateInvoiceError`](./src/models/errors/createinvoiceerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 168 methods.*
2373
- * [`ListInvoicesValidationError`](./src/models/errors/listinvoicesvalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 168 methods.*
2374
- * [`UpdateInvoiceError`](./src/models/errors/updateinvoiceerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 168 methods.*
2375
- * [`CreatePaymentLinkError`](./src/models/errors/createpaymentlinkerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 168 methods.*
2376
- * [`UpdatePaymentLinkError`](./src/models/errors/updatepaymentlinkerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 168 methods.*
2377
- * [`RepresentativeValidationError`](./src/models/errors/representativevalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 168 methods.*
2378
- * [`CreateSweepConfigError`](./src/models/errors/createsweepconfigerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 168 methods.*
2379
- * [`PatchSweepConfigError`](./src/models/errors/patchsweepconfigerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 168 methods.*
2380
- * [`AccountTerminalApplicationError`](./src/models/errors/accountterminalapplicationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 168 methods.*
2381
- * [`CreateTicketError`](./src/models/errors/createticketerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 168 methods.*
2382
- * [`UpdateTicketError`](./src/models/errors/updateticketerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 168 methods.*
2383
- * [`TransferOptionsValidationError`](./src/models/errors/transferoptionsvalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 168 methods.*
2384
- * [`TransferValidationError`](./src/models/errors/transfervalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 168 methods.*
2385
- * [`ListTransfersValidationError`](./src/models/errors/listtransfersvalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 168 methods.*
2386
- * [`PatchTransferValidationError`](./src/models/errors/patchtransfervalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 168 methods.*
2387
- * [`RefundValidationError`](./src/models/errors/refundvalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 168 methods.*
2388
- * [`ReversalValidationError`](./src/models/errors/reversalvalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 168 methods.*
2389
- * [`UpsertUnderwritingError`](./src/models/errors/upsertunderwritingerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 168 methods.*
2390
- * [`UpdateUnderwritingError`](./src/models/errors/updateunderwritingerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 168 methods.*
2391
- * [`CreateWalletValidationError`](./src/models/errors/createwalletvalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 168 methods.*
2392
- * [`ListWalletsValidationError`](./src/models/errors/listwalletsvalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 168 methods.*
2393
- * [`PatchWalletValidationError`](./src/models/errors/patchwalletvalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 168 methods.*
2394
- * [`ListWalletTransactionsValidationError`](./src/models/errors/listwallettransactionsvalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 168 methods.*
2395
- * [`RequestCardError`](./src/models/errors/requestcarderror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 168 methods.*
2396
- * [`UpdateIssuedCardError`](./src/models/errors/updateissuedcarderror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 168 methods.*
2397
- * [`RevokeTokenRequestError`](./src/models/errors/revoketokenrequesterror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 168 methods.*
2398
- * [`AuthTokenRequestError`](./src/models/errors/authtokenrequesterror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 168 methods.*
2399
- * [`OnboardingInviteError`](./src/models/errors/onboardinginviteerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 168 methods.*
2387
+ * [`GenericError`](./src/models/errors/genericerror.ts): Applicable to 78 of 178 methods.*
2388
+ * [`BrandValidationError`](./src/models/errors/brandvalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 2 of 178 methods.*
2389
+ * [`ImageRequestValidationError`](./src/models/errors/imagerequestvalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 2 of 178 methods.*
2390
+ * [`ProductRequestValidationError`](./src/models/errors/productrequestvalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 2 of 178 methods.*
2391
+ * [`ScheduleValidationError`](./src/models/errors/schedulevalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 2 of 178 methods.*
2392
+ * [`TerminalApplicationError`](./src/models/errors/terminalapplicationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 2 of 178 methods.*
2393
+ * [`Transfer`](./src/models/errors/transfer.ts): Details of a Transfer. Status code `409`. Applicable to 1 of 178 methods.*
2394
+ * [`CardAcquiringRefund`](./src/models/errors/cardacquiringrefund.ts): Details of a card refund. Status code `409`. Applicable to 1 of 178 methods.*
2395
+ * [`CreateAccountError`](./src/models/errors/createaccounterror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 178 methods.*
2396
+ * [`PatchAccountError`](./src/models/errors/patchaccounterror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 178 methods.*
2397
+ * [`ConnectAccountRequestValidationError`](./src/models/errors/connectaccountrequestvalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 178 methods.*
2398
+ * [`AssignCountriesError`](./src/models/errors/assigncountrieserror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 178 methods.*
2399
+ * [`LinkApplePayError`](./src/models/errors/linkapplepayerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 178 methods.*
2400
+ * [`BankAccountValidationError`](./src/models/errors/bankaccountvalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 178 methods.*
2401
+ * [`MicroDepositValidationError`](./src/models/errors/microdepositvalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 178 methods.*
2402
+ * [`AddCapabilitiesError`](./src/models/errors/addcapabilitieserror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 178 methods.*
2403
+ * [`LinkCardError`](./src/models/errors/linkcarderror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 178 methods.*
2404
+ * [`UpdateCardError`](./src/models/errors/updatecarderror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 178 methods.*
2405
+ * [`FileUploadValidationError`](./src/models/errors/fileuploadvalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 178 methods.*
2406
+ * [`FeePlanAgreementError`](./src/models/errors/feeplanagreementerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 178 methods.*
2407
+ * [`FileValidationError`](./src/models/errors/filevalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 178 methods.*
2408
+ * [`ImageMetadataValidationError`](./src/models/errors/imagemetadatavalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 178 methods.*
2409
+ * [`CreateInvoiceError`](./src/models/errors/createinvoiceerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 178 methods.*
2410
+ * [`ListInvoicesValidationError`](./src/models/errors/listinvoicesvalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 178 methods.*
2411
+ * [`UpdateInvoiceError`](./src/models/errors/updateinvoiceerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 178 methods.*
2412
+ * [`CreateInvoicePaymentError`](./src/models/errors/createinvoicepaymenterror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 178 methods.*
2413
+ * [`CreatePaymentLinkError`](./src/models/errors/createpaymentlinkerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 178 methods.*
2414
+ * [`UpdatePaymentLinkError`](./src/models/errors/updatepaymentlinkerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 178 methods.*
2415
+ * [`RepresentativeValidationError`](./src/models/errors/representativevalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 178 methods.*
2416
+ * [`CreateSweepConfigError`](./src/models/errors/createsweepconfigerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 178 methods.*
2417
+ * [`PatchSweepConfigError`](./src/models/errors/patchsweepconfigerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 178 methods.*
2418
+ * [`AccountTerminalApplicationError`](./src/models/errors/accountterminalapplicationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 178 methods.*
2419
+ * [`CreateTicketError`](./src/models/errors/createticketerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 178 methods.*
2420
+ * [`UpdateTicketError`](./src/models/errors/updateticketerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 178 methods.*
2421
+ * [`TransferOptionsValidationError`](./src/models/errors/transferoptionsvalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 178 methods.*
2422
+ * [`TransferValidationError`](./src/models/errors/transfervalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 178 methods.*
2423
+ * [`ListTransfersValidationError`](./src/models/errors/listtransfersvalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 178 methods.*
2424
+ * [`PatchTransferValidationError`](./src/models/errors/patchtransfervalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 178 methods.*
2425
+ * [`RefundValidationError`](./src/models/errors/refundvalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 178 methods.*
2426
+ * [`ReversalValidationError`](./src/models/errors/reversalvalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 178 methods.*
2427
+ * [`UpsertUnderwritingError`](./src/models/errors/upsertunderwritingerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 178 methods.*
2428
+ * [`UpdateUnderwritingError`](./src/models/errors/updateunderwritingerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 178 methods.*
2429
+ * [`CreateWalletValidationError`](./src/models/errors/createwalletvalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 178 methods.*
2430
+ * [`ListWalletsValidationError`](./src/models/errors/listwalletsvalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 178 methods.*
2431
+ * [`PatchWalletValidationError`](./src/models/errors/patchwalletvalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 178 methods.*
2432
+ * [`ListWalletTransactionsValidationError`](./src/models/errors/listwallettransactionsvalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 178 methods.*
2433
+ * [`CreateWebhookValidationError`](./src/models/errors/createwebhookvalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 178 methods.*
2434
+ * [`UpdateWebhookValidationError`](./src/models/errors/updatewebhookvalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 178 methods.*
2435
+ * [`RequestCardError`](./src/models/errors/requestcarderror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 178 methods.*
2436
+ * [`UpdateIssuedCardError`](./src/models/errors/updateissuedcarderror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 178 methods.*
2437
+ * [`RevokeTokenRequestError`](./src/models/errors/revoketokenrequesterror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 178 methods.*
2438
+ * [`AuthTokenRequestError`](./src/models/errors/authtokenrequesterror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 178 methods.*
2439
+ * [`OnboardingInviteError`](./src/models/errors/onboardinginviteerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 178 methods.*
2400
2440
  * [`ResponseValidationError`](./src/models/errors/responsevalidationerror.ts): Type mismatch between the data returned from the server and the structure expected by the SDK. See `error.rawValue` for the raw value and `error.pretty()` for a nicely formatted multi-line string.
2401
2441
 
2402
2442
  </details>