@moovio/sdk 26.4.0 → 26.4.2

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 (275) hide show
  1. package/FUNCTIONS.md +2 -2
  2. package/README.md +73 -59
  3. package/bin/mcp-server.js +1107 -271
  4. package/bin/mcp-server.js.map +55 -31
  5. package/funcs/filesUpload.d.ts.map +1 -1
  6. package/funcs/filesUpload.js +3 -1
  7. package/funcs/filesUpload.js.map +1 -1
  8. package/funcs/googlePayLinkToken.d.ts +3 -1
  9. package/funcs/googlePayLinkToken.d.ts.map +1 -1
  10. package/funcs/googlePayLinkToken.js +3 -1
  11. package/funcs/googlePayLinkToken.js.map +1 -1
  12. package/funcs/transferConfigCreate.d.ts +15 -0
  13. package/funcs/transferConfigCreate.d.ts.map +1 -0
  14. package/funcs/transferConfigCreate.js +128 -0
  15. package/funcs/transferConfigCreate.js.map +1 -0
  16. package/funcs/transferConfigGet.d.ts +14 -0
  17. package/funcs/transferConfigGet.d.ts.map +1 -0
  18. package/funcs/transferConfigGet.js +122 -0
  19. package/funcs/transferConfigGet.js.map +1 -0
  20. package/funcs/transferConfigUpdate.d.ts +15 -0
  21. package/funcs/transferConfigUpdate.d.ts.map +1 -0
  22. package/funcs/transferConfigUpdate.js +126 -0
  23. package/funcs/transferConfigUpdate.js.map +1 -0
  24. package/jsr.json +1 -1
  25. package/lib/config.d.ts +3 -3
  26. package/lib/config.js +3 -3
  27. package/lib/config.js.map +1 -1
  28. package/mcp-server/mcp-server.js +1 -1
  29. package/mcp-server/server.d.ts.map +1 -1
  30. package/mcp-server/server.js +7 -1
  31. package/mcp-server/server.js.map +1 -1
  32. package/mcp-server/tools/googlePayLinkToken.d.ts.map +1 -1
  33. package/mcp-server/tools/googlePayLinkToken.js +3 -1
  34. package/mcp-server/tools/googlePayLinkToken.js.map +1 -1
  35. package/mcp-server/tools/transferConfigCreate.d.ts +8 -0
  36. package/mcp-server/tools/transferConfigCreate.d.ts.map +1 -0
  37. package/mcp-server/tools/transferConfigCreate.js +62 -0
  38. package/mcp-server/tools/transferConfigCreate.js.map +1 -0
  39. package/mcp-server/tools/transferConfigGet.d.ts +8 -0
  40. package/mcp-server/tools/transferConfigGet.d.ts.map +1 -0
  41. package/mcp-server/tools/transferConfigGet.js +62 -0
  42. package/mcp-server/tools/transferConfigGet.js.map +1 -0
  43. package/mcp-server/tools/transferConfigUpdate.d.ts +8 -0
  44. package/mcp-server/tools/transferConfigUpdate.d.ts.map +1 -0
  45. package/mcp-server/tools/transferConfigUpdate.js +62 -0
  46. package/mcp-server/tools/transferConfigUpdate.js.map +1 -0
  47. package/models/components/createdtransfer.d.ts +4 -1
  48. package/models/components/createdtransfer.d.ts.map +1 -1
  49. package/models/components/createdtransfer.js +3 -0
  50. package/models/components/createdtransfer.js.map +1 -1
  51. package/models/components/createpaymentlink.d.ts +13 -0
  52. package/models/components/createpaymentlink.d.ts.map +1 -1
  53. package/models/components/createpaymentlink.js.map +1 -1
  54. package/models/components/createtippresets.d.ts +36 -0
  55. package/models/components/createtippresets.d.ts.map +1 -0
  56. package/models/components/createtippresets.js +64 -0
  57. package/models/components/createtippresets.js.map +1 -0
  58. package/models/components/createtransfer.d.ts +3 -3
  59. package/models/components/createtransfer.d.ts.map +1 -1
  60. package/models/components/createtransfer.js +3 -0
  61. package/models/components/createtransfer.js.map +1 -1
  62. package/models/components/createtransferamountdetails.d.ts +21 -0
  63. package/models/components/createtransferamountdetails.d.ts.map +1 -0
  64. package/models/components/createtransferamountdetails.js +59 -0
  65. package/models/components/createtransferamountdetails.js.map +1 -0
  66. package/models/components/createtransferamountdetailsvalidationerror.d.ts +17 -0
  67. package/models/components/createtransferamountdetailsvalidationerror.d.ts.map +1 -0
  68. package/models/components/createtransferamountdetailsvalidationerror.js +58 -0
  69. package/models/components/createtransferamountdetailsvalidationerror.js.map +1 -0
  70. package/models/components/createtransferconfig.d.ts +18 -0
  71. package/models/components/createtransferconfig.d.ts.map +1 -0
  72. package/models/components/{googlepayintermediatesigningkey.js → createtransferconfig.js} +13 -14
  73. package/models/components/createtransferconfig.js.map +1 -0
  74. package/models/components/fileuploadmetadata.d.ts +28 -0
  75. package/models/components/fileuploadmetadata.d.ts.map +1 -0
  76. package/models/components/fileuploadmetadata.js +69 -0
  77. package/models/components/fileuploadmetadata.js.map +1 -0
  78. package/models/components/fileuploadrequestmultipart.d.ts +5 -8
  79. package/models/components/fileuploadrequestmultipart.d.ts.map +1 -1
  80. package/models/components/fileuploadrequestmultipart.js +3 -2
  81. package/models/components/fileuploadrequestmultipart.js.map +1 -1
  82. package/models/components/googlepayassurancedetails.d.ts +28 -0
  83. package/models/components/googlepayassurancedetails.d.ts.map +1 -0
  84. package/models/components/googlepayassurancedetails.js +60 -0
  85. package/models/components/googlepayassurancedetails.js.map +1 -0
  86. package/models/components/googlepaybillingaddress.d.ts +73 -0
  87. package/models/components/googlepaybillingaddress.d.ts.map +1 -0
  88. package/models/components/googlepaybillingaddress.js +76 -0
  89. package/models/components/googlepaybillingaddress.js.map +1 -0
  90. package/models/components/googlepaycardinfo.d.ts +91 -0
  91. package/models/components/googlepaycardinfo.d.ts.map +1 -0
  92. package/models/components/googlepaycardinfo.js +98 -0
  93. package/models/components/googlepaycardinfo.js.map +1 -0
  94. package/models/components/googlepaypaymentmethoddata.d.ts +65 -0
  95. package/models/components/googlepaypaymentmethoddata.d.ts.map +1 -0
  96. package/models/components/googlepaypaymentmethoddata.js +76 -0
  97. package/models/components/googlepaypaymentmethoddata.js.map +1 -0
  98. package/models/components/googlepaytokenizationdata.d.ts +47 -0
  99. package/models/components/googlepaytokenizationdata.d.ts.map +1 -0
  100. package/models/components/googlepaytokenizationdata.js +70 -0
  101. package/models/components/googlepaytokenizationdata.js.map +1 -0
  102. package/models/components/index.d.ts +16 -2
  103. package/models/components/index.d.ts.map +1 -1
  104. package/models/components/index.js +16 -2
  105. package/models/components/index.js.map +1 -1
  106. package/models/components/linkedgooglepaypaymentmethod.d.ts +5 -10
  107. package/models/components/linkedgooglepaypaymentmethod.d.ts.map +1 -1
  108. package/models/components/linkedgooglepaypaymentmethod.js +4 -11
  109. package/models/components/linkedgooglepaypaymentmethod.js.map +1 -1
  110. package/models/components/linkgooglepay.d.ts +17 -9
  111. package/models/components/linkgooglepay.d.ts.map +1 -1
  112. package/models/components/linkgooglepay.js +5 -3
  113. package/models/components/linkgooglepay.js.map +1 -1
  114. package/models/components/paymentlink.d.ts +10 -0
  115. package/models/components/paymentlink.d.ts.map +1 -1
  116. package/models/components/paymentlink.js.map +1 -1
  117. package/models/components/paymentlinkcustomeroptions.d.ts +5 -0
  118. package/models/components/paymentlinkcustomeroptions.d.ts.map +1 -1
  119. package/models/components/paymentlinkcustomeroptions.js +2 -0
  120. package/models/components/paymentlinkcustomeroptions.js.map +1 -1
  121. package/models/components/puttippresets.d.ts +36 -0
  122. package/models/components/puttippresets.d.ts.map +1 -0
  123. package/models/components/puttippresets.js +64 -0
  124. package/models/components/puttippresets.js.map +1 -0
  125. package/models/components/puttransferconfig.d.ts +18 -0
  126. package/models/components/puttransferconfig.d.ts.map +1 -0
  127. package/models/components/puttransferconfig.js +59 -0
  128. package/models/components/puttransferconfig.js.map +1 -0
  129. package/models/components/tipcalculationbasis.d.ts +26 -0
  130. package/models/components/tipcalculationbasis.d.ts.map +1 -0
  131. package/models/components/tipcalculationbasis.js +56 -0
  132. package/models/components/tipcalculationbasis.js.map +1 -0
  133. package/models/components/tippresets.d.ts +39 -0
  134. package/models/components/tippresets.d.ts.map +1 -0
  135. package/models/components/tippresets.js +64 -0
  136. package/models/components/tippresets.js.map +1 -0
  137. package/models/components/transfer.d.ts +3 -3
  138. package/models/components/transfer.d.ts.map +1 -1
  139. package/models/components/transfer.js +3 -0
  140. package/models/components/transfer.js.map +1 -1
  141. package/models/components/transferamountdetails.d.ts +21 -0
  142. package/models/components/transferamountdetails.d.ts.map +1 -0
  143. package/models/components/transferamountdetails.js +59 -0
  144. package/models/components/transferamountdetails.js.map +1 -0
  145. package/models/components/transferconfig.d.ts +24 -0
  146. package/models/components/transferconfig.d.ts.map +1 -0
  147. package/models/components/{googlepaytoken.js → transferconfig.js} +13 -19
  148. package/models/components/transferconfig.js.map +1 -0
  149. package/models/components/transferdestination.d.ts +6 -0
  150. package/models/components/transferdestination.d.ts.map +1 -1
  151. package/models/components/transferdestination.js +3 -0
  152. package/models/components/transferdestination.js.map +1 -1
  153. package/models/components/transfersource.d.ts +6 -0
  154. package/models/components/transfersource.d.ts.map +1 -1
  155. package/models/components/transfersource.js +3 -0
  156. package/models/components/transfersource.js.map +1 -1
  157. package/models/components/webhookdata.d.ts +2 -2
  158. package/models/components/webhookdata.d.ts.map +1 -1
  159. package/models/components/webhookdata.js +2 -2
  160. package/models/components/webhookdata.js.map +1 -1
  161. package/models/components/webhookdatabankaccountcreated.d.ts +3 -0
  162. package/models/components/webhookdatabankaccountcreated.d.ts.map +1 -1
  163. package/models/components/webhookdatabankaccountcreated.js +3 -0
  164. package/models/components/webhookdatabankaccountcreated.js.map +1 -1
  165. package/models/errors/index.d.ts +1 -0
  166. package/models/errors/index.d.ts.map +1 -1
  167. package/models/errors/index.js +1 -0
  168. package/models/errors/index.js.map +1 -1
  169. package/models/errors/linkgooglepayerror.d.ts +14 -5
  170. package/models/errors/linkgooglepayerror.d.ts.map +1 -1
  171. package/models/errors/linkgooglepayerror.js +10 -4
  172. package/models/errors/linkgooglepayerror.js.map +1 -1
  173. package/models/errors/transfer.d.ts +3 -6
  174. package/models/errors/transfer.d.ts.map +1 -1
  175. package/models/errors/transfer.js +4 -0
  176. package/models/errors/transfer.js.map +1 -1
  177. package/models/errors/transferconfigvalidationerror.d.ts +43 -0
  178. package/models/errors/transferconfigvalidationerror.d.ts.map +1 -0
  179. package/models/errors/transferconfigvalidationerror.js +99 -0
  180. package/models/errors/transferconfigvalidationerror.js.map +1 -0
  181. package/models/errors/transfervalidationerror.d.ts +3 -0
  182. package/models/errors/transfervalidationerror.d.ts.map +1 -1
  183. package/models/errors/transfervalidationerror.js +6 -0
  184. package/models/errors/transfervalidationerror.js.map +1 -1
  185. package/models/operations/createtransferconfig.d.ts +42 -0
  186. package/models/operations/createtransferconfig.d.ts.map +1 -0
  187. package/models/operations/createtransferconfig.js +98 -0
  188. package/models/operations/createtransferconfig.js.map +1 -0
  189. package/models/operations/gettransferconfig.d.ts +37 -0
  190. package/models/operations/gettransferconfig.d.ts.map +1 -0
  191. package/models/operations/gettransferconfig.js +88 -0
  192. package/models/operations/gettransferconfig.js.map +1 -0
  193. package/models/operations/index.d.ts +3 -0
  194. package/models/operations/index.d.ts.map +1 -1
  195. package/models/operations/index.js +3 -0
  196. package/models/operations/index.js.map +1 -1
  197. package/models/operations/updatetransferconfig.d.ts +39 -0
  198. package/models/operations/updatetransferconfig.d.ts.map +1 -0
  199. package/models/operations/updatetransferconfig.js +98 -0
  200. package/models/operations/updatetransferconfig.js.map +1 -0
  201. package/package.json +1 -1
  202. package/sdk/googlepay.d.ts +3 -1
  203. package/sdk/googlepay.d.ts.map +1 -1
  204. package/sdk/googlepay.js +3 -1
  205. package/sdk/googlepay.js.map +1 -1
  206. package/sdk/sdk.d.ts +3 -0
  207. package/sdk/sdk.d.ts.map +1 -1
  208. package/sdk/sdk.js +4 -0
  209. package/sdk/sdk.js.map +1 -1
  210. package/sdk/transferconfig.d.ts +17 -0
  211. package/sdk/transferconfig.d.ts.map +1 -0
  212. package/sdk/transferconfig.js +33 -0
  213. package/sdk/transferconfig.js.map +1 -0
  214. package/src/funcs/filesUpload.ts +13 -2
  215. package/src/funcs/googlePayLinkToken.ts +3 -1
  216. package/src/funcs/transferConfigCreate.ts +187 -0
  217. package/src/funcs/transferConfigGet.ts +172 -0
  218. package/src/funcs/transferConfigUpdate.ts +185 -0
  219. package/src/lib/config.ts +3 -3
  220. package/src/mcp-server/mcp-server.ts +1 -1
  221. package/src/mcp-server/server.ts +7 -1
  222. package/src/mcp-server/tools/googlePayLinkToken.ts +3 -1
  223. package/src/mcp-server/tools/transferConfigCreate.ts +35 -0
  224. package/src/mcp-server/tools/transferConfigGet.ts +35 -0
  225. package/src/mcp-server/tools/transferConfigUpdate.ts +35 -0
  226. package/src/models/components/createdtransfer.ts +11 -1
  227. package/src/models/components/createpaymentlink.ts +13 -0
  228. package/src/models/components/createtippresets.ts +83 -0
  229. package/src/models/components/createtransfer.ts +10 -3
  230. package/src/models/components/createtransferamountdetails.ts +62 -0
  231. package/src/models/components/createtransferamountdetailsvalidationerror.ts +59 -0
  232. package/src/models/components/createtransferconfig.ts +57 -0
  233. package/src/models/components/fileuploadmetadata.ts +73 -0
  234. package/src/models/components/fileuploadrequestmultipart.ts +12 -10
  235. package/src/models/components/googlepayassurancedetails.ts +64 -0
  236. package/src/models/components/googlepaybillingaddress.ts +125 -0
  237. package/src/models/components/googlepaycardinfo.ts +153 -0
  238. package/src/models/components/googlepaypaymentmethoddata.ts +120 -0
  239. package/src/models/components/googlepaytokenizationdata.ts +91 -0
  240. package/src/models/components/index.ts +16 -2
  241. package/src/models/components/linkedgooglepaypaymentmethod.ts +11 -22
  242. package/src/models/components/linkgooglepay.ts +25 -15
  243. package/src/models/components/paymentlink.ts +10 -0
  244. package/src/models/components/paymentlinkcustomeroptions.ts +7 -0
  245. package/src/models/components/puttippresets.ts +79 -0
  246. package/src/models/components/puttransferconfig.ts +57 -0
  247. package/src/models/components/tipcalculationbasis.ts +35 -0
  248. package/src/models/components/tippresets.ts +82 -0
  249. package/src/models/components/transfer.ts +10 -3
  250. package/src/models/components/transferamountdetails.ts +60 -0
  251. package/src/models/components/transferconfig.ts +59 -0
  252. package/src/models/components/transferdestination.ts +13 -0
  253. package/src/models/components/transfersource.ts +13 -0
  254. package/src/models/components/webhookdata.ts +4 -4
  255. package/src/models/components/webhookdatabankaccountcreated.ts +9 -0
  256. package/src/models/errors/index.ts +1 -0
  257. package/src/models/errors/linkgooglepayerror.ts +24 -8
  258. package/src/models/errors/transfer.ts +6 -6
  259. package/src/models/errors/transferconfigvalidationerror.ts +110 -0
  260. package/src/models/errors/transfervalidationerror.ts +14 -0
  261. package/src/models/operations/createtransferconfig.ts +129 -0
  262. package/src/models/operations/gettransferconfig.ts +110 -0
  263. package/src/models/operations/index.ts +3 -0
  264. package/src/models/operations/updatetransferconfig.ts +126 -0
  265. package/src/sdk/googlepay.ts +3 -1
  266. package/src/sdk/sdk.ts +6 -0
  267. package/src/sdk/transferconfig.ts +54 -0
  268. package/models/components/googlepayintermediatesigningkey.d.ts +0 -28
  269. package/models/components/googlepayintermediatesigningkey.d.ts.map +0 -1
  270. package/models/components/googlepayintermediatesigningkey.js.map +0 -1
  271. package/models/components/googlepaytoken.d.ts +0 -44
  272. package/models/components/googlepaytoken.d.ts.map +0 -1
  273. package/models/components/googlepaytoken.js.map +0 -1
  274. package/src/models/components/googlepayintermediatesigningkey.ts +0 -66
  275. package/src/models/components/googlepaytoken.ts +0 -85
package/FUNCTIONS.md CHANGED
@@ -1,11 +1,11 @@
1
1
  # Standalone Functions
2
2
 
3
3
  > [!NOTE]
4
- > This section is useful if you are using a bundler and targetting browsers and
4
+ > This section is useful if you are using a bundler and targeting browsers and
5
5
  > runtimes where the size of an application affects performance and load times.
6
6
 
7
7
  Every method in this SDK is also available as a standalone function. This
8
- alternative API is suitable when targetting the browser or serverless runtimes
8
+ alternative API is suitable when targeting the browser or serverless runtimes
9
9
  and using a bundler to build your application since all unused functionality
10
10
  will be tree-shaken away. This includes code for unused methods, Zod schemas,
11
11
  encoding helpers and response handlers. The result is dramatically smaller
package/README.md CHANGED
@@ -763,7 +763,9 @@ you'll need to specify the `/accounts/{accountID}/files.read` scope.
763
763
 
764
764
  * [linkToken](docs/sdks/googlepay/README.md#linktoken) - Connect a Google Pay token to the specified account.
765
765
 
766
- The `token` data is defined by Google Pay and should be passed through from Google Pay's response unmodified.
766
+ The `paymentMethodData` field should contain the `paymentMethodData` property from Google Pay's
767
+ [PaymentData](https://developers.google.com/pay/api/web/reference/response-objects#PaymentData) response,
768
+ passed through unmodified.
767
769
 
768
770
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
769
771
  you'll need to specify the `/accounts/{accountID}/cards.write` scope.
@@ -1148,6 +1150,12 @@ you'll need to specify the `/terminal-applications.write` scope.
1148
1150
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
1149
1151
  you'll need to specify the `/terminal-applications.write` scope.
1150
1152
 
1153
+ ### [TransferConfig](docs/sdks/transferconfig/README.md)
1154
+
1155
+ * [create](docs/sdks/transferconfig/README.md#create) - Create a transfer config for an account.
1156
+ * [get](docs/sdks/transferconfig/README.md#get) - Get the transfer config for an account.
1157
+ * [update](docs/sdks/transferconfig/README.md#update) - Update the transfer config for an account.
1158
+
1151
1159
  ### [Transfers](docs/sdks/transfers/README.md)
1152
1160
 
1153
1161
  * [generateOptions](docs/sdks/transfers/README.md#generateoptions) - Generate available payment method options for one or multiple transfer participants depending on the accountID or paymentMethodID you
@@ -1785,7 +1793,9 @@ To access this endpoint using an [access token](https://docs.moov.io/api/authent
1785
1793
  you'll need to specify the `/accounts/{accountID}/files.write` scope.
1786
1794
  - [`googlePayLinkToken`](docs/sdks/googlepay/README.md#linktoken) - Connect a Google Pay token to the specified account.
1787
1795
 
1788
- The `token` data is defined by Google Pay and should be passed through from Google Pay's response unmodified.
1796
+ The `paymentMethodData` field should contain the `paymentMethodData` property from Google Pay's
1797
+ [PaymentData](https://developers.google.com/pay/api/web/reference/response-objects#PaymentData) response,
1798
+ passed through unmodified.
1789
1799
 
1790
1800
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
1791
1801
  you'll need to specify the `/accounts/{accountID}/cards.write` scope.
@@ -2109,6 +2119,9 @@ you'll need to specify the `/terminal-applications.read` scope.
2109
2119
 
2110
2120
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
2111
2121
  you'll need to specify the `/terminal-applications.read` scope.
2122
+ - [`transferConfigCreate`](docs/sdks/transferconfig/README.md#create) - Create a transfer config for an account.
2123
+ - [`transferConfigGet`](docs/sdks/transferconfig/README.md#get) - Get the transfer config for an account.
2124
+ - [`transferConfigUpdate`](docs/sdks/transferconfig/README.md#update) - Update the transfer config for an account.
2112
2125
  - [`transfersBatchGetTransfers`](docs/sdks/transfers/README.md#batchgettransfers) - Retrieve transfer details for multiple transfers in one request. The response is a map from each
2113
2126
  requested transfer ID to its full transfer details when available; IDs that are not found or not
2114
2127
  accessible under this account are omitted from the map.
@@ -2445,7 +2458,7 @@ run();
2445
2458
  **Primary error:**
2446
2459
  * [`MoovError`](./src/models/errors/mooverror.ts): The base class for HTTP error responses.
2447
2460
 
2448
- <details><summary>Less common errors (62)</summary>
2461
+ <details><summary>Less common errors (63)</summary>
2449
2462
 
2450
2463
  <br />
2451
2464
 
@@ -2458,62 +2471,63 @@ run();
2458
2471
 
2459
2472
 
2460
2473
  **Inherit from [`MoovError`](./src/models/errors/mooverror.ts)**:
2461
- * [`GenericError`](./src/models/errors/genericerror.ts): Applicable to 82 of 184 methods.*
2462
- * [`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 184 methods.*
2463
- * [`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 184 methods.*
2464
- * [`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 184 methods.*
2465
- * [`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 184 methods.*
2466
- * [`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 184 methods.*
2467
- * [`DuplicateCardError`](./src/models/errors/duplicatecarderror.ts): Attempted to link card that already exists on the account. Status code `409`. Applicable to 1 of 184 methods.*
2468
- * [`Transfer`](./src/models/errors/transfer.ts): Details of a Transfer. Status code `409`. Applicable to 1 of 184 methods.*
2469
- * [`CardAcquiringRefund`](./src/models/errors/cardacquiringrefund.ts): Details of a card refund. Status code `409`. Applicable to 1 of 184 methods.*
2470
- * [`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 184 methods.*
2471
- * [`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 184 methods.*
2472
- * [`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 184 methods.*
2473
- * [`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 184 methods.*
2474
- * [`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 184 methods.*
2475
- * [`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 184 methods.*
2476
- * [`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 184 methods.*
2477
- * [`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 184 methods.*
2478
- * [`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 184 methods.*
2479
- * [`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 184 methods.*
2480
- * [`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 184 methods.*
2481
- * [`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 184 methods.*
2482
- * [`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 184 methods.*
2483
- * [`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 184 methods.*
2484
- * [`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 184 methods.*
2485
- * [`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 184 methods.*
2486
- * [`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 184 methods.*
2487
- * [`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 184 methods.*
2488
- * [`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 184 methods.*
2489
- * [`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 184 methods.*
2490
- * [`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 184 methods.*
2491
- * [`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 184 methods.*
2492
- * [`CreateResolutionLinkError`](./src/models/errors/createresolutionlinkerror.ts): Describes validation errors for the create resolution link request. Status code `422`. Applicable to 1 of 184 methods.*
2493
- * [`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 184 methods.*
2494
- * [`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 184 methods.*
2495
- * [`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 184 methods.*
2496
- * [`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 184 methods.*
2497
- * [`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 184 methods.*
2498
- * [`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 184 methods.*
2499
- * [`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 184 methods.*
2500
- * [`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 184 methods.*
2501
- * [`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 184 methods.*
2502
- * [`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 184 methods.*
2503
- * [`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 184 methods.*
2504
- * [`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 184 methods.*
2505
- * [`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 184 methods.*
2506
- * [`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 184 methods.*
2507
- * [`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 184 methods.*
2508
- * [`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 184 methods.*
2509
- * [`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 184 methods.*
2510
- * [`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 184 methods.*
2511
- * [`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 184 methods.*
2512
- * [`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 184 methods.*
2513
- * [`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 184 methods.*
2514
- * [`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 184 methods.*
2515
- * [`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 184 methods.*
2516
- * [`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 184 methods.*
2474
+ * [`GenericError`](./src/models/errors/genericerror.ts): Applicable to 84 of 187 methods.*
2475
+ * [`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 187 methods.*
2476
+ * [`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 187 methods.*
2477
+ * [`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 187 methods.*
2478
+ * [`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 187 methods.*
2479
+ * [`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 187 methods.*
2480
+ * [`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 187 methods.*
2481
+ * [`DuplicateCardError`](./src/models/errors/duplicatecarderror.ts): Attempted to link card that already exists on the account. Status code `409`. Applicable to 1 of 187 methods.*
2482
+ * [`Transfer`](./src/models/errors/transfer.ts): Details of a Transfer. Status code `409`. Applicable to 1 of 187 methods.*
2483
+ * [`CardAcquiringRefund`](./src/models/errors/cardacquiringrefund.ts): Details of a card refund. Status code `409`. Applicable to 1 of 187 methods.*
2484
+ * [`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 187 methods.*
2485
+ * [`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 187 methods.*
2486
+ * [`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 187 methods.*
2487
+ * [`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 187 methods.*
2488
+ * [`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 187 methods.*
2489
+ * [`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 187 methods.*
2490
+ * [`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 187 methods.*
2491
+ * [`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 187 methods.*
2492
+ * [`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 187 methods.*
2493
+ * [`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 187 methods.*
2494
+ * [`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 187 methods.*
2495
+ * [`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 187 methods.*
2496
+ * [`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 187 methods.*
2497
+ * [`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 187 methods.*
2498
+ * [`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 187 methods.*
2499
+ * [`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 187 methods.*
2500
+ * [`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 187 methods.*
2501
+ * [`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 187 methods.*
2502
+ * [`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 187 methods.*
2503
+ * [`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 187 methods.*
2504
+ * [`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 187 methods.*
2505
+ * [`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 187 methods.*
2506
+ * [`CreateResolutionLinkError`](./src/models/errors/createresolutionlinkerror.ts): Describes validation errors for the create resolution link request. Status code `422`. Applicable to 1 of 187 methods.*
2507
+ * [`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 187 methods.*
2508
+ * [`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 187 methods.*
2509
+ * [`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 187 methods.*
2510
+ * [`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 187 methods.*
2511
+ * [`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 187 methods.*
2512
+ * [`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 187 methods.*
2513
+ * [`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 187 methods.*
2514
+ * [`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 187 methods.*
2515
+ * [`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 187 methods.*
2516
+ * [`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 187 methods.*
2517
+ * [`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 187 methods.*
2518
+ * [`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 187 methods.*
2519
+ * [`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 187 methods.*
2520
+ * [`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 187 methods.*
2521
+ * [`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 187 methods.*
2522
+ * [`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 187 methods.*
2523
+ * [`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 187 methods.*
2524
+ * [`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 187 methods.*
2525
+ * [`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 187 methods.*
2526
+ * [`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 187 methods.*
2527
+ * [`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 187 methods.*
2528
+ * [`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 187 methods.*
2529
+ * [`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 187 methods.*
2530
+ * [`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 187 methods.*
2517
2531
  * [`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.
2518
2532
 
2519
2533
  </details>