@moovio/sdk 0.12.1 → 0.12.3

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 (907) hide show
  1. package/README.md +28 -24
  2. package/bin/mcp-server.js +719 -365
  3. package/bin/mcp-server.js.map +185 -183
  4. package/funcs/accountTerminalApplicationsGet.d.ts +3 -2
  5. package/funcs/accountTerminalApplicationsGet.d.ts.map +1 -1
  6. package/funcs/accountTerminalApplicationsGet.js +1 -1
  7. package/funcs/accountTerminalApplicationsGet.js.map +1 -1
  8. package/funcs/accountTerminalApplicationsGetConfiguration.d.ts +3 -2
  9. package/funcs/accountTerminalApplicationsGetConfiguration.d.ts.map +1 -1
  10. package/funcs/accountTerminalApplicationsGetConfiguration.js +1 -1
  11. package/funcs/accountTerminalApplicationsGetConfiguration.js.map +1 -1
  12. package/funcs/accountTerminalApplicationsLink.d.ts +3 -2
  13. package/funcs/accountTerminalApplicationsLink.d.ts.map +1 -1
  14. package/funcs/accountTerminalApplicationsLink.js +1 -1
  15. package/funcs/accountTerminalApplicationsLink.js.map +1 -1
  16. package/funcs/accountTerminalApplicationsList.d.ts +3 -2
  17. package/funcs/accountTerminalApplicationsList.d.ts.map +1 -1
  18. package/funcs/accountTerminalApplicationsList.js +1 -1
  19. package/funcs/accountTerminalApplicationsList.js.map +1 -1
  20. package/funcs/accountsAssignCountries.d.ts +3 -2
  21. package/funcs/accountsAssignCountries.d.ts.map +1 -1
  22. package/funcs/accountsAssignCountries.js +1 -1
  23. package/funcs/accountsAssignCountries.js.map +1 -1
  24. package/funcs/accountsCreate.d.ts +3 -2
  25. package/funcs/accountsCreate.d.ts.map +1 -1
  26. package/funcs/accountsCreate.js +1 -1
  27. package/funcs/accountsCreate.js.map +1 -1
  28. package/funcs/accountsDisconnect.d.ts +3 -2
  29. package/funcs/accountsDisconnect.d.ts.map +1 -1
  30. package/funcs/accountsDisconnect.js +1 -1
  31. package/funcs/accountsDisconnect.js.map +1 -1
  32. package/funcs/accountsGet.d.ts +3 -2
  33. package/funcs/accountsGet.d.ts.map +1 -1
  34. package/funcs/accountsGet.js +1 -1
  35. package/funcs/accountsGet.js.map +1 -1
  36. package/funcs/accountsGetCountries.d.ts +3 -2
  37. package/funcs/accountsGetCountries.d.ts.map +1 -1
  38. package/funcs/accountsGetCountries.js +1 -1
  39. package/funcs/accountsGetCountries.js.map +1 -1
  40. package/funcs/accountsGetMerchantProcessingAgreement.d.ts +3 -2
  41. package/funcs/accountsGetMerchantProcessingAgreement.d.ts.map +1 -1
  42. package/funcs/accountsGetMerchantProcessingAgreement.js +1 -1
  43. package/funcs/accountsGetMerchantProcessingAgreement.js.map +1 -1
  44. package/funcs/accountsGetTermsOfServiceToken.d.ts +3 -2
  45. package/funcs/accountsGetTermsOfServiceToken.d.ts.map +1 -1
  46. package/funcs/accountsGetTermsOfServiceToken.js +1 -1
  47. package/funcs/accountsGetTermsOfServiceToken.js.map +1 -1
  48. package/funcs/accountsList.d.ts +3 -2
  49. package/funcs/accountsList.d.ts.map +1 -1
  50. package/funcs/accountsList.js +1 -1
  51. package/funcs/accountsList.js.map +1 -1
  52. package/funcs/accountsUpdate.d.ts +3 -2
  53. package/funcs/accountsUpdate.d.ts.map +1 -1
  54. package/funcs/accountsUpdate.js +1 -1
  55. package/funcs/accountsUpdate.js.map +1 -1
  56. package/funcs/adjustmentsGet.d.ts +3 -2
  57. package/funcs/adjustmentsGet.d.ts.map +1 -1
  58. package/funcs/adjustmentsGet.js +1 -1
  59. package/funcs/adjustmentsGet.js.map +1 -1
  60. package/funcs/adjustmentsList.d.ts +3 -2
  61. package/funcs/adjustmentsList.d.ts.map +1 -1
  62. package/funcs/adjustmentsList.js +1 -1
  63. package/funcs/adjustmentsList.js.map +1 -1
  64. package/funcs/applePayCreateSession.d.ts +3 -2
  65. package/funcs/applePayCreateSession.d.ts.map +1 -1
  66. package/funcs/applePayCreateSession.js +1 -1
  67. package/funcs/applePayCreateSession.js.map +1 -1
  68. package/funcs/applePayGetMerchantDomains.d.ts +3 -2
  69. package/funcs/applePayGetMerchantDomains.d.ts.map +1 -1
  70. package/funcs/applePayGetMerchantDomains.js +1 -1
  71. package/funcs/applePayGetMerchantDomains.js.map +1 -1
  72. package/funcs/applePayLinkToken.d.ts +3 -2
  73. package/funcs/applePayLinkToken.d.ts.map +1 -1
  74. package/funcs/applePayLinkToken.js +1 -1
  75. package/funcs/applePayLinkToken.js.map +1 -1
  76. package/funcs/applePayRegisterMerchantDomains.d.ts +3 -2
  77. package/funcs/applePayRegisterMerchantDomains.d.ts.map +1 -1
  78. package/funcs/applePayRegisterMerchantDomains.js +1 -1
  79. package/funcs/applePayRegisterMerchantDomains.js.map +1 -1
  80. package/funcs/applePayUpdateMerchantDomains.d.ts +3 -2
  81. package/funcs/applePayUpdateMerchantDomains.d.ts.map +1 -1
  82. package/funcs/applePayUpdateMerchantDomains.js +1 -1
  83. package/funcs/applePayUpdateMerchantDomains.js.map +1 -1
  84. package/funcs/authenticationCreateAccessToken.d.ts +3 -2
  85. package/funcs/authenticationCreateAccessToken.d.ts.map +1 -1
  86. package/funcs/authenticationCreateAccessToken.js +1 -1
  87. package/funcs/authenticationCreateAccessToken.js.map +1 -1
  88. package/funcs/authenticationRevokeAccessToken.d.ts +3 -2
  89. package/funcs/authenticationRevokeAccessToken.d.ts.map +1 -1
  90. package/funcs/authenticationRevokeAccessToken.js +1 -1
  91. package/funcs/authenticationRevokeAccessToken.js.map +1 -1
  92. package/funcs/avatarsGet.d.ts +3 -2
  93. package/funcs/avatarsGet.d.ts.map +1 -1
  94. package/funcs/avatarsGet.js +1 -1
  95. package/funcs/avatarsGet.js.map +1 -1
  96. package/funcs/bankAccountsCompleteMicroDeposits.d.ts +3 -2
  97. package/funcs/bankAccountsCompleteMicroDeposits.d.ts.map +1 -1
  98. package/funcs/bankAccountsCompleteMicroDeposits.js +1 -1
  99. package/funcs/bankAccountsCompleteMicroDeposits.js.map +1 -1
  100. package/funcs/bankAccountsCompleteVerification.d.ts +3 -2
  101. package/funcs/bankAccountsCompleteVerification.d.ts.map +1 -1
  102. package/funcs/bankAccountsCompleteVerification.js +1 -1
  103. package/funcs/bankAccountsCompleteVerification.js.map +1 -1
  104. package/funcs/bankAccountsDisable.d.ts +3 -2
  105. package/funcs/bankAccountsDisable.d.ts.map +1 -1
  106. package/funcs/bankAccountsDisable.js +1 -1
  107. package/funcs/bankAccountsDisable.js.map +1 -1
  108. package/funcs/bankAccountsGet.d.ts +3 -2
  109. package/funcs/bankAccountsGet.d.ts.map +1 -1
  110. package/funcs/bankAccountsGet.js +1 -1
  111. package/funcs/bankAccountsGet.js.map +1 -1
  112. package/funcs/bankAccountsGetVerification.d.ts +3 -2
  113. package/funcs/bankAccountsGetVerification.d.ts.map +1 -1
  114. package/funcs/bankAccountsGetVerification.js +1 -1
  115. package/funcs/bankAccountsGetVerification.js.map +1 -1
  116. package/funcs/bankAccountsInitiateMicroDeposits.d.ts +3 -2
  117. package/funcs/bankAccountsInitiateMicroDeposits.d.ts.map +1 -1
  118. package/funcs/bankAccountsInitiateMicroDeposits.js +1 -1
  119. package/funcs/bankAccountsInitiateMicroDeposits.js.map +1 -1
  120. package/funcs/bankAccountsInitiateVerification.d.ts +3 -2
  121. package/funcs/bankAccountsInitiateVerification.d.ts.map +1 -1
  122. package/funcs/bankAccountsInitiateVerification.js +1 -1
  123. package/funcs/bankAccountsInitiateVerification.js.map +1 -1
  124. package/funcs/bankAccountsLink.d.ts +3 -2
  125. package/funcs/bankAccountsLink.d.ts.map +1 -1
  126. package/funcs/bankAccountsLink.js +1 -1
  127. package/funcs/bankAccountsLink.js.map +1 -1
  128. package/funcs/bankAccountsList.d.ts +3 -2
  129. package/funcs/bankAccountsList.d.ts.map +1 -1
  130. package/funcs/bankAccountsList.js +1 -1
  131. package/funcs/bankAccountsList.js.map +1 -1
  132. package/funcs/brandingCreate.d.ts +3 -2
  133. package/funcs/brandingCreate.d.ts.map +1 -1
  134. package/funcs/brandingCreate.js +1 -1
  135. package/funcs/brandingCreate.js.map +1 -1
  136. package/funcs/brandingGet.d.ts +3 -2
  137. package/funcs/brandingGet.d.ts.map +1 -1
  138. package/funcs/brandingGet.js +1 -1
  139. package/funcs/brandingGet.js.map +1 -1
  140. package/funcs/brandingUpdate.d.ts +3 -2
  141. package/funcs/brandingUpdate.d.ts.map +1 -1
  142. package/funcs/brandingUpdate.js +1 -1
  143. package/funcs/brandingUpdate.js.map +1 -1
  144. package/funcs/brandingUpsert.d.ts +3 -2
  145. package/funcs/brandingUpsert.d.ts.map +1 -1
  146. package/funcs/brandingUpsert.js +1 -1
  147. package/funcs/brandingUpsert.js.map +1 -1
  148. package/funcs/capabilitiesDisable.d.ts +3 -2
  149. package/funcs/capabilitiesDisable.d.ts.map +1 -1
  150. package/funcs/capabilitiesDisable.js +1 -1
  151. package/funcs/capabilitiesDisable.js.map +1 -1
  152. package/funcs/capabilitiesGet.d.ts +3 -2
  153. package/funcs/capabilitiesGet.d.ts.map +1 -1
  154. package/funcs/capabilitiesGet.js +1 -1
  155. package/funcs/capabilitiesGet.js.map +1 -1
  156. package/funcs/capabilitiesList.d.ts +3 -2
  157. package/funcs/capabilitiesList.d.ts.map +1 -1
  158. package/funcs/capabilitiesList.js +1 -1
  159. package/funcs/capabilitiesList.js.map +1 -1
  160. package/funcs/capabilitiesRequest.d.ts +3 -2
  161. package/funcs/capabilitiesRequest.d.ts.map +1 -1
  162. package/funcs/capabilitiesRequest.js +1 -1
  163. package/funcs/capabilitiesRequest.js.map +1 -1
  164. package/funcs/cardIssuingGet.d.ts +3 -2
  165. package/funcs/cardIssuingGet.d.ts.map +1 -1
  166. package/funcs/cardIssuingGet.js +1 -1
  167. package/funcs/cardIssuingGet.js.map +1 -1
  168. package/funcs/cardIssuingGetFull.d.ts +3 -2
  169. package/funcs/cardIssuingGetFull.d.ts.map +1 -1
  170. package/funcs/cardIssuingGetFull.js +1 -1
  171. package/funcs/cardIssuingGetFull.js.map +1 -1
  172. package/funcs/cardIssuingList.d.ts +3 -2
  173. package/funcs/cardIssuingList.d.ts.map +1 -1
  174. package/funcs/cardIssuingList.js +1 -1
  175. package/funcs/cardIssuingList.js.map +1 -1
  176. package/funcs/cardIssuingRequest.d.ts +3 -2
  177. package/funcs/cardIssuingRequest.d.ts.map +1 -1
  178. package/funcs/cardIssuingRequest.js +1 -1
  179. package/funcs/cardIssuingRequest.js.map +1 -1
  180. package/funcs/cardIssuingUpdate.d.ts +3 -2
  181. package/funcs/cardIssuingUpdate.d.ts.map +1 -1
  182. package/funcs/cardIssuingUpdate.js +1 -1
  183. package/funcs/cardIssuingUpdate.js.map +1 -1
  184. package/funcs/cardsDisable.d.ts +3 -2
  185. package/funcs/cardsDisable.d.ts.map +1 -1
  186. package/funcs/cardsDisable.js +1 -1
  187. package/funcs/cardsDisable.js.map +1 -1
  188. package/funcs/cardsGet.d.ts +3 -2
  189. package/funcs/cardsGet.d.ts.map +1 -1
  190. package/funcs/cardsGet.js +1 -1
  191. package/funcs/cardsGet.js.map +1 -1
  192. package/funcs/cardsLink.d.ts +3 -2
  193. package/funcs/cardsLink.d.ts.map +1 -1
  194. package/funcs/cardsLink.js +1 -1
  195. package/funcs/cardsLink.js.map +1 -1
  196. package/funcs/cardsList.d.ts +3 -2
  197. package/funcs/cardsList.d.ts.map +1 -1
  198. package/funcs/cardsList.js +1 -1
  199. package/funcs/cardsList.js.map +1 -1
  200. package/funcs/cardsUpdate.d.ts +3 -2
  201. package/funcs/cardsUpdate.d.ts.map +1 -1
  202. package/funcs/cardsUpdate.js +1 -1
  203. package/funcs/cardsUpdate.js.map +1 -1
  204. package/funcs/disputesAccept.d.ts +3 -2
  205. package/funcs/disputesAccept.d.ts.map +1 -1
  206. package/funcs/disputesAccept.js +1 -1
  207. package/funcs/disputesAccept.js.map +1 -1
  208. package/funcs/disputesDeleteEvidence.d.ts +3 -2
  209. package/funcs/disputesDeleteEvidence.d.ts.map +1 -1
  210. package/funcs/disputesDeleteEvidence.js +1 -1
  211. package/funcs/disputesDeleteEvidence.js.map +1 -1
  212. package/funcs/disputesGet.d.ts +3 -2
  213. package/funcs/disputesGet.d.ts.map +1 -1
  214. package/funcs/disputesGet.js +1 -1
  215. package/funcs/disputesGet.js.map +1 -1
  216. package/funcs/disputesGetEvidence.d.ts +3 -2
  217. package/funcs/disputesGetEvidence.d.ts.map +1 -1
  218. package/funcs/disputesGetEvidence.js +1 -1
  219. package/funcs/disputesGetEvidence.js.map +1 -1
  220. package/funcs/disputesGetEvidenceData.d.ts +3 -2
  221. package/funcs/disputesGetEvidenceData.d.ts.map +1 -1
  222. package/funcs/disputesGetEvidenceData.js +1 -1
  223. package/funcs/disputesGetEvidenceData.js.map +1 -1
  224. package/funcs/disputesList.d.ts +3 -2
  225. package/funcs/disputesList.d.ts.map +1 -1
  226. package/funcs/disputesList.js +1 -1
  227. package/funcs/disputesList.js.map +1 -1
  228. package/funcs/disputesListEvidence.d.ts +3 -2
  229. package/funcs/disputesListEvidence.d.ts.map +1 -1
  230. package/funcs/disputesListEvidence.js +1 -1
  231. package/funcs/disputesListEvidence.js.map +1 -1
  232. package/funcs/disputesSubmitEvidence.d.ts +3 -2
  233. package/funcs/disputesSubmitEvidence.d.ts.map +1 -1
  234. package/funcs/disputesSubmitEvidence.js +1 -1
  235. package/funcs/disputesSubmitEvidence.js.map +1 -1
  236. package/funcs/disputesUpdateEvidence.d.ts +3 -2
  237. package/funcs/disputesUpdateEvidence.d.ts.map +1 -1
  238. package/funcs/disputesUpdateEvidence.js +1 -1
  239. package/funcs/disputesUpdateEvidence.js.map +1 -1
  240. package/funcs/disputesUploadEvidenceFile.d.ts +3 -2
  241. package/funcs/disputesUploadEvidenceFile.d.ts.map +1 -1
  242. package/funcs/disputesUploadEvidenceFile.js +1 -1
  243. package/funcs/disputesUploadEvidenceFile.js.map +1 -1
  244. package/funcs/disputesUploadEvidenceText.d.ts +3 -2
  245. package/funcs/disputesUploadEvidenceText.d.ts.map +1 -1
  246. package/funcs/disputesUploadEvidenceText.js +1 -1
  247. package/funcs/disputesUploadEvidenceText.js.map +1 -1
  248. package/funcs/endToEndEncryptionGenerateKey.d.ts +3 -2
  249. package/funcs/endToEndEncryptionGenerateKey.d.ts.map +1 -1
  250. package/funcs/endToEndEncryptionGenerateKey.js +1 -1
  251. package/funcs/endToEndEncryptionGenerateKey.js.map +1 -1
  252. package/funcs/endToEndEncryptionTestEncryptedToken.d.ts +3 -2
  253. package/funcs/endToEndEncryptionTestEncryptedToken.d.ts.map +1 -1
  254. package/funcs/endToEndEncryptionTestEncryptedToken.js +1 -1
  255. package/funcs/endToEndEncryptionTestEncryptedToken.js.map +1 -1
  256. package/funcs/enrichedAddressGet.d.ts +3 -2
  257. package/funcs/enrichedAddressGet.d.ts.map +1 -1
  258. package/funcs/enrichedAddressGet.js +1 -1
  259. package/funcs/enrichedAddressGet.js.map +1 -1
  260. package/funcs/enrichedProfileGet.d.ts +3 -2
  261. package/funcs/enrichedProfileGet.d.ts.map +1 -1
  262. package/funcs/enrichedProfileGet.js +1 -1
  263. package/funcs/enrichedProfileGet.js.map +1 -1
  264. package/funcs/feePlansCreateFeePlanAgreements.d.ts +3 -2
  265. package/funcs/feePlansCreateFeePlanAgreements.d.ts.map +1 -1
  266. package/funcs/feePlansCreateFeePlanAgreements.js +1 -1
  267. package/funcs/feePlansCreateFeePlanAgreements.js.map +1 -1
  268. package/funcs/feePlansListFeePlanAgreements.d.ts +3 -2
  269. package/funcs/feePlansListFeePlanAgreements.d.ts.map +1 -1
  270. package/funcs/feePlansListFeePlanAgreements.js +1 -1
  271. package/funcs/feePlansListFeePlanAgreements.js.map +1 -1
  272. package/funcs/feePlansListFeePlans.d.ts +3 -2
  273. package/funcs/feePlansListFeePlans.d.ts.map +1 -1
  274. package/funcs/feePlansListFeePlans.js +1 -1
  275. package/funcs/feePlansListFeePlans.js.map +1 -1
  276. package/funcs/feePlansListFeesFetch.d.ts +3 -2
  277. package/funcs/feePlansListFeesFetch.d.ts.map +1 -1
  278. package/funcs/feePlansListFeesFetch.js +1 -1
  279. package/funcs/feePlansListFeesFetch.js.map +1 -1
  280. package/funcs/feePlansListPartnerPricing.d.ts +3 -2
  281. package/funcs/feePlansListPartnerPricing.d.ts.map +1 -1
  282. package/funcs/feePlansListPartnerPricing.js +1 -1
  283. package/funcs/feePlansListPartnerPricing.js.map +1 -1
  284. package/funcs/feePlansListPartnerPricingAgreements.d.ts +3 -2
  285. package/funcs/feePlansListPartnerPricingAgreements.d.ts.map +1 -1
  286. package/funcs/feePlansListPartnerPricingAgreements.js +1 -1
  287. package/funcs/feePlansListPartnerPricingAgreements.js.map +1 -1
  288. package/funcs/feePlansRetrieveFees.d.ts +3 -2
  289. package/funcs/feePlansRetrieveFees.d.ts.map +1 -1
  290. package/funcs/feePlansRetrieveFees.js +1 -1
  291. package/funcs/feePlansRetrieveFees.js.map +1 -1
  292. package/funcs/filesGet.d.ts +3 -2
  293. package/funcs/filesGet.d.ts.map +1 -1
  294. package/funcs/filesGet.js +1 -1
  295. package/funcs/filesGet.js.map +1 -1
  296. package/funcs/filesList.d.ts +3 -2
  297. package/funcs/filesList.d.ts.map +1 -1
  298. package/funcs/filesList.js +1 -1
  299. package/funcs/filesList.js.map +1 -1
  300. package/funcs/filesUpload.d.ts +3 -2
  301. package/funcs/filesUpload.d.ts.map +1 -1
  302. package/funcs/filesUpload.js +1 -1
  303. package/funcs/filesUpload.js.map +1 -1
  304. package/funcs/industriesList.d.ts +3 -2
  305. package/funcs/industriesList.d.ts.map +1 -1
  306. package/funcs/industriesList.js +1 -1
  307. package/funcs/industriesList.js.map +1 -1
  308. package/funcs/institutionsSearch.d.ts +3 -2
  309. package/funcs/institutionsSearch.d.ts.map +1 -1
  310. package/funcs/institutionsSearch.js +1 -1
  311. package/funcs/institutionsSearch.js.map +1 -1
  312. package/funcs/institutionsSearchInstitutions.d.ts +3 -2
  313. package/funcs/institutionsSearchInstitutions.d.ts.map +1 -1
  314. package/funcs/institutionsSearchInstitutions.js +1 -1
  315. package/funcs/institutionsSearchInstitutions.js.map +1 -1
  316. package/funcs/issuingTransactionsGet.d.ts +3 -2
  317. package/funcs/issuingTransactionsGet.d.ts.map +1 -1
  318. package/funcs/issuingTransactionsGet.js +1 -1
  319. package/funcs/issuingTransactionsGet.js.map +1 -1
  320. package/funcs/issuingTransactionsGetAuthorization.d.ts +3 -2
  321. package/funcs/issuingTransactionsGetAuthorization.d.ts.map +1 -1
  322. package/funcs/issuingTransactionsGetAuthorization.js +1 -1
  323. package/funcs/issuingTransactionsGetAuthorization.js.map +1 -1
  324. package/funcs/issuingTransactionsList.d.ts +3 -2
  325. package/funcs/issuingTransactionsList.d.ts.map +1 -1
  326. package/funcs/issuingTransactionsList.js +1 -1
  327. package/funcs/issuingTransactionsList.js.map +1 -1
  328. package/funcs/issuingTransactionsListAuthorizationEvents.d.ts +3 -2
  329. package/funcs/issuingTransactionsListAuthorizationEvents.d.ts.map +1 -1
  330. package/funcs/issuingTransactionsListAuthorizationEvents.js +1 -1
  331. package/funcs/issuingTransactionsListAuthorizationEvents.js.map +1 -1
  332. package/funcs/issuingTransactionsListAuthorizations.d.ts +3 -2
  333. package/funcs/issuingTransactionsListAuthorizations.d.ts.map +1 -1
  334. package/funcs/issuingTransactionsListAuthorizations.js +1 -1
  335. package/funcs/issuingTransactionsListAuthorizations.js.map +1 -1
  336. package/funcs/onboardingCreateInvite.d.ts +3 -2
  337. package/funcs/onboardingCreateInvite.d.ts.map +1 -1
  338. package/funcs/onboardingCreateInvite.js +1 -1
  339. package/funcs/onboardingCreateInvite.js.map +1 -1
  340. package/funcs/onboardingGetInvite.d.ts +3 -2
  341. package/funcs/onboardingGetInvite.d.ts.map +1 -1
  342. package/funcs/onboardingGetInvite.js +1 -1
  343. package/funcs/onboardingGetInvite.js.map +1 -1
  344. package/funcs/onboardingListInvites.d.ts +3 -2
  345. package/funcs/onboardingListInvites.d.ts.map +1 -1
  346. package/funcs/onboardingListInvites.js +1 -1
  347. package/funcs/onboardingListInvites.js.map +1 -1
  348. package/funcs/onboardingRevokeInvite.d.ts +3 -2
  349. package/funcs/onboardingRevokeInvite.d.ts.map +1 -1
  350. package/funcs/onboardingRevokeInvite.js +1 -1
  351. package/funcs/onboardingRevokeInvite.js.map +1 -1
  352. package/funcs/paymentLinksCreate.d.ts +3 -2
  353. package/funcs/paymentLinksCreate.d.ts.map +1 -1
  354. package/funcs/paymentLinksCreate.js +1 -1
  355. package/funcs/paymentLinksCreate.js.map +1 -1
  356. package/funcs/paymentLinksDisable.d.ts +3 -2
  357. package/funcs/paymentLinksDisable.d.ts.map +1 -1
  358. package/funcs/paymentLinksDisable.js +1 -1
  359. package/funcs/paymentLinksDisable.js.map +1 -1
  360. package/funcs/paymentLinksGet.d.ts +3 -2
  361. package/funcs/paymentLinksGet.d.ts.map +1 -1
  362. package/funcs/paymentLinksGet.js +1 -1
  363. package/funcs/paymentLinksGet.js.map +1 -1
  364. package/funcs/paymentLinksGetQRCode.d.ts +3 -2
  365. package/funcs/paymentLinksGetQRCode.d.ts.map +1 -1
  366. package/funcs/paymentLinksGetQRCode.js +1 -1
  367. package/funcs/paymentLinksGetQRCode.js.map +1 -1
  368. package/funcs/paymentLinksList.d.ts +3 -2
  369. package/funcs/paymentLinksList.d.ts.map +1 -1
  370. package/funcs/paymentLinksList.js +1 -1
  371. package/funcs/paymentLinksList.js.map +1 -1
  372. package/funcs/paymentLinksUpdate.d.ts +3 -2
  373. package/funcs/paymentLinksUpdate.d.ts.map +1 -1
  374. package/funcs/paymentLinksUpdate.js +1 -1
  375. package/funcs/paymentLinksUpdate.js.map +1 -1
  376. package/funcs/paymentMethodsGet.d.ts +3 -2
  377. package/funcs/paymentMethodsGet.d.ts.map +1 -1
  378. package/funcs/paymentMethodsGet.js +1 -1
  379. package/funcs/paymentMethodsGet.js.map +1 -1
  380. package/funcs/paymentMethodsList.d.ts +3 -2
  381. package/funcs/paymentMethodsList.d.ts.map +1 -1
  382. package/funcs/paymentMethodsList.js +1 -1
  383. package/funcs/paymentMethodsList.js.map +1 -1
  384. package/funcs/pingPing.d.ts +3 -2
  385. package/funcs/pingPing.d.ts.map +1 -1
  386. package/funcs/pingPing.js +1 -1
  387. package/funcs/pingPing.js.map +1 -1
  388. package/funcs/receiptsCreate.d.ts +3 -2
  389. package/funcs/receiptsCreate.d.ts.map +1 -1
  390. package/funcs/receiptsCreate.js +1 -1
  391. package/funcs/receiptsCreate.js.map +1 -1
  392. package/funcs/receiptsList.d.ts +3 -2
  393. package/funcs/receiptsList.d.ts.map +1 -1
  394. package/funcs/receiptsList.js +1 -1
  395. package/funcs/receiptsList.js.map +1 -1
  396. package/funcs/representativesCreate.d.ts +3 -2
  397. package/funcs/representativesCreate.d.ts.map +1 -1
  398. package/funcs/representativesCreate.js +1 -1
  399. package/funcs/representativesCreate.js.map +1 -1
  400. package/funcs/representativesDelete.d.ts +3 -2
  401. package/funcs/representativesDelete.d.ts.map +1 -1
  402. package/funcs/representativesDelete.js +1 -1
  403. package/funcs/representativesDelete.js.map +1 -1
  404. package/funcs/representativesGet.d.ts +3 -2
  405. package/funcs/representativesGet.d.ts.map +1 -1
  406. package/funcs/representativesGet.js +1 -1
  407. package/funcs/representativesGet.js.map +1 -1
  408. package/funcs/representativesList.d.ts +3 -2
  409. package/funcs/representativesList.d.ts.map +1 -1
  410. package/funcs/representativesList.js +1 -1
  411. package/funcs/representativesList.js.map +1 -1
  412. package/funcs/representativesUpdate.d.ts +3 -2
  413. package/funcs/representativesUpdate.d.ts.map +1 -1
  414. package/funcs/representativesUpdate.js +1 -1
  415. package/funcs/representativesUpdate.js.map +1 -1
  416. package/funcs/schedulingCancel.d.ts +3 -2
  417. package/funcs/schedulingCancel.d.ts.map +1 -1
  418. package/funcs/schedulingCancel.js +1 -1
  419. package/funcs/schedulingCancel.js.map +1 -1
  420. package/funcs/schedulingCreate.d.ts +3 -2
  421. package/funcs/schedulingCreate.d.ts.map +1 -1
  422. package/funcs/schedulingCreate.js +1 -1
  423. package/funcs/schedulingCreate.js.map +1 -1
  424. package/funcs/schedulingGet.d.ts +3 -2
  425. package/funcs/schedulingGet.d.ts.map +1 -1
  426. package/funcs/schedulingGet.js +1 -1
  427. package/funcs/schedulingGet.js.map +1 -1
  428. package/funcs/schedulingGetOccurrance.d.ts +3 -2
  429. package/funcs/schedulingGetOccurrance.d.ts.map +1 -1
  430. package/funcs/schedulingGetOccurrance.js +1 -1
  431. package/funcs/schedulingGetOccurrance.js.map +1 -1
  432. package/funcs/schedulingList.d.ts +3 -2
  433. package/funcs/schedulingList.d.ts.map +1 -1
  434. package/funcs/schedulingList.js +1 -1
  435. package/funcs/schedulingList.js.map +1 -1
  436. package/funcs/schedulingUpdate.d.ts +3 -2
  437. package/funcs/schedulingUpdate.d.ts.map +1 -1
  438. package/funcs/schedulingUpdate.js +1 -1
  439. package/funcs/schedulingUpdate.js.map +1 -1
  440. package/funcs/sweepsCreateConfig.d.ts +3 -2
  441. package/funcs/sweepsCreateConfig.d.ts.map +1 -1
  442. package/funcs/sweepsCreateConfig.js +1 -1
  443. package/funcs/sweepsCreateConfig.js.map +1 -1
  444. package/funcs/sweepsGet.d.ts +3 -2
  445. package/funcs/sweepsGet.d.ts.map +1 -1
  446. package/funcs/sweepsGet.js +1 -1
  447. package/funcs/sweepsGet.js.map +1 -1
  448. package/funcs/sweepsGetConfig.d.ts +3 -2
  449. package/funcs/sweepsGetConfig.d.ts.map +1 -1
  450. package/funcs/sweepsGetConfig.js +1 -1
  451. package/funcs/sweepsGetConfig.js.map +1 -1
  452. package/funcs/sweepsList.d.ts +3 -2
  453. package/funcs/sweepsList.d.ts.map +1 -1
  454. package/funcs/sweepsList.js +1 -1
  455. package/funcs/sweepsList.js.map +1 -1
  456. package/funcs/sweepsListConfigs.d.ts +3 -2
  457. package/funcs/sweepsListConfigs.d.ts.map +1 -1
  458. package/funcs/sweepsListConfigs.js +1 -1
  459. package/funcs/sweepsListConfigs.js.map +1 -1
  460. package/funcs/sweepsUpdateConfig.d.ts +3 -2
  461. package/funcs/sweepsUpdateConfig.d.ts.map +1 -1
  462. package/funcs/sweepsUpdateConfig.js +1 -1
  463. package/funcs/sweepsUpdateConfig.js.map +1 -1
  464. package/funcs/terminalApplicationsCreate.d.ts +3 -2
  465. package/funcs/terminalApplicationsCreate.d.ts.map +1 -1
  466. package/funcs/terminalApplicationsCreate.js +1 -1
  467. package/funcs/terminalApplicationsCreate.js.map +1 -1
  468. package/funcs/terminalApplicationsDelete.d.ts +3 -2
  469. package/funcs/terminalApplicationsDelete.d.ts.map +1 -1
  470. package/funcs/terminalApplicationsDelete.js +1 -1
  471. package/funcs/terminalApplicationsDelete.js.map +1 -1
  472. package/funcs/terminalApplicationsGet.d.ts +3 -2
  473. package/funcs/terminalApplicationsGet.d.ts.map +1 -1
  474. package/funcs/terminalApplicationsGet.js +1 -1
  475. package/funcs/terminalApplicationsGet.js.map +1 -1
  476. package/funcs/terminalApplicationsList.d.ts +3 -2
  477. package/funcs/terminalApplicationsList.d.ts.map +1 -1
  478. package/funcs/terminalApplicationsList.js +1 -1
  479. package/funcs/terminalApplicationsList.js.map +1 -1
  480. package/funcs/transfersCreate.d.ts +3 -2
  481. package/funcs/transfersCreate.d.ts.map +1 -1
  482. package/funcs/transfersCreate.js +1 -1
  483. package/funcs/transfersCreate.js.map +1 -1
  484. package/funcs/transfersCreateCancellation.d.ts +3 -2
  485. package/funcs/transfersCreateCancellation.d.ts.map +1 -1
  486. package/funcs/transfersCreateCancellation.js +1 -1
  487. package/funcs/transfersCreateCancellation.js.map +1 -1
  488. package/funcs/transfersCreateReversal.d.ts +3 -2
  489. package/funcs/transfersCreateReversal.d.ts.map +1 -1
  490. package/funcs/transfersCreateReversal.js +1 -1
  491. package/funcs/transfersCreateReversal.js.map +1 -1
  492. package/funcs/transfersGenerateOptions.d.ts +3 -2
  493. package/funcs/transfersGenerateOptions.d.ts.map +1 -1
  494. package/funcs/transfersGenerateOptions.js +1 -1
  495. package/funcs/transfersGenerateOptions.js.map +1 -1
  496. package/funcs/transfersGet.d.ts +3 -2
  497. package/funcs/transfersGet.d.ts.map +1 -1
  498. package/funcs/transfersGet.js +1 -1
  499. package/funcs/transfersGet.js.map +1 -1
  500. package/funcs/transfersGetCancellation.d.ts +3 -2
  501. package/funcs/transfersGetCancellation.d.ts.map +1 -1
  502. package/funcs/transfersGetCancellation.js +1 -1
  503. package/funcs/transfersGetCancellation.js.map +1 -1
  504. package/funcs/transfersGetRefund.d.ts +3 -2
  505. package/funcs/transfersGetRefund.d.ts.map +1 -1
  506. package/funcs/transfersGetRefund.js +1 -1
  507. package/funcs/transfersGetRefund.js.map +1 -1
  508. package/funcs/transfersInitiateRefund.d.ts +3 -2
  509. package/funcs/transfersInitiateRefund.d.ts.map +1 -1
  510. package/funcs/transfersInitiateRefund.js +1 -1
  511. package/funcs/transfersInitiateRefund.js.map +1 -1
  512. package/funcs/transfersList.d.ts +3 -2
  513. package/funcs/transfersList.d.ts.map +1 -1
  514. package/funcs/transfersList.js +2 -1
  515. package/funcs/transfersList.js.map +1 -1
  516. package/funcs/transfersListRefunds.d.ts +3 -2
  517. package/funcs/transfersListRefunds.d.ts.map +1 -1
  518. package/funcs/transfersListRefunds.js +1 -1
  519. package/funcs/transfersListRefunds.js.map +1 -1
  520. package/funcs/transfersUpdate.d.ts +3 -2
  521. package/funcs/transfersUpdate.d.ts.map +1 -1
  522. package/funcs/transfersUpdate.js +1 -1
  523. package/funcs/transfersUpdate.js.map +1 -1
  524. package/funcs/underwritingGet.d.ts +3 -2
  525. package/funcs/underwritingGet.d.ts.map +1 -1
  526. package/funcs/underwritingGet.js +1 -1
  527. package/funcs/underwritingGet.js.map +1 -1
  528. package/funcs/underwritingUpsert.d.ts +3 -2
  529. package/funcs/underwritingUpsert.d.ts.map +1 -1
  530. package/funcs/underwritingUpsert.js +1 -1
  531. package/funcs/underwritingUpsert.js.map +1 -1
  532. package/funcs/walletTransactionsGet.d.ts +3 -2
  533. package/funcs/walletTransactionsGet.d.ts.map +1 -1
  534. package/funcs/walletTransactionsGet.js +1 -1
  535. package/funcs/walletTransactionsGet.js.map +1 -1
  536. package/funcs/walletTransactionsList.d.ts +3 -2
  537. package/funcs/walletTransactionsList.d.ts.map +1 -1
  538. package/funcs/walletTransactionsList.js +1 -1
  539. package/funcs/walletTransactionsList.js.map +1 -1
  540. package/funcs/walletsGet.d.ts +3 -2
  541. package/funcs/walletsGet.d.ts.map +1 -1
  542. package/funcs/walletsGet.js +1 -1
  543. package/funcs/walletsGet.js.map +1 -1
  544. package/funcs/walletsList.d.ts +3 -2
  545. package/funcs/walletsList.d.ts.map +1 -1
  546. package/funcs/walletsList.js +1 -1
  547. package/funcs/walletsList.js.map +1 -1
  548. package/jsr.json +1 -1
  549. package/lib/config.d.ts +3 -3
  550. package/lib/config.js +3 -3
  551. package/lib/matchers.d.ts +3 -10
  552. package/lib/matchers.d.ts.map +1 -1
  553. package/lib/matchers.js +33 -31
  554. package/lib/matchers.js.map +1 -1
  555. package/mcp-server/mcp-server.js +1 -1
  556. package/mcp-server/server.js +1 -1
  557. package/models/components/bankaccountexception.d.ts +4 -4
  558. package/models/components/bankaccountexception.d.ts.map +1 -1
  559. package/models/components/bankaccountexception.js +4 -4
  560. package/models/components/bankaccountexception.js.map +1 -1
  561. package/models/components/transfer.d.ts +2 -0
  562. package/models/components/transfer.d.ts.map +1 -1
  563. package/models/components/transfer.js +2 -0
  564. package/models/components/transfer.js.map +1 -1
  565. package/models/errors/accountterminalapplicationerror.d.ts +7 -2
  566. package/models/errors/accountterminalapplicationerror.d.ts.map +1 -1
  567. package/models/errors/accountterminalapplicationerror.js +12 -4
  568. package/models/errors/accountterminalapplicationerror.js.map +1 -1
  569. package/models/errors/addcapabilitieserror.d.ts +7 -2
  570. package/models/errors/addcapabilitieserror.d.ts.map +1 -1
  571. package/models/errors/addcapabilitieserror.js +12 -4
  572. package/models/errors/addcapabilitieserror.js.map +1 -1
  573. package/models/errors/apierror.d.ts +8 -18
  574. package/models/errors/apierror.d.ts.map +1 -1
  575. package/models/errors/apierror.js +17 -10
  576. package/models/errors/apierror.js.map +1 -1
  577. package/models/errors/assigncountrieserror.d.ts +7 -2
  578. package/models/errors/assigncountrieserror.d.ts.map +1 -1
  579. package/models/errors/assigncountrieserror.js +12 -4
  580. package/models/errors/assigncountrieserror.js.map +1 -1
  581. package/models/errors/authtokenrequesterror.d.ts +7 -2
  582. package/models/errors/authtokenrequesterror.d.ts.map +1 -1
  583. package/models/errors/authtokenrequesterror.js +12 -4
  584. package/models/errors/authtokenrequesterror.js.map +1 -1
  585. package/models/errors/bankaccountvalidationerror.d.ts +7 -2
  586. package/models/errors/bankaccountvalidationerror.d.ts.map +1 -1
  587. package/models/errors/bankaccountvalidationerror.js +12 -4
  588. package/models/errors/bankaccountvalidationerror.js.map +1 -1
  589. package/models/errors/brandvalidationerror.d.ts +7 -2
  590. package/models/errors/brandvalidationerror.d.ts.map +1 -1
  591. package/models/errors/brandvalidationerror.js +12 -4
  592. package/models/errors/brandvalidationerror.js.map +1 -1
  593. package/models/errors/cardacquiringrefund.d.ts +7 -2
  594. package/models/errors/cardacquiringrefund.d.ts.map +1 -1
  595. package/models/errors/cardacquiringrefund.js +12 -4
  596. package/models/errors/cardacquiringrefund.js.map +1 -1
  597. package/models/errors/createaccount.d.ts +7 -2
  598. package/models/errors/createaccount.d.ts.map +1 -1
  599. package/models/errors/createaccount.js +12 -4
  600. package/models/errors/createaccount.js.map +1 -1
  601. package/models/errors/createpaymentlinkerror.d.ts +7 -2
  602. package/models/errors/createpaymentlinkerror.d.ts.map +1 -1
  603. package/models/errors/createpaymentlinkerror.js +12 -4
  604. package/models/errors/createpaymentlinkerror.js.map +1 -1
  605. package/models/errors/createsweepconfigerror.d.ts +7 -2
  606. package/models/errors/createsweepconfigerror.d.ts.map +1 -1
  607. package/models/errors/createsweepconfigerror.js +12 -4
  608. package/models/errors/createsweepconfigerror.js.map +1 -1
  609. package/models/errors/feeplanagreementerror.d.ts +7 -2
  610. package/models/errors/feeplanagreementerror.d.ts.map +1 -1
  611. package/models/errors/feeplanagreementerror.js +12 -4
  612. package/models/errors/feeplanagreementerror.js.map +1 -1
  613. package/models/errors/fileuploadvalidationerror.d.ts +7 -2
  614. package/models/errors/fileuploadvalidationerror.d.ts.map +1 -1
  615. package/models/errors/fileuploadvalidationerror.js +12 -4
  616. package/models/errors/fileuploadvalidationerror.js.map +1 -1
  617. package/models/errors/filevalidationerror.d.ts +7 -2
  618. package/models/errors/filevalidationerror.d.ts.map +1 -1
  619. package/models/errors/filevalidationerror.js +12 -4
  620. package/models/errors/filevalidationerror.js.map +1 -1
  621. package/models/errors/genericerror.d.ts +7 -2
  622. package/models/errors/genericerror.d.ts.map +1 -1
  623. package/models/errors/genericerror.js +12 -4
  624. package/models/errors/genericerror.js.map +1 -1
  625. package/models/errors/index.d.ts +1 -0
  626. package/models/errors/index.d.ts.map +1 -1
  627. package/models/errors/index.js +1 -0
  628. package/models/errors/index.js.map +1 -1
  629. package/models/errors/linkapplepayerror.d.ts +7 -2
  630. package/models/errors/linkapplepayerror.d.ts.map +1 -1
  631. package/models/errors/linkapplepayerror.js +12 -4
  632. package/models/errors/linkapplepayerror.js.map +1 -1
  633. package/models/errors/linkcarderror.d.ts +7 -2
  634. package/models/errors/linkcarderror.d.ts.map +1 -1
  635. package/models/errors/linkcarderror.js +12 -4
  636. package/models/errors/linkcarderror.js.map +1 -1
  637. package/models/errors/microdepositvalidationerror.d.ts +7 -2
  638. package/models/errors/microdepositvalidationerror.d.ts.map +1 -1
  639. package/models/errors/microdepositvalidationerror.js +12 -4
  640. package/models/errors/microdepositvalidationerror.js.map +1 -1
  641. package/models/errors/mooverror.d.ts +19 -0
  642. package/models/errors/mooverror.d.ts.map +1 -0
  643. package/models/errors/mooverror.js +20 -0
  644. package/models/errors/mooverror.js.map +1 -0
  645. package/models/errors/onboardinginviteerror.d.ts +7 -2
  646. package/models/errors/onboardinginviteerror.d.ts.map +1 -1
  647. package/models/errors/onboardinginviteerror.js +12 -4
  648. package/models/errors/onboardinginviteerror.js.map +1 -1
  649. package/models/errors/patchsweepconfigerror.d.ts +7 -2
  650. package/models/errors/patchsweepconfigerror.d.ts.map +1 -1
  651. package/models/errors/patchsweepconfigerror.js +12 -4
  652. package/models/errors/patchsweepconfigerror.js.map +1 -1
  653. package/models/errors/refundvalidationerror.d.ts +7 -2
  654. package/models/errors/refundvalidationerror.d.ts.map +1 -1
  655. package/models/errors/refundvalidationerror.js +12 -4
  656. package/models/errors/refundvalidationerror.js.map +1 -1
  657. package/models/errors/representativevalidationerror.d.ts +7 -2
  658. package/models/errors/representativevalidationerror.d.ts.map +1 -1
  659. package/models/errors/representativevalidationerror.js +12 -4
  660. package/models/errors/representativevalidationerror.js.map +1 -1
  661. package/models/errors/requestcarderror.d.ts +7 -2
  662. package/models/errors/requestcarderror.d.ts.map +1 -1
  663. package/models/errors/requestcarderror.js +12 -4
  664. package/models/errors/requestcarderror.js.map +1 -1
  665. package/models/errors/responsevalidationerror.d.ts +26 -0
  666. package/models/errors/responsevalidationerror.d.ts.map +1 -0
  667. package/models/errors/responsevalidationerror.js +66 -0
  668. package/models/errors/responsevalidationerror.js.map +1 -0
  669. package/models/errors/reversalvalidationerror.d.ts +7 -2
  670. package/models/errors/reversalvalidationerror.d.ts.map +1 -1
  671. package/models/errors/reversalvalidationerror.js +12 -4
  672. package/models/errors/reversalvalidationerror.js.map +1 -1
  673. package/models/errors/revoketokenrequesterror.d.ts +7 -2
  674. package/models/errors/revoketokenrequesterror.d.ts.map +1 -1
  675. package/models/errors/revoketokenrequesterror.js +12 -4
  676. package/models/errors/revoketokenrequesterror.js.map +1 -1
  677. package/models/errors/schedulevalidationerror.d.ts +7 -2
  678. package/models/errors/schedulevalidationerror.d.ts.map +1 -1
  679. package/models/errors/schedulevalidationerror.js +12 -4
  680. package/models/errors/schedulevalidationerror.js.map +1 -1
  681. package/models/errors/sdkvalidationerror.d.ts +1 -0
  682. package/models/errors/sdkvalidationerror.d.ts.map +1 -1
  683. package/models/errors/sdkvalidationerror.js +14 -0
  684. package/models/errors/sdkvalidationerror.js.map +1 -1
  685. package/models/errors/terminalapplicationerror.d.ts +7 -2
  686. package/models/errors/terminalapplicationerror.d.ts.map +1 -1
  687. package/models/errors/terminalapplicationerror.js +12 -4
  688. package/models/errors/terminalapplicationerror.js.map +1 -1
  689. package/models/errors/transfer.d.ts +10 -2
  690. package/models/errors/transfer.d.ts.map +1 -1
  691. package/models/errors/transfer.js +16 -4
  692. package/models/errors/transfer.js.map +1 -1
  693. package/models/errors/transferoptionsvalidationerror.d.ts +7 -2
  694. package/models/errors/transferoptionsvalidationerror.d.ts.map +1 -1
  695. package/models/errors/transferoptionsvalidationerror.js +12 -4
  696. package/models/errors/transferoptionsvalidationerror.js.map +1 -1
  697. package/models/errors/transfervalidationerror.d.ts +7 -2
  698. package/models/errors/transfervalidationerror.d.ts.map +1 -1
  699. package/models/errors/transfervalidationerror.js +12 -4
  700. package/models/errors/transfervalidationerror.js.map +1 -1
  701. package/models/errors/updateaccount.d.ts +7 -2
  702. package/models/errors/updateaccount.d.ts.map +1 -1
  703. package/models/errors/updateaccount.js +12 -4
  704. package/models/errors/updateaccount.js.map +1 -1
  705. package/models/errors/updatecarderror.d.ts +7 -2
  706. package/models/errors/updatecarderror.d.ts.map +1 -1
  707. package/models/errors/updatecarderror.js +12 -4
  708. package/models/errors/updatecarderror.js.map +1 -1
  709. package/models/errors/updateissuedcarderror.d.ts +7 -2
  710. package/models/errors/updateissuedcarderror.d.ts.map +1 -1
  711. package/models/errors/updateissuedcarderror.js +12 -4
  712. package/models/errors/updateissuedcarderror.js.map +1 -1
  713. package/models/errors/updatepaymentlinkerror.d.ts +7 -2
  714. package/models/errors/updatepaymentlinkerror.d.ts.map +1 -1
  715. package/models/errors/updatepaymentlinkerror.js +12 -4
  716. package/models/errors/updatepaymentlinkerror.js.map +1 -1
  717. package/models/errors/updateunderwritingerror.d.ts +7 -2
  718. package/models/errors/updateunderwritingerror.d.ts.map +1 -1
  719. package/models/errors/updateunderwritingerror.js +12 -4
  720. package/models/errors/updateunderwritingerror.js.map +1 -1
  721. package/models/operations/listtransfers.d.ts +5 -0
  722. package/models/operations/listtransfers.d.ts.map +1 -1
  723. package/models/operations/listtransfers.js +2 -0
  724. package/models/operations/listtransfers.js.map +1 -1
  725. package/package.json +1 -1
  726. package/src/funcs/accountTerminalApplicationsGet.ts +21 -17
  727. package/src/funcs/accountTerminalApplicationsGetConfiguration.ts +21 -17
  728. package/src/funcs/accountTerminalApplicationsLink.ts +21 -17
  729. package/src/funcs/accountTerminalApplicationsList.ts +21 -17
  730. package/src/funcs/accountsAssignCountries.ts +21 -17
  731. package/src/funcs/accountsCreate.ts +21 -17
  732. package/src/funcs/accountsDisconnect.ts +21 -17
  733. package/src/funcs/accountsGet.ts +21 -17
  734. package/src/funcs/accountsGetCountries.ts +21 -17
  735. package/src/funcs/accountsGetMerchantProcessingAgreement.ts +21 -17
  736. package/src/funcs/accountsGetTermsOfServiceToken.ts +21 -17
  737. package/src/funcs/accountsList.ts +21 -17
  738. package/src/funcs/accountsUpdate.ts +21 -17
  739. package/src/funcs/adjustmentsGet.ts +21 -17
  740. package/src/funcs/adjustmentsList.ts +21 -17
  741. package/src/funcs/applePayCreateSession.ts +21 -17
  742. package/src/funcs/applePayGetMerchantDomains.ts +21 -17
  743. package/src/funcs/applePayLinkToken.ts +21 -17
  744. package/src/funcs/applePayRegisterMerchantDomains.ts +21 -17
  745. package/src/funcs/applePayUpdateMerchantDomains.ts +21 -17
  746. package/src/funcs/authenticationCreateAccessToken.ts +21 -17
  747. package/src/funcs/authenticationRevokeAccessToken.ts +21 -17
  748. package/src/funcs/avatarsGet.ts +21 -17
  749. package/src/funcs/bankAccountsCompleteMicroDeposits.ts +21 -17
  750. package/src/funcs/bankAccountsCompleteVerification.ts +21 -17
  751. package/src/funcs/bankAccountsDisable.ts +21 -17
  752. package/src/funcs/bankAccountsGet.ts +21 -17
  753. package/src/funcs/bankAccountsGetVerification.ts +21 -17
  754. package/src/funcs/bankAccountsInitiateMicroDeposits.ts +21 -17
  755. package/src/funcs/bankAccountsInitiateVerification.ts +21 -17
  756. package/src/funcs/bankAccountsLink.ts +21 -17
  757. package/src/funcs/bankAccountsList.ts +21 -17
  758. package/src/funcs/brandingCreate.ts +21 -17
  759. package/src/funcs/brandingGet.ts +21 -17
  760. package/src/funcs/brandingUpdate.ts +21 -17
  761. package/src/funcs/brandingUpsert.ts +21 -17
  762. package/src/funcs/capabilitiesDisable.ts +21 -17
  763. package/src/funcs/capabilitiesGet.ts +21 -17
  764. package/src/funcs/capabilitiesList.ts +21 -17
  765. package/src/funcs/capabilitiesRequest.ts +21 -17
  766. package/src/funcs/cardIssuingGet.ts +21 -17
  767. package/src/funcs/cardIssuingGetFull.ts +21 -17
  768. package/src/funcs/cardIssuingList.ts +21 -17
  769. package/src/funcs/cardIssuingRequest.ts +21 -17
  770. package/src/funcs/cardIssuingUpdate.ts +21 -17
  771. package/src/funcs/cardsDisable.ts +21 -17
  772. package/src/funcs/cardsGet.ts +21 -17
  773. package/src/funcs/cardsLink.ts +21 -17
  774. package/src/funcs/cardsList.ts +21 -17
  775. package/src/funcs/cardsUpdate.ts +21 -17
  776. package/src/funcs/disputesAccept.ts +21 -17
  777. package/src/funcs/disputesDeleteEvidence.ts +21 -17
  778. package/src/funcs/disputesGet.ts +21 -17
  779. package/src/funcs/disputesGetEvidence.ts +21 -17
  780. package/src/funcs/disputesGetEvidenceData.ts +21 -17
  781. package/src/funcs/disputesList.ts +21 -17
  782. package/src/funcs/disputesListEvidence.ts +21 -17
  783. package/src/funcs/disputesSubmitEvidence.ts +21 -17
  784. package/src/funcs/disputesUpdateEvidence.ts +21 -17
  785. package/src/funcs/disputesUploadEvidenceFile.ts +21 -17
  786. package/src/funcs/disputesUploadEvidenceText.ts +21 -17
  787. package/src/funcs/endToEndEncryptionGenerateKey.ts +21 -17
  788. package/src/funcs/endToEndEncryptionTestEncryptedToken.ts +21 -17
  789. package/src/funcs/enrichedAddressGet.ts +21 -17
  790. package/src/funcs/enrichedProfileGet.ts +21 -17
  791. package/src/funcs/feePlansCreateFeePlanAgreements.ts +21 -17
  792. package/src/funcs/feePlansListFeePlanAgreements.ts +21 -17
  793. package/src/funcs/feePlansListFeePlans.ts +21 -17
  794. package/src/funcs/feePlansListFeesFetch.ts +21 -17
  795. package/src/funcs/feePlansListPartnerPricing.ts +21 -17
  796. package/src/funcs/feePlansListPartnerPricingAgreements.ts +21 -17
  797. package/src/funcs/feePlansRetrieveFees.ts +21 -17
  798. package/src/funcs/filesGet.ts +21 -17
  799. package/src/funcs/filesList.ts +21 -17
  800. package/src/funcs/filesUpload.ts +21 -17
  801. package/src/funcs/industriesList.ts +21 -17
  802. package/src/funcs/institutionsSearch.ts +21 -17
  803. package/src/funcs/institutionsSearchInstitutions.ts +21 -17
  804. package/src/funcs/issuingTransactionsGet.ts +21 -17
  805. package/src/funcs/issuingTransactionsGetAuthorization.ts +21 -17
  806. package/src/funcs/issuingTransactionsList.ts +21 -17
  807. package/src/funcs/issuingTransactionsListAuthorizationEvents.ts +21 -17
  808. package/src/funcs/issuingTransactionsListAuthorizations.ts +21 -17
  809. package/src/funcs/onboardingCreateInvite.ts +21 -17
  810. package/src/funcs/onboardingGetInvite.ts +21 -17
  811. package/src/funcs/onboardingListInvites.ts +21 -17
  812. package/src/funcs/onboardingRevokeInvite.ts +21 -17
  813. package/src/funcs/paymentLinksCreate.ts +21 -17
  814. package/src/funcs/paymentLinksDisable.ts +21 -17
  815. package/src/funcs/paymentLinksGet.ts +21 -17
  816. package/src/funcs/paymentLinksGetQRCode.ts +21 -17
  817. package/src/funcs/paymentLinksList.ts +21 -17
  818. package/src/funcs/paymentLinksUpdate.ts +21 -17
  819. package/src/funcs/paymentMethodsGet.ts +21 -17
  820. package/src/funcs/paymentMethodsList.ts +21 -17
  821. package/src/funcs/pingPing.ts +21 -17
  822. package/src/funcs/receiptsCreate.ts +21 -17
  823. package/src/funcs/receiptsList.ts +21 -17
  824. package/src/funcs/representativesCreate.ts +21 -17
  825. package/src/funcs/representativesDelete.ts +21 -17
  826. package/src/funcs/representativesGet.ts +21 -17
  827. package/src/funcs/representativesList.ts +21 -17
  828. package/src/funcs/representativesUpdate.ts +21 -17
  829. package/src/funcs/schedulingCancel.ts +21 -17
  830. package/src/funcs/schedulingCreate.ts +21 -17
  831. package/src/funcs/schedulingGet.ts +21 -17
  832. package/src/funcs/schedulingGetOccurrance.ts +21 -17
  833. package/src/funcs/schedulingList.ts +21 -17
  834. package/src/funcs/schedulingUpdate.ts +21 -17
  835. package/src/funcs/sweepsCreateConfig.ts +21 -17
  836. package/src/funcs/sweepsGet.ts +21 -17
  837. package/src/funcs/sweepsGetConfig.ts +21 -17
  838. package/src/funcs/sweepsList.ts +21 -17
  839. package/src/funcs/sweepsListConfigs.ts +21 -17
  840. package/src/funcs/sweepsUpdateConfig.ts +21 -17
  841. package/src/funcs/terminalApplicationsCreate.ts +21 -17
  842. package/src/funcs/terminalApplicationsDelete.ts +21 -17
  843. package/src/funcs/terminalApplicationsGet.ts +21 -17
  844. package/src/funcs/terminalApplicationsList.ts +21 -17
  845. package/src/funcs/transfersCreate.ts +21 -17
  846. package/src/funcs/transfersCreateCancellation.ts +21 -17
  847. package/src/funcs/transfersCreateReversal.ts +21 -17
  848. package/src/funcs/transfersGenerateOptions.ts +21 -17
  849. package/src/funcs/transfersGet.ts +21 -17
  850. package/src/funcs/transfersGetCancellation.ts +21 -17
  851. package/src/funcs/transfersGetRefund.ts +21 -17
  852. package/src/funcs/transfersInitiateRefund.ts +21 -17
  853. package/src/funcs/transfersList.ts +22 -17
  854. package/src/funcs/transfersListRefunds.ts +21 -17
  855. package/src/funcs/transfersUpdate.ts +21 -17
  856. package/src/funcs/underwritingGet.ts +21 -17
  857. package/src/funcs/underwritingUpsert.ts +21 -17
  858. package/src/funcs/walletTransactionsGet.ts +21 -17
  859. package/src/funcs/walletTransactionsList.ts +21 -17
  860. package/src/funcs/walletsGet.ts +21 -17
  861. package/src/funcs/walletsList.ts +21 -17
  862. package/src/lib/config.ts +3 -3
  863. package/src/lib/matchers.ts +44 -41
  864. package/src/mcp-server/mcp-server.ts +1 -1
  865. package/src/mcp-server/server.ts +1 -1
  866. package/src/models/components/bankaccountexception.ts +8 -8
  867. package/src/models/components/transfer.ts +4 -0
  868. package/src/models/errors/accountterminalapplicationerror.ts +15 -5
  869. package/src/models/errors/addcapabilitieserror.ts +15 -5
  870. package/src/models/errors/apierror.ts +23 -31
  871. package/src/models/errors/assigncountrieserror.ts +15 -5
  872. package/src/models/errors/authtokenrequesterror.ts +15 -5
  873. package/src/models/errors/bankaccountvalidationerror.ts +15 -5
  874. package/src/models/errors/brandvalidationerror.ts +15 -5
  875. package/src/models/errors/cardacquiringrefund.ts +15 -5
  876. package/src/models/errors/createaccount.ts +15 -5
  877. package/src/models/errors/createpaymentlinkerror.ts +15 -5
  878. package/src/models/errors/createsweepconfigerror.ts +15 -5
  879. package/src/models/errors/feeplanagreementerror.ts +15 -5
  880. package/src/models/errors/fileuploadvalidationerror.ts +15 -5
  881. package/src/models/errors/filevalidationerror.ts +15 -5
  882. package/src/models/errors/genericerror.ts +15 -5
  883. package/src/models/errors/index.ts +1 -0
  884. package/src/models/errors/linkapplepayerror.ts +15 -5
  885. package/src/models/errors/linkcarderror.ts +15 -5
  886. package/src/models/errors/microdepositvalidationerror.ts +15 -5
  887. package/src/models/errors/mooverror.ts +35 -0
  888. package/src/models/errors/onboardinginviteerror.ts +15 -5
  889. package/src/models/errors/patchsweepconfigerror.ts +15 -5
  890. package/src/models/errors/refundvalidationerror.ts +15 -5
  891. package/src/models/errors/representativevalidationerror.ts +15 -5
  892. package/src/models/errors/requestcarderror.ts +15 -5
  893. package/src/models/errors/responsevalidationerror.ts +50 -0
  894. package/src/models/errors/reversalvalidationerror.ts +15 -5
  895. package/src/models/errors/revoketokenrequesterror.ts +15 -5
  896. package/src/models/errors/schedulevalidationerror.ts +15 -5
  897. package/src/models/errors/sdkvalidationerror.ts +12 -0
  898. package/src/models/errors/terminalapplicationerror.ts +15 -5
  899. package/src/models/errors/transfer.ts +21 -5
  900. package/src/models/errors/transferoptionsvalidationerror.ts +15 -5
  901. package/src/models/errors/transfervalidationerror.ts +15 -5
  902. package/src/models/errors/updateaccount.ts +15 -5
  903. package/src/models/errors/updatecarderror.ts +15 -5
  904. package/src/models/errors/updateissuedcarderror.ts +15 -5
  905. package/src/models/errors/updatepaymentlinkerror.ts +15 -5
  906. package/src/models/errors/updateunderwritingerror.ts +15 -5
  907. package/src/models/operations/listtransfers.ts +7 -0
@@ -3,6 +3,7 @@
3
3
  */
4
4
 
5
5
  import * as z from "zod";
6
+ import { MoovError } from "./mooverror.js";
6
7
 
7
8
  export type FileValidationErrorData = {
8
9
  error?: string | undefined;
@@ -11,7 +12,7 @@ export type FileValidationErrorData = {
11
12
  metadata?: string | undefined;
12
13
  };
13
14
 
14
- export class FileValidationError extends Error {
15
+ export class FileValidationError extends MoovError {
15
16
  error?: string | undefined;
16
17
  file?: string | undefined;
17
18
  filePurpose?: string | undefined;
@@ -20,13 +21,15 @@ export class FileValidationError extends Error {
20
21
  /** The original data that was passed to this error instance. */
21
22
  data$: FileValidationErrorData;
22
23
 
23
- constructor(err: FileValidationErrorData) {
24
+ constructor(
25
+ err: FileValidationErrorData,
26
+ httpMeta: { response: Response; request: Request; body: string },
27
+ ) {
24
28
  const message = "message" in err && typeof err.message === "string"
25
29
  ? err.message
26
30
  : `API error occurred: ${JSON.stringify(err)}`;
27
- super(message);
31
+ super(message, httpMeta);
28
32
  this.data$ = err;
29
-
30
33
  if (err.error != null) this.error = err.error;
31
34
  if (err.file != null) this.file = err.file;
32
35
  if (err.filePurpose != null) this.filePurpose = err.filePurpose;
@@ -46,9 +49,16 @@ export const FileValidationError$inboundSchema: z.ZodType<
46
49
  file: z.string().optional(),
47
50
  filePurpose: z.string().optional(),
48
51
  metadata: z.string().optional(),
52
+ request$: z.instanceof(Request),
53
+ response$: z.instanceof(Response),
54
+ body$: z.string(),
49
55
  })
50
56
  .transform((v) => {
51
- return new FileValidationError(v);
57
+ return new FileValidationError(v, {
58
+ request: v.request$,
59
+ response: v.response$,
60
+ body: v.body$,
61
+ });
52
62
  });
53
63
 
54
64
  /** @internal */
@@ -3,24 +3,27 @@
3
3
  */
4
4
 
5
5
  import * as z from "zod";
6
+ import { MoovError } from "./mooverror.js";
6
7
 
7
8
  export type GenericErrorData = {
8
9
  error: string;
9
10
  };
10
11
 
11
- export class GenericError extends Error {
12
+ export class GenericError extends MoovError {
12
13
  error: string;
13
14
 
14
15
  /** The original data that was passed to this error instance. */
15
16
  data$: GenericErrorData;
16
17
 
17
- constructor(err: GenericErrorData) {
18
+ constructor(
19
+ err: GenericErrorData,
20
+ httpMeta: { response: Response; request: Request; body: string },
21
+ ) {
18
22
  const message = "message" in err && typeof err.message === "string"
19
23
  ? err.message
20
24
  : `API error occurred: ${JSON.stringify(err)}`;
21
- super(message);
25
+ super(message, httpMeta);
22
26
  this.data$ = err;
23
-
24
27
  this.error = err.error;
25
28
 
26
29
  this.name = "GenericError";
@@ -34,9 +37,16 @@ export const GenericError$inboundSchema: z.ZodType<
34
37
  unknown
35
38
  > = z.object({
36
39
  error: z.string(),
40
+ request$: z.instanceof(Request),
41
+ response$: z.instanceof(Response),
42
+ body$: z.string(),
37
43
  })
38
44
  .transform((v) => {
39
- return new GenericError(v);
45
+ return new GenericError(v, {
46
+ request: v.request$,
47
+ response: v.response$,
48
+ body: v.body$,
49
+ });
40
50
  });
41
51
 
42
52
  /** @internal */
@@ -26,6 +26,7 @@ export * from "./patchsweepconfigerror.js";
26
26
  export * from "./refundvalidationerror.js";
27
27
  export * from "./representativevalidationerror.js";
28
28
  export * from "./requestcarderror.js";
29
+ export * from "./responsevalidationerror.js";
29
30
  export * from "./reversalvalidationerror.js";
30
31
  export * from "./revoketokenrequesterror.js";
31
32
  export * from "./schedulevalidationerror.js";
@@ -3,6 +3,7 @@
3
3
  */
4
4
 
5
5
  import * as z from "zod";
6
+ import { MoovError } from "./mooverror.js";
6
7
 
7
8
  export type LinkApplePayErrorData = {
8
9
  /**
@@ -23,7 +24,7 @@ export type LinkApplePayErrorData = {
23
24
  transactionIdentifier?: string | undefined;
24
25
  };
25
26
 
26
- export class LinkApplePayError extends Error {
27
+ export class LinkApplePayError extends MoovError {
27
28
  /**
28
29
  * Describes an error that wasn't attributable to a single request field.
29
30
  */
@@ -44,13 +45,15 @@ export class LinkApplePayError extends Error {
44
45
  /** The original data that was passed to this error instance. */
45
46
  data$: LinkApplePayErrorData;
46
47
 
47
- constructor(err: LinkApplePayErrorData) {
48
+ constructor(
49
+ err: LinkApplePayErrorData,
50
+ httpMeta: { response: Response; request: Request; body: string },
51
+ ) {
48
52
  const message = "message" in err && typeof err.message === "string"
49
53
  ? err.message
50
54
  : `API error occurred: ${JSON.stringify(err)}`;
51
- super(message);
55
+ super(message, httpMeta);
52
56
  this.data$ = err;
53
-
54
57
  if (err.error != null) this.error = err.error;
55
58
  if (err.paymentData != null) this.paymentData = err.paymentData;
56
59
  if (err.paymentMethod != null) this.paymentMethod = err.paymentMethod;
@@ -72,9 +75,16 @@ export const LinkApplePayError$inboundSchema: z.ZodType<
72
75
  paymentData: z.string().optional(),
73
76
  paymentMethod: z.string().optional(),
74
77
  transactionIdentifier: z.string().optional(),
78
+ request$: z.instanceof(Request),
79
+ response$: z.instanceof(Response),
80
+ body$: z.string(),
75
81
  })
76
82
  .transform((v) => {
77
- return new LinkApplePayError(v);
83
+ return new LinkApplePayError(v, {
84
+ request: v.request$,
85
+ response: v.response$,
86
+ body: v.body$,
87
+ });
78
88
  });
79
89
 
80
90
  /** @internal */
@@ -4,6 +4,7 @@
4
4
 
5
5
  import * as z from "zod";
6
6
  import * as components from "../components/index.js";
7
+ import { MoovError } from "./mooverror.js";
7
8
 
8
9
  export type LinkCardErrorData = {
9
10
  error?: string | undefined;
@@ -18,7 +19,7 @@ export type LinkCardErrorData = {
18
19
  verifyName?: string | undefined;
19
20
  };
20
21
 
21
- export class LinkCardError extends Error {
22
+ export class LinkCardError extends MoovError {
22
23
  error?: string | undefined;
23
24
  e2ee?: components.End2EndEncryptionError | undefined;
24
25
  cardNumber?: string | undefined;
@@ -33,13 +34,15 @@ export class LinkCardError extends Error {
33
34
  /** The original data that was passed to this error instance. */
34
35
  data$: LinkCardErrorData;
35
36
 
36
- constructor(err: LinkCardErrorData) {
37
+ constructor(
38
+ err: LinkCardErrorData,
39
+ httpMeta: { response: Response; request: Request; body: string },
40
+ ) {
37
41
  const message = "message" in err && typeof err.message === "string"
38
42
  ? err.message
39
43
  : `API error occurred: ${JSON.stringify(err)}`;
40
- super(message);
44
+ super(message, httpMeta);
41
45
  this.data$ = err;
42
-
43
46
  if (err.error != null) this.error = err.error;
44
47
  if (err.e2ee != null) this.e2ee = err.e2ee;
45
48
  if (err.cardNumber != null) this.cardNumber = err.cardNumber;
@@ -73,9 +76,16 @@ export const LinkCardError$inboundSchema: z.ZodType<
73
76
  cardOnFile: z.string().optional(),
74
77
  merchantAccountID: z.string().optional(),
75
78
  verifyName: z.string().optional(),
79
+ request$: z.instanceof(Request),
80
+ response$: z.instanceof(Response),
81
+ body$: z.string(),
76
82
  })
77
83
  .transform((v) => {
78
- return new LinkCardError(v);
84
+ return new LinkCardError(v, {
85
+ request: v.request$,
86
+ response: v.response$,
87
+ body: v.body$,
88
+ });
79
89
  });
80
90
 
81
91
  /** @internal */
@@ -3,24 +3,27 @@
3
3
  */
4
4
 
5
5
  import * as z from "zod";
6
+ import { MoovError } from "./mooverror.js";
6
7
 
7
8
  export type MicroDepositValidationErrorData = {
8
9
  amounts?: string | undefined;
9
10
  };
10
11
 
11
- export class MicroDepositValidationError extends Error {
12
+ export class MicroDepositValidationError extends MoovError {
12
13
  amounts?: string | undefined;
13
14
 
14
15
  /** The original data that was passed to this error instance. */
15
16
  data$: MicroDepositValidationErrorData;
16
17
 
17
- constructor(err: MicroDepositValidationErrorData) {
18
+ constructor(
19
+ err: MicroDepositValidationErrorData,
20
+ httpMeta: { response: Response; request: Request; body: string },
21
+ ) {
18
22
  const message = "message" in err && typeof err.message === "string"
19
23
  ? err.message
20
24
  : `API error occurred: ${JSON.stringify(err)}`;
21
- super(message);
25
+ super(message, httpMeta);
22
26
  this.data$ = err;
23
-
24
27
  if (err.amounts != null) this.amounts = err.amounts;
25
28
 
26
29
  this.name = "MicroDepositValidationError";
@@ -34,9 +37,16 @@ export const MicroDepositValidationError$inboundSchema: z.ZodType<
34
37
  unknown
35
38
  > = z.object({
36
39
  amounts: z.string().optional(),
40
+ request$: z.instanceof(Request),
41
+ response$: z.instanceof(Response),
42
+ body$: z.string(),
37
43
  })
38
44
  .transform((v) => {
39
- return new MicroDepositValidationError(v);
45
+ return new MicroDepositValidationError(v, {
46
+ request: v.request$,
47
+ response: v.response$,
48
+ body: v.body$,
49
+ });
40
50
  });
41
51
 
42
52
  /** @internal */
@@ -0,0 +1,35 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ /** The base class for all HTTP error responses */
6
+ export class MoovError extends Error {
7
+ /** HTTP status code */
8
+ public readonly statusCode: number;
9
+ /** HTTP body */
10
+ public readonly body: string;
11
+ /** HTTP headers */
12
+ public readonly headers: Headers;
13
+ /** HTTP content type */
14
+ public readonly contentType: string;
15
+ /** Raw response */
16
+ public readonly rawResponse: Response;
17
+
18
+ constructor(
19
+ message: string,
20
+ httpMeta: {
21
+ response: Response;
22
+ request: Request;
23
+ body: string;
24
+ },
25
+ ) {
26
+ super(message);
27
+ this.statusCode = httpMeta.response.status;
28
+ this.body = httpMeta.body;
29
+ this.headers = httpMeta.response.headers;
30
+ this.contentType = httpMeta.response.headers.get("content-type") || "";
31
+ this.rawResponse = httpMeta.response;
32
+
33
+ this.name = "MoovError";
34
+ }
35
+ }
@@ -3,6 +3,7 @@
3
3
  */
4
4
 
5
5
  import * as z from "zod";
6
+ import { MoovError } from "./mooverror.js";
6
7
 
7
8
  export type OnboardingInviteErrorData = {
8
9
  returnURL?: string | undefined;
@@ -12,7 +13,7 @@ export type OnboardingInviteErrorData = {
12
13
  feePlanCodes?: { [k: string]: string } | undefined;
13
14
  };
14
15
 
15
- export class OnboardingInviteError extends Error {
16
+ export class OnboardingInviteError extends MoovError {
16
17
  returnURL?: string | undefined;
17
18
  termsOfServiceURL?: string | undefined;
18
19
  scopes?: { [k: string]: string } | undefined;
@@ -22,13 +23,15 @@ export class OnboardingInviteError extends Error {
22
23
  /** The original data that was passed to this error instance. */
23
24
  data$: OnboardingInviteErrorData;
24
25
 
25
- constructor(err: OnboardingInviteErrorData) {
26
+ constructor(
27
+ err: OnboardingInviteErrorData,
28
+ httpMeta: { response: Response; request: Request; body: string },
29
+ ) {
26
30
  const message = "message" in err && typeof err.message === "string"
27
31
  ? err.message
28
32
  : `API error occurred: ${JSON.stringify(err)}`;
29
- super(message);
33
+ super(message, httpMeta);
30
34
  this.data$ = err;
31
-
32
35
  if (err.returnURL != null) this.returnURL = err.returnURL;
33
36
  if (err.termsOfServiceURL != null) {
34
37
  this.termsOfServiceURL = err.termsOfServiceURL;
@@ -52,9 +55,16 @@ export const OnboardingInviteError$inboundSchema: z.ZodType<
52
55
  scopes: z.record(z.string()).optional(),
53
56
  capabilities: z.record(z.string()).optional(),
54
57
  feePlanCodes: z.record(z.string()).optional(),
58
+ request$: z.instanceof(Request),
59
+ response$: z.instanceof(Response),
60
+ body$: z.string(),
55
61
  })
56
62
  .transform((v) => {
57
- return new OnboardingInviteError(v);
63
+ return new OnboardingInviteError(v, {
64
+ request: v.request$,
65
+ response: v.response$,
66
+ body: v.body$,
67
+ });
58
68
  });
59
69
 
60
70
  /** @internal */
@@ -3,6 +3,7 @@
3
3
  */
4
4
 
5
5
  import * as z from "zod";
6
+ import { MoovError } from "./mooverror.js";
6
7
 
7
8
  export type PatchSweepConfigErrorData = {
8
9
  status?: string | undefined;
@@ -12,7 +13,7 @@ export type PatchSweepConfigErrorData = {
12
13
  minimumBalance?: string | undefined;
13
14
  };
14
15
 
15
- export class PatchSweepConfigError extends Error {
16
+ export class PatchSweepConfigError extends MoovError {
16
17
  status?: string | undefined;
17
18
  pushPaymentMethodID?: string | undefined;
18
19
  pullPaymentMethodID?: string | undefined;
@@ -22,13 +23,15 @@ export class PatchSweepConfigError extends Error {
22
23
  /** The original data that was passed to this error instance. */
23
24
  data$: PatchSweepConfigErrorData;
24
25
 
25
- constructor(err: PatchSweepConfigErrorData) {
26
+ constructor(
27
+ err: PatchSweepConfigErrorData,
28
+ httpMeta: { response: Response; request: Request; body: string },
29
+ ) {
26
30
  const message = "message" in err && typeof err.message === "string"
27
31
  ? err.message
28
32
  : `API error occurred: ${JSON.stringify(err)}`;
29
- super(message);
33
+ super(message, httpMeta);
30
34
  this.data$ = err;
31
-
32
35
  if (err.status != null) this.status = err.status;
33
36
  if (err.pushPaymentMethodID != null) {
34
37
  this.pushPaymentMethodID = err.pushPaymentMethodID;
@@ -56,9 +59,16 @@ export const PatchSweepConfigError$inboundSchema: z.ZodType<
56
59
  pullPaymentMethodID: z.string().optional(),
57
60
  statementDescriptor: z.string().optional(),
58
61
  minimumBalance: z.string().optional(),
62
+ request$: z.instanceof(Request),
63
+ response$: z.instanceof(Response),
64
+ body$: z.string(),
59
65
  })
60
66
  .transform((v) => {
61
- return new PatchSweepConfigError(v);
67
+ return new PatchSweepConfigError(v, {
68
+ request: v.request$,
69
+ response: v.response$,
70
+ body: v.body$,
71
+ });
62
72
  });
63
73
 
64
74
  /** @internal */
@@ -3,6 +3,7 @@
3
3
  */
4
4
 
5
5
  import * as z from "zod";
6
+ import { MoovError } from "./mooverror.js";
6
7
 
7
8
  export type RefundValidationErrorData = {
8
9
  amount?: string | undefined;
@@ -12,7 +13,7 @@ export type RefundValidationErrorData = {
12
13
  error?: string | undefined;
13
14
  };
14
15
 
15
- export class RefundValidationError extends Error {
16
+ export class RefundValidationError extends MoovError {
16
17
  amount?: string | undefined;
17
18
  /**
18
19
  * Used for generic errors when invalid request data isn't attributed to a single request field.
@@ -22,13 +23,15 @@ export class RefundValidationError extends Error {
22
23
  /** The original data that was passed to this error instance. */
23
24
  data$: RefundValidationErrorData;
24
25
 
25
- constructor(err: RefundValidationErrorData) {
26
+ constructor(
27
+ err: RefundValidationErrorData,
28
+ httpMeta: { response: Response; request: Request; body: string },
29
+ ) {
26
30
  const message = "message" in err && typeof err.message === "string"
27
31
  ? err.message
28
32
  : `API error occurred: ${JSON.stringify(err)}`;
29
- super(message);
33
+ super(message, httpMeta);
30
34
  this.data$ = err;
31
-
32
35
  if (err.amount != null) this.amount = err.amount;
33
36
  if (err.error != null) this.error = err.error;
34
37
 
@@ -44,9 +47,16 @@ export const RefundValidationError$inboundSchema: z.ZodType<
44
47
  > = z.object({
45
48
  amount: z.string().optional(),
46
49
  error: z.string().optional(),
50
+ request$: z.instanceof(Request),
51
+ response$: z.instanceof(Response),
52
+ body$: z.string(),
47
53
  })
48
54
  .transform((v) => {
49
- return new RefundValidationError(v);
55
+ return new RefundValidationError(v, {
56
+ request: v.request$,
57
+ response: v.response$,
58
+ body: v.body$,
59
+ });
50
60
  });
51
61
 
52
62
  /** @internal */
@@ -6,6 +6,7 @@ import * as z from "zod";
6
6
  import { safeParse } from "../../lib/schemas.js";
7
7
  import { Result as SafeParseResult } from "../../types/fp.js";
8
8
  import * as components from "../components/index.js";
9
+ import { MoovError } from "./mooverror.js";
9
10
  import { SDKValidationError } from "./sdkvalidationerror.js";
10
11
 
11
12
  export type ErrorT = {
@@ -22,19 +23,21 @@ export type RepresentativeValidationErrorData = {
22
23
  error: ErrorT;
23
24
  };
24
25
 
25
- export class RepresentativeValidationError extends Error {
26
+ export class RepresentativeValidationError extends MoovError {
26
27
  error: ErrorT;
27
28
 
28
29
  /** The original data that was passed to this error instance. */
29
30
  data$: RepresentativeValidationErrorData;
30
31
 
31
- constructor(err: RepresentativeValidationErrorData) {
32
+ constructor(
33
+ err: RepresentativeValidationErrorData,
34
+ httpMeta: { response: Response; request: Request; body: string },
35
+ ) {
32
36
  const message = "message" in err && typeof err.message === "string"
33
37
  ? err.message
34
38
  : `API error occurred: ${JSON.stringify(err)}`;
35
- super(message);
39
+ super(message, httpMeta);
36
40
  this.data$ = err;
37
-
38
41
  this.error = err.error;
39
42
 
40
43
  this.name = "RepresentativeValidationError";
@@ -117,9 +120,16 @@ export const RepresentativeValidationError$inboundSchema: z.ZodType<
117
120
  unknown
118
121
  > = z.object({
119
122
  error: z.lazy(() => ErrorT$inboundSchema),
123
+ request$: z.instanceof(Request),
124
+ response$: z.instanceof(Response),
125
+ body$: z.string(),
120
126
  })
121
127
  .transform((v) => {
122
- return new RepresentativeValidationError(v);
128
+ return new RepresentativeValidationError(v, {
129
+ request: v.request$,
130
+ response: v.response$,
131
+ body: v.body$,
132
+ });
123
133
  });
124
134
 
125
135
  /** @internal */
@@ -4,6 +4,7 @@
4
4
 
5
5
  import * as z from "zod";
6
6
  import * as components from "../components/index.js";
7
+ import { MoovError } from "./mooverror.js";
7
8
 
8
9
  export type RequestCardErrorData = {
9
10
  fundingWalletID?: string | undefined;
@@ -14,7 +15,7 @@ export type RequestCardErrorData = {
14
15
  controls?: components.IssuingControlsError | undefined;
15
16
  };
16
17
 
17
- export class RequestCardError extends Error {
18
+ export class RequestCardError extends MoovError {
18
19
  fundingWalletID?: string | undefined;
19
20
  formFactor?: string | undefined;
20
21
  authorizedUser?: components.CreateAuthorizedUserError | undefined;
@@ -25,13 +26,15 @@ export class RequestCardError extends Error {
25
26
  /** The original data that was passed to this error instance. */
26
27
  data$: RequestCardErrorData;
27
28
 
28
- constructor(err: RequestCardErrorData) {
29
+ constructor(
30
+ err: RequestCardErrorData,
31
+ httpMeta: { response: Response; request: Request; body: string },
32
+ ) {
29
33
  const message = "message" in err && typeof err.message === "string"
30
34
  ? err.message
31
35
  : `API error occurred: ${JSON.stringify(err)}`;
32
- super(message);
36
+ super(message, httpMeta);
33
37
  this.data$ = err;
34
-
35
38
  if (err.fundingWalletID != null) this.fundingWalletID = err.fundingWalletID;
36
39
  if (err.formFactor != null) this.formFactor = err.formFactor;
37
40
  if (err.authorizedUser != null) this.authorizedUser = err.authorizedUser;
@@ -55,9 +58,16 @@ export const RequestCardError$inboundSchema: z.ZodType<
55
58
  memo: z.string().optional(),
56
59
  expiration: components.CardExpirationError$inboundSchema.optional(),
57
60
  controls: components.IssuingControlsError$inboundSchema.optional(),
61
+ request$: z.instanceof(Request),
62
+ response$: z.instanceof(Response),
63
+ body$: z.string(),
58
64
  })
59
65
  .transform((v) => {
60
- return new RequestCardError(v);
66
+ return new RequestCardError(v, {
67
+ request: v.request$,
68
+ response: v.response$,
69
+ body: v.body$,
70
+ });
61
71
  });
62
72
 
63
73
  /** @internal */
@@ -0,0 +1,50 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod";
6
+ import { MoovError } from "./mooverror.js";
7
+ import { formatZodError } from "./sdkvalidationerror.js";
8
+
9
+ export class ResponseValidationError extends MoovError {
10
+ /**
11
+ * The raw value that failed validation.
12
+ */
13
+ public readonly rawValue: unknown;
14
+
15
+ /**
16
+ * The raw message that failed validation.
17
+ */
18
+ public readonly rawMessage: unknown;
19
+
20
+ constructor(
21
+ message: string,
22
+ extra: {
23
+ response: Response;
24
+ request: Request;
25
+ body: string;
26
+ cause: unknown;
27
+ rawValue: unknown;
28
+ rawMessage: unknown;
29
+ },
30
+ ) {
31
+ super(message, extra);
32
+ this.name = "ResponseValidationError";
33
+ this.cause = extra.cause;
34
+ this.rawValue = extra.rawValue;
35
+ this.rawMessage = extra.rawMessage;
36
+ }
37
+
38
+ /**
39
+ * Return a pretty-formatted error message if the underlying validation error
40
+ * is a ZodError or some other recognized error type, otherwise return the
41
+ * default error message.
42
+ */
43
+ public pretty(): string {
44
+ if (this.cause instanceof z.ZodError) {
45
+ return `${this.rawMessage}\n${formatZodError(this.cause)}`;
46
+ } else {
47
+ return this.toString();
48
+ }
49
+ }
50
+ }
@@ -3,24 +3,27 @@
3
3
  */
4
4
 
5
5
  import * as z from "zod";
6
+ import { MoovError } from "./mooverror.js";
6
7
 
7
8
  export type ReversalValidationErrorData = {
8
9
  amount?: string | undefined;
9
10
  };
10
11
 
11
- export class ReversalValidationError extends Error {
12
+ export class ReversalValidationError extends MoovError {
12
13
  amount?: string | undefined;
13
14
 
14
15
  /** The original data that was passed to this error instance. */
15
16
  data$: ReversalValidationErrorData;
16
17
 
17
- constructor(err: ReversalValidationErrorData) {
18
+ constructor(
19
+ err: ReversalValidationErrorData,
20
+ httpMeta: { response: Response; request: Request; body: string },
21
+ ) {
18
22
  const message = "message" in err && typeof err.message === "string"
19
23
  ? err.message
20
24
  : `API error occurred: ${JSON.stringify(err)}`;
21
- super(message);
25
+ super(message, httpMeta);
22
26
  this.data$ = err;
23
-
24
27
  if (err.amount != null) this.amount = err.amount;
25
28
 
26
29
  this.name = "ReversalValidationError";
@@ -34,9 +37,16 @@ export const ReversalValidationError$inboundSchema: z.ZodType<
34
37
  unknown
35
38
  > = z.object({
36
39
  amount: z.string().optional(),
40
+ request$: z.instanceof(Request),
41
+ response$: z.instanceof(Response),
42
+ body$: z.string(),
37
43
  })
38
44
  .transform((v) => {
39
- return new ReversalValidationError(v);
45
+ return new ReversalValidationError(v, {
46
+ request: v.request$,
47
+ response: v.response$,
48
+ body: v.body$,
49
+ });
40
50
  });
41
51
 
42
52
  /** @internal */