mollie-api-typescript 0.8.7 → 0.9.0
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 +2904 -1108
- package/bin/mcp-server.js.map +82 -66
- package/dist/commonjs/lib/config.d.ts +3 -3
- package/dist/commonjs/lib/config.js +3 -3
- package/dist/commonjs/lib/encodings.d.ts +1 -0
- package/dist/commonjs/lib/encodings.d.ts.map +1 -1
- package/dist/commonjs/lib/encodings.js +9 -0
- package/dist/commonjs/lib/encodings.js.map +1 -1
- package/dist/commonjs/mcp-server/mcp-server.js +1 -1
- package/dist/commonjs/mcp-server/server.js +1 -1
- package/dist/commonjs/models/entitybalance.d.ts +44 -42
- package/dist/commonjs/models/entitybalance.d.ts.map +1 -1
- package/dist/commonjs/models/entitybalance.js +55 -51
- package/dist/commonjs/models/entitybalance.js.map +1 -1
- package/dist/commonjs/models/entitybalancetransfer.d.ts +12 -0
- package/dist/commonjs/models/entitybalancetransfer.d.ts.map +1 -1
- package/dist/commonjs/models/entitybalancetransfer.js +2 -0
- package/dist/commonjs/models/entitybalancetransfer.js.map +1 -1
- package/dist/commonjs/models/entitybalancetransferresponse.d.ts +12 -0
- package/dist/commonjs/models/entitybalancetransferresponse.d.ts.map +1 -1
- package/dist/commonjs/models/entitybalancetransferresponse.js +2 -0
- package/dist/commonjs/models/entitybalancetransferresponse.js.map +1 -1
- package/dist/commonjs/models/entitychargeback.d.ts +8 -8
- package/dist/commonjs/models/entitychargeback.d.ts.map +1 -1
- package/dist/commonjs/models/entitychargeback.js +13 -12
- package/dist/commonjs/models/entitychargeback.js.map +1 -1
- package/dist/commonjs/models/entityinvoice.d.ts +24 -24
- package/dist/commonjs/models/entityinvoice.d.ts.map +1 -1
- package/dist/commonjs/models/entityinvoice.js +31 -31
- package/dist/commonjs/models/entityinvoice.js.map +1 -1
- package/dist/commonjs/models/entitysettlement.d.ts +32 -32
- package/dist/commonjs/models/entitysettlement.d.ts.map +1 -1
- package/dist/commonjs/models/entitysettlement.js +43 -43
- package/dist/commonjs/models/entitysettlement.js.map +1 -1
- package/dist/commonjs/models/index.d.ts +18 -2
- package/dist/commonjs/models/index.d.ts.map +1 -1
- package/dist/commonjs/models/index.js +18 -2
- package/dist/commonjs/models/index.js.map +1 -1
- package/dist/commonjs/models/listcaptureresponse.d.ts +183 -0
- package/dist/commonjs/models/listcaptureresponse.d.ts.map +1 -0
- package/dist/commonjs/models/listcaptureresponse.js +149 -0
- package/dist/commonjs/models/listcaptureresponse.js.map +1 -0
- package/dist/commonjs/models/listcustomerresponse.d.ts +107 -0
- package/dist/commonjs/models/listcustomerresponse.d.ts.map +1 -0
- package/dist/commonjs/models/listcustomerresponse.js +112 -0
- package/dist/commonjs/models/listcustomerresponse.js.map +1 -0
- package/dist/commonjs/models/listentitybalance.d.ts +300 -0
- package/dist/commonjs/models/listentitybalance.d.ts.map +1 -0
- package/dist/commonjs/models/listentitybalance.js +245 -0
- package/dist/commonjs/models/listentitybalance.js.map +1 -0
- package/dist/commonjs/models/listentitychargeback.d.ts +175 -0
- package/dist/commonjs/models/listentitychargeback.d.ts.map +1 -0
- package/dist/commonjs/models/listentitychargeback.js +146 -0
- package/dist/commonjs/models/listentitychargeback.js.map +1 -0
- package/dist/commonjs/models/listentityinvoice.d.ts +236 -0
- package/dist/commonjs/models/listentityinvoice.d.ts.map +1 -0
- package/dist/commonjs/models/listentityinvoice.js +202 -0
- package/dist/commonjs/models/listentityinvoice.js.map +1 -0
- package/dist/commonjs/models/listentitymethod.d.ts +316 -0
- package/dist/commonjs/models/listentitymethod.d.ts.map +1 -0
- package/dist/commonjs/models/listentitymethod.js +261 -0
- package/dist/commonjs/models/listentitymethod.js.map +1 -0
- package/dist/commonjs/models/{entitymethodall.d.ts → listentitymethodall.d.ts} +60 -60
- package/dist/commonjs/models/listentitymethodall.d.ts.map +1 -0
- package/dist/commonjs/models/listentitymethodall.js +288 -0
- package/dist/commonjs/models/listentitymethodall.js.map +1 -0
- package/dist/commonjs/models/listentitypermission.d.ts +63 -0
- package/dist/commonjs/models/listentitypermission.d.ts.map +1 -0
- package/dist/commonjs/models/listentitypermission.js +92 -0
- package/dist/commonjs/models/listentitypermission.js.map +1 -0
- package/dist/commonjs/models/listentityrefundresponse.d.ts +256 -0
- package/dist/commonjs/models/listentityrefundresponse.d.ts.map +1 -0
- package/dist/commonjs/models/listentityrefundresponse.js +203 -0
- package/dist/commonjs/models/listentityrefundresponse.js.map +1 -0
- package/dist/commonjs/models/listentitysettlement.d.ts +321 -0
- package/dist/commonjs/models/listentitysettlement.d.ts.map +1 -0
- package/dist/commonjs/models/listentitysettlement.js +248 -0
- package/dist/commonjs/models/listentitysettlement.js.map +1 -0
- package/dist/commonjs/models/listentityterminal.d.ts +130 -0
- package/dist/commonjs/models/listentityterminal.d.ts.map +1 -0
- package/dist/commonjs/models/listentityterminal.js +124 -0
- package/dist/commonjs/models/listentityterminal.js.map +1 -0
- package/dist/commonjs/models/listentitywebhook.d.ts +91 -0
- package/dist/commonjs/models/listentitywebhook.d.ts.map +1 -0
- package/dist/commonjs/models/listentitywebhook.js +105 -0
- package/dist/commonjs/models/listentitywebhook.js.map +1 -0
- package/dist/commonjs/models/listmandateresponse.d.ts +176 -0
- package/dist/commonjs/models/listmandateresponse.d.ts.map +1 -0
- package/dist/commonjs/models/listmandateresponse.js +157 -0
- package/dist/commonjs/models/listmandateresponse.js.map +1 -0
- package/dist/commonjs/models/listpaymentresponse.d.ts +1348 -0
- package/dist/commonjs/models/listpaymentresponse.d.ts.map +1 -0
- package/dist/commonjs/models/listpaymentresponse.js +620 -0
- package/dist/commonjs/models/listpaymentresponse.js.map +1 -0
- package/dist/commonjs/models/listprofileresponse.d.ts +202 -0
- package/dist/commonjs/models/listprofileresponse.d.ts.map +1 -0
- package/dist/commonjs/models/listprofileresponse.js +159 -0
- package/dist/commonjs/models/listprofileresponse.js.map +1 -0
- package/dist/commonjs/models/{routegetresponse.d.ts → listroutegetresponse.d.ts} +23 -28
- package/dist/commonjs/models/listroutegetresponse.d.ts.map +1 -0
- package/dist/commonjs/models/{routegetresponse.js → listroutegetresponse.js} +30 -32
- package/dist/commonjs/models/listroutegetresponse.js.map +1 -0
- package/dist/commonjs/models/listsalesinvoiceresponse.d.ts +375 -0
- package/dist/commonjs/models/listsalesinvoiceresponse.d.ts.map +1 -0
- package/dist/commonjs/models/listsalesinvoiceresponse.js +267 -0
- package/dist/commonjs/models/listsalesinvoiceresponse.js.map +1 -0
- package/dist/commonjs/models/listsubscriptionresponse.d.ts +249 -0
- package/dist/commonjs/models/listsubscriptionresponse.d.ts.map +1 -0
- package/dist/commonjs/models/listsubscriptionresponse.js +171 -0
- package/dist/commonjs/models/listsubscriptionresponse.js.map +1 -0
- package/dist/commonjs/models/operations/listallmethods.d.ts +2 -2
- package/dist/commonjs/models/operations/listallmethods.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listallmethods.js +2 -2
- package/dist/commonjs/models/operations/listallmethods.js.map +1 -1
- package/dist/commonjs/models/operations/listbalances.d.ts +2 -2
- package/dist/commonjs/models/operations/listbalances.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listbalances.js +2 -2
- package/dist/commonjs/models/operations/listbalances.js.map +1 -1
- package/dist/commonjs/models/operations/listclients.d.ts +0 -5
- package/dist/commonjs/models/operations/listclients.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listclients.js +0 -2
- package/dist/commonjs/models/operations/listclients.js.map +1 -1
- package/dist/commonjs/models/operations/listcustomers.d.ts +2 -2
- package/dist/commonjs/models/operations/listcustomers.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listcustomers.js +2 -2
- package/dist/commonjs/models/operations/listcustomers.js.map +1 -1
- package/dist/commonjs/models/operations/listinvoices.d.ts +2 -11
- package/dist/commonjs/models/operations/listinvoices.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listinvoices.js +3 -15
- package/dist/commonjs/models/operations/listinvoices.js.map +1 -1
- package/dist/commonjs/models/operations/listmandates.d.ts +2 -2
- package/dist/commonjs/models/operations/listmandates.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listmandates.js +2 -2
- package/dist/commonjs/models/operations/listmandates.js.map +1 -1
- package/dist/commonjs/models/operations/listmethods.d.ts +2 -2
- package/dist/commonjs/models/operations/listmethods.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listmethods.js +2 -2
- package/dist/commonjs/models/operations/listmethods.js.map +1 -1
- package/dist/commonjs/models/operations/listpermissions.d.ts +2 -2
- package/dist/commonjs/models/operations/listpermissions.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listpermissions.js +2 -2
- package/dist/commonjs/models/operations/listpermissions.js.map +1 -1
- package/dist/commonjs/models/operations/listprofiles.d.ts +2 -2
- package/dist/commonjs/models/operations/listprofiles.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listprofiles.js +2 -2
- package/dist/commonjs/models/operations/listprofiles.js.map +1 -1
- package/dist/commonjs/models/operations/listsalesinvoices.d.ts +2 -2
- package/dist/commonjs/models/operations/listsalesinvoices.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listsalesinvoices.js +4 -2
- package/dist/commonjs/models/operations/listsalesinvoices.js.map +1 -1
- package/dist/commonjs/models/operations/listsettlementcaptures.d.ts +2 -2
- package/dist/commonjs/models/operations/listsettlementcaptures.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listsettlementcaptures.js +2 -2
- package/dist/commonjs/models/operations/listsettlementcaptures.js.map +1 -1
- package/dist/commonjs/models/operations/listsettlementchargebacks.d.ts +2 -2
- package/dist/commonjs/models/operations/listsettlementchargebacks.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listsettlementchargebacks.js +2 -2
- package/dist/commonjs/models/operations/listsettlementchargebacks.js.map +1 -1
- package/dist/commonjs/models/operations/listsettlementpayments.d.ts +2 -2
- package/dist/commonjs/models/operations/listsettlementpayments.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listsettlementpayments.js +2 -2
- package/dist/commonjs/models/operations/listsettlementpayments.js.map +1 -1
- package/dist/commonjs/models/operations/listsettlementrefunds.d.ts +2 -2
- package/dist/commonjs/models/operations/listsettlementrefunds.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listsettlementrefunds.js +2 -2
- package/dist/commonjs/models/operations/listsettlementrefunds.js.map +1 -1
- package/dist/commonjs/models/operations/listsettlements.d.ts +2 -2
- package/dist/commonjs/models/operations/listsettlements.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listsettlements.js +2 -2
- package/dist/commonjs/models/operations/listsettlements.js.map +1 -1
- package/dist/commonjs/models/operations/listsubscriptions.d.ts +2 -2
- package/dist/commonjs/models/operations/listsubscriptions.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listsubscriptions.js +4 -2
- package/dist/commonjs/models/operations/listsubscriptions.js.map +1 -1
- package/dist/commonjs/models/operations/listterminals.d.ts +2 -2
- package/dist/commonjs/models/operations/listterminals.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listterminals.js +2 -2
- package/dist/commonjs/models/operations/listterminals.js.map +1 -1
- package/dist/commonjs/models/operations/listwebhooks.d.ts +2 -2
- package/dist/commonjs/models/operations/listwebhooks.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listwebhooks.js +2 -2
- package/dist/commonjs/models/operations/listwebhooks.js.map +1 -1
- package/dist/commonjs/models/operations/paymentlistroutes.d.ts +2 -2
- package/dist/commonjs/models/operations/paymentlistroutes.d.ts.map +1 -1
- package/dist/commonjs/models/operations/paymentlistroutes.js +2 -2
- package/dist/commonjs/models/operations/paymentlistroutes.js.map +1 -1
- package/dist/commonjs/models/paymentdetailswalletresponse.d.ts +3 -0
- package/dist/commonjs/models/paymentdetailswalletresponse.d.ts.map +1 -1
- package/dist/commonjs/models/paymentdetailswalletresponse.js +3 -0
- package/dist/commonjs/models/paymentdetailswalletresponse.js.map +1 -1
- package/dist/commonjs/models/paymentresponse.d.ts +48 -48
- package/dist/commonjs/models/paymentresponse.d.ts.map +1 -1
- package/dist/commonjs/models/paymentresponse.js +67 -62
- package/dist/commonjs/models/paymentresponse.js.map +1 -1
- package/dist/commonjs/models/profileresponse.d.ts +8 -8
- package/dist/commonjs/models/profileresponse.d.ts.map +1 -1
- package/dist/commonjs/models/profileresponse.js +11 -12
- package/dist/commonjs/models/profileresponse.js.map +1 -1
- package/dist/commonjs/models/salesinvoiceresponse.d.ts +40 -40
- package/dist/commonjs/models/salesinvoiceresponse.d.ts.map +1 -1
- package/dist/commonjs/models/salesinvoiceresponse.js +56 -51
- package/dist/commonjs/models/salesinvoiceresponse.js.map +1 -1
- package/dist/commonjs/types/unrecognized.d.ts +7 -1
- package/dist/commonjs/types/unrecognized.d.ts.map +1 -1
- package/dist/commonjs/types/unrecognized.js +9 -1
- package/dist/commonjs/types/unrecognized.js.map +1 -1
- package/dist/esm/lib/config.d.ts +3 -3
- package/dist/esm/lib/config.js +3 -3
- package/dist/esm/lib/encodings.d.ts +1 -0
- package/dist/esm/lib/encodings.d.ts.map +1 -1
- package/dist/esm/lib/encodings.js +9 -0
- package/dist/esm/lib/encodings.js.map +1 -1
- package/dist/esm/mcp-server/mcp-server.js +1 -1
- package/dist/esm/mcp-server/server.js +1 -1
- package/dist/esm/models/entitybalance.d.ts +44 -42
- package/dist/esm/models/entitybalance.d.ts.map +1 -1
- package/dist/esm/models/entitybalance.js +46 -42
- package/dist/esm/models/entitybalance.js.map +1 -1
- package/dist/esm/models/entitybalancetransfer.d.ts +12 -0
- package/dist/esm/models/entitybalancetransfer.d.ts.map +1 -1
- package/dist/esm/models/entitybalancetransfer.js +2 -0
- package/dist/esm/models/entitybalancetransfer.js.map +1 -1
- package/dist/esm/models/entitybalancetransferresponse.d.ts +12 -0
- package/dist/esm/models/entitybalancetransferresponse.d.ts.map +1 -1
- package/dist/esm/models/entitybalancetransferresponse.js +2 -0
- package/dist/esm/models/entitybalancetransferresponse.js.map +1 -1
- package/dist/esm/models/entitychargeback.d.ts +8 -8
- package/dist/esm/models/entitychargeback.d.ts.map +1 -1
- package/dist/esm/models/entitychargeback.js +10 -9
- package/dist/esm/models/entitychargeback.js.map +1 -1
- package/dist/esm/models/entityinvoice.d.ts +24 -24
- package/dist/esm/models/entityinvoice.d.ts.map +1 -1
- package/dist/esm/models/entityinvoice.js +24 -24
- package/dist/esm/models/entityinvoice.js.map +1 -1
- package/dist/esm/models/entitysettlement.d.ts +32 -32
- package/dist/esm/models/entitysettlement.d.ts.map +1 -1
- package/dist/esm/models/entitysettlement.js +34 -34
- package/dist/esm/models/entitysettlement.js.map +1 -1
- package/dist/esm/models/index.d.ts +18 -2
- package/dist/esm/models/index.d.ts.map +1 -1
- package/dist/esm/models/index.js +18 -2
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/listcaptureresponse.d.ts +183 -0
- package/dist/esm/models/listcaptureresponse.d.ts.map +1 -0
- package/dist/esm/models/listcaptureresponse.js +107 -0
- package/dist/esm/models/listcaptureresponse.js.map +1 -0
- package/dist/esm/models/listcustomerresponse.d.ts +107 -0
- package/dist/esm/models/listcustomerresponse.d.ts.map +1 -0
- package/dist/esm/models/listcustomerresponse.js +72 -0
- package/dist/esm/models/listcustomerresponse.js.map +1 -0
- package/dist/esm/models/listentitybalance.d.ts +300 -0
- package/dist/esm/models/listentitybalance.d.ts.map +1 -0
- package/dist/esm/models/listentitybalance.js +197 -0
- package/dist/esm/models/listentitybalance.js.map +1 -0
- package/dist/esm/models/listentitychargeback.d.ts +175 -0
- package/dist/esm/models/listentitychargeback.d.ts.map +1 -0
- package/dist/esm/models/listentitychargeback.js +102 -0
- package/dist/esm/models/listentitychargeback.js.map +1 -0
- package/dist/esm/models/listentityinvoice.d.ts +236 -0
- package/dist/esm/models/listentityinvoice.d.ts.map +1 -0
- package/dist/esm/models/listentityinvoice.js +154 -0
- package/dist/esm/models/listentityinvoice.js.map +1 -0
- package/dist/esm/models/listentitymethod.d.ts +316 -0
- package/dist/esm/models/listentitymethod.d.ts.map +1 -0
- package/dist/esm/models/listentitymethod.js +211 -0
- package/dist/esm/models/listentitymethod.js.map +1 -0
- package/dist/esm/models/{entitymethodall.d.ts → listentitymethodall.d.ts} +60 -60
- package/dist/esm/models/listentitymethodall.d.ts.map +1 -0
- package/dist/esm/models/listentitymethodall.js +236 -0
- package/dist/esm/models/listentitymethodall.js.map +1 -0
- package/dist/esm/models/listentitypermission.d.ts +63 -0
- package/dist/esm/models/listentitypermission.d.ts.map +1 -0
- package/dist/esm/models/listentitypermission.js +52 -0
- package/dist/esm/models/listentitypermission.js.map +1 -0
- package/dist/esm/models/listentityrefundresponse.d.ts +256 -0
- package/dist/esm/models/listentityrefundresponse.d.ts.map +1 -0
- package/dist/esm/models/listentityrefundresponse.js +155 -0
- package/dist/esm/models/listentityrefundresponse.js.map +1 -0
- package/dist/esm/models/listentitysettlement.d.ts +321 -0
- package/dist/esm/models/listentitysettlement.d.ts.map +1 -0
- package/dist/esm/models/listentitysettlement.js +198 -0
- package/dist/esm/models/listentitysettlement.js.map +1 -0
- package/dist/esm/models/listentityterminal.d.ts +130 -0
- package/dist/esm/models/listentityterminal.d.ts.map +1 -0
- package/dist/esm/models/listentityterminal.js +84 -0
- package/dist/esm/models/listentityterminal.js.map +1 -0
- package/dist/esm/models/listentitywebhook.d.ts +91 -0
- package/dist/esm/models/listentitywebhook.d.ts.map +1 -0
- package/dist/esm/models/listentitywebhook.js +65 -0
- package/dist/esm/models/listentitywebhook.js.map +1 -0
- package/dist/esm/models/listmandateresponse.d.ts +176 -0
- package/dist/esm/models/listmandateresponse.d.ts.map +1 -0
- package/dist/esm/models/listmandateresponse.js +115 -0
- package/dist/esm/models/listmandateresponse.js.map +1 -0
- package/dist/esm/models/listpaymentresponse.d.ts +1348 -0
- package/dist/esm/models/listpaymentresponse.d.ts.map +1 -0
- package/dist/esm/models/listpaymentresponse.js +558 -0
- package/dist/esm/models/listpaymentresponse.js.map +1 -0
- package/dist/esm/models/listprofileresponse.d.ts +202 -0
- package/dist/esm/models/listprofileresponse.d.ts.map +1 -0
- package/dist/esm/models/listprofileresponse.js +117 -0
- package/dist/esm/models/listprofileresponse.js.map +1 -0
- package/dist/esm/models/{routegetresponse.d.ts → listroutegetresponse.d.ts} +23 -28
- package/dist/esm/models/listroutegetresponse.d.ts.map +1 -0
- package/dist/esm/models/listroutegetresponse.js +76 -0
- package/dist/esm/models/listroutegetresponse.js.map +1 -0
- package/dist/esm/models/listsalesinvoiceresponse.d.ts +375 -0
- package/dist/esm/models/listsalesinvoiceresponse.d.ts.map +1 -0
- package/dist/esm/models/listsalesinvoiceresponse.js +215 -0
- package/dist/esm/models/listsalesinvoiceresponse.js.map +1 -0
- package/dist/esm/models/listsubscriptionresponse.d.ts +249 -0
- package/dist/esm/models/listsubscriptionresponse.d.ts.map +1 -0
- package/dist/esm/models/listsubscriptionresponse.js +129 -0
- package/dist/esm/models/listsubscriptionresponse.js.map +1 -0
- package/dist/esm/models/operations/listallmethods.d.ts +2 -2
- package/dist/esm/models/operations/listallmethods.d.ts.map +1 -1
- package/dist/esm/models/operations/listallmethods.js +2 -2
- package/dist/esm/models/operations/listallmethods.js.map +1 -1
- package/dist/esm/models/operations/listbalances.d.ts +2 -2
- package/dist/esm/models/operations/listbalances.d.ts.map +1 -1
- package/dist/esm/models/operations/listbalances.js +2 -2
- package/dist/esm/models/operations/listbalances.js.map +1 -1
- package/dist/esm/models/operations/listclients.d.ts +0 -5
- package/dist/esm/models/operations/listclients.d.ts.map +1 -1
- package/dist/esm/models/operations/listclients.js +0 -2
- package/dist/esm/models/operations/listclients.js.map +1 -1
- package/dist/esm/models/operations/listcustomers.d.ts +2 -2
- package/dist/esm/models/operations/listcustomers.d.ts.map +1 -1
- package/dist/esm/models/operations/listcustomers.js +2 -2
- package/dist/esm/models/operations/listcustomers.js.map +1 -1
- package/dist/esm/models/operations/listinvoices.d.ts +2 -11
- package/dist/esm/models/operations/listinvoices.d.ts.map +1 -1
- package/dist/esm/models/operations/listinvoices.js +2 -12
- package/dist/esm/models/operations/listinvoices.js.map +1 -1
- package/dist/esm/models/operations/listmandates.d.ts +2 -2
- package/dist/esm/models/operations/listmandates.d.ts.map +1 -1
- package/dist/esm/models/operations/listmandates.js +2 -2
- package/dist/esm/models/operations/listmandates.js.map +1 -1
- package/dist/esm/models/operations/listmethods.d.ts +2 -2
- package/dist/esm/models/operations/listmethods.d.ts.map +1 -1
- package/dist/esm/models/operations/listmethods.js +2 -2
- package/dist/esm/models/operations/listmethods.js.map +1 -1
- package/dist/esm/models/operations/listpermissions.d.ts +2 -2
- package/dist/esm/models/operations/listpermissions.d.ts.map +1 -1
- package/dist/esm/models/operations/listpermissions.js +2 -2
- package/dist/esm/models/operations/listpermissions.js.map +1 -1
- package/dist/esm/models/operations/listprofiles.d.ts +2 -2
- package/dist/esm/models/operations/listprofiles.d.ts.map +1 -1
- package/dist/esm/models/operations/listprofiles.js +2 -2
- package/dist/esm/models/operations/listprofiles.js.map +1 -1
- package/dist/esm/models/operations/listsalesinvoices.d.ts +2 -2
- package/dist/esm/models/operations/listsalesinvoices.d.ts.map +1 -1
- package/dist/esm/models/operations/listsalesinvoices.js +4 -2
- package/dist/esm/models/operations/listsalesinvoices.js.map +1 -1
- package/dist/esm/models/operations/listsettlementcaptures.d.ts +2 -2
- package/dist/esm/models/operations/listsettlementcaptures.d.ts.map +1 -1
- package/dist/esm/models/operations/listsettlementcaptures.js +2 -2
- package/dist/esm/models/operations/listsettlementcaptures.js.map +1 -1
- package/dist/esm/models/operations/listsettlementchargebacks.d.ts +2 -2
- package/dist/esm/models/operations/listsettlementchargebacks.d.ts.map +1 -1
- package/dist/esm/models/operations/listsettlementchargebacks.js +2 -2
- package/dist/esm/models/operations/listsettlementchargebacks.js.map +1 -1
- package/dist/esm/models/operations/listsettlementpayments.d.ts +2 -2
- package/dist/esm/models/operations/listsettlementpayments.d.ts.map +1 -1
- package/dist/esm/models/operations/listsettlementpayments.js +2 -2
- package/dist/esm/models/operations/listsettlementpayments.js.map +1 -1
- package/dist/esm/models/operations/listsettlementrefunds.d.ts +2 -2
- package/dist/esm/models/operations/listsettlementrefunds.d.ts.map +1 -1
- package/dist/esm/models/operations/listsettlementrefunds.js +2 -2
- package/dist/esm/models/operations/listsettlementrefunds.js.map +1 -1
- package/dist/esm/models/operations/listsettlements.d.ts +2 -2
- package/dist/esm/models/operations/listsettlements.d.ts.map +1 -1
- package/dist/esm/models/operations/listsettlements.js +2 -2
- package/dist/esm/models/operations/listsettlements.js.map +1 -1
- package/dist/esm/models/operations/listsubscriptions.d.ts +2 -2
- package/dist/esm/models/operations/listsubscriptions.d.ts.map +1 -1
- package/dist/esm/models/operations/listsubscriptions.js +4 -2
- package/dist/esm/models/operations/listsubscriptions.js.map +1 -1
- package/dist/esm/models/operations/listterminals.d.ts +2 -2
- package/dist/esm/models/operations/listterminals.d.ts.map +1 -1
- package/dist/esm/models/operations/listterminals.js +2 -2
- package/dist/esm/models/operations/listterminals.js.map +1 -1
- package/dist/esm/models/operations/listwebhooks.d.ts +2 -2
- package/dist/esm/models/operations/listwebhooks.d.ts.map +1 -1
- package/dist/esm/models/operations/listwebhooks.js +2 -2
- package/dist/esm/models/operations/listwebhooks.js.map +1 -1
- package/dist/esm/models/operations/paymentlistroutes.d.ts +2 -2
- package/dist/esm/models/operations/paymentlistroutes.d.ts.map +1 -1
- package/dist/esm/models/operations/paymentlistroutes.js +2 -2
- package/dist/esm/models/operations/paymentlistroutes.js.map +1 -1
- package/dist/esm/models/paymentdetailswalletresponse.d.ts +3 -0
- package/dist/esm/models/paymentdetailswalletresponse.d.ts.map +1 -1
- package/dist/esm/models/paymentdetailswalletresponse.js +3 -0
- package/dist/esm/models/paymentdetailswalletresponse.js.map +1 -1
- package/dist/esm/models/paymentresponse.d.ts +48 -48
- package/dist/esm/models/paymentresponse.d.ts.map +1 -1
- package/dist/esm/models/paymentresponse.js +54 -49
- package/dist/esm/models/paymentresponse.js.map +1 -1
- package/dist/esm/models/profileresponse.d.ts +8 -8
- package/dist/esm/models/profileresponse.d.ts.map +1 -1
- package/dist/esm/models/profileresponse.js +8 -9
- package/dist/esm/models/profileresponse.js.map +1 -1
- package/dist/esm/models/salesinvoiceresponse.d.ts +40 -40
- package/dist/esm/models/salesinvoiceresponse.d.ts.map +1 -1
- package/dist/esm/models/salesinvoiceresponse.js +45 -40
- package/dist/esm/models/salesinvoiceresponse.js.map +1 -1
- package/dist/esm/types/unrecognized.d.ts +7 -1
- package/dist/esm/types/unrecognized.d.ts.map +1 -1
- package/dist/esm/types/unrecognized.js +9 -1
- package/dist/esm/types/unrecognized.js.map +1 -1
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/lib/config.ts +3 -3
- package/src/lib/encodings.ts +13 -0
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/entitybalance.ts +114 -93
- package/src/models/entitybalancetransfer.ts +10 -0
- package/src/models/entitybalancetransferresponse.ts +10 -0
- package/src/models/entitychargeback.ts +29 -20
- package/src/models/entityinvoice.ts +63 -51
- package/src/models/entitysettlement.ts +140 -96
- package/src/models/index.ts +18 -2
- package/src/models/listcaptureresponse.ts +361 -0
- package/src/models/listcustomerresponse.ts +223 -0
- package/src/models/listentitybalance.ts +598 -0
- package/src/models/listentitychargeback.ts +361 -0
- package/src/models/listentityinvoice.ts +492 -0
- package/src/models/listentitymethod.ts +605 -0
- package/src/models/{entitymethodall.ts → listentitymethodall.ts} +139 -135
- package/src/models/listentitypermission.ts +149 -0
- package/src/models/listentityrefundresponse.ts +585 -0
- package/src/models/listentitysettlement.ts +651 -0
- package/src/models/listentityterminal.ts +253 -0
- package/src/models/listentitywebhook.ts +195 -0
- package/src/models/listmandateresponse.ts +343 -0
- package/src/models/listpaymentresponse.ts +2225 -0
- package/src/models/listprofileresponse.ts +365 -0
- package/src/models/{routegetresponse.ts → listroutegetresponse.ts} +51 -58
- package/src/models/listsalesinvoiceresponse.ts +799 -0
- package/src/models/listsubscriptionresponse.ts +447 -0
- package/src/models/operations/listallmethods.ts +4 -4
- package/src/models/operations/listbalances.ts +4 -4
- package/src/models/operations/listclients.ts +0 -7
- package/src/models/operations/listcustomers.ts +4 -4
- package/src/models/operations/listinvoices.ts +4 -32
- package/src/models/operations/listmandates.ts +4 -4
- package/src/models/operations/listmethods.ts +4 -4
- package/src/models/operations/listpermissions.ts +4 -4
- package/src/models/operations/listprofiles.ts +4 -4
- package/src/models/operations/listsalesinvoices.ts +6 -4
- package/src/models/operations/listsettlementcaptures.ts +4 -4
- package/src/models/operations/listsettlementchargebacks.ts +4 -4
- package/src/models/operations/listsettlementpayments.ts +4 -4
- package/src/models/operations/listsettlementrefunds.ts +4 -4
- package/src/models/operations/listsettlements.ts +4 -4
- package/src/models/operations/listsubscriptions.ts +6 -4
- package/src/models/operations/listterminals.ts +4 -4
- package/src/models/operations/listwebhooks.ts +4 -4
- package/src/models/operations/paymentlistroutes.ts +4 -4
- package/src/models/paymentdetailswalletresponse.ts +3 -0
- package/src/models/paymentresponse.ts +159 -117
- package/src/models/profileresponse.ts +26 -19
- package/src/models/salesinvoiceresponse.ts +149 -97
- package/src/types/unrecognized.ts +9 -1
- package/tsconfig.json +1 -2
- package/dist/commonjs/models/entitymethodall.d.ts.map +0 -1
- package/dist/commonjs/models/entitymethodall.js +0 -288
- package/dist/commonjs/models/entitymethodall.js.map +0 -1
- package/dist/commonjs/models/routegetresponse.d.ts.map +0 -1
- package/dist/commonjs/models/routegetresponse.js.map +0 -1
- package/dist/esm/models/entitymethodall.d.ts.map +0 -1
- package/dist/esm/models/entitymethodall.js +0 -236
- package/dist/esm/models/entitymethodall.js.map +0 -1
- package/dist/esm/models/routegetresponse.d.ts.map +0 -1
- package/dist/esm/models/routegetresponse.js +0 -78
- package/dist/esm/models/routegetresponse.js.map +0 -1
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.
|
|
34128
|
-
genVersion: "2.
|
|
34129
|
-
userAgent: "speakeasy-sdk/typescript 0.
|
|
34127
|
+
sdkVersion: "0.9.0",
|
|
34128
|
+
genVersion: "2.770.0",
|
|
34129
|
+
userAgent: "speakeasy-sdk/typescript 0.9.0 2.770.0 1.0.0 mollie-api-typescript"
|
|
34130
34130
|
};
|
|
34131
34131
|
});
|
|
34132
34132
|
|
|
@@ -34558,7 +34558,13 @@ function queryEncoder(f) {
|
|
|
34558
34558
|
explode: options?.explode ?? true,
|
|
34559
34559
|
charEncoding: options?.charEncoding ?? "percent"
|
|
34560
34560
|
};
|
|
34561
|
+
const allowEmptySet = new Set(options?.allowEmptyValue ?? []);
|
|
34561
34562
|
const encoded = Object.entries(values).map(([key, value]) => {
|
|
34563
|
+
if (allowEmptySet.has(key)) {
|
|
34564
|
+
if (value === undefined || value === null || value === "" || Array.isArray(value) && value.length === 0) {
|
|
34565
|
+
return `${encodeURIComponent(key)}=`;
|
|
34566
|
+
}
|
|
34567
|
+
}
|
|
34562
34568
|
return f(key, value, opts);
|
|
34563
34569
|
});
|
|
34564
34570
|
return queryJoin(...encoded);
|
|
@@ -36866,7 +36872,7 @@ var init_deletevaluessalesinvoice = __esm(() => {
|
|
|
36866
36872
|
});
|
|
36867
36873
|
|
|
36868
36874
|
// src/models/entitybalance.ts
|
|
36869
|
-
var
|
|
36875
|
+
var EntityBalanceCurrency, EntityBalanceStatus, EntityBalanceTransferFrequency, EntityBalanceCurrency$inboundSchema, EntityBalanceCurrency$outboundSchema, EntityBalanceStatus$inboundSchema, EntityBalanceStatus$outboundSchema, EntityBalanceTransferFrequency$inboundSchema, EntityBalanceTransferFrequency$outboundSchema, EntityBalanceTransferThreshold$inboundSchema, EntityBalanceTransferThreshold$outboundSchema, EntityBalanceTransferDestination$inboundSchema, EntityBalanceTransferDestination$outboundSchema, EntityBalanceAvailableAmount$inboundSchema, EntityBalanceAvailableAmount$outboundSchema, EntityBalancePendingAmount$inboundSchema, EntityBalancePendingAmount$outboundSchema, EntityBalanceLinks$inboundSchema, EntityBalanceLinks$outboundSchema, EntityBalance$inboundSchema, EntityBalance$outboundSchema;
|
|
36870
36876
|
var init_entitybalance = __esm(() => {
|
|
36871
36877
|
init_esm();
|
|
36872
36878
|
init_primitives();
|
|
@@ -36874,7 +36880,7 @@ var init_entitybalance = __esm(() => {
|
|
|
36874
36880
|
init_balancetransferdestinationtype();
|
|
36875
36881
|
init_mode();
|
|
36876
36882
|
init_url2();
|
|
36877
|
-
|
|
36883
|
+
EntityBalanceCurrency = {
|
|
36878
36884
|
Eur: "EUR",
|
|
36879
36885
|
Gbp: "GBP",
|
|
36880
36886
|
Chf: "CHF",
|
|
@@ -36892,7 +36898,8 @@ var init_entitybalance = __esm(() => {
|
|
|
36892
36898
|
Active: "active",
|
|
36893
36899
|
Inactive: "inactive"
|
|
36894
36900
|
};
|
|
36895
|
-
|
|
36901
|
+
EntityBalanceTransferFrequency = {
|
|
36902
|
+
EveryDay: "every-day",
|
|
36896
36903
|
Daily: "daily",
|
|
36897
36904
|
EveryMonday: "every-monday",
|
|
36898
36905
|
EveryTuesday: "every-tuesday",
|
|
@@ -36900,45 +36907,46 @@ var init_entitybalance = __esm(() => {
|
|
|
36900
36907
|
EveryThursday: "every-thursday",
|
|
36901
36908
|
EveryFriday: "every-friday",
|
|
36902
36909
|
Monthly: "monthly",
|
|
36910
|
+
RevenueDay: "revenue-day",
|
|
36903
36911
|
Never: "never"
|
|
36904
36912
|
};
|
|
36905
|
-
|
|
36906
|
-
|
|
36913
|
+
EntityBalanceCurrency$inboundSchema = inboundSchema(EntityBalanceCurrency);
|
|
36914
|
+
EntityBalanceCurrency$outboundSchema = outboundSchema(EntityBalanceCurrency);
|
|
36907
36915
|
EntityBalanceStatus$inboundSchema = inboundSchema(EntityBalanceStatus);
|
|
36908
36916
|
EntityBalanceStatus$outboundSchema = outboundSchema(EntityBalanceStatus);
|
|
36909
|
-
|
|
36910
|
-
|
|
36911
|
-
|
|
36917
|
+
EntityBalanceTransferFrequency$inboundSchema = inboundSchema(EntityBalanceTransferFrequency);
|
|
36918
|
+
EntityBalanceTransferFrequency$outboundSchema = outboundSchema(EntityBalanceTransferFrequency);
|
|
36919
|
+
EntityBalanceTransferThreshold$inboundSchema = objectType({
|
|
36912
36920
|
currency: stringType(),
|
|
36913
36921
|
value: stringType()
|
|
36914
36922
|
});
|
|
36915
|
-
|
|
36923
|
+
EntityBalanceTransferThreshold$outboundSchema = objectType({
|
|
36916
36924
|
currency: stringType(),
|
|
36917
36925
|
value: stringType()
|
|
36918
36926
|
});
|
|
36919
|
-
|
|
36927
|
+
EntityBalanceTransferDestination$inboundSchema = objectType({
|
|
36920
36928
|
type: BalanceTransferDestinationType$inboundSchema.optional(),
|
|
36921
36929
|
bankAccount: stringType().optional(),
|
|
36922
36930
|
beneficiaryName: stringType().optional()
|
|
36923
36931
|
});
|
|
36924
|
-
|
|
36932
|
+
EntityBalanceTransferDestination$outboundSchema = objectType({
|
|
36925
36933
|
type: BalanceTransferDestinationType$outboundSchema.optional(),
|
|
36926
36934
|
bankAccount: stringType().optional(),
|
|
36927
36935
|
beneficiaryName: stringType().optional()
|
|
36928
36936
|
});
|
|
36929
|
-
|
|
36937
|
+
EntityBalanceAvailableAmount$inboundSchema = objectType({
|
|
36930
36938
|
currency: stringType(),
|
|
36931
36939
|
value: stringType()
|
|
36932
36940
|
});
|
|
36933
|
-
|
|
36941
|
+
EntityBalanceAvailableAmount$outboundSchema = objectType({
|
|
36934
36942
|
currency: stringType(),
|
|
36935
36943
|
value: stringType()
|
|
36936
36944
|
});
|
|
36937
|
-
|
|
36945
|
+
EntityBalancePendingAmount$inboundSchema = objectType({
|
|
36938
36946
|
currency: stringType(),
|
|
36939
36947
|
value: stringType()
|
|
36940
36948
|
});
|
|
36941
|
-
|
|
36949
|
+
EntityBalancePendingAmount$outboundSchema = objectType({
|
|
36942
36950
|
currency: stringType(),
|
|
36943
36951
|
value: stringType()
|
|
36944
36952
|
});
|
|
@@ -36955,15 +36963,15 @@ var init_entitybalance = __esm(() => {
|
|
|
36955
36963
|
id: stringType(),
|
|
36956
36964
|
mode: Mode$inboundSchema,
|
|
36957
36965
|
createdAt: stringType(),
|
|
36958
|
-
currency:
|
|
36966
|
+
currency: EntityBalanceCurrency$inboundSchema,
|
|
36959
36967
|
description: stringType(),
|
|
36960
36968
|
status: EntityBalanceStatus$inboundSchema,
|
|
36961
|
-
transferFrequency:
|
|
36962
|
-
transferThreshold: lazyType(() =>
|
|
36969
|
+
transferFrequency: EntityBalanceTransferFrequency$inboundSchema.optional(),
|
|
36970
|
+
transferThreshold: lazyType(() => EntityBalanceTransferThreshold$inboundSchema).optional(),
|
|
36963
36971
|
transferReference: nullableType(stringType()).optional(),
|
|
36964
|
-
transferDestination: nullableType(lazyType(() =>
|
|
36965
|
-
availableAmount: lazyType(() =>
|
|
36966
|
-
pendingAmount: lazyType(() =>
|
|
36972
|
+
transferDestination: nullableType(lazyType(() => EntityBalanceTransferDestination$inboundSchema)).optional(),
|
|
36973
|
+
availableAmount: lazyType(() => EntityBalanceAvailableAmount$inboundSchema),
|
|
36974
|
+
pendingAmount: lazyType(() => EntityBalancePendingAmount$inboundSchema),
|
|
36967
36975
|
_links: lazyType(() => EntityBalanceLinks$inboundSchema)
|
|
36968
36976
|
}).transform((v2) => {
|
|
36969
36977
|
return remap(v2, {
|
|
@@ -36975,15 +36983,15 @@ var init_entitybalance = __esm(() => {
|
|
|
36975
36983
|
id: stringType(),
|
|
36976
36984
|
mode: Mode$outboundSchema,
|
|
36977
36985
|
createdAt: stringType(),
|
|
36978
|
-
currency:
|
|
36986
|
+
currency: EntityBalanceCurrency$outboundSchema,
|
|
36979
36987
|
description: stringType(),
|
|
36980
36988
|
status: EntityBalanceStatus$outboundSchema,
|
|
36981
|
-
transferFrequency:
|
|
36982
|
-
transferThreshold: lazyType(() =>
|
|
36989
|
+
transferFrequency: EntityBalanceTransferFrequency$outboundSchema.optional(),
|
|
36990
|
+
transferThreshold: lazyType(() => EntityBalanceTransferThreshold$outboundSchema).optional(),
|
|
36983
36991
|
transferReference: nullableType(stringType()).optional(),
|
|
36984
|
-
transferDestination: nullableType(lazyType(() =>
|
|
36985
|
-
availableAmount: lazyType(() =>
|
|
36986
|
-
pendingAmount: lazyType(() =>
|
|
36992
|
+
transferDestination: nullableType(lazyType(() => EntityBalanceTransferDestination$outboundSchema)).optional(),
|
|
36993
|
+
availableAmount: lazyType(() => EntityBalanceAvailableAmount$outboundSchema),
|
|
36994
|
+
pendingAmount: lazyType(() => EntityBalancePendingAmount$outboundSchema),
|
|
36987
36995
|
links: lazyType(() => EntityBalanceLinks$outboundSchema)
|
|
36988
36996
|
}).transform((v2) => {
|
|
36989
36997
|
return remap(v2, {
|
|
@@ -37706,6 +37714,7 @@ var init_entitybalancetransfer = __esm(() => {
|
|
|
37706
37714
|
destination: EntityBalanceTransferParty$inboundSchema,
|
|
37707
37715
|
description: stringType(),
|
|
37708
37716
|
category: BalanceTransferCategory$inboundSchema.optional(),
|
|
37717
|
+
metadata: recordType(anyType()).optional(),
|
|
37709
37718
|
testmode: nullableType(booleanType()).optional()
|
|
37710
37719
|
});
|
|
37711
37720
|
EntityBalanceTransfer$outboundSchema = objectType({
|
|
@@ -37714,6 +37723,7 @@ var init_entitybalancetransfer = __esm(() => {
|
|
|
37714
37723
|
destination: EntityBalanceTransferParty$outboundSchema,
|
|
37715
37724
|
description: stringType(),
|
|
37716
37725
|
category: BalanceTransferCategory$outboundSchema.optional(),
|
|
37726
|
+
metadata: recordType(anyType()).optional(),
|
|
37717
37727
|
testmode: nullableType(booleanType()).optional()
|
|
37718
37728
|
});
|
|
37719
37729
|
});
|
|
@@ -37763,6 +37773,7 @@ var init_entitybalancetransferresponse = __esm(() => {
|
|
|
37763
37773
|
status: BalanceTransferStatus$inboundSchema,
|
|
37764
37774
|
statusReason: lazyType(() => EntityBalanceTransferResponseStatusReason$inboundSchema),
|
|
37765
37775
|
category: BalanceTransferCategoryResponse$inboundSchema.optional(),
|
|
37776
|
+
metadata: recordType(anyType()).optional(),
|
|
37766
37777
|
createdAt: stringType(),
|
|
37767
37778
|
executedAt: nullableType(stringType()).optional(),
|
|
37768
37779
|
mode: Mode$inboundSchema
|
|
@@ -37777,6 +37788,7 @@ var init_entitybalancetransferresponse = __esm(() => {
|
|
|
37777
37788
|
status: BalanceTransferStatus$outboundSchema,
|
|
37778
37789
|
statusReason: lazyType(() => EntityBalanceTransferResponseStatusReason$outboundSchema),
|
|
37779
37790
|
category: BalanceTransferCategoryResponse$outboundSchema.optional(),
|
|
37791
|
+
metadata: recordType(anyType()).optional(),
|
|
37780
37792
|
createdAt: stringType(),
|
|
37781
37793
|
executedAt: nullableType(stringType()).optional(),
|
|
37782
37794
|
mode: Mode$outboundSchema
|
|
@@ -37860,7 +37872,7 @@ var init_entitycapture = __esm(() => {
|
|
|
37860
37872
|
});
|
|
37861
37873
|
|
|
37862
37874
|
// src/models/entitychargeback.ts
|
|
37863
|
-
var EntityChargebackSettlementAmount$inboundSchema, EntityChargebackSettlementAmount$outboundSchema,
|
|
37875
|
+
var EntityChargebackSettlementAmount$inboundSchema, EntityChargebackSettlementAmount$outboundSchema, EntityChargebackReason$inboundSchema, EntityChargebackReason$outboundSchema, EntityChargebackLinks$inboundSchema, EntityChargebackLinks$outboundSchema, EntityChargeback$inboundSchema, EntityChargeback$outboundSchema;
|
|
37864
37876
|
var init_entitychargeback = __esm(() => {
|
|
37865
37877
|
init_esm();
|
|
37866
37878
|
init_primitives();
|
|
@@ -37875,11 +37887,11 @@ var init_entitychargeback = __esm(() => {
|
|
|
37875
37887
|
currency: stringType(),
|
|
37876
37888
|
value: stringType()
|
|
37877
37889
|
});
|
|
37878
|
-
|
|
37890
|
+
EntityChargebackReason$inboundSchema = objectType({
|
|
37879
37891
|
code: stringType(),
|
|
37880
37892
|
description: stringType()
|
|
37881
37893
|
});
|
|
37882
|
-
|
|
37894
|
+
EntityChargebackReason$outboundSchema = objectType({
|
|
37883
37895
|
code: stringType(),
|
|
37884
37896
|
description: stringType()
|
|
37885
37897
|
});
|
|
@@ -37900,7 +37912,7 @@ var init_entitychargeback = __esm(() => {
|
|
|
37900
37912
|
id: stringType(),
|
|
37901
37913
|
amount: Amount$inboundSchema,
|
|
37902
37914
|
settlementAmount: nullableType(lazyType(() => EntityChargebackSettlementAmount$inboundSchema)).optional(),
|
|
37903
|
-
reason: nullableType(lazyType(() =>
|
|
37915
|
+
reason: nullableType(lazyType(() => EntityChargebackReason$inboundSchema)).optional(),
|
|
37904
37916
|
paymentId: stringType(),
|
|
37905
37917
|
settlementId: nullableType(stringType()).optional(),
|
|
37906
37918
|
createdAt: stringType(),
|
|
@@ -37916,7 +37928,7 @@ var init_entitychargeback = __esm(() => {
|
|
|
37916
37928
|
id: stringType(),
|
|
37917
37929
|
amount: Amount$outboundSchema,
|
|
37918
37930
|
settlementAmount: nullableType(lazyType(() => EntityChargebackSettlementAmount$outboundSchema)).optional(),
|
|
37919
|
-
reason: nullableType(lazyType(() =>
|
|
37931
|
+
reason: nullableType(lazyType(() => EntityChargebackReason$outboundSchema)).optional(),
|
|
37920
37932
|
paymentId: stringType(),
|
|
37921
37933
|
settlementId: nullableType(stringType()).optional(),
|
|
37922
37934
|
createdAt: stringType(),
|
|
@@ -37988,7 +38000,7 @@ var init_entityevent = __esm(() => {
|
|
|
37988
38000
|
});
|
|
37989
38001
|
|
|
37990
38002
|
// src/models/entityinvoice.ts
|
|
37991
|
-
var EntityInvoiceStatus, EntityInvoiceStatus$inboundSchema, EntityInvoiceStatus$outboundSchema,
|
|
38003
|
+
var EntityInvoiceStatus, EntityInvoiceStatus$inboundSchema, EntityInvoiceStatus$outboundSchema, EntityInvoiceNetAmount$inboundSchema, EntityInvoiceNetAmount$outboundSchema, EntityInvoiceVatAmount$inboundSchema, EntityInvoiceVatAmount$outboundSchema, EntityInvoiceGrossAmount$inboundSchema, EntityInvoiceGrossAmount$outboundSchema, EntityInvoiceLine$inboundSchema, EntityInvoiceLine$outboundSchema, EntityInvoiceLinks$inboundSchema, EntityInvoiceLinks$outboundSchema, EntityInvoice$inboundSchema, EntityInvoice$outboundSchema;
|
|
37992
38004
|
var init_entityinvoice = __esm(() => {
|
|
37993
38005
|
init_esm();
|
|
37994
38006
|
init_primitives();
|
|
@@ -38002,27 +38014,27 @@ var init_entityinvoice = __esm(() => {
|
|
|
38002
38014
|
};
|
|
38003
38015
|
EntityInvoiceStatus$inboundSchema = inboundSchema(EntityInvoiceStatus);
|
|
38004
38016
|
EntityInvoiceStatus$outboundSchema = outboundSchema(EntityInvoiceStatus);
|
|
38005
|
-
|
|
38017
|
+
EntityInvoiceNetAmount$inboundSchema = objectType({
|
|
38006
38018
|
currency: stringType(),
|
|
38007
38019
|
value: stringType()
|
|
38008
38020
|
});
|
|
38009
|
-
|
|
38021
|
+
EntityInvoiceNetAmount$outboundSchema = objectType({
|
|
38010
38022
|
currency: stringType(),
|
|
38011
38023
|
value: stringType()
|
|
38012
38024
|
});
|
|
38013
|
-
|
|
38025
|
+
EntityInvoiceVatAmount$inboundSchema = objectType({
|
|
38014
38026
|
currency: stringType(),
|
|
38015
38027
|
value: stringType()
|
|
38016
38028
|
});
|
|
38017
|
-
|
|
38029
|
+
EntityInvoiceVatAmount$outboundSchema = objectType({
|
|
38018
38030
|
currency: stringType(),
|
|
38019
38031
|
value: stringType()
|
|
38020
38032
|
});
|
|
38021
|
-
|
|
38033
|
+
EntityInvoiceGrossAmount$inboundSchema = objectType({
|
|
38022
38034
|
currency: stringType(),
|
|
38023
38035
|
value: stringType()
|
|
38024
38036
|
});
|
|
38025
|
-
|
|
38037
|
+
EntityInvoiceGrossAmount$outboundSchema = objectType({
|
|
38026
38038
|
currency: stringType(),
|
|
38027
38039
|
value: stringType()
|
|
38028
38040
|
});
|
|
@@ -38056,9 +38068,9 @@ var init_entityinvoice = __esm(() => {
|
|
|
38056
38068
|
reference: stringType(),
|
|
38057
38069
|
vatNumber: nullableType(stringType()),
|
|
38058
38070
|
status: EntityInvoiceStatus$inboundSchema,
|
|
38059
|
-
netAmount: lazyType(() =>
|
|
38060
|
-
vatAmount: lazyType(() =>
|
|
38061
|
-
grossAmount: lazyType(() =>
|
|
38071
|
+
netAmount: lazyType(() => EntityInvoiceNetAmount$inboundSchema),
|
|
38072
|
+
vatAmount: lazyType(() => EntityInvoiceVatAmount$inboundSchema),
|
|
38073
|
+
grossAmount: lazyType(() => EntityInvoiceGrossAmount$inboundSchema),
|
|
38062
38074
|
lines: arrayType(lazyType(() => EntityInvoiceLine$inboundSchema)),
|
|
38063
38075
|
issuedAt: stringType(),
|
|
38064
38076
|
paidAt: nullableType(stringType()).optional(),
|
|
@@ -38075,9 +38087,9 @@ var init_entityinvoice = __esm(() => {
|
|
|
38075
38087
|
reference: stringType(),
|
|
38076
38088
|
vatNumber: nullableType(stringType()),
|
|
38077
38089
|
status: EntityInvoiceStatus$outboundSchema,
|
|
38078
|
-
netAmount: lazyType(() =>
|
|
38079
|
-
vatAmount: lazyType(() =>
|
|
38080
|
-
grossAmount: lazyType(() =>
|
|
38090
|
+
netAmount: lazyType(() => EntityInvoiceNetAmount$outboundSchema),
|
|
38091
|
+
vatAmount: lazyType(() => EntityInvoiceVatAmount$outboundSchema),
|
|
38092
|
+
grossAmount: lazyType(() => EntityInvoiceGrossAmount$outboundSchema),
|
|
38081
38093
|
lines: arrayType(lazyType(() => EntityInvoiceLine$outboundSchema)),
|
|
38082
38094
|
issuedAt: stringType(),
|
|
38083
38095
|
paidAt: nullableType(stringType()).optional(),
|
|
@@ -38243,159 +38255,6 @@ var init_entitymethod = __esm(() => {
|
|
|
38243
38255
|
});
|
|
38244
38256
|
});
|
|
38245
38257
|
|
|
38246
|
-
// src/models/entitymethodall.ts
|
|
38247
|
-
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;
|
|
38248
|
-
var init_entitymethodall = __esm(() => {
|
|
38249
|
-
init_esm();
|
|
38250
|
-
init_primitives();
|
|
38251
|
-
init_enums();
|
|
38252
|
-
init_amount();
|
|
38253
|
-
init_methodstatus();
|
|
38254
|
-
init_url2();
|
|
38255
|
-
EntityMethodAllId = {
|
|
38256
|
-
Alma: "alma",
|
|
38257
|
-
Applepay: "applepay",
|
|
38258
|
-
Bacs: "bacs",
|
|
38259
|
-
Bancomatpay: "bancomatpay",
|
|
38260
|
-
Bancontact: "bancontact",
|
|
38261
|
-
Banktransfer: "banktransfer",
|
|
38262
|
-
Belfius: "belfius",
|
|
38263
|
-
Billie: "billie",
|
|
38264
|
-
Bizum: "bizum",
|
|
38265
|
-
Blik: "blik",
|
|
38266
|
-
Creditcard: "creditcard",
|
|
38267
|
-
Directdebit: "directdebit",
|
|
38268
|
-
Eps: "eps",
|
|
38269
|
-
Giftcard: "giftcard",
|
|
38270
|
-
Ideal: "ideal",
|
|
38271
|
-
In3: "in3",
|
|
38272
|
-
Kbc: "kbc",
|
|
38273
|
-
Klarna: "klarna",
|
|
38274
|
-
Mbway: "mbway",
|
|
38275
|
-
Mobilepay: "mobilepay",
|
|
38276
|
-
Multibanco: "multibanco",
|
|
38277
|
-
Mybank: "mybank",
|
|
38278
|
-
Paybybank: "paybybank",
|
|
38279
|
-
Payconiq: "payconiq",
|
|
38280
|
-
Paypal: "paypal",
|
|
38281
|
-
Paysafecard: "paysafecard",
|
|
38282
|
-
Pointofsale: "pointofsale",
|
|
38283
|
-
Przelewy24: "przelewy24",
|
|
38284
|
-
Riverty: "riverty",
|
|
38285
|
-
Satispay: "satispay",
|
|
38286
|
-
Swish: "swish",
|
|
38287
|
-
Trustly: "trustly",
|
|
38288
|
-
Twint: "twint",
|
|
38289
|
-
Vipps: "vipps",
|
|
38290
|
-
Voucher: "voucher",
|
|
38291
|
-
Klarnapaylater: "klarnapaylater",
|
|
38292
|
-
Klarnapaynow: "klarnapaynow",
|
|
38293
|
-
Klarnasliceit: "klarnasliceit"
|
|
38294
|
-
};
|
|
38295
|
-
EntityMethodAllId$inboundSchema = inboundSchema(EntityMethodAllId);
|
|
38296
|
-
EntityMethodAllId$outboundSchema = outboundSchema(EntityMethodAllId);
|
|
38297
|
-
EntityMethodAllMinimumAmount$inboundSchema = objectType({
|
|
38298
|
-
currency: stringType(),
|
|
38299
|
-
value: stringType()
|
|
38300
|
-
});
|
|
38301
|
-
EntityMethodAllMinimumAmount$outboundSchema = objectType({
|
|
38302
|
-
currency: stringType(),
|
|
38303
|
-
value: stringType()
|
|
38304
|
-
});
|
|
38305
|
-
EntityMethodAllMaximumAmount$inboundSchema = objectType({
|
|
38306
|
-
currency: stringType(),
|
|
38307
|
-
value: stringType()
|
|
38308
|
-
});
|
|
38309
|
-
EntityMethodAllMaximumAmount$outboundSchema = objectType({
|
|
38310
|
-
currency: stringType(),
|
|
38311
|
-
value: stringType()
|
|
38312
|
-
});
|
|
38313
|
-
EntityMethodAllImage$inboundSchema = objectType({
|
|
38314
|
-
size1x: stringType(),
|
|
38315
|
-
size2x: stringType(),
|
|
38316
|
-
svg: stringType()
|
|
38317
|
-
});
|
|
38318
|
-
EntityMethodAllImage$outboundSchema = objectType({
|
|
38319
|
-
size1x: stringType(),
|
|
38320
|
-
size2x: stringType(),
|
|
38321
|
-
svg: stringType()
|
|
38322
|
-
});
|
|
38323
|
-
EntityMethodAllIssuerImage$inboundSchema = objectType({
|
|
38324
|
-
size1x: stringType().optional(),
|
|
38325
|
-
size2x: stringType().optional(),
|
|
38326
|
-
svg: stringType().optional()
|
|
38327
|
-
});
|
|
38328
|
-
EntityMethodAllIssuerImage$outboundSchema = objectType({
|
|
38329
|
-
size1x: stringType().optional(),
|
|
38330
|
-
size2x: stringType().optional(),
|
|
38331
|
-
svg: stringType().optional()
|
|
38332
|
-
});
|
|
38333
|
-
EntityMethodAllIssuer$inboundSchema = objectType({
|
|
38334
|
-
resource: stringType(),
|
|
38335
|
-
id: stringType(),
|
|
38336
|
-
name: stringType(),
|
|
38337
|
-
image: lazyType(() => EntityMethodAllIssuerImage$inboundSchema)
|
|
38338
|
-
});
|
|
38339
|
-
EntityMethodAllIssuer$outboundSchema = objectType({
|
|
38340
|
-
resource: stringType(),
|
|
38341
|
-
id: stringType(),
|
|
38342
|
-
name: stringType(),
|
|
38343
|
-
image: lazyType(() => EntityMethodAllIssuerImage$outboundSchema)
|
|
38344
|
-
});
|
|
38345
|
-
EntityMethodAllLinks$inboundSchema = objectType({
|
|
38346
|
-
self: Url$inboundSchema,
|
|
38347
|
-
documentation: Url$inboundSchema.optional()
|
|
38348
|
-
});
|
|
38349
|
-
EntityMethodAllLinks$outboundSchema = objectType({
|
|
38350
|
-
self: Url$outboundSchema,
|
|
38351
|
-
documentation: Url$outboundSchema.optional()
|
|
38352
|
-
});
|
|
38353
|
-
Pricing$inboundSchema = objectType({
|
|
38354
|
-
description: stringType(),
|
|
38355
|
-
fixed: Amount$inboundSchema,
|
|
38356
|
-
variable: stringType(),
|
|
38357
|
-
feeRegion: nullableType(stringType()).optional()
|
|
38358
|
-
});
|
|
38359
|
-
Pricing$outboundSchema = objectType({
|
|
38360
|
-
description: stringType(),
|
|
38361
|
-
fixed: Amount$outboundSchema,
|
|
38362
|
-
variable: stringType(),
|
|
38363
|
-
feeRegion: nullableType(stringType()).optional()
|
|
38364
|
-
});
|
|
38365
|
-
EntityMethodAll$inboundSchema = objectType({
|
|
38366
|
-
resource: stringType(),
|
|
38367
|
-
id: nullableType(EntityMethodAllId$inboundSchema),
|
|
38368
|
-
description: stringType(),
|
|
38369
|
-
minimumAmount: lazyType(() => EntityMethodAllMinimumAmount$inboundSchema),
|
|
38370
|
-
maximumAmount: nullableType(lazyType(() => EntityMethodAllMaximumAmount$inboundSchema)),
|
|
38371
|
-
image: lazyType(() => EntityMethodAllImage$inboundSchema),
|
|
38372
|
-
status: MethodStatus$inboundSchema,
|
|
38373
|
-
issuers: arrayType(lazyType(() => EntityMethodAllIssuer$inboundSchema)).optional(),
|
|
38374
|
-
_links: lazyType(() => EntityMethodAllLinks$inboundSchema),
|
|
38375
|
-
pricing: arrayType(lazyType(() => Pricing$inboundSchema)).optional()
|
|
38376
|
-
}).transform((v2) => {
|
|
38377
|
-
return remap(v2, {
|
|
38378
|
-
_links: "links"
|
|
38379
|
-
});
|
|
38380
|
-
});
|
|
38381
|
-
EntityMethodAll$outboundSchema = objectType({
|
|
38382
|
-
resource: stringType(),
|
|
38383
|
-
id: nullableType(EntityMethodAllId$outboundSchema),
|
|
38384
|
-
description: stringType(),
|
|
38385
|
-
minimumAmount: lazyType(() => EntityMethodAllMinimumAmount$outboundSchema),
|
|
38386
|
-
maximumAmount: nullableType(lazyType(() => EntityMethodAllMaximumAmount$outboundSchema)),
|
|
38387
|
-
image: lazyType(() => EntityMethodAllImage$outboundSchema),
|
|
38388
|
-
status: MethodStatus$outboundSchema,
|
|
38389
|
-
issuers: arrayType(lazyType(() => EntityMethodAllIssuer$outboundSchema)).optional(),
|
|
38390
|
-
links: lazyType(() => EntityMethodAllLinks$outboundSchema),
|
|
38391
|
-
pricing: arrayType(lazyType(() => Pricing$outboundSchema)).optional()
|
|
38392
|
-
}).transform((v2) => {
|
|
38393
|
-
return remap(v2, {
|
|
38394
|
-
links: "_links"
|
|
38395
|
-
});
|
|
38396
|
-
});
|
|
38397
|
-
});
|
|
38398
|
-
|
|
38399
38258
|
// src/models/entityonboardingstatus.ts
|
|
38400
38259
|
var EntityOnboardingStatusStatus, EntityOnboardingStatusStatus$inboundSchema, EntityOnboardingStatusStatus$outboundSchema, EntityOnboardingStatusLinks$inboundSchema, EntityOnboardingStatusLinks$outboundSchema, EntityOnboardingStatus$inboundSchema, EntityOnboardingStatus$outboundSchema;
|
|
38401
38260
|
var init_entityonboardingstatus = __esm(() => {
|
|
@@ -38850,7 +38709,7 @@ var init_entityroute = __esm(() => {
|
|
|
38850
38709
|
});
|
|
38851
38710
|
|
|
38852
38711
|
// src/models/entitysettlement.ts
|
|
38853
|
-
var EntitySettlementStatus, EntitySettlementStatus$inboundSchema, EntitySettlementStatus$outboundSchema, EntitySettlementAmount$inboundSchema, EntitySettlementAmount$outboundSchema,
|
|
38712
|
+
var EntitySettlementStatus, EntitySettlementStatus$inboundSchema, EntitySettlementStatus$outboundSchema, EntitySettlementAmount$inboundSchema, EntitySettlementAmount$outboundSchema, EntitySettlementRate$inboundSchema, EntitySettlementRate$outboundSchema, EntitySettlementCost$inboundSchema, EntitySettlementCost$outboundSchema, EntitySettlementRevenue$inboundSchema, EntitySettlementRevenue$outboundSchema, EntitySettlementPeriods$inboundSchema, EntitySettlementPeriods$outboundSchema, EntitySettlementLinks$inboundSchema, EntitySettlementLinks$outboundSchema, EntitySettlement$inboundSchema, EntitySettlement$outboundSchema;
|
|
38854
38713
|
var init_entitysettlement = __esm(() => {
|
|
38855
38714
|
init_esm();
|
|
38856
38715
|
init_primitives();
|
|
@@ -38876,33 +38735,33 @@ var init_entitysettlement = __esm(() => {
|
|
|
38876
38735
|
currency: stringType(),
|
|
38877
38736
|
value: stringType()
|
|
38878
38737
|
});
|
|
38879
|
-
|
|
38738
|
+
EntitySettlementRate$inboundSchema = objectType({
|
|
38880
38739
|
fixed: Amount$inboundSchema.optional(),
|
|
38881
38740
|
percentage: stringType().optional()
|
|
38882
38741
|
});
|
|
38883
|
-
|
|
38742
|
+
EntitySettlementRate$outboundSchema = objectType({
|
|
38884
38743
|
fixed: Amount$outboundSchema.optional(),
|
|
38885
38744
|
percentage: stringType().optional()
|
|
38886
38745
|
});
|
|
38887
|
-
|
|
38746
|
+
EntitySettlementCost$inboundSchema = objectType({
|
|
38888
38747
|
description: stringType(),
|
|
38889
38748
|
method: nullableType(PaymentMethod$inboundSchema),
|
|
38890
38749
|
count: numberType().int(),
|
|
38891
|
-
rate: lazyType(() =>
|
|
38750
|
+
rate: lazyType(() => EntitySettlementRate$inboundSchema),
|
|
38892
38751
|
amountNet: Amount$inboundSchema,
|
|
38893
38752
|
amountVat: nullableType(AmountNullable$inboundSchema),
|
|
38894
38753
|
amountGross: Amount$inboundSchema
|
|
38895
38754
|
});
|
|
38896
|
-
|
|
38755
|
+
EntitySettlementCost$outboundSchema = objectType({
|
|
38897
38756
|
description: stringType(),
|
|
38898
38757
|
method: nullableType(PaymentMethod$outboundSchema),
|
|
38899
38758
|
count: numberType().int(),
|
|
38900
|
-
rate: lazyType(() =>
|
|
38759
|
+
rate: lazyType(() => EntitySettlementRate$outboundSchema),
|
|
38901
38760
|
amountNet: Amount$outboundSchema,
|
|
38902
38761
|
amountVat: nullableType(AmountNullable$outboundSchema),
|
|
38903
38762
|
amountGross: Amount$outboundSchema
|
|
38904
38763
|
});
|
|
38905
|
-
|
|
38764
|
+
EntitySettlementRevenue$inboundSchema = objectType({
|
|
38906
38765
|
description: stringType(),
|
|
38907
38766
|
method: nullableType(PaymentMethod$inboundSchema),
|
|
38908
38767
|
count: numberType().int(),
|
|
@@ -38910,7 +38769,7 @@ var init_entitysettlement = __esm(() => {
|
|
|
38910
38769
|
amountVat: nullableType(AmountNullable$inboundSchema),
|
|
38911
38770
|
amountGross: Amount$inboundSchema
|
|
38912
38771
|
});
|
|
38913
|
-
|
|
38772
|
+
EntitySettlementRevenue$outboundSchema = objectType({
|
|
38914
38773
|
description: stringType(),
|
|
38915
38774
|
method: nullableType(PaymentMethod$outboundSchema),
|
|
38916
38775
|
count: numberType().int(),
|
|
@@ -38918,15 +38777,15 @@ var init_entitysettlement = __esm(() => {
|
|
|
38918
38777
|
amountVat: nullableType(AmountNullable$outboundSchema),
|
|
38919
38778
|
amountGross: Amount$outboundSchema
|
|
38920
38779
|
});
|
|
38921
|
-
|
|
38922
|
-
costs: arrayType(lazyType(() =>
|
|
38923
|
-
revenue: arrayType(lazyType(() =>
|
|
38780
|
+
EntitySettlementPeriods$inboundSchema = objectType({
|
|
38781
|
+
costs: arrayType(lazyType(() => EntitySettlementCost$inboundSchema)).optional(),
|
|
38782
|
+
revenue: arrayType(lazyType(() => EntitySettlementRevenue$inboundSchema)).optional(),
|
|
38924
38783
|
invoiceId: stringType().optional(),
|
|
38925
38784
|
invoiceReference: nullableType(stringType()).optional()
|
|
38926
38785
|
});
|
|
38927
|
-
|
|
38928
|
-
costs: arrayType(lazyType(() =>
|
|
38929
|
-
revenue: arrayType(lazyType(() =>
|
|
38786
|
+
EntitySettlementPeriods$outboundSchema = objectType({
|
|
38787
|
+
costs: arrayType(lazyType(() => EntitySettlementCost$outboundSchema)).optional(),
|
|
38788
|
+
revenue: arrayType(lazyType(() => EntitySettlementRevenue$outboundSchema)).optional(),
|
|
38930
38789
|
invoiceId: stringType().optional(),
|
|
38931
38790
|
invoiceReference: nullableType(stringType()).optional()
|
|
38932
38791
|
});
|
|
@@ -38958,7 +38817,7 @@ var init_entitysettlement = __esm(() => {
|
|
|
38958
38817
|
amount: lazyType(() => EntitySettlementAmount$inboundSchema),
|
|
38959
38818
|
balanceId: stringType(),
|
|
38960
38819
|
invoiceId: nullableType(stringType()).optional(),
|
|
38961
|
-
periods: recordType(recordType(lazyType(() =>
|
|
38820
|
+
periods: recordType(recordType(lazyType(() => EntitySettlementPeriods$inboundSchema))).optional(),
|
|
38962
38821
|
_links: lazyType(() => EntitySettlementLinks$inboundSchema)
|
|
38963
38822
|
}).transform((v2) => {
|
|
38964
38823
|
return remap(v2, {
|
|
@@ -38975,7 +38834,7 @@ var init_entitysettlement = __esm(() => {
|
|
|
38975
38834
|
amount: lazyType(() => EntitySettlementAmount$outboundSchema),
|
|
38976
38835
|
balanceId: stringType(),
|
|
38977
38836
|
invoiceId: nullableType(stringType()).optional(),
|
|
38978
|
-
periods: recordType(recordType(lazyType(() =>
|
|
38837
|
+
periods: recordType(recordType(lazyType(() => EntitySettlementPeriods$outboundSchema))).optional(),
|
|
38979
38838
|
links: lazyType(() => EntitySettlementLinks$outboundSchema)
|
|
38980
38839
|
}).transform((v2) => {
|
|
38981
38840
|
return remap(v2, {
|
|
@@ -39386,7 +39245,7 @@ var init_profilereviewstatusresponse = __esm(() => {
|
|
|
39386
39245
|
});
|
|
39387
39246
|
|
|
39388
39247
|
// src/models/profileresponse.ts
|
|
39389
|
-
var ProfileResponseStatus, ProfileResponseStatus$inboundSchema, ProfileResponseStatus$outboundSchema,
|
|
39248
|
+
var ProfileResponseStatus, ProfileResponseStatus$inboundSchema, ProfileResponseStatus$outboundSchema, ProfileResponseReview$inboundSchema, ProfileResponseReview$outboundSchema, ProfileResponseLinks$inboundSchema, ProfileResponseLinks$outboundSchema, ProfileResponse$inboundSchema, ProfileResponse$outboundSchema;
|
|
39390
39249
|
var init_profileresponse = __esm(() => {
|
|
39391
39250
|
init_esm();
|
|
39392
39251
|
init_primitives();
|
|
@@ -39401,10 +39260,10 @@ var init_profileresponse = __esm(() => {
|
|
|
39401
39260
|
};
|
|
39402
39261
|
ProfileResponseStatus$inboundSchema = inboundSchema(ProfileResponseStatus);
|
|
39403
39262
|
ProfileResponseStatus$outboundSchema = outboundSchema(ProfileResponseStatus);
|
|
39404
|
-
|
|
39263
|
+
ProfileResponseReview$inboundSchema = objectType({
|
|
39405
39264
|
status: ProfileReviewStatusResponse$inboundSchema.optional()
|
|
39406
39265
|
});
|
|
39407
|
-
|
|
39266
|
+
ProfileResponseReview$outboundSchema = objectType({
|
|
39408
39267
|
status: ProfileReviewStatusResponse$outboundSchema.optional()
|
|
39409
39268
|
});
|
|
39410
39269
|
ProfileResponseLinks$inboundSchema = objectType({
|
|
@@ -39439,7 +39298,7 @@ var init_profileresponse = __esm(() => {
|
|
|
39439
39298
|
countriesOfActivity: arrayType(stringType()).optional(),
|
|
39440
39299
|
businessCategory: stringType(),
|
|
39441
39300
|
status: ProfileResponseStatus$inboundSchema,
|
|
39442
|
-
review: lazyType(() =>
|
|
39301
|
+
review: lazyType(() => ProfileResponseReview$inboundSchema).optional(),
|
|
39443
39302
|
createdAt: stringType(),
|
|
39444
39303
|
_links: lazyType(() => ProfileResponseLinks$inboundSchema)
|
|
39445
39304
|
}).transform((v2) => {
|
|
@@ -39459,7 +39318,7 @@ var init_profileresponse = __esm(() => {
|
|
|
39459
39318
|
countriesOfActivity: arrayType(stringType()).optional(),
|
|
39460
39319
|
businessCategory: stringType(),
|
|
39461
39320
|
status: ProfileResponseStatus$outboundSchema,
|
|
39462
|
-
review: lazyType(() =>
|
|
39321
|
+
review: lazyType(() => ProfileResponseReview$outboundSchema).optional(),
|
|
39463
39322
|
createdAt: stringType(),
|
|
39464
39323
|
links: lazyType(() => ProfileResponseLinks$outboundSchema)
|
|
39465
39324
|
}).transform((v2) => {
|
|
@@ -39584,79 +39443,2720 @@ var init_linecategories = __esm(() => {
|
|
|
39584
39443
|
LineCategories$outboundSchema = LineCategories$inboundSchema;
|
|
39585
39444
|
});
|
|
39586
39445
|
|
|
39587
|
-
// src/models/
|
|
39588
|
-
var
|
|
39589
|
-
var
|
|
39446
|
+
// src/models/listcaptureresponse.ts
|
|
39447
|
+
var ListCaptureResponseStatus, ListCaptureResponseSettlementAmount$inboundSchema, ListCaptureResponseSettlementAmount$outboundSchema, ListCaptureResponseStatus$inboundSchema, ListCaptureResponseStatus$outboundSchema, ListCaptureResponseLinks$inboundSchema, ListCaptureResponseLinks$outboundSchema, ListCaptureResponse$inboundSchema, ListCaptureResponse$outboundSchema;
|
|
39448
|
+
var init_listcaptureresponse = __esm(() => {
|
|
39590
39449
|
init_esm();
|
|
39450
|
+
init_primitives();
|
|
39451
|
+
init_enums();
|
|
39452
|
+
init_amountnullable();
|
|
39453
|
+
init_metadata();
|
|
39454
|
+
init_mode();
|
|
39591
39455
|
init_url2();
|
|
39592
39456
|
init_urlnullable();
|
|
39593
|
-
|
|
39457
|
+
ListCaptureResponseStatus = {
|
|
39458
|
+
Pending: "pending",
|
|
39459
|
+
Succeeded: "succeeded",
|
|
39460
|
+
Failed: "failed"
|
|
39461
|
+
};
|
|
39462
|
+
ListCaptureResponseSettlementAmount$inboundSchema = objectType({
|
|
39463
|
+
currency: stringType(),
|
|
39464
|
+
value: stringType()
|
|
39465
|
+
});
|
|
39466
|
+
ListCaptureResponseSettlementAmount$outboundSchema = objectType({
|
|
39467
|
+
currency: stringType(),
|
|
39468
|
+
value: stringType()
|
|
39469
|
+
});
|
|
39470
|
+
ListCaptureResponseStatus$inboundSchema = inboundSchema(ListCaptureResponseStatus);
|
|
39471
|
+
ListCaptureResponseStatus$outboundSchema = outboundSchema(ListCaptureResponseStatus);
|
|
39472
|
+
ListCaptureResponseLinks$inboundSchema = objectType({
|
|
39594
39473
|
self: Url$inboundSchema,
|
|
39595
|
-
|
|
39596
|
-
|
|
39597
|
-
|
|
39474
|
+
payment: Url$inboundSchema,
|
|
39475
|
+
settlement: nullableType(UrlNullable$inboundSchema).optional(),
|
|
39476
|
+
shipment: nullableType(UrlNullable$inboundSchema).optional()
|
|
39598
39477
|
});
|
|
39599
|
-
|
|
39478
|
+
ListCaptureResponseLinks$outboundSchema = objectType({
|
|
39600
39479
|
self: Url$outboundSchema,
|
|
39601
|
-
|
|
39602
|
-
|
|
39603
|
-
|
|
39480
|
+
payment: Url$outboundSchema,
|
|
39481
|
+
settlement: nullableType(UrlNullable$outboundSchema).optional(),
|
|
39482
|
+
shipment: nullableType(UrlNullable$outboundSchema).optional()
|
|
39483
|
+
});
|
|
39484
|
+
ListCaptureResponse$inboundSchema = objectType({
|
|
39485
|
+
resource: stringType(),
|
|
39486
|
+
id: stringType(),
|
|
39487
|
+
mode: Mode$inboundSchema,
|
|
39488
|
+
description: stringType().optional(),
|
|
39489
|
+
amount: nullableType(AmountNullable$inboundSchema),
|
|
39490
|
+
settlementAmount: nullableType(lazyType(() => ListCaptureResponseSettlementAmount$inboundSchema)).optional(),
|
|
39491
|
+
status: ListCaptureResponseStatus$inboundSchema,
|
|
39492
|
+
metadata: nullableType(Metadata$inboundSchema).optional(),
|
|
39493
|
+
paymentId: stringType(),
|
|
39494
|
+
shipmentId: nullableType(stringType()).optional(),
|
|
39495
|
+
settlementId: nullableType(stringType()).optional(),
|
|
39496
|
+
createdAt: stringType(),
|
|
39497
|
+
_links: lazyType(() => ListCaptureResponseLinks$inboundSchema)
|
|
39498
|
+
}).transform((v2) => {
|
|
39499
|
+
return remap(v2, {
|
|
39500
|
+
_links: "links"
|
|
39501
|
+
});
|
|
39502
|
+
});
|
|
39503
|
+
ListCaptureResponse$outboundSchema = objectType({
|
|
39504
|
+
resource: stringType(),
|
|
39505
|
+
id: stringType(),
|
|
39506
|
+
mode: Mode$outboundSchema,
|
|
39507
|
+
description: stringType().optional(),
|
|
39508
|
+
amount: nullableType(AmountNullable$outboundSchema),
|
|
39509
|
+
settlementAmount: nullableType(lazyType(() => ListCaptureResponseSettlementAmount$outboundSchema)).optional(),
|
|
39510
|
+
status: ListCaptureResponseStatus$outboundSchema,
|
|
39511
|
+
metadata: nullableType(Metadata$outboundSchema).optional(),
|
|
39512
|
+
paymentId: stringType(),
|
|
39513
|
+
shipmentId: nullableType(stringType()).optional(),
|
|
39514
|
+
settlementId: nullableType(stringType()).optional(),
|
|
39515
|
+
createdAt: stringType(),
|
|
39516
|
+
links: lazyType(() => ListCaptureResponseLinks$outboundSchema)
|
|
39517
|
+
}).transform((v2) => {
|
|
39518
|
+
return remap(v2, {
|
|
39519
|
+
links: "_links"
|
|
39520
|
+
});
|
|
39604
39521
|
});
|
|
39605
39522
|
});
|
|
39606
39523
|
|
|
39607
|
-
// src/models/
|
|
39608
|
-
var
|
|
39609
|
-
var
|
|
39524
|
+
// src/models/listcustomerresponse.ts
|
|
39525
|
+
var ListCustomerResponseLinks$inboundSchema, ListCustomerResponseLinks$outboundSchema, ListCustomerResponse$inboundSchema, ListCustomerResponse$outboundSchema;
|
|
39526
|
+
var init_listcustomerresponse = __esm(() => {
|
|
39610
39527
|
init_esm();
|
|
39611
|
-
|
|
39612
|
-
|
|
39613
|
-
|
|
39614
|
-
|
|
39615
|
-
|
|
39616
|
-
|
|
39617
|
-
|
|
39618
|
-
|
|
39619
|
-
|
|
39620
|
-
|
|
39621
|
-
|
|
39622
|
-
|
|
39623
|
-
|
|
39624
|
-
|
|
39625
|
-
|
|
39626
|
-
|
|
39627
|
-
|
|
39628
|
-
|
|
39629
|
-
|
|
39630
|
-
|
|
39631
|
-
|
|
39632
|
-
|
|
39633
|
-
|
|
39634
|
-
|
|
39635
|
-
|
|
39636
|
-
|
|
39637
|
-
|
|
39528
|
+
init_primitives();
|
|
39529
|
+
init_localeresponse();
|
|
39530
|
+
init_metadata();
|
|
39531
|
+
init_mode();
|
|
39532
|
+
init_url2();
|
|
39533
|
+
init_urlnullable();
|
|
39534
|
+
ListCustomerResponseLinks$inboundSchema = objectType({
|
|
39535
|
+
self: Url$inboundSchema,
|
|
39536
|
+
dashboard: Url$inboundSchema,
|
|
39537
|
+
payments: nullableType(UrlNullable$inboundSchema).optional(),
|
|
39538
|
+
mandates: nullableType(UrlNullable$inboundSchema).optional(),
|
|
39539
|
+
subscriptions: nullableType(UrlNullable$inboundSchema).optional()
|
|
39540
|
+
});
|
|
39541
|
+
ListCustomerResponseLinks$outboundSchema = objectType({
|
|
39542
|
+
self: Url$outboundSchema,
|
|
39543
|
+
dashboard: Url$outboundSchema,
|
|
39544
|
+
payments: nullableType(UrlNullable$outboundSchema).optional(),
|
|
39545
|
+
mandates: nullableType(UrlNullable$outboundSchema).optional(),
|
|
39546
|
+
subscriptions: nullableType(UrlNullable$outboundSchema).optional()
|
|
39547
|
+
});
|
|
39548
|
+
ListCustomerResponse$inboundSchema = objectType({
|
|
39549
|
+
resource: stringType(),
|
|
39550
|
+
id: stringType(),
|
|
39551
|
+
mode: Mode$inboundSchema,
|
|
39552
|
+
name: nullableType(stringType()),
|
|
39553
|
+
email: nullableType(stringType()),
|
|
39554
|
+
locale: nullableType(LocaleResponse$inboundSchema),
|
|
39555
|
+
metadata: nullableType(Metadata$inboundSchema),
|
|
39556
|
+
createdAt: stringType(),
|
|
39557
|
+
_links: lazyType(() => ListCustomerResponseLinks$inboundSchema)
|
|
39558
|
+
}).transform((v2) => {
|
|
39559
|
+
return remap(v2, {
|
|
39560
|
+
_links: "links"
|
|
39561
|
+
});
|
|
39562
|
+
});
|
|
39563
|
+
ListCustomerResponse$outboundSchema = objectType({
|
|
39564
|
+
resource: stringType(),
|
|
39565
|
+
id: stringType(),
|
|
39566
|
+
mode: Mode$outboundSchema,
|
|
39567
|
+
name: nullableType(stringType()),
|
|
39568
|
+
email: nullableType(stringType()),
|
|
39569
|
+
locale: nullableType(LocaleResponse$outboundSchema),
|
|
39570
|
+
metadata: nullableType(Metadata$outboundSchema),
|
|
39571
|
+
createdAt: stringType(),
|
|
39572
|
+
links: lazyType(() => ListCustomerResponseLinks$outboundSchema)
|
|
39573
|
+
}).transform((v2) => {
|
|
39574
|
+
return remap(v2, {
|
|
39575
|
+
links: "_links"
|
|
39576
|
+
});
|
|
39577
|
+
});
|
|
39638
39578
|
});
|
|
39639
39579
|
|
|
39640
|
-
// src/models/
|
|
39641
|
-
var
|
|
39642
|
-
var
|
|
39580
|
+
// src/models/listentitybalance.ts
|
|
39581
|
+
var ListEntityBalanceCurrency, ListEntityBalanceStatus, ListEntityBalanceTransferFrequency, ListEntityBalanceCurrency$inboundSchema, ListEntityBalanceCurrency$outboundSchema, ListEntityBalanceStatus$inboundSchema, ListEntityBalanceStatus$outboundSchema, ListEntityBalanceTransferFrequency$inboundSchema, ListEntityBalanceTransferFrequency$outboundSchema, ListEntityBalanceTransferThreshold$inboundSchema, ListEntityBalanceTransferThreshold$outboundSchema, ListEntityBalanceTransferDestination$inboundSchema, ListEntityBalanceTransferDestination$outboundSchema, ListEntityBalanceAvailableAmount$inboundSchema, ListEntityBalanceAvailableAmount$outboundSchema, ListEntityBalancePendingAmount$inboundSchema, ListEntityBalancePendingAmount$outboundSchema, ListEntityBalanceLinks$inboundSchema, ListEntityBalanceLinks$outboundSchema, ListEntityBalance$inboundSchema, ListEntityBalance$outboundSchema;
|
|
39582
|
+
var init_listentitybalance = __esm(() => {
|
|
39583
|
+
init_esm();
|
|
39584
|
+
init_primitives();
|
|
39585
|
+
init_enums();
|
|
39586
|
+
init_balancetransferdestinationtype();
|
|
39587
|
+
init_mode();
|
|
39588
|
+
init_url2();
|
|
39589
|
+
ListEntityBalanceCurrency = {
|
|
39590
|
+
Eur: "EUR",
|
|
39591
|
+
Gbp: "GBP",
|
|
39592
|
+
Chf: "CHF",
|
|
39593
|
+
Dkk: "DKK",
|
|
39594
|
+
Nok: "NOK",
|
|
39595
|
+
Pln: "PLN",
|
|
39596
|
+
Sek: "SEK",
|
|
39597
|
+
Usd: "USD",
|
|
39598
|
+
Czk: "CZK",
|
|
39599
|
+
Huf: "HUF",
|
|
39600
|
+
Aud: "AUD",
|
|
39601
|
+
Cad: "CAD"
|
|
39602
|
+
};
|
|
39603
|
+
ListEntityBalanceStatus = {
|
|
39604
|
+
Active: "active",
|
|
39605
|
+
Inactive: "inactive"
|
|
39606
|
+
};
|
|
39607
|
+
ListEntityBalanceTransferFrequency = {
|
|
39608
|
+
EveryDay: "every-day",
|
|
39609
|
+
Daily: "daily",
|
|
39610
|
+
EveryMonday: "every-monday",
|
|
39611
|
+
EveryTuesday: "every-tuesday",
|
|
39612
|
+
EveryWednesday: "every-wednesday",
|
|
39613
|
+
EveryThursday: "every-thursday",
|
|
39614
|
+
EveryFriday: "every-friday",
|
|
39615
|
+
Monthly: "monthly",
|
|
39616
|
+
RevenueDay: "revenue-day",
|
|
39617
|
+
Never: "never"
|
|
39618
|
+
};
|
|
39619
|
+
ListEntityBalanceCurrency$inboundSchema = inboundSchema(ListEntityBalanceCurrency);
|
|
39620
|
+
ListEntityBalanceCurrency$outboundSchema = outboundSchema(ListEntityBalanceCurrency);
|
|
39621
|
+
ListEntityBalanceStatus$inboundSchema = inboundSchema(ListEntityBalanceStatus);
|
|
39622
|
+
ListEntityBalanceStatus$outboundSchema = outboundSchema(ListEntityBalanceStatus);
|
|
39623
|
+
ListEntityBalanceTransferFrequency$inboundSchema = inboundSchema(ListEntityBalanceTransferFrequency);
|
|
39624
|
+
ListEntityBalanceTransferFrequency$outboundSchema = outboundSchema(ListEntityBalanceTransferFrequency);
|
|
39625
|
+
ListEntityBalanceTransferThreshold$inboundSchema = objectType({
|
|
39626
|
+
currency: stringType(),
|
|
39627
|
+
value: stringType()
|
|
39628
|
+
});
|
|
39629
|
+
ListEntityBalanceTransferThreshold$outboundSchema = objectType({
|
|
39630
|
+
currency: stringType(),
|
|
39631
|
+
value: stringType()
|
|
39632
|
+
});
|
|
39633
|
+
ListEntityBalanceTransferDestination$inboundSchema = objectType({
|
|
39634
|
+
type: BalanceTransferDestinationType$inboundSchema.optional(),
|
|
39635
|
+
bankAccount: stringType().optional(),
|
|
39636
|
+
beneficiaryName: stringType().optional()
|
|
39637
|
+
});
|
|
39638
|
+
ListEntityBalanceTransferDestination$outboundSchema = objectType({
|
|
39639
|
+
type: BalanceTransferDestinationType$outboundSchema.optional(),
|
|
39640
|
+
bankAccount: stringType().optional(),
|
|
39641
|
+
beneficiaryName: stringType().optional()
|
|
39642
|
+
});
|
|
39643
|
+
ListEntityBalanceAvailableAmount$inboundSchema = objectType({
|
|
39644
|
+
currency: stringType(),
|
|
39645
|
+
value: stringType()
|
|
39646
|
+
});
|
|
39647
|
+
ListEntityBalanceAvailableAmount$outboundSchema = objectType({
|
|
39648
|
+
currency: stringType(),
|
|
39649
|
+
value: stringType()
|
|
39650
|
+
});
|
|
39651
|
+
ListEntityBalancePendingAmount$inboundSchema = objectType({
|
|
39652
|
+
currency: stringType(),
|
|
39653
|
+
value: stringType()
|
|
39654
|
+
});
|
|
39655
|
+
ListEntityBalancePendingAmount$outboundSchema = objectType({
|
|
39656
|
+
currency: stringType(),
|
|
39657
|
+
value: stringType()
|
|
39658
|
+
});
|
|
39659
|
+
ListEntityBalanceLinks$inboundSchema = objectType({
|
|
39660
|
+
self: Url$inboundSchema.optional()
|
|
39661
|
+
});
|
|
39662
|
+
ListEntityBalanceLinks$outboundSchema = objectType({
|
|
39663
|
+
self: Url$outboundSchema.optional()
|
|
39664
|
+
});
|
|
39665
|
+
ListEntityBalance$inboundSchema = objectType({
|
|
39666
|
+
resource: stringType(),
|
|
39667
|
+
id: stringType(),
|
|
39668
|
+
mode: Mode$inboundSchema,
|
|
39669
|
+
createdAt: stringType(),
|
|
39670
|
+
currency: ListEntityBalanceCurrency$inboundSchema,
|
|
39671
|
+
description: stringType(),
|
|
39672
|
+
status: ListEntityBalanceStatus$inboundSchema,
|
|
39673
|
+
transferFrequency: ListEntityBalanceTransferFrequency$inboundSchema.optional(),
|
|
39674
|
+
transferThreshold: lazyType(() => ListEntityBalanceTransferThreshold$inboundSchema).optional(),
|
|
39675
|
+
transferReference: nullableType(stringType()).optional(),
|
|
39676
|
+
transferDestination: nullableType(lazyType(() => ListEntityBalanceTransferDestination$inboundSchema)).optional(),
|
|
39677
|
+
availableAmount: lazyType(() => ListEntityBalanceAvailableAmount$inboundSchema),
|
|
39678
|
+
pendingAmount: lazyType(() => ListEntityBalancePendingAmount$inboundSchema),
|
|
39679
|
+
_links: lazyType(() => ListEntityBalanceLinks$inboundSchema)
|
|
39680
|
+
}).transform((v2) => {
|
|
39681
|
+
return remap(v2, {
|
|
39682
|
+
_links: "links"
|
|
39683
|
+
});
|
|
39684
|
+
});
|
|
39685
|
+
ListEntityBalance$outboundSchema = objectType({
|
|
39686
|
+
resource: stringType(),
|
|
39687
|
+
id: stringType(),
|
|
39688
|
+
mode: Mode$outboundSchema,
|
|
39689
|
+
createdAt: stringType(),
|
|
39690
|
+
currency: ListEntityBalanceCurrency$outboundSchema,
|
|
39691
|
+
description: stringType(),
|
|
39692
|
+
status: ListEntityBalanceStatus$outboundSchema,
|
|
39693
|
+
transferFrequency: ListEntityBalanceTransferFrequency$outboundSchema.optional(),
|
|
39694
|
+
transferThreshold: lazyType(() => ListEntityBalanceTransferThreshold$outboundSchema).optional(),
|
|
39695
|
+
transferReference: nullableType(stringType()).optional(),
|
|
39696
|
+
transferDestination: nullableType(lazyType(() => ListEntityBalanceTransferDestination$outboundSchema)).optional(),
|
|
39697
|
+
availableAmount: lazyType(() => ListEntityBalanceAvailableAmount$outboundSchema),
|
|
39698
|
+
pendingAmount: lazyType(() => ListEntityBalancePendingAmount$outboundSchema),
|
|
39699
|
+
links: lazyType(() => ListEntityBalanceLinks$outboundSchema)
|
|
39700
|
+
}).transform((v2) => {
|
|
39701
|
+
return remap(v2, {
|
|
39702
|
+
links: "_links"
|
|
39703
|
+
});
|
|
39704
|
+
});
|
|
39705
|
+
});
|
|
39706
|
+
|
|
39707
|
+
// src/models/listentitychargeback.ts
|
|
39708
|
+
var ListEntityChargebackSettlementAmount$inboundSchema, ListEntityChargebackSettlementAmount$outboundSchema, ListEntityChargebackReason$inboundSchema, ListEntityChargebackReason$outboundSchema, ListEntityChargebackLinks$inboundSchema, ListEntityChargebackLinks$outboundSchema, ListEntityChargeback$inboundSchema, ListEntityChargeback$outboundSchema;
|
|
39709
|
+
var init_listentitychargeback = __esm(() => {
|
|
39710
|
+
init_esm();
|
|
39711
|
+
init_primitives();
|
|
39712
|
+
init_amount();
|
|
39713
|
+
init_url2();
|
|
39714
|
+
init_urlnullable();
|
|
39715
|
+
ListEntityChargebackSettlementAmount$inboundSchema = objectType({
|
|
39716
|
+
currency: stringType(),
|
|
39717
|
+
value: stringType()
|
|
39718
|
+
});
|
|
39719
|
+
ListEntityChargebackSettlementAmount$outboundSchema = objectType({
|
|
39720
|
+
currency: stringType(),
|
|
39721
|
+
value: stringType()
|
|
39722
|
+
});
|
|
39723
|
+
ListEntityChargebackReason$inboundSchema = objectType({
|
|
39724
|
+
code: stringType(),
|
|
39725
|
+
description: stringType()
|
|
39726
|
+
});
|
|
39727
|
+
ListEntityChargebackReason$outboundSchema = objectType({
|
|
39728
|
+
code: stringType(),
|
|
39729
|
+
description: stringType()
|
|
39730
|
+
});
|
|
39731
|
+
ListEntityChargebackLinks$inboundSchema = objectType({
|
|
39732
|
+
self: Url$inboundSchema,
|
|
39733
|
+
payment: Url$inboundSchema,
|
|
39734
|
+
settlement: nullableType(UrlNullable$inboundSchema).optional()
|
|
39735
|
+
});
|
|
39736
|
+
ListEntityChargebackLinks$outboundSchema = objectType({
|
|
39737
|
+
self: Url$outboundSchema,
|
|
39738
|
+
payment: Url$outboundSchema,
|
|
39739
|
+
settlement: nullableType(UrlNullable$outboundSchema).optional()
|
|
39740
|
+
});
|
|
39741
|
+
ListEntityChargeback$inboundSchema = objectType({
|
|
39742
|
+
resource: stringType(),
|
|
39743
|
+
id: stringType(),
|
|
39744
|
+
amount: Amount$inboundSchema,
|
|
39745
|
+
settlementAmount: nullableType(lazyType(() => ListEntityChargebackSettlementAmount$inboundSchema)).optional(),
|
|
39746
|
+
reason: nullableType(lazyType(() => ListEntityChargebackReason$inboundSchema)).optional(),
|
|
39747
|
+
paymentId: stringType(),
|
|
39748
|
+
settlementId: nullableType(stringType()).optional(),
|
|
39749
|
+
createdAt: stringType(),
|
|
39750
|
+
reversedAt: nullableType(stringType()).optional(),
|
|
39751
|
+
_links: lazyType(() => ListEntityChargebackLinks$inboundSchema)
|
|
39752
|
+
}).transform((v2) => {
|
|
39753
|
+
return remap(v2, {
|
|
39754
|
+
_links: "links"
|
|
39755
|
+
});
|
|
39756
|
+
});
|
|
39757
|
+
ListEntityChargeback$outboundSchema = objectType({
|
|
39758
|
+
resource: stringType(),
|
|
39759
|
+
id: stringType(),
|
|
39760
|
+
amount: Amount$outboundSchema,
|
|
39761
|
+
settlementAmount: nullableType(lazyType(() => ListEntityChargebackSettlementAmount$outboundSchema)).optional(),
|
|
39762
|
+
reason: nullableType(lazyType(() => ListEntityChargebackReason$outboundSchema)).optional(),
|
|
39763
|
+
paymentId: stringType(),
|
|
39764
|
+
settlementId: nullableType(stringType()).optional(),
|
|
39765
|
+
createdAt: stringType(),
|
|
39766
|
+
reversedAt: nullableType(stringType()).optional(),
|
|
39767
|
+
links: lazyType(() => ListEntityChargebackLinks$outboundSchema)
|
|
39768
|
+
}).transform((v2) => {
|
|
39769
|
+
return remap(v2, {
|
|
39770
|
+
links: "_links"
|
|
39771
|
+
});
|
|
39772
|
+
});
|
|
39773
|
+
});
|
|
39774
|
+
|
|
39775
|
+
// src/models/listentityinvoice.ts
|
|
39776
|
+
var ListEntityInvoiceStatus, ListEntityInvoiceStatus$inboundSchema, ListEntityInvoiceStatus$outboundSchema, ListEntityInvoiceNetAmount$inboundSchema, ListEntityInvoiceNetAmount$outboundSchema, ListEntityInvoiceVatAmount$inboundSchema, ListEntityInvoiceVatAmount$outboundSchema, ListEntityInvoiceGrossAmount$inboundSchema, ListEntityInvoiceGrossAmount$outboundSchema, ListEntityInvoiceLine$inboundSchema, ListEntityInvoiceLine$outboundSchema, ListEntityInvoiceLinks$inboundSchema, ListEntityInvoiceLinks$outboundSchema, ListEntityInvoice$inboundSchema, ListEntityInvoice$outboundSchema;
|
|
39777
|
+
var init_listentityinvoice = __esm(() => {
|
|
39778
|
+
init_esm();
|
|
39779
|
+
init_primitives();
|
|
39780
|
+
init_enums();
|
|
39781
|
+
init_amount();
|
|
39782
|
+
init_url2();
|
|
39783
|
+
ListEntityInvoiceStatus = {
|
|
39784
|
+
Open: "open",
|
|
39785
|
+
Paid: "paid",
|
|
39786
|
+
Overdue: "overdue"
|
|
39787
|
+
};
|
|
39788
|
+
ListEntityInvoiceStatus$inboundSchema = inboundSchema(ListEntityInvoiceStatus);
|
|
39789
|
+
ListEntityInvoiceStatus$outboundSchema = outboundSchema(ListEntityInvoiceStatus);
|
|
39790
|
+
ListEntityInvoiceNetAmount$inboundSchema = objectType({
|
|
39791
|
+
currency: stringType(),
|
|
39792
|
+
value: stringType()
|
|
39793
|
+
});
|
|
39794
|
+
ListEntityInvoiceNetAmount$outboundSchema = objectType({
|
|
39795
|
+
currency: stringType(),
|
|
39796
|
+
value: stringType()
|
|
39797
|
+
});
|
|
39798
|
+
ListEntityInvoiceVatAmount$inboundSchema = objectType({
|
|
39799
|
+
currency: stringType(),
|
|
39800
|
+
value: stringType()
|
|
39801
|
+
});
|
|
39802
|
+
ListEntityInvoiceVatAmount$outboundSchema = objectType({
|
|
39803
|
+
currency: stringType(),
|
|
39804
|
+
value: stringType()
|
|
39805
|
+
});
|
|
39806
|
+
ListEntityInvoiceGrossAmount$inboundSchema = objectType({
|
|
39807
|
+
currency: stringType(),
|
|
39808
|
+
value: stringType()
|
|
39809
|
+
});
|
|
39810
|
+
ListEntityInvoiceGrossAmount$outboundSchema = objectType({
|
|
39811
|
+
currency: stringType(),
|
|
39812
|
+
value: stringType()
|
|
39813
|
+
});
|
|
39814
|
+
ListEntityInvoiceLine$inboundSchema = objectType({
|
|
39815
|
+
period: stringType(),
|
|
39816
|
+
description: stringType(),
|
|
39817
|
+
count: numberType().int(),
|
|
39818
|
+
vatPercentage: numberType().int(),
|
|
39819
|
+
amount: Amount$inboundSchema
|
|
39820
|
+
});
|
|
39821
|
+
ListEntityInvoiceLine$outboundSchema = objectType({
|
|
39822
|
+
period: stringType(),
|
|
39823
|
+
description: stringType(),
|
|
39824
|
+
count: numberType().int(),
|
|
39825
|
+
vatPercentage: numberType().int(),
|
|
39826
|
+
amount: Amount$outboundSchema
|
|
39827
|
+
});
|
|
39828
|
+
ListEntityInvoiceLinks$inboundSchema = objectType({
|
|
39829
|
+
self: Url$inboundSchema.optional(),
|
|
39830
|
+
pdf: Url$inboundSchema.optional()
|
|
39831
|
+
});
|
|
39832
|
+
ListEntityInvoiceLinks$outboundSchema = objectType({
|
|
39833
|
+
self: Url$outboundSchema.optional(),
|
|
39834
|
+
pdf: Url$outboundSchema.optional()
|
|
39835
|
+
});
|
|
39836
|
+
ListEntityInvoice$inboundSchema = objectType({
|
|
39837
|
+
resource: stringType(),
|
|
39838
|
+
id: stringType(),
|
|
39839
|
+
reference: stringType(),
|
|
39840
|
+
vatNumber: nullableType(stringType()),
|
|
39841
|
+
status: ListEntityInvoiceStatus$inboundSchema,
|
|
39842
|
+
netAmount: lazyType(() => ListEntityInvoiceNetAmount$inboundSchema),
|
|
39843
|
+
vatAmount: lazyType(() => ListEntityInvoiceVatAmount$inboundSchema),
|
|
39844
|
+
grossAmount: lazyType(() => ListEntityInvoiceGrossAmount$inboundSchema),
|
|
39845
|
+
lines: arrayType(lazyType(() => ListEntityInvoiceLine$inboundSchema)),
|
|
39846
|
+
issuedAt: stringType(),
|
|
39847
|
+
paidAt: nullableType(stringType()).optional(),
|
|
39848
|
+
dueAt: nullableType(stringType()).optional(),
|
|
39849
|
+
_links: lazyType(() => ListEntityInvoiceLinks$inboundSchema)
|
|
39850
|
+
}).transform((v2) => {
|
|
39851
|
+
return remap(v2, {
|
|
39852
|
+
_links: "links"
|
|
39853
|
+
});
|
|
39854
|
+
});
|
|
39855
|
+
ListEntityInvoice$outboundSchema = objectType({
|
|
39856
|
+
resource: stringType(),
|
|
39857
|
+
id: stringType(),
|
|
39858
|
+
reference: stringType(),
|
|
39859
|
+
vatNumber: nullableType(stringType()),
|
|
39860
|
+
status: ListEntityInvoiceStatus$outboundSchema,
|
|
39861
|
+
netAmount: lazyType(() => ListEntityInvoiceNetAmount$outboundSchema),
|
|
39862
|
+
vatAmount: lazyType(() => ListEntityInvoiceVatAmount$outboundSchema),
|
|
39863
|
+
grossAmount: lazyType(() => ListEntityInvoiceGrossAmount$outboundSchema),
|
|
39864
|
+
lines: arrayType(lazyType(() => ListEntityInvoiceLine$outboundSchema)),
|
|
39865
|
+
issuedAt: stringType(),
|
|
39866
|
+
paidAt: nullableType(stringType()).optional(),
|
|
39867
|
+
dueAt: nullableType(stringType()).optional(),
|
|
39868
|
+
links: lazyType(() => ListEntityInvoiceLinks$outboundSchema)
|
|
39869
|
+
}).transform((v2) => {
|
|
39870
|
+
return remap(v2, {
|
|
39871
|
+
links: "_links"
|
|
39872
|
+
});
|
|
39873
|
+
});
|
|
39874
|
+
});
|
|
39875
|
+
|
|
39876
|
+
// src/models/listentitymethod.ts
|
|
39877
|
+
var ListEntityMethodId, ListEntityMethodId$inboundSchema, ListEntityMethodId$outboundSchema, ListEntityMethodMinimumAmount$inboundSchema, ListEntityMethodMinimumAmount$outboundSchema, ListEntityMethodMaximumAmount$inboundSchema, ListEntityMethodMaximumAmount$outboundSchema, ListEntityMethodImage$inboundSchema, ListEntityMethodImage$outboundSchema, ListEntityMethodIssuerImage$inboundSchema, ListEntityMethodIssuerImage$outboundSchema, ListEntityMethodIssuer$inboundSchema, ListEntityMethodIssuer$outboundSchema, ListEntityMethodLinks$inboundSchema, ListEntityMethodLinks$outboundSchema, ListEntityMethod$inboundSchema, ListEntityMethod$outboundSchema;
|
|
39878
|
+
var init_listentitymethod = __esm(() => {
|
|
39879
|
+
init_esm();
|
|
39880
|
+
init_primitives();
|
|
39881
|
+
init_enums();
|
|
39882
|
+
init_methodstatus();
|
|
39883
|
+
init_url2();
|
|
39884
|
+
ListEntityMethodId = {
|
|
39885
|
+
Alma: "alma",
|
|
39886
|
+
Applepay: "applepay",
|
|
39887
|
+
Bacs: "bacs",
|
|
39888
|
+
Bancomatpay: "bancomatpay",
|
|
39889
|
+
Bancontact: "bancontact",
|
|
39890
|
+
Banktransfer: "banktransfer",
|
|
39891
|
+
Belfius: "belfius",
|
|
39892
|
+
Billie: "billie",
|
|
39893
|
+
Bizum: "bizum",
|
|
39894
|
+
Blik: "blik",
|
|
39895
|
+
Creditcard: "creditcard",
|
|
39896
|
+
Directdebit: "directdebit",
|
|
39897
|
+
Eps: "eps",
|
|
39898
|
+
Giftcard: "giftcard",
|
|
39899
|
+
Ideal: "ideal",
|
|
39900
|
+
In3: "in3",
|
|
39901
|
+
Kbc: "kbc",
|
|
39902
|
+
Klarna: "klarna",
|
|
39903
|
+
Mbway: "mbway",
|
|
39904
|
+
Mobilepay: "mobilepay",
|
|
39905
|
+
Multibanco: "multibanco",
|
|
39906
|
+
Mybank: "mybank",
|
|
39907
|
+
Paybybank: "paybybank",
|
|
39908
|
+
Payconiq: "payconiq",
|
|
39909
|
+
Paypal: "paypal",
|
|
39910
|
+
Paysafecard: "paysafecard",
|
|
39911
|
+
Pointofsale: "pointofsale",
|
|
39912
|
+
Przelewy24: "przelewy24",
|
|
39913
|
+
Riverty: "riverty",
|
|
39914
|
+
Satispay: "satispay",
|
|
39915
|
+
Swish: "swish",
|
|
39916
|
+
Trustly: "trustly",
|
|
39917
|
+
Twint: "twint",
|
|
39918
|
+
Vipps: "vipps",
|
|
39919
|
+
Voucher: "voucher",
|
|
39920
|
+
Klarnapaylater: "klarnapaylater",
|
|
39921
|
+
Klarnapaynow: "klarnapaynow",
|
|
39922
|
+
Klarnasliceit: "klarnasliceit"
|
|
39923
|
+
};
|
|
39924
|
+
ListEntityMethodId$inboundSchema = inboundSchema(ListEntityMethodId);
|
|
39925
|
+
ListEntityMethodId$outboundSchema = outboundSchema(ListEntityMethodId);
|
|
39926
|
+
ListEntityMethodMinimumAmount$inboundSchema = objectType({
|
|
39927
|
+
currency: stringType(),
|
|
39928
|
+
value: stringType()
|
|
39929
|
+
});
|
|
39930
|
+
ListEntityMethodMinimumAmount$outboundSchema = objectType({
|
|
39931
|
+
currency: stringType(),
|
|
39932
|
+
value: stringType()
|
|
39933
|
+
});
|
|
39934
|
+
ListEntityMethodMaximumAmount$inboundSchema = objectType({
|
|
39935
|
+
currency: stringType(),
|
|
39936
|
+
value: stringType()
|
|
39937
|
+
});
|
|
39938
|
+
ListEntityMethodMaximumAmount$outboundSchema = objectType({
|
|
39939
|
+
currency: stringType(),
|
|
39940
|
+
value: stringType()
|
|
39941
|
+
});
|
|
39942
|
+
ListEntityMethodImage$inboundSchema = objectType({
|
|
39943
|
+
size1x: stringType(),
|
|
39944
|
+
size2x: stringType(),
|
|
39945
|
+
svg: stringType()
|
|
39946
|
+
});
|
|
39947
|
+
ListEntityMethodImage$outboundSchema = objectType({
|
|
39948
|
+
size1x: stringType(),
|
|
39949
|
+
size2x: stringType(),
|
|
39950
|
+
svg: stringType()
|
|
39951
|
+
});
|
|
39952
|
+
ListEntityMethodIssuerImage$inboundSchema = objectType({
|
|
39953
|
+
size1x: stringType().optional(),
|
|
39954
|
+
size2x: stringType().optional(),
|
|
39955
|
+
svg: stringType().optional()
|
|
39956
|
+
});
|
|
39957
|
+
ListEntityMethodIssuerImage$outboundSchema = objectType({
|
|
39958
|
+
size1x: stringType().optional(),
|
|
39959
|
+
size2x: stringType().optional(),
|
|
39960
|
+
svg: stringType().optional()
|
|
39961
|
+
});
|
|
39962
|
+
ListEntityMethodIssuer$inboundSchema = objectType({
|
|
39963
|
+
resource: stringType(),
|
|
39964
|
+
id: stringType(),
|
|
39965
|
+
name: stringType(),
|
|
39966
|
+
image: lazyType(() => ListEntityMethodIssuerImage$inboundSchema)
|
|
39967
|
+
});
|
|
39968
|
+
ListEntityMethodIssuer$outboundSchema = objectType({
|
|
39969
|
+
resource: stringType(),
|
|
39970
|
+
id: stringType(),
|
|
39971
|
+
name: stringType(),
|
|
39972
|
+
image: lazyType(() => ListEntityMethodIssuerImage$outboundSchema)
|
|
39973
|
+
});
|
|
39974
|
+
ListEntityMethodLinks$inboundSchema = objectType({
|
|
39975
|
+
self: Url$inboundSchema
|
|
39976
|
+
});
|
|
39977
|
+
ListEntityMethodLinks$outboundSchema = objectType({
|
|
39978
|
+
self: Url$outboundSchema
|
|
39979
|
+
});
|
|
39980
|
+
ListEntityMethod$inboundSchema = objectType({
|
|
39981
|
+
resource: stringType(),
|
|
39982
|
+
id: nullableType(ListEntityMethodId$inboundSchema),
|
|
39983
|
+
description: stringType(),
|
|
39984
|
+
minimumAmount: lazyType(() => ListEntityMethodMinimumAmount$inboundSchema),
|
|
39985
|
+
maximumAmount: nullableType(lazyType(() => ListEntityMethodMaximumAmount$inboundSchema)),
|
|
39986
|
+
image: lazyType(() => ListEntityMethodImage$inboundSchema),
|
|
39987
|
+
status: MethodStatus$inboundSchema,
|
|
39988
|
+
issuers: arrayType(lazyType(() => ListEntityMethodIssuer$inboundSchema)).optional(),
|
|
39989
|
+
_links: lazyType(() => ListEntityMethodLinks$inboundSchema)
|
|
39990
|
+
}).transform((v2) => {
|
|
39991
|
+
return remap(v2, {
|
|
39992
|
+
_links: "links"
|
|
39993
|
+
});
|
|
39994
|
+
});
|
|
39995
|
+
ListEntityMethod$outboundSchema = objectType({
|
|
39996
|
+
resource: stringType(),
|
|
39997
|
+
id: nullableType(ListEntityMethodId$outboundSchema),
|
|
39998
|
+
description: stringType(),
|
|
39999
|
+
minimumAmount: lazyType(() => ListEntityMethodMinimumAmount$outboundSchema),
|
|
40000
|
+
maximumAmount: nullableType(lazyType(() => ListEntityMethodMaximumAmount$outboundSchema)),
|
|
40001
|
+
image: lazyType(() => ListEntityMethodImage$outboundSchema),
|
|
40002
|
+
status: MethodStatus$outboundSchema,
|
|
40003
|
+
issuers: arrayType(lazyType(() => ListEntityMethodIssuer$outboundSchema)).optional(),
|
|
40004
|
+
links: lazyType(() => ListEntityMethodLinks$outboundSchema)
|
|
40005
|
+
}).transform((v2) => {
|
|
40006
|
+
return remap(v2, {
|
|
40007
|
+
links: "_links"
|
|
40008
|
+
});
|
|
40009
|
+
});
|
|
40010
|
+
});
|
|
40011
|
+
|
|
40012
|
+
// src/models/listentitymethodall.ts
|
|
40013
|
+
var ListEntityMethodAllId, ListEntityMethodAllId$inboundSchema, ListEntityMethodAllId$outboundSchema, ListEntityMethodAllMinimumAmount$inboundSchema, ListEntityMethodAllMinimumAmount$outboundSchema, ListEntityMethodAllMaximumAmount$inboundSchema, ListEntityMethodAllMaximumAmount$outboundSchema, ListEntityMethodAllImage$inboundSchema, ListEntityMethodAllImage$outboundSchema, ListEntityMethodAllIssuerImage$inboundSchema, ListEntityMethodAllIssuerImage$outboundSchema, ListEntityMethodAllIssuer$inboundSchema, ListEntityMethodAllIssuer$outboundSchema, ListEntityMethodAllLinks$inboundSchema, ListEntityMethodAllLinks$outboundSchema, Pricing$inboundSchema, Pricing$outboundSchema, ListEntityMethodAll$inboundSchema, ListEntityMethodAll$outboundSchema;
|
|
40014
|
+
var init_listentitymethodall = __esm(() => {
|
|
40015
|
+
init_esm();
|
|
40016
|
+
init_primitives();
|
|
40017
|
+
init_enums();
|
|
40018
|
+
init_amount();
|
|
40019
|
+
init_methodstatus();
|
|
40020
|
+
init_url2();
|
|
40021
|
+
ListEntityMethodAllId = {
|
|
40022
|
+
Alma: "alma",
|
|
40023
|
+
Applepay: "applepay",
|
|
40024
|
+
Bacs: "bacs",
|
|
40025
|
+
Bancomatpay: "bancomatpay",
|
|
40026
|
+
Bancontact: "bancontact",
|
|
40027
|
+
Banktransfer: "banktransfer",
|
|
40028
|
+
Belfius: "belfius",
|
|
40029
|
+
Billie: "billie",
|
|
40030
|
+
Bizum: "bizum",
|
|
40031
|
+
Blik: "blik",
|
|
40032
|
+
Creditcard: "creditcard",
|
|
40033
|
+
Directdebit: "directdebit",
|
|
40034
|
+
Eps: "eps",
|
|
40035
|
+
Giftcard: "giftcard",
|
|
40036
|
+
Ideal: "ideal",
|
|
40037
|
+
In3: "in3",
|
|
40038
|
+
Kbc: "kbc",
|
|
40039
|
+
Klarna: "klarna",
|
|
40040
|
+
Mbway: "mbway",
|
|
40041
|
+
Mobilepay: "mobilepay",
|
|
40042
|
+
Multibanco: "multibanco",
|
|
40043
|
+
Mybank: "mybank",
|
|
40044
|
+
Paybybank: "paybybank",
|
|
40045
|
+
Payconiq: "payconiq",
|
|
40046
|
+
Paypal: "paypal",
|
|
40047
|
+
Paysafecard: "paysafecard",
|
|
40048
|
+
Pointofsale: "pointofsale",
|
|
40049
|
+
Przelewy24: "przelewy24",
|
|
40050
|
+
Riverty: "riverty",
|
|
40051
|
+
Satispay: "satispay",
|
|
40052
|
+
Swish: "swish",
|
|
40053
|
+
Trustly: "trustly",
|
|
40054
|
+
Twint: "twint",
|
|
40055
|
+
Vipps: "vipps",
|
|
40056
|
+
Voucher: "voucher",
|
|
40057
|
+
Klarnapaylater: "klarnapaylater",
|
|
40058
|
+
Klarnapaynow: "klarnapaynow",
|
|
40059
|
+
Klarnasliceit: "klarnasliceit"
|
|
40060
|
+
};
|
|
40061
|
+
ListEntityMethodAllId$inboundSchema = inboundSchema(ListEntityMethodAllId);
|
|
40062
|
+
ListEntityMethodAllId$outboundSchema = outboundSchema(ListEntityMethodAllId);
|
|
40063
|
+
ListEntityMethodAllMinimumAmount$inboundSchema = objectType({
|
|
40064
|
+
currency: stringType(),
|
|
40065
|
+
value: stringType()
|
|
40066
|
+
});
|
|
40067
|
+
ListEntityMethodAllMinimumAmount$outboundSchema = objectType({
|
|
40068
|
+
currency: stringType(),
|
|
40069
|
+
value: stringType()
|
|
40070
|
+
});
|
|
40071
|
+
ListEntityMethodAllMaximumAmount$inboundSchema = objectType({
|
|
40072
|
+
currency: stringType(),
|
|
40073
|
+
value: stringType()
|
|
40074
|
+
});
|
|
40075
|
+
ListEntityMethodAllMaximumAmount$outboundSchema = objectType({
|
|
40076
|
+
currency: stringType(),
|
|
40077
|
+
value: stringType()
|
|
40078
|
+
});
|
|
40079
|
+
ListEntityMethodAllImage$inboundSchema = objectType({
|
|
40080
|
+
size1x: stringType(),
|
|
40081
|
+
size2x: stringType(),
|
|
40082
|
+
svg: stringType()
|
|
40083
|
+
});
|
|
40084
|
+
ListEntityMethodAllImage$outboundSchema = objectType({
|
|
40085
|
+
size1x: stringType(),
|
|
40086
|
+
size2x: stringType(),
|
|
40087
|
+
svg: stringType()
|
|
40088
|
+
});
|
|
40089
|
+
ListEntityMethodAllIssuerImage$inboundSchema = objectType({
|
|
40090
|
+
size1x: stringType().optional(),
|
|
40091
|
+
size2x: stringType().optional(),
|
|
40092
|
+
svg: stringType().optional()
|
|
40093
|
+
});
|
|
40094
|
+
ListEntityMethodAllIssuerImage$outboundSchema = objectType({
|
|
40095
|
+
size1x: stringType().optional(),
|
|
40096
|
+
size2x: stringType().optional(),
|
|
40097
|
+
svg: stringType().optional()
|
|
40098
|
+
});
|
|
40099
|
+
ListEntityMethodAllIssuer$inboundSchema = objectType({
|
|
40100
|
+
resource: stringType(),
|
|
40101
|
+
id: stringType(),
|
|
40102
|
+
name: stringType(),
|
|
40103
|
+
image: lazyType(() => ListEntityMethodAllIssuerImage$inboundSchema)
|
|
40104
|
+
});
|
|
40105
|
+
ListEntityMethodAllIssuer$outboundSchema = objectType({
|
|
40106
|
+
resource: stringType(),
|
|
40107
|
+
id: stringType(),
|
|
40108
|
+
name: stringType(),
|
|
40109
|
+
image: lazyType(() => ListEntityMethodAllIssuerImage$outboundSchema)
|
|
40110
|
+
});
|
|
40111
|
+
ListEntityMethodAllLinks$inboundSchema = objectType({
|
|
40112
|
+
self: Url$inboundSchema,
|
|
40113
|
+
documentation: Url$inboundSchema.optional()
|
|
40114
|
+
});
|
|
40115
|
+
ListEntityMethodAllLinks$outboundSchema = objectType({
|
|
40116
|
+
self: Url$outboundSchema,
|
|
40117
|
+
documentation: Url$outboundSchema.optional()
|
|
40118
|
+
});
|
|
40119
|
+
Pricing$inboundSchema = objectType({
|
|
40120
|
+
description: stringType(),
|
|
40121
|
+
fixed: Amount$inboundSchema,
|
|
40122
|
+
variable: stringType(),
|
|
40123
|
+
feeRegion: nullableType(stringType()).optional()
|
|
40124
|
+
});
|
|
40125
|
+
Pricing$outboundSchema = objectType({
|
|
40126
|
+
description: stringType(),
|
|
40127
|
+
fixed: Amount$outboundSchema,
|
|
40128
|
+
variable: stringType(),
|
|
40129
|
+
feeRegion: nullableType(stringType()).optional()
|
|
40130
|
+
});
|
|
40131
|
+
ListEntityMethodAll$inboundSchema = objectType({
|
|
40132
|
+
resource: stringType(),
|
|
40133
|
+
id: nullableType(ListEntityMethodAllId$inboundSchema),
|
|
40134
|
+
description: stringType(),
|
|
40135
|
+
minimumAmount: lazyType(() => ListEntityMethodAllMinimumAmount$inboundSchema),
|
|
40136
|
+
maximumAmount: nullableType(lazyType(() => ListEntityMethodAllMaximumAmount$inboundSchema)),
|
|
40137
|
+
image: lazyType(() => ListEntityMethodAllImage$inboundSchema),
|
|
40138
|
+
status: MethodStatus$inboundSchema,
|
|
40139
|
+
issuers: arrayType(lazyType(() => ListEntityMethodAllIssuer$inboundSchema)).optional(),
|
|
40140
|
+
_links: lazyType(() => ListEntityMethodAllLinks$inboundSchema),
|
|
40141
|
+
pricing: arrayType(lazyType(() => Pricing$inboundSchema)).optional()
|
|
40142
|
+
}).transform((v2) => {
|
|
40143
|
+
return remap(v2, {
|
|
40144
|
+
_links: "links"
|
|
40145
|
+
});
|
|
40146
|
+
});
|
|
40147
|
+
ListEntityMethodAll$outboundSchema = objectType({
|
|
40148
|
+
resource: stringType(),
|
|
40149
|
+
id: nullableType(ListEntityMethodAllId$outboundSchema),
|
|
40150
|
+
description: stringType(),
|
|
40151
|
+
minimumAmount: lazyType(() => ListEntityMethodAllMinimumAmount$outboundSchema),
|
|
40152
|
+
maximumAmount: nullableType(lazyType(() => ListEntityMethodAllMaximumAmount$outboundSchema)),
|
|
40153
|
+
image: lazyType(() => ListEntityMethodAllImage$outboundSchema),
|
|
40154
|
+
status: MethodStatus$outboundSchema,
|
|
40155
|
+
issuers: arrayType(lazyType(() => ListEntityMethodAllIssuer$outboundSchema)).optional(),
|
|
40156
|
+
links: lazyType(() => ListEntityMethodAllLinks$outboundSchema),
|
|
40157
|
+
pricing: arrayType(lazyType(() => Pricing$outboundSchema)).optional()
|
|
40158
|
+
}).transform((v2) => {
|
|
40159
|
+
return remap(v2, {
|
|
40160
|
+
links: "_links"
|
|
40161
|
+
});
|
|
40162
|
+
});
|
|
40163
|
+
});
|
|
40164
|
+
|
|
40165
|
+
// src/models/listentitypermission.ts
|
|
40166
|
+
var ListEntityPermissionLinks$inboundSchema, ListEntityPermissionLinks$outboundSchema, ListEntityPermission$inboundSchema, ListEntityPermission$outboundSchema;
|
|
40167
|
+
var init_listentitypermission = __esm(() => {
|
|
40168
|
+
init_esm();
|
|
40169
|
+
init_primitives();
|
|
40170
|
+
init_url2();
|
|
40171
|
+
ListEntityPermissionLinks$inboundSchema = objectType({
|
|
40172
|
+
self: Url$inboundSchema.optional()
|
|
40173
|
+
});
|
|
40174
|
+
ListEntityPermissionLinks$outboundSchema = objectType({
|
|
40175
|
+
self: Url$outboundSchema.optional()
|
|
40176
|
+
});
|
|
40177
|
+
ListEntityPermission$inboundSchema = objectType({
|
|
40178
|
+
resource: stringType(),
|
|
40179
|
+
id: stringType(),
|
|
40180
|
+
description: stringType(),
|
|
40181
|
+
granted: booleanType(),
|
|
40182
|
+
_links: lazyType(() => ListEntityPermissionLinks$inboundSchema)
|
|
40183
|
+
}).transform((v2) => {
|
|
40184
|
+
return remap(v2, {
|
|
40185
|
+
_links: "links"
|
|
40186
|
+
});
|
|
40187
|
+
});
|
|
40188
|
+
ListEntityPermission$outboundSchema = objectType({
|
|
40189
|
+
resource: stringType(),
|
|
40190
|
+
id: stringType(),
|
|
40191
|
+
description: stringType(),
|
|
40192
|
+
granted: booleanType(),
|
|
40193
|
+
links: lazyType(() => ListEntityPermissionLinks$outboundSchema)
|
|
40194
|
+
}).transform((v2) => {
|
|
40195
|
+
return remap(v2, {
|
|
40196
|
+
links: "_links"
|
|
40197
|
+
});
|
|
40198
|
+
});
|
|
40199
|
+
});
|
|
40200
|
+
|
|
40201
|
+
// src/models/listentityrefundresponse.ts
|
|
40202
|
+
var ListEntityRefundResponseStatus, ListEntityRefundResponseSettlementAmount$inboundSchema, ListEntityRefundResponseSettlementAmount$outboundSchema, ListEntityRefundResponseStatus$inboundSchema, ListEntityRefundResponseStatus$outboundSchema, ListEntityRefundResponseExternalReference$inboundSchema, ListEntityRefundResponseExternalReference$outboundSchema, ListEntityRefundResponseSource$inboundSchema, ListEntityRefundResponseSource$outboundSchema, ListEntityRefundResponseRoutingReversal$inboundSchema, ListEntityRefundResponseRoutingReversal$outboundSchema, ListEntityRefundResponseLinks$inboundSchema, ListEntityRefundResponseLinks$outboundSchema, ListEntityRefundResponse$inboundSchema, ListEntityRefundResponse$outboundSchema;
|
|
40203
|
+
var init_listentityrefundresponse = __esm(() => {
|
|
40204
|
+
init_esm();
|
|
40205
|
+
init_primitives();
|
|
40206
|
+
init_enums();
|
|
40207
|
+
init_amount();
|
|
40208
|
+
init_metadata();
|
|
40209
|
+
init_mode();
|
|
40210
|
+
init_refundexternalreferencetyperesponse();
|
|
40211
|
+
init_url2();
|
|
40212
|
+
init_urlnullable();
|
|
40213
|
+
ListEntityRefundResponseStatus = {
|
|
40214
|
+
Queued: "queued",
|
|
40215
|
+
Pending: "pending",
|
|
40216
|
+
Processing: "processing",
|
|
40217
|
+
Refunded: "refunded",
|
|
40218
|
+
Failed: "failed",
|
|
40219
|
+
Canceled: "canceled"
|
|
40220
|
+
};
|
|
40221
|
+
ListEntityRefundResponseSettlementAmount$inboundSchema = objectType({
|
|
40222
|
+
currency: stringType(),
|
|
40223
|
+
value: stringType()
|
|
40224
|
+
});
|
|
40225
|
+
ListEntityRefundResponseSettlementAmount$outboundSchema = objectType({
|
|
40226
|
+
currency: stringType(),
|
|
40227
|
+
value: stringType()
|
|
40228
|
+
});
|
|
40229
|
+
ListEntityRefundResponseStatus$inboundSchema = inboundSchema(ListEntityRefundResponseStatus);
|
|
40230
|
+
ListEntityRefundResponseStatus$outboundSchema = outboundSchema(ListEntityRefundResponseStatus);
|
|
40231
|
+
ListEntityRefundResponseExternalReference$inboundSchema = objectType({
|
|
40232
|
+
type: RefundExternalReferenceTypeResponse$inboundSchema.optional(),
|
|
40233
|
+
id: stringType().optional()
|
|
40234
|
+
});
|
|
40235
|
+
ListEntityRefundResponseExternalReference$outboundSchema = objectType({
|
|
40236
|
+
type: RefundExternalReferenceTypeResponse$outboundSchema.optional(),
|
|
40237
|
+
id: stringType().optional()
|
|
40238
|
+
});
|
|
40239
|
+
ListEntityRefundResponseSource$inboundSchema = objectType({
|
|
40240
|
+
organizationId: stringType().optional()
|
|
40241
|
+
});
|
|
40242
|
+
ListEntityRefundResponseSource$outboundSchema = objectType({
|
|
40243
|
+
organizationId: stringType().optional()
|
|
40244
|
+
});
|
|
40245
|
+
ListEntityRefundResponseRoutingReversal$inboundSchema = objectType({
|
|
40246
|
+
amount: Amount$inboundSchema.optional(),
|
|
40247
|
+
source: lazyType(() => ListEntityRefundResponseSource$inboundSchema).optional()
|
|
40248
|
+
});
|
|
40249
|
+
ListEntityRefundResponseRoutingReversal$outboundSchema = objectType({
|
|
40250
|
+
amount: Amount$outboundSchema.optional(),
|
|
40251
|
+
source: lazyType(() => ListEntityRefundResponseSource$outboundSchema).optional()
|
|
40252
|
+
});
|
|
40253
|
+
ListEntityRefundResponseLinks$inboundSchema = objectType({
|
|
40254
|
+
self: Url$inboundSchema,
|
|
40255
|
+
payment: Url$inboundSchema,
|
|
40256
|
+
settlement: nullableType(UrlNullable$inboundSchema).optional()
|
|
40257
|
+
});
|
|
40258
|
+
ListEntityRefundResponseLinks$outboundSchema = objectType({
|
|
40259
|
+
self: Url$outboundSchema,
|
|
40260
|
+
payment: Url$outboundSchema,
|
|
40261
|
+
settlement: nullableType(UrlNullable$outboundSchema).optional()
|
|
40262
|
+
});
|
|
40263
|
+
ListEntityRefundResponse$inboundSchema = objectType({
|
|
40264
|
+
resource: stringType(),
|
|
40265
|
+
id: stringType(),
|
|
40266
|
+
mode: Mode$inboundSchema,
|
|
40267
|
+
description: stringType(),
|
|
40268
|
+
amount: Amount$inboundSchema,
|
|
40269
|
+
settlementAmount: nullableType(lazyType(() => ListEntityRefundResponseSettlementAmount$inboundSchema)).optional(),
|
|
40270
|
+
metadata: nullableType(Metadata$inboundSchema),
|
|
40271
|
+
paymentId: stringType().optional(),
|
|
40272
|
+
settlementId: nullableType(stringType()).optional(),
|
|
40273
|
+
status: ListEntityRefundResponseStatus$inboundSchema,
|
|
40274
|
+
createdAt: stringType(),
|
|
40275
|
+
externalReference: lazyType(() => ListEntityRefundResponseExternalReference$inboundSchema).optional(),
|
|
40276
|
+
routingReversals: nullableType(arrayType(lazyType(() => ListEntityRefundResponseRoutingReversal$inboundSchema))).optional(),
|
|
40277
|
+
_links: lazyType(() => ListEntityRefundResponseLinks$inboundSchema)
|
|
40278
|
+
}).transform((v2) => {
|
|
40279
|
+
return remap(v2, {
|
|
40280
|
+
_links: "links"
|
|
40281
|
+
});
|
|
40282
|
+
});
|
|
40283
|
+
ListEntityRefundResponse$outboundSchema = objectType({
|
|
40284
|
+
resource: stringType(),
|
|
40285
|
+
id: stringType(),
|
|
40286
|
+
mode: Mode$outboundSchema,
|
|
40287
|
+
description: stringType(),
|
|
40288
|
+
amount: Amount$outboundSchema,
|
|
40289
|
+
settlementAmount: nullableType(lazyType(() => ListEntityRefundResponseSettlementAmount$outboundSchema)).optional(),
|
|
40290
|
+
metadata: nullableType(Metadata$outboundSchema),
|
|
40291
|
+
paymentId: stringType().optional(),
|
|
40292
|
+
settlementId: nullableType(stringType()).optional(),
|
|
40293
|
+
status: ListEntityRefundResponseStatus$outboundSchema,
|
|
40294
|
+
createdAt: stringType(),
|
|
40295
|
+
externalReference: lazyType(() => ListEntityRefundResponseExternalReference$outboundSchema).optional(),
|
|
40296
|
+
routingReversals: nullableType(arrayType(lazyType(() => ListEntityRefundResponseRoutingReversal$outboundSchema))).optional(),
|
|
40297
|
+
links: lazyType(() => ListEntityRefundResponseLinks$outboundSchema)
|
|
40298
|
+
}).transform((v2) => {
|
|
40299
|
+
return remap(v2, {
|
|
40300
|
+
links: "_links"
|
|
40301
|
+
});
|
|
40302
|
+
});
|
|
40303
|
+
});
|
|
40304
|
+
|
|
40305
|
+
// src/models/listentitysettlement.ts
|
|
40306
|
+
var ListEntitySettlementStatus, ListEntitySettlementStatus$inboundSchema, ListEntitySettlementStatus$outboundSchema, ListEntitySettlementAmount$inboundSchema, ListEntitySettlementAmount$outboundSchema, ListEntitySettlementRate$inboundSchema, ListEntitySettlementRate$outboundSchema, ListEntitySettlementCost$inboundSchema, ListEntitySettlementCost$outboundSchema, ListEntitySettlementRevenue$inboundSchema, ListEntitySettlementRevenue$outboundSchema, ListEntitySettlementPeriods$inboundSchema, ListEntitySettlementPeriods$outboundSchema, ListEntitySettlementLinks$inboundSchema, ListEntitySettlementLinks$outboundSchema, ListEntitySettlement$inboundSchema, ListEntitySettlement$outboundSchema;
|
|
40307
|
+
var init_listentitysettlement = __esm(() => {
|
|
40308
|
+
init_esm();
|
|
40309
|
+
init_primitives();
|
|
40310
|
+
init_enums();
|
|
40311
|
+
init_amount();
|
|
40312
|
+
init_amountnullable();
|
|
40313
|
+
init_paymentmethod();
|
|
40314
|
+
init_url2();
|
|
40315
|
+
init_urlnullable();
|
|
40316
|
+
ListEntitySettlementStatus = {
|
|
40317
|
+
Open: "open",
|
|
40318
|
+
Pending: "pending",
|
|
40319
|
+
Paidout: "paidout",
|
|
40320
|
+
Failed: "failed"
|
|
40321
|
+
};
|
|
40322
|
+
ListEntitySettlementStatus$inboundSchema = inboundSchema(ListEntitySettlementStatus);
|
|
40323
|
+
ListEntitySettlementStatus$outboundSchema = outboundSchema(ListEntitySettlementStatus);
|
|
40324
|
+
ListEntitySettlementAmount$inboundSchema = objectType({
|
|
40325
|
+
currency: stringType(),
|
|
40326
|
+
value: stringType()
|
|
40327
|
+
});
|
|
40328
|
+
ListEntitySettlementAmount$outboundSchema = objectType({
|
|
40329
|
+
currency: stringType(),
|
|
40330
|
+
value: stringType()
|
|
40331
|
+
});
|
|
40332
|
+
ListEntitySettlementRate$inboundSchema = objectType({
|
|
40333
|
+
fixed: Amount$inboundSchema.optional(),
|
|
40334
|
+
percentage: stringType().optional()
|
|
40335
|
+
});
|
|
40336
|
+
ListEntitySettlementRate$outboundSchema = objectType({
|
|
40337
|
+
fixed: Amount$outboundSchema.optional(),
|
|
40338
|
+
percentage: stringType().optional()
|
|
40339
|
+
});
|
|
40340
|
+
ListEntitySettlementCost$inboundSchema = objectType({
|
|
40341
|
+
description: stringType(),
|
|
40342
|
+
method: nullableType(PaymentMethod$inboundSchema),
|
|
40343
|
+
count: numberType().int(),
|
|
40344
|
+
rate: lazyType(() => ListEntitySettlementRate$inboundSchema),
|
|
40345
|
+
amountNet: Amount$inboundSchema,
|
|
40346
|
+
amountVat: nullableType(AmountNullable$inboundSchema),
|
|
40347
|
+
amountGross: Amount$inboundSchema
|
|
40348
|
+
});
|
|
40349
|
+
ListEntitySettlementCost$outboundSchema = objectType({
|
|
40350
|
+
description: stringType(),
|
|
40351
|
+
method: nullableType(PaymentMethod$outboundSchema),
|
|
40352
|
+
count: numberType().int(),
|
|
40353
|
+
rate: lazyType(() => ListEntitySettlementRate$outboundSchema),
|
|
40354
|
+
amountNet: Amount$outboundSchema,
|
|
40355
|
+
amountVat: nullableType(AmountNullable$outboundSchema),
|
|
40356
|
+
amountGross: Amount$outboundSchema
|
|
40357
|
+
});
|
|
40358
|
+
ListEntitySettlementRevenue$inboundSchema = objectType({
|
|
40359
|
+
description: stringType(),
|
|
40360
|
+
method: nullableType(PaymentMethod$inboundSchema),
|
|
40361
|
+
count: numberType().int(),
|
|
40362
|
+
amountNet: Amount$inboundSchema,
|
|
40363
|
+
amountVat: nullableType(AmountNullable$inboundSchema),
|
|
40364
|
+
amountGross: Amount$inboundSchema
|
|
40365
|
+
});
|
|
40366
|
+
ListEntitySettlementRevenue$outboundSchema = objectType({
|
|
40367
|
+
description: stringType(),
|
|
40368
|
+
method: nullableType(PaymentMethod$outboundSchema),
|
|
40369
|
+
count: numberType().int(),
|
|
40370
|
+
amountNet: Amount$outboundSchema,
|
|
40371
|
+
amountVat: nullableType(AmountNullable$outboundSchema),
|
|
40372
|
+
amountGross: Amount$outboundSchema
|
|
40373
|
+
});
|
|
40374
|
+
ListEntitySettlementPeriods$inboundSchema = objectType({
|
|
40375
|
+
costs: arrayType(lazyType(() => ListEntitySettlementCost$inboundSchema)).optional(),
|
|
40376
|
+
revenue: arrayType(lazyType(() => ListEntitySettlementRevenue$inboundSchema)).optional(),
|
|
40377
|
+
invoiceId: stringType().optional(),
|
|
40378
|
+
invoiceReference: nullableType(stringType()).optional()
|
|
40379
|
+
});
|
|
40380
|
+
ListEntitySettlementPeriods$outboundSchema = objectType({
|
|
40381
|
+
costs: arrayType(lazyType(() => ListEntitySettlementCost$outboundSchema)).optional(),
|
|
40382
|
+
revenue: arrayType(lazyType(() => ListEntitySettlementRevenue$outboundSchema)).optional(),
|
|
40383
|
+
invoiceId: stringType().optional(),
|
|
40384
|
+
invoiceReference: nullableType(stringType()).optional()
|
|
40385
|
+
});
|
|
40386
|
+
ListEntitySettlementLinks$inboundSchema = objectType({
|
|
40387
|
+
self: Url$inboundSchema,
|
|
40388
|
+
payments: Url$inboundSchema.optional(),
|
|
40389
|
+
captures: Url$inboundSchema.optional(),
|
|
40390
|
+
refunds: Url$inboundSchema.optional(),
|
|
40391
|
+
chargebacks: Url$inboundSchema.optional(),
|
|
40392
|
+
invoice: nullableType(UrlNullable$inboundSchema).optional()
|
|
40393
|
+
});
|
|
40394
|
+
ListEntitySettlementLinks$outboundSchema = objectType({
|
|
40395
|
+
self: Url$outboundSchema,
|
|
40396
|
+
payments: Url$outboundSchema.optional(),
|
|
40397
|
+
captures: Url$outboundSchema.optional(),
|
|
40398
|
+
refunds: Url$outboundSchema.optional(),
|
|
40399
|
+
chargebacks: Url$outboundSchema.optional(),
|
|
40400
|
+
invoice: nullableType(UrlNullable$outboundSchema).optional()
|
|
40401
|
+
});
|
|
40402
|
+
ListEntitySettlement$inboundSchema = objectType({
|
|
40403
|
+
resource: stringType(),
|
|
40404
|
+
id: stringType(),
|
|
40405
|
+
createdAt: stringType().optional(),
|
|
40406
|
+
reference: nullableType(stringType()).optional(),
|
|
40407
|
+
settledAt: nullableType(stringType()).optional(),
|
|
40408
|
+
status: ListEntitySettlementStatus$inboundSchema,
|
|
40409
|
+
amount: lazyType(() => ListEntitySettlementAmount$inboundSchema),
|
|
40410
|
+
balanceId: stringType(),
|
|
40411
|
+
invoiceId: nullableType(stringType()).optional(),
|
|
40412
|
+
periods: recordType(recordType(lazyType(() => ListEntitySettlementPeriods$inboundSchema))).optional(),
|
|
40413
|
+
_links: lazyType(() => ListEntitySettlementLinks$inboundSchema)
|
|
40414
|
+
}).transform((v2) => {
|
|
40415
|
+
return remap(v2, {
|
|
40416
|
+
_links: "links"
|
|
40417
|
+
});
|
|
40418
|
+
});
|
|
40419
|
+
ListEntitySettlement$outboundSchema = objectType({
|
|
40420
|
+
resource: stringType(),
|
|
40421
|
+
id: stringType(),
|
|
40422
|
+
createdAt: stringType().optional(),
|
|
40423
|
+
reference: nullableType(stringType()).optional(),
|
|
40424
|
+
settledAt: nullableType(stringType()).optional(),
|
|
40425
|
+
status: ListEntitySettlementStatus$outboundSchema,
|
|
40426
|
+
amount: lazyType(() => ListEntitySettlementAmount$outboundSchema),
|
|
40427
|
+
balanceId: stringType(),
|
|
40428
|
+
invoiceId: nullableType(stringType()).optional(),
|
|
40429
|
+
periods: recordType(recordType(lazyType(() => ListEntitySettlementPeriods$outboundSchema))).optional(),
|
|
40430
|
+
links: lazyType(() => ListEntitySettlementLinks$outboundSchema)
|
|
40431
|
+
}).transform((v2) => {
|
|
40432
|
+
return remap(v2, {
|
|
40433
|
+
links: "_links"
|
|
40434
|
+
});
|
|
40435
|
+
});
|
|
40436
|
+
});
|
|
40437
|
+
|
|
40438
|
+
// src/models/listentityterminal.ts
|
|
40439
|
+
var ListEntityTerminalStatus, ListEntityTerminalStatus$inboundSchema, ListEntityTerminalStatus$outboundSchema, ListEntityTerminalLinks$inboundSchema, ListEntityTerminalLinks$outboundSchema, ListEntityTerminal$inboundSchema, ListEntityTerminal$outboundSchema;
|
|
40440
|
+
var init_listentityterminal = __esm(() => {
|
|
40441
|
+
init_esm();
|
|
40442
|
+
init_primitives();
|
|
40443
|
+
init_enums();
|
|
40444
|
+
init_mode();
|
|
40445
|
+
init_terminalbrand();
|
|
40446
|
+
init_terminalmodel();
|
|
40447
|
+
init_url2();
|
|
40448
|
+
ListEntityTerminalStatus = {
|
|
40449
|
+
Pending: "pending",
|
|
40450
|
+
Active: "active",
|
|
40451
|
+
Inactive: "inactive"
|
|
40452
|
+
};
|
|
40453
|
+
ListEntityTerminalStatus$inboundSchema = inboundSchema(ListEntityTerminalStatus);
|
|
40454
|
+
ListEntityTerminalStatus$outboundSchema = outboundSchema(ListEntityTerminalStatus);
|
|
40455
|
+
ListEntityTerminalLinks$inboundSchema = objectType({
|
|
40456
|
+
self: Url$inboundSchema
|
|
40457
|
+
});
|
|
40458
|
+
ListEntityTerminalLinks$outboundSchema = objectType({
|
|
40459
|
+
self: Url$outboundSchema
|
|
40460
|
+
});
|
|
40461
|
+
ListEntityTerminal$inboundSchema = objectType({
|
|
40462
|
+
resource: stringType(),
|
|
40463
|
+
id: stringType(),
|
|
40464
|
+
mode: Mode$inboundSchema,
|
|
40465
|
+
description: stringType(),
|
|
40466
|
+
status: ListEntityTerminalStatus$inboundSchema,
|
|
40467
|
+
brand: nullableType(TerminalBrand$inboundSchema),
|
|
40468
|
+
model: nullableType(TerminalModel$inboundSchema),
|
|
40469
|
+
serialNumber: nullableType(stringType()),
|
|
40470
|
+
currency: stringType(),
|
|
40471
|
+
profileId: stringType(),
|
|
40472
|
+
createdAt: stringType(),
|
|
40473
|
+
updatedAt: stringType(),
|
|
40474
|
+
_links: lazyType(() => ListEntityTerminalLinks$inboundSchema)
|
|
40475
|
+
}).transform((v2) => {
|
|
40476
|
+
return remap(v2, {
|
|
40477
|
+
_links: "links"
|
|
40478
|
+
});
|
|
40479
|
+
});
|
|
40480
|
+
ListEntityTerminal$outboundSchema = objectType({
|
|
40481
|
+
resource: stringType(),
|
|
40482
|
+
id: stringType(),
|
|
40483
|
+
mode: Mode$outboundSchema,
|
|
40484
|
+
description: stringType(),
|
|
40485
|
+
status: ListEntityTerminalStatus$outboundSchema,
|
|
40486
|
+
brand: nullableType(TerminalBrand$outboundSchema),
|
|
40487
|
+
model: nullableType(TerminalModel$outboundSchema),
|
|
40488
|
+
serialNumber: nullableType(stringType()),
|
|
40489
|
+
currency: stringType(),
|
|
40490
|
+
profileId: stringType(),
|
|
40491
|
+
createdAt: stringType(),
|
|
40492
|
+
updatedAt: stringType(),
|
|
40493
|
+
links: lazyType(() => ListEntityTerminalLinks$outboundSchema)
|
|
40494
|
+
}).transform((v2) => {
|
|
40495
|
+
return remap(v2, {
|
|
40496
|
+
links: "_links"
|
|
40497
|
+
});
|
|
40498
|
+
});
|
|
40499
|
+
});
|
|
40500
|
+
|
|
40501
|
+
// src/models/listentitywebhook.ts
|
|
40502
|
+
var ListEntityWebhookLinks$inboundSchema, ListEntityWebhookLinks$outboundSchema, ListEntityWebhook$inboundSchema, ListEntityWebhook$outboundSchema;
|
|
40503
|
+
var init_listentitywebhook = __esm(() => {
|
|
40504
|
+
init_esm();
|
|
40505
|
+
init_primitives();
|
|
40506
|
+
init_mode();
|
|
40507
|
+
init_url2();
|
|
40508
|
+
init_webhookeventtypes();
|
|
40509
|
+
init_webhookstatus();
|
|
40510
|
+
ListEntityWebhookLinks$inboundSchema = objectType({
|
|
40511
|
+
self: Url$inboundSchema
|
|
40512
|
+
});
|
|
40513
|
+
ListEntityWebhookLinks$outboundSchema = objectType({
|
|
40514
|
+
self: Url$outboundSchema
|
|
40515
|
+
});
|
|
40516
|
+
ListEntityWebhook$inboundSchema = objectType({
|
|
40517
|
+
resource: stringType(),
|
|
40518
|
+
id: stringType(),
|
|
40519
|
+
url: stringType(),
|
|
40520
|
+
profileId: nullableType(stringType()),
|
|
40521
|
+
createdAt: stringType(),
|
|
40522
|
+
name: stringType(),
|
|
40523
|
+
eventTypes: arrayType(WebhookEventTypes$inboundSchema),
|
|
40524
|
+
status: WebhookStatus$inboundSchema,
|
|
40525
|
+
mode: Mode$inboundSchema,
|
|
40526
|
+
_links: lazyType(() => ListEntityWebhookLinks$inboundSchema)
|
|
40527
|
+
}).transform((v2) => {
|
|
40528
|
+
return remap(v2, {
|
|
40529
|
+
_links: "links"
|
|
40530
|
+
});
|
|
40531
|
+
});
|
|
40532
|
+
ListEntityWebhook$outboundSchema = objectType({
|
|
40533
|
+
resource: stringType(),
|
|
40534
|
+
id: stringType(),
|
|
40535
|
+
url: stringType(),
|
|
40536
|
+
profileId: nullableType(stringType()),
|
|
40537
|
+
createdAt: stringType(),
|
|
40538
|
+
name: stringType(),
|
|
40539
|
+
eventTypes: arrayType(WebhookEventTypes$outboundSchema),
|
|
40540
|
+
status: WebhookStatus$outboundSchema,
|
|
40541
|
+
mode: Mode$outboundSchema,
|
|
40542
|
+
links: lazyType(() => ListEntityWebhookLinks$outboundSchema)
|
|
40543
|
+
}).transform((v2) => {
|
|
40544
|
+
return remap(v2, {
|
|
40545
|
+
links: "_links"
|
|
40546
|
+
});
|
|
40547
|
+
});
|
|
40548
|
+
});
|
|
40549
|
+
|
|
40550
|
+
// src/models/listlinks.ts
|
|
40551
|
+
var ListLinks$inboundSchema, ListLinks$outboundSchema;
|
|
40552
|
+
var init_listlinks = __esm(() => {
|
|
40553
|
+
init_esm();
|
|
40554
|
+
init_url2();
|
|
40555
|
+
init_urlnullable();
|
|
40556
|
+
ListLinks$inboundSchema = objectType({
|
|
40557
|
+
self: Url$inboundSchema,
|
|
40558
|
+
previous: nullableType(UrlNullable$inboundSchema),
|
|
40559
|
+
next: nullableType(UrlNullable$inboundSchema),
|
|
40560
|
+
documentation: Url$inboundSchema
|
|
40561
|
+
});
|
|
40562
|
+
ListLinks$outboundSchema = objectType({
|
|
40563
|
+
self: Url$outboundSchema,
|
|
40564
|
+
previous: nullableType(UrlNullable$outboundSchema),
|
|
40565
|
+
next: nullableType(UrlNullable$outboundSchema),
|
|
40566
|
+
documentation: Url$outboundSchema
|
|
40567
|
+
});
|
|
40568
|
+
});
|
|
40569
|
+
|
|
40570
|
+
// src/models/mandatedetailscardlabelresponse.ts
|
|
40571
|
+
var MandateDetailsCardLabelResponse, MandateDetailsCardLabelResponse$inboundSchema, MandateDetailsCardLabelResponse$outboundSchema;
|
|
40572
|
+
var init_mandatedetailscardlabelresponse = __esm(() => {
|
|
40573
|
+
init_enums();
|
|
40574
|
+
MandateDetailsCardLabelResponse = {
|
|
40575
|
+
AmericanExpress: "American Express",
|
|
40576
|
+
CartaSi: "Carta Si",
|
|
40577
|
+
CarteBleue: "Carte Bleue",
|
|
40578
|
+
Dankort: "Dankort",
|
|
40579
|
+
DinersClub: "Diners Club",
|
|
40580
|
+
Discover: "Discover",
|
|
40581
|
+
Jcb: "JCB",
|
|
40582
|
+
Laser: "Laser",
|
|
40583
|
+
Maestro: "Maestro",
|
|
40584
|
+
Mastercard: "Mastercard",
|
|
40585
|
+
Unionpay: "Unionpay",
|
|
40586
|
+
Visa: "Visa"
|
|
40587
|
+
};
|
|
40588
|
+
MandateDetailsCardLabelResponse$inboundSchema = inboundSchema(MandateDetailsCardLabelResponse);
|
|
40589
|
+
MandateDetailsCardLabelResponse$outboundSchema = outboundSchema(MandateDetailsCardLabelResponse);
|
|
40590
|
+
});
|
|
40591
|
+
|
|
40592
|
+
// src/models/mandatemethodresponse.ts
|
|
40593
|
+
var MandateMethodResponse, MandateMethodResponse$inboundSchema, MandateMethodResponse$outboundSchema;
|
|
40594
|
+
var init_mandatemethodresponse = __esm(() => {
|
|
40595
|
+
init_enums();
|
|
40596
|
+
MandateMethodResponse = {
|
|
40597
|
+
Creditcard: "creditcard",
|
|
40598
|
+
Directdebit: "directdebit",
|
|
40599
|
+
Paypal: "paypal"
|
|
40600
|
+
};
|
|
40601
|
+
MandateMethodResponse$inboundSchema = inboundSchema(MandateMethodResponse);
|
|
40602
|
+
MandateMethodResponse$outboundSchema = outboundSchema(MandateMethodResponse);
|
|
40603
|
+
});
|
|
40604
|
+
|
|
40605
|
+
// src/models/listmandateresponse.ts
|
|
40606
|
+
var ListMandateResponseStatus, ListMandateResponseDetails$inboundSchema, ListMandateResponseDetails$outboundSchema, ListMandateResponseStatus$inboundSchema, ListMandateResponseStatus$outboundSchema, ListMandateResponseLinks$inboundSchema, ListMandateResponseLinks$outboundSchema, ListMandateResponse$inboundSchema, ListMandateResponse$outboundSchema;
|
|
40607
|
+
var init_listmandateresponse = __esm(() => {
|
|
40608
|
+
init_esm();
|
|
40609
|
+
init_primitives();
|
|
40610
|
+
init_enums();
|
|
40611
|
+
init_mandatedetailscardlabelresponse();
|
|
40612
|
+
init_mandatemethodresponse();
|
|
40613
|
+
init_mode();
|
|
40614
|
+
init_url2();
|
|
40615
|
+
ListMandateResponseStatus = {
|
|
40616
|
+
Valid: "valid",
|
|
40617
|
+
Pending: "pending",
|
|
40618
|
+
Invalid: "invalid"
|
|
40619
|
+
};
|
|
40620
|
+
ListMandateResponseDetails$inboundSchema = objectType({
|
|
40621
|
+
consumerName: nullableType(stringType()).optional(),
|
|
40622
|
+
consumerAccount: nullableType(stringType()).optional(),
|
|
40623
|
+
consumerBic: nullableType(stringType()).optional(),
|
|
40624
|
+
cardHolder: nullableType(stringType()).optional(),
|
|
40625
|
+
cardNumber: nullableType(stringType()).optional(),
|
|
40626
|
+
cardExpiryDate: nullableType(stringType()).optional(),
|
|
40627
|
+
cardLabel: nullableType(MandateDetailsCardLabelResponse$inboundSchema).optional(),
|
|
40628
|
+
cardFingerprint: nullableType(stringType()).optional()
|
|
40629
|
+
});
|
|
40630
|
+
ListMandateResponseDetails$outboundSchema = objectType({
|
|
40631
|
+
consumerName: nullableType(stringType()).optional(),
|
|
40632
|
+
consumerAccount: nullableType(stringType()).optional(),
|
|
40633
|
+
consumerBic: nullableType(stringType()).optional(),
|
|
40634
|
+
cardHolder: nullableType(stringType()).optional(),
|
|
40635
|
+
cardNumber: nullableType(stringType()).optional(),
|
|
40636
|
+
cardExpiryDate: nullableType(stringType()).optional(),
|
|
40637
|
+
cardLabel: nullableType(MandateDetailsCardLabelResponse$outboundSchema).optional(),
|
|
40638
|
+
cardFingerprint: nullableType(stringType()).optional()
|
|
40639
|
+
});
|
|
40640
|
+
ListMandateResponseStatus$inboundSchema = inboundSchema(ListMandateResponseStatus);
|
|
40641
|
+
ListMandateResponseStatus$outboundSchema = outboundSchema(ListMandateResponseStatus);
|
|
40642
|
+
ListMandateResponseLinks$inboundSchema = objectType({
|
|
40643
|
+
self: Url$inboundSchema,
|
|
40644
|
+
customer: Url$inboundSchema
|
|
40645
|
+
});
|
|
40646
|
+
ListMandateResponseLinks$outboundSchema = objectType({
|
|
40647
|
+
self: Url$outboundSchema,
|
|
40648
|
+
customer: Url$outboundSchema
|
|
40649
|
+
});
|
|
40650
|
+
ListMandateResponse$inboundSchema = objectType({
|
|
40651
|
+
resource: stringType(),
|
|
40652
|
+
id: stringType(),
|
|
40653
|
+
mode: Mode$inboundSchema,
|
|
40654
|
+
method: MandateMethodResponse$inboundSchema,
|
|
40655
|
+
details: lazyType(() => ListMandateResponseDetails$inboundSchema),
|
|
40656
|
+
signatureDate: nullableType(stringType()),
|
|
40657
|
+
mandateReference: nullableType(stringType()),
|
|
40658
|
+
status: ListMandateResponseStatus$inboundSchema,
|
|
40659
|
+
customerId: stringType(),
|
|
40660
|
+
createdAt: stringType(),
|
|
40661
|
+
_links: lazyType(() => ListMandateResponseLinks$inboundSchema)
|
|
40662
|
+
}).transform((v2) => {
|
|
40663
|
+
return remap(v2, {
|
|
40664
|
+
_links: "links"
|
|
40665
|
+
});
|
|
40666
|
+
});
|
|
40667
|
+
ListMandateResponse$outboundSchema = objectType({
|
|
40668
|
+
resource: stringType(),
|
|
40669
|
+
id: stringType(),
|
|
40670
|
+
mode: Mode$outboundSchema,
|
|
40671
|
+
method: MandateMethodResponse$outboundSchema,
|
|
40672
|
+
details: lazyType(() => ListMandateResponseDetails$outboundSchema),
|
|
40673
|
+
signatureDate: nullableType(stringType()),
|
|
40674
|
+
mandateReference: nullableType(stringType()),
|
|
40675
|
+
status: ListMandateResponseStatus$outboundSchema,
|
|
40676
|
+
customerId: stringType(),
|
|
40677
|
+
createdAt: stringType(),
|
|
40678
|
+
links: lazyType(() => ListMandateResponseLinks$outboundSchema)
|
|
40679
|
+
}).transform((v2) => {
|
|
40680
|
+
return remap(v2, {
|
|
40681
|
+
links: "_links"
|
|
40682
|
+
});
|
|
40683
|
+
});
|
|
40684
|
+
});
|
|
40685
|
+
|
|
40686
|
+
// src/types/rfcdate.ts
|
|
40687
|
+
class RFCDate {
|
|
40688
|
+
serialized;
|
|
40689
|
+
static today() {
|
|
40690
|
+
return new RFCDate(new Date);
|
|
40691
|
+
}
|
|
40692
|
+
constructor(date2) {
|
|
40693
|
+
if (typeof date2 === "string" && !dateRE.test(date2)) {
|
|
40694
|
+
throw new RangeError("RFCDate: date strings must be in the format YYYY-MM-DD: " + date2);
|
|
40695
|
+
}
|
|
40696
|
+
const value = new Date(date2);
|
|
40697
|
+
if (isNaN(+value)) {
|
|
40698
|
+
throw new RangeError("RFCDate: invalid date provided: " + date2);
|
|
40699
|
+
}
|
|
40700
|
+
this.serialized = value.toISOString().slice(0, "YYYY-MM-DD".length);
|
|
40701
|
+
if (!dateRE.test(this.serialized)) {
|
|
40702
|
+
throw new TypeError(`RFCDate: failed to build valid date with given value: ${date2} serialized to ${this.serialized}`);
|
|
40703
|
+
}
|
|
40704
|
+
}
|
|
40705
|
+
toJSON() {
|
|
40706
|
+
return this.toString();
|
|
40707
|
+
}
|
|
40708
|
+
toString() {
|
|
40709
|
+
return this.serialized;
|
|
40710
|
+
}
|
|
40711
|
+
}
|
|
40712
|
+
var dateRE;
|
|
40713
|
+
var init_rfcdate = __esm(() => {
|
|
40714
|
+
dateRE = /^\d{4}-\d{2}-\d{2}$/;
|
|
40715
|
+
});
|
|
40716
|
+
|
|
40717
|
+
// src/models/methodresponse.ts
|
|
40718
|
+
var MethodResponse, MethodResponse$inboundSchema, MethodResponse$outboundSchema;
|
|
40719
|
+
var init_methodresponse = __esm(() => {
|
|
40720
|
+
init_enums();
|
|
40721
|
+
MethodResponse = {
|
|
40722
|
+
Alma: "alma",
|
|
40723
|
+
Applepay: "applepay",
|
|
40724
|
+
Bacs: "bacs",
|
|
40725
|
+
Bancomatpay: "bancomatpay",
|
|
40726
|
+
Bancontact: "bancontact",
|
|
40727
|
+
Banktransfer: "banktransfer",
|
|
40728
|
+
Belfius: "belfius",
|
|
40729
|
+
Billie: "billie",
|
|
40730
|
+
Bizum: "bizum",
|
|
40731
|
+
Blik: "blik",
|
|
40732
|
+
Creditcard: "creditcard",
|
|
40733
|
+
Directdebit: "directdebit",
|
|
40734
|
+
Eps: "eps",
|
|
40735
|
+
Giftcard: "giftcard",
|
|
40736
|
+
Ideal: "ideal",
|
|
40737
|
+
In3: "in3",
|
|
40738
|
+
Kbc: "kbc",
|
|
40739
|
+
Klarna: "klarna",
|
|
40740
|
+
Mbway: "mbway",
|
|
40741
|
+
Mobilepay: "mobilepay",
|
|
40742
|
+
Multibanco: "multibanco",
|
|
40743
|
+
Mybank: "mybank",
|
|
40744
|
+
Paybybank: "paybybank",
|
|
40745
|
+
Payconiq: "payconiq",
|
|
40746
|
+
Paypal: "paypal",
|
|
40747
|
+
Paysafecard: "paysafecard",
|
|
40748
|
+
Pointofsale: "pointofsale",
|
|
40749
|
+
Przelewy24: "przelewy24",
|
|
40750
|
+
Riverty: "riverty",
|
|
40751
|
+
Satispay: "satispay",
|
|
40752
|
+
Swish: "swish",
|
|
40753
|
+
Trustly: "trustly",
|
|
40754
|
+
Twint: "twint",
|
|
40755
|
+
Vipps: "vipps",
|
|
40756
|
+
Voucher: "voucher",
|
|
40757
|
+
Klarnapaylater: "klarnapaylater",
|
|
40758
|
+
Klarnapaynow: "klarnapaynow",
|
|
40759
|
+
Klarnasliceit: "klarnasliceit"
|
|
40760
|
+
};
|
|
40761
|
+
MethodResponse$inboundSchema = inboundSchema(MethodResponse);
|
|
40762
|
+
MethodResponse$outboundSchema = outboundSchema(MethodResponse);
|
|
40763
|
+
});
|
|
40764
|
+
|
|
40765
|
+
// src/models/paymentdetailscardauditionresponse.ts
|
|
40766
|
+
var PaymentDetailsCardAuditionResponse, PaymentDetailsCardAuditionResponse$inboundSchema, PaymentDetailsCardAuditionResponse$outboundSchema;
|
|
40767
|
+
var init_paymentdetailscardauditionresponse = __esm(() => {
|
|
40768
|
+
init_enums();
|
|
40769
|
+
PaymentDetailsCardAuditionResponse = {
|
|
40770
|
+
Consumer: "consumer",
|
|
40771
|
+
Business: "business"
|
|
40772
|
+
};
|
|
40773
|
+
PaymentDetailsCardAuditionResponse$inboundSchema = inboundSchema(PaymentDetailsCardAuditionResponse);
|
|
40774
|
+
PaymentDetailsCardAuditionResponse$outboundSchema = outboundSchema(PaymentDetailsCardAuditionResponse);
|
|
40775
|
+
});
|
|
40776
|
+
|
|
40777
|
+
// src/models/paymentdetailscardfundingresponse.ts
|
|
40778
|
+
var PaymentDetailsCardFundingResponse, PaymentDetailsCardFundingResponse$inboundSchema, PaymentDetailsCardFundingResponse$outboundSchema;
|
|
40779
|
+
var init_paymentdetailscardfundingresponse = __esm(() => {
|
|
40780
|
+
init_enums();
|
|
40781
|
+
PaymentDetailsCardFundingResponse = {
|
|
40782
|
+
Debit: "debit",
|
|
40783
|
+
Credit: "credit",
|
|
40784
|
+
Prepaid: "prepaid",
|
|
40785
|
+
DeferredDebit: "deferred-debit"
|
|
40786
|
+
};
|
|
40787
|
+
PaymentDetailsCardFundingResponse$inboundSchema = inboundSchema(PaymentDetailsCardFundingResponse);
|
|
40788
|
+
PaymentDetailsCardFundingResponse$outboundSchema = outboundSchema(PaymentDetailsCardFundingResponse);
|
|
40789
|
+
});
|
|
40790
|
+
|
|
40791
|
+
// src/models/paymentdetailscardlabelresponse.ts
|
|
40792
|
+
var PaymentDetailsCardLabelResponse, PaymentDetailsCardLabelResponse$inboundSchema, PaymentDetailsCardLabelResponse$outboundSchema;
|
|
40793
|
+
var init_paymentdetailscardlabelresponse = __esm(() => {
|
|
40794
|
+
init_enums();
|
|
40795
|
+
PaymentDetailsCardLabelResponse = {
|
|
40796
|
+
AmericanExpress: "American Express",
|
|
40797
|
+
CartaSi: "Carta Si",
|
|
40798
|
+
CarteBleue: "Carte Bleue",
|
|
40799
|
+
Dankort: "Dankort",
|
|
40800
|
+
DinersClub: "Diners Club",
|
|
40801
|
+
Discover: "Discover",
|
|
40802
|
+
Jcb: "JCB",
|
|
40803
|
+
Laser: "Laser",
|
|
40804
|
+
Maestro: "Maestro",
|
|
40805
|
+
Mastercard: "Mastercard",
|
|
40806
|
+
Unionpay: "Unionpay",
|
|
40807
|
+
Visa: "Visa",
|
|
40808
|
+
Vpay: "Vpay"
|
|
40809
|
+
};
|
|
40810
|
+
PaymentDetailsCardLabelResponse$inboundSchema = inboundSchema(PaymentDetailsCardLabelResponse);
|
|
40811
|
+
PaymentDetailsCardLabelResponse$outboundSchema = outboundSchema(PaymentDetailsCardLabelResponse);
|
|
40812
|
+
});
|
|
40813
|
+
|
|
40814
|
+
// src/models/paymentdetailscardsecurityresponse.ts
|
|
40815
|
+
var PaymentDetailsCardSecurityResponse, PaymentDetailsCardSecurityResponse$inboundSchema, PaymentDetailsCardSecurityResponse$outboundSchema;
|
|
40816
|
+
var init_paymentdetailscardsecurityresponse = __esm(() => {
|
|
40817
|
+
init_enums();
|
|
40818
|
+
PaymentDetailsCardSecurityResponse = {
|
|
40819
|
+
Normal: "normal",
|
|
40820
|
+
Threedsecure: "3dsecure"
|
|
40821
|
+
};
|
|
40822
|
+
PaymentDetailsCardSecurityResponse$inboundSchema = inboundSchema(PaymentDetailsCardSecurityResponse);
|
|
40823
|
+
PaymentDetailsCardSecurityResponse$outboundSchema = outboundSchema(PaymentDetailsCardSecurityResponse);
|
|
40824
|
+
});
|
|
40825
|
+
|
|
40826
|
+
// src/models/paymentdetailsfailurereasonresponse.ts
|
|
40827
|
+
var PaymentDetailsFailureReasonResponse, PaymentDetailsFailureReasonResponse$inboundSchema, PaymentDetailsFailureReasonResponse$outboundSchema;
|
|
40828
|
+
var init_paymentdetailsfailurereasonresponse = __esm(() => {
|
|
40829
|
+
init_enums();
|
|
40830
|
+
PaymentDetailsFailureReasonResponse = {
|
|
40831
|
+
AuthenticationAbandoned: "authentication_abandoned",
|
|
40832
|
+
AuthenticationFailed: "authentication_failed",
|
|
40833
|
+
AuthenticationRequired: "authentication_required",
|
|
40834
|
+
AuthenticationUnavailableAcs: "authentication_unavailable_acs",
|
|
40835
|
+
CardDeclined: "card_declined",
|
|
40836
|
+
CardExpired: "card_expired",
|
|
40837
|
+
InactiveCard: "inactive_card",
|
|
40838
|
+
InsufficientFunds: "insufficient_funds",
|
|
40839
|
+
InvalidCvv: "invalid_cvv",
|
|
40840
|
+
InvalidCardHolderName: "invalid_card_holder_name",
|
|
40841
|
+
InvalidCardNumber: "invalid_card_number",
|
|
40842
|
+
InvalidCardType: "invalid_card_type",
|
|
40843
|
+
PossibleFraud: "possible_fraud",
|
|
40844
|
+
RefusedByIssuer: "refused_by_issuer",
|
|
40845
|
+
UnknownReason: "unknown_reason"
|
|
40846
|
+
};
|
|
40847
|
+
PaymentDetailsFailureReasonResponse$inboundSchema = inboundSchema(PaymentDetailsFailureReasonResponse);
|
|
40848
|
+
PaymentDetailsFailureReasonResponse$outboundSchema = outboundSchema(PaymentDetailsFailureReasonResponse);
|
|
40849
|
+
});
|
|
40850
|
+
|
|
40851
|
+
// src/models/paymentdetailsfeeregionresponse.ts
|
|
40852
|
+
var PaymentDetailsFeeRegionResponse, PaymentDetailsFeeRegionResponse$inboundSchema, PaymentDetailsFeeRegionResponse$outboundSchema;
|
|
40853
|
+
var init_paymentdetailsfeeregionresponse = __esm(() => {
|
|
40854
|
+
init_enums();
|
|
40855
|
+
PaymentDetailsFeeRegionResponse = {
|
|
40856
|
+
AmericanExpress: "american-express",
|
|
40857
|
+
AmexIntraEea: "amex-intra-eea",
|
|
40858
|
+
CarteBancaire: "carte-bancaire",
|
|
40859
|
+
IntraEu: "intra-eu",
|
|
40860
|
+
IntraEuCorporate: "intra-eu-corporate",
|
|
40861
|
+
Domestic: "domestic",
|
|
40862
|
+
Maestro: "maestro",
|
|
40863
|
+
Other: "other",
|
|
40864
|
+
Inter: "inter",
|
|
40865
|
+
IntraEea: "intra_eea"
|
|
40866
|
+
};
|
|
40867
|
+
PaymentDetailsFeeRegionResponse$inboundSchema = inboundSchema(PaymentDetailsFeeRegionResponse);
|
|
40868
|
+
PaymentDetailsFeeRegionResponse$outboundSchema = outboundSchema(PaymentDetailsFeeRegionResponse);
|
|
40869
|
+
});
|
|
40870
|
+
|
|
40871
|
+
// src/models/paymentdetailsreceiptcardreadmethodresponse.ts
|
|
40872
|
+
var PaymentDetailsReceiptCardReadMethodResponse, PaymentDetailsReceiptCardReadMethodResponse$inboundSchema, PaymentDetailsReceiptCardReadMethodResponse$outboundSchema;
|
|
40873
|
+
var init_paymentdetailsreceiptcardreadmethodresponse = __esm(() => {
|
|
40874
|
+
init_enums();
|
|
40875
|
+
PaymentDetailsReceiptCardReadMethodResponse = {
|
|
40876
|
+
Chip: "chip",
|
|
40877
|
+
MagneticStripe: "magnetic-stripe",
|
|
40878
|
+
NearFieldCommunication: "near-field-communication",
|
|
40879
|
+
Contactless: "contactless",
|
|
40880
|
+
Moto: "moto"
|
|
40881
|
+
};
|
|
40882
|
+
PaymentDetailsReceiptCardReadMethodResponse$inboundSchema = inboundSchema(PaymentDetailsReceiptCardReadMethodResponse);
|
|
40883
|
+
PaymentDetailsReceiptCardReadMethodResponse$outboundSchema = outboundSchema(PaymentDetailsReceiptCardReadMethodResponse);
|
|
40884
|
+
});
|
|
40885
|
+
|
|
40886
|
+
// src/models/paymentdetailsreceiptcardverificationmethodresponse.ts
|
|
40887
|
+
var PaymentDetailsReceiptCardVerificationMethodResponse, PaymentDetailsReceiptCardVerificationMethodResponse$inboundSchema, PaymentDetailsReceiptCardVerificationMethodResponse$outboundSchema;
|
|
40888
|
+
var init_paymentdetailsreceiptcardverificationmethodresponse = __esm(() => {
|
|
40889
|
+
init_enums();
|
|
40890
|
+
PaymentDetailsReceiptCardVerificationMethodResponse = {
|
|
40891
|
+
NoCvmRequired: "no-cvm-required",
|
|
40892
|
+
OnlinePin: "online-pin",
|
|
40893
|
+
OfflinePin: "offline-pin",
|
|
40894
|
+
ConsumerDevice: "consumer-device",
|
|
40895
|
+
Signature: "signature",
|
|
40896
|
+
SignatureAndOnlinePin: "signature-and-online-pin",
|
|
40897
|
+
OnlinePinAndSignature: "online-pin-and-signature",
|
|
40898
|
+
None: "none",
|
|
40899
|
+
Failed: "failed"
|
|
40900
|
+
};
|
|
40901
|
+
PaymentDetailsReceiptCardVerificationMethodResponse$inboundSchema = inboundSchema(PaymentDetailsReceiptCardVerificationMethodResponse);
|
|
40902
|
+
PaymentDetailsReceiptCardVerificationMethodResponse$outboundSchema = outboundSchema(PaymentDetailsReceiptCardVerificationMethodResponse);
|
|
40903
|
+
});
|
|
40904
|
+
|
|
40905
|
+
// src/models/paymentdetailssellerprotectionresponse.ts
|
|
40906
|
+
var PaymentDetailsSellerProtectionResponse, PaymentDetailsSellerProtectionResponse$inboundSchema, PaymentDetailsSellerProtectionResponse$outboundSchema;
|
|
40907
|
+
var init_paymentdetailssellerprotectionresponse = __esm(() => {
|
|
40908
|
+
init_enums();
|
|
40909
|
+
PaymentDetailsSellerProtectionResponse = {
|
|
40910
|
+
Eligible: "Eligible",
|
|
40911
|
+
Ineligible: "Ineligible",
|
|
40912
|
+
PartiallyEligibleINROnly: "Partially Eligible - INR Only",
|
|
40913
|
+
PartiallyEligibleUnauthOnly: "Partially Eligible - Unauth Only",
|
|
40914
|
+
PartiallyEligible: "Partially Eligible",
|
|
40915
|
+
None: "None",
|
|
40916
|
+
Active: "Active",
|
|
40917
|
+
FraudControlUnauthPremiumEligible: "Fraud Control - Unauth Premium Eligible"
|
|
40918
|
+
};
|
|
40919
|
+
PaymentDetailsSellerProtectionResponse$inboundSchema = inboundSchema(PaymentDetailsSellerProtectionResponse);
|
|
40920
|
+
PaymentDetailsSellerProtectionResponse$outboundSchema = outboundSchema(PaymentDetailsSellerProtectionResponse);
|
|
40921
|
+
});
|
|
40922
|
+
|
|
40923
|
+
// src/models/paymentdetailswalletresponse.ts
|
|
40924
|
+
var PaymentDetailsWalletResponse, PaymentDetailsWalletResponse$inboundSchema, PaymentDetailsWalletResponse$outboundSchema;
|
|
40925
|
+
var init_paymentdetailswalletresponse = __esm(() => {
|
|
40926
|
+
init_enums();
|
|
40927
|
+
PaymentDetailsWalletResponse = {
|
|
40928
|
+
Applepay: "applepay"
|
|
40929
|
+
};
|
|
40930
|
+
PaymentDetailsWalletResponse$inboundSchema = inboundSchema(PaymentDetailsWalletResponse);
|
|
40931
|
+
PaymentDetailsWalletResponse$outboundSchema = outboundSchema(PaymentDetailsWalletResponse);
|
|
40932
|
+
});
|
|
40933
|
+
|
|
40934
|
+
// src/models/recurringlineitem.ts
|
|
40935
|
+
var RecurringLineItem$inboundSchema, RecurringLineItem$outboundSchema;
|
|
40936
|
+
var init_recurringlineitem = __esm(() => {
|
|
40937
|
+
init_esm();
|
|
40938
|
+
init_amount();
|
|
40939
|
+
RecurringLineItem$inboundSchema = objectType({
|
|
40940
|
+
description: stringType().optional(),
|
|
40941
|
+
interval: stringType(),
|
|
40942
|
+
amount: Amount$inboundSchema.optional(),
|
|
40943
|
+
times: numberType().int().optional(),
|
|
40944
|
+
startDate: nullableType(stringType()).optional()
|
|
40945
|
+
});
|
|
40946
|
+
RecurringLineItem$outboundSchema = objectType({
|
|
40947
|
+
description: stringType().optional(),
|
|
40948
|
+
interval: stringType(),
|
|
40949
|
+
amount: Amount$outboundSchema.optional(),
|
|
40950
|
+
times: numberType().int().optional(),
|
|
40951
|
+
startDate: nullableType(stringType()).optional()
|
|
40952
|
+
});
|
|
40953
|
+
});
|
|
40954
|
+
|
|
40955
|
+
// src/models/sequencetyperesponse.ts
|
|
40956
|
+
var SequenceTypeResponse, SequenceTypeResponse$inboundSchema, SequenceTypeResponse$outboundSchema;
|
|
40957
|
+
var init_sequencetyperesponse = __esm(() => {
|
|
40958
|
+
init_enums();
|
|
40959
|
+
SequenceTypeResponse = {
|
|
40960
|
+
Oneoff: "oneoff",
|
|
40961
|
+
First: "first",
|
|
40962
|
+
Recurring: "recurring"
|
|
40963
|
+
};
|
|
40964
|
+
SequenceTypeResponse$inboundSchema = inboundSchema(SequenceTypeResponse);
|
|
40965
|
+
SequenceTypeResponse$outboundSchema = outboundSchema(SequenceTypeResponse);
|
|
40966
|
+
});
|
|
40967
|
+
|
|
40968
|
+
// src/models/statusreason.ts
|
|
40969
|
+
var Code, Code$inboundSchema, Code$outboundSchema, StatusReason$inboundSchema, StatusReason$outboundSchema;
|
|
40970
|
+
var init_statusreason = __esm(() => {
|
|
40971
|
+
init_esm();
|
|
40972
|
+
Code = {
|
|
40973
|
+
ApprovedOrCompletedSuccessfully: "approved_or_completed_successfully",
|
|
40974
|
+
ReferToCardIssuer: "refer_to_card_issuer",
|
|
40975
|
+
InvalidMerchant: "invalid_merchant",
|
|
40976
|
+
CaptureCard: "capture_card",
|
|
40977
|
+
DoNotHonor: "do_not_honor",
|
|
40978
|
+
Error: "error",
|
|
40979
|
+
PartialApproval: "partial_approval",
|
|
40980
|
+
InvalidTransaction: "invalid_transaction",
|
|
40981
|
+
InvalidAmount: "invalid_amount",
|
|
40982
|
+
InvalidIssuer: "invalid_issuer",
|
|
40983
|
+
LostCard: "lost_card",
|
|
40984
|
+
StolenCard: "stolen_card",
|
|
40985
|
+
InsufficientFunds: "insufficient_funds",
|
|
40986
|
+
ExpiredCard: "expired_card",
|
|
40987
|
+
InvalidPin: "invalid_pin",
|
|
40988
|
+
TransactionNotPermittedToCardholder: "transaction_not_permitted_to_cardholder",
|
|
40989
|
+
TransactionNotAllowedAtTerminal: "transaction_not_allowed_at_terminal",
|
|
40990
|
+
ExceedsWithdrawalAmountLimit: "exceeds_withdrawal_amount_limit",
|
|
40991
|
+
RestrictedCard: "restricted_card",
|
|
40992
|
+
SecurityViolation: "security_violation",
|
|
40993
|
+
ExceedsWithdrawalCountLimit: "exceeds_withdrawal_count_limit",
|
|
40994
|
+
AllowableNumberOfPinTriesExceeded: "allowable_number_of_pin_tries_exceeded",
|
|
40995
|
+
NoReasonToDecline: "no_reason_to_decline",
|
|
40996
|
+
CannotVerifyPin: "cannot_verify_pin",
|
|
40997
|
+
IssuerUnavailable: "issuer_unavailable",
|
|
40998
|
+
UnableToRouteTransaction: "unable_to_route_transaction",
|
|
40999
|
+
DuplicateTransaction: "duplicate_transaction",
|
|
41000
|
+
SystemMalfunction: "system_malfunction",
|
|
41001
|
+
HonorWithId: "honor_with_id",
|
|
41002
|
+
InvalidCardNumber: "invalid_card_number",
|
|
41003
|
+
FormatError: "format_error",
|
|
41004
|
+
ContactCardIssuer: "contact_card_issuer",
|
|
41005
|
+
PinNotChanged: "pin_not_changed",
|
|
41006
|
+
InvalidNonexistentToAccountSpecified: "invalid_nonexistent_to_account_specified",
|
|
41007
|
+
InvalidNonexistentFromAccountSpecified: "invalid_nonexistent_from_account_specified",
|
|
41008
|
+
InvalidNonexistentAccountSpecified: "invalid_nonexistent_account_specified",
|
|
41009
|
+
LifecycleRelated: "lifecycle_related",
|
|
41010
|
+
DomesticDebitTransactionNotAllowed: "domestic_debit_transaction_not_allowed",
|
|
41011
|
+
PolicyRelated: "policy_related",
|
|
41012
|
+
FraudSecurityRelated: "fraud_security_related",
|
|
41013
|
+
InvalidAuthorizationLifeCycle: "invalid_authorization_life_cycle",
|
|
41014
|
+
PurchaseAmountOnlyNoCashBackAllowed: "purchase_amount_only_no_cash_back_allowed",
|
|
41015
|
+
CryptographicFailure: "cryptographic_failure",
|
|
41016
|
+
UnacceptablePin: "unacceptable_pin",
|
|
41017
|
+
ReferToCardIssuerSpecialCondition: "refer_to_card_issuer_special_condition",
|
|
41018
|
+
PickUpCardSpecialCondition: "pick_up_card_special_condition",
|
|
41019
|
+
VipApproval: "vip_approval",
|
|
41020
|
+
InvalidAccountNumber: "invalid_account_number",
|
|
41021
|
+
ReEnterTransaction: "re_enter_transaction",
|
|
41022
|
+
NoActionTaken: "no_action_taken",
|
|
41023
|
+
UnableToLocateRecord: "unable_to_locate_record",
|
|
41024
|
+
FileTemporarilyUnavailable: "file_temporarily_unavailable",
|
|
41025
|
+
NoCreditAccount: "no_credit_account",
|
|
41026
|
+
ClosedAccount: "closed_account",
|
|
41027
|
+
NoCheckingAccount: "no_checking_account",
|
|
41028
|
+
NoSavingsAccount: "no_savings_account",
|
|
41029
|
+
SuspectedFraud: "suspected_fraud",
|
|
41030
|
+
TransactionDoesNotFulfillAmlRequirement: "transaction_does_not_fulfill_aml_requirement",
|
|
41031
|
+
PinDataRequired: "pin_data_required",
|
|
41032
|
+
UnableToLocatePreviousMessage: "unable_to_locate_previous_message",
|
|
41033
|
+
PreviousMessageLocatedInconsistentData: "previous_message_located_inconsistent_data",
|
|
41034
|
+
BlockedFirstUsed: "blocked_first_used",
|
|
41035
|
+
TransactionReversed: "transaction_reversed",
|
|
41036
|
+
CreditIssuerUnavailable: "credit_issuer_unavailable",
|
|
41037
|
+
PinCryptographicErrorFound: "pin_cryptographic_error_found",
|
|
41038
|
+
NegativeOnlineCamResult: "negative_online_cam_result",
|
|
41039
|
+
ViolationOfLaw: "violation_of_law",
|
|
41040
|
+
ForceStip: "force_stip",
|
|
41041
|
+
CashServiceNotAvailable: "cash_service_not_available",
|
|
41042
|
+
CashbackRequestExceedsIssuerLimit: "cashback_request_exceeds_issuer_limit",
|
|
41043
|
+
DeclineForCvv2Failure: "decline_for_cvv2_failure",
|
|
41044
|
+
TransactionAmountExceedsPreAuthorizedAmount: "transaction_amount_exceeds_pre_authorized_amount",
|
|
41045
|
+
InvalidBillerInformation: "invalid_biller_information",
|
|
41046
|
+
PinChangeUnblockRequestDeclined: "pin_change_unblock_request_declined",
|
|
41047
|
+
UnsafePin: "unsafe_pin",
|
|
41048
|
+
CardAuthenticationFailed: "card_authentication_failed",
|
|
41049
|
+
StopPaymentOrder: "stop_payment_order",
|
|
41050
|
+
RevocationOfAuthorization: "revocation_of_authorization",
|
|
41051
|
+
RevocationOfAllAuthorizations: "revocation_of_all_authorizations",
|
|
41052
|
+
ForwardToIssuerXa: "forward_to_issuer_xa",
|
|
41053
|
+
ForwardToIssuerXd: "forward_to_issuer_xd",
|
|
41054
|
+
UnableToGoOnline: "unable_to_go_online",
|
|
41055
|
+
AdditionalCustomerAuthenticationRequired: "additional_customer_authentication_required",
|
|
41056
|
+
MerchantIdNotFound: "merchant_id_not_found",
|
|
41057
|
+
MerchantAccountClosed: "merchant_account_closed",
|
|
41058
|
+
TerminalIdNotFound: "terminal_id_not_found",
|
|
41059
|
+
TerminalClosed: "terminal_closed",
|
|
41060
|
+
InvalidCategoryCode: "invalid_category_code",
|
|
41061
|
+
InvalidCurrency: "invalid_currency",
|
|
41062
|
+
MissingCvv2Cvc2: "missing_cvv2_cvc2",
|
|
41063
|
+
Cvv2NotAllowed: "cvv2_not_allowed",
|
|
41064
|
+
MerchantNotRegisteredVbv: "merchant_not_registered_vbv",
|
|
41065
|
+
MerchantNotRegisteredForAmex: "merchant_not_registered_for_amex",
|
|
41066
|
+
TransactionNotPermittedAtTerminal: "transaction_not_permitted_at_terminal",
|
|
41067
|
+
AgreementTerminalNotRelated: "agreement_terminal_not_related",
|
|
41068
|
+
InvalidProcessorId: "invalid_processor_id",
|
|
41069
|
+
InvalidMerchantData: "invalid_merchant_data",
|
|
41070
|
+
SubMerchantAccountClosed: "sub_merchant_account_closed",
|
|
41071
|
+
TerminalBusy: "terminal_busy",
|
|
41072
|
+
TerminalUnreachable: "terminal_unreachable",
|
|
41073
|
+
ServiceFailed: "service_failed",
|
|
41074
|
+
InvalidOperation: "invalid_operation",
|
|
41075
|
+
AuthorizationError: "authorization_error",
|
|
41076
|
+
LoginFailedWithoutReason: "login_failed_without_reason",
|
|
41077
|
+
InvalidRetailer: "invalid_retailer",
|
|
41078
|
+
CardDoesNotExist: "card_does_not_exist",
|
|
41079
|
+
CardIsBlocked: "card_is_blocked",
|
|
41080
|
+
InvalidCardId: "invalid_card_id",
|
|
41081
|
+
CardIsTransferred: "card_is_transferred",
|
|
41082
|
+
CardIsNotActive: "card_is_not_active",
|
|
41083
|
+
IncorrectPurchaseValue: "incorrect_purchase_value",
|
|
41084
|
+
CardNotAvailable: "card_not_available",
|
|
41085
|
+
WrongCurrency: "wrong_currency",
|
|
41086
|
+
LoginFailedUnknownUser: "login_failed_unknown_user",
|
|
41087
|
+
LoginFailedInvalidPassword: "login_failed_invalid_password",
|
|
41088
|
+
InvalidEanCode: "invalid_ean_code"
|
|
41089
|
+
};
|
|
41090
|
+
Code$inboundSchema = nativeEnumType(Code);
|
|
41091
|
+
Code$outboundSchema = Code$inboundSchema;
|
|
41092
|
+
StatusReason$inboundSchema = objectType({
|
|
41093
|
+
code: Code$inboundSchema,
|
|
41094
|
+
message: stringType()
|
|
41095
|
+
});
|
|
41096
|
+
StatusReason$outboundSchema = objectType({
|
|
41097
|
+
code: Code$outboundSchema,
|
|
41098
|
+
message: stringType()
|
|
41099
|
+
});
|
|
41100
|
+
});
|
|
41101
|
+
|
|
41102
|
+
// src/models/listpaymentresponse.ts
|
|
41103
|
+
var ListPaymentResponseStatus, ListPaymentResponseAmountRefunded$inboundSchema, ListPaymentResponseAmountRefunded$outboundSchema, ListPaymentResponseAmountRemaining$inboundSchema, ListPaymentResponseAmountRemaining$outboundSchema, ListPaymentResponseAmountCaptured$inboundSchema, ListPaymentResponseAmountCaptured$outboundSchema, ListPaymentResponseAmountChargedBack$inboundSchema, ListPaymentResponseAmountChargedBack$outboundSchema, ListPaymentResponseSettlementAmount$inboundSchema, ListPaymentResponseSettlementAmount$outboundSchema, ListPaymentResponseLine$inboundSchema, ListPaymentResponseLine$outboundSchema, ListPaymentResponseBillingAddress$inboundSchema, ListPaymentResponseBillingAddress$outboundSchema, ListPaymentResponseApplicationFee$inboundSchema, ListPaymentResponseApplicationFee$outboundSchema, ListPaymentResponseStatus$inboundSchema, ListPaymentResponseStatus$outboundSchema, ListPaymentResponseReceipt$inboundSchema, ListPaymentResponseReceipt$outboundSchema, ListPaymentResponseQrCode$inboundSchema, ListPaymentResponseQrCode$outboundSchema, ListPaymentResponseDetails$inboundSchema, ListPaymentResponseDetails$outboundSchema, ListPaymentResponseLinks$inboundSchema, ListPaymentResponseLinks$outboundSchema, ListPaymentResponse$inboundSchema, ListPaymentResponse$outboundSchema;
|
|
41104
|
+
var init_listpaymentresponse = __esm(() => {
|
|
41105
|
+
init_esm();
|
|
41106
|
+
init_primitives();
|
|
41107
|
+
init_enums();
|
|
41108
|
+
init_rfcdate();
|
|
41109
|
+
init_amount();
|
|
41110
|
+
init_amountnullable();
|
|
41111
|
+
init_capturemoderesponse();
|
|
41112
|
+
init_entitypaymentrouteresponse();
|
|
41113
|
+
init_linecategoriesresponse();
|
|
41114
|
+
init_localeresponse();
|
|
41115
|
+
init_metadata();
|
|
41116
|
+
init_methodresponse();
|
|
41117
|
+
init_mode();
|
|
41118
|
+
init_paymentaddress();
|
|
41119
|
+
init_paymentdetailscardauditionresponse();
|
|
41120
|
+
init_paymentdetailscardfundingresponse();
|
|
41121
|
+
init_paymentdetailscardlabelresponse();
|
|
41122
|
+
init_paymentdetailscardsecurityresponse();
|
|
41123
|
+
init_paymentdetailsfailurereasonresponse();
|
|
41124
|
+
init_paymentdetailsfeeregionresponse();
|
|
41125
|
+
init_paymentdetailsreceiptcardreadmethodresponse();
|
|
41126
|
+
init_paymentdetailsreceiptcardverificationmethodresponse();
|
|
41127
|
+
init_paymentdetailssellerprotectionresponse();
|
|
41128
|
+
init_paymentdetailswalletresponse();
|
|
41129
|
+
init_paymentlinetyperesponse();
|
|
41130
|
+
init_recurringlineitem();
|
|
41131
|
+
init_sequencetyperesponse();
|
|
41132
|
+
init_statusreason();
|
|
41133
|
+
init_url2();
|
|
41134
|
+
ListPaymentResponseStatus = {
|
|
41135
|
+
Open: "open",
|
|
41136
|
+
Pending: "pending",
|
|
41137
|
+
Authorized: "authorized",
|
|
41138
|
+
Paid: "paid",
|
|
41139
|
+
Canceled: "canceled",
|
|
41140
|
+
Expired: "expired",
|
|
41141
|
+
Failed: "failed"
|
|
41142
|
+
};
|
|
41143
|
+
ListPaymentResponseAmountRefunded$inboundSchema = objectType({
|
|
41144
|
+
currency: stringType(),
|
|
41145
|
+
value: stringType()
|
|
41146
|
+
});
|
|
41147
|
+
ListPaymentResponseAmountRefunded$outboundSchema = objectType({
|
|
41148
|
+
currency: stringType(),
|
|
41149
|
+
value: stringType()
|
|
41150
|
+
});
|
|
41151
|
+
ListPaymentResponseAmountRemaining$inboundSchema = objectType({
|
|
41152
|
+
currency: stringType(),
|
|
41153
|
+
value: stringType()
|
|
41154
|
+
});
|
|
41155
|
+
ListPaymentResponseAmountRemaining$outboundSchema = objectType({
|
|
41156
|
+
currency: stringType(),
|
|
41157
|
+
value: stringType()
|
|
41158
|
+
});
|
|
41159
|
+
ListPaymentResponseAmountCaptured$inboundSchema = objectType({
|
|
41160
|
+
currency: stringType(),
|
|
41161
|
+
value: stringType()
|
|
41162
|
+
});
|
|
41163
|
+
ListPaymentResponseAmountCaptured$outboundSchema = objectType({
|
|
41164
|
+
currency: stringType(),
|
|
41165
|
+
value: stringType()
|
|
41166
|
+
});
|
|
41167
|
+
ListPaymentResponseAmountChargedBack$inboundSchema = objectType({
|
|
41168
|
+
currency: stringType(),
|
|
41169
|
+
value: stringType()
|
|
41170
|
+
});
|
|
41171
|
+
ListPaymentResponseAmountChargedBack$outboundSchema = objectType({
|
|
41172
|
+
currency: stringType(),
|
|
41173
|
+
value: stringType()
|
|
41174
|
+
});
|
|
41175
|
+
ListPaymentResponseSettlementAmount$inboundSchema = objectType({
|
|
41176
|
+
currency: stringType(),
|
|
41177
|
+
value: stringType()
|
|
41178
|
+
});
|
|
41179
|
+
ListPaymentResponseSettlementAmount$outboundSchema = objectType({
|
|
41180
|
+
currency: stringType(),
|
|
41181
|
+
value: stringType()
|
|
41182
|
+
});
|
|
41183
|
+
ListPaymentResponseLine$inboundSchema = objectType({
|
|
41184
|
+
type: PaymentLineTypeResponse$inboundSchema.optional(),
|
|
41185
|
+
description: stringType(),
|
|
41186
|
+
quantity: numberType().int(),
|
|
41187
|
+
quantityUnit: stringType().optional(),
|
|
41188
|
+
unitPrice: Amount$inboundSchema,
|
|
41189
|
+
discountAmount: Amount$inboundSchema.optional(),
|
|
41190
|
+
totalAmount: Amount$inboundSchema,
|
|
41191
|
+
vatRate: stringType().optional(),
|
|
41192
|
+
vatAmount: Amount$inboundSchema.optional(),
|
|
41193
|
+
sku: stringType().optional(),
|
|
41194
|
+
categories: arrayType(LineCategoriesResponse$inboundSchema).optional(),
|
|
41195
|
+
imageUrl: stringType().optional(),
|
|
41196
|
+
productUrl: stringType().optional(),
|
|
41197
|
+
recurring: RecurringLineItem$inboundSchema.optional()
|
|
41198
|
+
});
|
|
41199
|
+
ListPaymentResponseLine$outboundSchema = objectType({
|
|
41200
|
+
type: PaymentLineTypeResponse$outboundSchema.optional(),
|
|
41201
|
+
description: stringType(),
|
|
41202
|
+
quantity: numberType().int(),
|
|
41203
|
+
quantityUnit: stringType().optional(),
|
|
41204
|
+
unitPrice: Amount$outboundSchema,
|
|
41205
|
+
discountAmount: Amount$outboundSchema.optional(),
|
|
41206
|
+
totalAmount: Amount$outboundSchema,
|
|
41207
|
+
vatRate: stringType().optional(),
|
|
41208
|
+
vatAmount: Amount$outboundSchema.optional(),
|
|
41209
|
+
sku: stringType().optional(),
|
|
41210
|
+
categories: arrayType(LineCategoriesResponse$outboundSchema).optional(),
|
|
41211
|
+
imageUrl: stringType().optional(),
|
|
41212
|
+
productUrl: stringType().optional(),
|
|
41213
|
+
recurring: RecurringLineItem$outboundSchema.optional()
|
|
41214
|
+
});
|
|
41215
|
+
ListPaymentResponseBillingAddress$inboundSchema = objectType({
|
|
41216
|
+
title: stringType().optional(),
|
|
41217
|
+
givenName: stringType().optional(),
|
|
41218
|
+
familyName: stringType().optional(),
|
|
41219
|
+
organizationName: anyType().optional(),
|
|
41220
|
+
streetAndNumber: stringType().optional(),
|
|
41221
|
+
streetAdditional: stringType().optional(),
|
|
41222
|
+
postalCode: stringType().optional(),
|
|
41223
|
+
email: stringType().optional(),
|
|
41224
|
+
phone: stringType().optional(),
|
|
41225
|
+
city: stringType().optional(),
|
|
41226
|
+
region: stringType().optional(),
|
|
41227
|
+
country: stringType().optional()
|
|
41228
|
+
});
|
|
41229
|
+
ListPaymentResponseBillingAddress$outboundSchema = objectType({
|
|
41230
|
+
title: stringType().optional(),
|
|
41231
|
+
givenName: stringType().optional(),
|
|
41232
|
+
familyName: stringType().optional(),
|
|
41233
|
+
organizationName: anyType().optional(),
|
|
41234
|
+
streetAndNumber: stringType().optional(),
|
|
41235
|
+
streetAdditional: stringType().optional(),
|
|
41236
|
+
postalCode: stringType().optional(),
|
|
41237
|
+
email: stringType().optional(),
|
|
41238
|
+
phone: stringType().optional(),
|
|
41239
|
+
city: stringType().optional(),
|
|
41240
|
+
region: stringType().optional(),
|
|
41241
|
+
country: stringType().optional()
|
|
41242
|
+
});
|
|
41243
|
+
ListPaymentResponseApplicationFee$inboundSchema = objectType({
|
|
41244
|
+
amount: Amount$inboundSchema.optional(),
|
|
41245
|
+
description: stringType().optional()
|
|
41246
|
+
});
|
|
41247
|
+
ListPaymentResponseApplicationFee$outboundSchema = objectType({
|
|
41248
|
+
amount: Amount$outboundSchema.optional(),
|
|
41249
|
+
description: stringType().optional()
|
|
41250
|
+
});
|
|
41251
|
+
ListPaymentResponseStatus$inboundSchema = inboundSchema(ListPaymentResponseStatus);
|
|
41252
|
+
ListPaymentResponseStatus$outboundSchema = outboundSchema(ListPaymentResponseStatus);
|
|
41253
|
+
ListPaymentResponseReceipt$inboundSchema = objectType({
|
|
41254
|
+
authorizationCode: nullableType(stringType()).optional(),
|
|
41255
|
+
applicationIdentifier: nullableType(stringType()).optional(),
|
|
41256
|
+
cardReadMethod: nullableType(PaymentDetailsReceiptCardReadMethodResponse$inboundSchema).optional(),
|
|
41257
|
+
cardVerificationMethod: nullableType(PaymentDetailsReceiptCardVerificationMethodResponse$inboundSchema).optional()
|
|
41258
|
+
});
|
|
41259
|
+
ListPaymentResponseReceipt$outboundSchema = objectType({
|
|
41260
|
+
authorizationCode: nullableType(stringType()).optional(),
|
|
41261
|
+
applicationIdentifier: nullableType(stringType()).optional(),
|
|
41262
|
+
cardReadMethod: nullableType(PaymentDetailsReceiptCardReadMethodResponse$outboundSchema).optional(),
|
|
41263
|
+
cardVerificationMethod: nullableType(PaymentDetailsReceiptCardVerificationMethodResponse$outboundSchema).optional()
|
|
41264
|
+
});
|
|
41265
|
+
ListPaymentResponseQrCode$inboundSchema = objectType({
|
|
41266
|
+
height: numberType().int().optional(),
|
|
41267
|
+
width: numberType().int().optional(),
|
|
41268
|
+
src: stringType().optional()
|
|
41269
|
+
});
|
|
41270
|
+
ListPaymentResponseQrCode$outboundSchema = objectType({
|
|
41271
|
+
height: numberType().int().optional(),
|
|
41272
|
+
width: numberType().int().optional(),
|
|
41273
|
+
src: stringType().optional()
|
|
41274
|
+
});
|
|
41275
|
+
ListPaymentResponseDetails$inboundSchema = objectType({
|
|
41276
|
+
consumerName: nullableType(stringType()).optional(),
|
|
41277
|
+
consumerAccount: nullableType(stringType()).optional(),
|
|
41278
|
+
consumerBic: nullableType(stringType()).optional(),
|
|
41279
|
+
shippingAddress: nullableType(recordType(anyType())).optional(),
|
|
41280
|
+
cardNumber: nullableType(stringType()).optional(),
|
|
41281
|
+
bankName: stringType().optional(),
|
|
41282
|
+
bankAccount: stringType().optional(),
|
|
41283
|
+
bankBic: stringType().optional(),
|
|
41284
|
+
transferReference: nullableType(stringType()).optional(),
|
|
41285
|
+
cardFingerprint: nullableType(stringType()).optional(),
|
|
41286
|
+
cardHolder: nullableType(stringType()).optional(),
|
|
41287
|
+
cardAudition: nullableType(PaymentDetailsCardAuditionResponse$inboundSchema).optional(),
|
|
41288
|
+
cardLabel: nullableType(PaymentDetailsCardLabelResponse$inboundSchema).optional(),
|
|
41289
|
+
cardCountryCode: nullableType(stringType()).optional(),
|
|
41290
|
+
cardExpiryDate: nullableType(stringType()).optional(),
|
|
41291
|
+
cardFunding: nullableType(PaymentDetailsCardFundingResponse$inboundSchema).optional(),
|
|
41292
|
+
cardSecurity: nullableType(PaymentDetailsCardSecurityResponse$inboundSchema).optional(),
|
|
41293
|
+
feeRegion: nullableType(PaymentDetailsFeeRegionResponse$inboundSchema).optional(),
|
|
41294
|
+
cardMaskedNumber: nullableType(stringType()).optional(),
|
|
41295
|
+
card3dsEci: nullableType(stringType()).optional(),
|
|
41296
|
+
cardBin: nullableType(stringType()).optional(),
|
|
41297
|
+
cardIssuer: nullableType(stringType()).optional(),
|
|
41298
|
+
failureReason: nullableType(PaymentDetailsFailureReasonResponse$inboundSchema).optional(),
|
|
41299
|
+
failureMessage: nullableType(stringType()).optional(),
|
|
41300
|
+
wallet: nullableType(PaymentDetailsWalletResponse$inboundSchema).optional(),
|
|
41301
|
+
paypalReference: nullableType(stringType()).optional(),
|
|
41302
|
+
paypalPayerId: nullableType(stringType()).optional(),
|
|
41303
|
+
sellerProtection: nullableType(PaymentDetailsSellerProtectionResponse$inboundSchema).optional(),
|
|
41304
|
+
paypalFee: nullableType(AmountNullable$inboundSchema).optional(),
|
|
41305
|
+
customerReference: stringType().optional(),
|
|
41306
|
+
terminalId: stringType().optional(),
|
|
41307
|
+
maskedNumber: nullableType(stringType()).optional(),
|
|
41308
|
+
receipt: lazyType(() => ListPaymentResponseReceipt$inboundSchema).optional(),
|
|
41309
|
+
creditorIdentifier: nullableType(stringType()).optional(),
|
|
41310
|
+
dueDate: nullableType(stringType().transform((v2) => new RFCDate(v2))).optional(),
|
|
41311
|
+
signatureDate: nullableType(stringType().transform((v2) => new RFCDate(v2))).optional(),
|
|
41312
|
+
bankReasonCode: nullableType(stringType()).optional(),
|
|
41313
|
+
bankReason: nullableType(stringType()).optional(),
|
|
41314
|
+
endToEndIdentifier: nullableType(stringType()).optional(),
|
|
41315
|
+
mandateReference: nullableType(stringType()).optional(),
|
|
41316
|
+
batchReference: nullableType(stringType()).optional(),
|
|
41317
|
+
fileReference: nullableType(stringType()).optional(),
|
|
41318
|
+
qrCode: lazyType(() => ListPaymentResponseQrCode$inboundSchema).optional(),
|
|
41319
|
+
voucherNumber: stringType().optional(),
|
|
41320
|
+
giftcards: arrayType(recordType(anyType())).optional(),
|
|
41321
|
+
issuer: stringType().optional(),
|
|
41322
|
+
vouchers: arrayType(recordType(anyType())).optional(),
|
|
41323
|
+
remainderAmount: Amount$inboundSchema.optional(),
|
|
41324
|
+
remainderMethod: stringType().optional(),
|
|
41325
|
+
remainderDetails: recordType(anyType()).optional(),
|
|
41326
|
+
multibancoReference: nullableType(stringType()).optional(),
|
|
41327
|
+
multibancoEntity: nullableType(stringType()).optional()
|
|
41328
|
+
});
|
|
41329
|
+
ListPaymentResponseDetails$outboundSchema = objectType({
|
|
41330
|
+
consumerName: nullableType(stringType()).optional(),
|
|
41331
|
+
consumerAccount: nullableType(stringType()).optional(),
|
|
41332
|
+
consumerBic: nullableType(stringType()).optional(),
|
|
41333
|
+
shippingAddress: nullableType(recordType(anyType())).optional(),
|
|
41334
|
+
cardNumber: nullableType(stringType()).optional(),
|
|
41335
|
+
bankName: stringType().optional(),
|
|
41336
|
+
bankAccount: stringType().optional(),
|
|
41337
|
+
bankBic: stringType().optional(),
|
|
41338
|
+
transferReference: nullableType(stringType()).optional(),
|
|
41339
|
+
cardFingerprint: nullableType(stringType()).optional(),
|
|
41340
|
+
cardHolder: nullableType(stringType()).optional(),
|
|
41341
|
+
cardAudition: nullableType(PaymentDetailsCardAuditionResponse$outboundSchema).optional(),
|
|
41342
|
+
cardLabel: nullableType(PaymentDetailsCardLabelResponse$outboundSchema).optional(),
|
|
41343
|
+
cardCountryCode: nullableType(stringType()).optional(),
|
|
41344
|
+
cardExpiryDate: nullableType(stringType()).optional(),
|
|
41345
|
+
cardFunding: nullableType(PaymentDetailsCardFundingResponse$outboundSchema).optional(),
|
|
41346
|
+
cardSecurity: nullableType(PaymentDetailsCardSecurityResponse$outboundSchema).optional(),
|
|
41347
|
+
feeRegion: nullableType(PaymentDetailsFeeRegionResponse$outboundSchema).optional(),
|
|
41348
|
+
cardMaskedNumber: nullableType(stringType()).optional(),
|
|
41349
|
+
card3dsEci: nullableType(stringType()).optional(),
|
|
41350
|
+
cardBin: nullableType(stringType()).optional(),
|
|
41351
|
+
cardIssuer: nullableType(stringType()).optional(),
|
|
41352
|
+
failureReason: nullableType(PaymentDetailsFailureReasonResponse$outboundSchema).optional(),
|
|
41353
|
+
failureMessage: nullableType(stringType()).optional(),
|
|
41354
|
+
wallet: nullableType(PaymentDetailsWalletResponse$outboundSchema).optional(),
|
|
41355
|
+
paypalReference: nullableType(stringType()).optional(),
|
|
41356
|
+
paypalPayerId: nullableType(stringType()).optional(),
|
|
41357
|
+
sellerProtection: nullableType(PaymentDetailsSellerProtectionResponse$outboundSchema).optional(),
|
|
41358
|
+
paypalFee: nullableType(AmountNullable$outboundSchema).optional(),
|
|
41359
|
+
customerReference: stringType().optional(),
|
|
41360
|
+
terminalId: stringType().optional(),
|
|
41361
|
+
maskedNumber: nullableType(stringType()).optional(),
|
|
41362
|
+
receipt: lazyType(() => ListPaymentResponseReceipt$outboundSchema).optional(),
|
|
41363
|
+
creditorIdentifier: nullableType(stringType()).optional(),
|
|
41364
|
+
dueDate: nullableType(instanceOfType(RFCDate).transform((v2) => v2.toString())).optional(),
|
|
41365
|
+
signatureDate: nullableType(instanceOfType(RFCDate).transform((v2) => v2.toString())).optional(),
|
|
41366
|
+
bankReasonCode: nullableType(stringType()).optional(),
|
|
41367
|
+
bankReason: nullableType(stringType()).optional(),
|
|
41368
|
+
endToEndIdentifier: nullableType(stringType()).optional(),
|
|
41369
|
+
mandateReference: nullableType(stringType()).optional(),
|
|
41370
|
+
batchReference: nullableType(stringType()).optional(),
|
|
41371
|
+
fileReference: nullableType(stringType()).optional(),
|
|
41372
|
+
qrCode: lazyType(() => ListPaymentResponseQrCode$outboundSchema).optional(),
|
|
41373
|
+
voucherNumber: stringType().optional(),
|
|
41374
|
+
giftcards: arrayType(recordType(anyType())).optional(),
|
|
41375
|
+
issuer: stringType().optional(),
|
|
41376
|
+
vouchers: arrayType(recordType(anyType())).optional(),
|
|
41377
|
+
remainderAmount: Amount$outboundSchema.optional(),
|
|
41378
|
+
remainderMethod: stringType().optional(),
|
|
41379
|
+
remainderDetails: recordType(anyType()).optional(),
|
|
41380
|
+
multibancoReference: nullableType(stringType()).optional(),
|
|
41381
|
+
multibancoEntity: nullableType(stringType()).optional()
|
|
41382
|
+
});
|
|
41383
|
+
ListPaymentResponseLinks$inboundSchema = objectType({
|
|
41384
|
+
self: Url$inboundSchema,
|
|
41385
|
+
checkout: Url$inboundSchema.optional(),
|
|
41386
|
+
mobileAppCheckout: Url$inboundSchema.optional(),
|
|
41387
|
+
changePaymentState: Url$inboundSchema.optional(),
|
|
41388
|
+
dashboard: Url$inboundSchema,
|
|
41389
|
+
refunds: Url$inboundSchema.optional(),
|
|
41390
|
+
chargebacks: Url$inboundSchema.optional(),
|
|
41391
|
+
captures: Url$inboundSchema.optional(),
|
|
41392
|
+
settlement: Url$inboundSchema.optional(),
|
|
41393
|
+
customer: Url$inboundSchema.optional(),
|
|
41394
|
+
mandate: Url$inboundSchema.optional(),
|
|
41395
|
+
subscription: Url$inboundSchema.optional(),
|
|
41396
|
+
order: Url$inboundSchema.optional(),
|
|
41397
|
+
terminal: Url$inboundSchema.optional(),
|
|
41398
|
+
status: Url$inboundSchema.optional(),
|
|
41399
|
+
payOnline: Url$inboundSchema.optional()
|
|
41400
|
+
});
|
|
41401
|
+
ListPaymentResponseLinks$outboundSchema = objectType({
|
|
41402
|
+
self: Url$outboundSchema,
|
|
41403
|
+
checkout: Url$outboundSchema.optional(),
|
|
41404
|
+
mobileAppCheckout: Url$outboundSchema.optional(),
|
|
41405
|
+
changePaymentState: Url$outboundSchema.optional(),
|
|
41406
|
+
dashboard: Url$outboundSchema,
|
|
41407
|
+
refunds: Url$outboundSchema.optional(),
|
|
41408
|
+
chargebacks: Url$outboundSchema.optional(),
|
|
41409
|
+
captures: Url$outboundSchema.optional(),
|
|
41410
|
+
settlement: Url$outboundSchema.optional(),
|
|
41411
|
+
customer: Url$outboundSchema.optional(),
|
|
41412
|
+
mandate: Url$outboundSchema.optional(),
|
|
41413
|
+
subscription: Url$outboundSchema.optional(),
|
|
41414
|
+
order: Url$outboundSchema.optional(),
|
|
41415
|
+
terminal: Url$outboundSchema.optional(),
|
|
41416
|
+
status: Url$outboundSchema.optional(),
|
|
41417
|
+
payOnline: Url$outboundSchema.optional()
|
|
41418
|
+
});
|
|
41419
|
+
ListPaymentResponse$inboundSchema = objectType({
|
|
41420
|
+
resource: stringType(),
|
|
41421
|
+
id: stringType(),
|
|
41422
|
+
mode: Mode$inboundSchema,
|
|
41423
|
+
description: stringType(),
|
|
41424
|
+
amount: Amount$inboundSchema,
|
|
41425
|
+
amountRefunded: lazyType(() => ListPaymentResponseAmountRefunded$inboundSchema).optional(),
|
|
41426
|
+
amountRemaining: lazyType(() => ListPaymentResponseAmountRemaining$inboundSchema).optional(),
|
|
41427
|
+
amountCaptured: lazyType(() => ListPaymentResponseAmountCaptured$inboundSchema).optional(),
|
|
41428
|
+
amountChargedBack: lazyType(() => ListPaymentResponseAmountChargedBack$inboundSchema).optional(),
|
|
41429
|
+
settlementAmount: lazyType(() => ListPaymentResponseSettlementAmount$inboundSchema).optional(),
|
|
41430
|
+
redirectUrl: nullableType(stringType()).optional(),
|
|
41431
|
+
cancelUrl: nullableType(stringType()).optional(),
|
|
41432
|
+
webhookUrl: nullableType(stringType()).optional(),
|
|
41433
|
+
lines: nullableType(arrayType(lazyType(() => ListPaymentResponseLine$inboundSchema))).optional(),
|
|
41434
|
+
billingAddress: lazyType(() => ListPaymentResponseBillingAddress$inboundSchema).optional(),
|
|
41435
|
+
shippingAddress: PaymentAddress$inboundSchema.optional(),
|
|
41436
|
+
locale: nullableType(LocaleResponse$inboundSchema).optional(),
|
|
41437
|
+
countryCode: nullableType(stringType()).optional(),
|
|
41438
|
+
method: nullableType(MethodResponse$inboundSchema).optional(),
|
|
41439
|
+
restrictPaymentMethodsToCountry: nullableType(stringType()).optional(),
|
|
41440
|
+
metadata: nullableType(Metadata$inboundSchema).optional(),
|
|
41441
|
+
captureMode: nullableType(CaptureModeResponse$inboundSchema).optional(),
|
|
41442
|
+
captureDelay: nullableType(stringType()).optional(),
|
|
41443
|
+
captureBefore: nullableType(stringType()).optional(),
|
|
41444
|
+
applicationFee: nullableType(lazyType(() => ListPaymentResponseApplicationFee$inboundSchema)).optional(),
|
|
41445
|
+
routing: nullableType(arrayType(EntityPaymentRouteResponse$inboundSchema)).optional(),
|
|
41446
|
+
sequenceType: SequenceTypeResponse$inboundSchema,
|
|
41447
|
+
subscriptionId: nullableType(stringType()).optional(),
|
|
41448
|
+
mandateId: nullableType(stringType()).optional(),
|
|
41449
|
+
customerId: stringType().optional(),
|
|
41450
|
+
profileId: stringType(),
|
|
41451
|
+
settlementId: nullableType(stringType()).optional(),
|
|
41452
|
+
orderId: nullableType(stringType()).optional(),
|
|
41453
|
+
status: ListPaymentResponseStatus$inboundSchema,
|
|
41454
|
+
statusReason: nullableType(StatusReason$inboundSchema).optional(),
|
|
41455
|
+
isCancelable: nullableType(booleanType()).optional(),
|
|
41456
|
+
details: nullableType(lazyType(() => ListPaymentResponseDetails$inboundSchema)).optional(),
|
|
41457
|
+
createdAt: stringType(),
|
|
41458
|
+
authorizedAt: nullableType(stringType()).optional(),
|
|
41459
|
+
paidAt: nullableType(stringType()).optional(),
|
|
41460
|
+
canceledAt: nullableType(stringType()).optional(),
|
|
41461
|
+
expiresAt: nullableType(stringType()).optional(),
|
|
41462
|
+
expiredAt: nullableType(stringType()).optional(),
|
|
41463
|
+
failedAt: nullableType(stringType()).optional(),
|
|
41464
|
+
_links: lazyType(() => ListPaymentResponseLinks$inboundSchema)
|
|
41465
|
+
}).transform((v2) => {
|
|
41466
|
+
return remap(v2, {
|
|
41467
|
+
_links: "links"
|
|
41468
|
+
});
|
|
41469
|
+
});
|
|
41470
|
+
ListPaymentResponse$outboundSchema = objectType({
|
|
41471
|
+
resource: stringType(),
|
|
41472
|
+
id: stringType(),
|
|
41473
|
+
mode: Mode$outboundSchema,
|
|
41474
|
+
description: stringType(),
|
|
41475
|
+
amount: Amount$outboundSchema,
|
|
41476
|
+
amountRefunded: lazyType(() => ListPaymentResponseAmountRefunded$outboundSchema).optional(),
|
|
41477
|
+
amountRemaining: lazyType(() => ListPaymentResponseAmountRemaining$outboundSchema).optional(),
|
|
41478
|
+
amountCaptured: lazyType(() => ListPaymentResponseAmountCaptured$outboundSchema).optional(),
|
|
41479
|
+
amountChargedBack: lazyType(() => ListPaymentResponseAmountChargedBack$outboundSchema).optional(),
|
|
41480
|
+
settlementAmount: lazyType(() => ListPaymentResponseSettlementAmount$outboundSchema).optional(),
|
|
41481
|
+
redirectUrl: nullableType(stringType()).optional(),
|
|
41482
|
+
cancelUrl: nullableType(stringType()).optional(),
|
|
41483
|
+
webhookUrl: nullableType(stringType()).optional(),
|
|
41484
|
+
lines: nullableType(arrayType(lazyType(() => ListPaymentResponseLine$outboundSchema))).optional(),
|
|
41485
|
+
billingAddress: lazyType(() => ListPaymentResponseBillingAddress$outboundSchema).optional(),
|
|
41486
|
+
shippingAddress: PaymentAddress$outboundSchema.optional(),
|
|
41487
|
+
locale: nullableType(LocaleResponse$outboundSchema).optional(),
|
|
41488
|
+
countryCode: nullableType(stringType()).optional(),
|
|
41489
|
+
method: nullableType(MethodResponse$outboundSchema).optional(),
|
|
41490
|
+
restrictPaymentMethodsToCountry: nullableType(stringType()).optional(),
|
|
41491
|
+
metadata: nullableType(Metadata$outboundSchema).optional(),
|
|
41492
|
+
captureMode: nullableType(CaptureModeResponse$outboundSchema).optional(),
|
|
41493
|
+
captureDelay: nullableType(stringType()).optional(),
|
|
41494
|
+
captureBefore: nullableType(stringType()).optional(),
|
|
41495
|
+
applicationFee: nullableType(lazyType(() => ListPaymentResponseApplicationFee$outboundSchema)).optional(),
|
|
41496
|
+
routing: nullableType(arrayType(EntityPaymentRouteResponse$outboundSchema)).optional(),
|
|
41497
|
+
sequenceType: SequenceTypeResponse$outboundSchema,
|
|
41498
|
+
subscriptionId: nullableType(stringType()).optional(),
|
|
41499
|
+
mandateId: nullableType(stringType()).optional(),
|
|
41500
|
+
customerId: stringType().optional(),
|
|
41501
|
+
profileId: stringType(),
|
|
41502
|
+
settlementId: nullableType(stringType()).optional(),
|
|
41503
|
+
orderId: nullableType(stringType()).optional(),
|
|
41504
|
+
status: ListPaymentResponseStatus$outboundSchema,
|
|
41505
|
+
statusReason: nullableType(StatusReason$outboundSchema).optional(),
|
|
41506
|
+
isCancelable: nullableType(booleanType()).optional(),
|
|
41507
|
+
details: nullableType(lazyType(() => ListPaymentResponseDetails$outboundSchema)).optional(),
|
|
41508
|
+
createdAt: stringType(),
|
|
41509
|
+
authorizedAt: nullableType(stringType()).optional(),
|
|
41510
|
+
paidAt: nullableType(stringType()).optional(),
|
|
41511
|
+
canceledAt: nullableType(stringType()).optional(),
|
|
41512
|
+
expiresAt: nullableType(stringType()).optional(),
|
|
41513
|
+
expiredAt: nullableType(stringType()).optional(),
|
|
41514
|
+
failedAt: nullableType(stringType()).optional(),
|
|
41515
|
+
links: lazyType(() => ListPaymentResponseLinks$outboundSchema)
|
|
41516
|
+
}).transform((v2) => {
|
|
41517
|
+
return remap(v2, {
|
|
41518
|
+
links: "_links"
|
|
41519
|
+
});
|
|
41520
|
+
});
|
|
41521
|
+
});
|
|
41522
|
+
|
|
41523
|
+
// src/models/listprofileresponse.ts
|
|
41524
|
+
var ListProfileResponseStatus, ListProfileResponseStatus$inboundSchema, ListProfileResponseStatus$outboundSchema, ListProfileResponseReview$inboundSchema, ListProfileResponseReview$outboundSchema, ListProfileResponseLinks$inboundSchema, ListProfileResponseLinks$outboundSchema, ListProfileResponse$inboundSchema, ListProfileResponse$outboundSchema;
|
|
41525
|
+
var init_listprofileresponse = __esm(() => {
|
|
41526
|
+
init_esm();
|
|
41527
|
+
init_primitives();
|
|
41528
|
+
init_enums();
|
|
41529
|
+
init_mode();
|
|
41530
|
+
init_profilereviewstatusresponse();
|
|
41531
|
+
init_url2();
|
|
41532
|
+
ListProfileResponseStatus = {
|
|
41533
|
+
Unverified: "unverified",
|
|
41534
|
+
Verified: "verified",
|
|
41535
|
+
Blocked: "blocked"
|
|
41536
|
+
};
|
|
41537
|
+
ListProfileResponseStatus$inboundSchema = inboundSchema(ListProfileResponseStatus);
|
|
41538
|
+
ListProfileResponseStatus$outboundSchema = outboundSchema(ListProfileResponseStatus);
|
|
41539
|
+
ListProfileResponseReview$inboundSchema = objectType({
|
|
41540
|
+
status: ProfileReviewStatusResponse$inboundSchema.optional()
|
|
41541
|
+
});
|
|
41542
|
+
ListProfileResponseReview$outboundSchema = objectType({
|
|
41543
|
+
status: ProfileReviewStatusResponse$outboundSchema.optional()
|
|
41544
|
+
});
|
|
41545
|
+
ListProfileResponseLinks$inboundSchema = objectType({
|
|
41546
|
+
self: Url$inboundSchema.optional(),
|
|
41547
|
+
dashboard: Url$inboundSchema.optional(),
|
|
41548
|
+
chargebacks: Url$inboundSchema.optional(),
|
|
41549
|
+
methods: Url$inboundSchema.optional(),
|
|
41550
|
+
payments: Url$inboundSchema.optional(),
|
|
41551
|
+
refunds: Url$inboundSchema.optional(),
|
|
41552
|
+
checkoutPreviewUrl: Url$inboundSchema.optional()
|
|
41553
|
+
});
|
|
41554
|
+
ListProfileResponseLinks$outboundSchema = objectType({
|
|
41555
|
+
self: Url$outboundSchema.optional(),
|
|
41556
|
+
dashboard: Url$outboundSchema.optional(),
|
|
41557
|
+
chargebacks: Url$outboundSchema.optional(),
|
|
41558
|
+
methods: Url$outboundSchema.optional(),
|
|
41559
|
+
payments: Url$outboundSchema.optional(),
|
|
41560
|
+
refunds: Url$outboundSchema.optional(),
|
|
41561
|
+
checkoutPreviewUrl: Url$outboundSchema.optional()
|
|
41562
|
+
});
|
|
41563
|
+
ListProfileResponse$inboundSchema = objectType({
|
|
41564
|
+
resource: stringType(),
|
|
41565
|
+
id: stringType(),
|
|
41566
|
+
mode: Mode$inboundSchema,
|
|
41567
|
+
name: stringType(),
|
|
41568
|
+
website: stringType(),
|
|
41569
|
+
email: stringType(),
|
|
41570
|
+
phone: stringType(),
|
|
41571
|
+
description: stringType().optional(),
|
|
41572
|
+
countriesOfActivity: arrayType(stringType()).optional(),
|
|
41573
|
+
businessCategory: stringType(),
|
|
41574
|
+
status: ListProfileResponseStatus$inboundSchema,
|
|
41575
|
+
review: lazyType(() => ListProfileResponseReview$inboundSchema).optional(),
|
|
41576
|
+
createdAt: stringType(),
|
|
41577
|
+
_links: lazyType(() => ListProfileResponseLinks$inboundSchema)
|
|
41578
|
+
}).transform((v2) => {
|
|
41579
|
+
return remap(v2, {
|
|
41580
|
+
_links: "links"
|
|
41581
|
+
});
|
|
41582
|
+
});
|
|
41583
|
+
ListProfileResponse$outboundSchema = objectType({
|
|
41584
|
+
resource: stringType(),
|
|
41585
|
+
id: stringType(),
|
|
41586
|
+
mode: Mode$outboundSchema,
|
|
41587
|
+
name: stringType(),
|
|
41588
|
+
website: stringType(),
|
|
41589
|
+
email: stringType(),
|
|
41590
|
+
phone: stringType(),
|
|
41591
|
+
description: stringType().optional(),
|
|
41592
|
+
countriesOfActivity: arrayType(stringType()).optional(),
|
|
41593
|
+
businessCategory: stringType(),
|
|
41594
|
+
status: ListProfileResponseStatus$outboundSchema,
|
|
41595
|
+
review: lazyType(() => ListProfileResponseReview$outboundSchema).optional(),
|
|
41596
|
+
createdAt: stringType(),
|
|
41597
|
+
links: lazyType(() => ListProfileResponseLinks$outboundSchema)
|
|
41598
|
+
}).transform((v2) => {
|
|
41599
|
+
return remap(v2, {
|
|
41600
|
+
links: "_links"
|
|
41601
|
+
});
|
|
41602
|
+
});
|
|
41603
|
+
});
|
|
41604
|
+
|
|
41605
|
+
// src/models/listroutegetresponse.ts
|
|
41606
|
+
var ListRouteGetResponseDestination$inboundSchema, ListRouteGetResponseDestination$outboundSchema, ListRouteGetResponseLinks$inboundSchema, ListRouteGetResponseLinks$outboundSchema, ListRouteGetResponse$inboundSchema, ListRouteGetResponse$outboundSchema;
|
|
41607
|
+
var init_listroutegetresponse = __esm(() => {
|
|
41608
|
+
init_esm();
|
|
41609
|
+
init_primitives();
|
|
41610
|
+
init_amount();
|
|
41611
|
+
init_routedestinationtyperesponse();
|
|
41612
|
+
init_url2();
|
|
41613
|
+
ListRouteGetResponseDestination$inboundSchema = objectType({
|
|
41614
|
+
type: RouteDestinationTypeResponse$inboundSchema,
|
|
41615
|
+
organizationId: stringType()
|
|
41616
|
+
});
|
|
41617
|
+
ListRouteGetResponseDestination$outboundSchema = objectType({
|
|
41618
|
+
type: RouteDestinationTypeResponse$outboundSchema,
|
|
41619
|
+
organizationId: stringType()
|
|
41620
|
+
});
|
|
41621
|
+
ListRouteGetResponseLinks$inboundSchema = objectType({
|
|
41622
|
+
self: Url$inboundSchema
|
|
41623
|
+
});
|
|
41624
|
+
ListRouteGetResponseLinks$outboundSchema = objectType({
|
|
41625
|
+
self: Url$outboundSchema
|
|
41626
|
+
});
|
|
41627
|
+
ListRouteGetResponse$inboundSchema = objectType({
|
|
41628
|
+
resource: stringType(),
|
|
41629
|
+
id: stringType(),
|
|
41630
|
+
paymentId: stringType(),
|
|
41631
|
+
amount: Amount$inboundSchema,
|
|
41632
|
+
description: stringType(),
|
|
41633
|
+
destination: lazyType(() => ListRouteGetResponseDestination$inboundSchema),
|
|
41634
|
+
_links: lazyType(() => ListRouteGetResponseLinks$inboundSchema),
|
|
41635
|
+
createdAt: stringType()
|
|
41636
|
+
}).transform((v2) => {
|
|
41637
|
+
return remap(v2, {
|
|
41638
|
+
_links: "links"
|
|
41639
|
+
});
|
|
41640
|
+
});
|
|
41641
|
+
ListRouteGetResponse$outboundSchema = objectType({
|
|
41642
|
+
resource: stringType(),
|
|
41643
|
+
id: stringType(),
|
|
41644
|
+
paymentId: stringType(),
|
|
41645
|
+
amount: Amount$outboundSchema,
|
|
41646
|
+
description: stringType(),
|
|
41647
|
+
destination: lazyType(() => ListRouteGetResponseDestination$outboundSchema),
|
|
41648
|
+
links: lazyType(() => ListRouteGetResponseLinks$outboundSchema),
|
|
41649
|
+
createdAt: stringType()
|
|
41650
|
+
}).transform((v2) => {
|
|
41651
|
+
return remap(v2, {
|
|
41652
|
+
links: "_links"
|
|
41653
|
+
});
|
|
41654
|
+
});
|
|
41655
|
+
});
|
|
41656
|
+
|
|
41657
|
+
// src/models/salesinvoicediscounttyperesponse.ts
|
|
41658
|
+
var SalesInvoiceDiscountTypeResponse, SalesInvoiceDiscountTypeResponse$inboundSchema, SalesInvoiceDiscountTypeResponse$outboundSchema;
|
|
41659
|
+
var init_salesinvoicediscounttyperesponse = __esm(() => {
|
|
41660
|
+
init_enums();
|
|
41661
|
+
SalesInvoiceDiscountTypeResponse = {
|
|
41662
|
+
Amount: "amount",
|
|
41663
|
+
Percentage: "percentage"
|
|
41664
|
+
};
|
|
41665
|
+
SalesInvoiceDiscountTypeResponse$inboundSchema = inboundSchema(SalesInvoiceDiscountTypeResponse);
|
|
41666
|
+
SalesInvoiceDiscountTypeResponse$outboundSchema = outboundSchema(SalesInvoiceDiscountTypeResponse);
|
|
41667
|
+
});
|
|
41668
|
+
|
|
41669
|
+
// src/models/salesinvoicediscountresponse.ts
|
|
41670
|
+
var SalesInvoiceDiscountResponse$inboundSchema, SalesInvoiceDiscountResponse$outboundSchema;
|
|
41671
|
+
var init_salesinvoicediscountresponse = __esm(() => {
|
|
41672
|
+
init_esm();
|
|
41673
|
+
init_salesinvoicediscounttyperesponse();
|
|
41674
|
+
SalesInvoiceDiscountResponse$inboundSchema = objectType({
|
|
41675
|
+
type: SalesInvoiceDiscountTypeResponse$inboundSchema,
|
|
41676
|
+
value: stringType()
|
|
41677
|
+
});
|
|
41678
|
+
SalesInvoiceDiscountResponse$outboundSchema = objectType({
|
|
41679
|
+
type: SalesInvoiceDiscountTypeResponse$outboundSchema,
|
|
41680
|
+
value: stringType()
|
|
41681
|
+
});
|
|
41682
|
+
});
|
|
41683
|
+
|
|
41684
|
+
// src/models/salesinvoiceemaildetails.ts
|
|
41685
|
+
var SalesInvoiceEmailDetails$inboundSchema, SalesInvoiceEmailDetails$outboundSchema;
|
|
41686
|
+
var init_salesinvoiceemaildetails = __esm(() => {
|
|
41687
|
+
init_esm();
|
|
41688
|
+
SalesInvoiceEmailDetails$inboundSchema = objectType({
|
|
41689
|
+
subject: stringType(),
|
|
41690
|
+
body: stringType()
|
|
41691
|
+
});
|
|
41692
|
+
SalesInvoiceEmailDetails$outboundSchema = objectType({
|
|
41693
|
+
subject: stringType(),
|
|
41694
|
+
body: stringType()
|
|
41695
|
+
});
|
|
41696
|
+
});
|
|
41697
|
+
|
|
41698
|
+
// src/models/salesinvoicelineitemresponse.ts
|
|
41699
|
+
var SalesInvoiceLineItemResponse$inboundSchema, SalesInvoiceLineItemResponse$outboundSchema;
|
|
41700
|
+
var init_salesinvoicelineitemresponse = __esm(() => {
|
|
41701
|
+
init_esm();
|
|
41702
|
+
init_amount();
|
|
41703
|
+
init_salesinvoicediscountresponse();
|
|
41704
|
+
SalesInvoiceLineItemResponse$inboundSchema = objectType({
|
|
41705
|
+
description: stringType(),
|
|
41706
|
+
quantity: numberType().int(),
|
|
41707
|
+
vatRate: stringType(),
|
|
41708
|
+
unitPrice: Amount$inboundSchema,
|
|
41709
|
+
discount: nullableType(SalesInvoiceDiscountResponse$inboundSchema).optional()
|
|
41710
|
+
});
|
|
41711
|
+
SalesInvoiceLineItemResponse$outboundSchema = objectType({
|
|
41712
|
+
description: stringType(),
|
|
41713
|
+
quantity: numberType().int(),
|
|
41714
|
+
vatRate: stringType(),
|
|
41715
|
+
unitPrice: Amount$outboundSchema,
|
|
41716
|
+
discount: nullableType(SalesInvoiceDiscountResponse$outboundSchema).optional()
|
|
41717
|
+
});
|
|
41718
|
+
});
|
|
41719
|
+
|
|
41720
|
+
// src/models/salesinvoicepaymentdetailssourceresponse.ts
|
|
41721
|
+
var SalesInvoicePaymentDetailsSourceResponse, SalesInvoicePaymentDetailsSourceResponse$inboundSchema, SalesInvoicePaymentDetailsSourceResponse$outboundSchema;
|
|
41722
|
+
var init_salesinvoicepaymentdetailssourceresponse = __esm(() => {
|
|
41723
|
+
init_enums();
|
|
41724
|
+
SalesInvoicePaymentDetailsSourceResponse = {
|
|
41725
|
+
Manual: "manual",
|
|
41726
|
+
PaymentLink: "payment-link",
|
|
41727
|
+
Payment: "payment"
|
|
41728
|
+
};
|
|
41729
|
+
SalesInvoicePaymentDetailsSourceResponse$inboundSchema = inboundSchema(SalesInvoicePaymentDetailsSourceResponse);
|
|
41730
|
+
SalesInvoicePaymentDetailsSourceResponse$outboundSchema = outboundSchema(SalesInvoicePaymentDetailsSourceResponse);
|
|
41731
|
+
});
|
|
41732
|
+
|
|
41733
|
+
// src/models/salesinvoicepaymentdetailsresponse.ts
|
|
41734
|
+
var SalesInvoicePaymentDetailsResponse$inboundSchema, SalesInvoicePaymentDetailsResponse$outboundSchema;
|
|
41735
|
+
var init_salesinvoicepaymentdetailsresponse = __esm(() => {
|
|
41736
|
+
init_esm();
|
|
41737
|
+
init_salesinvoicepaymentdetailssourceresponse();
|
|
41738
|
+
SalesInvoicePaymentDetailsResponse$inboundSchema = objectType({
|
|
41739
|
+
source: SalesInvoicePaymentDetailsSourceResponse$inboundSchema,
|
|
41740
|
+
sourceReference: nullableType(stringType()).optional()
|
|
41741
|
+
});
|
|
41742
|
+
SalesInvoicePaymentDetailsResponse$outboundSchema = objectType({
|
|
41743
|
+
source: SalesInvoicePaymentDetailsSourceResponse$outboundSchema,
|
|
41744
|
+
sourceReference: nullableType(stringType()).optional()
|
|
41745
|
+
});
|
|
41746
|
+
});
|
|
41747
|
+
|
|
41748
|
+
// src/models/salesinvoicepaymenttermresponse.ts
|
|
41749
|
+
var SalesInvoicePaymentTermResponse, SalesInvoicePaymentTermResponse$inboundSchema, SalesInvoicePaymentTermResponse$outboundSchema;
|
|
41750
|
+
var init_salesinvoicepaymenttermresponse = __esm(() => {
|
|
41751
|
+
init_enums();
|
|
41752
|
+
SalesInvoicePaymentTermResponse = {
|
|
41753
|
+
Sevendays: "7 days",
|
|
41754
|
+
Fourteendays: "14 days",
|
|
41755
|
+
Thirtydays: "30 days",
|
|
41756
|
+
FortyFivedays: "45 days",
|
|
41757
|
+
Sixtydays: "60 days",
|
|
41758
|
+
Ninetydays: "90 days",
|
|
41759
|
+
OneHundredAndTwentydays: "120 days"
|
|
41760
|
+
};
|
|
41761
|
+
SalesInvoicePaymentTermResponse$inboundSchema = inboundSchema(SalesInvoicePaymentTermResponse);
|
|
41762
|
+
SalesInvoicePaymentTermResponse$outboundSchema = outboundSchema(SalesInvoicePaymentTermResponse);
|
|
41763
|
+
});
|
|
41764
|
+
|
|
41765
|
+
// src/models/salesinvoicerecipientlocaleresponse.ts
|
|
41766
|
+
var SalesInvoiceRecipientLocaleResponse, SalesInvoiceRecipientLocaleResponse$inboundSchema, SalesInvoiceRecipientLocaleResponse$outboundSchema;
|
|
41767
|
+
var init_salesinvoicerecipientlocaleresponse = __esm(() => {
|
|
41768
|
+
init_enums();
|
|
41769
|
+
SalesInvoiceRecipientLocaleResponse = {
|
|
41770
|
+
EnUS: "en_US",
|
|
41771
|
+
EnGB: "en_GB",
|
|
41772
|
+
NLNL: "nl_NL",
|
|
41773
|
+
NlBE: "nl_BE",
|
|
41774
|
+
DEDE: "de_DE",
|
|
41775
|
+
DeAT: "de_AT",
|
|
41776
|
+
DeCH: "de_CH",
|
|
41777
|
+
FRFR: "fr_FR",
|
|
41778
|
+
FrBE: "fr_BE"
|
|
41779
|
+
};
|
|
41780
|
+
SalesInvoiceRecipientLocaleResponse$inboundSchema = inboundSchema(SalesInvoiceRecipientLocaleResponse);
|
|
41781
|
+
SalesInvoiceRecipientLocaleResponse$outboundSchema = outboundSchema(SalesInvoiceRecipientLocaleResponse);
|
|
41782
|
+
});
|
|
41783
|
+
|
|
41784
|
+
// src/models/salesinvoicerecipienttyperesponse.ts
|
|
41785
|
+
var SalesInvoiceRecipientTypeResponse, SalesInvoiceRecipientTypeResponse$inboundSchema, SalesInvoiceRecipientTypeResponse$outboundSchema;
|
|
41786
|
+
var init_salesinvoicerecipienttyperesponse = __esm(() => {
|
|
41787
|
+
init_enums();
|
|
41788
|
+
SalesInvoiceRecipientTypeResponse = {
|
|
41789
|
+
Consumer: "consumer",
|
|
41790
|
+
Business: "business"
|
|
41791
|
+
};
|
|
41792
|
+
SalesInvoiceRecipientTypeResponse$inboundSchema = inboundSchema(SalesInvoiceRecipientTypeResponse);
|
|
41793
|
+
SalesInvoiceRecipientTypeResponse$outboundSchema = outboundSchema(SalesInvoiceRecipientTypeResponse);
|
|
41794
|
+
});
|
|
41795
|
+
|
|
41796
|
+
// src/models/salesinvoicerecipientresponse.ts
|
|
41797
|
+
var SalesInvoiceRecipientResponse$inboundSchema, SalesInvoiceRecipientResponse$outboundSchema;
|
|
41798
|
+
var init_salesinvoicerecipientresponse = __esm(() => {
|
|
41799
|
+
init_esm();
|
|
41800
|
+
init_salesinvoicerecipientlocaleresponse();
|
|
41801
|
+
init_salesinvoicerecipienttyperesponse();
|
|
41802
|
+
SalesInvoiceRecipientResponse$inboundSchema = objectType({
|
|
41803
|
+
type: SalesInvoiceRecipientTypeResponse$inboundSchema,
|
|
41804
|
+
title: nullableType(stringType()).optional(),
|
|
41805
|
+
givenName: nullableType(stringType()).optional(),
|
|
41806
|
+
familyName: nullableType(stringType()).optional(),
|
|
41807
|
+
organizationName: nullableType(stringType()).optional(),
|
|
41808
|
+
organizationNumber: nullableType(stringType()).optional(),
|
|
41809
|
+
vatNumber: nullableType(stringType()).optional(),
|
|
41810
|
+
email: stringType(),
|
|
41811
|
+
phone: nullableType(stringType()).optional(),
|
|
41812
|
+
streetAndNumber: stringType(),
|
|
41813
|
+
streetAdditional: nullableType(stringType()).optional(),
|
|
41814
|
+
postalCode: stringType(),
|
|
41815
|
+
city: stringType(),
|
|
41816
|
+
region: nullableType(stringType()).optional(),
|
|
41817
|
+
country: stringType(),
|
|
41818
|
+
locale: SalesInvoiceRecipientLocaleResponse$inboundSchema
|
|
41819
|
+
});
|
|
41820
|
+
SalesInvoiceRecipientResponse$outboundSchema = objectType({
|
|
41821
|
+
type: SalesInvoiceRecipientTypeResponse$outboundSchema,
|
|
41822
|
+
title: nullableType(stringType()).optional(),
|
|
41823
|
+
givenName: nullableType(stringType()).optional(),
|
|
41824
|
+
familyName: nullableType(stringType()).optional(),
|
|
41825
|
+
organizationName: nullableType(stringType()).optional(),
|
|
41826
|
+
organizationNumber: nullableType(stringType()).optional(),
|
|
41827
|
+
vatNumber: nullableType(stringType()).optional(),
|
|
41828
|
+
email: stringType(),
|
|
41829
|
+
phone: nullableType(stringType()).optional(),
|
|
41830
|
+
streetAndNumber: stringType(),
|
|
41831
|
+
streetAdditional: nullableType(stringType()).optional(),
|
|
41832
|
+
postalCode: stringType(),
|
|
41833
|
+
city: stringType(),
|
|
41834
|
+
region: nullableType(stringType()).optional(),
|
|
41835
|
+
country: stringType(),
|
|
41836
|
+
locale: SalesInvoiceRecipientLocaleResponse$outboundSchema
|
|
41837
|
+
});
|
|
41838
|
+
});
|
|
41839
|
+
|
|
41840
|
+
// src/models/salesinvoicestatusresponse.ts
|
|
41841
|
+
var SalesInvoiceStatusResponse, SalesInvoiceStatusResponse$inboundSchema, SalesInvoiceStatusResponse$outboundSchema;
|
|
41842
|
+
var init_salesinvoicestatusresponse = __esm(() => {
|
|
41843
|
+
init_enums();
|
|
41844
|
+
SalesInvoiceStatusResponse = {
|
|
41845
|
+
Draft: "draft",
|
|
41846
|
+
Issued: "issued",
|
|
41847
|
+
Paid: "paid"
|
|
41848
|
+
};
|
|
41849
|
+
SalesInvoiceStatusResponse$inboundSchema = inboundSchema(SalesInvoiceStatusResponse);
|
|
41850
|
+
SalesInvoiceStatusResponse$outboundSchema = outboundSchema(SalesInvoiceStatusResponse);
|
|
41851
|
+
});
|
|
41852
|
+
|
|
41853
|
+
// src/models/salesinvoicevatmoderesponse.ts
|
|
41854
|
+
var SalesInvoiceVatModeResponse, SalesInvoiceVatModeResponse$inboundSchema, SalesInvoiceVatModeResponse$outboundSchema;
|
|
41855
|
+
var init_salesinvoicevatmoderesponse = __esm(() => {
|
|
39643
41856
|
init_enums();
|
|
39644
|
-
|
|
39645
|
-
|
|
39646
|
-
|
|
39647
|
-
|
|
39648
|
-
|
|
39649
|
-
|
|
39650
|
-
|
|
39651
|
-
|
|
39652
|
-
|
|
39653
|
-
|
|
39654
|
-
|
|
39655
|
-
|
|
39656
|
-
|
|
41857
|
+
SalesInvoiceVatModeResponse = {
|
|
41858
|
+
Exclusive: "exclusive",
|
|
41859
|
+
Inclusive: "inclusive"
|
|
41860
|
+
};
|
|
41861
|
+
SalesInvoiceVatModeResponse$inboundSchema = inboundSchema(SalesInvoiceVatModeResponse);
|
|
41862
|
+
SalesInvoiceVatModeResponse$outboundSchema = outboundSchema(SalesInvoiceVatModeResponse);
|
|
41863
|
+
});
|
|
41864
|
+
|
|
41865
|
+
// src/models/salesinvoicevatschemeresponse.ts
|
|
41866
|
+
var SalesInvoiceVatSchemeResponse, SalesInvoiceVatSchemeResponse$inboundSchema, SalesInvoiceVatSchemeResponse$outboundSchema;
|
|
41867
|
+
var init_salesinvoicevatschemeresponse = __esm(() => {
|
|
41868
|
+
init_enums();
|
|
41869
|
+
SalesInvoiceVatSchemeResponse = {
|
|
41870
|
+
Standard: "standard",
|
|
41871
|
+
OneStopShop: "one-stop-shop"
|
|
41872
|
+
};
|
|
41873
|
+
SalesInvoiceVatSchemeResponse$inboundSchema = inboundSchema(SalesInvoiceVatSchemeResponse);
|
|
41874
|
+
SalesInvoiceVatSchemeResponse$outboundSchema = outboundSchema(SalesInvoiceVatSchemeResponse);
|
|
41875
|
+
});
|
|
41876
|
+
|
|
41877
|
+
// src/models/listsalesinvoiceresponse.ts
|
|
41878
|
+
var ListSalesInvoiceResponseMetadata$inboundSchema, ListSalesInvoiceResponseMetadata$outboundSchema, ListSalesInvoiceResponseAmountDue$inboundSchema, ListSalesInvoiceResponseAmountDue$outboundSchema, ListSalesInvoiceResponseSubtotalAmount$inboundSchema, ListSalesInvoiceResponseSubtotalAmount$outboundSchema, ListSalesInvoiceResponseTotalAmount$inboundSchema, ListSalesInvoiceResponseTotalAmount$outboundSchema, ListSalesInvoiceResponseTotalVatAmount$inboundSchema, ListSalesInvoiceResponseTotalVatAmount$outboundSchema, ListSalesInvoiceResponseDiscountedSubtotalAmount$inboundSchema, ListSalesInvoiceResponseDiscountedSubtotalAmount$outboundSchema, ListSalesInvoiceResponseLinks$inboundSchema, ListSalesInvoiceResponseLinks$outboundSchema, ListSalesInvoiceResponse$inboundSchema, ListSalesInvoiceResponse$outboundSchema;
|
|
41879
|
+
var init_listsalesinvoiceresponse = __esm(() => {
|
|
41880
|
+
init_esm();
|
|
41881
|
+
init_primitives();
|
|
41882
|
+
init_mode();
|
|
41883
|
+
init_salesinvoicediscountresponse();
|
|
41884
|
+
init_salesinvoiceemaildetails();
|
|
41885
|
+
init_salesinvoicelineitemresponse();
|
|
41886
|
+
init_salesinvoicepaymentdetailsresponse();
|
|
41887
|
+
init_salesinvoicepaymenttermresponse();
|
|
41888
|
+
init_salesinvoicerecipientresponse();
|
|
41889
|
+
init_salesinvoicestatusresponse();
|
|
41890
|
+
init_salesinvoicevatmoderesponse();
|
|
41891
|
+
init_salesinvoicevatschemeresponse();
|
|
41892
|
+
init_url2();
|
|
41893
|
+
ListSalesInvoiceResponseMetadata$inboundSchema = objectType({});
|
|
41894
|
+
ListSalesInvoiceResponseMetadata$outboundSchema = objectType({});
|
|
41895
|
+
ListSalesInvoiceResponseAmountDue$inboundSchema = objectType({
|
|
41896
|
+
currency: stringType(),
|
|
41897
|
+
value: stringType()
|
|
41898
|
+
});
|
|
41899
|
+
ListSalesInvoiceResponseAmountDue$outboundSchema = objectType({
|
|
41900
|
+
currency: stringType(),
|
|
41901
|
+
value: stringType()
|
|
41902
|
+
});
|
|
41903
|
+
ListSalesInvoiceResponseSubtotalAmount$inboundSchema = objectType({
|
|
41904
|
+
currency: stringType(),
|
|
41905
|
+
value: stringType()
|
|
41906
|
+
});
|
|
41907
|
+
ListSalesInvoiceResponseSubtotalAmount$outboundSchema = objectType({
|
|
41908
|
+
currency: stringType(),
|
|
41909
|
+
value: stringType()
|
|
41910
|
+
});
|
|
41911
|
+
ListSalesInvoiceResponseTotalAmount$inboundSchema = objectType({
|
|
41912
|
+
currency: stringType(),
|
|
41913
|
+
value: stringType()
|
|
41914
|
+
});
|
|
41915
|
+
ListSalesInvoiceResponseTotalAmount$outboundSchema = objectType({
|
|
41916
|
+
currency: stringType(),
|
|
41917
|
+
value: stringType()
|
|
41918
|
+
});
|
|
41919
|
+
ListSalesInvoiceResponseTotalVatAmount$inboundSchema = objectType({
|
|
41920
|
+
currency: stringType(),
|
|
41921
|
+
value: stringType()
|
|
41922
|
+
});
|
|
41923
|
+
ListSalesInvoiceResponseTotalVatAmount$outboundSchema = objectType({
|
|
41924
|
+
currency: stringType(),
|
|
41925
|
+
value: stringType()
|
|
41926
|
+
});
|
|
41927
|
+
ListSalesInvoiceResponseDiscountedSubtotalAmount$inboundSchema = objectType({
|
|
41928
|
+
currency: stringType(),
|
|
41929
|
+
value: stringType()
|
|
41930
|
+
});
|
|
41931
|
+
ListSalesInvoiceResponseDiscountedSubtotalAmount$outboundSchema = objectType({
|
|
41932
|
+
currency: stringType(),
|
|
41933
|
+
value: stringType()
|
|
41934
|
+
});
|
|
41935
|
+
ListSalesInvoiceResponseLinks$inboundSchema = objectType({
|
|
41936
|
+
self: Url$inboundSchema.optional(),
|
|
41937
|
+
invoicePayment: Url$inboundSchema.optional(),
|
|
41938
|
+
pdfLink: Url$inboundSchema.optional(),
|
|
41939
|
+
next: Url$inboundSchema.optional(),
|
|
41940
|
+
previous: Url$inboundSchema.optional()
|
|
41941
|
+
});
|
|
41942
|
+
ListSalesInvoiceResponseLinks$outboundSchema = objectType({
|
|
41943
|
+
self: Url$outboundSchema.optional(),
|
|
41944
|
+
invoicePayment: Url$outboundSchema.optional(),
|
|
41945
|
+
pdfLink: Url$outboundSchema.optional(),
|
|
41946
|
+
next: Url$outboundSchema.optional(),
|
|
41947
|
+
previous: Url$outboundSchema.optional()
|
|
41948
|
+
});
|
|
41949
|
+
ListSalesInvoiceResponse$inboundSchema = objectType({
|
|
41950
|
+
resource: stringType(),
|
|
41951
|
+
id: stringType(),
|
|
41952
|
+
mode: Mode$inboundSchema,
|
|
41953
|
+
invoiceNumber: nullableType(stringType()).optional(),
|
|
41954
|
+
status: SalesInvoiceStatusResponse$inboundSchema.optional(),
|
|
41955
|
+
vatScheme: SalesInvoiceVatSchemeResponse$inboundSchema.optional(),
|
|
41956
|
+
vatMode: SalesInvoiceVatModeResponse$inboundSchema.optional(),
|
|
41957
|
+
memo: nullableType(stringType()).optional(),
|
|
41958
|
+
metadata: nullableType(lazyType(() => ListSalesInvoiceResponseMetadata$inboundSchema)).optional(),
|
|
41959
|
+
paymentTerm: nullableType(SalesInvoicePaymentTermResponse$inboundSchema).optional(),
|
|
41960
|
+
paymentDetails: SalesInvoicePaymentDetailsResponse$inboundSchema.optional(),
|
|
41961
|
+
emailDetails: nullableType(SalesInvoiceEmailDetails$inboundSchema).optional(),
|
|
41962
|
+
customerId: stringType().optional(),
|
|
41963
|
+
mandateId: stringType().optional(),
|
|
41964
|
+
recipientIdentifier: stringType().optional(),
|
|
41965
|
+
recipient: nullableType(SalesInvoiceRecipientResponse$inboundSchema).optional(),
|
|
41966
|
+
lines: nullableType(arrayType(SalesInvoiceLineItemResponse$inboundSchema)).optional(),
|
|
41967
|
+
discount: nullableType(SalesInvoiceDiscountResponse$inboundSchema).optional(),
|
|
41968
|
+
amountDue: lazyType(() => ListSalesInvoiceResponseAmountDue$inboundSchema).optional(),
|
|
41969
|
+
subtotalAmount: lazyType(() => ListSalesInvoiceResponseSubtotalAmount$inboundSchema).optional(),
|
|
41970
|
+
totalAmount: lazyType(() => ListSalesInvoiceResponseTotalAmount$inboundSchema).optional(),
|
|
41971
|
+
totalVatAmount: lazyType(() => ListSalesInvoiceResponseTotalVatAmount$inboundSchema).optional(),
|
|
41972
|
+
discountedSubtotalAmount: lazyType(() => ListSalesInvoiceResponseDiscountedSubtotalAmount$inboundSchema).optional(),
|
|
41973
|
+
createdAt: stringType().optional(),
|
|
41974
|
+
issuedAt: nullableType(stringType()).optional(),
|
|
41975
|
+
paidAt: nullableType(stringType()).optional(),
|
|
41976
|
+
dueAt: nullableType(stringType()).optional(),
|
|
41977
|
+
_links: lazyType(() => ListSalesInvoiceResponseLinks$inboundSchema).optional()
|
|
41978
|
+
}).transform((v2) => {
|
|
41979
|
+
return remap(v2, {
|
|
41980
|
+
_links: "links"
|
|
41981
|
+
});
|
|
41982
|
+
});
|
|
41983
|
+
ListSalesInvoiceResponse$outboundSchema = objectType({
|
|
41984
|
+
resource: stringType(),
|
|
41985
|
+
id: stringType(),
|
|
41986
|
+
mode: Mode$outboundSchema,
|
|
41987
|
+
invoiceNumber: nullableType(stringType()).optional(),
|
|
41988
|
+
status: SalesInvoiceStatusResponse$outboundSchema.optional(),
|
|
41989
|
+
vatScheme: SalesInvoiceVatSchemeResponse$outboundSchema.optional(),
|
|
41990
|
+
vatMode: SalesInvoiceVatModeResponse$outboundSchema.optional(),
|
|
41991
|
+
memo: nullableType(stringType()).optional(),
|
|
41992
|
+
metadata: nullableType(lazyType(() => ListSalesInvoiceResponseMetadata$outboundSchema)).optional(),
|
|
41993
|
+
paymentTerm: nullableType(SalesInvoicePaymentTermResponse$outboundSchema).optional(),
|
|
41994
|
+
paymentDetails: SalesInvoicePaymentDetailsResponse$outboundSchema.optional(),
|
|
41995
|
+
emailDetails: nullableType(SalesInvoiceEmailDetails$outboundSchema).optional(),
|
|
41996
|
+
customerId: stringType().optional(),
|
|
41997
|
+
mandateId: stringType().optional(),
|
|
41998
|
+
recipientIdentifier: stringType().optional(),
|
|
41999
|
+
recipient: nullableType(SalesInvoiceRecipientResponse$outboundSchema).optional(),
|
|
42000
|
+
lines: nullableType(arrayType(SalesInvoiceLineItemResponse$outboundSchema)).optional(),
|
|
42001
|
+
discount: nullableType(SalesInvoiceDiscountResponse$outboundSchema).optional(),
|
|
42002
|
+
amountDue: lazyType(() => ListSalesInvoiceResponseAmountDue$outboundSchema).optional(),
|
|
42003
|
+
subtotalAmount: lazyType(() => ListSalesInvoiceResponseSubtotalAmount$outboundSchema).optional(),
|
|
42004
|
+
totalAmount: lazyType(() => ListSalesInvoiceResponseTotalAmount$outboundSchema).optional(),
|
|
42005
|
+
totalVatAmount: lazyType(() => ListSalesInvoiceResponseTotalVatAmount$outboundSchema).optional(),
|
|
42006
|
+
discountedSubtotalAmount: lazyType(() => ListSalesInvoiceResponseDiscountedSubtotalAmount$outboundSchema).optional(),
|
|
42007
|
+
createdAt: stringType().optional(),
|
|
42008
|
+
issuedAt: nullableType(stringType()).optional(),
|
|
42009
|
+
paidAt: nullableType(stringType()).optional(),
|
|
42010
|
+
dueAt: nullableType(stringType()).optional(),
|
|
42011
|
+
links: lazyType(() => ListSalesInvoiceResponseLinks$outboundSchema).optional()
|
|
42012
|
+
}).transform((v2) => {
|
|
42013
|
+
return remap(v2, {
|
|
42014
|
+
links: "_links"
|
|
42015
|
+
});
|
|
42016
|
+
});
|
|
42017
|
+
});
|
|
42018
|
+
|
|
42019
|
+
// src/models/subscriptionmethodresponse.ts
|
|
42020
|
+
var SubscriptionMethodResponse, SubscriptionMethodResponse$inboundSchema, SubscriptionMethodResponse$outboundSchema;
|
|
42021
|
+
var init_subscriptionmethodresponse = __esm(() => {
|
|
42022
|
+
init_enums();
|
|
42023
|
+
SubscriptionMethodResponse = {
|
|
42024
|
+
Creditcard: "creditcard",
|
|
42025
|
+
Directdebit: "directdebit",
|
|
42026
|
+
Paypal: "paypal"
|
|
42027
|
+
};
|
|
42028
|
+
SubscriptionMethodResponse$inboundSchema = inboundSchema(SubscriptionMethodResponse);
|
|
42029
|
+
SubscriptionMethodResponse$outboundSchema = outboundSchema(SubscriptionMethodResponse);
|
|
42030
|
+
});
|
|
42031
|
+
|
|
42032
|
+
// src/models/listsubscriptionresponse.ts
|
|
42033
|
+
var ListSubscriptionResponseStatus, ListSubscriptionResponseStatus$inboundSchema, ListSubscriptionResponseStatus$outboundSchema, ListSubscriptionResponseApplicationFee$inboundSchema, ListSubscriptionResponseApplicationFee$outboundSchema, ListSubscriptionResponseLinks$inboundSchema, ListSubscriptionResponseLinks$outboundSchema, ListSubscriptionResponse$inboundSchema, ListSubscriptionResponse$outboundSchema;
|
|
42034
|
+
var init_listsubscriptionresponse = __esm(() => {
|
|
42035
|
+
init_esm();
|
|
42036
|
+
init_primitives();
|
|
42037
|
+
init_enums();
|
|
42038
|
+
init_amount();
|
|
42039
|
+
init_metadata();
|
|
42040
|
+
init_mode();
|
|
42041
|
+
init_subscriptionmethodresponse();
|
|
42042
|
+
init_url2();
|
|
42043
|
+
init_urlnullable();
|
|
42044
|
+
ListSubscriptionResponseStatus = {
|
|
42045
|
+
Pending: "pending",
|
|
42046
|
+
Active: "active",
|
|
42047
|
+
Canceled: "canceled",
|
|
42048
|
+
Suspended: "suspended",
|
|
42049
|
+
Completed: "completed"
|
|
42050
|
+
};
|
|
42051
|
+
ListSubscriptionResponseStatus$inboundSchema = inboundSchema(ListSubscriptionResponseStatus);
|
|
42052
|
+
ListSubscriptionResponseStatus$outboundSchema = outboundSchema(ListSubscriptionResponseStatus);
|
|
42053
|
+
ListSubscriptionResponseApplicationFee$inboundSchema = objectType({
|
|
42054
|
+
amount: Amount$inboundSchema,
|
|
42055
|
+
description: stringType()
|
|
42056
|
+
});
|
|
42057
|
+
ListSubscriptionResponseApplicationFee$outboundSchema = objectType({
|
|
42058
|
+
amount: Amount$outboundSchema,
|
|
42059
|
+
description: stringType()
|
|
42060
|
+
});
|
|
42061
|
+
ListSubscriptionResponseLinks$inboundSchema = objectType({
|
|
42062
|
+
self: Url$inboundSchema,
|
|
42063
|
+
customer: nullableType(UrlNullable$inboundSchema),
|
|
42064
|
+
mandate: nullableType(UrlNullable$inboundSchema).optional(),
|
|
42065
|
+
profile: nullableType(UrlNullable$inboundSchema),
|
|
42066
|
+
payments: nullableType(UrlNullable$inboundSchema).optional()
|
|
42067
|
+
});
|
|
42068
|
+
ListSubscriptionResponseLinks$outboundSchema = objectType({
|
|
42069
|
+
self: Url$outboundSchema,
|
|
42070
|
+
customer: nullableType(UrlNullable$outboundSchema),
|
|
42071
|
+
mandate: nullableType(UrlNullable$outboundSchema).optional(),
|
|
42072
|
+
profile: nullableType(UrlNullable$outboundSchema),
|
|
42073
|
+
payments: nullableType(UrlNullable$outboundSchema).optional()
|
|
42074
|
+
});
|
|
42075
|
+
ListSubscriptionResponse$inboundSchema = objectType({
|
|
42076
|
+
resource: stringType(),
|
|
42077
|
+
id: stringType(),
|
|
42078
|
+
mode: Mode$inboundSchema,
|
|
42079
|
+
status: ListSubscriptionResponseStatus$inboundSchema,
|
|
42080
|
+
amount: Amount$inboundSchema,
|
|
42081
|
+
times: nullableType(numberType().int()),
|
|
42082
|
+
timesRemaining: nullableType(numberType().int()),
|
|
42083
|
+
interval: stringType(),
|
|
42084
|
+
startDate: stringType(),
|
|
42085
|
+
nextPaymentDate: nullableType(stringType()).optional(),
|
|
42086
|
+
description: stringType(),
|
|
42087
|
+
method: nullableType(SubscriptionMethodResponse$inboundSchema),
|
|
42088
|
+
applicationFee: lazyType(() => ListSubscriptionResponseApplicationFee$inboundSchema).optional(),
|
|
42089
|
+
metadata: nullableType(Metadata$inboundSchema),
|
|
42090
|
+
webhookUrl: stringType(),
|
|
42091
|
+
customerId: stringType(),
|
|
42092
|
+
mandateId: stringType().optional(),
|
|
42093
|
+
createdAt: stringType(),
|
|
42094
|
+
canceledAt: nullableType(stringType()).optional(),
|
|
42095
|
+
_links: lazyType(() => ListSubscriptionResponseLinks$inboundSchema)
|
|
42096
|
+
}).transform((v2) => {
|
|
42097
|
+
return remap(v2, {
|
|
42098
|
+
_links: "links"
|
|
42099
|
+
});
|
|
42100
|
+
});
|
|
42101
|
+
ListSubscriptionResponse$outboundSchema = objectType({
|
|
42102
|
+
resource: stringType(),
|
|
42103
|
+
id: stringType(),
|
|
42104
|
+
mode: Mode$outboundSchema,
|
|
42105
|
+
status: ListSubscriptionResponseStatus$outboundSchema,
|
|
42106
|
+
amount: Amount$outboundSchema,
|
|
42107
|
+
times: nullableType(numberType().int()),
|
|
42108
|
+
timesRemaining: nullableType(numberType().int()),
|
|
42109
|
+
interval: stringType(),
|
|
42110
|
+
startDate: stringType(),
|
|
42111
|
+
nextPaymentDate: nullableType(stringType()).optional(),
|
|
42112
|
+
description: stringType(),
|
|
42113
|
+
method: nullableType(SubscriptionMethodResponse$outboundSchema),
|
|
42114
|
+
applicationFee: lazyType(() => ListSubscriptionResponseApplicationFee$outboundSchema).optional(),
|
|
42115
|
+
metadata: nullableType(Metadata$outboundSchema),
|
|
42116
|
+
webhookUrl: stringType(),
|
|
42117
|
+
customerId: stringType(),
|
|
42118
|
+
mandateId: stringType().optional(),
|
|
42119
|
+
createdAt: stringType(),
|
|
42120
|
+
canceledAt: nullableType(stringType()).optional(),
|
|
42121
|
+
links: lazyType(() => ListSubscriptionResponseLinks$outboundSchema)
|
|
42122
|
+
}).transform((v2) => {
|
|
42123
|
+
return remap(v2, {
|
|
42124
|
+
links: "_links"
|
|
42125
|
+
});
|
|
42126
|
+
});
|
|
42127
|
+
});
|
|
42128
|
+
|
|
42129
|
+
// src/models/locale.ts
|
|
42130
|
+
var Locale, Locale$inboundSchema, Locale$outboundSchema;
|
|
42131
|
+
var init_locale = __esm(() => {
|
|
42132
|
+
init_esm();
|
|
42133
|
+
Locale = {
|
|
42134
|
+
EnUS: "en_US",
|
|
42135
|
+
EnGB: "en_GB",
|
|
42136
|
+
NLNL: "nl_NL",
|
|
42137
|
+
NlBE: "nl_BE",
|
|
42138
|
+
DEDE: "de_DE",
|
|
42139
|
+
DeAT: "de_AT",
|
|
42140
|
+
DeCH: "de_CH",
|
|
42141
|
+
FRFR: "fr_FR",
|
|
42142
|
+
FrBE: "fr_BE",
|
|
42143
|
+
ESES: "es_ES",
|
|
42144
|
+
CaES: "ca_ES",
|
|
42145
|
+
PTPT: "pt_PT",
|
|
42146
|
+
ITIT: "it_IT",
|
|
42147
|
+
NbNO: "nb_NO",
|
|
42148
|
+
SvSE: "sv_SE",
|
|
42149
|
+
FIFI: "fi_FI",
|
|
42150
|
+
DaDK: "da_DK",
|
|
42151
|
+
ISIS: "is_IS",
|
|
42152
|
+
HUHU: "hu_HU",
|
|
42153
|
+
PLPL: "pl_PL",
|
|
42154
|
+
LVLV: "lv_LV",
|
|
42155
|
+
LTLT: "lt_LT",
|
|
42156
|
+
Null: "null"
|
|
39657
42157
|
};
|
|
39658
|
-
|
|
39659
|
-
|
|
42158
|
+
Locale$inboundSchema = nativeEnumType(Locale);
|
|
42159
|
+
Locale$outboundSchema = Locale$inboundSchema;
|
|
39660
42160
|
});
|
|
39661
42161
|
|
|
39662
42162
|
// src/models/mandatemethod.ts
|
|
@@ -39672,19 +42172,6 @@ var init_mandatemethod = __esm(() => {
|
|
|
39672
42172
|
MandateMethod$outboundSchema = MandateMethod$inboundSchema;
|
|
39673
42173
|
});
|
|
39674
42174
|
|
|
39675
|
-
// src/models/mandatemethodresponse.ts
|
|
39676
|
-
var MandateMethodResponse, MandateMethodResponse$inboundSchema, MandateMethodResponse$outboundSchema;
|
|
39677
|
-
var init_mandatemethodresponse = __esm(() => {
|
|
39678
|
-
init_enums();
|
|
39679
|
-
MandateMethodResponse = {
|
|
39680
|
-
Creditcard: "creditcard",
|
|
39681
|
-
Directdebit: "directdebit",
|
|
39682
|
-
Paypal: "paypal"
|
|
39683
|
-
};
|
|
39684
|
-
MandateMethodResponse$inboundSchema = inboundSchema(MandateMethodResponse);
|
|
39685
|
-
MandateMethodResponse$outboundSchema = outboundSchema(MandateMethodResponse);
|
|
39686
|
-
});
|
|
39687
|
-
|
|
39688
42175
|
// src/models/mandaterequest.ts
|
|
39689
42176
|
var MandateRequest$inboundSchema, MandateRequest$outboundSchema;
|
|
39690
42177
|
var init_mandaterequest = __esm(() => {
|
|
@@ -39869,234 +42356,17 @@ var init_methodresourceparameter = __esm(() => {
|
|
|
39869
42356
|
MethodResourceParameter$outboundSchema = MethodResourceParameter$inboundSchema;
|
|
39870
42357
|
});
|
|
39871
42358
|
|
|
39872
|
-
// src/models/methodresponse.ts
|
|
39873
|
-
var MethodResponse, MethodResponse$inboundSchema, MethodResponse$outboundSchema;
|
|
39874
|
-
var init_methodresponse = __esm(() => {
|
|
39875
|
-
init_enums();
|
|
39876
|
-
MethodResponse = {
|
|
39877
|
-
Alma: "alma",
|
|
39878
|
-
Applepay: "applepay",
|
|
39879
|
-
Bacs: "bacs",
|
|
39880
|
-
Bancomatpay: "bancomatpay",
|
|
39881
|
-
Bancontact: "bancontact",
|
|
39882
|
-
Banktransfer: "banktransfer",
|
|
39883
|
-
Belfius: "belfius",
|
|
39884
|
-
Billie: "billie",
|
|
39885
|
-
Bizum: "bizum",
|
|
39886
|
-
Blik: "blik",
|
|
39887
|
-
Creditcard: "creditcard",
|
|
39888
|
-
Directdebit: "directdebit",
|
|
39889
|
-
Eps: "eps",
|
|
39890
|
-
Giftcard: "giftcard",
|
|
39891
|
-
Ideal: "ideal",
|
|
39892
|
-
In3: "in3",
|
|
39893
|
-
Kbc: "kbc",
|
|
39894
|
-
Klarna: "klarna",
|
|
39895
|
-
Mbway: "mbway",
|
|
39896
|
-
Mobilepay: "mobilepay",
|
|
39897
|
-
Multibanco: "multibanco",
|
|
39898
|
-
Mybank: "mybank",
|
|
39899
|
-
Paybybank: "paybybank",
|
|
39900
|
-
Payconiq: "payconiq",
|
|
39901
|
-
Paypal: "paypal",
|
|
39902
|
-
Paysafecard: "paysafecard",
|
|
39903
|
-
Pointofsale: "pointofsale",
|
|
39904
|
-
Przelewy24: "przelewy24",
|
|
39905
|
-
Riverty: "riverty",
|
|
39906
|
-
Satispay: "satispay",
|
|
39907
|
-
Swish: "swish",
|
|
39908
|
-
Trustly: "trustly",
|
|
39909
|
-
Twint: "twint",
|
|
39910
|
-
Vipps: "vipps",
|
|
39911
|
-
Voucher: "voucher",
|
|
39912
|
-
Klarnapaylater: "klarnapaylater",
|
|
39913
|
-
Klarnapaynow: "klarnapaynow",
|
|
39914
|
-
Klarnasliceit: "klarnasliceit"
|
|
39915
|
-
};
|
|
39916
|
-
MethodResponse$inboundSchema = inboundSchema(MethodResponse);
|
|
39917
|
-
MethodResponse$outboundSchema = outboundSchema(MethodResponse);
|
|
39918
|
-
});
|
|
39919
|
-
|
|
39920
42359
|
// src/models/onboardingvatregulation.ts
|
|
39921
|
-
var OnboardingVatRegulation, OnboardingVatRegulation$inboundSchema, OnboardingVatRegulation$outboundSchema;
|
|
39922
|
-
var init_onboardingvatregulation = __esm(() => {
|
|
39923
|
-
init_esm();
|
|
39924
|
-
OnboardingVatRegulation = {
|
|
39925
|
-
Dutch: "dutch",
|
|
39926
|
-
British: "british",
|
|
39927
|
-
Shifted: "shifted"
|
|
39928
|
-
};
|
|
39929
|
-
OnboardingVatRegulation$inboundSchema = nativeEnumType(OnboardingVatRegulation);
|
|
39930
|
-
OnboardingVatRegulation$outboundSchema = OnboardingVatRegulation$inboundSchema;
|
|
39931
|
-
});
|
|
39932
|
-
|
|
39933
|
-
// src/models/paymentdetailscardauditionresponse.ts
|
|
39934
|
-
var PaymentDetailsCardAuditionResponse, PaymentDetailsCardAuditionResponse$inboundSchema, PaymentDetailsCardAuditionResponse$outboundSchema;
|
|
39935
|
-
var init_paymentdetailscardauditionresponse = __esm(() => {
|
|
39936
|
-
init_enums();
|
|
39937
|
-
PaymentDetailsCardAuditionResponse = {
|
|
39938
|
-
Consumer: "consumer",
|
|
39939
|
-
Business: "business"
|
|
39940
|
-
};
|
|
39941
|
-
PaymentDetailsCardAuditionResponse$inboundSchema = inboundSchema(PaymentDetailsCardAuditionResponse);
|
|
39942
|
-
PaymentDetailsCardAuditionResponse$outboundSchema = outboundSchema(PaymentDetailsCardAuditionResponse);
|
|
39943
|
-
});
|
|
39944
|
-
|
|
39945
|
-
// src/models/paymentdetailscardfundingresponse.ts
|
|
39946
|
-
var PaymentDetailsCardFundingResponse, PaymentDetailsCardFundingResponse$inboundSchema, PaymentDetailsCardFundingResponse$outboundSchema;
|
|
39947
|
-
var init_paymentdetailscardfundingresponse = __esm(() => {
|
|
39948
|
-
init_enums();
|
|
39949
|
-
PaymentDetailsCardFundingResponse = {
|
|
39950
|
-
Debit: "debit",
|
|
39951
|
-
Credit: "credit",
|
|
39952
|
-
Prepaid: "prepaid",
|
|
39953
|
-
DeferredDebit: "deferred-debit"
|
|
39954
|
-
};
|
|
39955
|
-
PaymentDetailsCardFundingResponse$inboundSchema = inboundSchema(PaymentDetailsCardFundingResponse);
|
|
39956
|
-
PaymentDetailsCardFundingResponse$outboundSchema = outboundSchema(PaymentDetailsCardFundingResponse);
|
|
39957
|
-
});
|
|
39958
|
-
|
|
39959
|
-
// src/models/paymentdetailscardlabelresponse.ts
|
|
39960
|
-
var PaymentDetailsCardLabelResponse, PaymentDetailsCardLabelResponse$inboundSchema, PaymentDetailsCardLabelResponse$outboundSchema;
|
|
39961
|
-
var init_paymentdetailscardlabelresponse = __esm(() => {
|
|
39962
|
-
init_enums();
|
|
39963
|
-
PaymentDetailsCardLabelResponse = {
|
|
39964
|
-
AmericanExpress: "American Express",
|
|
39965
|
-
CartaSi: "Carta Si",
|
|
39966
|
-
CarteBleue: "Carte Bleue",
|
|
39967
|
-
Dankort: "Dankort",
|
|
39968
|
-
DinersClub: "Diners Club",
|
|
39969
|
-
Discover: "Discover",
|
|
39970
|
-
Jcb: "JCB",
|
|
39971
|
-
Laser: "Laser",
|
|
39972
|
-
Maestro: "Maestro",
|
|
39973
|
-
Mastercard: "Mastercard",
|
|
39974
|
-
Unionpay: "Unionpay",
|
|
39975
|
-
Visa: "Visa",
|
|
39976
|
-
Vpay: "Vpay"
|
|
39977
|
-
};
|
|
39978
|
-
PaymentDetailsCardLabelResponse$inboundSchema = inboundSchema(PaymentDetailsCardLabelResponse);
|
|
39979
|
-
PaymentDetailsCardLabelResponse$outboundSchema = outboundSchema(PaymentDetailsCardLabelResponse);
|
|
39980
|
-
});
|
|
39981
|
-
|
|
39982
|
-
// src/models/paymentdetailscardsecurityresponse.ts
|
|
39983
|
-
var PaymentDetailsCardSecurityResponse, PaymentDetailsCardSecurityResponse$inboundSchema, PaymentDetailsCardSecurityResponse$outboundSchema;
|
|
39984
|
-
var init_paymentdetailscardsecurityresponse = __esm(() => {
|
|
39985
|
-
init_enums();
|
|
39986
|
-
PaymentDetailsCardSecurityResponse = {
|
|
39987
|
-
Normal: "normal",
|
|
39988
|
-
Threedsecure: "3dsecure"
|
|
39989
|
-
};
|
|
39990
|
-
PaymentDetailsCardSecurityResponse$inboundSchema = inboundSchema(PaymentDetailsCardSecurityResponse);
|
|
39991
|
-
PaymentDetailsCardSecurityResponse$outboundSchema = outboundSchema(PaymentDetailsCardSecurityResponse);
|
|
39992
|
-
});
|
|
39993
|
-
|
|
39994
|
-
// src/models/paymentdetailsfailurereasonresponse.ts
|
|
39995
|
-
var PaymentDetailsFailureReasonResponse, PaymentDetailsFailureReasonResponse$inboundSchema, PaymentDetailsFailureReasonResponse$outboundSchema;
|
|
39996
|
-
var init_paymentdetailsfailurereasonresponse = __esm(() => {
|
|
39997
|
-
init_enums();
|
|
39998
|
-
PaymentDetailsFailureReasonResponse = {
|
|
39999
|
-
AuthenticationAbandoned: "authentication_abandoned",
|
|
40000
|
-
AuthenticationFailed: "authentication_failed",
|
|
40001
|
-
AuthenticationRequired: "authentication_required",
|
|
40002
|
-
AuthenticationUnavailableAcs: "authentication_unavailable_acs",
|
|
40003
|
-
CardDeclined: "card_declined",
|
|
40004
|
-
CardExpired: "card_expired",
|
|
40005
|
-
InactiveCard: "inactive_card",
|
|
40006
|
-
InsufficientFunds: "insufficient_funds",
|
|
40007
|
-
InvalidCvv: "invalid_cvv",
|
|
40008
|
-
InvalidCardHolderName: "invalid_card_holder_name",
|
|
40009
|
-
InvalidCardNumber: "invalid_card_number",
|
|
40010
|
-
InvalidCardType: "invalid_card_type",
|
|
40011
|
-
PossibleFraud: "possible_fraud",
|
|
40012
|
-
RefusedByIssuer: "refused_by_issuer",
|
|
40013
|
-
UnknownReason: "unknown_reason"
|
|
40014
|
-
};
|
|
40015
|
-
PaymentDetailsFailureReasonResponse$inboundSchema = inboundSchema(PaymentDetailsFailureReasonResponse);
|
|
40016
|
-
PaymentDetailsFailureReasonResponse$outboundSchema = outboundSchema(PaymentDetailsFailureReasonResponse);
|
|
40017
|
-
});
|
|
40018
|
-
|
|
40019
|
-
// src/models/paymentdetailsfeeregionresponse.ts
|
|
40020
|
-
var PaymentDetailsFeeRegionResponse, PaymentDetailsFeeRegionResponse$inboundSchema, PaymentDetailsFeeRegionResponse$outboundSchema;
|
|
40021
|
-
var init_paymentdetailsfeeregionresponse = __esm(() => {
|
|
40022
|
-
init_enums();
|
|
40023
|
-
PaymentDetailsFeeRegionResponse = {
|
|
40024
|
-
AmericanExpress: "american-express",
|
|
40025
|
-
AmexIntraEea: "amex-intra-eea",
|
|
40026
|
-
CarteBancaire: "carte-bancaire",
|
|
40027
|
-
IntraEu: "intra-eu",
|
|
40028
|
-
IntraEuCorporate: "intra-eu-corporate",
|
|
40029
|
-
Domestic: "domestic",
|
|
40030
|
-
Maestro: "maestro",
|
|
40031
|
-
Other: "other",
|
|
40032
|
-
Inter: "inter",
|
|
40033
|
-
IntraEea: "intra_eea"
|
|
40034
|
-
};
|
|
40035
|
-
PaymentDetailsFeeRegionResponse$inboundSchema = inboundSchema(PaymentDetailsFeeRegionResponse);
|
|
40036
|
-
PaymentDetailsFeeRegionResponse$outboundSchema = outboundSchema(PaymentDetailsFeeRegionResponse);
|
|
40037
|
-
});
|
|
40038
|
-
|
|
40039
|
-
// src/models/paymentdetailsreceiptcardreadmethodresponse.ts
|
|
40040
|
-
var PaymentDetailsReceiptCardReadMethodResponse, PaymentDetailsReceiptCardReadMethodResponse$inboundSchema, PaymentDetailsReceiptCardReadMethodResponse$outboundSchema;
|
|
40041
|
-
var init_paymentdetailsreceiptcardreadmethodresponse = __esm(() => {
|
|
40042
|
-
init_enums();
|
|
40043
|
-
PaymentDetailsReceiptCardReadMethodResponse = {
|
|
40044
|
-
Chip: "chip",
|
|
40045
|
-
MagneticStripe: "magnetic-stripe",
|
|
40046
|
-
NearFieldCommunication: "near-field-communication",
|
|
40047
|
-
Contactless: "contactless",
|
|
40048
|
-
Moto: "moto"
|
|
40049
|
-
};
|
|
40050
|
-
PaymentDetailsReceiptCardReadMethodResponse$inboundSchema = inboundSchema(PaymentDetailsReceiptCardReadMethodResponse);
|
|
40051
|
-
PaymentDetailsReceiptCardReadMethodResponse$outboundSchema = outboundSchema(PaymentDetailsReceiptCardReadMethodResponse);
|
|
40052
|
-
});
|
|
40053
|
-
|
|
40054
|
-
// src/models/paymentdetailsreceiptcardverificationmethodresponse.ts
|
|
40055
|
-
var PaymentDetailsReceiptCardVerificationMethodResponse, PaymentDetailsReceiptCardVerificationMethodResponse$inboundSchema, PaymentDetailsReceiptCardVerificationMethodResponse$outboundSchema;
|
|
40056
|
-
var init_paymentdetailsreceiptcardverificationmethodresponse = __esm(() => {
|
|
40057
|
-
init_enums();
|
|
40058
|
-
PaymentDetailsReceiptCardVerificationMethodResponse = {
|
|
40059
|
-
NoCvmRequired: "no-cvm-required",
|
|
40060
|
-
OnlinePin: "online-pin",
|
|
40061
|
-
OfflinePin: "offline-pin",
|
|
40062
|
-
ConsumerDevice: "consumer-device",
|
|
40063
|
-
Signature: "signature",
|
|
40064
|
-
SignatureAndOnlinePin: "signature-and-online-pin",
|
|
40065
|
-
OnlinePinAndSignature: "online-pin-and-signature",
|
|
40066
|
-
None: "none",
|
|
40067
|
-
Failed: "failed"
|
|
40068
|
-
};
|
|
40069
|
-
PaymentDetailsReceiptCardVerificationMethodResponse$inboundSchema = inboundSchema(PaymentDetailsReceiptCardVerificationMethodResponse);
|
|
40070
|
-
PaymentDetailsReceiptCardVerificationMethodResponse$outboundSchema = outboundSchema(PaymentDetailsReceiptCardVerificationMethodResponse);
|
|
40071
|
-
});
|
|
40072
|
-
|
|
40073
|
-
// src/models/paymentdetailssellerprotectionresponse.ts
|
|
40074
|
-
var PaymentDetailsSellerProtectionResponse, PaymentDetailsSellerProtectionResponse$inboundSchema, PaymentDetailsSellerProtectionResponse$outboundSchema;
|
|
40075
|
-
var init_paymentdetailssellerprotectionresponse = __esm(() => {
|
|
40076
|
-
init_enums();
|
|
40077
|
-
PaymentDetailsSellerProtectionResponse = {
|
|
40078
|
-
Eligible: "Eligible",
|
|
40079
|
-
Ineligible: "Ineligible",
|
|
40080
|
-
PartiallyEligibleINROnly: "Partially Eligible - INR Only",
|
|
40081
|
-
PartiallyEligibleUnauthOnly: "Partially Eligible - Unauth Only",
|
|
40082
|
-
PartiallyEligible: "Partially Eligible",
|
|
40083
|
-
None: "None",
|
|
40084
|
-
Active: "Active",
|
|
40085
|
-
FraudControlUnauthPremiumEligible: "Fraud Control - Unauth Premium Eligible"
|
|
40086
|
-
};
|
|
40087
|
-
PaymentDetailsSellerProtectionResponse$inboundSchema = inboundSchema(PaymentDetailsSellerProtectionResponse);
|
|
40088
|
-
PaymentDetailsSellerProtectionResponse$outboundSchema = outboundSchema(PaymentDetailsSellerProtectionResponse);
|
|
40089
|
-
});
|
|
40090
|
-
|
|
40091
|
-
// src/models/paymentdetailswalletresponse.ts
|
|
40092
|
-
var PaymentDetailsWalletResponse, PaymentDetailsWalletResponse$inboundSchema, PaymentDetailsWalletResponse$outboundSchema;
|
|
40093
|
-
var init_paymentdetailswalletresponse = __esm(() => {
|
|
40094
|
-
init_enums();
|
|
40095
|
-
PaymentDetailsWalletResponse = {
|
|
40096
|
-
Applepay: "applepay"
|
|
42360
|
+
var OnboardingVatRegulation, OnboardingVatRegulation$inboundSchema, OnboardingVatRegulation$outboundSchema;
|
|
42361
|
+
var init_onboardingvatregulation = __esm(() => {
|
|
42362
|
+
init_esm();
|
|
42363
|
+
OnboardingVatRegulation = {
|
|
42364
|
+
Dutch: "dutch",
|
|
42365
|
+
British: "british",
|
|
42366
|
+
Shifted: "shifted"
|
|
40097
42367
|
};
|
|
40098
|
-
|
|
40099
|
-
|
|
42368
|
+
OnboardingVatRegulation$inboundSchema = nativeEnumType(OnboardingVatRegulation);
|
|
42369
|
+
OnboardingVatRegulation$outboundSchema = OnboardingVatRegulation$inboundSchema;
|
|
40100
42370
|
});
|
|
40101
42371
|
|
|
40102
42372
|
// src/models/paymentlinetype.ts
|
|
@@ -40207,58 +42477,6 @@ var init_paymentlinksequencetype = __esm(() => {
|
|
|
40207
42477
|
PaymentLinkSequenceType$outboundSchema = PaymentLinkSequenceType$inboundSchema;
|
|
40208
42478
|
});
|
|
40209
42479
|
|
|
40210
|
-
// src/types/rfcdate.ts
|
|
40211
|
-
class RFCDate {
|
|
40212
|
-
serialized;
|
|
40213
|
-
static today() {
|
|
40214
|
-
return new RFCDate(new Date);
|
|
40215
|
-
}
|
|
40216
|
-
constructor(date2) {
|
|
40217
|
-
if (typeof date2 === "string" && !dateRE.test(date2)) {
|
|
40218
|
-
throw new RangeError("RFCDate: date strings must be in the format YYYY-MM-DD: " + date2);
|
|
40219
|
-
}
|
|
40220
|
-
const value = new Date(date2);
|
|
40221
|
-
if (isNaN(+value)) {
|
|
40222
|
-
throw new RangeError("RFCDate: invalid date provided: " + date2);
|
|
40223
|
-
}
|
|
40224
|
-
this.serialized = value.toISOString().slice(0, "YYYY-MM-DD".length);
|
|
40225
|
-
if (!dateRE.test(this.serialized)) {
|
|
40226
|
-
throw new TypeError(`RFCDate: failed to build valid date with given value: ${date2} serialized to ${this.serialized}`);
|
|
40227
|
-
}
|
|
40228
|
-
}
|
|
40229
|
-
toJSON() {
|
|
40230
|
-
return this.toString();
|
|
40231
|
-
}
|
|
40232
|
-
toString() {
|
|
40233
|
-
return this.serialized;
|
|
40234
|
-
}
|
|
40235
|
-
}
|
|
40236
|
-
var dateRE;
|
|
40237
|
-
var init_rfcdate = __esm(() => {
|
|
40238
|
-
dateRE = /^\d{4}-\d{2}-\d{2}$/;
|
|
40239
|
-
});
|
|
40240
|
-
|
|
40241
|
-
// src/models/recurringlineitem.ts
|
|
40242
|
-
var RecurringLineItem$inboundSchema, RecurringLineItem$outboundSchema;
|
|
40243
|
-
var init_recurringlineitem = __esm(() => {
|
|
40244
|
-
init_esm();
|
|
40245
|
-
init_amount();
|
|
40246
|
-
RecurringLineItem$inboundSchema = objectType({
|
|
40247
|
-
description: stringType().optional(),
|
|
40248
|
-
interval: stringType(),
|
|
40249
|
-
amount: Amount$inboundSchema.optional(),
|
|
40250
|
-
times: numberType().int().optional(),
|
|
40251
|
-
startDate: nullableType(stringType()).optional()
|
|
40252
|
-
});
|
|
40253
|
-
RecurringLineItem$outboundSchema = objectType({
|
|
40254
|
-
description: stringType().optional(),
|
|
40255
|
-
interval: stringType(),
|
|
40256
|
-
amount: Amount$outboundSchema.optional(),
|
|
40257
|
-
times: numberType().int().optional(),
|
|
40258
|
-
startDate: nullableType(stringType()).optional()
|
|
40259
|
-
});
|
|
40260
|
-
});
|
|
40261
|
-
|
|
40262
42480
|
// src/models/sequencetype.ts
|
|
40263
42481
|
var SequenceType, SequenceType$inboundSchema, SequenceType$outboundSchema;
|
|
40264
42482
|
var init_sequencetype = __esm(() => {
|
|
@@ -40440,155 +42658,8 @@ var init_paymentrequest = __esm(() => {
|
|
|
40440
42658
|
});
|
|
40441
42659
|
});
|
|
40442
42660
|
|
|
40443
|
-
// src/models/sequencetyperesponse.ts
|
|
40444
|
-
var SequenceTypeResponse, SequenceTypeResponse$inboundSchema, SequenceTypeResponse$outboundSchema;
|
|
40445
|
-
var init_sequencetyperesponse = __esm(() => {
|
|
40446
|
-
init_enums();
|
|
40447
|
-
SequenceTypeResponse = {
|
|
40448
|
-
Oneoff: "oneoff",
|
|
40449
|
-
First: "first",
|
|
40450
|
-
Recurring: "recurring"
|
|
40451
|
-
};
|
|
40452
|
-
SequenceTypeResponse$inboundSchema = inboundSchema(SequenceTypeResponse);
|
|
40453
|
-
SequenceTypeResponse$outboundSchema = outboundSchema(SequenceTypeResponse);
|
|
40454
|
-
});
|
|
40455
|
-
|
|
40456
|
-
// src/models/statusreason.ts
|
|
40457
|
-
var Code, Code$inboundSchema, Code$outboundSchema, StatusReason$inboundSchema, StatusReason$outboundSchema;
|
|
40458
|
-
var init_statusreason = __esm(() => {
|
|
40459
|
-
init_esm();
|
|
40460
|
-
Code = {
|
|
40461
|
-
ApprovedOrCompletedSuccessfully: "approved_or_completed_successfully",
|
|
40462
|
-
ReferToCardIssuer: "refer_to_card_issuer",
|
|
40463
|
-
InvalidMerchant: "invalid_merchant",
|
|
40464
|
-
CaptureCard: "capture_card",
|
|
40465
|
-
DoNotHonor: "do_not_honor",
|
|
40466
|
-
Error: "error",
|
|
40467
|
-
PartialApproval: "partial_approval",
|
|
40468
|
-
InvalidTransaction: "invalid_transaction",
|
|
40469
|
-
InvalidAmount: "invalid_amount",
|
|
40470
|
-
InvalidIssuer: "invalid_issuer",
|
|
40471
|
-
LostCard: "lost_card",
|
|
40472
|
-
StolenCard: "stolen_card",
|
|
40473
|
-
InsufficientFunds: "insufficient_funds",
|
|
40474
|
-
ExpiredCard: "expired_card",
|
|
40475
|
-
InvalidPin: "invalid_pin",
|
|
40476
|
-
TransactionNotPermittedToCardholder: "transaction_not_permitted_to_cardholder",
|
|
40477
|
-
TransactionNotAllowedAtTerminal: "transaction_not_allowed_at_terminal",
|
|
40478
|
-
ExceedsWithdrawalAmountLimit: "exceeds_withdrawal_amount_limit",
|
|
40479
|
-
RestrictedCard: "restricted_card",
|
|
40480
|
-
SecurityViolation: "security_violation",
|
|
40481
|
-
ExceedsWithdrawalCountLimit: "exceeds_withdrawal_count_limit",
|
|
40482
|
-
AllowableNumberOfPinTriesExceeded: "allowable_number_of_pin_tries_exceeded",
|
|
40483
|
-
NoReasonToDecline: "no_reason_to_decline",
|
|
40484
|
-
CannotVerifyPin: "cannot_verify_pin",
|
|
40485
|
-
IssuerUnavailable: "issuer_unavailable",
|
|
40486
|
-
UnableToRouteTransaction: "unable_to_route_transaction",
|
|
40487
|
-
DuplicateTransaction: "duplicate_transaction",
|
|
40488
|
-
SystemMalfunction: "system_malfunction",
|
|
40489
|
-
HonorWithId: "honor_with_id",
|
|
40490
|
-
InvalidCardNumber: "invalid_card_number",
|
|
40491
|
-
FormatError: "format_error",
|
|
40492
|
-
ContactCardIssuer: "contact_card_issuer",
|
|
40493
|
-
PinNotChanged: "pin_not_changed",
|
|
40494
|
-
InvalidNonexistentToAccountSpecified: "invalid_nonexistent_to_account_specified",
|
|
40495
|
-
InvalidNonexistentFromAccountSpecified: "invalid_nonexistent_from_account_specified",
|
|
40496
|
-
InvalidNonexistentAccountSpecified: "invalid_nonexistent_account_specified",
|
|
40497
|
-
LifecycleRelated: "lifecycle_related",
|
|
40498
|
-
DomesticDebitTransactionNotAllowed: "domestic_debit_transaction_not_allowed",
|
|
40499
|
-
PolicyRelated: "policy_related",
|
|
40500
|
-
FraudSecurityRelated: "fraud_security_related",
|
|
40501
|
-
InvalidAuthorizationLifeCycle: "invalid_authorization_life_cycle",
|
|
40502
|
-
PurchaseAmountOnlyNoCashBackAllowed: "purchase_amount_only_no_cash_back_allowed",
|
|
40503
|
-
CryptographicFailure: "cryptographic_failure",
|
|
40504
|
-
UnacceptablePin: "unacceptable_pin",
|
|
40505
|
-
ReferToCardIssuerSpecialCondition: "refer_to_card_issuer_special_condition",
|
|
40506
|
-
PickUpCardSpecialCondition: "pick_up_card_special_condition",
|
|
40507
|
-
VipApproval: "vip_approval",
|
|
40508
|
-
InvalidAccountNumber: "invalid_account_number",
|
|
40509
|
-
ReEnterTransaction: "re_enter_transaction",
|
|
40510
|
-
NoActionTaken: "no_action_taken",
|
|
40511
|
-
UnableToLocateRecord: "unable_to_locate_record",
|
|
40512
|
-
FileTemporarilyUnavailable: "file_temporarily_unavailable",
|
|
40513
|
-
NoCreditAccount: "no_credit_account",
|
|
40514
|
-
ClosedAccount: "closed_account",
|
|
40515
|
-
NoCheckingAccount: "no_checking_account",
|
|
40516
|
-
NoSavingsAccount: "no_savings_account",
|
|
40517
|
-
SuspectedFraud: "suspected_fraud",
|
|
40518
|
-
TransactionDoesNotFulfillAmlRequirement: "transaction_does_not_fulfill_aml_requirement",
|
|
40519
|
-
PinDataRequired: "pin_data_required",
|
|
40520
|
-
UnableToLocatePreviousMessage: "unable_to_locate_previous_message",
|
|
40521
|
-
PreviousMessageLocatedInconsistentData: "previous_message_located_inconsistent_data",
|
|
40522
|
-
BlockedFirstUsed: "blocked_first_used",
|
|
40523
|
-
TransactionReversed: "transaction_reversed",
|
|
40524
|
-
CreditIssuerUnavailable: "credit_issuer_unavailable",
|
|
40525
|
-
PinCryptographicErrorFound: "pin_cryptographic_error_found",
|
|
40526
|
-
NegativeOnlineCamResult: "negative_online_cam_result",
|
|
40527
|
-
ViolationOfLaw: "violation_of_law",
|
|
40528
|
-
ForceStip: "force_stip",
|
|
40529
|
-
CashServiceNotAvailable: "cash_service_not_available",
|
|
40530
|
-
CashbackRequestExceedsIssuerLimit: "cashback_request_exceeds_issuer_limit",
|
|
40531
|
-
DeclineForCvv2Failure: "decline_for_cvv2_failure",
|
|
40532
|
-
TransactionAmountExceedsPreAuthorizedAmount: "transaction_amount_exceeds_pre_authorized_amount",
|
|
40533
|
-
InvalidBillerInformation: "invalid_biller_information",
|
|
40534
|
-
PinChangeUnblockRequestDeclined: "pin_change_unblock_request_declined",
|
|
40535
|
-
UnsafePin: "unsafe_pin",
|
|
40536
|
-
CardAuthenticationFailed: "card_authentication_failed",
|
|
40537
|
-
StopPaymentOrder: "stop_payment_order",
|
|
40538
|
-
RevocationOfAuthorization: "revocation_of_authorization",
|
|
40539
|
-
RevocationOfAllAuthorizations: "revocation_of_all_authorizations",
|
|
40540
|
-
ForwardToIssuerXa: "forward_to_issuer_xa",
|
|
40541
|
-
ForwardToIssuerXd: "forward_to_issuer_xd",
|
|
40542
|
-
UnableToGoOnline: "unable_to_go_online",
|
|
40543
|
-
AdditionalCustomerAuthenticationRequired: "additional_customer_authentication_required",
|
|
40544
|
-
MerchantIdNotFound: "merchant_id_not_found",
|
|
40545
|
-
MerchantAccountClosed: "merchant_account_closed",
|
|
40546
|
-
TerminalIdNotFound: "terminal_id_not_found",
|
|
40547
|
-
TerminalClosed: "terminal_closed",
|
|
40548
|
-
InvalidCategoryCode: "invalid_category_code",
|
|
40549
|
-
InvalidCurrency: "invalid_currency",
|
|
40550
|
-
MissingCvv2Cvc2: "missing_cvv2_cvc2",
|
|
40551
|
-
Cvv2NotAllowed: "cvv2_not_allowed",
|
|
40552
|
-
MerchantNotRegisteredVbv: "merchant_not_registered_vbv",
|
|
40553
|
-
MerchantNotRegisteredForAmex: "merchant_not_registered_for_amex",
|
|
40554
|
-
TransactionNotPermittedAtTerminal: "transaction_not_permitted_at_terminal",
|
|
40555
|
-
AgreementTerminalNotRelated: "agreement_terminal_not_related",
|
|
40556
|
-
InvalidProcessorId: "invalid_processor_id",
|
|
40557
|
-
InvalidMerchantData: "invalid_merchant_data",
|
|
40558
|
-
SubMerchantAccountClosed: "sub_merchant_account_closed",
|
|
40559
|
-
TerminalBusy: "terminal_busy",
|
|
40560
|
-
TerminalUnreachable: "terminal_unreachable",
|
|
40561
|
-
ServiceFailed: "service_failed",
|
|
40562
|
-
InvalidOperation: "invalid_operation",
|
|
40563
|
-
AuthorizationError: "authorization_error",
|
|
40564
|
-
LoginFailedWithoutReason: "login_failed_without_reason",
|
|
40565
|
-
InvalidRetailer: "invalid_retailer",
|
|
40566
|
-
CardDoesNotExist: "card_does_not_exist",
|
|
40567
|
-
CardIsBlocked: "card_is_blocked",
|
|
40568
|
-
InvalidCardId: "invalid_card_id",
|
|
40569
|
-
CardIsTransferred: "card_is_transferred",
|
|
40570
|
-
CardIsNotActive: "card_is_not_active",
|
|
40571
|
-
IncorrectPurchaseValue: "incorrect_purchase_value",
|
|
40572
|
-
CardNotAvailable: "card_not_available",
|
|
40573
|
-
WrongCurrency: "wrong_currency",
|
|
40574
|
-
LoginFailedUnknownUser: "login_failed_unknown_user",
|
|
40575
|
-
LoginFailedInvalidPassword: "login_failed_invalid_password",
|
|
40576
|
-
InvalidEanCode: "invalid_ean_code"
|
|
40577
|
-
};
|
|
40578
|
-
Code$inboundSchema = nativeEnumType(Code);
|
|
40579
|
-
Code$outboundSchema = Code$inboundSchema;
|
|
40580
|
-
StatusReason$inboundSchema = objectType({
|
|
40581
|
-
code: Code$inboundSchema,
|
|
40582
|
-
message: stringType()
|
|
40583
|
-
});
|
|
40584
|
-
StatusReason$outboundSchema = objectType({
|
|
40585
|
-
code: Code$outboundSchema,
|
|
40586
|
-
message: stringType()
|
|
40587
|
-
});
|
|
40588
|
-
});
|
|
40589
|
-
|
|
40590
42661
|
// src/models/paymentresponse.ts
|
|
40591
|
-
var PaymentResponseStatus,
|
|
42662
|
+
var PaymentResponseStatus, PaymentResponseAmountRefunded$inboundSchema, PaymentResponseAmountRefunded$outboundSchema, PaymentResponseAmountRemaining$inboundSchema, PaymentResponseAmountRemaining$outboundSchema, PaymentResponseAmountCaptured$inboundSchema, PaymentResponseAmountCaptured$outboundSchema, PaymentResponseAmountChargedBack$inboundSchema, PaymentResponseAmountChargedBack$outboundSchema, PaymentResponseSettlementAmount$inboundSchema, PaymentResponseSettlementAmount$outboundSchema, PaymentResponseLine$inboundSchema, PaymentResponseLine$outboundSchema, PaymentResponseBillingAddress$inboundSchema, PaymentResponseBillingAddress$outboundSchema, PaymentResponseApplicationFee$inboundSchema, PaymentResponseApplicationFee$outboundSchema, PaymentResponseStatus$inboundSchema, PaymentResponseStatus$outboundSchema, PaymentResponseReceipt$inboundSchema, PaymentResponseReceipt$outboundSchema, PaymentResponseQrCode$inboundSchema, PaymentResponseQrCode$outboundSchema, PaymentResponseDetails$inboundSchema, PaymentResponseDetails$outboundSchema, PaymentResponseLinks$inboundSchema, PaymentResponseLinks$outboundSchema, PaymentResponse$inboundSchema, PaymentResponse$outboundSchema;
|
|
40592
42663
|
var init_paymentresponse = __esm(() => {
|
|
40593
42664
|
init_esm();
|
|
40594
42665
|
init_primitives();
|
|
@@ -40628,35 +42699,35 @@ var init_paymentresponse = __esm(() => {
|
|
|
40628
42699
|
Expired: "expired",
|
|
40629
42700
|
Failed: "failed"
|
|
40630
42701
|
};
|
|
40631
|
-
|
|
42702
|
+
PaymentResponseAmountRefunded$inboundSchema = objectType({
|
|
40632
42703
|
currency: stringType(),
|
|
40633
42704
|
value: stringType()
|
|
40634
42705
|
});
|
|
40635
|
-
|
|
42706
|
+
PaymentResponseAmountRefunded$outboundSchema = objectType({
|
|
40636
42707
|
currency: stringType(),
|
|
40637
42708
|
value: stringType()
|
|
40638
42709
|
});
|
|
40639
|
-
|
|
42710
|
+
PaymentResponseAmountRemaining$inboundSchema = objectType({
|
|
40640
42711
|
currency: stringType(),
|
|
40641
42712
|
value: stringType()
|
|
40642
42713
|
});
|
|
40643
|
-
|
|
42714
|
+
PaymentResponseAmountRemaining$outboundSchema = objectType({
|
|
40644
42715
|
currency: stringType(),
|
|
40645
42716
|
value: stringType()
|
|
40646
42717
|
});
|
|
40647
|
-
|
|
42718
|
+
PaymentResponseAmountCaptured$inboundSchema = objectType({
|
|
40648
42719
|
currency: stringType(),
|
|
40649
42720
|
value: stringType()
|
|
40650
42721
|
});
|
|
40651
|
-
|
|
42722
|
+
PaymentResponseAmountCaptured$outboundSchema = objectType({
|
|
40652
42723
|
currency: stringType(),
|
|
40653
42724
|
value: stringType()
|
|
40654
42725
|
});
|
|
40655
|
-
|
|
42726
|
+
PaymentResponseAmountChargedBack$inboundSchema = objectType({
|
|
40656
42727
|
currency: stringType(),
|
|
40657
42728
|
value: stringType()
|
|
40658
42729
|
});
|
|
40659
|
-
|
|
42730
|
+
PaymentResponseAmountChargedBack$outboundSchema = objectType({
|
|
40660
42731
|
currency: stringType(),
|
|
40661
42732
|
value: stringType()
|
|
40662
42733
|
});
|
|
@@ -40738,24 +42809,24 @@ var init_paymentresponse = __esm(() => {
|
|
|
40738
42809
|
});
|
|
40739
42810
|
PaymentResponseStatus$inboundSchema = inboundSchema(PaymentResponseStatus);
|
|
40740
42811
|
PaymentResponseStatus$outboundSchema = outboundSchema(PaymentResponseStatus);
|
|
40741
|
-
|
|
42812
|
+
PaymentResponseReceipt$inboundSchema = objectType({
|
|
40742
42813
|
authorizationCode: nullableType(stringType()).optional(),
|
|
40743
42814
|
applicationIdentifier: nullableType(stringType()).optional(),
|
|
40744
42815
|
cardReadMethod: nullableType(PaymentDetailsReceiptCardReadMethodResponse$inboundSchema).optional(),
|
|
40745
42816
|
cardVerificationMethod: nullableType(PaymentDetailsReceiptCardVerificationMethodResponse$inboundSchema).optional()
|
|
40746
42817
|
});
|
|
40747
|
-
|
|
42818
|
+
PaymentResponseReceipt$outboundSchema = objectType({
|
|
40748
42819
|
authorizationCode: nullableType(stringType()).optional(),
|
|
40749
42820
|
applicationIdentifier: nullableType(stringType()).optional(),
|
|
40750
42821
|
cardReadMethod: nullableType(PaymentDetailsReceiptCardReadMethodResponse$outboundSchema).optional(),
|
|
40751
42822
|
cardVerificationMethod: nullableType(PaymentDetailsReceiptCardVerificationMethodResponse$outboundSchema).optional()
|
|
40752
42823
|
});
|
|
40753
|
-
|
|
42824
|
+
PaymentResponseQrCode$inboundSchema = objectType({
|
|
40754
42825
|
height: numberType().int().optional(),
|
|
40755
42826
|
width: numberType().int().optional(),
|
|
40756
42827
|
src: stringType().optional()
|
|
40757
42828
|
});
|
|
40758
|
-
|
|
42829
|
+
PaymentResponseQrCode$outboundSchema = objectType({
|
|
40759
42830
|
height: numberType().int().optional(),
|
|
40760
42831
|
width: numberType().int().optional(),
|
|
40761
42832
|
src: stringType().optional()
|
|
@@ -40793,7 +42864,7 @@ var init_paymentresponse = __esm(() => {
|
|
|
40793
42864
|
customerReference: stringType().optional(),
|
|
40794
42865
|
terminalId: stringType().optional(),
|
|
40795
42866
|
maskedNumber: nullableType(stringType()).optional(),
|
|
40796
|
-
receipt: lazyType(() =>
|
|
42867
|
+
receipt: lazyType(() => PaymentResponseReceipt$inboundSchema).optional(),
|
|
40797
42868
|
creditorIdentifier: nullableType(stringType()).optional(),
|
|
40798
42869
|
dueDate: nullableType(stringType().transform((v2) => new RFCDate(v2))).optional(),
|
|
40799
42870
|
signatureDate: nullableType(stringType().transform((v2) => new RFCDate(v2))).optional(),
|
|
@@ -40803,7 +42874,7 @@ var init_paymentresponse = __esm(() => {
|
|
|
40803
42874
|
mandateReference: nullableType(stringType()).optional(),
|
|
40804
42875
|
batchReference: nullableType(stringType()).optional(),
|
|
40805
42876
|
fileReference: nullableType(stringType()).optional(),
|
|
40806
|
-
qrCode: lazyType(() =>
|
|
42877
|
+
qrCode: lazyType(() => PaymentResponseQrCode$inboundSchema).optional(),
|
|
40807
42878
|
voucherNumber: stringType().optional(),
|
|
40808
42879
|
giftcards: arrayType(recordType(anyType())).optional(),
|
|
40809
42880
|
issuer: stringType().optional(),
|
|
@@ -40847,7 +42918,7 @@ var init_paymentresponse = __esm(() => {
|
|
|
40847
42918
|
customerReference: stringType().optional(),
|
|
40848
42919
|
terminalId: stringType().optional(),
|
|
40849
42920
|
maskedNumber: nullableType(stringType()).optional(),
|
|
40850
|
-
receipt: lazyType(() =>
|
|
42921
|
+
receipt: lazyType(() => PaymentResponseReceipt$outboundSchema).optional(),
|
|
40851
42922
|
creditorIdentifier: nullableType(stringType()).optional(),
|
|
40852
42923
|
dueDate: nullableType(instanceOfType(RFCDate).transform((v2) => v2.toString())).optional(),
|
|
40853
42924
|
signatureDate: nullableType(instanceOfType(RFCDate).transform((v2) => v2.toString())).optional(),
|
|
@@ -40857,7 +42928,7 @@ var init_paymentresponse = __esm(() => {
|
|
|
40857
42928
|
mandateReference: nullableType(stringType()).optional(),
|
|
40858
42929
|
batchReference: nullableType(stringType()).optional(),
|
|
40859
42930
|
fileReference: nullableType(stringType()).optional(),
|
|
40860
|
-
qrCode: lazyType(() =>
|
|
42931
|
+
qrCode: lazyType(() => PaymentResponseQrCode$outboundSchema).optional(),
|
|
40861
42932
|
voucherNumber: stringType().optional(),
|
|
40862
42933
|
giftcards: arrayType(recordType(anyType())).optional(),
|
|
40863
42934
|
issuer: stringType().optional(),
|
|
@@ -40912,10 +42983,10 @@ var init_paymentresponse = __esm(() => {
|
|
|
40912
42983
|
mode: Mode$inboundSchema,
|
|
40913
42984
|
description: stringType(),
|
|
40914
42985
|
amount: Amount$inboundSchema,
|
|
40915
|
-
amountRefunded: lazyType(() =>
|
|
40916
|
-
amountRemaining: lazyType(() =>
|
|
40917
|
-
amountCaptured: lazyType(() =>
|
|
40918
|
-
amountChargedBack: lazyType(() =>
|
|
42986
|
+
amountRefunded: lazyType(() => PaymentResponseAmountRefunded$inboundSchema).optional(),
|
|
42987
|
+
amountRemaining: lazyType(() => PaymentResponseAmountRemaining$inboundSchema).optional(),
|
|
42988
|
+
amountCaptured: lazyType(() => PaymentResponseAmountCaptured$inboundSchema).optional(),
|
|
42989
|
+
amountChargedBack: lazyType(() => PaymentResponseAmountChargedBack$inboundSchema).optional(),
|
|
40919
42990
|
settlementAmount: lazyType(() => PaymentResponseSettlementAmount$inboundSchema).optional(),
|
|
40920
42991
|
redirectUrl: nullableType(stringType()).optional(),
|
|
40921
42992
|
cancelUrl: nullableType(stringType()).optional(),
|
|
@@ -40963,10 +43034,10 @@ var init_paymentresponse = __esm(() => {
|
|
|
40963
43034
|
mode: Mode$outboundSchema,
|
|
40964
43035
|
description: stringType(),
|
|
40965
43036
|
amount: Amount$outboundSchema,
|
|
40966
|
-
amountRefunded: lazyType(() =>
|
|
40967
|
-
amountRemaining: lazyType(() =>
|
|
40968
|
-
amountCaptured: lazyType(() =>
|
|
40969
|
-
amountChargedBack: lazyType(() =>
|
|
43037
|
+
amountRefunded: lazyType(() => PaymentResponseAmountRefunded$outboundSchema).optional(),
|
|
43038
|
+
amountRemaining: lazyType(() => PaymentResponseAmountRemaining$outboundSchema).optional(),
|
|
43039
|
+
amountCaptured: lazyType(() => PaymentResponseAmountCaptured$outboundSchema).optional(),
|
|
43040
|
+
amountChargedBack: lazyType(() => PaymentResponseAmountChargedBack$outboundSchema).optional(),
|
|
40970
43041
|
settlementAmount: lazyType(() => PaymentResponseSettlementAmount$outboundSchema).optional(),
|
|
40971
43042
|
redirectUrl: nullableType(stringType()).optional(),
|
|
40972
43043
|
cancelUrl: nullableType(stringType()).optional(),
|
|
@@ -41121,85 +43192,31 @@ var init_routecreateresponse = __esm(() => {
|
|
|
41121
43192
|
self: Url$inboundSchema,
|
|
41122
43193
|
documentation: Url$inboundSchema
|
|
41123
43194
|
});
|
|
41124
|
-
RouteCreateResponseLinks$outboundSchema = objectType({
|
|
41125
|
-
self: Url$outboundSchema,
|
|
41126
|
-
documentation: Url$outboundSchema
|
|
41127
|
-
});
|
|
41128
|
-
RouteCreateResponse$inboundSchema = objectType({
|
|
41129
|
-
resource: stringType(),
|
|
41130
|
-
id: stringType(),
|
|
41131
|
-
paymentId: stringType(),
|
|
41132
|
-
amount: Amount$inboundSchema,
|
|
41133
|
-
description: stringType(),
|
|
41134
|
-
destination: lazyType(() => RouteCreateResponseDestination$inboundSchema),
|
|
41135
|
-
_links: lazyType(() => RouteCreateResponseLinks$inboundSchema)
|
|
41136
|
-
}).transform((v2) => {
|
|
41137
|
-
return remap(v2, {
|
|
41138
|
-
_links: "links"
|
|
41139
|
-
});
|
|
41140
|
-
});
|
|
41141
|
-
RouteCreateResponse$outboundSchema = objectType({
|
|
41142
|
-
resource: stringType(),
|
|
41143
|
-
id: stringType(),
|
|
41144
|
-
paymentId: stringType(),
|
|
41145
|
-
amount: Amount$outboundSchema,
|
|
41146
|
-
description: stringType(),
|
|
41147
|
-
destination: lazyType(() => RouteCreateResponseDestination$outboundSchema),
|
|
41148
|
-
links: lazyType(() => RouteCreateResponseLinks$outboundSchema)
|
|
41149
|
-
}).transform((v2) => {
|
|
41150
|
-
return remap(v2, {
|
|
41151
|
-
links: "_links"
|
|
41152
|
-
});
|
|
41153
|
-
});
|
|
41154
|
-
});
|
|
41155
|
-
|
|
41156
|
-
// src/models/routegetresponse.ts
|
|
41157
|
-
var RouteGetResponseDestination$inboundSchema, RouteGetResponseDestination$outboundSchema, RouteGetResponseLinks$inboundSchema, RouteGetResponseLinks$outboundSchema, RouteGetResponse$inboundSchema, RouteGetResponse$outboundSchema;
|
|
41158
|
-
var init_routegetresponse = __esm(() => {
|
|
41159
|
-
init_esm();
|
|
41160
|
-
init_primitives();
|
|
41161
|
-
init_amount();
|
|
41162
|
-
init_routedestinationtyperesponse();
|
|
41163
|
-
init_url2();
|
|
41164
|
-
RouteGetResponseDestination$inboundSchema = objectType({
|
|
41165
|
-
type: RouteDestinationTypeResponse$inboundSchema,
|
|
41166
|
-
organizationId: stringType()
|
|
41167
|
-
});
|
|
41168
|
-
RouteGetResponseDestination$outboundSchema = objectType({
|
|
41169
|
-
type: RouteDestinationTypeResponse$outboundSchema,
|
|
41170
|
-
organizationId: stringType()
|
|
41171
|
-
});
|
|
41172
|
-
RouteGetResponseLinks$inboundSchema = objectType({
|
|
41173
|
-
self: Url$inboundSchema,
|
|
41174
|
-
documentation: Url$inboundSchema
|
|
41175
|
-
});
|
|
41176
|
-
RouteGetResponseLinks$outboundSchema = objectType({
|
|
43195
|
+
RouteCreateResponseLinks$outboundSchema = objectType({
|
|
41177
43196
|
self: Url$outboundSchema,
|
|
41178
43197
|
documentation: Url$outboundSchema
|
|
41179
43198
|
});
|
|
41180
|
-
|
|
43199
|
+
RouteCreateResponse$inboundSchema = objectType({
|
|
41181
43200
|
resource: stringType(),
|
|
41182
43201
|
id: stringType(),
|
|
41183
43202
|
paymentId: stringType(),
|
|
41184
43203
|
amount: Amount$inboundSchema,
|
|
41185
43204
|
description: stringType(),
|
|
41186
|
-
destination: lazyType(() =>
|
|
41187
|
-
_links: lazyType(() =>
|
|
41188
|
-
createdAt: stringType()
|
|
43205
|
+
destination: lazyType(() => RouteCreateResponseDestination$inboundSchema),
|
|
43206
|
+
_links: lazyType(() => RouteCreateResponseLinks$inboundSchema)
|
|
41189
43207
|
}).transform((v2) => {
|
|
41190
43208
|
return remap(v2, {
|
|
41191
43209
|
_links: "links"
|
|
41192
43210
|
});
|
|
41193
43211
|
});
|
|
41194
|
-
|
|
43212
|
+
RouteCreateResponse$outboundSchema = objectType({
|
|
41195
43213
|
resource: stringType(),
|
|
41196
43214
|
id: stringType(),
|
|
41197
43215
|
paymentId: stringType(),
|
|
41198
43216
|
amount: Amount$outboundSchema,
|
|
41199
43217
|
description: stringType(),
|
|
41200
|
-
destination: lazyType(() =>
|
|
41201
|
-
links: lazyType(() =>
|
|
41202
|
-
createdAt: stringType()
|
|
43218
|
+
destination: lazyType(() => RouteCreateResponseDestination$outboundSchema),
|
|
43219
|
+
links: lazyType(() => RouteCreateResponseLinks$outboundSchema)
|
|
41203
43220
|
}).transform((v2) => {
|
|
41204
43221
|
return remap(v2, {
|
|
41205
43222
|
links: "_links"
|
|
@@ -41234,47 +43251,6 @@ var init_salesinvoicediscount = __esm(() => {
|
|
|
41234
43251
|
});
|
|
41235
43252
|
});
|
|
41236
43253
|
|
|
41237
|
-
// src/models/salesinvoicediscounttyperesponse.ts
|
|
41238
|
-
var SalesInvoiceDiscountTypeResponse, SalesInvoiceDiscountTypeResponse$inboundSchema, SalesInvoiceDiscountTypeResponse$outboundSchema;
|
|
41239
|
-
var init_salesinvoicediscounttyperesponse = __esm(() => {
|
|
41240
|
-
init_enums();
|
|
41241
|
-
SalesInvoiceDiscountTypeResponse = {
|
|
41242
|
-
Amount: "amount",
|
|
41243
|
-
Percentage: "percentage"
|
|
41244
|
-
};
|
|
41245
|
-
SalesInvoiceDiscountTypeResponse$inboundSchema = inboundSchema(SalesInvoiceDiscountTypeResponse);
|
|
41246
|
-
SalesInvoiceDiscountTypeResponse$outboundSchema = outboundSchema(SalesInvoiceDiscountTypeResponse);
|
|
41247
|
-
});
|
|
41248
|
-
|
|
41249
|
-
// src/models/salesinvoicediscountresponse.ts
|
|
41250
|
-
var SalesInvoiceDiscountResponse$inboundSchema, SalesInvoiceDiscountResponse$outboundSchema;
|
|
41251
|
-
var init_salesinvoicediscountresponse = __esm(() => {
|
|
41252
|
-
init_esm();
|
|
41253
|
-
init_salesinvoicediscounttyperesponse();
|
|
41254
|
-
SalesInvoiceDiscountResponse$inboundSchema = objectType({
|
|
41255
|
-
type: SalesInvoiceDiscountTypeResponse$inboundSchema,
|
|
41256
|
-
value: stringType()
|
|
41257
|
-
});
|
|
41258
|
-
SalesInvoiceDiscountResponse$outboundSchema = objectType({
|
|
41259
|
-
type: SalesInvoiceDiscountTypeResponse$outboundSchema,
|
|
41260
|
-
value: stringType()
|
|
41261
|
-
});
|
|
41262
|
-
});
|
|
41263
|
-
|
|
41264
|
-
// src/models/salesinvoiceemaildetails.ts
|
|
41265
|
-
var SalesInvoiceEmailDetails$inboundSchema, SalesInvoiceEmailDetails$outboundSchema;
|
|
41266
|
-
var init_salesinvoiceemaildetails = __esm(() => {
|
|
41267
|
-
init_esm();
|
|
41268
|
-
SalesInvoiceEmailDetails$inboundSchema = objectType({
|
|
41269
|
-
subject: stringType(),
|
|
41270
|
-
body: stringType()
|
|
41271
|
-
});
|
|
41272
|
-
SalesInvoiceEmailDetails$outboundSchema = objectType({
|
|
41273
|
-
subject: stringType(),
|
|
41274
|
-
body: stringType()
|
|
41275
|
-
});
|
|
41276
|
-
});
|
|
41277
|
-
|
|
41278
43254
|
// src/models/salesinvoicelineitem.ts
|
|
41279
43255
|
var SalesInvoiceLineItem$inboundSchema, SalesInvoiceLineItem$outboundSchema;
|
|
41280
43256
|
var init_salesinvoicelineitem = __esm(() => {
|
|
@@ -41297,28 +43273,6 @@ var init_salesinvoicelineitem = __esm(() => {
|
|
|
41297
43273
|
});
|
|
41298
43274
|
});
|
|
41299
43275
|
|
|
41300
|
-
// src/models/salesinvoicelineitemresponse.ts
|
|
41301
|
-
var SalesInvoiceLineItemResponse$inboundSchema, SalesInvoiceLineItemResponse$outboundSchema;
|
|
41302
|
-
var init_salesinvoicelineitemresponse = __esm(() => {
|
|
41303
|
-
init_esm();
|
|
41304
|
-
init_amount();
|
|
41305
|
-
init_salesinvoicediscountresponse();
|
|
41306
|
-
SalesInvoiceLineItemResponse$inboundSchema = objectType({
|
|
41307
|
-
description: stringType(),
|
|
41308
|
-
quantity: numberType().int(),
|
|
41309
|
-
vatRate: stringType(),
|
|
41310
|
-
unitPrice: Amount$inboundSchema,
|
|
41311
|
-
discount: nullableType(SalesInvoiceDiscountResponse$inboundSchema).optional()
|
|
41312
|
-
});
|
|
41313
|
-
SalesInvoiceLineItemResponse$outboundSchema = objectType({
|
|
41314
|
-
description: stringType(),
|
|
41315
|
-
quantity: numberType().int(),
|
|
41316
|
-
vatRate: stringType(),
|
|
41317
|
-
unitPrice: Amount$outboundSchema,
|
|
41318
|
-
discount: nullableType(SalesInvoiceDiscountResponse$outboundSchema).optional()
|
|
41319
|
-
});
|
|
41320
|
-
});
|
|
41321
|
-
|
|
41322
43276
|
// src/models/salesinvoicepaymentdetailssource.ts
|
|
41323
43277
|
var SalesInvoicePaymentDetailsSource, SalesInvoicePaymentDetailsSource$inboundSchema, SalesInvoicePaymentDetailsSource$outboundSchema;
|
|
41324
43278
|
var init_salesinvoicepaymentdetailssource = __esm(() => {
|
|
@@ -41347,34 +43301,6 @@ var init_salesinvoicepaymentdetails = __esm(() => {
|
|
|
41347
43301
|
});
|
|
41348
43302
|
});
|
|
41349
43303
|
|
|
41350
|
-
// src/models/salesinvoicepaymentdetailssourceresponse.ts
|
|
41351
|
-
var SalesInvoicePaymentDetailsSourceResponse, SalesInvoicePaymentDetailsSourceResponse$inboundSchema, SalesInvoicePaymentDetailsSourceResponse$outboundSchema;
|
|
41352
|
-
var init_salesinvoicepaymentdetailssourceresponse = __esm(() => {
|
|
41353
|
-
init_enums();
|
|
41354
|
-
SalesInvoicePaymentDetailsSourceResponse = {
|
|
41355
|
-
Manual: "manual",
|
|
41356
|
-
PaymentLink: "payment-link",
|
|
41357
|
-
Payment: "payment"
|
|
41358
|
-
};
|
|
41359
|
-
SalesInvoicePaymentDetailsSourceResponse$inboundSchema = inboundSchema(SalesInvoicePaymentDetailsSourceResponse);
|
|
41360
|
-
SalesInvoicePaymentDetailsSourceResponse$outboundSchema = outboundSchema(SalesInvoicePaymentDetailsSourceResponse);
|
|
41361
|
-
});
|
|
41362
|
-
|
|
41363
|
-
// src/models/salesinvoicepaymentdetailsresponse.ts
|
|
41364
|
-
var SalesInvoicePaymentDetailsResponse$inboundSchema, SalesInvoicePaymentDetailsResponse$outboundSchema;
|
|
41365
|
-
var init_salesinvoicepaymentdetailsresponse = __esm(() => {
|
|
41366
|
-
init_esm();
|
|
41367
|
-
init_salesinvoicepaymentdetailssourceresponse();
|
|
41368
|
-
SalesInvoicePaymentDetailsResponse$inboundSchema = objectType({
|
|
41369
|
-
source: SalesInvoicePaymentDetailsSourceResponse$inboundSchema,
|
|
41370
|
-
sourceReference: nullableType(stringType()).optional()
|
|
41371
|
-
});
|
|
41372
|
-
SalesInvoicePaymentDetailsResponse$outboundSchema = objectType({
|
|
41373
|
-
source: SalesInvoicePaymentDetailsSourceResponse$outboundSchema,
|
|
41374
|
-
sourceReference: nullableType(stringType()).optional()
|
|
41375
|
-
});
|
|
41376
|
-
});
|
|
41377
|
-
|
|
41378
43304
|
// src/models/salesinvoicepaymentterm.ts
|
|
41379
43305
|
var SalesInvoicePaymentTerm, SalesInvoicePaymentTerm$inboundSchema, SalesInvoicePaymentTerm$outboundSchema;
|
|
41380
43306
|
var init_salesinvoicepaymentterm = __esm(() => {
|
|
@@ -41392,23 +43318,6 @@ var init_salesinvoicepaymentterm = __esm(() => {
|
|
|
41392
43318
|
SalesInvoicePaymentTerm$outboundSchema = SalesInvoicePaymentTerm$inboundSchema;
|
|
41393
43319
|
});
|
|
41394
43320
|
|
|
41395
|
-
// src/models/salesinvoicepaymenttermresponse.ts
|
|
41396
|
-
var SalesInvoicePaymentTermResponse, SalesInvoicePaymentTermResponse$inboundSchema, SalesInvoicePaymentTermResponse$outboundSchema;
|
|
41397
|
-
var init_salesinvoicepaymenttermresponse = __esm(() => {
|
|
41398
|
-
init_enums();
|
|
41399
|
-
SalesInvoicePaymentTermResponse = {
|
|
41400
|
-
Sevendays: "7 days",
|
|
41401
|
-
Fourteendays: "14 days",
|
|
41402
|
-
Thirtydays: "30 days",
|
|
41403
|
-
FortyFivedays: "45 days",
|
|
41404
|
-
Sixtydays: "60 days",
|
|
41405
|
-
Ninetydays: "90 days",
|
|
41406
|
-
OneHundredAndTwentydays: "120 days"
|
|
41407
|
-
};
|
|
41408
|
-
SalesInvoicePaymentTermResponse$inboundSchema = inboundSchema(SalesInvoicePaymentTermResponse);
|
|
41409
|
-
SalesInvoicePaymentTermResponse$outboundSchema = outboundSchema(SalesInvoicePaymentTermResponse);
|
|
41410
|
-
});
|
|
41411
|
-
|
|
41412
43321
|
// src/models/salesinvoicerecipientlocale.ts
|
|
41413
43322
|
var SalesInvoiceRecipientLocale, SalesInvoiceRecipientLocale$inboundSchema, SalesInvoiceRecipientLocale$outboundSchema;
|
|
41414
43323
|
var init_salesinvoicerecipientlocale = __esm(() => {
|
|
@@ -41484,81 +43393,6 @@ var init_salesinvoicerecipient = __esm(() => {
|
|
|
41484
43393
|
});
|
|
41485
43394
|
});
|
|
41486
43395
|
|
|
41487
|
-
// src/models/salesinvoicerecipientlocaleresponse.ts
|
|
41488
|
-
var SalesInvoiceRecipientLocaleResponse, SalesInvoiceRecipientLocaleResponse$inboundSchema, SalesInvoiceRecipientLocaleResponse$outboundSchema;
|
|
41489
|
-
var init_salesinvoicerecipientlocaleresponse = __esm(() => {
|
|
41490
|
-
init_enums();
|
|
41491
|
-
SalesInvoiceRecipientLocaleResponse = {
|
|
41492
|
-
EnUS: "en_US",
|
|
41493
|
-
EnGB: "en_GB",
|
|
41494
|
-
NLNL: "nl_NL",
|
|
41495
|
-
NlBE: "nl_BE",
|
|
41496
|
-
DEDE: "de_DE",
|
|
41497
|
-
DeAT: "de_AT",
|
|
41498
|
-
DeCH: "de_CH",
|
|
41499
|
-
FRFR: "fr_FR",
|
|
41500
|
-
FrBE: "fr_BE"
|
|
41501
|
-
};
|
|
41502
|
-
SalesInvoiceRecipientLocaleResponse$inboundSchema = inboundSchema(SalesInvoiceRecipientLocaleResponse);
|
|
41503
|
-
SalesInvoiceRecipientLocaleResponse$outboundSchema = outboundSchema(SalesInvoiceRecipientLocaleResponse);
|
|
41504
|
-
});
|
|
41505
|
-
|
|
41506
|
-
// src/models/salesinvoicerecipienttyperesponse.ts
|
|
41507
|
-
var SalesInvoiceRecipientTypeResponse, SalesInvoiceRecipientTypeResponse$inboundSchema, SalesInvoiceRecipientTypeResponse$outboundSchema;
|
|
41508
|
-
var init_salesinvoicerecipienttyperesponse = __esm(() => {
|
|
41509
|
-
init_enums();
|
|
41510
|
-
SalesInvoiceRecipientTypeResponse = {
|
|
41511
|
-
Consumer: "consumer",
|
|
41512
|
-
Business: "business"
|
|
41513
|
-
};
|
|
41514
|
-
SalesInvoiceRecipientTypeResponse$inboundSchema = inboundSchema(SalesInvoiceRecipientTypeResponse);
|
|
41515
|
-
SalesInvoiceRecipientTypeResponse$outboundSchema = outboundSchema(SalesInvoiceRecipientTypeResponse);
|
|
41516
|
-
});
|
|
41517
|
-
|
|
41518
|
-
// src/models/salesinvoicerecipientresponse.ts
|
|
41519
|
-
var SalesInvoiceRecipientResponse$inboundSchema, SalesInvoiceRecipientResponse$outboundSchema;
|
|
41520
|
-
var init_salesinvoicerecipientresponse = __esm(() => {
|
|
41521
|
-
init_esm();
|
|
41522
|
-
init_salesinvoicerecipientlocaleresponse();
|
|
41523
|
-
init_salesinvoicerecipienttyperesponse();
|
|
41524
|
-
SalesInvoiceRecipientResponse$inboundSchema = objectType({
|
|
41525
|
-
type: SalesInvoiceRecipientTypeResponse$inboundSchema,
|
|
41526
|
-
title: nullableType(stringType()).optional(),
|
|
41527
|
-
givenName: nullableType(stringType()).optional(),
|
|
41528
|
-
familyName: nullableType(stringType()).optional(),
|
|
41529
|
-
organizationName: nullableType(stringType()).optional(),
|
|
41530
|
-
organizationNumber: nullableType(stringType()).optional(),
|
|
41531
|
-
vatNumber: nullableType(stringType()).optional(),
|
|
41532
|
-
email: stringType(),
|
|
41533
|
-
phone: nullableType(stringType()).optional(),
|
|
41534
|
-
streetAndNumber: stringType(),
|
|
41535
|
-
streetAdditional: nullableType(stringType()).optional(),
|
|
41536
|
-
postalCode: stringType(),
|
|
41537
|
-
city: stringType(),
|
|
41538
|
-
region: nullableType(stringType()).optional(),
|
|
41539
|
-
country: stringType(),
|
|
41540
|
-
locale: SalesInvoiceRecipientLocaleResponse$inboundSchema
|
|
41541
|
-
});
|
|
41542
|
-
SalesInvoiceRecipientResponse$outboundSchema = objectType({
|
|
41543
|
-
type: SalesInvoiceRecipientTypeResponse$outboundSchema,
|
|
41544
|
-
title: nullableType(stringType()).optional(),
|
|
41545
|
-
givenName: nullableType(stringType()).optional(),
|
|
41546
|
-
familyName: nullableType(stringType()).optional(),
|
|
41547
|
-
organizationName: nullableType(stringType()).optional(),
|
|
41548
|
-
organizationNumber: nullableType(stringType()).optional(),
|
|
41549
|
-
vatNumber: nullableType(stringType()).optional(),
|
|
41550
|
-
email: stringType(),
|
|
41551
|
-
phone: nullableType(stringType()).optional(),
|
|
41552
|
-
streetAndNumber: stringType(),
|
|
41553
|
-
streetAdditional: nullableType(stringType()).optional(),
|
|
41554
|
-
postalCode: stringType(),
|
|
41555
|
-
city: stringType(),
|
|
41556
|
-
region: nullableType(stringType()).optional(),
|
|
41557
|
-
country: stringType(),
|
|
41558
|
-
locale: SalesInvoiceRecipientLocaleResponse$outboundSchema
|
|
41559
|
-
});
|
|
41560
|
-
});
|
|
41561
|
-
|
|
41562
43396
|
// src/models/salesinvoicestatus.ts
|
|
41563
43397
|
var SalesInvoiceStatus, SalesInvoiceStatus$inboundSchema, SalesInvoiceStatus$outboundSchema;
|
|
41564
43398
|
var init_salesinvoicestatus = __esm(() => {
|
|
@@ -41649,45 +43483,8 @@ var init_salesinvoicerequest = __esm(() => {
|
|
|
41649
43483
|
});
|
|
41650
43484
|
});
|
|
41651
43485
|
|
|
41652
|
-
// src/models/salesinvoicestatusresponse.ts
|
|
41653
|
-
var SalesInvoiceStatusResponse, SalesInvoiceStatusResponse$inboundSchema, SalesInvoiceStatusResponse$outboundSchema;
|
|
41654
|
-
var init_salesinvoicestatusresponse = __esm(() => {
|
|
41655
|
-
init_enums();
|
|
41656
|
-
SalesInvoiceStatusResponse = {
|
|
41657
|
-
Draft: "draft",
|
|
41658
|
-
Issued: "issued",
|
|
41659
|
-
Paid: "paid"
|
|
41660
|
-
};
|
|
41661
|
-
SalesInvoiceStatusResponse$inboundSchema = inboundSchema(SalesInvoiceStatusResponse);
|
|
41662
|
-
SalesInvoiceStatusResponse$outboundSchema = outboundSchema(SalesInvoiceStatusResponse);
|
|
41663
|
-
});
|
|
41664
|
-
|
|
41665
|
-
// src/models/salesinvoicevatmoderesponse.ts
|
|
41666
|
-
var SalesInvoiceVatModeResponse, SalesInvoiceVatModeResponse$inboundSchema, SalesInvoiceVatModeResponse$outboundSchema;
|
|
41667
|
-
var init_salesinvoicevatmoderesponse = __esm(() => {
|
|
41668
|
-
init_enums();
|
|
41669
|
-
SalesInvoiceVatModeResponse = {
|
|
41670
|
-
Exclusive: "exclusive",
|
|
41671
|
-
Inclusive: "inclusive"
|
|
41672
|
-
};
|
|
41673
|
-
SalesInvoiceVatModeResponse$inboundSchema = inboundSchema(SalesInvoiceVatModeResponse);
|
|
41674
|
-
SalesInvoiceVatModeResponse$outboundSchema = outboundSchema(SalesInvoiceVatModeResponse);
|
|
41675
|
-
});
|
|
41676
|
-
|
|
41677
|
-
// src/models/salesinvoicevatschemeresponse.ts
|
|
41678
|
-
var SalesInvoiceVatSchemeResponse, SalesInvoiceVatSchemeResponse$inboundSchema, SalesInvoiceVatSchemeResponse$outboundSchema;
|
|
41679
|
-
var init_salesinvoicevatschemeresponse = __esm(() => {
|
|
41680
|
-
init_enums();
|
|
41681
|
-
SalesInvoiceVatSchemeResponse = {
|
|
41682
|
-
Standard: "standard",
|
|
41683
|
-
OneStopShop: "one-stop-shop"
|
|
41684
|
-
};
|
|
41685
|
-
SalesInvoiceVatSchemeResponse$inboundSchema = inboundSchema(SalesInvoiceVatSchemeResponse);
|
|
41686
|
-
SalesInvoiceVatSchemeResponse$outboundSchema = outboundSchema(SalesInvoiceVatSchemeResponse);
|
|
41687
|
-
});
|
|
41688
|
-
|
|
41689
43486
|
// src/models/salesinvoiceresponse.ts
|
|
41690
|
-
var SalesInvoiceResponseMetadata$inboundSchema, SalesInvoiceResponseMetadata$outboundSchema,
|
|
43487
|
+
var SalesInvoiceResponseMetadata$inboundSchema, SalesInvoiceResponseMetadata$outboundSchema, SalesInvoiceResponseAmountDue$inboundSchema, SalesInvoiceResponseAmountDue$outboundSchema, SalesInvoiceResponseSubtotalAmount$inboundSchema, SalesInvoiceResponseSubtotalAmount$outboundSchema, SalesInvoiceResponseTotalAmount$inboundSchema, SalesInvoiceResponseTotalAmount$outboundSchema, SalesInvoiceResponseTotalVatAmount$inboundSchema, SalesInvoiceResponseTotalVatAmount$outboundSchema, SalesInvoiceResponseDiscountedSubtotalAmount$inboundSchema, SalesInvoiceResponseDiscountedSubtotalAmount$outboundSchema, SalesInvoiceResponseLinks$inboundSchema, SalesInvoiceResponseLinks$outboundSchema, SalesInvoiceResponse$inboundSchema, SalesInvoiceResponse$outboundSchema;
|
|
41691
43488
|
var init_salesinvoiceresponse = __esm(() => {
|
|
41692
43489
|
init_esm();
|
|
41693
43490
|
init_primitives();
|
|
@@ -41704,43 +43501,43 @@ var init_salesinvoiceresponse = __esm(() => {
|
|
|
41704
43501
|
init_url2();
|
|
41705
43502
|
SalesInvoiceResponseMetadata$inboundSchema = objectType({});
|
|
41706
43503
|
SalesInvoiceResponseMetadata$outboundSchema = objectType({});
|
|
41707
|
-
|
|
43504
|
+
SalesInvoiceResponseAmountDue$inboundSchema = objectType({
|
|
41708
43505
|
currency: stringType(),
|
|
41709
43506
|
value: stringType()
|
|
41710
43507
|
});
|
|
41711
|
-
|
|
43508
|
+
SalesInvoiceResponseAmountDue$outboundSchema = objectType({
|
|
41712
43509
|
currency: stringType(),
|
|
41713
43510
|
value: stringType()
|
|
41714
43511
|
});
|
|
41715
|
-
|
|
43512
|
+
SalesInvoiceResponseSubtotalAmount$inboundSchema = objectType({
|
|
41716
43513
|
currency: stringType(),
|
|
41717
43514
|
value: stringType()
|
|
41718
43515
|
});
|
|
41719
|
-
|
|
43516
|
+
SalesInvoiceResponseSubtotalAmount$outboundSchema = objectType({
|
|
41720
43517
|
currency: stringType(),
|
|
41721
43518
|
value: stringType()
|
|
41722
43519
|
});
|
|
41723
|
-
|
|
43520
|
+
SalesInvoiceResponseTotalAmount$inboundSchema = objectType({
|
|
41724
43521
|
currency: stringType(),
|
|
41725
43522
|
value: stringType()
|
|
41726
43523
|
});
|
|
41727
|
-
|
|
43524
|
+
SalesInvoiceResponseTotalAmount$outboundSchema = objectType({
|
|
41728
43525
|
currency: stringType(),
|
|
41729
43526
|
value: stringType()
|
|
41730
43527
|
});
|
|
41731
|
-
|
|
43528
|
+
SalesInvoiceResponseTotalVatAmount$inboundSchema = objectType({
|
|
41732
43529
|
currency: stringType(),
|
|
41733
43530
|
value: stringType()
|
|
41734
43531
|
});
|
|
41735
|
-
|
|
43532
|
+
SalesInvoiceResponseTotalVatAmount$outboundSchema = objectType({
|
|
41736
43533
|
currency: stringType(),
|
|
41737
43534
|
value: stringType()
|
|
41738
43535
|
});
|
|
41739
|
-
|
|
43536
|
+
SalesInvoiceResponseDiscountedSubtotalAmount$inboundSchema = objectType({
|
|
41740
43537
|
currency: stringType(),
|
|
41741
43538
|
value: stringType()
|
|
41742
43539
|
});
|
|
41743
|
-
|
|
43540
|
+
SalesInvoiceResponseDiscountedSubtotalAmount$outboundSchema = objectType({
|
|
41744
43541
|
currency: stringType(),
|
|
41745
43542
|
value: stringType()
|
|
41746
43543
|
});
|
|
@@ -41779,11 +43576,11 @@ var init_salesinvoiceresponse = __esm(() => {
|
|
|
41779
43576
|
recipient: nullableType(SalesInvoiceRecipientResponse$inboundSchema).optional(),
|
|
41780
43577
|
lines: nullableType(arrayType(SalesInvoiceLineItemResponse$inboundSchema)).optional(),
|
|
41781
43578
|
discount: nullableType(SalesInvoiceDiscountResponse$inboundSchema).optional(),
|
|
41782
|
-
amountDue: lazyType(() =>
|
|
41783
|
-
subtotalAmount: lazyType(() =>
|
|
41784
|
-
totalAmount: lazyType(() =>
|
|
41785
|
-
totalVatAmount: lazyType(() =>
|
|
41786
|
-
discountedSubtotalAmount: lazyType(() =>
|
|
43579
|
+
amountDue: lazyType(() => SalesInvoiceResponseAmountDue$inboundSchema).optional(),
|
|
43580
|
+
subtotalAmount: lazyType(() => SalesInvoiceResponseSubtotalAmount$inboundSchema).optional(),
|
|
43581
|
+
totalAmount: lazyType(() => SalesInvoiceResponseTotalAmount$inboundSchema).optional(),
|
|
43582
|
+
totalVatAmount: lazyType(() => SalesInvoiceResponseTotalVatAmount$inboundSchema).optional(),
|
|
43583
|
+
discountedSubtotalAmount: lazyType(() => SalesInvoiceResponseDiscountedSubtotalAmount$inboundSchema).optional(),
|
|
41787
43584
|
createdAt: stringType().optional(),
|
|
41788
43585
|
issuedAt: nullableType(stringType()).optional(),
|
|
41789
43586
|
paidAt: nullableType(stringType()).optional(),
|
|
@@ -41813,11 +43610,11 @@ var init_salesinvoiceresponse = __esm(() => {
|
|
|
41813
43610
|
recipient: nullableType(SalesInvoiceRecipientResponse$outboundSchema).optional(),
|
|
41814
43611
|
lines: nullableType(arrayType(SalesInvoiceLineItemResponse$outboundSchema)).optional(),
|
|
41815
43612
|
discount: nullableType(SalesInvoiceDiscountResponse$outboundSchema).optional(),
|
|
41816
|
-
amountDue: lazyType(() =>
|
|
41817
|
-
subtotalAmount: lazyType(() =>
|
|
41818
|
-
totalAmount: lazyType(() =>
|
|
41819
|
-
totalVatAmount: lazyType(() =>
|
|
41820
|
-
discountedSubtotalAmount: lazyType(() =>
|
|
43613
|
+
amountDue: lazyType(() => SalesInvoiceResponseAmountDue$outboundSchema).optional(),
|
|
43614
|
+
subtotalAmount: lazyType(() => SalesInvoiceResponseSubtotalAmount$outboundSchema).optional(),
|
|
43615
|
+
totalAmount: lazyType(() => SalesInvoiceResponseTotalAmount$outboundSchema).optional(),
|
|
43616
|
+
totalVatAmount: lazyType(() => SalesInvoiceResponseTotalVatAmount$outboundSchema).optional(),
|
|
43617
|
+
discountedSubtotalAmount: lazyType(() => SalesInvoiceResponseDiscountedSubtotalAmount$outboundSchema).optional(),
|
|
41821
43618
|
createdAt: stringType().optional(),
|
|
41822
43619
|
issuedAt: nullableType(stringType()).optional(),
|
|
41823
43620
|
paidAt: nullableType(stringType()).optional(),
|
|
@@ -41869,19 +43666,6 @@ var init_subscriptionmethod = __esm(() => {
|
|
|
41869
43666
|
SubscriptionMethod$outboundSchema = SubscriptionMethod$inboundSchema;
|
|
41870
43667
|
});
|
|
41871
43668
|
|
|
41872
|
-
// src/models/subscriptionmethodresponse.ts
|
|
41873
|
-
var SubscriptionMethodResponse, SubscriptionMethodResponse$inboundSchema, SubscriptionMethodResponse$outboundSchema;
|
|
41874
|
-
var init_subscriptionmethodresponse = __esm(() => {
|
|
41875
|
-
init_enums();
|
|
41876
|
-
SubscriptionMethodResponse = {
|
|
41877
|
-
Creditcard: "creditcard",
|
|
41878
|
-
Directdebit: "directdebit",
|
|
41879
|
-
Paypal: "paypal"
|
|
41880
|
-
};
|
|
41881
|
-
SubscriptionMethodResponse$inboundSchema = inboundSchema(SubscriptionMethodResponse);
|
|
41882
|
-
SubscriptionMethodResponse$outboundSchema = outboundSchema(SubscriptionMethodResponse);
|
|
41883
|
-
});
|
|
41884
|
-
|
|
41885
43669
|
// src/models/subscriptionrequest.ts
|
|
41886
43670
|
var SubscriptionRequestApplicationFee$inboundSchema, SubscriptionRequestApplicationFee$outboundSchema, SubscriptionRequest$inboundSchema, SubscriptionRequest$outboundSchema;
|
|
41887
43671
|
var init_subscriptionrequest = __esm(() => {
|
|
@@ -42109,7 +43893,6 @@ var init_models = __esm(() => {
|
|
|
42109
43893
|
init_entityevent();
|
|
42110
43894
|
init_entityinvoice();
|
|
42111
43895
|
init_entitymethod();
|
|
42112
|
-
init_entitymethodall();
|
|
42113
43896
|
init_entityonboardingstatus();
|
|
42114
43897
|
init_entityorganization();
|
|
42115
43898
|
init_entitypaymentroute();
|
|
@@ -42124,7 +43907,25 @@ var init_models = __esm(() => {
|
|
|
42124
43907
|
init_errorresponse();
|
|
42125
43908
|
init_linecategories();
|
|
42126
43909
|
init_linecategoriesresponse();
|
|
43910
|
+
init_listcaptureresponse();
|
|
43911
|
+
init_listcustomerresponse();
|
|
43912
|
+
init_listentitybalance();
|
|
43913
|
+
init_listentitychargeback();
|
|
43914
|
+
init_listentityinvoice();
|
|
43915
|
+
init_listentitymethod();
|
|
43916
|
+
init_listentitymethodall();
|
|
43917
|
+
init_listentitypermission();
|
|
43918
|
+
init_listentityrefundresponse();
|
|
43919
|
+
init_listentitysettlement();
|
|
43920
|
+
init_listentityterminal();
|
|
43921
|
+
init_listentitywebhook();
|
|
42127
43922
|
init_listlinks();
|
|
43923
|
+
init_listmandateresponse();
|
|
43924
|
+
init_listpaymentresponse();
|
|
43925
|
+
init_listprofileresponse();
|
|
43926
|
+
init_listroutegetresponse();
|
|
43927
|
+
init_listsalesinvoiceresponse();
|
|
43928
|
+
init_listsubscriptionresponse();
|
|
42128
43929
|
init_locale();
|
|
42129
43930
|
init_localeresponse();
|
|
42130
43931
|
init_mandatedetailscardlabelresponse();
|
|
@@ -42174,7 +43975,6 @@ var init_models = __esm(() => {
|
|
|
42174
43975
|
init_routecreateresponse();
|
|
42175
43976
|
init_routedestinationtype();
|
|
42176
43977
|
init_routedestinationtyperesponse();
|
|
42177
|
-
init_routegetresponse();
|
|
42178
43978
|
init_salesinvoicediscount();
|
|
42179
43979
|
init_salesinvoicediscountresponse();
|
|
42180
43980
|
init_salesinvoicediscounttype();
|
|
@@ -44138,10 +45938,10 @@ var init_listallmethods = __esm(() => {
|
|
|
44138
45938
|
});
|
|
44139
45939
|
});
|
|
44140
45940
|
ListAllMethodsEmbedded$inboundSchema = objectType({
|
|
44141
|
-
methods: arrayType(
|
|
45941
|
+
methods: arrayType(ListEntityMethodAll$inboundSchema)
|
|
44142
45942
|
});
|
|
44143
45943
|
ListAllMethodsEmbedded$outboundSchema = objectType({
|
|
44144
|
-
methods: arrayType(
|
|
45944
|
+
methods: arrayType(ListEntityMethodAll$outboundSchema)
|
|
44145
45945
|
});
|
|
44146
45946
|
ListAllMethodsLinks$inboundSchema = objectType({
|
|
44147
45947
|
self: Url$inboundSchema,
|
|
@@ -44340,10 +46140,10 @@ var init_listbalances = __esm(() => {
|
|
|
44340
46140
|
});
|
|
44341
46141
|
});
|
|
44342
46142
|
ListBalancesEmbedded$inboundSchema = objectType({
|
|
44343
|
-
balances: arrayType(
|
|
46143
|
+
balances: arrayType(ListEntityBalance$inboundSchema)
|
|
44344
46144
|
});
|
|
44345
46145
|
ListBalancesEmbedded$outboundSchema = objectType({
|
|
44346
|
-
balances: arrayType(
|
|
46146
|
+
balances: arrayType(ListEntityBalance$outboundSchema)
|
|
44347
46147
|
});
|
|
44348
46148
|
ListBalancesResponse$inboundSchema = objectType({
|
|
44349
46149
|
count: numberType().int(),
|
|
@@ -44654,14 +46454,12 @@ var init_listclients = __esm(() => {
|
|
|
44654
46454
|
ListClientsLinks$inboundSchema = objectType({
|
|
44655
46455
|
self: Url$inboundSchema,
|
|
44656
46456
|
organization: Url$inboundSchema.optional(),
|
|
44657
|
-
onboarding: Url$inboundSchema.optional()
|
|
44658
|
-
documentation: Url$inboundSchema.optional()
|
|
46457
|
+
onboarding: Url$inboundSchema.optional()
|
|
44659
46458
|
});
|
|
44660
46459
|
ListClientsLinks$outboundSchema = objectType({
|
|
44661
46460
|
self: Url$outboundSchema,
|
|
44662
46461
|
organization: Url$outboundSchema.optional(),
|
|
44663
|
-
onboarding: Url$outboundSchema.optional()
|
|
44664
|
-
documentation: Url$outboundSchema.optional()
|
|
46462
|
+
onboarding: Url$outboundSchema.optional()
|
|
44665
46463
|
});
|
|
44666
46464
|
ClientEmbedded$inboundSchema = objectType({
|
|
44667
46465
|
organization: EntityOrganization$inboundSchema.optional(),
|
|
@@ -44900,10 +46698,10 @@ var init_listcustomers = __esm(() => {
|
|
|
44900
46698
|
});
|
|
44901
46699
|
});
|
|
44902
46700
|
ListCustomersEmbedded$inboundSchema = objectType({
|
|
44903
|
-
customers: arrayType(
|
|
46701
|
+
customers: arrayType(ListCustomerResponse$inboundSchema)
|
|
44904
46702
|
});
|
|
44905
46703
|
ListCustomersEmbedded$outboundSchema = objectType({
|
|
44906
|
-
customers: arrayType(
|
|
46704
|
+
customers: arrayType(ListCustomerResponse$outboundSchema)
|
|
44907
46705
|
});
|
|
44908
46706
|
ListCustomersResponse$inboundSchema = objectType({
|
|
44909
46707
|
count: numberType().int(),
|
|
@@ -44928,7 +46726,7 @@ var init_listcustomers = __esm(() => {
|
|
|
44928
46726
|
});
|
|
44929
46727
|
|
|
44930
46728
|
// src/models/operations/listinvoices.ts
|
|
44931
|
-
var ListInvoicesRequest$inboundSchema, ListInvoicesRequest$outboundSchema,
|
|
46729
|
+
var ListInvoicesRequest$inboundSchema, ListInvoicesRequest$outboundSchema, ListInvoicesEmbedded$inboundSchema, ListInvoicesEmbedded$outboundSchema, ListInvoicesResponse$inboundSchema, ListInvoicesResponse$outboundSchema;
|
|
44932
46730
|
var init_listinvoices = __esm(() => {
|
|
44933
46731
|
init_esm();
|
|
44934
46732
|
init_primitives();
|
|
@@ -44959,13 +46757,11 @@ var init_listinvoices = __esm(() => {
|
|
|
44959
46757
|
idempotencyKey: "idempotency-key"
|
|
44960
46758
|
});
|
|
44961
46759
|
});
|
|
44962
|
-
Invoice$inboundSchema = objectType({});
|
|
44963
|
-
Invoice$outboundSchema = objectType({});
|
|
44964
46760
|
ListInvoicesEmbedded$inboundSchema = objectType({
|
|
44965
|
-
invoices: arrayType(
|
|
46761
|
+
invoices: arrayType(ListEntityInvoice$inboundSchema)
|
|
44966
46762
|
});
|
|
44967
46763
|
ListInvoicesEmbedded$outboundSchema = objectType({
|
|
44968
|
-
invoices: arrayType(
|
|
46764
|
+
invoices: arrayType(ListEntityInvoice$outboundSchema)
|
|
44969
46765
|
});
|
|
44970
46766
|
ListInvoicesResponse$inboundSchema = objectType({
|
|
44971
46767
|
count: numberType().int(),
|
|
@@ -45026,10 +46822,10 @@ var init_listmandates = __esm(() => {
|
|
|
45026
46822
|
});
|
|
45027
46823
|
});
|
|
45028
46824
|
ListMandatesEmbedded$inboundSchema = objectType({
|
|
45029
|
-
mandates: arrayType(
|
|
46825
|
+
mandates: arrayType(ListMandateResponse$inboundSchema)
|
|
45030
46826
|
});
|
|
45031
46827
|
ListMandatesEmbedded$outboundSchema = objectType({
|
|
45032
|
-
mandates: arrayType(
|
|
46828
|
+
mandates: arrayType(ListMandateResponse$outboundSchema)
|
|
45033
46829
|
});
|
|
45034
46830
|
ListMandatesResponse$inboundSchema = objectType({
|
|
45035
46831
|
count: numberType().int(),
|
|
@@ -45102,10 +46898,10 @@ var init_listmethods = __esm(() => {
|
|
|
45102
46898
|
});
|
|
45103
46899
|
});
|
|
45104
46900
|
ListMethodsEmbedded$inboundSchema = objectType({
|
|
45105
|
-
methods: arrayType(
|
|
46901
|
+
methods: arrayType(ListEntityMethod$inboundSchema)
|
|
45106
46902
|
});
|
|
45107
46903
|
ListMethodsEmbedded$outboundSchema = objectType({
|
|
45108
|
-
methods: arrayType(
|
|
46904
|
+
methods: arrayType(ListEntityMethod$outboundSchema)
|
|
45109
46905
|
});
|
|
45110
46906
|
ListMethodsLinks$inboundSchema = objectType({
|
|
45111
46907
|
self: Url$inboundSchema,
|
|
@@ -45292,10 +47088,10 @@ var init_listpermissions = __esm(() => {
|
|
|
45292
47088
|
});
|
|
45293
47089
|
});
|
|
45294
47090
|
ListPermissionsEmbedded$inboundSchema = objectType({
|
|
45295
|
-
permissions: arrayType(
|
|
47091
|
+
permissions: arrayType(ListEntityPermission$inboundSchema)
|
|
45296
47092
|
});
|
|
45297
47093
|
ListPermissionsEmbedded$outboundSchema = objectType({
|
|
45298
|
-
permissions: arrayType(
|
|
47094
|
+
permissions: arrayType(ListEntityPermission$outboundSchema)
|
|
45299
47095
|
});
|
|
45300
47096
|
ListPermissionsLinks$inboundSchema = objectType({
|
|
45301
47097
|
self: Url$inboundSchema.optional(),
|
|
@@ -45352,10 +47148,10 @@ var init_listprofiles = __esm(() => {
|
|
|
45352
47148
|
});
|
|
45353
47149
|
});
|
|
45354
47150
|
ListProfilesEmbedded$inboundSchema = objectType({
|
|
45355
|
-
profiles: arrayType(
|
|
47151
|
+
profiles: arrayType(ListProfileResponse$inboundSchema)
|
|
45356
47152
|
});
|
|
45357
47153
|
ListProfilesEmbedded$outboundSchema = objectType({
|
|
45358
|
-
profiles: arrayType(
|
|
47154
|
+
profiles: arrayType(ListProfileResponse$outboundSchema)
|
|
45359
47155
|
});
|
|
45360
47156
|
ListProfilesResponse$inboundSchema = objectType({
|
|
45361
47157
|
count: numberType().int(),
|
|
@@ -45476,14 +47272,14 @@ var init_listsalesinvoices = __esm(() => {
|
|
|
45476
47272
|
});
|
|
45477
47273
|
});
|
|
45478
47274
|
ListSalesInvoicesEmbedded$inboundSchema = objectType({
|
|
45479
|
-
sales_invoices: arrayType(
|
|
47275
|
+
sales_invoices: arrayType(ListSalesInvoiceResponse$inboundSchema).optional()
|
|
45480
47276
|
}).transform((v2) => {
|
|
45481
47277
|
return remap(v2, {
|
|
45482
47278
|
sales_invoices: "salesInvoices"
|
|
45483
47279
|
});
|
|
45484
47280
|
});
|
|
45485
47281
|
ListSalesInvoicesEmbedded$outboundSchema = objectType({
|
|
45486
|
-
salesInvoices: arrayType(
|
|
47282
|
+
salesInvoices: arrayType(ListSalesInvoiceResponse$outboundSchema).optional()
|
|
45487
47283
|
}).transform((v2) => {
|
|
45488
47284
|
return remap(v2, {
|
|
45489
47285
|
salesInvoices: "sales_invoices"
|
|
@@ -45548,10 +47344,10 @@ var init_listsettlementcaptures = __esm(() => {
|
|
|
45548
47344
|
});
|
|
45549
47345
|
});
|
|
45550
47346
|
ListSettlementCapturesEmbedded$inboundSchema = objectType({
|
|
45551
|
-
captures: arrayType(
|
|
47347
|
+
captures: arrayType(ListCaptureResponse$inboundSchema)
|
|
45552
47348
|
});
|
|
45553
47349
|
ListSettlementCapturesEmbedded$outboundSchema = objectType({
|
|
45554
|
-
captures: arrayType(
|
|
47350
|
+
captures: arrayType(ListCaptureResponse$outboundSchema)
|
|
45555
47351
|
});
|
|
45556
47352
|
ListSettlementCapturesResponse$inboundSchema = objectType({
|
|
45557
47353
|
count: numberType().int(),
|
|
@@ -45612,10 +47408,10 @@ var init_listsettlementchargebacks = __esm(() => {
|
|
|
45612
47408
|
});
|
|
45613
47409
|
});
|
|
45614
47410
|
ListSettlementChargebacksEmbedded$inboundSchema = objectType({
|
|
45615
|
-
chargebacks: arrayType(
|
|
47411
|
+
chargebacks: arrayType(ListEntityChargeback$inboundSchema)
|
|
45616
47412
|
});
|
|
45617
47413
|
ListSettlementChargebacksEmbedded$outboundSchema = objectType({
|
|
45618
|
-
chargebacks: arrayType(
|
|
47414
|
+
chargebacks: arrayType(ListEntityChargeback$outboundSchema)
|
|
45619
47415
|
});
|
|
45620
47416
|
ListSettlementChargebacksResponse$inboundSchema = objectType({
|
|
45621
47417
|
count: numberType().int(),
|
|
@@ -45680,10 +47476,10 @@ var init_listsettlementpayments = __esm(() => {
|
|
|
45680
47476
|
});
|
|
45681
47477
|
});
|
|
45682
47478
|
ListSettlementPaymentsEmbedded$inboundSchema = objectType({
|
|
45683
|
-
payments: arrayType(
|
|
47479
|
+
payments: arrayType(ListPaymentResponse$inboundSchema).optional()
|
|
45684
47480
|
});
|
|
45685
47481
|
ListSettlementPaymentsEmbedded$outboundSchema = objectType({
|
|
45686
|
-
payments: arrayType(
|
|
47482
|
+
payments: arrayType(ListPaymentResponse$outboundSchema).optional()
|
|
45687
47483
|
});
|
|
45688
47484
|
ListSettlementPaymentsResponse$inboundSchema = objectType({
|
|
45689
47485
|
count: numberType().int(),
|
|
@@ -45744,10 +47540,10 @@ var init_listsettlementrefunds = __esm(() => {
|
|
|
45744
47540
|
});
|
|
45745
47541
|
});
|
|
45746
47542
|
ListSettlementRefundsEmbedded$inboundSchema = objectType({
|
|
45747
|
-
refunds: arrayType(
|
|
47543
|
+
refunds: arrayType(ListEntityRefundResponse$inboundSchema)
|
|
45748
47544
|
});
|
|
45749
47545
|
ListSettlementRefundsEmbedded$outboundSchema = objectType({
|
|
45750
|
-
refunds: arrayType(
|
|
47546
|
+
refunds: arrayType(ListEntityRefundResponse$outboundSchema)
|
|
45751
47547
|
});
|
|
45752
47548
|
ListSettlementRefundsResponse$inboundSchema = objectType({
|
|
45753
47549
|
count: numberType().int(),
|
|
@@ -45804,10 +47600,10 @@ var init_listsettlements = __esm(() => {
|
|
|
45804
47600
|
});
|
|
45805
47601
|
});
|
|
45806
47602
|
ListSettlementsEmbedded$inboundSchema = objectType({
|
|
45807
|
-
settlements: arrayType(
|
|
47603
|
+
settlements: arrayType(ListEntitySettlement$inboundSchema)
|
|
45808
47604
|
});
|
|
45809
47605
|
ListSettlementsEmbedded$outboundSchema = objectType({
|
|
45810
|
-
settlements: arrayType(
|
|
47606
|
+
settlements: arrayType(ListEntitySettlement$outboundSchema)
|
|
45811
47607
|
});
|
|
45812
47608
|
ListSettlementsResponse$inboundSchema = objectType({
|
|
45813
47609
|
count: numberType().int(),
|
|
@@ -45938,10 +47734,10 @@ var init_listsubscriptions = __esm(() => {
|
|
|
45938
47734
|
});
|
|
45939
47735
|
});
|
|
45940
47736
|
ListSubscriptionsEmbedded$inboundSchema = objectType({
|
|
45941
|
-
subscriptions: arrayType(
|
|
47737
|
+
subscriptions: arrayType(ListSubscriptionResponse$inboundSchema).optional()
|
|
45942
47738
|
});
|
|
45943
47739
|
ListSubscriptionsEmbedded$outboundSchema = objectType({
|
|
45944
|
-
subscriptions: arrayType(
|
|
47740
|
+
subscriptions: arrayType(ListSubscriptionResponse$outboundSchema).optional()
|
|
45945
47741
|
});
|
|
45946
47742
|
ListSubscriptionsResponse$inboundSchema = objectType({
|
|
45947
47743
|
count: numberType().int(),
|
|
@@ -46000,10 +47796,10 @@ var init_listterminals = __esm(() => {
|
|
|
46000
47796
|
});
|
|
46001
47797
|
});
|
|
46002
47798
|
ListTerminalsEmbedded$inboundSchema = objectType({
|
|
46003
|
-
terminals: arrayType(
|
|
47799
|
+
terminals: arrayType(ListEntityTerminal$inboundSchema).optional()
|
|
46004
47800
|
});
|
|
46005
47801
|
ListTerminalsEmbedded$outboundSchema = objectType({
|
|
46006
|
-
terminals: arrayType(
|
|
47802
|
+
terminals: arrayType(ListEntityTerminal$outboundSchema).optional()
|
|
46007
47803
|
});
|
|
46008
47804
|
ListTerminalsResponse$inboundSchema = objectType({
|
|
46009
47805
|
count: numberType().int(),
|
|
@@ -46064,10 +47860,10 @@ var init_listwebhooks = __esm(() => {
|
|
|
46064
47860
|
});
|
|
46065
47861
|
});
|
|
46066
47862
|
ListWebhooksEmbedded$inboundSchema = objectType({
|
|
46067
|
-
webhooks: arrayType(
|
|
47863
|
+
webhooks: arrayType(ListEntityWebhook$inboundSchema)
|
|
46068
47864
|
});
|
|
46069
47865
|
ListWebhooksEmbedded$outboundSchema = objectType({
|
|
46070
|
-
webhooks: arrayType(
|
|
47866
|
+
webhooks: arrayType(ListEntityWebhook$outboundSchema)
|
|
46071
47867
|
});
|
|
46072
47868
|
ListWebhooksResponse$inboundSchema = objectType({
|
|
46073
47869
|
count: numberType().int(),
|
|
@@ -46150,10 +47946,10 @@ var init_paymentlistroutes = __esm(() => {
|
|
|
46150
47946
|
});
|
|
46151
47947
|
});
|
|
46152
47948
|
PaymentListRoutesEmbedded$inboundSchema = objectType({
|
|
46153
|
-
routes: arrayType(
|
|
47949
|
+
routes: arrayType(ListRouteGetResponse$inboundSchema)
|
|
46154
47950
|
});
|
|
46155
47951
|
PaymentListRoutesEmbedded$outboundSchema = objectType({
|
|
46156
|
-
routes: arrayType(
|
|
47952
|
+
routes: arrayType(ListRouteGetResponse$outboundSchema)
|
|
46157
47953
|
});
|
|
46158
47954
|
PaymentListRoutesLinks$inboundSchema = objectType({
|
|
46159
47955
|
self: Url$inboundSchema.optional(),
|
|
@@ -58999,7 +60795,7 @@ Updates the webhook. You may edit the name, url and the list of subscribed event
|
|
|
58999
60795
|
function createMCPServer(deps) {
|
|
59000
60796
|
const server = new McpServer({
|
|
59001
60797
|
name: "Client",
|
|
59002
|
-
version: "0.
|
|
60798
|
+
version: "0.9.0"
|
|
59003
60799
|
});
|
|
59004
60800
|
const client = new ClientCore({
|
|
59005
60801
|
security: deps.security,
|
|
@@ -60427,7 +62223,7 @@ var routes = an({
|
|
|
60427
62223
|
var app = He(routes, {
|
|
60428
62224
|
name: "mcp",
|
|
60429
62225
|
versionInfo: {
|
|
60430
|
-
currentVersion: "0.
|
|
62226
|
+
currentVersion: "0.9.0"
|
|
60431
62227
|
}
|
|
60432
62228
|
});
|
|
60433
62229
|
zt(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -60435,5 +62231,5 @@ export {
|
|
|
60435
62231
|
app
|
|
60436
62232
|
};
|
|
60437
62233
|
|
|
60438
|
-
//# debugId=
|
|
62234
|
+
//# debugId=686BD03CF76B7C4B64756E2164756E21
|
|
60439
62235
|
//# sourceMappingURL=mcp-server.js.map
|