@moovio/sdk 0.0.0-dev.28 → 0.0.0-dev.29
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 +111 -74
- package/bin/mcp-server.js +2111 -1146
- package/bin/mcp-server.js.map +95 -66
- package/funcs/cardIssuingListMerchantCategories.d.ts +19 -0
- package/funcs/cardIssuingListMerchantCategories.d.ts.map +1 -0
- package/funcs/cardIssuingListMerchantCategories.js +109 -0
- package/funcs/cardIssuingListMerchantCategories.js.map +1 -0
- package/funcs/transfersCreateCancellation.js +4 -1
- package/funcs/transfersCreateCancellation.js.map +1 -1
- package/funcs/transfersCreateCapture.d.ts +18 -0
- package/funcs/transfersCreateCapture.d.ts.map +1 -0
- package/funcs/transfersCreateCapture.js +132 -0
- package/funcs/transfersCreateCapture.js.map +1 -0
- package/funcs/transfersGetCapture.d.ts +17 -0
- package/funcs/transfersGetCapture.d.ts.map +1 -0
- package/funcs/transfersGetCapture.js +133 -0
- package/funcs/transfersGetCapture.js.map +1 -0
- package/funcs/transfersList.js +1 -0
- package/funcs/transfersList.js.map +1 -1
- package/funcs/transfersListCaptures.d.ts +17 -0
- package/funcs/transfersListCaptures.d.ts.map +1 -0
- package/funcs/transfersListCaptures.js +129 -0
- package/funcs/transfersListCaptures.js.map +1 -0
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.d.ts.map +1 -1
- package/mcp-server/server.js +14 -6
- package/mcp-server/server.js.map +1 -1
- package/mcp-server/tools/avatarsGet.js +1 -1
- package/mcp-server/tools/cardIssuingListMerchantCategories.d.ts +3 -0
- package/mcp-server/tools/cardIssuingListMerchantCategories.d.ts.map +1 -0
- package/mcp-server/tools/cardIssuingListMerchantCategories.js +29 -0
- package/mcp-server/tools/cardIssuingListMerchantCategories.js.map +1 -0
- package/mcp-server/tools/enrichedAddressGet.js +1 -1
- package/mcp-server/tools/enrichedProfileGet.js +1 -1
- package/mcp-server/tools/institutionsSearch.js +1 -1
- package/mcp-server/tools/transfersCreateCapture.d.ts +8 -0
- package/mcp-server/tools/transfersCreateCapture.d.ts.map +1 -0
- package/mcp-server/tools/transfersCreateCapture.js +65 -0
- package/mcp-server/tools/transfersCreateCapture.js.map +1 -0
- package/mcp-server/tools/transfersGetCapture.d.ts +8 -0
- package/mcp-server/tools/transfersGetCapture.d.ts.map +1 -0
- package/{models/components/instantbanktransactionstatus.js → mcp-server/tools/transfersGetCapture.js} +26 -15
- package/mcp-server/tools/transfersGetCapture.js.map +1 -0
- package/mcp-server/tools/transfersListCaptures.d.ts +8 -0
- package/mcp-server/tools/transfersListCaptures.d.ts.map +1 -0
- package/mcp-server/tools/transfersListCaptures.js +65 -0
- package/mcp-server/tools/transfersListCaptures.js.map +1 -0
- package/models/components/achcreditoptions.d.ts +28 -0
- package/models/components/achcreditoptions.d.ts.map +1 -0
- package/models/components/achcreditoptions.js +64 -0
- package/models/components/achcreditoptions.js.map +1 -0
- package/models/components/achcredittransferprocessingdetails.d.ts +22 -0
- package/models/components/achcredittransferprocessingdetails.d.ts.map +1 -0
- package/models/components/achcredittransferprocessingdetails.js +64 -0
- package/models/components/achcredittransferprocessingdetails.js.map +1 -0
- package/models/components/achdebitoptions.d.ts +40 -0
- package/models/components/achdebitoptions.d.ts.map +1 -0
- package/models/components/{achtransactiondetails.js → achdebitoptions.js} +10 -34
- package/models/components/achdebitoptions.js.map +1 -0
- package/models/components/achdebittransferprocessingdetails.d.ts +22 -0
- package/models/components/achdebittransferprocessingdetails.d.ts.map +1 -0
- package/models/components/achdebittransferprocessingdetails.js +64 -0
- package/models/components/achdebittransferprocessingdetails.js.map +1 -0
- package/models/components/asynccreatedrefund.d.ts +8 -3
- package/models/components/asynccreatedrefund.d.ts.map +1 -1
- package/models/components/asynccreatedrefund.js +5 -3
- package/models/components/asynccreatedrefund.js.map +1 -1
- package/models/components/capture.d.ts +77 -0
- package/models/components/capture.d.ts.map +1 -0
- package/models/components/capture.js +85 -0
- package/models/components/capture.js.map +1 -0
- package/models/components/capturestatus.d.ts +16 -0
- package/models/components/capturestatus.d.ts.map +1 -0
- package/models/components/{refundcardstatus.js → capturestatus.js} +9 -8
- package/models/components/capturestatus.js.map +1 -0
- package/models/components/cardacquiringrefund.d.ts +11 -6
- package/models/components/cardacquiringrefund.d.ts.map +1 -1
- package/models/components/cardacquiringrefund.js +8 -6
- package/models/components/cardacquiringrefund.js.map +1 -1
- package/models/components/cardpaymentoptions.d.ts +31 -0
- package/models/components/cardpaymentoptions.d.ts.map +1 -0
- package/models/components/cardpaymentoptions.js +62 -0
- package/models/components/cardpaymentoptions.js.map +1 -0
- package/models/components/cardpaymentrefundprocessingdetails.d.ts +18 -0
- package/models/components/cardpaymentrefundprocessingdetails.d.ts.map +1 -0
- package/models/components/{refundcarddetails.js → cardpaymentrefundprocessingdetails.js} +10 -23
- package/models/components/cardpaymentrefundprocessingdetails.js.map +1 -0
- package/models/components/cardpaymenttransferprocessingdetails.d.ts +24 -0
- package/models/components/cardpaymenttransferprocessingdetails.d.ts.map +1 -0
- package/models/components/cardpaymenttransferprocessingdetails.js +66 -0
- package/models/components/cardpaymenttransferprocessingdetails.js.map +1 -0
- package/models/components/createcancellation.d.ts +18 -0
- package/models/components/createcancellation.d.ts.map +1 -0
- package/models/components/{cardacquiringdispute.js → createcancellation.js} +13 -17
- package/models/components/createcancellation.js.map +1 -0
- package/models/components/createcapture.d.ts +70 -0
- package/models/components/createcapture.d.ts.map +1 -0
- package/models/components/createcapture.js +78 -0
- package/models/components/createcapture.js.map +1 -0
- package/models/components/createdtransfer.d.ts +24 -29
- package/models/components/createdtransfer.d.ts.map +1 -1
- package/models/components/createdtransfer.js +21 -23
- package/models/components/createdtransfer.js.map +1 -1
- package/models/components/createrefund.d.ts +10 -4
- package/models/components/createrefund.d.ts.map +1 -1
- package/models/components/createrefund.js +5 -2
- package/models/components/createrefund.js.map +1 -1
- package/models/components/createreversal.d.ts +4 -3
- package/models/components/createreversal.d.ts.map +1 -1
- package/models/components/createreversal.js +3 -2
- package/models/components/createreversal.js.map +1 -1
- package/models/components/createtransfer.d.ts +7 -7
- package/models/components/createtransfer.d.ts.map +1 -1
- package/models/components/createtransfer.js +6 -6
- package/models/components/createtransfer.js.map +1 -1
- package/models/components/createtransferfacilitatorfee.d.ts +29 -0
- package/models/components/createtransferfacilitatorfee.d.ts.map +1 -0
- package/models/components/createtransferfacilitatorfee.js +62 -0
- package/models/components/createtransferfacilitatorfee.js.map +1 -0
- package/models/components/createtransferoptions.d.ts +3 -3
- package/models/components/createtransferoptions.d.ts.map +1 -1
- package/models/components/createtransferoptions.js +3 -3
- package/models/components/createtransferoptions.js.map +1 -1
- package/models/components/index.d.ts +26 -10
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +26 -10
- package/models/components/index.js.map +1 -1
- package/models/components/instantbankcredittransferprocessingdetails.d.ts +31 -0
- package/models/components/instantbankcredittransferprocessingdetails.d.ts.map +1 -0
- package/models/components/{instantbanktransactiondetails.js → instantbankcredittransferprocessingdetails.js} +10 -21
- package/models/components/instantbankcredittransferprocessingdetails.js.map +1 -0
- package/models/components/merchantcategories.d.ts +21 -0
- package/models/components/merchantcategories.d.ts.map +1 -0
- package/models/components/{cardtransactionstatus.js → merchantcategories.js} +19 -17
- package/models/components/merchantcategories.js.map +1 -0
- package/models/components/merchantcategory.d.ts +32 -0
- package/models/components/merchantcategory.d.ts.map +1 -0
- package/models/components/merchantcategory.js +62 -0
- package/models/components/merchantcategory.js.map +1 -0
- package/models/components/moovfeedetails.d.ts +9 -8
- package/models/components/moovfeedetails.d.ts.map +1 -1
- package/models/components/moovfeedetails.js +9 -8
- package/models/components/moovfeedetails.js.map +1 -1
- package/models/components/paymentmethodswallet.d.ts +1 -0
- package/models/components/paymentmethodswallet.d.ts.map +1 -1
- package/models/components/paymentmethodswallet.js.map +1 -1
- package/models/components/pullfromcardoptions.d.ts +31 -0
- package/models/components/pullfromcardoptions.d.ts.map +1 -0
- package/models/components/pullfromcardoptions.js +62 -0
- package/models/components/pullfromcardoptions.js.map +1 -0
- package/models/components/pullfromcardtransferprocessingdetails.d.ts +24 -0
- package/models/components/pullfromcardtransferprocessingdetails.d.ts.map +1 -0
- package/models/components/pullfromcardtransferprocessingdetails.js +66 -0
- package/models/components/pullfromcardtransferprocessingdetails.js.map +1 -0
- package/models/components/pushtocardoptions.d.ts +20 -0
- package/models/components/pushtocardoptions.d.ts.map +1 -0
- package/models/components/{transfercapture.js → pushtocardoptions.js} +12 -14
- package/models/components/pushtocardoptions.js.map +1 -0
- package/models/components/pushtocardtransferprocessingdetails.d.ts +24 -0
- package/models/components/pushtocardtransferprocessingdetails.d.ts.map +1 -0
- package/models/components/pushtocardtransferprocessingdetails.js +66 -0
- package/models/components/pushtocardtransferprocessingdetails.js.map +1 -0
- package/models/components/refundprocessingdetails.d.ts +18 -0
- package/models/components/refundprocessingdetails.d.ts.map +1 -0
- package/models/components/refundprocessingdetails.js +60 -0
- package/models/components/refundprocessingdetails.js.map +1 -0
- package/models/components/sendfunds.d.ts +3 -0
- package/models/components/sendfunds.d.ts.map +1 -1
- package/models/components/sendfunds.js +3 -0
- package/models/components/sendfunds.js.map +1 -1
- package/models/components/sendfundserror.d.ts +3 -0
- package/models/components/sendfundserror.d.ts.map +1 -1
- package/models/components/sendfundserror.js +3 -0
- package/models/components/sendfundserror.js.map +1 -1
- package/models/components/sendfundswire.d.ts +18 -0
- package/models/components/sendfundswire.d.ts.map +1 -0
- package/models/components/sendfundswire.js +60 -0
- package/models/components/sendfundswire.js.map +1 -0
- package/models/components/sendfundswireerror.d.ts +18 -0
- package/models/components/sendfundswireerror.d.ts.map +1 -0
- package/models/components/sendfundswireerror.js +60 -0
- package/models/components/sendfundswireerror.js.map +1 -0
- package/models/components/transfer.d.ts +24 -29
- package/models/components/transfer.d.ts.map +1 -1
- package/models/components/transfer.js +21 -23
- package/models/components/transfer.js.map +1 -1
- package/models/components/transferauthorization.d.ts +28 -0
- package/models/components/transferauthorization.d.ts.map +1 -0
- package/models/components/transferauthorization.js +70 -0
- package/models/components/transferauthorization.js.map +1 -0
- package/models/components/transferdestination.d.ts +6 -24
- package/models/components/transferdestination.d.ts.map +1 -1
- package/models/components/transferdestination.js +6 -15
- package/models/components/transferdestination.js.map +1 -1
- package/models/components/transferpaymentmethodswallet.d.ts +1 -0
- package/models/components/transferpaymentmethodswallet.d.ts.map +1 -1
- package/models/components/transferpaymentmethodswallet.js.map +1 -1
- package/models/components/transferprocessingdetails.d.ts +33 -0
- package/models/components/transferprocessingdetails.d.ts.map +1 -0
- package/models/components/transferprocessingdetails.js +76 -0
- package/models/components/transferprocessingdetails.js.map +1 -0
- package/models/components/transferrailoptions.d.ts +30 -0
- package/models/components/transferrailoptions.d.ts.map +1 -0
- package/models/components/transferrailoptions.js +72 -0
- package/models/components/transferrailoptions.js.map +1 -0
- package/models/components/transfersource.d.ts +6 -18
- package/models/components/transfersource.d.ts.map +1 -1
- package/models/components/transfersource.js +6 -12
- package/models/components/transfersource.js.map +1 -1
- package/models/components/transferstatus.d.ts +1 -0
- package/models/components/transferstatus.d.ts.map +1 -1
- package/models/components/transferstatus.js +1 -0
- package/models/components/transferstatus.js.map +1 -1
- package/models/components/transfertype.d.ts +24 -0
- package/models/components/transfertype.d.ts.map +1 -0
- package/models/components/{achtransactionstatus.js → transfertype.js} +14 -13
- package/models/components/transfertype.js.map +1 -0
- package/models/components/wallet.d.ts +1 -0
- package/models/components/wallet.d.ts.map +1 -1
- package/models/components/wallet.js.map +1 -1
- package/models/components/wallettype.d.ts +3 -0
- package/models/components/wallettype.d.ts.map +1 -1
- package/models/components/wallettype.js +2 -0
- package/models/components/wallettype.js.map +1 -1
- package/models/components/webhookdatatransferstatus.d.ts +3 -0
- package/models/components/webhookdatatransferstatus.d.ts.map +1 -1
- package/models/components/webhookdatatransferstatus.js +3 -0
- package/models/components/webhookdatatransferstatus.js.map +1 -1
- package/models/errors/capturevalidationerror.d.ts +55 -0
- package/models/errors/capturevalidationerror.d.ts.map +1 -0
- package/models/errors/capturevalidationerror.js +117 -0
- package/models/errors/capturevalidationerror.js.map +1 -0
- package/models/errors/cardacquiringrefund.d.ts +15 -6
- package/models/errors/cardacquiringrefund.d.ts.map +1 -1
- package/models/errors/cardacquiringrefund.js +9 -6
- package/models/errors/cardacquiringrefund.js.map +1 -1
- package/models/errors/index.d.ts +1 -0
- package/models/errors/index.d.ts.map +1 -1
- package/models/errors/index.js +1 -0
- package/models/errors/index.js.map +1 -1
- package/models/errors/transfer.d.ts +30 -39
- package/models/errors/transfer.d.ts.map +1 -1
- package/models/errors/transfer.js +21 -29
- package/models/errors/transfer.js.map +1 -1
- package/models/operations/createcancellation.d.ts +2 -0
- package/models/operations/createcancellation.d.ts.map +1 -1
- package/models/operations/createcancellation.js +10 -0
- package/models/operations/createcancellation.js.map +1 -1
- package/models/operations/createcapture.d.ts +52 -0
- package/models/operations/createcapture.d.ts.map +1 -0
- package/models/operations/createcapture.js +105 -0
- package/models/operations/createcapture.js.map +1 -0
- package/models/operations/createreversal.d.ts +2 -2
- package/models/operations/createreversal.d.ts.map +1 -1
- package/models/operations/createreversal.js +2 -2
- package/models/operations/createreversal.js.map +1 -1
- package/models/operations/getcapture.d.ts +50 -0
- package/models/operations/getcapture.d.ts.map +1 -0
- package/models/operations/getcapture.js +93 -0
- package/models/operations/getcapture.js.map +1 -0
- package/models/operations/index.d.ts +4 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +4 -0
- package/models/operations/index.js.map +1 -1
- package/models/operations/initiaterefund.d.ts +2 -2
- package/models/operations/initiaterefund.d.ts.map +1 -1
- package/models/operations/initiaterefund.js +2 -2
- package/models/operations/initiaterefund.js.map +1 -1
- package/models/operations/listcaptures.d.ts +45 -0
- package/models/operations/listcaptures.d.ts.map +1 -0
- package/models/operations/listcaptures.js +91 -0
- package/models/operations/listcaptures.js.map +1 -0
- package/models/operations/listissuingmerchantcategories.d.ts +24 -0
- package/models/operations/listissuingmerchantcategories.d.ts.map +1 -0
- package/models/operations/listissuingmerchantcategories.js +72 -0
- package/models/operations/listissuingmerchantcategories.js.map +1 -0
- package/models/operations/listtransfers.d.ts +5 -0
- package/models/operations/listtransfers.d.ts.map +1 -1
- package/models/operations/listtransfers.js +2 -0
- package/models/operations/listtransfers.js.map +1 -1
- package/package.json +1 -1
- package/sdk/cardissuing.d.ts +9 -0
- package/sdk/cardissuing.d.ts.map +1 -1
- package/sdk/cardissuing.js +12 -0
- package/sdk/cardissuing.js.map +1 -1
- package/sdk/sdk.d.ts +2 -2
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +3 -3
- package/sdk/sdk.js.map +1 -1
- package/sdk/transfers.d.ts +21 -0
- package/sdk/transfers.d.ts.map +1 -1
- package/sdk/transfers.js +30 -0
- package/sdk/transfers.js.map +1 -1
- package/src/funcs/cardIssuingListMerchantCategories.ts +155 -0
- package/src/funcs/transfersCreateCancellation.ts +5 -2
- package/src/funcs/transfersCreateCapture.ts +196 -0
- package/src/funcs/transfersGetCapture.ts +185 -0
- package/src/funcs/transfersList.ts +1 -0
- package/src/funcs/transfersListCaptures.ts +181 -0
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +14 -6
- package/src/mcp-server/tools/avatarsGet.ts +1 -1
- package/src/mcp-server/tools/cardIssuingListMerchantCategories.ts +34 -0
- package/src/mcp-server/tools/enrichedAddressGet.ts +1 -1
- package/src/mcp-server/tools/enrichedProfileGet.ts +1 -1
- package/src/mcp-server/tools/institutionsSearch.ts +1 -1
- package/src/mcp-server/tools/transfersCreateCapture.ts +38 -0
- package/src/mcp-server/tools/transfersGetCapture.ts +38 -0
- package/src/mcp-server/tools/transfersListCaptures.ts +38 -0
- package/src/models/components/achcreditoptions.ts +72 -0
- package/src/models/components/achcredittransferprocessingdetails.ts +69 -0
- package/src/models/components/achdebitoptions.ts +94 -0
- package/src/models/components/achdebittransferprocessingdetails.ts +68 -0
- package/src/models/components/asynccreatedrefund.ts +16 -9
- package/src/models/components/capture.ts +142 -0
- package/src/models/components/capturestatus.ts +30 -0
- package/src/models/components/cardacquiringrefund.ts +25 -18
- package/src/models/components/cardpaymentoptions.ts +72 -0
- package/src/models/components/cardpaymentrefundprocessingdetails.ts +60 -0
- package/src/models/components/cardpaymenttransferprocessingdetails.ts +72 -0
- package/src/models/components/createcancellation.ts +58 -0
- package/src/models/components/createcapture.ts +128 -0
- package/src/models/components/createdtransfer.ts +62 -70
- package/src/models/components/createrefund.ts +19 -6
- package/src/models/components/createreversal.ts +11 -5
- package/src/models/components/createtransfer.ts +20 -20
- package/src/models/components/createtransferfacilitatorfee.ts +73 -0
- package/src/models/components/createtransferoptions.ts +9 -9
- package/src/models/components/index.ts +26 -10
- package/src/models/components/instantbankcredittransferprocessingdetails.ts +88 -0
- package/src/models/components/merchantcategories.ts +60 -0
- package/src/models/components/merchantcategory.ts +73 -0
- package/src/models/components/moovfeedetails.ts +22 -16
- package/src/models/components/paymentmethodswallet.ts +1 -0
- package/src/models/components/pullfromcardoptions.ts +72 -0
- package/src/models/components/pullfromcardtransferprocessingdetails.ts +72 -0
- package/src/models/components/pushtocardoptions.ts +55 -0
- package/src/models/components/pushtocardtransferprocessingdetails.ts +72 -0
- package/src/models/components/refundprocessingdetails.ts +58 -0
- package/src/models/components/sendfunds.ts +10 -0
- package/src/models/components/sendfundserror.ts +10 -0
- package/src/models/components/sendfundswire.ts +54 -0
- package/src/models/components/sendfundswireerror.ts +58 -0
- package/src/models/components/transfer.ts +62 -70
- package/src/models/components/transferauthorization.ts +78 -0
- package/src/models/components/transferdestination.ts +12 -53
- package/src/models/components/transferpaymentmethodswallet.ts +1 -0
- package/src/models/components/transferprocessingdetails.ts +117 -0
- package/src/models/components/transferrailoptions.ts +98 -0
- package/src/models/components/transfersource.ts +12 -38
- package/src/models/components/transferstatus.ts +1 -0
- package/src/models/components/transfertype.ts +38 -0
- package/src/models/components/wallet.ts +1 -0
- package/src/models/components/wallettype.ts +3 -0
- package/src/models/components/webhookdatatransferstatus.ts +3 -0
- package/src/models/errors/capturevalidationerror.ts +145 -0
- package/src/models/errors/cardacquiringrefund.ts +23 -11
- package/src/models/errors/index.ts +1 -0
- package/src/models/errors/transfer.ts +50 -67
- package/src/models/operations/createcancellation.ts +12 -0
- package/src/models/operations/createcapture.ts +142 -0
- package/src/models/operations/createreversal.ts +4 -4
- package/src/models/operations/getcapture.ts +128 -0
- package/src/models/operations/index.ts +4 -0
- package/src/models/operations/initiaterefund.ts +4 -4
- package/src/models/operations/listcaptures.ts +121 -0
- package/src/models/operations/listissuingmerchantcategories.ts +70 -0
- package/src/models/operations/listtransfers.ts +7 -0
- package/src/sdk/cardissuing.ts +18 -0
- package/src/sdk/sdk.ts +5 -5
- package/src/sdk/transfers.ts +54 -0
- package/models/components/achtransactiondetails.d.ts +0 -70
- package/models/components/achtransactiondetails.d.ts.map +0 -1
- package/models/components/achtransactiondetails.js.map +0 -1
- package/models/components/achtransactionstatus.d.ts +0 -23
- package/models/components/achtransactionstatus.d.ts.map +0 -1
- package/models/components/achtransactionstatus.js.map +0 -1
- package/models/components/cardacquiringdispute.d.ts +0 -25
- package/models/components/cardacquiringdispute.d.ts.map +0 -1
- package/models/components/cardacquiringdispute.js.map +0 -1
- package/models/components/cardtransactiondetails.d.ts +0 -79
- package/models/components/cardtransactiondetails.d.ts.map +0 -1
- package/models/components/cardtransactiondetails.js +0 -90
- package/models/components/cardtransactiondetails.js.map +0 -1
- package/models/components/cardtransactionstatus.d.ts +0 -23
- package/models/components/cardtransactionstatus.d.ts.map +0 -1
- package/models/components/cardtransactionstatus.js.map +0 -1
- package/models/components/instantbanktransactiondetails.d.ts +0 -51
- package/models/components/instantbanktransactiondetails.d.ts.map +0 -1
- package/models/components/instantbanktransactiondetails.js.map +0 -1
- package/models/components/instantbanktransactionstatus.d.ts +0 -20
- package/models/components/instantbanktransactionstatus.d.ts.map +0 -1
- package/models/components/instantbanktransactionstatus.js.map +0 -1
- package/models/components/refundcarddetails.d.ts +0 -31
- package/models/components/refundcarddetails.d.ts.map +0 -1
- package/models/components/refundcarddetails.js.map +0 -1
- package/models/components/refundcardstatus.d.ts +0 -15
- package/models/components/refundcardstatus.d.ts.map +0 -1
- package/models/components/refundcardstatus.js.map +0 -1
- package/models/components/transfercapture.d.ts +0 -28
- package/models/components/transfercapture.d.ts.map +0 -1
- package/models/components/transfercapture.js.map +0 -1
- package/src/models/components/achtransactiondetails.ts +0 -157
- package/src/models/components/achtransactionstatus.ts +0 -37
- package/src/models/components/cardacquiringdispute.ts +0 -69
- package/src/models/components/cardtransactiondetails.ts +0 -154
- package/src/models/components/cardtransactionstatus.ts +0 -37
- package/src/models/components/instantbanktransactiondetails.ts +0 -116
- package/src/models/components/instantbanktransactionstatus.ts +0 -36
- package/src/models/components/refundcarddetails.ts +0 -86
- package/src/models/components/refundcardstatus.ts +0 -29
- package/src/models/components/transfercapture.ts +0 -63
|
@@ -52,6 +52,7 @@ class Transfer extends mooverror_js_1.MoovError {
|
|
|
52
52
|
super(message, httpMeta);
|
|
53
53
|
this.data$ = err;
|
|
54
54
|
this.transferID = err.transferID;
|
|
55
|
+
this.transferType = err.transferType;
|
|
55
56
|
this.createdOn = err.createdOn;
|
|
56
57
|
this.source = err.source;
|
|
57
58
|
this.destination = err.destination;
|
|
@@ -69,24 +70,16 @@ class Transfer extends mooverror_js_1.MoovError {
|
|
|
69
70
|
this.facilitatorFee = err.facilitatorFee;
|
|
70
71
|
if (err.moovFee != null)
|
|
71
72
|
this.moovFee = err.moovFee;
|
|
72
|
-
if (err.moovFeeDecimal != null)
|
|
73
|
-
this.moovFeeDecimal = err.moovFeeDecimal;
|
|
74
73
|
if (err.moovFeeDetails != null)
|
|
75
74
|
this.moovFeeDetails = err.moovFeeDetails;
|
|
76
75
|
if (err.moovFees != null)
|
|
77
76
|
this.moovFees = err.moovFees;
|
|
78
77
|
if (err.groupID != null)
|
|
79
78
|
this.groupID = err.groupID;
|
|
80
|
-
if (err.cancellations != null)
|
|
81
|
-
this.cancellations = err.cancellations;
|
|
82
79
|
if (err.refundedAmount != null)
|
|
83
80
|
this.refundedAmount = err.refundedAmount;
|
|
84
|
-
if (err.refunds != null)
|
|
85
|
-
this.refunds = err.refunds;
|
|
86
81
|
if (err.disputedAmount != null)
|
|
87
82
|
this.disputedAmount = err.disputedAmount;
|
|
88
|
-
if (err.disputes != null)
|
|
89
|
-
this.disputes = err.disputes;
|
|
90
83
|
if (err.sweepID != null)
|
|
91
84
|
this.sweepID = err.sweepID;
|
|
92
85
|
if (err.scheduleID != null)
|
|
@@ -103,8 +96,10 @@ class Transfer extends mooverror_js_1.MoovError {
|
|
|
103
96
|
this.invoiceID = err.invoiceID;
|
|
104
97
|
if (err.amountDetails != null)
|
|
105
98
|
this.amountDetails = err.amountDetails;
|
|
106
|
-
if (err.
|
|
107
|
-
this.
|
|
99
|
+
if (err.authorization != null)
|
|
100
|
+
this.authorization = err.authorization;
|
|
101
|
+
this.options = err.options;
|
|
102
|
+
this.processingDetails = err.processingDetails;
|
|
108
103
|
this.name = "Transfer";
|
|
109
104
|
}
|
|
110
105
|
}
|
|
@@ -112,26 +107,23 @@ exports.Transfer = Transfer;
|
|
|
112
107
|
/** @internal */
|
|
113
108
|
exports.Transfer$inboundSchema = z.object({
|
|
114
109
|
transferID: types.string(),
|
|
110
|
+
transferType: components.TransferType$inboundSchema,
|
|
115
111
|
createdOn: types.date(),
|
|
116
112
|
source: components.TransferSource$inboundSchema,
|
|
117
113
|
destination: components.TransferDestination$inboundSchema,
|
|
118
114
|
completedOn: types.optional(types.date()),
|
|
119
115
|
status: components.TransferStatus$inboundSchema,
|
|
120
116
|
failureReason: types.optional(components.TransferFailureReason$inboundSchema),
|
|
121
|
-
amount: components.
|
|
117
|
+
amount: components.AmountDecimal$inboundSchema,
|
|
122
118
|
description: types.optional(types.string()),
|
|
123
119
|
metadata: types.optional(z.record(types.string())),
|
|
124
120
|
facilitatorFee: types.optional(components.FacilitatorFee$inboundSchema),
|
|
125
|
-
moovFee: types.optional(
|
|
126
|
-
moovFeeDecimal: types.optional(types.string()),
|
|
121
|
+
moovFee: types.optional(components.AmountDecimal$inboundSchema),
|
|
127
122
|
moovFeeDetails: types.optional(components.MoovFeeDetails$inboundSchema),
|
|
128
123
|
moovFees: types.optional(z.array(components.MoovFee$inboundSchema)),
|
|
129
124
|
groupID: types.optional(types.string()),
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
refunds: types.optional(z.array(components.CardAcquiringRefund$inboundSchema)),
|
|
133
|
-
disputedAmount: types.optional(components.Amount$inboundSchema),
|
|
134
|
-
disputes: types.optional(z.array(components.CardAcquiringDispute$inboundSchema)),
|
|
125
|
+
refundedAmount: types.optional(components.AmountDecimal$inboundSchema),
|
|
126
|
+
disputedAmount: types.optional(components.AmountDecimal$inboundSchema),
|
|
135
127
|
sweepID: types.optional(types.string()),
|
|
136
128
|
scheduleID: types.optional(types.string()),
|
|
137
129
|
occurrenceID: types.optional(types.string()),
|
|
@@ -140,7 +132,9 @@ exports.Transfer$inboundSchema = z.object({
|
|
|
140
132
|
lineItems: types.optional(components.TransferLineItems$inboundSchema),
|
|
141
133
|
invoiceID: types.optional(types.string()),
|
|
142
134
|
amountDetails: types.optional(components.TransferAmountDetails$inboundSchema),
|
|
143
|
-
|
|
135
|
+
authorization: types.optional(components.TransferAuthorization$inboundSchema),
|
|
136
|
+
options: components.TransferRailOptions$inboundSchema,
|
|
137
|
+
processingDetails: components.TransferProcessingDetails$inboundSchema,
|
|
144
138
|
request$: z.instanceof(Request),
|
|
145
139
|
response$: z.instanceof(Response),
|
|
146
140
|
body$: z.string(),
|
|
@@ -157,27 +151,23 @@ exports.Transfer$outboundSchema = z.instanceof(Transfer)
|
|
|
157
151
|
.transform(v => v.data$)
|
|
158
152
|
.pipe(z.object({
|
|
159
153
|
transferID: z.string(),
|
|
154
|
+
transferType: components.TransferType$outboundSchema,
|
|
160
155
|
createdOn: z.date().transform(v => v.toISOString()),
|
|
161
156
|
source: components.TransferSource$outboundSchema,
|
|
162
157
|
destination: components.TransferDestination$outboundSchema,
|
|
163
158
|
completedOn: z.date().transform(v => v.toISOString()).optional(),
|
|
164
159
|
status: components.TransferStatus$outboundSchema,
|
|
165
160
|
failureReason: components.TransferFailureReason$outboundSchema.optional(),
|
|
166
|
-
amount: components.
|
|
161
|
+
amount: components.AmountDecimal$outboundSchema,
|
|
167
162
|
description: z.string().optional(),
|
|
168
163
|
metadata: z.record(z.string()).optional(),
|
|
169
164
|
facilitatorFee: components.FacilitatorFee$outboundSchema.optional(),
|
|
170
|
-
moovFee:
|
|
171
|
-
moovFeeDecimal: z.string().optional(),
|
|
165
|
+
moovFee: components.AmountDecimal$outboundSchema.optional(),
|
|
172
166
|
moovFeeDetails: components.MoovFeeDetails$outboundSchema.optional(),
|
|
173
167
|
moovFees: z.array(components.MoovFee$outboundSchema).optional(),
|
|
174
168
|
groupID: z.string().optional(),
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
refunds: z.array(components.CardAcquiringRefund$outboundSchema).optional(),
|
|
178
|
-
disputedAmount: components.Amount$outboundSchema.optional(),
|
|
179
|
-
disputes: z.array(components.CardAcquiringDispute$outboundSchema)
|
|
180
|
-
.optional(),
|
|
169
|
+
refundedAmount: components.AmountDecimal$outboundSchema.optional(),
|
|
170
|
+
disputedAmount: components.AmountDecimal$outboundSchema.optional(),
|
|
181
171
|
sweepID: z.string().optional(),
|
|
182
172
|
scheduleID: z.string().optional(),
|
|
183
173
|
occurrenceID: z.string().optional(),
|
|
@@ -186,6 +176,8 @@ exports.Transfer$outboundSchema = z.instanceof(Transfer)
|
|
|
186
176
|
lineItems: components.TransferLineItems$outboundSchema.optional(),
|
|
187
177
|
invoiceID: z.string().optional(),
|
|
188
178
|
amountDetails: components.TransferAmountDetails$outboundSchema.optional(),
|
|
189
|
-
|
|
179
|
+
authorization: components.TransferAuthorization$outboundSchema.optional(),
|
|
180
|
+
options: components.TransferRailOptions$outboundSchema,
|
|
181
|
+
processingDetails: components.TransferProcessingDetails$outboundSchema,
|
|
190
182
|
}));
|
|
191
183
|
//# sourceMappingURL=transfer.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transfer.js","sourceRoot":"","sources":["../../src/models/errors/transfer.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,0CAA4B;AAC5B,iEAAmD;AACnD,mEAAqD;AACrD,iDAA2C;
|
|
1
|
+
{"version":3,"file":"transfer.js","sourceRoot":"","sources":["../../src/models/errors/transfer.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,0CAA4B;AAC5B,iEAAmD;AACnD,mEAAqD;AACrD,iDAA2C;AA+E3C;;GAEG;AACH,MAAa,QAAS,SAAQ,wBAAS;IA4ErC,YACE,GAAiB,EACjB,QAAgE;QAEhE,MAAM,OAAO,GAAG,SAAS,IAAI,GAAG,IAAI,OAAO,GAAG,CAAC,OAAO,KAAK,QAAQ;YACjE,CAAC,CAAC,GAAG,CAAC,OAAO;YACb,CAAC,CAAC,uBAAuB,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,EAAE,CAAC;QACjD,KAAK,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;QACzB,IAAI,CAAC,KAAK,GAAG,GAAG,CAAC;QACjB,IAAI,CAAC,UAAU,GAAG,GAAG,CAAC,UAAU,CAAC;QACjC,IAAI,CAAC,YAAY,GAAG,GAAG,CAAC,YAAY,CAAC;QACrC,IAAI,CAAC,SAAS,GAAG,GAAG,CAAC,SAAS,CAAC;QAC/B,IAAI,CAAC,MAAM,GAAG,GAAG,CAAC,MAAM,CAAC;QACzB,IAAI,CAAC,WAAW,GAAG,GAAG,CAAC,WAAW,CAAC;QACnC,IAAI,GAAG,CAAC,WAAW,IAAI,IAAI;YAAE,IAAI,CAAC,WAAW,G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CAAgC,CAAC,QAAQ,EAAE;IACjE,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChC,aAAa,EAAE,UAAU,CAAC,oCAAoC,CAAC,QAAQ,EAAE;IACzE,aAAa,EAAE,UAAU,CAAC,oCAAoC,CAAC,QAAQ,EAAE;IACzE,OAAO,EAAE,UAAU,CAAC,kCAAkC;IACtD,iBAAiB,EAAE,UAAU,CAAC,wCAAwC;CACvE,CAAC,CAAC,CAAC"}
|
|
@@ -11,6 +11,7 @@ export type CreateCancellationRequest = {
|
|
|
11
11
|
* The transfer ID to cancel.
|
|
12
12
|
*/
|
|
13
13
|
transferID: string;
|
|
14
|
+
createCancellation: components.CreateCancellation;
|
|
14
15
|
};
|
|
15
16
|
export type CreateCancellationResponse = {
|
|
16
17
|
headers: {
|
|
@@ -24,6 +25,7 @@ export declare const CreateCancellationRequest$inboundSchema: z.ZodType<CreateCa
|
|
|
24
25
|
export type CreateCancellationRequest$Outbound = {
|
|
25
26
|
accountID: string;
|
|
26
27
|
transferID: string;
|
|
28
|
+
CreateCancellation: components.CreateCancellation$Outbound;
|
|
27
29
|
};
|
|
28
30
|
/** @internal */
|
|
29
31
|
export declare const CreateCancellationRequest$outboundSchema: z.ZodType<CreateCancellationRequest$Outbound, z.ZodTypeDef, CreateCancellationRequest>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createcancellation.d.ts","sourceRoot":"","sources":["../../src/models/operations/createcancellation.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAE9D,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,yBAAyB,GAAG;IACtC;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"createcancellation.d.ts","sourceRoot":"","sources":["../../src/models/operations/createcancellation.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAE9D,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,yBAAyB,GAAG;IACtC;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB,kBAAkB,EAAE,UAAU,CAAC,kBAAkB,CAAC;CACnD,CAAC;AAEF,MAAM,MAAM,0BAA0B,GAAG;IACvC,OAAO,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,CAAA;KAAE,CAAC;IACxC,MAAM,EAAE,UAAU,CAAC,YAAY,CAAC;CACjC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,uCAAuC,EAAE,CAAC,CAAC,OAAO,CAC7D,yBAAyB,EACzB,CAAC,CAAC,UAAU,EACZ,OAAO,CASP,CAAC;AACH,gBAAgB;AAChB,MAAM,MAAM,kCAAkC,GAAG;IAC/C,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,kBAAkB,EAAE,UAAU,CAAC,2BAA2B,CAAC;CAC5D,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,wCAAwC,EAAE,CAAC,CAAC,OAAO,CAC9D,kCAAkC,EAClC,CAAC,CAAC,UAAU,EACZ,yBAAyB,CASzB,CAAC;AAEH,wBAAgB,+BAA+B,CAC7C,yBAAyB,EAAE,yBAAyB,GACnD,MAAM,CAIR;AACD,wBAAgB,iCAAiC,CAC/C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,yBAAyB,EAAE,kBAAkB,CAAC,CAMhE;AAED,gBAAgB;AAChB,eAAO,MAAM,wCAAwC,EAAE,CAAC,CAAC,OAAO,CAC9D,0BAA0B,EAC1B,CAAC,CAAC,UAAU,EACZ,OAAO,CASP,CAAC;AACH,gBAAgB;AAChB,MAAM,MAAM,mCAAmC,GAAG;IAChD,OAAO,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,CAAA;KAAE,CAAC;IACxC,MAAM,EAAE,UAAU,CAAC,qBAAqB,CAAC;CAC1C,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,yCAAyC,EAAE,CAAC,CAAC,OAAO,CAC/D,mCAAmC,EACnC,CAAC,CAAC,UAAU,EACZ,0BAA0B,CAS1B,CAAC;AAEH,wBAAgB,gCAAgC,CAC9C,0BAA0B,EAAE,0BAA0B,GACrD,MAAM,CAIR;AACD,wBAAgB,kCAAkC,CAChD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,0BAA0B,EAAE,kBAAkB,CAAC,CAMjE"}
|
|
@@ -50,11 +50,21 @@ const components = __importStar(require("../components/index.js"));
|
|
|
50
50
|
exports.CreateCancellationRequest$inboundSchema = z.object({
|
|
51
51
|
accountID: types.string(),
|
|
52
52
|
transferID: types.string(),
|
|
53
|
+
CreateCancellation: components.CreateCancellation$inboundSchema,
|
|
54
|
+
}).transform((v) => {
|
|
55
|
+
return (0, primitives_js_1.remap)(v, {
|
|
56
|
+
"CreateCancellation": "createCancellation",
|
|
57
|
+
});
|
|
53
58
|
});
|
|
54
59
|
/** @internal */
|
|
55
60
|
exports.CreateCancellationRequest$outboundSchema = z.object({
|
|
56
61
|
accountID: z.string(),
|
|
57
62
|
transferID: z.string(),
|
|
63
|
+
createCancellation: components.CreateCancellation$outboundSchema,
|
|
64
|
+
}).transform((v) => {
|
|
65
|
+
return (0, primitives_js_1.remap)(v, {
|
|
66
|
+
createCancellation: "CreateCancellation",
|
|
67
|
+
});
|
|
58
68
|
});
|
|
59
69
|
function createCancellationRequestToJSON(createCancellationRequest) {
|
|
60
70
|
return JSON.stringify(exports.CreateCancellationRequest$outboundSchema.parse(createCancellationRequest));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createcancellation.js","sourceRoot":"","sources":["../../src/models/operations/createcancellation.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"createcancellation.js","sourceRoot":"","sources":["../../src/models/operations/createcancellation.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+DH,0EAMC;AACD,8EAQC;AAqCD,4EAMC;AACD,gFAQC;AAhID,0CAA4B;AAC5B,2DAA0D;AAC1D,qDAAiD;AAEjD,iEAAmD;AACnD,mEAAqD;AAoBrD,gBAAgB;AACH,QAAA,uCAAuC,GAIhD,CAAC,CAAC,MAAM,CAAC;IACX,SAAS,EAAE,KAAK,CAAC,MAAM,EAAE;IACzB,UAAU,EAAE,KAAK,CAAC,MAAM,EAAE;IAC1B,kBAAkB,EAAE,UAAU,CAAC,gCAAgC;CAChE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,oBAAoB,EAAE,oBAAoB;KAC3C,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAQH,gBAAgB;AACH,QAAA,wCAAwC,GAIjD,CAAC,CAAC,MAAM,CAAC;IACX,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;IACrB,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE;IACtB,kBAAkB,EAAE,UAAU,CAAC,iCAAiC;CACjE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,kBAAkB,EAA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,gCAAgC,CAC9C,0BAAsD;IAEtD,OAAO,IAAI,CAAC,SAAS,CACnB,iDAAyC,CAAC,KAAK,CAAC,0BAA0B,CAAC,CAC5E,CAAC;AACJ,CAAC;AACD,SAAgB,kCAAkC,CAChD,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,gDAAwC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACpE,wDAAwD,CACzD,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import * as z from "zod/v3";
|
|
2
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
+
import * as components from "../components/index.js";
|
|
4
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
5
|
+
export type CreateCaptureRequest = {
|
|
6
|
+
/**
|
|
7
|
+
* Prevents duplicate captures from being created.
|
|
8
|
+
*/
|
|
9
|
+
xIdempotencyKey: string;
|
|
10
|
+
/**
|
|
11
|
+
* The merchant's Moov account ID.
|
|
12
|
+
*/
|
|
13
|
+
accountID: string;
|
|
14
|
+
/**
|
|
15
|
+
* Identifier for the transfer.
|
|
16
|
+
*/
|
|
17
|
+
transferID: string;
|
|
18
|
+
createCapture: components.CreateCapture;
|
|
19
|
+
};
|
|
20
|
+
export type CreateCaptureResponse = {
|
|
21
|
+
headers: {
|
|
22
|
+
[k: string]: Array<string>;
|
|
23
|
+
};
|
|
24
|
+
result: components.Capture;
|
|
25
|
+
};
|
|
26
|
+
/** @internal */
|
|
27
|
+
export declare const CreateCaptureRequest$inboundSchema: z.ZodType<CreateCaptureRequest, z.ZodTypeDef, unknown>;
|
|
28
|
+
/** @internal */
|
|
29
|
+
export type CreateCaptureRequest$Outbound = {
|
|
30
|
+
"x-idempotency-key": string;
|
|
31
|
+
accountID: string;
|
|
32
|
+
transferID: string;
|
|
33
|
+
CreateCapture: components.CreateCapture$Outbound;
|
|
34
|
+
};
|
|
35
|
+
/** @internal */
|
|
36
|
+
export declare const CreateCaptureRequest$outboundSchema: z.ZodType<CreateCaptureRequest$Outbound, z.ZodTypeDef, CreateCaptureRequest>;
|
|
37
|
+
export declare function createCaptureRequestToJSON(createCaptureRequest: CreateCaptureRequest): string;
|
|
38
|
+
export declare function createCaptureRequestFromJSON(jsonString: string): SafeParseResult<CreateCaptureRequest, SDKValidationError>;
|
|
39
|
+
/** @internal */
|
|
40
|
+
export declare const CreateCaptureResponse$inboundSchema: z.ZodType<CreateCaptureResponse, z.ZodTypeDef, unknown>;
|
|
41
|
+
/** @internal */
|
|
42
|
+
export type CreateCaptureResponse$Outbound = {
|
|
43
|
+
Headers: {
|
|
44
|
+
[k: string]: Array<string>;
|
|
45
|
+
};
|
|
46
|
+
Result: components.Capture$Outbound;
|
|
47
|
+
};
|
|
48
|
+
/** @internal */
|
|
49
|
+
export declare const CreateCaptureResponse$outboundSchema: z.ZodType<CreateCaptureResponse$Outbound, z.ZodTypeDef, CreateCaptureResponse>;
|
|
50
|
+
export declare function createCaptureResponseToJSON(createCaptureResponse: CreateCaptureResponse): string;
|
|
51
|
+
export declare function createCaptureResponseFromJSON(jsonString: string): SafeParseResult<CreateCaptureResponse, SDKValidationError>;
|
|
52
|
+
//# sourceMappingURL=createcapture.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createcapture.d.ts","sourceRoot":"","sources":["../../src/models/operations/createcapture.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAE9D,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,oBAAoB,GAAG;IACjC;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,S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AAgB,CAAC;CACrC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,oCAAoC,EAAE,CAAC,CAAC,OAAO,CAC1D,8BAA8B,EAC9B,CAAC,CAAC,UAAU,EACZ,qBAAqB,CASrB,CAAC;AAEH,wBAAgB,2BAA2B,CACzC,qBAAqB,EAAE,qBAAqB,GAC3C,MAAM,CAIR;AACD,wBAAgB,6BAA6B,CAC3C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,qBAAqB,EAAE,kBAAkB,CAAC,CAM5D"}
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.CreateCaptureResponse$outboundSchema = exports.CreateCaptureResponse$inboundSchema = exports.CreateCaptureRequest$outboundSchema = exports.CreateCaptureRequest$inboundSchema = void 0;
|
|
40
|
+
exports.createCaptureRequestToJSON = createCaptureRequestToJSON;
|
|
41
|
+
exports.createCaptureRequestFromJSON = createCaptureRequestFromJSON;
|
|
42
|
+
exports.createCaptureResponseToJSON = createCaptureResponseToJSON;
|
|
43
|
+
exports.createCaptureResponseFromJSON = createCaptureResponseFromJSON;
|
|
44
|
+
const z = __importStar(require("zod/v3"));
|
|
45
|
+
const primitives_js_1 = require("../../lib/primitives.js");
|
|
46
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
47
|
+
const types = __importStar(require("../../types/primitives.js"));
|
|
48
|
+
const components = __importStar(require("../components/index.js"));
|
|
49
|
+
/** @internal */
|
|
50
|
+
exports.CreateCaptureRequest$inboundSchema = z.object({
|
|
51
|
+
"x-idempotency-key": types.string(),
|
|
52
|
+
accountID: types.string(),
|
|
53
|
+
transferID: types.string(),
|
|
54
|
+
CreateCapture: components.CreateCapture$inboundSchema,
|
|
55
|
+
}).transform((v) => {
|
|
56
|
+
return (0, primitives_js_1.remap)(v, {
|
|
57
|
+
"x-idempotency-key": "xIdempotencyKey",
|
|
58
|
+
"CreateCapture": "createCapture",
|
|
59
|
+
});
|
|
60
|
+
});
|
|
61
|
+
/** @internal */
|
|
62
|
+
exports.CreateCaptureRequest$outboundSchema = z.object({
|
|
63
|
+
xIdempotencyKey: z.string(),
|
|
64
|
+
accountID: z.string(),
|
|
65
|
+
transferID: z.string(),
|
|
66
|
+
createCapture: components.CreateCapture$outboundSchema,
|
|
67
|
+
}).transform((v) => {
|
|
68
|
+
return (0, primitives_js_1.remap)(v, {
|
|
69
|
+
xIdempotencyKey: "x-idempotency-key",
|
|
70
|
+
createCapture: "CreateCapture",
|
|
71
|
+
});
|
|
72
|
+
});
|
|
73
|
+
function createCaptureRequestToJSON(createCaptureRequest) {
|
|
74
|
+
return JSON.stringify(exports.CreateCaptureRequest$outboundSchema.parse(createCaptureRequest));
|
|
75
|
+
}
|
|
76
|
+
function createCaptureRequestFromJSON(jsonString) {
|
|
77
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CreateCaptureRequest$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreateCaptureRequest' from JSON`);
|
|
78
|
+
}
|
|
79
|
+
/** @internal */
|
|
80
|
+
exports.CreateCaptureResponse$inboundSchema = z.object({
|
|
81
|
+
Headers: z.record(z.array(z.string())).default({}),
|
|
82
|
+
Result: components.Capture$inboundSchema,
|
|
83
|
+
}).transform((v) => {
|
|
84
|
+
return (0, primitives_js_1.remap)(v, {
|
|
85
|
+
"Headers": "headers",
|
|
86
|
+
"Result": "result",
|
|
87
|
+
});
|
|
88
|
+
});
|
|
89
|
+
/** @internal */
|
|
90
|
+
exports.CreateCaptureResponse$outboundSchema = z.object({
|
|
91
|
+
headers: z.record(z.array(z.string())),
|
|
92
|
+
result: components.Capture$outboundSchema,
|
|
93
|
+
}).transform((v) => {
|
|
94
|
+
return (0, primitives_js_1.remap)(v, {
|
|
95
|
+
headers: "Headers",
|
|
96
|
+
result: "Result",
|
|
97
|
+
});
|
|
98
|
+
});
|
|
99
|
+
function createCaptureResponseToJSON(createCaptureResponse) {
|
|
100
|
+
return JSON.stringify(exports.CreateCaptureResponse$outboundSchema.parse(createCaptureResponse));
|
|
101
|
+
}
|
|
102
|
+
function createCaptureResponseFromJSON(jsonString) {
|
|
103
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CreateCaptureResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreateCaptureResponse' from JSON`);
|
|
104
|
+
}
|
|
105
|
+
//# sourceMappingURL=createcapture.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createcapture.js","sourceRoot":"","sources":["../../src/models/operations/createcapture.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwEH,gEAMC;AACD,oEAQC;AAqCD,kEAMC;AACD,sEAQC;AAzID,0CAA4B;AAC5B,2DAA0D;AAC1D,qDAAiD;AAEjD,iEAAmD;AACnD,mEAAqD;AAwBrD,gBAAgB;AACH,QAAA,kCAAkC,GAI3C,CAAC,CAAC,MAAM,CAAC;IACX,mBAAmB,EAAE,KAAK,CAAC,MAAM,EAAE;IACnC,SAAS,EAAE,KAAK,CAAC,MAAM,EAAE;IACzB,UAAU,EAAE,KAAK,CAAC,MAAM,EAAE;IAC1B,aAAa,EAAE,UAAU,CAAC,2BAA2B;CACtD,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,mBAAmB,EAAE,iBAAiB;QACtC,eAAe,EAAE,eAAe;KACjC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AASH,gBAAgB;AACH,QAAA,mCAAmC,GAI5C,CAAC,CAAC,MAAM,CAAC;IACX,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE;IAC3B,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;IACrB,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE;IACtB,aAAa,EAAE,UAAU,CAAC,4BAA4B;CACvD,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,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B,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,SAAgB,2BAA2B,CACzC,qBAA4C;IAE5C,OAAO,IAAI,CAAC,SAAS,CACnB,4CAAoC,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAClE,CAAC;AACJ,CAAC;AACD,SAAgB,6BAA6B,CAC3C,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,2CAAmC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC/D,mDAAmD,CACpD,CAAC;AACJ,CAAC"}
|
|
@@ -15,7 +15,7 @@ export type CreateReversalRequest = {
|
|
|
15
15
|
* The transfer ID to reverse.
|
|
16
16
|
*/
|
|
17
17
|
transferID: string;
|
|
18
|
-
createReversal
|
|
18
|
+
createReversal: components.CreateReversal;
|
|
19
19
|
};
|
|
20
20
|
export type CreateReversalResponse = {
|
|
21
21
|
headers: {
|
|
@@ -30,7 +30,7 @@ export type CreateReversalRequest$Outbound = {
|
|
|
30
30
|
"x-idempotency-key": string;
|
|
31
31
|
accountID: string;
|
|
32
32
|
transferID: string;
|
|
33
|
-
CreateReversal
|
|
33
|
+
CreateReversal: components.CreateReversal$Outbound;
|
|
34
34
|
};
|
|
35
35
|
/** @internal */
|
|
36
36
|
export declare const CreateReversalRequest$outboundSchema: z.ZodType<CreateReversalRequest$Outbound, z.ZodTypeDef, CreateReversalRequest>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createreversal.d.ts","sourceRoot":"","sources":["../../src/models/operations/createreversal.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAE9D,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,qBAAqB,GAAG;IAClC;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,
|
|
1
|
+
{"version":3,"file":"createreversal.d.ts","sourceRoot":"","sources":["../../src/models/operations/createreversal.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAE9D,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,qBAAqB,GAAG;IAClC;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,UAAU,CAAC,cAAc,CAAC;CAC3C,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG;IACnC,OAAO,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,CAAA;KAAE,CAAC;IACxC,MAAM,EAAE,UAAU,CAAC,QAAQ,CAAC;CAC7B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,mCAAmC,EAAE,CAAC,CAAC,OAAO,CACzD,qBAAqB,EACrB,CAAC,CAAC,UAAU,EACZ,OAAO,CAWP,CAAC;AACH,gBAAgB;AAChB,MAAM,MAAM,8BAA8B,GAAG;IAC3C,mBAAmB,EAAE,MAAM,CAAC;IAC5B,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,UAAU,CAAC,uBAAuB,CAAC;CACpD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,oCAAoC,EAAE,CAAC,CAAC,OAAO,CAC1D,8BAA8B,EAC9B,CAAC,CAAC,UAAU,EACZ,qBAAqB,CAWrB,CAAC;AAEH,wBAAgB,2BAA2B,CACzC,qBAAqB,EAAE,qBAAqB,GAC3C,MAAM,CAIR;AACD,wBAAgB,6BAA6B,CAC3C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,qBAAqB,EAAE,kBAAkB,CAAC,CAM5D;AAED,gBAAgB;AAChB,eAAO,MAAM,oCAAoC,EAAE,CAAC,CAAC,OAAO,CAC1D,sBAAsB,EACtB,CAAC,CAAC,UAAU,EACZ,OAAO,CASP,CAAC;AACH,gBAAgB;AAChB,MAAM,MAAM,+BAA+B,GAAG;IAC5C,OAAO,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,CAAA;KAAE,CAAC;IACxC,MAAM,EAAE,UAAU,CAAC,iBAAiB,CAAC;CACtC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,qCAAqC,EAAE,CAAC,CAAC,OAAO,CAC3D,+BAA+B,EAC/B,CAAC,CAAC,UAAU,EACZ,sBAAsB,CAStB,CAAC;AAEH,wBAAgB,4BAA4B,CAC1C,sBAAsB,EAAE,sBAAsB,GAC7C,MAAM,CAIR;AACD,wBAAgB,8BAA8B,CAC5C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,sBAAsB,EAAE,kBAAkB,CAAC,CAM7D"}
|
|
@@ -51,7 +51,7 @@ exports.CreateReversalRequest$inboundSchema = z.object({
|
|
|
51
51
|
"x-idempotency-key": types.string(),
|
|
52
52
|
accountID: types.string(),
|
|
53
53
|
transferID: types.string(),
|
|
54
|
-
CreateReversal:
|
|
54
|
+
CreateReversal: components.CreateReversal$inboundSchema,
|
|
55
55
|
}).transform((v) => {
|
|
56
56
|
return (0, primitives_js_1.remap)(v, {
|
|
57
57
|
"x-idempotency-key": "xIdempotencyKey",
|
|
@@ -63,7 +63,7 @@ exports.CreateReversalRequest$outboundSchema = z.object({
|
|
|
63
63
|
xIdempotencyKey: z.string(),
|
|
64
64
|
accountID: z.string(),
|
|
65
65
|
transferID: z.string(),
|
|
66
|
-
createReversal: components.CreateReversal$outboundSchema
|
|
66
|
+
createReversal: components.CreateReversal$outboundSchema,
|
|
67
67
|
}).transform((v) => {
|
|
68
68
|
return (0, primitives_js_1.remap)(v, {
|
|
69
69
|
xIdempotencyKey: "x-idempotency-key",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createreversal.js","sourceRoot":"","sources":["../../src/models/operations/createreversal.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwEH,kEAMC;AACD,sEAQC;AAqCD,oEAMC;AACD,wEAQC;AAzID,0CAA4B;AAC5B,2DAA0D;AAC1D,qDAAiD;AAEjD,iEAAmD;AACnD,mEAAqD;AAwBrD,gBAAgB;AACH,QAAA,mCAAmC,GAI5C,CAAC,CAAC,MAAM,CAAC;IACX,mBAAmB,EAAE,KAAK,CAAC,MAAM,EAAE;IACnC,SAAS,EAAE,KAAK,CAAC,MAAM,EAAE;IACzB,UAAU,EAAE,KAAK,CAAC,MAAM,EAAE;IAC1B,cAAc,EAAE,
|
|
1
|
+
{"version":3,"file":"createreversal.js","sourceRoot":"","sources":["../../src/models/operations/createreversal.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwEH,kEAMC;AACD,sEAQC;AAqCD,oEAMC;AACD,wEAQC;AAzID,0CAA4B;AAC5B,2DAA0D;AAC1D,qDAAiD;AAEjD,iEAAmD;AACnD,mEAAqD;AAwBrD,gBAAgB;AACH,QAAA,mCAAmC,GAI5C,CAAC,CAAC,MAAM,CAAC;IACX,mBAAmB,EAAE,KAAK,CAAC,MAAM,EAAE;IACnC,SAAS,EAAE,KAAK,CAAC,MAAM,EAAE;IACzB,UAAU,EAAE,KAAK,CAAC,MAAM,EAAE;I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AAsB;CAC1C,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,SAAS,EAAE,SAAS;QACpB,QAAQ,EAAE,QAAQ;KACnB,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAOH,gBAAgB;AACH,QAAA,qCAAqC,GAI9C,CAAC,CAAC,MAAM,CAAC;IACX,OAAO,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC;IACtC,MAAM,EAAE,UAAU,CAAC,uBAAuB;CAC3C,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,OAAO,EAAE,SAAS;QAClB,MAAM,EAAE,QAAQ;KACjB,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,SAAgB,4BAA4B,CAC1C,sBAA8C;IAE9C,OAAO,IAAI,CAAC,SAAS,CACnB,6CAAqC,CAAC,KAAK,CAAC,sBAAsB,CAAC,CACpE,CAAC;AACJ,CAAC;AACD,SAAgB,8BAA8B,CAC5C,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,4CAAoC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAChE,oDAAoD,CACrD,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import * as z from "zod/v3";
|
|
2
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
+
import * as components from "../components/index.js";
|
|
4
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
5
|
+
export type GetCaptureRequest = {
|
|
6
|
+
/**
|
|
7
|
+
* The merchant's Moov account ID.
|
|
8
|
+
*/
|
|
9
|
+
accountID: string;
|
|
10
|
+
/**
|
|
11
|
+
* Identifier for the transfer.
|
|
12
|
+
*/
|
|
13
|
+
transferID: string;
|
|
14
|
+
/**
|
|
15
|
+
* Identifier for the capture.
|
|
16
|
+
*/
|
|
17
|
+
captureID: string;
|
|
18
|
+
};
|
|
19
|
+
export type GetCaptureResponse = {
|
|
20
|
+
headers: {
|
|
21
|
+
[k: string]: Array<string>;
|
|
22
|
+
};
|
|
23
|
+
result: components.Capture;
|
|
24
|
+
};
|
|
25
|
+
/** @internal */
|
|
26
|
+
export declare const GetCaptureRequest$inboundSchema: z.ZodType<GetCaptureRequest, z.ZodTypeDef, unknown>;
|
|
27
|
+
/** @internal */
|
|
28
|
+
export type GetCaptureRequest$Outbound = {
|
|
29
|
+
accountID: string;
|
|
30
|
+
transferID: string;
|
|
31
|
+
captureID: string;
|
|
32
|
+
};
|
|
33
|
+
/** @internal */
|
|
34
|
+
export declare const GetCaptureRequest$outboundSchema: z.ZodType<GetCaptureRequest$Outbound, z.ZodTypeDef, GetCaptureRequest>;
|
|
35
|
+
export declare function getCaptureRequestToJSON(getCaptureRequest: GetCaptureRequest): string;
|
|
36
|
+
export declare function getCaptureRequestFromJSON(jsonString: string): SafeParseResult<GetCaptureRequest, SDKValidationError>;
|
|
37
|
+
/** @internal */
|
|
38
|
+
export declare const GetCaptureResponse$inboundSchema: z.ZodType<GetCaptureResponse, z.ZodTypeDef, unknown>;
|
|
39
|
+
/** @internal */
|
|
40
|
+
export type GetCaptureResponse$Outbound = {
|
|
41
|
+
Headers: {
|
|
42
|
+
[k: string]: Array<string>;
|
|
43
|
+
};
|
|
44
|
+
Result: components.Capture$Outbound;
|
|
45
|
+
};
|
|
46
|
+
/** @internal */
|
|
47
|
+
export declare const GetCaptureResponse$outboundSchema: z.ZodType<GetCaptureResponse$Outbound, z.ZodTypeDef, GetCaptureResponse>;
|
|
48
|
+
export declare function getCaptureResponseToJSON(getCaptureResponse: GetCaptureResponse): string;
|
|
49
|
+
export declare function getCaptureResponseFromJSON(jsonString: string): SafeParseResult<GetCaptureResponse, SDKValidationError>;
|
|
50
|
+
//# sourceMappingURL=getcapture.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getcapture.d.ts","sourceRoot":"","sources":["../../src/models/operations/getcapture.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAE9D,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,iBAAiB,GAAG;IAC9B;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG;IAC/B,OAAO,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,CAAA;KAAE,CAAC;IACxC,MAAM,EAAE,UAAU,CAAC,OAAO,CAAC;CAC5B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,+BAA+B,EAAE,CAAC,CAAC,OAAO,CACrD,iBAAiB,EACjB,CAAC,CAAC,UAAU,EACZ,OAAO,CAKP,CAAC;AACH,gBAAgB;AAChB,MAAM,MAAM,0BAA0B,GAAG;IACvC,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,gCAAgC,EAAE,CAAC,CAAC,OAAO,CACtD,0BAA0B,EAC1B,CAAC,CAAC,UAAU,EACZ,iBAAiB,CAKjB,CAAC;AAEH,wBAAgB,uBAAuB,CACrC,iBAAiB,EAAE,iBAAiB,GACnC,MAAM,CAIR;AACD,wBAAgB,yBAAyB,CACvC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,iBAAiB,EAAE,kBAAkB,CAAC,CAMxD;AAED,gBAAgB;AAChB,eAAO,MAAM,gCAAgC,EAAE,CAAC,CAAC,OAAO,CACtD,kBAAkB,EAClB,CAAC,CAAC,UAAU,EACZ,OAAO,CASP,CAAC;AACH,gBAAgB;AAChB,MAAM,MAAM,2BAA2B,GAAG;IACxC,OAAO,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,CAAA;KAAE,CAAC;IACxC,MAAM,EAAE,UAAU,CAAC,gBAAgB,CAAC;CACrC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,iCAAiC,EAAE,CAAC,CAAC,OAAO,CACvD,2BAA2B,EAC3B,CAAC,CAAC,UAAU,EACZ,kBAAkB,CASlB,CAAC;AAEH,wBAAgB,wBAAwB,CACtC,kBAAkB,EAAE,kBAAkB,GACrC,MAAM,CAIR;AACD,wBAAgB,0BAA0B,CACxC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,kBAAkB,EAAE,kBAAkB,CAAC,CAMzD"}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.GetCaptureResponse$outboundSchema = exports.GetCaptureResponse$inboundSchema = exports.GetCaptureRequest$outboundSchema = exports.GetCaptureRequest$inboundSchema = void 0;
|
|
40
|
+
exports.getCaptureRequestToJSON = getCaptureRequestToJSON;
|
|
41
|
+
exports.getCaptureRequestFromJSON = getCaptureRequestFromJSON;
|
|
42
|
+
exports.getCaptureResponseToJSON = getCaptureResponseToJSON;
|
|
43
|
+
exports.getCaptureResponseFromJSON = getCaptureResponseFromJSON;
|
|
44
|
+
const z = __importStar(require("zod/v3"));
|
|
45
|
+
const primitives_js_1 = require("../../lib/primitives.js");
|
|
46
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
47
|
+
const types = __importStar(require("../../types/primitives.js"));
|
|
48
|
+
const components = __importStar(require("../components/index.js"));
|
|
49
|
+
/** @internal */
|
|
50
|
+
exports.GetCaptureRequest$inboundSchema = z.object({
|
|
51
|
+
accountID: types.string(),
|
|
52
|
+
transferID: types.string(),
|
|
53
|
+
captureID: types.string(),
|
|
54
|
+
});
|
|
55
|
+
/** @internal */
|
|
56
|
+
exports.GetCaptureRequest$outboundSchema = z.object({
|
|
57
|
+
accountID: z.string(),
|
|
58
|
+
transferID: z.string(),
|
|
59
|
+
captureID: z.string(),
|
|
60
|
+
});
|
|
61
|
+
function getCaptureRequestToJSON(getCaptureRequest) {
|
|
62
|
+
return JSON.stringify(exports.GetCaptureRequest$outboundSchema.parse(getCaptureRequest));
|
|
63
|
+
}
|
|
64
|
+
function getCaptureRequestFromJSON(jsonString) {
|
|
65
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.GetCaptureRequest$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetCaptureRequest' from JSON`);
|
|
66
|
+
}
|
|
67
|
+
/** @internal */
|
|
68
|
+
exports.GetCaptureResponse$inboundSchema = z.object({
|
|
69
|
+
Headers: z.record(z.array(z.string())).default({}),
|
|
70
|
+
Result: components.Capture$inboundSchema,
|
|
71
|
+
}).transform((v) => {
|
|
72
|
+
return (0, primitives_js_1.remap)(v, {
|
|
73
|
+
"Headers": "headers",
|
|
74
|
+
"Result": "result",
|
|
75
|
+
});
|
|
76
|
+
});
|
|
77
|
+
/** @internal */
|
|
78
|
+
exports.GetCaptureResponse$outboundSchema = z.object({
|
|
79
|
+
headers: z.record(z.array(z.string())),
|
|
80
|
+
result: components.Capture$outboundSchema,
|
|
81
|
+
}).transform((v) => {
|
|
82
|
+
return (0, primitives_js_1.remap)(v, {
|
|
83
|
+
headers: "Headers",
|
|
84
|
+
result: "Result",
|
|
85
|
+
});
|
|
86
|
+
});
|
|
87
|
+
function getCaptureResponseToJSON(getCaptureResponse) {
|
|
88
|
+
return JSON.stringify(exports.GetCaptureResponse$outboundSchema.parse(getCaptureResponse));
|
|
89
|
+
}
|
|
90
|
+
function getCaptureResponseFromJSON(jsonString) {
|
|
91
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.GetCaptureResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetCaptureResponse' from JSON`);
|
|
92
|
+
}
|
|
93
|
+
//# sourceMappingURL=getcapture.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getcapture.js","sourceRoot":"","sources":["../../src/models/operations/getcapture.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0DH,0DAMC;AACD,8DAQC;AAqCD,4DAMC;AACD,gEAQC;AA3HD,0CAA4B;AAC5B,2DAA0D;AAC1D,qDAAiD;AAEjD,iEAAmD;AACnD,mEAAqD;AAuBrD,gBAAgB;AACH,QAAA,+BAA+B,GAIxC,CAAC,CAAC,MAAM,CAAC;IACX,SAAS,EAAE,KAAK,CAAC,MAAM,EAAE;IACzB,UAAU,EAAE,KAAK,CAAC,MAAM,EAAE;IAC1B,SAAS,EAAE,KAAK,CAAC,MAAM,EAAE;CAC1B,CAAC,CAAC;AAQH,gBAAgB;AACH,QAAA,gCAAgC,GAIzC,CAAC,CAAC,MAAM,CAAC;IACX,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;IACrB,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE;IACtB,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;CACtB,CAAC,CAAC;AAEH,SAAgB,uBAAuB,CACrC,iBAAoC;IAEpC,OAAO,IAAI,CAAC,SAAS,CACnB,wCAAgC,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAC1D,CAAC;AACJ,CAAC;AACD,SAAgB,yBAAyB,CACvC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,uCAA+B,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC3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