@moovio/sdk 26.4.0-dev.0 → 26.4.0-dev.10
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.
- package/README.md +139 -57
- package/bin/mcp-server.js +4015 -1017
- package/bin/mcp-server.js.map +303 -231
- package/funcs/cardsLink.d.ts +1 -1
- package/funcs/cardsLink.d.ts.map +1 -1
- package/funcs/cardsLink.js +1 -1
- package/funcs/cardsLink.js.map +1 -1
- package/funcs/disputesUploadEvidenceFile.js +6 -0
- package/funcs/disputesUploadEvidenceFile.js.map +1 -1
- package/funcs/filesUpload.js +6 -0
- package/funcs/filesUpload.js.map +1 -1
- package/funcs/imagesUpdate.js +7 -0
- package/funcs/imagesUpdate.js.map +1 -1
- package/funcs/imagesUpload.js +7 -0
- package/funcs/imagesUpload.js.map +1 -1
- package/funcs/invoicesCreateInvoice.d.ts +18 -0
- package/funcs/invoicesCreateInvoice.d.ts.map +1 -0
- package/funcs/invoicesCreateInvoice.js +139 -0
- package/funcs/invoicesCreateInvoice.js.map +1 -0
- package/funcs/invoicesCreateInvoicePayment.d.ts +19 -0
- package/funcs/invoicesCreateInvoicePayment.d.ts.map +1 -0
- package/funcs/invoicesCreateInvoicePayment.js +148 -0
- package/funcs/invoicesCreateInvoicePayment.js.map +1 -0
- package/funcs/invoicesDelete.d.ts +24 -0
- package/funcs/invoicesDelete.d.ts.map +1 -0
- package/funcs/invoicesDelete.js +146 -0
- package/funcs/invoicesDelete.js.map +1 -0
- package/funcs/invoicesGetInvoice.d.ts +17 -0
- package/funcs/invoicesGetInvoice.d.ts.map +1 -0
- package/funcs/invoicesGetInvoice.js +129 -0
- package/funcs/invoicesGetInvoice.js.map +1 -0
- package/funcs/invoicesListInvoicePayments.d.ts +17 -0
- package/funcs/invoicesListInvoicePayments.d.ts.map +1 -0
- package/funcs/invoicesListInvoicePayments.js +129 -0
- package/funcs/invoicesListInvoicePayments.js.map +1 -0
- package/funcs/invoicesListInvoices.d.ts +18 -0
- package/funcs/invoicesListInvoices.d.ts.map +1 -0
- package/funcs/invoicesListInvoices.js +139 -0
- package/funcs/invoicesListInvoices.js.map +1 -0
- package/funcs/invoicesUpdateInvoice.d.ts +18 -0
- package/funcs/invoicesUpdateInvoice.d.ts.map +1 -0
- package/funcs/invoicesUpdateInvoice.js +143 -0
- package/funcs/invoicesUpdateInvoice.js.map +1 -0
- package/funcs/paymentLinksList.js +1 -2
- package/funcs/paymentLinksList.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/lib/config.js.map +1 -1
- package/lib/matchers.d.ts.map +1 -1
- package/lib/matchers.js +0 -1
- package/lib/matchers.js.map +1 -1
- package/lib/security.d.ts.map +1 -1
- package/lib/security.js +1 -2
- package/lib/security.js.map +1 -1
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/mcp-server.js.map +1 -1
- package/mcp-server/server.d.ts.map +1 -1
- package/mcp-server/server.js +15 -1
- package/mcp-server/server.js.map +1 -1
- package/mcp-server/shared.js +1 -1
- package/mcp-server/shared.js.map +1 -1
- package/mcp-server/tools/invoicesCreateInvoice.d.ts +8 -0
- package/mcp-server/tools/invoicesCreateInvoice.d.ts.map +1 -0
- package/mcp-server/tools/invoicesCreateInvoice.js +65 -0
- package/mcp-server/tools/invoicesCreateInvoice.js.map +1 -0
- package/mcp-server/tools/invoicesCreateInvoicePayment.d.ts +8 -0
- package/mcp-server/tools/invoicesCreateInvoicePayment.d.ts.map +1 -0
- package/mcp-server/tools/invoicesCreateInvoicePayment.js +66 -0
- package/mcp-server/tools/invoicesCreateInvoicePayment.js.map +1 -0
- package/mcp-server/tools/invoicesDelete.d.ts +8 -0
- package/mcp-server/tools/invoicesDelete.d.ts.map +1 -0
- package/mcp-server/tools/invoicesDelete.js +70 -0
- package/mcp-server/tools/invoicesDelete.js.map +1 -0
- package/mcp-server/tools/invoicesGetInvoice.d.ts +8 -0
- package/mcp-server/tools/invoicesGetInvoice.d.ts.map +1 -0
- package/mcp-server/tools/invoicesGetInvoice.js +65 -0
- package/mcp-server/tools/invoicesGetInvoice.js.map +1 -0
- package/mcp-server/tools/invoicesListInvoicePayments.d.ts +8 -0
- package/mcp-server/tools/invoicesListInvoicePayments.d.ts.map +1 -0
- package/mcp-server/tools/invoicesListInvoicePayments.js +65 -0
- package/mcp-server/tools/invoicesListInvoicePayments.js.map +1 -0
- package/mcp-server/tools/invoicesListInvoices.d.ts +8 -0
- package/mcp-server/tools/invoicesListInvoices.d.ts.map +1 -0
- package/mcp-server/tools/invoicesListInvoices.js +65 -0
- package/mcp-server/tools/invoicesListInvoices.js.map +1 -0
- package/mcp-server/tools/invoicesUpdateInvoice.d.ts +8 -0
- package/mcp-server/tools/invoicesUpdateInvoice.d.ts.map +1 -0
- package/mcp-server/tools/invoicesUpdateInvoice.js +65 -0
- package/mcp-server/tools/invoicesUpdateInvoice.js.map +1 -0
- package/models/components/accountfees.d.ts +5 -0
- package/models/components/accountfees.d.ts.map +1 -1
- package/models/components/accountfees.js +2 -0
- package/models/components/accountfees.js.map +1 -1
- package/models/components/achcreditsamedaytransferpaymentmethod.d.ts +28 -0
- package/models/components/achcreditsamedaytransferpaymentmethod.d.ts.map +1 -0
- package/models/components/achcreditsamedaytransferpaymentmethod.js +63 -0
- package/models/components/achcreditsamedaytransferpaymentmethod.js.map +1 -0
- package/models/components/achcreditstandardtransferpaymentmethod.d.ts +28 -0
- package/models/components/achcreditstandardtransferpaymentmethod.d.ts.map +1 -0
- package/models/components/achcreditstandardtransferpaymentmethod.js +63 -0
- package/models/components/achcreditstandardtransferpaymentmethod.js.map +1 -0
- package/models/components/achdebitcollecttransferpaymentmethod.d.ts +28 -0
- package/models/components/achdebitcollecttransferpaymentmethod.d.ts.map +1 -0
- package/models/components/achdebitcollecttransferpaymentmethod.js +63 -0
- package/models/components/achdebitcollecttransferpaymentmethod.js.map +1 -0
- package/models/components/achdebitfundtransferpaymentmethod.d.ts +28 -0
- package/models/components/achdebitfundtransferpaymentmethod.d.ts.map +1 -0
- package/models/components/achdebitfundtransferpaymentmethod.js +63 -0
- package/models/components/achdebitfundtransferpaymentmethod.js.map +1 -0
- package/models/components/amountdecimalupdate.d.ts +29 -0
- package/models/components/amountdecimalupdate.d.ts.map +1 -0
- package/models/components/amountdecimalupdate.js +60 -0
- package/models/components/amountdecimalupdate.js.map +1 -0
- package/models/components/applepaytransferpaymentmethod.d.ts +28 -0
- package/models/components/applepaytransferpaymentmethod.d.ts.map +1 -0
- package/models/components/applepaytransferpaymentmethod.js +63 -0
- package/models/components/applepaytransferpaymentmethod.js.map +1 -0
- package/models/components/billablefee.d.ts +3 -0
- package/models/components/billablefee.d.ts.map +1 -1
- package/models/components/billablefee.js.map +1 -1
- package/models/components/cardpaymenttransferpaymentmethod.d.ts +28 -0
- package/models/components/cardpaymenttransferpaymentmethod.d.ts.map +1 -0
- package/models/components/cardpaymenttransferpaymentmethod.js +63 -0
- package/models/components/cardpaymenttransferpaymentmethod.js.map +1 -0
- package/models/components/cardpresentpaymenttransferpaymentmethod.d.ts +31 -0
- package/models/components/cardpresentpaymenttransferpaymentmethod.d.ts.map +1 -0
- package/models/components/cardpresentpaymenttransferpaymentmethod.js +63 -0
- package/models/components/cardpresentpaymenttransferpaymentmethod.js.map +1 -0
- package/models/components/createfeeplanagreement.d.ts +3 -0
- package/models/components/createfeeplanagreement.d.ts.map +1 -1
- package/models/components/createfeeplanagreement.js.map +1 -1
- package/models/components/createinvoice.d.ts +35 -0
- package/models/components/createinvoice.d.ts.map +1 -0
- package/models/components/createinvoice.js +72 -0
- package/models/components/createinvoice.js.map +1 -0
- package/models/components/createinvoicelineitem.d.ts +49 -0
- package/models/components/createinvoicelineitem.d.ts.map +1 -0
- package/models/components/createinvoicelineitem.js +68 -0
- package/models/components/createinvoicelineitem.js.map +1 -0
- package/models/components/createinvoicelineitemoption.d.ts +39 -0
- package/models/components/createinvoicelineitemoption.d.ts.map +1 -0
- package/models/components/createinvoicelineitemoption.js +65 -0
- package/models/components/createinvoicelineitemoption.js.map +1 -0
- package/models/components/createinvoicelineitemoptionvalidationerror.d.ts +24 -0
- package/models/components/createinvoicelineitemoptionvalidationerror.d.ts.map +1 -0
- package/models/components/createinvoicelineitemoptionvalidationerror.js +65 -0
- package/models/components/createinvoicelineitemoptionvalidationerror.js.map +1 -0
- package/models/components/createinvoicelineitems.d.ts +24 -0
- package/models/components/createinvoicelineitems.d.ts.map +1 -0
- package/models/components/createinvoicelineitems.js +59 -0
- package/models/components/createinvoicelineitems.js.map +1 -0
- package/models/components/createinvoicelineitemsupdate.d.ts +24 -0
- package/models/components/createinvoicelineitemsupdate.d.ts.map +1 -0
- package/models/components/createinvoicelineitemsupdate.js +59 -0
- package/models/components/createinvoicelineitemsupdate.js.map +1 -0
- package/models/components/createinvoicelineitemsvalidationerror.d.ts +22 -0
- package/models/components/createinvoicelineitemsvalidationerror.d.ts.map +1 -0
- package/models/components/createinvoicelineitemsvalidationerror.js +61 -0
- package/models/components/createinvoicelineitemsvalidationerror.js.map +1 -0
- package/models/components/createinvoicelineitemvalidationerror.d.ts +31 -0
- package/models/components/createinvoicelineitemvalidationerror.d.ts.map +1 -0
- package/models/components/createinvoicelineitemvalidationerror.js +70 -0
- package/models/components/createinvoicelineitemvalidationerror.js.map +1 -0
- package/models/components/createinvoicepayment.d.ts +24 -0
- package/models/components/createinvoicepayment.d.ts.map +1 -0
- package/models/components/createinvoicepayment.js +66 -0
- package/models/components/createinvoicepayment.js.map +1 -0
- package/models/components/createpaymentlinklineitem.d.ts +11 -2
- package/models/components/createpaymentlinklineitem.d.ts.map +1 -1
- package/models/components/createpaymentlinklineitem.js.map +1 -1
- package/models/components/createpaymentlinklineitemoption.d.ts +6 -1
- package/models/components/createpaymentlinklineitemoption.d.ts.map +1 -1
- package/models/components/createpaymentlinklineitemoption.js.map +1 -1
- package/models/components/createscheduledtransferlineitem.d.ts +10 -2
- package/models/components/createscheduledtransferlineitem.d.ts.map +1 -1
- package/models/components/createscheduledtransferlineitem.js.map +1 -1
- package/models/components/createscheduledtransferlineitemoption.d.ts +6 -1
- package/models/components/createscheduledtransferlineitemoption.d.ts.map +1 -1
- package/models/components/createscheduledtransferlineitemoption.js.map +1 -1
- package/models/components/createtransferlineitem.d.ts +10 -2
- package/models/components/createtransferlineitem.d.ts.map +1 -1
- package/models/components/createtransferlineitem.js.map +1 -1
- package/models/components/createtransferlineitemoption.d.ts +6 -1
- package/models/components/createtransferlineitemoption.d.ts.map +1 -1
- package/models/components/createtransferlineitemoption.js.map +1 -1
- package/models/components/feecategory.d.ts +1 -0
- package/models/components/feecategory.d.ts.map +1 -1
- package/models/components/feecategory.js +1 -0
- package/models/components/feecategory.js.map +1 -1
- package/models/components/feeplan.d.ts +3 -0
- package/models/components/feeplan.d.ts.map +1 -1
- package/models/components/feeplan.js.map +1 -1
- package/models/components/feeplanagreement.d.ts +9 -0
- package/models/components/feeplanagreement.d.ts.map +1 -1
- package/models/components/feeplanagreement.js.map +1 -1
- package/models/components/generatedby.d.ts +20 -0
- package/models/components/generatedby.d.ts.map +1 -1
- package/models/components/generatedby.js +2 -0
- package/models/components/generatedby.js.map +1 -1
- package/models/components/imagemetadata.d.ts +3 -0
- package/models/components/imagemetadata.d.ts.map +1 -1
- package/models/components/imagemetadata.js.map +1 -1
- package/models/components/incurredfee.d.ts +3 -0
- package/models/components/incurredfee.d.ts.map +1 -1
- package/models/components/incurredfee.js.map +1 -1
- package/models/components/index.d.ts +46 -3
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +46 -3
- package/models/components/index.js.map +1 -1
- package/models/components/instantbankcredittransferpaymentmethod.d.ts +31 -0
- package/models/components/instantbankcredittransferpaymentmethod.d.ts.map +1 -0
- package/models/components/instantbankcredittransferpaymentmethod.js +63 -0
- package/models/components/instantbankcredittransferpaymentmethod.js.map +1 -0
- package/models/components/{rtpfailurecode.d.ts → instantbankfailurecode.d.ts} +8 -7
- package/models/components/instantbankfailurecode.d.ts.map +1 -0
- package/models/components/{rtpfailurecode.js → instantbankfailurecode.js} +7 -6
- package/models/components/instantbankfailurecode.js.map +1 -0
- package/models/components/instantbanknetwork.d.ts +18 -0
- package/models/components/instantbanknetwork.d.ts.map +1 -0
- package/models/components/instantbanknetwork.js +52 -0
- package/models/components/instantbanknetwork.js.map +1 -0
- package/models/components/instantbanktransactiondetails.d.ts +51 -0
- package/models/components/instantbanktransactiondetails.d.ts.map +1 -0
- package/models/components/{rtptransactiondetails.js → instantbanktransactiondetails.js} +21 -16
- package/models/components/instantbanktransactiondetails.js.map +1 -0
- package/models/components/instantbanktransactionstatus.d.ts +20 -0
- package/models/components/instantbanktransactionstatus.d.ts.map +1 -0
- package/models/components/{rtptransactionstatus.js → instantbanktransactionstatus.js} +6 -6
- package/models/components/instantbanktransactionstatus.js.map +1 -0
- package/models/components/invoice.d.ts +105 -0
- package/models/components/invoice.d.ts.map +1 -0
- package/models/components/invoice.js +113 -0
- package/models/components/invoice.js.map +1 -0
- package/models/components/invoiceexternalpayment.d.ts +21 -0
- package/models/components/invoiceexternalpayment.d.ts.map +1 -0
- package/models/components/invoiceexternalpayment.js +63 -0
- package/models/components/invoiceexternalpayment.js.map +1 -0
- package/models/components/invoicelineitem.d.ts +55 -0
- package/models/components/invoicelineitem.d.ts.map +1 -0
- package/models/components/invoicelineitem.js +71 -0
- package/models/components/invoicelineitem.js.map +1 -0
- package/models/components/invoicelineitemimagemetadata.d.ts +35 -0
- package/models/components/invoicelineitemimagemetadata.d.ts.map +1 -0
- package/models/components/invoicelineitemimagemetadata.js +64 -0
- package/models/components/invoicelineitemimagemetadata.js.map +1 -0
- package/models/components/invoicelineitemoption.d.ts +45 -0
- package/models/components/invoicelineitemoption.d.ts.map +1 -0
- package/models/components/invoicelineitemoption.js +68 -0
- package/models/components/invoicelineitemoption.js.map +1 -0
- package/models/components/invoicelineitemoptionvalidationerror.d.ts +24 -0
- package/models/components/invoicelineitemoptionvalidationerror.d.ts.map +1 -0
- package/models/components/invoicelineitemoptionvalidationerror.js +65 -0
- package/models/components/invoicelineitemoptionvalidationerror.js.map +1 -0
- package/models/components/invoicelineitems.d.ts +24 -0
- package/models/components/invoicelineitems.d.ts.map +1 -0
- package/models/components/invoicelineitems.js +59 -0
- package/models/components/invoicelineitems.js.map +1 -0
- package/models/components/invoicelineitemsvalidationerror.d.ts +22 -0
- package/models/components/invoicelineitemsvalidationerror.d.ts.map +1 -0
- package/models/components/invoicelineitemsvalidationerror.js +59 -0
- package/models/components/invoicelineitemsvalidationerror.js.map +1 -0
- package/models/components/invoicelineitemvalidationerror.d.ts +31 -0
- package/models/components/invoicelineitemvalidationerror.d.ts.map +1 -0
- package/models/components/invoicelineitemvalidationerror.js +70 -0
- package/models/components/invoicelineitemvalidationerror.js.map +1 -0
- package/models/components/invoicepayment.d.ts +35 -0
- package/models/components/invoicepayment.d.ts.map +1 -0
- package/models/components/invoicepayment.js +70 -0
- package/models/components/invoicepayment.js.map +1 -0
- package/models/components/invoicepaymenttype.d.ts +12 -0
- package/models/components/invoicepaymenttype.d.ts.map +1 -0
- package/models/components/invoicepaymenttype.js +49 -0
- package/models/components/invoicepaymenttype.js.map +1 -0
- package/models/components/invoicetransferpayment.d.ts +20 -0
- package/models/components/invoicetransferpayment.d.ts.map +1 -0
- package/models/components/invoicetransferpayment.js +58 -0
- package/models/components/invoicetransferpayment.js.map +1 -0
- package/models/components/moovwallettransferpaymentmethod.d.ts +25 -0
- package/models/components/moovwallettransferpaymentmethod.d.ts.map +1 -0
- package/models/components/moovwallettransferpaymentmethod.js +63 -0
- package/models/components/moovwallettransferpaymentmethod.js.map +1 -0
- package/models/components/partnerpricingagreement.d.ts +9 -0
- package/models/components/partnerpricingagreement.d.ts.map +1 -1
- package/models/components/partnerpricingagreement.js.map +1 -1
- package/models/components/paymentlinktype.d.ts +1 -0
- package/models/components/paymentlinktype.d.ts.map +1 -1
- package/models/components/paymentlinktype.js +1 -0
- package/models/components/paymentlinktype.js.map +1 -1
- package/models/components/pullfromcardtransferpaymentmethod.d.ts +28 -0
- package/models/components/pullfromcardtransferpaymentmethod.d.ts.map +1 -0
- package/models/components/pullfromcardtransferpaymentmethod.js +63 -0
- package/models/components/pullfromcardtransferpaymentmethod.js.map +1 -0
- package/models/components/pushtocardtransferpaymentmethod.d.ts +28 -0
- package/models/components/pushtocardtransferpaymentmethod.d.ts.map +1 -0
- package/models/components/pushtocardtransferpaymentmethod.js +63 -0
- package/models/components/pushtocardtransferpaymentmethod.js.map +1 -0
- package/models/components/rtpcredittransferpaymentmethod.d.ts +28 -0
- package/models/components/rtpcredittransferpaymentmethod.d.ts.map +1 -0
- package/models/components/rtpcredittransferpaymentmethod.js +63 -0
- package/models/components/rtpcredittransferpaymentmethod.js.map +1 -0
- package/models/components/transfer.d.ts +5 -0
- package/models/components/transfer.d.ts.map +1 -1
- package/models/components/transfer.js +2 -0
- package/models/components/transfer.js.map +1 -1
- package/models/components/transferdestination.d.ts +15 -15
- package/models/components/transferdestination.d.ts.map +1 -1
- package/models/components/transferdestination.js +15 -15
- package/models/components/transferdestination.js.map +1 -1
- package/models/components/transferentrymode.d.ts +17 -0
- package/models/components/transferentrymode.d.ts.map +1 -0
- package/models/components/transferentrymode.js +51 -0
- package/models/components/transferentrymode.js.map +1 -0
- package/models/components/transferoptions.d.ts +5 -5
- package/models/components/transferoptions.d.ts.map +1 -1
- package/models/components/transferoptions.js +5 -5
- package/models/components/transferoptions.js.map +1 -1
- package/models/components/transferpaymentmethod.d.ts +28 -0
- package/models/components/transferpaymentmethod.d.ts.map +1 -0
- package/models/components/transferpaymentmethod.js +92 -0
- package/models/components/transferpaymentmethod.js.map +1 -0
- package/models/components/transferpaymentmethodsbankaccount.d.ts +54 -0
- package/models/components/transferpaymentmethodsbankaccount.d.ts.map +1 -0
- package/models/components/transferpaymentmethodsbankaccount.js +79 -0
- package/models/components/transferpaymentmethodsbankaccount.js.map +1 -0
- package/models/components/transferpaymentmethodscard.d.ts +109 -0
- package/models/components/transferpaymentmethodscard.d.ts.map +1 -0
- package/models/components/transferpaymentmethodscard.js +98 -0
- package/models/components/transferpaymentmethodscard.js.map +1 -0
- package/models/components/transferpaymentmethodswallet.d.ts +29 -0
- package/models/components/transferpaymentmethodswallet.d.ts.map +1 -0
- package/models/components/transferpaymentmethodswallet.js +63 -0
- package/models/components/transferpaymentmethodswallet.js.map +1 -0
- package/models/components/transferpaymentmethodtype.d.ts +28 -0
- package/models/components/transferpaymentmethodtype.d.ts.map +1 -0
- package/models/components/transferpaymentmethodtype.js +62 -0
- package/models/components/transferpaymentmethodtype.js.map +1 -0
- package/models/components/transfersource.d.ts +15 -15
- package/models/components/transfersource.d.ts.map +1 -1
- package/models/components/transfersource.js +15 -15
- package/models/components/transfersource.js.map +1 -1
- package/models/components/transferterminalcard.d.ts +83 -0
- package/models/components/transferterminalcard.d.ts.map +1 -0
- package/models/components/transferterminalcard.js +84 -0
- package/models/components/transferterminalcard.js.map +1 -0
- package/models/components/updateinvoice.d.ts +43 -0
- package/models/components/updateinvoice.d.ts.map +1 -0
- package/models/components/updateinvoice.js +71 -0
- package/models/components/updateinvoice.js.map +1 -0
- package/models/errors/createinvoiceerror.d.ts +40 -0
- package/models/errors/createinvoiceerror.d.ts.map +1 -0
- package/models/errors/createinvoiceerror.js +100 -0
- package/models/errors/createinvoiceerror.js.map +1 -0
- package/models/errors/createinvoicepaymenterror.d.ts +34 -0
- package/models/errors/createinvoicepaymenterror.d.ts.map +1 -0
- package/models/errors/createinvoicepaymenterror.js +88 -0
- package/models/errors/createinvoicepaymenterror.js.map +1 -0
- package/models/errors/duplicatecarderror.d.ts +45 -0
- package/models/errors/duplicatecarderror.d.ts.map +1 -0
- package/models/errors/duplicatecarderror.js +78 -0
- package/models/errors/duplicatecarderror.js.map +1 -0
- package/models/errors/feeplanagreementerror.d.ts +6 -0
- package/models/errors/feeplanagreementerror.d.ts.map +1 -1
- package/models/errors/feeplanagreementerror.js.map +1 -1
- package/models/errors/index.d.ts +5 -0
- package/models/errors/index.d.ts.map +1 -1
- package/models/errors/index.js +5 -0
- package/models/errors/index.js.map +1 -1
- package/models/errors/listinvoicesvalidationerror.d.ts +45 -0
- package/models/errors/listinvoicesvalidationerror.d.ts.map +1 -0
- package/models/errors/listinvoicesvalidationerror.js +107 -0
- package/models/errors/listinvoicesvalidationerror.js.map +1 -0
- package/models/errors/transfer.d.ts +9 -0
- package/models/errors/transfer.d.ts.map +1 -1
- package/models/errors/transfer.js +4 -0
- package/models/errors/transfer.js.map +1 -1
- package/models/errors/updateinvoiceerror.d.ts +40 -0
- package/models/errors/updateinvoiceerror.d.ts.map +1 -0
- package/models/errors/updateinvoiceerror.js +99 -0
- package/models/errors/updateinvoiceerror.js.map +1 -0
- package/models/operations/acceptdispute.d.ts +1 -1
- package/models/operations/assignaccountcountries.d.ts +1 -1
- package/models/operations/cancelschedule.d.ts +1 -1
- package/models/operations/completebankaccountverification.d.ts +1 -1
- package/models/operations/completemicrodeposits.d.ts +1 -1
- package/models/operations/connectaccount.d.ts +1 -1
- package/models/operations/createaccesstoken.d.ts +1 -1
- package/models/operations/createaccount.d.ts +1 -1
- package/models/operations/createapplepaysession.d.ts +1 -1
- package/models/operations/createbrand.d.ts +1 -1
- package/models/operations/createcancellation.d.ts +1 -1
- package/models/operations/createfeeplanagreements.d.ts +1 -1
- package/models/operations/createinvoice.d.ts +66 -0
- package/models/operations/createinvoice.d.ts.map +1 -0
- package/models/operations/createinvoice.js +122 -0
- package/models/operations/createinvoice.js.map +1 -0
- package/models/operations/createinvoicepayment.d.ts +68 -0
- package/models/operations/createinvoicepayment.d.ts.map +1 -0
- package/models/operations/createinvoicepayment.js +124 -0
- package/models/operations/createinvoicepayment.js.map +1 -0
- package/models/operations/createonboardinginvite.d.ts +1 -1
- package/models/operations/createpaymentlink.d.ts +1 -1
- package/models/operations/createproduct.d.ts +1 -1
- package/models/operations/createreceipts.d.ts +1 -1
- package/models/operations/createrepresentative.d.ts +1 -1
- package/models/operations/createreversal.d.ts +1 -1
- package/models/operations/createschedule.d.ts +1 -1
- package/models/operations/createsweepconfig.d.ts +1 -1
- package/models/operations/createterminalapplication.d.ts +1 -1
- package/models/operations/createterminalapplicationversion.d.ts +1 -1
- package/models/operations/createticket.d.ts +1 -1
- package/models/operations/createtransfer.d.ts +3 -3
- package/models/operations/createtransferoptions.d.ts +1 -1
- package/models/operations/createwallet.d.ts +1 -1
- package/models/operations/createwebhook.d.ts +1 -1
- package/models/operations/deletedisputeevidencefile.d.ts +1 -1
- package/models/operations/deleteimage.d.ts +1 -1
- package/models/operations/deleteinvoice.d.ts +63 -0
- package/models/operations/deleteinvoice.d.ts.map +1 -0
- package/models/operations/deleteinvoice.js +109 -0
- package/models/operations/deleteinvoice.js.map +1 -0
- package/models/operations/deleterepresentative.d.ts +1 -1
- package/models/operations/deleteterminalapplication.d.ts +1 -1
- package/models/operations/disablebankaccount.d.ts +1 -1
- package/models/operations/disablecapability.d.ts +1 -1
- package/models/operations/disablecard.d.ts +1 -1
- package/models/operations/disablepaymentlink.d.ts +1 -1
- package/models/operations/disableproduct.d.ts +1 -1
- package/models/operations/disablewebhook.d.ts +1 -1
- package/models/operations/disconnectaccount.d.ts +1 -1
- package/models/operations/generateendtoendkey.d.ts +1 -1
- package/models/operations/getaccount.d.ts +1 -1
- package/models/operations/getaccountcountries.d.ts +1 -1
- package/models/operations/getaccountterminalapplication.d.ts +1 -1
- package/models/operations/getadjustment.d.ts +1 -1
- package/models/operations/getapplepaymerchantdomains.d.ts +1 -1
- package/models/operations/getavatar.d.ts +1 -1
- package/models/operations/getbankaccount.d.ts +1 -1
- package/models/operations/getbankaccountverification.d.ts +1 -1
- package/models/operations/getbrand.d.ts +1 -1
- package/models/operations/getcancellation.d.ts +1 -1
- package/models/operations/getcapability.d.ts +1 -1
- package/models/operations/getcard.d.ts +1 -1
- package/models/operations/getdispute.d.ts +1 -1
- package/models/operations/getdisputeevidence.d.ts +1 -1
- package/models/operations/getdisputeevidencedata.d.ts +1 -1
- package/models/operations/getenrichmentaddress.d.ts +1 -1
- package/models/operations/getenrichmentprofile.d.ts +1 -1
- package/models/operations/getfiledetails.d.ts +1 -1
- package/models/operations/getfullissuedcard.d.ts +1 -1
- package/models/operations/getimagemetadata.d.ts +1 -1
- package/models/operations/getinvoice.d.ts +66 -0
- package/models/operations/getinvoice.d.ts.map +1 -0
- package/models/operations/getinvoice.js +114 -0
- package/models/operations/getinvoice.js.map +1 -0
- package/models/operations/getissuedcard.d.ts +1 -1
- package/models/operations/getissuedcardauthorization.d.ts +1 -1
- package/models/operations/getissuedcardtransaction.d.ts +1 -1
- package/models/operations/getmerchantprocessingagreement.d.ts +1 -1
- package/models/operations/getonboardinginvite.d.ts +1 -1
- package/models/operations/getpaymentlink.d.ts +1 -1
- package/models/operations/getpaymentlinkqrcode.d.ts +1 -1
- package/models/operations/getpaymentmethod.d.ts +1 -1
- package/models/operations/getproduct.d.ts +1 -1
- package/models/operations/getpublicimage.d.ts +2 -2
- package/models/operations/getpublicimage.d.ts.map +1 -1
- package/models/operations/getpublicimage.js +2 -2
- package/models/operations/getpublicimage.js.map +1 -1
- package/models/operations/getrefund.d.ts +1 -1
- package/models/operations/getrepresentative.d.ts +1 -1
- package/models/operations/getresidual.d.ts +1 -1
- package/models/operations/getscheduledoccurrence.d.ts +5 -5
- package/models/operations/getschedules.d.ts +1 -1
- package/models/operations/getstatement.d.ts +1 -1
- package/models/operations/getsweep.d.ts +1 -1
- package/models/operations/getsweepconfig.d.ts +1 -1
- package/models/operations/getterminalapplication.d.ts +1 -1
- package/models/operations/getterminalconfiguration.d.ts +1 -1
- package/models/operations/gettermsofservicetoken.d.ts +1 -1
- package/models/operations/getticket.d.ts +1 -1
- package/models/operations/gettransfer.d.ts +1 -1
- package/models/operations/getunderwriting.d.ts +1 -1
- package/models/operations/getwallet.d.ts +1 -1
- package/models/operations/getwallettransaction.d.ts +1 -1
- package/models/operations/getwebhook.d.ts +1 -1
- package/models/operations/getwebhooksecret.d.ts +1 -1
- package/models/operations/index.d.ts +7 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +7 -0
- package/models/operations/index.js.map +1 -1
- package/models/operations/initiatebankaccountverification.d.ts +1 -1
- package/models/operations/initiatemicrodeposits.d.ts +1 -1
- package/models/operations/initiaterefund.d.ts +1 -1
- package/models/operations/linkaccountterminalapplication.d.ts +1 -1
- package/models/operations/linkapplepaytoken.d.ts +1 -1
- package/models/operations/linkbankaccount.d.ts +1 -1
- package/models/operations/linkcard.d.ts +1 -1
- package/models/operations/listaccounts.d.ts +1 -1
- package/models/operations/listaccountterminalapplications.d.ts +1 -1
- package/models/operations/listadjustments.d.ts +1 -1
- package/models/operations/listbankaccounts.d.ts +1 -1
- package/models/operations/listcapabilities.d.ts +1 -1
- package/models/operations/listcards.d.ts +1 -1
- package/models/operations/listconnectedaccountsforaccount.d.ts +1 -1
- package/models/operations/listdisputeevidence.d.ts +1 -1
- package/models/operations/listdisputes.d.ts +1 -1
- package/models/operations/listeventtypes.d.ts +1 -1
- package/models/operations/listfeeplanagreements.d.ts +1 -1
- package/models/operations/listfeeplans.d.ts +1 -1
- package/models/operations/listfeerevenue.d.ts +1 -1
- package/models/operations/listfeesfetch.d.ts +1 -1
- package/models/operations/listfiles.d.ts +1 -1
- package/models/operations/listimagemetadata.d.ts +1 -1
- package/models/operations/listindustries.d.ts +1 -1
- package/models/operations/listinstitutions.d.ts +1 -1
- package/models/operations/listinvoicepayments.d.ts +66 -0
- package/models/operations/listinvoicepayments.d.ts.map +1 -0
- package/models/operations/listinvoicepayments.js +114 -0
- package/models/operations/listinvoicepayments.js.map +1 -0
- package/models/operations/listinvoices.d.ts +80 -0
- package/models/operations/listinvoices.d.ts.map +1 -0
- package/models/operations/listinvoices.js +128 -0
- package/models/operations/listinvoices.js.map +1 -0
- package/models/operations/listissuedcardauthorizationevents.d.ts +1 -1
- package/models/operations/listissuedcardauthorizations.d.ts +1 -1
- package/models/operations/listissuedcards.d.ts +1 -1
- package/models/operations/listissuedcardtransactions.d.ts +1 -1
- package/models/operations/listonboardinginvites.d.ts +1 -1
- package/models/operations/listpartnerpricingagreements.d.ts +1 -1
- package/models/operations/listpaymentlinks.d.ts +6 -5
- package/models/operations/listpaymentlinks.d.ts.map +1 -1
- package/models/operations/listpaymentlinks.js +2 -4
- package/models/operations/listpaymentlinks.js.map +1 -1
- package/models/operations/listpaymentmethods.d.ts +1 -1
- package/models/operations/listproducts.d.ts +1 -1
- package/models/operations/listreceipts.d.ts +1 -1
- package/models/operations/listrefunds.d.ts +1 -1
- package/models/operations/listrepresentatives.d.ts +1 -1
- package/models/operations/listresidualfees.d.ts +1 -1
- package/models/operations/listresiduals.d.ts +1 -1
- package/models/operations/listschedules.d.ts +1 -1
- package/models/operations/liststatements.d.ts +1 -1
- package/models/operations/listsweepconfigs.d.ts +1 -1
- package/models/operations/listsweeps.d.ts +1 -1
- package/models/operations/listterminalapplications.d.ts +1 -1
- package/models/operations/listticketmessages.d.ts +1 -1
- package/models/operations/listtickets.d.ts +1 -1
- package/models/operations/listtransfers.d.ts +1 -1
- package/models/operations/listwallets.d.ts +1 -1
- package/models/operations/listwallettransactions.d.ts +1 -1
- package/models/operations/listwebhooks.d.ts +1 -1
- package/models/operations/ping.d.ts +1 -1
- package/models/operations/pingwebhook.d.ts +1 -1
- package/models/operations/registerapplepaymerchantdomains.d.ts +1 -1
- package/models/operations/requestcapabilities.d.ts +1 -1
- package/models/operations/requestcard.d.ts +1 -1
- package/models/operations/retrievefees.d.ts +1 -1
- package/models/operations/revokeaccesstoken.d.ts +1 -1
- package/models/operations/revokeonboardinginvite.d.ts +1 -1
- package/models/operations/saveunderwriting.d.ts +1 -1
- package/models/operations/searchinstitutions.d.ts +1 -1
- package/models/operations/submitdisputeevidence.d.ts +1 -1
- package/models/operations/testendtoendtoken.d.ts +1 -1
- package/models/operations/updateaccount.d.ts +1 -1
- package/models/operations/updateapplepaymerchantdomains.d.ts +1 -1
- package/models/operations/updatecard.d.ts +1 -1
- package/models/operations/updatedisputeevidence.d.ts +1 -1
- package/models/operations/updateimage.d.ts +1 -1
- package/models/operations/updateimagemetadata.d.ts +1 -1
- package/models/operations/updateinvoice.d.ts +68 -0
- package/models/operations/updateinvoice.d.ts.map +1 -0
- package/models/operations/updateinvoice.js +124 -0
- package/models/operations/updateinvoice.js.map +1 -0
- package/models/operations/updateissuedcard.d.ts +1 -1
- package/models/operations/updatepaymentlink.d.ts +1 -1
- package/models/operations/updateproduct.d.ts +1 -1
- package/models/operations/updaterepresentative.d.ts +1 -1
- package/models/operations/updateschedule.d.ts +1 -1
- package/models/operations/updatesweepconfig.d.ts +1 -1
- package/models/operations/updateticket.d.ts +1 -1
- package/models/operations/updatetransfer.d.ts +1 -1
- package/models/operations/updatewallet.d.ts +1 -1
- package/models/operations/updatewebhook.d.ts +1 -1
- package/models/operations/uploaddisputeevidencefile.d.ts +1 -1
- package/models/operations/uploaddisputeevidencetext.d.ts +1 -1
- package/models/operations/uploadfile.d.ts +1 -1
- package/models/operations/uploadimage.d.ts +1 -1
- package/models/operations/upsertbrand.d.ts +1 -1
- package/models/operations/upsertunderwriting.d.ts +1 -1
- package/package.json +4 -4
- package/sdk/invoices.d.ts +61 -0
- package/sdk/invoices.d.ts.map +1 -0
- package/sdk/invoices.js +89 -0
- package/sdk/invoices.js.map +1 -0
- package/sdk/sdk.d.ts +3 -0
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +4 -0
- package/sdk/sdk.js.map +1 -1
- package/src/funcs/cardsLink.ts +5 -1
- package/src/funcs/disputesUploadEvidenceFile.ts +15 -0
- package/src/funcs/filesUpload.ts +15 -0
- package/src/funcs/imagesUpdate.ts +16 -0
- package/src/funcs/imagesUpload.ts +16 -0
- package/src/funcs/invoicesCreateInvoice.ts +201 -0
- package/src/funcs/invoicesCreateInvoicePayment.ts +213 -0
- package/src/funcs/invoicesDelete.ts +206 -0
- package/src/funcs/invoicesGetInvoice.ts +185 -0
- package/src/funcs/invoicesListInvoicePayments.ts +186 -0
- package/src/funcs/invoicesListInvoices.ts +198 -0
- package/src/funcs/invoicesUpdateInvoice.ts +207 -0
- package/src/funcs/paymentLinksList.ts +1 -2
- package/src/lib/config.ts +3 -3
- package/src/lib/matchers.ts +3 -2
- package/src/lib/security.ts +1 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +15 -1
- package/src/mcp-server/shared.ts +2 -2
- package/src/mcp-server/tools/invoicesCreateInvoice.ts +38 -0
- package/src/mcp-server/tools/invoicesCreateInvoicePayment.ts +40 -0
- package/src/mcp-server/tools/invoicesDelete.ts +43 -0
- package/src/mcp-server/tools/invoicesGetInvoice.ts +38 -0
- package/src/mcp-server/tools/invoicesListInvoicePayments.ts +38 -0
- package/src/mcp-server/tools/invoicesListInvoices.ts +38 -0
- package/src/mcp-server/tools/invoicesUpdateInvoice.ts +38 -0
- package/src/models/components/accountfees.ts +7 -0
- package/src/models/components/achcreditsamedaytransferpaymentmethod.ts +74 -0
- package/src/models/components/achcreditstandardtransferpaymentmethod.ts +75 -0
- package/src/models/components/achdebitcollecttransferpaymentmethod.ts +74 -0
- package/src/models/components/achdebitfundtransferpaymentmethod.ts +73 -0
- package/src/models/components/amountdecimalupdate.ts +65 -0
- package/src/models/components/applepaytransferpaymentmethod.ts +73 -0
- package/src/models/components/billablefee.ts +3 -0
- package/src/models/components/cardpaymenttransferpaymentmethod.ts +73 -0
- package/src/models/components/cardpresentpaymenttransferpaymentmethod.ts +83 -0
- package/src/models/components/createfeeplanagreement.ts +3 -0
- package/src/models/components/createinvoice.ts +87 -0
- package/src/models/components/createinvoicelineitem.ts +101 -0
- package/src/models/components/createinvoicelineitemoption.ts +86 -0
- package/src/models/components/createinvoicelineitemoptionvalidationerror.ts +77 -0
- package/src/models/components/createinvoicelineitems.ts +63 -0
- package/src/models/components/createinvoicelineitemsupdate.ts +65 -0
- package/src/models/components/createinvoicelineitemsvalidationerror.ts +64 -0
- package/src/models/components/createinvoicelineitemvalidationerror.ts +88 -0
- package/src/models/components/createinvoicepayment.ts +70 -0
- package/src/models/components/createpaymentlinklineitem.ts +11 -2
- package/src/models/components/createpaymentlinklineitemoption.ts +6 -1
- package/src/models/components/createscheduledtransferlineitem.ts +10 -2
- package/src/models/components/createscheduledtransferlineitemoption.ts +6 -1
- package/src/models/components/createtransferlineitem.ts +10 -2
- package/src/models/components/createtransferlineitemoption.ts +6 -1
- package/src/models/components/feecategory.ts +1 -0
- package/src/models/components/feeplan.ts +3 -0
- package/src/models/components/feeplanagreement.ts +9 -0
- package/src/models/components/generatedby.ts +22 -0
- package/src/models/components/imagemetadata.ts +3 -0
- package/src/models/components/incurredfee.ts +3 -0
- package/src/models/components/index.ts +46 -3
- package/src/models/components/instantbankcredittransferpaymentmethod.ts +78 -0
- package/src/models/components/{rtpfailurecode.ts → instantbankfailurecode.ts} +11 -10
- package/src/models/components/instantbanknetwork.ts +27 -0
- package/src/models/components/instantbanktransactiondetails.ts +120 -0
- package/src/models/components/instantbanktransactionstatus.ts +31 -0
- package/src/models/components/invoice.ts +210 -0
- package/src/models/components/invoiceexternalpayment.ts +60 -0
- package/src/models/components/invoicelineitem.ts +112 -0
- package/src/models/components/invoicelineitemimagemetadata.ts +77 -0
- package/src/models/components/invoicelineitemoption.ts +97 -0
- package/src/models/components/invoicelineitemoptionvalidationerror.ts +72 -0
- package/src/models/components/invoicelineitems.ts +63 -0
- package/src/models/components/invoicelineitemsvalidationerror.ts +59 -0
- package/src/models/components/invoicelineitemvalidationerror.ts +85 -0
- package/src/models/components/invoicepayment.ts +92 -0
- package/src/models/components/invoicepaymenttype.ts +21 -0
- package/src/models/components/invoicetransferpayment.ts +54 -0
- package/src/models/components/moovwallettransferpaymentmethod.ts +70 -0
- package/src/models/components/partnerpricingagreement.ts +9 -0
- package/src/models/components/paymentlinktype.ts +1 -0
- package/src/models/components/pullfromcardtransferpaymentmethod.ts +73 -0
- package/src/models/components/pushtocardtransferpaymentmethod.ts +73 -0
- package/src/models/components/rtpcredittransferpaymentmethod.ts +73 -0
- package/src/models/components/transfer.ts +7 -0
- package/src/models/components/transferdestination.ts +48 -48
- package/src/models/components/transferentrymode.ts +26 -0
- package/src/models/components/transferoptions.ts +13 -13
- package/src/models/components/transferpaymentmethod.ts +168 -0
- package/src/models/components/transferpaymentmethodsbankaccount.ts +120 -0
- package/src/models/components/transferpaymentmethodscard.ts +211 -0
- package/src/models/components/transferpaymentmethodswallet.ts +73 -0
- package/src/models/components/transferpaymentmethodtype.ts +39 -0
- package/src/models/components/transfersource.ts +49 -49
- package/src/models/components/transferterminalcard.ts +156 -0
- package/src/models/components/updateinvoice.ts +101 -0
- package/src/models/errors/createinvoiceerror.ts +104 -0
- package/src/models/errors/createinvoicepaymenterror.ts +85 -0
- package/src/models/errors/duplicatecarderror.ts +90 -0
- package/src/models/errors/feeplanagreementerror.ts +6 -0
- package/src/models/errors/index.ts +5 -0
- package/src/models/errors/listinvoicesvalidationerror.ts +116 -0
- package/src/models/errors/transfer.ts +12 -0
- package/src/models/errors/updateinvoiceerror.ts +100 -0
- package/src/models/operations/acceptdispute.ts +1 -1
- package/src/models/operations/assignaccountcountries.ts +1 -1
- package/src/models/operations/cancelschedule.ts +1 -1
- package/src/models/operations/completebankaccountverification.ts +1 -1
- package/src/models/operations/completemicrodeposits.ts +1 -1
- package/src/models/operations/connectaccount.ts +1 -1
- package/src/models/operations/createaccesstoken.ts +1 -1
- package/src/models/operations/createaccount.ts +1 -1
- package/src/models/operations/createapplepaysession.ts +1 -1
- package/src/models/operations/createbrand.ts +1 -1
- package/src/models/operations/createcancellation.ts +1 -1
- package/src/models/operations/createfeeplanagreements.ts +1 -1
- package/src/models/operations/createinvoice.ts +187 -0
- package/src/models/operations/createinvoicepayment.ts +197 -0
- package/src/models/operations/createonboardinginvite.ts +1 -1
- package/src/models/operations/createpaymentlink.ts +1 -1
- package/src/models/operations/createproduct.ts +1 -1
- package/src/models/operations/createreceipts.ts +1 -1
- package/src/models/operations/createrepresentative.ts +1 -1
- package/src/models/operations/createreversal.ts +1 -1
- package/src/models/operations/createschedule.ts +1 -1
- package/src/models/operations/createsweepconfig.ts +1 -1
- package/src/models/operations/createterminalapplication.ts +1 -1
- package/src/models/operations/createterminalapplicationversion.ts +1 -1
- package/src/models/operations/createticket.ts +1 -1
- package/src/models/operations/createtransfer.ts +3 -3
- package/src/models/operations/createtransferoptions.ts +1 -1
- package/src/models/operations/createwallet.ts +1 -1
- package/src/models/operations/createwebhook.ts +1 -1
- package/src/models/operations/deletedisputeevidencefile.ts +1 -1
- package/src/models/operations/deleteimage.ts +1 -1
- package/src/models/operations/deleteinvoice.ts +172 -0
- package/src/models/operations/deleterepresentative.ts +1 -1
- package/src/models/operations/deleteterminalapplication.ts +1 -1
- package/src/models/operations/disablebankaccount.ts +1 -1
- package/src/models/operations/disablecapability.ts +1 -1
- package/src/models/operations/disablecard.ts +1 -1
- package/src/models/operations/disablepaymentlink.ts +1 -1
- package/src/models/operations/disableproduct.ts +1 -1
- package/src/models/operations/disablewebhook.ts +1 -1
- package/src/models/operations/disconnectaccount.ts +1 -1
- package/src/models/operations/generateendtoendkey.ts +1 -1
- package/src/models/operations/getaccount.ts +1 -1
- package/src/models/operations/getaccountcountries.ts +1 -1
- package/src/models/operations/getaccountterminalapplication.ts +1 -1
- package/src/models/operations/getadjustment.ts +1 -1
- package/src/models/operations/getapplepaymerchantdomains.ts +1 -1
- package/src/models/operations/getavatar.ts +1 -1
- package/src/models/operations/getbankaccount.ts +1 -1
- package/src/models/operations/getbankaccountverification.ts +1 -1
- package/src/models/operations/getbrand.ts +1 -1
- package/src/models/operations/getcancellation.ts +1 -1
- package/src/models/operations/getcapability.ts +1 -1
- package/src/models/operations/getcard.ts +1 -1
- package/src/models/operations/getdispute.ts +1 -1
- package/src/models/operations/getdisputeevidence.ts +1 -1
- package/src/models/operations/getdisputeevidencedata.ts +1 -1
- package/src/models/operations/getenrichmentaddress.ts +1 -1
- package/src/models/operations/getenrichmentprofile.ts +1 -1
- package/src/models/operations/getfiledetails.ts +1 -1
- package/src/models/operations/getfullissuedcard.ts +1 -1
- package/src/models/operations/getimagemetadata.ts +1 -1
- package/src/models/operations/getinvoice.ts +179 -0
- package/src/models/operations/getissuedcard.ts +1 -1
- package/src/models/operations/getissuedcardauthorization.ts +1 -1
- package/src/models/operations/getissuedcardtransaction.ts +1 -1
- package/src/models/operations/getmerchantprocessingagreement.ts +1 -1
- package/src/models/operations/getonboardinginvite.ts +1 -1
- package/src/models/operations/getpaymentlink.ts +1 -1
- package/src/models/operations/getpaymentlinkqrcode.ts +1 -1
- package/src/models/operations/getpaymentmethod.ts +1 -1
- package/src/models/operations/getproduct.ts +1 -1
- package/src/models/operations/getpublicimage.ts +8 -6
- package/src/models/operations/getrefund.ts +1 -1
- package/src/models/operations/getrepresentative.ts +1 -1
- package/src/models/operations/getresidual.ts +1 -1
- package/src/models/operations/getscheduledoccurrence.ts +5 -5
- package/src/models/operations/getschedules.ts +1 -1
- package/src/models/operations/getstatement.ts +1 -1
- package/src/models/operations/getsweep.ts +1 -1
- package/src/models/operations/getsweepconfig.ts +1 -1
- package/src/models/operations/getterminalapplication.ts +1 -1
- package/src/models/operations/getterminalconfiguration.ts +1 -1
- package/src/models/operations/gettermsofservicetoken.ts +1 -1
- package/src/models/operations/getticket.ts +1 -1
- package/src/models/operations/gettransfer.ts +1 -1
- package/src/models/operations/getunderwriting.ts +1 -1
- package/src/models/operations/getwallet.ts +1 -1
- package/src/models/operations/getwallettransaction.ts +1 -1
- package/src/models/operations/getwebhook.ts +1 -1
- package/src/models/operations/getwebhooksecret.ts +1 -1
- package/src/models/operations/index.ts +7 -0
- package/src/models/operations/initiatebankaccountverification.ts +1 -1
- package/src/models/operations/initiatemicrodeposits.ts +1 -1
- package/src/models/operations/initiaterefund.ts +1 -1
- package/src/models/operations/linkaccountterminalapplication.ts +1 -1
- package/src/models/operations/linkapplepaytoken.ts +1 -1
- package/src/models/operations/linkbankaccount.ts +1 -1
- package/src/models/operations/linkcard.ts +1 -1
- package/src/models/operations/listaccounts.ts +1 -1
- package/src/models/operations/listaccountterminalapplications.ts +1 -1
- package/src/models/operations/listadjustments.ts +1 -1
- package/src/models/operations/listbankaccounts.ts +1 -1
- package/src/models/operations/listcapabilities.ts +1 -1
- package/src/models/operations/listcards.ts +1 -1
- package/src/models/operations/listconnectedaccountsforaccount.ts +1 -1
- package/src/models/operations/listdisputeevidence.ts +1 -1
- package/src/models/operations/listdisputes.ts +1 -1
- package/src/models/operations/listeventtypes.ts +1 -1
- package/src/models/operations/listfeeplanagreements.ts +1 -1
- package/src/models/operations/listfeeplans.ts +1 -1
- package/src/models/operations/listfeerevenue.ts +1 -1
- package/src/models/operations/listfeesfetch.ts +1 -1
- package/src/models/operations/listfiles.ts +1 -1
- package/src/models/operations/listimagemetadata.ts +1 -1
- package/src/models/operations/listindustries.ts +1 -1
- package/src/models/operations/listinstitutions.ts +1 -1
- package/src/models/operations/listinvoicepayments.ts +181 -0
- package/src/models/operations/listinvoices.ts +215 -0
- package/src/models/operations/listissuedcardauthorizationevents.ts +1 -1
- package/src/models/operations/listissuedcardauthorizations.ts +1 -1
- package/src/models/operations/listissuedcards.ts +1 -1
- package/src/models/operations/listissuedcardtransactions.ts +1 -1
- package/src/models/operations/listonboardinginvites.ts +1 -1
- package/src/models/operations/listpartnerpricingagreements.ts +1 -1
- package/src/models/operations/listpaymentlinks.ts +8 -9
- package/src/models/operations/listpaymentmethods.ts +1 -1
- package/src/models/operations/listproducts.ts +1 -1
- package/src/models/operations/listreceipts.ts +1 -1
- package/src/models/operations/listrefunds.ts +1 -1
- package/src/models/operations/listrepresentatives.ts +1 -1
- package/src/models/operations/listresidualfees.ts +1 -1
- package/src/models/operations/listresiduals.ts +1 -1
- package/src/models/operations/listschedules.ts +1 -1
- package/src/models/operations/liststatements.ts +1 -1
- package/src/models/operations/listsweepconfigs.ts +1 -1
- package/src/models/operations/listsweeps.ts +1 -1
- package/src/models/operations/listterminalapplications.ts +1 -1
- package/src/models/operations/listticketmessages.ts +1 -1
- package/src/models/operations/listtickets.ts +1 -1
- package/src/models/operations/listtransfers.ts +1 -1
- package/src/models/operations/listwallets.ts +1 -1
- package/src/models/operations/listwallettransactions.ts +1 -1
- package/src/models/operations/listwebhooks.ts +1 -1
- package/src/models/operations/ping.ts +1 -1
- package/src/models/operations/pingwebhook.ts +1 -1
- package/src/models/operations/registerapplepaymerchantdomains.ts +1 -1
- package/src/models/operations/requestcapabilities.ts +1 -1
- package/src/models/operations/requestcard.ts +1 -1
- package/src/models/operations/retrievefees.ts +1 -1
- package/src/models/operations/revokeaccesstoken.ts +1 -1
- package/src/models/operations/revokeonboardinginvite.ts +1 -1
- package/src/models/operations/saveunderwriting.ts +1 -1
- package/src/models/operations/searchinstitutions.ts +1 -1
- package/src/models/operations/submitdisputeevidence.ts +1 -1
- package/src/models/operations/testendtoendtoken.ts +1 -1
- package/src/models/operations/updateaccount.ts +1 -1
- package/src/models/operations/updateapplepaymerchantdomains.ts +1 -1
- package/src/models/operations/updatecard.ts +1 -1
- package/src/models/operations/updatedisputeevidence.ts +1 -1
- package/src/models/operations/updateimage.ts +1 -1
- package/src/models/operations/updateimagemetadata.ts +1 -1
- package/src/models/operations/updateinvoice.ts +191 -0
- package/src/models/operations/updateissuedcard.ts +1 -1
- package/src/models/operations/updatepaymentlink.ts +1 -1
- package/src/models/operations/updateproduct.ts +1 -1
- package/src/models/operations/updaterepresentative.ts +1 -1
- package/src/models/operations/updateschedule.ts +1 -1
- package/src/models/operations/updatesweepconfig.ts +1 -1
- package/src/models/operations/updateticket.ts +1 -1
- package/src/models/operations/updatetransfer.ts +1 -1
- package/src/models/operations/updatewallet.ts +1 -1
- package/src/models/operations/updatewebhook.ts +1 -1
- package/src/models/operations/uploaddisputeevidencefile.ts +1 -1
- package/src/models/operations/uploaddisputeevidencetext.ts +1 -1
- package/src/models/operations/uploadfile.ts +1 -1
- package/src/models/operations/uploadimage.ts +1 -1
- package/src/models/operations/upsertbrand.ts +1 -1
- package/src/models/operations/upsertunderwriting.ts +1 -1
- package/src/sdk/invoices.ts +142 -0
- package/src/sdk/sdk.ts +6 -0
- package/_speakeasy/.github/action-inputs-config.json +0 -53
- package/_speakeasy/.github/action-security-config.json +0 -88
- package/examples/package-lock.json +0 -620
- package/examples/package.json +0 -18
- package/models/components/rtpfailurecode.d.ts.map +0 -1
- package/models/components/rtpfailurecode.js.map +0 -1
- package/models/components/rtptransactiondetails.d.ts +0 -43
- package/models/components/rtptransactiondetails.d.ts.map +0 -1
- package/models/components/rtptransactiondetails.js.map +0 -1
- package/models/components/rtptransactionstatus.d.ts +0 -20
- package/models/components/rtptransactionstatus.d.ts.map +0 -1
- package/models/components/rtptransactionstatus.js.map +0 -1
- package/renovate.json +0 -30
- package/src/models/components/rtptransactiondetails.ts +0 -102
- package/src/models/components/rtptransactionstatus.ts +0 -29
- package/test/package.json +0 -27
- package/test/tsconfig.json +0 -30
- package/tsconfig.json +0 -40
package/README.md
CHANGED
|
@@ -804,6 +804,44 @@ Search for institutions by either their name or routing number.
|
|
|
804
804
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
805
805
|
you'll need to specify the `/fed.read` scope. :warning: **Deprecated**
|
|
806
806
|
|
|
807
|
+
### [Invoices](docs/sdks/invoices/README.md)
|
|
808
|
+
|
|
809
|
+
* [createInvoice](docs/sdks/invoices/README.md#createinvoice) - Create an invoice for a Moov account.
|
|
810
|
+
|
|
811
|
+
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
812
|
+
you'll need to specify the `/accounts/{accountID}/invoices.write` scope.
|
|
813
|
+
* [listInvoices](docs/sdks/invoices/README.md#listinvoices) - List all the invoices created under a Moov account.
|
|
814
|
+
|
|
815
|
+
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
816
|
+
you'll need to specify the `/accounts/{accountID}/invoices.read` scope.
|
|
817
|
+
* [getInvoice](docs/sdks/invoices/README.md#getinvoice) - Retrieve an invoice by ID.
|
|
818
|
+
|
|
819
|
+
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
820
|
+
you'll need to specify the `/accounts/{accountID}/invoices.read` scope.
|
|
821
|
+
* [updateInvoice](docs/sdks/invoices/README.md#updateinvoice) - Updates an invoice.
|
|
822
|
+
|
|
823
|
+
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
824
|
+
you'll need to specify the `/accounts/{accountID}/invoices.write` scope.
|
|
825
|
+
* [delete](docs/sdks/invoices/README.md#delete) - Delete an invoice. Only invoices in `draft` status can be deleted.
|
|
826
|
+
|
|
827
|
+
Deleting an invoice indicates it was created by mistake and should be completely disregarded.
|
|
828
|
+
Deleted invoices are hidden from list results by default, but can still be retrieved
|
|
829
|
+
individually through the get invoice endpoint. If you need to void an invoice that was
|
|
830
|
+
already sent or is otherwise part of the invoice history, cancel it instead by updating
|
|
831
|
+
its status to `canceled`.
|
|
832
|
+
|
|
833
|
+
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
834
|
+
you'll need to specify the `/accounts/{accountID}/invoices.write` scope.
|
|
835
|
+
* [createInvoicePayment](docs/sdks/invoices/README.md#createinvoicepayment) - Creates a payment resource to represent that an invoice was paid outside of the Moov platform.
|
|
836
|
+
If a payment link was created for the invoice, the corresponding payment link is canceled, but a receipt is still sent.
|
|
837
|
+
|
|
838
|
+
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
839
|
+
you'll need to specify the `/accounts/{accountID}/invoices.write` scope.
|
|
840
|
+
* [listInvoicePayments](docs/sdks/invoices/README.md#listinvoicepayments) - List all the payments made towards an invoice.
|
|
841
|
+
|
|
842
|
+
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
843
|
+
you'll need to specify the `/accounts/{accountID}/invoices.read` scope.
|
|
844
|
+
|
|
807
845
|
### [IssuingTransactions](docs/sdks/issuingtransactions/README.md)
|
|
808
846
|
|
|
809
847
|
* [listAuthorizations](docs/sdks/issuingtransactions/README.md#listauthorizations) - List issued card authorizations associated with a Moov account.
|
|
@@ -1737,6 +1775,41 @@ This can be used to validate a financial institution before initiating payment a
|
|
|
1737
1775
|
|
|
1738
1776
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
1739
1777
|
you'll need to specify the `/institutions.read` scope.
|
|
1778
|
+
- [`invoicesCreateInvoice`](docs/sdks/invoices/README.md#createinvoice) - Create an invoice for a Moov account.
|
|
1779
|
+
|
|
1780
|
+
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
1781
|
+
you'll need to specify the `/accounts/{accountID}/invoices.write` scope.
|
|
1782
|
+
- [`invoicesCreateInvoicePayment`](docs/sdks/invoices/README.md#createinvoicepayment) - Creates a payment resource to represent that an invoice was paid outside of the Moov platform.
|
|
1783
|
+
If a payment link was created for the invoice, the corresponding payment link is canceled, but a receipt is still sent.
|
|
1784
|
+
|
|
1785
|
+
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
1786
|
+
you'll need to specify the `/accounts/{accountID}/invoices.write` scope.
|
|
1787
|
+
- [`invoicesDelete`](docs/sdks/invoices/README.md#delete) - Delete an invoice. Only invoices in `draft` status can be deleted.
|
|
1788
|
+
|
|
1789
|
+
Deleting an invoice indicates it was created by mistake and should be completely disregarded.
|
|
1790
|
+
Deleted invoices are hidden from list results by default, but can still be retrieved
|
|
1791
|
+
individually through the get invoice endpoint. If you need to void an invoice that was
|
|
1792
|
+
already sent or is otherwise part of the invoice history, cancel it instead by updating
|
|
1793
|
+
its status to `canceled`.
|
|
1794
|
+
|
|
1795
|
+
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
1796
|
+
you'll need to specify the `/accounts/{accountID}/invoices.write` scope.
|
|
1797
|
+
- [`invoicesGetInvoice`](docs/sdks/invoices/README.md#getinvoice) - Retrieve an invoice by ID.
|
|
1798
|
+
|
|
1799
|
+
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
1800
|
+
you'll need to specify the `/accounts/{accountID}/invoices.read` scope.
|
|
1801
|
+
- [`invoicesListInvoicePayments`](docs/sdks/invoices/README.md#listinvoicepayments) - List all the payments made towards an invoice.
|
|
1802
|
+
|
|
1803
|
+
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
1804
|
+
you'll need to specify the `/accounts/{accountID}/invoices.read` scope.
|
|
1805
|
+
- [`invoicesListInvoices`](docs/sdks/invoices/README.md#listinvoices) - List all the invoices created under a Moov account.
|
|
1806
|
+
|
|
1807
|
+
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
1808
|
+
you'll need to specify the `/accounts/{accountID}/invoices.read` scope.
|
|
1809
|
+
- [`invoicesUpdateInvoice`](docs/sdks/invoices/README.md#updateinvoice) - Updates an invoice.
|
|
1810
|
+
|
|
1811
|
+
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
1812
|
+
you'll need to specify the `/accounts/{accountID}/invoices.write` scope.
|
|
1740
1813
|
- [`issuingTransactionsGet`](docs/sdks/issuingtransactions/README.md#get) - Retrieves details of an issued card transaction associated with a specific Moov account.
|
|
1741
1814
|
|
|
1742
1815
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
@@ -2310,7 +2383,7 @@ run();
|
|
|
2310
2383
|
**Primary error:**
|
|
2311
2384
|
* [`MoovError`](./src/models/errors/mooverror.ts): The base class for HTTP error responses.
|
|
2312
2385
|
|
|
2313
|
-
<details><summary>Less common errors (
|
|
2386
|
+
<details><summary>Less common errors (60)</summary>
|
|
2314
2387
|
|
|
2315
2388
|
<br />
|
|
2316
2389
|
|
|
@@ -2323,55 +2396,60 @@ run();
|
|
|
2323
2396
|
|
|
2324
2397
|
|
|
2325
2398
|
**Inherit from [`MoovError`](./src/models/errors/mooverror.ts)**:
|
|
2326
|
-
* [`GenericError`](./src/models/errors/genericerror.ts): Applicable to
|
|
2327
|
-
* [`BrandValidationError`](./src/models/errors/brandvalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 2 of
|
|
2328
|
-
* [`ImageRequestValidationError`](./src/models/errors/imagerequestvalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 2 of
|
|
2329
|
-
* [`ProductRequestValidationError`](./src/models/errors/productrequestvalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 2 of
|
|
2330
|
-
* [`ScheduleValidationError`](./src/models/errors/schedulevalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 2 of
|
|
2331
|
-
* [`TerminalApplicationError`](./src/models/errors/terminalapplicationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 2 of
|
|
2332
|
-
* [`
|
|
2333
|
-
* [`
|
|
2334
|
-
* [`
|
|
2335
|
-
* [`
|
|
2336
|
-
* [`
|
|
2337
|
-
* [`
|
|
2338
|
-
* [`
|
|
2339
|
-
* [`
|
|
2340
|
-
* [`
|
|
2341
|
-
* [`
|
|
2342
|
-
* [`
|
|
2343
|
-
* [`
|
|
2344
|
-
* [`
|
|
2345
|
-
* [`
|
|
2346
|
-
* [`
|
|
2347
|
-
* [`
|
|
2348
|
-
* [`
|
|
2349
|
-
* [`
|
|
2350
|
-
* [`
|
|
2351
|
-
* [`
|
|
2352
|
-
* [`
|
|
2353
|
-
* [`
|
|
2354
|
-
* [`
|
|
2355
|
-
* [`
|
|
2356
|
-
* [`
|
|
2357
|
-
* [`
|
|
2358
|
-
* [`
|
|
2359
|
-
* [`
|
|
2360
|
-
* [`
|
|
2361
|
-
* [`
|
|
2362
|
-
* [`
|
|
2363
|
-
* [`
|
|
2364
|
-
* [`
|
|
2365
|
-
* [`
|
|
2366
|
-
* [`
|
|
2367
|
-
* [`
|
|
2368
|
-
* [`
|
|
2369
|
-
* [`
|
|
2370
|
-
* [`
|
|
2371
|
-
* [`
|
|
2372
|
-
* [`
|
|
2373
|
-
* [`
|
|
2374
|
-
* [`
|
|
2399
|
+
* [`GenericError`](./src/models/errors/genericerror.ts): Applicable to 79 of 178 methods.*
|
|
2400
|
+
* [`BrandValidationError`](./src/models/errors/brandvalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 2 of 178 methods.*
|
|
2401
|
+
* [`ImageRequestValidationError`](./src/models/errors/imagerequestvalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 2 of 178 methods.*
|
|
2402
|
+
* [`ProductRequestValidationError`](./src/models/errors/productrequestvalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 2 of 178 methods.*
|
|
2403
|
+
* [`ScheduleValidationError`](./src/models/errors/schedulevalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 2 of 178 methods.*
|
|
2404
|
+
* [`TerminalApplicationError`](./src/models/errors/terminalapplicationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 2 of 178 methods.*
|
|
2405
|
+
* [`DuplicateCardError`](./src/models/errors/duplicatecarderror.ts): Attempted to link card that already exists on the account. Status code `409`. Applicable to 1 of 178 methods.*
|
|
2406
|
+
* [`Transfer`](./src/models/errors/transfer.ts): Details of a Transfer. Status code `409`. Applicable to 1 of 178 methods.*
|
|
2407
|
+
* [`CardAcquiringRefund`](./src/models/errors/cardacquiringrefund.ts): Details of a card refund. Status code `409`. Applicable to 1 of 178 methods.*
|
|
2408
|
+
* [`CreateAccountError`](./src/models/errors/createaccounterror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 178 methods.*
|
|
2409
|
+
* [`PatchAccountError`](./src/models/errors/patchaccounterror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 178 methods.*
|
|
2410
|
+
* [`ConnectAccountRequestValidationError`](./src/models/errors/connectaccountrequestvalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 178 methods.*
|
|
2411
|
+
* [`AssignCountriesError`](./src/models/errors/assigncountrieserror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 178 methods.*
|
|
2412
|
+
* [`LinkApplePayError`](./src/models/errors/linkapplepayerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 178 methods.*
|
|
2413
|
+
* [`BankAccountValidationError`](./src/models/errors/bankaccountvalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 178 methods.*
|
|
2414
|
+
* [`MicroDepositValidationError`](./src/models/errors/microdepositvalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 178 methods.*
|
|
2415
|
+
* [`AddCapabilitiesError`](./src/models/errors/addcapabilitieserror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 178 methods.*
|
|
2416
|
+
* [`LinkCardError`](./src/models/errors/linkcarderror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 178 methods.*
|
|
2417
|
+
* [`UpdateCardError`](./src/models/errors/updatecarderror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 178 methods.*
|
|
2418
|
+
* [`FileUploadValidationError`](./src/models/errors/fileuploadvalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 178 methods.*
|
|
2419
|
+
* [`FeePlanAgreementError`](./src/models/errors/feeplanagreementerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 178 methods.*
|
|
2420
|
+
* [`FileValidationError`](./src/models/errors/filevalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 178 methods.*
|
|
2421
|
+
* [`ImageMetadataValidationError`](./src/models/errors/imagemetadatavalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 178 methods.*
|
|
2422
|
+
* [`CreateInvoiceError`](./src/models/errors/createinvoiceerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 178 methods.*
|
|
2423
|
+
* [`ListInvoicesValidationError`](./src/models/errors/listinvoicesvalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 178 methods.*
|
|
2424
|
+
* [`UpdateInvoiceError`](./src/models/errors/updateinvoiceerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 178 methods.*
|
|
2425
|
+
* [`CreateInvoicePaymentError`](./src/models/errors/createinvoicepaymenterror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 178 methods.*
|
|
2426
|
+
* [`CreatePaymentLinkError`](./src/models/errors/createpaymentlinkerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 178 methods.*
|
|
2427
|
+
* [`UpdatePaymentLinkError`](./src/models/errors/updatepaymentlinkerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 178 methods.*
|
|
2428
|
+
* [`RepresentativeValidationError`](./src/models/errors/representativevalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 178 methods.*
|
|
2429
|
+
* [`CreateSweepConfigError`](./src/models/errors/createsweepconfigerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 178 methods.*
|
|
2430
|
+
* [`PatchSweepConfigError`](./src/models/errors/patchsweepconfigerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 178 methods.*
|
|
2431
|
+
* [`AccountTerminalApplicationError`](./src/models/errors/accountterminalapplicationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 178 methods.*
|
|
2432
|
+
* [`CreateTicketError`](./src/models/errors/createticketerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 178 methods.*
|
|
2433
|
+
* [`UpdateTicketError`](./src/models/errors/updateticketerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 178 methods.*
|
|
2434
|
+
* [`TransferOptionsValidationError`](./src/models/errors/transferoptionsvalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 178 methods.*
|
|
2435
|
+
* [`TransferValidationError`](./src/models/errors/transfervalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 178 methods.*
|
|
2436
|
+
* [`ListTransfersValidationError`](./src/models/errors/listtransfersvalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 178 methods.*
|
|
2437
|
+
* [`PatchTransferValidationError`](./src/models/errors/patchtransfervalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 178 methods.*
|
|
2438
|
+
* [`RefundValidationError`](./src/models/errors/refundvalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 178 methods.*
|
|
2439
|
+
* [`ReversalValidationError`](./src/models/errors/reversalvalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 178 methods.*
|
|
2440
|
+
* [`UpsertUnderwritingError`](./src/models/errors/upsertunderwritingerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 178 methods.*
|
|
2441
|
+
* [`UpdateUnderwritingError`](./src/models/errors/updateunderwritingerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 178 methods.*
|
|
2442
|
+
* [`CreateWalletValidationError`](./src/models/errors/createwalletvalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 178 methods.*
|
|
2443
|
+
* [`ListWalletsValidationError`](./src/models/errors/listwalletsvalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 178 methods.*
|
|
2444
|
+
* [`PatchWalletValidationError`](./src/models/errors/patchwalletvalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 178 methods.*
|
|
2445
|
+
* [`ListWalletTransactionsValidationError`](./src/models/errors/listwallettransactionsvalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 178 methods.*
|
|
2446
|
+
* [`CreateWebhookValidationError`](./src/models/errors/createwebhookvalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 178 methods.*
|
|
2447
|
+
* [`UpdateWebhookValidationError`](./src/models/errors/updatewebhookvalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 178 methods.*
|
|
2448
|
+
* [`RequestCardError`](./src/models/errors/requestcarderror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 178 methods.*
|
|
2449
|
+
* [`UpdateIssuedCardError`](./src/models/errors/updateissuedcarderror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 178 methods.*
|
|
2450
|
+
* [`RevokeTokenRequestError`](./src/models/errors/revoketokenrequesterror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 178 methods.*
|
|
2451
|
+
* [`AuthTokenRequestError`](./src/models/errors/authtokenrequesterror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 178 methods.*
|
|
2452
|
+
* [`OnboardingInviteError`](./src/models/errors/onboardinginviteerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 178 methods.*
|
|
2375
2453
|
* [`ResponseValidationError`](./src/models/errors/responsevalidationerror.ts): Type mismatch between the data returned from the server and the structure expected by the SDK. See `error.rawValue` for the raw value and `error.pretty()` for a nicely formatted multi-line string.
|
|
2376
2454
|
|
|
2377
2455
|
</details>
|
|
@@ -2428,19 +2506,23 @@ The `HTTPClient` constructor takes an optional `fetcher` argument that can be
|
|
|
2428
2506
|
used to integrate a third-party HTTP client or when writing tests to mock out
|
|
2429
2507
|
the HTTP client and feed in fixtures.
|
|
2430
2508
|
|
|
2431
|
-
The following example shows how to
|
|
2432
|
-
|
|
2433
|
-
to
|
|
2509
|
+
The following example shows how to:
|
|
2510
|
+
- route requests through a proxy server using [undici](https://www.npmjs.com/package/undici)'s ProxyAgent
|
|
2511
|
+
- use the `"beforeRequest"` hook to add a custom header and a timeout to requests
|
|
2512
|
+
- use the `"requestError"` hook to log errors
|
|
2434
2513
|
|
|
2435
2514
|
```typescript
|
|
2436
2515
|
import { Moov } from "@moovio/sdk";
|
|
2516
|
+
import { ProxyAgent } from "undici";
|
|
2437
2517
|
import { HTTPClient } from "@moovio/sdk/lib/http";
|
|
2438
2518
|
|
|
2519
|
+
const dispatcher = new ProxyAgent("http://proxy.example.com:8080");
|
|
2520
|
+
|
|
2439
2521
|
const httpClient = new HTTPClient({
|
|
2440
|
-
// fetcher takes a function that has the same signature as native
|
|
2441
|
-
fetcher: (
|
|
2442
|
-
|
|
2443
|
-
|
|
2522
|
+
// 'fetcher' takes a function that has the same signature as native 'fetch'.
|
|
2523
|
+
fetcher: (input, init) =>
|
|
2524
|
+
// 'dispatcher' is specific to undici and not part of the standard Fetch API.
|
|
2525
|
+
fetch(input, { ...init, dispatcher } as RequestInit),
|
|
2444
2526
|
});
|
|
2445
2527
|
|
|
2446
2528
|
httpClient.addHook("beforeRequest", (request) => {
|