mollie-api-typescript 0.9.5 → 0.9.6
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 +2840 -1135
- package/bin/mcp-server.js.map +84 -69
- package/dist/commonjs/lib/config.d.ts +2 -2
- package/dist/commonjs/lib/config.js +2 -2
- package/dist/commonjs/mcp-server/mcp-server.js +1 -1
- package/dist/commonjs/mcp-server/server.js +1 -1
- package/dist/commonjs/models/entitybalance.d.ts +42 -42
- package/dist/commonjs/models/entitybalance.d.ts.map +1 -1
- package/dist/commonjs/models/entitybalance.js +53 -51
- package/dist/commonjs/models/entitybalance.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 +17 -2
- package/dist/commonjs/models/index.d.ts.map +1 -1
- package/dist/commonjs/models/index.js +17 -2
- package/dist/commonjs/models/index.js.map +1 -1
- 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 +319 -0
- package/dist/commonjs/models/listentitymethod.d.ts.map +1 -0
- package/dist/commonjs/models/listentitymethod.js +264 -0
- package/dist/commonjs/models/listentitymethod.js.map +1 -0
- package/dist/commonjs/models/{entitymethodall.d.ts → listentitymethodall.d.ts} +60 -65
- package/dist/commonjs/models/listentitymethodall.d.ts.map +1 -0
- package/dist/commonjs/models/listentitymethodall.js +289 -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/listentityrefund.d.ts +256 -0
- package/dist/commonjs/models/listentityrefund.d.ts.map +1 -0
- package/dist/commonjs/models/listentityrefund.js +202 -0
- package/dist/commonjs/models/listentityrefund.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/getpaymentlinkpayments.d.ts +2 -2
- package/dist/commonjs/models/operations/getpaymentlinkpayments.d.ts.map +1 -1
- package/dist/commonjs/models/operations/getpaymentlinkpayments.js +2 -2
- package/dist/commonjs/models/operations/getpaymentlinkpayments.js.map +1 -1
- package/dist/commonjs/models/operations/listallchargebacks.d.ts +2 -2
- package/dist/commonjs/models/operations/listallchargebacks.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listallchargebacks.js +2 -2
- package/dist/commonjs/models/operations/listallchargebacks.js.map +1 -1
- 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/listallrefunds.d.ts +2 -2
- package/dist/commonjs/models/operations/listallrefunds.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listallrefunds.js +2 -2
- package/dist/commonjs/models/operations/listallrefunds.js.map +1 -1
- package/dist/commonjs/models/operations/listallsubscriptions.d.ts +2 -2
- package/dist/commonjs/models/operations/listallsubscriptions.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listallsubscriptions.js +4 -2
- package/dist/commonjs/models/operations/listallsubscriptions.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/listchargebacks.d.ts +2 -2
- package/dist/commonjs/models/operations/listchargebacks.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listchargebacks.js +2 -2
- package/dist/commonjs/models/operations/listchargebacks.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/listcustomerpayments.d.ts +2 -2
- package/dist/commonjs/models/operations/listcustomerpayments.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listcustomerpayments.js +2 -2
- package/dist/commonjs/models/operations/listcustomerpayments.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 -2
- package/dist/commonjs/models/operations/listinvoices.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listinvoices.js +2 -2
- 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/listpayments.d.ts +2 -2
- package/dist/commonjs/models/operations/listpayments.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listpayments.js +2 -2
- package/dist/commonjs/models/operations/listpayments.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/listrefunds.d.ts +2 -2
- package/dist/commonjs/models/operations/listrefunds.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listrefunds.js +2 -2
- package/dist/commonjs/models/operations/listrefunds.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/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/listsubscriptionpayments.d.ts +2 -2
- package/dist/commonjs/models/operations/listsubscriptionpayments.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listsubscriptionpayments.js +2 -2
- package/dist/commonjs/models/operations/listsubscriptionpayments.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/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/esm/lib/config.d.ts +2 -2
- package/dist/esm/lib/config.js +2 -2
- package/dist/esm/mcp-server/mcp-server.js +1 -1
- package/dist/esm/mcp-server/server.js +1 -1
- package/dist/esm/models/entitybalance.d.ts +42 -42
- package/dist/esm/models/entitybalance.d.ts.map +1 -1
- package/dist/esm/models/entitybalance.js +44 -42
- package/dist/esm/models/entitybalance.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 +17 -2
- package/dist/esm/models/index.d.ts.map +1 -1
- package/dist/esm/models/index.js +17 -2
- package/dist/esm/models/index.js.map +1 -1
- 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 +319 -0
- package/dist/esm/models/listentitymethod.d.ts.map +1 -0
- package/dist/esm/models/listentitymethod.js +214 -0
- package/dist/esm/models/listentitymethod.js.map +1 -0
- package/dist/esm/models/{entitymethodall.d.ts → listentitymethodall.d.ts} +60 -65
- package/dist/esm/models/listentitymethodall.d.ts.map +1 -0
- package/dist/esm/models/listentitymethodall.js +237 -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/listentityrefund.d.ts +256 -0
- package/dist/esm/models/listentityrefund.d.ts.map +1 -0
- package/dist/esm/models/listentityrefund.js +154 -0
- package/dist/esm/models/listentityrefund.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/getpaymentlinkpayments.d.ts +2 -2
- package/dist/esm/models/operations/getpaymentlinkpayments.d.ts.map +1 -1
- package/dist/esm/models/operations/getpaymentlinkpayments.js +2 -2
- package/dist/esm/models/operations/getpaymentlinkpayments.js.map +1 -1
- package/dist/esm/models/operations/listallchargebacks.d.ts +2 -2
- package/dist/esm/models/operations/listallchargebacks.d.ts.map +1 -1
- package/dist/esm/models/operations/listallchargebacks.js +2 -2
- package/dist/esm/models/operations/listallchargebacks.js.map +1 -1
- 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/listallrefunds.d.ts +2 -2
- package/dist/esm/models/operations/listallrefunds.d.ts.map +1 -1
- package/dist/esm/models/operations/listallrefunds.js +2 -2
- package/dist/esm/models/operations/listallrefunds.js.map +1 -1
- package/dist/esm/models/operations/listallsubscriptions.d.ts +2 -2
- package/dist/esm/models/operations/listallsubscriptions.d.ts.map +1 -1
- package/dist/esm/models/operations/listallsubscriptions.js +4 -2
- package/dist/esm/models/operations/listallsubscriptions.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/listchargebacks.d.ts +2 -2
- package/dist/esm/models/operations/listchargebacks.d.ts.map +1 -1
- package/dist/esm/models/operations/listchargebacks.js +2 -2
- package/dist/esm/models/operations/listchargebacks.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/listcustomerpayments.d.ts +2 -2
- package/dist/esm/models/operations/listcustomerpayments.d.ts.map +1 -1
- package/dist/esm/models/operations/listcustomerpayments.js +2 -2
- package/dist/esm/models/operations/listcustomerpayments.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 -2
- package/dist/esm/models/operations/listinvoices.d.ts.map +1 -1
- package/dist/esm/models/operations/listinvoices.js +2 -2
- 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/listpayments.d.ts +2 -2
- package/dist/esm/models/operations/listpayments.d.ts.map +1 -1
- package/dist/esm/models/operations/listpayments.js +2 -2
- package/dist/esm/models/operations/listpayments.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/listrefunds.d.ts +2 -2
- package/dist/esm/models/operations/listrefunds.d.ts.map +1 -1
- package/dist/esm/models/operations/listrefunds.js +2 -2
- package/dist/esm/models/operations/listrefunds.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/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/listsubscriptionpayments.d.ts +2 -2
- package/dist/esm/models/operations/listsubscriptionpayments.d.ts.map +1 -1
- package/dist/esm/models/operations/listsubscriptionpayments.js +2 -2
- package/dist/esm/models/operations/listsubscriptionpayments.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/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/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/entitybalance.ts +112 -93
- 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 +17 -2
- 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 +608 -0
- package/src/models/{entitymethodall.ts → listentitymethodall.ts} +139 -142
- package/src/models/listentitypermission.ts +149 -0
- package/src/models/listentityrefund.ts +544 -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/getpaymentlinkpayments.ts +4 -4
- package/src/models/operations/listallchargebacks.ts +4 -4
- package/src/models/operations/listallmethods.ts +4 -4
- package/src/models/operations/listallrefunds.ts +4 -4
- package/src/models/operations/listallsubscriptions.ts +6 -4
- package/src/models/operations/listbalances.ts +4 -4
- package/src/models/operations/listchargebacks.ts +4 -4
- package/src/models/operations/listclients.ts +0 -7
- package/src/models/operations/listcustomerpayments.ts +4 -4
- package/src/models/operations/listcustomers.ts +4 -4
- package/src/models/operations/listinvoices.ts +4 -4
- package/src/models/operations/listmandates.ts +4 -4
- package/src/models/operations/listmethods.ts +4 -4
- package/src/models/operations/listpayments.ts +4 -4
- package/src/models/operations/listpermissions.ts +4 -4
- package/src/models/operations/listprofiles.ts +4 -4
- package/src/models/operations/listrefunds.ts +4 -4
- package/src/models/operations/listsalesinvoices.ts +6 -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/listsubscriptionpayments.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/paymentresponse.ts +159 -117
- package/src/models/profileresponse.ts +26 -19
- package/src/models/salesinvoiceresponse.ts +149 -97
- package/dist/commonjs/models/entitymethodall.d.ts.map +0 -1
- package/dist/commonjs/models/entitymethodall.js +0 -291
- 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 -239
- 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
|
@@ -0,0 +1,608 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../lib/schemas.js";
|
|
8
|
+
import * as openEnums from "../types/enums.js";
|
|
9
|
+
import { OpenEnum } from "../types/enums.js";
|
|
10
|
+
import { Result as SafeParseResult } from "../types/fp.js";
|
|
11
|
+
import { SDKValidationError } from "./errors/sdkvalidationerror.js";
|
|
12
|
+
import {
|
|
13
|
+
MethodStatus,
|
|
14
|
+
MethodStatus$inboundSchema,
|
|
15
|
+
MethodStatus$outboundSchema,
|
|
16
|
+
} from "./methodstatus.js";
|
|
17
|
+
import {
|
|
18
|
+
Url,
|
|
19
|
+
Url$inboundSchema,
|
|
20
|
+
Url$Outbound,
|
|
21
|
+
Url$outboundSchema,
|
|
22
|
+
} from "./url.js";
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* The unique identifier of the payment method. When used during [payment creation](create-payment), the payment
|
|
26
|
+
*
|
|
27
|
+
* @remarks
|
|
28
|
+
* method selection screen will be skipped.
|
|
29
|
+
*/
|
|
30
|
+
export const ListEntityMethodId = {
|
|
31
|
+
Alma: "alma",
|
|
32
|
+
Applepay: "applepay",
|
|
33
|
+
Bacs: "bacs",
|
|
34
|
+
Bancomatpay: "bancomatpay",
|
|
35
|
+
Bancontact: "bancontact",
|
|
36
|
+
Banktransfer: "banktransfer",
|
|
37
|
+
Belfius: "belfius",
|
|
38
|
+
Billie: "billie",
|
|
39
|
+
Bizum: "bizum",
|
|
40
|
+
Blik: "blik",
|
|
41
|
+
Creditcard: "creditcard",
|
|
42
|
+
Directdebit: "directdebit",
|
|
43
|
+
Eps: "eps",
|
|
44
|
+
Giftcard: "giftcard",
|
|
45
|
+
Ideal: "ideal",
|
|
46
|
+
In3: "in3",
|
|
47
|
+
Kbc: "kbc",
|
|
48
|
+
Klarna: "klarna",
|
|
49
|
+
Mbway: "mbway",
|
|
50
|
+
Mobilepay: "mobilepay",
|
|
51
|
+
Multibanco: "multibanco",
|
|
52
|
+
Mybank: "mybank",
|
|
53
|
+
Paybybank: "paybybank",
|
|
54
|
+
Paypal: "paypal",
|
|
55
|
+
Paysafecard: "paysafecard",
|
|
56
|
+
Pointofsale: "pointofsale",
|
|
57
|
+
Przelewy24: "przelewy24",
|
|
58
|
+
Riverty: "riverty",
|
|
59
|
+
Satispay: "satispay",
|
|
60
|
+
Swish: "swish",
|
|
61
|
+
Trustly: "trustly",
|
|
62
|
+
Twint: "twint",
|
|
63
|
+
Vipps: "vipps",
|
|
64
|
+
Voucher: "voucher",
|
|
65
|
+
/**
|
|
66
|
+
* Deprecated, use 'klarna' instead
|
|
67
|
+
*/
|
|
68
|
+
Klarnapaylater: "klarnapaylater",
|
|
69
|
+
/**
|
|
70
|
+
* Deprecated, use 'klarna' instead
|
|
71
|
+
*/
|
|
72
|
+
Klarnapaynow: "klarnapaynow",
|
|
73
|
+
/**
|
|
74
|
+
* Deprecated, use 'klarna' instead
|
|
75
|
+
*/
|
|
76
|
+
Klarnasliceit: "klarnasliceit",
|
|
77
|
+
/**
|
|
78
|
+
* No longer available
|
|
79
|
+
*/
|
|
80
|
+
Payconiq: "payconiq",
|
|
81
|
+
} as const;
|
|
82
|
+
/**
|
|
83
|
+
* The unique identifier of the payment method. When used during [payment creation](create-payment), the payment
|
|
84
|
+
*
|
|
85
|
+
* @remarks
|
|
86
|
+
* method selection screen will be skipped.
|
|
87
|
+
*/
|
|
88
|
+
export type ListEntityMethodId = OpenEnum<typeof ListEntityMethodId>;
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* The minimum payment amount required to use this payment method.
|
|
92
|
+
*/
|
|
93
|
+
export type ListEntityMethodMinimumAmount = {
|
|
94
|
+
/**
|
|
95
|
+
* A three-character ISO 4217 currency code.
|
|
96
|
+
*/
|
|
97
|
+
currency: string;
|
|
98
|
+
/**
|
|
99
|
+
* A string containing an exact monetary amount in the given currency.
|
|
100
|
+
*/
|
|
101
|
+
value: string;
|
|
102
|
+
};
|
|
103
|
+
|
|
104
|
+
/**
|
|
105
|
+
* The maximum payment amount allowed when using this payment method. If there is no method-specific maximum, `null`
|
|
106
|
+
*
|
|
107
|
+
* @remarks
|
|
108
|
+
* is returned instead.
|
|
109
|
+
*/
|
|
110
|
+
export type ListEntityMethodMaximumAmount = {
|
|
111
|
+
/**
|
|
112
|
+
* A three-character ISO 4217 currency code.
|
|
113
|
+
*/
|
|
114
|
+
currency: string;
|
|
115
|
+
/**
|
|
116
|
+
* A string containing an exact monetary amount in the given currency.
|
|
117
|
+
*/
|
|
118
|
+
value: string;
|
|
119
|
+
};
|
|
120
|
+
|
|
121
|
+
/**
|
|
122
|
+
* URLs of images representing the payment method.
|
|
123
|
+
*/
|
|
124
|
+
export type ListEntityMethodImage = {
|
|
125
|
+
/**
|
|
126
|
+
* The URL pointing to an icon of 32 by 24 pixels.
|
|
127
|
+
*/
|
|
128
|
+
size1x: string;
|
|
129
|
+
/**
|
|
130
|
+
* The URL pointing to an icon of 64 by 48 pixels.
|
|
131
|
+
*/
|
|
132
|
+
size2x: string;
|
|
133
|
+
/**
|
|
134
|
+
* The URL pointing to a vector version of the icon. Usage of this format is preferred, since the icon can
|
|
135
|
+
*
|
|
136
|
+
* @remarks
|
|
137
|
+
* scale to any desired size without compromising visual quality.
|
|
138
|
+
*/
|
|
139
|
+
svg: string;
|
|
140
|
+
};
|
|
141
|
+
|
|
142
|
+
/**
|
|
143
|
+
* URLs of images representing the issuer.
|
|
144
|
+
*
|
|
145
|
+
* @remarks
|
|
146
|
+
* required:
|
|
147
|
+
* - size1x
|
|
148
|
+
* - size2x
|
|
149
|
+
* - svg
|
|
150
|
+
*/
|
|
151
|
+
export type ListEntityMethodIssuerImage = {
|
|
152
|
+
/**
|
|
153
|
+
* The URL pointing to an icon of 32 by 24 pixels.
|
|
154
|
+
*/
|
|
155
|
+
size1x?: string | undefined;
|
|
156
|
+
/**
|
|
157
|
+
* The URL pointing to an icon of 64 by 48 pixels.
|
|
158
|
+
*/
|
|
159
|
+
size2x?: string | undefined;
|
|
160
|
+
/**
|
|
161
|
+
* The URL pointing to a vector version of the icon. Usage of this format is preferred, since the icon can
|
|
162
|
+
*
|
|
163
|
+
* @remarks
|
|
164
|
+
* scale to any desired size without compromising visual quality.
|
|
165
|
+
*/
|
|
166
|
+
svg?: string | undefined;
|
|
167
|
+
};
|
|
168
|
+
|
|
169
|
+
export type ListEntityMethodIssuer = {
|
|
170
|
+
resource: string;
|
|
171
|
+
id: string;
|
|
172
|
+
/**
|
|
173
|
+
* The full name of the issuer.
|
|
174
|
+
*/
|
|
175
|
+
name: string;
|
|
176
|
+
/**
|
|
177
|
+
* URLs of images representing the issuer.
|
|
178
|
+
*
|
|
179
|
+
* @remarks
|
|
180
|
+
* required:
|
|
181
|
+
* - size1x
|
|
182
|
+
* - size2x
|
|
183
|
+
* - svg
|
|
184
|
+
*/
|
|
185
|
+
image: ListEntityMethodIssuerImage;
|
|
186
|
+
};
|
|
187
|
+
|
|
188
|
+
/**
|
|
189
|
+
* An object with several relevant URLs. Every URL object will contain an `href` and a `type` field.
|
|
190
|
+
*/
|
|
191
|
+
export type ListEntityMethodLinks = {
|
|
192
|
+
/**
|
|
193
|
+
* In v2 endpoints, URLs are commonly represented as objects with an `href` and `type` field.
|
|
194
|
+
*/
|
|
195
|
+
self: Url;
|
|
196
|
+
};
|
|
197
|
+
|
|
198
|
+
export type ListEntityMethod = {
|
|
199
|
+
/**
|
|
200
|
+
* Indicates the response contains a payment method object. Will always contain the string `method` for this
|
|
201
|
+
*
|
|
202
|
+
* @remarks
|
|
203
|
+
* endpoint.
|
|
204
|
+
*/
|
|
205
|
+
resource: string;
|
|
206
|
+
/**
|
|
207
|
+
* The unique identifier of the payment method. When used during [payment creation](create-payment), the payment
|
|
208
|
+
*
|
|
209
|
+
* @remarks
|
|
210
|
+
* method selection screen will be skipped.
|
|
211
|
+
*/
|
|
212
|
+
id: ListEntityMethodId | null;
|
|
213
|
+
/**
|
|
214
|
+
* The full name of the payment method.
|
|
215
|
+
*
|
|
216
|
+
* @remarks
|
|
217
|
+
*
|
|
218
|
+
* If a `locale` parameter is provided, the name is translated to the given locale if possible.
|
|
219
|
+
*/
|
|
220
|
+
description: string;
|
|
221
|
+
/**
|
|
222
|
+
* The minimum payment amount required to use this payment method.
|
|
223
|
+
*/
|
|
224
|
+
minimumAmount: ListEntityMethodMinimumAmount;
|
|
225
|
+
/**
|
|
226
|
+
* The maximum payment amount allowed when using this payment method. If there is no method-specific maximum, `null`
|
|
227
|
+
*
|
|
228
|
+
* @remarks
|
|
229
|
+
* is returned instead.
|
|
230
|
+
*/
|
|
231
|
+
maximumAmount: ListEntityMethodMaximumAmount | null;
|
|
232
|
+
/**
|
|
233
|
+
* URLs of images representing the payment method.
|
|
234
|
+
*/
|
|
235
|
+
image: ListEntityMethodImage;
|
|
236
|
+
/**
|
|
237
|
+
* The payment method's activation status for this profile.
|
|
238
|
+
*/
|
|
239
|
+
status: MethodStatus | null;
|
|
240
|
+
/**
|
|
241
|
+
* **Optional include.** Array of objects for each 'issuer' that is available for this payment method. Only relevant
|
|
242
|
+
*
|
|
243
|
+
* @remarks
|
|
244
|
+
* for iDEAL, KBC/CBC, gift cards, and vouchers.
|
|
245
|
+
*/
|
|
246
|
+
issuers?: Array<ListEntityMethodIssuer> | undefined;
|
|
247
|
+
/**
|
|
248
|
+
* An object with several relevant URLs. Every URL object will contain an `href` and a `type` field.
|
|
249
|
+
*/
|
|
250
|
+
links: ListEntityMethodLinks;
|
|
251
|
+
};
|
|
252
|
+
|
|
253
|
+
/** @internal */
|
|
254
|
+
export const ListEntityMethodId$inboundSchema: z.ZodType<
|
|
255
|
+
ListEntityMethodId,
|
|
256
|
+
z.ZodTypeDef,
|
|
257
|
+
unknown
|
|
258
|
+
> = openEnums.inboundSchema(ListEntityMethodId);
|
|
259
|
+
/** @internal */
|
|
260
|
+
export const ListEntityMethodId$outboundSchema: z.ZodType<
|
|
261
|
+
string,
|
|
262
|
+
z.ZodTypeDef,
|
|
263
|
+
ListEntityMethodId
|
|
264
|
+
> = openEnums.outboundSchema(ListEntityMethodId);
|
|
265
|
+
|
|
266
|
+
/** @internal */
|
|
267
|
+
export const ListEntityMethodMinimumAmount$inboundSchema: z.ZodType<
|
|
268
|
+
ListEntityMethodMinimumAmount,
|
|
269
|
+
z.ZodTypeDef,
|
|
270
|
+
unknown
|
|
271
|
+
> = z.object({
|
|
272
|
+
currency: z.string(),
|
|
273
|
+
value: z.string(),
|
|
274
|
+
});
|
|
275
|
+
/** @internal */
|
|
276
|
+
export type ListEntityMethodMinimumAmount$Outbound = {
|
|
277
|
+
currency: string;
|
|
278
|
+
value: string;
|
|
279
|
+
};
|
|
280
|
+
|
|
281
|
+
/** @internal */
|
|
282
|
+
export const ListEntityMethodMinimumAmount$outboundSchema: z.ZodType<
|
|
283
|
+
ListEntityMethodMinimumAmount$Outbound,
|
|
284
|
+
z.ZodTypeDef,
|
|
285
|
+
ListEntityMethodMinimumAmount
|
|
286
|
+
> = z.object({
|
|
287
|
+
currency: z.string(),
|
|
288
|
+
value: z.string(),
|
|
289
|
+
});
|
|
290
|
+
|
|
291
|
+
export function listEntityMethodMinimumAmountToJSON(
|
|
292
|
+
listEntityMethodMinimumAmount: ListEntityMethodMinimumAmount,
|
|
293
|
+
): string {
|
|
294
|
+
return JSON.stringify(
|
|
295
|
+
ListEntityMethodMinimumAmount$outboundSchema.parse(
|
|
296
|
+
listEntityMethodMinimumAmount,
|
|
297
|
+
),
|
|
298
|
+
);
|
|
299
|
+
}
|
|
300
|
+
export function listEntityMethodMinimumAmountFromJSON(
|
|
301
|
+
jsonString: string,
|
|
302
|
+
): SafeParseResult<ListEntityMethodMinimumAmount, SDKValidationError> {
|
|
303
|
+
return safeParse(
|
|
304
|
+
jsonString,
|
|
305
|
+
(x) => ListEntityMethodMinimumAmount$inboundSchema.parse(JSON.parse(x)),
|
|
306
|
+
`Failed to parse 'ListEntityMethodMinimumAmount' from JSON`,
|
|
307
|
+
);
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
/** @internal */
|
|
311
|
+
export const ListEntityMethodMaximumAmount$inboundSchema: z.ZodType<
|
|
312
|
+
ListEntityMethodMaximumAmount,
|
|
313
|
+
z.ZodTypeDef,
|
|
314
|
+
unknown
|
|
315
|
+
> = z.object({
|
|
316
|
+
currency: z.string(),
|
|
317
|
+
value: z.string(),
|
|
318
|
+
});
|
|
319
|
+
/** @internal */
|
|
320
|
+
export type ListEntityMethodMaximumAmount$Outbound = {
|
|
321
|
+
currency: string;
|
|
322
|
+
value: string;
|
|
323
|
+
};
|
|
324
|
+
|
|
325
|
+
/** @internal */
|
|
326
|
+
export const ListEntityMethodMaximumAmount$outboundSchema: z.ZodType<
|
|
327
|
+
ListEntityMethodMaximumAmount$Outbound,
|
|
328
|
+
z.ZodTypeDef,
|
|
329
|
+
ListEntityMethodMaximumAmount
|
|
330
|
+
> = z.object({
|
|
331
|
+
currency: z.string(),
|
|
332
|
+
value: z.string(),
|
|
333
|
+
});
|
|
334
|
+
|
|
335
|
+
export function listEntityMethodMaximumAmountToJSON(
|
|
336
|
+
listEntityMethodMaximumAmount: ListEntityMethodMaximumAmount,
|
|
337
|
+
): string {
|
|
338
|
+
return JSON.stringify(
|
|
339
|
+
ListEntityMethodMaximumAmount$outboundSchema.parse(
|
|
340
|
+
listEntityMethodMaximumAmount,
|
|
341
|
+
),
|
|
342
|
+
);
|
|
343
|
+
}
|
|
344
|
+
export function listEntityMethodMaximumAmountFromJSON(
|
|
345
|
+
jsonString: string,
|
|
346
|
+
): SafeParseResult<ListEntityMethodMaximumAmount, SDKValidationError> {
|
|
347
|
+
return safeParse(
|
|
348
|
+
jsonString,
|
|
349
|
+
(x) => ListEntityMethodMaximumAmount$inboundSchema.parse(JSON.parse(x)),
|
|
350
|
+
`Failed to parse 'ListEntityMethodMaximumAmount' from JSON`,
|
|
351
|
+
);
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
/** @internal */
|
|
355
|
+
export const ListEntityMethodImage$inboundSchema: z.ZodType<
|
|
356
|
+
ListEntityMethodImage,
|
|
357
|
+
z.ZodTypeDef,
|
|
358
|
+
unknown
|
|
359
|
+
> = z.object({
|
|
360
|
+
size1x: z.string(),
|
|
361
|
+
size2x: z.string(),
|
|
362
|
+
svg: z.string(),
|
|
363
|
+
});
|
|
364
|
+
/** @internal */
|
|
365
|
+
export type ListEntityMethodImage$Outbound = {
|
|
366
|
+
size1x: string;
|
|
367
|
+
size2x: string;
|
|
368
|
+
svg: string;
|
|
369
|
+
};
|
|
370
|
+
|
|
371
|
+
/** @internal */
|
|
372
|
+
export const ListEntityMethodImage$outboundSchema: z.ZodType<
|
|
373
|
+
ListEntityMethodImage$Outbound,
|
|
374
|
+
z.ZodTypeDef,
|
|
375
|
+
ListEntityMethodImage
|
|
376
|
+
> = z.object({
|
|
377
|
+
size1x: z.string(),
|
|
378
|
+
size2x: z.string(),
|
|
379
|
+
svg: z.string(),
|
|
380
|
+
});
|
|
381
|
+
|
|
382
|
+
export function listEntityMethodImageToJSON(
|
|
383
|
+
listEntityMethodImage: ListEntityMethodImage,
|
|
384
|
+
): string {
|
|
385
|
+
return JSON.stringify(
|
|
386
|
+
ListEntityMethodImage$outboundSchema.parse(listEntityMethodImage),
|
|
387
|
+
);
|
|
388
|
+
}
|
|
389
|
+
export function listEntityMethodImageFromJSON(
|
|
390
|
+
jsonString: string,
|
|
391
|
+
): SafeParseResult<ListEntityMethodImage, SDKValidationError> {
|
|
392
|
+
return safeParse(
|
|
393
|
+
jsonString,
|
|
394
|
+
(x) => ListEntityMethodImage$inboundSchema.parse(JSON.parse(x)),
|
|
395
|
+
`Failed to parse 'ListEntityMethodImage' from JSON`,
|
|
396
|
+
);
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
/** @internal */
|
|
400
|
+
export const ListEntityMethodIssuerImage$inboundSchema: z.ZodType<
|
|
401
|
+
ListEntityMethodIssuerImage,
|
|
402
|
+
z.ZodTypeDef,
|
|
403
|
+
unknown
|
|
404
|
+
> = z.object({
|
|
405
|
+
size1x: z.string().optional(),
|
|
406
|
+
size2x: z.string().optional(),
|
|
407
|
+
svg: z.string().optional(),
|
|
408
|
+
});
|
|
409
|
+
/** @internal */
|
|
410
|
+
export type ListEntityMethodIssuerImage$Outbound = {
|
|
411
|
+
size1x?: string | undefined;
|
|
412
|
+
size2x?: string | undefined;
|
|
413
|
+
svg?: string | undefined;
|
|
414
|
+
};
|
|
415
|
+
|
|
416
|
+
/** @internal */
|
|
417
|
+
export const ListEntityMethodIssuerImage$outboundSchema: z.ZodType<
|
|
418
|
+
ListEntityMethodIssuerImage$Outbound,
|
|
419
|
+
z.ZodTypeDef,
|
|
420
|
+
ListEntityMethodIssuerImage
|
|
421
|
+
> = z.object({
|
|
422
|
+
size1x: z.string().optional(),
|
|
423
|
+
size2x: z.string().optional(),
|
|
424
|
+
svg: z.string().optional(),
|
|
425
|
+
});
|
|
426
|
+
|
|
427
|
+
export function listEntityMethodIssuerImageToJSON(
|
|
428
|
+
listEntityMethodIssuerImage: ListEntityMethodIssuerImage,
|
|
429
|
+
): string {
|
|
430
|
+
return JSON.stringify(
|
|
431
|
+
ListEntityMethodIssuerImage$outboundSchema.parse(
|
|
432
|
+
listEntityMethodIssuerImage,
|
|
433
|
+
),
|
|
434
|
+
);
|
|
435
|
+
}
|
|
436
|
+
export function listEntityMethodIssuerImageFromJSON(
|
|
437
|
+
jsonString: string,
|
|
438
|
+
): SafeParseResult<ListEntityMethodIssuerImage, SDKValidationError> {
|
|
439
|
+
return safeParse(
|
|
440
|
+
jsonString,
|
|
441
|
+
(x) => ListEntityMethodIssuerImage$inboundSchema.parse(JSON.parse(x)),
|
|
442
|
+
`Failed to parse 'ListEntityMethodIssuerImage' from JSON`,
|
|
443
|
+
);
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
/** @internal */
|
|
447
|
+
export const ListEntityMethodIssuer$inboundSchema: z.ZodType<
|
|
448
|
+
ListEntityMethodIssuer,
|
|
449
|
+
z.ZodTypeDef,
|
|
450
|
+
unknown
|
|
451
|
+
> = z.object({
|
|
452
|
+
resource: z.string(),
|
|
453
|
+
id: z.string(),
|
|
454
|
+
name: z.string(),
|
|
455
|
+
image: z.lazy(() => ListEntityMethodIssuerImage$inboundSchema),
|
|
456
|
+
});
|
|
457
|
+
/** @internal */
|
|
458
|
+
export type ListEntityMethodIssuer$Outbound = {
|
|
459
|
+
resource: string;
|
|
460
|
+
id: string;
|
|
461
|
+
name: string;
|
|
462
|
+
image: ListEntityMethodIssuerImage$Outbound;
|
|
463
|
+
};
|
|
464
|
+
|
|
465
|
+
/** @internal */
|
|
466
|
+
export const ListEntityMethodIssuer$outboundSchema: z.ZodType<
|
|
467
|
+
ListEntityMethodIssuer$Outbound,
|
|
468
|
+
z.ZodTypeDef,
|
|
469
|
+
ListEntityMethodIssuer
|
|
470
|
+
> = z.object({
|
|
471
|
+
resource: z.string(),
|
|
472
|
+
id: z.string(),
|
|
473
|
+
name: z.string(),
|
|
474
|
+
image: z.lazy(() => ListEntityMethodIssuerImage$outboundSchema),
|
|
475
|
+
});
|
|
476
|
+
|
|
477
|
+
export function listEntityMethodIssuerToJSON(
|
|
478
|
+
listEntityMethodIssuer: ListEntityMethodIssuer,
|
|
479
|
+
): string {
|
|
480
|
+
return JSON.stringify(
|
|
481
|
+
ListEntityMethodIssuer$outboundSchema.parse(listEntityMethodIssuer),
|
|
482
|
+
);
|
|
483
|
+
}
|
|
484
|
+
export function listEntityMethodIssuerFromJSON(
|
|
485
|
+
jsonString: string,
|
|
486
|
+
): SafeParseResult<ListEntityMethodIssuer, SDKValidationError> {
|
|
487
|
+
return safeParse(
|
|
488
|
+
jsonString,
|
|
489
|
+
(x) => ListEntityMethodIssuer$inboundSchema.parse(JSON.parse(x)),
|
|
490
|
+
`Failed to parse 'ListEntityMethodIssuer' from JSON`,
|
|
491
|
+
);
|
|
492
|
+
}
|
|
493
|
+
|
|
494
|
+
/** @internal */
|
|
495
|
+
export const ListEntityMethodLinks$inboundSchema: z.ZodType<
|
|
496
|
+
ListEntityMethodLinks,
|
|
497
|
+
z.ZodTypeDef,
|
|
498
|
+
unknown
|
|
499
|
+
> = z.object({
|
|
500
|
+
self: Url$inboundSchema,
|
|
501
|
+
});
|
|
502
|
+
/** @internal */
|
|
503
|
+
export type ListEntityMethodLinks$Outbound = {
|
|
504
|
+
self: Url$Outbound;
|
|
505
|
+
};
|
|
506
|
+
|
|
507
|
+
/** @internal */
|
|
508
|
+
export const ListEntityMethodLinks$outboundSchema: z.ZodType<
|
|
509
|
+
ListEntityMethodLinks$Outbound,
|
|
510
|
+
z.ZodTypeDef,
|
|
511
|
+
ListEntityMethodLinks
|
|
512
|
+
> = z.object({
|
|
513
|
+
self: Url$outboundSchema,
|
|
514
|
+
});
|
|
515
|
+
|
|
516
|
+
export function listEntityMethodLinksToJSON(
|
|
517
|
+
listEntityMethodLinks: ListEntityMethodLinks,
|
|
518
|
+
): string {
|
|
519
|
+
return JSON.stringify(
|
|
520
|
+
ListEntityMethodLinks$outboundSchema.parse(listEntityMethodLinks),
|
|
521
|
+
);
|
|
522
|
+
}
|
|
523
|
+
export function listEntityMethodLinksFromJSON(
|
|
524
|
+
jsonString: string,
|
|
525
|
+
): SafeParseResult<ListEntityMethodLinks, SDKValidationError> {
|
|
526
|
+
return safeParse(
|
|
527
|
+
jsonString,
|
|
528
|
+
(x) => ListEntityMethodLinks$inboundSchema.parse(JSON.parse(x)),
|
|
529
|
+
`Failed to parse 'ListEntityMethodLinks' from JSON`,
|
|
530
|
+
);
|
|
531
|
+
}
|
|
532
|
+
|
|
533
|
+
/** @internal */
|
|
534
|
+
export const ListEntityMethod$inboundSchema: z.ZodType<
|
|
535
|
+
ListEntityMethod,
|
|
536
|
+
z.ZodTypeDef,
|
|
537
|
+
unknown
|
|
538
|
+
> = z.object({
|
|
539
|
+
resource: z.string(),
|
|
540
|
+
id: z.nullable(ListEntityMethodId$inboundSchema),
|
|
541
|
+
description: z.string(),
|
|
542
|
+
minimumAmount: z.lazy(() => ListEntityMethodMinimumAmount$inboundSchema),
|
|
543
|
+
maximumAmount: z.nullable(
|
|
544
|
+
z.lazy(() => ListEntityMethodMaximumAmount$inboundSchema),
|
|
545
|
+
),
|
|
546
|
+
image: z.lazy(() => ListEntityMethodImage$inboundSchema),
|
|
547
|
+
status: z.nullable(MethodStatus$inboundSchema),
|
|
548
|
+
issuers: z.array(z.lazy(() => ListEntityMethodIssuer$inboundSchema))
|
|
549
|
+
.optional(),
|
|
550
|
+
_links: z.lazy(() => ListEntityMethodLinks$inboundSchema),
|
|
551
|
+
}).transform((v) => {
|
|
552
|
+
return remap$(v, {
|
|
553
|
+
"_links": "links",
|
|
554
|
+
});
|
|
555
|
+
});
|
|
556
|
+
/** @internal */
|
|
557
|
+
export type ListEntityMethod$Outbound = {
|
|
558
|
+
resource: string;
|
|
559
|
+
id: string | null;
|
|
560
|
+
description: string;
|
|
561
|
+
minimumAmount: ListEntityMethodMinimumAmount$Outbound;
|
|
562
|
+
maximumAmount: ListEntityMethodMaximumAmount$Outbound | null;
|
|
563
|
+
image: ListEntityMethodImage$Outbound;
|
|
564
|
+
status: string | null;
|
|
565
|
+
issuers?: Array<ListEntityMethodIssuer$Outbound> | undefined;
|
|
566
|
+
_links: ListEntityMethodLinks$Outbound;
|
|
567
|
+
};
|
|
568
|
+
|
|
569
|
+
/** @internal */
|
|
570
|
+
export const ListEntityMethod$outboundSchema: z.ZodType<
|
|
571
|
+
ListEntityMethod$Outbound,
|
|
572
|
+
z.ZodTypeDef,
|
|
573
|
+
ListEntityMethod
|
|
574
|
+
> = z.object({
|
|
575
|
+
resource: z.string(),
|
|
576
|
+
id: z.nullable(ListEntityMethodId$outboundSchema),
|
|
577
|
+
description: z.string(),
|
|
578
|
+
minimumAmount: z.lazy(() => ListEntityMethodMinimumAmount$outboundSchema),
|
|
579
|
+
maximumAmount: z.nullable(
|
|
580
|
+
z.lazy(() => ListEntityMethodMaximumAmount$outboundSchema),
|
|
581
|
+
),
|
|
582
|
+
image: z.lazy(() => ListEntityMethodImage$outboundSchema),
|
|
583
|
+
status: z.nullable(MethodStatus$outboundSchema),
|
|
584
|
+
issuers: z.array(z.lazy(() => ListEntityMethodIssuer$outboundSchema))
|
|
585
|
+
.optional(),
|
|
586
|
+
links: z.lazy(() => ListEntityMethodLinks$outboundSchema),
|
|
587
|
+
}).transform((v) => {
|
|
588
|
+
return remap$(v, {
|
|
589
|
+
links: "_links",
|
|
590
|
+
});
|
|
591
|
+
});
|
|
592
|
+
|
|
593
|
+
export function listEntityMethodToJSON(
|
|
594
|
+
listEntityMethod: ListEntityMethod,
|
|
595
|
+
): string {
|
|
596
|
+
return JSON.stringify(
|
|
597
|
+
ListEntityMethod$outboundSchema.parse(listEntityMethod),
|
|
598
|
+
);
|
|
599
|
+
}
|
|
600
|
+
export function listEntityMethodFromJSON(
|
|
601
|
+
jsonString: string,
|
|
602
|
+
): SafeParseResult<ListEntityMethod, SDKValidationError> {
|
|
603
|
+
return safeParse(
|
|
604
|
+
jsonString,
|
|
605
|
+
(x) => ListEntityMethod$inboundSchema.parse(JSON.parse(x)),
|
|
606
|
+
`Failed to parse 'ListEntityMethod' from JSON`,
|
|
607
|
+
);
|
|
608
|
+
}
|