mollie-api-typescript 0.3.4 → 0.4.1
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 +608 -630
- package/bin/mcp-server.js.map +52 -49
- package/dist/commonjs/funcs/clientLinksCreate.d.ts +1 -1
- package/dist/commonjs/funcs/clientLinksCreate.d.ts.map +1 -1
- package/dist/commonjs/funcs/clientLinksCreate.js +1 -1
- package/dist/commonjs/funcs/clientLinksCreate.js.map +1 -1
- package/dist/commonjs/funcs/delayedRoutingCreate.js +1 -3
- package/dist/commonjs/funcs/delayedRoutingCreate.js.map +1 -1
- package/dist/commonjs/funcs/profilesCreate.d.ts +1 -1
- package/dist/commonjs/funcs/profilesCreate.d.ts.map +1 -1
- package/dist/commonjs/funcs/profilesCreate.js +1 -1
- package/dist/commonjs/funcs/profilesCreate.js.map +1 -1
- package/dist/commonjs/funcs/profilesGet.d.ts +1 -1
- package/dist/commonjs/funcs/profilesGet.d.ts.map +1 -1
- package/dist/commonjs/funcs/profilesGet.js +1 -1
- package/dist/commonjs/funcs/profilesGet.js.map +1 -1
- package/dist/commonjs/funcs/profilesGetCurrent.d.ts +1 -1
- package/dist/commonjs/funcs/profilesGetCurrent.d.ts.map +1 -1
- package/dist/commonjs/funcs/profilesGetCurrent.js +1 -1
- package/dist/commonjs/funcs/profilesGetCurrent.js.map +1 -1
- package/dist/commonjs/funcs/profilesUpdate.d.ts +1 -1
- package/dist/commonjs/funcs/profilesUpdate.d.ts.map +1 -1
- package/dist/commonjs/funcs/profilesUpdate.js +1 -1
- package/dist/commonjs/funcs/profilesUpdate.js.map +1 -1
- package/dist/commonjs/lib/config.d.ts +3 -3
- package/dist/commonjs/lib/config.js +3 -3
- package/dist/commonjs/lib/config.js.map +1 -1
- package/dist/commonjs/lib/env.d.ts.map +1 -1
- package/dist/commonjs/lib/env.js +18 -1
- package/dist/commonjs/lib/env.js.map +1 -1
- package/dist/commonjs/mcp-server/mcp-server.js +1 -1
- package/dist/commonjs/mcp-server/server.js +1 -1
- package/dist/commonjs/models/address.d.ts +8 -8
- package/dist/commonjs/models/address.d.ts.map +1 -1
- package/dist/commonjs/models/address.js +8 -8
- package/dist/commonjs/models/address.js.map +1 -1
- package/dist/commonjs/models/clientlinkresponse.d.ts +87 -0
- package/dist/commonjs/models/clientlinkresponse.d.ts.map +1 -0
- package/dist/commonjs/models/clientlinkresponse.js +114 -0
- package/dist/commonjs/models/clientlinkresponse.js.map +1 -0
- package/dist/commonjs/models/entitybalance.d.ts +20 -20
- package/dist/commonjs/models/entitybalance.d.ts.map +1 -1
- package/dist/commonjs/models/entitybalance.js +20 -20
- package/dist/commonjs/models/entitybalance.js.map +1 -1
- package/dist/commonjs/models/entitybalancereport.d.ts +16 -16
- package/dist/commonjs/models/entitybalancereport.d.ts.map +1 -1
- package/dist/commonjs/models/entitybalancereport.js +16 -16
- package/dist/commonjs/models/entitybalancereport.js.map +1 -1
- package/dist/commonjs/models/entitybalancetransaction.d.ts +12 -12
- package/dist/commonjs/models/entitybalancetransaction.d.ts.map +1 -1
- package/dist/commonjs/models/entitybalancetransaction.js +12 -12
- package/dist/commonjs/models/entitybalancetransaction.js.map +1 -1
- package/dist/commonjs/models/entitycapability.d.ts +10 -10
- package/dist/commonjs/models/entitycapability.d.ts.map +1 -1
- package/dist/commonjs/models/entitycapability.js +10 -10
- package/dist/commonjs/models/entitycapability.js.map +1 -1
- package/dist/commonjs/models/entitycapabilityrequirement.d.ts +12 -53
- package/dist/commonjs/models/entitycapabilityrequirement.d.ts.map +1 -1
- package/dist/commonjs/models/entitycapabilityrequirement.js +12 -42
- package/dist/commonjs/models/entitycapabilityrequirement.js.map +1 -1
- package/dist/commonjs/models/entityinvoice.d.ts +32 -35
- package/dist/commonjs/models/entityinvoice.d.ts.map +1 -1
- package/dist/commonjs/models/entityinvoice.js +32 -32
- package/dist/commonjs/models/entityinvoice.js.map +1 -1
- package/dist/commonjs/models/entityonboardingstatus.d.ts +14 -14
- package/dist/commonjs/models/entityonboardingstatus.d.ts.map +1 -1
- package/dist/commonjs/models/entityonboardingstatus.js +14 -14
- package/dist/commonjs/models/entityonboardingstatus.js.map +1 -1
- package/dist/commonjs/models/entityorganization.d.ts +16 -19
- package/dist/commonjs/models/entityorganization.d.ts.map +1 -1
- package/dist/commonjs/models/entityorganization.js +16 -16
- package/dist/commonjs/models/entityorganization.js.map +1 -1
- package/dist/commonjs/models/entitypermission.d.ts +10 -10
- package/dist/commonjs/models/entitypermission.d.ts.map +1 -1
- package/dist/commonjs/models/entitypermission.js +10 -10
- package/dist/commonjs/models/entitypermission.js.map +1 -1
- package/dist/commonjs/models/entityroute.d.ts +92 -0
- package/dist/commonjs/models/entityroute.d.ts.map +1 -0
- package/dist/commonjs/models/entityroute.js +110 -0
- package/dist/commonjs/models/entityroute.js.map +1 -0
- package/dist/commonjs/models/entitysalesinvoice.d.ts +0 -12
- package/dist/commonjs/models/entitysalesinvoice.d.ts.map +1 -1
- package/dist/commonjs/models/entitysalesinvoice.js +0 -2
- package/dist/commonjs/models/entitysalesinvoice.js.map +1 -1
- package/dist/commonjs/models/entitysalesinvoiceresponse.d.ts +0 -12
- package/dist/commonjs/models/entitysalesinvoiceresponse.d.ts.map +1 -1
- package/dist/commonjs/models/entitysalesinvoiceresponse.js +0 -2
- package/dist/commonjs/models/entitysalesinvoiceresponse.js.map +1 -1
- package/dist/commonjs/models/entitywebhookevent.d.ts +5 -5
- package/dist/commonjs/models/entitywebhookevent.d.ts.map +1 -1
- package/dist/commonjs/models/entitywebhookevent.js +5 -8
- package/dist/commonjs/models/entitywebhookevent.js.map +1 -1
- package/dist/commonjs/models/index.d.ts +6 -3
- package/dist/commonjs/models/index.d.ts.map +1 -1
- package/dist/commonjs/models/index.js +6 -3
- package/dist/commonjs/models/index.js.map +1 -1
- package/dist/commonjs/models/methodincludewalletsparameter.d.ts +25 -0
- package/dist/commonjs/models/methodincludewalletsparameter.d.ts.map +1 -0
- package/dist/commonjs/models/methodincludewalletsparameter.js +59 -0
- package/dist/commonjs/models/methodincludewalletsparameter.js.map +1 -0
- package/dist/commonjs/models/methodresourceparameter.d.ts +28 -0
- package/dist/commonjs/models/methodresourceparameter.d.ts.map +1 -0
- package/dist/commonjs/models/methodresourceparameter.js +60 -0
- package/dist/commonjs/models/methodresourceparameter.js.map +1 -0
- package/dist/commonjs/models/onboardingvatregulation.d.ts +47 -0
- package/dist/commonjs/models/onboardingvatregulation.d.ts.map +1 -0
- package/dist/commonjs/models/onboardingvatregulation.js +69 -0
- package/dist/commonjs/models/onboardingvatregulation.js.map +1 -0
- package/dist/commonjs/models/operations/getbalancereport.d.ts +3 -48
- package/dist/commonjs/models/operations/getbalancereport.d.ts.map +1 -1
- package/dist/commonjs/models/operations/getbalancereport.js +4 -33
- package/dist/commonjs/models/operations/getbalancereport.js.map +1 -1
- package/dist/commonjs/models/operations/listallchargebacks.d.ts +8 -8
- package/dist/commonjs/models/operations/listallchargebacks.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listallchargebacks.js +8 -8
- package/dist/commonjs/models/operations/listallchargebacks.js.map +1 -1
- package/dist/commonjs/models/operations/listbalances.d.ts +8 -8
- package/dist/commonjs/models/operations/listbalances.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listbalances.js +8 -8
- package/dist/commonjs/models/operations/listbalances.js.map +1 -1
- package/dist/commonjs/models/operations/listbalancetransactions.d.ts +8 -8
- package/dist/commonjs/models/operations/listbalancetransactions.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listbalancetransactions.js +8 -12
- package/dist/commonjs/models/operations/listbalancetransactions.js.map +1 -1
- package/dist/commonjs/models/operations/listcapabilities.d.ts +13 -37
- package/dist/commonjs/models/operations/listcapabilities.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listcapabilities.js +11 -40
- package/dist/commonjs/models/operations/listcapabilities.js.map +1 -1
- package/dist/commonjs/models/operations/listchargebacks.d.ts +8 -8
- package/dist/commonjs/models/operations/listchargebacks.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listchargebacks.js +8 -8
- package/dist/commonjs/models/operations/listchargebacks.js.map +1 -1
- package/dist/commonjs/models/operations/listinvoices.d.ts +8 -8
- package/dist/commonjs/models/operations/listinvoices.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listinvoices.js +8 -8
- package/dist/commonjs/models/operations/listinvoices.js.map +1 -1
- package/dist/commonjs/models/operations/listmethods.d.ts +2 -84
- package/dist/commonjs/models/operations/listmethods.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listmethods.js +6 -60
- package/dist/commonjs/models/operations/listmethods.js.map +1 -1
- package/dist/commonjs/models/operations/listpermissions.d.ts +8 -8
- package/dist/commonjs/models/operations/listpermissions.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listpermissions.js +8 -8
- package/dist/commonjs/models/operations/listpermissions.js.map +1 -1
- package/dist/commonjs/models/operations/listprofiles.d.ts +8 -8
- package/dist/commonjs/models/operations/listprofiles.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listprofiles.js +8 -8
- package/dist/commonjs/models/operations/listprofiles.js.map +1 -1
- package/dist/commonjs/models/operations/listsettlementchargebacks.d.ts +8 -8
- package/dist/commonjs/models/operations/listsettlementchargebacks.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listsettlementchargebacks.js +8 -10
- package/dist/commonjs/models/operations/listsettlementchargebacks.js.map +1 -1
- package/dist/commonjs/models/operations/paymentcreateroute.d.ts +2 -2
- package/dist/commonjs/models/operations/paymentcreateroute.d.ts.map +1 -1
- package/dist/commonjs/models/operations/paymentcreateroute.js +4 -4
- package/dist/commonjs/models/operations/paymentcreateroute.js.map +1 -1
- package/dist/commonjs/models/operations/paymentlistroutes.d.ts +8 -8
- package/dist/commonjs/models/operations/paymentlistroutes.d.ts.map +1 -1
- package/dist/commonjs/models/operations/paymentlistroutes.js +8 -8
- package/dist/commonjs/models/operations/paymentlistroutes.js.map +1 -1
- package/dist/commonjs/models/operations/submitonboardingdata.d.ts +1 -46
- package/dist/commonjs/models/operations/submitonboardingdata.d.ts.map +1 -1
- package/dist/commonjs/models/operations/submitonboardingdata.js +5 -31
- package/dist/commonjs/models/operations/submitonboardingdata.js.map +1 -1
- package/dist/commonjs/models/operations/updateprofile.d.ts +0 -46
- package/dist/commonjs/models/operations/updateprofile.d.ts.map +1 -1
- package/dist/commonjs/models/operations/updateprofile.js +1 -28
- package/dist/commonjs/models/operations/updateprofile.js.map +1 -1
- package/dist/commonjs/models/{entityprofileresponse.d.ts → profileresponse.d.ts} +29 -29
- package/dist/commonjs/models/profileresponse.d.ts.map +1 -0
- package/dist/commonjs/models/{entityprofileresponse.js → profileresponse.js} +34 -34
- package/dist/commonjs/models/profileresponse.js.map +1 -0
- 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 +16 -14
- package/dist/commonjs/models/routecreateresponse.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 +16 -14
- package/dist/commonjs/models/routegetresponse.js.map +1 -1
- package/dist/commonjs/models/updatevaluessalesinvoice.d.ts +0 -10
- package/dist/commonjs/models/updatevaluessalesinvoice.d.ts.map +1 -1
- package/dist/commonjs/models/updatevaluessalesinvoice.js +0 -2
- package/dist/commonjs/models/updatevaluessalesinvoice.js.map +1 -1
- package/dist/commonjs/sdk/clientlinks.d.ts +1 -1
- package/dist/commonjs/sdk/clientlinks.d.ts.map +1 -1
- package/dist/commonjs/sdk/profiles.d.ts +4 -4
- package/dist/commonjs/sdk/profiles.d.ts.map +1 -1
- package/dist/esm/funcs/clientLinksCreate.d.ts +1 -1
- package/dist/esm/funcs/clientLinksCreate.d.ts.map +1 -1
- package/dist/esm/funcs/clientLinksCreate.js +1 -1
- package/dist/esm/funcs/clientLinksCreate.js.map +1 -1
- package/dist/esm/funcs/delayedRoutingCreate.js +1 -3
- package/dist/esm/funcs/delayedRoutingCreate.js.map +1 -1
- package/dist/esm/funcs/profilesCreate.d.ts +1 -1
- package/dist/esm/funcs/profilesCreate.d.ts.map +1 -1
- package/dist/esm/funcs/profilesCreate.js +1 -1
- package/dist/esm/funcs/profilesCreate.js.map +1 -1
- package/dist/esm/funcs/profilesGet.d.ts +1 -1
- package/dist/esm/funcs/profilesGet.d.ts.map +1 -1
- package/dist/esm/funcs/profilesGet.js +1 -1
- package/dist/esm/funcs/profilesGet.js.map +1 -1
- package/dist/esm/funcs/profilesGetCurrent.d.ts +1 -1
- package/dist/esm/funcs/profilesGetCurrent.d.ts.map +1 -1
- package/dist/esm/funcs/profilesGetCurrent.js +1 -1
- package/dist/esm/funcs/profilesGetCurrent.js.map +1 -1
- package/dist/esm/funcs/profilesUpdate.d.ts +1 -1
- package/dist/esm/funcs/profilesUpdate.d.ts.map +1 -1
- package/dist/esm/funcs/profilesUpdate.js +1 -1
- package/dist/esm/funcs/profilesUpdate.js.map +1 -1
- package/dist/esm/lib/config.d.ts +3 -3
- package/dist/esm/lib/config.js +3 -3
- package/dist/esm/lib/config.js.map +1 -1
- package/dist/esm/lib/env.d.ts.map +1 -1
- package/dist/esm/lib/env.js +18 -1
- package/dist/esm/lib/env.js.map +1 -1
- package/dist/esm/mcp-server/mcp-server.js +1 -1
- package/dist/esm/mcp-server/server.js +1 -1
- package/dist/esm/models/address.d.ts +8 -8
- package/dist/esm/models/address.d.ts.map +1 -1
- package/dist/esm/models/address.js +8 -8
- package/dist/esm/models/address.js.map +1 -1
- package/dist/esm/models/clientlinkresponse.d.ts +87 -0
- package/dist/esm/models/clientlinkresponse.d.ts.map +1 -0
- package/dist/esm/models/clientlinkresponse.js +74 -0
- package/dist/esm/models/clientlinkresponse.js.map +1 -0
- package/dist/esm/models/entitybalance.d.ts +20 -20
- package/dist/esm/models/entitybalance.d.ts.map +1 -1
- package/dist/esm/models/entitybalance.js +20 -20
- package/dist/esm/models/entitybalance.js.map +1 -1
- package/dist/esm/models/entitybalancereport.d.ts +16 -16
- package/dist/esm/models/entitybalancereport.d.ts.map +1 -1
- package/dist/esm/models/entitybalancereport.js +16 -16
- package/dist/esm/models/entitybalancereport.js.map +1 -1
- package/dist/esm/models/entitybalancetransaction.d.ts +12 -12
- package/dist/esm/models/entitybalancetransaction.d.ts.map +1 -1
- package/dist/esm/models/entitybalancetransaction.js +12 -12
- package/dist/esm/models/entitybalancetransaction.js.map +1 -1
- package/dist/esm/models/entitycapability.d.ts +10 -10
- package/dist/esm/models/entitycapability.d.ts.map +1 -1
- package/dist/esm/models/entitycapability.js +10 -10
- package/dist/esm/models/entitycapability.js.map +1 -1
- package/dist/esm/models/entitycapabilityrequirement.d.ts +12 -53
- package/dist/esm/models/entitycapabilityrequirement.d.ts.map +1 -1
- package/dist/esm/models/entitycapabilityrequirement.js +11 -39
- package/dist/esm/models/entitycapabilityrequirement.js.map +1 -1
- package/dist/esm/models/entityinvoice.d.ts +32 -35
- package/dist/esm/models/entityinvoice.d.ts.map +1 -1
- package/dist/esm/models/entityinvoice.js +32 -32
- package/dist/esm/models/entityinvoice.js.map +1 -1
- package/dist/esm/models/entityonboardingstatus.d.ts +14 -14
- package/dist/esm/models/entityonboardingstatus.d.ts.map +1 -1
- package/dist/esm/models/entityonboardingstatus.js +14 -14
- package/dist/esm/models/entityonboardingstatus.js.map +1 -1
- package/dist/esm/models/entityorganization.d.ts +16 -19
- package/dist/esm/models/entityorganization.d.ts.map +1 -1
- package/dist/esm/models/entityorganization.js +16 -16
- package/dist/esm/models/entityorganization.js.map +1 -1
- package/dist/esm/models/entitypermission.d.ts +10 -10
- package/dist/esm/models/entitypermission.d.ts.map +1 -1
- package/dist/esm/models/entitypermission.js +10 -10
- package/dist/esm/models/entitypermission.js.map +1 -1
- package/dist/esm/models/entityroute.d.ts +92 -0
- package/dist/esm/models/entityroute.d.ts.map +1 -0
- package/dist/esm/models/entityroute.js +70 -0
- package/dist/esm/models/entityroute.js.map +1 -0
- package/dist/esm/models/entitysalesinvoice.d.ts +0 -12
- package/dist/esm/models/entitysalesinvoice.d.ts.map +1 -1
- package/dist/esm/models/entitysalesinvoice.js +0 -2
- package/dist/esm/models/entitysalesinvoice.js.map +1 -1
- package/dist/esm/models/entitysalesinvoiceresponse.d.ts +0 -12
- package/dist/esm/models/entitysalesinvoiceresponse.d.ts.map +1 -1
- package/dist/esm/models/entitysalesinvoiceresponse.js +0 -2
- package/dist/esm/models/entitysalesinvoiceresponse.js.map +1 -1
- package/dist/esm/models/entitywebhookevent.d.ts +5 -5
- package/dist/esm/models/entitywebhookevent.d.ts.map +1 -1
- package/dist/esm/models/entitywebhookevent.js +5 -8
- package/dist/esm/models/entitywebhookevent.js.map +1 -1
- package/dist/esm/models/index.d.ts +6 -3
- package/dist/esm/models/index.d.ts.map +1 -1
- package/dist/esm/models/index.js +6 -3
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/methodincludewalletsparameter.d.ts +25 -0
- package/dist/esm/models/methodincludewalletsparameter.d.ts.map +1 -0
- package/dist/esm/models/methodincludewalletsparameter.js +23 -0
- package/dist/esm/models/methodincludewalletsparameter.js.map +1 -0
- package/dist/esm/models/methodresourceparameter.d.ts +28 -0
- package/dist/esm/models/methodresourceparameter.d.ts.map +1 -0
- package/dist/esm/models/methodresourceparameter.js +24 -0
- package/dist/esm/models/methodresourceparameter.js.map +1 -0
- package/dist/esm/models/onboardingvatregulation.d.ts +47 -0
- package/dist/esm/models/onboardingvatregulation.d.ts.map +1 -0
- package/dist/esm/models/onboardingvatregulation.js +33 -0
- package/dist/esm/models/onboardingvatregulation.js.map +1 -0
- package/dist/esm/models/operations/getbalancereport.d.ts +3 -48
- package/dist/esm/models/operations/getbalancereport.d.ts.map +1 -1
- package/dist/esm/models/operations/getbalancereport.js +3 -32
- package/dist/esm/models/operations/getbalancereport.js.map +1 -1
- package/dist/esm/models/operations/listallchargebacks.d.ts +8 -8
- package/dist/esm/models/operations/listallchargebacks.d.ts.map +1 -1
- package/dist/esm/models/operations/listallchargebacks.js +8 -8
- package/dist/esm/models/operations/listallchargebacks.js.map +1 -1
- package/dist/esm/models/operations/listbalances.d.ts +8 -8
- package/dist/esm/models/operations/listbalances.d.ts.map +1 -1
- package/dist/esm/models/operations/listbalances.js +8 -8
- package/dist/esm/models/operations/listbalances.js.map +1 -1
- package/dist/esm/models/operations/listbalancetransactions.d.ts +8 -8
- package/dist/esm/models/operations/listbalancetransactions.d.ts.map +1 -1
- package/dist/esm/models/operations/listbalancetransactions.js +8 -12
- package/dist/esm/models/operations/listbalancetransactions.js.map +1 -1
- package/dist/esm/models/operations/listcapabilities.d.ts +13 -37
- package/dist/esm/models/operations/listcapabilities.d.ts.map +1 -1
- package/dist/esm/models/operations/listcapabilities.js +10 -37
- package/dist/esm/models/operations/listcapabilities.js.map +1 -1
- package/dist/esm/models/operations/listchargebacks.d.ts +8 -8
- package/dist/esm/models/operations/listchargebacks.d.ts.map +1 -1
- package/dist/esm/models/operations/listchargebacks.js +8 -8
- package/dist/esm/models/operations/listchargebacks.js.map +1 -1
- package/dist/esm/models/operations/listinvoices.d.ts +8 -8
- package/dist/esm/models/operations/listinvoices.d.ts.map +1 -1
- package/dist/esm/models/operations/listinvoices.js +8 -8
- package/dist/esm/models/operations/listinvoices.js.map +1 -1
- package/dist/esm/models/operations/listmethods.d.ts +2 -84
- package/dist/esm/models/operations/listmethods.d.ts.map +1 -1
- package/dist/esm/models/operations/listmethods.js +5 -59
- package/dist/esm/models/operations/listmethods.js.map +1 -1
- package/dist/esm/models/operations/listpermissions.d.ts +8 -8
- package/dist/esm/models/operations/listpermissions.d.ts.map +1 -1
- package/dist/esm/models/operations/listpermissions.js +8 -8
- package/dist/esm/models/operations/listpermissions.js.map +1 -1
- package/dist/esm/models/operations/listprofiles.d.ts +8 -8
- package/dist/esm/models/operations/listprofiles.d.ts.map +1 -1
- package/dist/esm/models/operations/listprofiles.js +8 -8
- package/dist/esm/models/operations/listprofiles.js.map +1 -1
- package/dist/esm/models/operations/listsettlementchargebacks.d.ts +8 -8
- package/dist/esm/models/operations/listsettlementchargebacks.d.ts.map +1 -1
- package/dist/esm/models/operations/listsettlementchargebacks.js +8 -10
- package/dist/esm/models/operations/listsettlementchargebacks.js.map +1 -1
- package/dist/esm/models/operations/paymentcreateroute.d.ts +2 -2
- package/dist/esm/models/operations/paymentcreateroute.d.ts.map +1 -1
- package/dist/esm/models/operations/paymentcreateroute.js +4 -4
- package/dist/esm/models/operations/paymentcreateroute.js.map +1 -1
- package/dist/esm/models/operations/paymentlistroutes.d.ts +8 -8
- package/dist/esm/models/operations/paymentlistroutes.d.ts.map +1 -1
- package/dist/esm/models/operations/paymentlistroutes.js +8 -8
- package/dist/esm/models/operations/paymentlistroutes.js.map +1 -1
- package/dist/esm/models/operations/submitonboardingdata.d.ts +1 -46
- package/dist/esm/models/operations/submitonboardingdata.d.ts.map +1 -1
- package/dist/esm/models/operations/submitonboardingdata.js +4 -30
- package/dist/esm/models/operations/submitonboardingdata.js.map +1 -1
- package/dist/esm/models/operations/updateprofile.d.ts +0 -46
- package/dist/esm/models/operations/updateprofile.d.ts.map +1 -1
- package/dist/esm/models/operations/updateprofile.js +0 -27
- package/dist/esm/models/operations/updateprofile.js.map +1 -1
- package/dist/esm/models/{entityprofileresponse.d.ts → profileresponse.d.ts} +29 -29
- package/dist/esm/models/profileresponse.d.ts.map +1 -0
- package/dist/esm/models/{entityprofileresponse.js → profileresponse.js} +29 -29
- package/dist/esm/models/profileresponse.js.map +1 -0
- 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 +16 -14
- package/dist/esm/models/routecreateresponse.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 +16 -14
- package/dist/esm/models/routegetresponse.js.map +1 -1
- package/dist/esm/models/updatevaluessalesinvoice.d.ts +0 -10
- package/dist/esm/models/updatevaluessalesinvoice.d.ts.map +1 -1
- package/dist/esm/models/updatevaluessalesinvoice.js +0 -2
- package/dist/esm/models/updatevaluessalesinvoice.js.map +1 -1
- package/dist/esm/sdk/clientlinks.d.ts +1 -1
- package/dist/esm/sdk/clientlinks.d.ts.map +1 -1
- package/dist/esm/sdk/profiles.d.ts +4 -4
- package/dist/esm/sdk/profiles.d.ts.map +1 -1
- package/docs/sdks/clientlinks/README.md +1 -1
- package/docs/sdks/delayedrouting/README.md +2 -2
- package/docs/sdks/profiles/README.md +4 -6
- package/docs/sdks/salesinvoices/README.md +0 -4
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/clientLinksCreate.ts +4 -4
- package/src/funcs/delayedRoutingCreate.ts +1 -3
- package/src/funcs/profilesCreate.ts +4 -4
- package/src/funcs/profilesGet.ts +4 -4
- package/src/funcs/profilesGetCurrent.ts +4 -4
- package/src/funcs/profilesUpdate.ts +4 -4
- package/src/lib/config.ts +3 -3
- package/src/lib/env.ts +20 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/address.ts +16 -16
- package/src/models/{entityclientlinkresponse.ts → clientlinkresponse.ts} +46 -48
- package/src/models/entitybalance.ts +40 -40
- package/src/models/entitybalancereport.ts +32 -32
- package/src/models/entitybalancetransaction.ts +24 -24
- package/src/models/entitycapability.ts +20 -20
- package/src/models/entitycapabilityrequirement.ts +27 -96
- package/src/models/entityinvoice.ts +64 -67
- package/src/models/entityonboardingstatus.ts +28 -28
- package/src/models/entityorganization.ts +32 -35
- package/src/models/entitypermission.ts +20 -20
- package/src/models/entityroute.ts +179 -0
- package/src/models/entitysalesinvoice.ts +0 -14
- package/src/models/entitysalesinvoiceresponse.ts +0 -14
- package/src/models/entitywebhookevent.ts +14 -20
- package/src/models/index.ts +6 -3
- package/src/models/methodincludewalletsparameter.ts +34 -0
- package/src/models/methodresourceparameter.ts +35 -0
- package/src/models/onboardingvatregulation.ts +52 -0
- package/src/models/operations/getbalancereport.ts +5 -50
- package/src/models/operations/listallchargebacks.ts +16 -16
- package/src/models/operations/listbalances.ts +16 -16
- package/src/models/operations/listbalancetransactions.ts +16 -22
- package/src/models/operations/listcapabilities.ts +23 -78
- package/src/models/operations/listchargebacks.ts +16 -16
- package/src/models/operations/listinvoices.ts +16 -16
- package/src/models/operations/listmethods.ts +7 -92
- package/src/models/operations/listpermissions.ts +16 -16
- package/src/models/operations/listprofiles.ts +16 -16
- package/src/models/operations/listsettlementchargebacks.ts +16 -18
- package/src/models/operations/paymentcreateroute.ts +6 -6
- package/src/models/operations/paymentlistroutes.ts +16 -16
- package/src/models/operations/submitonboardingdata.ts +5 -48
- package/src/models/operations/updateprofile.ts +0 -49
- package/src/models/{entityprofileresponse.ts → profileresponse.ts} +46 -48
- package/src/models/routecreateresponse.ts +30 -28
- package/src/models/routegetresponse.ts +30 -28
- package/src/models/updatevaluessalesinvoice.ts +0 -12
- package/src/sdk/clientlinks.ts +1 -1
- package/src/sdk/profiles.ts +4 -4
- package/dist/commonjs/models/entityclientlinkresponse.d.ts +0 -87
- package/dist/commonjs/models/entityclientlinkresponse.d.ts.map +0 -1
- package/dist/commonjs/models/entityclientlinkresponse.js +0 -114
- package/dist/commonjs/models/entityclientlinkresponse.js.map +0 -1
- package/dist/commonjs/models/entityprofileresponse.d.ts.map +0 -1
- package/dist/commonjs/models/entityprofileresponse.js.map +0 -1
- package/dist/commonjs/models/routecreaterequest.d.ts +0 -92
- package/dist/commonjs/models/routecreaterequest.d.ts.map +0 -1
- package/dist/commonjs/models/routecreaterequest.js +0 -112
- package/dist/commonjs/models/routecreaterequest.js.map +0 -1
- package/dist/esm/models/entityclientlinkresponse.d.ts +0 -87
- package/dist/esm/models/entityclientlinkresponse.d.ts.map +0 -1
- package/dist/esm/models/entityclientlinkresponse.js +0 -74
- package/dist/esm/models/entityclientlinkresponse.js.map +0 -1
- package/dist/esm/models/entityprofileresponse.d.ts.map +0 -1
- package/dist/esm/models/entityprofileresponse.js.map +0 -1
- package/dist/esm/models/routecreaterequest.d.ts +0 -92
- package/dist/esm/models/routecreaterequest.d.ts.map +0 -1
- package/dist/esm/models/routecreaterequest.js +0 -72
- package/dist/esm/models/routecreaterequest.js.map +0 -1
- package/src/models/routecreaterequest.ts +0 -187
package/src/lib/env.ts
CHANGED
|
@@ -20,6 +20,18 @@ export const envSchema: z.ZodType<Env, z.ZodTypeDef, unknown> = z.object({
|
|
|
20
20
|
CLIENT_DEBUG: z.coerce.boolean().optional(),
|
|
21
21
|
});
|
|
22
22
|
|
|
23
|
+
/**
|
|
24
|
+
* Checks for the existence of the Deno global object to determine the environment.
|
|
25
|
+
* @returns {boolean} True if the runtime is Deno, false otherwise.
|
|
26
|
+
*/
|
|
27
|
+
function isDeno() {
|
|
28
|
+
if ("Deno" in globalThis) {
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
return false;
|
|
33
|
+
}
|
|
34
|
+
|
|
23
35
|
let envMemo: Env | undefined = undefined;
|
|
24
36
|
/**
|
|
25
37
|
* Reads and validates environment variables.
|
|
@@ -29,9 +41,14 @@ export function env(): Env {
|
|
|
29
41
|
return envMemo;
|
|
30
42
|
}
|
|
31
43
|
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
44
|
+
let envObject: Record<string, unknown> = {};
|
|
45
|
+
if (isDeno()) {
|
|
46
|
+
envObject = (globalThis as any).Deno?.env?.toObject?.() ?? {};
|
|
47
|
+
} else {
|
|
48
|
+
envObject = dlv(globalThis, "process.env") ?? {};
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
envMemo = envSchema.parse(envObject);
|
|
35
52
|
return envMemo;
|
|
36
53
|
}
|
|
37
54
|
|
package/src/mcp-server/server.ts
CHANGED
package/src/models/address.ts
CHANGED
|
@@ -11,33 +11,33 @@ export type Address = {
|
|
|
11
11
|
/**
|
|
12
12
|
* A street and street number.
|
|
13
13
|
*/
|
|
14
|
-
streetAndNumber
|
|
14
|
+
streetAndNumber: string;
|
|
15
15
|
/**
|
|
16
16
|
* A postal code. This field may be required if the provided country has a postal code system.
|
|
17
17
|
*/
|
|
18
|
-
postalCode
|
|
19
|
-
city
|
|
18
|
+
postalCode: string;
|
|
19
|
+
city: string;
|
|
20
20
|
/**
|
|
21
21
|
* A country code in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format.
|
|
22
22
|
*/
|
|
23
|
-
country
|
|
23
|
+
country: string;
|
|
24
24
|
};
|
|
25
25
|
|
|
26
26
|
/** @internal */
|
|
27
27
|
export const Address$inboundSchema: z.ZodType<Address, z.ZodTypeDef, unknown> =
|
|
28
28
|
z.object({
|
|
29
|
-
streetAndNumber: z.string()
|
|
30
|
-
postalCode: z.string()
|
|
31
|
-
city: z.string()
|
|
32
|
-
country: z.string()
|
|
29
|
+
streetAndNumber: z.string(),
|
|
30
|
+
postalCode: z.string(),
|
|
31
|
+
city: z.string(),
|
|
32
|
+
country: z.string(),
|
|
33
33
|
});
|
|
34
34
|
|
|
35
35
|
/** @internal */
|
|
36
36
|
export type Address$Outbound = {
|
|
37
|
-
streetAndNumber
|
|
38
|
-
postalCode
|
|
39
|
-
city
|
|
40
|
-
country
|
|
37
|
+
streetAndNumber: string;
|
|
38
|
+
postalCode: string;
|
|
39
|
+
city: string;
|
|
40
|
+
country: string;
|
|
41
41
|
};
|
|
42
42
|
|
|
43
43
|
/** @internal */
|
|
@@ -46,10 +46,10 @@ export const Address$outboundSchema: z.ZodType<
|
|
|
46
46
|
z.ZodTypeDef,
|
|
47
47
|
Address
|
|
48
48
|
> = z.object({
|
|
49
|
-
streetAndNumber: z.string()
|
|
50
|
-
postalCode: z.string()
|
|
51
|
-
city: z.string()
|
|
52
|
-
country: z.string()
|
|
49
|
+
streetAndNumber: z.string(),
|
|
50
|
+
postalCode: z.string(),
|
|
51
|
+
city: z.string(),
|
|
52
|
+
country: z.string(),
|
|
53
53
|
});
|
|
54
54
|
|
|
55
55
|
/**
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
/**
|
|
18
18
|
* An object with several relevant URLs. Every URL object will contain an `href` and a `type` field.
|
|
19
19
|
*/
|
|
20
|
-
export type
|
|
20
|
+
export type ClientLinkResponseLinks = {
|
|
21
21
|
/**
|
|
22
22
|
* In v2 endpoints, URLs are commonly represented as objects with an `href` and `type` field.
|
|
23
23
|
*/
|
|
@@ -32,7 +32,7 @@ export type EntityClientLinkResponseLinks = {
|
|
|
32
32
|
documentation?: Url | undefined;
|
|
33
33
|
};
|
|
34
34
|
|
|
35
|
-
export type
|
|
35
|
+
export type ClientLinkResponse = {
|
|
36
36
|
/**
|
|
37
37
|
* Indicates the response contains a client link object. Will always contain the string `client-link` for this
|
|
38
38
|
*
|
|
@@ -47,12 +47,12 @@ export type EntityClientLinkResponse = {
|
|
|
47
47
|
/**
|
|
48
48
|
* An object with several relevant URLs. Every URL object will contain an `href` and a `type` field.
|
|
49
49
|
*/
|
|
50
|
-
links?:
|
|
50
|
+
links?: ClientLinkResponseLinks | undefined;
|
|
51
51
|
};
|
|
52
52
|
|
|
53
53
|
/** @internal */
|
|
54
|
-
export const
|
|
55
|
-
|
|
54
|
+
export const ClientLinkResponseLinks$inboundSchema: z.ZodType<
|
|
55
|
+
ClientLinkResponseLinks,
|
|
56
56
|
z.ZodTypeDef,
|
|
57
57
|
unknown
|
|
58
58
|
> = z.object({
|
|
@@ -62,17 +62,17 @@ export const EntityClientLinkResponseLinks$inboundSchema: z.ZodType<
|
|
|
62
62
|
});
|
|
63
63
|
|
|
64
64
|
/** @internal */
|
|
65
|
-
export type
|
|
65
|
+
export type ClientLinkResponseLinks$Outbound = {
|
|
66
66
|
self?: Url$Outbound | undefined;
|
|
67
67
|
clientLink?: Url$Outbound | undefined;
|
|
68
68
|
documentation?: Url$Outbound | undefined;
|
|
69
69
|
};
|
|
70
70
|
|
|
71
71
|
/** @internal */
|
|
72
|
-
export const
|
|
73
|
-
|
|
72
|
+
export const ClientLinkResponseLinks$outboundSchema: z.ZodType<
|
|
73
|
+
ClientLinkResponseLinks$Outbound,
|
|
74
74
|
z.ZodTypeDef,
|
|
75
|
-
|
|
75
|
+
ClientLinkResponseLinks
|
|
76
76
|
> = z.object({
|
|
77
77
|
self: Url$outboundSchema.optional(),
|
|
78
78
|
clientLink: Url$outboundSchema.optional(),
|
|
@@ -83,44 +83,42 @@ export const EntityClientLinkResponseLinks$outboundSchema: z.ZodType<
|
|
|
83
83
|
* @internal
|
|
84
84
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
85
85
|
*/
|
|
86
|
-
export namespace
|
|
87
|
-
/** @deprecated use `
|
|
88
|
-
export const inboundSchema =
|
|
89
|
-
/** @deprecated use `
|
|
90
|
-
export const outboundSchema =
|
|
91
|
-
/** @deprecated use `
|
|
92
|
-
export type Outbound =
|
|
86
|
+
export namespace ClientLinkResponseLinks$ {
|
|
87
|
+
/** @deprecated use `ClientLinkResponseLinks$inboundSchema` instead. */
|
|
88
|
+
export const inboundSchema = ClientLinkResponseLinks$inboundSchema;
|
|
89
|
+
/** @deprecated use `ClientLinkResponseLinks$outboundSchema` instead. */
|
|
90
|
+
export const outboundSchema = ClientLinkResponseLinks$outboundSchema;
|
|
91
|
+
/** @deprecated use `ClientLinkResponseLinks$Outbound` instead. */
|
|
92
|
+
export type Outbound = ClientLinkResponseLinks$Outbound;
|
|
93
93
|
}
|
|
94
94
|
|
|
95
|
-
export function
|
|
96
|
-
|
|
95
|
+
export function clientLinkResponseLinksToJSON(
|
|
96
|
+
clientLinkResponseLinks: ClientLinkResponseLinks,
|
|
97
97
|
): string {
|
|
98
98
|
return JSON.stringify(
|
|
99
|
-
|
|
100
|
-
entityClientLinkResponseLinks,
|
|
101
|
-
),
|
|
99
|
+
ClientLinkResponseLinks$outboundSchema.parse(clientLinkResponseLinks),
|
|
102
100
|
);
|
|
103
101
|
}
|
|
104
102
|
|
|
105
|
-
export function
|
|
103
|
+
export function clientLinkResponseLinksFromJSON(
|
|
106
104
|
jsonString: string,
|
|
107
|
-
): SafeParseResult<
|
|
105
|
+
): SafeParseResult<ClientLinkResponseLinks, SDKValidationError> {
|
|
108
106
|
return safeParse(
|
|
109
107
|
jsonString,
|
|
110
|
-
(x) =>
|
|
111
|
-
`Failed to parse '
|
|
108
|
+
(x) => ClientLinkResponseLinks$inboundSchema.parse(JSON.parse(x)),
|
|
109
|
+
`Failed to parse 'ClientLinkResponseLinks' from JSON`,
|
|
112
110
|
);
|
|
113
111
|
}
|
|
114
112
|
|
|
115
113
|
/** @internal */
|
|
116
|
-
export const
|
|
117
|
-
|
|
114
|
+
export const ClientLinkResponse$inboundSchema: z.ZodType<
|
|
115
|
+
ClientLinkResponse,
|
|
118
116
|
z.ZodTypeDef,
|
|
119
117
|
unknown
|
|
120
118
|
> = z.object({
|
|
121
119
|
resource: z.string().optional(),
|
|
122
120
|
id: z.string().optional(),
|
|
123
|
-
_links: z.lazy(() =>
|
|
121
|
+
_links: z.lazy(() => ClientLinkResponseLinks$inboundSchema).optional(),
|
|
124
122
|
}).transform((v) => {
|
|
125
123
|
return remap$(v, {
|
|
126
124
|
"_links": "links",
|
|
@@ -128,21 +126,21 @@ export const EntityClientLinkResponse$inboundSchema: z.ZodType<
|
|
|
128
126
|
});
|
|
129
127
|
|
|
130
128
|
/** @internal */
|
|
131
|
-
export type
|
|
129
|
+
export type ClientLinkResponse$Outbound = {
|
|
132
130
|
resource?: string | undefined;
|
|
133
131
|
id?: string | undefined;
|
|
134
|
-
_links?:
|
|
132
|
+
_links?: ClientLinkResponseLinks$Outbound | undefined;
|
|
135
133
|
};
|
|
136
134
|
|
|
137
135
|
/** @internal */
|
|
138
|
-
export const
|
|
139
|
-
|
|
136
|
+
export const ClientLinkResponse$outboundSchema: z.ZodType<
|
|
137
|
+
ClientLinkResponse$Outbound,
|
|
140
138
|
z.ZodTypeDef,
|
|
141
|
-
|
|
139
|
+
ClientLinkResponse
|
|
142
140
|
> = z.object({
|
|
143
141
|
resource: z.string().optional(),
|
|
144
142
|
id: z.string().optional(),
|
|
145
|
-
links: z.lazy(() =>
|
|
143
|
+
links: z.lazy(() => ClientLinkResponseLinks$outboundSchema).optional(),
|
|
146
144
|
}).transform((v) => {
|
|
147
145
|
return remap$(v, {
|
|
148
146
|
links: "_links",
|
|
@@ -153,29 +151,29 @@ export const EntityClientLinkResponse$outboundSchema: z.ZodType<
|
|
|
153
151
|
* @internal
|
|
154
152
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
155
153
|
*/
|
|
156
|
-
export namespace
|
|
157
|
-
/** @deprecated use `
|
|
158
|
-
export const inboundSchema =
|
|
159
|
-
/** @deprecated use `
|
|
160
|
-
export const outboundSchema =
|
|
161
|
-
/** @deprecated use `
|
|
162
|
-
export type Outbound =
|
|
154
|
+
export namespace ClientLinkResponse$ {
|
|
155
|
+
/** @deprecated use `ClientLinkResponse$inboundSchema` instead. */
|
|
156
|
+
export const inboundSchema = ClientLinkResponse$inboundSchema;
|
|
157
|
+
/** @deprecated use `ClientLinkResponse$outboundSchema` instead. */
|
|
158
|
+
export const outboundSchema = ClientLinkResponse$outboundSchema;
|
|
159
|
+
/** @deprecated use `ClientLinkResponse$Outbound` instead. */
|
|
160
|
+
export type Outbound = ClientLinkResponse$Outbound;
|
|
163
161
|
}
|
|
164
162
|
|
|
165
|
-
export function
|
|
166
|
-
|
|
163
|
+
export function clientLinkResponseToJSON(
|
|
164
|
+
clientLinkResponse: ClientLinkResponse,
|
|
167
165
|
): string {
|
|
168
166
|
return JSON.stringify(
|
|
169
|
-
|
|
167
|
+
ClientLinkResponse$outboundSchema.parse(clientLinkResponse),
|
|
170
168
|
);
|
|
171
169
|
}
|
|
172
170
|
|
|
173
|
-
export function
|
|
171
|
+
export function clientLinkResponseFromJSON(
|
|
174
172
|
jsonString: string,
|
|
175
|
-
): SafeParseResult<
|
|
173
|
+
): SafeParseResult<ClientLinkResponse, SDKValidationError> {
|
|
176
174
|
return safeParse(
|
|
177
175
|
jsonString,
|
|
178
|
-
(x) =>
|
|
179
|
-
`Failed to parse '
|
|
176
|
+
(x) => ClientLinkResponse$inboundSchema.parse(JSON.parse(x)),
|
|
177
|
+
`Failed to parse 'ClientLinkResponse' from JSON`,
|
|
180
178
|
);
|
|
181
179
|
}
|
|
@@ -84,25 +84,25 @@ export type EntityBalance = {
|
|
|
84
84
|
/**
|
|
85
85
|
* Indicates the response contains a balance object. Will always contain the string `balance` for this endpoint.
|
|
86
86
|
*/
|
|
87
|
-
resource
|
|
88
|
-
id
|
|
87
|
+
resource: string;
|
|
88
|
+
id: string;
|
|
89
89
|
/**
|
|
90
90
|
* Whether this entity was created in live mode or in test mode.
|
|
91
91
|
*/
|
|
92
|
-
mode
|
|
92
|
+
mode: Mode;
|
|
93
93
|
/**
|
|
94
94
|
* The entity's date and time of creation, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
|
|
95
95
|
*/
|
|
96
|
-
createdAt
|
|
97
|
-
currency
|
|
96
|
+
createdAt: string;
|
|
97
|
+
currency: Currencies;
|
|
98
98
|
/**
|
|
99
99
|
* The description or name of the balance. Can be used to denote the purpose of the balance.
|
|
100
100
|
*/
|
|
101
|
-
description
|
|
101
|
+
description: string;
|
|
102
102
|
/**
|
|
103
103
|
* The status of the balance.
|
|
104
104
|
*/
|
|
105
|
-
status
|
|
105
|
+
status: BalanceStatus;
|
|
106
106
|
/**
|
|
107
107
|
* The frequency with which the available amount on the balance will be settled to the configured transfer
|
|
108
108
|
*
|
|
@@ -130,15 +130,15 @@ export type EntityBalance = {
|
|
|
130
130
|
/**
|
|
131
131
|
* In v2 endpoints, monetary amounts are represented as objects with a `currency` and `value` field.
|
|
132
132
|
*/
|
|
133
|
-
availableAmount
|
|
133
|
+
availableAmount: Amount;
|
|
134
134
|
/**
|
|
135
135
|
* In v2 endpoints, monetary amounts are represented as objects with a `currency` and `value` field.
|
|
136
136
|
*/
|
|
137
|
-
pendingAmount
|
|
137
|
+
pendingAmount: Amount;
|
|
138
138
|
/**
|
|
139
139
|
* An object with several relevant URLs. Every URL object will contain an `href` and a `type` field.
|
|
140
140
|
*/
|
|
141
|
-
links
|
|
141
|
+
links: EntityBalanceLinks;
|
|
142
142
|
};
|
|
143
143
|
|
|
144
144
|
/** @internal */
|
|
@@ -264,22 +264,22 @@ export const EntityBalance$inboundSchema: z.ZodType<
|
|
|
264
264
|
z.ZodTypeDef,
|
|
265
265
|
unknown
|
|
266
266
|
> = z.object({
|
|
267
|
-
resource: z.string()
|
|
268
|
-
id: z.string()
|
|
269
|
-
mode: Mode$inboundSchema
|
|
270
|
-
createdAt: z.string()
|
|
271
|
-
currency: Currencies$inboundSchema
|
|
272
|
-
description: z.string()
|
|
273
|
-
status: BalanceStatus$inboundSchema
|
|
267
|
+
resource: z.string(),
|
|
268
|
+
id: z.string(),
|
|
269
|
+
mode: Mode$inboundSchema,
|
|
270
|
+
createdAt: z.string(),
|
|
271
|
+
currency: Currencies$inboundSchema,
|
|
272
|
+
description: z.string(),
|
|
273
|
+
status: BalanceStatus$inboundSchema,
|
|
274
274
|
transferFrequency: BalanceTransferFrequency$inboundSchema.optional(),
|
|
275
275
|
transferThreshold: Amount$inboundSchema.optional(),
|
|
276
276
|
transferReference: z.nullable(z.string()).optional(),
|
|
277
277
|
transferDestination: z.nullable(
|
|
278
278
|
z.lazy(() => TransferDestination$inboundSchema),
|
|
279
279
|
).optional(),
|
|
280
|
-
availableAmount: Amount$inboundSchema
|
|
281
|
-
pendingAmount: Amount$inboundSchema
|
|
282
|
-
_links: z.lazy(() => EntityBalanceLinks$inboundSchema)
|
|
280
|
+
availableAmount: Amount$inboundSchema,
|
|
281
|
+
pendingAmount: Amount$inboundSchema,
|
|
282
|
+
_links: z.lazy(() => EntityBalanceLinks$inboundSchema),
|
|
283
283
|
}).transform((v) => {
|
|
284
284
|
return remap$(v, {
|
|
285
285
|
"_links": "links",
|
|
@@ -288,20 +288,20 @@ export const EntityBalance$inboundSchema: z.ZodType<
|
|
|
288
288
|
|
|
289
289
|
/** @internal */
|
|
290
290
|
export type EntityBalance$Outbound = {
|
|
291
|
-
resource
|
|
292
|
-
id
|
|
293
|
-
mode
|
|
294
|
-
createdAt
|
|
295
|
-
currency
|
|
296
|
-
description
|
|
297
|
-
status
|
|
291
|
+
resource: string;
|
|
292
|
+
id: string;
|
|
293
|
+
mode: string;
|
|
294
|
+
createdAt: string;
|
|
295
|
+
currency: string;
|
|
296
|
+
description: string;
|
|
297
|
+
status: string;
|
|
298
298
|
transferFrequency?: string | undefined;
|
|
299
299
|
transferThreshold?: Amount$Outbound | undefined;
|
|
300
300
|
transferReference?: string | null | undefined;
|
|
301
301
|
transferDestination?: TransferDestination$Outbound | null | undefined;
|
|
302
|
-
availableAmount
|
|
303
|
-
pendingAmount
|
|
304
|
-
_links
|
|
302
|
+
availableAmount: Amount$Outbound;
|
|
303
|
+
pendingAmount: Amount$Outbound;
|
|
304
|
+
_links: EntityBalanceLinks$Outbound;
|
|
305
305
|
};
|
|
306
306
|
|
|
307
307
|
/** @internal */
|
|
@@ -310,22 +310,22 @@ export const EntityBalance$outboundSchema: z.ZodType<
|
|
|
310
310
|
z.ZodTypeDef,
|
|
311
311
|
EntityBalance
|
|
312
312
|
> = z.object({
|
|
313
|
-
resource: z.string()
|
|
314
|
-
id: z.string()
|
|
315
|
-
mode: Mode$outboundSchema
|
|
316
|
-
createdAt: z.string()
|
|
317
|
-
currency: Currencies$outboundSchema
|
|
318
|
-
description: z.string()
|
|
319
|
-
status: BalanceStatus$outboundSchema
|
|
313
|
+
resource: z.string(),
|
|
314
|
+
id: z.string(),
|
|
315
|
+
mode: Mode$outboundSchema,
|
|
316
|
+
createdAt: z.string(),
|
|
317
|
+
currency: Currencies$outboundSchema,
|
|
318
|
+
description: z.string(),
|
|
319
|
+
status: BalanceStatus$outboundSchema,
|
|
320
320
|
transferFrequency: BalanceTransferFrequency$outboundSchema.optional(),
|
|
321
321
|
transferThreshold: Amount$outboundSchema.optional(),
|
|
322
322
|
transferReference: z.nullable(z.string()).optional(),
|
|
323
323
|
transferDestination: z.nullable(
|
|
324
324
|
z.lazy(() => TransferDestination$outboundSchema),
|
|
325
325
|
).optional(),
|
|
326
|
-
availableAmount: Amount$outboundSchema
|
|
327
|
-
pendingAmount: Amount$outboundSchema
|
|
328
|
-
links: z.lazy(() => EntityBalanceLinks$outboundSchema)
|
|
326
|
+
availableAmount: Amount$outboundSchema,
|
|
327
|
+
pendingAmount: Amount$outboundSchema,
|
|
328
|
+
links: z.lazy(() => EntityBalanceLinks$outboundSchema),
|
|
329
329
|
}).transform((v) => {
|
|
330
330
|
return remap$(v, {
|
|
331
331
|
links: "_links",
|
|
@@ -229,12 +229,12 @@ export type EntityBalanceReport = {
|
|
|
229
229
|
* @remarks
|
|
230
230
|
* endpoint.
|
|
231
231
|
*/
|
|
232
|
-
resource
|
|
233
|
-
balanceId
|
|
232
|
+
resource: string;
|
|
233
|
+
balanceId: string;
|
|
234
234
|
/**
|
|
235
235
|
* The time zone used for the from and until parameters. Currently only time zone `Europe/Amsterdam` is supported.
|
|
236
236
|
*/
|
|
237
|
-
timeZone
|
|
237
|
+
timeZone: string;
|
|
238
238
|
/**
|
|
239
239
|
* The start date of the report, in `YYYY-MM-DD` format. The from date is 'inclusive', and in Central European Time.
|
|
240
240
|
*
|
|
@@ -242,15 +242,15 @@ export type EntityBalanceReport = {
|
|
|
242
242
|
* This means a report with for example `from=2024-01-01` will include movements of 2024-01-01 00:00:00 CET and
|
|
243
243
|
* onwards.
|
|
244
244
|
*/
|
|
245
|
-
from
|
|
245
|
+
from: string;
|
|
246
246
|
/**
|
|
247
247
|
* The end date of the report, in `YYYY-MM-DD` format. The until date is 'exclusive', and in Central European Time.
|
|
248
248
|
*
|
|
249
249
|
* @remarks
|
|
250
250
|
* This means a report with for example `until=2024-02-01` will include movements up until 2024-01-31 23:59:59 CET.
|
|
251
251
|
*/
|
|
252
|
-
until
|
|
253
|
-
grouping
|
|
252
|
+
until: string;
|
|
253
|
+
grouping: BalanceReportGrouping;
|
|
254
254
|
/**
|
|
255
255
|
* Totals are grouped according to the chosen grouping rule. The example response should give a good idea of what a
|
|
256
256
|
*
|
|
@@ -275,11 +275,11 @@ export type EntityBalanceReport = {
|
|
|
275
275
|
* * A `count` integer if relevant (for example, counting the number of refunds)
|
|
276
276
|
* * A `subtotals` array containing more sub-group objects if applicable
|
|
277
277
|
*/
|
|
278
|
-
totals
|
|
278
|
+
totals: Totals;
|
|
279
279
|
/**
|
|
280
280
|
* An object with several relevant URLs. Every URL object will contain an `href` and a `type` field.
|
|
281
281
|
*/
|
|
282
|
-
links
|
|
282
|
+
links: EntityBalanceReportLinks;
|
|
283
283
|
};
|
|
284
284
|
|
|
285
285
|
/** @internal */
|
|
@@ -1095,14 +1095,14 @@ export const EntityBalanceReport$inboundSchema: z.ZodType<
|
|
|
1095
1095
|
z.ZodTypeDef,
|
|
1096
1096
|
unknown
|
|
1097
1097
|
> = z.object({
|
|
1098
|
-
resource: z.string()
|
|
1099
|
-
balanceId: z.string()
|
|
1100
|
-
timeZone: z.string()
|
|
1101
|
-
from: z.string()
|
|
1102
|
-
until: z.string()
|
|
1103
|
-
grouping: BalanceReportGrouping$inboundSchema
|
|
1104
|
-
totals: z.lazy(() => Totals$inboundSchema)
|
|
1105
|
-
_links: z.lazy(() => EntityBalanceReportLinks$inboundSchema)
|
|
1098
|
+
resource: z.string(),
|
|
1099
|
+
balanceId: z.string(),
|
|
1100
|
+
timeZone: z.string(),
|
|
1101
|
+
from: z.string(),
|
|
1102
|
+
until: z.string(),
|
|
1103
|
+
grouping: BalanceReportGrouping$inboundSchema,
|
|
1104
|
+
totals: z.lazy(() => Totals$inboundSchema),
|
|
1105
|
+
_links: z.lazy(() => EntityBalanceReportLinks$inboundSchema),
|
|
1106
1106
|
}).transform((v) => {
|
|
1107
1107
|
return remap$(v, {
|
|
1108
1108
|
"_links": "links",
|
|
@@ -1111,14 +1111,14 @@ export const EntityBalanceReport$inboundSchema: z.ZodType<
|
|
|
1111
1111
|
|
|
1112
1112
|
/** @internal */
|
|
1113
1113
|
export type EntityBalanceReport$Outbound = {
|
|
1114
|
-
resource
|
|
1115
|
-
balanceId
|
|
1116
|
-
timeZone
|
|
1117
|
-
from
|
|
1118
|
-
until
|
|
1119
|
-
grouping
|
|
1120
|
-
totals
|
|
1121
|
-
_links
|
|
1114
|
+
resource: string;
|
|
1115
|
+
balanceId: string;
|
|
1116
|
+
timeZone: string;
|
|
1117
|
+
from: string;
|
|
1118
|
+
until: string;
|
|
1119
|
+
grouping: string;
|
|
1120
|
+
totals: Totals$Outbound;
|
|
1121
|
+
_links: EntityBalanceReportLinks$Outbound;
|
|
1122
1122
|
};
|
|
1123
1123
|
|
|
1124
1124
|
/** @internal */
|
|
@@ -1127,14 +1127,14 @@ export const EntityBalanceReport$outboundSchema: z.ZodType<
|
|
|
1127
1127
|
z.ZodTypeDef,
|
|
1128
1128
|
EntityBalanceReport
|
|
1129
1129
|
> = z.object({
|
|
1130
|
-
resource: z.string()
|
|
1131
|
-
balanceId: z.string()
|
|
1132
|
-
timeZone: z.string()
|
|
1133
|
-
from: z.string()
|
|
1134
|
-
until: z.string()
|
|
1135
|
-
grouping: BalanceReportGrouping$outboundSchema
|
|
1136
|
-
totals: z.lazy(() => Totals$outboundSchema)
|
|
1137
|
-
links: z.lazy(() => EntityBalanceReportLinks$outboundSchema)
|
|
1130
|
+
resource: z.string(),
|
|
1131
|
+
balanceId: z.string(),
|
|
1132
|
+
timeZone: z.string(),
|
|
1133
|
+
from: z.string(),
|
|
1134
|
+
until: z.string(),
|
|
1135
|
+
grouping: BalanceReportGrouping$outboundSchema,
|
|
1136
|
+
totals: z.lazy(() => Totals$outboundSchema),
|
|
1137
|
+
links: z.lazy(() => EntityBalanceReportLinks$outboundSchema),
|
|
1138
1138
|
}).transform((v) => {
|
|
1139
1139
|
return remap$(v, {
|
|
1140
1140
|
links: "_links",
|
|
@@ -314,17 +314,17 @@ export type EntityBalanceTransaction = {
|
|
|
314
314
|
* @remarks
|
|
315
315
|
* for this endpoint.
|
|
316
316
|
*/
|
|
317
|
-
resource
|
|
318
|
-
id
|
|
319
|
-
type
|
|
317
|
+
resource: string;
|
|
318
|
+
id: string;
|
|
319
|
+
type: BalanceTransactionType;
|
|
320
320
|
/**
|
|
321
321
|
* In v2 endpoints, monetary amounts are represented as objects with a `currency` and `value` field.
|
|
322
322
|
*/
|
|
323
|
-
resultAmount
|
|
323
|
+
resultAmount: Amount;
|
|
324
324
|
/**
|
|
325
325
|
* In v2 endpoints, monetary amounts are represented as objects with a `currency` and `value` field.
|
|
326
326
|
*/
|
|
327
|
-
initialAmount
|
|
327
|
+
initialAmount: Amount;
|
|
328
328
|
/**
|
|
329
329
|
* In v2 endpoints, monetary amounts are represented as objects with a `currency` and `value` field.
|
|
330
330
|
*/
|
|
@@ -383,7 +383,7 @@ export type EntityBalanceTransaction = {
|
|
|
383
383
|
/**
|
|
384
384
|
* The entity's date and time of creation, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
|
|
385
385
|
*/
|
|
386
|
-
createdAt
|
|
386
|
+
createdAt: string;
|
|
387
387
|
};
|
|
388
388
|
|
|
389
389
|
/** @internal */
|
|
@@ -2543,26 +2543,26 @@ export const EntityBalanceTransaction$inboundSchema: z.ZodType<
|
|
|
2543
2543
|
z.ZodTypeDef,
|
|
2544
2544
|
unknown
|
|
2545
2545
|
> = z.object({
|
|
2546
|
-
resource: z.string()
|
|
2547
|
-
id: z.string()
|
|
2548
|
-
type: BalanceTransactionType$inboundSchema
|
|
2549
|
-
resultAmount: Amount$inboundSchema
|
|
2550
|
-
initialAmount: Amount$inboundSchema
|
|
2546
|
+
resource: z.string(),
|
|
2547
|
+
id: z.string(),
|
|
2548
|
+
type: BalanceTransactionType$inboundSchema,
|
|
2549
|
+
resultAmount: Amount$inboundSchema,
|
|
2550
|
+
initialAmount: Amount$inboundSchema,
|
|
2551
2551
|
deductions: z.nullable(AmountNullable$inboundSchema).optional(),
|
|
2552
2552
|
context: z.lazy(() => Context$inboundSchema).optional(),
|
|
2553
|
-
createdAt: z.string()
|
|
2553
|
+
createdAt: z.string(),
|
|
2554
2554
|
});
|
|
2555
2555
|
|
|
2556
2556
|
/** @internal */
|
|
2557
2557
|
export type EntityBalanceTransaction$Outbound = {
|
|
2558
|
-
resource
|
|
2559
|
-
id
|
|
2560
|
-
type
|
|
2561
|
-
resultAmount
|
|
2562
|
-
initialAmount
|
|
2558
|
+
resource: string;
|
|
2559
|
+
id: string;
|
|
2560
|
+
type: string;
|
|
2561
|
+
resultAmount: Amount$Outbound;
|
|
2562
|
+
initialAmount: Amount$Outbound;
|
|
2563
2563
|
deductions?: AmountNullable$Outbound | null | undefined;
|
|
2564
2564
|
context?: Context$Outbound | undefined;
|
|
2565
|
-
createdAt
|
|
2565
|
+
createdAt: string;
|
|
2566
2566
|
};
|
|
2567
2567
|
|
|
2568
2568
|
/** @internal */
|
|
@@ -2571,14 +2571,14 @@ export const EntityBalanceTransaction$outboundSchema: z.ZodType<
|
|
|
2571
2571
|
z.ZodTypeDef,
|
|
2572
2572
|
EntityBalanceTransaction
|
|
2573
2573
|
> = z.object({
|
|
2574
|
-
resource: z.string()
|
|
2575
|
-
id: z.string()
|
|
2576
|
-
type: BalanceTransactionType$outboundSchema
|
|
2577
|
-
resultAmount: Amount$outboundSchema
|
|
2578
|
-
initialAmount: Amount$outboundSchema
|
|
2574
|
+
resource: z.string(),
|
|
2575
|
+
id: z.string(),
|
|
2576
|
+
type: BalanceTransactionType$outboundSchema,
|
|
2577
|
+
resultAmount: Amount$outboundSchema,
|
|
2578
|
+
initialAmount: Amount$outboundSchema,
|
|
2579
2579
|
deductions: z.nullable(AmountNullable$outboundSchema).optional(),
|
|
2580
2580
|
context: z.lazy(() => Context$outboundSchema).optional(),
|
|
2581
|
-
createdAt: z.string()
|
|
2581
|
+
createdAt: z.string(),
|
|
2582
2582
|
});
|
|
2583
2583
|
|
|
2584
2584
|
/**
|