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
|
@@ -27,14 +27,14 @@ export type EntityCapability = {
|
|
|
27
27
|
/**
|
|
28
28
|
* Always the word `capability` for this resource type.
|
|
29
29
|
*/
|
|
30
|
-
resource
|
|
30
|
+
resource: string;
|
|
31
31
|
/**
|
|
32
32
|
* A unique name for this capability like `payments` / `settlements`.
|
|
33
33
|
*/
|
|
34
|
-
name
|
|
35
|
-
status
|
|
36
|
-
statusReason
|
|
37
|
-
requirements
|
|
34
|
+
name: string;
|
|
35
|
+
status: CapabilityStatus;
|
|
36
|
+
statusReason: CapabilityStatusReason | null;
|
|
37
|
+
requirements: Array<EntityCapabilityRequirement>;
|
|
38
38
|
};
|
|
39
39
|
|
|
40
40
|
/** @internal */
|
|
@@ -43,20 +43,20 @@ export const EntityCapability$inboundSchema: z.ZodType<
|
|
|
43
43
|
z.ZodTypeDef,
|
|
44
44
|
unknown
|
|
45
45
|
> = z.object({
|
|
46
|
-
resource: z.string()
|
|
47
|
-
name: z.string()
|
|
48
|
-
status: CapabilityStatus$inboundSchema
|
|
49
|
-
statusReason: CapabilityStatusReason$inboundSchema
|
|
50
|
-
requirements: z.array(EntityCapabilityRequirement$inboundSchema)
|
|
46
|
+
resource: z.string(),
|
|
47
|
+
name: z.string(),
|
|
48
|
+
status: CapabilityStatus$inboundSchema,
|
|
49
|
+
statusReason: z.nullable(CapabilityStatusReason$inboundSchema),
|
|
50
|
+
requirements: z.array(EntityCapabilityRequirement$inboundSchema),
|
|
51
51
|
});
|
|
52
52
|
|
|
53
53
|
/** @internal */
|
|
54
54
|
export type EntityCapability$Outbound = {
|
|
55
|
-
resource
|
|
56
|
-
name
|
|
57
|
-
status
|
|
58
|
-
statusReason
|
|
59
|
-
requirements
|
|
55
|
+
resource: string;
|
|
56
|
+
name: string;
|
|
57
|
+
status: string;
|
|
58
|
+
statusReason: string | null;
|
|
59
|
+
requirements: Array<EntityCapabilityRequirement$Outbound>;
|
|
60
60
|
};
|
|
61
61
|
|
|
62
62
|
/** @internal */
|
|
@@ -65,11 +65,11 @@ export const EntityCapability$outboundSchema: z.ZodType<
|
|
|
65
65
|
z.ZodTypeDef,
|
|
66
66
|
EntityCapability
|
|
67
67
|
> = z.object({
|
|
68
|
-
resource: z.string()
|
|
69
|
-
name: z.string()
|
|
70
|
-
status: CapabilityStatus$outboundSchema
|
|
71
|
-
statusReason: CapabilityStatusReason$outboundSchema
|
|
72
|
-
requirements: z.array(EntityCapabilityRequirement$outboundSchema)
|
|
68
|
+
resource: z.string(),
|
|
69
|
+
name: z.string(),
|
|
70
|
+
status: CapabilityStatus$outboundSchema,
|
|
71
|
+
statusReason: z.nullable(CapabilityStatusReason$outboundSchema),
|
|
72
|
+
requirements: z.array(EntityCapabilityRequirement$outboundSchema),
|
|
73
73
|
});
|
|
74
74
|
|
|
75
75
|
/**
|
|
@@ -12,32 +12,18 @@ import {
|
|
|
12
12
|
CapabilityRequirementStatus$outboundSchema,
|
|
13
13
|
} from "./capabilityrequirementstatus.js";
|
|
14
14
|
import { SDKValidationError } from "./errors/sdkvalidationerror.js";
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
*/
|
|
22
|
-
export type Dashboard = {
|
|
23
|
-
/**
|
|
24
|
-
* The actual URL string.
|
|
25
|
-
*/
|
|
26
|
-
href?: string | undefined;
|
|
27
|
-
/**
|
|
28
|
-
* The content type of the page or endpoint the URL points to.
|
|
29
|
-
*/
|
|
30
|
-
type?: string | undefined;
|
|
31
|
-
};
|
|
15
|
+
import {
|
|
16
|
+
Url,
|
|
17
|
+
Url$inboundSchema,
|
|
18
|
+
Url$Outbound,
|
|
19
|
+
Url$outboundSchema,
|
|
20
|
+
} from "./url.js";
|
|
32
21
|
|
|
33
22
|
export type EntityCapabilityRequirementLinks = {
|
|
34
23
|
/**
|
|
35
|
-
*
|
|
36
|
-
*
|
|
37
|
-
* @remarks
|
|
38
|
-
* For example, where necessary documents are to be uploaded.
|
|
24
|
+
* In v2 endpoints, URLs are commonly represented as objects with an `href` and `type` field.
|
|
39
25
|
*/
|
|
40
|
-
dashboard?:
|
|
26
|
+
dashboard?: Url | undefined;
|
|
41
27
|
};
|
|
42
28
|
|
|
43
29
|
export type EntityCapabilityRequirement = {
|
|
@@ -48,86 +34,33 @@ export type EntityCapabilityRequirement = {
|
|
|
48
34
|
* to enable or re-enable the capability. The name is unique among other requirements
|
|
49
35
|
* of the same capability.
|
|
50
36
|
*/
|
|
51
|
-
id
|
|
37
|
+
id: string;
|
|
52
38
|
/**
|
|
53
39
|
* The status of the requirement depends on its due date.
|
|
54
40
|
*
|
|
55
41
|
* @remarks
|
|
56
42
|
* If no due date is given, the status will be `requested`.
|
|
57
43
|
*/
|
|
58
|
-
status
|
|
44
|
+
status: CapabilityRequirementStatus;
|
|
59
45
|
/**
|
|
60
46
|
* Due date until the requirement must be fulfilled, if any. The date is shown in ISO-8601 format.
|
|
61
47
|
*/
|
|
62
|
-
dueDate
|
|
63
|
-
links
|
|
64
|
-
};
|
|
65
|
-
|
|
66
|
-
/** @internal */
|
|
67
|
-
export const Dashboard$inboundSchema: z.ZodType<
|
|
68
|
-
Dashboard,
|
|
69
|
-
z.ZodTypeDef,
|
|
70
|
-
unknown
|
|
71
|
-
> = z.object({
|
|
72
|
-
href: z.string().optional(),
|
|
73
|
-
type: z.string().optional(),
|
|
74
|
-
});
|
|
75
|
-
|
|
76
|
-
/** @internal */
|
|
77
|
-
export type Dashboard$Outbound = {
|
|
78
|
-
href?: string | undefined;
|
|
79
|
-
type?: string | undefined;
|
|
48
|
+
dueDate: string | null;
|
|
49
|
+
links: EntityCapabilityRequirementLinks;
|
|
80
50
|
};
|
|
81
51
|
|
|
82
|
-
/** @internal */
|
|
83
|
-
export const Dashboard$outboundSchema: z.ZodType<
|
|
84
|
-
Dashboard$Outbound,
|
|
85
|
-
z.ZodTypeDef,
|
|
86
|
-
Dashboard
|
|
87
|
-
> = z.object({
|
|
88
|
-
href: z.string().optional(),
|
|
89
|
-
type: z.string().optional(),
|
|
90
|
-
});
|
|
91
|
-
|
|
92
|
-
/**
|
|
93
|
-
* @internal
|
|
94
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
95
|
-
*/
|
|
96
|
-
export namespace Dashboard$ {
|
|
97
|
-
/** @deprecated use `Dashboard$inboundSchema` instead. */
|
|
98
|
-
export const inboundSchema = Dashboard$inboundSchema;
|
|
99
|
-
/** @deprecated use `Dashboard$outboundSchema` instead. */
|
|
100
|
-
export const outboundSchema = Dashboard$outboundSchema;
|
|
101
|
-
/** @deprecated use `Dashboard$Outbound` instead. */
|
|
102
|
-
export type Outbound = Dashboard$Outbound;
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
export function dashboardToJSON(dashboard: Dashboard): string {
|
|
106
|
-
return JSON.stringify(Dashboard$outboundSchema.parse(dashboard));
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
export function dashboardFromJSON(
|
|
110
|
-
jsonString: string,
|
|
111
|
-
): SafeParseResult<Dashboard, SDKValidationError> {
|
|
112
|
-
return safeParse(
|
|
113
|
-
jsonString,
|
|
114
|
-
(x) => Dashboard$inboundSchema.parse(JSON.parse(x)),
|
|
115
|
-
`Failed to parse 'Dashboard' from JSON`,
|
|
116
|
-
);
|
|
117
|
-
}
|
|
118
|
-
|
|
119
52
|
/** @internal */
|
|
120
53
|
export const EntityCapabilityRequirementLinks$inboundSchema: z.ZodType<
|
|
121
54
|
EntityCapabilityRequirementLinks,
|
|
122
55
|
z.ZodTypeDef,
|
|
123
56
|
unknown
|
|
124
57
|
> = z.object({
|
|
125
|
-
dashboard:
|
|
58
|
+
dashboard: Url$inboundSchema.optional(),
|
|
126
59
|
});
|
|
127
60
|
|
|
128
61
|
/** @internal */
|
|
129
62
|
export type EntityCapabilityRequirementLinks$Outbound = {
|
|
130
|
-
dashboard?:
|
|
63
|
+
dashboard?: Url$Outbound | undefined;
|
|
131
64
|
};
|
|
132
65
|
|
|
133
66
|
/** @internal */
|
|
@@ -136,7 +69,7 @@ export const EntityCapabilityRequirementLinks$outboundSchema: z.ZodType<
|
|
|
136
69
|
z.ZodTypeDef,
|
|
137
70
|
EntityCapabilityRequirementLinks
|
|
138
71
|
> = z.object({
|
|
139
|
-
dashboard:
|
|
72
|
+
dashboard: Url$outboundSchema.optional(),
|
|
140
73
|
});
|
|
141
74
|
|
|
142
75
|
/**
|
|
@@ -178,11 +111,10 @@ export const EntityCapabilityRequirement$inboundSchema: z.ZodType<
|
|
|
178
111
|
z.ZodTypeDef,
|
|
179
112
|
unknown
|
|
180
113
|
> = z.object({
|
|
181
|
-
id: z.string()
|
|
182
|
-
status: CapabilityRequirementStatus$inboundSchema
|
|
183
|
-
dueDate: z.nullable(z.string())
|
|
184
|
-
_links: z.lazy(() => EntityCapabilityRequirementLinks$inboundSchema)
|
|
185
|
-
.optional(),
|
|
114
|
+
id: z.string(),
|
|
115
|
+
status: CapabilityRequirementStatus$inboundSchema,
|
|
116
|
+
dueDate: z.nullable(z.string()),
|
|
117
|
+
_links: z.lazy(() => EntityCapabilityRequirementLinks$inboundSchema),
|
|
186
118
|
}).transform((v) => {
|
|
187
119
|
return remap$(v, {
|
|
188
120
|
"_links": "links",
|
|
@@ -191,10 +123,10 @@ export const EntityCapabilityRequirement$inboundSchema: z.ZodType<
|
|
|
191
123
|
|
|
192
124
|
/** @internal */
|
|
193
125
|
export type EntityCapabilityRequirement$Outbound = {
|
|
194
|
-
id
|
|
195
|
-
status
|
|
196
|
-
dueDate
|
|
197
|
-
_links
|
|
126
|
+
id: string;
|
|
127
|
+
status: string;
|
|
128
|
+
dueDate: string | null;
|
|
129
|
+
_links: EntityCapabilityRequirementLinks$Outbound;
|
|
198
130
|
};
|
|
199
131
|
|
|
200
132
|
/** @internal */
|
|
@@ -203,11 +135,10 @@ export const EntityCapabilityRequirement$outboundSchema: z.ZodType<
|
|
|
203
135
|
z.ZodTypeDef,
|
|
204
136
|
EntityCapabilityRequirement
|
|
205
137
|
> = z.object({
|
|
206
|
-
id: z.string()
|
|
207
|
-
status: CapabilityRequirementStatus$outboundSchema
|
|
208
|
-
dueDate: z.nullable(z.string())
|
|
209
|
-
links: z.lazy(() => EntityCapabilityRequirementLinks$outboundSchema)
|
|
210
|
-
.optional(),
|
|
138
|
+
id: z.string(),
|
|
139
|
+
status: CapabilityRequirementStatus$outboundSchema,
|
|
140
|
+
dueDate: z.nullable(z.string()),
|
|
141
|
+
links: z.lazy(() => EntityCapabilityRequirementLinks$outboundSchema),
|
|
211
142
|
}).transform((v) => {
|
|
212
143
|
return remap$(v, {
|
|
213
144
|
links: "_links",
|
|
@@ -29,23 +29,23 @@ export type EntityInvoiceLine = {
|
|
|
29
29
|
/**
|
|
30
30
|
* The administrative period in `YYYY-MM` on which the line should be booked.
|
|
31
31
|
*/
|
|
32
|
-
period
|
|
32
|
+
period: string;
|
|
33
33
|
/**
|
|
34
34
|
* Description of the product.
|
|
35
35
|
*/
|
|
36
|
-
description
|
|
36
|
+
description: string;
|
|
37
37
|
/**
|
|
38
38
|
* Number of products invoiced. For example, the number of payments.
|
|
39
39
|
*/
|
|
40
|
-
count
|
|
40
|
+
count: number;
|
|
41
41
|
/**
|
|
42
42
|
* VAT percentage rate that applies to this product.
|
|
43
43
|
*/
|
|
44
|
-
vatPercentage
|
|
44
|
+
vatPercentage: number;
|
|
45
45
|
/**
|
|
46
46
|
* In v2 endpoints, monetary amounts are represented as objects with a `currency` and `value` field.
|
|
47
47
|
*/
|
|
48
|
-
amount
|
|
48
|
+
amount: Amount;
|
|
49
49
|
};
|
|
50
50
|
|
|
51
51
|
/**
|
|
@@ -73,43 +73,40 @@ export type EntityInvoice = {
|
|
|
73
73
|
* @remarks
|
|
74
74
|
* Will always contain the string `invoice` for this endpoint.
|
|
75
75
|
*/
|
|
76
|
-
resource
|
|
77
|
-
|
|
78
|
-
* The identifier uniquely referring to this invoice. Example: `inv_FrvewDA3Pr`.
|
|
79
|
-
*/
|
|
80
|
-
id?: string | undefined;
|
|
76
|
+
resource: string;
|
|
77
|
+
id: string;
|
|
81
78
|
/**
|
|
82
79
|
* The reference number of the invoice. An example value would be: `2024.10000`.
|
|
83
80
|
*/
|
|
84
|
-
reference
|
|
81
|
+
reference: string;
|
|
85
82
|
/**
|
|
86
83
|
* The VAT number to which the invoice was issued to, if applicable.
|
|
87
84
|
*/
|
|
88
|
-
vatNumber
|
|
85
|
+
vatNumber: string | null;
|
|
89
86
|
/**
|
|
90
87
|
* Status of the invoice.
|
|
91
88
|
*/
|
|
92
|
-
status
|
|
89
|
+
status: InvoiceStatus;
|
|
93
90
|
/**
|
|
94
91
|
* In v2 endpoints, monetary amounts are represented as objects with a `currency` and `value` field.
|
|
95
92
|
*/
|
|
96
|
-
netAmount
|
|
93
|
+
netAmount: Amount;
|
|
97
94
|
/**
|
|
98
95
|
* In v2 endpoints, monetary amounts are represented as objects with a `currency` and `value` field.
|
|
99
96
|
*/
|
|
100
|
-
vatAmount
|
|
97
|
+
vatAmount: Amount;
|
|
101
98
|
/**
|
|
102
99
|
* In v2 endpoints, monetary amounts are represented as objects with a `currency` and `value` field.
|
|
103
100
|
*/
|
|
104
|
-
grossAmount
|
|
101
|
+
grossAmount: Amount;
|
|
105
102
|
/**
|
|
106
103
|
* The collection of products which make up the invoice.
|
|
107
104
|
*/
|
|
108
|
-
lines
|
|
105
|
+
lines: Array<EntityInvoiceLine>;
|
|
109
106
|
/**
|
|
110
107
|
* The invoice date in `YYYY-MM-DD` format.
|
|
111
108
|
*/
|
|
112
|
-
issuedAt
|
|
109
|
+
issuedAt: string;
|
|
113
110
|
/**
|
|
114
111
|
* The date on which the invoice was paid, if applicable, in `YYYY-MM-DD` format.
|
|
115
112
|
*/
|
|
@@ -121,7 +118,7 @@ export type EntityInvoice = {
|
|
|
121
118
|
/**
|
|
122
119
|
* An object with several relevant URLs. Every URL object will contain an `href` and a `type` field.
|
|
123
120
|
*/
|
|
124
|
-
links
|
|
121
|
+
links: EntityInvoiceLinks;
|
|
125
122
|
};
|
|
126
123
|
|
|
127
124
|
/** @internal */
|
|
@@ -130,20 +127,20 @@ export const EntityInvoiceLine$inboundSchema: z.ZodType<
|
|
|
130
127
|
z.ZodTypeDef,
|
|
131
128
|
unknown
|
|
132
129
|
> = z.object({
|
|
133
|
-
period: z.string()
|
|
134
|
-
description: z.string()
|
|
135
|
-
count: z.number().int()
|
|
136
|
-
vatPercentage: z.number().int()
|
|
137
|
-
amount: Amount$inboundSchema
|
|
130
|
+
period: z.string(),
|
|
131
|
+
description: z.string(),
|
|
132
|
+
count: z.number().int(),
|
|
133
|
+
vatPercentage: z.number().int(),
|
|
134
|
+
amount: Amount$inboundSchema,
|
|
138
135
|
});
|
|
139
136
|
|
|
140
137
|
/** @internal */
|
|
141
138
|
export type EntityInvoiceLine$Outbound = {
|
|
142
|
-
period
|
|
143
|
-
description
|
|
144
|
-
count
|
|
145
|
-
vatPercentage
|
|
146
|
-
amount
|
|
139
|
+
period: string;
|
|
140
|
+
description: string;
|
|
141
|
+
count: number;
|
|
142
|
+
vatPercentage: number;
|
|
143
|
+
amount: Amount$Outbound;
|
|
147
144
|
};
|
|
148
145
|
|
|
149
146
|
/** @internal */
|
|
@@ -152,11 +149,11 @@ export const EntityInvoiceLine$outboundSchema: z.ZodType<
|
|
|
152
149
|
z.ZodTypeDef,
|
|
153
150
|
EntityInvoiceLine
|
|
154
151
|
> = z.object({
|
|
155
|
-
period: z.string()
|
|
156
|
-
description: z.string()
|
|
157
|
-
count: z.number().int()
|
|
158
|
-
vatPercentage: z.number().int()
|
|
159
|
-
amount: Amount$outboundSchema
|
|
152
|
+
period: z.string(),
|
|
153
|
+
description: z.string(),
|
|
154
|
+
count: z.number().int(),
|
|
155
|
+
vatPercentage: z.number().int(),
|
|
156
|
+
amount: Amount$outboundSchema,
|
|
160
157
|
});
|
|
161
158
|
|
|
162
159
|
/**
|
|
@@ -256,19 +253,19 @@ export const EntityInvoice$inboundSchema: z.ZodType<
|
|
|
256
253
|
z.ZodTypeDef,
|
|
257
254
|
unknown
|
|
258
255
|
> = z.object({
|
|
259
|
-
resource: z.string()
|
|
260
|
-
id: z.string()
|
|
261
|
-
reference: z.string()
|
|
262
|
-
vatNumber: z.nullable(z.string())
|
|
263
|
-
status: InvoiceStatus$inboundSchema
|
|
264
|
-
netAmount: Amount$inboundSchema
|
|
265
|
-
vatAmount: Amount$inboundSchema
|
|
266
|
-
grossAmount: Amount$inboundSchema
|
|
267
|
-
lines: z.array(z.lazy(() => EntityInvoiceLine$inboundSchema))
|
|
268
|
-
issuedAt: z.string()
|
|
256
|
+
resource: z.string(),
|
|
257
|
+
id: z.string(),
|
|
258
|
+
reference: z.string(),
|
|
259
|
+
vatNumber: z.nullable(z.string()),
|
|
260
|
+
status: InvoiceStatus$inboundSchema,
|
|
261
|
+
netAmount: Amount$inboundSchema,
|
|
262
|
+
vatAmount: Amount$inboundSchema,
|
|
263
|
+
grossAmount: Amount$inboundSchema,
|
|
264
|
+
lines: z.array(z.lazy(() => EntityInvoiceLine$inboundSchema)),
|
|
265
|
+
issuedAt: z.string(),
|
|
269
266
|
paidAt: z.nullable(z.string()).optional(),
|
|
270
267
|
dueAt: z.nullable(z.string()).optional(),
|
|
271
|
-
_links: z.lazy(() => EntityInvoiceLinks$inboundSchema)
|
|
268
|
+
_links: z.lazy(() => EntityInvoiceLinks$inboundSchema),
|
|
272
269
|
}).transform((v) => {
|
|
273
270
|
return remap$(v, {
|
|
274
271
|
"_links": "links",
|
|
@@ -277,19 +274,19 @@ export const EntityInvoice$inboundSchema: z.ZodType<
|
|
|
277
274
|
|
|
278
275
|
/** @internal */
|
|
279
276
|
export type EntityInvoice$Outbound = {
|
|
280
|
-
resource
|
|
281
|
-
id
|
|
282
|
-
reference
|
|
283
|
-
vatNumber
|
|
284
|
-
status
|
|
285
|
-
netAmount
|
|
286
|
-
vatAmount
|
|
287
|
-
grossAmount
|
|
288
|
-
lines
|
|
289
|
-
issuedAt
|
|
277
|
+
resource: string;
|
|
278
|
+
id: string;
|
|
279
|
+
reference: string;
|
|
280
|
+
vatNumber: string | null;
|
|
281
|
+
status: string;
|
|
282
|
+
netAmount: Amount$Outbound;
|
|
283
|
+
vatAmount: Amount$Outbound;
|
|
284
|
+
grossAmount: Amount$Outbound;
|
|
285
|
+
lines: Array<EntityInvoiceLine$Outbound>;
|
|
286
|
+
issuedAt: string;
|
|
290
287
|
paidAt?: string | null | undefined;
|
|
291
288
|
dueAt?: string | null | undefined;
|
|
292
|
-
_links
|
|
289
|
+
_links: EntityInvoiceLinks$Outbound;
|
|
293
290
|
};
|
|
294
291
|
|
|
295
292
|
/** @internal */
|
|
@@ -298,19 +295,19 @@ export const EntityInvoice$outboundSchema: z.ZodType<
|
|
|
298
295
|
z.ZodTypeDef,
|
|
299
296
|
EntityInvoice
|
|
300
297
|
> = z.object({
|
|
301
|
-
resource: z.string()
|
|
302
|
-
id: z.string()
|
|
303
|
-
reference: z.string()
|
|
304
|
-
vatNumber: z.nullable(z.string())
|
|
305
|
-
status: InvoiceStatus$outboundSchema
|
|
306
|
-
netAmount: Amount$outboundSchema
|
|
307
|
-
vatAmount: Amount$outboundSchema
|
|
308
|
-
grossAmount: Amount$outboundSchema
|
|
309
|
-
lines: z.array(z.lazy(() => EntityInvoiceLine$outboundSchema))
|
|
310
|
-
issuedAt: z.string()
|
|
298
|
+
resource: z.string(),
|
|
299
|
+
id: z.string(),
|
|
300
|
+
reference: z.string(),
|
|
301
|
+
vatNumber: z.nullable(z.string()),
|
|
302
|
+
status: InvoiceStatus$outboundSchema,
|
|
303
|
+
netAmount: Amount$outboundSchema,
|
|
304
|
+
vatAmount: Amount$outboundSchema,
|
|
305
|
+
grossAmount: Amount$outboundSchema,
|
|
306
|
+
lines: z.array(z.lazy(() => EntityInvoiceLine$outboundSchema)),
|
|
307
|
+
issuedAt: z.string(),
|
|
311
308
|
paidAt: z.nullable(z.string()).optional(),
|
|
312
309
|
dueAt: z.nullable(z.string()).optional(),
|
|
313
|
-
links: z.lazy(() => EntityInvoiceLinks$outboundSchema)
|
|
310
|
+
links: z.lazy(() => EntityInvoiceLinks$outboundSchema),
|
|
314
311
|
}).transform((v) => {
|
|
315
312
|
return remap$(v, {
|
|
316
313
|
links: "_links",
|
|
@@ -48,31 +48,31 @@ export type EntityOnboardingStatus = {
|
|
|
48
48
|
* @remarks
|
|
49
49
|
* resource type.
|
|
50
50
|
*/
|
|
51
|
-
resource
|
|
51
|
+
resource: string;
|
|
52
52
|
/**
|
|
53
53
|
* The name of the organization.
|
|
54
54
|
*/
|
|
55
|
-
name
|
|
55
|
+
name: string;
|
|
56
56
|
/**
|
|
57
57
|
* The current status of the organization's onboarding process.
|
|
58
58
|
*/
|
|
59
|
-
status
|
|
59
|
+
status: OnboardingStatus;
|
|
60
60
|
/**
|
|
61
61
|
* Whether the organization can receive payments.
|
|
62
62
|
*/
|
|
63
|
-
canReceivePayments
|
|
63
|
+
canReceivePayments: boolean;
|
|
64
64
|
/**
|
|
65
65
|
* Whether the organization can receive settlements to their external bank account.
|
|
66
66
|
*/
|
|
67
|
-
canReceiveSettlements
|
|
67
|
+
canReceiveSettlements: boolean;
|
|
68
68
|
/**
|
|
69
69
|
* The sign up date time of the organization in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
|
|
70
70
|
*/
|
|
71
|
-
signedUpAt
|
|
71
|
+
signedUpAt: string;
|
|
72
72
|
/**
|
|
73
73
|
* An object with several relevant URLs. Every URL object will contain an `href` and a `type` field.
|
|
74
74
|
*/
|
|
75
|
-
links
|
|
75
|
+
links: EntityOnboardingStatusLinks;
|
|
76
76
|
};
|
|
77
77
|
|
|
78
78
|
/** @internal */
|
|
@@ -146,13 +146,13 @@ export const EntityOnboardingStatus$inboundSchema: z.ZodType<
|
|
|
146
146
|
z.ZodTypeDef,
|
|
147
147
|
unknown
|
|
148
148
|
> = z.object({
|
|
149
|
-
resource: z.string()
|
|
150
|
-
name: z.string()
|
|
151
|
-
status: OnboardingStatus$inboundSchema
|
|
152
|
-
canReceivePayments: z.boolean()
|
|
153
|
-
canReceiveSettlements: z.boolean()
|
|
154
|
-
signedUpAt: z.string()
|
|
155
|
-
_links: z.lazy(() => EntityOnboardingStatusLinks$inboundSchema)
|
|
149
|
+
resource: z.string(),
|
|
150
|
+
name: z.string(),
|
|
151
|
+
status: OnboardingStatus$inboundSchema,
|
|
152
|
+
canReceivePayments: z.boolean(),
|
|
153
|
+
canReceiveSettlements: z.boolean(),
|
|
154
|
+
signedUpAt: z.string(),
|
|
155
|
+
_links: z.lazy(() => EntityOnboardingStatusLinks$inboundSchema),
|
|
156
156
|
}).transform((v) => {
|
|
157
157
|
return remap$(v, {
|
|
158
158
|
"_links": "links",
|
|
@@ -161,13 +161,13 @@ export const EntityOnboardingStatus$inboundSchema: z.ZodType<
|
|
|
161
161
|
|
|
162
162
|
/** @internal */
|
|
163
163
|
export type EntityOnboardingStatus$Outbound = {
|
|
164
|
-
resource
|
|
165
|
-
name
|
|
166
|
-
status
|
|
167
|
-
canReceivePayments
|
|
168
|
-
canReceiveSettlements
|
|
169
|
-
signedUpAt
|
|
170
|
-
_links
|
|
164
|
+
resource: string;
|
|
165
|
+
name: string;
|
|
166
|
+
status: string;
|
|
167
|
+
canReceivePayments: boolean;
|
|
168
|
+
canReceiveSettlements: boolean;
|
|
169
|
+
signedUpAt: string;
|
|
170
|
+
_links: EntityOnboardingStatusLinks$Outbound;
|
|
171
171
|
};
|
|
172
172
|
|
|
173
173
|
/** @internal */
|
|
@@ -176,13 +176,13 @@ export const EntityOnboardingStatus$outboundSchema: z.ZodType<
|
|
|
176
176
|
z.ZodTypeDef,
|
|
177
177
|
EntityOnboardingStatus
|
|
178
178
|
> = z.object({
|
|
179
|
-
resource: z.string()
|
|
180
|
-
name: z.string()
|
|
181
|
-
status: OnboardingStatus$outboundSchema
|
|
182
|
-
canReceivePayments: z.boolean()
|
|
183
|
-
canReceiveSettlements: z.boolean()
|
|
184
|
-
signedUpAt: z.string()
|
|
185
|
-
links: z.lazy(() => EntityOnboardingStatusLinks$outboundSchema)
|
|
179
|
+
resource: z.string(),
|
|
180
|
+
name: z.string(),
|
|
181
|
+
status: OnboardingStatus$outboundSchema,
|
|
182
|
+
canReceivePayments: z.boolean(),
|
|
183
|
+
canReceiveSettlements: z.boolean(),
|
|
184
|
+
signedUpAt: z.string(),
|
|
185
|
+
links: z.lazy(() => EntityOnboardingStatusLinks$outboundSchema),
|
|
186
186
|
}).transform((v) => {
|
|
187
187
|
return remap$(v, {
|
|
188
188
|
links: "_links",
|