@moovio/sdk 26.7.0-dev.5 → 26.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (182) hide show
  1. package/README.md +121 -59
  2. package/bin/mcp-server.js +520 -187
  3. package/bin/mcp-server.js.map +38 -28
  4. package/funcs/avatarsDelete.d.ts +23 -0
  5. package/funcs/avatarsDelete.d.ts.map +1 -0
  6. package/funcs/avatarsDelete.js +135 -0
  7. package/funcs/avatarsDelete.js.map +1 -0
  8. package/funcs/avatarsUpload.d.ts +23 -0
  9. package/funcs/avatarsUpload.d.ts.map +1 -0
  10. package/funcs/avatarsUpload.js +155 -0
  11. package/funcs/avatarsUpload.js.map +1 -0
  12. package/funcs/productsList.js +1 -0
  13. package/funcs/productsList.js.map +1 -1
  14. package/funcs/productsListCategories.d.ts +14 -0
  15. package/funcs/productsListCategories.d.ts.map +1 -0
  16. package/funcs/productsListCategories.js +107 -0
  17. package/funcs/productsListCategories.js.map +1 -0
  18. package/hooks/oauth2scopes.d.ts +5 -0
  19. package/hooks/oauth2scopes.d.ts.map +1 -0
  20. package/hooks/oauth2scopes.js +6 -0
  21. package/hooks/oauth2scopes.js.map +1 -0
  22. package/jsr.json +1 -1
  23. package/lib/config.d.ts +3 -3
  24. package/lib/config.d.ts.map +1 -1
  25. package/lib/config.js +3 -3
  26. package/lib/config.js.map +1 -1
  27. package/lib/http.d.ts +1 -1
  28. package/lib/http.d.ts.map +1 -1
  29. package/lib/http.js +1 -1
  30. package/lib/http.js.map +1 -1
  31. package/lib/security.d.ts +5 -4
  32. package/lib/security.d.ts.map +1 -1
  33. package/lib/security.js +6 -7
  34. package/lib/security.js.map +1 -1
  35. package/mcp-server/mcp-server.js +1 -1
  36. package/mcp-server/mcp-server.js.map +1 -1
  37. package/mcp-server/server.d.ts.map +1 -1
  38. package/mcp-server/server.js +3 -1
  39. package/mcp-server/server.js.map +1 -1
  40. package/mcp-server/tools/productsListCategories.d.ts +3 -0
  41. package/mcp-server/tools/productsListCategories.d.ts.map +1 -0
  42. package/mcp-server/tools/productsListCategories.js +24 -0
  43. package/mcp-server/tools/productsListCategories.js.map +1 -0
  44. package/models/components/avataruploadrequest.d.ts +35 -0
  45. package/models/components/avataruploadrequest.d.ts.map +1 -0
  46. package/models/components/avataruploadrequest.js +88 -0
  47. package/models/components/avataruploadrequest.js.map +1 -0
  48. package/models/components/capabilityid.d.ts +1 -0
  49. package/models/components/capabilityid.d.ts.map +1 -1
  50. package/models/components/capabilityid.js +1 -0
  51. package/models/components/capabilityid.js.map +1 -1
  52. package/models/components/cardbrandfees.d.ts +5 -0
  53. package/models/components/cardbrandfees.d.ts.map +1 -1
  54. package/models/components/cardbrandfees.js +2 -0
  55. package/models/components/cardbrandfees.js.map +1 -1
  56. package/models/components/createtransfer.d.ts +6 -0
  57. package/models/components/createtransfer.d.ts.map +1 -1
  58. package/models/components/createtransfer.js +3 -0
  59. package/models/components/createtransfer.js.map +1 -1
  60. package/models/components/feepaidby.d.ts +18 -0
  61. package/models/components/feepaidby.d.ts.map +1 -0
  62. package/models/components/feepaidby.js +52 -0
  63. package/models/components/feepaidby.js.map +1 -0
  64. package/models/components/filedetails.d.ts +1 -1
  65. package/models/components/filepurpose.d.ts +2 -2
  66. package/models/components/filepurpose.js +1 -1
  67. package/models/components/incurredfee.d.ts +6 -0
  68. package/models/components/incurredfee.d.ts.map +1 -1
  69. package/models/components/incurredfee.js +3 -0
  70. package/models/components/incurredfee.js.map +1 -1
  71. package/models/components/index.d.ts +5 -0
  72. package/models/components/index.d.ts.map +1 -1
  73. package/models/components/index.js +5 -0
  74. package/models/components/index.js.map +1 -1
  75. package/models/components/issuingintervallimit.d.ts +2 -2
  76. package/models/components/issuingintervallimit.js +1 -1
  77. package/models/components/issuingvelocitylimit.d.ts +1 -1
  78. package/models/components/onboardinginvite.d.ts +1 -1
  79. package/models/components/paymentlinkpayoutdetails.d.ts +14 -0
  80. package/models/components/paymentlinkpayoutdetails.d.ts.map +1 -1
  81. package/models/components/paymentlinkpayoutdetails.js +3 -0
  82. package/models/components/paymentlinkpayoutdetails.js.map +1 -1
  83. package/models/components/paymentlinkpayoutdetailsupdate.d.ts +14 -0
  84. package/models/components/paymentlinkpayoutdetailsupdate.d.ts.map +1 -1
  85. package/models/components/paymentlinkpayoutdetailsupdate.js +3 -0
  86. package/models/components/paymentlinkpayoutdetailsupdate.js.map +1 -1
  87. package/models/components/payoutdetailserror.d.ts +2 -0
  88. package/models/components/payoutdetailserror.d.ts.map +1 -1
  89. package/models/components/payoutdetailserror.js +2 -0
  90. package/models/components/payoutdetailserror.js.map +1 -1
  91. package/models/components/product.d.ts +6 -0
  92. package/models/components/product.d.ts.map +1 -1
  93. package/models/components/product.js +3 -0
  94. package/models/components/product.js.map +1 -1
  95. package/models/components/productcategories.d.ts +21 -0
  96. package/models/components/productcategories.d.ts.map +1 -0
  97. package/models/components/productcategories.js +59 -0
  98. package/models/components/productcategories.js.map +1 -0
  99. package/models/components/productcategory.d.ts +43 -0
  100. package/models/components/productcategory.d.ts.map +1 -0
  101. package/models/components/productcategory.js +67 -0
  102. package/models/components/productcategory.js.map +1 -0
  103. package/models/components/productrequest.d.ts +5 -0
  104. package/models/components/productrequest.d.ts.map +1 -1
  105. package/models/components/productrequest.js +2 -0
  106. package/models/components/productrequest.js.map +1 -1
  107. package/models/components/transferfeepaidby.d.ts +24 -0
  108. package/models/components/transferfeepaidby.d.ts.map +1 -0
  109. package/models/components/transferfeepaidby.js +60 -0
  110. package/models/components/transferfeepaidby.js.map +1 -0
  111. package/models/errors/productrequestvalidationerror.d.ts +3 -0
  112. package/models/errors/productrequestvalidationerror.d.ts.map +1 -1
  113. package/models/errors/productrequestvalidationerror.js +4 -0
  114. package/models/errors/productrequestvalidationerror.js.map +1 -1
  115. package/models/operations/deleteavatar.d.ts +52 -0
  116. package/models/operations/deleteavatar.d.ts.map +1 -0
  117. package/models/operations/deleteavatar.js +102 -0
  118. package/models/operations/deleteavatar.js.map +1 -0
  119. package/models/operations/index.d.ts +3 -0
  120. package/models/operations/index.d.ts.map +1 -1
  121. package/models/operations/index.js +3 -0
  122. package/models/operations/index.js.map +1 -1
  123. package/models/operations/listproductcategories.d.ts +24 -0
  124. package/models/operations/listproductcategories.d.ts.map +1 -0
  125. package/models/operations/listproductcategories.js +72 -0
  126. package/models/operations/listproductcategories.js.map +1 -0
  127. package/models/operations/listproducts.d.ts +9 -0
  128. package/models/operations/listproducts.d.ts.map +1 -1
  129. package/models/operations/listproducts.js +2 -0
  130. package/models/operations/listproducts.js.map +1 -1
  131. package/models/operations/uploadavatar.d.ts +55 -0
  132. package/models/operations/uploadavatar.d.ts.map +1 -0
  133. package/models/operations/uploadavatar.js +113 -0
  134. package/models/operations/uploadavatar.js.map +1 -0
  135. package/package.json +1 -1
  136. package/sdk/avatars.d.ts +24 -0
  137. package/sdk/avatars.d.ts.map +1 -1
  138. package/sdk/avatars.js +30 -0
  139. package/sdk/avatars.js.map +1 -1
  140. package/sdk/products.d.ts +4 -0
  141. package/sdk/products.d.ts.map +1 -1
  142. package/sdk/products.js +7 -0
  143. package/sdk/products.js.map +1 -1
  144. package/src/funcs/avatarsDelete.ts +194 -0
  145. package/src/funcs/avatarsUpload.ts +231 -0
  146. package/src/funcs/productsList.ts +1 -0
  147. package/src/funcs/productsListCategories.ts +149 -0
  148. package/src/hooks/oauth2scopes.ts +8 -0
  149. package/src/lib/config.ts +3 -4
  150. package/src/lib/http.ts +3 -1
  151. package/src/lib/security.ts +10 -5
  152. package/src/mcp-server/mcp-server.ts +1 -1
  153. package/src/mcp-server/server.ts +3 -1
  154. package/src/mcp-server/tools/productsListCategories.ts +29 -0
  155. package/src/models/components/avataruploadrequest.ts +113 -0
  156. package/src/models/components/capabilityid.ts +1 -0
  157. package/src/models/components/cardbrandfees.ts +7 -0
  158. package/src/models/components/createtransfer.ts +13 -0
  159. package/src/models/components/feepaidby.ts +32 -0
  160. package/src/models/components/filedetails.ts +1 -1
  161. package/src/models/components/filepurpose.ts +2 -2
  162. package/src/models/components/incurredfee.ts +12 -0
  163. package/src/models/components/index.ts +5 -0
  164. package/src/models/components/issuingintervallimit.ts +2 -2
  165. package/src/models/components/issuingvelocitylimit.ts +1 -1
  166. package/src/models/components/onboardinginvite.ts +1 -1
  167. package/src/models/components/paymentlinkpayoutdetails.ts +16 -0
  168. package/src/models/components/paymentlinkpayoutdetailsupdate.ts +16 -0
  169. package/src/models/components/payoutdetailserror.ts +4 -0
  170. package/src/models/components/product.ts +13 -0
  171. package/src/models/components/productcategories.ts +60 -0
  172. package/src/models/components/productcategory.ts +84 -0
  173. package/src/models/components/productrequest.ts +7 -0
  174. package/src/models/components/transferfeepaidby.ts +63 -0
  175. package/src/models/errors/productrequestvalidationerror.ts +6 -0
  176. package/src/models/operations/deleteavatar.ts +154 -0
  177. package/src/models/operations/index.ts +3 -0
  178. package/src/models/operations/listproductcategories.ts +69 -0
  179. package/src/models/operations/listproducts.ts +11 -0
  180. package/src/models/operations/uploadavatar.ts +167 -0
  181. package/src/sdk/avatars.ts +50 -0
  182. package/src/sdk/products.ts +13 -0
package/README.md CHANGED
@@ -237,6 +237,30 @@ async function run() {
237
237
 
238
238
  run();
239
239
 
240
+ ```
241
+
242
+ ### Per-Operation Security Schemes
243
+
244
+ Some operations in this SDK require the security scheme to be specified at the request level. For example:
245
+ ```typescript
246
+ import { Moov } from "@moovio/sdk";
247
+ import { openAsBlob } from "node:fs";
248
+
249
+ const moov = new Moov();
250
+
251
+ async function run() {
252
+ const result = await moov.avatars.upload({}, {
253
+ uniqueID: "<id>",
254
+ avatarUploadRequest: {
255
+ file: await openAsBlob("example.file"),
256
+ },
257
+ });
258
+
259
+ console.log(result);
260
+ }
261
+
262
+ run();
263
+
240
264
  ```
241
265
  <!-- End Authentication [security] -->
242
266
 
@@ -427,6 +451,24 @@ Allows clients to notify the authorization server that a previously obtained ref
427
451
 
428
452
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
429
453
  you'll need to specify the `/profile-enrichment.read` scope.
454
+ * [upload](docs/sdks/avatars/README.md#upload) - Upload a user avatar image for an account.
455
+
456
+ The image will be normalized to 512x512 PNG format and stored separately from
457
+ automatically discovered logos. User-uploaded avatars take precedence over enriched avatars at read time.
458
+
459
+ This endpoint only accepts accountID values for the uniqueID parameter.
460
+
461
+ To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
462
+ you'll need to specify the `/accounts.write` scope.
463
+ * [delete](docs/sdks/avatars/README.md#delete) - Delete a user-uploaded avatar for an account.
464
+
465
+ After deletion, the avatar endpoint will fall back to the enriched avatar
466
+ or an account-type-aware fallback icon.
467
+
468
+ This endpoint only accepts accountID values for the uniqueID parameter.
469
+
470
+ To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
471
+ you'll need to specify the `/accounts.write` scope.
430
472
 
431
473
  ### [BankAccounts](docs/sdks/bankaccounts/README.md)
432
474
 
@@ -991,6 +1033,7 @@ you'll need to specify the `/ping.read` scope.
991
1033
  * [disable](docs/sdks/products/README.md#disable) - Disable a product by ID.
992
1034
 
993
1035
  The product will no longer be available, but will remain in the system for historical and reporting purposes.
1036
+ * [listCategories](docs/sdks/products/README.md#listcategories) - Returns the full, read-only list of product categories from the product taxonomy.
994
1037
 
995
1038
  ### [Receipts](docs/sdks/receipts/README.md)
996
1039
 
@@ -1508,10 +1551,28 @@ you'll need to specify the `/accounts/{accountID}/apple-pay.write` scope.
1508
1551
  - [`authenticationRevokeAccessToken`](docs/sdks/authentication/README.md#revokeaccesstoken) - Revoke an auth token.
1509
1552
 
1510
1553
  Allows clients to notify the authorization server that a previously obtained refresh or access token is no longer needed.
1554
+ - [`avatarsDelete`](docs/sdks/avatars/README.md#delete) - Delete a user-uploaded avatar for an account.
1555
+
1556
+ After deletion, the avatar endpoint will fall back to the enriched avatar
1557
+ or an account-type-aware fallback icon.
1558
+
1559
+ This endpoint only accepts accountID values for the uniqueID parameter.
1560
+
1561
+ To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
1562
+ you'll need to specify the `/accounts.write` scope.
1511
1563
  - [`avatarsGet`](docs/sdks/avatars/README.md#get) - Get avatar image for an account using a unique ID.
1512
1564
 
1513
1565
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
1514
1566
  you'll need to specify the `/profile-enrichment.read` scope.
1567
+ - [`avatarsUpload`](docs/sdks/avatars/README.md#upload) - Upload a user avatar image for an account.
1568
+
1569
+ The image will be normalized to 512x512 PNG format and stored separately from
1570
+ automatically discovered logos. User-uploaded avatars take precedence over enriched avatars at read time.
1571
+
1572
+ This endpoint only accepts accountID values for the uniqueID parameter.
1573
+
1574
+ To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
1575
+ you'll need to specify the `/accounts.write` scope.
1515
1576
  - [`bankAccountsCompleteMicroDeposits`](docs/sdks/bankaccounts/README.md#completemicrodeposits) - Complete the micro-deposit validation process by passing the amounts of the two transfers within three tries.
1516
1577
 
1517
1578
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
@@ -2000,6 +2061,7 @@ you'll need to specify the `/ping.read` scope.
2000
2061
  The product will no longer be available, but will remain in the system for historical and reporting purposes.
2001
2062
  - [`productsGet`](docs/sdks/products/README.md#get) - Retrieve a product by ID.
2002
2063
  - [`productsList`](docs/sdks/products/README.md#list) - List active (non-disabled) products for an account.
2064
+ - [`productsListCategories`](docs/sdks/products/README.md#listcategories) - Returns the full, read-only list of product categories from the product taxonomy.
2003
2065
  - [`productsUpdate`](docs/sdks/products/README.md#update) - Update a product and its options.
2004
2066
  - [`receiptsCreate`](docs/sdks/receipts/README.md#create) - Create receipts for transfers and scheduled transfers.
2005
2067
 
@@ -2534,65 +2596,65 @@ run();
2534
2596
 
2535
2597
 
2536
2598
  **Inherit from [`MoovError`](./src/models/errors/mooverror.ts)**:
2537
- * [`GenericError`](./src/models/errors/genericerror.ts): Applicable to 86 of 190 methods.*
2538
- * [`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 190 methods.*
2539
- * [`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 190 methods.*
2540
- * [`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 190 methods.*
2541
- * [`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 190 methods.*
2542
- * [`TransferConfigValidationError`](./src/models/errors/transferconfigvalidationerror.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 190 methods.*
2543
- * [`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 190 methods.*
2544
- * [`DuplicateCardError`](./src/models/errors/duplicatecarderror.ts): Attempted to link card that already exists on the account. Status code `409`. Applicable to 1 of 190 methods.*
2545
- * [`Transfer`](./src/models/errors/transfer.ts): Details of a Transfer. Status code `409`. Applicable to 1 of 190 methods.*
2546
- * [`CardAcquiringRefund`](./src/models/errors/cardacquiringrefund.ts): Details of a card refund. Status code `409`. Applicable to 1 of 190 methods.*
2547
- * [`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 190 methods.*
2548
- * [`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 190 methods.*
2549
- * [`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 190 methods.*
2550
- * [`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 190 methods.*
2551
- * [`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 190 methods.*
2552
- * [`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 190 methods.*
2553
- * [`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 190 methods.*
2554
- * [`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 190 methods.*
2555
- * [`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 190 methods.*
2556
- * [`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 190 methods.*
2557
- * [`CardMetadataRequestError`](./src/models/errors/cardmetadatarequesterror.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 190 methods.*
2558
- * [`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 190 methods.*
2559
- * [`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 190 methods.*
2560
- * [`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 190 methods.*
2561
- * [`LinkGooglePayError`](./src/models/errors/linkgooglepayerror.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 190 methods.*
2562
- * [`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 190 methods.*
2563
- * [`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 190 methods.*
2564
- * [`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 190 methods.*
2565
- * [`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 190 methods.*
2566
- * [`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 190 methods.*
2567
- * [`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 190 methods.*
2568
- * [`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 190 methods.*
2569
- * [`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 190 methods.*
2570
- * [`CreateResolutionLinkError`](./src/models/errors/createresolutionlinkerror.ts): Describes validation errors for the create resolution link request. Status code `422`. Applicable to 1 of 190 methods.*
2571
- * [`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 190 methods.*
2572
- * [`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 190 methods.*
2573
- * [`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 190 methods.*
2574
- * [`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 190 methods.*
2575
- * [`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 190 methods.*
2576
- * [`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 190 methods.*
2577
- * [`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 190 methods.*
2578
- * [`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 190 methods.*
2579
- * [`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 190 methods.*
2580
- * [`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 190 methods.*
2581
- * [`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 190 methods.*
2582
- * [`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 190 methods.*
2583
- * [`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 190 methods.*
2584
- * [`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 190 methods.*
2585
- * [`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 190 methods.*
2586
- * [`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 190 methods.*
2587
- * [`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 190 methods.*
2588
- * [`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 190 methods.*
2589
- * [`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 190 methods.*
2590
- * [`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 190 methods.*
2591
- * [`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 190 methods.*
2592
- * [`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 190 methods.*
2593
- * [`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 190 methods.*
2594
- * [`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 190 methods.*
2595
- * [`DepositAccountValidationError`](./src/models/errors/depositaccountvalidationerror.ts): Descriptions of any field validations that failed while parsing the deposit account payload. Status code `422`. Applicable to 1 of 190 methods.*
2599
+ * [`GenericError`](./src/models/errors/genericerror.ts): Applicable to 88 of 193 methods.*
2600
+ * [`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 193 methods.*
2601
+ * [`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 193 methods.*
2602
+ * [`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 193 methods.*
2603
+ * [`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 193 methods.*
2604
+ * [`TransferConfigValidationError`](./src/models/errors/transferconfigvalidationerror.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 193 methods.*
2605
+ * [`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 193 methods.*
2606
+ * [`DuplicateCardError`](./src/models/errors/duplicatecarderror.ts): Attempted to link card that already exists on the account. Status code `409`. Applicable to 1 of 193 methods.*
2607
+ * [`Transfer`](./src/models/errors/transfer.ts): Details of a Transfer. Status code `409`. Applicable to 1 of 193 methods.*
2608
+ * [`CardAcquiringRefund`](./src/models/errors/cardacquiringrefund.ts): Details of a card refund. Status code `409`. Applicable to 1 of 193 methods.*
2609
+ * [`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 193 methods.*
2610
+ * [`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 193 methods.*
2611
+ * [`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 193 methods.*
2612
+ * [`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 193 methods.*
2613
+ * [`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 193 methods.*
2614
+ * [`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 193 methods.*
2615
+ * [`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 193 methods.*
2616
+ * [`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 193 methods.*
2617
+ * [`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 193 methods.*
2618
+ * [`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 193 methods.*
2619
+ * [`CardMetadataRequestError`](./src/models/errors/cardmetadatarequesterror.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 193 methods.*
2620
+ * [`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 193 methods.*
2621
+ * [`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 193 methods.*
2622
+ * [`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 193 methods.*
2623
+ * [`LinkGooglePayError`](./src/models/errors/linkgooglepayerror.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 193 methods.*
2624
+ * [`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 193 methods.*
2625
+ * [`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 193 methods.*
2626
+ * [`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 193 methods.*
2627
+ * [`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 193 methods.*
2628
+ * [`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 193 methods.*
2629
+ * [`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 193 methods.*
2630
+ * [`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 193 methods.*
2631
+ * [`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 193 methods.*
2632
+ * [`CreateResolutionLinkError`](./src/models/errors/createresolutionlinkerror.ts): Describes validation errors for the create resolution link request. Status code `422`. Applicable to 1 of 193 methods.*
2633
+ * [`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 193 methods.*
2634
+ * [`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 193 methods.*
2635
+ * [`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 193 methods.*
2636
+ * [`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 193 methods.*
2637
+ * [`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 193 methods.*
2638
+ * [`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 193 methods.*
2639
+ * [`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 193 methods.*
2640
+ * [`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 193 methods.*
2641
+ * [`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 193 methods.*
2642
+ * [`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 193 methods.*
2643
+ * [`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 193 methods.*
2644
+ * [`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 193 methods.*
2645
+ * [`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 193 methods.*
2646
+ * [`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 193 methods.*
2647
+ * [`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 193 methods.*
2648
+ * [`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 193 methods.*
2649
+ * [`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 193 methods.*
2650
+ * [`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 193 methods.*
2651
+ * [`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 193 methods.*
2652
+ * [`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 193 methods.*
2653
+ * [`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 193 methods.*
2654
+ * [`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 193 methods.*
2655
+ * [`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 193 methods.*
2656
+ * [`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 193 methods.*
2657
+ * [`DepositAccountValidationError`](./src/models/errors/depositaccountvalidationerror.ts): Descriptions of any field validations that failed while parsing the deposit account payload. Status code `422`. Applicable to 1 of 193 methods.*
2596
2658
  * [`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.
2597
2659
 
2598
2660
  </details>