mollie-api-typescript 0.4.0 → 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 +593 -621
- package/bin/mcp-server.js.map +48 -45
- 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/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/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/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/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/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/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/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/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/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/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
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { safeParse } from "../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../types/fp.js";
|
|
8
|
+
import {
|
|
9
|
+
Amount,
|
|
10
|
+
Amount$inboundSchema,
|
|
11
|
+
Amount$Outbound,
|
|
12
|
+
Amount$outboundSchema,
|
|
13
|
+
} from "./amount.js";
|
|
14
|
+
import { SDKValidationError } from "./errors/sdkvalidationerror.js";
|
|
15
|
+
import {
|
|
16
|
+
RouteDestinationTypeResponse,
|
|
17
|
+
RouteDestinationTypeResponse$inboundSchema,
|
|
18
|
+
RouteDestinationTypeResponse$outboundSchema,
|
|
19
|
+
} from "./routedestinationtyperesponse.js";
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* The destination of the route.
|
|
23
|
+
*/
|
|
24
|
+
export type EntityRouteDestination = {
|
|
25
|
+
/**
|
|
26
|
+
* The type of destination. Currently only the destination type `organization` is supported.
|
|
27
|
+
*/
|
|
28
|
+
type: RouteDestinationTypeResponse;
|
|
29
|
+
organizationId: string;
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
export type EntityRoute = {
|
|
33
|
+
id?: string | undefined;
|
|
34
|
+
paymentId?: string | undefined;
|
|
35
|
+
/**
|
|
36
|
+
* In v2 endpoints, monetary amounts are represented as objects with a `currency` and `value` field.
|
|
37
|
+
*/
|
|
38
|
+
amount?: Amount | undefined;
|
|
39
|
+
/**
|
|
40
|
+
* The description of the route. This description is shown in the reports.
|
|
41
|
+
*/
|
|
42
|
+
description?: string | undefined;
|
|
43
|
+
/**
|
|
44
|
+
* The destination of the route.
|
|
45
|
+
*/
|
|
46
|
+
destination?: EntityRouteDestination | undefined;
|
|
47
|
+
/**
|
|
48
|
+
* Whether to create the entity in test mode or live mode.
|
|
49
|
+
*
|
|
50
|
+
* @remarks
|
|
51
|
+
*
|
|
52
|
+
* Most API credentials are specifically created for either live mode or test mode, in which case this parameter can be
|
|
53
|
+
* omitted. For organization-level credentials such as OAuth access tokens, you can enable test mode by setting
|
|
54
|
+
* `testmode` to `true`.
|
|
55
|
+
*/
|
|
56
|
+
testmode?: boolean | null | undefined;
|
|
57
|
+
};
|
|
58
|
+
|
|
59
|
+
/** @internal */
|
|
60
|
+
export const EntityRouteDestination$inboundSchema: z.ZodType<
|
|
61
|
+
EntityRouteDestination,
|
|
62
|
+
z.ZodTypeDef,
|
|
63
|
+
unknown
|
|
64
|
+
> = z.object({
|
|
65
|
+
type: RouteDestinationTypeResponse$inboundSchema,
|
|
66
|
+
organizationId: z.string(),
|
|
67
|
+
});
|
|
68
|
+
|
|
69
|
+
/** @internal */
|
|
70
|
+
export type EntityRouteDestination$Outbound = {
|
|
71
|
+
type: string;
|
|
72
|
+
organizationId: string;
|
|
73
|
+
};
|
|
74
|
+
|
|
75
|
+
/** @internal */
|
|
76
|
+
export const EntityRouteDestination$outboundSchema: z.ZodType<
|
|
77
|
+
EntityRouteDestination$Outbound,
|
|
78
|
+
z.ZodTypeDef,
|
|
79
|
+
EntityRouteDestination
|
|
80
|
+
> = z.object({
|
|
81
|
+
type: RouteDestinationTypeResponse$outboundSchema,
|
|
82
|
+
organizationId: z.string(),
|
|
83
|
+
});
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
* @internal
|
|
87
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
88
|
+
*/
|
|
89
|
+
export namespace EntityRouteDestination$ {
|
|
90
|
+
/** @deprecated use `EntityRouteDestination$inboundSchema` instead. */
|
|
91
|
+
export const inboundSchema = EntityRouteDestination$inboundSchema;
|
|
92
|
+
/** @deprecated use `EntityRouteDestination$outboundSchema` instead. */
|
|
93
|
+
export const outboundSchema = EntityRouteDestination$outboundSchema;
|
|
94
|
+
/** @deprecated use `EntityRouteDestination$Outbound` instead. */
|
|
95
|
+
export type Outbound = EntityRouteDestination$Outbound;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
export function entityRouteDestinationToJSON(
|
|
99
|
+
entityRouteDestination: EntityRouteDestination,
|
|
100
|
+
): string {
|
|
101
|
+
return JSON.stringify(
|
|
102
|
+
EntityRouteDestination$outboundSchema.parse(entityRouteDestination),
|
|
103
|
+
);
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
export function entityRouteDestinationFromJSON(
|
|
107
|
+
jsonString: string,
|
|
108
|
+
): SafeParseResult<EntityRouteDestination, SDKValidationError> {
|
|
109
|
+
return safeParse(
|
|
110
|
+
jsonString,
|
|
111
|
+
(x) => EntityRouteDestination$inboundSchema.parse(JSON.parse(x)),
|
|
112
|
+
`Failed to parse 'EntityRouteDestination' from JSON`,
|
|
113
|
+
);
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
/** @internal */
|
|
117
|
+
export const EntityRoute$inboundSchema: z.ZodType<
|
|
118
|
+
EntityRoute,
|
|
119
|
+
z.ZodTypeDef,
|
|
120
|
+
unknown
|
|
121
|
+
> = z.object({
|
|
122
|
+
id: z.string().optional(),
|
|
123
|
+
paymentId: z.string().optional(),
|
|
124
|
+
amount: Amount$inboundSchema.optional(),
|
|
125
|
+
description: z.string().optional(),
|
|
126
|
+
destination: z.lazy(() => EntityRouteDestination$inboundSchema).optional(),
|
|
127
|
+
testmode: z.nullable(z.boolean()).optional(),
|
|
128
|
+
});
|
|
129
|
+
|
|
130
|
+
/** @internal */
|
|
131
|
+
export type EntityRoute$Outbound = {
|
|
132
|
+
id?: string | undefined;
|
|
133
|
+
paymentId?: string | undefined;
|
|
134
|
+
amount?: Amount$Outbound | undefined;
|
|
135
|
+
description?: string | undefined;
|
|
136
|
+
destination?: EntityRouteDestination$Outbound | undefined;
|
|
137
|
+
testmode?: boolean | null | undefined;
|
|
138
|
+
};
|
|
139
|
+
|
|
140
|
+
/** @internal */
|
|
141
|
+
export const EntityRoute$outboundSchema: z.ZodType<
|
|
142
|
+
EntityRoute$Outbound,
|
|
143
|
+
z.ZodTypeDef,
|
|
144
|
+
EntityRoute
|
|
145
|
+
> = z.object({
|
|
146
|
+
id: z.string().optional(),
|
|
147
|
+
paymentId: z.string().optional(),
|
|
148
|
+
amount: Amount$outboundSchema.optional(),
|
|
149
|
+
description: z.string().optional(),
|
|
150
|
+
destination: z.lazy(() => EntityRouteDestination$outboundSchema).optional(),
|
|
151
|
+
testmode: z.nullable(z.boolean()).optional(),
|
|
152
|
+
});
|
|
153
|
+
|
|
154
|
+
/**
|
|
155
|
+
* @internal
|
|
156
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
157
|
+
*/
|
|
158
|
+
export namespace EntityRoute$ {
|
|
159
|
+
/** @deprecated use `EntityRoute$inboundSchema` instead. */
|
|
160
|
+
export const inboundSchema = EntityRoute$inboundSchema;
|
|
161
|
+
/** @deprecated use `EntityRoute$outboundSchema` instead. */
|
|
162
|
+
export const outboundSchema = EntityRoute$outboundSchema;
|
|
163
|
+
/** @deprecated use `EntityRoute$Outbound` instead. */
|
|
164
|
+
export type Outbound = EntityRoute$Outbound;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
export function entityRouteToJSON(entityRoute: EntityRoute): string {
|
|
168
|
+
return JSON.stringify(EntityRoute$outboundSchema.parse(entityRoute));
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
export function entityRouteFromJSON(
|
|
172
|
+
jsonString: string,
|
|
173
|
+
): SafeParseResult<EntityRoute, SDKValidationError> {
|
|
174
|
+
return safeParse(
|
|
175
|
+
jsonString,
|
|
176
|
+
(x) => EntityRoute$inboundSchema.parse(JSON.parse(x)),
|
|
177
|
+
`Failed to parse 'EntityRoute' from JSON`,
|
|
178
|
+
);
|
|
179
|
+
}
|
|
@@ -6,12 +6,6 @@ import * as z from "zod";
|
|
|
6
6
|
import { remap as remap$ } from "../lib/primitives.js";
|
|
7
7
|
import { safeParse } from "../lib/schemas.js";
|
|
8
8
|
import { Result as SafeParseResult } from "../types/fp.js";
|
|
9
|
-
import {
|
|
10
|
-
EntityProfileResponse,
|
|
11
|
-
EntityProfileResponse$inboundSchema,
|
|
12
|
-
EntityProfileResponse$Outbound,
|
|
13
|
-
EntityProfileResponse$outboundSchema,
|
|
14
|
-
} from "./entityprofileresponse.js";
|
|
15
9
|
import { SDKValidationError } from "./errors/sdkvalidationerror.js";
|
|
16
10
|
import {
|
|
17
11
|
PaymentLinkResponse,
|
|
@@ -19,6 +13,12 @@ import {
|
|
|
19
13
|
PaymentLinkResponse$Outbound,
|
|
20
14
|
PaymentLinkResponse$outboundSchema,
|
|
21
15
|
} from "./paymentlinkresponse.js";
|
|
16
|
+
import {
|
|
17
|
+
ProfileResponse,
|
|
18
|
+
ProfileResponse$inboundSchema,
|
|
19
|
+
ProfileResponse$Outbound,
|
|
20
|
+
ProfileResponse$outboundSchema,
|
|
21
|
+
} from "./profileresponse.js";
|
|
22
22
|
import {
|
|
23
23
|
Url,
|
|
24
24
|
Url$inboundSchema,
|
|
@@ -31,13 +31,13 @@ import {
|
|
|
31
31
|
WebhookEventTypes$outboundSchema,
|
|
32
32
|
} from "./webhookeventtypes.js";
|
|
33
33
|
|
|
34
|
-
export type Entity = PaymentLinkResponse |
|
|
34
|
+
export type Entity = PaymentLinkResponse | ProfileResponse;
|
|
35
35
|
|
|
36
36
|
/**
|
|
37
37
|
* Full payload of the event.
|
|
38
38
|
*/
|
|
39
39
|
export type Embedded = {
|
|
40
|
-
entity?: PaymentLinkResponse |
|
|
40
|
+
entity?: PaymentLinkResponse | ProfileResponse | undefined;
|
|
41
41
|
};
|
|
42
42
|
|
|
43
43
|
/**
|
|
@@ -91,15 +91,12 @@ export type EntityWebhookEvent = {
|
|
|
91
91
|
|
|
92
92
|
/** @internal */
|
|
93
93
|
export const Entity$inboundSchema: z.ZodType<Entity, z.ZodTypeDef, unknown> = z
|
|
94
|
-
.union([
|
|
95
|
-
PaymentLinkResponse$inboundSchema,
|
|
96
|
-
EntityProfileResponse$inboundSchema,
|
|
97
|
-
]);
|
|
94
|
+
.union([PaymentLinkResponse$inboundSchema, ProfileResponse$inboundSchema]);
|
|
98
95
|
|
|
99
96
|
/** @internal */
|
|
100
97
|
export type Entity$Outbound =
|
|
101
98
|
| PaymentLinkResponse$Outbound
|
|
102
|
-
|
|
|
99
|
+
| ProfileResponse$Outbound;
|
|
103
100
|
|
|
104
101
|
/** @internal */
|
|
105
102
|
export const Entity$outboundSchema: z.ZodType<
|
|
@@ -108,7 +105,7 @@ export const Entity$outboundSchema: z.ZodType<
|
|
|
108
105
|
Entity
|
|
109
106
|
> = z.union([
|
|
110
107
|
PaymentLinkResponse$outboundSchema,
|
|
111
|
-
|
|
108
|
+
ProfileResponse$outboundSchema,
|
|
112
109
|
]);
|
|
113
110
|
|
|
114
111
|
/**
|
|
@@ -146,16 +143,13 @@ export const Embedded$inboundSchema: z.ZodType<
|
|
|
146
143
|
> = z.object({
|
|
147
144
|
entity: z.union([
|
|
148
145
|
PaymentLinkResponse$inboundSchema,
|
|
149
|
-
|
|
146
|
+
ProfileResponse$inboundSchema,
|
|
150
147
|
]).optional(),
|
|
151
148
|
});
|
|
152
149
|
|
|
153
150
|
/** @internal */
|
|
154
151
|
export type Embedded$Outbound = {
|
|
155
|
-
entity?:
|
|
156
|
-
| PaymentLinkResponse$Outbound
|
|
157
|
-
| EntityProfileResponse$Outbound
|
|
158
|
-
| undefined;
|
|
152
|
+
entity?: PaymentLinkResponse$Outbound | ProfileResponse$Outbound | undefined;
|
|
159
153
|
};
|
|
160
154
|
|
|
161
155
|
/** @internal */
|
|
@@ -166,7 +160,7 @@ export const Embedded$outboundSchema: z.ZodType<
|
|
|
166
160
|
> = z.object({
|
|
167
161
|
entity: z.union([
|
|
168
162
|
PaymentLinkResponse$outboundSchema,
|
|
169
|
-
|
|
163
|
+
ProfileResponse$outboundSchema,
|
|
170
164
|
]).optional(),
|
|
171
165
|
});
|
|
172
166
|
|
package/src/models/index.ts
CHANGED
|
@@ -24,6 +24,7 @@ export * from "./capturemode.js";
|
|
|
24
24
|
export * from "./capturemoderesponse.js";
|
|
25
25
|
export * from "./captureresponse.js";
|
|
26
26
|
export * from "./capturestatus.js";
|
|
27
|
+
export * from "./clientlinkresponse.js";
|
|
27
28
|
export * from "./componentssubtotals.js";
|
|
28
29
|
export * from "./createwebhook.js";
|
|
29
30
|
export * from "./currencies.js";
|
|
@@ -41,7 +42,6 @@ export * from "./entitycapabilityrequirement.js";
|
|
|
41
42
|
export * from "./entitycapture.js";
|
|
42
43
|
export * from "./entitychargeback.js";
|
|
43
44
|
export * from "./entityclientlink.js";
|
|
44
|
-
export * from "./entityclientlinkresponse.js";
|
|
45
45
|
export * from "./entitycustomer.js";
|
|
46
46
|
export * from "./entityevent.js";
|
|
47
47
|
export * from "./entityinvoice.js";
|
|
@@ -54,9 +54,9 @@ export * from "./entitypaymentroute.js";
|
|
|
54
54
|
export * from "./entitypaymentrouteresponse.js";
|
|
55
55
|
export * from "./entitypermission.js";
|
|
56
56
|
export * from "./entityprofile.js";
|
|
57
|
-
export * from "./entityprofileresponse.js";
|
|
58
57
|
export * from "./entityrefund.js";
|
|
59
58
|
export * from "./entityrefundresponse.js";
|
|
59
|
+
export * from "./entityroute.js";
|
|
60
60
|
export * from "./entitysalesinvoice.js";
|
|
61
61
|
export * from "./entitysalesinvoiceresponse.js";
|
|
62
62
|
export * from "./entitysettlement.js";
|
|
@@ -79,10 +79,13 @@ export * from "./mandateresponse.js";
|
|
|
79
79
|
export * from "./mandatestatus.js";
|
|
80
80
|
export * from "./metadata.js";
|
|
81
81
|
export * from "./method.js";
|
|
82
|
+
export * from "./methodincludewalletsparameter.js";
|
|
83
|
+
export * from "./methodresourceparameter.js";
|
|
82
84
|
export * from "./methodresponse.js";
|
|
83
85
|
export * from "./methodstatus.js";
|
|
84
86
|
export * from "./mode.js";
|
|
85
87
|
export * from "./onboardingstatus.js";
|
|
88
|
+
export * from "./onboardingvatregulation.js";
|
|
86
89
|
export * from "./organizationvatregulation.js";
|
|
87
90
|
export * from "./paymentaddress.js";
|
|
88
91
|
export * from "./paymentdetailscardauditionresponse.js";
|
|
@@ -106,6 +109,7 @@ export * from "./paymentmethod.js";
|
|
|
106
109
|
export * from "./paymentrequest.js";
|
|
107
110
|
export * from "./paymentresponse.js";
|
|
108
111
|
export * from "./paymentstatus.js";
|
|
112
|
+
export * from "./profileresponse.js";
|
|
109
113
|
export * from "./profilereviewstatusresponse.js";
|
|
110
114
|
export * from "./profilestatus.js";
|
|
111
115
|
export * from "./recurringlineitem.js";
|
|
@@ -113,7 +117,6 @@ export * from "./refundexternalreferencetype.js";
|
|
|
113
117
|
export * from "./refundexternalreferencetyperesponse.js";
|
|
114
118
|
export * from "./refundroutingreversalssourcetype.js";
|
|
115
119
|
export * from "./refundstatus.js";
|
|
116
|
-
export * from "./routecreaterequest.js";
|
|
117
120
|
export * from "./routecreateresponse.js";
|
|
118
121
|
export * from "./routedestinationtype.js";
|
|
119
122
|
export * from "./routedestinationtyperesponse.js";
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { ClosedEnum } from "../types/enums.js";
|
|
7
|
+
|
|
8
|
+
export const MethodIncludeWalletsParameter = {
|
|
9
|
+
Applepay: "applepay",
|
|
10
|
+
} as const;
|
|
11
|
+
export type MethodIncludeWalletsParameter = ClosedEnum<
|
|
12
|
+
typeof MethodIncludeWalletsParameter
|
|
13
|
+
>;
|
|
14
|
+
|
|
15
|
+
/** @internal */
|
|
16
|
+
export const MethodIncludeWalletsParameter$inboundSchema: z.ZodNativeEnum<
|
|
17
|
+
typeof MethodIncludeWalletsParameter
|
|
18
|
+
> = z.nativeEnum(MethodIncludeWalletsParameter);
|
|
19
|
+
|
|
20
|
+
/** @internal */
|
|
21
|
+
export const MethodIncludeWalletsParameter$outboundSchema: z.ZodNativeEnum<
|
|
22
|
+
typeof MethodIncludeWalletsParameter
|
|
23
|
+
> = MethodIncludeWalletsParameter$inboundSchema;
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* @internal
|
|
27
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
28
|
+
*/
|
|
29
|
+
export namespace MethodIncludeWalletsParameter$ {
|
|
30
|
+
/** @deprecated use `MethodIncludeWalletsParameter$inboundSchema` instead. */
|
|
31
|
+
export const inboundSchema = MethodIncludeWalletsParameter$inboundSchema;
|
|
32
|
+
/** @deprecated use `MethodIncludeWalletsParameter$outboundSchema` instead. */
|
|
33
|
+
export const outboundSchema = MethodIncludeWalletsParameter$outboundSchema;
|
|
34
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { ClosedEnum } from "../types/enums.js";
|
|
7
|
+
|
|
8
|
+
export const MethodResourceParameter = {
|
|
9
|
+
Payments: "payments",
|
|
10
|
+
Orders: "orders",
|
|
11
|
+
} as const;
|
|
12
|
+
export type MethodResourceParameter = ClosedEnum<
|
|
13
|
+
typeof MethodResourceParameter
|
|
14
|
+
>;
|
|
15
|
+
|
|
16
|
+
/** @internal */
|
|
17
|
+
export const MethodResourceParameter$inboundSchema: z.ZodNativeEnum<
|
|
18
|
+
typeof MethodResourceParameter
|
|
19
|
+
> = z.nativeEnum(MethodResourceParameter);
|
|
20
|
+
|
|
21
|
+
/** @internal */
|
|
22
|
+
export const MethodResourceParameter$outboundSchema: z.ZodNativeEnum<
|
|
23
|
+
typeof MethodResourceParameter
|
|
24
|
+
> = MethodResourceParameter$inboundSchema;
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* @internal
|
|
28
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
29
|
+
*/
|
|
30
|
+
export namespace MethodResourceParameter$ {
|
|
31
|
+
/** @deprecated use `MethodResourceParameter$inboundSchema` instead. */
|
|
32
|
+
export const inboundSchema = MethodResourceParameter$inboundSchema;
|
|
33
|
+
/** @deprecated use `MethodResourceParameter$outboundSchema` instead. */
|
|
34
|
+
export const outboundSchema = MethodResourceParameter$outboundSchema;
|
|
35
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { ClosedEnum } from "../types/enums.js";
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Mollie applies Dutch VAT for merchants based in The Netherlands, British VAT for merchants based in
|
|
10
|
+
*
|
|
11
|
+
* @remarks
|
|
12
|
+
* The United Kingdom, and shifted VAT for merchants in the European Union.
|
|
13
|
+
*
|
|
14
|
+
* The field can be omitted for merchants residing in other countries.
|
|
15
|
+
*/
|
|
16
|
+
export const OnboardingVatRegulation = {
|
|
17
|
+
Dutch: "dutch",
|
|
18
|
+
British: "british",
|
|
19
|
+
Shifted: "shifted",
|
|
20
|
+
} as const;
|
|
21
|
+
/**
|
|
22
|
+
* Mollie applies Dutch VAT for merchants based in The Netherlands, British VAT for merchants based in
|
|
23
|
+
*
|
|
24
|
+
* @remarks
|
|
25
|
+
* The United Kingdom, and shifted VAT for merchants in the European Union.
|
|
26
|
+
*
|
|
27
|
+
* The field can be omitted for merchants residing in other countries.
|
|
28
|
+
*/
|
|
29
|
+
export type OnboardingVatRegulation = ClosedEnum<
|
|
30
|
+
typeof OnboardingVatRegulation
|
|
31
|
+
>;
|
|
32
|
+
|
|
33
|
+
/** @internal */
|
|
34
|
+
export const OnboardingVatRegulation$inboundSchema: z.ZodNativeEnum<
|
|
35
|
+
typeof OnboardingVatRegulation
|
|
36
|
+
> = z.nativeEnum(OnboardingVatRegulation);
|
|
37
|
+
|
|
38
|
+
/** @internal */
|
|
39
|
+
export const OnboardingVatRegulation$outboundSchema: z.ZodNativeEnum<
|
|
40
|
+
typeof OnboardingVatRegulation
|
|
41
|
+
> = OnboardingVatRegulation$inboundSchema;
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* @internal
|
|
45
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
46
|
+
*/
|
|
47
|
+
export namespace OnboardingVatRegulation$ {
|
|
48
|
+
/** @deprecated use `OnboardingVatRegulation$inboundSchema` instead. */
|
|
49
|
+
export const inboundSchema = OnboardingVatRegulation$inboundSchema;
|
|
50
|
+
/** @deprecated use `OnboardingVatRegulation$outboundSchema` instead. */
|
|
51
|
+
export const outboundSchema = OnboardingVatRegulation$outboundSchema;
|
|
52
|
+
}
|
|
@@ -5,35 +5,9 @@
|
|
|
5
5
|
import * as z from "zod";
|
|
6
6
|
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
7
|
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
-
import { ClosedEnum } from "../../types/enums.js";
|
|
9
8
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
10
9
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* You can retrieve reports in two different formats. With the `status-balances` format, transactions are grouped
|
|
14
|
-
*
|
|
15
|
-
* @remarks
|
|
16
|
-
* by status (e.g. `pending`, `available`), then by transaction type, and then by other sub-groupings where
|
|
17
|
-
* available (e.g. payment method).
|
|
18
|
-
*
|
|
19
|
-
* With the `transaction-categories` format, transactions are grouped by
|
|
20
|
-
* transaction type, then by status, and then again by other sub-groupings where available.
|
|
21
|
-
*/
|
|
22
|
-
export const Grouping = {
|
|
23
|
-
StatusBalances: "status-balances",
|
|
24
|
-
TransactionCategories: "transaction-categories",
|
|
25
|
-
} as const;
|
|
26
|
-
/**
|
|
27
|
-
* You can retrieve reports in two different formats. With the `status-balances` format, transactions are grouped
|
|
28
|
-
*
|
|
29
|
-
* @remarks
|
|
30
|
-
* by status (e.g. `pending`, `available`), then by transaction type, and then by other sub-groupings where
|
|
31
|
-
* available (e.g. payment method).
|
|
32
|
-
*
|
|
33
|
-
* With the `transaction-categories` format, transactions are grouped by
|
|
34
|
-
* transaction type, then by status, and then again by other sub-groupings where available.
|
|
35
|
-
*/
|
|
36
|
-
export type Grouping = ClosedEnum<typeof Grouping>;
|
|
10
|
+
import * as models from "../index.js";
|
|
37
11
|
|
|
38
12
|
export type GetBalanceReportRequest = {
|
|
39
13
|
/**
|
|
@@ -66,7 +40,7 @@ export type GetBalanceReportRequest = {
|
|
|
66
40
|
* With the `transaction-categories` format, transactions are grouped by
|
|
67
41
|
* transaction type, then by status, and then again by other sub-groupings where available.
|
|
68
42
|
*/
|
|
69
|
-
grouping?:
|
|
43
|
+
grouping?: models.BalanceReportGrouping | undefined;
|
|
70
44
|
/**
|
|
71
45
|
* Most API credentials are specifically created for either live mode or test mode. In those cases the `testmode` query
|
|
72
46
|
*
|
|
@@ -83,25 +57,6 @@ export type GetBalanceReportRequest = {
|
|
|
83
57
|
idempotencyKey?: string | undefined;
|
|
84
58
|
};
|
|
85
59
|
|
|
86
|
-
/** @internal */
|
|
87
|
-
export const Grouping$inboundSchema: z.ZodNativeEnum<typeof Grouping> = z
|
|
88
|
-
.nativeEnum(Grouping);
|
|
89
|
-
|
|
90
|
-
/** @internal */
|
|
91
|
-
export const Grouping$outboundSchema: z.ZodNativeEnum<typeof Grouping> =
|
|
92
|
-
Grouping$inboundSchema;
|
|
93
|
-
|
|
94
|
-
/**
|
|
95
|
-
* @internal
|
|
96
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
97
|
-
*/
|
|
98
|
-
export namespace Grouping$ {
|
|
99
|
-
/** @deprecated use `Grouping$inboundSchema` instead. */
|
|
100
|
-
export const inboundSchema = Grouping$inboundSchema;
|
|
101
|
-
/** @deprecated use `Grouping$outboundSchema` instead. */
|
|
102
|
-
export const outboundSchema = Grouping$outboundSchema;
|
|
103
|
-
}
|
|
104
|
-
|
|
105
60
|
/** @internal */
|
|
106
61
|
export const GetBalanceReportRequest$inboundSchema: z.ZodType<
|
|
107
62
|
GetBalanceReportRequest,
|
|
@@ -111,7 +66,7 @@ export const GetBalanceReportRequest$inboundSchema: z.ZodType<
|
|
|
111
66
|
balanceId: z.string(),
|
|
112
67
|
from: z.string(),
|
|
113
68
|
until: z.string(),
|
|
114
|
-
grouping:
|
|
69
|
+
grouping: models.BalanceReportGrouping$inboundSchema.optional(),
|
|
115
70
|
testmode: z.nullable(z.boolean()).optional(),
|
|
116
71
|
"idempotency-key": z.string().optional(),
|
|
117
72
|
}).transform((v) => {
|
|
@@ -125,7 +80,7 @@ export type GetBalanceReportRequest$Outbound = {
|
|
|
125
80
|
balanceId: string;
|
|
126
81
|
from: string;
|
|
127
82
|
until: string;
|
|
128
|
-
grouping?: string |
|
|
83
|
+
grouping?: string | undefined;
|
|
129
84
|
testmode?: boolean | null | undefined;
|
|
130
85
|
"idempotency-key"?: string | undefined;
|
|
131
86
|
};
|
|
@@ -139,7 +94,7 @@ export const GetBalanceReportRequest$outboundSchema: z.ZodType<
|
|
|
139
94
|
balanceId: z.string(),
|
|
140
95
|
from: z.string(),
|
|
141
96
|
until: z.string(),
|
|
142
|
-
grouping:
|
|
97
|
+
grouping: models.BalanceReportGrouping$outboundSchema.optional(),
|
|
143
98
|
testmode: z.nullable(z.boolean()).optional(),
|
|
144
99
|
idempotencyKey: z.string().optional(),
|
|
145
100
|
}).transform((v) => {
|
|
@@ -68,7 +68,7 @@ export type ListAllChargebacksEmbedded = {
|
|
|
68
68
|
/**
|
|
69
69
|
* A list of chargeback objects.
|
|
70
70
|
*/
|
|
71
|
-
chargebacks
|
|
71
|
+
chargebacks: Array<models.EntityChargeback>;
|
|
72
72
|
};
|
|
73
73
|
|
|
74
74
|
/**
|
|
@@ -84,12 +84,12 @@ export type ListAllChargebacksResponse = {
|
|
|
84
84
|
* The maximum number of items per result set is controlled by the `limit` property provided in the request. The default
|
|
85
85
|
* limit is 50 items.
|
|
86
86
|
*/
|
|
87
|
-
count
|
|
88
|
-
embedded
|
|
87
|
+
count: number;
|
|
88
|
+
embedded: ListAllChargebacksEmbedded;
|
|
89
89
|
/**
|
|
90
90
|
* Links to help navigate through the lists of items. Every URL object will contain an `href` and a `type` field.
|
|
91
91
|
*/
|
|
92
|
-
links
|
|
92
|
+
links: models.ListLinks;
|
|
93
93
|
};
|
|
94
94
|
|
|
95
95
|
/** @internal */
|
|
@@ -178,12 +178,12 @@ export const ListAllChargebacksEmbedded$inboundSchema: z.ZodType<
|
|
|
178
178
|
z.ZodTypeDef,
|
|
179
179
|
unknown
|
|
180
180
|
> = z.object({
|
|
181
|
-
chargebacks: z.array(models.EntityChargeback$inboundSchema)
|
|
181
|
+
chargebacks: z.array(models.EntityChargeback$inboundSchema),
|
|
182
182
|
});
|
|
183
183
|
|
|
184
184
|
/** @internal */
|
|
185
185
|
export type ListAllChargebacksEmbedded$Outbound = {
|
|
186
|
-
chargebacks
|
|
186
|
+
chargebacks: Array<models.EntityChargeback$Outbound>;
|
|
187
187
|
};
|
|
188
188
|
|
|
189
189
|
/** @internal */
|
|
@@ -192,7 +192,7 @@ export const ListAllChargebacksEmbedded$outboundSchema: z.ZodType<
|
|
|
192
192
|
z.ZodTypeDef,
|
|
193
193
|
ListAllChargebacksEmbedded
|
|
194
194
|
> = z.object({
|
|
195
|
-
chargebacks: z.array(models.EntityChargeback$outboundSchema)
|
|
195
|
+
chargebacks: z.array(models.EntityChargeback$outboundSchema),
|
|
196
196
|
});
|
|
197
197
|
|
|
198
198
|
/**
|
|
@@ -232,9 +232,9 @@ export const ListAllChargebacksResponse$inboundSchema: z.ZodType<
|
|
|
232
232
|
z.ZodTypeDef,
|
|
233
233
|
unknown
|
|
234
234
|
> = z.object({
|
|
235
|
-
count: z.number().int()
|
|
236
|
-
_embedded: z.lazy(() => ListAllChargebacksEmbedded$inboundSchema)
|
|
237
|
-
_links: models.ListLinks$inboundSchema
|
|
235
|
+
count: z.number().int(),
|
|
236
|
+
_embedded: z.lazy(() => ListAllChargebacksEmbedded$inboundSchema),
|
|
237
|
+
_links: models.ListLinks$inboundSchema,
|
|
238
238
|
}).transform((v) => {
|
|
239
239
|
return remap$(v, {
|
|
240
240
|
"_embedded": "embedded",
|
|
@@ -244,9 +244,9 @@ export const ListAllChargebacksResponse$inboundSchema: z.ZodType<
|
|
|
244
244
|
|
|
245
245
|
/** @internal */
|
|
246
246
|
export type ListAllChargebacksResponse$Outbound = {
|
|
247
|
-
count
|
|
248
|
-
_embedded
|
|
249
|
-
_links
|
|
247
|
+
count: number;
|
|
248
|
+
_embedded: ListAllChargebacksEmbedded$Outbound;
|
|
249
|
+
_links: models.ListLinks$Outbound;
|
|
250
250
|
};
|
|
251
251
|
|
|
252
252
|
/** @internal */
|
|
@@ -255,9 +255,9 @@ export const ListAllChargebacksResponse$outboundSchema: z.ZodType<
|
|
|
255
255
|
z.ZodTypeDef,
|
|
256
256
|
ListAllChargebacksResponse
|
|
257
257
|
> = z.object({
|
|
258
|
-
count: z.number().int()
|
|
259
|
-
embedded: z.lazy(() => ListAllChargebacksEmbedded$outboundSchema)
|
|
260
|
-
links: models.ListLinks$outboundSchema
|
|
258
|
+
count: z.number().int(),
|
|
259
|
+
embedded: z.lazy(() => ListAllChargebacksEmbedded$outboundSchema),
|
|
260
|
+
links: models.ListLinks$outboundSchema,
|
|
261
261
|
}).transform((v) => {
|
|
262
262
|
return remap$(v, {
|
|
263
263
|
embedded: "_embedded",
|