mollie-api-typescript 0.8.1 → 0.8.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/mcp-server.js +731 -1092
- package/bin/mcp-server.js.map +117 -117
- package/dist/commonjs/funcs/clientLinksCreate.js +1 -1
- package/dist/commonjs/funcs/clientLinksCreate.js.map +1 -1
- package/dist/commonjs/funcs/customersDelete.d.ts +1 -1
- package/dist/commonjs/funcs/customersDelete.d.ts.map +1 -1
- package/dist/commonjs/funcs/customersDelete.js +1 -1
- package/dist/commonjs/funcs/customersDelete.js.map +1 -1
- package/dist/commonjs/funcs/mandatesCreate.js +3 -1
- package/dist/commonjs/funcs/mandatesCreate.js.map +1 -1
- package/dist/commonjs/funcs/mandatesRevoke.d.ts +1 -1
- package/dist/commonjs/funcs/mandatesRevoke.d.ts.map +1 -1
- package/dist/commonjs/funcs/mandatesRevoke.js +1 -1
- package/dist/commonjs/funcs/mandatesRevoke.js.map +1 -1
- package/dist/commonjs/funcs/onboardingSubmit.d.ts +1 -1
- package/dist/commonjs/funcs/onboardingSubmit.d.ts.map +1 -1
- package/dist/commonjs/funcs/onboardingSubmit.js +2 -2
- package/dist/commonjs/funcs/onboardingSubmit.js.map +1 -1
- package/dist/commonjs/funcs/paymentLinksDelete.d.ts +1 -1
- package/dist/commonjs/funcs/paymentLinksDelete.d.ts.map +1 -1
- package/dist/commonjs/funcs/paymentLinksDelete.js +1 -1
- package/dist/commonjs/funcs/paymentLinksDelete.js.map +1 -1
- package/dist/commonjs/funcs/paymentsReleaseAuthorization.d.ts +1 -1
- package/dist/commonjs/funcs/paymentsReleaseAuthorization.d.ts.map +1 -1
- package/dist/commonjs/funcs/paymentsReleaseAuthorization.js +1 -1
- package/dist/commonjs/funcs/paymentsReleaseAuthorization.js.map +1 -1
- package/dist/commonjs/funcs/profilesCreate.js +3 -1
- package/dist/commonjs/funcs/profilesCreate.js.map +1 -1
- package/dist/commonjs/funcs/profilesDelete.d.ts +1 -1
- package/dist/commonjs/funcs/profilesDelete.d.ts.map +1 -1
- package/dist/commonjs/funcs/profilesDelete.js +1 -1
- package/dist/commonjs/funcs/profilesDelete.js.map +1 -1
- package/dist/commonjs/funcs/refundsCancel.d.ts +1 -1
- package/dist/commonjs/funcs/refundsCancel.d.ts.map +1 -1
- package/dist/commonjs/funcs/refundsCancel.js +1 -1
- package/dist/commonjs/funcs/refundsCancel.js.map +1 -1
- package/dist/commonjs/funcs/refundsCreate.js +1 -1
- package/dist/commonjs/funcs/refundsCreate.js.map +1 -1
- package/dist/commonjs/funcs/salesInvoicesDelete.d.ts +1 -1
- package/dist/commonjs/funcs/salesInvoicesDelete.d.ts.map +1 -1
- package/dist/commonjs/funcs/salesInvoicesDelete.js +1 -1
- package/dist/commonjs/funcs/salesInvoicesDelete.js.map +1 -1
- package/dist/commonjs/funcs/webhooksDelete.d.ts +1 -1
- package/dist/commonjs/funcs/webhooksDelete.d.ts.map +1 -1
- package/dist/commonjs/funcs/webhooksDelete.js +1 -1
- package/dist/commonjs/funcs/webhooksDelete.js.map +1 -1
- package/dist/commonjs/funcs/webhooksTest.d.ts +1 -1
- package/dist/commonjs/funcs/webhooksTest.d.ts.map +1 -1
- package/dist/commonjs/funcs/webhooksTest.js +1 -1
- package/dist/commonjs/funcs/webhooksTest.js.map +1 -1
- package/dist/commonjs/hooks/mollie-hooks.d.ts.map +1 -1
- package/dist/commonjs/hooks/mollie-hooks.js +0 -1
- package/dist/commonjs/hooks/mollie-hooks.js.map +1 -1
- package/dist/commonjs/lib/config.d.ts +3 -3
- package/dist/commonjs/lib/config.js +3 -3
- package/dist/commonjs/mcp-server/mcp-server.js +1 -1
- package/dist/commonjs/mcp-server/server.js +1 -1
- package/dist/commonjs/mcp-server/tools/customersDelete.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/tools/customersDelete.js +1 -2
- package/dist/commonjs/mcp-server/tools/customersDelete.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/mandatesRevoke.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/tools/mandatesRevoke.js +1 -2
- package/dist/commonjs/mcp-server/tools/mandatesRevoke.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/onboardingSubmit.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/tools/onboardingSubmit.js +1 -2
- package/dist/commonjs/mcp-server/tools/onboardingSubmit.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/paymentLinksDelete.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/tools/paymentLinksDelete.js +1 -2
- package/dist/commonjs/mcp-server/tools/paymentLinksDelete.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/paymentsReleaseAuthorization.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/tools/paymentsReleaseAuthorization.js +1 -2
- package/dist/commonjs/mcp-server/tools/paymentsReleaseAuthorization.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/profilesDelete.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/tools/profilesDelete.js +1 -2
- package/dist/commonjs/mcp-server/tools/profilesDelete.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/refundsCancel.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/tools/refundsCancel.js +1 -2
- package/dist/commonjs/mcp-server/tools/refundsCancel.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/salesInvoicesDelete.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/tools/salesInvoicesDelete.js +1 -2
- package/dist/commonjs/mcp-server/tools/salesInvoicesDelete.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/webhooksDelete.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/tools/webhooksDelete.js +1 -2
- package/dist/commonjs/mcp-server/tools/webhooksDelete.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/webhooksTest.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/tools/webhooksTest.js +1 -2
- package/dist/commonjs/mcp-server/tools/webhooksTest.js.map +1 -1
- package/dist/commonjs/models/balancereportgrouping.d.ts +1 -1
- package/dist/commonjs/models/balancereportgrouping.d.ts.map +1 -1
- package/dist/commonjs/models/balancereportgrouping.js +3 -11
- package/dist/commonjs/models/balancereportgrouping.js.map +1 -1
- package/dist/commonjs/models/balancestatus.d.ts +1 -1
- package/dist/commonjs/models/balancestatus.d.ts.map +1 -1
- package/dist/commonjs/models/balancestatus.js +3 -11
- package/dist/commonjs/models/balancestatus.js.map +1 -1
- package/dist/commonjs/models/balancetransactiontype.d.ts +1 -1
- package/dist/commonjs/models/balancetransactiontype.d.ts.map +1 -1
- package/dist/commonjs/models/balancetransactiontype.js +3 -11
- package/dist/commonjs/models/balancetransactiontype.js.map +1 -1
- package/dist/commonjs/models/balancetransfercategoryresponse.d.ts +1 -1
- package/dist/commonjs/models/balancetransfercategoryresponse.d.ts.map +1 -1
- package/dist/commonjs/models/balancetransfercategoryresponse.js +3 -11
- package/dist/commonjs/models/balancetransfercategoryresponse.js.map +1 -1
- package/dist/commonjs/models/balancetransferdestinationtype.d.ts +1 -1
- package/dist/commonjs/models/balancetransferdestinationtype.d.ts.map +1 -1
- package/dist/commonjs/models/balancetransferdestinationtype.js +3 -11
- package/dist/commonjs/models/balancetransferdestinationtype.js.map +1 -1
- package/dist/commonjs/models/balancetransferfrequency.d.ts +1 -1
- package/dist/commonjs/models/balancetransferfrequency.d.ts.map +1 -1
- package/dist/commonjs/models/balancetransferfrequency.js +3 -11
- package/dist/commonjs/models/balancetransferfrequency.js.map +1 -1
- package/dist/commonjs/models/balancetransferpartytyperesponse.d.ts +1 -1
- package/dist/commonjs/models/balancetransferpartytyperesponse.d.ts.map +1 -1
- package/dist/commonjs/models/balancetransferpartytyperesponse.js +3 -11
- package/dist/commonjs/models/balancetransferpartytyperesponse.js.map +1 -1
- package/dist/commonjs/models/balancetransferstatus.d.ts +1 -1
- package/dist/commonjs/models/balancetransferstatus.d.ts.map +1 -1
- package/dist/commonjs/models/balancetransferstatus.js +3 -11
- package/dist/commonjs/models/balancetransferstatus.js.map +1 -1
- package/dist/commonjs/models/balancetransferstatusreasonresponse.d.ts +1 -1
- package/dist/commonjs/models/balancetransferstatusreasonresponse.d.ts.map +1 -1
- package/dist/commonjs/models/balancetransferstatusreasonresponse.js +3 -11
- package/dist/commonjs/models/balancetransferstatusreasonresponse.js.map +1 -1
- package/dist/commonjs/models/capabilityrequirementstatus.d.ts +1 -1
- package/dist/commonjs/models/capabilityrequirementstatus.d.ts.map +1 -1
- package/dist/commonjs/models/capabilityrequirementstatus.js +3 -11
- package/dist/commonjs/models/capabilityrequirementstatus.js.map +1 -1
- package/dist/commonjs/models/capabilitystatus.d.ts +1 -1
- package/dist/commonjs/models/capabilitystatus.d.ts.map +1 -1
- package/dist/commonjs/models/capabilitystatus.js +3 -11
- package/dist/commonjs/models/capabilitystatus.js.map +1 -1
- package/dist/commonjs/models/capabilitystatusreason.d.ts +1 -1
- package/dist/commonjs/models/capabilitystatusreason.d.ts.map +1 -1
- package/dist/commonjs/models/capabilitystatusreason.js +3 -11
- package/dist/commonjs/models/capabilitystatusreason.js.map +1 -1
- package/dist/commonjs/models/capturemoderesponse.d.ts +1 -1
- package/dist/commonjs/models/capturemoderesponse.d.ts.map +1 -1
- package/dist/commonjs/models/capturemoderesponse.js +3 -11
- package/dist/commonjs/models/capturemoderesponse.js.map +1 -1
- package/dist/commonjs/models/captureresponse.d.ts +16 -16
- package/dist/commonjs/models/captureresponse.d.ts.map +1 -1
- package/dist/commonjs/models/captureresponse.js +16 -16
- package/dist/commonjs/models/captureresponse.js.map +1 -1
- package/dist/commonjs/models/capturestatus.d.ts +1 -1
- package/dist/commonjs/models/capturestatus.d.ts.map +1 -1
- package/dist/commonjs/models/capturestatus.js +3 -11
- package/dist/commonjs/models/capturestatus.js.map +1 -1
- package/dist/commonjs/models/{entityclientlink.d.ts → clientlinkrequest.d.ts} +19 -19
- package/dist/commonjs/models/clientlinkrequest.d.ts.map +1 -0
- package/dist/commonjs/models/{entityclientlink.js → clientlinkrequest.js} +24 -24
- package/dist/commonjs/models/clientlinkrequest.js.map +1 -0
- package/dist/commonjs/models/clientlinkresponse.d.ts +6 -6
- package/dist/commonjs/models/clientlinkresponse.d.ts.map +1 -1
- package/dist/commonjs/models/clientlinkresponse.js +6 -6
- package/dist/commonjs/models/clientlinkresponse.js.map +1 -1
- package/dist/commonjs/models/currencies.d.ts +1 -1
- package/dist/commonjs/models/currencies.d.ts.map +1 -1
- package/dist/commonjs/models/currencies.js +3 -11
- package/dist/commonjs/models/currencies.js.map +1 -1
- package/dist/commonjs/models/customerresponse.d.ts +18 -18
- package/dist/commonjs/models/customerresponse.d.ts.map +1 -1
- package/dist/commonjs/models/customerresponse.js +18 -18
- package/dist/commonjs/models/customerresponse.js.map +1 -1
- package/dist/commonjs/models/index.d.ts +4 -4
- package/dist/commonjs/models/index.d.ts.map +1 -1
- package/dist/commonjs/models/index.js +4 -4
- package/dist/commonjs/models/index.js.map +1 -1
- package/dist/commonjs/models/invoicestatus.d.ts +1 -1
- package/dist/commonjs/models/invoicestatus.d.ts.map +1 -1
- package/dist/commonjs/models/invoicestatus.js +3 -11
- package/dist/commonjs/models/invoicestatus.js.map +1 -1
- package/dist/commonjs/models/linecategoriesresponse.d.ts +1 -1
- package/dist/commonjs/models/linecategoriesresponse.d.ts.map +1 -1
- package/dist/commonjs/models/linecategoriesresponse.js +3 -11
- package/dist/commonjs/models/linecategoriesresponse.js.map +1 -1
- package/dist/commonjs/models/localeresponse.d.ts +1 -1
- package/dist/commonjs/models/localeresponse.d.ts.map +1 -1
- package/dist/commonjs/models/localeresponse.js +3 -11
- package/dist/commonjs/models/localeresponse.js.map +1 -1
- package/dist/commonjs/models/mandatedetailscardlabelresponse.d.ts +1 -1
- package/dist/commonjs/models/mandatedetailscardlabelresponse.d.ts.map +1 -1
- package/dist/commonjs/models/mandatedetailscardlabelresponse.js +3 -11
- package/dist/commonjs/models/mandatedetailscardlabelresponse.js.map +1 -1
- package/dist/commonjs/models/mandatemethodresponse.d.ts +1 -1
- package/dist/commonjs/models/mandatemethodresponse.d.ts.map +1 -1
- package/dist/commonjs/models/mandatemethodresponse.js +3 -11
- package/dist/commonjs/models/mandatemethodresponse.js.map +1 -1
- package/dist/{esm/models/entitymandate.d.ts → commonjs/models/mandaterequest.d.ts} +11 -11
- package/dist/commonjs/models/mandaterequest.d.ts.map +1 -0
- package/dist/commonjs/models/{entitymandate.js → mandaterequest.js} +14 -14
- package/dist/commonjs/models/mandaterequest.js.map +1 -0
- package/dist/commonjs/models/mandateresponse.d.ts +22 -22
- package/dist/commonjs/models/mandateresponse.d.ts.map +1 -1
- package/dist/commonjs/models/mandateresponse.js +22 -22
- package/dist/commonjs/models/mandateresponse.js.map +1 -1
- package/dist/commonjs/models/mandatestatus.d.ts +1 -1
- package/dist/commonjs/models/mandatestatus.d.ts.map +1 -1
- package/dist/commonjs/models/mandatestatus.js +3 -11
- package/dist/commonjs/models/mandatestatus.js.map +1 -1
- package/dist/commonjs/models/methodresponse.d.ts +1 -1
- package/dist/commonjs/models/methodresponse.d.ts.map +1 -1
- package/dist/commonjs/models/methodresponse.js +3 -11
- package/dist/commonjs/models/methodresponse.js.map +1 -1
- package/dist/commonjs/models/methodstatus.d.ts +1 -1
- package/dist/commonjs/models/methodstatus.d.ts.map +1 -1
- package/dist/commonjs/models/methodstatus.js +3 -11
- package/dist/commonjs/models/methodstatus.js.map +1 -1
- package/dist/commonjs/models/mode.d.ts +1 -1
- package/dist/commonjs/models/mode.d.ts.map +1 -1
- package/dist/commonjs/models/mode.js +3 -11
- package/dist/commonjs/models/mode.js.map +1 -1
- package/dist/commonjs/models/onboardingstatus.d.ts +1 -1
- package/dist/commonjs/models/onboardingstatus.d.ts.map +1 -1
- package/dist/commonjs/models/onboardingstatus.js +3 -11
- package/dist/commonjs/models/onboardingstatus.js.map +1 -1
- package/dist/commonjs/models/operations/createclientlink.d.ts +2 -2
- package/dist/commonjs/models/operations/createclientlink.d.ts.map +1 -1
- package/dist/commonjs/models/operations/createclientlink.js +4 -4
- package/dist/commonjs/models/operations/createclientlink.js.map +1 -1
- package/dist/commonjs/models/operations/createmandate.d.ts +2 -2
- package/dist/commonjs/models/operations/createmandate.d.ts.map +1 -1
- package/dist/commonjs/models/operations/createmandate.js +4 -4
- package/dist/commonjs/models/operations/createmandate.js.map +1 -1
- package/dist/commonjs/models/operations/createprofile.d.ts +2 -2
- package/dist/commonjs/models/operations/createprofile.d.ts.map +1 -1
- package/dist/commonjs/models/operations/createprofile.js +4 -4
- package/dist/commonjs/models/operations/createprofile.js.map +1 -1
- package/dist/commonjs/models/operations/createrefund.d.ts +2 -2
- package/dist/commonjs/models/operations/createrefund.d.ts.map +1 -1
- package/dist/commonjs/models/operations/createrefund.js +4 -4
- package/dist/commonjs/models/operations/createrefund.js.map +1 -1
- package/dist/commonjs/models/operations/getcustomer.d.ts +18 -18
- package/dist/commonjs/models/operations/getcustomer.d.ts.map +1 -1
- package/dist/commonjs/models/operations/getcustomer.js +18 -18
- package/dist/commonjs/models/operations/getcustomer.js.map +1 -1
- package/dist/commonjs/models/organizationvatregulation.d.ts +1 -1
- package/dist/commonjs/models/organizationvatregulation.d.ts.map +1 -1
- package/dist/commonjs/models/organizationvatregulation.js +3 -11
- package/dist/commonjs/models/organizationvatregulation.js.map +1 -1
- package/dist/commonjs/models/paymentdetailscardauditionresponse.d.ts +1 -1
- package/dist/commonjs/models/paymentdetailscardauditionresponse.d.ts.map +1 -1
- package/dist/commonjs/models/paymentdetailscardauditionresponse.js +3 -11
- package/dist/commonjs/models/paymentdetailscardauditionresponse.js.map +1 -1
- package/dist/commonjs/models/paymentdetailscardfundingresponse.d.ts +1 -1
- package/dist/commonjs/models/paymentdetailscardfundingresponse.d.ts.map +1 -1
- package/dist/commonjs/models/paymentdetailscardfundingresponse.js +3 -11
- package/dist/commonjs/models/paymentdetailscardfundingresponse.js.map +1 -1
- package/dist/commonjs/models/paymentdetailscardlabelresponse.d.ts +1 -1
- package/dist/commonjs/models/paymentdetailscardlabelresponse.d.ts.map +1 -1
- package/dist/commonjs/models/paymentdetailscardlabelresponse.js +3 -11
- package/dist/commonjs/models/paymentdetailscardlabelresponse.js.map +1 -1
- package/dist/commonjs/models/paymentdetailscardsecurityresponse.d.ts +1 -1
- package/dist/commonjs/models/paymentdetailscardsecurityresponse.d.ts.map +1 -1
- package/dist/commonjs/models/paymentdetailscardsecurityresponse.js +3 -11
- package/dist/commonjs/models/paymentdetailscardsecurityresponse.js.map +1 -1
- package/dist/commonjs/models/paymentdetailsfailurereasonresponse.d.ts +1 -1
- package/dist/commonjs/models/paymentdetailsfailurereasonresponse.d.ts.map +1 -1
- package/dist/commonjs/models/paymentdetailsfailurereasonresponse.js +3 -11
- package/dist/commonjs/models/paymentdetailsfailurereasonresponse.js.map +1 -1
- package/dist/commonjs/models/paymentdetailsfeeregionresponse.d.ts +1 -1
- package/dist/commonjs/models/paymentdetailsfeeregionresponse.d.ts.map +1 -1
- package/dist/commonjs/models/paymentdetailsfeeregionresponse.js +3 -11
- package/dist/commonjs/models/paymentdetailsfeeregionresponse.js.map +1 -1
- package/dist/commonjs/models/paymentdetailsreceiptcardreadmethodresponse.d.ts +1 -1
- package/dist/commonjs/models/paymentdetailsreceiptcardreadmethodresponse.d.ts.map +1 -1
- package/dist/commonjs/models/paymentdetailsreceiptcardreadmethodresponse.js +3 -11
- package/dist/commonjs/models/paymentdetailsreceiptcardreadmethodresponse.js.map +1 -1
- package/dist/commonjs/models/paymentdetailsreceiptcardverificationmethodresponse.d.ts +1 -1
- package/dist/commonjs/models/paymentdetailsreceiptcardverificationmethodresponse.d.ts.map +1 -1
- package/dist/commonjs/models/paymentdetailsreceiptcardverificationmethodresponse.js +3 -11
- package/dist/commonjs/models/paymentdetailsreceiptcardverificationmethodresponse.js.map +1 -1
- package/dist/commonjs/models/paymentdetailssellerprotectionresponse.d.ts +1 -1
- package/dist/commonjs/models/paymentdetailssellerprotectionresponse.d.ts.map +1 -1
- package/dist/commonjs/models/paymentdetailssellerprotectionresponse.js +3 -11
- package/dist/commonjs/models/paymentdetailssellerprotectionresponse.js.map +1 -1
- package/dist/commonjs/models/paymentdetailswalletresponse.d.ts +1 -1
- package/dist/commonjs/models/paymentdetailswalletresponse.d.ts.map +1 -1
- package/dist/commonjs/models/paymentdetailswalletresponse.js +3 -11
- package/dist/commonjs/models/paymentdetailswalletresponse.js.map +1 -1
- package/dist/commonjs/models/paymentlinetyperesponse.d.ts +1 -1
- package/dist/commonjs/models/paymentlinetyperesponse.d.ts.map +1 -1
- package/dist/commonjs/models/paymentlinetyperesponse.js +3 -11
- package/dist/commonjs/models/paymentlinetyperesponse.js.map +1 -1
- package/dist/commonjs/models/paymentlinkmethodresponse.d.ts +1 -1
- package/dist/commonjs/models/paymentlinkmethodresponse.d.ts.map +1 -1
- package/dist/commonjs/models/paymentlinkmethodresponse.js +3 -11
- package/dist/commonjs/models/paymentlinkmethodresponse.js.map +1 -1
- package/dist/commonjs/models/paymentlinkresponse.d.ts +30 -30
- package/dist/commonjs/models/paymentlinkresponse.d.ts.map +1 -1
- package/dist/commonjs/models/paymentlinkresponse.js +30 -32
- package/dist/commonjs/models/paymentlinkresponse.js.map +1 -1
- package/dist/commonjs/models/paymentlinksequencetyperesponse.d.ts +1 -1
- package/dist/commonjs/models/paymentlinksequencetyperesponse.d.ts.map +1 -1
- package/dist/commonjs/models/paymentlinksequencetyperesponse.js +3 -11
- package/dist/commonjs/models/paymentlinksequencetyperesponse.js.map +1 -1
- package/dist/commonjs/models/paymentmethod.d.ts +1 -1
- package/dist/commonjs/models/paymentmethod.d.ts.map +1 -1
- package/dist/commonjs/models/paymentmethod.js +3 -11
- package/dist/commonjs/models/paymentmethod.js.map +1 -1
- package/dist/commonjs/models/paymentrequest.d.ts +6 -6
- package/dist/commonjs/models/paymentrequest.d.ts.map +1 -1
- package/dist/commonjs/models/paymentrequest.js +6 -6
- package/dist/commonjs/models/paymentrequest.js.map +1 -1
- package/dist/commonjs/models/paymentresponse.d.ts +20 -20
- package/dist/commonjs/models/paymentresponse.d.ts.map +1 -1
- package/dist/commonjs/models/paymentresponse.js +20 -20
- package/dist/commonjs/models/paymentresponse.js.map +1 -1
- package/dist/commonjs/models/paymentstatus.d.ts +1 -1
- package/dist/commonjs/models/paymentstatus.d.ts.map +1 -1
- package/dist/commonjs/models/paymentstatus.js +3 -11
- package/dist/commonjs/models/paymentstatus.js.map +1 -1
- package/dist/{esm/models/entityprofile.d.ts → commonjs/models/profilerequest.d.ts} +15 -15
- package/dist/commonjs/models/profilerequest.d.ts.map +1 -0
- package/dist/commonjs/models/{entityprofile.js → profilerequest.js} +18 -18
- package/dist/commonjs/models/profilerequest.js.map +1 -0
- package/dist/commonjs/models/profileresponse.d.ts +22 -22
- package/dist/commonjs/models/profileresponse.d.ts.map +1 -1
- package/dist/commonjs/models/profileresponse.js +22 -22
- package/dist/commonjs/models/profileresponse.js.map +1 -1
- package/dist/commonjs/models/profilereviewstatusresponse.d.ts +1 -1
- package/dist/commonjs/models/profilereviewstatusresponse.d.ts.map +1 -1
- package/dist/commonjs/models/profilereviewstatusresponse.js +3 -11
- package/dist/commonjs/models/profilereviewstatusresponse.js.map +1 -1
- package/dist/commonjs/models/profilestatus.d.ts +1 -1
- package/dist/commonjs/models/profilestatus.d.ts.map +1 -1
- package/dist/commonjs/models/profilestatus.js +3 -11
- package/dist/commonjs/models/profilestatus.js.map +1 -1
- package/dist/commonjs/models/refundexternalreferencetyperesponse.d.ts +1 -1
- package/dist/commonjs/models/refundexternalreferencetyperesponse.d.ts.map +1 -1
- package/dist/commonjs/models/refundexternalreferencetyperesponse.js +3 -11
- package/dist/commonjs/models/refundexternalreferencetyperesponse.js.map +1 -1
- package/dist/{esm/models/entityrefund.d.ts → commonjs/models/refundrequest.d.ts} +31 -31
- package/dist/commonjs/models/refundrequest.d.ts.map +1 -0
- package/dist/commonjs/models/{entityrefund.js → refundrequest.js} +40 -40
- package/dist/commonjs/models/refundrequest.js.map +1 -0
- package/dist/commonjs/models/refundstatus.d.ts +1 -1
- package/dist/commonjs/models/refundstatus.d.ts.map +1 -1
- package/dist/commonjs/models/refundstatus.js +3 -11
- package/dist/commonjs/models/refundstatus.js.map +1 -1
- package/dist/commonjs/models/routecreateresponse.d.ts +14 -14
- package/dist/commonjs/models/routecreateresponse.d.ts.map +1 -1
- package/dist/commonjs/models/routecreateresponse.js +14 -16
- package/dist/commonjs/models/routecreateresponse.js.map +1 -1
- package/dist/commonjs/models/routedestinationtyperesponse.d.ts +1 -1
- package/dist/commonjs/models/routedestinationtyperesponse.d.ts.map +1 -1
- package/dist/commonjs/models/routedestinationtyperesponse.js +3 -11
- package/dist/commonjs/models/routedestinationtyperesponse.js.map +1 -1
- package/dist/commonjs/models/routegetresponse.d.ts +14 -14
- package/dist/commonjs/models/routegetresponse.d.ts.map +1 -1
- package/dist/commonjs/models/routegetresponse.js +14 -16
- package/dist/commonjs/models/routegetresponse.js.map +1 -1
- package/dist/commonjs/models/salesinvoicediscounttyperesponse.d.ts +1 -1
- package/dist/commonjs/models/salesinvoicediscounttyperesponse.d.ts.map +1 -1
- package/dist/commonjs/models/salesinvoicediscounttyperesponse.js +3 -11
- package/dist/commonjs/models/salesinvoicediscounttyperesponse.js.map +1 -1
- package/dist/commonjs/models/salesinvoicepaymentdetailssourceresponse.d.ts +1 -1
- package/dist/commonjs/models/salesinvoicepaymentdetailssourceresponse.d.ts.map +1 -1
- package/dist/commonjs/models/salesinvoicepaymentdetailssourceresponse.js +3 -11
- package/dist/commonjs/models/salesinvoicepaymentdetailssourceresponse.js.map +1 -1
- package/dist/commonjs/models/salesinvoicepaymenttermresponse.d.ts +1 -1
- package/dist/commonjs/models/salesinvoicepaymenttermresponse.d.ts.map +1 -1
- package/dist/commonjs/models/salesinvoicepaymenttermresponse.js +3 -11
- package/dist/commonjs/models/salesinvoicepaymenttermresponse.js.map +1 -1
- package/dist/commonjs/models/salesinvoicerecipientlocaleresponse.d.ts +1 -1
- package/dist/commonjs/models/salesinvoicerecipientlocaleresponse.d.ts.map +1 -1
- package/dist/commonjs/models/salesinvoicerecipientlocaleresponse.js +3 -11
- package/dist/commonjs/models/salesinvoicerecipientlocaleresponse.js.map +1 -1
- package/dist/commonjs/models/salesinvoicerecipienttyperesponse.d.ts +1 -1
- package/dist/commonjs/models/salesinvoicerecipienttyperesponse.d.ts.map +1 -1
- package/dist/commonjs/models/salesinvoicerecipienttyperesponse.js +3 -11
- package/dist/commonjs/models/salesinvoicerecipienttyperesponse.js.map +1 -1
- package/dist/commonjs/models/salesinvoicestatusresponse.d.ts +1 -1
- package/dist/commonjs/models/salesinvoicestatusresponse.d.ts.map +1 -1
- package/dist/commonjs/models/salesinvoicestatusresponse.js +3 -11
- package/dist/commonjs/models/salesinvoicestatusresponse.js.map +1 -1
- package/dist/commonjs/models/salesinvoicevatmoderesponse.d.ts +1 -1
- package/dist/commonjs/models/salesinvoicevatmoderesponse.d.ts.map +1 -1
- package/dist/commonjs/models/salesinvoicevatmoderesponse.js +3 -11
- package/dist/commonjs/models/salesinvoicevatmoderesponse.js.map +1 -1
- package/dist/commonjs/models/salesinvoicevatschemeresponse.d.ts +1 -1
- package/dist/commonjs/models/salesinvoicevatschemeresponse.d.ts.map +1 -1
- package/dist/commonjs/models/salesinvoicevatschemeresponse.js +3 -11
- package/dist/commonjs/models/salesinvoicevatschemeresponse.js.map +1 -1
- package/dist/commonjs/models/sequencetyperesponse.d.ts +1 -1
- package/dist/commonjs/models/sequencetyperesponse.d.ts.map +1 -1
- package/dist/commonjs/models/sequencetyperesponse.js +3 -11
- package/dist/commonjs/models/sequencetyperesponse.js.map +1 -1
- package/dist/commonjs/models/settlementstatus.d.ts +1 -1
- package/dist/commonjs/models/settlementstatus.d.ts.map +1 -1
- package/dist/commonjs/models/settlementstatus.js +3 -11
- package/dist/commonjs/models/settlementstatus.js.map +1 -1
- package/dist/commonjs/models/subscriptionmethodresponse.d.ts +1 -1
- package/dist/commonjs/models/subscriptionmethodresponse.d.ts.map +1 -1
- package/dist/commonjs/models/subscriptionmethodresponse.js +3 -11
- package/dist/commonjs/models/subscriptionmethodresponse.js.map +1 -1
- package/dist/commonjs/models/subscriptionresponse.d.ts +32 -32
- package/dist/commonjs/models/subscriptionresponse.d.ts.map +1 -1
- package/dist/commonjs/models/subscriptionresponse.js +32 -32
- package/dist/commonjs/models/subscriptionresponse.js.map +1 -1
- package/dist/commonjs/models/subscriptionstatus.d.ts +1 -1
- package/dist/commonjs/models/subscriptionstatus.d.ts.map +1 -1
- package/dist/commonjs/models/subscriptionstatus.js +3 -11
- package/dist/commonjs/models/subscriptionstatus.js.map +1 -1
- package/dist/commonjs/models/terminalbrand.d.ts +1 -1
- package/dist/commonjs/models/terminalbrand.d.ts.map +1 -1
- package/dist/commonjs/models/terminalbrand.js +3 -11
- package/dist/commonjs/models/terminalbrand.js.map +1 -1
- package/dist/commonjs/models/terminalmodel.d.ts +1 -1
- package/dist/commonjs/models/terminalmodel.d.ts.map +1 -1
- package/dist/commonjs/models/terminalmodel.js +3 -11
- package/dist/commonjs/models/terminalmodel.js.map +1 -1
- package/dist/commonjs/models/terminalstatus.d.ts +1 -1
- package/dist/commonjs/models/terminalstatus.d.ts.map +1 -1
- package/dist/commonjs/models/terminalstatus.js +3 -11
- package/dist/commonjs/models/terminalstatus.js.map +1 -1
- package/dist/commonjs/models/webhookstatus.d.ts +1 -1
- package/dist/commonjs/models/webhookstatus.d.ts.map +1 -1
- package/dist/commonjs/models/webhookstatus.js +3 -11
- package/dist/commonjs/models/webhookstatus.js.map +1 -1
- package/dist/commonjs/sdk/customers.d.ts +1 -1
- package/dist/commonjs/sdk/customers.d.ts.map +1 -1
- package/dist/commonjs/sdk/mandates.d.ts +1 -1
- package/dist/commonjs/sdk/mandates.d.ts.map +1 -1
- package/dist/commonjs/sdk/onboarding.d.ts +1 -1
- package/dist/commonjs/sdk/onboarding.d.ts.map +1 -1
- package/dist/commonjs/sdk/paymentlinks.d.ts +1 -1
- package/dist/commonjs/sdk/paymentlinks.d.ts.map +1 -1
- package/dist/commonjs/sdk/payments.d.ts +1 -1
- package/dist/commonjs/sdk/payments.d.ts.map +1 -1
- package/dist/commonjs/sdk/profiles.d.ts +1 -1
- package/dist/commonjs/sdk/profiles.d.ts.map +1 -1
- package/dist/commonjs/sdk/refunds.d.ts +1 -1
- package/dist/commonjs/sdk/refunds.d.ts.map +1 -1
- package/dist/commonjs/sdk/salesinvoices.d.ts +1 -1
- package/dist/commonjs/sdk/salesinvoices.d.ts.map +1 -1
- package/dist/commonjs/sdk/webhooks.d.ts +2 -2
- package/dist/commonjs/sdk/webhooks.d.ts.map +1 -1
- package/dist/commonjs/types/enums.d.ts +10 -6
- package/dist/commonjs/types/enums.d.ts.map +1 -1
- package/dist/commonjs/types/enums.js +76 -2
- package/dist/commonjs/types/enums.js.map +1 -1
- package/dist/commonjs/types/index.d.ts +0 -1
- package/dist/commonjs/types/index.d.ts.map +1 -1
- package/dist/commonjs/types/index.js +1 -3
- package/dist/commonjs/types/index.js.map +1 -1
- package/dist/esm/funcs/clientLinksCreate.js +1 -1
- package/dist/esm/funcs/clientLinksCreate.js.map +1 -1
- package/dist/esm/funcs/customersDelete.d.ts +1 -1
- package/dist/esm/funcs/customersDelete.d.ts.map +1 -1
- package/dist/esm/funcs/customersDelete.js +1 -1
- package/dist/esm/funcs/customersDelete.js.map +1 -1
- package/dist/esm/funcs/mandatesCreate.js +3 -1
- package/dist/esm/funcs/mandatesCreate.js.map +1 -1
- package/dist/esm/funcs/mandatesRevoke.d.ts +1 -1
- package/dist/esm/funcs/mandatesRevoke.d.ts.map +1 -1
- package/dist/esm/funcs/mandatesRevoke.js +1 -1
- package/dist/esm/funcs/mandatesRevoke.js.map +1 -1
- package/dist/esm/funcs/onboardingSubmit.d.ts +1 -1
- package/dist/esm/funcs/onboardingSubmit.d.ts.map +1 -1
- package/dist/esm/funcs/onboardingSubmit.js +2 -2
- package/dist/esm/funcs/onboardingSubmit.js.map +1 -1
- package/dist/esm/funcs/paymentLinksDelete.d.ts +1 -1
- package/dist/esm/funcs/paymentLinksDelete.d.ts.map +1 -1
- package/dist/esm/funcs/paymentLinksDelete.js +1 -1
- package/dist/esm/funcs/paymentLinksDelete.js.map +1 -1
- package/dist/esm/funcs/paymentsReleaseAuthorization.d.ts +1 -1
- package/dist/esm/funcs/paymentsReleaseAuthorization.d.ts.map +1 -1
- package/dist/esm/funcs/paymentsReleaseAuthorization.js +1 -1
- package/dist/esm/funcs/paymentsReleaseAuthorization.js.map +1 -1
- package/dist/esm/funcs/profilesCreate.js +3 -1
- package/dist/esm/funcs/profilesCreate.js.map +1 -1
- package/dist/esm/funcs/profilesDelete.d.ts +1 -1
- package/dist/esm/funcs/profilesDelete.d.ts.map +1 -1
- package/dist/esm/funcs/profilesDelete.js +1 -1
- package/dist/esm/funcs/profilesDelete.js.map +1 -1
- package/dist/esm/funcs/refundsCancel.d.ts +1 -1
- package/dist/esm/funcs/refundsCancel.d.ts.map +1 -1
- package/dist/esm/funcs/refundsCancel.js +1 -1
- package/dist/esm/funcs/refundsCancel.js.map +1 -1
- package/dist/esm/funcs/refundsCreate.js +1 -1
- package/dist/esm/funcs/refundsCreate.js.map +1 -1
- package/dist/esm/funcs/salesInvoicesDelete.d.ts +1 -1
- package/dist/esm/funcs/salesInvoicesDelete.d.ts.map +1 -1
- package/dist/esm/funcs/salesInvoicesDelete.js +1 -1
- package/dist/esm/funcs/salesInvoicesDelete.js.map +1 -1
- package/dist/esm/funcs/webhooksDelete.d.ts +1 -1
- package/dist/esm/funcs/webhooksDelete.d.ts.map +1 -1
- package/dist/esm/funcs/webhooksDelete.js +1 -1
- package/dist/esm/funcs/webhooksDelete.js.map +1 -1
- package/dist/esm/funcs/webhooksTest.d.ts +1 -1
- package/dist/esm/funcs/webhooksTest.d.ts.map +1 -1
- package/dist/esm/funcs/webhooksTest.js +1 -1
- package/dist/esm/funcs/webhooksTest.js.map +1 -1
- package/dist/esm/hooks/mollie-hooks.d.ts.map +1 -1
- package/dist/esm/hooks/mollie-hooks.js +0 -1
- package/dist/esm/hooks/mollie-hooks.js.map +1 -1
- package/dist/esm/lib/config.d.ts +3 -3
- package/dist/esm/lib/config.js +3 -3
- package/dist/esm/mcp-server/mcp-server.js +1 -1
- package/dist/esm/mcp-server/server.js +1 -1
- package/dist/esm/mcp-server/tools/customersDelete.d.ts.map +1 -1
- package/dist/esm/mcp-server/tools/customersDelete.js +1 -2
- package/dist/esm/mcp-server/tools/customersDelete.js.map +1 -1
- package/dist/esm/mcp-server/tools/mandatesRevoke.d.ts.map +1 -1
- package/dist/esm/mcp-server/tools/mandatesRevoke.js +1 -2
- package/dist/esm/mcp-server/tools/mandatesRevoke.js.map +1 -1
- package/dist/esm/mcp-server/tools/onboardingSubmit.d.ts.map +1 -1
- package/dist/esm/mcp-server/tools/onboardingSubmit.js +1 -2
- package/dist/esm/mcp-server/tools/onboardingSubmit.js.map +1 -1
- package/dist/esm/mcp-server/tools/paymentLinksDelete.d.ts.map +1 -1
- package/dist/esm/mcp-server/tools/paymentLinksDelete.js +1 -2
- package/dist/esm/mcp-server/tools/paymentLinksDelete.js.map +1 -1
- package/dist/esm/mcp-server/tools/paymentsReleaseAuthorization.d.ts.map +1 -1
- package/dist/esm/mcp-server/tools/paymentsReleaseAuthorization.js +1 -2
- package/dist/esm/mcp-server/tools/paymentsReleaseAuthorization.js.map +1 -1
- package/dist/esm/mcp-server/tools/profilesDelete.d.ts.map +1 -1
- package/dist/esm/mcp-server/tools/profilesDelete.js +1 -2
- package/dist/esm/mcp-server/tools/profilesDelete.js.map +1 -1
- package/dist/esm/mcp-server/tools/refundsCancel.d.ts.map +1 -1
- package/dist/esm/mcp-server/tools/refundsCancel.js +1 -2
- package/dist/esm/mcp-server/tools/refundsCancel.js.map +1 -1
- package/dist/esm/mcp-server/tools/salesInvoicesDelete.d.ts.map +1 -1
- package/dist/esm/mcp-server/tools/salesInvoicesDelete.js +1 -2
- package/dist/esm/mcp-server/tools/salesInvoicesDelete.js.map +1 -1
- package/dist/esm/mcp-server/tools/webhooksDelete.d.ts.map +1 -1
- package/dist/esm/mcp-server/tools/webhooksDelete.js +1 -2
- package/dist/esm/mcp-server/tools/webhooksDelete.js.map +1 -1
- package/dist/esm/mcp-server/tools/webhooksTest.d.ts.map +1 -1
- package/dist/esm/mcp-server/tools/webhooksTest.js +1 -2
- package/dist/esm/mcp-server/tools/webhooksTest.js.map +1 -1
- package/dist/esm/models/balancereportgrouping.d.ts +1 -1
- package/dist/esm/models/balancereportgrouping.d.ts.map +1 -1
- package/dist/esm/models/balancereportgrouping.js +3 -11
- package/dist/esm/models/balancereportgrouping.js.map +1 -1
- package/dist/esm/models/balancestatus.d.ts +1 -1
- package/dist/esm/models/balancestatus.d.ts.map +1 -1
- package/dist/esm/models/balancestatus.js +3 -11
- package/dist/esm/models/balancestatus.js.map +1 -1
- package/dist/esm/models/balancetransactiontype.d.ts +1 -1
- package/dist/esm/models/balancetransactiontype.d.ts.map +1 -1
- package/dist/esm/models/balancetransactiontype.js +3 -11
- package/dist/esm/models/balancetransactiontype.js.map +1 -1
- package/dist/esm/models/balancetransfercategoryresponse.d.ts +1 -1
- package/dist/esm/models/balancetransfercategoryresponse.d.ts.map +1 -1
- package/dist/esm/models/balancetransfercategoryresponse.js +3 -11
- package/dist/esm/models/balancetransfercategoryresponse.js.map +1 -1
- package/dist/esm/models/balancetransferdestinationtype.d.ts +1 -1
- package/dist/esm/models/balancetransferdestinationtype.d.ts.map +1 -1
- package/dist/esm/models/balancetransferdestinationtype.js +3 -11
- package/dist/esm/models/balancetransferdestinationtype.js.map +1 -1
- package/dist/esm/models/balancetransferfrequency.d.ts +1 -1
- package/dist/esm/models/balancetransferfrequency.d.ts.map +1 -1
- package/dist/esm/models/balancetransferfrequency.js +3 -11
- package/dist/esm/models/balancetransferfrequency.js.map +1 -1
- package/dist/esm/models/balancetransferpartytyperesponse.d.ts +1 -1
- package/dist/esm/models/balancetransferpartytyperesponse.d.ts.map +1 -1
- package/dist/esm/models/balancetransferpartytyperesponse.js +3 -11
- package/dist/esm/models/balancetransferpartytyperesponse.js.map +1 -1
- package/dist/esm/models/balancetransferstatus.d.ts +1 -1
- package/dist/esm/models/balancetransferstatus.d.ts.map +1 -1
- package/dist/esm/models/balancetransferstatus.js +3 -11
- package/dist/esm/models/balancetransferstatus.js.map +1 -1
- package/dist/esm/models/balancetransferstatusreasonresponse.d.ts +1 -1
- package/dist/esm/models/balancetransferstatusreasonresponse.d.ts.map +1 -1
- package/dist/esm/models/balancetransferstatusreasonresponse.js +3 -11
- package/dist/esm/models/balancetransferstatusreasonresponse.js.map +1 -1
- package/dist/esm/models/capabilityrequirementstatus.d.ts +1 -1
- package/dist/esm/models/capabilityrequirementstatus.d.ts.map +1 -1
- package/dist/esm/models/capabilityrequirementstatus.js +3 -11
- package/dist/esm/models/capabilityrequirementstatus.js.map +1 -1
- package/dist/esm/models/capabilitystatus.d.ts +1 -1
- package/dist/esm/models/capabilitystatus.d.ts.map +1 -1
- package/dist/esm/models/capabilitystatus.js +3 -11
- package/dist/esm/models/capabilitystatus.js.map +1 -1
- package/dist/esm/models/capabilitystatusreason.d.ts +1 -1
- package/dist/esm/models/capabilitystatusreason.d.ts.map +1 -1
- package/dist/esm/models/capabilitystatusreason.js +3 -11
- package/dist/esm/models/capabilitystatusreason.js.map +1 -1
- package/dist/esm/models/capturemoderesponse.d.ts +1 -1
- package/dist/esm/models/capturemoderesponse.d.ts.map +1 -1
- package/dist/esm/models/capturemoderesponse.js +3 -11
- package/dist/esm/models/capturemoderesponse.js.map +1 -1
- package/dist/esm/models/captureresponse.d.ts +16 -16
- package/dist/esm/models/captureresponse.d.ts.map +1 -1
- package/dist/esm/models/captureresponse.js +16 -16
- package/dist/esm/models/captureresponse.js.map +1 -1
- package/dist/esm/models/capturestatus.d.ts +1 -1
- package/dist/esm/models/capturestatus.d.ts.map +1 -1
- package/dist/esm/models/capturestatus.js +3 -11
- package/dist/esm/models/capturestatus.js.map +1 -1
- package/dist/esm/models/{entityclientlink.d.ts → clientlinkrequest.d.ts} +19 -19
- package/dist/esm/models/clientlinkrequest.d.ts.map +1 -0
- package/dist/esm/models/{entityclientlink.js → clientlinkrequest.js} +19 -19
- package/dist/esm/models/clientlinkrequest.js.map +1 -0
- package/dist/esm/models/clientlinkresponse.d.ts +6 -6
- package/dist/esm/models/clientlinkresponse.d.ts.map +1 -1
- package/dist/esm/models/clientlinkresponse.js +6 -6
- package/dist/esm/models/clientlinkresponse.js.map +1 -1
- package/dist/esm/models/currencies.d.ts +1 -1
- package/dist/esm/models/currencies.d.ts.map +1 -1
- package/dist/esm/models/currencies.js +3 -11
- package/dist/esm/models/currencies.js.map +1 -1
- package/dist/esm/models/customerresponse.d.ts +18 -18
- package/dist/esm/models/customerresponse.d.ts.map +1 -1
- package/dist/esm/models/customerresponse.js +18 -18
- package/dist/esm/models/customerresponse.js.map +1 -1
- package/dist/esm/models/index.d.ts +4 -4
- package/dist/esm/models/index.d.ts.map +1 -1
- package/dist/esm/models/index.js +4 -4
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/invoicestatus.d.ts +1 -1
- package/dist/esm/models/invoicestatus.d.ts.map +1 -1
- package/dist/esm/models/invoicestatus.js +3 -11
- package/dist/esm/models/invoicestatus.js.map +1 -1
- package/dist/esm/models/linecategoriesresponse.d.ts +1 -1
- package/dist/esm/models/linecategoriesresponse.d.ts.map +1 -1
- package/dist/esm/models/linecategoriesresponse.js +3 -11
- package/dist/esm/models/linecategoriesresponse.js.map +1 -1
- package/dist/esm/models/localeresponse.d.ts +1 -1
- package/dist/esm/models/localeresponse.d.ts.map +1 -1
- package/dist/esm/models/localeresponse.js +3 -11
- package/dist/esm/models/localeresponse.js.map +1 -1
- package/dist/esm/models/mandatedetailscardlabelresponse.d.ts +1 -1
- package/dist/esm/models/mandatedetailscardlabelresponse.d.ts.map +1 -1
- package/dist/esm/models/mandatedetailscardlabelresponse.js +3 -11
- package/dist/esm/models/mandatedetailscardlabelresponse.js.map +1 -1
- package/dist/esm/models/mandatemethodresponse.d.ts +1 -1
- package/dist/esm/models/mandatemethodresponse.d.ts.map +1 -1
- package/dist/esm/models/mandatemethodresponse.js +3 -11
- package/dist/esm/models/mandatemethodresponse.js.map +1 -1
- package/dist/{commonjs/models/entitymandate.d.ts → esm/models/mandaterequest.d.ts} +11 -11
- package/dist/esm/models/mandaterequest.d.ts.map +1 -0
- package/dist/esm/models/{entitymandate.js → mandaterequest.js} +11 -11
- package/dist/esm/models/mandaterequest.js.map +1 -0
- package/dist/esm/models/mandateresponse.d.ts +22 -22
- package/dist/esm/models/mandateresponse.d.ts.map +1 -1
- package/dist/esm/models/mandateresponse.js +22 -22
- package/dist/esm/models/mandateresponse.js.map +1 -1
- package/dist/esm/models/mandatestatus.d.ts +1 -1
- package/dist/esm/models/mandatestatus.d.ts.map +1 -1
- package/dist/esm/models/mandatestatus.js +3 -11
- package/dist/esm/models/mandatestatus.js.map +1 -1
- package/dist/esm/models/methodresponse.d.ts +1 -1
- package/dist/esm/models/methodresponse.d.ts.map +1 -1
- package/dist/esm/models/methodresponse.js +3 -11
- package/dist/esm/models/methodresponse.js.map +1 -1
- package/dist/esm/models/methodstatus.d.ts +1 -1
- package/dist/esm/models/methodstatus.d.ts.map +1 -1
- package/dist/esm/models/methodstatus.js +3 -11
- package/dist/esm/models/methodstatus.js.map +1 -1
- package/dist/esm/models/mode.d.ts +1 -1
- package/dist/esm/models/mode.d.ts.map +1 -1
- package/dist/esm/models/mode.js +3 -11
- package/dist/esm/models/mode.js.map +1 -1
- package/dist/esm/models/onboardingstatus.d.ts +1 -1
- package/dist/esm/models/onboardingstatus.d.ts.map +1 -1
- package/dist/esm/models/onboardingstatus.js +3 -11
- package/dist/esm/models/onboardingstatus.js.map +1 -1
- package/dist/esm/models/operations/createclientlink.d.ts +2 -2
- package/dist/esm/models/operations/createclientlink.d.ts.map +1 -1
- package/dist/esm/models/operations/createclientlink.js +4 -4
- package/dist/esm/models/operations/createclientlink.js.map +1 -1
- package/dist/esm/models/operations/createmandate.d.ts +2 -2
- package/dist/esm/models/operations/createmandate.d.ts.map +1 -1
- package/dist/esm/models/operations/createmandate.js +4 -4
- package/dist/esm/models/operations/createmandate.js.map +1 -1
- package/dist/esm/models/operations/createprofile.d.ts +2 -2
- package/dist/esm/models/operations/createprofile.d.ts.map +1 -1
- package/dist/esm/models/operations/createprofile.js +4 -4
- package/dist/esm/models/operations/createprofile.js.map +1 -1
- package/dist/esm/models/operations/createrefund.d.ts +2 -2
- package/dist/esm/models/operations/createrefund.d.ts.map +1 -1
- package/dist/esm/models/operations/createrefund.js +4 -4
- package/dist/esm/models/operations/createrefund.js.map +1 -1
- package/dist/esm/models/operations/getcustomer.d.ts +18 -18
- package/dist/esm/models/operations/getcustomer.d.ts.map +1 -1
- package/dist/esm/models/operations/getcustomer.js +18 -18
- package/dist/esm/models/operations/getcustomer.js.map +1 -1
- package/dist/esm/models/organizationvatregulation.d.ts +1 -1
- package/dist/esm/models/organizationvatregulation.d.ts.map +1 -1
- package/dist/esm/models/organizationvatregulation.js +3 -11
- package/dist/esm/models/organizationvatregulation.js.map +1 -1
- package/dist/esm/models/paymentdetailscardauditionresponse.d.ts +1 -1
- package/dist/esm/models/paymentdetailscardauditionresponse.d.ts.map +1 -1
- package/dist/esm/models/paymentdetailscardauditionresponse.js +3 -11
- package/dist/esm/models/paymentdetailscardauditionresponse.js.map +1 -1
- package/dist/esm/models/paymentdetailscardfundingresponse.d.ts +1 -1
- package/dist/esm/models/paymentdetailscardfundingresponse.d.ts.map +1 -1
- package/dist/esm/models/paymentdetailscardfundingresponse.js +3 -11
- package/dist/esm/models/paymentdetailscardfundingresponse.js.map +1 -1
- package/dist/esm/models/paymentdetailscardlabelresponse.d.ts +1 -1
- package/dist/esm/models/paymentdetailscardlabelresponse.d.ts.map +1 -1
- package/dist/esm/models/paymentdetailscardlabelresponse.js +3 -11
- package/dist/esm/models/paymentdetailscardlabelresponse.js.map +1 -1
- package/dist/esm/models/paymentdetailscardsecurityresponse.d.ts +1 -1
- package/dist/esm/models/paymentdetailscardsecurityresponse.d.ts.map +1 -1
- package/dist/esm/models/paymentdetailscardsecurityresponse.js +3 -11
- package/dist/esm/models/paymentdetailscardsecurityresponse.js.map +1 -1
- package/dist/esm/models/paymentdetailsfailurereasonresponse.d.ts +1 -1
- package/dist/esm/models/paymentdetailsfailurereasonresponse.d.ts.map +1 -1
- package/dist/esm/models/paymentdetailsfailurereasonresponse.js +3 -11
- package/dist/esm/models/paymentdetailsfailurereasonresponse.js.map +1 -1
- package/dist/esm/models/paymentdetailsfeeregionresponse.d.ts +1 -1
- package/dist/esm/models/paymentdetailsfeeregionresponse.d.ts.map +1 -1
- package/dist/esm/models/paymentdetailsfeeregionresponse.js +3 -11
- package/dist/esm/models/paymentdetailsfeeregionresponse.js.map +1 -1
- package/dist/esm/models/paymentdetailsreceiptcardreadmethodresponse.d.ts +1 -1
- package/dist/esm/models/paymentdetailsreceiptcardreadmethodresponse.d.ts.map +1 -1
- package/dist/esm/models/paymentdetailsreceiptcardreadmethodresponse.js +3 -11
- package/dist/esm/models/paymentdetailsreceiptcardreadmethodresponse.js.map +1 -1
- package/dist/esm/models/paymentdetailsreceiptcardverificationmethodresponse.d.ts +1 -1
- package/dist/esm/models/paymentdetailsreceiptcardverificationmethodresponse.d.ts.map +1 -1
- package/dist/esm/models/paymentdetailsreceiptcardverificationmethodresponse.js +3 -11
- package/dist/esm/models/paymentdetailsreceiptcardverificationmethodresponse.js.map +1 -1
- package/dist/esm/models/paymentdetailssellerprotectionresponse.d.ts +1 -1
- package/dist/esm/models/paymentdetailssellerprotectionresponse.d.ts.map +1 -1
- package/dist/esm/models/paymentdetailssellerprotectionresponse.js +3 -11
- package/dist/esm/models/paymentdetailssellerprotectionresponse.js.map +1 -1
- package/dist/esm/models/paymentdetailswalletresponse.d.ts +1 -1
- package/dist/esm/models/paymentdetailswalletresponse.d.ts.map +1 -1
- package/dist/esm/models/paymentdetailswalletresponse.js +3 -11
- package/dist/esm/models/paymentdetailswalletresponse.js.map +1 -1
- package/dist/esm/models/paymentlinetyperesponse.d.ts +1 -1
- package/dist/esm/models/paymentlinetyperesponse.d.ts.map +1 -1
- package/dist/esm/models/paymentlinetyperesponse.js +3 -11
- package/dist/esm/models/paymentlinetyperesponse.js.map +1 -1
- package/dist/esm/models/paymentlinkmethodresponse.d.ts +1 -1
- package/dist/esm/models/paymentlinkmethodresponse.d.ts.map +1 -1
- package/dist/esm/models/paymentlinkmethodresponse.js +3 -11
- package/dist/esm/models/paymentlinkmethodresponse.js.map +1 -1
- package/dist/esm/models/paymentlinkresponse.d.ts +30 -30
- package/dist/esm/models/paymentlinkresponse.d.ts.map +1 -1
- package/dist/esm/models/paymentlinkresponse.js +30 -32
- package/dist/esm/models/paymentlinkresponse.js.map +1 -1
- package/dist/esm/models/paymentlinksequencetyperesponse.d.ts +1 -1
- package/dist/esm/models/paymentlinksequencetyperesponse.d.ts.map +1 -1
- package/dist/esm/models/paymentlinksequencetyperesponse.js +3 -11
- package/dist/esm/models/paymentlinksequencetyperesponse.js.map +1 -1
- package/dist/esm/models/paymentmethod.d.ts +1 -1
- package/dist/esm/models/paymentmethod.d.ts.map +1 -1
- package/dist/esm/models/paymentmethod.js +3 -11
- package/dist/esm/models/paymentmethod.js.map +1 -1
- package/dist/esm/models/paymentrequest.d.ts +6 -6
- package/dist/esm/models/paymentrequest.d.ts.map +1 -1
- package/dist/esm/models/paymentrequest.js +6 -6
- package/dist/esm/models/paymentrequest.js.map +1 -1
- package/dist/esm/models/paymentresponse.d.ts +20 -20
- package/dist/esm/models/paymentresponse.d.ts.map +1 -1
- package/dist/esm/models/paymentresponse.js +20 -20
- package/dist/esm/models/paymentresponse.js.map +1 -1
- package/dist/esm/models/paymentstatus.d.ts +1 -1
- package/dist/esm/models/paymentstatus.d.ts.map +1 -1
- package/dist/esm/models/paymentstatus.js +3 -11
- package/dist/esm/models/paymentstatus.js.map +1 -1
- package/dist/{commonjs/models/entityprofile.d.ts → esm/models/profilerequest.d.ts} +15 -15
- package/dist/esm/models/profilerequest.d.ts.map +1 -0
- package/dist/esm/models/profilerequest.js +35 -0
- package/dist/esm/models/profilerequest.js.map +1 -0
- package/dist/esm/models/profileresponse.d.ts +22 -22
- package/dist/esm/models/profileresponse.d.ts.map +1 -1
- package/dist/esm/models/profileresponse.js +22 -22
- package/dist/esm/models/profileresponse.js.map +1 -1
- package/dist/esm/models/profilereviewstatusresponse.d.ts +1 -1
- package/dist/esm/models/profilereviewstatusresponse.d.ts.map +1 -1
- package/dist/esm/models/profilereviewstatusresponse.js +3 -11
- package/dist/esm/models/profilereviewstatusresponse.js.map +1 -1
- package/dist/esm/models/profilestatus.d.ts +1 -1
- package/dist/esm/models/profilestatus.d.ts.map +1 -1
- package/dist/esm/models/profilestatus.js +3 -11
- package/dist/esm/models/profilestatus.js.map +1 -1
- package/dist/esm/models/refundexternalreferencetyperesponse.d.ts +1 -1
- package/dist/esm/models/refundexternalreferencetyperesponse.d.ts.map +1 -1
- package/dist/esm/models/refundexternalreferencetyperesponse.js +3 -11
- package/dist/esm/models/refundexternalreferencetyperesponse.js.map +1 -1
- package/dist/{commonjs/models/entityrefund.d.ts → esm/models/refundrequest.d.ts} +31 -31
- package/dist/esm/models/refundrequest.d.ts.map +1 -0
- package/dist/esm/models/refundrequest.js +98 -0
- package/dist/esm/models/refundrequest.js.map +1 -0
- package/dist/esm/models/refundstatus.d.ts +1 -1
- package/dist/esm/models/refundstatus.d.ts.map +1 -1
- package/dist/esm/models/refundstatus.js +3 -11
- package/dist/esm/models/refundstatus.js.map +1 -1
- package/dist/esm/models/routecreateresponse.d.ts +14 -14
- package/dist/esm/models/routecreateresponse.d.ts.map +1 -1
- package/dist/esm/models/routecreateresponse.js +14 -16
- package/dist/esm/models/routecreateresponse.js.map +1 -1
- package/dist/esm/models/routedestinationtyperesponse.d.ts +1 -1
- package/dist/esm/models/routedestinationtyperesponse.d.ts.map +1 -1
- package/dist/esm/models/routedestinationtyperesponse.js +3 -11
- package/dist/esm/models/routedestinationtyperesponse.js.map +1 -1
- package/dist/esm/models/routegetresponse.d.ts +14 -14
- package/dist/esm/models/routegetresponse.d.ts.map +1 -1
- package/dist/esm/models/routegetresponse.js +14 -16
- package/dist/esm/models/routegetresponse.js.map +1 -1
- package/dist/esm/models/salesinvoicediscounttyperesponse.d.ts +1 -1
- package/dist/esm/models/salesinvoicediscounttyperesponse.d.ts.map +1 -1
- package/dist/esm/models/salesinvoicediscounttyperesponse.js +3 -11
- package/dist/esm/models/salesinvoicediscounttyperesponse.js.map +1 -1
- package/dist/esm/models/salesinvoicepaymentdetailssourceresponse.d.ts +1 -1
- package/dist/esm/models/salesinvoicepaymentdetailssourceresponse.d.ts.map +1 -1
- package/dist/esm/models/salesinvoicepaymentdetailssourceresponse.js +3 -11
- package/dist/esm/models/salesinvoicepaymentdetailssourceresponse.js.map +1 -1
- package/dist/esm/models/salesinvoicepaymenttermresponse.d.ts +1 -1
- package/dist/esm/models/salesinvoicepaymenttermresponse.d.ts.map +1 -1
- package/dist/esm/models/salesinvoicepaymenttermresponse.js +3 -11
- package/dist/esm/models/salesinvoicepaymenttermresponse.js.map +1 -1
- package/dist/esm/models/salesinvoicerecipientlocaleresponse.d.ts +1 -1
- package/dist/esm/models/salesinvoicerecipientlocaleresponse.d.ts.map +1 -1
- package/dist/esm/models/salesinvoicerecipientlocaleresponse.js +3 -11
- package/dist/esm/models/salesinvoicerecipientlocaleresponse.js.map +1 -1
- package/dist/esm/models/salesinvoicerecipienttyperesponse.d.ts +1 -1
- package/dist/esm/models/salesinvoicerecipienttyperesponse.d.ts.map +1 -1
- package/dist/esm/models/salesinvoicerecipienttyperesponse.js +3 -11
- package/dist/esm/models/salesinvoicerecipienttyperesponse.js.map +1 -1
- package/dist/esm/models/salesinvoicestatusresponse.d.ts +1 -1
- package/dist/esm/models/salesinvoicestatusresponse.d.ts.map +1 -1
- package/dist/esm/models/salesinvoicestatusresponse.js +3 -11
- package/dist/esm/models/salesinvoicestatusresponse.js.map +1 -1
- package/dist/esm/models/salesinvoicevatmoderesponse.d.ts +1 -1
- package/dist/esm/models/salesinvoicevatmoderesponse.d.ts.map +1 -1
- package/dist/esm/models/salesinvoicevatmoderesponse.js +3 -11
- package/dist/esm/models/salesinvoicevatmoderesponse.js.map +1 -1
- package/dist/esm/models/salesinvoicevatschemeresponse.d.ts +1 -1
- package/dist/esm/models/salesinvoicevatschemeresponse.d.ts.map +1 -1
- package/dist/esm/models/salesinvoicevatschemeresponse.js +3 -11
- package/dist/esm/models/salesinvoicevatschemeresponse.js.map +1 -1
- package/dist/esm/models/sequencetyperesponse.d.ts +1 -1
- package/dist/esm/models/sequencetyperesponse.d.ts.map +1 -1
- package/dist/esm/models/sequencetyperesponse.js +3 -11
- package/dist/esm/models/sequencetyperesponse.js.map +1 -1
- package/dist/esm/models/settlementstatus.d.ts +1 -1
- package/dist/esm/models/settlementstatus.d.ts.map +1 -1
- package/dist/esm/models/settlementstatus.js +3 -11
- package/dist/esm/models/settlementstatus.js.map +1 -1
- package/dist/esm/models/subscriptionmethodresponse.d.ts +1 -1
- package/dist/esm/models/subscriptionmethodresponse.d.ts.map +1 -1
- package/dist/esm/models/subscriptionmethodresponse.js +3 -11
- package/dist/esm/models/subscriptionmethodresponse.js.map +1 -1
- package/dist/esm/models/subscriptionresponse.d.ts +32 -32
- package/dist/esm/models/subscriptionresponse.d.ts.map +1 -1
- package/dist/esm/models/subscriptionresponse.js +32 -32
- package/dist/esm/models/subscriptionresponse.js.map +1 -1
- package/dist/esm/models/subscriptionstatus.d.ts +1 -1
- package/dist/esm/models/subscriptionstatus.d.ts.map +1 -1
- package/dist/esm/models/subscriptionstatus.js +3 -11
- package/dist/esm/models/subscriptionstatus.js.map +1 -1
- package/dist/esm/models/terminalbrand.d.ts +1 -1
- package/dist/esm/models/terminalbrand.d.ts.map +1 -1
- package/dist/esm/models/terminalbrand.js +3 -11
- package/dist/esm/models/terminalbrand.js.map +1 -1
- package/dist/esm/models/terminalmodel.d.ts +1 -1
- package/dist/esm/models/terminalmodel.d.ts.map +1 -1
- package/dist/esm/models/terminalmodel.js +3 -11
- package/dist/esm/models/terminalmodel.js.map +1 -1
- package/dist/esm/models/terminalstatus.d.ts +1 -1
- package/dist/esm/models/terminalstatus.d.ts.map +1 -1
- package/dist/esm/models/terminalstatus.js +3 -11
- package/dist/esm/models/terminalstatus.js.map +1 -1
- package/dist/esm/models/webhookstatus.d.ts +1 -1
- package/dist/esm/models/webhookstatus.d.ts.map +1 -1
- package/dist/esm/models/webhookstatus.js +3 -11
- package/dist/esm/models/webhookstatus.js.map +1 -1
- package/dist/esm/sdk/customers.d.ts +1 -1
- package/dist/esm/sdk/customers.d.ts.map +1 -1
- package/dist/esm/sdk/mandates.d.ts +1 -1
- package/dist/esm/sdk/mandates.d.ts.map +1 -1
- package/dist/esm/sdk/onboarding.d.ts +1 -1
- package/dist/esm/sdk/onboarding.d.ts.map +1 -1
- package/dist/esm/sdk/paymentlinks.d.ts +1 -1
- package/dist/esm/sdk/paymentlinks.d.ts.map +1 -1
- package/dist/esm/sdk/payments.d.ts +1 -1
- package/dist/esm/sdk/payments.d.ts.map +1 -1
- package/dist/esm/sdk/profiles.d.ts +1 -1
- package/dist/esm/sdk/profiles.d.ts.map +1 -1
- package/dist/esm/sdk/refunds.d.ts +1 -1
- package/dist/esm/sdk/refunds.d.ts.map +1 -1
- package/dist/esm/sdk/salesinvoices.d.ts +1 -1
- package/dist/esm/sdk/salesinvoices.d.ts.map +1 -1
- package/dist/esm/sdk/webhooks.d.ts +2 -2
- package/dist/esm/sdk/webhooks.d.ts.map +1 -1
- package/dist/esm/types/enums.d.ts +10 -6
- package/dist/esm/types/enums.d.ts.map +1 -1
- package/dist/esm/types/enums.js +38 -1
- package/dist/esm/types/enums.js.map +1 -1
- package/dist/esm/types/index.d.ts +0 -1
- package/dist/esm/types/index.d.ts.map +1 -1
- package/dist/esm/types/index.js +0 -1
- package/dist/esm/types/index.js.map +1 -1
- package/examples/package-lock.json +2 -10
- package/jsr.json +1 -1
- package/package.json +3 -10
- package/src/funcs/clientLinksCreate.ts +1 -1
- package/src/funcs/customersDelete.ts +4 -4
- package/src/funcs/mandatesCreate.ts +3 -1
- package/src/funcs/mandatesRevoke.ts +4 -4
- package/src/funcs/onboardingSubmit.ts +5 -5
- package/src/funcs/paymentLinksDelete.ts +4 -4
- package/src/funcs/paymentsReleaseAuthorization.ts +4 -4
- package/src/funcs/profilesCreate.ts +3 -1
- package/src/funcs/profilesDelete.ts +4 -4
- package/src/funcs/refundsCancel.ts +4 -4
- package/src/funcs/refundsCreate.ts +1 -1
- package/src/funcs/salesInvoicesDelete.ts +4 -4
- package/src/funcs/webhooksDelete.ts +4 -4
- package/src/funcs/webhooksTest.ts +4 -4
- package/src/hooks/mollie-hooks.ts +0 -2
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/mcp-server/tools/customersDelete.ts +1 -3
- package/src/mcp-server/tools/mandatesRevoke.ts +1 -3
- package/src/mcp-server/tools/onboardingSubmit.ts +1 -3
- package/src/mcp-server/tools/paymentLinksDelete.ts +1 -3
- package/src/mcp-server/tools/paymentsReleaseAuthorization.ts +1 -3
- package/src/mcp-server/tools/profilesDelete.ts +1 -3
- package/src/mcp-server/tools/refundsCancel.ts +1 -3
- package/src/mcp-server/tools/salesInvoicesDelete.ts +1 -3
- package/src/mcp-server/tools/webhooksDelete.ts +1 -3
- package/src/mcp-server/tools/webhooksTest.ts +1 -3
- package/src/models/balancereportgrouping.ts +5 -15
- package/src/models/balancestatus.ts +5 -15
- package/src/models/balancetransactiontype.ts +5 -15
- package/src/models/balancetransfercategoryresponse.ts +5 -15
- package/src/models/balancetransferdestinationtype.ts +5 -15
- package/src/models/balancetransferfrequency.ts +5 -15
- package/src/models/balancetransferpartytyperesponse.ts +5 -15
- package/src/models/balancetransferstatus.ts +5 -15
- package/src/models/balancetransferstatusreasonresponse.ts +5 -15
- package/src/models/capabilityrequirementstatus.ts +5 -15
- package/src/models/capabilitystatus.ts +5 -15
- package/src/models/capabilitystatusreason.ts +5 -15
- package/src/models/capturemoderesponse.ts +5 -15
- package/src/models/captureresponse.ts +32 -32
- package/src/models/capturestatus.ts +5 -15
- package/src/models/{entityclientlink.ts → clientlinkrequest.ts} +40 -40
- package/src/models/clientlinkresponse.ts +12 -12
- package/src/models/currencies.ts +5 -15
- package/src/models/customerresponse.ts +36 -36
- package/src/models/index.ts +4 -4
- package/src/models/invoicestatus.ts +5 -15
- package/src/models/linecategoriesresponse.ts +5 -15
- package/src/models/localeresponse.ts +5 -15
- package/src/models/mandatedetailscardlabelresponse.ts +5 -15
- package/src/models/mandatemethodresponse.ts +5 -15
- package/src/models/{entitymandate.ts → mandaterequest.ts} +21 -21
- package/src/models/mandateresponse.ts +44 -44
- package/src/models/mandatestatus.ts +5 -15
- package/src/models/methodresponse.ts +5 -15
- package/src/models/methodstatus.ts +5 -15
- package/src/models/mode.ts +6 -16
- package/src/models/onboardingstatus.ts +5 -15
- package/src/models/operations/createclientlink.ts +6 -6
- package/src/models/operations/createmandate.ts +6 -6
- package/src/models/operations/createprofile.ts +6 -6
- package/src/models/operations/createrefund.ts +6 -6
- package/src/models/operations/getcustomer.ts +36 -36
- package/src/models/organizationvatregulation.ts +5 -15
- package/src/models/paymentdetailscardauditionresponse.ts +5 -15
- package/src/models/paymentdetailscardfundingresponse.ts +5 -15
- package/src/models/paymentdetailscardlabelresponse.ts +5 -15
- package/src/models/paymentdetailscardsecurityresponse.ts +5 -15
- package/src/models/paymentdetailsfailurereasonresponse.ts +5 -15
- package/src/models/paymentdetailsfeeregionresponse.ts +5 -15
- package/src/models/paymentdetailsreceiptcardreadmethodresponse.ts +5 -18
- package/src/models/paymentdetailsreceiptcardverificationmethodresponse.ts +9 -15
- package/src/models/paymentdetailssellerprotectionresponse.ts +5 -15
- package/src/models/paymentdetailswalletresponse.ts +5 -15
- package/src/models/paymentlinetyperesponse.ts +5 -15
- package/src/models/paymentlinkmethodresponse.ts +5 -15
- package/src/models/paymentlinkresponse.ts +60 -62
- package/src/models/paymentlinksequencetyperesponse.ts +5 -15
- package/src/models/paymentmethod.ts +5 -15
- package/src/models/paymentrequest.ts +12 -12
- package/src/models/paymentresponse.ts +40 -40
- package/src/models/paymentstatus.ts +5 -15
- package/src/models/{entityprofile.ts → profilerequest.ts} +29 -29
- package/src/models/profileresponse.ts +44 -44
- package/src/models/profilereviewstatusresponse.ts +5 -15
- package/src/models/profilestatus.ts +5 -15
- package/src/models/refundexternalreferencetyperesponse.ts +5 -15
- package/src/models/{entityrefund.ts → refundrequest.ts} +69 -69
- package/src/models/refundstatus.ts +5 -15
- package/src/models/routecreateresponse.ts +28 -30
- package/src/models/routedestinationtyperesponse.ts +5 -15
- package/src/models/routegetresponse.ts +28 -30
- package/src/models/salesinvoicediscounttyperesponse.ts +5 -15
- package/src/models/salesinvoicepaymentdetailssourceresponse.ts +5 -15
- package/src/models/salesinvoicepaymenttermresponse.ts +5 -15
- package/src/models/salesinvoicerecipientlocaleresponse.ts +5 -15
- package/src/models/salesinvoicerecipienttyperesponse.ts +5 -15
- package/src/models/salesinvoicestatusresponse.ts +5 -15
- package/src/models/salesinvoicevatmoderesponse.ts +5 -15
- package/src/models/salesinvoicevatschemeresponse.ts +5 -15
- package/src/models/sequencetyperesponse.ts +5 -15
- package/src/models/settlementstatus.ts +5 -15
- package/src/models/subscriptionmethodresponse.ts +5 -15
- package/src/models/subscriptionresponse.ts +64 -64
- package/src/models/subscriptionstatus.ts +5 -15
- package/src/models/terminalbrand.ts +5 -15
- package/src/models/terminalmodel.ts +5 -15
- package/src/models/terminalstatus.ts +5 -15
- package/src/models/webhookstatus.ts +5 -15
- package/src/sdk/customers.ts +1 -1
- package/src/sdk/mandates.ts +1 -1
- package/src/sdk/onboarding.ts +1 -1
- package/src/sdk/paymentlinks.ts +1 -1
- package/src/sdk/payments.ts +1 -1
- package/src/sdk/profiles.ts +1 -1
- package/src/sdk/refunds.ts +1 -1
- package/src/sdk/salesinvoices.ts +1 -1
- package/src/sdk/webhooks.ts +2 -2
- package/src/types/enums.ts +55 -6
- package/src/types/index.ts +0 -1
- package/dist/commonjs/models/entityclientlink.d.ts.map +0 -1
- package/dist/commonjs/models/entityclientlink.js.map +0 -1
- package/dist/commonjs/models/entitymandate.d.ts.map +0 -1
- package/dist/commonjs/models/entitymandate.js.map +0 -1
- package/dist/commonjs/models/entityprofile.d.ts.map +0 -1
- package/dist/commonjs/models/entityprofile.js.map +0 -1
- package/dist/commonjs/models/entityrefund.d.ts.map +0 -1
- package/dist/commonjs/models/entityrefund.js.map +0 -1
- package/dist/esm/models/entityclientlink.d.ts.map +0 -1
- package/dist/esm/models/entityclientlink.js.map +0 -1
- package/dist/esm/models/entitymandate.d.ts.map +0 -1
- package/dist/esm/models/entitymandate.js.map +0 -1
- package/dist/esm/models/entityprofile.d.ts.map +0 -1
- package/dist/esm/models/entityprofile.js +0 -35
- package/dist/esm/models/entityprofile.js.map +0 -1
- package/dist/esm/models/entityrefund.d.ts.map +0 -1
- package/dist/esm/models/entityrefund.js +0 -98
- package/dist/esm/models/entityrefund.js.map +0 -1
package/bin/mcp-server.js
CHANGED
|
@@ -34124,9 +34124,9 @@ var init_config = __esm(() => {
|
|
|
34124
34124
|
SDK_METADATA = {
|
|
34125
34125
|
language: "typescript",
|
|
34126
34126
|
openapiDocVersion: "1.0.0",
|
|
34127
|
-
sdkVersion: "0.8.
|
|
34128
|
-
genVersion: "2.
|
|
34129
|
-
userAgent: "speakeasy-sdk/typescript 0.8.
|
|
34127
|
+
sdkVersion: "0.8.3",
|
|
34128
|
+
genVersion: "2.755.9",
|
|
34129
|
+
userAgent: "speakeasy-sdk/typescript 0.8.3 2.755.9 1.0.0 mollie-api-typescript"
|
|
34130
34130
|
};
|
|
34131
34131
|
});
|
|
34132
34132
|
|
|
@@ -34180,7 +34180,6 @@ class MollieHooks {
|
|
|
34180
34180
|
if (customUserAgent) {
|
|
34181
34181
|
mollieUserAgent = `${mollieUserAgent} ${customUserAgent}`;
|
|
34182
34182
|
}
|
|
34183
|
-
console.log("Setting User-Agent to:", mollieUserAgent);
|
|
34184
34183
|
headers.set(userAgentKey, mollieUserAgent);
|
|
34185
34184
|
return headers;
|
|
34186
34185
|
}
|
|
@@ -35574,6 +35573,9 @@ function jsonErr(codes, schema, options) {
|
|
|
35574
35573
|
function json(codes, schema, options) {
|
|
35575
35574
|
return { ...options, enc: "json", codes, schema };
|
|
35576
35575
|
}
|
|
35576
|
+
function nil(codes, schema, options) {
|
|
35577
|
+
return { ...options, enc: "nil", codes, schema };
|
|
35578
|
+
}
|
|
35577
35579
|
function fail(codes) {
|
|
35578
35580
|
return { enc: "fail", codes };
|
|
35579
35581
|
}
|
|
@@ -35938,50 +35940,53 @@ var init_amountnullable = __esm(() => {
|
|
|
35938
35940
|
});
|
|
35939
35941
|
|
|
35940
35942
|
// src/types/enums.ts
|
|
35941
|
-
function
|
|
35943
|
+
function unrecognized(value) {
|
|
35944
|
+
unrecognizedCount++;
|
|
35942
35945
|
return value;
|
|
35943
35946
|
}
|
|
35947
|
+
function inboundSchema(enumObj) {
|
|
35948
|
+
const options = Object.values(enumObj);
|
|
35949
|
+
return unionType([
|
|
35950
|
+
...options.map((x2) => literalType(x2)),
|
|
35951
|
+
stringType().transform((x2) => unrecognized(x2))
|
|
35952
|
+
]);
|
|
35953
|
+
}
|
|
35954
|
+
function outboundSchema(_2) {
|
|
35955
|
+
return stringType();
|
|
35956
|
+
}
|
|
35957
|
+
var unrecognizedCount = 0;
|
|
35958
|
+
var init_enums = __esm(() => {
|
|
35959
|
+
init_esm();
|
|
35960
|
+
});
|
|
35944
35961
|
|
|
35945
35962
|
// src/models/balancereportgrouping.ts
|
|
35946
35963
|
var BalanceReportGrouping, BalanceReportGrouping$inboundSchema, BalanceReportGrouping$outboundSchema;
|
|
35947
35964
|
var init_balancereportgrouping = __esm(() => {
|
|
35948
|
-
|
|
35965
|
+
init_enums();
|
|
35949
35966
|
BalanceReportGrouping = {
|
|
35950
35967
|
StatusBalances: "status-balances",
|
|
35951
35968
|
TransactionCategories: "transaction-categories"
|
|
35952
35969
|
};
|
|
35953
|
-
BalanceReportGrouping$inboundSchema =
|
|
35954
|
-
|
|
35955
|
-
stringType().transform(catchUnrecognizedEnum)
|
|
35956
|
-
]);
|
|
35957
|
-
BalanceReportGrouping$outboundSchema = unionType([
|
|
35958
|
-
nativeEnumType(BalanceReportGrouping),
|
|
35959
|
-
stringType().and(custom())
|
|
35960
|
-
]);
|
|
35970
|
+
BalanceReportGrouping$inboundSchema = inboundSchema(BalanceReportGrouping);
|
|
35971
|
+
BalanceReportGrouping$outboundSchema = outboundSchema(BalanceReportGrouping);
|
|
35961
35972
|
});
|
|
35962
35973
|
|
|
35963
35974
|
// src/models/balancestatus.ts
|
|
35964
35975
|
var BalanceStatus, BalanceStatus$inboundSchema, BalanceStatus$outboundSchema;
|
|
35965
35976
|
var init_balancestatus = __esm(() => {
|
|
35966
|
-
|
|
35977
|
+
init_enums();
|
|
35967
35978
|
BalanceStatus = {
|
|
35968
35979
|
Active: "active",
|
|
35969
35980
|
Inactive: "inactive"
|
|
35970
35981
|
};
|
|
35971
|
-
BalanceStatus$inboundSchema =
|
|
35972
|
-
|
|
35973
|
-
stringType().transform(catchUnrecognizedEnum)
|
|
35974
|
-
]);
|
|
35975
|
-
BalanceStatus$outboundSchema = unionType([
|
|
35976
|
-
nativeEnumType(BalanceStatus),
|
|
35977
|
-
stringType().and(custom())
|
|
35978
|
-
]);
|
|
35982
|
+
BalanceStatus$inboundSchema = inboundSchema(BalanceStatus);
|
|
35983
|
+
BalanceStatus$outboundSchema = outboundSchema(BalanceStatus);
|
|
35979
35984
|
});
|
|
35980
35985
|
|
|
35981
35986
|
// src/models/balancetransactiontype.ts
|
|
35982
35987
|
var BalanceTransactionType, BalanceTransactionType$inboundSchema, BalanceTransactionType$outboundSchema;
|
|
35983
35988
|
var init_balancetransactiontype = __esm(() => {
|
|
35984
|
-
|
|
35989
|
+
init_enums();
|
|
35985
35990
|
BalanceTransactionType = {
|
|
35986
35991
|
ApplicationFee: "application-fee",
|
|
35987
35992
|
Capture: "capture",
|
|
@@ -36030,14 +36035,8 @@ var init_balancetransactiontype = __esm(() => {
|
|
|
36030
36035
|
CashCollateralIssuance: "cash-collateral-issuance",
|
|
36031
36036
|
CashCollateralRelease: "cash-collateral-release"
|
|
36032
36037
|
};
|
|
36033
|
-
BalanceTransactionType$inboundSchema =
|
|
36034
|
-
|
|
36035
|
-
stringType().transform(catchUnrecognizedEnum)
|
|
36036
|
-
]);
|
|
36037
|
-
BalanceTransactionType$outboundSchema = unionType([
|
|
36038
|
-
nativeEnumType(BalanceTransactionType),
|
|
36039
|
-
stringType().and(custom())
|
|
36040
|
-
]);
|
|
36038
|
+
BalanceTransactionType$inboundSchema = inboundSchema(BalanceTransactionType);
|
|
36039
|
+
BalanceTransactionType$outboundSchema = outboundSchema(BalanceTransactionType);
|
|
36041
36040
|
});
|
|
36042
36041
|
|
|
36043
36042
|
// src/models/balancetransfercategory.ts
|
|
@@ -36061,7 +36060,7 @@ var init_balancetransfercategory = __esm(() => {
|
|
|
36061
36060
|
// src/models/balancetransfercategoryresponse.ts
|
|
36062
36061
|
var BalanceTransferCategoryResponse, BalanceTransferCategoryResponse$inboundSchema, BalanceTransferCategoryResponse$outboundSchema;
|
|
36063
36062
|
var init_balancetransfercategoryresponse = __esm(() => {
|
|
36064
|
-
|
|
36063
|
+
init_enums();
|
|
36065
36064
|
BalanceTransferCategoryResponse = {
|
|
36066
36065
|
InvoiceCollection: "invoice_collection",
|
|
36067
36066
|
Purchase: "purchase",
|
|
@@ -36072,37 +36071,25 @@ var init_balancetransfercategoryresponse = __esm(() => {
|
|
|
36072
36071
|
ManualCorrection: "manual_correction",
|
|
36073
36072
|
OtherFee: "other_fee"
|
|
36074
36073
|
};
|
|
36075
|
-
BalanceTransferCategoryResponse$inboundSchema =
|
|
36076
|
-
|
|
36077
|
-
stringType().transform(catchUnrecognizedEnum)
|
|
36078
|
-
]);
|
|
36079
|
-
BalanceTransferCategoryResponse$outboundSchema = unionType([
|
|
36080
|
-
nativeEnumType(BalanceTransferCategoryResponse),
|
|
36081
|
-
stringType().and(custom())
|
|
36082
|
-
]);
|
|
36074
|
+
BalanceTransferCategoryResponse$inboundSchema = inboundSchema(BalanceTransferCategoryResponse);
|
|
36075
|
+
BalanceTransferCategoryResponse$outboundSchema = outboundSchema(BalanceTransferCategoryResponse);
|
|
36083
36076
|
});
|
|
36084
36077
|
|
|
36085
36078
|
// src/models/balancetransferdestinationtype.ts
|
|
36086
36079
|
var BalanceTransferDestinationType, BalanceTransferDestinationType$inboundSchema, BalanceTransferDestinationType$outboundSchema;
|
|
36087
36080
|
var init_balancetransferdestinationtype = __esm(() => {
|
|
36088
|
-
|
|
36081
|
+
init_enums();
|
|
36089
36082
|
BalanceTransferDestinationType = {
|
|
36090
36083
|
BankAccount: "bank-account"
|
|
36091
36084
|
};
|
|
36092
|
-
BalanceTransferDestinationType$inboundSchema =
|
|
36093
|
-
|
|
36094
|
-
stringType().transform(catchUnrecognizedEnum)
|
|
36095
|
-
]);
|
|
36096
|
-
BalanceTransferDestinationType$outboundSchema = unionType([
|
|
36097
|
-
nativeEnumType(BalanceTransferDestinationType),
|
|
36098
|
-
stringType().and(custom())
|
|
36099
|
-
]);
|
|
36085
|
+
BalanceTransferDestinationType$inboundSchema = inboundSchema(BalanceTransferDestinationType);
|
|
36086
|
+
BalanceTransferDestinationType$outboundSchema = outboundSchema(BalanceTransferDestinationType);
|
|
36100
36087
|
});
|
|
36101
36088
|
|
|
36102
36089
|
// src/models/balancetransferfrequency.ts
|
|
36103
36090
|
var BalanceTransferFrequency, BalanceTransferFrequency$inboundSchema, BalanceTransferFrequency$outboundSchema;
|
|
36104
36091
|
var init_balancetransferfrequency = __esm(() => {
|
|
36105
|
-
|
|
36092
|
+
init_enums();
|
|
36106
36093
|
BalanceTransferFrequency = {
|
|
36107
36094
|
Daily: "daily",
|
|
36108
36095
|
EveryMonday: "every-monday",
|
|
@@ -36113,14 +36100,8 @@ var init_balancetransferfrequency = __esm(() => {
|
|
|
36113
36100
|
Monthly: "monthly",
|
|
36114
36101
|
Never: "never"
|
|
36115
36102
|
};
|
|
36116
|
-
BalanceTransferFrequency$inboundSchema =
|
|
36117
|
-
|
|
36118
|
-
stringType().transform(catchUnrecognizedEnum)
|
|
36119
|
-
]);
|
|
36120
|
-
BalanceTransferFrequency$outboundSchema = unionType([
|
|
36121
|
-
nativeEnumType(BalanceTransferFrequency),
|
|
36122
|
-
stringType().and(custom())
|
|
36123
|
-
]);
|
|
36103
|
+
BalanceTransferFrequency$inboundSchema = inboundSchema(BalanceTransferFrequency);
|
|
36104
|
+
BalanceTransferFrequency$outboundSchema = outboundSchema(BalanceTransferFrequency);
|
|
36124
36105
|
});
|
|
36125
36106
|
|
|
36126
36107
|
// src/models/balancetransferpartytype.ts
|
|
@@ -36137,43 +36118,31 @@ var init_balancetransferpartytype = __esm(() => {
|
|
|
36137
36118
|
// src/models/balancetransferpartytyperesponse.ts
|
|
36138
36119
|
var BalanceTransferPartyTypeResponse, BalanceTransferPartyTypeResponse$inboundSchema, BalanceTransferPartyTypeResponse$outboundSchema;
|
|
36139
36120
|
var init_balancetransferpartytyperesponse = __esm(() => {
|
|
36140
|
-
|
|
36121
|
+
init_enums();
|
|
36141
36122
|
BalanceTransferPartyTypeResponse = {
|
|
36142
36123
|
Organization: "organization"
|
|
36143
36124
|
};
|
|
36144
|
-
BalanceTransferPartyTypeResponse$inboundSchema =
|
|
36145
|
-
|
|
36146
|
-
stringType().transform(catchUnrecognizedEnum)
|
|
36147
|
-
]);
|
|
36148
|
-
BalanceTransferPartyTypeResponse$outboundSchema = unionType([
|
|
36149
|
-
nativeEnumType(BalanceTransferPartyTypeResponse),
|
|
36150
|
-
stringType().and(custom())
|
|
36151
|
-
]);
|
|
36125
|
+
BalanceTransferPartyTypeResponse$inboundSchema = inboundSchema(BalanceTransferPartyTypeResponse);
|
|
36126
|
+
BalanceTransferPartyTypeResponse$outboundSchema = outboundSchema(BalanceTransferPartyTypeResponse);
|
|
36152
36127
|
});
|
|
36153
36128
|
|
|
36154
36129
|
// src/models/balancetransferstatus.ts
|
|
36155
36130
|
var BalanceTransferStatus, BalanceTransferStatus$inboundSchema, BalanceTransferStatus$outboundSchema;
|
|
36156
36131
|
var init_balancetransferstatus = __esm(() => {
|
|
36157
|
-
|
|
36132
|
+
init_enums();
|
|
36158
36133
|
BalanceTransferStatus = {
|
|
36159
36134
|
Created: "created",
|
|
36160
36135
|
Failed: "failed",
|
|
36161
36136
|
Succeeded: "succeeded"
|
|
36162
36137
|
};
|
|
36163
|
-
BalanceTransferStatus$inboundSchema =
|
|
36164
|
-
|
|
36165
|
-
stringType().transform(catchUnrecognizedEnum)
|
|
36166
|
-
]);
|
|
36167
|
-
BalanceTransferStatus$outboundSchema = unionType([
|
|
36168
|
-
nativeEnumType(BalanceTransferStatus),
|
|
36169
|
-
stringType().and(custom())
|
|
36170
|
-
]);
|
|
36138
|
+
BalanceTransferStatus$inboundSchema = inboundSchema(BalanceTransferStatus);
|
|
36139
|
+
BalanceTransferStatus$outboundSchema = outboundSchema(BalanceTransferStatus);
|
|
36171
36140
|
});
|
|
36172
36141
|
|
|
36173
36142
|
// src/models/balancetransferstatusreasonresponse.ts
|
|
36174
36143
|
var BalanceTransferStatusReasonResponse, BalanceTransferStatusReasonResponse$inboundSchema, BalanceTransferStatusReasonResponse$outboundSchema;
|
|
36175
36144
|
var init_balancetransferstatusreasonresponse = __esm(() => {
|
|
36176
|
-
|
|
36145
|
+
init_enums();
|
|
36177
36146
|
BalanceTransferStatusReasonResponse = {
|
|
36178
36147
|
RequestCreated: "request_created",
|
|
36179
36148
|
Success: "success",
|
|
@@ -36185,14 +36154,8 @@ var init_balancetransferstatusreasonresponse = __esm(() => {
|
|
|
36185
36154
|
TransferRequestExpired: "transfer_request_expired",
|
|
36186
36155
|
TransferLimitReached: "transfer_limit_reached"
|
|
36187
36156
|
};
|
|
36188
|
-
BalanceTransferStatusReasonResponse$inboundSchema =
|
|
36189
|
-
|
|
36190
|
-
stringType().transform(catchUnrecognizedEnum)
|
|
36191
|
-
]);
|
|
36192
|
-
BalanceTransferStatusReasonResponse$outboundSchema = unionType([
|
|
36193
|
-
nativeEnumType(BalanceTransferStatusReasonResponse),
|
|
36194
|
-
stringType().and(custom())
|
|
36195
|
-
]);
|
|
36157
|
+
BalanceTransferStatusReasonResponse$inboundSchema = inboundSchema(BalanceTransferStatusReasonResponse);
|
|
36158
|
+
BalanceTransferStatusReasonResponse$outboundSchema = outboundSchema(BalanceTransferStatusReasonResponse);
|
|
36196
36159
|
});
|
|
36197
36160
|
|
|
36198
36161
|
// src/models/billingaddress.ts
|
|
@@ -36232,58 +36195,40 @@ var init_billingaddress = __esm(() => {
|
|
|
36232
36195
|
// src/models/capabilityrequirementstatus.ts
|
|
36233
36196
|
var CapabilityRequirementStatus, CapabilityRequirementStatus$inboundSchema, CapabilityRequirementStatus$outboundSchema;
|
|
36234
36197
|
var init_capabilityrequirementstatus = __esm(() => {
|
|
36235
|
-
|
|
36198
|
+
init_enums();
|
|
36236
36199
|
CapabilityRequirementStatus = {
|
|
36237
36200
|
CurrentlyDue: "currently-due",
|
|
36238
36201
|
PastDue: "past-due",
|
|
36239
36202
|
Requested: "requested"
|
|
36240
36203
|
};
|
|
36241
|
-
CapabilityRequirementStatus$inboundSchema =
|
|
36242
|
-
|
|
36243
|
-
stringType().transform(catchUnrecognizedEnum)
|
|
36244
|
-
]);
|
|
36245
|
-
CapabilityRequirementStatus$outboundSchema = unionType([
|
|
36246
|
-
nativeEnumType(CapabilityRequirementStatus),
|
|
36247
|
-
stringType().and(custom())
|
|
36248
|
-
]);
|
|
36204
|
+
CapabilityRequirementStatus$inboundSchema = inboundSchema(CapabilityRequirementStatus);
|
|
36205
|
+
CapabilityRequirementStatus$outboundSchema = outboundSchema(CapabilityRequirementStatus);
|
|
36249
36206
|
});
|
|
36250
36207
|
|
|
36251
36208
|
// src/models/capabilitystatus.ts
|
|
36252
36209
|
var CapabilityStatus, CapabilityStatus$inboundSchema, CapabilityStatus$outboundSchema;
|
|
36253
36210
|
var init_capabilitystatus = __esm(() => {
|
|
36254
|
-
|
|
36211
|
+
init_enums();
|
|
36255
36212
|
CapabilityStatus = {
|
|
36256
36213
|
Unrequested: "unrequested",
|
|
36257
36214
|
Enabled: "enabled",
|
|
36258
36215
|
Disabled: "disabled",
|
|
36259
36216
|
Pending: "pending"
|
|
36260
36217
|
};
|
|
36261
|
-
CapabilityStatus$inboundSchema =
|
|
36262
|
-
|
|
36263
|
-
stringType().transform(catchUnrecognizedEnum)
|
|
36264
|
-
]);
|
|
36265
|
-
CapabilityStatus$outboundSchema = unionType([
|
|
36266
|
-
nativeEnumType(CapabilityStatus),
|
|
36267
|
-
stringType().and(custom())
|
|
36268
|
-
]);
|
|
36218
|
+
CapabilityStatus$inboundSchema = inboundSchema(CapabilityStatus);
|
|
36219
|
+
CapabilityStatus$outboundSchema = outboundSchema(CapabilityStatus);
|
|
36269
36220
|
});
|
|
36270
36221
|
|
|
36271
36222
|
// src/models/capabilitystatusreason.ts
|
|
36272
36223
|
var CapabilityStatusReason, CapabilityStatusReason$inboundSchema, CapabilityStatusReason$outboundSchema;
|
|
36273
36224
|
var init_capabilitystatusreason = __esm(() => {
|
|
36274
|
-
|
|
36225
|
+
init_enums();
|
|
36275
36226
|
CapabilityStatusReason = {
|
|
36276
36227
|
RequirementPastDue: "requirement-past-due",
|
|
36277
36228
|
OnboardingInformationNeeded: "onboarding-information-needed"
|
|
36278
36229
|
};
|
|
36279
|
-
CapabilityStatusReason$inboundSchema =
|
|
36280
|
-
|
|
36281
|
-
stringType().transform(catchUnrecognizedEnum)
|
|
36282
|
-
]);
|
|
36283
|
-
CapabilityStatusReason$outboundSchema = unionType([
|
|
36284
|
-
nativeEnumType(CapabilityStatusReason),
|
|
36285
|
-
stringType().and(custom())
|
|
36286
|
-
]);
|
|
36230
|
+
CapabilityStatusReason$inboundSchema = inboundSchema(CapabilityStatusReason);
|
|
36231
|
+
CapabilityStatusReason$outboundSchema = outboundSchema(CapabilityStatusReason);
|
|
36287
36232
|
});
|
|
36288
36233
|
|
|
36289
36234
|
// src/models/capturemode.ts
|
|
@@ -36301,38 +36246,26 @@ var init_capturemode = __esm(() => {
|
|
|
36301
36246
|
// src/models/capturemoderesponse.ts
|
|
36302
36247
|
var CaptureModeResponse, CaptureModeResponse$inboundSchema, CaptureModeResponse$outboundSchema;
|
|
36303
36248
|
var init_capturemoderesponse = __esm(() => {
|
|
36304
|
-
|
|
36249
|
+
init_enums();
|
|
36305
36250
|
CaptureModeResponse = {
|
|
36306
36251
|
Automatic: "automatic",
|
|
36307
36252
|
Manual: "manual"
|
|
36308
36253
|
};
|
|
36309
|
-
CaptureModeResponse$inboundSchema =
|
|
36310
|
-
|
|
36311
|
-
stringType().transform(catchUnrecognizedEnum)
|
|
36312
|
-
]);
|
|
36313
|
-
CaptureModeResponse$outboundSchema = unionType([
|
|
36314
|
-
nativeEnumType(CaptureModeResponse),
|
|
36315
|
-
stringType().and(custom())
|
|
36316
|
-
]);
|
|
36254
|
+
CaptureModeResponse$inboundSchema = inboundSchema(CaptureModeResponse);
|
|
36255
|
+
CaptureModeResponse$outboundSchema = outboundSchema(CaptureModeResponse);
|
|
36317
36256
|
});
|
|
36318
36257
|
|
|
36319
36258
|
// src/models/capturestatus.ts
|
|
36320
36259
|
var CaptureStatus, CaptureStatus$inboundSchema, CaptureStatus$outboundSchema;
|
|
36321
36260
|
var init_capturestatus = __esm(() => {
|
|
36322
|
-
|
|
36261
|
+
init_enums();
|
|
36323
36262
|
CaptureStatus = {
|
|
36324
36263
|
Pending: "pending",
|
|
36325
36264
|
Succeeded: "succeeded",
|
|
36326
36265
|
Failed: "failed"
|
|
36327
36266
|
};
|
|
36328
|
-
CaptureStatus$inboundSchema =
|
|
36329
|
-
|
|
36330
|
-
stringType().transform(catchUnrecognizedEnum)
|
|
36331
|
-
]);
|
|
36332
|
-
CaptureStatus$outboundSchema = unionType([
|
|
36333
|
-
nativeEnumType(CaptureStatus),
|
|
36334
|
-
stringType().and(custom())
|
|
36335
|
-
]);
|
|
36267
|
+
CaptureStatus$inboundSchema = inboundSchema(CaptureStatus);
|
|
36268
|
+
CaptureStatus$outboundSchema = outboundSchema(CaptureStatus);
|
|
36336
36269
|
});
|
|
36337
36270
|
|
|
36338
36271
|
// src/models/metadata.ts
|
|
@@ -36346,19 +36279,13 @@ var init_metadata = __esm(() => {
|
|
|
36346
36279
|
// src/models/mode.ts
|
|
36347
36280
|
var Mode, Mode$inboundSchema, Mode$outboundSchema;
|
|
36348
36281
|
var init_mode = __esm(() => {
|
|
36349
|
-
|
|
36282
|
+
init_enums();
|
|
36350
36283
|
Mode = {
|
|
36351
36284
|
Live: "live",
|
|
36352
36285
|
Test: "test"
|
|
36353
36286
|
};
|
|
36354
|
-
Mode$inboundSchema =
|
|
36355
|
-
|
|
36356
|
-
stringType().transform(catchUnrecognizedEnum)
|
|
36357
|
-
]);
|
|
36358
|
-
Mode$outboundSchema = unionType([
|
|
36359
|
-
nativeEnumType(Mode),
|
|
36360
|
-
stringType().and(custom())
|
|
36361
|
-
]);
|
|
36287
|
+
Mode$inboundSchema = inboundSchema(Mode);
|
|
36288
|
+
Mode$outboundSchema = outboundSchema(Mode);
|
|
36362
36289
|
});
|
|
36363
36290
|
|
|
36364
36291
|
// src/models/url.ts
|
|
@@ -36415,38 +36342,38 @@ var init_captureresponse = __esm(() => {
|
|
|
36415
36342
|
documentation: Url$outboundSchema
|
|
36416
36343
|
});
|
|
36417
36344
|
CaptureResponse$inboundSchema = objectType({
|
|
36418
|
-
resource: stringType()
|
|
36419
|
-
id: stringType()
|
|
36420
|
-
mode: Mode$inboundSchema
|
|
36345
|
+
resource: stringType(),
|
|
36346
|
+
id: stringType(),
|
|
36347
|
+
mode: Mode$inboundSchema,
|
|
36421
36348
|
description: stringType().optional(),
|
|
36422
|
-
amount: nullableType(AmountNullable$inboundSchema)
|
|
36349
|
+
amount: nullableType(AmountNullable$inboundSchema),
|
|
36423
36350
|
settlementAmount: nullableType(AmountNullable$inboundSchema).optional(),
|
|
36424
|
-
status: CaptureStatus$inboundSchema
|
|
36351
|
+
status: CaptureStatus$inboundSchema,
|
|
36425
36352
|
metadata: nullableType(Metadata$inboundSchema).optional(),
|
|
36426
|
-
paymentId: stringType()
|
|
36353
|
+
paymentId: stringType(),
|
|
36427
36354
|
shipmentId: stringType().optional(),
|
|
36428
36355
|
settlementId: stringType().optional(),
|
|
36429
|
-
createdAt: stringType()
|
|
36430
|
-
_links: lazyType(() => CaptureResponseLinks$inboundSchema)
|
|
36356
|
+
createdAt: stringType(),
|
|
36357
|
+
_links: lazyType(() => CaptureResponseLinks$inboundSchema)
|
|
36431
36358
|
}).transform((v2) => {
|
|
36432
36359
|
return remap(v2, {
|
|
36433
36360
|
_links: "links"
|
|
36434
36361
|
});
|
|
36435
36362
|
});
|
|
36436
36363
|
CaptureResponse$outboundSchema = objectType({
|
|
36437
|
-
resource: stringType()
|
|
36438
|
-
id: stringType()
|
|
36439
|
-
mode: Mode$outboundSchema
|
|
36364
|
+
resource: stringType(),
|
|
36365
|
+
id: stringType(),
|
|
36366
|
+
mode: Mode$outboundSchema,
|
|
36440
36367
|
description: stringType().optional(),
|
|
36441
|
-
amount: nullableType(AmountNullable$outboundSchema)
|
|
36368
|
+
amount: nullableType(AmountNullable$outboundSchema),
|
|
36442
36369
|
settlementAmount: nullableType(AmountNullable$outboundSchema).optional(),
|
|
36443
|
-
status: CaptureStatus$outboundSchema
|
|
36370
|
+
status: CaptureStatus$outboundSchema,
|
|
36444
36371
|
metadata: nullableType(Metadata$outboundSchema).optional(),
|
|
36445
|
-
paymentId: stringType()
|
|
36372
|
+
paymentId: stringType(),
|
|
36446
36373
|
shipmentId: stringType().optional(),
|
|
36447
36374
|
settlementId: stringType().optional(),
|
|
36448
|
-
createdAt: stringType()
|
|
36449
|
-
links: lazyType(() => CaptureResponseLinks$outboundSchema)
|
|
36375
|
+
createdAt: stringType(),
|
|
36376
|
+
links: lazyType(() => CaptureResponseLinks$outboundSchema)
|
|
36450
36377
|
}).transform((v2) => {
|
|
36451
36378
|
return remap(v2, {
|
|
36452
36379
|
links: "_links"
|
|
@@ -36454,6 +36381,84 @@ var init_captureresponse = __esm(() => {
|
|
|
36454
36381
|
});
|
|
36455
36382
|
});
|
|
36456
36383
|
|
|
36384
|
+
// src/models/localeresponse.ts
|
|
36385
|
+
var LocaleResponse, LocaleResponse$inboundSchema, LocaleResponse$outboundSchema;
|
|
36386
|
+
var init_localeresponse = __esm(() => {
|
|
36387
|
+
init_enums();
|
|
36388
|
+
LocaleResponse = {
|
|
36389
|
+
EnUS: "en_US",
|
|
36390
|
+
EnGB: "en_GB",
|
|
36391
|
+
NLNL: "nl_NL",
|
|
36392
|
+
NlBE: "nl_BE",
|
|
36393
|
+
DEDE: "de_DE",
|
|
36394
|
+
DeAT: "de_AT",
|
|
36395
|
+
DeCH: "de_CH",
|
|
36396
|
+
FRFR: "fr_FR",
|
|
36397
|
+
FrBE: "fr_BE",
|
|
36398
|
+
ESES: "es_ES",
|
|
36399
|
+
CaES: "ca_ES",
|
|
36400
|
+
PTPT: "pt_PT",
|
|
36401
|
+
ITIT: "it_IT",
|
|
36402
|
+
NbNO: "nb_NO",
|
|
36403
|
+
SvSE: "sv_SE",
|
|
36404
|
+
FIFI: "fi_FI",
|
|
36405
|
+
DaDK: "da_DK",
|
|
36406
|
+
ISIS: "is_IS",
|
|
36407
|
+
HUHU: "hu_HU",
|
|
36408
|
+
PLPL: "pl_PL",
|
|
36409
|
+
LVLV: "lv_LV",
|
|
36410
|
+
LTLT: "lt_LT",
|
|
36411
|
+
Null: "null"
|
|
36412
|
+
};
|
|
36413
|
+
LocaleResponse$inboundSchema = inboundSchema(LocaleResponse);
|
|
36414
|
+
LocaleResponse$outboundSchema = outboundSchema(LocaleResponse);
|
|
36415
|
+
});
|
|
36416
|
+
|
|
36417
|
+
// src/models/clientlinkrequest.ts
|
|
36418
|
+
var Owner$inboundSchema, Owner$outboundSchema, ClientLinkRequestAddress$inboundSchema, ClientLinkRequestAddress$outboundSchema, ClientLinkRequest$inboundSchema, ClientLinkRequest$outboundSchema;
|
|
36419
|
+
var init_clientlinkrequest = __esm(() => {
|
|
36420
|
+
init_esm();
|
|
36421
|
+
init_localeresponse();
|
|
36422
|
+
Owner$inboundSchema = objectType({
|
|
36423
|
+
email: stringType(),
|
|
36424
|
+
givenName: stringType(),
|
|
36425
|
+
familyName: stringType(),
|
|
36426
|
+
locale: nullableType(LocaleResponse$inboundSchema).optional()
|
|
36427
|
+
});
|
|
36428
|
+
Owner$outboundSchema = objectType({
|
|
36429
|
+
email: stringType(),
|
|
36430
|
+
givenName: stringType(),
|
|
36431
|
+
familyName: stringType(),
|
|
36432
|
+
locale: nullableType(LocaleResponse$outboundSchema).optional()
|
|
36433
|
+
});
|
|
36434
|
+
ClientLinkRequestAddress$inboundSchema = objectType({
|
|
36435
|
+
streetAndNumber: nullableType(stringType()).optional(),
|
|
36436
|
+
postalCode: nullableType(stringType()).optional(),
|
|
36437
|
+
city: nullableType(stringType()).optional(),
|
|
36438
|
+
country: stringType()
|
|
36439
|
+
});
|
|
36440
|
+
ClientLinkRequestAddress$outboundSchema = objectType({
|
|
36441
|
+
streetAndNumber: nullableType(stringType()).optional(),
|
|
36442
|
+
postalCode: nullableType(stringType()).optional(),
|
|
36443
|
+
city: nullableType(stringType()).optional(),
|
|
36444
|
+
country: stringType()
|
|
36445
|
+
});
|
|
36446
|
+
ClientLinkRequest$inboundSchema = objectType({
|
|
36447
|
+
owner: lazyType(() => Owner$inboundSchema),
|
|
36448
|
+
name: stringType(),
|
|
36449
|
+
address: lazyType(() => ClientLinkRequestAddress$inboundSchema),
|
|
36450
|
+
registrationNumber: nullableType(stringType()).optional(),
|
|
36451
|
+
vatNumber: nullableType(stringType()).optional()
|
|
36452
|
+
});
|
|
36453
|
+
ClientLinkRequest$outboundSchema = objectType({
|
|
36454
|
+
owner: lazyType(() => Owner$outboundSchema),
|
|
36455
|
+
name: stringType(),
|
|
36456
|
+
address: lazyType(() => ClientLinkRequestAddress$outboundSchema),
|
|
36457
|
+
registrationNumber: nullableType(stringType()).optional(),
|
|
36458
|
+
vatNumber: nullableType(stringType()).optional()
|
|
36459
|
+
});
|
|
36460
|
+
});
|
|
36461
|
+
|
|
36457
36462
|
// src/models/clientlinkresponse.ts
|
|
36458
36463
|
var ClientLinkResponseLinks$inboundSchema, ClientLinkResponseLinks$outboundSchema, ClientLinkResponse$inboundSchema, ClientLinkResponse$outboundSchema;
|
|
36459
36464
|
var init_clientlinkresponse = __esm(() => {
|
|
@@ -36471,18 +36476,18 @@ var init_clientlinkresponse = __esm(() => {
|
|
|
36471
36476
|
documentation: Url$outboundSchema.optional()
|
|
36472
36477
|
});
|
|
36473
36478
|
ClientLinkResponse$inboundSchema = objectType({
|
|
36474
|
-
resource: stringType()
|
|
36475
|
-
id: stringType()
|
|
36476
|
-
_links: lazyType(() => ClientLinkResponseLinks$inboundSchema)
|
|
36479
|
+
resource: stringType(),
|
|
36480
|
+
id: stringType(),
|
|
36481
|
+
_links: lazyType(() => ClientLinkResponseLinks$inboundSchema)
|
|
36477
36482
|
}).transform((v2) => {
|
|
36478
36483
|
return remap(v2, {
|
|
36479
36484
|
_links: "links"
|
|
36480
36485
|
});
|
|
36481
36486
|
});
|
|
36482
36487
|
ClientLinkResponse$outboundSchema = objectType({
|
|
36483
|
-
resource: stringType()
|
|
36484
|
-
id: stringType()
|
|
36485
|
-
links: lazyType(() => ClientLinkResponseLinks$outboundSchema)
|
|
36488
|
+
resource: stringType(),
|
|
36489
|
+
id: stringType(),
|
|
36490
|
+
links: lazyType(() => ClientLinkResponseLinks$outboundSchema)
|
|
36486
36491
|
}).transform((v2) => {
|
|
36487
36492
|
return remap(v2, {
|
|
36488
36493
|
links: "_links"
|
|
@@ -36493,7 +36498,7 @@ var init_clientlinkresponse = __esm(() => {
|
|
|
36493
36498
|
// src/models/paymentmethod.ts
|
|
36494
36499
|
var PaymentMethod, PaymentMethod$inboundSchema, PaymentMethod$outboundSchema;
|
|
36495
36500
|
var init_paymentmethod = __esm(() => {
|
|
36496
|
-
|
|
36501
|
+
init_enums();
|
|
36497
36502
|
PaymentMethod = {
|
|
36498
36503
|
Alma: "alma",
|
|
36499
36504
|
Bacs: "bacs",
|
|
@@ -36540,14 +36545,8 @@ var init_paymentmethod = __esm(() => {
|
|
|
36540
36545
|
Vipps: "vipps",
|
|
36541
36546
|
Voucher: "voucher"
|
|
36542
36547
|
};
|
|
36543
|
-
PaymentMethod$inboundSchema =
|
|
36544
|
-
|
|
36545
|
-
stringType().transform(catchUnrecognizedEnum)
|
|
36546
|
-
]);
|
|
36547
|
-
PaymentMethod$outboundSchema = unionType([
|
|
36548
|
-
nativeEnumType(PaymentMethod),
|
|
36549
|
-
stringType().and(custom())
|
|
36550
|
-
]);
|
|
36548
|
+
PaymentMethod$inboundSchema = inboundSchema(PaymentMethod);
|
|
36549
|
+
PaymentMethod$outboundSchema = outboundSchema(PaymentMethod);
|
|
36551
36550
|
});
|
|
36552
36551
|
|
|
36553
36552
|
// src/models/subtotals.ts
|
|
@@ -36846,21 +36845,15 @@ var init_webhookeventtypes = __esm(() => {
|
|
|
36846
36845
|
// src/models/webhookstatus.ts
|
|
36847
36846
|
var WebhookStatus, WebhookStatus$inboundSchema, WebhookStatus$outboundSchema;
|
|
36848
36847
|
var init_webhookstatus = __esm(() => {
|
|
36849
|
-
|
|
36848
|
+
init_enums();
|
|
36850
36849
|
WebhookStatus = {
|
|
36851
36850
|
Enabled: "enabled",
|
|
36852
36851
|
Blocked: "blocked",
|
|
36853
36852
|
Disabled: "disabled",
|
|
36854
36853
|
Deleted: "deleted"
|
|
36855
36854
|
};
|
|
36856
|
-
WebhookStatus$inboundSchema =
|
|
36857
|
-
|
|
36858
|
-
stringType().transform(catchUnrecognizedEnum)
|
|
36859
|
-
]);
|
|
36860
|
-
WebhookStatus$outboundSchema = unionType([
|
|
36861
|
-
nativeEnumType(WebhookStatus),
|
|
36862
|
-
stringType().and(custom())
|
|
36863
|
-
]);
|
|
36855
|
+
WebhookStatus$inboundSchema = inboundSchema(WebhookStatus);
|
|
36856
|
+
WebhookStatus$outboundSchema = outboundSchema(WebhookStatus);
|
|
36864
36857
|
});
|
|
36865
36858
|
|
|
36866
36859
|
// src/models/createwebhook.ts
|
|
@@ -36919,7 +36912,7 @@ var init_createwebhook = __esm(() => {
|
|
|
36919
36912
|
// src/models/currencies.ts
|
|
36920
36913
|
var Currencies, Currencies$inboundSchema, Currencies$outboundSchema;
|
|
36921
36914
|
var init_currencies = __esm(() => {
|
|
36922
|
-
|
|
36915
|
+
init_enums();
|
|
36923
36916
|
Currencies = {
|
|
36924
36917
|
Eur: "EUR",
|
|
36925
36918
|
Gbp: "GBP",
|
|
@@ -36934,53 +36927,8 @@ var init_currencies = __esm(() => {
|
|
|
36934
36927
|
Aud: "AUD",
|
|
36935
36928
|
Cad: "CAD"
|
|
36936
36929
|
};
|
|
36937
|
-
Currencies$inboundSchema =
|
|
36938
|
-
|
|
36939
|
-
stringType().transform(catchUnrecognizedEnum)
|
|
36940
|
-
]);
|
|
36941
|
-
Currencies$outboundSchema = unionType([
|
|
36942
|
-
nativeEnumType(Currencies),
|
|
36943
|
-
stringType().and(custom())
|
|
36944
|
-
]);
|
|
36945
|
-
});
|
|
36946
|
-
|
|
36947
|
-
// src/models/localeresponse.ts
|
|
36948
|
-
var LocaleResponse, LocaleResponse$inboundSchema, LocaleResponse$outboundSchema;
|
|
36949
|
-
var init_localeresponse = __esm(() => {
|
|
36950
|
-
init_esm();
|
|
36951
|
-
LocaleResponse = {
|
|
36952
|
-
EnUS: "en_US",
|
|
36953
|
-
EnGB: "en_GB",
|
|
36954
|
-
NLNL: "nl_NL",
|
|
36955
|
-
NlBE: "nl_BE",
|
|
36956
|
-
DEDE: "de_DE",
|
|
36957
|
-
DeAT: "de_AT",
|
|
36958
|
-
DeCH: "de_CH",
|
|
36959
|
-
FRFR: "fr_FR",
|
|
36960
|
-
FrBE: "fr_BE",
|
|
36961
|
-
ESES: "es_ES",
|
|
36962
|
-
CaES: "ca_ES",
|
|
36963
|
-
PTPT: "pt_PT",
|
|
36964
|
-
ITIT: "it_IT",
|
|
36965
|
-
NbNO: "nb_NO",
|
|
36966
|
-
SvSE: "sv_SE",
|
|
36967
|
-
FIFI: "fi_FI",
|
|
36968
|
-
DaDK: "da_DK",
|
|
36969
|
-
ISIS: "is_IS",
|
|
36970
|
-
HUHU: "hu_HU",
|
|
36971
|
-
PLPL: "pl_PL",
|
|
36972
|
-
LVLV: "lv_LV",
|
|
36973
|
-
LTLT: "lt_LT",
|
|
36974
|
-
Null: "null"
|
|
36975
|
-
};
|
|
36976
|
-
LocaleResponse$inboundSchema = unionType([
|
|
36977
|
-
nativeEnumType(LocaleResponse),
|
|
36978
|
-
stringType().transform(catchUnrecognizedEnum)
|
|
36979
|
-
]);
|
|
36980
|
-
LocaleResponse$outboundSchema = unionType([
|
|
36981
|
-
nativeEnumType(LocaleResponse),
|
|
36982
|
-
stringType().and(custom())
|
|
36983
|
-
]);
|
|
36930
|
+
Currencies$inboundSchema = inboundSchema(Currencies);
|
|
36931
|
+
Currencies$outboundSchema = outboundSchema(Currencies);
|
|
36984
36932
|
});
|
|
36985
36933
|
|
|
36986
36934
|
// src/models/customerresponse.ts
|
|
@@ -37010,30 +36958,30 @@ var init_customerresponse = __esm(() => {
|
|
|
37010
36958
|
documentation: Url$outboundSchema
|
|
37011
36959
|
});
|
|
37012
36960
|
CustomerResponse$inboundSchema = objectType({
|
|
37013
|
-
resource: stringType()
|
|
37014
|
-
id: stringType()
|
|
37015
|
-
mode: Mode$inboundSchema
|
|
37016
|
-
name: nullableType(stringType())
|
|
37017
|
-
email: nullableType(stringType())
|
|
37018
|
-
locale: nullableType(LocaleResponse$inboundSchema)
|
|
37019
|
-
metadata: nullableType(Metadata$inboundSchema)
|
|
37020
|
-
createdAt: stringType()
|
|
37021
|
-
_links: lazyType(() => CustomerResponseLinks$inboundSchema)
|
|
36961
|
+
resource: stringType(),
|
|
36962
|
+
id: stringType(),
|
|
36963
|
+
mode: Mode$inboundSchema,
|
|
36964
|
+
name: nullableType(stringType()),
|
|
36965
|
+
email: nullableType(stringType()),
|
|
36966
|
+
locale: nullableType(LocaleResponse$inboundSchema),
|
|
36967
|
+
metadata: nullableType(Metadata$inboundSchema),
|
|
36968
|
+
createdAt: stringType(),
|
|
36969
|
+
_links: lazyType(() => CustomerResponseLinks$inboundSchema)
|
|
37022
36970
|
}).transform((v2) => {
|
|
37023
36971
|
return remap(v2, {
|
|
37024
36972
|
_links: "links"
|
|
37025
36973
|
});
|
|
37026
36974
|
});
|
|
37027
36975
|
CustomerResponse$outboundSchema = objectType({
|
|
37028
|
-
resource: stringType()
|
|
37029
|
-
id: stringType()
|
|
37030
|
-
mode: Mode$outboundSchema
|
|
37031
|
-
name: nullableType(stringType())
|
|
37032
|
-
email: nullableType(stringType())
|
|
37033
|
-
locale: nullableType(LocaleResponse$outboundSchema)
|
|
37034
|
-
metadata: nullableType(Metadata$outboundSchema)
|
|
37035
|
-
createdAt: stringType()
|
|
37036
|
-
links: lazyType(() => CustomerResponseLinks$outboundSchema)
|
|
36976
|
+
resource: stringType(),
|
|
36977
|
+
id: stringType(),
|
|
36978
|
+
mode: Mode$outboundSchema,
|
|
36979
|
+
name: nullableType(stringType()),
|
|
36980
|
+
email: nullableType(stringType()),
|
|
36981
|
+
locale: nullableType(LocaleResponse$outboundSchema),
|
|
36982
|
+
metadata: nullableType(Metadata$outboundSchema),
|
|
36983
|
+
createdAt: stringType(),
|
|
36984
|
+
links: lazyType(() => CustomerResponseLinks$outboundSchema)
|
|
37037
36985
|
}).transform((v2) => {
|
|
37038
36986
|
return remap(v2, {
|
|
37039
36987
|
links: "_links"
|
|
@@ -38070,51 +38018,6 @@ var init_entitychargeback = __esm(() => {
|
|
|
38070
38018
|
});
|
|
38071
38019
|
});
|
|
38072
38020
|
|
|
38073
|
-
// src/models/entityclientlink.ts
|
|
38074
|
-
var Owner$inboundSchema, Owner$outboundSchema, EntityClientLinkAddress$inboundSchema, EntityClientLinkAddress$outboundSchema, EntityClientLink$inboundSchema, EntityClientLink$outboundSchema;
|
|
38075
|
-
var init_entityclientlink = __esm(() => {
|
|
38076
|
-
init_esm();
|
|
38077
|
-
init_localeresponse();
|
|
38078
|
-
Owner$inboundSchema = objectType({
|
|
38079
|
-
email: stringType(),
|
|
38080
|
-
givenName: stringType(),
|
|
38081
|
-
familyName: stringType(),
|
|
38082
|
-
locale: nullableType(LocaleResponse$inboundSchema).optional()
|
|
38083
|
-
});
|
|
38084
|
-
Owner$outboundSchema = objectType({
|
|
38085
|
-
email: stringType(),
|
|
38086
|
-
givenName: stringType(),
|
|
38087
|
-
familyName: stringType(),
|
|
38088
|
-
locale: nullableType(LocaleResponse$outboundSchema).optional()
|
|
38089
|
-
});
|
|
38090
|
-
EntityClientLinkAddress$inboundSchema = objectType({
|
|
38091
|
-
streetAndNumber: nullableType(stringType()).optional(),
|
|
38092
|
-
postalCode: nullableType(stringType()).optional(),
|
|
38093
|
-
city: nullableType(stringType()).optional(),
|
|
38094
|
-
country: stringType()
|
|
38095
|
-
});
|
|
38096
|
-
EntityClientLinkAddress$outboundSchema = objectType({
|
|
38097
|
-
streetAndNumber: nullableType(stringType()).optional(),
|
|
38098
|
-
postalCode: nullableType(stringType()).optional(),
|
|
38099
|
-
city: nullableType(stringType()).optional(),
|
|
38100
|
-
country: stringType()
|
|
38101
|
-
});
|
|
38102
|
-
EntityClientLink$inboundSchema = objectType({
|
|
38103
|
-
owner: lazyType(() => Owner$inboundSchema).optional(),
|
|
38104
|
-
name: stringType().optional(),
|
|
38105
|
-
address: lazyType(() => EntityClientLinkAddress$inboundSchema).optional(),
|
|
38106
|
-
registrationNumber: nullableType(stringType()).optional(),
|
|
38107
|
-
vatNumber: nullableType(stringType()).optional()
|
|
38108
|
-
});
|
|
38109
|
-
EntityClientLink$outboundSchema = objectType({
|
|
38110
|
-
owner: lazyType(() => Owner$outboundSchema).optional(),
|
|
38111
|
-
name: stringType().optional(),
|
|
38112
|
-
address: lazyType(() => EntityClientLinkAddress$outboundSchema).optional(),
|
|
38113
|
-
registrationNumber: nullableType(stringType()).optional(),
|
|
38114
|
-
vatNumber: nullableType(stringType()).optional()
|
|
38115
|
-
});
|
|
38116
|
-
});
|
|
38117
|
-
|
|
38118
38021
|
// src/models/entitycustomer.ts
|
|
38119
38022
|
var EntityCustomer$inboundSchema, EntityCustomer$outboundSchema;
|
|
38120
38023
|
var init_entitycustomer = __esm(() => {
|
|
@@ -38178,20 +38081,14 @@ var init_entityevent = __esm(() => {
|
|
|
38178
38081
|
// src/models/invoicestatus.ts
|
|
38179
38082
|
var InvoiceStatus, InvoiceStatus$inboundSchema, InvoiceStatus$outboundSchema;
|
|
38180
38083
|
var init_invoicestatus = __esm(() => {
|
|
38181
|
-
|
|
38084
|
+
init_enums();
|
|
38182
38085
|
InvoiceStatus = {
|
|
38183
38086
|
Open: "open",
|
|
38184
38087
|
Paid: "paid",
|
|
38185
38088
|
Overdue: "overdue"
|
|
38186
38089
|
};
|
|
38187
|
-
InvoiceStatus$inboundSchema =
|
|
38188
|
-
|
|
38189
|
-
stringType().transform(catchUnrecognizedEnum)
|
|
38190
|
-
]);
|
|
38191
|
-
InvoiceStatus$outboundSchema = unionType([
|
|
38192
|
-
nativeEnumType(InvoiceStatus),
|
|
38193
|
-
stringType().and(custom())
|
|
38194
|
-
]);
|
|
38090
|
+
InvoiceStatus$inboundSchema = inboundSchema(InvoiceStatus);
|
|
38091
|
+
InvoiceStatus$outboundSchema = outboundSchema(InvoiceStatus);
|
|
38195
38092
|
});
|
|
38196
38093
|
|
|
38197
38094
|
// src/models/entityinvoice.ts
|
|
@@ -38266,80 +38163,10 @@ var init_entityinvoice = __esm(() => {
|
|
|
38266
38163
|
});
|
|
38267
38164
|
});
|
|
38268
38165
|
|
|
38269
|
-
// src/models/mandatemethod.ts
|
|
38270
|
-
var MandateMethod, MandateMethod$inboundSchema, MandateMethod$outboundSchema;
|
|
38271
|
-
var init_mandatemethod = __esm(() => {
|
|
38272
|
-
init_esm();
|
|
38273
|
-
MandateMethod = {
|
|
38274
|
-
Creditcard: "creditcard",
|
|
38275
|
-
Directdebit: "directdebit",
|
|
38276
|
-
Paypal: "paypal"
|
|
38277
|
-
};
|
|
38278
|
-
MandateMethod$inboundSchema = nativeEnumType(MandateMethod);
|
|
38279
|
-
MandateMethod$outboundSchema = MandateMethod$inboundSchema;
|
|
38280
|
-
});
|
|
38281
|
-
|
|
38282
|
-
// src/models/mandatestatus.ts
|
|
38283
|
-
var MandateStatus, MandateStatus$inboundSchema, MandateStatus$outboundSchema;
|
|
38284
|
-
var init_mandatestatus = __esm(() => {
|
|
38285
|
-
init_esm();
|
|
38286
|
-
MandateStatus = {
|
|
38287
|
-
Valid: "valid",
|
|
38288
|
-
Pending: "pending",
|
|
38289
|
-
Invalid: "invalid"
|
|
38290
|
-
};
|
|
38291
|
-
MandateStatus$inboundSchema = unionType([
|
|
38292
|
-
nativeEnumType(MandateStatus),
|
|
38293
|
-
stringType().transform(catchUnrecognizedEnum)
|
|
38294
|
-
]);
|
|
38295
|
-
MandateStatus$outboundSchema = unionType([
|
|
38296
|
-
nativeEnumType(MandateStatus),
|
|
38297
|
-
stringType().and(custom())
|
|
38298
|
-
]);
|
|
38299
|
-
});
|
|
38300
|
-
|
|
38301
|
-
// src/models/entitymandate.ts
|
|
38302
|
-
var EntityMandate$inboundSchema, EntityMandate$outboundSchema;
|
|
38303
|
-
var init_entitymandate = __esm(() => {
|
|
38304
|
-
init_esm();
|
|
38305
|
-
init_mandatemethod();
|
|
38306
|
-
init_mandatestatus();
|
|
38307
|
-
EntityMandate$inboundSchema = objectType({
|
|
38308
|
-
id: stringType().optional(),
|
|
38309
|
-
method: MandateMethod$inboundSchema.optional(),
|
|
38310
|
-
consumerName: stringType().optional(),
|
|
38311
|
-
consumerAccount: nullableType(stringType()).optional(),
|
|
38312
|
-
consumerBic: nullableType(stringType()).optional(),
|
|
38313
|
-
consumerEmail: nullableType(stringType()).optional(),
|
|
38314
|
-
signatureDate: nullableType(stringType()).optional(),
|
|
38315
|
-
mandateReference: nullableType(stringType()).optional(),
|
|
38316
|
-
paypalBillingAgreementId: nullableType(stringType()).optional(),
|
|
38317
|
-
payPalVaultId: nullableType(stringType()).optional(),
|
|
38318
|
-
status: MandateStatus$inboundSchema.optional(),
|
|
38319
|
-
customerId: stringType().optional(),
|
|
38320
|
-
testmode: nullableType(booleanType()).optional()
|
|
38321
|
-
});
|
|
38322
|
-
EntityMandate$outboundSchema = objectType({
|
|
38323
|
-
id: stringType().optional(),
|
|
38324
|
-
method: MandateMethod$outboundSchema.optional(),
|
|
38325
|
-
consumerName: stringType().optional(),
|
|
38326
|
-
consumerAccount: nullableType(stringType()).optional(),
|
|
38327
|
-
consumerBic: nullableType(stringType()).optional(),
|
|
38328
|
-
consumerEmail: nullableType(stringType()).optional(),
|
|
38329
|
-
signatureDate: nullableType(stringType()).optional(),
|
|
38330
|
-
mandateReference: nullableType(stringType()).optional(),
|
|
38331
|
-
paypalBillingAgreementId: nullableType(stringType()).optional(),
|
|
38332
|
-
payPalVaultId: nullableType(stringType()).optional(),
|
|
38333
|
-
status: MandateStatus$outboundSchema.optional(),
|
|
38334
|
-
customerId: stringType().optional(),
|
|
38335
|
-
testmode: nullableType(booleanType()).optional()
|
|
38336
|
-
});
|
|
38337
|
-
});
|
|
38338
|
-
|
|
38339
38166
|
// src/models/methodresponse.ts
|
|
38340
38167
|
var MethodResponse, MethodResponse$inboundSchema, MethodResponse$outboundSchema;
|
|
38341
38168
|
var init_methodresponse = __esm(() => {
|
|
38342
|
-
|
|
38169
|
+
init_enums();
|
|
38343
38170
|
MethodResponse = {
|
|
38344
38171
|
Alma: "alma",
|
|
38345
38172
|
Applepay: "applepay",
|
|
@@ -38380,20 +38207,14 @@ var init_methodresponse = __esm(() => {
|
|
|
38380
38207
|
Klarnapaynow: "klarnapaynow",
|
|
38381
38208
|
Klarnasliceit: "klarnasliceit"
|
|
38382
38209
|
};
|
|
38383
|
-
MethodResponse$inboundSchema =
|
|
38384
|
-
|
|
38385
|
-
stringType().transform(catchUnrecognizedEnum)
|
|
38386
|
-
]);
|
|
38387
|
-
MethodResponse$outboundSchema = unionType([
|
|
38388
|
-
nativeEnumType(MethodResponse),
|
|
38389
|
-
stringType().and(custom())
|
|
38390
|
-
]);
|
|
38210
|
+
MethodResponse$inboundSchema = inboundSchema(MethodResponse);
|
|
38211
|
+
MethodResponse$outboundSchema = outboundSchema(MethodResponse);
|
|
38391
38212
|
});
|
|
38392
38213
|
|
|
38393
38214
|
// src/models/methodstatus.ts
|
|
38394
38215
|
var MethodStatus, MethodStatus$inboundSchema, MethodStatus$outboundSchema;
|
|
38395
38216
|
var init_methodstatus = __esm(() => {
|
|
38396
|
-
|
|
38217
|
+
init_enums();
|
|
38397
38218
|
MethodStatus = {
|
|
38398
38219
|
Activated: "activated",
|
|
38399
38220
|
PendingBoarding: "pending-boarding",
|
|
@@ -38401,14 +38222,8 @@ var init_methodstatus = __esm(() => {
|
|
|
38401
38222
|
PendingExternal: "pending-external",
|
|
38402
38223
|
Rejected: "rejected"
|
|
38403
38224
|
};
|
|
38404
|
-
MethodStatus$inboundSchema =
|
|
38405
|
-
|
|
38406
|
-
stringType().transform(catchUnrecognizedEnum)
|
|
38407
|
-
]);
|
|
38408
|
-
MethodStatus$outboundSchema = unionType([
|
|
38409
|
-
nativeEnumType(MethodStatus),
|
|
38410
|
-
stringType().and(custom())
|
|
38411
|
-
]);
|
|
38225
|
+
MethodStatus$inboundSchema = inboundSchema(MethodStatus);
|
|
38226
|
+
MethodStatus$outboundSchema = outboundSchema(MethodStatus);
|
|
38412
38227
|
});
|
|
38413
38228
|
|
|
38414
38229
|
// src/models/entitymethod.ts
|
|
@@ -38592,20 +38407,14 @@ var init_entitymethodall = __esm(() => {
|
|
|
38592
38407
|
// src/models/onboardingstatus.ts
|
|
38593
38408
|
var OnboardingStatus, OnboardingStatus$inboundSchema, OnboardingStatus$outboundSchema;
|
|
38594
38409
|
var init_onboardingstatus = __esm(() => {
|
|
38595
|
-
|
|
38410
|
+
init_enums();
|
|
38596
38411
|
OnboardingStatus = {
|
|
38597
38412
|
NeedsData: "needs-data",
|
|
38598
38413
|
InReview: "in-review",
|
|
38599
38414
|
Completed: "completed"
|
|
38600
38415
|
};
|
|
38601
|
-
OnboardingStatus$inboundSchema =
|
|
38602
|
-
|
|
38603
|
-
stringType().transform(catchUnrecognizedEnum)
|
|
38604
|
-
]);
|
|
38605
|
-
OnboardingStatus$outboundSchema = unionType([
|
|
38606
|
-
nativeEnumType(OnboardingStatus),
|
|
38607
|
-
stringType().and(custom())
|
|
38608
|
-
]);
|
|
38416
|
+
OnboardingStatus$inboundSchema = inboundSchema(OnboardingStatus);
|
|
38417
|
+
OnboardingStatus$outboundSchema = outboundSchema(OnboardingStatus);
|
|
38609
38418
|
});
|
|
38610
38419
|
|
|
38611
38420
|
// src/models/entityonboardingstatus.ts
|
|
@@ -38658,20 +38467,14 @@ var init_entityonboardingstatus = __esm(() => {
|
|
|
38658
38467
|
// src/models/organizationvatregulation.ts
|
|
38659
38468
|
var OrganizationVatRegulation, OrganizationVatRegulation$inboundSchema, OrganizationVatRegulation$outboundSchema;
|
|
38660
38469
|
var init_organizationvatregulation = __esm(() => {
|
|
38661
|
-
|
|
38470
|
+
init_enums();
|
|
38662
38471
|
OrganizationVatRegulation = {
|
|
38663
38472
|
Dutch: "dutch",
|
|
38664
38473
|
British: "british",
|
|
38665
38474
|
Shifted: "shifted"
|
|
38666
38475
|
};
|
|
38667
|
-
OrganizationVatRegulation$inboundSchema =
|
|
38668
|
-
|
|
38669
|
-
stringType().transform(catchUnrecognizedEnum)
|
|
38670
|
-
]);
|
|
38671
|
-
OrganizationVatRegulation$outboundSchema = unionType([
|
|
38672
|
-
nativeEnumType(OrganizationVatRegulation),
|
|
38673
|
-
stringType().and(custom())
|
|
38674
|
-
]);
|
|
38476
|
+
OrganizationVatRegulation$inboundSchema = inboundSchema(OrganizationVatRegulation);
|
|
38477
|
+
OrganizationVatRegulation$outboundSchema = outboundSchema(OrganizationVatRegulation);
|
|
38675
38478
|
});
|
|
38676
38479
|
|
|
38677
38480
|
// src/models/entityorganization.ts
|
|
@@ -38789,18 +38592,12 @@ var init_entitypaymentroute = __esm(() => {
|
|
|
38789
38592
|
// src/models/routedestinationtyperesponse.ts
|
|
38790
38593
|
var RouteDestinationTypeResponse, RouteDestinationTypeResponse$inboundSchema, RouteDestinationTypeResponse$outboundSchema;
|
|
38791
38594
|
var init_routedestinationtyperesponse = __esm(() => {
|
|
38792
|
-
|
|
38595
|
+
init_enums();
|
|
38793
38596
|
RouteDestinationTypeResponse = {
|
|
38794
38597
|
Organization: "organization"
|
|
38795
38598
|
};
|
|
38796
|
-
RouteDestinationTypeResponse$inboundSchema =
|
|
38797
|
-
|
|
38798
|
-
stringType().transform(catchUnrecognizedEnum)
|
|
38799
|
-
]);
|
|
38800
|
-
RouteDestinationTypeResponse$outboundSchema = unionType([
|
|
38801
|
-
nativeEnumType(RouteDestinationTypeResponse),
|
|
38802
|
-
stringType().and(custom())
|
|
38803
|
-
]);
|
|
38599
|
+
RouteDestinationTypeResponse$inboundSchema = inboundSchema(RouteDestinationTypeResponse);
|
|
38600
|
+
RouteDestinationTypeResponse$outboundSchema = outboundSchema(RouteDestinationTypeResponse);
|
|
38804
38601
|
});
|
|
38805
38602
|
|
|
38806
38603
|
// src/models/entitypaymentrouteresponse.ts
|
|
@@ -38896,61 +38693,15 @@ var init_entitypermission = __esm(() => {
|
|
|
38896
38693
|
});
|
|
38897
38694
|
});
|
|
38898
38695
|
|
|
38899
|
-
// src/models/
|
|
38900
|
-
var
|
|
38901
|
-
var
|
|
38902
|
-
|
|
38903
|
-
|
|
38904
|
-
Unverified: "unverified",
|
|
38905
|
-
Verified: "verified",
|
|
38906
|
-
Blocked: "blocked"
|
|
38907
|
-
};
|
|
38908
|
-
ProfileStatus$inboundSchema = unionType([
|
|
38909
|
-
nativeEnumType(ProfileStatus),
|
|
38910
|
-
stringType().transform(catchUnrecognizedEnum)
|
|
38911
|
-
]);
|
|
38912
|
-
ProfileStatus$outboundSchema = unionType([
|
|
38913
|
-
nativeEnumType(ProfileStatus),
|
|
38914
|
-
stringType().and(custom())
|
|
38915
|
-
]);
|
|
38916
|
-
});
|
|
38917
|
-
|
|
38918
|
-
// src/models/entityprofile.ts
|
|
38919
|
-
var EntityProfile$inboundSchema, EntityProfile$outboundSchema;
|
|
38920
|
-
var init_entityprofile = __esm(() => {
|
|
38921
|
-
init_esm();
|
|
38922
|
-
init_profilestatus();
|
|
38923
|
-
EntityProfile$inboundSchema = objectType({
|
|
38924
|
-
name: stringType().optional(),
|
|
38925
|
-
website: stringType().optional(),
|
|
38926
|
-
email: stringType().optional(),
|
|
38927
|
-
phone: stringType().optional(),
|
|
38928
|
-
description: stringType().optional(),
|
|
38929
|
-
countriesOfActivity: arrayType(stringType()).optional(),
|
|
38930
|
-
businessCategory: stringType().optional(),
|
|
38931
|
-
status: ProfileStatus$inboundSchema.optional()
|
|
38932
|
-
});
|
|
38933
|
-
EntityProfile$outboundSchema = objectType({
|
|
38934
|
-
name: stringType().optional(),
|
|
38935
|
-
website: stringType().optional(),
|
|
38936
|
-
email: stringType().optional(),
|
|
38937
|
-
phone: stringType().optional(),
|
|
38938
|
-
description: stringType().optional(),
|
|
38939
|
-
countriesOfActivity: arrayType(stringType()).optional(),
|
|
38940
|
-
businessCategory: stringType().optional(),
|
|
38941
|
-
status: ProfileStatus$outboundSchema.optional()
|
|
38942
|
-
});
|
|
38943
|
-
});
|
|
38944
|
-
|
|
38945
|
-
// src/models/refundexternalreferencetype.ts
|
|
38946
|
-
var RefundExternalReferenceType, RefundExternalReferenceType$inboundSchema, RefundExternalReferenceType$outboundSchema;
|
|
38947
|
-
var init_refundexternalreferencetype = __esm(() => {
|
|
38948
|
-
init_esm();
|
|
38949
|
-
RefundExternalReferenceType = {
|
|
38696
|
+
// src/models/refundexternalreferencetyperesponse.ts
|
|
38697
|
+
var RefundExternalReferenceTypeResponse, RefundExternalReferenceTypeResponse$inboundSchema, RefundExternalReferenceTypeResponse$outboundSchema;
|
|
38698
|
+
var init_refundexternalreferencetyperesponse = __esm(() => {
|
|
38699
|
+
init_enums();
|
|
38700
|
+
RefundExternalReferenceTypeResponse = {
|
|
38950
38701
|
AcquirerReference: "acquirer-reference"
|
|
38951
38702
|
};
|
|
38952
|
-
|
|
38953
|
-
|
|
38703
|
+
RefundExternalReferenceTypeResponse$inboundSchema = inboundSchema(RefundExternalReferenceTypeResponse);
|
|
38704
|
+
RefundExternalReferenceTypeResponse$outboundSchema = outboundSchema(RefundExternalReferenceTypeResponse);
|
|
38954
38705
|
});
|
|
38955
38706
|
|
|
38956
38707
|
// src/models/refundroutingreversalssourcetype.ts
|
|
@@ -38967,7 +38718,7 @@ var init_refundroutingreversalssourcetype = __esm(() => {
|
|
|
38967
38718
|
// src/models/refundstatus.ts
|
|
38968
38719
|
var RefundStatus, RefundStatus$inboundSchema, RefundStatus$outboundSchema;
|
|
38969
38720
|
var init_refundstatus = __esm(() => {
|
|
38970
|
-
|
|
38721
|
+
init_enums();
|
|
38971
38722
|
RefundStatus = {
|
|
38972
38723
|
Queued: "queued",
|
|
38973
38724
|
Pending: "pending",
|
|
@@ -38976,95 +38727,8 @@ var init_refundstatus = __esm(() => {
|
|
|
38976
38727
|
Failed: "failed",
|
|
38977
38728
|
Canceled: "canceled"
|
|
38978
38729
|
};
|
|
38979
|
-
RefundStatus$inboundSchema =
|
|
38980
|
-
|
|
38981
|
-
stringType().transform(catchUnrecognizedEnum)
|
|
38982
|
-
]);
|
|
38983
|
-
RefundStatus$outboundSchema = unionType([
|
|
38984
|
-
nativeEnumType(RefundStatus),
|
|
38985
|
-
stringType().and(custom())
|
|
38986
|
-
]);
|
|
38987
|
-
});
|
|
38988
|
-
|
|
38989
|
-
// src/models/entityrefund.ts
|
|
38990
|
-
var EntityRefundExternalReference$inboundSchema, EntityRefundExternalReference$outboundSchema, EntityRefundSource$inboundSchema, EntityRefundSource$outboundSchema, EntityRefundRoutingReversal$inboundSchema, EntityRefundRoutingReversal$outboundSchema, EntityRefund$inboundSchema, EntityRefund$outboundSchema;
|
|
38991
|
-
var init_entityrefund = __esm(() => {
|
|
38992
|
-
init_esm();
|
|
38993
|
-
init_amount();
|
|
38994
|
-
init_amountnullable();
|
|
38995
|
-
init_metadata();
|
|
38996
|
-
init_refundexternalreferencetype();
|
|
38997
|
-
init_refundroutingreversalssourcetype();
|
|
38998
|
-
init_refundstatus();
|
|
38999
|
-
EntityRefundExternalReference$inboundSchema = objectType({
|
|
39000
|
-
type: RefundExternalReferenceType$inboundSchema.optional(),
|
|
39001
|
-
id: stringType().optional()
|
|
39002
|
-
});
|
|
39003
|
-
EntityRefundExternalReference$outboundSchema = objectType({
|
|
39004
|
-
type: RefundExternalReferenceType$outboundSchema.optional(),
|
|
39005
|
-
id: stringType().optional()
|
|
39006
|
-
});
|
|
39007
|
-
EntityRefundSource$inboundSchema = objectType({
|
|
39008
|
-
type: RefundRoutingReversalsSourceType$inboundSchema.optional(),
|
|
39009
|
-
organizationId: stringType().optional()
|
|
39010
|
-
});
|
|
39011
|
-
EntityRefundSource$outboundSchema = objectType({
|
|
39012
|
-
type: RefundRoutingReversalsSourceType$outboundSchema.optional(),
|
|
39013
|
-
organizationId: stringType().optional()
|
|
39014
|
-
});
|
|
39015
|
-
EntityRefundRoutingReversal$inboundSchema = objectType({
|
|
39016
|
-
amount: Amount$inboundSchema.optional(),
|
|
39017
|
-
source: lazyType(() => EntityRefundSource$inboundSchema).optional()
|
|
39018
|
-
});
|
|
39019
|
-
EntityRefundRoutingReversal$outboundSchema = objectType({
|
|
39020
|
-
amount: Amount$outboundSchema.optional(),
|
|
39021
|
-
source: lazyType(() => EntityRefundSource$outboundSchema).optional()
|
|
39022
|
-
});
|
|
39023
|
-
EntityRefund$inboundSchema = objectType({
|
|
39024
|
-
id: stringType(),
|
|
39025
|
-
description: stringType(),
|
|
39026
|
-
amount: Amount$inboundSchema,
|
|
39027
|
-
settlementAmount: nullableType(AmountNullable$inboundSchema).optional(),
|
|
39028
|
-
metadata: nullableType(Metadata$inboundSchema),
|
|
39029
|
-
paymentId: stringType().optional(),
|
|
39030
|
-
settlementId: stringType().optional(),
|
|
39031
|
-
status: RefundStatus$inboundSchema,
|
|
39032
|
-
externalReference: lazyType(() => EntityRefundExternalReference$inboundSchema).optional(),
|
|
39033
|
-
reverseRouting: nullableType(booleanType()).optional(),
|
|
39034
|
-
routingReversals: nullableType(arrayType(lazyType(() => EntityRefundRoutingReversal$inboundSchema))).optional(),
|
|
39035
|
-
testmode: nullableType(booleanType()).optional()
|
|
39036
|
-
});
|
|
39037
|
-
EntityRefund$outboundSchema = objectType({
|
|
39038
|
-
id: stringType(),
|
|
39039
|
-
description: stringType(),
|
|
39040
|
-
amount: Amount$outboundSchema,
|
|
39041
|
-
settlementAmount: nullableType(AmountNullable$outboundSchema).optional(),
|
|
39042
|
-
metadata: nullableType(Metadata$outboundSchema),
|
|
39043
|
-
paymentId: stringType().optional(),
|
|
39044
|
-
settlementId: stringType().optional(),
|
|
39045
|
-
status: RefundStatus$outboundSchema,
|
|
39046
|
-
externalReference: lazyType(() => EntityRefundExternalReference$outboundSchema).optional(),
|
|
39047
|
-
reverseRouting: nullableType(booleanType()).optional(),
|
|
39048
|
-
routingReversals: nullableType(arrayType(lazyType(() => EntityRefundRoutingReversal$outboundSchema))).optional(),
|
|
39049
|
-
testmode: nullableType(booleanType()).optional()
|
|
39050
|
-
});
|
|
39051
|
-
});
|
|
39052
|
-
|
|
39053
|
-
// src/models/refundexternalreferencetyperesponse.ts
|
|
39054
|
-
var RefundExternalReferenceTypeResponse, RefundExternalReferenceTypeResponse$inboundSchema, RefundExternalReferenceTypeResponse$outboundSchema;
|
|
39055
|
-
var init_refundexternalreferencetyperesponse = __esm(() => {
|
|
39056
|
-
init_esm();
|
|
39057
|
-
RefundExternalReferenceTypeResponse = {
|
|
39058
|
-
AcquirerReference: "acquirer-reference"
|
|
39059
|
-
};
|
|
39060
|
-
RefundExternalReferenceTypeResponse$inboundSchema = unionType([
|
|
39061
|
-
nativeEnumType(RefundExternalReferenceTypeResponse),
|
|
39062
|
-
stringType().transform(catchUnrecognizedEnum)
|
|
39063
|
-
]);
|
|
39064
|
-
RefundExternalReferenceTypeResponse$outboundSchema = unionType([
|
|
39065
|
-
nativeEnumType(RefundExternalReferenceTypeResponse),
|
|
39066
|
-
stringType().and(custom())
|
|
39067
|
-
]);
|
|
38730
|
+
RefundStatus$inboundSchema = inboundSchema(RefundStatus);
|
|
38731
|
+
RefundStatus$outboundSchema = outboundSchema(RefundStatus);
|
|
39068
38732
|
});
|
|
39069
38733
|
|
|
39070
38734
|
// src/models/entityrefundresponse.ts
|
|
@@ -39480,19 +39144,13 @@ var init_entitysalesinvoice = __esm(() => {
|
|
|
39480
39144
|
// src/models/salesinvoicediscounttyperesponse.ts
|
|
39481
39145
|
var SalesInvoiceDiscountTypeResponse, SalesInvoiceDiscountTypeResponse$inboundSchema, SalesInvoiceDiscountTypeResponse$outboundSchema;
|
|
39482
39146
|
var init_salesinvoicediscounttyperesponse = __esm(() => {
|
|
39483
|
-
|
|
39147
|
+
init_enums();
|
|
39484
39148
|
SalesInvoiceDiscountTypeResponse = {
|
|
39485
39149
|
Amount: "amount",
|
|
39486
39150
|
Percentage: "percentage"
|
|
39487
39151
|
};
|
|
39488
|
-
SalesInvoiceDiscountTypeResponse$inboundSchema =
|
|
39489
|
-
|
|
39490
|
-
stringType().transform(catchUnrecognizedEnum)
|
|
39491
|
-
]);
|
|
39492
|
-
SalesInvoiceDiscountTypeResponse$outboundSchema = unionType([
|
|
39493
|
-
nativeEnumType(SalesInvoiceDiscountTypeResponse),
|
|
39494
|
-
stringType().and(custom())
|
|
39495
|
-
]);
|
|
39152
|
+
SalesInvoiceDiscountTypeResponse$inboundSchema = inboundSchema(SalesInvoiceDiscountTypeResponse);
|
|
39153
|
+
SalesInvoiceDiscountTypeResponse$outboundSchema = outboundSchema(SalesInvoiceDiscountTypeResponse);
|
|
39496
39154
|
});
|
|
39497
39155
|
|
|
39498
39156
|
// src/models/salesinvoicediscountresponse.ts
|
|
@@ -39535,20 +39193,14 @@ var init_salesinvoicelineitemresponse = __esm(() => {
|
|
|
39535
39193
|
// src/models/salesinvoicepaymentdetailssourceresponse.ts
|
|
39536
39194
|
var SalesInvoicePaymentDetailsSourceResponse, SalesInvoicePaymentDetailsSourceResponse$inboundSchema, SalesInvoicePaymentDetailsSourceResponse$outboundSchema;
|
|
39537
39195
|
var init_salesinvoicepaymentdetailssourceresponse = __esm(() => {
|
|
39538
|
-
|
|
39196
|
+
init_enums();
|
|
39539
39197
|
SalesInvoicePaymentDetailsSourceResponse = {
|
|
39540
39198
|
Manual: "manual",
|
|
39541
39199
|
PaymentLink: "payment-link",
|
|
39542
39200
|
Payment: "payment"
|
|
39543
39201
|
};
|
|
39544
|
-
SalesInvoicePaymentDetailsSourceResponse$inboundSchema =
|
|
39545
|
-
|
|
39546
|
-
stringType().transform(catchUnrecognizedEnum)
|
|
39547
|
-
]);
|
|
39548
|
-
SalesInvoicePaymentDetailsSourceResponse$outboundSchema = unionType([
|
|
39549
|
-
nativeEnumType(SalesInvoicePaymentDetailsSourceResponse),
|
|
39550
|
-
stringType().and(custom())
|
|
39551
|
-
]);
|
|
39202
|
+
SalesInvoicePaymentDetailsSourceResponse$inboundSchema = inboundSchema(SalesInvoicePaymentDetailsSourceResponse);
|
|
39203
|
+
SalesInvoicePaymentDetailsSourceResponse$outboundSchema = outboundSchema(SalesInvoicePaymentDetailsSourceResponse);
|
|
39552
39204
|
});
|
|
39553
39205
|
|
|
39554
39206
|
// src/models/salesinvoicepaymentdetailsresponse.ts
|
|
@@ -39569,7 +39221,7 @@ var init_salesinvoicepaymentdetailsresponse = __esm(() => {
|
|
|
39569
39221
|
// src/models/salesinvoicepaymenttermresponse.ts
|
|
39570
39222
|
var SalesInvoicePaymentTermResponse, SalesInvoicePaymentTermResponse$inboundSchema, SalesInvoicePaymentTermResponse$outboundSchema;
|
|
39571
39223
|
var init_salesinvoicepaymenttermresponse = __esm(() => {
|
|
39572
|
-
|
|
39224
|
+
init_enums();
|
|
39573
39225
|
SalesInvoicePaymentTermResponse = {
|
|
39574
39226
|
Sevendays: "7 days",
|
|
39575
39227
|
Fourteendays: "14 days",
|
|
@@ -39579,20 +39231,14 @@ var init_salesinvoicepaymenttermresponse = __esm(() => {
|
|
|
39579
39231
|
Ninetydays: "90 days",
|
|
39580
39232
|
OneHundredAndTwentydays: "120 days"
|
|
39581
39233
|
};
|
|
39582
|
-
SalesInvoicePaymentTermResponse$inboundSchema =
|
|
39583
|
-
|
|
39584
|
-
stringType().transform(catchUnrecognizedEnum)
|
|
39585
|
-
]);
|
|
39586
|
-
SalesInvoicePaymentTermResponse$outboundSchema = unionType([
|
|
39587
|
-
nativeEnumType(SalesInvoicePaymentTermResponse),
|
|
39588
|
-
stringType().and(custom())
|
|
39589
|
-
]);
|
|
39234
|
+
SalesInvoicePaymentTermResponse$inboundSchema = inboundSchema(SalesInvoicePaymentTermResponse);
|
|
39235
|
+
SalesInvoicePaymentTermResponse$outboundSchema = outboundSchema(SalesInvoicePaymentTermResponse);
|
|
39590
39236
|
});
|
|
39591
39237
|
|
|
39592
39238
|
// src/models/salesinvoicerecipientlocaleresponse.ts
|
|
39593
39239
|
var SalesInvoiceRecipientLocaleResponse, SalesInvoiceRecipientLocaleResponse$inboundSchema, SalesInvoiceRecipientLocaleResponse$outboundSchema;
|
|
39594
39240
|
var init_salesinvoicerecipientlocaleresponse = __esm(() => {
|
|
39595
|
-
|
|
39241
|
+
init_enums();
|
|
39596
39242
|
SalesInvoiceRecipientLocaleResponse = {
|
|
39597
39243
|
EnUS: "en_US",
|
|
39598
39244
|
EnGB: "en_GB",
|
|
@@ -39604,32 +39250,20 @@ var init_salesinvoicerecipientlocaleresponse = __esm(() => {
|
|
|
39604
39250
|
FRFR: "fr_FR",
|
|
39605
39251
|
FrBE: "fr_BE"
|
|
39606
39252
|
};
|
|
39607
|
-
SalesInvoiceRecipientLocaleResponse$inboundSchema =
|
|
39608
|
-
|
|
39609
|
-
stringType().transform(catchUnrecognizedEnum)
|
|
39610
|
-
]);
|
|
39611
|
-
SalesInvoiceRecipientLocaleResponse$outboundSchema = unionType([
|
|
39612
|
-
nativeEnumType(SalesInvoiceRecipientLocaleResponse),
|
|
39613
|
-
stringType().and(custom())
|
|
39614
|
-
]);
|
|
39253
|
+
SalesInvoiceRecipientLocaleResponse$inboundSchema = inboundSchema(SalesInvoiceRecipientLocaleResponse);
|
|
39254
|
+
SalesInvoiceRecipientLocaleResponse$outboundSchema = outboundSchema(SalesInvoiceRecipientLocaleResponse);
|
|
39615
39255
|
});
|
|
39616
39256
|
|
|
39617
39257
|
// src/models/salesinvoicerecipienttyperesponse.ts
|
|
39618
39258
|
var SalesInvoiceRecipientTypeResponse, SalesInvoiceRecipientTypeResponse$inboundSchema, SalesInvoiceRecipientTypeResponse$outboundSchema;
|
|
39619
39259
|
var init_salesinvoicerecipienttyperesponse = __esm(() => {
|
|
39620
|
-
|
|
39260
|
+
init_enums();
|
|
39621
39261
|
SalesInvoiceRecipientTypeResponse = {
|
|
39622
39262
|
Consumer: "consumer",
|
|
39623
39263
|
Business: "business"
|
|
39624
39264
|
};
|
|
39625
|
-
SalesInvoiceRecipientTypeResponse$inboundSchema =
|
|
39626
|
-
|
|
39627
|
-
stringType().transform(catchUnrecognizedEnum)
|
|
39628
|
-
]);
|
|
39629
|
-
SalesInvoiceRecipientTypeResponse$outboundSchema = unionType([
|
|
39630
|
-
nativeEnumType(SalesInvoiceRecipientTypeResponse),
|
|
39631
|
-
stringType().and(custom())
|
|
39632
|
-
]);
|
|
39265
|
+
SalesInvoiceRecipientTypeResponse$inboundSchema = inboundSchema(SalesInvoiceRecipientTypeResponse);
|
|
39266
|
+
SalesInvoiceRecipientTypeResponse$outboundSchema = outboundSchema(SalesInvoiceRecipientTypeResponse);
|
|
39633
39267
|
});
|
|
39634
39268
|
|
|
39635
39269
|
// src/models/salesinvoicerecipientresponse.ts
|
|
@@ -39679,56 +39313,38 @@ var init_salesinvoicerecipientresponse = __esm(() => {
|
|
|
39679
39313
|
// src/models/salesinvoicestatusresponse.ts
|
|
39680
39314
|
var SalesInvoiceStatusResponse, SalesInvoiceStatusResponse$inboundSchema, SalesInvoiceStatusResponse$outboundSchema;
|
|
39681
39315
|
var init_salesinvoicestatusresponse = __esm(() => {
|
|
39682
|
-
|
|
39316
|
+
init_enums();
|
|
39683
39317
|
SalesInvoiceStatusResponse = {
|
|
39684
39318
|
Draft: "draft",
|
|
39685
39319
|
Issued: "issued",
|
|
39686
39320
|
Paid: "paid"
|
|
39687
39321
|
};
|
|
39688
|
-
SalesInvoiceStatusResponse$inboundSchema =
|
|
39689
|
-
|
|
39690
|
-
stringType().transform(catchUnrecognizedEnum)
|
|
39691
|
-
]);
|
|
39692
|
-
SalesInvoiceStatusResponse$outboundSchema = unionType([
|
|
39693
|
-
nativeEnumType(SalesInvoiceStatusResponse),
|
|
39694
|
-
stringType().and(custom())
|
|
39695
|
-
]);
|
|
39322
|
+
SalesInvoiceStatusResponse$inboundSchema = inboundSchema(SalesInvoiceStatusResponse);
|
|
39323
|
+
SalesInvoiceStatusResponse$outboundSchema = outboundSchema(SalesInvoiceStatusResponse);
|
|
39696
39324
|
});
|
|
39697
39325
|
|
|
39698
39326
|
// src/models/salesinvoicevatmoderesponse.ts
|
|
39699
39327
|
var SalesInvoiceVatModeResponse, SalesInvoiceVatModeResponse$inboundSchema, SalesInvoiceVatModeResponse$outboundSchema;
|
|
39700
39328
|
var init_salesinvoicevatmoderesponse = __esm(() => {
|
|
39701
|
-
|
|
39329
|
+
init_enums();
|
|
39702
39330
|
SalesInvoiceVatModeResponse = {
|
|
39703
39331
|
Exclusive: "exclusive",
|
|
39704
39332
|
Inclusive: "inclusive"
|
|
39705
39333
|
};
|
|
39706
|
-
SalesInvoiceVatModeResponse$inboundSchema =
|
|
39707
|
-
|
|
39708
|
-
stringType().transform(catchUnrecognizedEnum)
|
|
39709
|
-
]);
|
|
39710
|
-
SalesInvoiceVatModeResponse$outboundSchema = unionType([
|
|
39711
|
-
nativeEnumType(SalesInvoiceVatModeResponse),
|
|
39712
|
-
stringType().and(custom())
|
|
39713
|
-
]);
|
|
39334
|
+
SalesInvoiceVatModeResponse$inboundSchema = inboundSchema(SalesInvoiceVatModeResponse);
|
|
39335
|
+
SalesInvoiceVatModeResponse$outboundSchema = outboundSchema(SalesInvoiceVatModeResponse);
|
|
39714
39336
|
});
|
|
39715
39337
|
|
|
39716
39338
|
// src/models/salesinvoicevatschemeresponse.ts
|
|
39717
39339
|
var SalesInvoiceVatSchemeResponse, SalesInvoiceVatSchemeResponse$inboundSchema, SalesInvoiceVatSchemeResponse$outboundSchema;
|
|
39718
39340
|
var init_salesinvoicevatschemeresponse = __esm(() => {
|
|
39719
|
-
|
|
39341
|
+
init_enums();
|
|
39720
39342
|
SalesInvoiceVatSchemeResponse = {
|
|
39721
39343
|
Standard: "standard",
|
|
39722
39344
|
OneStopShop: "one-stop-shop"
|
|
39723
39345
|
};
|
|
39724
|
-
SalesInvoiceVatSchemeResponse$inboundSchema =
|
|
39725
|
-
|
|
39726
|
-
stringType().transform(catchUnrecognizedEnum)
|
|
39727
|
-
]);
|
|
39728
|
-
SalesInvoiceVatSchemeResponse$outboundSchema = unionType([
|
|
39729
|
-
nativeEnumType(SalesInvoiceVatSchemeResponse),
|
|
39730
|
-
stringType().and(custom())
|
|
39731
|
-
]);
|
|
39346
|
+
SalesInvoiceVatSchemeResponse$inboundSchema = inboundSchema(SalesInvoiceVatSchemeResponse);
|
|
39347
|
+
SalesInvoiceVatSchemeResponse$outboundSchema = outboundSchema(SalesInvoiceVatSchemeResponse);
|
|
39732
39348
|
});
|
|
39733
39349
|
|
|
39734
39350
|
// src/models/entitysalesinvoiceresponse.ts
|
|
@@ -39836,21 +39452,15 @@ var init_entitysalesinvoiceresponse = __esm(() => {
|
|
|
39836
39452
|
// src/models/settlementstatus.ts
|
|
39837
39453
|
var SettlementStatus, SettlementStatus$inboundSchema, SettlementStatus$outboundSchema;
|
|
39838
39454
|
var init_settlementstatus = __esm(() => {
|
|
39839
|
-
|
|
39455
|
+
init_enums();
|
|
39840
39456
|
SettlementStatus = {
|
|
39841
39457
|
Open: "open",
|
|
39842
39458
|
Pending: "pending",
|
|
39843
39459
|
Paidout: "paidout",
|
|
39844
39460
|
Failed: "failed"
|
|
39845
39461
|
};
|
|
39846
|
-
SettlementStatus$inboundSchema =
|
|
39847
|
-
|
|
39848
|
-
stringType().transform(catchUnrecognizedEnum)
|
|
39849
|
-
]);
|
|
39850
|
-
SettlementStatus$outboundSchema = unionType([
|
|
39851
|
-
nativeEnumType(SettlementStatus),
|
|
39852
|
-
stringType().and(custom())
|
|
39853
|
-
]);
|
|
39462
|
+
SettlementStatus$inboundSchema = inboundSchema(SettlementStatus);
|
|
39463
|
+
SettlementStatus$outboundSchema = outboundSchema(SettlementStatus);
|
|
39854
39464
|
});
|
|
39855
39465
|
|
|
39856
39466
|
// src/models/entitysettlement.ts
|
|
@@ -39975,25 +39585,19 @@ var init_entitysettlement = __esm(() => {
|
|
|
39975
39585
|
// src/models/terminalbrand.ts
|
|
39976
39586
|
var TerminalBrand, TerminalBrand$inboundSchema, TerminalBrand$outboundSchema;
|
|
39977
39587
|
var init_terminalbrand = __esm(() => {
|
|
39978
|
-
|
|
39588
|
+
init_enums();
|
|
39979
39589
|
TerminalBrand = {
|
|
39980
39590
|
Pax: "PAX",
|
|
39981
39591
|
Tap: "Tap"
|
|
39982
39592
|
};
|
|
39983
|
-
TerminalBrand$inboundSchema =
|
|
39984
|
-
|
|
39985
|
-
stringType().transform(catchUnrecognizedEnum)
|
|
39986
|
-
]);
|
|
39987
|
-
TerminalBrand$outboundSchema = unionType([
|
|
39988
|
-
nativeEnumType(TerminalBrand),
|
|
39989
|
-
stringType().and(custom())
|
|
39990
|
-
]);
|
|
39593
|
+
TerminalBrand$inboundSchema = inboundSchema(TerminalBrand);
|
|
39594
|
+
TerminalBrand$outboundSchema = outboundSchema(TerminalBrand);
|
|
39991
39595
|
});
|
|
39992
39596
|
|
|
39993
39597
|
// src/models/terminalmodel.ts
|
|
39994
39598
|
var TerminalModel, TerminalModel$inboundSchema, TerminalModel$outboundSchema;
|
|
39995
39599
|
var init_terminalmodel = __esm(() => {
|
|
39996
|
-
|
|
39600
|
+
init_enums();
|
|
39997
39601
|
TerminalModel = {
|
|
39998
39602
|
A35: "A35",
|
|
39999
39603
|
A77: "A77",
|
|
@@ -40002,33 +39606,21 @@ var init_terminalmodel = __esm(() => {
|
|
|
40002
39606
|
Im30: "IM30",
|
|
40003
39607
|
Tap: "Tap"
|
|
40004
39608
|
};
|
|
40005
|
-
TerminalModel$inboundSchema =
|
|
40006
|
-
|
|
40007
|
-
stringType().transform(catchUnrecognizedEnum)
|
|
40008
|
-
]);
|
|
40009
|
-
TerminalModel$outboundSchema = unionType([
|
|
40010
|
-
nativeEnumType(TerminalModel),
|
|
40011
|
-
stringType().and(custom())
|
|
40012
|
-
]);
|
|
39609
|
+
TerminalModel$inboundSchema = inboundSchema(TerminalModel);
|
|
39610
|
+
TerminalModel$outboundSchema = outboundSchema(TerminalModel);
|
|
40013
39611
|
});
|
|
40014
39612
|
|
|
40015
39613
|
// src/models/terminalstatus.ts
|
|
40016
39614
|
var TerminalStatus, TerminalStatus$inboundSchema, TerminalStatus$outboundSchema;
|
|
40017
39615
|
var init_terminalstatus = __esm(() => {
|
|
40018
|
-
|
|
39616
|
+
init_enums();
|
|
40019
39617
|
TerminalStatus = {
|
|
40020
39618
|
Pending: "pending",
|
|
40021
39619
|
Active: "active",
|
|
40022
39620
|
Inactive: "inactive"
|
|
40023
39621
|
};
|
|
40024
|
-
TerminalStatus$inboundSchema =
|
|
40025
|
-
|
|
40026
|
-
stringType().transform(catchUnrecognizedEnum)
|
|
40027
|
-
]);
|
|
40028
|
-
TerminalStatus$outboundSchema = unionType([
|
|
40029
|
-
nativeEnumType(TerminalStatus),
|
|
40030
|
-
stringType().and(custom())
|
|
40031
|
-
]);
|
|
39622
|
+
TerminalStatus$inboundSchema = inboundSchema(TerminalStatus);
|
|
39623
|
+
TerminalStatus$outboundSchema = outboundSchema(TerminalStatus);
|
|
40032
39624
|
});
|
|
40033
39625
|
|
|
40034
39626
|
// src/models/entityterminal.ts
|
|
@@ -40177,7 +39769,7 @@ var init_paymentaddress = __esm(() => {
|
|
|
40177
39769
|
// src/models/linecategoriesresponse.ts
|
|
40178
39770
|
var LineCategoriesResponse, LineCategoriesResponse$inboundSchema, LineCategoriesResponse$outboundSchema;
|
|
40179
39771
|
var init_linecategoriesresponse = __esm(() => {
|
|
40180
|
-
|
|
39772
|
+
init_enums();
|
|
40181
39773
|
LineCategoriesResponse = {
|
|
40182
39774
|
Eco: "eco",
|
|
40183
39775
|
Gift: "gift",
|
|
@@ -40186,20 +39778,14 @@ var init_linecategoriesresponse = __esm(() => {
|
|
|
40186
39778
|
Additional: "additional",
|
|
40187
39779
|
Consume: "consume"
|
|
40188
39780
|
};
|
|
40189
|
-
LineCategoriesResponse$inboundSchema =
|
|
40190
|
-
|
|
40191
|
-
stringType().transform(catchUnrecognizedEnum)
|
|
40192
|
-
]);
|
|
40193
|
-
LineCategoriesResponse$outboundSchema = unionType([
|
|
40194
|
-
nativeEnumType(LineCategoriesResponse),
|
|
40195
|
-
stringType().and(custom())
|
|
40196
|
-
]);
|
|
39781
|
+
LineCategoriesResponse$inboundSchema = inboundSchema(LineCategoriesResponse);
|
|
39782
|
+
LineCategoriesResponse$outboundSchema = outboundSchema(LineCategoriesResponse);
|
|
40197
39783
|
});
|
|
40198
39784
|
|
|
40199
39785
|
// src/models/paymentlinetyperesponse.ts
|
|
40200
39786
|
var PaymentLineTypeResponse, PaymentLineTypeResponse$inboundSchema, PaymentLineTypeResponse$outboundSchema;
|
|
40201
39787
|
var init_paymentlinetyperesponse = __esm(() => {
|
|
40202
|
-
|
|
39788
|
+
init_enums();
|
|
40203
39789
|
PaymentLineTypeResponse = {
|
|
40204
39790
|
Physical: "physical",
|
|
40205
39791
|
Digital: "digital",
|
|
@@ -40210,14 +39796,8 @@ var init_paymentlinetyperesponse = __esm(() => {
|
|
|
40210
39796
|
Surcharge: "surcharge",
|
|
40211
39797
|
Tip: "tip"
|
|
40212
39798
|
};
|
|
40213
|
-
PaymentLineTypeResponse$inboundSchema =
|
|
40214
|
-
|
|
40215
|
-
stringType().transform(catchUnrecognizedEnum)
|
|
40216
|
-
]);
|
|
40217
|
-
PaymentLineTypeResponse$outboundSchema = unionType([
|
|
40218
|
-
nativeEnumType(PaymentLineTypeResponse),
|
|
40219
|
-
stringType().and(custom())
|
|
40220
|
-
]);
|
|
39799
|
+
PaymentLineTypeResponse$inboundSchema = inboundSchema(PaymentLineTypeResponse);
|
|
39800
|
+
PaymentLineTypeResponse$outboundSchema = outboundSchema(PaymentLineTypeResponse);
|
|
40221
39801
|
});
|
|
40222
39802
|
|
|
40223
39803
|
// src/models/paymentlineitemresponse.ts
|
|
@@ -40262,7 +39842,7 @@ var init_paymentlineitemresponse = __esm(() => {
|
|
|
40262
39842
|
// src/models/paymentlinkmethodresponse.ts
|
|
40263
39843
|
var PaymentLinkMethodResponse, PaymentLinkMethodResponse$inboundSchema, PaymentLinkMethodResponse$outboundSchema;
|
|
40264
39844
|
var init_paymentlinkmethodresponse = __esm(() => {
|
|
40265
|
-
|
|
39845
|
+
init_enums();
|
|
40266
39846
|
PaymentLinkMethodResponse = {
|
|
40267
39847
|
Applepay: "applepay",
|
|
40268
39848
|
Bacs: "bacs",
|
|
@@ -40294,32 +39874,20 @@ var init_paymentlinkmethodresponse = __esm(() => {
|
|
|
40294
39874
|
Twint: "twint",
|
|
40295
39875
|
Voucher: "voucher"
|
|
40296
39876
|
};
|
|
40297
|
-
PaymentLinkMethodResponse$inboundSchema =
|
|
40298
|
-
|
|
40299
|
-
stringType().transform(catchUnrecognizedEnum)
|
|
40300
|
-
]);
|
|
40301
|
-
PaymentLinkMethodResponse$outboundSchema = unionType([
|
|
40302
|
-
nativeEnumType(PaymentLinkMethodResponse),
|
|
40303
|
-
stringType().and(custom())
|
|
40304
|
-
]);
|
|
39877
|
+
PaymentLinkMethodResponse$inboundSchema = inboundSchema(PaymentLinkMethodResponse);
|
|
39878
|
+
PaymentLinkMethodResponse$outboundSchema = outboundSchema(PaymentLinkMethodResponse);
|
|
40305
39879
|
});
|
|
40306
39880
|
|
|
40307
39881
|
// src/models/paymentlinksequencetyperesponse.ts
|
|
40308
39882
|
var PaymentLinkSequenceTypeResponse, PaymentLinkSequenceTypeResponse$inboundSchema, PaymentLinkSequenceTypeResponse$outboundSchema;
|
|
40309
39883
|
var init_paymentlinksequencetyperesponse = __esm(() => {
|
|
40310
|
-
|
|
39884
|
+
init_enums();
|
|
40311
39885
|
PaymentLinkSequenceTypeResponse = {
|
|
40312
39886
|
Oneoff: "oneoff",
|
|
40313
39887
|
First: "first"
|
|
40314
39888
|
};
|
|
40315
|
-
PaymentLinkSequenceTypeResponse$inboundSchema =
|
|
40316
|
-
|
|
40317
|
-
stringType().transform(catchUnrecognizedEnum)
|
|
40318
|
-
]);
|
|
40319
|
-
PaymentLinkSequenceTypeResponse$outboundSchema = unionType([
|
|
40320
|
-
nativeEnumType(PaymentLinkSequenceTypeResponse),
|
|
40321
|
-
stringType().and(custom())
|
|
40322
|
-
]);
|
|
39889
|
+
PaymentLinkSequenceTypeResponse$inboundSchema = inboundSchema(PaymentLinkSequenceTypeResponse);
|
|
39890
|
+
PaymentLinkSequenceTypeResponse$outboundSchema = outboundSchema(PaymentLinkSequenceTypeResponse);
|
|
40323
39891
|
});
|
|
40324
39892
|
|
|
40325
39893
|
// src/models/paymentlinkresponse.ts
|
|
@@ -40352,56 +39920,56 @@ var init_paymentlinkresponse = __esm(() => {
|
|
|
40352
39920
|
paymentLink: Url$outboundSchema
|
|
40353
39921
|
});
|
|
40354
39922
|
PaymentLinkResponse$inboundSchema = objectType({
|
|
40355
|
-
resource: stringType()
|
|
40356
|
-
id: stringType()
|
|
40357
|
-
mode: Mode$inboundSchema
|
|
40358
|
-
description: stringType()
|
|
40359
|
-
amount: nullableType(AmountNullable$inboundSchema)
|
|
39923
|
+
resource: stringType(),
|
|
39924
|
+
id: stringType(),
|
|
39925
|
+
mode: Mode$inboundSchema,
|
|
39926
|
+
description: stringType(),
|
|
39927
|
+
amount: nullableType(AmountNullable$inboundSchema),
|
|
40360
39928
|
minimumAmount: nullableType(AmountNullable$inboundSchema).optional(),
|
|
40361
|
-
archived: booleanType()
|
|
40362
|
-
redirectUrl: nullableType(stringType())
|
|
40363
|
-
webhookUrl: nullableType(stringType())
|
|
39929
|
+
archived: booleanType(),
|
|
39930
|
+
redirectUrl: nullableType(stringType()),
|
|
39931
|
+
webhookUrl: nullableType(stringType()),
|
|
40364
39932
|
lines: nullableType(arrayType(PaymentLineItemResponse$inboundSchema)).optional(),
|
|
40365
39933
|
billingAddress: PaymentAddress$inboundSchema.optional(),
|
|
40366
39934
|
shippingAddress: PaymentAddress$inboundSchema.optional(),
|
|
40367
|
-
profileId: nullableType(stringType())
|
|
40368
|
-
reusable: nullableType(booleanType())
|
|
40369
|
-
createdAt: stringType()
|
|
40370
|
-
paidAt: nullableType(stringType())
|
|
40371
|
-
expiresAt: nullableType(stringType())
|
|
40372
|
-
allowedMethods: nullableType(arrayType(PaymentLinkMethodResponse$inboundSchema))
|
|
39935
|
+
profileId: nullableType(stringType()),
|
|
39936
|
+
reusable: nullableType(booleanType()),
|
|
39937
|
+
createdAt: stringType(),
|
|
39938
|
+
paidAt: nullableType(stringType()),
|
|
39939
|
+
expiresAt: nullableType(stringType()),
|
|
39940
|
+
allowedMethods: nullableType(arrayType(PaymentLinkMethodResponse$inboundSchema)),
|
|
40373
39941
|
applicationFee: lazyType(() => PaymentLinkResponseApplicationFee$inboundSchema).optional(),
|
|
40374
39942
|
sequenceType: PaymentLinkSequenceTypeResponse$inboundSchema.optional(),
|
|
40375
39943
|
customerId: nullableType(stringType()).optional(),
|
|
40376
|
-
_links: lazyType(() => PaymentLinkResponseLinks$inboundSchema)
|
|
39944
|
+
_links: lazyType(() => PaymentLinkResponseLinks$inboundSchema)
|
|
40377
39945
|
}).transform((v2) => {
|
|
40378
39946
|
return remap(v2, {
|
|
40379
39947
|
_links: "links"
|
|
40380
39948
|
});
|
|
40381
39949
|
});
|
|
40382
39950
|
PaymentLinkResponse$outboundSchema = objectType({
|
|
40383
|
-
resource: stringType()
|
|
40384
|
-
id: stringType()
|
|
40385
|
-
mode: Mode$outboundSchema
|
|
40386
|
-
description: stringType()
|
|
40387
|
-
amount: nullableType(AmountNullable$outboundSchema)
|
|
39951
|
+
resource: stringType(),
|
|
39952
|
+
id: stringType(),
|
|
39953
|
+
mode: Mode$outboundSchema,
|
|
39954
|
+
description: stringType(),
|
|
39955
|
+
amount: nullableType(AmountNullable$outboundSchema),
|
|
40388
39956
|
minimumAmount: nullableType(AmountNullable$outboundSchema).optional(),
|
|
40389
|
-
archived: booleanType()
|
|
40390
|
-
redirectUrl: nullableType(stringType())
|
|
40391
|
-
webhookUrl: nullableType(stringType())
|
|
39957
|
+
archived: booleanType(),
|
|
39958
|
+
redirectUrl: nullableType(stringType()),
|
|
39959
|
+
webhookUrl: nullableType(stringType()),
|
|
40392
39960
|
lines: nullableType(arrayType(PaymentLineItemResponse$outboundSchema)).optional(),
|
|
40393
39961
|
billingAddress: PaymentAddress$outboundSchema.optional(),
|
|
40394
39962
|
shippingAddress: PaymentAddress$outboundSchema.optional(),
|
|
40395
|
-
profileId: nullableType(stringType())
|
|
40396
|
-
reusable: nullableType(booleanType())
|
|
40397
|
-
createdAt: stringType()
|
|
40398
|
-
paidAt: nullableType(stringType())
|
|
40399
|
-
expiresAt: nullableType(stringType())
|
|
40400
|
-
allowedMethods: nullableType(arrayType(PaymentLinkMethodResponse$outboundSchema))
|
|
39963
|
+
profileId: nullableType(stringType()),
|
|
39964
|
+
reusable: nullableType(booleanType()),
|
|
39965
|
+
createdAt: stringType(),
|
|
39966
|
+
paidAt: nullableType(stringType()),
|
|
39967
|
+
expiresAt: nullableType(stringType()),
|
|
39968
|
+
allowedMethods: nullableType(arrayType(PaymentLinkMethodResponse$outboundSchema)),
|
|
40401
39969
|
applicationFee: lazyType(() => PaymentLinkResponseApplicationFee$outboundSchema).optional(),
|
|
40402
39970
|
sequenceType: PaymentLinkSequenceTypeResponse$outboundSchema.optional(),
|
|
40403
39971
|
customerId: nullableType(stringType()).optional(),
|
|
40404
|
-
links: lazyType(() => PaymentLinkResponseLinks$outboundSchema)
|
|
39972
|
+
links: lazyType(() => PaymentLinkResponseLinks$outboundSchema)
|
|
40405
39973
|
}).transform((v2) => {
|
|
40406
39974
|
return remap(v2, {
|
|
40407
39975
|
links: "_links"
|
|
@@ -40412,19 +39980,26 @@ var init_paymentlinkresponse = __esm(() => {
|
|
|
40412
39980
|
// src/models/profilereviewstatusresponse.ts
|
|
40413
39981
|
var ProfileReviewStatusResponse, ProfileReviewStatusResponse$inboundSchema, ProfileReviewStatusResponse$outboundSchema;
|
|
40414
39982
|
var init_profilereviewstatusresponse = __esm(() => {
|
|
40415
|
-
|
|
39983
|
+
init_enums();
|
|
40416
39984
|
ProfileReviewStatusResponse = {
|
|
40417
39985
|
Pending: "pending",
|
|
40418
39986
|
Rejected: "rejected"
|
|
40419
39987
|
};
|
|
40420
|
-
ProfileReviewStatusResponse$inboundSchema =
|
|
40421
|
-
|
|
40422
|
-
|
|
40423
|
-
|
|
40424
|
-
|
|
40425
|
-
|
|
40426
|
-
|
|
40427
|
-
|
|
39988
|
+
ProfileReviewStatusResponse$inboundSchema = inboundSchema(ProfileReviewStatusResponse);
|
|
39989
|
+
ProfileReviewStatusResponse$outboundSchema = outboundSchema(ProfileReviewStatusResponse);
|
|
39990
|
+
});
|
|
39991
|
+
|
|
39992
|
+
// src/models/profilestatus.ts
|
|
39993
|
+
var ProfileStatus, ProfileStatus$inboundSchema, ProfileStatus$outboundSchema;
|
|
39994
|
+
var init_profilestatus = __esm(() => {
|
|
39995
|
+
init_enums();
|
|
39996
|
+
ProfileStatus = {
|
|
39997
|
+
Unverified: "unverified",
|
|
39998
|
+
Verified: "verified",
|
|
39999
|
+
Blocked: "blocked"
|
|
40000
|
+
};
|
|
40001
|
+
ProfileStatus$inboundSchema = inboundSchema(ProfileStatus);
|
|
40002
|
+
ProfileStatus$outboundSchema = outboundSchema(ProfileStatus);
|
|
40428
40003
|
});
|
|
40429
40004
|
|
|
40430
40005
|
// src/models/profileresponse.ts
|
|
@@ -40463,40 +40038,40 @@ var init_profileresponse = __esm(() => {
|
|
|
40463
40038
|
documentation: Url$outboundSchema.optional()
|
|
40464
40039
|
});
|
|
40465
40040
|
ProfileResponse$inboundSchema = objectType({
|
|
40466
|
-
resource: stringType()
|
|
40467
|
-
id: stringType()
|
|
40468
|
-
mode: Mode$inboundSchema
|
|
40469
|
-
name: stringType()
|
|
40470
|
-
website: stringType()
|
|
40471
|
-
email: stringType()
|
|
40472
|
-
phone: stringType()
|
|
40041
|
+
resource: stringType(),
|
|
40042
|
+
id: stringType(),
|
|
40043
|
+
mode: Mode$inboundSchema,
|
|
40044
|
+
name: stringType(),
|
|
40045
|
+
website: stringType(),
|
|
40046
|
+
email: stringType(),
|
|
40047
|
+
phone: stringType(),
|
|
40473
40048
|
description: stringType().optional(),
|
|
40474
40049
|
countriesOfActivity: arrayType(stringType()).optional(),
|
|
40475
|
-
businessCategory: stringType()
|
|
40476
|
-
status: ProfileStatus$inboundSchema
|
|
40050
|
+
businessCategory: stringType(),
|
|
40051
|
+
status: ProfileStatus$inboundSchema,
|
|
40477
40052
|
review: lazyType(() => Review$inboundSchema).optional(),
|
|
40478
|
-
createdAt: stringType()
|
|
40479
|
-
_links: lazyType(() => ProfileResponseLinks$inboundSchema)
|
|
40053
|
+
createdAt: stringType(),
|
|
40054
|
+
_links: lazyType(() => ProfileResponseLinks$inboundSchema)
|
|
40480
40055
|
}).transform((v2) => {
|
|
40481
40056
|
return remap(v2, {
|
|
40482
40057
|
_links: "links"
|
|
40483
40058
|
});
|
|
40484
40059
|
});
|
|
40485
40060
|
ProfileResponse$outboundSchema = objectType({
|
|
40486
|
-
resource: stringType()
|
|
40487
|
-
id: stringType()
|
|
40488
|
-
mode: Mode$outboundSchema
|
|
40489
|
-
name: stringType()
|
|
40490
|
-
website: stringType()
|
|
40491
|
-
email: stringType()
|
|
40492
|
-
phone: stringType()
|
|
40061
|
+
resource: stringType(),
|
|
40062
|
+
id: stringType(),
|
|
40063
|
+
mode: Mode$outboundSchema,
|
|
40064
|
+
name: stringType(),
|
|
40065
|
+
website: stringType(),
|
|
40066
|
+
email: stringType(),
|
|
40067
|
+
phone: stringType(),
|
|
40493
40068
|
description: stringType().optional(),
|
|
40494
40069
|
countriesOfActivity: arrayType(stringType()).optional(),
|
|
40495
|
-
businessCategory: stringType()
|
|
40496
|
-
status: ProfileStatus$outboundSchema
|
|
40070
|
+
businessCategory: stringType(),
|
|
40071
|
+
status: ProfileStatus$outboundSchema,
|
|
40497
40072
|
review: lazyType(() => Review$outboundSchema).optional(),
|
|
40498
|
-
createdAt: stringType()
|
|
40499
|
-
links: lazyType(() => ProfileResponseLinks$outboundSchema)
|
|
40073
|
+
createdAt: stringType(),
|
|
40074
|
+
links: lazyType(() => ProfileResponseLinks$outboundSchema)
|
|
40500
40075
|
}).transform((v2) => {
|
|
40501
40076
|
return remap(v2, {
|
|
40502
40077
|
links: "_links"
|
|
@@ -40664,7 +40239,7 @@ var init_locale = __esm(() => {
|
|
|
40664
40239
|
// src/models/mandatedetailscardlabelresponse.ts
|
|
40665
40240
|
var MandateDetailsCardLabelResponse, MandateDetailsCardLabelResponse$inboundSchema, MandateDetailsCardLabelResponse$outboundSchema;
|
|
40666
40241
|
var init_mandatedetailscardlabelresponse = __esm(() => {
|
|
40667
|
-
|
|
40242
|
+
init_enums();
|
|
40668
40243
|
MandateDetailsCardLabelResponse = {
|
|
40669
40244
|
AmericanExpress: "American Express",
|
|
40670
40245
|
CartaSi: "Carta Si",
|
|
@@ -40679,33 +40254,85 @@ var init_mandatedetailscardlabelresponse = __esm(() => {
|
|
|
40679
40254
|
Unionpay: "Unionpay",
|
|
40680
40255
|
Visa: "Visa"
|
|
40681
40256
|
};
|
|
40682
|
-
MandateDetailsCardLabelResponse$inboundSchema =
|
|
40683
|
-
|
|
40684
|
-
|
|
40685
|
-
|
|
40686
|
-
|
|
40687
|
-
|
|
40688
|
-
|
|
40689
|
-
|
|
40257
|
+
MandateDetailsCardLabelResponse$inboundSchema = inboundSchema(MandateDetailsCardLabelResponse);
|
|
40258
|
+
MandateDetailsCardLabelResponse$outboundSchema = outboundSchema(MandateDetailsCardLabelResponse);
|
|
40259
|
+
});
|
|
40260
|
+
|
|
40261
|
+
// src/models/mandatemethod.ts
|
|
40262
|
+
var MandateMethod, MandateMethod$inboundSchema, MandateMethod$outboundSchema;
|
|
40263
|
+
var init_mandatemethod = __esm(() => {
|
|
40264
|
+
init_esm();
|
|
40265
|
+
MandateMethod = {
|
|
40266
|
+
Creditcard: "creditcard",
|
|
40267
|
+
Directdebit: "directdebit",
|
|
40268
|
+
Paypal: "paypal"
|
|
40269
|
+
};
|
|
40270
|
+
MandateMethod$inboundSchema = nativeEnumType(MandateMethod);
|
|
40271
|
+
MandateMethod$outboundSchema = MandateMethod$inboundSchema;
|
|
40690
40272
|
});
|
|
40691
40273
|
|
|
40692
40274
|
// src/models/mandatemethodresponse.ts
|
|
40693
40275
|
var MandateMethodResponse, MandateMethodResponse$inboundSchema, MandateMethodResponse$outboundSchema;
|
|
40694
40276
|
var init_mandatemethodresponse = __esm(() => {
|
|
40695
|
-
|
|
40277
|
+
init_enums();
|
|
40696
40278
|
MandateMethodResponse = {
|
|
40697
40279
|
Creditcard: "creditcard",
|
|
40698
40280
|
Directdebit: "directdebit",
|
|
40699
40281
|
Paypal: "paypal"
|
|
40700
40282
|
};
|
|
40701
|
-
MandateMethodResponse$inboundSchema =
|
|
40702
|
-
|
|
40703
|
-
|
|
40704
|
-
|
|
40705
|
-
|
|
40706
|
-
|
|
40707
|
-
|
|
40708
|
-
|
|
40283
|
+
MandateMethodResponse$inboundSchema = inboundSchema(MandateMethodResponse);
|
|
40284
|
+
MandateMethodResponse$outboundSchema = outboundSchema(MandateMethodResponse);
|
|
40285
|
+
});
|
|
40286
|
+
|
|
40287
|
+
// src/models/mandatestatus.ts
|
|
40288
|
+
var MandateStatus, MandateStatus$inboundSchema, MandateStatus$outboundSchema;
|
|
40289
|
+
var init_mandatestatus = __esm(() => {
|
|
40290
|
+
init_enums();
|
|
40291
|
+
MandateStatus = {
|
|
40292
|
+
Valid: "valid",
|
|
40293
|
+
Pending: "pending",
|
|
40294
|
+
Invalid: "invalid"
|
|
40295
|
+
};
|
|
40296
|
+
MandateStatus$inboundSchema = inboundSchema(MandateStatus);
|
|
40297
|
+
MandateStatus$outboundSchema = outboundSchema(MandateStatus);
|
|
40298
|
+
});
|
|
40299
|
+
|
|
40300
|
+
// src/models/mandaterequest.ts
|
|
40301
|
+
var MandateRequest$inboundSchema, MandateRequest$outboundSchema;
|
|
40302
|
+
var init_mandaterequest = __esm(() => {
|
|
40303
|
+
init_esm();
|
|
40304
|
+
init_mandatemethod();
|
|
40305
|
+
init_mandatestatus();
|
|
40306
|
+
MandateRequest$inboundSchema = objectType({
|
|
40307
|
+
id: stringType().optional(),
|
|
40308
|
+
method: MandateMethod$inboundSchema,
|
|
40309
|
+
consumerName: stringType(),
|
|
40310
|
+
consumerAccount: nullableType(stringType()).optional(),
|
|
40311
|
+
consumerBic: nullableType(stringType()).optional(),
|
|
40312
|
+
consumerEmail: nullableType(stringType()).optional(),
|
|
40313
|
+
signatureDate: nullableType(stringType()).optional(),
|
|
40314
|
+
mandateReference: nullableType(stringType()).optional(),
|
|
40315
|
+
paypalBillingAgreementId: nullableType(stringType()).optional(),
|
|
40316
|
+
payPalVaultId: nullableType(stringType()).optional(),
|
|
40317
|
+
status: MandateStatus$inboundSchema.optional(),
|
|
40318
|
+
customerId: stringType().optional(),
|
|
40319
|
+
testmode: nullableType(booleanType()).optional()
|
|
40320
|
+
});
|
|
40321
|
+
MandateRequest$outboundSchema = objectType({
|
|
40322
|
+
id: stringType().optional(),
|
|
40323
|
+
method: MandateMethod$outboundSchema,
|
|
40324
|
+
consumerName: stringType(),
|
|
40325
|
+
consumerAccount: nullableType(stringType()).optional(),
|
|
40326
|
+
consumerBic: nullableType(stringType()).optional(),
|
|
40327
|
+
consumerEmail: nullableType(stringType()).optional(),
|
|
40328
|
+
signatureDate: nullableType(stringType()).optional(),
|
|
40329
|
+
mandateReference: nullableType(stringType()).optional(),
|
|
40330
|
+
paypalBillingAgreementId: nullableType(stringType()).optional(),
|
|
40331
|
+
payPalVaultId: nullableType(stringType()).optional(),
|
|
40332
|
+
status: MandateStatus$outboundSchema.optional(),
|
|
40333
|
+
customerId: stringType().optional(),
|
|
40334
|
+
testmode: nullableType(booleanType()).optional()
|
|
40335
|
+
});
|
|
40709
40336
|
});
|
|
40710
40337
|
|
|
40711
40338
|
// src/models/mandateresponse.ts
|
|
@@ -40749,34 +40376,34 @@ var init_mandateresponse = __esm(() => {
|
|
|
40749
40376
|
documentation: Url$outboundSchema
|
|
40750
40377
|
});
|
|
40751
40378
|
MandateResponse$inboundSchema = objectType({
|
|
40752
|
-
resource: stringType()
|
|
40753
|
-
id: stringType()
|
|
40754
|
-
mode: Mode$inboundSchema
|
|
40755
|
-
method: MandateMethodResponse$inboundSchema
|
|
40756
|
-
details: lazyType(() => MandateResponseDetails$inboundSchema)
|
|
40757
|
-
signatureDate: nullableType(stringType())
|
|
40758
|
-
mandateReference: nullableType(stringType())
|
|
40759
|
-
status: MandateStatus$inboundSchema
|
|
40760
|
-
customerId: stringType()
|
|
40761
|
-
createdAt: stringType()
|
|
40762
|
-
_links: lazyType(() => MandateResponseLinks$inboundSchema)
|
|
40379
|
+
resource: stringType(),
|
|
40380
|
+
id: stringType(),
|
|
40381
|
+
mode: Mode$inboundSchema,
|
|
40382
|
+
method: MandateMethodResponse$inboundSchema,
|
|
40383
|
+
details: lazyType(() => MandateResponseDetails$inboundSchema),
|
|
40384
|
+
signatureDate: nullableType(stringType()),
|
|
40385
|
+
mandateReference: nullableType(stringType()),
|
|
40386
|
+
status: MandateStatus$inboundSchema,
|
|
40387
|
+
customerId: stringType(),
|
|
40388
|
+
createdAt: stringType(),
|
|
40389
|
+
_links: lazyType(() => MandateResponseLinks$inboundSchema)
|
|
40763
40390
|
}).transform((v2) => {
|
|
40764
40391
|
return remap(v2, {
|
|
40765
40392
|
_links: "links"
|
|
40766
40393
|
});
|
|
40767
40394
|
});
|
|
40768
40395
|
MandateResponse$outboundSchema = objectType({
|
|
40769
|
-
resource: stringType()
|
|
40770
|
-
id: stringType()
|
|
40771
|
-
mode: Mode$outboundSchema
|
|
40772
|
-
method: MandateMethodResponse$outboundSchema
|
|
40773
|
-
details: lazyType(() => MandateResponseDetails$outboundSchema)
|
|
40774
|
-
signatureDate: nullableType(stringType())
|
|
40775
|
-
mandateReference: nullableType(stringType())
|
|
40776
|
-
status: MandateStatus$outboundSchema
|
|
40777
|
-
customerId: stringType()
|
|
40778
|
-
createdAt: stringType()
|
|
40779
|
-
links: lazyType(() => MandateResponseLinks$outboundSchema)
|
|
40396
|
+
resource: stringType(),
|
|
40397
|
+
id: stringType(),
|
|
40398
|
+
mode: Mode$outboundSchema,
|
|
40399
|
+
method: MandateMethodResponse$outboundSchema,
|
|
40400
|
+
details: lazyType(() => MandateResponseDetails$outboundSchema),
|
|
40401
|
+
signatureDate: nullableType(stringType()),
|
|
40402
|
+
mandateReference: nullableType(stringType()),
|
|
40403
|
+
status: MandateStatus$outboundSchema,
|
|
40404
|
+
customerId: stringType(),
|
|
40405
|
+
createdAt: stringType(),
|
|
40406
|
+
links: lazyType(() => MandateResponseLinks$outboundSchema)
|
|
40780
40407
|
}).transform((v2) => {
|
|
40781
40408
|
return remap(v2, {
|
|
40782
40409
|
links: "_links"
|
|
@@ -40868,45 +40495,33 @@ var init_onboardingvatregulation = __esm(() => {
|
|
|
40868
40495
|
// src/models/paymentdetailscardauditionresponse.ts
|
|
40869
40496
|
var PaymentDetailsCardAuditionResponse, PaymentDetailsCardAuditionResponse$inboundSchema, PaymentDetailsCardAuditionResponse$outboundSchema;
|
|
40870
40497
|
var init_paymentdetailscardauditionresponse = __esm(() => {
|
|
40871
|
-
|
|
40498
|
+
init_enums();
|
|
40872
40499
|
PaymentDetailsCardAuditionResponse = {
|
|
40873
40500
|
Consumer: "consumer",
|
|
40874
40501
|
Business: "business"
|
|
40875
40502
|
};
|
|
40876
|
-
PaymentDetailsCardAuditionResponse$inboundSchema =
|
|
40877
|
-
|
|
40878
|
-
stringType().transform(catchUnrecognizedEnum)
|
|
40879
|
-
]);
|
|
40880
|
-
PaymentDetailsCardAuditionResponse$outboundSchema = unionType([
|
|
40881
|
-
nativeEnumType(PaymentDetailsCardAuditionResponse),
|
|
40882
|
-
stringType().and(custom())
|
|
40883
|
-
]);
|
|
40503
|
+
PaymentDetailsCardAuditionResponse$inboundSchema = inboundSchema(PaymentDetailsCardAuditionResponse);
|
|
40504
|
+
PaymentDetailsCardAuditionResponse$outboundSchema = outboundSchema(PaymentDetailsCardAuditionResponse);
|
|
40884
40505
|
});
|
|
40885
40506
|
|
|
40886
40507
|
// src/models/paymentdetailscardfundingresponse.ts
|
|
40887
40508
|
var PaymentDetailsCardFundingResponse, PaymentDetailsCardFundingResponse$inboundSchema, PaymentDetailsCardFundingResponse$outboundSchema;
|
|
40888
40509
|
var init_paymentdetailscardfundingresponse = __esm(() => {
|
|
40889
|
-
|
|
40510
|
+
init_enums();
|
|
40890
40511
|
PaymentDetailsCardFundingResponse = {
|
|
40891
40512
|
Debit: "debit",
|
|
40892
40513
|
Credit: "credit",
|
|
40893
40514
|
Prepaid: "prepaid",
|
|
40894
40515
|
DeferredDebit: "deferred-debit"
|
|
40895
40516
|
};
|
|
40896
|
-
PaymentDetailsCardFundingResponse$inboundSchema =
|
|
40897
|
-
|
|
40898
|
-
stringType().transform(catchUnrecognizedEnum)
|
|
40899
|
-
]);
|
|
40900
|
-
PaymentDetailsCardFundingResponse$outboundSchema = unionType([
|
|
40901
|
-
nativeEnumType(PaymentDetailsCardFundingResponse),
|
|
40902
|
-
stringType().and(custom())
|
|
40903
|
-
]);
|
|
40517
|
+
PaymentDetailsCardFundingResponse$inboundSchema = inboundSchema(PaymentDetailsCardFundingResponse);
|
|
40518
|
+
PaymentDetailsCardFundingResponse$outboundSchema = outboundSchema(PaymentDetailsCardFundingResponse);
|
|
40904
40519
|
});
|
|
40905
40520
|
|
|
40906
40521
|
// src/models/paymentdetailscardlabelresponse.ts
|
|
40907
40522
|
var PaymentDetailsCardLabelResponse, PaymentDetailsCardLabelResponse$inboundSchema, PaymentDetailsCardLabelResponse$outboundSchema;
|
|
40908
40523
|
var init_paymentdetailscardlabelresponse = __esm(() => {
|
|
40909
|
-
|
|
40524
|
+
init_enums();
|
|
40910
40525
|
PaymentDetailsCardLabelResponse = {
|
|
40911
40526
|
AmericanExpress: "American Express",
|
|
40912
40527
|
CartaSi: "Carta Si",
|
|
@@ -40922,38 +40537,26 @@ var init_paymentdetailscardlabelresponse = __esm(() => {
|
|
|
40922
40537
|
Visa: "Visa",
|
|
40923
40538
|
Vpay: "Vpay"
|
|
40924
40539
|
};
|
|
40925
|
-
PaymentDetailsCardLabelResponse$inboundSchema =
|
|
40926
|
-
|
|
40927
|
-
stringType().transform(catchUnrecognizedEnum)
|
|
40928
|
-
]);
|
|
40929
|
-
PaymentDetailsCardLabelResponse$outboundSchema = unionType([
|
|
40930
|
-
nativeEnumType(PaymentDetailsCardLabelResponse),
|
|
40931
|
-
stringType().and(custom())
|
|
40932
|
-
]);
|
|
40540
|
+
PaymentDetailsCardLabelResponse$inboundSchema = inboundSchema(PaymentDetailsCardLabelResponse);
|
|
40541
|
+
PaymentDetailsCardLabelResponse$outboundSchema = outboundSchema(PaymentDetailsCardLabelResponse);
|
|
40933
40542
|
});
|
|
40934
40543
|
|
|
40935
40544
|
// src/models/paymentdetailscardsecurityresponse.ts
|
|
40936
40545
|
var PaymentDetailsCardSecurityResponse, PaymentDetailsCardSecurityResponse$inboundSchema, PaymentDetailsCardSecurityResponse$outboundSchema;
|
|
40937
40546
|
var init_paymentdetailscardsecurityresponse = __esm(() => {
|
|
40938
|
-
|
|
40547
|
+
init_enums();
|
|
40939
40548
|
PaymentDetailsCardSecurityResponse = {
|
|
40940
40549
|
Normal: "normal",
|
|
40941
40550
|
Threedsecure: "3dsecure"
|
|
40942
40551
|
};
|
|
40943
|
-
PaymentDetailsCardSecurityResponse$inboundSchema =
|
|
40944
|
-
|
|
40945
|
-
stringType().transform(catchUnrecognizedEnum)
|
|
40946
|
-
]);
|
|
40947
|
-
PaymentDetailsCardSecurityResponse$outboundSchema = unionType([
|
|
40948
|
-
nativeEnumType(PaymentDetailsCardSecurityResponse),
|
|
40949
|
-
stringType().and(custom())
|
|
40950
|
-
]);
|
|
40552
|
+
PaymentDetailsCardSecurityResponse$inboundSchema = inboundSchema(PaymentDetailsCardSecurityResponse);
|
|
40553
|
+
PaymentDetailsCardSecurityResponse$outboundSchema = outboundSchema(PaymentDetailsCardSecurityResponse);
|
|
40951
40554
|
});
|
|
40952
40555
|
|
|
40953
40556
|
// src/models/paymentdetailsfailurereasonresponse.ts
|
|
40954
40557
|
var PaymentDetailsFailureReasonResponse, PaymentDetailsFailureReasonResponse$inboundSchema, PaymentDetailsFailureReasonResponse$outboundSchema;
|
|
40955
40558
|
var init_paymentdetailsfailurereasonresponse = __esm(() => {
|
|
40956
|
-
|
|
40559
|
+
init_enums();
|
|
40957
40560
|
PaymentDetailsFailureReasonResponse = {
|
|
40958
40561
|
AuthenticationAbandoned: "authentication_abandoned",
|
|
40959
40562
|
AuthenticationFailed: "authentication_failed",
|
|
@@ -40971,20 +40574,14 @@ var init_paymentdetailsfailurereasonresponse = __esm(() => {
|
|
|
40971
40574
|
RefusedByIssuer: "refused_by_issuer",
|
|
40972
40575
|
UnknownReason: "unknown_reason"
|
|
40973
40576
|
};
|
|
40974
|
-
PaymentDetailsFailureReasonResponse$inboundSchema =
|
|
40975
|
-
|
|
40976
|
-
stringType().transform(catchUnrecognizedEnum)
|
|
40977
|
-
]);
|
|
40978
|
-
PaymentDetailsFailureReasonResponse$outboundSchema = unionType([
|
|
40979
|
-
nativeEnumType(PaymentDetailsFailureReasonResponse),
|
|
40980
|
-
stringType().and(custom())
|
|
40981
|
-
]);
|
|
40577
|
+
PaymentDetailsFailureReasonResponse$inboundSchema = inboundSchema(PaymentDetailsFailureReasonResponse);
|
|
40578
|
+
PaymentDetailsFailureReasonResponse$outboundSchema = outboundSchema(PaymentDetailsFailureReasonResponse);
|
|
40982
40579
|
});
|
|
40983
40580
|
|
|
40984
40581
|
// src/models/paymentdetailsfeeregionresponse.ts
|
|
40985
40582
|
var PaymentDetailsFeeRegionResponse, PaymentDetailsFeeRegionResponse$inboundSchema, PaymentDetailsFeeRegionResponse$outboundSchema;
|
|
40986
40583
|
var init_paymentdetailsfeeregionresponse = __esm(() => {
|
|
40987
|
-
|
|
40584
|
+
init_enums();
|
|
40988
40585
|
PaymentDetailsFeeRegionResponse = {
|
|
40989
40586
|
AmericanExpress: "american-express",
|
|
40990
40587
|
AmexIntraEea: "amex-intra-eea",
|
|
@@ -40997,20 +40594,14 @@ var init_paymentdetailsfeeregionresponse = __esm(() => {
|
|
|
40997
40594
|
Inter: "inter",
|
|
40998
40595
|
IntraEea: "intra_eea"
|
|
40999
40596
|
};
|
|
41000
|
-
PaymentDetailsFeeRegionResponse$inboundSchema =
|
|
41001
|
-
|
|
41002
|
-
stringType().transform(catchUnrecognizedEnum)
|
|
41003
|
-
]);
|
|
41004
|
-
PaymentDetailsFeeRegionResponse$outboundSchema = unionType([
|
|
41005
|
-
nativeEnumType(PaymentDetailsFeeRegionResponse),
|
|
41006
|
-
stringType().and(custom())
|
|
41007
|
-
]);
|
|
40597
|
+
PaymentDetailsFeeRegionResponse$inboundSchema = inboundSchema(PaymentDetailsFeeRegionResponse);
|
|
40598
|
+
PaymentDetailsFeeRegionResponse$outboundSchema = outboundSchema(PaymentDetailsFeeRegionResponse);
|
|
41008
40599
|
});
|
|
41009
40600
|
|
|
41010
40601
|
// src/models/paymentdetailsreceiptcardreadmethodresponse.ts
|
|
41011
40602
|
var PaymentDetailsReceiptCardReadMethodResponse, PaymentDetailsReceiptCardReadMethodResponse$inboundSchema, PaymentDetailsReceiptCardReadMethodResponse$outboundSchema;
|
|
41012
40603
|
var init_paymentdetailsreceiptcardreadmethodresponse = __esm(() => {
|
|
41013
|
-
|
|
40604
|
+
init_enums();
|
|
41014
40605
|
PaymentDetailsReceiptCardReadMethodResponse = {
|
|
41015
40606
|
Chip: "chip",
|
|
41016
40607
|
MagneticStripe: "magnetic-stripe",
|
|
@@ -41018,20 +40609,14 @@ var init_paymentdetailsreceiptcardreadmethodresponse = __esm(() => {
|
|
|
41018
40609
|
Contactless: "contactless",
|
|
41019
40610
|
Moto: "moto"
|
|
41020
40611
|
};
|
|
41021
|
-
PaymentDetailsReceiptCardReadMethodResponse$inboundSchema =
|
|
41022
|
-
|
|
41023
|
-
stringType().transform(catchUnrecognizedEnum)
|
|
41024
|
-
]);
|
|
41025
|
-
PaymentDetailsReceiptCardReadMethodResponse$outboundSchema = unionType([
|
|
41026
|
-
nativeEnumType(PaymentDetailsReceiptCardReadMethodResponse),
|
|
41027
|
-
stringType().and(custom())
|
|
41028
|
-
]);
|
|
40612
|
+
PaymentDetailsReceiptCardReadMethodResponse$inboundSchema = inboundSchema(PaymentDetailsReceiptCardReadMethodResponse);
|
|
40613
|
+
PaymentDetailsReceiptCardReadMethodResponse$outboundSchema = outboundSchema(PaymentDetailsReceiptCardReadMethodResponse);
|
|
41029
40614
|
});
|
|
41030
40615
|
|
|
41031
40616
|
// src/models/paymentdetailsreceiptcardverificationmethodresponse.ts
|
|
41032
40617
|
var PaymentDetailsReceiptCardVerificationMethodResponse, PaymentDetailsReceiptCardVerificationMethodResponse$inboundSchema, PaymentDetailsReceiptCardVerificationMethodResponse$outboundSchema;
|
|
41033
40618
|
var init_paymentdetailsreceiptcardverificationmethodresponse = __esm(() => {
|
|
41034
|
-
|
|
40619
|
+
init_enums();
|
|
41035
40620
|
PaymentDetailsReceiptCardVerificationMethodResponse = {
|
|
41036
40621
|
NoCvmRequired: "no-cvm-required",
|
|
41037
40622
|
OnlinePin: "online-pin",
|
|
@@ -41043,20 +40628,14 @@ var init_paymentdetailsreceiptcardverificationmethodresponse = __esm(() => {
|
|
|
41043
40628
|
None: "none",
|
|
41044
40629
|
Failed: "failed"
|
|
41045
40630
|
};
|
|
41046
|
-
PaymentDetailsReceiptCardVerificationMethodResponse$inboundSchema =
|
|
41047
|
-
|
|
41048
|
-
stringType().transform(catchUnrecognizedEnum)
|
|
41049
|
-
]);
|
|
41050
|
-
PaymentDetailsReceiptCardVerificationMethodResponse$outboundSchema = unionType([
|
|
41051
|
-
nativeEnumType(PaymentDetailsReceiptCardVerificationMethodResponse),
|
|
41052
|
-
stringType().and(custom())
|
|
41053
|
-
]);
|
|
40631
|
+
PaymentDetailsReceiptCardVerificationMethodResponse$inboundSchema = inboundSchema(PaymentDetailsReceiptCardVerificationMethodResponse);
|
|
40632
|
+
PaymentDetailsReceiptCardVerificationMethodResponse$outboundSchema = outboundSchema(PaymentDetailsReceiptCardVerificationMethodResponse);
|
|
41054
40633
|
});
|
|
41055
40634
|
|
|
41056
40635
|
// src/models/paymentdetailssellerprotectionresponse.ts
|
|
41057
40636
|
var PaymentDetailsSellerProtectionResponse, PaymentDetailsSellerProtectionResponse$inboundSchema, PaymentDetailsSellerProtectionResponse$outboundSchema;
|
|
41058
40637
|
var init_paymentdetailssellerprotectionresponse = __esm(() => {
|
|
41059
|
-
|
|
40638
|
+
init_enums();
|
|
41060
40639
|
PaymentDetailsSellerProtectionResponse = {
|
|
41061
40640
|
Eligible: "Eligible",
|
|
41062
40641
|
Ineligible: "Ineligible",
|
|
@@ -41067,31 +40646,19 @@ var init_paymentdetailssellerprotectionresponse = __esm(() => {
|
|
|
41067
40646
|
Active: "Active",
|
|
41068
40647
|
FraudControlUnauthPremiumEligible: "Fraud Control - Unauth Premium Eligible"
|
|
41069
40648
|
};
|
|
41070
|
-
PaymentDetailsSellerProtectionResponse$inboundSchema =
|
|
41071
|
-
|
|
41072
|
-
stringType().transform(catchUnrecognizedEnum)
|
|
41073
|
-
]);
|
|
41074
|
-
PaymentDetailsSellerProtectionResponse$outboundSchema = unionType([
|
|
41075
|
-
nativeEnumType(PaymentDetailsSellerProtectionResponse),
|
|
41076
|
-
stringType().and(custom())
|
|
41077
|
-
]);
|
|
40649
|
+
PaymentDetailsSellerProtectionResponse$inboundSchema = inboundSchema(PaymentDetailsSellerProtectionResponse);
|
|
40650
|
+
PaymentDetailsSellerProtectionResponse$outboundSchema = outboundSchema(PaymentDetailsSellerProtectionResponse);
|
|
41078
40651
|
});
|
|
41079
40652
|
|
|
41080
40653
|
// src/models/paymentdetailswalletresponse.ts
|
|
41081
40654
|
var PaymentDetailsWalletResponse, PaymentDetailsWalletResponse$inboundSchema, PaymentDetailsWalletResponse$outboundSchema;
|
|
41082
40655
|
var init_paymentdetailswalletresponse = __esm(() => {
|
|
41083
|
-
|
|
40656
|
+
init_enums();
|
|
41084
40657
|
PaymentDetailsWalletResponse = {
|
|
41085
40658
|
Applepay: "applepay"
|
|
41086
40659
|
};
|
|
41087
|
-
PaymentDetailsWalletResponse$inboundSchema =
|
|
41088
|
-
|
|
41089
|
-
stringType().transform(catchUnrecognizedEnum)
|
|
41090
|
-
]);
|
|
41091
|
-
PaymentDetailsWalletResponse$outboundSchema = unionType([
|
|
41092
|
-
nativeEnumType(PaymentDetailsWalletResponse),
|
|
41093
|
-
stringType().and(custom())
|
|
41094
|
-
]);
|
|
40660
|
+
PaymentDetailsWalletResponse$inboundSchema = inboundSchema(PaymentDetailsWalletResponse);
|
|
40661
|
+
PaymentDetailsWalletResponse$outboundSchema = outboundSchema(PaymentDetailsWalletResponse);
|
|
41095
40662
|
});
|
|
41096
40663
|
|
|
41097
40664
|
// src/models/paymentlinetype.ts
|
|
@@ -41362,15 +40929,15 @@ var init_paymentrequest = __esm(() => {
|
|
|
41362
40929
|
entityType: stringType().optional()
|
|
41363
40930
|
});
|
|
41364
40931
|
PaymentRequest$inboundSchema = objectType({
|
|
41365
|
-
id: stringType().optional(),
|
|
41366
|
-
description: stringType()
|
|
41367
|
-
amount: Amount$inboundSchema
|
|
40932
|
+
id: stringType().optional(),
|
|
40933
|
+
description: stringType(),
|
|
40934
|
+
amount: Amount$inboundSchema,
|
|
41368
40935
|
amountRefunded: Amount$inboundSchema.optional(),
|
|
41369
40936
|
amountRemaining: Amount$inboundSchema.optional(),
|
|
41370
40937
|
amountCaptured: Amount$inboundSchema.optional(),
|
|
41371
40938
|
amountChargedBack: Amount$inboundSchema.optional(),
|
|
41372
40939
|
settlementAmount: Amount$inboundSchema.optional(),
|
|
41373
|
-
redirectUrl: nullableType(stringType())
|
|
40940
|
+
redirectUrl: nullableType(stringType()),
|
|
41374
40941
|
cancelUrl: nullableType(stringType()).optional(),
|
|
41375
40942
|
webhookUrl: nullableType(stringType()).optional(),
|
|
41376
40943
|
lines: nullableType(arrayType(lazyType(() => PaymentRequestLine$inboundSchema))).optional(),
|
|
@@ -41408,14 +40975,14 @@ var init_paymentrequest = __esm(() => {
|
|
|
41408
40975
|
});
|
|
41409
40976
|
PaymentRequest$outboundSchema = objectType({
|
|
41410
40977
|
id: stringType().optional(),
|
|
41411
|
-
description: stringType()
|
|
41412
|
-
amount: Amount$outboundSchema
|
|
40978
|
+
description: stringType(),
|
|
40979
|
+
amount: Amount$outboundSchema,
|
|
41413
40980
|
amountRefunded: Amount$outboundSchema.optional(),
|
|
41414
40981
|
amountRemaining: Amount$outboundSchema.optional(),
|
|
41415
40982
|
amountCaptured: Amount$outboundSchema.optional(),
|
|
41416
40983
|
amountChargedBack: Amount$outboundSchema.optional(),
|
|
41417
40984
|
settlementAmount: Amount$outboundSchema.optional(),
|
|
41418
|
-
redirectUrl: nullableType(stringType())
|
|
40985
|
+
redirectUrl: nullableType(stringType()),
|
|
41419
40986
|
cancelUrl: nullableType(stringType()).optional(),
|
|
41420
40987
|
webhookUrl: nullableType(stringType()).optional(),
|
|
41421
40988
|
lines: nullableType(arrayType(lazyType(() => PaymentRequestLine$outboundSchema))).optional(),
|
|
@@ -41456,7 +41023,7 @@ var init_paymentrequest = __esm(() => {
|
|
|
41456
41023
|
// src/models/paymentstatus.ts
|
|
41457
41024
|
var PaymentStatus, PaymentStatus$inboundSchema, PaymentStatus$outboundSchema;
|
|
41458
41025
|
var init_paymentstatus = __esm(() => {
|
|
41459
|
-
|
|
41026
|
+
init_enums();
|
|
41460
41027
|
PaymentStatus = {
|
|
41461
41028
|
Open: "open",
|
|
41462
41029
|
Pending: "pending",
|
|
@@ -41466,33 +41033,21 @@ var init_paymentstatus = __esm(() => {
|
|
|
41466
41033
|
Expired: "expired",
|
|
41467
41034
|
Failed: "failed"
|
|
41468
41035
|
};
|
|
41469
|
-
PaymentStatus$inboundSchema =
|
|
41470
|
-
|
|
41471
|
-
stringType().transform(catchUnrecognizedEnum)
|
|
41472
|
-
]);
|
|
41473
|
-
PaymentStatus$outboundSchema = unionType([
|
|
41474
|
-
nativeEnumType(PaymentStatus),
|
|
41475
|
-
stringType().and(custom())
|
|
41476
|
-
]);
|
|
41036
|
+
PaymentStatus$inboundSchema = inboundSchema(PaymentStatus);
|
|
41037
|
+
PaymentStatus$outboundSchema = outboundSchema(PaymentStatus);
|
|
41477
41038
|
});
|
|
41478
41039
|
|
|
41479
41040
|
// src/models/sequencetyperesponse.ts
|
|
41480
41041
|
var SequenceTypeResponse, SequenceTypeResponse$inboundSchema, SequenceTypeResponse$outboundSchema;
|
|
41481
41042
|
var init_sequencetyperesponse = __esm(() => {
|
|
41482
|
-
|
|
41043
|
+
init_enums();
|
|
41483
41044
|
SequenceTypeResponse = {
|
|
41484
41045
|
Oneoff: "oneoff",
|
|
41485
41046
|
First: "first",
|
|
41486
41047
|
Recurring: "recurring"
|
|
41487
41048
|
};
|
|
41488
|
-
SequenceTypeResponse$inboundSchema =
|
|
41489
|
-
|
|
41490
|
-
stringType().transform(catchUnrecognizedEnum)
|
|
41491
|
-
]);
|
|
41492
|
-
SequenceTypeResponse$outboundSchema = unionType([
|
|
41493
|
-
nativeEnumType(SequenceTypeResponse),
|
|
41494
|
-
stringType().and(custom())
|
|
41495
|
-
]);
|
|
41049
|
+
SequenceTypeResponse$inboundSchema = inboundSchema(SequenceTypeResponse);
|
|
41050
|
+
SequenceTypeResponse$outboundSchema = outboundSchema(SequenceTypeResponse);
|
|
41496
41051
|
});
|
|
41497
41052
|
|
|
41498
41053
|
// src/models/statusreason.ts
|
|
@@ -41898,11 +41453,11 @@ var init_paymentresponse = __esm(() => {
|
|
|
41898
41453
|
payOnline: Url$outboundSchema.optional()
|
|
41899
41454
|
});
|
|
41900
41455
|
PaymentResponse$inboundSchema = objectType({
|
|
41901
|
-
resource: stringType()
|
|
41902
|
-
id: stringType()
|
|
41903
|
-
mode: Mode$inboundSchema
|
|
41904
|
-
description: stringType()
|
|
41905
|
-
amount: Amount$inboundSchema
|
|
41456
|
+
resource: stringType(),
|
|
41457
|
+
id: stringType(),
|
|
41458
|
+
mode: Mode$inboundSchema,
|
|
41459
|
+
description: stringType(),
|
|
41460
|
+
amount: Amount$inboundSchema,
|
|
41906
41461
|
amountRefunded: Amount$inboundSchema.optional(),
|
|
41907
41462
|
amountRemaining: Amount$inboundSchema.optional(),
|
|
41908
41463
|
amountCaptured: Amount$inboundSchema.optional(),
|
|
@@ -41924,36 +41479,36 @@ var init_paymentresponse = __esm(() => {
|
|
|
41924
41479
|
captureBefore: nullableType(stringType()).optional(),
|
|
41925
41480
|
applicationFee: nullableType(lazyType(() => PaymentResponseApplicationFee$inboundSchema)).optional(),
|
|
41926
41481
|
routing: nullableType(arrayType(EntityPaymentRouteResponse$inboundSchema)).optional(),
|
|
41927
|
-
sequenceType: SequenceTypeResponse$inboundSchema
|
|
41482
|
+
sequenceType: SequenceTypeResponse$inboundSchema,
|
|
41928
41483
|
subscriptionId: stringType().optional(),
|
|
41929
41484
|
mandateId: stringType().optional(),
|
|
41930
41485
|
customerId: stringType().optional(),
|
|
41931
|
-
profileId: stringType()
|
|
41486
|
+
profileId: stringType(),
|
|
41932
41487
|
settlementId: stringType().optional(),
|
|
41933
41488
|
orderId: stringType().optional(),
|
|
41934
|
-
status: PaymentStatus$inboundSchema
|
|
41489
|
+
status: PaymentStatus$inboundSchema,
|
|
41935
41490
|
statusReason: nullableType(StatusReason$inboundSchema).optional(),
|
|
41936
41491
|
isCancelable: nullableType(booleanType()).optional(),
|
|
41937
41492
|
details: nullableType(lazyType(() => PaymentResponseDetails$inboundSchema)).optional(),
|
|
41938
|
-
createdAt: stringType()
|
|
41493
|
+
createdAt: stringType(),
|
|
41939
41494
|
authorizedAt: nullableType(stringType()).optional(),
|
|
41940
41495
|
paidAt: nullableType(stringType()).optional(),
|
|
41941
41496
|
canceledAt: nullableType(stringType()).optional(),
|
|
41942
41497
|
expiresAt: nullableType(stringType()).optional(),
|
|
41943
41498
|
expiredAt: nullableType(stringType()).optional(),
|
|
41944
41499
|
failedAt: nullableType(stringType()).optional(),
|
|
41945
|
-
_links: lazyType(() => PaymentResponseLinks$inboundSchema)
|
|
41500
|
+
_links: lazyType(() => PaymentResponseLinks$inboundSchema)
|
|
41946
41501
|
}).transform((v2) => {
|
|
41947
41502
|
return remap(v2, {
|
|
41948
41503
|
_links: "links"
|
|
41949
41504
|
});
|
|
41950
41505
|
});
|
|
41951
41506
|
PaymentResponse$outboundSchema = objectType({
|
|
41952
|
-
resource: stringType()
|
|
41953
|
-
id: stringType()
|
|
41954
|
-
mode: Mode$outboundSchema
|
|
41955
|
-
description: stringType()
|
|
41956
|
-
amount: Amount$outboundSchema
|
|
41507
|
+
resource: stringType(),
|
|
41508
|
+
id: stringType(),
|
|
41509
|
+
mode: Mode$outboundSchema,
|
|
41510
|
+
description: stringType(),
|
|
41511
|
+
amount: Amount$outboundSchema,
|
|
41957
41512
|
amountRefunded: Amount$outboundSchema.optional(),
|
|
41958
41513
|
amountRemaining: Amount$outboundSchema.optional(),
|
|
41959
41514
|
amountCaptured: Amount$outboundSchema.optional(),
|
|
@@ -41975,25 +41530,25 @@ var init_paymentresponse = __esm(() => {
|
|
|
41975
41530
|
captureBefore: nullableType(stringType()).optional(),
|
|
41976
41531
|
applicationFee: nullableType(lazyType(() => PaymentResponseApplicationFee$outboundSchema)).optional(),
|
|
41977
41532
|
routing: nullableType(arrayType(EntityPaymentRouteResponse$outboundSchema)).optional(),
|
|
41978
|
-
sequenceType: SequenceTypeResponse$outboundSchema
|
|
41533
|
+
sequenceType: SequenceTypeResponse$outboundSchema,
|
|
41979
41534
|
subscriptionId: stringType().optional(),
|
|
41980
41535
|
mandateId: stringType().optional(),
|
|
41981
41536
|
customerId: stringType().optional(),
|
|
41982
|
-
profileId: stringType()
|
|
41537
|
+
profileId: stringType(),
|
|
41983
41538
|
settlementId: stringType().optional(),
|
|
41984
41539
|
orderId: stringType().optional(),
|
|
41985
|
-
status: PaymentStatus$outboundSchema
|
|
41540
|
+
status: PaymentStatus$outboundSchema,
|
|
41986
41541
|
statusReason: nullableType(StatusReason$outboundSchema).optional(),
|
|
41987
41542
|
isCancelable: nullableType(booleanType()).optional(),
|
|
41988
41543
|
details: nullableType(lazyType(() => PaymentResponseDetails$outboundSchema)).optional(),
|
|
41989
|
-
createdAt: stringType()
|
|
41544
|
+
createdAt: stringType(),
|
|
41990
41545
|
authorizedAt: nullableType(stringType()).optional(),
|
|
41991
41546
|
paidAt: nullableType(stringType()).optional(),
|
|
41992
41547
|
canceledAt: nullableType(stringType()).optional(),
|
|
41993
41548
|
expiresAt: nullableType(stringType()).optional(),
|
|
41994
41549
|
expiredAt: nullableType(stringType()).optional(),
|
|
41995
41550
|
failedAt: nullableType(stringType()).optional(),
|
|
41996
|
-
links: lazyType(() => PaymentResponseLinks$outboundSchema)
|
|
41551
|
+
links: lazyType(() => PaymentResponseLinks$outboundSchema)
|
|
41997
41552
|
}).transform((v2) => {
|
|
41998
41553
|
return remap(v2, {
|
|
41999
41554
|
links: "_links"
|
|
@@ -42001,6 +41556,108 @@ var init_paymentresponse = __esm(() => {
|
|
|
42001
41556
|
});
|
|
42002
41557
|
});
|
|
42003
41558
|
|
|
41559
|
+
// src/models/profilerequest.ts
|
|
41560
|
+
var ProfileRequest$inboundSchema, ProfileRequest$outboundSchema;
|
|
41561
|
+
var init_profilerequest = __esm(() => {
|
|
41562
|
+
init_esm();
|
|
41563
|
+
init_profilestatus();
|
|
41564
|
+
ProfileRequest$inboundSchema = objectType({
|
|
41565
|
+
name: stringType(),
|
|
41566
|
+
website: stringType(),
|
|
41567
|
+
email: stringType(),
|
|
41568
|
+
phone: stringType(),
|
|
41569
|
+
description: stringType().optional(),
|
|
41570
|
+
countriesOfActivity: arrayType(stringType()).optional(),
|
|
41571
|
+
businessCategory: stringType().optional(),
|
|
41572
|
+
status: ProfileStatus$inboundSchema.optional()
|
|
41573
|
+
});
|
|
41574
|
+
ProfileRequest$outboundSchema = objectType({
|
|
41575
|
+
name: stringType(),
|
|
41576
|
+
website: stringType(),
|
|
41577
|
+
email: stringType(),
|
|
41578
|
+
phone: stringType(),
|
|
41579
|
+
description: stringType().optional(),
|
|
41580
|
+
countriesOfActivity: arrayType(stringType()).optional(),
|
|
41581
|
+
businessCategory: stringType().optional(),
|
|
41582
|
+
status: ProfileStatus$outboundSchema.optional()
|
|
41583
|
+
});
|
|
41584
|
+
});
|
|
41585
|
+
|
|
41586
|
+
// src/models/refundexternalreferencetype.ts
|
|
41587
|
+
var RefundExternalReferenceType, RefundExternalReferenceType$inboundSchema, RefundExternalReferenceType$outboundSchema;
|
|
41588
|
+
var init_refundexternalreferencetype = __esm(() => {
|
|
41589
|
+
init_esm();
|
|
41590
|
+
RefundExternalReferenceType = {
|
|
41591
|
+
AcquirerReference: "acquirer-reference"
|
|
41592
|
+
};
|
|
41593
|
+
RefundExternalReferenceType$inboundSchema = nativeEnumType(RefundExternalReferenceType);
|
|
41594
|
+
RefundExternalReferenceType$outboundSchema = RefundExternalReferenceType$inboundSchema;
|
|
41595
|
+
});
|
|
41596
|
+
|
|
41597
|
+
// src/models/refundrequest.ts
|
|
41598
|
+
var RefundRequestExternalReference$inboundSchema, RefundRequestExternalReference$outboundSchema, RefundRequestSource$inboundSchema, RefundRequestSource$outboundSchema, RefundRequestRoutingReversal$inboundSchema, RefundRequestRoutingReversal$outboundSchema, RefundRequest$inboundSchema, RefundRequest$outboundSchema;
|
|
41599
|
+
var init_refundrequest = __esm(() => {
|
|
41600
|
+
init_esm();
|
|
41601
|
+
init_amount();
|
|
41602
|
+
init_amountnullable();
|
|
41603
|
+
init_metadata();
|
|
41604
|
+
init_refundexternalreferencetype();
|
|
41605
|
+
init_refundroutingreversalssourcetype();
|
|
41606
|
+
init_refundstatus();
|
|
41607
|
+
RefundRequestExternalReference$inboundSchema = objectType({
|
|
41608
|
+
type: RefundExternalReferenceType$inboundSchema.optional(),
|
|
41609
|
+
id: stringType().optional()
|
|
41610
|
+
});
|
|
41611
|
+
RefundRequestExternalReference$outboundSchema = objectType({
|
|
41612
|
+
type: RefundExternalReferenceType$outboundSchema.optional(),
|
|
41613
|
+
id: stringType().optional()
|
|
41614
|
+
});
|
|
41615
|
+
RefundRequestSource$inboundSchema = objectType({
|
|
41616
|
+
type: RefundRoutingReversalsSourceType$inboundSchema.optional(),
|
|
41617
|
+
organizationId: stringType().optional()
|
|
41618
|
+
});
|
|
41619
|
+
RefundRequestSource$outboundSchema = objectType({
|
|
41620
|
+
type: RefundRoutingReversalsSourceType$outboundSchema.optional(),
|
|
41621
|
+
organizationId: stringType().optional()
|
|
41622
|
+
});
|
|
41623
|
+
RefundRequestRoutingReversal$inboundSchema = objectType({
|
|
41624
|
+
amount: Amount$inboundSchema.optional(),
|
|
41625
|
+
source: lazyType(() => RefundRequestSource$inboundSchema).optional()
|
|
41626
|
+
});
|
|
41627
|
+
RefundRequestRoutingReversal$outboundSchema = objectType({
|
|
41628
|
+
amount: Amount$outboundSchema.optional(),
|
|
41629
|
+
source: lazyType(() => RefundRequestSource$outboundSchema).optional()
|
|
41630
|
+
});
|
|
41631
|
+
RefundRequest$inboundSchema = objectType({
|
|
41632
|
+
id: stringType(),
|
|
41633
|
+
description: stringType(),
|
|
41634
|
+
amount: Amount$inboundSchema,
|
|
41635
|
+
settlementAmount: nullableType(AmountNullable$inboundSchema).optional(),
|
|
41636
|
+
metadata: nullableType(Metadata$inboundSchema),
|
|
41637
|
+
paymentId: stringType().optional(),
|
|
41638
|
+
settlementId: stringType().optional(),
|
|
41639
|
+
status: RefundStatus$inboundSchema,
|
|
41640
|
+
externalReference: lazyType(() => RefundRequestExternalReference$inboundSchema).optional(),
|
|
41641
|
+
reverseRouting: nullableType(booleanType()).optional(),
|
|
41642
|
+
routingReversals: nullableType(arrayType(lazyType(() => RefundRequestRoutingReversal$inboundSchema))).optional(),
|
|
41643
|
+
testmode: nullableType(booleanType()).optional()
|
|
41644
|
+
});
|
|
41645
|
+
RefundRequest$outboundSchema = objectType({
|
|
41646
|
+
id: stringType(),
|
|
41647
|
+
description: stringType(),
|
|
41648
|
+
amount: Amount$outboundSchema,
|
|
41649
|
+
settlementAmount: nullableType(AmountNullable$outboundSchema).optional(),
|
|
41650
|
+
metadata: nullableType(Metadata$outboundSchema),
|
|
41651
|
+
paymentId: stringType().optional(),
|
|
41652
|
+
settlementId: stringType().optional(),
|
|
41653
|
+
status: RefundStatus$outboundSchema,
|
|
41654
|
+
externalReference: lazyType(() => RefundRequestExternalReference$outboundSchema).optional(),
|
|
41655
|
+
reverseRouting: nullableType(booleanType()).optional(),
|
|
41656
|
+
routingReversals: nullableType(arrayType(lazyType(() => RefundRequestRoutingReversal$outboundSchema))).optional(),
|
|
41657
|
+
testmode: nullableType(booleanType()).optional()
|
|
41658
|
+
});
|
|
41659
|
+
});
|
|
41660
|
+
|
|
42004
41661
|
// src/models/routecreateresponse.ts
|
|
42005
41662
|
var RouteCreateResponseDestination$inboundSchema, RouteCreateResponseDestination$outboundSchema, RouteCreateResponseLinks$inboundSchema, RouteCreateResponseLinks$outboundSchema, RouteCreateResponse$inboundSchema, RouteCreateResponse$outboundSchema;
|
|
42006
41663
|
var init_routecreateresponse = __esm(() => {
|
|
@@ -42026,26 +41683,26 @@ var init_routecreateresponse = __esm(() => {
|
|
|
42026
41683
|
documentation: Url$outboundSchema
|
|
42027
41684
|
});
|
|
42028
41685
|
RouteCreateResponse$inboundSchema = objectType({
|
|
42029
|
-
resource: stringType()
|
|
42030
|
-
id: stringType()
|
|
42031
|
-
paymentId: stringType()
|
|
42032
|
-
amount: Amount$inboundSchema
|
|
42033
|
-
description: stringType()
|
|
42034
|
-
destination: lazyType(() => RouteCreateResponseDestination$inboundSchema)
|
|
42035
|
-
_links: lazyType(() => RouteCreateResponseLinks$inboundSchema)
|
|
41686
|
+
resource: stringType(),
|
|
41687
|
+
id: stringType(),
|
|
41688
|
+
paymentId: stringType(),
|
|
41689
|
+
amount: Amount$inboundSchema,
|
|
41690
|
+
description: stringType(),
|
|
41691
|
+
destination: lazyType(() => RouteCreateResponseDestination$inboundSchema),
|
|
41692
|
+
_links: lazyType(() => RouteCreateResponseLinks$inboundSchema)
|
|
42036
41693
|
}).transform((v2) => {
|
|
42037
41694
|
return remap(v2, {
|
|
42038
41695
|
_links: "links"
|
|
42039
41696
|
});
|
|
42040
41697
|
});
|
|
42041
41698
|
RouteCreateResponse$outboundSchema = objectType({
|
|
42042
|
-
resource: stringType()
|
|
42043
|
-
id: stringType()
|
|
42044
|
-
paymentId: stringType()
|
|
42045
|
-
amount: Amount$outboundSchema
|
|
42046
|
-
description: stringType()
|
|
42047
|
-
destination: lazyType(() => RouteCreateResponseDestination$outboundSchema)
|
|
42048
|
-
links: lazyType(() => RouteCreateResponseLinks$outboundSchema)
|
|
41699
|
+
resource: stringType(),
|
|
41700
|
+
id: stringType(),
|
|
41701
|
+
paymentId: stringType(),
|
|
41702
|
+
amount: Amount$outboundSchema,
|
|
41703
|
+
description: stringType(),
|
|
41704
|
+
destination: lazyType(() => RouteCreateResponseDestination$outboundSchema),
|
|
41705
|
+
links: lazyType(() => RouteCreateResponseLinks$outboundSchema)
|
|
42049
41706
|
}).transform((v2) => {
|
|
42050
41707
|
return remap(v2, {
|
|
42051
41708
|
links: "_links"
|
|
@@ -42078,13 +41735,13 @@ var init_routegetresponse = __esm(() => {
|
|
|
42078
41735
|
documentation: Url$outboundSchema
|
|
42079
41736
|
});
|
|
42080
41737
|
RouteGetResponse$inboundSchema = objectType({
|
|
42081
|
-
resource: stringType()
|
|
42082
|
-
id: stringType()
|
|
42083
|
-
paymentId: stringType()
|
|
42084
|
-
amount: Amount$inboundSchema
|
|
42085
|
-
description: stringType()
|
|
42086
|
-
destination: lazyType(() => RouteGetResponseDestination$inboundSchema)
|
|
42087
|
-
_links: lazyType(() => RouteGetResponseLinks$inboundSchema)
|
|
41738
|
+
resource: stringType(),
|
|
41739
|
+
id: stringType(),
|
|
41740
|
+
paymentId: stringType(),
|
|
41741
|
+
amount: Amount$inboundSchema,
|
|
41742
|
+
description: stringType(),
|
|
41743
|
+
destination: lazyType(() => RouteGetResponseDestination$inboundSchema),
|
|
41744
|
+
_links: lazyType(() => RouteGetResponseLinks$inboundSchema),
|
|
42088
41745
|
createdAt: stringType()
|
|
42089
41746
|
}).transform((v2) => {
|
|
42090
41747
|
return remap(v2, {
|
|
@@ -42092,13 +41749,13 @@ var init_routegetresponse = __esm(() => {
|
|
|
42092
41749
|
});
|
|
42093
41750
|
});
|
|
42094
41751
|
RouteGetResponse$outboundSchema = objectType({
|
|
42095
|
-
resource: stringType()
|
|
42096
|
-
id: stringType()
|
|
42097
|
-
paymentId: stringType()
|
|
42098
|
-
amount: Amount$outboundSchema
|
|
42099
|
-
description: stringType()
|
|
42100
|
-
destination: lazyType(() => RouteGetResponseDestination$outboundSchema)
|
|
42101
|
-
links: lazyType(() => RouteGetResponseLinks$outboundSchema)
|
|
41752
|
+
resource: stringType(),
|
|
41753
|
+
id: stringType(),
|
|
41754
|
+
paymentId: stringType(),
|
|
41755
|
+
amount: Amount$outboundSchema,
|
|
41756
|
+
description: stringType(),
|
|
41757
|
+
destination: lazyType(() => RouteGetResponseDestination$outboundSchema),
|
|
41758
|
+
links: lazyType(() => RouteGetResponseLinks$outboundSchema),
|
|
42102
41759
|
createdAt: stringType()
|
|
42103
41760
|
}).transform((v2) => {
|
|
42104
41761
|
return remap(v2, {
|
|
@@ -42149,26 +41806,20 @@ var init_subscriptionmethod = __esm(() => {
|
|
|
42149
41806
|
// src/models/subscriptionmethodresponse.ts
|
|
42150
41807
|
var SubscriptionMethodResponse, SubscriptionMethodResponse$inboundSchema, SubscriptionMethodResponse$outboundSchema;
|
|
42151
41808
|
var init_subscriptionmethodresponse = __esm(() => {
|
|
42152
|
-
|
|
41809
|
+
init_enums();
|
|
42153
41810
|
SubscriptionMethodResponse = {
|
|
42154
41811
|
Creditcard: "creditcard",
|
|
42155
41812
|
Directdebit: "directdebit",
|
|
42156
41813
|
Paypal: "paypal"
|
|
42157
41814
|
};
|
|
42158
|
-
SubscriptionMethodResponse$inboundSchema =
|
|
42159
|
-
|
|
42160
|
-
stringType().transform(catchUnrecognizedEnum)
|
|
42161
|
-
]);
|
|
42162
|
-
SubscriptionMethodResponse$outboundSchema = unionType([
|
|
42163
|
-
nativeEnumType(SubscriptionMethodResponse),
|
|
42164
|
-
stringType().and(custom())
|
|
42165
|
-
]);
|
|
41815
|
+
SubscriptionMethodResponse$inboundSchema = inboundSchema(SubscriptionMethodResponse);
|
|
41816
|
+
SubscriptionMethodResponse$outboundSchema = outboundSchema(SubscriptionMethodResponse);
|
|
42166
41817
|
});
|
|
42167
41818
|
|
|
42168
41819
|
// src/models/subscriptionstatus.ts
|
|
42169
41820
|
var SubscriptionStatus, SubscriptionStatus$inboundSchema, SubscriptionStatus$outboundSchema;
|
|
42170
41821
|
var init_subscriptionstatus = __esm(() => {
|
|
42171
|
-
|
|
41822
|
+
init_enums();
|
|
42172
41823
|
SubscriptionStatus = {
|
|
42173
41824
|
Pending: "pending",
|
|
42174
41825
|
Active: "active",
|
|
@@ -42176,14 +41827,8 @@ var init_subscriptionstatus = __esm(() => {
|
|
|
42176
41827
|
Suspended: "suspended",
|
|
42177
41828
|
Completed: "completed"
|
|
42178
41829
|
};
|
|
42179
|
-
SubscriptionStatus$inboundSchema =
|
|
42180
|
-
|
|
42181
|
-
stringType().transform(catchUnrecognizedEnum)
|
|
42182
|
-
]);
|
|
42183
|
-
SubscriptionStatus$outboundSchema = unionType([
|
|
42184
|
-
nativeEnumType(SubscriptionStatus),
|
|
42185
|
-
stringType().and(custom())
|
|
42186
|
-
]);
|
|
41830
|
+
SubscriptionStatus$inboundSchema = inboundSchema(SubscriptionStatus);
|
|
41831
|
+
SubscriptionStatus$outboundSchema = outboundSchema(SubscriptionStatus);
|
|
42187
41832
|
});
|
|
42188
41833
|
|
|
42189
41834
|
// src/models/subscriptionrequest.ts
|
|
@@ -42273,52 +41918,52 @@ var init_subscriptionresponse = __esm(() => {
|
|
|
42273
41918
|
documentation: Url$outboundSchema
|
|
42274
41919
|
});
|
|
42275
41920
|
SubscriptionResponse$inboundSchema = objectType({
|
|
42276
|
-
resource: stringType()
|
|
42277
|
-
id: stringType()
|
|
42278
|
-
mode: Mode$inboundSchema
|
|
42279
|
-
status: SubscriptionStatus$inboundSchema
|
|
42280
|
-
amount: Amount$inboundSchema
|
|
42281
|
-
times: nullableType(numberType().int())
|
|
42282
|
-
timesRemaining: nullableType(numberType().int())
|
|
42283
|
-
interval: stringType()
|
|
42284
|
-
startDate: stringType()
|
|
41921
|
+
resource: stringType(),
|
|
41922
|
+
id: stringType(),
|
|
41923
|
+
mode: Mode$inboundSchema,
|
|
41924
|
+
status: SubscriptionStatus$inboundSchema,
|
|
41925
|
+
amount: Amount$inboundSchema,
|
|
41926
|
+
times: nullableType(numberType().int()),
|
|
41927
|
+
timesRemaining: nullableType(numberType().int()),
|
|
41928
|
+
interval: stringType(),
|
|
41929
|
+
startDate: stringType(),
|
|
42285
41930
|
nextPaymentDate: nullableType(stringType()).optional(),
|
|
42286
|
-
description: stringType()
|
|
42287
|
-
method: nullableType(SubscriptionMethodResponse$inboundSchema)
|
|
41931
|
+
description: stringType(),
|
|
41932
|
+
method: nullableType(SubscriptionMethodResponse$inboundSchema),
|
|
42288
41933
|
applicationFee: lazyType(() => SubscriptionResponseApplicationFee$inboundSchema).optional(),
|
|
42289
|
-
metadata: nullableType(Metadata$inboundSchema)
|
|
42290
|
-
webhookUrl: stringType()
|
|
42291
|
-
customerId: stringType()
|
|
41934
|
+
metadata: nullableType(Metadata$inboundSchema),
|
|
41935
|
+
webhookUrl: stringType(),
|
|
41936
|
+
customerId: stringType(),
|
|
42292
41937
|
mandateId: stringType().optional(),
|
|
42293
|
-
createdAt: stringType()
|
|
41938
|
+
createdAt: stringType(),
|
|
42294
41939
|
canceledAt: nullableType(stringType()).optional(),
|
|
42295
|
-
_links: lazyType(() => SubscriptionResponseLinks$inboundSchema)
|
|
41940
|
+
_links: lazyType(() => SubscriptionResponseLinks$inboundSchema)
|
|
42296
41941
|
}).transform((v2) => {
|
|
42297
41942
|
return remap(v2, {
|
|
42298
41943
|
_links: "links"
|
|
42299
41944
|
});
|
|
42300
41945
|
});
|
|
42301
41946
|
SubscriptionResponse$outboundSchema = objectType({
|
|
42302
|
-
resource: stringType()
|
|
42303
|
-
id: stringType()
|
|
42304
|
-
mode: Mode$outboundSchema
|
|
42305
|
-
status: SubscriptionStatus$outboundSchema
|
|
42306
|
-
amount: Amount$outboundSchema
|
|
42307
|
-
times: nullableType(numberType().int())
|
|
42308
|
-
timesRemaining: nullableType(numberType().int())
|
|
42309
|
-
interval: stringType()
|
|
42310
|
-
startDate: stringType()
|
|
41947
|
+
resource: stringType(),
|
|
41948
|
+
id: stringType(),
|
|
41949
|
+
mode: Mode$outboundSchema,
|
|
41950
|
+
status: SubscriptionStatus$outboundSchema,
|
|
41951
|
+
amount: Amount$outboundSchema,
|
|
41952
|
+
times: nullableType(numberType().int()),
|
|
41953
|
+
timesRemaining: nullableType(numberType().int()),
|
|
41954
|
+
interval: stringType(),
|
|
41955
|
+
startDate: stringType(),
|
|
42311
41956
|
nextPaymentDate: nullableType(stringType()).optional(),
|
|
42312
|
-
description: stringType()
|
|
42313
|
-
method: nullableType(SubscriptionMethodResponse$outboundSchema)
|
|
41957
|
+
description: stringType(),
|
|
41958
|
+
method: nullableType(SubscriptionMethodResponse$outboundSchema),
|
|
42314
41959
|
applicationFee: lazyType(() => SubscriptionResponseApplicationFee$outboundSchema).optional(),
|
|
42315
|
-
metadata: nullableType(Metadata$outboundSchema)
|
|
42316
|
-
webhookUrl: stringType()
|
|
42317
|
-
customerId: stringType()
|
|
41960
|
+
metadata: nullableType(Metadata$outboundSchema),
|
|
41961
|
+
webhookUrl: stringType(),
|
|
41962
|
+
customerId: stringType(),
|
|
42318
41963
|
mandateId: stringType().optional(),
|
|
42319
|
-
createdAt: stringType()
|
|
41964
|
+
createdAt: stringType(),
|
|
42320
41965
|
canceledAt: nullableType(stringType()).optional(),
|
|
42321
|
-
links: lazyType(() => SubscriptionResponseLinks$outboundSchema)
|
|
41966
|
+
links: lazyType(() => SubscriptionResponseLinks$outboundSchema)
|
|
42322
41967
|
}).transform((v2) => {
|
|
42323
41968
|
return remap(v2, {
|
|
42324
41969
|
links: "_links"
|
|
@@ -42387,6 +42032,7 @@ var init_models = __esm(() => {
|
|
|
42387
42032
|
init_capturemoderesponse();
|
|
42388
42033
|
init_captureresponse();
|
|
42389
42034
|
init_capturestatus();
|
|
42035
|
+
init_clientlinkrequest();
|
|
42390
42036
|
init_clientlinkresponse();
|
|
42391
42037
|
init_componentssubtotals();
|
|
42392
42038
|
init_createwebhook();
|
|
@@ -42404,11 +42050,9 @@ var init_models = __esm(() => {
|
|
|
42404
42050
|
init_entitycapabilityrequirement();
|
|
42405
42051
|
init_entitycapture();
|
|
42406
42052
|
init_entitychargeback();
|
|
42407
|
-
init_entityclientlink();
|
|
42408
42053
|
init_entitycustomer();
|
|
42409
42054
|
init_entityevent();
|
|
42410
42055
|
init_entityinvoice();
|
|
42411
|
-
init_entitymandate();
|
|
42412
42056
|
init_entitymethod();
|
|
42413
42057
|
init_entitymethodall();
|
|
42414
42058
|
init_entityonboardingstatus();
|
|
@@ -42416,8 +42060,6 @@ var init_models = __esm(() => {
|
|
|
42416
42060
|
init_entitypaymentroute();
|
|
42417
42061
|
init_entitypaymentrouteresponse();
|
|
42418
42062
|
init_entitypermission();
|
|
42419
|
-
init_entityprofile();
|
|
42420
|
-
init_entityrefund();
|
|
42421
42063
|
init_entityrefundresponse();
|
|
42422
42064
|
init_entityroute();
|
|
42423
42065
|
init_entitysalesinvoice();
|
|
@@ -42436,6 +42078,7 @@ var init_models = __esm(() => {
|
|
|
42436
42078
|
init_mandatedetailscardlabelresponse();
|
|
42437
42079
|
init_mandatemethod();
|
|
42438
42080
|
init_mandatemethodresponse();
|
|
42081
|
+
init_mandaterequest();
|
|
42439
42082
|
init_mandateresponse();
|
|
42440
42083
|
init_mandatestatus();
|
|
42441
42084
|
init_metadata();
|
|
@@ -42472,12 +42115,14 @@ var init_models = __esm(() => {
|
|
|
42472
42115
|
init_paymentrequest();
|
|
42473
42116
|
init_paymentresponse();
|
|
42474
42117
|
init_paymentstatus();
|
|
42118
|
+
init_profilerequest();
|
|
42475
42119
|
init_profileresponse();
|
|
42476
42120
|
init_profilereviewstatusresponse();
|
|
42477
42121
|
init_profilestatus();
|
|
42478
42122
|
init_recurringlineitem();
|
|
42479
42123
|
init_refundexternalreferencetype();
|
|
42480
42124
|
init_refundexternalreferencetyperesponse();
|
|
42125
|
+
init_refundrequest();
|
|
42481
42126
|
init_refundroutingreversalssourcetype();
|
|
42482
42127
|
init_refundstatus();
|
|
42483
42128
|
init_routecreateresponse();
|
|
@@ -42738,20 +42383,20 @@ var init_createclientlink = __esm(() => {
|
|
|
42738
42383
|
init_models();
|
|
42739
42384
|
CreateClientLinkRequest$inboundSchema = objectType({
|
|
42740
42385
|
"idempotency-key": stringType().optional(),
|
|
42741
|
-
"
|
|
42386
|
+
"client-link-request": ClientLinkRequest$inboundSchema.optional()
|
|
42742
42387
|
}).transform((v2) => {
|
|
42743
42388
|
return remap(v2, {
|
|
42744
42389
|
"idempotency-key": "idempotencyKey",
|
|
42745
|
-
"
|
|
42390
|
+
"client-link-request": "clientLinkRequest"
|
|
42746
42391
|
});
|
|
42747
42392
|
});
|
|
42748
42393
|
CreateClientLinkRequest$outboundSchema = objectType({
|
|
42749
42394
|
idempotencyKey: stringType().optional(),
|
|
42750
|
-
|
|
42395
|
+
clientLinkRequest: ClientLinkRequest$outboundSchema.optional()
|
|
42751
42396
|
}).transform((v2) => {
|
|
42752
42397
|
return remap(v2, {
|
|
42753
42398
|
idempotencyKey: "idempotency-key",
|
|
42754
|
-
|
|
42399
|
+
clientLinkRequest: "client-link-request"
|
|
42755
42400
|
});
|
|
42756
42401
|
});
|
|
42757
42402
|
});
|
|
@@ -42845,21 +42490,21 @@ var init_createmandate = __esm(() => {
|
|
|
42845
42490
|
CreateMandateRequest$inboundSchema = objectType({
|
|
42846
42491
|
customerId: stringType(),
|
|
42847
42492
|
"idempotency-key": stringType().optional(),
|
|
42848
|
-
"
|
|
42493
|
+
"mandate-request": MandateRequest$inboundSchema.optional()
|
|
42849
42494
|
}).transform((v2) => {
|
|
42850
42495
|
return remap(v2, {
|
|
42851
42496
|
"idempotency-key": "idempotencyKey",
|
|
42852
|
-
"
|
|
42497
|
+
"mandate-request": "mandateRequest"
|
|
42853
42498
|
});
|
|
42854
42499
|
});
|
|
42855
42500
|
CreateMandateRequest$outboundSchema = objectType({
|
|
42856
42501
|
customerId: stringType(),
|
|
42857
42502
|
idempotencyKey: stringType().optional(),
|
|
42858
|
-
|
|
42503
|
+
mandateRequest: MandateRequest$outboundSchema.optional()
|
|
42859
42504
|
}).transform((v2) => {
|
|
42860
42505
|
return remap(v2, {
|
|
42861
42506
|
idempotencyKey: "idempotency-key",
|
|
42862
|
-
|
|
42507
|
+
mandateRequest: "mandate-request"
|
|
42863
42508
|
});
|
|
42864
42509
|
});
|
|
42865
42510
|
});
|
|
@@ -42972,20 +42617,20 @@ var init_createprofile = __esm(() => {
|
|
|
42972
42617
|
init_models();
|
|
42973
42618
|
CreateProfileRequest$inboundSchema = objectType({
|
|
42974
42619
|
"idempotency-key": stringType().optional(),
|
|
42975
|
-
"
|
|
42620
|
+
"profile-request": ProfileRequest$inboundSchema
|
|
42976
42621
|
}).transform((v2) => {
|
|
42977
42622
|
return remap(v2, {
|
|
42978
42623
|
"idempotency-key": "idempotencyKey",
|
|
42979
|
-
"
|
|
42624
|
+
"profile-request": "profileRequest"
|
|
42980
42625
|
});
|
|
42981
42626
|
});
|
|
42982
42627
|
CreateProfileRequest$outboundSchema = objectType({
|
|
42983
42628
|
idempotencyKey: stringType().optional(),
|
|
42984
|
-
|
|
42629
|
+
profileRequest: ProfileRequest$outboundSchema
|
|
42985
42630
|
}).transform((v2) => {
|
|
42986
42631
|
return remap(v2, {
|
|
42987
42632
|
idempotencyKey: "idempotency-key",
|
|
42988
|
-
|
|
42633
|
+
profileRequest: "profile-request"
|
|
42989
42634
|
});
|
|
42990
42635
|
});
|
|
42991
42636
|
});
|
|
@@ -42999,21 +42644,21 @@ var init_createrefund = __esm(() => {
|
|
|
42999
42644
|
CreateRefundRequest$inboundSchema = objectType({
|
|
43000
42645
|
paymentId: stringType(),
|
|
43001
42646
|
"idempotency-key": stringType().optional(),
|
|
43002
|
-
"
|
|
42647
|
+
"refund-request": RefundRequest$inboundSchema.optional()
|
|
43003
42648
|
}).transform((v2) => {
|
|
43004
42649
|
return remap(v2, {
|
|
43005
42650
|
"idempotency-key": "idempotencyKey",
|
|
43006
|
-
"
|
|
42651
|
+
"refund-request": "refundRequest"
|
|
43007
42652
|
});
|
|
43008
42653
|
});
|
|
43009
42654
|
CreateRefundRequest$outboundSchema = objectType({
|
|
43010
42655
|
paymentId: stringType(),
|
|
43011
42656
|
idempotencyKey: stringType().optional(),
|
|
43012
|
-
|
|
42657
|
+
refundRequest: RefundRequest$outboundSchema.optional()
|
|
43013
42658
|
}).transform((v2) => {
|
|
43014
42659
|
return remap(v2, {
|
|
43015
42660
|
idempotencyKey: "idempotency-key",
|
|
43016
|
-
|
|
42661
|
+
refundRequest: "refund-request"
|
|
43017
42662
|
});
|
|
43018
42663
|
});
|
|
43019
42664
|
});
|
|
@@ -43609,15 +43254,15 @@ var init_getcustomer = __esm(() => {
|
|
|
43609
43254
|
documentation: Url$outboundSchema
|
|
43610
43255
|
});
|
|
43611
43256
|
GetCustomerResponse$inboundSchema = objectType({
|
|
43612
|
-
resource: stringType()
|
|
43613
|
-
id: stringType()
|
|
43614
|
-
mode: Mode$inboundSchema
|
|
43615
|
-
name: nullableType(stringType())
|
|
43616
|
-
email: nullableType(stringType())
|
|
43617
|
-
locale: nullableType(LocaleResponse$inboundSchema)
|
|
43618
|
-
metadata: nullableType(Metadata$inboundSchema)
|
|
43619
|
-
createdAt: stringType()
|
|
43620
|
-
_links: lazyType(() => GetCustomerLinks$inboundSchema)
|
|
43257
|
+
resource: stringType(),
|
|
43258
|
+
id: stringType(),
|
|
43259
|
+
mode: Mode$inboundSchema,
|
|
43260
|
+
name: nullableType(stringType()),
|
|
43261
|
+
email: nullableType(stringType()),
|
|
43262
|
+
locale: nullableType(LocaleResponse$inboundSchema),
|
|
43263
|
+
metadata: nullableType(Metadata$inboundSchema),
|
|
43264
|
+
createdAt: stringType(),
|
|
43265
|
+
_links: lazyType(() => GetCustomerLinks$inboundSchema),
|
|
43621
43266
|
events: arrayType(EntityEvent$inboundSchema).optional()
|
|
43622
43267
|
}).transform((v2) => {
|
|
43623
43268
|
return remap(v2, {
|
|
@@ -43625,15 +43270,15 @@ var init_getcustomer = __esm(() => {
|
|
|
43625
43270
|
});
|
|
43626
43271
|
});
|
|
43627
43272
|
GetCustomerResponse$outboundSchema = objectType({
|
|
43628
|
-
resource: stringType()
|
|
43629
|
-
id: stringType()
|
|
43630
|
-
mode: Mode$outboundSchema
|
|
43631
|
-
name: nullableType(stringType())
|
|
43632
|
-
email: nullableType(stringType())
|
|
43633
|
-
locale: nullableType(LocaleResponse$outboundSchema)
|
|
43634
|
-
metadata: nullableType(Metadata$outboundSchema)
|
|
43635
|
-
createdAt: stringType()
|
|
43636
|
-
links: lazyType(() => GetCustomerLinks$outboundSchema)
|
|
43273
|
+
resource: stringType(),
|
|
43274
|
+
id: stringType(),
|
|
43275
|
+
mode: Mode$outboundSchema,
|
|
43276
|
+
name: nullableType(stringType()),
|
|
43277
|
+
email: nullableType(stringType()),
|
|
43278
|
+
locale: nullableType(LocaleResponse$outboundSchema),
|
|
43279
|
+
metadata: nullableType(Metadata$outboundSchema),
|
|
43280
|
+
createdAt: stringType(),
|
|
43281
|
+
links: lazyType(() => GetCustomerLinks$outboundSchema),
|
|
43637
43282
|
events: arrayType(EntityEvent$outboundSchema).optional()
|
|
43638
43283
|
}).transform((v2) => {
|
|
43639
43284
|
return remap(v2, {
|
|
@@ -49063,7 +48708,7 @@ async function $do16(client, request, options) {
|
|
|
49063
48708
|
return [parsed, { status: "invalid" }];
|
|
49064
48709
|
}
|
|
49065
48710
|
const payload = parsed.value;
|
|
49066
|
-
const body = encodeJSON("body", payload?.["
|
|
48711
|
+
const body = encodeJSON("body", payload?.["client-link-request"], {
|
|
49067
48712
|
explode: true
|
|
49068
48713
|
});
|
|
49069
48714
|
const path = pathToFunc("/client-links")();
|
|
@@ -49802,7 +49447,7 @@ async function $do21(client, request, options) {
|
|
|
49802
49447
|
const responseFields = {
|
|
49803
49448
|
HttpMeta: { Response: response, Request: req }
|
|
49804
49449
|
};
|
|
49805
|
-
const [result] = await match(
|
|
49450
|
+
const [result] = await match(nil(204, voidType()), jsonErr(404, ErrorResponse$inboundSchema, {
|
|
49806
49451
|
ctype: "application/hal+json"
|
|
49807
49452
|
}), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
49808
49453
|
if (!result.ok) {
|
|
@@ -49846,8 +49491,7 @@ Delete a customer. All mandates and subscriptions created for this customer will
|
|
|
49846
49491
|
isError: true
|
|
49847
49492
|
};
|
|
49848
49493
|
}
|
|
49849
|
-
|
|
49850
|
-
return formatResult(value, apiCall);
|
|
49494
|
+
return formatResult(undefined, apiCall);
|
|
49851
49495
|
}
|
|
49852
49496
|
};
|
|
49853
49497
|
});
|
|
@@ -50869,7 +50513,9 @@ async function $do30(client, request, options) {
|
|
|
50869
50513
|
return [parsed, { status: "invalid" }];
|
|
50870
50514
|
}
|
|
50871
50515
|
const payload = parsed.value;
|
|
50872
|
-
const body = encodeJSON("body", payload["
|
|
50516
|
+
const body = encodeJSON("body", payload["mandate-request"], {
|
|
50517
|
+
explode: true
|
|
50518
|
+
});
|
|
50873
50519
|
const pathParams = {
|
|
50874
50520
|
customerId: encodeSimple("customerId", payload.customerId, {
|
|
50875
50521
|
explode: false,
|
|
@@ -51322,7 +50968,7 @@ async function $do33(client, request, options) {
|
|
|
51322
50968
|
const responseFields = {
|
|
51323
50969
|
HttpMeta: { Response: response, Request: req }
|
|
51324
50970
|
};
|
|
51325
|
-
const [result] = await match(
|
|
50971
|
+
const [result] = await match(nil(204, voidType()), jsonErr(404, ErrorResponse$inboundSchema, {
|
|
51326
50972
|
ctype: "application/hal+json"
|
|
51327
50973
|
}), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
51328
50974
|
if (!result.ok) {
|
|
@@ -51367,8 +51013,7 @@ mandate, and all connected subscriptions will be canceled.`,
|
|
|
51367
51013
|
isError: true
|
|
51368
51014
|
};
|
|
51369
51015
|
}
|
|
51370
|
-
|
|
51371
|
-
return formatResult(value, apiCall);
|
|
51016
|
+
return formatResult(undefined, apiCall);
|
|
51372
51017
|
}
|
|
51373
51018
|
};
|
|
51374
51019
|
});
|
|
@@ -51911,7 +51556,7 @@ async function $do38(client, request, options) {
|
|
|
51911
51556
|
const path = pathToFunc("/onboarding/me")();
|
|
51912
51557
|
const headers = new Headers(compactMap({
|
|
51913
51558
|
"Content-Type": "application/json",
|
|
51914
|
-
Accept: "
|
|
51559
|
+
Accept: "*/*",
|
|
51915
51560
|
"idempotency-key": encodeSimple("idempotency-key", payload?.["idempotency-key"], { explode: false, charEncoding: "none" })
|
|
51916
51561
|
}));
|
|
51917
51562
|
const securityInput = await extractSecurity(client._options.security);
|
|
@@ -51959,7 +51604,7 @@ async function $do38(client, request, options) {
|
|
|
51959
51604
|
return [doResult, { status: "request-error", request: req }];
|
|
51960
51605
|
}
|
|
51961
51606
|
const response = doResult.value;
|
|
51962
|
-
const [result] = await match(
|
|
51607
|
+
const [result] = await match(nil(204, voidType()), fail("4XX"), fail("5XX"))(response, req);
|
|
51963
51608
|
if (!result.ok) {
|
|
51964
51609
|
return [result, { status: "complete", request: req, response }];
|
|
51965
51610
|
}
|
|
@@ -52005,8 +51650,7 @@ Information that the merchant has entered in their dashboard will not be overwri
|
|
|
52005
51650
|
isError: true
|
|
52006
51651
|
};
|
|
52007
51652
|
}
|
|
52008
|
-
|
|
52009
|
-
return formatResult(value, apiCall);
|
|
51653
|
+
return formatResult(undefined, apiCall);
|
|
52010
51654
|
}
|
|
52011
51655
|
};
|
|
52012
51656
|
});
|
|
@@ -52556,7 +52200,7 @@ async function $do43(client, request, options) {
|
|
|
52556
52200
|
const responseFields = {
|
|
52557
52201
|
HttpMeta: { Response: response, Request: req }
|
|
52558
52202
|
};
|
|
52559
|
-
const [result] = await match(
|
|
52203
|
+
const [result] = await match(nil(204, voidType()), jsonErr([404, 422], ErrorResponse$inboundSchema, {
|
|
52560
52204
|
ctype: "application/hal+json"
|
|
52561
52205
|
}), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
52562
52206
|
if (!result.ok) {
|
|
@@ -52606,8 +52250,7 @@ To simply disable a payment link without fully deleting it, you can use the \`ar
|
|
|
52606
52250
|
isError: true
|
|
52607
52251
|
};
|
|
52608
52252
|
}
|
|
52609
|
-
|
|
52610
|
-
return formatResult(value, apiCall);
|
|
52253
|
+
return formatResult(undefined, apiCall);
|
|
52611
52254
|
}
|
|
52612
52255
|
};
|
|
52613
52256
|
});
|
|
@@ -53702,7 +53345,7 @@ async function $do52(client, request, options) {
|
|
|
53702
53345
|
const responseFields = {
|
|
53703
53346
|
HttpMeta: { Response: response, Request: req }
|
|
53704
53347
|
};
|
|
53705
|
-
const [result] = await match(
|
|
53348
|
+
const [result] = await match(nil(202, voidType()), jsonErr([404, 422], ErrorResponse$inboundSchema, {
|
|
53706
53349
|
ctype: "application/hal+json"
|
|
53707
53350
|
}), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
53708
53351
|
if (!result.ok) {
|
|
@@ -53753,8 +53396,7 @@ If there is a successful capture, the payment will transition to \`paid\`.`,
|
|
|
53753
53396
|
isError: true
|
|
53754
53397
|
};
|
|
53755
53398
|
}
|
|
53756
|
-
|
|
53757
|
-
return formatResult(value, apiCall);
|
|
53399
|
+
return formatResult(undefined, apiCall);
|
|
53758
53400
|
}
|
|
53759
53401
|
};
|
|
53760
53402
|
});
|
|
@@ -54137,7 +53779,9 @@ async function $do56(client, request, options) {
|
|
|
54137
53779
|
return [parsed, { status: "invalid" }];
|
|
54138
53780
|
}
|
|
54139
53781
|
const payload = parsed.value;
|
|
54140
|
-
const body = encodeJSON("body", payload["
|
|
53782
|
+
const body = encodeJSON("body", payload["profile-request"], {
|
|
53783
|
+
explode: true
|
|
53784
|
+
});
|
|
54141
53785
|
const path = pathToFunc("/profiles")();
|
|
54142
53786
|
const headers = new Headers(compactMap({
|
|
54143
53787
|
"Content-Type": "application/json",
|
|
@@ -54317,7 +53961,7 @@ async function $do57(client, request, options) {
|
|
|
54317
53961
|
const responseFields = {
|
|
54318
53962
|
HttpMeta: { Response: response, Request: req }
|
|
54319
53963
|
};
|
|
54320
|
-
const [result] = await match(
|
|
53964
|
+
const [result] = await match(nil(204, voidType()), jsonErr([404, 410], ErrorResponse$inboundSchema, {
|
|
54321
53965
|
ctype: "application/hal+json"
|
|
54322
53966
|
}), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
54323
53967
|
if (!result.ok) {
|
|
@@ -54361,8 +54005,7 @@ Delete a profile. A deleted profile and its related credentials can no longer be
|
|
|
54361
54005
|
isError: true
|
|
54362
54006
|
};
|
|
54363
54007
|
}
|
|
54364
|
-
|
|
54365
|
-
return formatResult(value, apiCall);
|
|
54008
|
+
return formatResult(undefined, apiCall);
|
|
54366
54009
|
}
|
|
54367
54010
|
};
|
|
54368
54011
|
});
|
|
@@ -55059,7 +54702,7 @@ async function $do63(client, request, options) {
|
|
|
55059
54702
|
const responseFields = {
|
|
55060
54703
|
HttpMeta: { Response: response, Request: req }
|
|
55061
54704
|
};
|
|
55062
|
-
const [result] = await match(
|
|
54705
|
+
const [result] = await match(nil(204, voidType()), jsonErr(404, ErrorResponse$inboundSchema, {
|
|
55063
54706
|
ctype: "application/hal+json"
|
|
55064
54707
|
}), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
55065
54708
|
if (!result.ok) {
|
|
@@ -55107,8 +54750,7 @@ A refund can only be canceled while its \`status\` field is either \`queued\` or
|
|
|
55107
54750
|
isError: true
|
|
55108
54751
|
};
|
|
55109
54752
|
}
|
|
55110
|
-
|
|
55111
|
-
return formatResult(value, apiCall);
|
|
54753
|
+
return formatResult(undefined, apiCall);
|
|
55112
54754
|
}
|
|
55113
54755
|
};
|
|
55114
54756
|
});
|
|
@@ -55123,7 +54765,7 @@ async function $do64(client, request, options) {
|
|
|
55123
54765
|
return [parsed, { status: "invalid" }];
|
|
55124
54766
|
}
|
|
55125
54767
|
const payload = parsed.value;
|
|
55126
|
-
const body = encodeJSON("body", payload["
|
|
54768
|
+
const body = encodeJSON("body", payload["refund-request"], { explode: true });
|
|
55127
54769
|
const pathParams = {
|
|
55128
54770
|
paymentId: encodeSimple("paymentId", payload.paymentId, {
|
|
55129
54771
|
explode: false,
|
|
@@ -55694,7 +55336,7 @@ async function $do68(client, request, options) {
|
|
|
55694
55336
|
const responseFields = {
|
|
55695
55337
|
HttpMeta: { Response: response, Request: req }
|
|
55696
55338
|
};
|
|
55697
|
-
const [result] = await match(
|
|
55339
|
+
const [result] = await match(nil(204, voidType()), jsonErr([404, 422], ErrorResponse$inboundSchema, {
|
|
55698
55340
|
ctype: "application/hal+json"
|
|
55699
55341
|
}), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
55700
55342
|
if (!result.ok) {
|
|
@@ -55743,8 +55385,7 @@ Sales invoices which are in status \`draft\` can be deleted. For all other statu
|
|
|
55743
55385
|
isError: true
|
|
55744
55386
|
};
|
|
55745
55387
|
}
|
|
55746
|
-
|
|
55747
|
-
return formatResult(value, apiCall);
|
|
55388
|
+
return formatResult(undefined, apiCall);
|
|
55748
55389
|
}
|
|
55749
55390
|
};
|
|
55750
55391
|
});
|
|
@@ -58770,7 +58411,7 @@ async function $do92(client, request, options) {
|
|
|
58770
58411
|
const responseFields = {
|
|
58771
58412
|
HttpMeta: { Response: response, Request: req }
|
|
58772
58413
|
};
|
|
58773
|
-
const [result] = await match(
|
|
58414
|
+
const [result] = await match(nil(204, voidType()), jsonErr([404, 422], ErrorResponse$inboundSchema, {
|
|
58774
58415
|
ctype: "application/hal+json"
|
|
58775
58416
|
}), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
58776
58417
|
if (!result.ok) {
|
|
@@ -58814,8 +58455,7 @@ Delete a single webhook object by its webhook ID.`,
|
|
|
58814
58455
|
isError: true
|
|
58815
58456
|
};
|
|
58816
58457
|
}
|
|
58817
|
-
|
|
58818
|
-
return formatResult(value, apiCall);
|
|
58458
|
+
return formatResult(undefined, apiCall);
|
|
58819
58459
|
}
|
|
58820
58460
|
};
|
|
58821
58461
|
});
|
|
@@ -59140,7 +58780,7 @@ async function $do95(client, request, options) {
|
|
|
59140
58780
|
const responseFields = {
|
|
59141
58781
|
HttpMeta: { Response: response, Request: req }
|
|
59142
58782
|
};
|
|
59143
|
-
const [result] = await match(
|
|
58783
|
+
const [result] = await match(nil(202, voidType()), jsonErr([404, 422], ErrorResponse$inboundSchema, {
|
|
59144
58784
|
ctype: "application/hal+json"
|
|
59145
58785
|
}), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
59146
58786
|
if (!result.ok) {
|
|
@@ -59184,8 +58824,7 @@ Sends a test event to the webhook to verify the endpoint is working as expected.
|
|
|
59184
58824
|
isError: true
|
|
59185
58825
|
};
|
|
59186
58826
|
}
|
|
59187
|
-
|
|
59188
|
-
return formatResult(value, apiCall);
|
|
58827
|
+
return formatResult(undefined, apiCall);
|
|
59189
58828
|
}
|
|
59190
58829
|
};
|
|
59191
58830
|
});
|
|
@@ -59317,7 +58956,7 @@ Updates the webhook. You may edit the name, url and the list of subscribed event
|
|
|
59317
58956
|
function createMCPServer(deps) {
|
|
59318
58957
|
const server = new McpServer({
|
|
59319
58958
|
name: "Client",
|
|
59320
|
-
version: "0.8.
|
|
58959
|
+
version: "0.8.3"
|
|
59321
58960
|
});
|
|
59322
58961
|
const client = new ClientCore({
|
|
59323
58962
|
security: deps.security,
|
|
@@ -60745,7 +60384,7 @@ var routes = an({
|
|
|
60745
60384
|
var app = He(routes, {
|
|
60746
60385
|
name: "mcp",
|
|
60747
60386
|
versionInfo: {
|
|
60748
|
-
currentVersion: "0.8.
|
|
60387
|
+
currentVersion: "0.8.3"
|
|
60749
60388
|
}
|
|
60750
60389
|
});
|
|
60751
60390
|
zt(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -60753,5 +60392,5 @@ export {
|
|
|
60753
60392
|
app
|
|
60754
60393
|
};
|
|
60755
60394
|
|
|
60756
|
-
//# debugId=
|
|
60395
|
+
//# debugId=2EB03AFB29CBB13764756E2164756E21
|
|
60757
60396
|
//# sourceMappingURL=mcp-server.js.map
|