mollie-api-typescript 0.8.3 → 0.8.5
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 +793 -757
- package/bin/mcp-server.js.map +57 -65
- package/dist/commonjs/hooks/mollie-hooks.d.ts.map +1 -1
- package/dist/commonjs/hooks/mollie-hooks.js +2 -1
- package/dist/commonjs/hooks/mollie-hooks.js.map +1 -1
- package/dist/commonjs/lib/config.d.ts +2 -2
- package/dist/commonjs/lib/config.js +2 -2
- package/dist/commonjs/mcp-server/mcp-server.js +1 -1
- package/dist/commonjs/mcp-server/server.js +1 -1
- package/dist/commonjs/models/balancecardaudience.d.ts +12 -0
- package/dist/commonjs/models/balancecardaudience.d.ts.map +1 -0
- package/dist/commonjs/models/{invoicestatus.js → balancecardaudience.js} +7 -11
- package/dist/commonjs/models/balancecardaudience.js.map +1 -0
- package/dist/commonjs/models/balancecardissuer.d.ts +14 -0
- package/dist/commonjs/models/balancecardissuer.d.ts.map +1 -0
- package/dist/commonjs/models/{balancestatus.js → balancecardissuer.js} +9 -10
- package/dist/commonjs/models/balancecardissuer.js.map +1 -0
- package/dist/commonjs/models/balancecardregion.d.ts +14 -0
- package/dist/commonjs/models/balancecardregion.d.ts.map +1 -0
- package/dist/commonjs/models/{terminalstatus.js → balancecardregion.js} +9 -11
- package/dist/commonjs/models/balancecardregion.js.map +1 -0
- package/dist/commonjs/models/balancefeetype.d.ts +37 -0
- package/dist/commonjs/models/balancefeetype.d.ts.map +1 -0
- package/dist/commonjs/models/balancefeetype.js +74 -0
- package/dist/commonjs/models/balancefeetype.js.map +1 -0
- package/dist/commonjs/models/balanceprepaymentparttype.d.ts +15 -0
- package/dist/commonjs/models/balanceprepaymentparttype.d.ts.map +1 -0
- package/dist/commonjs/models/{mandatestatus.js → balanceprepaymentparttype.js} +10 -14
- package/dist/commonjs/models/balanceprepaymentparttype.js.map +1 -0
- package/dist/commonjs/models/balancetransactiontype.d.ts +29 -36
- package/dist/commonjs/models/balancetransactiontype.d.ts.map +1 -1
- package/dist/commonjs/models/balancetransactiontype.js +29 -36
- package/dist/commonjs/models/balancetransactiontype.js.map +1 -1
- package/dist/commonjs/models/captureresponse.d.ts +84 -12
- package/dist/commonjs/models/captureresponse.d.ts.map +1 -1
- package/dist/commonjs/models/captureresponse.js +40 -10
- package/dist/commonjs/models/captureresponse.js.map +1 -1
- package/dist/commonjs/models/componentssubtotals.d.ts +18 -190
- package/dist/commonjs/models/componentssubtotals.d.ts.map +1 -1
- package/dist/commonjs/models/componentssubtotals.js +19 -156
- package/dist/commonjs/models/componentssubtotals.js.map +1 -1
- package/dist/commonjs/models/customerresponse.d.ts +3 -0
- package/dist/commonjs/models/customerresponse.d.ts.map +1 -1
- package/dist/commonjs/models/customerresponse.js.map +1 -1
- package/dist/commonjs/models/entitybalance.d.ts +174 -25
- package/dist/commonjs/models/entitybalance.d.ts.map +1 -1
- package/dist/commonjs/models/entitybalance.js +122 -17
- package/dist/commonjs/models/entitybalance.js.map +1 -1
- package/dist/commonjs/models/entitybalancetransaction.d.ts +3 -0
- package/dist/commonjs/models/entitybalancetransaction.d.ts.map +1 -1
- package/dist/commonjs/models/entitybalancetransaction.js.map +1 -1
- package/dist/commonjs/models/entitybalancetransfer.d.ts +0 -2
- package/dist/commonjs/models/entitybalancetransfer.d.ts.map +1 -1
- package/dist/commonjs/models/entitybalancetransfer.js +0 -2
- package/dist/commonjs/models/entitybalancetransfer.js.map +1 -1
- package/dist/commonjs/models/entitybalancetransferresponse.d.ts +6 -0
- package/dist/commonjs/models/entitybalancetransferresponse.d.ts.map +1 -1
- package/dist/commonjs/models/entitybalancetransferresponse.js.map +1 -1
- package/dist/commonjs/models/entitycapture.d.ts +0 -19
- package/dist/commonjs/models/entitycapture.d.ts.map +1 -1
- package/dist/commonjs/models/entitycapture.js +0 -13
- package/dist/commonjs/models/entitycapture.js.map +1 -1
- package/dist/commonjs/models/entitychargeback.d.ts +62 -6
- package/dist/commonjs/models/entitychargeback.d.ts.map +1 -1
- package/dist/commonjs/models/entitychargeback.js +23 -6
- package/dist/commonjs/models/entitychargeback.js.map +1 -1
- package/dist/commonjs/models/entitycustomer.d.ts +0 -2
- package/dist/commonjs/models/entitycustomer.d.ts.map +1 -1
- package/dist/commonjs/models/entitycustomer.js +0 -2
- package/dist/commonjs/models/entitycustomer.js.map +1 -1
- package/dist/commonjs/models/entityinvoice.d.ts +107 -14
- package/dist/commonjs/models/entityinvoice.d.ts.map +1 -1
- package/dist/commonjs/models/entityinvoice.js +76 -10
- package/dist/commonjs/models/entityinvoice.js.map +1 -1
- package/dist/commonjs/models/entitymethod.d.ts +130 -17
- package/dist/commonjs/models/entitymethod.d.ts.map +1 -1
- package/dist/commonjs/models/entitymethod.js +103 -10
- package/dist/commonjs/models/entitymethod.js.map +1 -1
- package/dist/commonjs/models/entitymethodall.d.ts +130 -16
- package/dist/commonjs/models/entitymethodall.d.ts.map +1 -1
- package/dist/commonjs/models/entitymethodall.js +103 -9
- package/dist/commonjs/models/entitymethodall.js.map +1 -1
- package/dist/commonjs/models/entityonboardingstatus.d.ts +18 -5
- package/dist/commonjs/models/entityonboardingstatus.d.ts.map +1 -1
- package/dist/commonjs/models/entityonboardingstatus.js +16 -4
- package/dist/commonjs/models/entityonboardingstatus.js.map +1 -1
- package/dist/commonjs/models/entityorganization.d.ts +39 -3
- package/dist/commonjs/models/entityorganization.d.ts.map +1 -1
- package/dist/commonjs/models/entityorganization.js +36 -4
- package/dist/commonjs/models/entityorganization.js.map +1 -1
- package/dist/commonjs/models/entitypaymentroute.d.ts +0 -2
- package/dist/commonjs/models/entitypaymentroute.d.ts.map +1 -1
- package/dist/commonjs/models/entitypaymentroute.js +0 -2
- package/dist/commonjs/models/entitypaymentroute.js.map +1 -1
- package/dist/commonjs/models/entitypaymentrouteresponse.d.ts +6 -0
- package/dist/commonjs/models/entitypaymentrouteresponse.d.ts.map +1 -1
- package/dist/commonjs/models/entitypaymentrouteresponse.js.map +1 -1
- package/dist/commonjs/models/entitypermission.d.ts +3 -0
- package/dist/commonjs/models/entitypermission.d.ts.map +1 -1
- package/dist/commonjs/models/entitypermission.js.map +1 -1
- package/dist/commonjs/models/entityrefundresponse.d.ts +87 -14
- package/dist/commonjs/models/entityrefundresponse.d.ts.map +1 -1
- package/dist/commonjs/models/entityrefundresponse.js +38 -12
- package/dist/commonjs/models/entityrefundresponse.js.map +1 -1
- package/dist/commonjs/models/entityroute.d.ts +0 -4
- package/dist/commonjs/models/entityroute.d.ts.map +1 -1
- package/dist/commonjs/models/entityroute.js +0 -4
- package/dist/commonjs/models/entityroute.js.map +1 -1
- package/dist/commonjs/models/entitysalesinvoice.d.ts +0 -28
- package/dist/commonjs/models/entitysalesinvoice.d.ts.map +1 -1
- package/dist/commonjs/models/entitysalesinvoice.js +0 -13
- package/dist/commonjs/models/entitysalesinvoice.js.map +1 -1
- package/dist/commonjs/models/entitysalesinvoiceresponse.d.ts +138 -16
- package/dist/commonjs/models/entitysalesinvoiceresponse.d.ts.map +1 -1
- package/dist/commonjs/models/entitysalesinvoiceresponse.js +102 -12
- package/dist/commonjs/models/entitysalesinvoiceresponse.js.map +1 -1
- package/dist/commonjs/models/entitysettlement.d.ts +55 -8
- package/dist/commonjs/models/entitysettlement.d.ts.map +1 -1
- package/dist/commonjs/models/entitysettlement.js +39 -8
- package/dist/commonjs/models/entitysettlement.js.map +1 -1
- package/dist/commonjs/models/entityterminal.d.ts +21 -5
- package/dist/commonjs/models/entityterminal.d.ts.map +1 -1
- package/dist/commonjs/models/entityterminal.js +16 -4
- package/dist/commonjs/models/entityterminal.js.map +1 -1
- package/dist/commonjs/models/entitywebhookevent.d.ts +22 -5
- package/dist/commonjs/models/entitywebhookevent.d.ts.map +1 -1
- package/dist/commonjs/models/entitywebhookevent.js +20 -4
- package/dist/commonjs/models/entitywebhookevent.js.map +1 -1
- package/dist/commonjs/models/index.d.ts +5 -13
- package/dist/commonjs/models/index.d.ts.map +1 -1
- package/dist/commonjs/models/index.js +5 -13
- package/dist/commonjs/models/index.js.map +1 -1
- package/dist/commonjs/models/mandaterequest.d.ts +3 -11
- package/dist/commonjs/models/mandaterequest.d.ts.map +1 -1
- package/dist/commonjs/models/mandaterequest.js +0 -5
- package/dist/commonjs/models/mandaterequest.js.map +1 -1
- package/dist/commonjs/models/mandateresponse.d.ts +28 -6
- package/dist/commonjs/models/mandateresponse.d.ts.map +1 -1
- package/dist/commonjs/models/mandateresponse.js +19 -4
- package/dist/commonjs/models/mandateresponse.js.map +1 -1
- package/dist/commonjs/models/operations/createpaymentlink.d.ts +0 -2
- package/dist/commonjs/models/operations/createpaymentlink.d.ts.map +1 -1
- package/dist/commonjs/models/operations/createpaymentlink.js +0 -2
- package/dist/commonjs/models/operations/createpaymentlink.js.map +1 -1
- package/dist/commonjs/models/operations/getclient.d.ts +8 -8
- package/dist/commonjs/models/operations/getclient.d.ts.map +1 -1
- package/dist/commonjs/models/operations/getclient.js +8 -8
- package/dist/commonjs/models/operations/getclient.js.map +1 -1
- package/dist/commonjs/models/operations/getcustomer.d.ts +3 -0
- package/dist/commonjs/models/operations/getcustomer.d.ts.map +1 -1
- package/dist/commonjs/models/operations/getcustomer.js.map +1 -1
- package/dist/commonjs/models/operations/listclients.d.ts +8 -8
- package/dist/commonjs/models/operations/listclients.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listclients.js +8 -8
- package/dist/commonjs/models/operations/listclients.js.map +1 -1
- package/dist/commonjs/models/paymentlinkresponse.d.ts +3 -0
- package/dist/commonjs/models/paymentlinkresponse.d.ts.map +1 -1
- package/dist/commonjs/models/paymentlinkresponse.js.map +1 -1
- package/dist/commonjs/models/paymentrequest.d.ts +10 -35
- package/dist/commonjs/models/paymentrequest.d.ts.map +1 -1
- package/dist/commonjs/models/paymentrequest.js +2 -20
- package/dist/commonjs/models/paymentrequest.js.map +1 -1
- package/dist/commonjs/models/paymentresponse.d.ts +227 -29
- package/dist/commonjs/models/paymentresponse.d.ts.map +1 -1
- package/dist/commonjs/models/paymentresponse.js +133 -22
- package/dist/commonjs/models/paymentresponse.js.map +1 -1
- package/dist/commonjs/models/profilerequest.d.ts +0 -12
- package/dist/commonjs/models/profilerequest.d.ts.map +1 -1
- package/dist/commonjs/models/profilerequest.js +0 -3
- package/dist/commonjs/models/profilerequest.js.map +1 -1
- package/dist/commonjs/models/profileresponse.d.ts +30 -11
- package/dist/commonjs/models/profileresponse.d.ts.map +1 -1
- package/dist/commonjs/models/profileresponse.js +22 -4
- package/dist/commonjs/models/profileresponse.js.map +1 -1
- package/dist/commonjs/models/refundrequest.d.ts +16 -20
- package/dist/commonjs/models/refundrequest.d.ts.map +1 -1
- package/dist/commonjs/models/refundrequest.js +13 -16
- package/dist/commonjs/models/refundrequest.js.map +1 -1
- package/dist/commonjs/models/routecreateresponse.d.ts +12 -0
- package/dist/commonjs/models/routecreateresponse.d.ts.map +1 -1
- package/dist/commonjs/models/routecreateresponse.js.map +1 -1
- package/dist/commonjs/models/routegetresponse.d.ts +12 -0
- package/dist/commonjs/models/routegetresponse.d.ts.map +1 -1
- package/dist/commonjs/models/routegetresponse.js.map +1 -1
- package/dist/commonjs/models/subscriptionrequest.d.ts +0 -13
- package/dist/commonjs/models/subscriptionrequest.d.ts.map +1 -1
- package/dist/commonjs/models/subscriptionrequest.js +0 -7
- package/dist/commonjs/models/subscriptionrequest.js.map +1 -1
- package/dist/commonjs/models/subscriptionresponse.d.ts +32 -8
- package/dist/commonjs/models/subscriptionresponse.d.ts.map +1 -1
- package/dist/commonjs/models/subscriptionresponse.js +21 -4
- package/dist/commonjs/models/subscriptionresponse.js.map +1 -1
- package/dist/commonjs/models/subtotals.d.ts +18 -190
- package/dist/commonjs/models/subtotals.d.ts.map +1 -1
- package/dist/commonjs/models/subtotals.js +19 -152
- package/dist/commonjs/models/subtotals.js.map +1 -1
- package/dist/esm/hooks/mollie-hooks.d.ts.map +1 -1
- package/dist/esm/hooks/mollie-hooks.js +2 -1
- package/dist/esm/hooks/mollie-hooks.js.map +1 -1
- package/dist/esm/lib/config.d.ts +2 -2
- package/dist/esm/lib/config.js +2 -2
- package/dist/esm/mcp-server/mcp-server.js +1 -1
- package/dist/esm/mcp-server/server.js +1 -1
- package/dist/esm/models/balancecardaudience.d.ts +12 -0
- package/dist/esm/models/balancecardaudience.d.ts.map +1 -0
- package/dist/esm/models/balancecardaudience.js +13 -0
- package/dist/esm/models/balancecardaudience.js.map +1 -0
- package/dist/esm/models/balancecardissuer.d.ts +14 -0
- package/dist/esm/models/balancecardissuer.d.ts.map +1 -0
- package/dist/esm/models/balancecardissuer.js +15 -0
- package/dist/esm/models/balancecardissuer.js.map +1 -0
- package/dist/esm/models/balancecardregion.d.ts +14 -0
- package/dist/esm/models/balancecardregion.d.ts.map +1 -0
- package/dist/esm/models/balancecardregion.js +15 -0
- package/dist/esm/models/balancecardregion.js.map +1 -0
- package/dist/esm/models/balancefeetype.d.ts +37 -0
- package/dist/esm/models/balancefeetype.d.ts.map +1 -0
- package/dist/esm/models/balancefeetype.js +38 -0
- package/dist/esm/models/balancefeetype.js.map +1 -0
- package/dist/esm/models/balanceprepaymentparttype.d.ts +15 -0
- package/dist/esm/models/balanceprepaymentparttype.d.ts.map +1 -0
- package/dist/esm/models/balanceprepaymentparttype.js +16 -0
- package/dist/esm/models/balanceprepaymentparttype.js.map +1 -0
- package/dist/esm/models/balancetransactiontype.d.ts +29 -36
- package/dist/esm/models/balancetransactiontype.d.ts.map +1 -1
- package/dist/esm/models/balancetransactiontype.js +29 -36
- package/dist/esm/models/balancetransactiontype.js.map +1 -1
- package/dist/esm/models/captureresponse.d.ts +84 -12
- package/dist/esm/models/captureresponse.d.ts.map +1 -1
- package/dist/esm/models/captureresponse.js +37 -9
- package/dist/esm/models/captureresponse.js.map +1 -1
- package/dist/esm/models/componentssubtotals.d.ts +18 -190
- package/dist/esm/models/componentssubtotals.d.ts.map +1 -1
- package/dist/esm/models/componentssubtotals.js +18 -155
- package/dist/esm/models/componentssubtotals.js.map +1 -1
- package/dist/esm/models/customerresponse.d.ts +3 -0
- package/dist/esm/models/customerresponse.d.ts.map +1 -1
- package/dist/esm/models/customerresponse.js.map +1 -1
- package/dist/esm/models/entitybalance.d.ts +174 -25
- package/dist/esm/models/entitybalance.d.ts.map +1 -1
- package/dist/esm/models/entitybalance.js +115 -16
- package/dist/esm/models/entitybalance.js.map +1 -1
- package/dist/esm/models/entitybalancetransaction.d.ts +3 -0
- package/dist/esm/models/entitybalancetransaction.d.ts.map +1 -1
- package/dist/esm/models/entitybalancetransaction.js.map +1 -1
- package/dist/esm/models/entitybalancetransfer.d.ts +0 -2
- package/dist/esm/models/entitybalancetransfer.d.ts.map +1 -1
- package/dist/esm/models/entitybalancetransfer.js +0 -2
- package/dist/esm/models/entitybalancetransfer.js.map +1 -1
- package/dist/esm/models/entitybalancetransferresponse.d.ts +6 -0
- package/dist/esm/models/entitybalancetransferresponse.d.ts.map +1 -1
- package/dist/esm/models/entitybalancetransferresponse.js.map +1 -1
- package/dist/esm/models/entitycapture.d.ts +0 -19
- package/dist/esm/models/entitycapture.d.ts.map +1 -1
- package/dist/esm/models/entitycapture.js +0 -13
- package/dist/esm/models/entitycapture.js.map +1 -1
- package/dist/esm/models/entitychargeback.d.ts +62 -6
- package/dist/esm/models/entitychargeback.d.ts.map +1 -1
- package/dist/esm/models/entitychargeback.js +20 -5
- package/dist/esm/models/entitychargeback.js.map +1 -1
- package/dist/esm/models/entitycustomer.d.ts +0 -2
- package/dist/esm/models/entitycustomer.d.ts.map +1 -1
- package/dist/esm/models/entitycustomer.js +0 -2
- package/dist/esm/models/entitycustomer.js.map +1 -1
- package/dist/esm/models/entityinvoice.d.ts +107 -14
- package/dist/esm/models/entityinvoice.d.ts.map +1 -1
- package/dist/esm/models/entityinvoice.js +69 -9
- package/dist/esm/models/entityinvoice.js.map +1 -1
- package/dist/esm/models/entitymethod.d.ts +130 -17
- package/dist/esm/models/entitymethod.d.ts.map +1 -1
- package/dist/esm/models/entitymethod.js +98 -9
- package/dist/esm/models/entitymethod.js.map +1 -1
- package/dist/esm/models/entitymethodall.d.ts +130 -16
- package/dist/esm/models/entitymethodall.d.ts.map +1 -1
- package/dist/esm/models/entitymethodall.js +98 -8
- package/dist/esm/models/entitymethodall.js.map +1 -1
- package/dist/esm/models/entityonboardingstatus.d.ts +18 -5
- package/dist/esm/models/entityonboardingstatus.d.ts.map +1 -1
- package/dist/esm/models/entityonboardingstatus.js +15 -3
- package/dist/esm/models/entityonboardingstatus.js.map +1 -1
- package/dist/esm/models/entityorganization.d.ts +39 -3
- package/dist/esm/models/entityorganization.d.ts.map +1 -1
- package/dist/esm/models/entityorganization.js +35 -3
- package/dist/esm/models/entityorganization.js.map +1 -1
- package/dist/esm/models/entitypaymentroute.d.ts +0 -2
- package/dist/esm/models/entitypaymentroute.d.ts.map +1 -1
- package/dist/esm/models/entitypaymentroute.js +0 -2
- package/dist/esm/models/entitypaymentroute.js.map +1 -1
- package/dist/esm/models/entitypaymentrouteresponse.d.ts +6 -0
- package/dist/esm/models/entitypaymentrouteresponse.d.ts.map +1 -1
- package/dist/esm/models/entitypaymentrouteresponse.js.map +1 -1
- package/dist/esm/models/entitypermission.d.ts +3 -0
- package/dist/esm/models/entitypermission.d.ts.map +1 -1
- package/dist/esm/models/entitypermission.js.map +1 -1
- package/dist/esm/models/entityrefundresponse.d.ts +87 -14
- package/dist/esm/models/entityrefundresponse.d.ts.map +1 -1
- package/dist/esm/models/entityrefundresponse.js +35 -11
- package/dist/esm/models/entityrefundresponse.js.map +1 -1
- package/dist/esm/models/entityroute.d.ts +0 -4
- package/dist/esm/models/entityroute.d.ts.map +1 -1
- package/dist/esm/models/entityroute.js +0 -4
- package/dist/esm/models/entityroute.js.map +1 -1
- package/dist/esm/models/entitysalesinvoice.d.ts +0 -28
- package/dist/esm/models/entitysalesinvoice.d.ts.map +1 -1
- package/dist/esm/models/entitysalesinvoice.js +0 -13
- package/dist/esm/models/entitysalesinvoice.js.map +1 -1
- package/dist/esm/models/entitysalesinvoiceresponse.d.ts +138 -16
- package/dist/esm/models/entitysalesinvoiceresponse.d.ts.map +1 -1
- package/dist/esm/models/entitysalesinvoiceresponse.js +91 -11
- package/dist/esm/models/entitysalesinvoiceresponse.js.map +1 -1
- package/dist/esm/models/entitysettlement.d.ts +55 -8
- package/dist/esm/models/entitysettlement.d.ts.map +1 -1
- package/dist/esm/models/entitysettlement.js +36 -7
- package/dist/esm/models/entitysettlement.js.map +1 -1
- package/dist/esm/models/entityterminal.d.ts +21 -5
- package/dist/esm/models/entityterminal.d.ts.map +1 -1
- package/dist/esm/models/entityterminal.js +15 -3
- package/dist/esm/models/entityterminal.js.map +1 -1
- package/dist/esm/models/entitywebhookevent.d.ts +22 -5
- package/dist/esm/models/entitywebhookevent.d.ts.map +1 -1
- package/dist/esm/models/entitywebhookevent.js +19 -3
- package/dist/esm/models/entitywebhookevent.js.map +1 -1
- package/dist/esm/models/index.d.ts +5 -13
- package/dist/esm/models/index.d.ts.map +1 -1
- package/dist/esm/models/index.js +5 -13
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/mandaterequest.d.ts +3 -11
- package/dist/esm/models/mandaterequest.d.ts.map +1 -1
- package/dist/esm/models/mandaterequest.js +0 -5
- package/dist/esm/models/mandaterequest.js.map +1 -1
- package/dist/esm/models/mandateresponse.d.ts +28 -6
- package/dist/esm/models/mandateresponse.d.ts.map +1 -1
- package/dist/esm/models/mandateresponse.js +18 -3
- package/dist/esm/models/mandateresponse.js.map +1 -1
- package/dist/esm/models/operations/createpaymentlink.d.ts +0 -2
- package/dist/esm/models/operations/createpaymentlink.d.ts.map +1 -1
- package/dist/esm/models/operations/createpaymentlink.js +0 -2
- package/dist/esm/models/operations/createpaymentlink.js.map +1 -1
- package/dist/esm/models/operations/getclient.d.ts +8 -8
- package/dist/esm/models/operations/getclient.d.ts.map +1 -1
- package/dist/esm/models/operations/getclient.js +8 -8
- package/dist/esm/models/operations/getclient.js.map +1 -1
- package/dist/esm/models/operations/getcustomer.d.ts +3 -0
- package/dist/esm/models/operations/getcustomer.d.ts.map +1 -1
- package/dist/esm/models/operations/getcustomer.js.map +1 -1
- package/dist/esm/models/operations/listclients.d.ts +8 -8
- package/dist/esm/models/operations/listclients.d.ts.map +1 -1
- package/dist/esm/models/operations/listclients.js +8 -8
- package/dist/esm/models/operations/listclients.js.map +1 -1
- package/dist/esm/models/paymentlinkresponse.d.ts +3 -0
- package/dist/esm/models/paymentlinkresponse.d.ts.map +1 -1
- package/dist/esm/models/paymentlinkresponse.js.map +1 -1
- package/dist/esm/models/paymentrequest.d.ts +10 -35
- package/dist/esm/models/paymentrequest.d.ts.map +1 -1
- package/dist/esm/models/paymentrequest.js +2 -20
- package/dist/esm/models/paymentrequest.js.map +1 -1
- package/dist/esm/models/paymentresponse.d.ts +227 -29
- package/dist/esm/models/paymentresponse.d.ts.map +1 -1
- package/dist/esm/models/paymentresponse.js +122 -21
- package/dist/esm/models/paymentresponse.js.map +1 -1
- package/dist/esm/models/profilerequest.d.ts +0 -12
- package/dist/esm/models/profilerequest.d.ts.map +1 -1
- package/dist/esm/models/profilerequest.js +0 -3
- package/dist/esm/models/profilerequest.js.map +1 -1
- package/dist/esm/models/profileresponse.d.ts +30 -11
- package/dist/esm/models/profileresponse.d.ts.map +1 -1
- package/dist/esm/models/profileresponse.js +21 -3
- package/dist/esm/models/profileresponse.js.map +1 -1
- package/dist/esm/models/refundrequest.d.ts +16 -20
- package/dist/esm/models/refundrequest.d.ts.map +1 -1
- package/dist/esm/models/refundrequest.js +12 -15
- package/dist/esm/models/refundrequest.js.map +1 -1
- package/dist/esm/models/routecreateresponse.d.ts +12 -0
- package/dist/esm/models/routecreateresponse.d.ts.map +1 -1
- package/dist/esm/models/routecreateresponse.js.map +1 -1
- package/dist/esm/models/routegetresponse.d.ts +12 -0
- package/dist/esm/models/routegetresponse.d.ts.map +1 -1
- package/dist/esm/models/routegetresponse.js.map +1 -1
- package/dist/esm/models/subscriptionrequest.d.ts +0 -13
- package/dist/esm/models/subscriptionrequest.d.ts.map +1 -1
- package/dist/esm/models/subscriptionrequest.js +0 -7
- package/dist/esm/models/subscriptionrequest.js.map +1 -1
- package/dist/esm/models/subscriptionresponse.d.ts +32 -8
- package/dist/esm/models/subscriptionresponse.d.ts.map +1 -1
- package/dist/esm/models/subscriptionresponse.js +20 -3
- package/dist/esm/models/subscriptionresponse.js.map +1 -1
- package/dist/esm/models/subtotals.d.ts +18 -190
- package/dist/esm/models/subtotals.d.ts.map +1 -1
- package/dist/esm/models/subtotals.js +18 -151
- package/dist/esm/models/subtotals.js.map +1 -1
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/hooks/mollie-hooks.ts +2 -1
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/balancecardaudience.ts +26 -0
- package/src/models/balancecardissuer.ts +28 -0
- package/src/models/balancecardregion.ts +28 -0
- package/src/models/balancefeetype.ts +55 -0
- package/src/models/balanceprepaymentparttype.ts +31 -0
- package/src/models/balancetransactiontype.ts +29 -36
- package/src/models/captureresponse.ts +144 -24
- package/src/models/componentssubtotals.ts +54 -267
- package/src/models/customerresponse.ts +3 -0
- package/src/models/entitybalance.ts +307 -54
- package/src/models/entitybalancetransaction.ts +3 -0
- package/src/models/entitybalancetransfer.ts +0 -4
- package/src/models/entitybalancetransferresponse.ts +6 -0
- package/src/models/entitycapture.ts +0 -35
- package/src/models/entitychargeback.ts +107 -15
- package/src/models/entitycustomer.ts +0 -4
- package/src/models/entityinvoice.ts +210 -26
- package/src/models/entitymethod.ts +215 -37
- package/src/models/entitymethodall.ts +219 -31
- package/src/models/entityonboardingstatus.ts +33 -11
- package/src/models/entityorganization.ts +54 -9
- package/src/models/entitypaymentroute.ts +0 -4
- package/src/models/entitypaymentrouteresponse.ts +6 -0
- package/src/models/entitypermission.ts +3 -0
- package/src/models/entityrefundresponse.ts +148 -35
- package/src/models/entityroute.ts +0 -8
- package/src/models/entitysalesinvoice.ts +0 -45
- package/src/models/entitysalesinvoiceresponse.ts +295 -31
- package/src/models/entitysettlement.ts +104 -18
- package/src/models/entityterminal.ts +34 -11
- package/src/models/entitywebhookevent.ts +37 -11
- package/src/models/index.ts +5 -13
- package/src/models/mandaterequest.ts +3 -19
- package/src/models/mandateresponse.ts +41 -12
- package/src/models/operations/createpaymentlink.ts +0 -4
- package/src/models/operations/getclient.ts +16 -16
- package/src/models/operations/getcustomer.ts +3 -0
- package/src/models/operations/listclients.ts +16 -16
- package/src/models/paymentlinkresponse.ts +3 -0
- package/src/models/paymentrequest.ts +12 -55
- package/src/models/paymentresponse.ts +412 -53
- package/src/models/profilerequest.ts +0 -18
- package/src/models/profileresponse.ts +43 -17
- package/src/models/refundrequest.ts +23 -45
- package/src/models/routecreateresponse.ts +12 -0
- package/src/models/routegetresponse.ts +12 -0
- package/src/models/subscriptionrequest.ts +0 -23
- package/src/models/subscriptionresponse.ts +47 -14
- package/src/models/subtotals.ts +54 -250
- package/dist/commonjs/models/balancestatus.d.ts +0 -18
- package/dist/commonjs/models/balancestatus.d.ts.map +0 -1
- package/dist/commonjs/models/balancestatus.js.map +0 -1
- package/dist/commonjs/models/balancetransferfrequency.d.ts +0 -34
- package/dist/commonjs/models/balancetransferfrequency.d.ts.map +0 -1
- package/dist/commonjs/models/balancetransferfrequency.js +0 -63
- package/dist/commonjs/models/balancetransferfrequency.js.map +0 -1
- package/dist/commonjs/models/capturestatus.d.ts +0 -19
- package/dist/commonjs/models/capturestatus.d.ts.map +0 -1
- package/dist/commonjs/models/capturestatus.js +0 -53
- package/dist/commonjs/models/capturestatus.js.map +0 -1
- package/dist/commonjs/models/invoicestatus.d.ts +0 -19
- package/dist/commonjs/models/invoicestatus.d.ts.map +0 -1
- package/dist/commonjs/models/invoicestatus.js.map +0 -1
- package/dist/commonjs/models/mandatestatus.d.ts +0 -25
- package/dist/commonjs/models/mandatestatus.d.ts.map +0 -1
- package/dist/commonjs/models/mandatestatus.js.map +0 -1
- package/dist/commonjs/models/onboardingstatus.d.ts +0 -19
- package/dist/commonjs/models/onboardingstatus.d.ts.map +0 -1
- package/dist/commonjs/models/onboardingstatus.js +0 -53
- package/dist/commonjs/models/onboardingstatus.js.map +0 -1
- package/dist/commonjs/models/paymentstatus.d.ts +0 -29
- package/dist/commonjs/models/paymentstatus.d.ts.map +0 -1
- package/dist/commonjs/models/paymentstatus.js +0 -60
- package/dist/commonjs/models/paymentstatus.js.map +0 -1
- package/dist/commonjs/models/profilestatus.d.ts +0 -31
- package/dist/commonjs/models/profilestatus.d.ts.map +0 -1
- package/dist/commonjs/models/profilestatus.js +0 -59
- package/dist/commonjs/models/profilestatus.js.map +0 -1
- package/dist/commonjs/models/refundroutingreversalssourcetype.d.ts +0 -17
- package/dist/commonjs/models/refundroutingreversalssourcetype.d.ts.map +0 -1
- package/dist/commonjs/models/refundroutingreversalssourcetype.js +0 -51
- package/dist/commonjs/models/refundroutingreversalssourcetype.js.map +0 -1
- package/dist/commonjs/models/refundstatus.d.ts +0 -16
- package/dist/commonjs/models/refundstatus.d.ts.map +0 -1
- package/dist/commonjs/models/refundstatus.js +0 -53
- package/dist/commonjs/models/refundstatus.js.map +0 -1
- package/dist/commonjs/models/settlementstatus.d.ts +0 -20
- package/dist/commonjs/models/settlementstatus.d.ts.map +0 -1
- package/dist/commonjs/models/settlementstatus.js +0 -54
- package/dist/commonjs/models/settlementstatus.js.map +0 -1
- package/dist/commonjs/models/subscriptionstatus.d.ts +0 -27
- package/dist/commonjs/models/subscriptionstatus.d.ts.map +0 -1
- package/dist/commonjs/models/subscriptionstatus.js +0 -58
- package/dist/commonjs/models/subscriptionstatus.js.map +0 -1
- package/dist/commonjs/models/terminalstatus.d.ts +0 -19
- package/dist/commonjs/models/terminalstatus.d.ts.map +0 -1
- package/dist/commonjs/models/terminalstatus.js.map +0 -1
- package/dist/esm/models/balancestatus.d.ts +0 -18
- package/dist/esm/models/balancestatus.d.ts.map +0 -1
- package/dist/esm/models/balancestatus.js +0 -16
- package/dist/esm/models/balancestatus.js.map +0 -1
- package/dist/esm/models/balancetransferfrequency.d.ts +0 -34
- package/dist/esm/models/balancetransferfrequency.d.ts.map +0 -1
- package/dist/esm/models/balancetransferfrequency.js +0 -27
- package/dist/esm/models/balancetransferfrequency.js.map +0 -1
- package/dist/esm/models/capturestatus.d.ts +0 -19
- package/dist/esm/models/capturestatus.d.ts.map +0 -1
- package/dist/esm/models/capturestatus.js +0 -17
- package/dist/esm/models/capturestatus.js.map +0 -1
- package/dist/esm/models/invoicestatus.d.ts +0 -19
- package/dist/esm/models/invoicestatus.d.ts.map +0 -1
- package/dist/esm/models/invoicestatus.js +0 -17
- package/dist/esm/models/invoicestatus.js.map +0 -1
- package/dist/esm/models/mandatestatus.d.ts +0 -25
- package/dist/esm/models/mandatestatus.d.ts.map +0 -1
- package/dist/esm/models/mandatestatus.js +0 -20
- package/dist/esm/models/mandatestatus.js.map +0 -1
- package/dist/esm/models/onboardingstatus.d.ts +0 -19
- package/dist/esm/models/onboardingstatus.d.ts.map +0 -1
- package/dist/esm/models/onboardingstatus.js +0 -17
- package/dist/esm/models/onboardingstatus.js.map +0 -1
- package/dist/esm/models/paymentstatus.d.ts +0 -29
- package/dist/esm/models/paymentstatus.d.ts.map +0 -1
- package/dist/esm/models/paymentstatus.js +0 -24
- package/dist/esm/models/paymentstatus.js.map +0 -1
- package/dist/esm/models/profilestatus.d.ts +0 -31
- package/dist/esm/models/profilestatus.d.ts.map +0 -1
- package/dist/esm/models/profilestatus.js +0 -23
- package/dist/esm/models/profilestatus.js.map +0 -1
- package/dist/esm/models/refundroutingreversalssourcetype.d.ts +0 -17
- package/dist/esm/models/refundroutingreversalssourcetype.d.ts.map +0 -1
- package/dist/esm/models/refundroutingreversalssourcetype.js +0 -15
- package/dist/esm/models/refundroutingreversalssourcetype.js.map +0 -1
- package/dist/esm/models/refundstatus.d.ts +0 -16
- package/dist/esm/models/refundstatus.d.ts.map +0 -1
- package/dist/esm/models/refundstatus.js +0 -17
- package/dist/esm/models/refundstatus.js.map +0 -1
- package/dist/esm/models/settlementstatus.d.ts +0 -20
- package/dist/esm/models/settlementstatus.d.ts.map +0 -1
- package/dist/esm/models/settlementstatus.js +0 -18
- package/dist/esm/models/settlementstatus.js.map +0 -1
- package/dist/esm/models/subscriptionstatus.d.ts +0 -27
- package/dist/esm/models/subscriptionstatus.d.ts.map +0 -1
- package/dist/esm/models/subscriptionstatus.js +0 -22
- package/dist/esm/models/subscriptionstatus.js.map +0 -1
- package/dist/esm/models/terminalstatus.d.ts +0 -19
- package/dist/esm/models/terminalstatus.d.ts.map +0 -1
- package/dist/esm/models/terminalstatus.js +0 -17
- package/dist/esm/models/terminalstatus.js.map +0 -1
- package/src/models/balancestatus.ts +0 -32
- package/src/models/balancetransferfrequency.ts +0 -50
- package/src/models/capturestatus.ts +0 -33
- package/src/models/invoicestatus.ts +0 -33
- package/src/models/mandatestatus.ts +0 -39
- package/src/models/onboardingstatus.ts +0 -33
- package/src/models/paymentstatus.ts +0 -43
- package/src/models/profilestatus.ts +0 -45
- package/src/models/refundroutingreversalssourcetype.ts +0 -28
- package/src/models/refundstatus.ts +0 -30
- package/src/models/settlementstatus.ts +0 -34
- package/src/models/subscriptionstatus.ts +0 -41
- package/src/models/terminalstatus.ts +0 -33
package/bin/mcp-server.js
CHANGED
|
@@ -34124,9 +34124,9 @@ var init_config = __esm(() => {
|
|
|
34124
34124
|
SDK_METADATA = {
|
|
34125
34125
|
language: "typescript",
|
|
34126
34126
|
openapiDocVersion: "1.0.0",
|
|
34127
|
-
sdkVersion: "0.8.
|
|
34127
|
+
sdkVersion: "0.8.5",
|
|
34128
34128
|
genVersion: "2.755.9",
|
|
34129
|
-
userAgent: "speakeasy-sdk/typescript 0.8.
|
|
34129
|
+
userAgent: "speakeasy-sdk/typescript 0.8.5 2.755.9 1.0.0 mollie-api-typescript"
|
|
34130
34130
|
};
|
|
34131
34131
|
});
|
|
34132
34132
|
|
|
@@ -34171,10 +34171,11 @@ class MollieHooks {
|
|
|
34171
34171
|
}
|
|
34172
34172
|
customizeUserAgent(headers, hookContext) {
|
|
34173
34173
|
const userAgentKey = "User-Agent";
|
|
34174
|
+
const process3 = globalThis?.process;
|
|
34174
34175
|
const customUserAgent = hookContext.options.customUserAgent;
|
|
34175
34176
|
const genVersion = SDK_METADATA.genVersion;
|
|
34176
34177
|
const sdkVersion = SDK_METADATA.sdkVersion;
|
|
34177
|
-
const nodeVersion =
|
|
34178
|
+
const nodeVersion = process3?.version ? process3?.version : "unknown";
|
|
34178
34179
|
const packageName = SDK_METADATA.userAgent.split(" ").at(-1);
|
|
34179
34180
|
let mollieUserAgent = `Speakeasy/${genVersion} TypeScript/${nodeVersion} ${packageName}/${sdkVersion}`;
|
|
34180
34181
|
if (customUserAgent) {
|
|
@@ -35959,6 +35960,98 @@ var init_enums = __esm(() => {
|
|
|
35959
35960
|
init_esm();
|
|
35960
35961
|
});
|
|
35961
35962
|
|
|
35963
|
+
// src/models/balancecardaudience.ts
|
|
35964
|
+
var BalanceCardAudience, BalanceCardAudience$inboundSchema, BalanceCardAudience$outboundSchema;
|
|
35965
|
+
var init_balancecardaudience = __esm(() => {
|
|
35966
|
+
init_enums();
|
|
35967
|
+
BalanceCardAudience = {
|
|
35968
|
+
Corporate: "corporate",
|
|
35969
|
+
Other: "other"
|
|
35970
|
+
};
|
|
35971
|
+
BalanceCardAudience$inboundSchema = inboundSchema(BalanceCardAudience);
|
|
35972
|
+
BalanceCardAudience$outboundSchema = outboundSchema(BalanceCardAudience);
|
|
35973
|
+
});
|
|
35974
|
+
|
|
35975
|
+
// src/models/balancecardissuer.ts
|
|
35976
|
+
var BalanceCardIssuer, BalanceCardIssuer$inboundSchema, BalanceCardIssuer$outboundSchema;
|
|
35977
|
+
var init_balancecardissuer = __esm(() => {
|
|
35978
|
+
init_enums();
|
|
35979
|
+
BalanceCardIssuer = {
|
|
35980
|
+
Amex: "amex",
|
|
35981
|
+
Maestro: "maestro",
|
|
35982
|
+
CarteBancaire: "carte-bancaire",
|
|
35983
|
+
Other: "other"
|
|
35984
|
+
};
|
|
35985
|
+
BalanceCardIssuer$inboundSchema = inboundSchema(BalanceCardIssuer);
|
|
35986
|
+
BalanceCardIssuer$outboundSchema = outboundSchema(BalanceCardIssuer);
|
|
35987
|
+
});
|
|
35988
|
+
|
|
35989
|
+
// src/models/balancecardregion.ts
|
|
35990
|
+
var BalanceCardRegion, BalanceCardRegion$inboundSchema, BalanceCardRegion$outboundSchema;
|
|
35991
|
+
var init_balancecardregion = __esm(() => {
|
|
35992
|
+
init_enums();
|
|
35993
|
+
BalanceCardRegion = {
|
|
35994
|
+
IntraEea: "intra-eea",
|
|
35995
|
+
IntraEu: "intra-eu",
|
|
35996
|
+
Domestic: "domestic",
|
|
35997
|
+
Other: "other"
|
|
35998
|
+
};
|
|
35999
|
+
BalanceCardRegion$inboundSchema = inboundSchema(BalanceCardRegion);
|
|
36000
|
+
BalanceCardRegion$outboundSchema = outboundSchema(BalanceCardRegion);
|
|
36001
|
+
});
|
|
36002
|
+
|
|
36003
|
+
// src/models/balancefeetype.ts
|
|
36004
|
+
var BalanceFeeType, BalanceFeeType$inboundSchema, BalanceFeeType$outboundSchema;
|
|
36005
|
+
var init_balancefeetype = __esm(() => {
|
|
36006
|
+
init_enums();
|
|
36007
|
+
BalanceFeeType = {
|
|
36008
|
+
PaymentFee: "payment-fee",
|
|
36009
|
+
DirectDebitFailureFee: "direct-debit-failure-fee",
|
|
36010
|
+
UnauthorizedDirectDebitFee: "unauthorized-direct-debit-fee",
|
|
36011
|
+
BankChargedDirectDebitFailureFee: "bank-charged-direct-debit-failure-fee",
|
|
36012
|
+
PartnerCommission: "partner-commission",
|
|
36013
|
+
ApplicationFee: "application-fee",
|
|
36014
|
+
CaptureFee: "capture-fee",
|
|
36015
|
+
RefundFee: "refund-fee",
|
|
36016
|
+
ChargebackFee: "chargeback-fee",
|
|
36017
|
+
PaymentNotificationFee: "payment-notification-fee",
|
|
36018
|
+
TransferNotificationFee: "transfer-notification-fee",
|
|
36019
|
+
PayoutFee: "payout-fee",
|
|
36020
|
+
FeeDiscount: "fee-discount",
|
|
36021
|
+
FeeReimbursement: "fee-reimbursement",
|
|
36022
|
+
PlatformVolumeFee: "platform-volume-fee",
|
|
36023
|
+
PlatformConnectedOrganizationsFee: "platform-connected-organizations-fee",
|
|
36024
|
+
BalanceChargeFee: "balance-charge-fee",
|
|
36025
|
+
ThreedsAuthenticationAttemptFee: "3ds-authentication-attempt-fee",
|
|
36026
|
+
TerminalMonthlyFee: "terminal-monthly-fee",
|
|
36027
|
+
AcceptanceRiskFee: "acceptance-risk-fee",
|
|
36028
|
+
TopUpFee: "top-up-fee",
|
|
36029
|
+
PaymentGatewayFee: "payment-gateway-fee",
|
|
36030
|
+
MastercardSpecialtyMerchantProgramProcessingFee: "mastercard-specialty-merchant-program-processing-fee",
|
|
36031
|
+
MastercardSpecialtyMerchantProgramRegistrationFee: "mastercard-specialty-merchant-program-registration-fee",
|
|
36032
|
+
VisaIntegrityRiskProgramProcessingFee: "visa-integrity-risk-program-processing-fee",
|
|
36033
|
+
VisaIntegrityRiskProgramRegistrationFee: "visa-integrity-risk-program-registration-fee",
|
|
36034
|
+
MinimumInvoiceAmountFee: "minimum-invoice-amount-fee"
|
|
36035
|
+
};
|
|
36036
|
+
BalanceFeeType$inboundSchema = inboundSchema(BalanceFeeType);
|
|
36037
|
+
BalanceFeeType$outboundSchema = outboundSchema(BalanceFeeType);
|
|
36038
|
+
});
|
|
36039
|
+
|
|
36040
|
+
// src/models/balanceprepaymentparttype.ts
|
|
36041
|
+
var BalancePrepaymentPartType, BalancePrepaymentPartType$inboundSchema, BalancePrepaymentPartType$outboundSchema;
|
|
36042
|
+
var init_balanceprepaymentparttype = __esm(() => {
|
|
36043
|
+
init_enums();
|
|
36044
|
+
BalancePrepaymentPartType = {
|
|
36045
|
+
Fee: "fee",
|
|
36046
|
+
FeeReimbursement: "fee-reimbursement",
|
|
36047
|
+
FeeDiscount: "fee-discount",
|
|
36048
|
+
FeeVat: "fee-vat",
|
|
36049
|
+
FeeRoundingCompensation: "fee-rounding-compensation"
|
|
36050
|
+
};
|
|
36051
|
+
BalancePrepaymentPartType$inboundSchema = inboundSchema(BalancePrepaymentPartType);
|
|
36052
|
+
BalancePrepaymentPartType$outboundSchema = outboundSchema(BalancePrepaymentPartType);
|
|
36053
|
+
});
|
|
36054
|
+
|
|
35962
36055
|
// src/models/balancereportgrouping.ts
|
|
35963
36056
|
var BalanceReportGrouping, BalanceReportGrouping$inboundSchema, BalanceReportGrouping$outboundSchema;
|
|
35964
36057
|
var init_balancereportgrouping = __esm(() => {
|
|
@@ -35971,69 +36064,50 @@ var init_balancereportgrouping = __esm(() => {
|
|
|
35971
36064
|
BalanceReportGrouping$outboundSchema = outboundSchema(BalanceReportGrouping);
|
|
35972
36065
|
});
|
|
35973
36066
|
|
|
35974
|
-
// src/models/balancestatus.ts
|
|
35975
|
-
var BalanceStatus, BalanceStatus$inboundSchema, BalanceStatus$outboundSchema;
|
|
35976
|
-
var init_balancestatus = __esm(() => {
|
|
35977
|
-
init_enums();
|
|
35978
|
-
BalanceStatus = {
|
|
35979
|
-
Active: "active",
|
|
35980
|
-
Inactive: "inactive"
|
|
35981
|
-
};
|
|
35982
|
-
BalanceStatus$inboundSchema = inboundSchema(BalanceStatus);
|
|
35983
|
-
BalanceStatus$outboundSchema = outboundSchema(BalanceStatus);
|
|
35984
|
-
});
|
|
35985
|
-
|
|
35986
36067
|
// src/models/balancetransactiontype.ts
|
|
35987
36068
|
var BalanceTransactionType, BalanceTransactionType$inboundSchema, BalanceTransactionType$outboundSchema;
|
|
35988
36069
|
var init_balancetransactiontype = __esm(() => {
|
|
35989
36070
|
init_enums();
|
|
35990
36071
|
BalanceTransactionType = {
|
|
35991
|
-
ApplicationFee: "application-fee",
|
|
35992
|
-
Capture: "capture",
|
|
35993
|
-
Chargeback: "chargeback",
|
|
35994
|
-
ChargebackReversal: "chargeback-reversal",
|
|
35995
|
-
FailedPaymentFee: "failed-payment-fee",
|
|
35996
|
-
FailedPayment: "failed-payment",
|
|
35997
|
-
InvoiceCompensation: "invoice-compensation",
|
|
35998
36072
|
Payment: "payment",
|
|
35999
|
-
PaymentFee: "payment-fee",
|
|
36000
|
-
PaymentCommission: "payment-commission",
|
|
36001
|
-
Refund: "refund",
|
|
36002
|
-
ReturnedRefund: "returned-refund",
|
|
36003
|
-
ReturnedTransfer: "returned-transfer",
|
|
36004
36073
|
SplitPayment: "split-payment",
|
|
36005
|
-
|
|
36006
|
-
|
|
36007
|
-
|
|
36008
|
-
|
|
36009
|
-
|
|
36010
|
-
|
|
36011
|
-
ReimbursementFee: "reimbursement-fee",
|
|
36012
|
-
BalanceCorrection: "balance-correction",
|
|
36013
|
-
UnauthorizedDirectDebit: "unauthorized-direct-debit",
|
|
36014
|
-
BankChargedFailureFee: "bank-charged-failure-fee",
|
|
36074
|
+
FailedPayment: "failed-payment",
|
|
36075
|
+
FailedPlatformSplitPayment: "failed-platform-split-payment",
|
|
36076
|
+
FailedSplitPaymentCompensation: "failed-split-payment-compensation",
|
|
36077
|
+
Capture: "capture",
|
|
36078
|
+
SplitTransaction: "split-transaction",
|
|
36079
|
+
Refund: "refund",
|
|
36015
36080
|
PlatformPaymentRefund: "platform-payment-refund",
|
|
36081
|
+
ReturnedPlatformPaymentRefund: "returned-platform-payment-refund",
|
|
36016
36082
|
RefundCompensation: "refund-compensation",
|
|
36017
36083
|
ReturnedRefundCompensation: "returned-refund-compensation",
|
|
36018
|
-
|
|
36019
|
-
|
|
36084
|
+
ReturnedRefund: "returned-refund",
|
|
36085
|
+
Chargeback: "chargeback",
|
|
36086
|
+
ChargebackReversal: "chargeback-reversal",
|
|
36020
36087
|
ChargebackCompensation: "chargeback-compensation",
|
|
36021
|
-
ReversedPlatformPaymentChargeback: "reversed-platform-payment-chargeback",
|
|
36022
36088
|
ReversedChargebackCompensation: "reversed-chargeback-compensation",
|
|
36023
|
-
|
|
36024
|
-
|
|
36025
|
-
|
|
36026
|
-
|
|
36027
|
-
|
|
36028
|
-
|
|
36029
|
-
|
|
36030
|
-
Topup: "topup",
|
|
36089
|
+
PlatformPaymentChargeback: "platform-payment-chargeback",
|
|
36090
|
+
ReversedPlatformPaymentChargeback: "reversed-platform-payment-chargeback",
|
|
36091
|
+
FeePrepayment: "fee-prepayment",
|
|
36092
|
+
OutgoingTransfer: "outgoing-transfer",
|
|
36093
|
+
IncomingTransfer: "incoming-transfer",
|
|
36094
|
+
CanceledTransfer: "canceled-transfer",
|
|
36095
|
+
ReturnedTransfer: "returned-transfer",
|
|
36031
36096
|
BalanceReserve: "balance-reserve",
|
|
36032
36097
|
BalanceReserveReturn: "balance-reserve-return",
|
|
36033
|
-
|
|
36034
|
-
|
|
36035
|
-
|
|
36036
|
-
|
|
36098
|
+
InvoiceRoundingCompensation: "invoice-rounding-compensation",
|
|
36099
|
+
RollingReserveHold: "rolling-reserve-hold",
|
|
36100
|
+
RollingReserveRelease: "rolling-reserve-release",
|
|
36101
|
+
BalanceCorrection: "balance-correction",
|
|
36102
|
+
Repayment: "repayment",
|
|
36103
|
+
Loan: "loan",
|
|
36104
|
+
BalanceTopup: "balance-topup",
|
|
36105
|
+
CashCollateralIssuance: "cash-collateral-issuance';",
|
|
36106
|
+
CashCollateralRelease: "cash-collateral-release",
|
|
36107
|
+
PendingRollingReserve: "pending-rolling-reserve",
|
|
36108
|
+
ToBeReleasedRollingReserve: "to-be-released-rolling-reserve",
|
|
36109
|
+
HeldRollingReserve: "held-rolling-reserve",
|
|
36110
|
+
ReleasedRollingReserve: "released-rolling-reserve"
|
|
36037
36111
|
};
|
|
36038
36112
|
BalanceTransactionType$inboundSchema = inboundSchema(BalanceTransactionType);
|
|
36039
36113
|
BalanceTransactionType$outboundSchema = outboundSchema(BalanceTransactionType);
|
|
@@ -36086,24 +36160,6 @@ var init_balancetransferdestinationtype = __esm(() => {
|
|
|
36086
36160
|
BalanceTransferDestinationType$outboundSchema = outboundSchema(BalanceTransferDestinationType);
|
|
36087
36161
|
});
|
|
36088
36162
|
|
|
36089
|
-
// src/models/balancetransferfrequency.ts
|
|
36090
|
-
var BalanceTransferFrequency, BalanceTransferFrequency$inboundSchema, BalanceTransferFrequency$outboundSchema;
|
|
36091
|
-
var init_balancetransferfrequency = __esm(() => {
|
|
36092
|
-
init_enums();
|
|
36093
|
-
BalanceTransferFrequency = {
|
|
36094
|
-
Daily: "daily",
|
|
36095
|
-
EveryMonday: "every-monday",
|
|
36096
|
-
EveryTuesday: "every-tuesday",
|
|
36097
|
-
EveryWednesday: "every-wednesday",
|
|
36098
|
-
EveryThursday: "every-thursday",
|
|
36099
|
-
EveryFriday: "every-friday",
|
|
36100
|
-
Monthly: "monthly",
|
|
36101
|
-
Never: "never"
|
|
36102
|
-
};
|
|
36103
|
-
BalanceTransferFrequency$inboundSchema = inboundSchema(BalanceTransferFrequency);
|
|
36104
|
-
BalanceTransferFrequency$outboundSchema = outboundSchema(BalanceTransferFrequency);
|
|
36105
|
-
});
|
|
36106
|
-
|
|
36107
36163
|
// src/models/balancetransferpartytype.ts
|
|
36108
36164
|
var BalanceTransferPartyType, BalanceTransferPartyType$inboundSchema, BalanceTransferPartyType$outboundSchema;
|
|
36109
36165
|
var init_balancetransferpartytype = __esm(() => {
|
|
@@ -36255,19 +36311,6 @@ var init_capturemoderesponse = __esm(() => {
|
|
|
36255
36311
|
CaptureModeResponse$outboundSchema = outboundSchema(CaptureModeResponse);
|
|
36256
36312
|
});
|
|
36257
36313
|
|
|
36258
|
-
// src/models/capturestatus.ts
|
|
36259
|
-
var CaptureStatus, CaptureStatus$inboundSchema, CaptureStatus$outboundSchema;
|
|
36260
|
-
var init_capturestatus = __esm(() => {
|
|
36261
|
-
init_enums();
|
|
36262
|
-
CaptureStatus = {
|
|
36263
|
-
Pending: "pending",
|
|
36264
|
-
Succeeded: "succeeded",
|
|
36265
|
-
Failed: "failed"
|
|
36266
|
-
};
|
|
36267
|
-
CaptureStatus$inboundSchema = inboundSchema(CaptureStatus);
|
|
36268
|
-
CaptureStatus$outboundSchema = outboundSchema(CaptureStatus);
|
|
36269
|
-
});
|
|
36270
|
-
|
|
36271
36314
|
// src/models/metadata.ts
|
|
36272
36315
|
var Metadata$inboundSchema, Metadata$outboundSchema;
|
|
36273
36316
|
var init_metadata = __esm(() => {
|
|
@@ -36317,16 +36360,31 @@ var init_urlnullable = __esm(() => {
|
|
|
36317
36360
|
});
|
|
36318
36361
|
|
|
36319
36362
|
// src/models/captureresponse.ts
|
|
36320
|
-
var CaptureResponseLinks$inboundSchema, CaptureResponseLinks$outboundSchema, CaptureResponse$inboundSchema, CaptureResponse$outboundSchema;
|
|
36363
|
+
var CaptureResponseStatus, CaptureResponseSettlementAmount$inboundSchema, CaptureResponseSettlementAmount$outboundSchema, CaptureResponseStatus$inboundSchema, CaptureResponseStatus$outboundSchema, CaptureResponseLinks$inboundSchema, CaptureResponseLinks$outboundSchema, CaptureResponse$inboundSchema, CaptureResponse$outboundSchema;
|
|
36321
36364
|
var init_captureresponse = __esm(() => {
|
|
36322
36365
|
init_esm();
|
|
36323
36366
|
init_primitives();
|
|
36367
|
+
init_enums();
|
|
36324
36368
|
init_amountnullable();
|
|
36325
|
-
init_capturestatus();
|
|
36326
36369
|
init_metadata();
|
|
36327
36370
|
init_mode();
|
|
36328
36371
|
init_url2();
|
|
36329
36372
|
init_urlnullable();
|
|
36373
|
+
CaptureResponseStatus = {
|
|
36374
|
+
Pending: "pending",
|
|
36375
|
+
Succeeded: "succeeded",
|
|
36376
|
+
Failed: "failed"
|
|
36377
|
+
};
|
|
36378
|
+
CaptureResponseSettlementAmount$inboundSchema = objectType({
|
|
36379
|
+
currency: stringType(),
|
|
36380
|
+
value: stringType()
|
|
36381
|
+
});
|
|
36382
|
+
CaptureResponseSettlementAmount$outboundSchema = objectType({
|
|
36383
|
+
currency: stringType(),
|
|
36384
|
+
value: stringType()
|
|
36385
|
+
});
|
|
36386
|
+
CaptureResponseStatus$inboundSchema = inboundSchema(CaptureResponseStatus);
|
|
36387
|
+
CaptureResponseStatus$outboundSchema = outboundSchema(CaptureResponseStatus);
|
|
36330
36388
|
CaptureResponseLinks$inboundSchema = objectType({
|
|
36331
36389
|
self: Url$inboundSchema,
|
|
36332
36390
|
payment: Url$inboundSchema,
|
|
@@ -36347,12 +36405,12 @@ var init_captureresponse = __esm(() => {
|
|
|
36347
36405
|
mode: Mode$inboundSchema,
|
|
36348
36406
|
description: stringType().optional(),
|
|
36349
36407
|
amount: nullableType(AmountNullable$inboundSchema),
|
|
36350
|
-
settlementAmount: nullableType(
|
|
36351
|
-
status:
|
|
36408
|
+
settlementAmount: nullableType(lazyType(() => CaptureResponseSettlementAmount$inboundSchema)).optional(),
|
|
36409
|
+
status: CaptureResponseStatus$inboundSchema,
|
|
36352
36410
|
metadata: nullableType(Metadata$inboundSchema).optional(),
|
|
36353
36411
|
paymentId: stringType(),
|
|
36354
|
-
shipmentId: stringType().optional(),
|
|
36355
|
-
settlementId: stringType().optional(),
|
|
36412
|
+
shipmentId: nullableType(stringType()).optional(),
|
|
36413
|
+
settlementId: nullableType(stringType()).optional(),
|
|
36356
36414
|
createdAt: stringType(),
|
|
36357
36415
|
_links: lazyType(() => CaptureResponseLinks$inboundSchema)
|
|
36358
36416
|
}).transform((v2) => {
|
|
@@ -36366,12 +36424,12 @@ var init_captureresponse = __esm(() => {
|
|
|
36366
36424
|
mode: Mode$outboundSchema,
|
|
36367
36425
|
description: stringType().optional(),
|
|
36368
36426
|
amount: nullableType(AmountNullable$outboundSchema),
|
|
36369
|
-
settlementAmount: nullableType(
|
|
36370
|
-
status:
|
|
36427
|
+
settlementAmount: nullableType(lazyType(() => CaptureResponseSettlementAmount$outboundSchema)).optional(),
|
|
36428
|
+
status: CaptureResponseStatus$outboundSchema,
|
|
36371
36429
|
metadata: nullableType(Metadata$outboundSchema).optional(),
|
|
36372
36430
|
paymentId: stringType(),
|
|
36373
|
-
shipmentId: stringType().optional(),
|
|
36374
|
-
settlementId: stringType().optional(),
|
|
36431
|
+
shipmentId: nullableType(stringType()).optional(),
|
|
36432
|
+
settlementId: nullableType(stringType()).optional(),
|
|
36375
36433
|
createdAt: stringType(),
|
|
36376
36434
|
links: lazyType(() => CaptureResponseLinks$outboundSchema)
|
|
36377
36435
|
}).transform((v2) => {
|
|
@@ -36550,259 +36608,61 @@ var init_paymentmethod = __esm(() => {
|
|
|
36550
36608
|
});
|
|
36551
36609
|
|
|
36552
36610
|
// src/models/subtotals.ts
|
|
36553
|
-
var
|
|
36611
|
+
var SubTotals$inboundSchema, SubTotals$outboundSchema;
|
|
36554
36612
|
var init_subtotals = __esm(() => {
|
|
36555
36613
|
init_esm();
|
|
36614
|
+
init_balancecardaudience();
|
|
36615
|
+
init_balancecardissuer();
|
|
36616
|
+
init_balancecardregion();
|
|
36617
|
+
init_balancefeetype();
|
|
36618
|
+
init_balanceprepaymentparttype();
|
|
36619
|
+
init_balancetransactiontype();
|
|
36556
36620
|
init_paymentmethod();
|
|
36557
|
-
SubTotalsCardIssuer = {
|
|
36558
|
-
Amex: "amex",
|
|
36559
|
-
Maestro: "maestro",
|
|
36560
|
-
CarteBancaire: "carte-bancaire",
|
|
36561
|
-
Other: "other"
|
|
36562
|
-
};
|
|
36563
|
-
SubTotalsCardAudience = {
|
|
36564
|
-
Corporate: "corporate",
|
|
36565
|
-
Other: "other"
|
|
36566
|
-
};
|
|
36567
|
-
SubTotalsCardRegion = {
|
|
36568
|
-
IntraEea: "intra-eea",
|
|
36569
|
-
IntraEu: "intra-eu",
|
|
36570
|
-
Domestic: "domestic",
|
|
36571
|
-
Other: "other"
|
|
36572
|
-
};
|
|
36573
|
-
SubTotalsFeeType = {
|
|
36574
|
-
PaymentFee: "payment-fee",
|
|
36575
|
-
DirectDebitFailureFee: "direct-debit-failure-fee",
|
|
36576
|
-
UnauthorizedDirectDebitFee: "unauthorized-direct-debit-fee",
|
|
36577
|
-
BankChargedDirectDebitFailureFee: "bank-charged-direct-debit-failure-fee",
|
|
36578
|
-
PartnerCommission: "partner-commission",
|
|
36579
|
-
ApplicationFee: "application-fee",
|
|
36580
|
-
CaptureFee: "capture-fee",
|
|
36581
|
-
RefundFee: "refund-fee",
|
|
36582
|
-
ChargebackFee: "chargeback-fee",
|
|
36583
|
-
PaymentNotificationFee: "payment-notification-fee",
|
|
36584
|
-
TransferNotificationFee: "transfer-notification-fee",
|
|
36585
|
-
PayoutFee: "payout-fee",
|
|
36586
|
-
FeeDiscount: "fee-discount",
|
|
36587
|
-
FeeReimbursement: "fee-reimbursement",
|
|
36588
|
-
PlatformVolumeFee: "platform-volume-fee",
|
|
36589
|
-
PlatformConnectedOrganizationsFee: "platform-connected-organizations-fee",
|
|
36590
|
-
BalanceChargeFee: "balance-charge-fee",
|
|
36591
|
-
ThreedsAuthenticationAttemptFee: "3ds-authentication-attempt-fee",
|
|
36592
|
-
TerminalMonthlyFee: "terminal-monthly-fee",
|
|
36593
|
-
AcceptanceRiskFee: "acceptance-risk-fee",
|
|
36594
|
-
TopUpFee: "top-up-fee",
|
|
36595
|
-
PaymentGatewayFee: "payment-gateway-fee",
|
|
36596
|
-
MastercardSpecialtyMerchantProgramProcessingFee: "mastercard-specialty-merchant-program-processing-fee",
|
|
36597
|
-
MastercardSpecialtyMerchantProgramRegistrationFee: "mastercard-specialty-merchant-program-registration-fee",
|
|
36598
|
-
VisaIntegrityRiskProgramProcessingFee: "visa-integrity-risk-program-processing-fee",
|
|
36599
|
-
VisaIntegrityRiskProgramRegistrationFee: "visa-integrity-risk-program-registration-fee",
|
|
36600
|
-
MinimumInvoiceAmountFee: "minimum-invoice-amount-fee"
|
|
36601
|
-
};
|
|
36602
|
-
SubTotalsPrepaymentPartType = {
|
|
36603
|
-
Fee: "fee",
|
|
36604
|
-
FeeReimbursement: "fee-reimbursement",
|
|
36605
|
-
FeeDiscount: "fee-discount",
|
|
36606
|
-
FeeVat: "fee-vat",
|
|
36607
|
-
FeeRoundingCompensation: "fee-rounding-compensation"
|
|
36608
|
-
};
|
|
36609
|
-
SubTotalsTransactionType = {
|
|
36610
|
-
Payment: "payment",
|
|
36611
|
-
SplitPayment: "split-payment",
|
|
36612
|
-
FailedPayment: "failed-payment",
|
|
36613
|
-
FailedPlatformSplitPayment: "failed-platform-split-payment",
|
|
36614
|
-
FailedSplitPaymentCompensation: "failed-split-payment-compensation",
|
|
36615
|
-
Capture: "capture",
|
|
36616
|
-
SplitTransaction: "split-transaction",
|
|
36617
|
-
Refund: "refund",
|
|
36618
|
-
PlatformPaymentRefund: "platform-payment-refund",
|
|
36619
|
-
ReturnedPlatformPaymentRefund: "returned-platform-payment-refund",
|
|
36620
|
-
RefundCompensation: "refund-compensation",
|
|
36621
|
-
ReturnedRefundCompensation: "returned-refund-compensation",
|
|
36622
|
-
ReturnedRefund: "returned-refund",
|
|
36623
|
-
Chargeback: "chargeback",
|
|
36624
|
-
ChargebackReversal: "chargeback-reversal",
|
|
36625
|
-
ChargebackCompensation: "chargeback-compensation",
|
|
36626
|
-
ReversedChargebackCompensation: "reversed-chargeback-compensation",
|
|
36627
|
-
PlatformPaymentChargeback: "platform-payment-chargeback",
|
|
36628
|
-
ReversedPlatformPaymentChargeback: "reversed-platform-payment-chargeback",
|
|
36629
|
-
FeePrepayment: "fee-prepayment",
|
|
36630
|
-
OutgoingTransfer: "outgoing-transfer",
|
|
36631
|
-
IncomingTransfer: "incoming-transfer",
|
|
36632
|
-
CanceledTransfer: "canceled-transfer",
|
|
36633
|
-
ReturnedTransfer: "returned-transfer",
|
|
36634
|
-
BalanceReserve: "balance-reserve",
|
|
36635
|
-
BalanceReserveReturn: "balance-reserve-return",
|
|
36636
|
-
InvoiceRoundingCompensation: "invoice-rounding-compensation",
|
|
36637
|
-
RollingReserveHold: "rolling-reserve-hold",
|
|
36638
|
-
RollingReserveRelease: "rolling-reserve-release",
|
|
36639
|
-
BalanceCorrection: "balance-correction",
|
|
36640
|
-
Repayment: "repayment",
|
|
36641
|
-
Loan: "loan",
|
|
36642
|
-
BalanceTopup: "balance-topup",
|
|
36643
|
-
CashCollateralIssuance: "cash-collateral-issuance';",
|
|
36644
|
-
CashCollateralRelease: "cash-collateral-release",
|
|
36645
|
-
PendingRollingReserve: "pending-rolling-reserve",
|
|
36646
|
-
ToBeReleasedRollingReserve: "to-be-released-rolling-reserve",
|
|
36647
|
-
HeldRollingReserve: "held-rolling-reserve",
|
|
36648
|
-
ReleasedRollingReserve: "released-rolling-reserve"
|
|
36649
|
-
};
|
|
36650
|
-
SubTotalsCardIssuer$inboundSchema = nativeEnumType(SubTotalsCardIssuer);
|
|
36651
|
-
SubTotalsCardIssuer$outboundSchema = SubTotalsCardIssuer$inboundSchema;
|
|
36652
|
-
SubTotalsCardAudience$inboundSchema = nativeEnumType(SubTotalsCardAudience);
|
|
36653
|
-
SubTotalsCardAudience$outboundSchema = SubTotalsCardAudience$inboundSchema;
|
|
36654
|
-
SubTotalsCardRegion$inboundSchema = nativeEnumType(SubTotalsCardRegion);
|
|
36655
|
-
SubTotalsCardRegion$outboundSchema = SubTotalsCardRegion$inboundSchema;
|
|
36656
|
-
SubTotalsFeeType$inboundSchema = nativeEnumType(SubTotalsFeeType);
|
|
36657
|
-
SubTotalsFeeType$outboundSchema = SubTotalsFeeType$inboundSchema;
|
|
36658
|
-
SubTotalsPrepaymentPartType$inboundSchema = nativeEnumType(SubTotalsPrepaymentPartType);
|
|
36659
|
-
SubTotalsPrepaymentPartType$outboundSchema = SubTotalsPrepaymentPartType$inboundSchema;
|
|
36660
|
-
SubTotalsTransactionType$inboundSchema = nativeEnumType(SubTotalsTransactionType);
|
|
36661
|
-
SubTotalsTransactionType$outboundSchema = SubTotalsTransactionType$inboundSchema;
|
|
36662
36621
|
SubTotals$inboundSchema = objectType({
|
|
36663
36622
|
count: numberType().int().optional(),
|
|
36664
36623
|
method: nullableType(PaymentMethod$inboundSchema).optional(),
|
|
36665
|
-
cardIssuer:
|
|
36666
|
-
cardAudience:
|
|
36667
|
-
cardRegion:
|
|
36668
|
-
feeType:
|
|
36669
|
-
prepaymentPartType:
|
|
36670
|
-
transactionType:
|
|
36624
|
+
cardIssuer: BalanceCardIssuer$inboundSchema.optional(),
|
|
36625
|
+
cardAudience: BalanceCardAudience$inboundSchema.optional(),
|
|
36626
|
+
cardRegion: BalanceCardRegion$inboundSchema.optional(),
|
|
36627
|
+
feeType: BalanceFeeType$inboundSchema.optional(),
|
|
36628
|
+
prepaymentPartType: BalancePrepaymentPartType$inboundSchema.optional(),
|
|
36629
|
+
transactionType: BalanceTransactionType$inboundSchema.optional()
|
|
36671
36630
|
});
|
|
36672
36631
|
SubTotals$outboundSchema = objectType({
|
|
36673
36632
|
count: numberType().int().optional(),
|
|
36674
36633
|
method: nullableType(PaymentMethod$outboundSchema).optional(),
|
|
36675
|
-
cardIssuer:
|
|
36676
|
-
cardAudience:
|
|
36677
|
-
cardRegion:
|
|
36678
|
-
feeType:
|
|
36679
|
-
prepaymentPartType:
|
|
36680
|
-
transactionType:
|
|
36634
|
+
cardIssuer: BalanceCardIssuer$outboundSchema.optional(),
|
|
36635
|
+
cardAudience: BalanceCardAudience$outboundSchema.optional(),
|
|
36636
|
+
cardRegion: BalanceCardRegion$outboundSchema.optional(),
|
|
36637
|
+
feeType: BalanceFeeType$outboundSchema.optional(),
|
|
36638
|
+
prepaymentPartType: BalancePrepaymentPartType$outboundSchema.optional(),
|
|
36639
|
+
transactionType: BalanceTransactionType$outboundSchema.optional()
|
|
36681
36640
|
});
|
|
36682
36641
|
});
|
|
36683
36642
|
|
|
36684
36643
|
// src/models/componentssubtotals.ts
|
|
36685
|
-
var
|
|
36644
|
+
var ComponentsSubTotals$inboundSchema, ComponentsSubTotals$outboundSchema;
|
|
36686
36645
|
var init_componentssubtotals = __esm(() => {
|
|
36687
36646
|
init_esm();
|
|
36688
36647
|
init_primitives();
|
|
36648
|
+
init_balancecardaudience();
|
|
36649
|
+
init_balancecardissuer();
|
|
36650
|
+
init_balancecardregion();
|
|
36651
|
+
init_balancefeetype();
|
|
36652
|
+
init_balanceprepaymentparttype();
|
|
36653
|
+
init_balancetransactiontype();
|
|
36689
36654
|
init_paymentmethod();
|
|
36690
36655
|
init_subtotals();
|
|
36691
|
-
ComponentsSubTotalsCardIssuer = {
|
|
36692
|
-
Amex: "amex",
|
|
36693
|
-
Maestro: "maestro",
|
|
36694
|
-
CarteBancaire: "carte-bancaire",
|
|
36695
|
-
Other: "other"
|
|
36696
|
-
};
|
|
36697
|
-
ComponentsSubTotalsCardAudience = {
|
|
36698
|
-
Corporate: "corporate",
|
|
36699
|
-
Other: "other"
|
|
36700
|
-
};
|
|
36701
|
-
ComponentsSubTotalsCardRegion = {
|
|
36702
|
-
IntraEea: "intra-eea",
|
|
36703
|
-
IntraEu: "intra-eu",
|
|
36704
|
-
Domestic: "domestic",
|
|
36705
|
-
Other: "other"
|
|
36706
|
-
};
|
|
36707
|
-
ComponentsSubTotalsFeeType = {
|
|
36708
|
-
PaymentFee: "payment-fee",
|
|
36709
|
-
DirectDebitFailureFee: "direct-debit-failure-fee",
|
|
36710
|
-
UnauthorizedDirectDebitFee: "unauthorized-direct-debit-fee",
|
|
36711
|
-
BankChargedDirectDebitFailureFee: "bank-charged-direct-debit-failure-fee",
|
|
36712
|
-
PartnerCommission: "partner-commission",
|
|
36713
|
-
ApplicationFee: "application-fee",
|
|
36714
|
-
CaptureFee: "capture-fee",
|
|
36715
|
-
RefundFee: "refund-fee",
|
|
36716
|
-
ChargebackFee: "chargeback-fee",
|
|
36717
|
-
PaymentNotificationFee: "payment-notification-fee",
|
|
36718
|
-
TransferNotificationFee: "transfer-notification-fee",
|
|
36719
|
-
PayoutFee: "payout-fee",
|
|
36720
|
-
FeeDiscount: "fee-discount",
|
|
36721
|
-
FeeReimbursement: "fee-reimbursement",
|
|
36722
|
-
PlatformVolumeFee: "platform-volume-fee",
|
|
36723
|
-
PlatformConnectedOrganizationsFee: "platform-connected-organizations-fee",
|
|
36724
|
-
BalanceChargeFee: "balance-charge-fee",
|
|
36725
|
-
ThreedsAuthenticationAttemptFee: "3ds-authentication-attempt-fee",
|
|
36726
|
-
TerminalMonthlyFee: "terminal-monthly-fee",
|
|
36727
|
-
AcceptanceRiskFee: "acceptance-risk-fee",
|
|
36728
|
-
TopUpFee: "top-up-fee",
|
|
36729
|
-
PaymentGatewayFee: "payment-gateway-fee",
|
|
36730
|
-
MastercardSpecialtyMerchantProgramProcessingFee: "mastercard-specialty-merchant-program-processing-fee",
|
|
36731
|
-
MastercardSpecialtyMerchantProgramRegistrationFee: "mastercard-specialty-merchant-program-registration-fee",
|
|
36732
|
-
VisaIntegrityRiskProgramProcessingFee: "visa-integrity-risk-program-processing-fee",
|
|
36733
|
-
VisaIntegrityRiskProgramRegistrationFee: "visa-integrity-risk-program-registration-fee",
|
|
36734
|
-
MinimumInvoiceAmountFee: "minimum-invoice-amount-fee"
|
|
36735
|
-
};
|
|
36736
|
-
ComponentsSubTotalsPrepaymentPartType = {
|
|
36737
|
-
Fee: "fee",
|
|
36738
|
-
FeeReimbursement: "fee-reimbursement",
|
|
36739
|
-
FeeDiscount: "fee-discount",
|
|
36740
|
-
FeeVat: "fee-vat",
|
|
36741
|
-
FeeRoundingCompensation: "fee-rounding-compensation"
|
|
36742
|
-
};
|
|
36743
|
-
ComponentsSubTotalsTransactionType = {
|
|
36744
|
-
Payment: "payment",
|
|
36745
|
-
SplitPayment: "split-payment",
|
|
36746
|
-
FailedPayment: "failed-payment",
|
|
36747
|
-
FailedPlatformSplitPayment: "failed-platform-split-payment",
|
|
36748
|
-
FailedSplitPaymentCompensation: "failed-split-payment-compensation",
|
|
36749
|
-
Capture: "capture",
|
|
36750
|
-
SplitTransaction: "split-transaction",
|
|
36751
|
-
Refund: "refund",
|
|
36752
|
-
PlatformPaymentRefund: "platform-payment-refund",
|
|
36753
|
-
ReturnedPlatformPaymentRefund: "returned-platform-payment-refund",
|
|
36754
|
-
RefundCompensation: "refund-compensation",
|
|
36755
|
-
ReturnedRefundCompensation: "returned-refund-compensation",
|
|
36756
|
-
ReturnedRefund: "returned-refund",
|
|
36757
|
-
Chargeback: "chargeback",
|
|
36758
|
-
ChargebackReversal: "chargeback-reversal",
|
|
36759
|
-
ChargebackCompensation: "chargeback-compensation",
|
|
36760
|
-
ReversedChargebackCompensation: "reversed-chargeback-compensation",
|
|
36761
|
-
PlatformPaymentChargeback: "platform-payment-chargeback",
|
|
36762
|
-
ReversedPlatformPaymentChargeback: "reversed-platform-payment-chargeback",
|
|
36763
|
-
FeePrepayment: "fee-prepayment",
|
|
36764
|
-
OutgoingTransfer: "outgoing-transfer",
|
|
36765
|
-
IncomingTransfer: "incoming-transfer",
|
|
36766
|
-
CanceledTransfer: "canceled-transfer",
|
|
36767
|
-
ReturnedTransfer: "returned-transfer",
|
|
36768
|
-
BalanceReserve: "balance-reserve",
|
|
36769
|
-
BalanceReserveReturn: "balance-reserve-return",
|
|
36770
|
-
InvoiceRoundingCompensation: "invoice-rounding-compensation",
|
|
36771
|
-
RollingReserveHold: "rolling-reserve-hold",
|
|
36772
|
-
RollingReserveRelease: "rolling-reserve-release",
|
|
36773
|
-
BalanceCorrection: "balance-correction",
|
|
36774
|
-
Repayment: "repayment",
|
|
36775
|
-
Loan: "loan",
|
|
36776
|
-
BalanceTopup: "balance-topup",
|
|
36777
|
-
CashCollateralIssuance: "cash-collateral-issuance';",
|
|
36778
|
-
CashCollateralRelease: "cash-collateral-release",
|
|
36779
|
-
PendingRollingReserve: "pending-rolling-reserve",
|
|
36780
|
-
ToBeReleasedRollingReserve: "to-be-released-rolling-reserve",
|
|
36781
|
-
HeldRollingReserve: "held-rolling-reserve",
|
|
36782
|
-
ReleasedRollingReserve: "released-rolling-reserve"
|
|
36783
|
-
};
|
|
36784
|
-
ComponentsSubTotalsCardIssuer$inboundSchema = nativeEnumType(ComponentsSubTotalsCardIssuer);
|
|
36785
|
-
ComponentsSubTotalsCardIssuer$outboundSchema = ComponentsSubTotalsCardIssuer$inboundSchema;
|
|
36786
|
-
ComponentsSubTotalsCardAudience$inboundSchema = nativeEnumType(ComponentsSubTotalsCardAudience);
|
|
36787
|
-
ComponentsSubTotalsCardAudience$outboundSchema = ComponentsSubTotalsCardAudience$inboundSchema;
|
|
36788
|
-
ComponentsSubTotalsCardRegion$inboundSchema = nativeEnumType(ComponentsSubTotalsCardRegion);
|
|
36789
|
-
ComponentsSubTotalsCardRegion$outboundSchema = ComponentsSubTotalsCardRegion$inboundSchema;
|
|
36790
|
-
ComponentsSubTotalsFeeType$inboundSchema = nativeEnumType(ComponentsSubTotalsFeeType);
|
|
36791
|
-
ComponentsSubTotalsFeeType$outboundSchema = ComponentsSubTotalsFeeType$inboundSchema;
|
|
36792
|
-
ComponentsSubTotalsPrepaymentPartType$inboundSchema = nativeEnumType(ComponentsSubTotalsPrepaymentPartType);
|
|
36793
|
-
ComponentsSubTotalsPrepaymentPartType$outboundSchema = ComponentsSubTotalsPrepaymentPartType$inboundSchema;
|
|
36794
|
-
ComponentsSubTotalsTransactionType$inboundSchema = nativeEnumType(ComponentsSubTotalsTransactionType);
|
|
36795
|
-
ComponentsSubTotalsTransactionType$outboundSchema = ComponentsSubTotalsTransactionType$inboundSchema;
|
|
36796
36656
|
ComponentsSubTotals$inboundSchema = objectType({
|
|
36797
36657
|
"sub-totals": nullableType(arrayType(SubTotals$inboundSchema)).optional(),
|
|
36798
36658
|
count: numberType().int().optional(),
|
|
36799
36659
|
method: nullableType(PaymentMethod$inboundSchema).optional(),
|
|
36800
|
-
cardIssuer:
|
|
36801
|
-
cardAudience:
|
|
36802
|
-
cardRegion:
|
|
36803
|
-
feeType:
|
|
36804
|
-
prepaymentPartType:
|
|
36805
|
-
transactionType:
|
|
36660
|
+
cardIssuer: BalanceCardIssuer$inboundSchema.optional(),
|
|
36661
|
+
cardAudience: BalanceCardAudience$inboundSchema.optional(),
|
|
36662
|
+
cardRegion: BalanceCardRegion$inboundSchema.optional(),
|
|
36663
|
+
feeType: BalanceFeeType$inboundSchema.optional(),
|
|
36664
|
+
prepaymentPartType: BalancePrepaymentPartType$inboundSchema.optional(),
|
|
36665
|
+
transactionType: BalanceTransactionType$inboundSchema.optional()
|
|
36806
36666
|
}).transform((v2) => {
|
|
36807
36667
|
return remap(v2, {
|
|
36808
36668
|
"sub-totals": "subTotals"
|
|
@@ -36812,12 +36672,12 @@ var init_componentssubtotals = __esm(() => {
|
|
|
36812
36672
|
subTotals: nullableType(arrayType(SubTotals$outboundSchema)).optional(),
|
|
36813
36673
|
count: numberType().int().optional(),
|
|
36814
36674
|
method: nullableType(PaymentMethod$outboundSchema).optional(),
|
|
36815
|
-
cardIssuer:
|
|
36816
|
-
cardAudience:
|
|
36817
|
-
cardRegion:
|
|
36818
|
-
feeType:
|
|
36819
|
-
prepaymentPartType:
|
|
36820
|
-
transactionType:
|
|
36675
|
+
cardIssuer: BalanceCardIssuer$outboundSchema.optional(),
|
|
36676
|
+
cardAudience: BalanceCardAudience$outboundSchema.optional(),
|
|
36677
|
+
cardRegion: BalanceCardRegion$outboundSchema.optional(),
|
|
36678
|
+
feeType: BalanceFeeType$outboundSchema.optional(),
|
|
36679
|
+
prepaymentPartType: BalancePrepaymentPartType$outboundSchema.optional(),
|
|
36680
|
+
transactionType: BalanceTransactionType$outboundSchema.optional()
|
|
36821
36681
|
}).transform((v2) => {
|
|
36822
36682
|
return remap(v2, {
|
|
36823
36683
|
subTotals: "sub-totals"
|
|
@@ -37002,17 +36862,56 @@ var init_deletevaluessalesinvoice = __esm(() => {
|
|
|
37002
36862
|
});
|
|
37003
36863
|
|
|
37004
36864
|
// src/models/entitybalance.ts
|
|
37005
|
-
var TransferDestination$inboundSchema, TransferDestination$outboundSchema, EntityBalanceLinks$inboundSchema, EntityBalanceLinks$outboundSchema, EntityBalance$inboundSchema, EntityBalance$outboundSchema;
|
|
36865
|
+
var Currency, EntityBalanceStatus, TransferFrequency, Currency$inboundSchema, Currency$outboundSchema, EntityBalanceStatus$inboundSchema, EntityBalanceStatus$outboundSchema, TransferFrequency$inboundSchema, TransferFrequency$outboundSchema, TransferThreshold$inboundSchema, TransferThreshold$outboundSchema, TransferDestination$inboundSchema, TransferDestination$outboundSchema, AvailableAmount$inboundSchema, AvailableAmount$outboundSchema, PendingAmount$inboundSchema, PendingAmount$outboundSchema, EntityBalanceLinks$inboundSchema, EntityBalanceLinks$outboundSchema, EntityBalance$inboundSchema, EntityBalance$outboundSchema;
|
|
37006
36866
|
var init_entitybalance = __esm(() => {
|
|
37007
36867
|
init_esm();
|
|
37008
36868
|
init_primitives();
|
|
37009
|
-
|
|
37010
|
-
init_balancestatus();
|
|
36869
|
+
init_enums();
|
|
37011
36870
|
init_balancetransferdestinationtype();
|
|
37012
|
-
init_balancetransferfrequency();
|
|
37013
|
-
init_currencies();
|
|
37014
36871
|
init_mode();
|
|
37015
36872
|
init_url2();
|
|
36873
|
+
Currency = {
|
|
36874
|
+
Eur: "EUR",
|
|
36875
|
+
Gbp: "GBP",
|
|
36876
|
+
Chf: "CHF",
|
|
36877
|
+
Dkk: "DKK",
|
|
36878
|
+
Nok: "NOK",
|
|
36879
|
+
Pln: "PLN",
|
|
36880
|
+
Sek: "SEK",
|
|
36881
|
+
Usd: "USD",
|
|
36882
|
+
Czk: "CZK",
|
|
36883
|
+
Huf: "HUF",
|
|
36884
|
+
Aud: "AUD",
|
|
36885
|
+
Cad: "CAD"
|
|
36886
|
+
};
|
|
36887
|
+
EntityBalanceStatus = {
|
|
36888
|
+
Active: "active",
|
|
36889
|
+
Inactive: "inactive"
|
|
36890
|
+
};
|
|
36891
|
+
TransferFrequency = {
|
|
36892
|
+
Daily: "daily",
|
|
36893
|
+
EveryMonday: "every-monday",
|
|
36894
|
+
EveryTuesday: "every-tuesday",
|
|
36895
|
+
EveryWednesday: "every-wednesday",
|
|
36896
|
+
EveryThursday: "every-thursday",
|
|
36897
|
+
EveryFriday: "every-friday",
|
|
36898
|
+
Monthly: "monthly",
|
|
36899
|
+
Never: "never"
|
|
36900
|
+
};
|
|
36901
|
+
Currency$inboundSchema = inboundSchema(Currency);
|
|
36902
|
+
Currency$outboundSchema = outboundSchema(Currency);
|
|
36903
|
+
EntityBalanceStatus$inboundSchema = inboundSchema(EntityBalanceStatus);
|
|
36904
|
+
EntityBalanceStatus$outboundSchema = outboundSchema(EntityBalanceStatus);
|
|
36905
|
+
TransferFrequency$inboundSchema = inboundSchema(TransferFrequency);
|
|
36906
|
+
TransferFrequency$outboundSchema = outboundSchema(TransferFrequency);
|
|
36907
|
+
TransferThreshold$inboundSchema = objectType({
|
|
36908
|
+
currency: stringType(),
|
|
36909
|
+
value: stringType()
|
|
36910
|
+
});
|
|
36911
|
+
TransferThreshold$outboundSchema = objectType({
|
|
36912
|
+
currency: stringType(),
|
|
36913
|
+
value: stringType()
|
|
36914
|
+
});
|
|
37016
36915
|
TransferDestination$inboundSchema = objectType({
|
|
37017
36916
|
type: BalanceTransferDestinationType$inboundSchema.optional(),
|
|
37018
36917
|
bankAccount: stringType().optional(),
|
|
@@ -37023,6 +36922,22 @@ var init_entitybalance = __esm(() => {
|
|
|
37023
36922
|
bankAccount: stringType().optional(),
|
|
37024
36923
|
beneficiaryName: stringType().optional()
|
|
37025
36924
|
});
|
|
36925
|
+
AvailableAmount$inboundSchema = objectType({
|
|
36926
|
+
currency: stringType(),
|
|
36927
|
+
value: stringType()
|
|
36928
|
+
});
|
|
36929
|
+
AvailableAmount$outboundSchema = objectType({
|
|
36930
|
+
currency: stringType(),
|
|
36931
|
+
value: stringType()
|
|
36932
|
+
});
|
|
36933
|
+
PendingAmount$inboundSchema = objectType({
|
|
36934
|
+
currency: stringType(),
|
|
36935
|
+
value: stringType()
|
|
36936
|
+
});
|
|
36937
|
+
PendingAmount$outboundSchema = objectType({
|
|
36938
|
+
currency: stringType(),
|
|
36939
|
+
value: stringType()
|
|
36940
|
+
});
|
|
37026
36941
|
EntityBalanceLinks$inboundSchema = objectType({
|
|
37027
36942
|
self: Url$inboundSchema.optional(),
|
|
37028
36943
|
documentation: Url$inboundSchema.optional()
|
|
@@ -37036,15 +36951,15 @@ var init_entitybalance = __esm(() => {
|
|
|
37036
36951
|
id: stringType(),
|
|
37037
36952
|
mode: Mode$inboundSchema,
|
|
37038
36953
|
createdAt: stringType(),
|
|
37039
|
-
currency:
|
|
36954
|
+
currency: Currency$inboundSchema,
|
|
37040
36955
|
description: stringType(),
|
|
37041
|
-
status:
|
|
37042
|
-
transferFrequency:
|
|
37043
|
-
transferThreshold:
|
|
36956
|
+
status: EntityBalanceStatus$inboundSchema,
|
|
36957
|
+
transferFrequency: TransferFrequency$inboundSchema.optional(),
|
|
36958
|
+
transferThreshold: lazyType(() => TransferThreshold$inboundSchema).optional(),
|
|
37044
36959
|
transferReference: nullableType(stringType()).optional(),
|
|
37045
36960
|
transferDestination: nullableType(lazyType(() => TransferDestination$inboundSchema)).optional(),
|
|
37046
|
-
availableAmount:
|
|
37047
|
-
pendingAmount:
|
|
36961
|
+
availableAmount: lazyType(() => AvailableAmount$inboundSchema),
|
|
36962
|
+
pendingAmount: lazyType(() => PendingAmount$inboundSchema),
|
|
37048
36963
|
_links: lazyType(() => EntityBalanceLinks$inboundSchema)
|
|
37049
36964
|
}).transform((v2) => {
|
|
37050
36965
|
return remap(v2, {
|
|
@@ -37056,15 +36971,15 @@ var init_entitybalance = __esm(() => {
|
|
|
37056
36971
|
id: stringType(),
|
|
37057
36972
|
mode: Mode$outboundSchema,
|
|
37058
36973
|
createdAt: stringType(),
|
|
37059
|
-
currency:
|
|
36974
|
+
currency: Currency$outboundSchema,
|
|
37060
36975
|
description: stringType(),
|
|
37061
|
-
status:
|
|
37062
|
-
transferFrequency:
|
|
37063
|
-
transferThreshold:
|
|
36976
|
+
status: EntityBalanceStatus$outboundSchema,
|
|
36977
|
+
transferFrequency: TransferFrequency$outboundSchema.optional(),
|
|
36978
|
+
transferThreshold: lazyType(() => TransferThreshold$outboundSchema).optional(),
|
|
37064
36979
|
transferReference: nullableType(stringType()).optional(),
|
|
37065
36980
|
transferDestination: nullableType(lazyType(() => TransferDestination$outboundSchema)).optional(),
|
|
37066
|
-
availableAmount:
|
|
37067
|
-
pendingAmount:
|
|
36981
|
+
availableAmount: lazyType(() => AvailableAmount$outboundSchema),
|
|
36982
|
+
pendingAmount: lazyType(() => PendingAmount$outboundSchema),
|
|
37068
36983
|
links: lazyType(() => EntityBalanceLinks$outboundSchema)
|
|
37069
36984
|
}).transform((v2) => {
|
|
37070
36985
|
return remap(v2, {
|
|
@@ -37782,7 +37697,6 @@ var init_entitybalancetransfer = __esm(() => {
|
|
|
37782
37697
|
init_balancetransfercategory();
|
|
37783
37698
|
init_entitybalancetransferparty();
|
|
37784
37699
|
EntityBalanceTransfer$inboundSchema = objectType({
|
|
37785
|
-
id: stringType(),
|
|
37786
37700
|
amount: Amount$inboundSchema,
|
|
37787
37701
|
source: EntityBalanceTransferParty$inboundSchema,
|
|
37788
37702
|
destination: EntityBalanceTransferParty$inboundSchema,
|
|
@@ -37791,7 +37705,6 @@ var init_entitybalancetransfer = __esm(() => {
|
|
|
37791
37705
|
testmode: nullableType(booleanType()).optional()
|
|
37792
37706
|
});
|
|
37793
37707
|
EntityBalanceTransfer$outboundSchema = objectType({
|
|
37794
|
-
id: stringType(),
|
|
37795
37708
|
amount: Amount$outboundSchema,
|
|
37796
37709
|
source: EntityBalanceTransferParty$outboundSchema,
|
|
37797
37710
|
destination: EntityBalanceTransferParty$outboundSchema,
|
|
@@ -37929,41 +37842,35 @@ var EntityCapture$inboundSchema, EntityCapture$outboundSchema;
|
|
|
37929
37842
|
var init_entitycapture = __esm(() => {
|
|
37930
37843
|
init_esm();
|
|
37931
37844
|
init_amountnullable();
|
|
37932
|
-
init_capturestatus();
|
|
37933
37845
|
init_metadata();
|
|
37934
37846
|
EntityCapture$inboundSchema = objectType({
|
|
37935
|
-
id: stringType().optional(),
|
|
37936
37847
|
description: stringType().optional(),
|
|
37937
37848
|
amount: nullableType(AmountNullable$inboundSchema).optional(),
|
|
37938
|
-
|
|
37939
|
-
status: CaptureStatus$inboundSchema.optional(),
|
|
37940
|
-
metadata: nullableType(Metadata$inboundSchema).optional(),
|
|
37941
|
-
paymentId: stringType().optional(),
|
|
37942
|
-
shipmentId: stringType().optional(),
|
|
37943
|
-
settlementId: stringType().optional()
|
|
37849
|
+
metadata: nullableType(Metadata$inboundSchema).optional()
|
|
37944
37850
|
});
|
|
37945
37851
|
EntityCapture$outboundSchema = objectType({
|
|
37946
|
-
id: stringType().optional(),
|
|
37947
37852
|
description: stringType().optional(),
|
|
37948
37853
|
amount: nullableType(AmountNullable$outboundSchema).optional(),
|
|
37949
|
-
|
|
37950
|
-
status: CaptureStatus$outboundSchema.optional(),
|
|
37951
|
-
metadata: nullableType(Metadata$outboundSchema).optional(),
|
|
37952
|
-
paymentId: stringType().optional(),
|
|
37953
|
-
shipmentId: stringType().optional(),
|
|
37954
|
-
settlementId: stringType().optional()
|
|
37854
|
+
metadata: nullableType(Metadata$outboundSchema).optional()
|
|
37955
37855
|
});
|
|
37956
37856
|
});
|
|
37957
37857
|
|
|
37958
37858
|
// src/models/entitychargeback.ts
|
|
37959
|
-
var Reason$inboundSchema, Reason$outboundSchema, EntityChargebackLinks$inboundSchema, EntityChargebackLinks$outboundSchema, EntityChargeback$inboundSchema, EntityChargeback$outboundSchema;
|
|
37859
|
+
var EntityChargebackSettlementAmount$inboundSchema, EntityChargebackSettlementAmount$outboundSchema, Reason$inboundSchema, Reason$outboundSchema, EntityChargebackLinks$inboundSchema, EntityChargebackLinks$outboundSchema, EntityChargeback$inboundSchema, EntityChargeback$outboundSchema;
|
|
37960
37860
|
var init_entitychargeback = __esm(() => {
|
|
37961
37861
|
init_esm();
|
|
37962
37862
|
init_primitives();
|
|
37963
37863
|
init_amount();
|
|
37964
|
-
init_amountnullable();
|
|
37965
37864
|
init_url2();
|
|
37966
37865
|
init_urlnullable();
|
|
37866
|
+
EntityChargebackSettlementAmount$inboundSchema = objectType({
|
|
37867
|
+
currency: stringType(),
|
|
37868
|
+
value: stringType()
|
|
37869
|
+
});
|
|
37870
|
+
EntityChargebackSettlementAmount$outboundSchema = objectType({
|
|
37871
|
+
currency: stringType(),
|
|
37872
|
+
value: stringType()
|
|
37873
|
+
});
|
|
37967
37874
|
Reason$inboundSchema = objectType({
|
|
37968
37875
|
code: stringType(),
|
|
37969
37876
|
description: stringType()
|
|
@@ -37988,10 +37895,10 @@ var init_entitychargeback = __esm(() => {
|
|
|
37988
37895
|
resource: stringType(),
|
|
37989
37896
|
id: stringType(),
|
|
37990
37897
|
amount: Amount$inboundSchema,
|
|
37991
|
-
settlementAmount: nullableType(
|
|
37898
|
+
settlementAmount: nullableType(lazyType(() => EntityChargebackSettlementAmount$inboundSchema)).optional(),
|
|
37992
37899
|
reason: nullableType(lazyType(() => Reason$inboundSchema)).optional(),
|
|
37993
37900
|
paymentId: stringType(),
|
|
37994
|
-
settlementId: stringType().optional(),
|
|
37901
|
+
settlementId: nullableType(stringType()).optional(),
|
|
37995
37902
|
createdAt: stringType(),
|
|
37996
37903
|
reversedAt: nullableType(stringType()).optional(),
|
|
37997
37904
|
_links: lazyType(() => EntityChargebackLinks$inboundSchema)
|
|
@@ -38004,10 +37911,10 @@ var init_entitychargeback = __esm(() => {
|
|
|
38004
37911
|
resource: stringType(),
|
|
38005
37912
|
id: stringType(),
|
|
38006
37913
|
amount: Amount$outboundSchema,
|
|
38007
|
-
settlementAmount: nullableType(
|
|
37914
|
+
settlementAmount: nullableType(lazyType(() => EntityChargebackSettlementAmount$outboundSchema)).optional(),
|
|
38008
37915
|
reason: nullableType(lazyType(() => Reason$outboundSchema)).optional(),
|
|
38009
37916
|
paymentId: stringType(),
|
|
38010
|
-
settlementId: stringType().optional(),
|
|
37917
|
+
settlementId: nullableType(stringType()).optional(),
|
|
38011
37918
|
createdAt: stringType(),
|
|
38012
37919
|
reversedAt: nullableType(stringType()).optional(),
|
|
38013
37920
|
links: lazyType(() => EntityChargebackLinks$outboundSchema)
|
|
@@ -38025,7 +37932,6 @@ var init_entitycustomer = __esm(() => {
|
|
|
38025
37932
|
init_localeresponse();
|
|
38026
37933
|
init_metadata();
|
|
38027
37934
|
EntityCustomer$inboundSchema = objectType({
|
|
38028
|
-
id: stringType().optional(),
|
|
38029
37935
|
name: nullableType(stringType()).optional(),
|
|
38030
37936
|
email: nullableType(stringType()).optional(),
|
|
38031
37937
|
locale: nullableType(LocaleResponse$inboundSchema).optional(),
|
|
@@ -38033,7 +37939,6 @@ var init_entitycustomer = __esm(() => {
|
|
|
38033
37939
|
testmode: nullableType(booleanType()).optional()
|
|
38034
37940
|
});
|
|
38035
37941
|
EntityCustomer$outboundSchema = objectType({
|
|
38036
|
-
id: stringType().optional(),
|
|
38037
37942
|
name: nullableType(stringType()).optional(),
|
|
38038
37943
|
email: nullableType(stringType()).optional(),
|
|
38039
37944
|
locale: nullableType(LocaleResponse$outboundSchema).optional(),
|
|
@@ -38078,27 +37983,45 @@ var init_entityevent = __esm(() => {
|
|
|
38078
37983
|
});
|
|
38079
37984
|
});
|
|
38080
37985
|
|
|
38081
|
-
// src/models/invoicestatus.ts
|
|
38082
|
-
var InvoiceStatus, InvoiceStatus$inboundSchema, InvoiceStatus$outboundSchema;
|
|
38083
|
-
var init_invoicestatus = __esm(() => {
|
|
38084
|
-
init_enums();
|
|
38085
|
-
InvoiceStatus = {
|
|
38086
|
-
Open: "open",
|
|
38087
|
-
Paid: "paid",
|
|
38088
|
-
Overdue: "overdue"
|
|
38089
|
-
};
|
|
38090
|
-
InvoiceStatus$inboundSchema = inboundSchema(InvoiceStatus);
|
|
38091
|
-
InvoiceStatus$outboundSchema = outboundSchema(InvoiceStatus);
|
|
38092
|
-
});
|
|
38093
|
-
|
|
38094
37986
|
// src/models/entityinvoice.ts
|
|
38095
|
-
var EntityInvoiceLine$inboundSchema, EntityInvoiceLine$outboundSchema, EntityInvoiceLinks$inboundSchema, EntityInvoiceLinks$outboundSchema, EntityInvoice$inboundSchema, EntityInvoice$outboundSchema;
|
|
37987
|
+
var EntityInvoiceStatus, EntityInvoiceStatus$inboundSchema, EntityInvoiceStatus$outboundSchema, NetAmount$inboundSchema, NetAmount$outboundSchema, VatAmount$inboundSchema, VatAmount$outboundSchema, GrossAmount$inboundSchema, GrossAmount$outboundSchema, EntityInvoiceLine$inboundSchema, EntityInvoiceLine$outboundSchema, EntityInvoiceLinks$inboundSchema, EntityInvoiceLinks$outboundSchema, EntityInvoice$inboundSchema, EntityInvoice$outboundSchema;
|
|
38096
37988
|
var init_entityinvoice = __esm(() => {
|
|
38097
37989
|
init_esm();
|
|
38098
37990
|
init_primitives();
|
|
37991
|
+
init_enums();
|
|
38099
37992
|
init_amount();
|
|
38100
|
-
init_invoicestatus();
|
|
38101
37993
|
init_url2();
|
|
37994
|
+
EntityInvoiceStatus = {
|
|
37995
|
+
Open: "open",
|
|
37996
|
+
Paid: "paid",
|
|
37997
|
+
Overdue: "overdue"
|
|
37998
|
+
};
|
|
37999
|
+
EntityInvoiceStatus$inboundSchema = inboundSchema(EntityInvoiceStatus);
|
|
38000
|
+
EntityInvoiceStatus$outboundSchema = outboundSchema(EntityInvoiceStatus);
|
|
38001
|
+
NetAmount$inboundSchema = objectType({
|
|
38002
|
+
currency: stringType(),
|
|
38003
|
+
value: stringType()
|
|
38004
|
+
});
|
|
38005
|
+
NetAmount$outboundSchema = objectType({
|
|
38006
|
+
currency: stringType(),
|
|
38007
|
+
value: stringType()
|
|
38008
|
+
});
|
|
38009
|
+
VatAmount$inboundSchema = objectType({
|
|
38010
|
+
currency: stringType(),
|
|
38011
|
+
value: stringType()
|
|
38012
|
+
});
|
|
38013
|
+
VatAmount$outboundSchema = objectType({
|
|
38014
|
+
currency: stringType(),
|
|
38015
|
+
value: stringType()
|
|
38016
|
+
});
|
|
38017
|
+
GrossAmount$inboundSchema = objectType({
|
|
38018
|
+
currency: stringType(),
|
|
38019
|
+
value: stringType()
|
|
38020
|
+
});
|
|
38021
|
+
GrossAmount$outboundSchema = objectType({
|
|
38022
|
+
currency: stringType(),
|
|
38023
|
+
value: stringType()
|
|
38024
|
+
});
|
|
38102
38025
|
EntityInvoiceLine$inboundSchema = objectType({
|
|
38103
38026
|
period: stringType(),
|
|
38104
38027
|
description: stringType(),
|
|
@@ -38128,10 +38051,10 @@ var init_entityinvoice = __esm(() => {
|
|
|
38128
38051
|
id: stringType(),
|
|
38129
38052
|
reference: stringType(),
|
|
38130
38053
|
vatNumber: nullableType(stringType()),
|
|
38131
|
-
status:
|
|
38132
|
-
netAmount:
|
|
38133
|
-
vatAmount:
|
|
38134
|
-
grossAmount:
|
|
38054
|
+
status: EntityInvoiceStatus$inboundSchema,
|
|
38055
|
+
netAmount: lazyType(() => NetAmount$inboundSchema),
|
|
38056
|
+
vatAmount: lazyType(() => VatAmount$inboundSchema),
|
|
38057
|
+
grossAmount: lazyType(() => GrossAmount$inboundSchema),
|
|
38135
38058
|
lines: arrayType(lazyType(() => EntityInvoiceLine$inboundSchema)),
|
|
38136
38059
|
issuedAt: stringType(),
|
|
38137
38060
|
paidAt: nullableType(stringType()).optional(),
|
|
@@ -38147,10 +38070,10 @@ var init_entityinvoice = __esm(() => {
|
|
|
38147
38070
|
id: stringType(),
|
|
38148
38071
|
reference: stringType(),
|
|
38149
38072
|
vatNumber: nullableType(stringType()),
|
|
38150
|
-
status:
|
|
38151
|
-
netAmount:
|
|
38152
|
-
vatAmount:
|
|
38153
|
-
grossAmount:
|
|
38073
|
+
status: EntityInvoiceStatus$outboundSchema,
|
|
38074
|
+
netAmount: lazyType(() => NetAmount$outboundSchema),
|
|
38075
|
+
vatAmount: lazyType(() => VatAmount$outboundSchema),
|
|
38076
|
+
grossAmount: lazyType(() => GrossAmount$outboundSchema),
|
|
38154
38077
|
lines: arrayType(lazyType(() => EntityInvoiceLine$outboundSchema)),
|
|
38155
38078
|
issuedAt: stringType(),
|
|
38156
38079
|
paidAt: nullableType(stringType()).optional(),
|
|
@@ -38163,11 +38086,30 @@ var init_entityinvoice = __esm(() => {
|
|
|
38163
38086
|
});
|
|
38164
38087
|
});
|
|
38165
38088
|
|
|
38166
|
-
// src/models/
|
|
38167
|
-
var
|
|
38168
|
-
var
|
|
38089
|
+
// src/models/methodstatus.ts
|
|
38090
|
+
var MethodStatus, MethodStatus$inboundSchema, MethodStatus$outboundSchema;
|
|
38091
|
+
var init_methodstatus = __esm(() => {
|
|
38169
38092
|
init_enums();
|
|
38170
|
-
|
|
38093
|
+
MethodStatus = {
|
|
38094
|
+
Activated: "activated",
|
|
38095
|
+
PendingBoarding: "pending-boarding",
|
|
38096
|
+
PendingReview: "pending-review",
|
|
38097
|
+
PendingExternal: "pending-external",
|
|
38098
|
+
Rejected: "rejected"
|
|
38099
|
+
};
|
|
38100
|
+
MethodStatus$inboundSchema = inboundSchema(MethodStatus);
|
|
38101
|
+
MethodStatus$outboundSchema = outboundSchema(MethodStatus);
|
|
38102
|
+
});
|
|
38103
|
+
|
|
38104
|
+
// src/models/entitymethod.ts
|
|
38105
|
+
var EntityMethodId, EntityMethodId$inboundSchema, EntityMethodId$outboundSchema, EntityMethodMinimumAmount$inboundSchema, EntityMethodMinimumAmount$outboundSchema, EntityMethodMaximumAmount$inboundSchema, EntityMethodMaximumAmount$outboundSchema, EntityMethodImage$inboundSchema, EntityMethodImage$outboundSchema, EntityMethodIssuerImage$inboundSchema, EntityMethodIssuerImage$outboundSchema, EntityMethodIssuer$inboundSchema, EntityMethodIssuer$outboundSchema, EntityMethodLinks$inboundSchema, EntityMethodLinks$outboundSchema, EntityMethod$inboundSchema, EntityMethod$outboundSchema;
|
|
38106
|
+
var init_entitymethod = __esm(() => {
|
|
38107
|
+
init_esm();
|
|
38108
|
+
init_primitives();
|
|
38109
|
+
init_enums();
|
|
38110
|
+
init_methodstatus();
|
|
38111
|
+
init_url2();
|
|
38112
|
+
EntityMethodId = {
|
|
38171
38113
|
Alma: "alma",
|
|
38172
38114
|
Applepay: "applepay",
|
|
38173
38115
|
Bacs: "bacs",
|
|
@@ -38207,35 +38149,24 @@ var init_methodresponse = __esm(() => {
|
|
|
38207
38149
|
Klarnapaynow: "klarnapaynow",
|
|
38208
38150
|
Klarnasliceit: "klarnasliceit"
|
|
38209
38151
|
};
|
|
38210
|
-
|
|
38211
|
-
|
|
38212
|
-
|
|
38213
|
-
|
|
38214
|
-
|
|
38215
|
-
|
|
38216
|
-
|
|
38217
|
-
|
|
38218
|
-
|
|
38219
|
-
|
|
38220
|
-
|
|
38221
|
-
|
|
38222
|
-
|
|
38223
|
-
|
|
38224
|
-
|
|
38225
|
-
|
|
38226
|
-
|
|
38227
|
-
});
|
|
38228
|
-
|
|
38229
|
-
// src/models/entitymethod.ts
|
|
38230
|
-
var EntityMethodImage$inboundSchema, EntityMethodImage$outboundSchema, EntityMethodIssuerImage$inboundSchema, EntityMethodIssuerImage$outboundSchema, EntityMethodIssuer$inboundSchema, EntityMethodIssuer$outboundSchema, EntityMethodLinks$inboundSchema, EntityMethodLinks$outboundSchema, EntityMethod$inboundSchema, EntityMethod$outboundSchema;
|
|
38231
|
-
var init_entitymethod = __esm(() => {
|
|
38232
|
-
init_esm();
|
|
38233
|
-
init_primitives();
|
|
38234
|
-
init_amount();
|
|
38235
|
-
init_amountnullable();
|
|
38236
|
-
init_methodresponse();
|
|
38237
|
-
init_methodstatus();
|
|
38238
|
-
init_url2();
|
|
38152
|
+
EntityMethodId$inboundSchema = inboundSchema(EntityMethodId);
|
|
38153
|
+
EntityMethodId$outboundSchema = outboundSchema(EntityMethodId);
|
|
38154
|
+
EntityMethodMinimumAmount$inboundSchema = objectType({
|
|
38155
|
+
currency: stringType(),
|
|
38156
|
+
value: stringType()
|
|
38157
|
+
});
|
|
38158
|
+
EntityMethodMinimumAmount$outboundSchema = objectType({
|
|
38159
|
+
currency: stringType(),
|
|
38160
|
+
value: stringType()
|
|
38161
|
+
});
|
|
38162
|
+
EntityMethodMaximumAmount$inboundSchema = objectType({
|
|
38163
|
+
currency: stringType(),
|
|
38164
|
+
value: stringType()
|
|
38165
|
+
});
|
|
38166
|
+
EntityMethodMaximumAmount$outboundSchema = objectType({
|
|
38167
|
+
currency: stringType(),
|
|
38168
|
+
value: stringType()
|
|
38169
|
+
});
|
|
38239
38170
|
EntityMethodImage$inboundSchema = objectType({
|
|
38240
38171
|
size1x: stringType(),
|
|
38241
38172
|
size2x: stringType(),
|
|
@@ -38278,10 +38209,10 @@ var init_entitymethod = __esm(() => {
|
|
|
38278
38209
|
});
|
|
38279
38210
|
EntityMethod$inboundSchema = objectType({
|
|
38280
38211
|
resource: stringType(),
|
|
38281
|
-
id: nullableType(
|
|
38212
|
+
id: nullableType(EntityMethodId$inboundSchema),
|
|
38282
38213
|
description: stringType(),
|
|
38283
|
-
minimumAmount:
|
|
38284
|
-
maximumAmount: nullableType(
|
|
38214
|
+
minimumAmount: lazyType(() => EntityMethodMinimumAmount$inboundSchema),
|
|
38215
|
+
maximumAmount: nullableType(lazyType(() => EntityMethodMaximumAmount$inboundSchema)),
|
|
38285
38216
|
image: lazyType(() => EntityMethodImage$inboundSchema),
|
|
38286
38217
|
status: MethodStatus$inboundSchema,
|
|
38287
38218
|
issuers: arrayType(lazyType(() => EntityMethodIssuer$inboundSchema)).optional(),
|
|
@@ -38293,10 +38224,10 @@ var init_entitymethod = __esm(() => {
|
|
|
38293
38224
|
});
|
|
38294
38225
|
EntityMethod$outboundSchema = objectType({
|
|
38295
38226
|
resource: stringType(),
|
|
38296
|
-
id: nullableType(
|
|
38227
|
+
id: nullableType(EntityMethodId$outboundSchema),
|
|
38297
38228
|
description: stringType(),
|
|
38298
|
-
minimumAmount:
|
|
38299
|
-
maximumAmount: nullableType(
|
|
38229
|
+
minimumAmount: lazyType(() => EntityMethodMinimumAmount$outboundSchema),
|
|
38230
|
+
maximumAmount: nullableType(lazyType(() => EntityMethodMaximumAmount$outboundSchema)),
|
|
38300
38231
|
image: lazyType(() => EntityMethodImage$outboundSchema),
|
|
38301
38232
|
status: MethodStatus$outboundSchema,
|
|
38302
38233
|
issuers: arrayType(lazyType(() => EntityMethodIssuer$outboundSchema)).optional(),
|
|
@@ -38309,15 +38240,72 @@ var init_entitymethod = __esm(() => {
|
|
|
38309
38240
|
});
|
|
38310
38241
|
|
|
38311
38242
|
// src/models/entitymethodall.ts
|
|
38312
|
-
var EntityMethodAllImage$inboundSchema, EntityMethodAllImage$outboundSchema, EntityMethodAllIssuerImage$inboundSchema, EntityMethodAllIssuerImage$outboundSchema, EntityMethodAllIssuer$inboundSchema, EntityMethodAllIssuer$outboundSchema, EntityMethodAllLinks$inboundSchema, EntityMethodAllLinks$outboundSchema, Pricing$inboundSchema, Pricing$outboundSchema, EntityMethodAll$inboundSchema, EntityMethodAll$outboundSchema;
|
|
38243
|
+
var EntityMethodAllId, EntityMethodAllId$inboundSchema, EntityMethodAllId$outboundSchema, EntityMethodAllMinimumAmount$inboundSchema, EntityMethodAllMinimumAmount$outboundSchema, EntityMethodAllMaximumAmount$inboundSchema, EntityMethodAllMaximumAmount$outboundSchema, EntityMethodAllImage$inboundSchema, EntityMethodAllImage$outboundSchema, EntityMethodAllIssuerImage$inboundSchema, EntityMethodAllIssuerImage$outboundSchema, EntityMethodAllIssuer$inboundSchema, EntityMethodAllIssuer$outboundSchema, EntityMethodAllLinks$inboundSchema, EntityMethodAllLinks$outboundSchema, Pricing$inboundSchema, Pricing$outboundSchema, EntityMethodAll$inboundSchema, EntityMethodAll$outboundSchema;
|
|
38313
38244
|
var init_entitymethodall = __esm(() => {
|
|
38314
38245
|
init_esm();
|
|
38315
38246
|
init_primitives();
|
|
38247
|
+
init_enums();
|
|
38316
38248
|
init_amount();
|
|
38317
|
-
init_amountnullable();
|
|
38318
|
-
init_methodresponse();
|
|
38319
38249
|
init_methodstatus();
|
|
38320
38250
|
init_url2();
|
|
38251
|
+
EntityMethodAllId = {
|
|
38252
|
+
Alma: "alma",
|
|
38253
|
+
Applepay: "applepay",
|
|
38254
|
+
Bacs: "bacs",
|
|
38255
|
+
Bancomatpay: "bancomatpay",
|
|
38256
|
+
Bancontact: "bancontact",
|
|
38257
|
+
Banktransfer: "banktransfer",
|
|
38258
|
+
Belfius: "belfius",
|
|
38259
|
+
Billie: "billie",
|
|
38260
|
+
Bizum: "bizum",
|
|
38261
|
+
Blik: "blik",
|
|
38262
|
+
Creditcard: "creditcard",
|
|
38263
|
+
Directdebit: "directdebit",
|
|
38264
|
+
Eps: "eps",
|
|
38265
|
+
Giftcard: "giftcard",
|
|
38266
|
+
Ideal: "ideal",
|
|
38267
|
+
In3: "in3",
|
|
38268
|
+
Kbc: "kbc",
|
|
38269
|
+
Klarna: "klarna",
|
|
38270
|
+
Mbway: "mbway",
|
|
38271
|
+
Mobilepay: "mobilepay",
|
|
38272
|
+
Multibanco: "multibanco",
|
|
38273
|
+
Mybank: "mybank",
|
|
38274
|
+
Paybybank: "paybybank",
|
|
38275
|
+
Payconiq: "payconiq",
|
|
38276
|
+
Paypal: "paypal",
|
|
38277
|
+
Paysafecard: "paysafecard",
|
|
38278
|
+
Pointofsale: "pointofsale",
|
|
38279
|
+
Przelewy24: "przelewy24",
|
|
38280
|
+
Riverty: "riverty",
|
|
38281
|
+
Satispay: "satispay",
|
|
38282
|
+
Swish: "swish",
|
|
38283
|
+
Trustly: "trustly",
|
|
38284
|
+
Twint: "twint",
|
|
38285
|
+
Vipps: "vipps",
|
|
38286
|
+
Voucher: "voucher",
|
|
38287
|
+
Klarnapaylater: "klarnapaylater",
|
|
38288
|
+
Klarnapaynow: "klarnapaynow",
|
|
38289
|
+
Klarnasliceit: "klarnasliceit"
|
|
38290
|
+
};
|
|
38291
|
+
EntityMethodAllId$inboundSchema = inboundSchema(EntityMethodAllId);
|
|
38292
|
+
EntityMethodAllId$outboundSchema = outboundSchema(EntityMethodAllId);
|
|
38293
|
+
EntityMethodAllMinimumAmount$inboundSchema = objectType({
|
|
38294
|
+
currency: stringType(),
|
|
38295
|
+
value: stringType()
|
|
38296
|
+
});
|
|
38297
|
+
EntityMethodAllMinimumAmount$outboundSchema = objectType({
|
|
38298
|
+
currency: stringType(),
|
|
38299
|
+
value: stringType()
|
|
38300
|
+
});
|
|
38301
|
+
EntityMethodAllMaximumAmount$inboundSchema = objectType({
|
|
38302
|
+
currency: stringType(),
|
|
38303
|
+
value: stringType()
|
|
38304
|
+
});
|
|
38305
|
+
EntityMethodAllMaximumAmount$outboundSchema = objectType({
|
|
38306
|
+
currency: stringType(),
|
|
38307
|
+
value: stringType()
|
|
38308
|
+
});
|
|
38321
38309
|
EntityMethodAllImage$inboundSchema = objectType({
|
|
38322
38310
|
size1x: stringType(),
|
|
38323
38311
|
size2x: stringType(),
|
|
@@ -38372,10 +38360,10 @@ var init_entitymethodall = __esm(() => {
|
|
|
38372
38360
|
});
|
|
38373
38361
|
EntityMethodAll$inboundSchema = objectType({
|
|
38374
38362
|
resource: stringType(),
|
|
38375
|
-
id: nullableType(
|
|
38363
|
+
id: nullableType(EntityMethodAllId$inboundSchema),
|
|
38376
38364
|
description: stringType(),
|
|
38377
|
-
minimumAmount:
|
|
38378
|
-
maximumAmount: nullableType(
|
|
38365
|
+
minimumAmount: lazyType(() => EntityMethodAllMinimumAmount$inboundSchema),
|
|
38366
|
+
maximumAmount: nullableType(lazyType(() => EntityMethodAllMaximumAmount$inboundSchema)),
|
|
38379
38367
|
image: lazyType(() => EntityMethodAllImage$inboundSchema),
|
|
38380
38368
|
status: MethodStatus$inboundSchema,
|
|
38381
38369
|
issuers: arrayType(lazyType(() => EntityMethodAllIssuer$inboundSchema)).optional(),
|
|
@@ -38388,10 +38376,10 @@ var init_entitymethodall = __esm(() => {
|
|
|
38388
38376
|
});
|
|
38389
38377
|
EntityMethodAll$outboundSchema = objectType({
|
|
38390
38378
|
resource: stringType(),
|
|
38391
|
-
id: nullableType(
|
|
38379
|
+
id: nullableType(EntityMethodAllId$outboundSchema),
|
|
38392
38380
|
description: stringType(),
|
|
38393
|
-
minimumAmount:
|
|
38394
|
-
maximumAmount: nullableType(
|
|
38381
|
+
minimumAmount: lazyType(() => EntityMethodAllMinimumAmount$outboundSchema),
|
|
38382
|
+
maximumAmount: nullableType(lazyType(() => EntityMethodAllMaximumAmount$outboundSchema)),
|
|
38395
38383
|
image: lazyType(() => EntityMethodAllImage$outboundSchema),
|
|
38396
38384
|
status: MethodStatus$outboundSchema,
|
|
38397
38385
|
issuers: arrayType(lazyType(() => EntityMethodAllIssuer$outboundSchema)).optional(),
|
|
@@ -38404,26 +38392,20 @@ var init_entitymethodall = __esm(() => {
|
|
|
38404
38392
|
});
|
|
38405
38393
|
});
|
|
38406
38394
|
|
|
38407
|
-
// src/models/onboardingstatus.ts
|
|
38408
|
-
var OnboardingStatus, OnboardingStatus$inboundSchema, OnboardingStatus$outboundSchema;
|
|
38409
|
-
var init_onboardingstatus = __esm(() => {
|
|
38410
|
-
init_enums();
|
|
38411
|
-
OnboardingStatus = {
|
|
38412
|
-
NeedsData: "needs-data",
|
|
38413
|
-
InReview: "in-review",
|
|
38414
|
-
Completed: "completed"
|
|
38415
|
-
};
|
|
38416
|
-
OnboardingStatus$inboundSchema = inboundSchema(OnboardingStatus);
|
|
38417
|
-
OnboardingStatus$outboundSchema = outboundSchema(OnboardingStatus);
|
|
38418
|
-
});
|
|
38419
|
-
|
|
38420
38395
|
// src/models/entityonboardingstatus.ts
|
|
38421
|
-
var EntityOnboardingStatusLinks$inboundSchema, EntityOnboardingStatusLinks$outboundSchema, EntityOnboardingStatus$inboundSchema, EntityOnboardingStatus$outboundSchema;
|
|
38396
|
+
var EntityOnboardingStatusStatus, EntityOnboardingStatusStatus$inboundSchema, EntityOnboardingStatusStatus$outboundSchema, EntityOnboardingStatusLinks$inboundSchema, EntityOnboardingStatusLinks$outboundSchema, EntityOnboardingStatus$inboundSchema, EntityOnboardingStatus$outboundSchema;
|
|
38422
38397
|
var init_entityonboardingstatus = __esm(() => {
|
|
38423
38398
|
init_esm();
|
|
38424
38399
|
init_primitives();
|
|
38425
|
-
|
|
38400
|
+
init_enums();
|
|
38426
38401
|
init_url2();
|
|
38402
|
+
EntityOnboardingStatusStatus = {
|
|
38403
|
+
NeedsData: "needs-data",
|
|
38404
|
+
InReview: "in-review",
|
|
38405
|
+
Completed: "completed"
|
|
38406
|
+
};
|
|
38407
|
+
EntityOnboardingStatusStatus$inboundSchema = inboundSchema(EntityOnboardingStatusStatus);
|
|
38408
|
+
EntityOnboardingStatusStatus$outboundSchema = outboundSchema(EntityOnboardingStatusStatus);
|
|
38427
38409
|
EntityOnboardingStatusLinks$inboundSchema = objectType({
|
|
38428
38410
|
self: Url$inboundSchema.optional(),
|
|
38429
38411
|
dashboard: Url$inboundSchema.optional(),
|
|
@@ -38439,7 +38421,7 @@ var init_entityonboardingstatus = __esm(() => {
|
|
|
38439
38421
|
EntityOnboardingStatus$inboundSchema = objectType({
|
|
38440
38422
|
resource: stringType(),
|
|
38441
38423
|
name: stringType(),
|
|
38442
|
-
status:
|
|
38424
|
+
status: EntityOnboardingStatusStatus$inboundSchema,
|
|
38443
38425
|
canReceivePayments: booleanType(),
|
|
38444
38426
|
canReceiveSettlements: booleanType(),
|
|
38445
38427
|
signedUpAt: stringType(),
|
|
@@ -38452,7 +38434,7 @@ var init_entityonboardingstatus = __esm(() => {
|
|
|
38452
38434
|
EntityOnboardingStatus$outboundSchema = objectType({
|
|
38453
38435
|
resource: stringType(),
|
|
38454
38436
|
name: stringType(),
|
|
38455
|
-
status:
|
|
38437
|
+
status: EntityOnboardingStatusStatus$outboundSchema,
|
|
38456
38438
|
canReceivePayments: booleanType(),
|
|
38457
38439
|
canReceiveSettlements: booleanType(),
|
|
38458
38440
|
signedUpAt: stringType(),
|
|
@@ -38478,14 +38460,41 @@ var init_organizationvatregulation = __esm(() => {
|
|
|
38478
38460
|
});
|
|
38479
38461
|
|
|
38480
38462
|
// src/models/entityorganization.ts
|
|
38481
|
-
var EntityOrganizationLinks$inboundSchema, EntityOrganizationLinks$outboundSchema, EntityOrganization$inboundSchema, EntityOrganization$outboundSchema;
|
|
38463
|
+
var EntityOrganizationLocale, EntityOrganizationLocale$inboundSchema, EntityOrganizationLocale$outboundSchema, EntityOrganizationLinks$inboundSchema, EntityOrganizationLinks$outboundSchema, EntityOrganization$inboundSchema, EntityOrganization$outboundSchema;
|
|
38482
38464
|
var init_entityorganization = __esm(() => {
|
|
38483
38465
|
init_esm();
|
|
38484
38466
|
init_primitives();
|
|
38467
|
+
init_enums();
|
|
38485
38468
|
init_address();
|
|
38486
|
-
init_localeresponse();
|
|
38487
38469
|
init_organizationvatregulation();
|
|
38488
38470
|
init_url2();
|
|
38471
|
+
EntityOrganizationLocale = {
|
|
38472
|
+
EnUS: "en_US",
|
|
38473
|
+
EnGB: "en_GB",
|
|
38474
|
+
NLNL: "nl_NL",
|
|
38475
|
+
NlBE: "nl_BE",
|
|
38476
|
+
DEDE: "de_DE",
|
|
38477
|
+
DeAT: "de_AT",
|
|
38478
|
+
DeCH: "de_CH",
|
|
38479
|
+
FRFR: "fr_FR",
|
|
38480
|
+
FrBE: "fr_BE",
|
|
38481
|
+
ESES: "es_ES",
|
|
38482
|
+
CaES: "ca_ES",
|
|
38483
|
+
PTPT: "pt_PT",
|
|
38484
|
+
ITIT: "it_IT",
|
|
38485
|
+
NbNO: "nb_NO",
|
|
38486
|
+
SvSE: "sv_SE",
|
|
38487
|
+
FIFI: "fi_FI",
|
|
38488
|
+
DaDK: "da_DK",
|
|
38489
|
+
ISIS: "is_IS",
|
|
38490
|
+
HUHU: "hu_HU",
|
|
38491
|
+
PLPL: "pl_PL",
|
|
38492
|
+
LVLV: "lv_LV",
|
|
38493
|
+
LTLT: "lt_LT",
|
|
38494
|
+
Null: "null"
|
|
38495
|
+
};
|
|
38496
|
+
EntityOrganizationLocale$inboundSchema = inboundSchema(EntityOrganizationLocale);
|
|
38497
|
+
EntityOrganizationLocale$outboundSchema = outboundSchema(EntityOrganizationLocale);
|
|
38489
38498
|
EntityOrganizationLinks$inboundSchema = objectType({
|
|
38490
38499
|
self: Url$inboundSchema.optional(),
|
|
38491
38500
|
dashboard: Url$inboundSchema.optional(),
|
|
@@ -38501,7 +38510,7 @@ var init_entityorganization = __esm(() => {
|
|
|
38501
38510
|
id: stringType(),
|
|
38502
38511
|
name: stringType(),
|
|
38503
38512
|
email: stringType(),
|
|
38504
|
-
locale: nullableType(
|
|
38513
|
+
locale: nullableType(EntityOrganizationLocale$inboundSchema),
|
|
38505
38514
|
address: Address$inboundSchema,
|
|
38506
38515
|
registrationNumber: stringType(),
|
|
38507
38516
|
vatNumber: nullableType(stringType()).optional(),
|
|
@@ -38517,7 +38526,7 @@ var init_entityorganization = __esm(() => {
|
|
|
38517
38526
|
id: stringType(),
|
|
38518
38527
|
name: stringType(),
|
|
38519
38528
|
email: stringType(),
|
|
38520
|
-
locale: nullableType(
|
|
38529
|
+
locale: nullableType(EntityOrganizationLocale$outboundSchema),
|
|
38521
38530
|
address: Address$outboundSchema,
|
|
38522
38531
|
registrationNumber: stringType(),
|
|
38523
38532
|
vatNumber: nullableType(stringType()).optional(),
|
|
@@ -38566,7 +38575,6 @@ var init_entitypaymentroute = __esm(() => {
|
|
|
38566
38575
|
payment: Url$outboundSchema
|
|
38567
38576
|
});
|
|
38568
38577
|
EntityPaymentRoute$inboundSchema = objectType({
|
|
38569
|
-
id: stringType(),
|
|
38570
38578
|
amount: Amount$inboundSchema,
|
|
38571
38579
|
destination: lazyType(() => EntityPaymentRouteDestination$inboundSchema),
|
|
38572
38580
|
releaseDate: nullableType(stringType()).optional(),
|
|
@@ -38577,7 +38585,6 @@ var init_entitypaymentroute = __esm(() => {
|
|
|
38577
38585
|
});
|
|
38578
38586
|
});
|
|
38579
38587
|
EntityPaymentRoute$outboundSchema = objectType({
|
|
38580
|
-
id: stringType(),
|
|
38581
38588
|
amount: Amount$outboundSchema,
|
|
38582
38589
|
destination: lazyType(() => EntityPaymentRouteDestination$outboundSchema),
|
|
38583
38590
|
releaseDate: nullableType(stringType()).optional(),
|
|
@@ -38704,47 +38711,36 @@ var init_refundexternalreferencetyperesponse = __esm(() => {
|
|
|
38704
38711
|
RefundExternalReferenceTypeResponse$outboundSchema = outboundSchema(RefundExternalReferenceTypeResponse);
|
|
38705
38712
|
});
|
|
38706
38713
|
|
|
38707
|
-
// src/models/refundroutingreversalssourcetype.ts
|
|
38708
|
-
var RefundRoutingReversalsSourceType, RefundRoutingReversalsSourceType$inboundSchema, RefundRoutingReversalsSourceType$outboundSchema;
|
|
38709
|
-
var init_refundroutingreversalssourcetype = __esm(() => {
|
|
38710
|
-
init_esm();
|
|
38711
|
-
RefundRoutingReversalsSourceType = {
|
|
38712
|
-
Organization: "organization"
|
|
38713
|
-
};
|
|
38714
|
-
RefundRoutingReversalsSourceType$inboundSchema = nativeEnumType(RefundRoutingReversalsSourceType);
|
|
38715
|
-
RefundRoutingReversalsSourceType$outboundSchema = RefundRoutingReversalsSourceType$inboundSchema;
|
|
38716
|
-
});
|
|
38717
|
-
|
|
38718
|
-
// src/models/refundstatus.ts
|
|
38719
|
-
var RefundStatus, RefundStatus$inboundSchema, RefundStatus$outboundSchema;
|
|
38720
|
-
var init_refundstatus = __esm(() => {
|
|
38721
|
-
init_enums();
|
|
38722
|
-
RefundStatus = {
|
|
38723
|
-
Queued: "queued",
|
|
38724
|
-
Pending: "pending",
|
|
38725
|
-
Processing: "processing",
|
|
38726
|
-
Refunded: "refunded",
|
|
38727
|
-
Failed: "failed",
|
|
38728
|
-
Canceled: "canceled"
|
|
38729
|
-
};
|
|
38730
|
-
RefundStatus$inboundSchema = inboundSchema(RefundStatus);
|
|
38731
|
-
RefundStatus$outboundSchema = outboundSchema(RefundStatus);
|
|
38732
|
-
});
|
|
38733
|
-
|
|
38734
38714
|
// src/models/entityrefundresponse.ts
|
|
38735
|
-
var EntityRefundResponseExternalReference$inboundSchema, EntityRefundResponseExternalReference$outboundSchema, EntityRefundResponseSource$inboundSchema, EntityRefundResponseSource$outboundSchema, EntityRefundResponseRoutingReversal$inboundSchema, EntityRefundResponseRoutingReversal$outboundSchema, EntityRefundResponseLinks$inboundSchema, EntityRefundResponseLinks$outboundSchema, EntityRefundResponse$inboundSchema, EntityRefundResponse$outboundSchema;
|
|
38715
|
+
var EntityRefundResponseStatus, EntityRefundResponseSettlementAmount$inboundSchema, EntityRefundResponseSettlementAmount$outboundSchema, EntityRefundResponseStatus$inboundSchema, EntityRefundResponseStatus$outboundSchema, EntityRefundResponseExternalReference$inboundSchema, EntityRefundResponseExternalReference$outboundSchema, EntityRefundResponseSource$inboundSchema, EntityRefundResponseSource$outboundSchema, EntityRefundResponseRoutingReversal$inboundSchema, EntityRefundResponseRoutingReversal$outboundSchema, EntityRefundResponseLinks$inboundSchema, EntityRefundResponseLinks$outboundSchema, EntityRefundResponse$inboundSchema, EntityRefundResponse$outboundSchema;
|
|
38736
38716
|
var init_entityrefundresponse = __esm(() => {
|
|
38737
38717
|
init_esm();
|
|
38738
38718
|
init_primitives();
|
|
38719
|
+
init_enums();
|
|
38739
38720
|
init_amount();
|
|
38740
|
-
init_amountnullable();
|
|
38741
38721
|
init_metadata();
|
|
38742
38722
|
init_mode();
|
|
38743
38723
|
init_refundexternalreferencetyperesponse();
|
|
38744
|
-
init_refundroutingreversalssourcetype();
|
|
38745
|
-
init_refundstatus();
|
|
38746
38724
|
init_url2();
|
|
38747
38725
|
init_urlnullable();
|
|
38726
|
+
EntityRefundResponseStatus = {
|
|
38727
|
+
Queued: "queued",
|
|
38728
|
+
Pending: "pending",
|
|
38729
|
+
Processing: "processing",
|
|
38730
|
+
Refunded: "refunded",
|
|
38731
|
+
Failed: "failed",
|
|
38732
|
+
Canceled: "canceled"
|
|
38733
|
+
};
|
|
38734
|
+
EntityRefundResponseSettlementAmount$inboundSchema = objectType({
|
|
38735
|
+
currency: stringType(),
|
|
38736
|
+
value: stringType()
|
|
38737
|
+
});
|
|
38738
|
+
EntityRefundResponseSettlementAmount$outboundSchema = objectType({
|
|
38739
|
+
currency: stringType(),
|
|
38740
|
+
value: stringType()
|
|
38741
|
+
});
|
|
38742
|
+
EntityRefundResponseStatus$inboundSchema = inboundSchema(EntityRefundResponseStatus);
|
|
38743
|
+
EntityRefundResponseStatus$outboundSchema = outboundSchema(EntityRefundResponseStatus);
|
|
38748
38744
|
EntityRefundResponseExternalReference$inboundSchema = objectType({
|
|
38749
38745
|
type: RefundExternalReferenceTypeResponse$inboundSchema.optional(),
|
|
38750
38746
|
id: stringType().optional()
|
|
@@ -38754,11 +38750,9 @@ var init_entityrefundresponse = __esm(() => {
|
|
|
38754
38750
|
id: stringType().optional()
|
|
38755
38751
|
});
|
|
38756
38752
|
EntityRefundResponseSource$inboundSchema = objectType({
|
|
38757
|
-
type: RefundRoutingReversalsSourceType$inboundSchema.optional(),
|
|
38758
38753
|
organizationId: stringType().optional()
|
|
38759
38754
|
});
|
|
38760
38755
|
EntityRefundResponseSource$outboundSchema = objectType({
|
|
38761
|
-
type: RefundRoutingReversalsSourceType$outboundSchema.optional(),
|
|
38762
38756
|
organizationId: stringType().optional()
|
|
38763
38757
|
});
|
|
38764
38758
|
EntityRefundResponseRoutingReversal$inboundSchema = objectType({
|
|
@@ -38787,11 +38781,11 @@ var init_entityrefundresponse = __esm(() => {
|
|
|
38787
38781
|
mode: Mode$inboundSchema,
|
|
38788
38782
|
description: stringType(),
|
|
38789
38783
|
amount: Amount$inboundSchema,
|
|
38790
|
-
settlementAmount: nullableType(
|
|
38784
|
+
settlementAmount: nullableType(lazyType(() => EntityRefundResponseSettlementAmount$inboundSchema)).optional(),
|
|
38791
38785
|
metadata: nullableType(Metadata$inboundSchema),
|
|
38792
38786
|
paymentId: stringType().optional(),
|
|
38793
|
-
settlementId: stringType().optional(),
|
|
38794
|
-
status:
|
|
38787
|
+
settlementId: nullableType(stringType()).optional(),
|
|
38788
|
+
status: EntityRefundResponseStatus$inboundSchema,
|
|
38795
38789
|
createdAt: stringType(),
|
|
38796
38790
|
externalReference: lazyType(() => EntityRefundResponseExternalReference$inboundSchema).optional(),
|
|
38797
38791
|
routingReversals: nullableType(arrayType(lazyType(() => EntityRefundResponseRoutingReversal$inboundSchema))).optional(),
|
|
@@ -38807,11 +38801,11 @@ var init_entityrefundresponse = __esm(() => {
|
|
|
38807
38801
|
mode: Mode$outboundSchema,
|
|
38808
38802
|
description: stringType(),
|
|
38809
38803
|
amount: Amount$outboundSchema,
|
|
38810
|
-
settlementAmount: nullableType(
|
|
38804
|
+
settlementAmount: nullableType(lazyType(() => EntityRefundResponseSettlementAmount$outboundSchema)).optional(),
|
|
38811
38805
|
metadata: nullableType(Metadata$outboundSchema),
|
|
38812
38806
|
paymentId: stringType().optional(),
|
|
38813
|
-
settlementId: stringType().optional(),
|
|
38814
|
-
status:
|
|
38807
|
+
settlementId: nullableType(stringType()).optional(),
|
|
38808
|
+
status: EntityRefundResponseStatus$outboundSchema,
|
|
38815
38809
|
createdAt: stringType(),
|
|
38816
38810
|
externalReference: lazyType(() => EntityRefundResponseExternalReference$outboundSchema).optional(),
|
|
38817
38811
|
routingReversals: nullableType(arrayType(lazyType(() => EntityRefundResponseRoutingReversal$outboundSchema))).optional(),
|
|
@@ -38838,16 +38832,12 @@ var init_entityroute = __esm(() => {
|
|
|
38838
38832
|
organizationId: stringType()
|
|
38839
38833
|
});
|
|
38840
38834
|
EntityRoute$inboundSchema = objectType({
|
|
38841
|
-
id: stringType().optional(),
|
|
38842
|
-
paymentId: stringType().optional(),
|
|
38843
38835
|
amount: Amount$inboundSchema.optional(),
|
|
38844
38836
|
description: stringType().optional(),
|
|
38845
38837
|
destination: lazyType(() => EntityRouteDestination$inboundSchema).optional(),
|
|
38846
38838
|
testmode: nullableType(booleanType()).optional()
|
|
38847
38839
|
});
|
|
38848
38840
|
EntityRoute$outboundSchema = objectType({
|
|
38849
|
-
id: stringType().optional(),
|
|
38850
|
-
paymentId: stringType().optional(),
|
|
38851
38841
|
amount: Amount$outboundSchema.optional(),
|
|
38852
38842
|
description: stringType().optional(),
|
|
38853
38843
|
destination: lazyType(() => EntityRouteDestination$outboundSchema).optional(),
|
|
@@ -39079,7 +39069,6 @@ var init_salesinvoicevatscheme = __esm(() => {
|
|
|
39079
39069
|
var EntitySalesInvoiceMetadata$inboundSchema, EntitySalesInvoiceMetadata$outboundSchema, EntitySalesInvoice$inboundSchema, EntitySalesInvoice$outboundSchema;
|
|
39080
39070
|
var init_entitysalesinvoice = __esm(() => {
|
|
39081
39071
|
init_esm();
|
|
39082
|
-
init_amount();
|
|
39083
39072
|
init_salesinvoicediscount();
|
|
39084
39073
|
init_salesinvoiceemaildetails();
|
|
39085
39074
|
init_salesinvoicelineitem();
|
|
@@ -39092,7 +39081,6 @@ var init_entitysalesinvoice = __esm(() => {
|
|
|
39092
39081
|
EntitySalesInvoiceMetadata$inboundSchema = objectType({});
|
|
39093
39082
|
EntitySalesInvoiceMetadata$outboundSchema = objectType({});
|
|
39094
39083
|
EntitySalesInvoice$inboundSchema = objectType({
|
|
39095
|
-
id: stringType().optional(),
|
|
39096
39084
|
testmode: nullableType(booleanType()).optional(),
|
|
39097
39085
|
profileId: nullableType(stringType()).optional(),
|
|
39098
39086
|
status: SalesInvoiceStatus$inboundSchema.optional(),
|
|
@@ -39108,15 +39096,9 @@ var init_entitysalesinvoice = __esm(() => {
|
|
|
39108
39096
|
recipientIdentifier: stringType().optional(),
|
|
39109
39097
|
recipient: nullableType(SalesInvoiceRecipient$inboundSchema).optional(),
|
|
39110
39098
|
lines: nullableType(arrayType(SalesInvoiceLineItem$inboundSchema)).optional(),
|
|
39111
|
-
discount: nullableType(SalesInvoiceDiscount$inboundSchema).optional()
|
|
39112
|
-
amountDue: Amount$inboundSchema.optional(),
|
|
39113
|
-
subtotalAmount: Amount$inboundSchema.optional(),
|
|
39114
|
-
totalAmount: Amount$inboundSchema.optional(),
|
|
39115
|
-
totalVatAmount: Amount$inboundSchema.optional(),
|
|
39116
|
-
discountedSubtotalAmount: Amount$inboundSchema.optional()
|
|
39099
|
+
discount: nullableType(SalesInvoiceDiscount$inboundSchema).optional()
|
|
39117
39100
|
});
|
|
39118
39101
|
EntitySalesInvoice$outboundSchema = objectType({
|
|
39119
|
-
id: stringType().optional(),
|
|
39120
39102
|
testmode: nullableType(booleanType()).optional(),
|
|
39121
39103
|
profileId: nullableType(stringType()).optional(),
|
|
39122
39104
|
status: SalesInvoiceStatus$outboundSchema.optional(),
|
|
@@ -39132,12 +39114,7 @@ var init_entitysalesinvoice = __esm(() => {
|
|
|
39132
39114
|
recipientIdentifier: stringType().optional(),
|
|
39133
39115
|
recipient: nullableType(SalesInvoiceRecipient$outboundSchema).optional(),
|
|
39134
39116
|
lines: nullableType(arrayType(SalesInvoiceLineItem$outboundSchema)).optional(),
|
|
39135
|
-
discount: nullableType(SalesInvoiceDiscount$outboundSchema).optional()
|
|
39136
|
-
amountDue: Amount$outboundSchema.optional(),
|
|
39137
|
-
subtotalAmount: Amount$outboundSchema.optional(),
|
|
39138
|
-
totalAmount: Amount$outboundSchema.optional(),
|
|
39139
|
-
totalVatAmount: Amount$outboundSchema.optional(),
|
|
39140
|
-
discountedSubtotalAmount: Amount$outboundSchema.optional()
|
|
39117
|
+
discount: nullableType(SalesInvoiceDiscount$outboundSchema).optional()
|
|
39141
39118
|
});
|
|
39142
39119
|
});
|
|
39143
39120
|
|
|
@@ -39348,11 +39325,10 @@ var init_salesinvoicevatschemeresponse = __esm(() => {
|
|
|
39348
39325
|
});
|
|
39349
39326
|
|
|
39350
39327
|
// src/models/entitysalesinvoiceresponse.ts
|
|
39351
|
-
var EntitySalesInvoiceResponseMetadata$inboundSchema, EntitySalesInvoiceResponseMetadata$outboundSchema, EntitySalesInvoiceResponseLinks$inboundSchema, EntitySalesInvoiceResponseLinks$outboundSchema, EntitySalesInvoiceResponse$inboundSchema, EntitySalesInvoiceResponse$outboundSchema;
|
|
39328
|
+
var EntitySalesInvoiceResponseMetadata$inboundSchema, EntitySalesInvoiceResponseMetadata$outboundSchema, AmountDue$inboundSchema, AmountDue$outboundSchema, SubtotalAmount$inboundSchema, SubtotalAmount$outboundSchema, TotalAmount$inboundSchema, TotalAmount$outboundSchema, TotalVatAmount$inboundSchema, TotalVatAmount$outboundSchema, DiscountedSubtotalAmount$inboundSchema, DiscountedSubtotalAmount$outboundSchema, EntitySalesInvoiceResponseLinks$inboundSchema, EntitySalesInvoiceResponseLinks$outboundSchema, EntitySalesInvoiceResponse$inboundSchema, EntitySalesInvoiceResponse$outboundSchema;
|
|
39352
39329
|
var init_entitysalesinvoiceresponse = __esm(() => {
|
|
39353
39330
|
init_esm();
|
|
39354
39331
|
init_primitives();
|
|
39355
|
-
init_amount();
|
|
39356
39332
|
init_salesinvoicediscountresponse();
|
|
39357
39333
|
init_salesinvoiceemaildetails();
|
|
39358
39334
|
init_salesinvoicelineitemresponse();
|
|
@@ -39365,6 +39341,46 @@ var init_entitysalesinvoiceresponse = __esm(() => {
|
|
|
39365
39341
|
init_url2();
|
|
39366
39342
|
EntitySalesInvoiceResponseMetadata$inboundSchema = objectType({});
|
|
39367
39343
|
EntitySalesInvoiceResponseMetadata$outboundSchema = objectType({});
|
|
39344
|
+
AmountDue$inboundSchema = objectType({
|
|
39345
|
+
currency: stringType(),
|
|
39346
|
+
value: stringType()
|
|
39347
|
+
});
|
|
39348
|
+
AmountDue$outboundSchema = objectType({
|
|
39349
|
+
currency: stringType(),
|
|
39350
|
+
value: stringType()
|
|
39351
|
+
});
|
|
39352
|
+
SubtotalAmount$inboundSchema = objectType({
|
|
39353
|
+
currency: stringType(),
|
|
39354
|
+
value: stringType()
|
|
39355
|
+
});
|
|
39356
|
+
SubtotalAmount$outboundSchema = objectType({
|
|
39357
|
+
currency: stringType(),
|
|
39358
|
+
value: stringType()
|
|
39359
|
+
});
|
|
39360
|
+
TotalAmount$inboundSchema = objectType({
|
|
39361
|
+
currency: stringType(),
|
|
39362
|
+
value: stringType()
|
|
39363
|
+
});
|
|
39364
|
+
TotalAmount$outboundSchema = objectType({
|
|
39365
|
+
currency: stringType(),
|
|
39366
|
+
value: stringType()
|
|
39367
|
+
});
|
|
39368
|
+
TotalVatAmount$inboundSchema = objectType({
|
|
39369
|
+
currency: stringType(),
|
|
39370
|
+
value: stringType()
|
|
39371
|
+
});
|
|
39372
|
+
TotalVatAmount$outboundSchema = objectType({
|
|
39373
|
+
currency: stringType(),
|
|
39374
|
+
value: stringType()
|
|
39375
|
+
});
|
|
39376
|
+
DiscountedSubtotalAmount$inboundSchema = objectType({
|
|
39377
|
+
currency: stringType(),
|
|
39378
|
+
value: stringType()
|
|
39379
|
+
});
|
|
39380
|
+
DiscountedSubtotalAmount$outboundSchema = objectType({
|
|
39381
|
+
currency: stringType(),
|
|
39382
|
+
value: stringType()
|
|
39383
|
+
});
|
|
39368
39384
|
EntitySalesInvoiceResponseLinks$inboundSchema = objectType({
|
|
39369
39385
|
self: Url$inboundSchema.optional(),
|
|
39370
39386
|
invoicePayment: Url$inboundSchema.optional(),
|
|
@@ -39399,11 +39415,11 @@ var init_entitysalesinvoiceresponse = __esm(() => {
|
|
|
39399
39415
|
recipient: nullableType(SalesInvoiceRecipientResponse$inboundSchema).optional(),
|
|
39400
39416
|
lines: nullableType(arrayType(SalesInvoiceLineItemResponse$inboundSchema)).optional(),
|
|
39401
39417
|
discount: nullableType(SalesInvoiceDiscountResponse$inboundSchema).optional(),
|
|
39402
|
-
amountDue:
|
|
39403
|
-
subtotalAmount:
|
|
39404
|
-
totalAmount:
|
|
39405
|
-
totalVatAmount:
|
|
39406
|
-
discountedSubtotalAmount:
|
|
39418
|
+
amountDue: lazyType(() => AmountDue$inboundSchema).optional(),
|
|
39419
|
+
subtotalAmount: lazyType(() => SubtotalAmount$inboundSchema).optional(),
|
|
39420
|
+
totalAmount: lazyType(() => TotalAmount$inboundSchema).optional(),
|
|
39421
|
+
totalVatAmount: lazyType(() => TotalVatAmount$inboundSchema).optional(),
|
|
39422
|
+
discountedSubtotalAmount: lazyType(() => DiscountedSubtotalAmount$inboundSchema).optional(),
|
|
39407
39423
|
createdAt: stringType().optional(),
|
|
39408
39424
|
issuedAt: nullableType(stringType()).optional(),
|
|
39409
39425
|
paidAt: nullableType(stringType()).optional(),
|
|
@@ -39432,11 +39448,11 @@ var init_entitysalesinvoiceresponse = __esm(() => {
|
|
|
39432
39448
|
recipient: nullableType(SalesInvoiceRecipientResponse$outboundSchema).optional(),
|
|
39433
39449
|
lines: nullableType(arrayType(SalesInvoiceLineItemResponse$outboundSchema)).optional(),
|
|
39434
39450
|
discount: nullableType(SalesInvoiceDiscountResponse$outboundSchema).optional(),
|
|
39435
|
-
amountDue:
|
|
39436
|
-
subtotalAmount:
|
|
39437
|
-
totalAmount:
|
|
39438
|
-
totalVatAmount:
|
|
39439
|
-
discountedSubtotalAmount:
|
|
39451
|
+
amountDue: lazyType(() => AmountDue$outboundSchema).optional(),
|
|
39452
|
+
subtotalAmount: lazyType(() => SubtotalAmount$outboundSchema).optional(),
|
|
39453
|
+
totalAmount: lazyType(() => TotalAmount$outboundSchema).optional(),
|
|
39454
|
+
totalVatAmount: lazyType(() => TotalVatAmount$outboundSchema).optional(),
|
|
39455
|
+
discountedSubtotalAmount: lazyType(() => DiscountedSubtotalAmount$outboundSchema).optional(),
|
|
39440
39456
|
createdAt: stringType().optional(),
|
|
39441
39457
|
issuedAt: nullableType(stringType()).optional(),
|
|
39442
39458
|
paidAt: nullableType(stringType()).optional(),
|
|
@@ -39449,31 +39465,33 @@ var init_entitysalesinvoiceresponse = __esm(() => {
|
|
|
39449
39465
|
});
|
|
39450
39466
|
});
|
|
39451
39467
|
|
|
39452
|
-
// src/models/settlementstatus.ts
|
|
39453
|
-
var SettlementStatus, SettlementStatus$inboundSchema, SettlementStatus$outboundSchema;
|
|
39454
|
-
var init_settlementstatus = __esm(() => {
|
|
39455
|
-
init_enums();
|
|
39456
|
-
SettlementStatus = {
|
|
39457
|
-
Open: "open",
|
|
39458
|
-
Pending: "pending",
|
|
39459
|
-
Paidout: "paidout",
|
|
39460
|
-
Failed: "failed"
|
|
39461
|
-
};
|
|
39462
|
-
SettlementStatus$inboundSchema = inboundSchema(SettlementStatus);
|
|
39463
|
-
SettlementStatus$outboundSchema = outboundSchema(SettlementStatus);
|
|
39464
|
-
});
|
|
39465
|
-
|
|
39466
39468
|
// src/models/entitysettlement.ts
|
|
39467
|
-
var Rate$inboundSchema, Rate$outboundSchema, Cost$inboundSchema, Cost$outboundSchema, Revenue$inboundSchema, Revenue$outboundSchema, Periods$inboundSchema, Periods$outboundSchema, EntitySettlementLinks$inboundSchema, EntitySettlementLinks$outboundSchema, EntitySettlement$inboundSchema, EntitySettlement$outboundSchema;
|
|
39469
|
+
var EntitySettlementStatus, EntitySettlementStatus$inboundSchema, EntitySettlementStatus$outboundSchema, EntitySettlementAmount$inboundSchema, EntitySettlementAmount$outboundSchema, Rate$inboundSchema, Rate$outboundSchema, Cost$inboundSchema, Cost$outboundSchema, Revenue$inboundSchema, Revenue$outboundSchema, Periods$inboundSchema, Periods$outboundSchema, EntitySettlementLinks$inboundSchema, EntitySettlementLinks$outboundSchema, EntitySettlement$inboundSchema, EntitySettlement$outboundSchema;
|
|
39468
39470
|
var init_entitysettlement = __esm(() => {
|
|
39469
39471
|
init_esm();
|
|
39470
39472
|
init_primitives();
|
|
39473
|
+
init_enums();
|
|
39471
39474
|
init_amount();
|
|
39472
39475
|
init_amountnullable();
|
|
39473
39476
|
init_paymentmethod();
|
|
39474
|
-
init_settlementstatus();
|
|
39475
39477
|
init_url2();
|
|
39476
39478
|
init_urlnullable();
|
|
39479
|
+
EntitySettlementStatus = {
|
|
39480
|
+
Open: "open",
|
|
39481
|
+
Pending: "pending",
|
|
39482
|
+
Paidout: "paidout",
|
|
39483
|
+
Failed: "failed"
|
|
39484
|
+
};
|
|
39485
|
+
EntitySettlementStatus$inboundSchema = inboundSchema(EntitySettlementStatus);
|
|
39486
|
+
EntitySettlementStatus$outboundSchema = outboundSchema(EntitySettlementStatus);
|
|
39487
|
+
EntitySettlementAmount$inboundSchema = objectType({
|
|
39488
|
+
currency: stringType(),
|
|
39489
|
+
value: stringType()
|
|
39490
|
+
});
|
|
39491
|
+
EntitySettlementAmount$outboundSchema = objectType({
|
|
39492
|
+
currency: stringType(),
|
|
39493
|
+
value: stringType()
|
|
39494
|
+
});
|
|
39477
39495
|
Rate$inboundSchema = objectType({
|
|
39478
39496
|
fixed: Amount$inboundSchema.optional(),
|
|
39479
39497
|
percentage: stringType().optional()
|
|
@@ -39552,10 +39570,10 @@ var init_entitysettlement = __esm(() => {
|
|
|
39552
39570
|
createdAt: stringType().optional(),
|
|
39553
39571
|
reference: nullableType(stringType()).optional(),
|
|
39554
39572
|
settledAt: nullableType(stringType()).optional(),
|
|
39555
|
-
status:
|
|
39556
|
-
amount:
|
|
39573
|
+
status: EntitySettlementStatus$inboundSchema,
|
|
39574
|
+
amount: lazyType(() => EntitySettlementAmount$inboundSchema),
|
|
39557
39575
|
balanceId: stringType(),
|
|
39558
|
-
invoiceId: stringType().optional(),
|
|
39576
|
+
invoiceId: nullableType(stringType()).optional(),
|
|
39559
39577
|
periods: recordType(recordType(lazyType(() => Periods$inboundSchema))).optional(),
|
|
39560
39578
|
_links: lazyType(() => EntitySettlementLinks$inboundSchema)
|
|
39561
39579
|
}).transform((v2) => {
|
|
@@ -39569,10 +39587,10 @@ var init_entitysettlement = __esm(() => {
|
|
|
39569
39587
|
createdAt: stringType().optional(),
|
|
39570
39588
|
reference: nullableType(stringType()).optional(),
|
|
39571
39589
|
settledAt: nullableType(stringType()).optional(),
|
|
39572
|
-
status:
|
|
39573
|
-
amount:
|
|
39590
|
+
status: EntitySettlementStatus$outboundSchema,
|
|
39591
|
+
amount: lazyType(() => EntitySettlementAmount$outboundSchema),
|
|
39574
39592
|
balanceId: stringType(),
|
|
39575
|
-
invoiceId: stringType().optional(),
|
|
39593
|
+
invoiceId: nullableType(stringType()).optional(),
|
|
39576
39594
|
periods: recordType(recordType(lazyType(() => Periods$outboundSchema))).optional(),
|
|
39577
39595
|
links: lazyType(() => EntitySettlementLinks$outboundSchema)
|
|
39578
39596
|
}).transform((v2) => {
|
|
@@ -39610,29 +39628,23 @@ var init_terminalmodel = __esm(() => {
|
|
|
39610
39628
|
TerminalModel$outboundSchema = outboundSchema(TerminalModel);
|
|
39611
39629
|
});
|
|
39612
39630
|
|
|
39613
|
-
// src/models/terminalstatus.ts
|
|
39614
|
-
var TerminalStatus, TerminalStatus$inboundSchema, TerminalStatus$outboundSchema;
|
|
39615
|
-
var init_terminalstatus = __esm(() => {
|
|
39616
|
-
init_enums();
|
|
39617
|
-
TerminalStatus = {
|
|
39618
|
-
Pending: "pending",
|
|
39619
|
-
Active: "active",
|
|
39620
|
-
Inactive: "inactive"
|
|
39621
|
-
};
|
|
39622
|
-
TerminalStatus$inboundSchema = inboundSchema(TerminalStatus);
|
|
39623
|
-
TerminalStatus$outboundSchema = outboundSchema(TerminalStatus);
|
|
39624
|
-
});
|
|
39625
|
-
|
|
39626
39631
|
// src/models/entityterminal.ts
|
|
39627
|
-
var EntityTerminalLinks$inboundSchema, EntityTerminalLinks$outboundSchema, EntityTerminal$inboundSchema, EntityTerminal$outboundSchema;
|
|
39632
|
+
var EntityTerminalStatus, EntityTerminalStatus$inboundSchema, EntityTerminalStatus$outboundSchema, EntityTerminalLinks$inboundSchema, EntityTerminalLinks$outboundSchema, EntityTerminal$inboundSchema, EntityTerminal$outboundSchema;
|
|
39628
39633
|
var init_entityterminal = __esm(() => {
|
|
39629
39634
|
init_esm();
|
|
39630
39635
|
init_primitives();
|
|
39636
|
+
init_enums();
|
|
39631
39637
|
init_mode();
|
|
39632
39638
|
init_terminalbrand();
|
|
39633
39639
|
init_terminalmodel();
|
|
39634
|
-
init_terminalstatus();
|
|
39635
39640
|
init_url2();
|
|
39641
|
+
EntityTerminalStatus = {
|
|
39642
|
+
Pending: "pending",
|
|
39643
|
+
Active: "active",
|
|
39644
|
+
Inactive: "inactive"
|
|
39645
|
+
};
|
|
39646
|
+
EntityTerminalStatus$inboundSchema = inboundSchema(EntityTerminalStatus);
|
|
39647
|
+
EntityTerminalStatus$outboundSchema = outboundSchema(EntityTerminalStatus);
|
|
39636
39648
|
EntityTerminalLinks$inboundSchema = objectType({
|
|
39637
39649
|
self: Url$inboundSchema,
|
|
39638
39650
|
documentation: Url$inboundSchema
|
|
@@ -39646,7 +39658,7 @@ var init_entityterminal = __esm(() => {
|
|
|
39646
39658
|
id: stringType(),
|
|
39647
39659
|
mode: Mode$inboundSchema,
|
|
39648
39660
|
description: stringType(),
|
|
39649
|
-
status:
|
|
39661
|
+
status: EntityTerminalStatus$inboundSchema,
|
|
39650
39662
|
brand: nullableType(TerminalBrand$inboundSchema),
|
|
39651
39663
|
model: nullableType(TerminalModel$inboundSchema),
|
|
39652
39664
|
serialNumber: nullableType(stringType()),
|
|
@@ -39665,7 +39677,7 @@ var init_entityterminal = __esm(() => {
|
|
|
39665
39677
|
id: stringType(),
|
|
39666
39678
|
mode: Mode$outboundSchema,
|
|
39667
39679
|
description: stringType(),
|
|
39668
|
-
status:
|
|
39680
|
+
status: EntityTerminalStatus$outboundSchema,
|
|
39669
39681
|
brand: nullableType(TerminalBrand$outboundSchema),
|
|
39670
39682
|
model: nullableType(TerminalModel$outboundSchema),
|
|
39671
39683
|
serialNumber: nullableType(stringType()),
|
|
@@ -39989,28 +40001,22 @@ var init_profilereviewstatusresponse = __esm(() => {
|
|
|
39989
40001
|
ProfileReviewStatusResponse$outboundSchema = outboundSchema(ProfileReviewStatusResponse);
|
|
39990
40002
|
});
|
|
39991
40003
|
|
|
39992
|
-
// src/models/profilestatus.ts
|
|
39993
|
-
var ProfileStatus, ProfileStatus$inboundSchema, ProfileStatus$outboundSchema;
|
|
39994
|
-
var init_profilestatus = __esm(() => {
|
|
39995
|
-
init_enums();
|
|
39996
|
-
ProfileStatus = {
|
|
39997
|
-
Unverified: "unverified",
|
|
39998
|
-
Verified: "verified",
|
|
39999
|
-
Blocked: "blocked"
|
|
40000
|
-
};
|
|
40001
|
-
ProfileStatus$inboundSchema = inboundSchema(ProfileStatus);
|
|
40002
|
-
ProfileStatus$outboundSchema = outboundSchema(ProfileStatus);
|
|
40003
|
-
});
|
|
40004
|
-
|
|
40005
40004
|
// src/models/profileresponse.ts
|
|
40006
|
-
var Review$inboundSchema, Review$outboundSchema, ProfileResponseLinks$inboundSchema, ProfileResponseLinks$outboundSchema, ProfileResponse$inboundSchema, ProfileResponse$outboundSchema;
|
|
40005
|
+
var ProfileResponseStatus, ProfileResponseStatus$inboundSchema, ProfileResponseStatus$outboundSchema, Review$inboundSchema, Review$outboundSchema, ProfileResponseLinks$inboundSchema, ProfileResponseLinks$outboundSchema, ProfileResponse$inboundSchema, ProfileResponse$outboundSchema;
|
|
40007
40006
|
var init_profileresponse = __esm(() => {
|
|
40008
40007
|
init_esm();
|
|
40009
40008
|
init_primitives();
|
|
40009
|
+
init_enums();
|
|
40010
40010
|
init_mode();
|
|
40011
40011
|
init_profilereviewstatusresponse();
|
|
40012
|
-
init_profilestatus();
|
|
40013
40012
|
init_url2();
|
|
40013
|
+
ProfileResponseStatus = {
|
|
40014
|
+
Unverified: "unverified",
|
|
40015
|
+
Verified: "verified",
|
|
40016
|
+
Blocked: "blocked"
|
|
40017
|
+
};
|
|
40018
|
+
ProfileResponseStatus$inboundSchema = inboundSchema(ProfileResponseStatus);
|
|
40019
|
+
ProfileResponseStatus$outboundSchema = outboundSchema(ProfileResponseStatus);
|
|
40014
40020
|
Review$inboundSchema = objectType({
|
|
40015
40021
|
status: ProfileReviewStatusResponse$inboundSchema.optional()
|
|
40016
40022
|
});
|
|
@@ -40048,7 +40054,7 @@ var init_profileresponse = __esm(() => {
|
|
|
40048
40054
|
description: stringType().optional(),
|
|
40049
40055
|
countriesOfActivity: arrayType(stringType()).optional(),
|
|
40050
40056
|
businessCategory: stringType(),
|
|
40051
|
-
status:
|
|
40057
|
+
status: ProfileResponseStatus$inboundSchema,
|
|
40052
40058
|
review: lazyType(() => Review$inboundSchema).optional(),
|
|
40053
40059
|
createdAt: stringType(),
|
|
40054
40060
|
_links: lazyType(() => ProfileResponseLinks$inboundSchema)
|
|
@@ -40068,7 +40074,7 @@ var init_profileresponse = __esm(() => {
|
|
|
40068
40074
|
description: stringType().optional(),
|
|
40069
40075
|
countriesOfActivity: arrayType(stringType()).optional(),
|
|
40070
40076
|
businessCategory: stringType(),
|
|
40071
|
-
status:
|
|
40077
|
+
status: ProfileResponseStatus$outboundSchema,
|
|
40072
40078
|
review: lazyType(() => Review$outboundSchema).optional(),
|
|
40073
40079
|
createdAt: stringType(),
|
|
40074
40080
|
links: lazyType(() => ProfileResponseLinks$outboundSchema)
|
|
@@ -40080,14 +40086,25 @@ var init_profileresponse = __esm(() => {
|
|
|
40080
40086
|
});
|
|
40081
40087
|
|
|
40082
40088
|
// src/models/entitywebhookevent.ts
|
|
40083
|
-
var Entity$inboundSchema, Entity$outboundSchema, Embedded$inboundSchema, Embedded$outboundSchema, EntityWebhookEventLinks$inboundSchema, EntityWebhookEventLinks$outboundSchema, EntityWebhookEvent$inboundSchema, EntityWebhookEvent$outboundSchema;
|
|
40089
|
+
var EntityWebhookEventWebhookEventTypes, EntityWebhookEventWebhookEventTypes$inboundSchema, EntityWebhookEventWebhookEventTypes$outboundSchema, Entity$inboundSchema, Entity$outboundSchema, Embedded$inboundSchema, Embedded$outboundSchema, EntityWebhookEventLinks$inboundSchema, EntityWebhookEventLinks$outboundSchema, EntityWebhookEvent$inboundSchema, EntityWebhookEvent$outboundSchema;
|
|
40084
40090
|
var init_entitywebhookevent = __esm(() => {
|
|
40085
40091
|
init_esm();
|
|
40086
40092
|
init_primitives();
|
|
40093
|
+
init_enums();
|
|
40087
40094
|
init_paymentlinkresponse();
|
|
40088
40095
|
init_profileresponse();
|
|
40089
40096
|
init_url2();
|
|
40090
|
-
|
|
40097
|
+
EntityWebhookEventWebhookEventTypes = {
|
|
40098
|
+
PaymentLinkPaid: "payment-link.paid",
|
|
40099
|
+
BalanceTransactionCreated: "balance-transaction.created",
|
|
40100
|
+
SalesInvoiceCreated: "sales-invoice.created",
|
|
40101
|
+
SalesInvoiceIssued: "sales-invoice.issued",
|
|
40102
|
+
SalesInvoiceCanceled: "sales-invoice.canceled",
|
|
40103
|
+
SalesInvoicePaid: "sales-invoice.paid",
|
|
40104
|
+
Wildcard: "*"
|
|
40105
|
+
};
|
|
40106
|
+
EntityWebhookEventWebhookEventTypes$inboundSchema = inboundSchema(EntityWebhookEventWebhookEventTypes);
|
|
40107
|
+
EntityWebhookEventWebhookEventTypes$outboundSchema = outboundSchema(EntityWebhookEventWebhookEventTypes);
|
|
40091
40108
|
Entity$inboundSchema = unionType([PaymentLinkResponse$inboundSchema, ProfileResponse$inboundSchema]);
|
|
40092
40109
|
Entity$outboundSchema = unionType([
|
|
40093
40110
|
PaymentLinkResponse$outboundSchema,
|
|
@@ -40118,7 +40135,7 @@ var init_entitywebhookevent = __esm(() => {
|
|
|
40118
40135
|
EntityWebhookEvent$inboundSchema = objectType({
|
|
40119
40136
|
resource: stringType(),
|
|
40120
40137
|
id: stringType(),
|
|
40121
|
-
type:
|
|
40138
|
+
type: EntityWebhookEventWebhookEventTypes$inboundSchema,
|
|
40122
40139
|
entityId: stringType(),
|
|
40123
40140
|
createdAt: stringType(),
|
|
40124
40141
|
_embedded: nullableType(lazyType(() => Embedded$inboundSchema)).optional(),
|
|
@@ -40133,7 +40150,7 @@ var init_entitywebhookevent = __esm(() => {
|
|
|
40133
40150
|
EntityWebhookEvent$outboundSchema = objectType({
|
|
40134
40151
|
resource: stringType(),
|
|
40135
40152
|
id: stringType(),
|
|
40136
|
-
webhookEventTypes:
|
|
40153
|
+
webhookEventTypes: EntityWebhookEventWebhookEventTypes$outboundSchema,
|
|
40137
40154
|
entityId: stringType(),
|
|
40138
40155
|
createdAt: stringType(),
|
|
40139
40156
|
embedded: nullableType(lazyType(() => Embedded$outboundSchema)).optional(),
|
|
@@ -40284,25 +40301,11 @@ var init_mandatemethodresponse = __esm(() => {
|
|
|
40284
40301
|
MandateMethodResponse$outboundSchema = outboundSchema(MandateMethodResponse);
|
|
40285
40302
|
});
|
|
40286
40303
|
|
|
40287
|
-
// src/models/mandatestatus.ts
|
|
40288
|
-
var MandateStatus, MandateStatus$inboundSchema, MandateStatus$outboundSchema;
|
|
40289
|
-
var init_mandatestatus = __esm(() => {
|
|
40290
|
-
init_enums();
|
|
40291
|
-
MandateStatus = {
|
|
40292
|
-
Valid: "valid",
|
|
40293
|
-
Pending: "pending",
|
|
40294
|
-
Invalid: "invalid"
|
|
40295
|
-
};
|
|
40296
|
-
MandateStatus$inboundSchema = inboundSchema(MandateStatus);
|
|
40297
|
-
MandateStatus$outboundSchema = outboundSchema(MandateStatus);
|
|
40298
|
-
});
|
|
40299
|
-
|
|
40300
40304
|
// src/models/mandaterequest.ts
|
|
40301
40305
|
var MandateRequest$inboundSchema, MandateRequest$outboundSchema;
|
|
40302
40306
|
var init_mandaterequest = __esm(() => {
|
|
40303
40307
|
init_esm();
|
|
40304
40308
|
init_mandatemethod();
|
|
40305
|
-
init_mandatestatus();
|
|
40306
40309
|
MandateRequest$inboundSchema = objectType({
|
|
40307
40310
|
id: stringType().optional(),
|
|
40308
40311
|
method: MandateMethod$inboundSchema,
|
|
@@ -40314,8 +40317,6 @@ var init_mandaterequest = __esm(() => {
|
|
|
40314
40317
|
mandateReference: nullableType(stringType()).optional(),
|
|
40315
40318
|
paypalBillingAgreementId: nullableType(stringType()).optional(),
|
|
40316
40319
|
payPalVaultId: nullableType(stringType()).optional(),
|
|
40317
|
-
status: MandateStatus$inboundSchema.optional(),
|
|
40318
|
-
customerId: stringType().optional(),
|
|
40319
40320
|
testmode: nullableType(booleanType()).optional()
|
|
40320
40321
|
});
|
|
40321
40322
|
MandateRequest$outboundSchema = objectType({
|
|
@@ -40329,22 +40330,25 @@ var init_mandaterequest = __esm(() => {
|
|
|
40329
40330
|
mandateReference: nullableType(stringType()).optional(),
|
|
40330
40331
|
paypalBillingAgreementId: nullableType(stringType()).optional(),
|
|
40331
40332
|
payPalVaultId: nullableType(stringType()).optional(),
|
|
40332
|
-
status: MandateStatus$outboundSchema.optional(),
|
|
40333
|
-
customerId: stringType().optional(),
|
|
40334
40333
|
testmode: nullableType(booleanType()).optional()
|
|
40335
40334
|
});
|
|
40336
40335
|
});
|
|
40337
40336
|
|
|
40338
40337
|
// src/models/mandateresponse.ts
|
|
40339
|
-
var MandateResponseDetails$inboundSchema, MandateResponseDetails$outboundSchema, MandateResponseLinks$inboundSchema, MandateResponseLinks$outboundSchema, MandateResponse$inboundSchema, MandateResponse$outboundSchema;
|
|
40338
|
+
var MandateResponseStatus, MandateResponseDetails$inboundSchema, MandateResponseDetails$outboundSchema, MandateResponseStatus$inboundSchema, MandateResponseStatus$outboundSchema, MandateResponseLinks$inboundSchema, MandateResponseLinks$outboundSchema, MandateResponse$inboundSchema, MandateResponse$outboundSchema;
|
|
40340
40339
|
var init_mandateresponse = __esm(() => {
|
|
40341
40340
|
init_esm();
|
|
40342
40341
|
init_primitives();
|
|
40342
|
+
init_enums();
|
|
40343
40343
|
init_mandatedetailscardlabelresponse();
|
|
40344
40344
|
init_mandatemethodresponse();
|
|
40345
|
-
init_mandatestatus();
|
|
40346
40345
|
init_mode();
|
|
40347
40346
|
init_url2();
|
|
40347
|
+
MandateResponseStatus = {
|
|
40348
|
+
Valid: "valid",
|
|
40349
|
+
Pending: "pending",
|
|
40350
|
+
Invalid: "invalid"
|
|
40351
|
+
};
|
|
40348
40352
|
MandateResponseDetails$inboundSchema = objectType({
|
|
40349
40353
|
consumerName: nullableType(stringType()).optional(),
|
|
40350
40354
|
consumerAccount: nullableType(stringType()).optional(),
|
|
@@ -40365,6 +40369,8 @@ var init_mandateresponse = __esm(() => {
|
|
|
40365
40369
|
cardLabel: nullableType(MandateDetailsCardLabelResponse$outboundSchema).optional(),
|
|
40366
40370
|
cardFingerprint: nullableType(stringType()).optional()
|
|
40367
40371
|
});
|
|
40372
|
+
MandateResponseStatus$inboundSchema = inboundSchema(MandateResponseStatus);
|
|
40373
|
+
MandateResponseStatus$outboundSchema = outboundSchema(MandateResponseStatus);
|
|
40368
40374
|
MandateResponseLinks$inboundSchema = objectType({
|
|
40369
40375
|
self: Url$inboundSchema,
|
|
40370
40376
|
customer: Url$inboundSchema,
|
|
@@ -40383,7 +40389,7 @@ var init_mandateresponse = __esm(() => {
|
|
|
40383
40389
|
details: lazyType(() => MandateResponseDetails$inboundSchema),
|
|
40384
40390
|
signatureDate: nullableType(stringType()),
|
|
40385
40391
|
mandateReference: nullableType(stringType()),
|
|
40386
|
-
status:
|
|
40392
|
+
status: MandateResponseStatus$inboundSchema,
|
|
40387
40393
|
customerId: stringType(),
|
|
40388
40394
|
createdAt: stringType(),
|
|
40389
40395
|
_links: lazyType(() => MandateResponseLinks$inboundSchema)
|
|
@@ -40400,7 +40406,7 @@ var init_mandateresponse = __esm(() => {
|
|
|
40400
40406
|
details: lazyType(() => MandateResponseDetails$outboundSchema),
|
|
40401
40407
|
signatureDate: nullableType(stringType()),
|
|
40402
40408
|
mandateReference: nullableType(stringType()),
|
|
40403
|
-
status:
|
|
40409
|
+
status: MandateResponseStatus$outboundSchema,
|
|
40404
40410
|
customerId: stringType(),
|
|
40405
40411
|
createdAt: stringType(),
|
|
40406
40412
|
links: lazyType(() => MandateResponseLinks$outboundSchema)
|
|
@@ -40479,6 +40485,54 @@ var init_methodresourceparameter = __esm(() => {
|
|
|
40479
40485
|
MethodResourceParameter$outboundSchema = MethodResourceParameter$inboundSchema;
|
|
40480
40486
|
});
|
|
40481
40487
|
|
|
40488
|
+
// src/models/methodresponse.ts
|
|
40489
|
+
var MethodResponse, MethodResponse$inboundSchema, MethodResponse$outboundSchema;
|
|
40490
|
+
var init_methodresponse = __esm(() => {
|
|
40491
|
+
init_enums();
|
|
40492
|
+
MethodResponse = {
|
|
40493
|
+
Alma: "alma",
|
|
40494
|
+
Applepay: "applepay",
|
|
40495
|
+
Bacs: "bacs",
|
|
40496
|
+
Bancomatpay: "bancomatpay",
|
|
40497
|
+
Bancontact: "bancontact",
|
|
40498
|
+
Banktransfer: "banktransfer",
|
|
40499
|
+
Belfius: "belfius",
|
|
40500
|
+
Billie: "billie",
|
|
40501
|
+
Bizum: "bizum",
|
|
40502
|
+
Blik: "blik",
|
|
40503
|
+
Creditcard: "creditcard",
|
|
40504
|
+
Directdebit: "directdebit",
|
|
40505
|
+
Eps: "eps",
|
|
40506
|
+
Giftcard: "giftcard",
|
|
40507
|
+
Ideal: "ideal",
|
|
40508
|
+
In3: "in3",
|
|
40509
|
+
Kbc: "kbc",
|
|
40510
|
+
Klarna: "klarna",
|
|
40511
|
+
Mbway: "mbway",
|
|
40512
|
+
Mobilepay: "mobilepay",
|
|
40513
|
+
Multibanco: "multibanco",
|
|
40514
|
+
Mybank: "mybank",
|
|
40515
|
+
Paybybank: "paybybank",
|
|
40516
|
+
Payconiq: "payconiq",
|
|
40517
|
+
Paypal: "paypal",
|
|
40518
|
+
Paysafecard: "paysafecard",
|
|
40519
|
+
Pointofsale: "pointofsale",
|
|
40520
|
+
Przelewy24: "przelewy24",
|
|
40521
|
+
Riverty: "riverty",
|
|
40522
|
+
Satispay: "satispay",
|
|
40523
|
+
Swish: "swish",
|
|
40524
|
+
Trustly: "trustly",
|
|
40525
|
+
Twint: "twint",
|
|
40526
|
+
Vipps: "vipps",
|
|
40527
|
+
Voucher: "voucher",
|
|
40528
|
+
Klarnapaylater: "klarnapaylater",
|
|
40529
|
+
Klarnapaynow: "klarnapaynow",
|
|
40530
|
+
Klarnasliceit: "klarnasliceit"
|
|
40531
|
+
};
|
|
40532
|
+
MethodResponse$inboundSchema = inboundSchema(MethodResponse);
|
|
40533
|
+
MethodResponse$outboundSchema = outboundSchema(MethodResponse);
|
|
40534
|
+
});
|
|
40535
|
+
|
|
40482
40536
|
// src/models/onboardingvatregulation.ts
|
|
40483
40537
|
var OnboardingVatRegulation, OnboardingVatRegulation$inboundSchema, OnboardingVatRegulation$outboundSchema;
|
|
40484
40538
|
var init_onboardingvatregulation = __esm(() => {
|
|
@@ -40929,14 +40983,8 @@ var init_paymentrequest = __esm(() => {
|
|
|
40929
40983
|
entityType: stringType().optional()
|
|
40930
40984
|
});
|
|
40931
40985
|
PaymentRequest$inboundSchema = objectType({
|
|
40932
|
-
id: stringType().optional(),
|
|
40933
40986
|
description: stringType(),
|
|
40934
40987
|
amount: Amount$inboundSchema,
|
|
40935
|
-
amountRefunded: Amount$inboundSchema.optional(),
|
|
40936
|
-
amountRemaining: Amount$inboundSchema.optional(),
|
|
40937
|
-
amountCaptured: Amount$inboundSchema.optional(),
|
|
40938
|
-
amountChargedBack: Amount$inboundSchema.optional(),
|
|
40939
|
-
settlementAmount: Amount$inboundSchema.optional(),
|
|
40940
40988
|
redirectUrl: nullableType(stringType()),
|
|
40941
40989
|
cancelUrl: nullableType(stringType()).optional(),
|
|
40942
40990
|
webhookUrl: nullableType(stringType()).optional(),
|
|
@@ -40953,12 +41001,9 @@ var init_paymentrequest = __esm(() => {
|
|
|
40953
41001
|
applicationFee: nullableType(lazyType(() => PaymentRequestApplicationFee$inboundSchema)).optional(),
|
|
40954
41002
|
routing: nullableType(arrayType(EntityPaymentRoute$inboundSchema)).optional(),
|
|
40955
41003
|
sequenceType: SequenceType$inboundSchema.optional(),
|
|
40956
|
-
|
|
40957
|
-
mandateId: stringType().optional(),
|
|
41004
|
+
mandateId: nullableType(stringType()).optional(),
|
|
40958
41005
|
customerId: stringType().optional(),
|
|
40959
41006
|
profileId: stringType().optional(),
|
|
40960
|
-
settlementId: stringType().optional(),
|
|
40961
|
-
orderId: stringType().optional(),
|
|
40962
41007
|
dueDate: stringType().optional(),
|
|
40963
41008
|
testmode: nullableType(booleanType()).optional(),
|
|
40964
41009
|
applePayPaymentToken: stringType().optional(),
|
|
@@ -40974,14 +41019,8 @@ var init_paymentrequest = __esm(() => {
|
|
|
40974
41019
|
terminalId: stringType().optional()
|
|
40975
41020
|
});
|
|
40976
41021
|
PaymentRequest$outboundSchema = objectType({
|
|
40977
|
-
id: stringType().optional(),
|
|
40978
41022
|
description: stringType(),
|
|
40979
41023
|
amount: Amount$outboundSchema,
|
|
40980
|
-
amountRefunded: Amount$outboundSchema.optional(),
|
|
40981
|
-
amountRemaining: Amount$outboundSchema.optional(),
|
|
40982
|
-
amountCaptured: Amount$outboundSchema.optional(),
|
|
40983
|
-
amountChargedBack: Amount$outboundSchema.optional(),
|
|
40984
|
-
settlementAmount: Amount$outboundSchema.optional(),
|
|
40985
41024
|
redirectUrl: nullableType(stringType()),
|
|
40986
41025
|
cancelUrl: nullableType(stringType()).optional(),
|
|
40987
41026
|
webhookUrl: nullableType(stringType()).optional(),
|
|
@@ -40998,12 +41037,9 @@ var init_paymentrequest = __esm(() => {
|
|
|
40998
41037
|
applicationFee: nullableType(lazyType(() => PaymentRequestApplicationFee$outboundSchema)).optional(),
|
|
40999
41038
|
routing: nullableType(arrayType(EntityPaymentRoute$outboundSchema)).optional(),
|
|
41000
41039
|
sequenceType: SequenceType$outboundSchema.optional(),
|
|
41001
|
-
|
|
41002
|
-
mandateId: stringType().optional(),
|
|
41040
|
+
mandateId: nullableType(stringType()).optional(),
|
|
41003
41041
|
customerId: stringType().optional(),
|
|
41004
41042
|
profileId: stringType().optional(),
|
|
41005
|
-
settlementId: stringType().optional(),
|
|
41006
|
-
orderId: stringType().optional(),
|
|
41007
41043
|
dueDate: stringType().optional(),
|
|
41008
41044
|
testmode: nullableType(booleanType()).optional(),
|
|
41009
41045
|
applePayPaymentToken: stringType().optional(),
|
|
@@ -41020,23 +41056,6 @@ var init_paymentrequest = __esm(() => {
|
|
|
41020
41056
|
});
|
|
41021
41057
|
});
|
|
41022
41058
|
|
|
41023
|
-
// src/models/paymentstatus.ts
|
|
41024
|
-
var PaymentStatus, PaymentStatus$inboundSchema, PaymentStatus$outboundSchema;
|
|
41025
|
-
var init_paymentstatus = __esm(() => {
|
|
41026
|
-
init_enums();
|
|
41027
|
-
PaymentStatus = {
|
|
41028
|
-
Open: "open",
|
|
41029
|
-
Pending: "pending",
|
|
41030
|
-
Authorized: "authorized",
|
|
41031
|
-
Paid: "paid",
|
|
41032
|
-
Canceled: "canceled",
|
|
41033
|
-
Expired: "expired",
|
|
41034
|
-
Failed: "failed"
|
|
41035
|
-
};
|
|
41036
|
-
PaymentStatus$inboundSchema = inboundSchema(PaymentStatus);
|
|
41037
|
-
PaymentStatus$outboundSchema = outboundSchema(PaymentStatus);
|
|
41038
|
-
});
|
|
41039
|
-
|
|
41040
41059
|
// src/models/sequencetyperesponse.ts
|
|
41041
41060
|
var SequenceTypeResponse, SequenceTypeResponse$inboundSchema, SequenceTypeResponse$outboundSchema;
|
|
41042
41061
|
var init_sequencetyperesponse = __esm(() => {
|
|
@@ -41185,10 +41204,11 @@ var init_statusreason = __esm(() => {
|
|
|
41185
41204
|
});
|
|
41186
41205
|
|
|
41187
41206
|
// src/models/paymentresponse.ts
|
|
41188
|
-
var PaymentResponseLine$inboundSchema, PaymentResponseLine$outboundSchema, PaymentResponseBillingAddress$inboundSchema, PaymentResponseBillingAddress$outboundSchema, PaymentResponseApplicationFee$inboundSchema, PaymentResponseApplicationFee$outboundSchema, Receipt$inboundSchema, Receipt$outboundSchema, QrCode$inboundSchema, QrCode$outboundSchema, PaymentResponseDetails$inboundSchema, PaymentResponseDetails$outboundSchema, PaymentResponseLinks$inboundSchema, PaymentResponseLinks$outboundSchema, PaymentResponse$inboundSchema, PaymentResponse$outboundSchema;
|
|
41207
|
+
var PaymentResponseStatus, AmountRefunded$inboundSchema, AmountRefunded$outboundSchema, AmountRemaining$inboundSchema, AmountRemaining$outboundSchema, AmountCaptured$inboundSchema, AmountCaptured$outboundSchema, AmountChargedBack$inboundSchema, AmountChargedBack$outboundSchema, PaymentResponseSettlementAmount$inboundSchema, PaymentResponseSettlementAmount$outboundSchema, PaymentResponseLine$inboundSchema, PaymentResponseLine$outboundSchema, PaymentResponseBillingAddress$inboundSchema, PaymentResponseBillingAddress$outboundSchema, PaymentResponseApplicationFee$inboundSchema, PaymentResponseApplicationFee$outboundSchema, PaymentResponseStatus$inboundSchema, PaymentResponseStatus$outboundSchema, Receipt$inboundSchema, Receipt$outboundSchema, QrCode$inboundSchema, QrCode$outboundSchema, PaymentResponseDetails$inboundSchema, PaymentResponseDetails$outboundSchema, PaymentResponseLinks$inboundSchema, PaymentResponseLinks$outboundSchema, PaymentResponse$inboundSchema, PaymentResponse$outboundSchema;
|
|
41189
41208
|
var init_paymentresponse = __esm(() => {
|
|
41190
41209
|
init_esm();
|
|
41191
41210
|
init_primitives();
|
|
41211
|
+
init_enums();
|
|
41192
41212
|
init_rfcdate();
|
|
41193
41213
|
init_amount();
|
|
41194
41214
|
init_amountnullable();
|
|
@@ -41211,11 +41231,59 @@ var init_paymentresponse = __esm(() => {
|
|
|
41211
41231
|
init_paymentdetailssellerprotectionresponse();
|
|
41212
41232
|
init_paymentdetailswalletresponse();
|
|
41213
41233
|
init_paymentlinetyperesponse();
|
|
41214
|
-
init_paymentstatus();
|
|
41215
41234
|
init_recurringlineitem();
|
|
41216
41235
|
init_sequencetyperesponse();
|
|
41217
41236
|
init_statusreason();
|
|
41218
41237
|
init_url2();
|
|
41238
|
+
PaymentResponseStatus = {
|
|
41239
|
+
Open: "open",
|
|
41240
|
+
Pending: "pending",
|
|
41241
|
+
Authorized: "authorized",
|
|
41242
|
+
Paid: "paid",
|
|
41243
|
+
Canceled: "canceled",
|
|
41244
|
+
Expired: "expired",
|
|
41245
|
+
Failed: "failed"
|
|
41246
|
+
};
|
|
41247
|
+
AmountRefunded$inboundSchema = objectType({
|
|
41248
|
+
currency: stringType(),
|
|
41249
|
+
value: stringType()
|
|
41250
|
+
});
|
|
41251
|
+
AmountRefunded$outboundSchema = objectType({
|
|
41252
|
+
currency: stringType(),
|
|
41253
|
+
value: stringType()
|
|
41254
|
+
});
|
|
41255
|
+
AmountRemaining$inboundSchema = objectType({
|
|
41256
|
+
currency: stringType(),
|
|
41257
|
+
value: stringType()
|
|
41258
|
+
});
|
|
41259
|
+
AmountRemaining$outboundSchema = objectType({
|
|
41260
|
+
currency: stringType(),
|
|
41261
|
+
value: stringType()
|
|
41262
|
+
});
|
|
41263
|
+
AmountCaptured$inboundSchema = objectType({
|
|
41264
|
+
currency: stringType(),
|
|
41265
|
+
value: stringType()
|
|
41266
|
+
});
|
|
41267
|
+
AmountCaptured$outboundSchema = objectType({
|
|
41268
|
+
currency: stringType(),
|
|
41269
|
+
value: stringType()
|
|
41270
|
+
});
|
|
41271
|
+
AmountChargedBack$inboundSchema = objectType({
|
|
41272
|
+
currency: stringType(),
|
|
41273
|
+
value: stringType()
|
|
41274
|
+
});
|
|
41275
|
+
AmountChargedBack$outboundSchema = objectType({
|
|
41276
|
+
currency: stringType(),
|
|
41277
|
+
value: stringType()
|
|
41278
|
+
});
|
|
41279
|
+
PaymentResponseSettlementAmount$inboundSchema = objectType({
|
|
41280
|
+
currency: stringType(),
|
|
41281
|
+
value: stringType()
|
|
41282
|
+
});
|
|
41283
|
+
PaymentResponseSettlementAmount$outboundSchema = objectType({
|
|
41284
|
+
currency: stringType(),
|
|
41285
|
+
value: stringType()
|
|
41286
|
+
});
|
|
41219
41287
|
PaymentResponseLine$inboundSchema = objectType({
|
|
41220
41288
|
type: PaymentLineTypeResponse$inboundSchema.optional(),
|
|
41221
41289
|
description: stringType(),
|
|
@@ -41284,6 +41352,8 @@ var init_paymentresponse = __esm(() => {
|
|
|
41284
41352
|
amount: Amount$outboundSchema.optional(),
|
|
41285
41353
|
description: stringType().optional()
|
|
41286
41354
|
});
|
|
41355
|
+
PaymentResponseStatus$inboundSchema = inboundSchema(PaymentResponseStatus);
|
|
41356
|
+
PaymentResponseStatus$outboundSchema = outboundSchema(PaymentResponseStatus);
|
|
41287
41357
|
Receipt$inboundSchema = objectType({
|
|
41288
41358
|
authorizationCode: nullableType(stringType()).optional(),
|
|
41289
41359
|
applicationIdentifier: nullableType(stringType()).optional(),
|
|
@@ -41458,11 +41528,11 @@ var init_paymentresponse = __esm(() => {
|
|
|
41458
41528
|
mode: Mode$inboundSchema,
|
|
41459
41529
|
description: stringType(),
|
|
41460
41530
|
amount: Amount$inboundSchema,
|
|
41461
|
-
amountRefunded:
|
|
41462
|
-
amountRemaining:
|
|
41463
|
-
amountCaptured:
|
|
41464
|
-
amountChargedBack:
|
|
41465
|
-
settlementAmount:
|
|
41531
|
+
amountRefunded: lazyType(() => AmountRefunded$inboundSchema).optional(),
|
|
41532
|
+
amountRemaining: lazyType(() => AmountRemaining$inboundSchema).optional(),
|
|
41533
|
+
amountCaptured: lazyType(() => AmountCaptured$inboundSchema).optional(),
|
|
41534
|
+
amountChargedBack: lazyType(() => AmountChargedBack$inboundSchema).optional(),
|
|
41535
|
+
settlementAmount: lazyType(() => PaymentResponseSettlementAmount$inboundSchema).optional(),
|
|
41466
41536
|
redirectUrl: nullableType(stringType()).optional(),
|
|
41467
41537
|
cancelUrl: nullableType(stringType()).optional(),
|
|
41468
41538
|
webhookUrl: nullableType(stringType()).optional(),
|
|
@@ -41480,13 +41550,13 @@ var init_paymentresponse = __esm(() => {
|
|
|
41480
41550
|
applicationFee: nullableType(lazyType(() => PaymentResponseApplicationFee$inboundSchema)).optional(),
|
|
41481
41551
|
routing: nullableType(arrayType(EntityPaymentRouteResponse$inboundSchema)).optional(),
|
|
41482
41552
|
sequenceType: SequenceTypeResponse$inboundSchema,
|
|
41483
|
-
subscriptionId: stringType().optional(),
|
|
41484
|
-
mandateId: stringType().optional(),
|
|
41553
|
+
subscriptionId: nullableType(stringType()).optional(),
|
|
41554
|
+
mandateId: nullableType(stringType()).optional(),
|
|
41485
41555
|
customerId: stringType().optional(),
|
|
41486
41556
|
profileId: stringType(),
|
|
41487
|
-
settlementId: stringType().optional(),
|
|
41488
|
-
orderId: stringType().optional(),
|
|
41489
|
-
status:
|
|
41557
|
+
settlementId: nullableType(stringType()).optional(),
|
|
41558
|
+
orderId: nullableType(stringType()).optional(),
|
|
41559
|
+
status: PaymentResponseStatus$inboundSchema,
|
|
41490
41560
|
statusReason: nullableType(StatusReason$inboundSchema).optional(),
|
|
41491
41561
|
isCancelable: nullableType(booleanType()).optional(),
|
|
41492
41562
|
details: nullableType(lazyType(() => PaymentResponseDetails$inboundSchema)).optional(),
|
|
@@ -41509,11 +41579,11 @@ var init_paymentresponse = __esm(() => {
|
|
|
41509
41579
|
mode: Mode$outboundSchema,
|
|
41510
41580
|
description: stringType(),
|
|
41511
41581
|
amount: Amount$outboundSchema,
|
|
41512
|
-
amountRefunded:
|
|
41513
|
-
amountRemaining:
|
|
41514
|
-
amountCaptured:
|
|
41515
|
-
amountChargedBack:
|
|
41516
|
-
settlementAmount:
|
|
41582
|
+
amountRefunded: lazyType(() => AmountRefunded$outboundSchema).optional(),
|
|
41583
|
+
amountRemaining: lazyType(() => AmountRemaining$outboundSchema).optional(),
|
|
41584
|
+
amountCaptured: lazyType(() => AmountCaptured$outboundSchema).optional(),
|
|
41585
|
+
amountChargedBack: lazyType(() => AmountChargedBack$outboundSchema).optional(),
|
|
41586
|
+
settlementAmount: lazyType(() => PaymentResponseSettlementAmount$outboundSchema).optional(),
|
|
41517
41587
|
redirectUrl: nullableType(stringType()).optional(),
|
|
41518
41588
|
cancelUrl: nullableType(stringType()).optional(),
|
|
41519
41589
|
webhookUrl: nullableType(stringType()).optional(),
|
|
@@ -41531,13 +41601,13 @@ var init_paymentresponse = __esm(() => {
|
|
|
41531
41601
|
applicationFee: nullableType(lazyType(() => PaymentResponseApplicationFee$outboundSchema)).optional(),
|
|
41532
41602
|
routing: nullableType(arrayType(EntityPaymentRouteResponse$outboundSchema)).optional(),
|
|
41533
41603
|
sequenceType: SequenceTypeResponse$outboundSchema,
|
|
41534
|
-
subscriptionId: stringType().optional(),
|
|
41535
|
-
mandateId: stringType().optional(),
|
|
41604
|
+
subscriptionId: nullableType(stringType()).optional(),
|
|
41605
|
+
mandateId: nullableType(stringType()).optional(),
|
|
41536
41606
|
customerId: stringType().optional(),
|
|
41537
41607
|
profileId: stringType(),
|
|
41538
|
-
settlementId: stringType().optional(),
|
|
41539
|
-
orderId: stringType().optional(),
|
|
41540
|
-
status:
|
|
41608
|
+
settlementId: nullableType(stringType()).optional(),
|
|
41609
|
+
orderId: nullableType(stringType()).optional(),
|
|
41610
|
+
status: PaymentResponseStatus$outboundSchema,
|
|
41541
41611
|
statusReason: nullableType(StatusReason$outboundSchema).optional(),
|
|
41542
41612
|
isCancelable: nullableType(booleanType()).optional(),
|
|
41543
41613
|
details: nullableType(lazyType(() => PaymentResponseDetails$outboundSchema)).optional(),
|
|
@@ -41560,7 +41630,6 @@ var init_paymentresponse = __esm(() => {
|
|
|
41560
41630
|
var ProfileRequest$inboundSchema, ProfileRequest$outboundSchema;
|
|
41561
41631
|
var init_profilerequest = __esm(() => {
|
|
41562
41632
|
init_esm();
|
|
41563
|
-
init_profilestatus();
|
|
41564
41633
|
ProfileRequest$inboundSchema = objectType({
|
|
41565
41634
|
name: stringType(),
|
|
41566
41635
|
website: stringType(),
|
|
@@ -41568,8 +41637,7 @@ var init_profilerequest = __esm(() => {
|
|
|
41568
41637
|
phone: stringType(),
|
|
41569
41638
|
description: stringType().optional(),
|
|
41570
41639
|
countriesOfActivity: arrayType(stringType()).optional(),
|
|
41571
|
-
businessCategory: stringType().optional()
|
|
41572
|
-
status: ProfileStatus$inboundSchema.optional()
|
|
41640
|
+
businessCategory: stringType().optional()
|
|
41573
41641
|
});
|
|
41574
41642
|
ProfileRequest$outboundSchema = objectType({
|
|
41575
41643
|
name: stringType(),
|
|
@@ -41578,8 +41646,7 @@ var init_profilerequest = __esm(() => {
|
|
|
41578
41646
|
phone: stringType(),
|
|
41579
41647
|
description: stringType().optional(),
|
|
41580
41648
|
countriesOfActivity: arrayType(stringType()).optional(),
|
|
41581
|
-
businessCategory: stringType().optional()
|
|
41582
|
-
status: ProfileStatus$outboundSchema.optional()
|
|
41649
|
+
businessCategory: stringType().optional()
|
|
41583
41650
|
});
|
|
41584
41651
|
});
|
|
41585
41652
|
|
|
@@ -41595,15 +41662,15 @@ var init_refundexternalreferencetype = __esm(() => {
|
|
|
41595
41662
|
});
|
|
41596
41663
|
|
|
41597
41664
|
// src/models/refundrequest.ts
|
|
41598
|
-
var RefundRequestExternalReference$inboundSchema, RefundRequestExternalReference$outboundSchema, RefundRequestSource$inboundSchema, RefundRequestSource$outboundSchema, RefundRequestRoutingReversal$inboundSchema, RefundRequestRoutingReversal$outboundSchema, RefundRequest$inboundSchema, RefundRequest$outboundSchema;
|
|
41665
|
+
var Type, RefundRequestExternalReference$inboundSchema, RefundRequestExternalReference$outboundSchema, Type$inboundSchema, Type$outboundSchema, RefundRequestSource$inboundSchema, RefundRequestSource$outboundSchema, RefundRequestRoutingReversal$inboundSchema, RefundRequestRoutingReversal$outboundSchema, RefundRequest$inboundSchema, RefundRequest$outboundSchema;
|
|
41599
41666
|
var init_refundrequest = __esm(() => {
|
|
41600
41667
|
init_esm();
|
|
41601
41668
|
init_amount();
|
|
41602
|
-
init_amountnullable();
|
|
41603
41669
|
init_metadata();
|
|
41604
41670
|
init_refundexternalreferencetype();
|
|
41605
|
-
|
|
41606
|
-
|
|
41671
|
+
Type = {
|
|
41672
|
+
Organization: "organization"
|
|
41673
|
+
};
|
|
41607
41674
|
RefundRequestExternalReference$inboundSchema = objectType({
|
|
41608
41675
|
type: RefundExternalReferenceType$inboundSchema.optional(),
|
|
41609
41676
|
id: stringType().optional()
|
|
@@ -41612,12 +41679,14 @@ var init_refundrequest = __esm(() => {
|
|
|
41612
41679
|
type: RefundExternalReferenceType$outboundSchema.optional(),
|
|
41613
41680
|
id: stringType().optional()
|
|
41614
41681
|
});
|
|
41682
|
+
Type$inboundSchema = nativeEnumType(Type);
|
|
41683
|
+
Type$outboundSchema = Type$inboundSchema;
|
|
41615
41684
|
RefundRequestSource$inboundSchema = objectType({
|
|
41616
|
-
type:
|
|
41685
|
+
type: Type$inboundSchema.optional(),
|
|
41617
41686
|
organizationId: stringType().optional()
|
|
41618
41687
|
});
|
|
41619
41688
|
RefundRequestSource$outboundSchema = objectType({
|
|
41620
|
-
type:
|
|
41689
|
+
type: Type$outboundSchema.optional(),
|
|
41621
41690
|
organizationId: stringType().optional()
|
|
41622
41691
|
});
|
|
41623
41692
|
RefundRequestRoutingReversal$inboundSchema = objectType({
|
|
@@ -41629,28 +41698,18 @@ var init_refundrequest = __esm(() => {
|
|
|
41629
41698
|
source: lazyType(() => RefundRequestSource$outboundSchema).optional()
|
|
41630
41699
|
});
|
|
41631
41700
|
RefundRequest$inboundSchema = objectType({
|
|
41632
|
-
id: stringType(),
|
|
41633
41701
|
description: stringType(),
|
|
41634
41702
|
amount: Amount$inboundSchema,
|
|
41635
|
-
settlementAmount: nullableType(AmountNullable$inboundSchema).optional(),
|
|
41636
41703
|
metadata: nullableType(Metadata$inboundSchema),
|
|
41637
|
-
paymentId: stringType().optional(),
|
|
41638
|
-
settlementId: stringType().optional(),
|
|
41639
|
-
status: RefundStatus$inboundSchema,
|
|
41640
41704
|
externalReference: lazyType(() => RefundRequestExternalReference$inboundSchema).optional(),
|
|
41641
41705
|
reverseRouting: nullableType(booleanType()).optional(),
|
|
41642
41706
|
routingReversals: nullableType(arrayType(lazyType(() => RefundRequestRoutingReversal$inboundSchema))).optional(),
|
|
41643
41707
|
testmode: nullableType(booleanType()).optional()
|
|
41644
41708
|
});
|
|
41645
41709
|
RefundRequest$outboundSchema = objectType({
|
|
41646
|
-
id: stringType(),
|
|
41647
41710
|
description: stringType(),
|
|
41648
41711
|
amount: Amount$outboundSchema,
|
|
41649
|
-
settlementAmount: nullableType(AmountNullable$outboundSchema).optional(),
|
|
41650
41712
|
metadata: nullableType(Metadata$outboundSchema),
|
|
41651
|
-
paymentId: stringType().optional(),
|
|
41652
|
-
settlementId: stringType().optional(),
|
|
41653
|
-
status: RefundStatus$outboundSchema,
|
|
41654
41713
|
externalReference: lazyType(() => RefundRequestExternalReference$outboundSchema).optional(),
|
|
41655
41714
|
reverseRouting: nullableType(booleanType()).optional(),
|
|
41656
41715
|
routingReversals: nullableType(arrayType(lazyType(() => RefundRequestRoutingReversal$outboundSchema))).optional(),
|
|
@@ -41816,21 +41875,6 @@ var init_subscriptionmethodresponse = __esm(() => {
|
|
|
41816
41875
|
SubscriptionMethodResponse$outboundSchema = outboundSchema(SubscriptionMethodResponse);
|
|
41817
41876
|
});
|
|
41818
41877
|
|
|
41819
|
-
// src/models/subscriptionstatus.ts
|
|
41820
|
-
var SubscriptionStatus, SubscriptionStatus$inboundSchema, SubscriptionStatus$outboundSchema;
|
|
41821
|
-
var init_subscriptionstatus = __esm(() => {
|
|
41822
|
-
init_enums();
|
|
41823
|
-
SubscriptionStatus = {
|
|
41824
|
-
Pending: "pending",
|
|
41825
|
-
Active: "active",
|
|
41826
|
-
Canceled: "canceled",
|
|
41827
|
-
Suspended: "suspended",
|
|
41828
|
-
Completed: "completed"
|
|
41829
|
-
};
|
|
41830
|
-
SubscriptionStatus$inboundSchema = inboundSchema(SubscriptionStatus);
|
|
41831
|
-
SubscriptionStatus$outboundSchema = outboundSchema(SubscriptionStatus);
|
|
41832
|
-
});
|
|
41833
|
-
|
|
41834
41878
|
// src/models/subscriptionrequest.ts
|
|
41835
41879
|
var SubscriptionRequestApplicationFee$inboundSchema, SubscriptionRequestApplicationFee$outboundSchema, SubscriptionRequest$inboundSchema, SubscriptionRequest$outboundSchema;
|
|
41836
41880
|
var init_subscriptionrequest = __esm(() => {
|
|
@@ -41838,7 +41882,6 @@ var init_subscriptionrequest = __esm(() => {
|
|
|
41838
41882
|
init_amount();
|
|
41839
41883
|
init_metadata();
|
|
41840
41884
|
init_subscriptionmethod();
|
|
41841
|
-
init_subscriptionstatus();
|
|
41842
41885
|
SubscriptionRequestApplicationFee$inboundSchema = objectType({
|
|
41843
41886
|
amount: Amount$inboundSchema,
|
|
41844
41887
|
description: stringType()
|
|
@@ -41848,8 +41891,6 @@ var init_subscriptionrequest = __esm(() => {
|
|
|
41848
41891
|
description: stringType()
|
|
41849
41892
|
});
|
|
41850
41893
|
SubscriptionRequest$inboundSchema = objectType({
|
|
41851
|
-
id: stringType().optional(),
|
|
41852
|
-
status: SubscriptionStatus$inboundSchema.optional(),
|
|
41853
41894
|
amount: Amount$inboundSchema.optional(),
|
|
41854
41895
|
times: nullableType(numberType().int()).optional(),
|
|
41855
41896
|
interval: stringType().optional(),
|
|
@@ -41859,13 +41900,10 @@ var init_subscriptionrequest = __esm(() => {
|
|
|
41859
41900
|
applicationFee: lazyType(() => SubscriptionRequestApplicationFee$inboundSchema).optional(),
|
|
41860
41901
|
metadata: nullableType(Metadata$inboundSchema).optional(),
|
|
41861
41902
|
webhookUrl: stringType().optional(),
|
|
41862
|
-
customerId: stringType().optional(),
|
|
41863
41903
|
mandateId: stringType().optional(),
|
|
41864
41904
|
testmode: nullableType(booleanType()).optional()
|
|
41865
41905
|
});
|
|
41866
41906
|
SubscriptionRequest$outboundSchema = objectType({
|
|
41867
|
-
id: stringType().optional(),
|
|
41868
|
-
status: SubscriptionStatus$outboundSchema.optional(),
|
|
41869
41907
|
amount: Amount$outboundSchema.optional(),
|
|
41870
41908
|
times: nullableType(numberType().int()).optional(),
|
|
41871
41909
|
interval: stringType().optional(),
|
|
@@ -41875,24 +41913,32 @@ var init_subscriptionrequest = __esm(() => {
|
|
|
41875
41913
|
applicationFee: lazyType(() => SubscriptionRequestApplicationFee$outboundSchema).optional(),
|
|
41876
41914
|
metadata: nullableType(Metadata$outboundSchema).optional(),
|
|
41877
41915
|
webhookUrl: stringType().optional(),
|
|
41878
|
-
customerId: stringType().optional(),
|
|
41879
41916
|
mandateId: stringType().optional(),
|
|
41880
41917
|
testmode: nullableType(booleanType()).optional()
|
|
41881
41918
|
});
|
|
41882
41919
|
});
|
|
41883
41920
|
|
|
41884
41921
|
// src/models/subscriptionresponse.ts
|
|
41885
|
-
var SubscriptionResponseApplicationFee$inboundSchema, SubscriptionResponseApplicationFee$outboundSchema, SubscriptionResponseLinks$inboundSchema, SubscriptionResponseLinks$outboundSchema, SubscriptionResponse$inboundSchema, SubscriptionResponse$outboundSchema;
|
|
41922
|
+
var SubscriptionResponseStatus, SubscriptionResponseStatus$inboundSchema, SubscriptionResponseStatus$outboundSchema, SubscriptionResponseApplicationFee$inboundSchema, SubscriptionResponseApplicationFee$outboundSchema, SubscriptionResponseLinks$inboundSchema, SubscriptionResponseLinks$outboundSchema, SubscriptionResponse$inboundSchema, SubscriptionResponse$outboundSchema;
|
|
41886
41923
|
var init_subscriptionresponse = __esm(() => {
|
|
41887
41924
|
init_esm();
|
|
41888
41925
|
init_primitives();
|
|
41926
|
+
init_enums();
|
|
41889
41927
|
init_amount();
|
|
41890
41928
|
init_metadata();
|
|
41891
41929
|
init_mode();
|
|
41892
41930
|
init_subscriptionmethodresponse();
|
|
41893
|
-
init_subscriptionstatus();
|
|
41894
41931
|
init_url2();
|
|
41895
41932
|
init_urlnullable();
|
|
41933
|
+
SubscriptionResponseStatus = {
|
|
41934
|
+
Pending: "pending",
|
|
41935
|
+
Active: "active",
|
|
41936
|
+
Canceled: "canceled",
|
|
41937
|
+
Suspended: "suspended",
|
|
41938
|
+
Completed: "completed"
|
|
41939
|
+
};
|
|
41940
|
+
SubscriptionResponseStatus$inboundSchema = inboundSchema(SubscriptionResponseStatus);
|
|
41941
|
+
SubscriptionResponseStatus$outboundSchema = outboundSchema(SubscriptionResponseStatus);
|
|
41896
41942
|
SubscriptionResponseApplicationFee$inboundSchema = objectType({
|
|
41897
41943
|
amount: Amount$inboundSchema,
|
|
41898
41944
|
description: stringType()
|
|
@@ -41921,7 +41967,7 @@ var init_subscriptionresponse = __esm(() => {
|
|
|
41921
41967
|
resource: stringType(),
|
|
41922
41968
|
id: stringType(),
|
|
41923
41969
|
mode: Mode$inboundSchema,
|
|
41924
|
-
status:
|
|
41970
|
+
status: SubscriptionResponseStatus$inboundSchema,
|
|
41925
41971
|
amount: Amount$inboundSchema,
|
|
41926
41972
|
times: nullableType(numberType().int()),
|
|
41927
41973
|
timesRemaining: nullableType(numberType().int()),
|
|
@@ -41947,7 +41993,7 @@ var init_subscriptionresponse = __esm(() => {
|
|
|
41947
41993
|
resource: stringType(),
|
|
41948
41994
|
id: stringType(),
|
|
41949
41995
|
mode: Mode$outboundSchema,
|
|
41950
|
-
status:
|
|
41996
|
+
status: SubscriptionResponseStatus$outboundSchema,
|
|
41951
41997
|
amount: Amount$outboundSchema,
|
|
41952
41998
|
times: nullableType(numberType().int()),
|
|
41953
41999
|
timesRemaining: nullableType(numberType().int()),
|
|
@@ -42013,13 +42059,16 @@ var init_models = __esm(() => {
|
|
|
42013
42059
|
init_address();
|
|
42014
42060
|
init_amount();
|
|
42015
42061
|
init_amountnullable();
|
|
42062
|
+
init_balancecardaudience();
|
|
42063
|
+
init_balancecardissuer();
|
|
42064
|
+
init_balancecardregion();
|
|
42065
|
+
init_balancefeetype();
|
|
42066
|
+
init_balanceprepaymentparttype();
|
|
42016
42067
|
init_balancereportgrouping();
|
|
42017
|
-
init_balancestatus();
|
|
42018
42068
|
init_balancetransactiontype();
|
|
42019
42069
|
init_balancetransfercategory();
|
|
42020
42070
|
init_balancetransfercategoryresponse();
|
|
42021
42071
|
init_balancetransferdestinationtype();
|
|
42022
|
-
init_balancetransferfrequency();
|
|
42023
42072
|
init_balancetransferpartytype();
|
|
42024
42073
|
init_balancetransferpartytyperesponse();
|
|
42025
42074
|
init_balancetransferstatus();
|
|
@@ -42031,7 +42080,6 @@ var init_models = __esm(() => {
|
|
|
42031
42080
|
init_capturemode();
|
|
42032
42081
|
init_capturemoderesponse();
|
|
42033
42082
|
init_captureresponse();
|
|
42034
|
-
init_capturestatus();
|
|
42035
42083
|
init_clientlinkrequest();
|
|
42036
42084
|
init_clientlinkresponse();
|
|
42037
42085
|
init_componentssubtotals();
|
|
@@ -42069,7 +42117,6 @@ var init_models = __esm(() => {
|
|
|
42069
42117
|
init_entitywebhook();
|
|
42070
42118
|
init_entitywebhookevent();
|
|
42071
42119
|
init_errorresponse();
|
|
42072
|
-
init_invoicestatus();
|
|
42073
42120
|
init_linecategories();
|
|
42074
42121
|
init_linecategoriesresponse();
|
|
42075
42122
|
init_listlinks();
|
|
@@ -42080,7 +42127,6 @@ var init_models = __esm(() => {
|
|
|
42080
42127
|
init_mandatemethodresponse();
|
|
42081
42128
|
init_mandaterequest();
|
|
42082
42129
|
init_mandateresponse();
|
|
42083
|
-
init_mandatestatus();
|
|
42084
42130
|
init_metadata();
|
|
42085
42131
|
init_method();
|
|
42086
42132
|
init_methodincludewalletsparameter();
|
|
@@ -42088,7 +42134,6 @@ var init_models = __esm(() => {
|
|
|
42088
42134
|
init_methodresponse();
|
|
42089
42135
|
init_methodstatus();
|
|
42090
42136
|
init_mode();
|
|
42091
|
-
init_onboardingstatus();
|
|
42092
42137
|
init_onboardingvatregulation();
|
|
42093
42138
|
init_organizationvatregulation();
|
|
42094
42139
|
init_paymentaddress();
|
|
@@ -42114,17 +42159,13 @@ var init_models = __esm(() => {
|
|
|
42114
42159
|
init_paymentmethod();
|
|
42115
42160
|
init_paymentrequest();
|
|
42116
42161
|
init_paymentresponse();
|
|
42117
|
-
init_paymentstatus();
|
|
42118
42162
|
init_profilerequest();
|
|
42119
42163
|
init_profileresponse();
|
|
42120
42164
|
init_profilereviewstatusresponse();
|
|
42121
|
-
init_profilestatus();
|
|
42122
42165
|
init_recurringlineitem();
|
|
42123
42166
|
init_refundexternalreferencetype();
|
|
42124
42167
|
init_refundexternalreferencetyperesponse();
|
|
42125
42168
|
init_refundrequest();
|
|
42126
|
-
init_refundroutingreversalssourcetype();
|
|
42127
|
-
init_refundstatus();
|
|
42128
42169
|
init_routecreateresponse();
|
|
42129
42170
|
init_routedestinationtype();
|
|
42130
42171
|
init_routedestinationtyperesponse();
|
|
@@ -42157,7 +42198,6 @@ var init_models = __esm(() => {
|
|
|
42157
42198
|
init_security2();
|
|
42158
42199
|
init_sequencetype();
|
|
42159
42200
|
init_sequencetyperesponse();
|
|
42160
|
-
init_settlementstatus();
|
|
42161
42201
|
init_sorting();
|
|
42162
42202
|
init_statusreason();
|
|
42163
42203
|
init_subgroup();
|
|
@@ -42165,11 +42205,9 @@ var init_models = __esm(() => {
|
|
|
42165
42205
|
init_subscriptionmethodresponse();
|
|
42166
42206
|
init_subscriptionrequest();
|
|
42167
42207
|
init_subscriptionresponse();
|
|
42168
|
-
init_subscriptionstatus();
|
|
42169
42208
|
init_subtotals();
|
|
42170
42209
|
init_terminalbrand();
|
|
42171
42210
|
init_terminalmodel();
|
|
42172
|
-
init_terminalstatus();
|
|
42173
42211
|
init_updatevaluessalesinvoice();
|
|
42174
42212
|
init_url2();
|
|
42175
42213
|
init_urlnullable();
|
|
@@ -42552,7 +42590,6 @@ var init_createpaymentlink = __esm(() => {
|
|
|
42552
42590
|
description: stringType()
|
|
42553
42591
|
});
|
|
42554
42592
|
CreatePaymentLinkRequestBody$inboundSchema = objectType({
|
|
42555
|
-
id: stringType().optional(),
|
|
42556
42593
|
description: stringType(),
|
|
42557
42594
|
amount: nullableType(AmountNullable$inboundSchema).optional(),
|
|
42558
42595
|
minimumAmount: nullableType(AmountNullable$inboundSchema).optional(),
|
|
@@ -42571,7 +42608,6 @@ var init_createpaymentlink = __esm(() => {
|
|
|
42571
42608
|
testmode: nullableType(booleanType()).optional()
|
|
42572
42609
|
});
|
|
42573
42610
|
CreatePaymentLinkRequestBody$outboundSchema = objectType({
|
|
42574
|
-
id: stringType().optional(),
|
|
42575
42611
|
description: stringType(),
|
|
42576
42612
|
amount: nullableType(AmountNullable$outboundSchema).optional(),
|
|
42577
42613
|
minimumAmount: nullableType(AmountNullable$outboundSchema).optional(),
|
|
@@ -43083,13 +43119,13 @@ var init_getclient = __esm(() => {
|
|
|
43083
43119
|
count: numberType().int().optional()
|
|
43084
43120
|
});
|
|
43085
43121
|
GetClientLinks$inboundSchema = objectType({
|
|
43086
|
-
self: Url$inboundSchema
|
|
43122
|
+
self: Url$inboundSchema,
|
|
43087
43123
|
organization: Url$inboundSchema.optional(),
|
|
43088
43124
|
onboarding: Url$inboundSchema.optional(),
|
|
43089
43125
|
documentation: Url$inboundSchema.optional()
|
|
43090
43126
|
});
|
|
43091
43127
|
GetClientLinks$outboundSchema = objectType({
|
|
43092
|
-
self: Url$outboundSchema
|
|
43128
|
+
self: Url$outboundSchema,
|
|
43093
43129
|
organization: Url$outboundSchema.optional(),
|
|
43094
43130
|
onboarding: Url$outboundSchema.optional(),
|
|
43095
43131
|
documentation: Url$outboundSchema.optional()
|
|
@@ -43105,11 +43141,11 @@ var init_getclient = __esm(() => {
|
|
|
43105
43141
|
capabilities: EntityCapability$outboundSchema.optional()
|
|
43106
43142
|
});
|
|
43107
43143
|
GetClientResponse$inboundSchema = objectType({
|
|
43108
|
-
resource: stringType()
|
|
43109
|
-
id: stringType()
|
|
43144
|
+
resource: stringType(),
|
|
43145
|
+
id: stringType(),
|
|
43110
43146
|
commission: nullableType(lazyType(() => GetClientCommission$inboundSchema)).optional(),
|
|
43111
43147
|
organizationCreatedAt: stringType().optional(),
|
|
43112
|
-
_links: lazyType(() => GetClientLinks$inboundSchema)
|
|
43148
|
+
_links: lazyType(() => GetClientLinks$inboundSchema),
|
|
43113
43149
|
_embedded: lazyType(() => GetClientEmbedded$inboundSchema).optional()
|
|
43114
43150
|
}).transform((v2) => {
|
|
43115
43151
|
return remap(v2, {
|
|
@@ -43118,11 +43154,11 @@ var init_getclient = __esm(() => {
|
|
|
43118
43154
|
});
|
|
43119
43155
|
});
|
|
43120
43156
|
GetClientResponse$outboundSchema = objectType({
|
|
43121
|
-
resource: stringType()
|
|
43122
|
-
id: stringType()
|
|
43157
|
+
resource: stringType(),
|
|
43158
|
+
id: stringType(),
|
|
43123
43159
|
commission: nullableType(lazyType(() => GetClientCommission$outboundSchema)).optional(),
|
|
43124
43160
|
organizationCreatedAt: stringType().optional(),
|
|
43125
|
-
links: lazyType(() => GetClientLinks$outboundSchema)
|
|
43161
|
+
links: lazyType(() => GetClientLinks$outboundSchema),
|
|
43126
43162
|
embedded: lazyType(() => GetClientEmbedded$outboundSchema).optional()
|
|
43127
43163
|
}).transform((v2) => {
|
|
43128
43164
|
return remap(v2, {
|
|
@@ -44609,13 +44645,13 @@ var init_listclients = __esm(() => {
|
|
|
44609
44645
|
count: numberType().int().optional()
|
|
44610
44646
|
});
|
|
44611
44647
|
ListClientsLinks$inboundSchema = objectType({
|
|
44612
|
-
self: Url$inboundSchema
|
|
44648
|
+
self: Url$inboundSchema,
|
|
44613
44649
|
organization: Url$inboundSchema.optional(),
|
|
44614
44650
|
onboarding: Url$inboundSchema.optional(),
|
|
44615
44651
|
documentation: Url$inboundSchema.optional()
|
|
44616
44652
|
});
|
|
44617
44653
|
ListClientsLinks$outboundSchema = objectType({
|
|
44618
|
-
self: Url$outboundSchema
|
|
44654
|
+
self: Url$outboundSchema,
|
|
44619
44655
|
organization: Url$outboundSchema.optional(),
|
|
44620
44656
|
onboarding: Url$outboundSchema.optional(),
|
|
44621
44657
|
documentation: Url$outboundSchema.optional()
|
|
@@ -44631,11 +44667,11 @@ var init_listclients = __esm(() => {
|
|
|
44631
44667
|
capabilities: EntityCapability$outboundSchema.optional()
|
|
44632
44668
|
});
|
|
44633
44669
|
Client$inboundSchema = objectType({
|
|
44634
|
-
resource: stringType()
|
|
44635
|
-
id: stringType()
|
|
44670
|
+
resource: stringType(),
|
|
44671
|
+
id: stringType(),
|
|
44636
44672
|
commission: nullableType(lazyType(() => ListClientsCommission$inboundSchema)).optional(),
|
|
44637
44673
|
organizationCreatedAt: stringType().optional(),
|
|
44638
|
-
_links: lazyType(() => ListClientsLinks$inboundSchema)
|
|
44674
|
+
_links: lazyType(() => ListClientsLinks$inboundSchema),
|
|
44639
44675
|
_embedded: lazyType(() => ClientEmbedded$inboundSchema).optional()
|
|
44640
44676
|
}).transform((v2) => {
|
|
44641
44677
|
return remap(v2, {
|
|
@@ -44644,11 +44680,11 @@ var init_listclients = __esm(() => {
|
|
|
44644
44680
|
});
|
|
44645
44681
|
});
|
|
44646
44682
|
Client$outboundSchema = objectType({
|
|
44647
|
-
resource: stringType()
|
|
44648
|
-
id: stringType()
|
|
44683
|
+
resource: stringType(),
|
|
44684
|
+
id: stringType(),
|
|
44649
44685
|
commission: nullableType(lazyType(() => ListClientsCommission$outboundSchema)).optional(),
|
|
44650
44686
|
organizationCreatedAt: stringType().optional(),
|
|
44651
|
-
links: lazyType(() => ListClientsLinks$outboundSchema)
|
|
44687
|
+
links: lazyType(() => ListClientsLinks$outboundSchema),
|
|
44652
44688
|
embedded: lazyType(() => ClientEmbedded$outboundSchema).optional()
|
|
44653
44689
|
}).transform((v2) => {
|
|
44654
44690
|
return remap(v2, {
|
|
@@ -58956,7 +58992,7 @@ Updates the webhook. You may edit the name, url and the list of subscribed event
|
|
|
58956
58992
|
function createMCPServer(deps) {
|
|
58957
58993
|
const server = new McpServer({
|
|
58958
58994
|
name: "Client",
|
|
58959
|
-
version: "0.8.
|
|
58995
|
+
version: "0.8.5"
|
|
58960
58996
|
});
|
|
58961
58997
|
const client = new ClientCore({
|
|
58962
58998
|
security: deps.security,
|
|
@@ -60384,7 +60420,7 @@ var routes = an({
|
|
|
60384
60420
|
var app = He(routes, {
|
|
60385
60421
|
name: "mcp",
|
|
60386
60422
|
versionInfo: {
|
|
60387
|
-
currentVersion: "0.8.
|
|
60423
|
+
currentVersion: "0.8.5"
|
|
60388
60424
|
}
|
|
60389
60425
|
});
|
|
60390
60426
|
zt(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -60392,5 +60428,5 @@ export {
|
|
|
60392
60428
|
app
|
|
60393
60429
|
};
|
|
60394
60430
|
|
|
60395
|
-
//# debugId=
|
|
60431
|
+
//# debugId=31CC90D02280866964756E2164756E21
|
|
60396
60432
|
//# sourceMappingURL=mcp-server.js.map
|