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
|
@@ -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",
|
|
@@ -48,7 +48,7 @@ export type ListBalancesEmbedded = {
|
|
|
48
48
|
* @remarks
|
|
49
49
|
* the balance object, refer to the [Get balance endpoint](get-balance) documentation.
|
|
50
50
|
*/
|
|
51
|
-
balances
|
|
51
|
+
balances: Array<models.EntityBalance>;
|
|
52
52
|
};
|
|
53
53
|
|
|
54
54
|
/**
|
|
@@ -67,12 +67,12 @@ export type ListBalancesResponse = {
|
|
|
67
67
|
* The maximum number of items per result set is controlled by the `limit` property provided in the request. The default
|
|
68
68
|
* limit is 50 items.
|
|
69
69
|
*/
|
|
70
|
-
count
|
|
71
|
-
embedded
|
|
70
|
+
count: number;
|
|
71
|
+
embedded: ListBalancesEmbedded;
|
|
72
72
|
/**
|
|
73
73
|
* Links to help navigate through the lists of items. Every URL object will contain an `href` and a `type` field.
|
|
74
74
|
*/
|
|
75
|
-
links
|
|
75
|
+
links: models.ListLinks;
|
|
76
76
|
};
|
|
77
77
|
|
|
78
78
|
/** @internal */
|
|
@@ -155,12 +155,12 @@ export const ListBalancesEmbedded$inboundSchema: z.ZodType<
|
|
|
155
155
|
z.ZodTypeDef,
|
|
156
156
|
unknown
|
|
157
157
|
> = z.object({
|
|
158
|
-
balances: z.array(models.EntityBalance$inboundSchema)
|
|
158
|
+
balances: z.array(models.EntityBalance$inboundSchema),
|
|
159
159
|
});
|
|
160
160
|
|
|
161
161
|
/** @internal */
|
|
162
162
|
export type ListBalancesEmbedded$Outbound = {
|
|
163
|
-
balances
|
|
163
|
+
balances: Array<models.EntityBalance$Outbound>;
|
|
164
164
|
};
|
|
165
165
|
|
|
166
166
|
/** @internal */
|
|
@@ -169,7 +169,7 @@ export const ListBalancesEmbedded$outboundSchema: z.ZodType<
|
|
|
169
169
|
z.ZodTypeDef,
|
|
170
170
|
ListBalancesEmbedded
|
|
171
171
|
> = z.object({
|
|
172
|
-
balances: z.array(models.EntityBalance$outboundSchema)
|
|
172
|
+
balances: z.array(models.EntityBalance$outboundSchema),
|
|
173
173
|
});
|
|
174
174
|
|
|
175
175
|
/**
|
|
@@ -209,9 +209,9 @@ export const ListBalancesResponse$inboundSchema: z.ZodType<
|
|
|
209
209
|
z.ZodTypeDef,
|
|
210
210
|
unknown
|
|
211
211
|
> = z.object({
|
|
212
|
-
count: z.number().int()
|
|
213
|
-
_embedded: z.lazy(() => ListBalancesEmbedded$inboundSchema)
|
|
214
|
-
_links: models.ListLinks$inboundSchema
|
|
212
|
+
count: z.number().int(),
|
|
213
|
+
_embedded: z.lazy(() => ListBalancesEmbedded$inboundSchema),
|
|
214
|
+
_links: models.ListLinks$inboundSchema,
|
|
215
215
|
}).transform((v) => {
|
|
216
216
|
return remap$(v, {
|
|
217
217
|
"_embedded": "embedded",
|
|
@@ -221,9 +221,9 @@ export const ListBalancesResponse$inboundSchema: z.ZodType<
|
|
|
221
221
|
|
|
222
222
|
/** @internal */
|
|
223
223
|
export type ListBalancesResponse$Outbound = {
|
|
224
|
-
count
|
|
225
|
-
_embedded
|
|
226
|
-
_links
|
|
224
|
+
count: number;
|
|
225
|
+
_embedded: ListBalancesEmbedded$Outbound;
|
|
226
|
+
_links: models.ListLinks$Outbound;
|
|
227
227
|
};
|
|
228
228
|
|
|
229
229
|
/** @internal */
|
|
@@ -232,9 +232,9 @@ export const ListBalancesResponse$outboundSchema: z.ZodType<
|
|
|
232
232
|
z.ZodTypeDef,
|
|
233
233
|
ListBalancesResponse
|
|
234
234
|
> = z.object({
|
|
235
|
-
count: z.number().int()
|
|
236
|
-
embedded: z.lazy(() => ListBalancesEmbedded$outboundSchema)
|
|
237
|
-
links: models.ListLinks$outboundSchema
|
|
235
|
+
count: z.number().int(),
|
|
236
|
+
embedded: z.lazy(() => ListBalancesEmbedded$outboundSchema),
|
|
237
|
+
links: models.ListLinks$outboundSchema,
|
|
238
238
|
}).transform((v) => {
|
|
239
239
|
return remap$(v, {
|
|
240
240
|
embedded: "_embedded",
|
|
@@ -45,7 +45,7 @@ export type ListBalanceTransactionsEmbedded = {
|
|
|
45
45
|
/**
|
|
46
46
|
* An array of balance transaction objects.
|
|
47
47
|
*/
|
|
48
|
-
balanceTransactions
|
|
48
|
+
balanceTransactions: Array<models.EntityBalanceTransaction>;
|
|
49
49
|
};
|
|
50
50
|
|
|
51
51
|
/**
|
|
@@ -61,12 +61,12 @@ export type ListBalanceTransactionsResponse = {
|
|
|
61
61
|
* The maximum number of items per result set is controlled by the `limit` property provided in the request. The default
|
|
62
62
|
* limit is 50 items.
|
|
63
63
|
*/
|
|
64
|
-
count
|
|
65
|
-
embedded
|
|
64
|
+
count: number;
|
|
65
|
+
embedded: ListBalanceTransactionsEmbedded;
|
|
66
66
|
/**
|
|
67
67
|
* Links to help navigate through the lists of items. Every URL object will contain an `href` and a `type` field.
|
|
68
68
|
*/
|
|
69
|
-
links
|
|
69
|
+
links: models.ListLinks;
|
|
70
70
|
};
|
|
71
71
|
|
|
72
72
|
/** @internal */
|
|
@@ -151,8 +151,7 @@ export const ListBalanceTransactionsEmbedded$inboundSchema: z.ZodType<
|
|
|
151
151
|
z.ZodTypeDef,
|
|
152
152
|
unknown
|
|
153
153
|
> = z.object({
|
|
154
|
-
balance_transactions: z.array(models.EntityBalanceTransaction$inboundSchema)
|
|
155
|
-
.optional(),
|
|
154
|
+
balance_transactions: z.array(models.EntityBalanceTransaction$inboundSchema),
|
|
156
155
|
}).transform((v) => {
|
|
157
156
|
return remap$(v, {
|
|
158
157
|
"balance_transactions": "balanceTransactions",
|
|
@@ -161,9 +160,7 @@ export const ListBalanceTransactionsEmbedded$inboundSchema: z.ZodType<
|
|
|
161
160
|
|
|
162
161
|
/** @internal */
|
|
163
162
|
export type ListBalanceTransactionsEmbedded$Outbound = {
|
|
164
|
-
balance_transactions
|
|
165
|
-
| Array<models.EntityBalanceTransaction$Outbound>
|
|
166
|
-
| undefined;
|
|
163
|
+
balance_transactions: Array<models.EntityBalanceTransaction$Outbound>;
|
|
167
164
|
};
|
|
168
165
|
|
|
169
166
|
/** @internal */
|
|
@@ -172,8 +169,7 @@ export const ListBalanceTransactionsEmbedded$outboundSchema: z.ZodType<
|
|
|
172
169
|
z.ZodTypeDef,
|
|
173
170
|
ListBalanceTransactionsEmbedded
|
|
174
171
|
> = z.object({
|
|
175
|
-
balanceTransactions: z.array(models.EntityBalanceTransaction$outboundSchema)
|
|
176
|
-
.optional(),
|
|
172
|
+
balanceTransactions: z.array(models.EntityBalanceTransaction$outboundSchema),
|
|
177
173
|
}).transform((v) => {
|
|
178
174
|
return remap$(v, {
|
|
179
175
|
balanceTransactions: "balance_transactions",
|
|
@@ -219,10 +215,9 @@ export const ListBalanceTransactionsResponse$inboundSchema: z.ZodType<
|
|
|
219
215
|
z.ZodTypeDef,
|
|
220
216
|
unknown
|
|
221
217
|
> = z.object({
|
|
222
|
-
count: z.number().int()
|
|
223
|
-
_embedded: z.lazy(() => ListBalanceTransactionsEmbedded$inboundSchema)
|
|
224
|
-
|
|
225
|
-
_links: models.ListLinks$inboundSchema.optional(),
|
|
218
|
+
count: z.number().int(),
|
|
219
|
+
_embedded: z.lazy(() => ListBalanceTransactionsEmbedded$inboundSchema),
|
|
220
|
+
_links: models.ListLinks$inboundSchema,
|
|
226
221
|
}).transform((v) => {
|
|
227
222
|
return remap$(v, {
|
|
228
223
|
"_embedded": "embedded",
|
|
@@ -232,9 +227,9 @@ export const ListBalanceTransactionsResponse$inboundSchema: z.ZodType<
|
|
|
232
227
|
|
|
233
228
|
/** @internal */
|
|
234
229
|
export type ListBalanceTransactionsResponse$Outbound = {
|
|
235
|
-
count
|
|
236
|
-
_embedded
|
|
237
|
-
_links
|
|
230
|
+
count: number;
|
|
231
|
+
_embedded: ListBalanceTransactionsEmbedded$Outbound;
|
|
232
|
+
_links: models.ListLinks$Outbound;
|
|
238
233
|
};
|
|
239
234
|
|
|
240
235
|
/** @internal */
|
|
@@ -243,10 +238,9 @@ export const ListBalanceTransactionsResponse$outboundSchema: z.ZodType<
|
|
|
243
238
|
z.ZodTypeDef,
|
|
244
239
|
ListBalanceTransactionsResponse
|
|
245
240
|
> = z.object({
|
|
246
|
-
count: z.number().int()
|
|
247
|
-
embedded: z.lazy(() => ListBalanceTransactionsEmbedded$outboundSchema)
|
|
248
|
-
|
|
249
|
-
links: models.ListLinks$outboundSchema.optional(),
|
|
241
|
+
count: z.number().int(),
|
|
242
|
+
embedded: z.lazy(() => ListBalanceTransactionsEmbedded$outboundSchema),
|
|
243
|
+
links: models.ListLinks$outboundSchema,
|
|
250
244
|
}).transform((v) => {
|
|
251
245
|
return remap$(v, {
|
|
252
246
|
embedded: "_embedded",
|
|
@@ -17,16 +17,14 @@ export type ListCapabilitiesRequest = {
|
|
|
17
17
|
};
|
|
18
18
|
|
|
19
19
|
export type ListCapabilitiesEmbedded = {
|
|
20
|
-
capabilities
|
|
21
|
-
};
|
|
22
|
-
|
|
23
|
-
export type Documentation = {
|
|
24
|
-
href?: string | undefined;
|
|
25
|
-
type?: string | undefined;
|
|
20
|
+
capabilities: Array<models.EntityCapability>;
|
|
26
21
|
};
|
|
27
22
|
|
|
28
23
|
export type ListCapabilitiesLinks = {
|
|
29
|
-
|
|
24
|
+
/**
|
|
25
|
+
* In v2 endpoints, URLs are commonly represented as objects with an `href` and `type` field.
|
|
26
|
+
*/
|
|
27
|
+
documentation?: models.Url | undefined;
|
|
30
28
|
};
|
|
31
29
|
|
|
32
30
|
/**
|
|
@@ -36,9 +34,9 @@ export type ListCapabilitiesResponse = {
|
|
|
36
34
|
/**
|
|
37
35
|
* The number of items in this result set.
|
|
38
36
|
*/
|
|
39
|
-
count
|
|
40
|
-
embedded
|
|
41
|
-
links
|
|
37
|
+
count: number;
|
|
38
|
+
embedded: ListCapabilitiesEmbedded;
|
|
39
|
+
links: ListCapabilitiesLinks;
|
|
42
40
|
};
|
|
43
41
|
|
|
44
42
|
/** @internal */
|
|
@@ -109,12 +107,12 @@ export const ListCapabilitiesEmbedded$inboundSchema: z.ZodType<
|
|
|
109
107
|
z.ZodTypeDef,
|
|
110
108
|
unknown
|
|
111
109
|
> = z.object({
|
|
112
|
-
capabilities: z.array(models.EntityCapability$inboundSchema)
|
|
110
|
+
capabilities: z.array(models.EntityCapability$inboundSchema),
|
|
113
111
|
});
|
|
114
112
|
|
|
115
113
|
/** @internal */
|
|
116
114
|
export type ListCapabilitiesEmbedded$Outbound = {
|
|
117
|
-
capabilities
|
|
115
|
+
capabilities: Array<models.EntityCapability$Outbound>;
|
|
118
116
|
};
|
|
119
117
|
|
|
120
118
|
/** @internal */
|
|
@@ -123,7 +121,7 @@ export const ListCapabilitiesEmbedded$outboundSchema: z.ZodType<
|
|
|
123
121
|
z.ZodTypeDef,
|
|
124
122
|
ListCapabilitiesEmbedded
|
|
125
123
|
> = z.object({
|
|
126
|
-
capabilities: z.array(models.EntityCapability$outboundSchema)
|
|
124
|
+
capabilities: z.array(models.EntityCapability$outboundSchema),
|
|
127
125
|
});
|
|
128
126
|
|
|
129
127
|
/**
|
|
@@ -157,71 +155,18 @@ export function listCapabilitiesEmbeddedFromJSON(
|
|
|
157
155
|
);
|
|
158
156
|
}
|
|
159
157
|
|
|
160
|
-
/** @internal */
|
|
161
|
-
export const Documentation$inboundSchema: z.ZodType<
|
|
162
|
-
Documentation,
|
|
163
|
-
z.ZodTypeDef,
|
|
164
|
-
unknown
|
|
165
|
-
> = z.object({
|
|
166
|
-
href: z.string().optional(),
|
|
167
|
-
type: z.string().optional(),
|
|
168
|
-
});
|
|
169
|
-
|
|
170
|
-
/** @internal */
|
|
171
|
-
export type Documentation$Outbound = {
|
|
172
|
-
href?: string | undefined;
|
|
173
|
-
type?: string | undefined;
|
|
174
|
-
};
|
|
175
|
-
|
|
176
|
-
/** @internal */
|
|
177
|
-
export const Documentation$outboundSchema: z.ZodType<
|
|
178
|
-
Documentation$Outbound,
|
|
179
|
-
z.ZodTypeDef,
|
|
180
|
-
Documentation
|
|
181
|
-
> = z.object({
|
|
182
|
-
href: z.string().optional(),
|
|
183
|
-
type: z.string().optional(),
|
|
184
|
-
});
|
|
185
|
-
|
|
186
|
-
/**
|
|
187
|
-
* @internal
|
|
188
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
189
|
-
*/
|
|
190
|
-
export namespace Documentation$ {
|
|
191
|
-
/** @deprecated use `Documentation$inboundSchema` instead. */
|
|
192
|
-
export const inboundSchema = Documentation$inboundSchema;
|
|
193
|
-
/** @deprecated use `Documentation$outboundSchema` instead. */
|
|
194
|
-
export const outboundSchema = Documentation$outboundSchema;
|
|
195
|
-
/** @deprecated use `Documentation$Outbound` instead. */
|
|
196
|
-
export type Outbound = Documentation$Outbound;
|
|
197
|
-
}
|
|
198
|
-
|
|
199
|
-
export function documentationToJSON(documentation: Documentation): string {
|
|
200
|
-
return JSON.stringify(Documentation$outboundSchema.parse(documentation));
|
|
201
|
-
}
|
|
202
|
-
|
|
203
|
-
export function documentationFromJSON(
|
|
204
|
-
jsonString: string,
|
|
205
|
-
): SafeParseResult<Documentation, SDKValidationError> {
|
|
206
|
-
return safeParse(
|
|
207
|
-
jsonString,
|
|
208
|
-
(x) => Documentation$inboundSchema.parse(JSON.parse(x)),
|
|
209
|
-
`Failed to parse 'Documentation' from JSON`,
|
|
210
|
-
);
|
|
211
|
-
}
|
|
212
|
-
|
|
213
158
|
/** @internal */
|
|
214
159
|
export const ListCapabilitiesLinks$inboundSchema: z.ZodType<
|
|
215
160
|
ListCapabilitiesLinks,
|
|
216
161
|
z.ZodTypeDef,
|
|
217
162
|
unknown
|
|
218
163
|
> = z.object({
|
|
219
|
-
documentation:
|
|
164
|
+
documentation: models.Url$inboundSchema.optional(),
|
|
220
165
|
});
|
|
221
166
|
|
|
222
167
|
/** @internal */
|
|
223
168
|
export type ListCapabilitiesLinks$Outbound = {
|
|
224
|
-
documentation?:
|
|
169
|
+
documentation?: models.Url$Outbound | undefined;
|
|
225
170
|
};
|
|
226
171
|
|
|
227
172
|
/** @internal */
|
|
@@ -230,7 +175,7 @@ export const ListCapabilitiesLinks$outboundSchema: z.ZodType<
|
|
|
230
175
|
z.ZodTypeDef,
|
|
231
176
|
ListCapabilitiesLinks
|
|
232
177
|
> = z.object({
|
|
233
|
-
documentation:
|
|
178
|
+
documentation: models.Url$outboundSchema.optional(),
|
|
234
179
|
});
|
|
235
180
|
|
|
236
181
|
/**
|
|
@@ -270,9 +215,9 @@ export const ListCapabilitiesResponse$inboundSchema: z.ZodType<
|
|
|
270
215
|
z.ZodTypeDef,
|
|
271
216
|
unknown
|
|
272
217
|
> = z.object({
|
|
273
|
-
count: z.number().int()
|
|
274
|
-
_embedded: z.lazy(() => ListCapabilitiesEmbedded$inboundSchema)
|
|
275
|
-
_links: z.lazy(() => ListCapabilitiesLinks$inboundSchema)
|
|
218
|
+
count: z.number().int(),
|
|
219
|
+
_embedded: z.lazy(() => ListCapabilitiesEmbedded$inboundSchema),
|
|
220
|
+
_links: z.lazy(() => ListCapabilitiesLinks$inboundSchema),
|
|
276
221
|
}).transform((v) => {
|
|
277
222
|
return remap$(v, {
|
|
278
223
|
"_embedded": "embedded",
|
|
@@ -282,9 +227,9 @@ export const ListCapabilitiesResponse$inboundSchema: z.ZodType<
|
|
|
282
227
|
|
|
283
228
|
/** @internal */
|
|
284
229
|
export type ListCapabilitiesResponse$Outbound = {
|
|
285
|
-
count
|
|
286
|
-
_embedded
|
|
287
|
-
_links
|
|
230
|
+
count: number;
|
|
231
|
+
_embedded: ListCapabilitiesEmbedded$Outbound;
|
|
232
|
+
_links: ListCapabilitiesLinks$Outbound;
|
|
288
233
|
};
|
|
289
234
|
|
|
290
235
|
/** @internal */
|
|
@@ -293,9 +238,9 @@ export const ListCapabilitiesResponse$outboundSchema: z.ZodType<
|
|
|
293
238
|
z.ZodTypeDef,
|
|
294
239
|
ListCapabilitiesResponse
|
|
295
240
|
> = z.object({
|
|
296
|
-
count: z.number().int()
|
|
297
|
-
embedded: z.lazy(() => ListCapabilitiesEmbedded$outboundSchema)
|
|
298
|
-
links: z.lazy(() => ListCapabilitiesLinks$outboundSchema)
|
|
241
|
+
count: z.number().int(),
|
|
242
|
+
embedded: z.lazy(() => ListCapabilitiesEmbedded$outboundSchema),
|
|
243
|
+
links: z.lazy(() => ListCapabilitiesLinks$outboundSchema),
|
|
299
244
|
}).transform((v) => {
|
|
300
245
|
return remap$(v, {
|
|
301
246
|
embedded: "_embedded",
|
|
@@ -52,7 +52,7 @@ export type ListChargebacksEmbedded = {
|
|
|
52
52
|
/**
|
|
53
53
|
* A list of chargeback objects.
|
|
54
54
|
*/
|
|
55
|
-
chargebacks
|
|
55
|
+
chargebacks: Array<models.EntityChargeback>;
|
|
56
56
|
};
|
|
57
57
|
|
|
58
58
|
/**
|
|
@@ -68,12 +68,12 @@ export type ListChargebacksResponse = {
|
|
|
68
68
|
* The maximum number of items per result set is controlled by the `limit` property provided in the request. The default
|
|
69
69
|
* limit is 50 items.
|
|
70
70
|
*/
|
|
71
|
-
count
|
|
72
|
-
embedded
|
|
71
|
+
count: number;
|
|
72
|
+
embedded: ListChargebacksEmbedded;
|
|
73
73
|
/**
|
|
74
74
|
* Links to help navigate through the lists of items. Every URL object will contain an `href` and a `type` field.
|
|
75
75
|
*/
|
|
76
|
-
links
|
|
76
|
+
links: models.ListLinks;
|
|
77
77
|
};
|
|
78
78
|
|
|
79
79
|
/** @internal */
|
|
@@ -159,12 +159,12 @@ export const ListChargebacksEmbedded$inboundSchema: z.ZodType<
|
|
|
159
159
|
z.ZodTypeDef,
|
|
160
160
|
unknown
|
|
161
161
|
> = z.object({
|
|
162
|
-
chargebacks: z.array(models.EntityChargeback$inboundSchema)
|
|
162
|
+
chargebacks: z.array(models.EntityChargeback$inboundSchema),
|
|
163
163
|
});
|
|
164
164
|
|
|
165
165
|
/** @internal */
|
|
166
166
|
export type ListChargebacksEmbedded$Outbound = {
|
|
167
|
-
chargebacks
|
|
167
|
+
chargebacks: Array<models.EntityChargeback$Outbound>;
|
|
168
168
|
};
|
|
169
169
|
|
|
170
170
|
/** @internal */
|
|
@@ -173,7 +173,7 @@ export const ListChargebacksEmbedded$outboundSchema: z.ZodType<
|
|
|
173
173
|
z.ZodTypeDef,
|
|
174
174
|
ListChargebacksEmbedded
|
|
175
175
|
> = z.object({
|
|
176
|
-
chargebacks: z.array(models.EntityChargeback$outboundSchema)
|
|
176
|
+
chargebacks: z.array(models.EntityChargeback$outboundSchema),
|
|
177
177
|
});
|
|
178
178
|
|
|
179
179
|
/**
|
|
@@ -213,9 +213,9 @@ export const ListChargebacksResponse$inboundSchema: z.ZodType<
|
|
|
213
213
|
z.ZodTypeDef,
|
|
214
214
|
unknown
|
|
215
215
|
> = z.object({
|
|
216
|
-
count: z.number().int()
|
|
217
|
-
_embedded: z.lazy(() => ListChargebacksEmbedded$inboundSchema)
|
|
218
|
-
_links: models.ListLinks$inboundSchema
|
|
216
|
+
count: z.number().int(),
|
|
217
|
+
_embedded: z.lazy(() => ListChargebacksEmbedded$inboundSchema),
|
|
218
|
+
_links: models.ListLinks$inboundSchema,
|
|
219
219
|
}).transform((v) => {
|
|
220
220
|
return remap$(v, {
|
|
221
221
|
"_embedded": "embedded",
|
|
@@ -225,9 +225,9 @@ export const ListChargebacksResponse$inboundSchema: z.ZodType<
|
|
|
225
225
|
|
|
226
226
|
/** @internal */
|
|
227
227
|
export type ListChargebacksResponse$Outbound = {
|
|
228
|
-
count
|
|
229
|
-
_embedded
|
|
230
|
-
_links
|
|
228
|
+
count: number;
|
|
229
|
+
_embedded: ListChargebacksEmbedded$Outbound;
|
|
230
|
+
_links: models.ListLinks$Outbound;
|
|
231
231
|
};
|
|
232
232
|
|
|
233
233
|
/** @internal */
|
|
@@ -236,9 +236,9 @@ export const ListChargebacksResponse$outboundSchema: z.ZodType<
|
|
|
236
236
|
z.ZodTypeDef,
|
|
237
237
|
ListChargebacksResponse
|
|
238
238
|
> = z.object({
|
|
239
|
-
count: z.number().int()
|
|
240
|
-
embedded: z.lazy(() => ListChargebacksEmbedded$outboundSchema)
|
|
241
|
-
links: models.ListLinks$outboundSchema
|
|
239
|
+
count: z.number().int(),
|
|
240
|
+
embedded: z.lazy(() => ListChargebacksEmbedded$outboundSchema),
|
|
241
|
+
links: models.ListLinks$outboundSchema,
|
|
242
242
|
}).transform((v) => {
|
|
243
243
|
return remap$(v, {
|
|
244
244
|
embedded: "_embedded",
|