@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
@@ -4,24 +4,27 @@
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 AddCapabilitiesErrorData = {
9
10
  error?: components.CapabilitiesError | undefined;
10
11
  };
11
12
 
12
- export class AddCapabilitiesError extends Error {
13
+ export class AddCapabilitiesError extends MoovError {
13
14
  error?: components.CapabilitiesError | undefined;
14
15
 
15
16
  /** The original data that was passed to this error instance. */
16
17
  data$: AddCapabilitiesErrorData;
17
18
 
18
- constructor(err: AddCapabilitiesErrorData) {
19
+ constructor(
20
+ err: AddCapabilitiesErrorData,
21
+ httpMeta: { response: Response; request: Request; body: string },
22
+ ) {
19
23
  const message = "message" in err && typeof err.message === "string"
20
24
  ? err.message
21
25
  : `API error occurred: ${JSON.stringify(err)}`;
22
- super(message);
26
+ super(message, httpMeta);
23
27
  this.data$ = err;
24
-
25
28
  if (err.error != null) this.error = err.error;
26
29
 
27
30
  this.name = "AddCapabilitiesError";
@@ -35,9 +38,16 @@ export const AddCapabilitiesError$inboundSchema: z.ZodType<
35
38
  unknown
36
39
  > = z.object({
37
40
  error: components.CapabilitiesError$inboundSchema.optional(),
41
+ request$: z.instanceof(Request),
42
+ response$: z.instanceof(Response),
43
+ body$: z.string(),
38
44
  })
39
45
  .transform((v) => {
40
- return new AddCapabilitiesError(v);
46
+ return new AddCapabilitiesError(v, {
47
+ request: v.request$,
48
+ response: v.response$,
49
+ body: v.body$,
50
+ });
41
51
  });
42
52
 
43
53
  /** @internal */
@@ -2,41 +2,33 @@
2
2
  * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
3
  */
4
4
 
5
- export class APIError extends Error {
6
- /**
7
- * HTTP status code
8
- */
9
- public readonly statusCode: number;
10
- /**
11
- * HTTP content type
12
- */
13
- public readonly contentType: string;
14
- /**
15
- * HTTP body
16
- */
17
- public readonly body: string;
18
- /**
19
- * Raw response
20
- */
21
- public readonly rawResponse: Response;
5
+ import { MoovError } from "./mooverror.js";
22
6
 
7
+ /** The fallback error class if no more specific error class is matched */
8
+ export class APIError extends MoovError {
23
9
  constructor(
24
10
  message: string,
25
- rawResponse: Response,
26
- body: string = "",
11
+ httpMeta: {
12
+ response: Response;
13
+ request: Request;
14
+ body: string;
15
+ },
27
16
  ) {
28
- const statusCode = rawResponse.status;
29
- const contentType = rawResponse.headers.get("content-type") || "";
30
- const bodyString = body.length > 0 ? `\n${body}` : "";
31
- super(
32
- `${message}: Status ${statusCode} Content-Type ${contentType} Body ${bodyString}`,
33
- );
34
-
35
- this.body = body;
36
- this.rawResponse = rawResponse;
37
- this.statusCode = statusCode;
38
- this.contentType = contentType;
39
-
17
+ if (message) {
18
+ message += `: `;
19
+ }
20
+ message += `Status ${httpMeta.response.status}`;
21
+ const contentType = httpMeta.response.headers.get("content-type") || `""`;
22
+ if (contentType !== "application/json") {
23
+ message += ` Content-Type ${
24
+ contentType.includes(" ") ? `"${contentType}"` : contentType
25
+ }`;
26
+ }
27
+ const body = httpMeta.body || `""`;
28
+ message += body.length > 100 ? "\n" : " ";
29
+ message += `Body ${body}`;
30
+ message = message.trim();
31
+ super(message, httpMeta);
40
32
  this.name = "APIError";
41
33
  }
42
34
  }
@@ -4,24 +4,27 @@
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 AssignCountriesErrorData = {
9
10
  error: components.CountriesErrors;
10
11
  };
11
12
 
12
- export class AssignCountriesError extends Error {
13
+ export class AssignCountriesError extends MoovError {
13
14
  error: components.CountriesErrors;
14
15
 
15
16
  /** The original data that was passed to this error instance. */
16
17
  data$: AssignCountriesErrorData;
17
18
 
18
- constructor(err: AssignCountriesErrorData) {
19
+ constructor(
20
+ err: AssignCountriesErrorData,
21
+ httpMeta: { response: Response; request: Request; body: string },
22
+ ) {
19
23
  const message = "message" in err && typeof err.message === "string"
20
24
  ? err.message
21
25
  : `API error occurred: ${JSON.stringify(err)}`;
22
- super(message);
26
+ super(message, httpMeta);
23
27
  this.data$ = err;
24
-
25
28
  this.error = err.error;
26
29
 
27
30
  this.name = "AssignCountriesError";
@@ -35,9 +38,16 @@ export const AssignCountriesError$inboundSchema: z.ZodType<
35
38
  unknown
36
39
  > = z.object({
37
40
  error: components.CountriesErrors$inboundSchema,
41
+ request$: z.instanceof(Request),
42
+ response$: z.instanceof(Response),
43
+ body$: z.string(),
38
44
  })
39
45
  .transform((v) => {
40
- return new AssignCountriesError(v);
46
+ return new AssignCountriesError(v, {
47
+ request: v.request$,
48
+ response: v.response$,
49
+ body: v.body$,
50
+ });
41
51
  });
42
52
 
43
53
  /** @internal */
@@ -4,26 +4,29 @@
4
4
 
5
5
  import * as z from "zod";
6
6
  import { remap as remap$ } from "../../lib/primitives.js";
7
+ import { MoovError } from "./mooverror.js";
7
8
 
8
9
  export type AuthTokenRequestErrorData = {
9
10
  scope?: string | undefined;
10
11
  refreshToken?: string | undefined;
11
12
  };
12
13
 
13
- export class AuthTokenRequestError extends Error {
14
+ export class AuthTokenRequestError extends MoovError {
14
15
  scope?: string | undefined;
15
16
  refreshToken?: string | undefined;
16
17
 
17
18
  /** The original data that was passed to this error instance. */
18
19
  data$: AuthTokenRequestErrorData;
19
20
 
20
- constructor(err: AuthTokenRequestErrorData) {
21
+ constructor(
22
+ err: AuthTokenRequestErrorData,
23
+ httpMeta: { response: Response; request: Request; body: string },
24
+ ) {
21
25
  const message = "message" in err && typeof err.message === "string"
22
26
  ? err.message
23
27
  : `API error occurred: ${JSON.stringify(err)}`;
24
- super(message);
28
+ super(message, httpMeta);
25
29
  this.data$ = err;
26
-
27
30
  if (err.scope != null) this.scope = err.scope;
28
31
  if (err.refreshToken != null) this.refreshToken = err.refreshToken;
29
32
 
@@ -39,13 +42,20 @@ export const AuthTokenRequestError$inboundSchema: z.ZodType<
39
42
  > = z.object({
40
43
  scope: z.string().optional(),
41
44
  refresh_token: z.string().optional(),
45
+ request$: z.instanceof(Request),
46
+ response$: z.instanceof(Response),
47
+ body$: z.string(),
42
48
  })
43
49
  .transform((v) => {
44
50
  const remapped = remap$(v, {
45
51
  "refresh_token": "refreshToken",
46
52
  });
47
53
 
48
- return new AuthTokenRequestError(remapped);
54
+ return new AuthTokenRequestError(remapped, {
55
+ request: v.request$,
56
+ response: v.response$,
57
+ body: v.body$,
58
+ });
49
59
  });
50
60
 
51
61
  /** @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 BankAccountValidationErrorData = {
8
9
  account?: string | undefined;
@@ -12,7 +13,7 @@ export type BankAccountValidationErrorData = {
12
13
  error?: string | undefined;
13
14
  };
14
15
 
15
- export class BankAccountValidationError extends Error {
16
+ export class BankAccountValidationError extends MoovError {
16
17
  account?: string | undefined;
17
18
  plaid?: string | undefined;
18
19
  plaidLink?: string | undefined;
@@ -22,13 +23,15 @@ export class BankAccountValidationError extends Error {
22
23
  /** The original data that was passed to this error instance. */
23
24
  data$: BankAccountValidationErrorData;
24
25
 
25
- constructor(err: BankAccountValidationErrorData) {
26
+ constructor(
27
+ err: BankAccountValidationErrorData,
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.account != null) this.account = err.account;
33
36
  if (err.plaid != null) this.plaid = err.plaid;
34
37
  if (err.plaidLink != null) this.plaidLink = err.plaidLink;
@@ -50,9 +53,16 @@ export const BankAccountValidationError$inboundSchema: z.ZodType<
50
53
  plaidLink: z.string().optional(),
51
54
  mx: z.string().optional(),
52
55
  error: z.string().optional(),
56
+ request$: z.instanceof(Request),
57
+ response$: z.instanceof(Response),
58
+ body$: z.string(),
53
59
  })
54
60
  .transform((v) => {
55
- return new BankAccountValidationError(v);
61
+ return new BankAccountValidationError(v, {
62
+ request: v.request$,
63
+ response: v.response$,
64
+ body: v.body$,
65
+ });
56
66
  });
57
67
 
58
68
  /** @internal */
@@ -4,24 +4,27 @@
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 BrandValidationErrorData = {
9
10
  colors?: components.ColorsValidationError | undefined;
10
11
  };
11
12
 
12
- export class BrandValidationError extends Error {
13
+ export class BrandValidationError extends MoovError {
13
14
  colors?: components.ColorsValidationError | undefined;
14
15
 
15
16
  /** The original data that was passed to this error instance. */
16
17
  data$: BrandValidationErrorData;
17
18
 
18
- constructor(err: BrandValidationErrorData) {
19
+ constructor(
20
+ err: BrandValidationErrorData,
21
+ httpMeta: { response: Response; request: Request; body: string },
22
+ ) {
19
23
  const message = "message" in err && typeof err.message === "string"
20
24
  ? err.message
21
25
  : `API error occurred: ${JSON.stringify(err)}`;
22
- super(message);
26
+ super(message, httpMeta);
23
27
  this.data$ = err;
24
-
25
28
  if (err.colors != null) this.colors = err.colors;
26
29
 
27
30
  this.name = "BrandValidationError";
@@ -35,9 +38,16 @@ export const BrandValidationError$inboundSchema: z.ZodType<
35
38
  unknown
36
39
  > = z.object({
37
40
  colors: components.ColorsValidationError$inboundSchema.optional(),
41
+ request$: z.instanceof(Request),
42
+ response$: z.instanceof(Response),
43
+ body$: z.string(),
38
44
  })
39
45
  .transform((v) => {
40
- return new BrandValidationError(v);
46
+ return new BrandValidationError(v, {
47
+ request: v.request$,
48
+ response: v.response$,
49
+ body: v.body$,
50
+ });
41
51
  });
42
52
 
43
53
  /** @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
  /**
9
10
  * Details of a card refund.
@@ -23,7 +24,7 @@ export type CardAcquiringRefundData = {
23
24
  /**
24
25
  * Details of a card refund.
25
26
  */
26
- export class CardAcquiringRefund extends Error {
27
+ export class CardAcquiringRefund extends MoovError {
27
28
  /**
28
29
  * Identifier for the refund.
29
30
  */
@@ -37,13 +38,15 @@ export class CardAcquiringRefund extends Error {
37
38
  /** The original data that was passed to this error instance. */
38
39
  data$: CardAcquiringRefundData;
39
40
 
40
- constructor(err: CardAcquiringRefundData) {
41
+ constructor(
42
+ err: CardAcquiringRefundData,
43
+ httpMeta: { response: Response; request: Request; body: string },
44
+ ) {
41
45
  const message = "message" in err && typeof err.message === "string"
42
46
  ? err.message
43
47
  : `API error occurred: ${JSON.stringify(err)}`;
44
- super(message);
48
+ super(message, httpMeta);
45
49
  this.data$ = err;
46
-
47
50
  this.refundID = err.refundID;
48
51
  this.createdOn = err.createdOn;
49
52
  this.updatedOn = err.updatedOn;
@@ -67,9 +70,16 @@ export const CardAcquiringRefund$inboundSchema: z.ZodType<
67
70
  status: components.RefundStatus$inboundSchema,
68
71
  amount: components.Amount$inboundSchema,
69
72
  cardDetails: components.RefundCardDetails$inboundSchema.optional(),
73
+ request$: z.instanceof(Request),
74
+ response$: z.instanceof(Response),
75
+ body$: z.string(),
70
76
  })
71
77
  .transform((v) => {
72
- return new CardAcquiringRefund(v);
78
+ return new CardAcquiringRefund(v, {
79
+ request: v.request$,
80
+ response: v.response$,
81
+ body: v.body$,
82
+ });
73
83
  });
74
84
 
75
85
  /** @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
  /**
9
10
  * The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields.
@@ -15,19 +16,21 @@ export type CreateAccountResponseBodyData = {
15
16
  /**
16
17
  * The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields.
17
18
  */
18
- export class CreateAccountResponseBody extends Error {
19
+ export class CreateAccountResponseBody extends MoovError {
19
20
  error: components.CreateAccountError;
20
21
 
21
22
  /** The original data that was passed to this error instance. */
22
23
  data$: CreateAccountResponseBodyData;
23
24
 
24
- constructor(err: CreateAccountResponseBodyData) {
25
+ constructor(
26
+ err: CreateAccountResponseBodyData,
27
+ httpMeta: { response: Response; request: Request; body: string },
28
+ ) {
25
29
  const message = "message" in err && typeof err.message === "string"
26
30
  ? err.message
27
31
  : `API error occurred: ${JSON.stringify(err)}`;
28
- super(message);
32
+ super(message, httpMeta);
29
33
  this.data$ = err;
30
-
31
34
  this.error = err.error;
32
35
 
33
36
  this.name = "CreateAccountResponseBody";
@@ -41,9 +44,16 @@ export const CreateAccountResponseBody$inboundSchema: z.ZodType<
41
44
  unknown
42
45
  > = z.object({
43
46
  error: components.CreateAccountError$inboundSchema,
47
+ request$: z.instanceof(Request),
48
+ response$: z.instanceof(Response),
49
+ body$: z.string(),
44
50
  })
45
51
  .transform((v) => {
46
- return new CreateAccountResponseBody(v);
52
+ return new CreateAccountResponseBody(v, {
53
+ request: v.request$,
54
+ response: v.response$,
55
+ body: v.body$,
56
+ });
47
57
  });
48
58
 
49
59
  /** @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 CreatePaymentLinkErrorData = {
9
10
  partnerAccountID?: string | undefined;
@@ -16,7 +17,7 @@ export type CreatePaymentLinkErrorData = {
16
17
  payout?: components.PayoutDetailsError | undefined;
17
18
  };
18
19
 
19
- export class CreatePaymentLinkError extends Error {
20
+ export class CreatePaymentLinkError extends MoovError {
20
21
  partnerAccountID?: string | undefined;
21
22
  merchantPaymentMethodID?: string | undefined;
22
23
  amount?: components.AmountValidationError | undefined;
@@ -29,13 +30,15 @@ export class CreatePaymentLinkError extends Error {
29
30
  /** The original data that was passed to this error instance. */
30
31
  data$: CreatePaymentLinkErrorData;
31
32
 
32
- constructor(err: CreatePaymentLinkErrorData) {
33
+ constructor(
34
+ err: CreatePaymentLinkErrorData,
35
+ httpMeta: { response: Response; request: Request; body: string },
36
+ ) {
33
37
  const message = "message" in err && typeof err.message === "string"
34
38
  ? err.message
35
39
  : `API error occurred: ${JSON.stringify(err)}`;
36
- super(message);
40
+ super(message, httpMeta);
37
41
  this.data$ = err;
38
-
39
42
  if (err.partnerAccountID != null) {
40
43
  this.partnerAccountID = err.partnerAccountID;
41
44
  }
@@ -67,9 +70,16 @@ export const CreatePaymentLinkError$inboundSchema: z.ZodType<
67
70
  display: components.DisplayOptionsError$inboundSchema.optional(),
68
71
  payment: components.PaymentDetailsError$inboundSchema.optional(),
69
72
  payout: components.PayoutDetailsError$inboundSchema.optional(),
73
+ request$: z.instanceof(Request),
74
+ response$: z.instanceof(Response),
75
+ body$: z.string(),
70
76
  })
71
77
  .transform((v) => {
72
- return new CreatePaymentLinkError(v);
78
+ return new CreatePaymentLinkError(v, {
79
+ request: v.request$,
80
+ response: v.response$,
81
+ body: v.body$,
82
+ });
73
83
  });
74
84
 
75
85
  /** @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 CreateSweepConfigErrorData = {
8
9
  walletID?: string | undefined;
@@ -13,7 +14,7 @@ export type CreateSweepConfigErrorData = {
13
14
  minimumBalance?: string | undefined;
14
15
  };
15
16
 
16
- export class CreateSweepConfigError extends Error {
17
+ export class CreateSweepConfigError extends MoovError {
17
18
  walletID?: string | undefined;
18
19
  status?: string | undefined;
19
20
  pushPaymentMethodID?: string | undefined;
@@ -24,13 +25,15 @@ export class CreateSweepConfigError extends Error {
24
25
  /** The original data that was passed to this error instance. */
25
26
  data$: CreateSweepConfigErrorData;
26
27
 
27
- constructor(err: CreateSweepConfigErrorData) {
28
+ constructor(
29
+ err: CreateSweepConfigErrorData,
30
+ httpMeta: { response: Response; request: Request; body: string },
31
+ ) {
28
32
  const message = "message" in err && typeof err.message === "string"
29
33
  ? err.message
30
34
  : `API error occurred: ${JSON.stringify(err)}`;
31
- super(message);
35
+ super(message, httpMeta);
32
36
  this.data$ = err;
33
-
34
37
  if (err.walletID != null) this.walletID = err.walletID;
35
38
  if (err.status != null) this.status = err.status;
36
39
  if (err.pushPaymentMethodID != null) {
@@ -60,9 +63,16 @@ export const CreateSweepConfigError$inboundSchema: z.ZodType<
60
63
  pullPaymentMethodID: z.string().optional(),
61
64
  statementDescriptor: z.string().optional(),
62
65
  minimumBalance: z.string().optional(),
66
+ request$: z.instanceof(Request),
67
+ response$: z.instanceof(Response),
68
+ body$: z.string(),
63
69
  })
64
70
  .transform((v) => {
65
- return new CreateSweepConfigError(v);
71
+ return new CreateSweepConfigError(v, {
72
+ request: v.request$,
73
+ response: v.response$,
74
+ body: v.body$,
75
+ });
66
76
  });
67
77
 
68
78
  /** @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 FeePlanAgreementErrorData = {
8
9
  planID?: string | undefined;
9
10
  };
10
11
 
11
- export class FeePlanAgreementError extends Error {
12
+ export class FeePlanAgreementError extends MoovError {
12
13
  planID?: string | undefined;
13
14
 
14
15
  /** The original data that was passed to this error instance. */
15
16
  data$: FeePlanAgreementErrorData;
16
17
 
17
- constructor(err: FeePlanAgreementErrorData) {
18
+ constructor(
19
+ err: FeePlanAgreementErrorData,
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.planID != null) this.planID = err.planID;
25
28
 
26
29
  this.name = "FeePlanAgreementError";
@@ -34,9 +37,16 @@ export const FeePlanAgreementError$inboundSchema: z.ZodType<
34
37
  unknown
35
38
  > = z.object({
36
39
  planID: 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 FeePlanAgreementError(v);
45
+ return new FeePlanAgreementError(v, {
46
+ request: v.request$,
47
+ response: v.response$,
48
+ body: v.body$,
49
+ });
40
50
  });
41
51
 
42
52
  /** @internal */
@@ -5,6 +5,7 @@
5
5
  import * as z from "zod";
6
6
  import { safeParse } from "../../lib/schemas.js";
7
7
  import { Result as SafeParseResult } from "../../types/fp.js";
8
+ import { MoovError } from "./mooverror.js";
8
9
  import { SDKValidationError } from "./sdkvalidationerror.js";
9
10
 
10
11
  export type FileT = {
@@ -17,20 +18,22 @@ export type FileUploadValidationErrorData = {
17
18
  file?: FileT | undefined;
18
19
  };
19
20
 
20
- export class FileUploadValidationError extends Error {
21
+ export class FileUploadValidationError extends MoovError {
21
22
  evidenceType?: string | undefined;
22
23
  file?: FileT | undefined;
23
24
 
24
25
  /** The original data that was passed to this error instance. */
25
26
  data$: FileUploadValidationErrorData;
26
27
 
27
- constructor(err: FileUploadValidationErrorData) {
28
+ constructor(
29
+ err: FileUploadValidationErrorData,
30
+ httpMeta: { response: Response; request: Request; body: string },
31
+ ) {
28
32
  const message = "message" in err && typeof err.message === "string"
29
33
  ? err.message
30
34
  : `API error occurred: ${JSON.stringify(err)}`;
31
- super(message);
35
+ super(message, httpMeta);
32
36
  this.data$ = err;
33
-
34
37
  if (err.evidenceType != null) this.evidenceType = err.evidenceType;
35
38
  if (err.file != null) this.file = err.file;
36
39
 
@@ -96,9 +99,16 @@ export const FileUploadValidationError$inboundSchema: z.ZodType<
96
99
  > = z.object({
97
100
  evidenceType: z.string().optional(),
98
101
  file: z.lazy(() => FileT$inboundSchema).optional(),
102
+ request$: z.instanceof(Request),
103
+ response$: z.instanceof(Response),
104
+ body$: z.string(),
99
105
  })
100
106
  .transform((v) => {
101
- return new FileUploadValidationError(v);
107
+ return new FileUploadValidationError(v, {
108
+ request: v.request$,
109
+ response: v.response$,
110
+ body: v.body$,
111
+ });
102
112
  });
103
113
 
104
114
  /** @internal */