@moovio/sdk 25.12.5 → 25.12.8
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 +30 -18
- package/bin/mcp-server.js +190 -48
- package/bin/mcp-server.js.map +90 -86
- package/funcs/cardIssuingGetFull.d.ts +1 -1
- package/funcs/cardIssuingGetFull.js +1 -1
- package/funcs/imagesUpload.d.ts +1 -1
- package/funcs/imagesUpload.js +1 -1
- package/funcs/institutionsSearch.d.ts +1 -1
- package/funcs/institutionsSearch.js +1 -1
- package/funcs/issuingTransactionsList.js +1 -0
- package/funcs/issuingTransactionsList.js.map +1 -1
- package/funcs/transfersCreateCancellation.d.ts +3 -0
- package/funcs/transfersCreateCancellation.d.ts.map +1 -1
- package/funcs/transfersCreateCancellation.js +6 -1
- package/funcs/transfersCreateCancellation.js.map +1 -1
- package/funcs/transfersCreateReversal.d.ts +3 -0
- package/funcs/transfersCreateReversal.d.ts.map +1 -1
- package/funcs/transfersCreateReversal.js +3 -0
- package/funcs/transfersCreateReversal.js.map +1 -1
- package/funcs/transfersList.js +2 -0
- package/funcs/transfersList.js.map +1 -1
- package/funcs/transfersListCancellations.js +1 -1
- package/funcs/transfersListCancellations.js.map +1 -1
- package/funcs/transfersListRefunds.js +1 -1
- package/funcs/transfersListRefunds.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/lib/encodings.d.ts +10 -9
- package/lib/encodings.d.ts.map +1 -1
- package/lib/encodings.js +29 -13
- package/lib/encodings.js.map +1 -1
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +1 -1
- package/mcp-server/tools/avatarsGet.js +1 -1
- package/mcp-server/tools/cardIssuingGetFull.js +1 -1
- package/mcp-server/tools/cardIssuingGetFull.js.map +1 -1
- package/mcp-server/tools/enrichedAddressGet.js +1 -1
- package/mcp-server/tools/enrichedProfileGet.js +1 -1
- package/mcp-server/tools/imagesUpload.js +1 -1
- package/mcp-server/tools/imagesUpload.js.map +1 -1
- package/mcp-server/tools/institutionsSearch.js +2 -2
- package/mcp-server/tools/transfersCreateCancellation.d.ts.map +1 -1
- package/mcp-server/tools/transfersCreateCancellation.js +3 -0
- package/mcp-server/tools/transfersCreateCancellation.js.map +1 -1
- package/mcp-server/tools/transfersCreateReversal.d.ts.map +1 -1
- package/mcp-server/tools/transfersCreateReversal.js +4 -1
- package/mcp-server/tools/transfersCreateReversal.js.map +1 -1
- package/mcp-server/tools/transfersListCancellations.js +1 -1
- package/models/components/adjustmentfees.d.ts +30 -0
- package/models/components/adjustmentfees.d.ts.map +1 -0
- package/models/components/adjustmentfees.js +62 -0
- package/models/components/adjustmentfees.js.map +1 -0
- package/models/components/applicationscope.d.ts +1 -1
- package/models/components/applicationscope.js +1 -1
- package/models/components/applicationscope.js.map +1 -1
- package/models/components/billingadjustment.d.ts +34 -0
- package/models/components/billingadjustment.d.ts.map +1 -0
- package/models/components/billingadjustment.js +63 -0
- package/models/components/billingadjustment.js.map +1 -0
- package/models/components/billingsummary.d.ts +15 -10
- package/models/components/billingsummary.d.ts.map +1 -1
- package/models/components/billingsummary.js +15 -11
- package/models/components/billingsummary.js.map +1 -1
- package/models/components/cancellation.d.ts +3 -0
- package/models/components/cancellation.d.ts.map +1 -1
- package/models/components/cancellation.js.map +1 -1
- package/models/components/createdtransfer.d.ts +14 -0
- package/models/components/createdtransfer.d.ts.map +1 -1
- package/models/components/createdtransfer.js +3 -0
- package/models/components/createdtransfer.js.map +1 -1
- package/models/components/createfeeplanagreement.d.ts +16 -1
- package/models/components/createfeeplanagreement.d.ts.map +1 -1
- package/models/components/createfeeplanagreement.js +2 -0
- package/models/components/createfeeplanagreement.js.map +1 -1
- package/models/components/createpaymentlink.d.ts +3 -0
- package/models/components/createpaymentlink.d.ts.map +1 -1
- package/models/components/createpaymentlink.js.map +1 -1
- package/models/components/createrefund.d.ts +2 -2
- package/models/components/createreversal.d.ts +6 -1
- package/models/components/createreversal.d.ts.map +1 -1
- package/models/components/createreversal.js.map +1 -1
- package/models/components/facilitatorfee.d.ts +2 -2
- package/models/components/feeplanagreement.d.ts +10 -0
- package/models/components/feeplanagreement.d.ts.map +1 -1
- package/models/components/feeplanagreement.js +5 -0
- package/models/components/feeplanagreement.js.map +1 -1
- package/models/components/fullissuedcard.d.ts +4 -0
- package/models/components/fullissuedcard.d.ts.map +1 -1
- package/models/components/fullissuedcard.js.map +1 -1
- package/models/components/index.d.ts +4 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +4 -0
- package/models/components/index.js.map +1 -1
- package/models/components/issuedcard.d.ts +4 -0
- package/models/components/issuedcard.d.ts.map +1 -1
- package/models/components/issuedcard.js.map +1 -1
- package/models/components/issuedcardauthorization.d.ts +5 -0
- package/models/components/issuedcardauthorization.d.ts.map +1 -1
- package/models/components/issuedcardauthorization.js +2 -0
- package/models/components/issuedcardauthorization.js.map +1 -1
- package/models/components/issuedcardstate.d.ts +3 -0
- package/models/components/issuedcardstate.d.ts.map +1 -1
- package/models/components/issuedcardstate.js +2 -0
- package/models/components/issuedcardstate.js.map +1 -1
- package/models/components/issuedcardtransaction.d.ts +5 -0
- package/models/components/issuedcardtransaction.d.ts.map +1 -1
- package/models/components/issuedcardtransaction.js +2 -0
- package/models/components/issuedcardtransaction.js.map +1 -1
- package/models/components/issuingcontrols.d.ts +3 -0
- package/models/components/issuingcontrols.d.ts.map +1 -1
- package/models/components/issuingcontrols.js.map +1 -1
- package/models/components/partnerpricingagreement.d.ts +12 -2
- package/models/components/partnerpricingagreement.d.ts.map +1 -1
- package/models/components/partnerpricingagreement.js +5 -0
- package/models/components/partnerpricingagreement.js.map +1 -1
- package/models/components/paymentlink.d.ts +3 -0
- package/models/components/paymentlink.d.ts.map +1 -1
- package/models/components/paymentlink.js.map +1 -1
- package/models/components/paymentlinkpayoutdetails.d.ts +3 -0
- package/models/components/paymentlinkpayoutdetails.d.ts.map +1 -1
- package/models/components/paymentlinkpayoutdetails.js.map +1 -1
- package/models/components/paymentlinkpayoutdetailsupdate.d.ts +3 -0
- package/models/components/paymentlinkpayoutdetailsupdate.d.ts.map +1 -1
- package/models/components/paymentlinkpayoutdetailsupdate.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/requestcard.d.ts +3 -0
- package/models/components/requestcard.d.ts.map +1 -1
- package/models/components/requestcard.js.map +1 -1
- package/models/components/requirementid.d.ts +7 -0
- package/models/components/requirementid.d.ts.map +1 -1
- package/models/components/requirementid.js +7 -0
- package/models/components/requirementid.js.map +1 -1
- package/models/components/reversedwithcancellation.d.ts +3 -0
- package/models/components/reversedwithcancellation.d.ts.map +1 -1
- package/models/components/reversedwithcancellation.js.map +1 -1
- package/models/components/statement.d.ts +6 -0
- package/models/components/statement.d.ts.map +1 -1
- package/models/components/statement.js +3 -0
- package/models/components/statement.js.map +1 -1
- package/models/components/sweepconfig.d.ts +2 -2
- package/models/components/sweepconfigpaymentmethod.d.ts +1 -1
- package/models/components/transfer.d.ts +14 -0
- package/models/components/transfer.d.ts.map +1 -1
- package/models/components/transfer.js +3 -0
- package/models/components/transfer.js.map +1 -1
- package/models/components/transfercapture.d.ts +28 -0
- package/models/components/transfercapture.d.ts.map +1 -0
- package/models/components/transfercapture.js +60 -0
- package/models/components/transfercapture.js.map +1 -0
- 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/updateissuedcard.d.ts +2 -0
- package/models/components/updateissuedcard.d.ts.map +1 -1
- package/models/components/updateissuedcard.js.map +1 -1
- package/models/components/updateissuedcardstate.d.ts +6 -0
- package/models/components/updateissuedcardstate.d.ts.map +1 -1
- package/models/components/updateissuedcardstate.js +4 -0
- package/models/components/updateissuedcardstate.js.map +1 -1
- package/models/components/updatepaymentlink.d.ts +3 -0
- package/models/components/updatepaymentlink.d.ts.map +1 -1
- package/models/components/updatepaymentlink.js.map +1 -1
- 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/webhookdata.d.ts +3 -2
- package/models/components/webhookdata.d.ts.map +1 -1
- package/models/components/webhookdata.js +3 -0
- package/models/components/webhookdata.js.map +1 -1
- package/models/components/webhookdataeventtest.d.ts +20 -0
- package/models/components/webhookdataeventtest.d.ts.map +1 -0
- package/models/components/webhookdataeventtest.js +58 -0
- package/models/components/webhookdataeventtest.js.map +1 -0
- 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/components/webhookeventtype.d.ts +1 -0
- package/models/components/webhookeventtype.d.ts.map +1 -1
- package/models/components/webhookeventtype.js +1 -0
- package/models/components/webhookeventtype.js.map +1 -1
- package/models/errors/transfer.d.ts +25 -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/operations/listaccounts.d.ts +3 -0
- package/models/operations/listaccounts.d.ts.map +1 -1
- package/models/operations/listaccounts.js.map +1 -1
- package/models/operations/listconnectedaccountsforaccount.d.ts +3 -0
- package/models/operations/listconnectedaccountsforaccount.d.ts.map +1 -1
- package/models/operations/listconnectedaccountsforaccount.js.map +1 -1
- package/models/operations/listdisputes.d.ts +3 -0
- package/models/operations/listdisputes.d.ts.map +1 -1
- package/models/operations/listdisputes.js.map +1 -1
- package/models/operations/listfeeplanagreements.d.ts +3 -0
- package/models/operations/listfeeplanagreements.d.ts.map +1 -1
- package/models/operations/listfeeplanagreements.js.map +1 -1
- package/models/operations/listfeerevenue.d.ts +3 -0
- package/models/operations/listfeerevenue.d.ts.map +1 -1
- package/models/operations/listfeerevenue.js.map +1 -1
- package/models/operations/listissuedcardauthorizationevents.d.ts +3 -0
- package/models/operations/listissuedcardauthorizationevents.d.ts.map +1 -1
- package/models/operations/listissuedcardauthorizationevents.js.map +1 -1
- package/models/operations/listissuedcardauthorizations.d.ts +3 -0
- package/models/operations/listissuedcardauthorizations.d.ts.map +1 -1
- package/models/operations/listissuedcardauthorizations.js.map +1 -1
- package/models/operations/listissuedcards.d.ts +3 -0
- package/models/operations/listissuedcards.d.ts.map +1 -1
- package/models/operations/listissuedcards.js.map +1 -1
- package/models/operations/listissuedcardtransactions.d.ts +8 -0
- package/models/operations/listissuedcardtransactions.d.ts.map +1 -1
- package/models/operations/listissuedcardtransactions.js +2 -0
- package/models/operations/listissuedcardtransactions.js.map +1 -1
- package/models/operations/listpartnerpricingagreements.d.ts +3 -0
- package/models/operations/listpartnerpricingagreements.d.ts.map +1 -1
- package/models/operations/listpartnerpricingagreements.js.map +1 -1
- package/models/operations/listpaymentlinks.d.ts +3 -0
- package/models/operations/listpaymentlinks.d.ts.map +1 -1
- package/models/operations/listpaymentlinks.js.map +1 -1
- package/models/operations/listproducts.d.ts +3 -0
- package/models/operations/listproducts.d.ts.map +1 -1
- package/models/operations/listproducts.js.map +1 -1
- package/models/operations/listresidualfees.d.ts +3 -0
- package/models/operations/listresidualfees.d.ts.map +1 -1
- package/models/operations/listresidualfees.js.map +1 -1
- package/models/operations/listresiduals.d.ts +3 -0
- package/models/operations/listresiduals.d.ts.map +1 -1
- package/models/operations/listresiduals.js.map +1 -1
- package/models/operations/listschedules.d.ts +3 -0
- package/models/operations/listschedules.d.ts.map +1 -1
- package/models/operations/listschedules.js.map +1 -1
- package/models/operations/liststatements.d.ts +3 -0
- package/models/operations/liststatements.d.ts.map +1 -1
- package/models/operations/liststatements.js.map +1 -1
- package/models/operations/listsweeps.d.ts +3 -0
- package/models/operations/listsweeps.d.ts.map +1 -1
- package/models/operations/listsweeps.js.map +1 -1
- package/models/operations/listtickets.d.ts +3 -0
- package/models/operations/listtickets.d.ts.map +1 -1
- package/models/operations/listtickets.js.map +1 -1
- package/models/operations/listtransfers.d.ts +13 -0
- package/models/operations/listtransfers.d.ts.map +1 -1
- package/models/operations/listtransfers.js +4 -0
- package/models/operations/listtransfers.js.map +1 -1
- package/models/operations/listwallets.d.ts +3 -0
- package/models/operations/listwallets.d.ts.map +1 -1
- package/models/operations/listwallets.js.map +1 -1
- package/models/operations/listwallettransactions.d.ts +3 -0
- package/models/operations/listwallettransactions.d.ts.map +1 -1
- package/models/operations/listwallettransactions.js.map +1 -1
- package/models/operations/retrievefees.d.ts +3 -0
- package/models/operations/retrievefees.d.ts.map +1 -1
- package/models/operations/retrievefees.js.map +1 -1
- package/package.json +1 -1
- package/sdk/cardissuing.d.ts +1 -1
- package/sdk/cardissuing.js +1 -1
- package/sdk/images.d.ts +1 -1
- package/sdk/images.js +1 -1
- package/sdk/institutions.d.ts +1 -1
- package/sdk/institutions.js +1 -1
- package/sdk/transfers.d.ts +6 -0
- package/sdk/transfers.d.ts.map +1 -1
- package/sdk/transfers.js +6 -0
- package/sdk/transfers.js.map +1 -1
- package/src/funcs/cardIssuingGetFull.ts +1 -1
- package/src/funcs/imagesUpload.ts +1 -1
- package/src/funcs/institutionsSearch.ts +1 -1
- package/src/funcs/issuingTransactionsList.ts +1 -0
- package/src/funcs/transfersCreateCancellation.ts +6 -1
- package/src/funcs/transfersCreateReversal.ts +3 -0
- package/src/funcs/transfersList.ts +2 -0
- package/src/funcs/transfersListCancellations.ts +1 -1
- package/src/funcs/transfersListRefunds.ts +1 -1
- package/src/lib/config.ts +3 -3
- package/src/lib/encodings.ts +58 -23
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/mcp-server/tools/avatarsGet.ts +1 -1
- package/src/mcp-server/tools/cardIssuingGetFull.ts +1 -1
- package/src/mcp-server/tools/enrichedAddressGet.ts +1 -1
- package/src/mcp-server/tools/enrichedProfileGet.ts +1 -1
- package/src/mcp-server/tools/imagesUpload.ts +1 -1
- package/src/mcp-server/tools/institutionsSearch.ts +2 -2
- package/src/mcp-server/tools/transfersCreateCancellation.ts +3 -0
- package/src/mcp-server/tools/transfersCreateReversal.ts +4 -1
- package/src/mcp-server/tools/transfersListCancellations.ts +1 -1
- package/src/models/components/adjustmentfees.ts +72 -0
- package/src/models/components/applicationscope.ts +1 -1
- package/src/models/components/billingadjustment.ts +77 -0
- package/src/models/components/billingsummary.ts +34 -19
- package/src/models/components/cancellation.ts +3 -0
- package/src/models/components/createdtransfer.ts +21 -0
- package/src/models/components/createfeeplanagreement.ts +18 -1
- package/src/models/components/createpaymentlink.ts +3 -0
- package/src/models/components/createrefund.ts +2 -2
- package/src/models/components/createreversal.ts +6 -1
- package/src/models/components/facilitatorfee.ts +2 -2
- package/src/models/components/feeplanagreement.ts +17 -0
- package/src/models/components/fullissuedcard.ts +4 -0
- package/src/models/components/index.ts +4 -0
- package/src/models/components/issuedcard.ts +4 -0
- package/src/models/components/issuedcardauthorization.ts +7 -0
- package/src/models/components/issuedcardstate.ts +3 -0
- package/src/models/components/issuedcardtransaction.ts +7 -0
- package/src/models/components/issuingcontrols.ts +3 -0
- package/src/models/components/partnerpricingagreement.ts +19 -2
- package/src/models/components/paymentlink.ts +3 -0
- package/src/models/components/paymentlinkpayoutdetails.ts +3 -0
- package/src/models/components/paymentlinkpayoutdetailsupdate.ts +3 -0
- package/src/models/components/paymentmethodswallet.ts +1 -0
- package/src/models/components/requestcard.ts +3 -0
- package/src/models/components/requirementid.ts +14 -0
- package/src/models/components/reversedwithcancellation.ts +3 -0
- package/src/models/components/statement.ts +13 -0
- package/src/models/components/sweepconfig.ts +2 -2
- package/src/models/components/sweepconfigpaymentmethod.ts +1 -1
- package/src/models/components/transfer.ts +21 -0
- package/src/models/components/transfercapture.ts +62 -0
- package/src/models/components/transferpaymentmethodswallet.ts +1 -0
- package/src/models/components/updateissuedcard.ts +2 -0
- package/src/models/components/updateissuedcardstate.ts +6 -0
- package/src/models/components/updatepaymentlink.ts +3 -0
- package/src/models/components/wallet.ts +1 -0
- package/src/models/components/wallettype.ts +3 -0
- package/src/models/components/webhookdata.ts +12 -2
- package/src/models/components/webhookdataeventtest.ts +54 -0
- package/src/models/components/webhookdatatransferstatus.ts +3 -0
- package/src/models/components/webhookeventtype.ts +1 -0
- package/src/models/errors/transfer.ts +28 -0
- package/src/models/operations/listaccounts.ts +3 -0
- package/src/models/operations/listconnectedaccountsforaccount.ts +3 -0
- package/src/models/operations/listdisputes.ts +3 -0
- package/src/models/operations/listfeeplanagreements.ts +3 -0
- package/src/models/operations/listfeerevenue.ts +3 -0
- package/src/models/operations/listissuedcardauthorizationevents.ts +3 -0
- package/src/models/operations/listissuedcardauthorizations.ts +3 -0
- package/src/models/operations/listissuedcards.ts +3 -0
- package/src/models/operations/listissuedcardtransactions.ts +10 -0
- package/src/models/operations/listpartnerpricingagreements.ts +3 -0
- package/src/models/operations/listpaymentlinks.ts +3 -0
- package/src/models/operations/listproducts.ts +3 -0
- package/src/models/operations/listresidualfees.ts +3 -0
- package/src/models/operations/listresiduals.ts +3 -0
- package/src/models/operations/listschedules.ts +3 -0
- package/src/models/operations/liststatements.ts +3 -0
- package/src/models/operations/listsweeps.ts +3 -0
- package/src/models/operations/listtickets.ts +3 -0
- package/src/models/operations/listtransfers.ts +17 -0
- package/src/models/operations/listwallets.ts +3 -0
- package/src/models/operations/listwallettransactions.ts +3 -0
- package/src/models/operations/retrievefees.ts +3 -0
- package/src/sdk/cardissuing.ts +1 -1
- package/src/sdk/images.ts +1 -1
- package/src/sdk/institutions.ts +1 -1
- package/src/sdk/transfers.ts +6 -0
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* The card authorization and capture IDs associated with a transfer.
|
|
12
|
+
*/
|
|
13
|
+
export type TransferCapture = {
|
|
14
|
+
/**
|
|
15
|
+
* ID of the card authorization associated with this transfer.
|
|
16
|
+
*/
|
|
17
|
+
authorizationID: string;
|
|
18
|
+
/**
|
|
19
|
+
* ID of the card capture associated with this transfer.
|
|
20
|
+
*/
|
|
21
|
+
captureID: string;
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
/** @internal */
|
|
25
|
+
export const TransferCapture$inboundSchema: z.ZodType<
|
|
26
|
+
TransferCapture,
|
|
27
|
+
z.ZodTypeDef,
|
|
28
|
+
unknown
|
|
29
|
+
> = z.object({
|
|
30
|
+
authorizationID: z.string(),
|
|
31
|
+
captureID: z.string(),
|
|
32
|
+
});
|
|
33
|
+
/** @internal */
|
|
34
|
+
export type TransferCapture$Outbound = {
|
|
35
|
+
authorizationID: string;
|
|
36
|
+
captureID: string;
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
/** @internal */
|
|
40
|
+
export const TransferCapture$outboundSchema: z.ZodType<
|
|
41
|
+
TransferCapture$Outbound,
|
|
42
|
+
z.ZodTypeDef,
|
|
43
|
+
TransferCapture
|
|
44
|
+
> = z.object({
|
|
45
|
+
authorizationID: z.string(),
|
|
46
|
+
captureID: z.string(),
|
|
47
|
+
});
|
|
48
|
+
|
|
49
|
+
export function transferCaptureToJSON(
|
|
50
|
+
transferCapture: TransferCapture,
|
|
51
|
+
): string {
|
|
52
|
+
return JSON.stringify(TransferCapture$outboundSchema.parse(transferCapture));
|
|
53
|
+
}
|
|
54
|
+
export function transferCaptureFromJSON(
|
|
55
|
+
jsonString: string,
|
|
56
|
+
): SafeParseResult<TransferCapture, SDKValidationError> {
|
|
57
|
+
return safeParse(
|
|
58
|
+
jsonString,
|
|
59
|
+
(x) => TransferCapture$inboundSchema.parse(JSON.parse(x)),
|
|
60
|
+
`Failed to parse 'TransferCapture' from JSON`,
|
|
61
|
+
);
|
|
62
|
+
}
|
|
@@ -21,6 +21,7 @@ export type TransferPaymentMethodsWallet = {
|
|
|
21
21
|
* @remarks
|
|
22
22
|
* - `default`: The system-generated wallet automatically created when an account is granted the wallet capability.
|
|
23
23
|
* - `general`: An additional, user-defined wallet created via API or Dashboard.
|
|
24
|
+
* - `card-issuing`: The system-generated wallet automatically created when an account is granted the card-issuing capability.
|
|
24
25
|
*/
|
|
25
26
|
walletType: WalletType;
|
|
26
27
|
};
|
|
@@ -26,6 +26,8 @@ export type UpdateIssuedCard = {
|
|
|
26
26
|
* Updates the state of a Moov issued card.
|
|
27
27
|
*
|
|
28
28
|
* @remarks
|
|
29
|
+
* - `active`: Reactivates a frozen card so it can approve authorizations again.
|
|
30
|
+
* - `frozen`: Temporarily suspends the card so it cannot approve authorizations. A card can be moved between `frozen` and `active` at will until it is `closed`, which is a terminal state.
|
|
29
31
|
* - `closed`: The card is permanently deactivated and cannot approve authorizations. A card can be closed by request or when it expires.
|
|
30
32
|
*/
|
|
31
33
|
state?: UpdateIssuedCardState | undefined;
|
|
@@ -9,15 +9,21 @@ import { ClosedEnum } from "../../types/enums.js";
|
|
|
9
9
|
* Updates the state of a Moov issued card.
|
|
10
10
|
*
|
|
11
11
|
* @remarks
|
|
12
|
+
* - `active`: Reactivates a frozen card so it can approve authorizations again.
|
|
13
|
+
* - `frozen`: Temporarily suspends the card so it cannot approve authorizations. A card can be moved between `frozen` and `active` at will until it is `closed`, which is a terminal state.
|
|
12
14
|
* - `closed`: The card is permanently deactivated and cannot approve authorizations. A card can be closed by request or when it expires.
|
|
13
15
|
*/
|
|
14
16
|
export const UpdateIssuedCardState = {
|
|
17
|
+
Active: "active",
|
|
18
|
+
Frozen: "frozen",
|
|
15
19
|
Closed: "closed",
|
|
16
20
|
} as const;
|
|
17
21
|
/**
|
|
18
22
|
* Updates the state of a Moov issued card.
|
|
19
23
|
*
|
|
20
24
|
* @remarks
|
|
25
|
+
* - `active`: Reactivates a frozen card so it can approve authorizations again.
|
|
26
|
+
* - `frozen`: Temporarily suspends the card so it cannot approve authorizations. A card can be moved between `frozen` and `active` at will until it is `closed`, which is a terminal state.
|
|
21
27
|
* - `closed`: The card is permanently deactivated and cannot approve authorizations. A card can be closed by request or when it expires.
|
|
22
28
|
*/
|
|
23
29
|
export type UpdateIssuedCardState = ClosedEnum<typeof UpdateIssuedCardState>;
|
|
@@ -56,6 +56,9 @@ export type UpdatePaymentLink = {
|
|
|
56
56
|
* Options for payment links used to collect payment.
|
|
57
57
|
*/
|
|
58
58
|
payment?: PaymentLinkPaymentDetailsUpdate | undefined;
|
|
59
|
+
/**
|
|
60
|
+
* Options for payout links used to send a payout.
|
|
61
|
+
*/
|
|
59
62
|
payout?: PaymentLinkPayoutDetailsUpdate | undefined;
|
|
60
63
|
/**
|
|
61
64
|
* An optional collection of line items for a payment link.
|
|
@@ -48,6 +48,7 @@ export type Wallet = {
|
|
|
48
48
|
* @remarks
|
|
49
49
|
* - `default`: The system-generated wallet automatically created when an account is granted the wallet capability.
|
|
50
50
|
* - `general`: An additional, user-defined wallet created via API or Dashboard.
|
|
51
|
+
* - `card-issuing`: The system-generated wallet automatically created when an account is granted the card-issuing capability.
|
|
51
52
|
*/
|
|
52
53
|
walletType: WalletType;
|
|
53
54
|
/**
|
|
@@ -11,10 +11,12 @@ import { ClosedEnum } from "../../types/enums.js";
|
|
|
11
11
|
* @remarks
|
|
12
12
|
* - `default`: The system-generated wallet automatically created when an account is granted the wallet capability.
|
|
13
13
|
* - `general`: An additional, user-defined wallet created via API or Dashboard.
|
|
14
|
+
* - `card-issuing`: The system-generated wallet automatically created when an account is granted the card-issuing capability.
|
|
14
15
|
*/
|
|
15
16
|
export const WalletType = {
|
|
16
17
|
Default: "default",
|
|
17
18
|
General: "general",
|
|
19
|
+
CardIssuing: "card-issuing",
|
|
18
20
|
} as const;
|
|
19
21
|
/**
|
|
20
22
|
* Type of a wallet.
|
|
@@ -22,6 +24,7 @@ export const WalletType = {
|
|
|
22
24
|
* @remarks
|
|
23
25
|
* - `default`: The system-generated wallet automatically created when an account is granted the wallet capability.
|
|
24
26
|
* - `general`: An additional, user-defined wallet created via API or Dashboard.
|
|
27
|
+
* - `card-issuing`: The system-generated wallet automatically created when an account is granted the card-issuing capability.
|
|
25
28
|
*/
|
|
26
29
|
export type WalletType = ClosedEnum<typeof WalletType>;
|
|
27
30
|
|
|
@@ -102,6 +102,12 @@ import {
|
|
|
102
102
|
WebhookDataDisputeUpdated$Outbound,
|
|
103
103
|
WebhookDataDisputeUpdated$outboundSchema,
|
|
104
104
|
} from "./webhookdatadisputeupdated.js";
|
|
105
|
+
import {
|
|
106
|
+
WebhookDataEventTest,
|
|
107
|
+
WebhookDataEventTest$inboundSchema,
|
|
108
|
+
WebhookDataEventTest$Outbound,
|
|
109
|
+
WebhookDataEventTest$outboundSchema,
|
|
110
|
+
} from "./webhookdataeventtest.js";
|
|
105
111
|
import {
|
|
106
112
|
WebhookDataInvoiceCreated,
|
|
107
113
|
WebhookDataInvoiceCreated$inboundSchema,
|
|
@@ -276,7 +282,8 @@ export type WebhookData =
|
|
|
276
282
|
| WebhookDataAccountCreated
|
|
277
283
|
| WebhookDataAccountUpdated
|
|
278
284
|
| WebhookDataAccountDisconnected
|
|
279
|
-
| WebhookDataNetworkIDUpdated
|
|
285
|
+
| WebhookDataNetworkIDUpdated
|
|
286
|
+
| WebhookDataEventTest;
|
|
280
287
|
|
|
281
288
|
/** @internal */
|
|
282
289
|
export const WebhookData$inboundSchema: z.ZodType<
|
|
@@ -322,6 +329,7 @@ export const WebhookData$inboundSchema: z.ZodType<
|
|
|
322
329
|
WebhookDataAccountUpdated$inboundSchema,
|
|
323
330
|
WebhookDataAccountDisconnected$inboundSchema,
|
|
324
331
|
WebhookDataNetworkIDUpdated$inboundSchema,
|
|
332
|
+
WebhookDataEventTest$inboundSchema,
|
|
325
333
|
]);
|
|
326
334
|
/** @internal */
|
|
327
335
|
export type WebhookData$Outbound =
|
|
@@ -362,7 +370,8 @@ export type WebhookData$Outbound =
|
|
|
362
370
|
| WebhookDataAccountCreated$Outbound
|
|
363
371
|
| WebhookDataAccountUpdated$Outbound
|
|
364
372
|
| WebhookDataAccountDisconnected$Outbound
|
|
365
|
-
| WebhookDataNetworkIDUpdated$Outbound
|
|
373
|
+
| WebhookDataNetworkIDUpdated$Outbound
|
|
374
|
+
| WebhookDataEventTest$Outbound;
|
|
366
375
|
|
|
367
376
|
/** @internal */
|
|
368
377
|
export const WebhookData$outboundSchema: z.ZodType<
|
|
@@ -408,6 +417,7 @@ export const WebhookData$outboundSchema: z.ZodType<
|
|
|
408
417
|
WebhookDataAccountUpdated$outboundSchema,
|
|
409
418
|
WebhookDataAccountDisconnected$outboundSchema,
|
|
410
419
|
WebhookDataNetworkIDUpdated$outboundSchema,
|
|
420
|
+
WebhookDataEventTest$outboundSchema,
|
|
411
421
|
]);
|
|
412
422
|
|
|
413
423
|
export function webhookDataToJSON(webhookData: WebhookData): string {
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* The data payload sent for an `event.test` event, such as a webhook ping.
|
|
12
|
+
*/
|
|
13
|
+
export type WebhookDataEventTest = {
|
|
14
|
+
ping: boolean;
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
/** @internal */
|
|
18
|
+
export const WebhookDataEventTest$inboundSchema: z.ZodType<
|
|
19
|
+
WebhookDataEventTest,
|
|
20
|
+
z.ZodTypeDef,
|
|
21
|
+
unknown
|
|
22
|
+
> = z.object({
|
|
23
|
+
ping: z.boolean(),
|
|
24
|
+
});
|
|
25
|
+
/** @internal */
|
|
26
|
+
export type WebhookDataEventTest$Outbound = {
|
|
27
|
+
ping: boolean;
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
/** @internal */
|
|
31
|
+
export const WebhookDataEventTest$outboundSchema: z.ZodType<
|
|
32
|
+
WebhookDataEventTest$Outbound,
|
|
33
|
+
z.ZodTypeDef,
|
|
34
|
+
WebhookDataEventTest
|
|
35
|
+
> = z.object({
|
|
36
|
+
ping: z.boolean(),
|
|
37
|
+
});
|
|
38
|
+
|
|
39
|
+
export function webhookDataEventTestToJSON(
|
|
40
|
+
webhookDataEventTest: WebhookDataEventTest,
|
|
41
|
+
): string {
|
|
42
|
+
return JSON.stringify(
|
|
43
|
+
WebhookDataEventTest$outboundSchema.parse(webhookDataEventTest),
|
|
44
|
+
);
|
|
45
|
+
}
|
|
46
|
+
export function webhookDataEventTestFromJSON(
|
|
47
|
+
jsonString: string,
|
|
48
|
+
): SafeParseResult<WebhookDataEventTest, SDKValidationError> {
|
|
49
|
+
return safeParse(
|
|
50
|
+
jsonString,
|
|
51
|
+
(x) => WebhookDataEventTest$inboundSchema.parse(JSON.parse(x)),
|
|
52
|
+
`Failed to parse 'WebhookDataEventTest' from JSON`,
|
|
53
|
+
);
|
|
54
|
+
}
|
|
@@ -28,8 +28,11 @@ export const WebhookDataTransferStatus = {
|
|
|
28
28
|
DestinationReturned: "destination.returned",
|
|
29
29
|
DestinationOriginated: "destination.originated",
|
|
30
30
|
DestinationConfirmed: "destination.confirmed",
|
|
31
|
+
DestinationSettled: "destination.settled",
|
|
31
32
|
DestinationFailed: "destination.failed",
|
|
33
|
+
DestinationCanceled: "destination.canceled",
|
|
32
34
|
DestinationAcceptedWithoutPosting: "destination.accepted-without-posting",
|
|
35
|
+
DestinationDeferred: "destination.deferred",
|
|
33
36
|
} as const;
|
|
34
37
|
export type WebhookDataTransferStatus = ClosedEnum<
|
|
35
38
|
typeof WebhookDataTransferStatus
|
|
@@ -48,6 +48,7 @@ export const WebhookEventType = {
|
|
|
48
48
|
WalletTransactionUpdated: "walletTransaction.updated",
|
|
49
49
|
BillingStatementCreated: "billingStatement.created",
|
|
50
50
|
AuthorizationExpiring: "authorization.expiring",
|
|
51
|
+
EventTest: "event.test",
|
|
51
52
|
} as const;
|
|
52
53
|
/**
|
|
53
54
|
* The type of event that occurred.
|
|
@@ -23,6 +23,14 @@ export type TransferData = {
|
|
|
23
23
|
* Reason for a transfer's failure.
|
|
24
24
|
*/
|
|
25
25
|
failureReason?: components.TransferFailureReason | undefined;
|
|
26
|
+
/**
|
|
27
|
+
* Amount associated with this transfer.
|
|
28
|
+
*
|
|
29
|
+
* @remarks
|
|
30
|
+
* In v2026.10 and later, an auth-capture `card-payment` transfer reports the approved authorization amount until a final capture is created.
|
|
31
|
+
* For these transfers, when a final capture is created, this is updated to the cumulative captured amount.
|
|
32
|
+
* For other transfer types, this is the transfer amount.
|
|
33
|
+
*/
|
|
26
34
|
amount: components.Amount;
|
|
27
35
|
/**
|
|
28
36
|
* An optional description of the transfer that is used on receipts and for your own internal use.
|
|
@@ -77,6 +85,10 @@ export type TransferData = {
|
|
|
77
85
|
* When line items are provided, their total plus tax must equal the transfer amount.
|
|
78
86
|
*/
|
|
79
87
|
lineItems?: components.TransferLineItems | undefined;
|
|
88
|
+
/**
|
|
89
|
+
* The card authorization and capture IDs associated with a transfer.
|
|
90
|
+
*/
|
|
91
|
+
capture?: components.TransferCapture | undefined;
|
|
80
92
|
};
|
|
81
93
|
|
|
82
94
|
/**
|
|
@@ -96,6 +108,14 @@ export class Transfer extends MoovError {
|
|
|
96
108
|
* Reason for a transfer's failure.
|
|
97
109
|
*/
|
|
98
110
|
failureReason?: components.TransferFailureReason | undefined;
|
|
111
|
+
/**
|
|
112
|
+
* Amount associated with this transfer.
|
|
113
|
+
*
|
|
114
|
+
* @remarks
|
|
115
|
+
* In v2026.10 and later, an auth-capture `card-payment` transfer reports the approved authorization amount until a final capture is created.
|
|
116
|
+
* For these transfers, when a final capture is created, this is updated to the cumulative captured amount.
|
|
117
|
+
* For other transfer types, this is the transfer amount.
|
|
118
|
+
*/
|
|
99
119
|
amount: components.Amount;
|
|
100
120
|
/**
|
|
101
121
|
* An optional description of the transfer that is used on receipts and for your own internal use.
|
|
@@ -150,6 +170,10 @@ export class Transfer extends MoovError {
|
|
|
150
170
|
* When line items are provided, their total plus tax must equal the transfer amount.
|
|
151
171
|
*/
|
|
152
172
|
lineItems?: components.TransferLineItems | undefined;
|
|
173
|
+
/**
|
|
174
|
+
* The card authorization and capture IDs associated with a transfer.
|
|
175
|
+
*/
|
|
176
|
+
capture?: components.TransferCapture | undefined;
|
|
153
177
|
|
|
154
178
|
/** The original data that was passed to this error instance. */
|
|
155
179
|
data$: TransferData;
|
|
@@ -191,6 +215,7 @@ export class Transfer extends MoovError {
|
|
|
191
215
|
if (err.salesTaxAmount != null) this.salesTaxAmount = err.salesTaxAmount;
|
|
192
216
|
if (err.foreignID != null) this.foreignID = err.foreignID;
|
|
193
217
|
if (err.lineItems != null) this.lineItems = err.lineItems;
|
|
218
|
+
if (err.capture != null) this.capture = err.capture;
|
|
194
219
|
|
|
195
220
|
this.name = "Transfer";
|
|
196
221
|
}
|
|
@@ -231,6 +256,7 @@ export const Transfer$inboundSchema: z.ZodType<
|
|
|
231
256
|
salesTaxAmount: components.Amount$inboundSchema.optional(),
|
|
232
257
|
foreignID: z.string().optional(),
|
|
233
258
|
lineItems: components.TransferLineItems$inboundSchema.optional(),
|
|
259
|
+
capture: components.TransferCapture$inboundSchema.optional(),
|
|
234
260
|
request$: z.instanceof(Request),
|
|
235
261
|
response$: z.instanceof(Response),
|
|
236
262
|
body$: z.string(),
|
|
@@ -273,6 +299,7 @@ export type Transfer$Outbound = {
|
|
|
273
299
|
salesTaxAmount?: components.Amount$Outbound | undefined;
|
|
274
300
|
foreignID?: string | undefined;
|
|
275
301
|
lineItems?: components.TransferLineItems$Outbound | undefined;
|
|
302
|
+
capture?: components.TransferCapture$Outbound | undefined;
|
|
276
303
|
};
|
|
277
304
|
|
|
278
305
|
/** @internal */
|
|
@@ -312,4 +339,5 @@ export const Transfer$outboundSchema: z.ZodType<
|
|
|
312
339
|
salesTaxAmount: components.Amount$outboundSchema.optional(),
|
|
313
340
|
foreignID: z.string().optional(),
|
|
314
341
|
lineItems: components.TransferLineItems$outboundSchema.optional(),
|
|
342
|
+
capture: components.TransferCapture$outboundSchema.optional(),
|
|
315
343
|
}));
|
|
@@ -67,6 +67,9 @@ export type ListConnectedAccountsForAccountRequest = {
|
|
|
67
67
|
*/
|
|
68
68
|
capabilityStatus?: components.CapabilityStatus | undefined;
|
|
69
69
|
skip?: number | undefined;
|
|
70
|
+
/**
|
|
71
|
+
* Page size. When omitted, the server defaults to `200`.
|
|
72
|
+
*/
|
|
70
73
|
count?: number | undefined;
|
|
71
74
|
};
|
|
72
75
|
|
|
@@ -12,6 +12,9 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
|
12
12
|
export type ListDisputesRequest = {
|
|
13
13
|
accountID: string;
|
|
14
14
|
skip?: number | undefined;
|
|
15
|
+
/**
|
|
16
|
+
* Page size. When omitted, the server defaults to `200`.
|
|
17
|
+
*/
|
|
15
18
|
count?: number | undefined;
|
|
16
19
|
/**
|
|
17
20
|
* Optional date-time parameter to filter all disputes created on and after the provided date and time.
|
|
@@ -11,6 +11,9 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
|
11
11
|
|
|
12
12
|
export type ListFeePlanAgreementsRequest = {
|
|
13
13
|
skip?: number | undefined;
|
|
14
|
+
/**
|
|
15
|
+
* Page size. When omitted, the server defaults to `200`.
|
|
16
|
+
*/
|
|
14
17
|
count?: number | undefined;
|
|
15
18
|
accountID: string;
|
|
16
19
|
/**
|
|
@@ -11,6 +11,9 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
|
11
11
|
|
|
12
12
|
export type ListFeeRevenueRequest = {
|
|
13
13
|
skip?: number | undefined;
|
|
14
|
+
/**
|
|
15
|
+
* Page size. When omitted, the server defaults to `200`.
|
|
16
|
+
*/
|
|
14
17
|
count?: number | undefined;
|
|
15
18
|
/**
|
|
16
19
|
* The Partner's AccountID.
|
|
@@ -15,6 +15,9 @@ export type ListIssuedCardAuthorizationsRequest = {
|
|
|
15
15
|
*/
|
|
16
16
|
accountID: string;
|
|
17
17
|
skip?: number | undefined;
|
|
18
|
+
/**
|
|
19
|
+
* Page size. When omitted, the server defaults to `200`.
|
|
20
|
+
*/
|
|
18
21
|
count?: number | undefined;
|
|
19
22
|
/**
|
|
20
23
|
* Optional ID of the issued card to filter results.
|
|
@@ -15,6 +15,9 @@ export type ListIssuedCardsRequest = {
|
|
|
15
15
|
*/
|
|
16
16
|
accountID: string;
|
|
17
17
|
skip?: number | undefined;
|
|
18
|
+
/**
|
|
19
|
+
* Page size. When omitted, the server defaults to `200`.
|
|
20
|
+
*/
|
|
18
21
|
count?: number | undefined;
|
|
19
22
|
/**
|
|
20
23
|
* Optional, comma-separated states to filter the Moov list issued cards response. For example `active,closed`
|
|
@@ -15,11 +15,18 @@ export type ListIssuedCardTransactionsRequest = {
|
|
|
15
15
|
*/
|
|
16
16
|
accountID: string;
|
|
17
17
|
skip?: number | undefined;
|
|
18
|
+
/**
|
|
19
|
+
* Page size. When omitted, the server defaults to `200`.
|
|
20
|
+
*/
|
|
18
21
|
count?: number | undefined;
|
|
19
22
|
/**
|
|
20
23
|
* Optional ID of the issued card to filter results.
|
|
21
24
|
*/
|
|
22
25
|
issuedCardID?: string | undefined;
|
|
26
|
+
/**
|
|
27
|
+
* Optional case-insensitive substring match on the merchant name to filter results.
|
|
28
|
+
*/
|
|
29
|
+
merchantName?: string | undefined;
|
|
23
30
|
/**
|
|
24
31
|
* Optional date-time which inclusively filters all card transactions created after this date-time.
|
|
25
32
|
*/
|
|
@@ -45,6 +52,7 @@ export const ListIssuedCardTransactionsRequest$inboundSchema: z.ZodType<
|
|
|
45
52
|
skip: z.number().int().optional(),
|
|
46
53
|
count: z.number().int().optional(),
|
|
47
54
|
issuedCardID: z.string().optional(),
|
|
55
|
+
merchantName: z.string().optional(),
|
|
48
56
|
startDateTime: z.string().datetime({ offset: true }).transform(v =>
|
|
49
57
|
new Date(v)
|
|
50
58
|
).optional(),
|
|
@@ -57,6 +65,7 @@ export type ListIssuedCardTransactionsRequest$Outbound = {
|
|
|
57
65
|
skip?: number | undefined;
|
|
58
66
|
count?: number | undefined;
|
|
59
67
|
issuedCardID?: string | undefined;
|
|
68
|
+
merchantName?: string | undefined;
|
|
60
69
|
startDateTime?: string | undefined;
|
|
61
70
|
endDateTime?: string | undefined;
|
|
62
71
|
};
|
|
@@ -71,6 +80,7 @@ export const ListIssuedCardTransactionsRequest$outboundSchema: z.ZodType<
|
|
|
71
80
|
skip: z.number().int().optional(),
|
|
72
81
|
count: z.number().int().optional(),
|
|
73
82
|
issuedCardID: z.string().optional(),
|
|
83
|
+
merchantName: z.string().optional(),
|
|
74
84
|
startDateTime: z.date().transform(v => v.toISOString()).optional(),
|
|
75
85
|
endDateTime: z.date().transform(v => v.toISOString()).optional(),
|
|
76
86
|
});
|
|
@@ -11,6 +11,9 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
|
11
11
|
|
|
12
12
|
export type ListPartnerPricingAgreementsRequest = {
|
|
13
13
|
skip?: number | undefined;
|
|
14
|
+
/**
|
|
15
|
+
* Page size. When omitted, the server defaults to `200`.
|
|
16
|
+
*/
|
|
14
17
|
count?: number | undefined;
|
|
15
18
|
accountID: string;
|
|
16
19
|
/**
|
|
@@ -11,6 +11,9 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
|
11
11
|
|
|
12
12
|
export type ListPaymentLinksRequest = {
|
|
13
13
|
skip?: number | undefined;
|
|
14
|
+
/**
|
|
15
|
+
* Page size. When omitted, the server defaults to `200`.
|
|
16
|
+
*/
|
|
14
17
|
count?: number | undefined;
|
|
15
18
|
/**
|
|
16
19
|
* A comma-separated list of payment link types to filter results.
|
|
@@ -11,6 +11,9 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
|
11
11
|
|
|
12
12
|
export type ListResidualFeesRequest = {
|
|
13
13
|
skip?: number | undefined;
|
|
14
|
+
/**
|
|
15
|
+
* Page size. When omitted, the server defaults to `200`.
|
|
16
|
+
*/
|
|
14
17
|
count?: number | undefined;
|
|
15
18
|
accountID: string;
|
|
16
19
|
/**
|
|
@@ -11,6 +11,9 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
|
11
11
|
|
|
12
12
|
export type ListResidualsRequest = {
|
|
13
13
|
skip?: number | undefined;
|
|
14
|
+
/**
|
|
15
|
+
* Page size. When omitted, the server defaults to `200`.
|
|
16
|
+
*/
|
|
14
17
|
count?: number | undefined;
|
|
15
18
|
accountID: string;
|
|
16
19
|
/**
|
|
@@ -17,6 +17,9 @@ export type Hydrate = ClosedEnum<typeof Hydrate>;
|
|
|
17
17
|
|
|
18
18
|
export type ListSchedulesRequest = {
|
|
19
19
|
skip?: number | undefined;
|
|
20
|
+
/**
|
|
21
|
+
* Page size. When omitted, the server defaults to `200`.
|
|
22
|
+
*/
|
|
20
23
|
count?: number | undefined;
|
|
21
24
|
hydrate?: Hydrate | undefined;
|
|
22
25
|
accountID: string;
|
|
@@ -13,6 +13,9 @@ export type ListSweepsRequest = {
|
|
|
13
13
|
accountID: string;
|
|
14
14
|
walletID: string;
|
|
15
15
|
skip?: number | undefined;
|
|
16
|
+
/**
|
|
17
|
+
* Page size. When omitted, the server defaults to `200`.
|
|
18
|
+
*/
|
|
16
19
|
count?: number | undefined;
|
|
17
20
|
/**
|
|
18
21
|
* Optional parameter to filter by sweep status.
|
|
@@ -11,6 +11,9 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
|
11
11
|
|
|
12
12
|
export type ListTicketsRequest = {
|
|
13
13
|
cursor?: string | undefined;
|
|
14
|
+
/**
|
|
15
|
+
* Page size. When omitted, the server defaults to `200`.
|
|
16
|
+
*/
|
|
14
17
|
count?: number | undefined;
|
|
15
18
|
status?: components.TicketStatus | undefined;
|
|
16
19
|
foreignID?: string | undefined;
|
|
@@ -50,7 +50,18 @@ export type ListTransfersRequest = {
|
|
|
50
50
|
* Optional alias from a foreign/external system which can be used to reference this resource.
|
|
51
51
|
*/
|
|
52
52
|
foreignID?: string | undefined;
|
|
53
|
+
/**
|
|
54
|
+
* Optional comma-separated authorization IDs.
|
|
55
|
+
*/
|
|
56
|
+
authorizationIDs?: Array<string> | undefined;
|
|
57
|
+
/**
|
|
58
|
+
* Optional comma-separated IDs to filter for transfers associated with specific card captures.
|
|
59
|
+
*/
|
|
60
|
+
captureIDs?: Array<string> | undefined;
|
|
53
61
|
skip?: number | undefined;
|
|
62
|
+
/**
|
|
63
|
+
* Page size. When omitted, the server defaults to `200`.
|
|
64
|
+
*/
|
|
54
65
|
count?: number | undefined;
|
|
55
66
|
accountID: string;
|
|
56
67
|
};
|
|
@@ -79,6 +90,8 @@ export const ListTransfersRequest$inboundSchema: z.ZodType<
|
|
|
79
90
|
refunded: z.boolean().optional(),
|
|
80
91
|
disputed: z.boolean().optional(),
|
|
81
92
|
foreignID: z.string().optional(),
|
|
93
|
+
authorizationIDs: z.array(z.string()).optional(),
|
|
94
|
+
captureIDs: z.array(z.string()).optional(),
|
|
82
95
|
skip: z.number().int().optional(),
|
|
83
96
|
count: z.number().int().optional(),
|
|
84
97
|
accountID: z.string(),
|
|
@@ -95,6 +108,8 @@ export type ListTransfersRequest$Outbound = {
|
|
|
95
108
|
refunded?: boolean | undefined;
|
|
96
109
|
disputed?: boolean | undefined;
|
|
97
110
|
foreignID?: string | undefined;
|
|
111
|
+
authorizationIDs?: Array<string> | undefined;
|
|
112
|
+
captureIDs?: Array<string> | undefined;
|
|
98
113
|
skip?: number | undefined;
|
|
99
114
|
count?: number | undefined;
|
|
100
115
|
accountID: string;
|
|
@@ -116,6 +131,8 @@ export const ListTransfersRequest$outboundSchema: z.ZodType<
|
|
|
116
131
|
refunded: z.boolean().optional(),
|
|
117
132
|
disputed: z.boolean().optional(),
|
|
118
133
|
foreignID: z.string().optional(),
|
|
134
|
+
authorizationIDs: z.array(z.string()).optional(),
|
|
135
|
+
captureIDs: z.array(z.string()).optional(),
|
|
119
136
|
skip: z.number().int().optional(),
|
|
120
137
|
count: z.number().int().optional(),
|
|
121
138
|
accountID: z.string(),
|
|
@@ -12,6 +12,9 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
|
12
12
|
export type ListWalletTransactionsRequest = {
|
|
13
13
|
accountID: string;
|
|
14
14
|
skip?: number | undefined;
|
|
15
|
+
/**
|
|
16
|
+
* Page size. When omitted, the server defaults to `200`.
|
|
17
|
+
*/
|
|
15
18
|
count?: number | undefined;
|
|
16
19
|
walletID: string;
|
|
17
20
|
/**
|