mollie-api-typescript 0.9.3 → 0.9.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/_speakeasy/.github/action-inputs-config.json +53 -0
- package/_speakeasy/.github/action-security-config.json +88 -0
- package/bin/mcp-server.js +26346 -9774
- package/bin/mcp-server.js.map +243 -92
- package/dist/commonjs/lib/config.d.ts +3 -3
- package/dist/commonjs/lib/config.js +3 -3
- package/dist/commonjs/mcp-server/mcp-server.js +1 -1
- package/dist/commonjs/mcp-server/prompts.d.ts +3 -3
- package/dist/commonjs/mcp-server/prompts.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/prompts.js.map +1 -1
- package/dist/commonjs/mcp-server/resources.d.ts +3 -3
- package/dist/commonjs/mcp-server/resources.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/resources.js.map +1 -1
- package/dist/commonjs/mcp-server/server.js +1 -1
- package/dist/commonjs/mcp-server/tools.d.ts +3 -3
- package/dist/commonjs/mcp-server/tools.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/tools.js.map +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 +51 -53
- 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 +12 -13
- 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/entitymethod.d.ts +2 -2
- package/dist/commonjs/models/entitymethod.d.ts.map +1 -1
- package/dist/commonjs/models/entitymethod.js +2 -2
- package/dist/commonjs/models/entitymethod.js.map +1 -1
- package/dist/{esm/models/listentitymethodall.d.ts → commonjs/models/entitymethodall.d.ts} +62 -62
- package/dist/commonjs/models/entitymethodall.d.ts.map +1 -0
- package/dist/commonjs/models/entitymethodall.js +291 -0
- package/dist/commonjs/models/entitymethodall.js.map +1 -0
- 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 +2 -17
- package/dist/commonjs/models/index.d.ts.map +1 -1
- package/dist/commonjs/models/index.js +2 -17
- package/dist/commonjs/models/index.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/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/listcaptures.d.ts +2 -2
- package/dist/commonjs/models/operations/listcaptures.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listcaptures.js +2 -2
- package/dist/commonjs/models/operations/listcaptures.js.map +1 -1
- package/dist/commonjs/models/operations/listclients.d.ts +5 -0
- package/dist/commonjs/models/operations/listclients.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listclients.js +2 -0
- 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 -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/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 +2 -4
- 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/listsubscriptions.d.ts +2 -2
- package/dist/commonjs/models/operations/listsubscriptions.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listsubscriptions.js +2 -4
- 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 +62 -67
- 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 +12 -11
- package/dist/commonjs/models/profileresponse.js.map +1 -1
- package/dist/{esm/models/listroutegetresponse.d.ts → commonjs/models/routegetresponse.d.ts} +28 -23
- package/dist/commonjs/models/routegetresponse.d.ts.map +1 -0
- package/dist/commonjs/models/{listroutegetresponse.js → routegetresponse.js} +32 -30
- package/dist/commonjs/models/routegetresponse.js.map +1 -0
- 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 +51 -56
- package/dist/commonjs/models/salesinvoiceresponse.js.map +1 -1
- package/dist/esm/lib/config.d.ts +3 -3
- package/dist/esm/lib/config.js +3 -3
- package/dist/esm/mcp-server/mcp-server.js +1 -1
- package/dist/esm/mcp-server/prompts.d.ts +3 -3
- package/dist/esm/mcp-server/prompts.d.ts.map +1 -1
- package/dist/esm/mcp-server/prompts.js.map +1 -1
- package/dist/esm/mcp-server/resources.d.ts +3 -3
- package/dist/esm/mcp-server/resources.d.ts.map +1 -1
- package/dist/esm/mcp-server/resources.js.map +1 -1
- package/dist/esm/mcp-server/server.js +1 -1
- package/dist/esm/mcp-server/tools.d.ts +3 -3
- package/dist/esm/mcp-server/tools.d.ts.map +1 -1
- package/dist/esm/mcp-server/tools.js.map +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 +42 -44
- 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 +9 -10
- 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/entitymethod.d.ts +2 -2
- package/dist/esm/models/entitymethod.d.ts.map +1 -1
- package/dist/esm/models/entitymethod.js +2 -2
- package/dist/esm/models/entitymethod.js.map +1 -1
- package/dist/{commonjs/models/listentitymethodall.d.ts → esm/models/entitymethodall.d.ts} +62 -62
- package/dist/esm/models/entitymethodall.d.ts.map +1 -0
- package/dist/esm/models/entitymethodall.js +239 -0
- package/dist/esm/models/entitymethodall.js.map +1 -0
- 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 +2 -17
- package/dist/esm/models/index.d.ts.map +1 -1
- package/dist/esm/models/index.js +2 -17
- package/dist/esm/models/index.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/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/listcaptures.d.ts +2 -2
- package/dist/esm/models/operations/listcaptures.d.ts.map +1 -1
- package/dist/esm/models/operations/listcaptures.js +2 -2
- package/dist/esm/models/operations/listcaptures.js.map +1 -1
- package/dist/esm/models/operations/listclients.d.ts +5 -0
- package/dist/esm/models/operations/listclients.d.ts.map +1 -1
- package/dist/esm/models/operations/listclients.js +2 -0
- 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 -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/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 +2 -4
- 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/listsubscriptions.d.ts +2 -2
- package/dist/esm/models/operations/listsubscriptions.d.ts.map +1 -1
- package/dist/esm/models/operations/listsubscriptions.js +2 -4
- 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 +49 -54
- 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 +9 -8
- package/dist/esm/models/profileresponse.js.map +1 -1
- package/dist/{commonjs/models/listroutegetresponse.d.ts → esm/models/routegetresponse.d.ts} +28 -23
- package/dist/esm/models/routegetresponse.d.ts.map +1 -0
- package/dist/esm/models/routegetresponse.js +78 -0
- package/dist/esm/models/routegetresponse.js.map +1 -0
- 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 +40 -45
- package/dist/esm/models/salesinvoiceresponse.js.map +1 -1
- package/examples/package-lock.json +2 -2
- package/jsr.json +1 -1
- package/package.json +2 -2
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/prompts.ts +7 -3
- package/src/mcp-server/resources.ts +7 -3
- package/src/mcp-server/server.ts +1 -1
- package/src/mcp-server/tools.ts +7 -3
- package/src/models/entitybalance.ts +93 -112
- package/src/models/entitychargeback.ts +20 -29
- package/src/models/entityinvoice.ts +51 -63
- package/src/models/entitymethod.ts +4 -4
- package/src/models/{listentitymethodall.ts → entitymethodall.ts} +139 -143
- package/src/models/entitysettlement.ts +96 -140
- package/src/models/index.ts +2 -17
- package/src/models/operations/listallmethods.ts +4 -4
- package/src/models/operations/listbalances.ts +4 -4
- package/src/models/operations/listcaptures.ts +4 -4
- package/src/models/operations/listclients.ts +7 -0
- 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/listpermissions.ts +4 -4
- package/src/models/operations/listprofiles.ts +4 -4
- package/src/models/operations/listsalesinvoices.ts +4 -6
- 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 +4 -6
- 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 +117 -159
- package/src/models/profileresponse.ts +19 -26
- package/src/models/{listroutegetresponse.ts → routegetresponse.ts} +58 -51
- package/src/models/salesinvoiceresponse.ts +97 -149
- package/dist/commonjs/models/listcustomerresponse.d.ts +0 -107
- package/dist/commonjs/models/listcustomerresponse.d.ts.map +0 -1
- package/dist/commonjs/models/listcustomerresponse.js +0 -112
- package/dist/commonjs/models/listcustomerresponse.js.map +0 -1
- package/dist/commonjs/models/listentitybalance.d.ts +0 -300
- package/dist/commonjs/models/listentitybalance.d.ts.map +0 -1
- package/dist/commonjs/models/listentitybalance.js +0 -245
- package/dist/commonjs/models/listentitybalance.js.map +0 -1
- package/dist/commonjs/models/listentitychargeback.d.ts +0 -175
- package/dist/commonjs/models/listentitychargeback.d.ts.map +0 -1
- package/dist/commonjs/models/listentitychargeback.js +0 -146
- package/dist/commonjs/models/listentitychargeback.js.map +0 -1
- package/dist/commonjs/models/listentityinvoice.d.ts +0 -236
- package/dist/commonjs/models/listentityinvoice.d.ts.map +0 -1
- package/dist/commonjs/models/listentityinvoice.js +0 -202
- package/dist/commonjs/models/listentityinvoice.js.map +0 -1
- package/dist/commonjs/models/listentitymethod.d.ts +0 -319
- package/dist/commonjs/models/listentitymethod.d.ts.map +0 -1
- package/dist/commonjs/models/listentitymethod.js +0 -264
- package/dist/commonjs/models/listentitymethod.js.map +0 -1
- package/dist/commonjs/models/listentitymethodall.d.ts.map +0 -1
- package/dist/commonjs/models/listentitymethodall.js +0 -291
- package/dist/commonjs/models/listentitymethodall.js.map +0 -1
- package/dist/commonjs/models/listentitypermission.d.ts +0 -63
- package/dist/commonjs/models/listentitypermission.d.ts.map +0 -1
- package/dist/commonjs/models/listentitypermission.js +0 -92
- package/dist/commonjs/models/listentitypermission.js.map +0 -1
- package/dist/commonjs/models/listentityrefundresponse.d.ts +0 -256
- package/dist/commonjs/models/listentityrefundresponse.d.ts.map +0 -1
- package/dist/commonjs/models/listentityrefundresponse.js +0 -203
- package/dist/commonjs/models/listentityrefundresponse.js.map +0 -1
- package/dist/commonjs/models/listentitysettlement.d.ts +0 -321
- package/dist/commonjs/models/listentitysettlement.d.ts.map +0 -1
- package/dist/commonjs/models/listentitysettlement.js +0 -248
- package/dist/commonjs/models/listentitysettlement.js.map +0 -1
- package/dist/commonjs/models/listentityterminal.d.ts +0 -130
- package/dist/commonjs/models/listentityterminal.d.ts.map +0 -1
- package/dist/commonjs/models/listentityterminal.js +0 -124
- package/dist/commonjs/models/listentityterminal.js.map +0 -1
- package/dist/commonjs/models/listentitywebhook.d.ts +0 -91
- package/dist/commonjs/models/listentitywebhook.d.ts.map +0 -1
- package/dist/commonjs/models/listentitywebhook.js +0 -105
- package/dist/commonjs/models/listentitywebhook.js.map +0 -1
- package/dist/commonjs/models/listmandateresponse.d.ts +0 -176
- package/dist/commonjs/models/listmandateresponse.d.ts.map +0 -1
- package/dist/commonjs/models/listmandateresponse.js +0 -157
- package/dist/commonjs/models/listmandateresponse.js.map +0 -1
- package/dist/commonjs/models/listpaymentresponse.d.ts +0 -1348
- package/dist/commonjs/models/listpaymentresponse.d.ts.map +0 -1
- package/dist/commonjs/models/listpaymentresponse.js +0 -620
- package/dist/commonjs/models/listpaymentresponse.js.map +0 -1
- package/dist/commonjs/models/listprofileresponse.d.ts +0 -202
- package/dist/commonjs/models/listprofileresponse.d.ts.map +0 -1
- package/dist/commonjs/models/listprofileresponse.js +0 -159
- package/dist/commonjs/models/listprofileresponse.js.map +0 -1
- package/dist/commonjs/models/listroutegetresponse.d.ts.map +0 -1
- package/dist/commonjs/models/listroutegetresponse.js.map +0 -1
- package/dist/commonjs/models/listsalesinvoiceresponse.d.ts +0 -375
- package/dist/commonjs/models/listsalesinvoiceresponse.d.ts.map +0 -1
- package/dist/commonjs/models/listsalesinvoiceresponse.js +0 -267
- package/dist/commonjs/models/listsalesinvoiceresponse.js.map +0 -1
- package/dist/commonjs/models/listsubscriptionresponse.d.ts +0 -249
- package/dist/commonjs/models/listsubscriptionresponse.d.ts.map +0 -1
- package/dist/commonjs/models/listsubscriptionresponse.js +0 -171
- package/dist/commonjs/models/listsubscriptionresponse.js.map +0 -1
- package/dist/esm/models/listcustomerresponse.d.ts +0 -107
- package/dist/esm/models/listcustomerresponse.d.ts.map +0 -1
- package/dist/esm/models/listcustomerresponse.js +0 -72
- package/dist/esm/models/listcustomerresponse.js.map +0 -1
- package/dist/esm/models/listentitybalance.d.ts +0 -300
- package/dist/esm/models/listentitybalance.d.ts.map +0 -1
- package/dist/esm/models/listentitybalance.js +0 -197
- package/dist/esm/models/listentitybalance.js.map +0 -1
- package/dist/esm/models/listentitychargeback.d.ts +0 -175
- package/dist/esm/models/listentitychargeback.d.ts.map +0 -1
- package/dist/esm/models/listentitychargeback.js +0 -102
- package/dist/esm/models/listentitychargeback.js.map +0 -1
- package/dist/esm/models/listentityinvoice.d.ts +0 -236
- package/dist/esm/models/listentityinvoice.d.ts.map +0 -1
- package/dist/esm/models/listentityinvoice.js +0 -154
- package/dist/esm/models/listentityinvoice.js.map +0 -1
- package/dist/esm/models/listentitymethod.d.ts +0 -319
- package/dist/esm/models/listentitymethod.d.ts.map +0 -1
- package/dist/esm/models/listentitymethod.js +0 -214
- package/dist/esm/models/listentitymethod.js.map +0 -1
- package/dist/esm/models/listentitymethodall.d.ts.map +0 -1
- package/dist/esm/models/listentitymethodall.js +0 -239
- package/dist/esm/models/listentitymethodall.js.map +0 -1
- package/dist/esm/models/listentitypermission.d.ts +0 -63
- package/dist/esm/models/listentitypermission.d.ts.map +0 -1
- package/dist/esm/models/listentitypermission.js +0 -52
- package/dist/esm/models/listentitypermission.js.map +0 -1
- package/dist/esm/models/listentityrefundresponse.d.ts +0 -256
- package/dist/esm/models/listentityrefundresponse.d.ts.map +0 -1
- package/dist/esm/models/listentityrefundresponse.js +0 -155
- package/dist/esm/models/listentityrefundresponse.js.map +0 -1
- package/dist/esm/models/listentitysettlement.d.ts +0 -321
- package/dist/esm/models/listentitysettlement.d.ts.map +0 -1
- package/dist/esm/models/listentitysettlement.js +0 -198
- package/dist/esm/models/listentitysettlement.js.map +0 -1
- package/dist/esm/models/listentityterminal.d.ts +0 -130
- package/dist/esm/models/listentityterminal.d.ts.map +0 -1
- package/dist/esm/models/listentityterminal.js +0 -84
- package/dist/esm/models/listentityterminal.js.map +0 -1
- package/dist/esm/models/listentitywebhook.d.ts +0 -91
- package/dist/esm/models/listentitywebhook.d.ts.map +0 -1
- package/dist/esm/models/listentitywebhook.js +0 -65
- package/dist/esm/models/listentitywebhook.js.map +0 -1
- package/dist/esm/models/listmandateresponse.d.ts +0 -176
- package/dist/esm/models/listmandateresponse.d.ts.map +0 -1
- package/dist/esm/models/listmandateresponse.js +0 -115
- package/dist/esm/models/listmandateresponse.js.map +0 -1
- package/dist/esm/models/listpaymentresponse.d.ts +0 -1348
- package/dist/esm/models/listpaymentresponse.d.ts.map +0 -1
- package/dist/esm/models/listpaymentresponse.js +0 -558
- package/dist/esm/models/listpaymentresponse.js.map +0 -1
- package/dist/esm/models/listprofileresponse.d.ts +0 -202
- package/dist/esm/models/listprofileresponse.d.ts.map +0 -1
- package/dist/esm/models/listprofileresponse.js +0 -117
- package/dist/esm/models/listprofileresponse.js.map +0 -1
- package/dist/esm/models/listroutegetresponse.d.ts.map +0 -1
- package/dist/esm/models/listroutegetresponse.js +0 -76
- package/dist/esm/models/listroutegetresponse.js.map +0 -1
- package/dist/esm/models/listsalesinvoiceresponse.d.ts +0 -375
- package/dist/esm/models/listsalesinvoiceresponse.d.ts.map +0 -1
- package/dist/esm/models/listsalesinvoiceresponse.js +0 -215
- package/dist/esm/models/listsalesinvoiceresponse.js.map +0 -1
- package/dist/esm/models/listsubscriptionresponse.d.ts +0 -249
- package/dist/esm/models/listsubscriptionresponse.d.ts.map +0 -1
- package/dist/esm/models/listsubscriptionresponse.js +0 -129
- package/dist/esm/models/listsubscriptionresponse.js.map +0 -1
- package/src/models/listcustomerresponse.ts +0 -223
- package/src/models/listentitybalance.ts +0 -598
- package/src/models/listentitychargeback.ts +0 -361
- package/src/models/listentityinvoice.ts +0 -492
- package/src/models/listentitymethod.ts +0 -608
- package/src/models/listentitypermission.ts +0 -149
- package/src/models/listentityrefundresponse.ts +0 -585
- package/src/models/listentitysettlement.ts +0 -651
- package/src/models/listentityterminal.ts +0 -253
- package/src/models/listentitywebhook.ts +0 -195
- package/src/models/listmandateresponse.ts +0 -343
- package/src/models/listpaymentresponse.ts +0 -2225
- package/src/models/listprofileresponse.ts +0 -365
- package/src/models/listsalesinvoiceresponse.ts +0 -799
- package/src/models/listsubscriptionresponse.ts +0 -447
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
* @remarks
|
|
34
34
|
* method selection screen will be skipped.
|
|
35
35
|
*/
|
|
36
|
-
export const
|
|
36
|
+
export const EntityMethodAllId = {
|
|
37
37
|
Alma: "alma",
|
|
38
38
|
Applepay: "applepay",
|
|
39
39
|
Bacs: "bacs",
|
|
@@ -91,12 +91,12 @@ export const ListEntityMethodAllId = {
|
|
|
91
91
|
* @remarks
|
|
92
92
|
* method selection screen will be skipped.
|
|
93
93
|
*/
|
|
94
|
-
export type
|
|
94
|
+
export type EntityMethodAllId = OpenEnum<typeof EntityMethodAllId>;
|
|
95
95
|
|
|
96
96
|
/**
|
|
97
97
|
* The minimum payment amount required to use this payment method.
|
|
98
98
|
*/
|
|
99
|
-
export type
|
|
99
|
+
export type EntityMethodAllMinimumAmount = {
|
|
100
100
|
/**
|
|
101
101
|
* A three-character ISO 4217 currency code.
|
|
102
102
|
*/
|
|
@@ -113,7 +113,7 @@ export type ListEntityMethodAllMinimumAmount = {
|
|
|
113
113
|
* @remarks
|
|
114
114
|
* is returned instead.
|
|
115
115
|
*/
|
|
116
|
-
export type
|
|
116
|
+
export type EntityMethodAllMaximumAmount = {
|
|
117
117
|
/**
|
|
118
118
|
* A three-character ISO 4217 currency code.
|
|
119
119
|
*/
|
|
@@ -127,7 +127,7 @@ export type ListEntityMethodAllMaximumAmount = {
|
|
|
127
127
|
/**
|
|
128
128
|
* URLs of images representing the payment method.
|
|
129
129
|
*/
|
|
130
|
-
export type
|
|
130
|
+
export type EntityMethodAllImage = {
|
|
131
131
|
/**
|
|
132
132
|
* The URL pointing to an icon of 32 by 24 pixels.
|
|
133
133
|
*/
|
|
@@ -154,7 +154,7 @@ export type ListEntityMethodAllImage = {
|
|
|
154
154
|
* - size2x
|
|
155
155
|
* - svg
|
|
156
156
|
*/
|
|
157
|
-
export type
|
|
157
|
+
export type EntityMethodAllIssuerImage = {
|
|
158
158
|
/**
|
|
159
159
|
* The URL pointing to an icon of 32 by 24 pixels.
|
|
160
160
|
*/
|
|
@@ -172,7 +172,7 @@ export type ListEntityMethodAllIssuerImage = {
|
|
|
172
172
|
svg?: string | undefined;
|
|
173
173
|
};
|
|
174
174
|
|
|
175
|
-
export type
|
|
175
|
+
export type EntityMethodAllIssuer = {
|
|
176
176
|
resource: string;
|
|
177
177
|
id: string;
|
|
178
178
|
/**
|
|
@@ -188,13 +188,13 @@ export type ListEntityMethodAllIssuer = {
|
|
|
188
188
|
* - size2x
|
|
189
189
|
* - svg
|
|
190
190
|
*/
|
|
191
|
-
image:
|
|
191
|
+
image: EntityMethodAllIssuerImage;
|
|
192
192
|
};
|
|
193
193
|
|
|
194
194
|
/**
|
|
195
195
|
* An object with several relevant URLs. Every URL object will contain an `href` and a `type` field.
|
|
196
196
|
*/
|
|
197
|
-
export type
|
|
197
|
+
export type EntityMethodAllLinks = {
|
|
198
198
|
/**
|
|
199
199
|
* In v2 endpoints, URLs are commonly represented as objects with an `href` and `type` field.
|
|
200
200
|
*/
|
|
@@ -230,7 +230,7 @@ export type Pricing = {
|
|
|
230
230
|
feeRegion?: string | null | undefined;
|
|
231
231
|
};
|
|
232
232
|
|
|
233
|
-
export type
|
|
233
|
+
export type EntityMethodAll = {
|
|
234
234
|
/**
|
|
235
235
|
* Indicates the response contains a payment method object. Will always contain the string `method` for this
|
|
236
236
|
*
|
|
@@ -244,7 +244,7 @@ export type ListEntityMethodAll = {
|
|
|
244
244
|
* @remarks
|
|
245
245
|
* method selection screen will be skipped.
|
|
246
246
|
*/
|
|
247
|
-
id:
|
|
247
|
+
id: EntityMethodAllId | null;
|
|
248
248
|
/**
|
|
249
249
|
* The full name of the payment method.
|
|
250
250
|
*
|
|
@@ -256,33 +256,33 @@ export type ListEntityMethodAll = {
|
|
|
256
256
|
/**
|
|
257
257
|
* The minimum payment amount required to use this payment method.
|
|
258
258
|
*/
|
|
259
|
-
minimumAmount:
|
|
259
|
+
minimumAmount: EntityMethodAllMinimumAmount;
|
|
260
260
|
/**
|
|
261
261
|
* The maximum payment amount allowed when using this payment method. If there is no method-specific maximum, `null`
|
|
262
262
|
*
|
|
263
263
|
* @remarks
|
|
264
264
|
* is returned instead.
|
|
265
265
|
*/
|
|
266
|
-
maximumAmount:
|
|
266
|
+
maximumAmount: EntityMethodAllMaximumAmount | null;
|
|
267
267
|
/**
|
|
268
268
|
* URLs of images representing the payment method.
|
|
269
269
|
*/
|
|
270
|
-
image:
|
|
270
|
+
image: EntityMethodAllImage;
|
|
271
271
|
/**
|
|
272
272
|
* The payment method's activation status for this profile.
|
|
273
273
|
*/
|
|
274
|
-
status: MethodStatus;
|
|
274
|
+
status: MethodStatus | null;
|
|
275
275
|
/**
|
|
276
276
|
* **Optional include.** Array of objects for each 'issuer' that is available for this payment method. Only relevant
|
|
277
277
|
*
|
|
278
278
|
* @remarks
|
|
279
279
|
* for iDEAL, KBC/CBC, gift cards, and vouchers.
|
|
280
280
|
*/
|
|
281
|
-
issuers?: Array<
|
|
281
|
+
issuers?: Array<EntityMethodAllIssuer> | undefined;
|
|
282
282
|
/**
|
|
283
283
|
* An object with several relevant URLs. Every URL object will contain an `href` and a `type` field.
|
|
284
284
|
*/
|
|
285
|
-
links:
|
|
285
|
+
links: EntityMethodAllLinks;
|
|
286
286
|
/**
|
|
287
287
|
* **Optional include.** Array of objects describing the pricing configuration applicable for this payment method on
|
|
288
288
|
*
|
|
@@ -293,21 +293,21 @@ export type ListEntityMethodAll = {
|
|
|
293
293
|
};
|
|
294
294
|
|
|
295
295
|
/** @internal */
|
|
296
|
-
export const
|
|
297
|
-
|
|
296
|
+
export const EntityMethodAllId$inboundSchema: z.ZodType<
|
|
297
|
+
EntityMethodAllId,
|
|
298
298
|
z.ZodTypeDef,
|
|
299
299
|
unknown
|
|
300
|
-
> = openEnums.inboundSchema(
|
|
300
|
+
> = openEnums.inboundSchema(EntityMethodAllId);
|
|
301
301
|
/** @internal */
|
|
302
|
-
export const
|
|
302
|
+
export const EntityMethodAllId$outboundSchema: z.ZodType<
|
|
303
303
|
string,
|
|
304
304
|
z.ZodTypeDef,
|
|
305
|
-
|
|
306
|
-
> = openEnums.outboundSchema(
|
|
305
|
+
EntityMethodAllId
|
|
306
|
+
> = openEnums.outboundSchema(EntityMethodAllId);
|
|
307
307
|
|
|
308
308
|
/** @internal */
|
|
309
|
-
export const
|
|
310
|
-
|
|
309
|
+
export const EntityMethodAllMinimumAmount$inboundSchema: z.ZodType<
|
|
310
|
+
EntityMethodAllMinimumAmount,
|
|
311
311
|
z.ZodTypeDef,
|
|
312
312
|
unknown
|
|
313
313
|
> = z.object({
|
|
@@ -315,43 +315,43 @@ export const ListEntityMethodAllMinimumAmount$inboundSchema: z.ZodType<
|
|
|
315
315
|
value: z.string(),
|
|
316
316
|
});
|
|
317
317
|
/** @internal */
|
|
318
|
-
export type
|
|
318
|
+
export type EntityMethodAllMinimumAmount$Outbound = {
|
|
319
319
|
currency: string;
|
|
320
320
|
value: string;
|
|
321
321
|
};
|
|
322
322
|
|
|
323
323
|
/** @internal */
|
|
324
|
-
export const
|
|
325
|
-
|
|
324
|
+
export const EntityMethodAllMinimumAmount$outboundSchema: z.ZodType<
|
|
325
|
+
EntityMethodAllMinimumAmount$Outbound,
|
|
326
326
|
z.ZodTypeDef,
|
|
327
|
-
|
|
327
|
+
EntityMethodAllMinimumAmount
|
|
328
328
|
> = z.object({
|
|
329
329
|
currency: z.string(),
|
|
330
330
|
value: z.string(),
|
|
331
331
|
});
|
|
332
332
|
|
|
333
|
-
export function
|
|
334
|
-
|
|
333
|
+
export function entityMethodAllMinimumAmountToJSON(
|
|
334
|
+
entityMethodAllMinimumAmount: EntityMethodAllMinimumAmount,
|
|
335
335
|
): string {
|
|
336
336
|
return JSON.stringify(
|
|
337
|
-
|
|
338
|
-
|
|
337
|
+
EntityMethodAllMinimumAmount$outboundSchema.parse(
|
|
338
|
+
entityMethodAllMinimumAmount,
|
|
339
339
|
),
|
|
340
340
|
);
|
|
341
341
|
}
|
|
342
|
-
export function
|
|
342
|
+
export function entityMethodAllMinimumAmountFromJSON(
|
|
343
343
|
jsonString: string,
|
|
344
|
-
): SafeParseResult<
|
|
344
|
+
): SafeParseResult<EntityMethodAllMinimumAmount, SDKValidationError> {
|
|
345
345
|
return safeParse(
|
|
346
346
|
jsonString,
|
|
347
|
-
(x) =>
|
|
348
|
-
`Failed to parse '
|
|
347
|
+
(x) => EntityMethodAllMinimumAmount$inboundSchema.parse(JSON.parse(x)),
|
|
348
|
+
`Failed to parse 'EntityMethodAllMinimumAmount' from JSON`,
|
|
349
349
|
);
|
|
350
350
|
}
|
|
351
351
|
|
|
352
352
|
/** @internal */
|
|
353
|
-
export const
|
|
354
|
-
|
|
353
|
+
export const EntityMethodAllMaximumAmount$inboundSchema: z.ZodType<
|
|
354
|
+
EntityMethodAllMaximumAmount,
|
|
355
355
|
z.ZodTypeDef,
|
|
356
356
|
unknown
|
|
357
357
|
> = z.object({
|
|
@@ -359,43 +359,43 @@ export const ListEntityMethodAllMaximumAmount$inboundSchema: z.ZodType<
|
|
|
359
359
|
value: z.string(),
|
|
360
360
|
});
|
|
361
361
|
/** @internal */
|
|
362
|
-
export type
|
|
362
|
+
export type EntityMethodAllMaximumAmount$Outbound = {
|
|
363
363
|
currency: string;
|
|
364
364
|
value: string;
|
|
365
365
|
};
|
|
366
366
|
|
|
367
367
|
/** @internal */
|
|
368
|
-
export const
|
|
369
|
-
|
|
368
|
+
export const EntityMethodAllMaximumAmount$outboundSchema: z.ZodType<
|
|
369
|
+
EntityMethodAllMaximumAmount$Outbound,
|
|
370
370
|
z.ZodTypeDef,
|
|
371
|
-
|
|
371
|
+
EntityMethodAllMaximumAmount
|
|
372
372
|
> = z.object({
|
|
373
373
|
currency: z.string(),
|
|
374
374
|
value: z.string(),
|
|
375
375
|
});
|
|
376
376
|
|
|
377
|
-
export function
|
|
378
|
-
|
|
377
|
+
export function entityMethodAllMaximumAmountToJSON(
|
|
378
|
+
entityMethodAllMaximumAmount: EntityMethodAllMaximumAmount,
|
|
379
379
|
): string {
|
|
380
380
|
return JSON.stringify(
|
|
381
|
-
|
|
382
|
-
|
|
381
|
+
EntityMethodAllMaximumAmount$outboundSchema.parse(
|
|
382
|
+
entityMethodAllMaximumAmount,
|
|
383
383
|
),
|
|
384
384
|
);
|
|
385
385
|
}
|
|
386
|
-
export function
|
|
386
|
+
export function entityMethodAllMaximumAmountFromJSON(
|
|
387
387
|
jsonString: string,
|
|
388
|
-
): SafeParseResult<
|
|
388
|
+
): SafeParseResult<EntityMethodAllMaximumAmount, SDKValidationError> {
|
|
389
389
|
return safeParse(
|
|
390
390
|
jsonString,
|
|
391
|
-
(x) =>
|
|
392
|
-
`Failed to parse '
|
|
391
|
+
(x) => EntityMethodAllMaximumAmount$inboundSchema.parse(JSON.parse(x)),
|
|
392
|
+
`Failed to parse 'EntityMethodAllMaximumAmount' from JSON`,
|
|
393
393
|
);
|
|
394
394
|
}
|
|
395
395
|
|
|
396
396
|
/** @internal */
|
|
397
|
-
export const
|
|
398
|
-
|
|
397
|
+
export const EntityMethodAllImage$inboundSchema: z.ZodType<
|
|
398
|
+
EntityMethodAllImage,
|
|
399
399
|
z.ZodTypeDef,
|
|
400
400
|
unknown
|
|
401
401
|
> = z.object({
|
|
@@ -404,43 +404,43 @@ export const ListEntityMethodAllImage$inboundSchema: z.ZodType<
|
|
|
404
404
|
svg: z.string(),
|
|
405
405
|
});
|
|
406
406
|
/** @internal */
|
|
407
|
-
export type
|
|
407
|
+
export type EntityMethodAllImage$Outbound = {
|
|
408
408
|
size1x: string;
|
|
409
409
|
size2x: string;
|
|
410
410
|
svg: string;
|
|
411
411
|
};
|
|
412
412
|
|
|
413
413
|
/** @internal */
|
|
414
|
-
export const
|
|
415
|
-
|
|
414
|
+
export const EntityMethodAllImage$outboundSchema: z.ZodType<
|
|
415
|
+
EntityMethodAllImage$Outbound,
|
|
416
416
|
z.ZodTypeDef,
|
|
417
|
-
|
|
417
|
+
EntityMethodAllImage
|
|
418
418
|
> = z.object({
|
|
419
419
|
size1x: z.string(),
|
|
420
420
|
size2x: z.string(),
|
|
421
421
|
svg: z.string(),
|
|
422
422
|
});
|
|
423
423
|
|
|
424
|
-
export function
|
|
425
|
-
|
|
424
|
+
export function entityMethodAllImageToJSON(
|
|
425
|
+
entityMethodAllImage: EntityMethodAllImage,
|
|
426
426
|
): string {
|
|
427
427
|
return JSON.stringify(
|
|
428
|
-
|
|
428
|
+
EntityMethodAllImage$outboundSchema.parse(entityMethodAllImage),
|
|
429
429
|
);
|
|
430
430
|
}
|
|
431
|
-
export function
|
|
431
|
+
export function entityMethodAllImageFromJSON(
|
|
432
432
|
jsonString: string,
|
|
433
|
-
): SafeParseResult<
|
|
433
|
+
): SafeParseResult<EntityMethodAllImage, SDKValidationError> {
|
|
434
434
|
return safeParse(
|
|
435
435
|
jsonString,
|
|
436
|
-
(x) =>
|
|
437
|
-
`Failed to parse '
|
|
436
|
+
(x) => EntityMethodAllImage$inboundSchema.parse(JSON.parse(x)),
|
|
437
|
+
`Failed to parse 'EntityMethodAllImage' from JSON`,
|
|
438
438
|
);
|
|
439
439
|
}
|
|
440
440
|
|
|
441
441
|
/** @internal */
|
|
442
|
-
export const
|
|
443
|
-
|
|
442
|
+
export const EntityMethodAllIssuerImage$inboundSchema: z.ZodType<
|
|
443
|
+
EntityMethodAllIssuerImage,
|
|
444
444
|
z.ZodTypeDef,
|
|
445
445
|
unknown
|
|
446
446
|
> = z.object({
|
|
@@ -449,93 +449,91 @@ export const ListEntityMethodAllIssuerImage$inboundSchema: z.ZodType<
|
|
|
449
449
|
svg: z.string().optional(),
|
|
450
450
|
});
|
|
451
451
|
/** @internal */
|
|
452
|
-
export type
|
|
452
|
+
export type EntityMethodAllIssuerImage$Outbound = {
|
|
453
453
|
size1x?: string | undefined;
|
|
454
454
|
size2x?: string | undefined;
|
|
455
455
|
svg?: string | undefined;
|
|
456
456
|
};
|
|
457
457
|
|
|
458
458
|
/** @internal */
|
|
459
|
-
export const
|
|
460
|
-
|
|
459
|
+
export const EntityMethodAllIssuerImage$outboundSchema: z.ZodType<
|
|
460
|
+
EntityMethodAllIssuerImage$Outbound,
|
|
461
461
|
z.ZodTypeDef,
|
|
462
|
-
|
|
462
|
+
EntityMethodAllIssuerImage
|
|
463
463
|
> = z.object({
|
|
464
464
|
size1x: z.string().optional(),
|
|
465
465
|
size2x: z.string().optional(),
|
|
466
466
|
svg: z.string().optional(),
|
|
467
467
|
});
|
|
468
468
|
|
|
469
|
-
export function
|
|
470
|
-
|
|
469
|
+
export function entityMethodAllIssuerImageToJSON(
|
|
470
|
+
entityMethodAllIssuerImage: EntityMethodAllIssuerImage,
|
|
471
471
|
): string {
|
|
472
472
|
return JSON.stringify(
|
|
473
|
-
|
|
474
|
-
listEntityMethodAllIssuerImage,
|
|
475
|
-
),
|
|
473
|
+
EntityMethodAllIssuerImage$outboundSchema.parse(entityMethodAllIssuerImage),
|
|
476
474
|
);
|
|
477
475
|
}
|
|
478
|
-
export function
|
|
476
|
+
export function entityMethodAllIssuerImageFromJSON(
|
|
479
477
|
jsonString: string,
|
|
480
|
-
): SafeParseResult<
|
|
478
|
+
): SafeParseResult<EntityMethodAllIssuerImage, SDKValidationError> {
|
|
481
479
|
return safeParse(
|
|
482
480
|
jsonString,
|
|
483
|
-
(x) =>
|
|
484
|
-
`Failed to parse '
|
|
481
|
+
(x) => EntityMethodAllIssuerImage$inboundSchema.parse(JSON.parse(x)),
|
|
482
|
+
`Failed to parse 'EntityMethodAllIssuerImage' from JSON`,
|
|
485
483
|
);
|
|
486
484
|
}
|
|
487
485
|
|
|
488
486
|
/** @internal */
|
|
489
|
-
export const
|
|
490
|
-
|
|
487
|
+
export const EntityMethodAllIssuer$inboundSchema: z.ZodType<
|
|
488
|
+
EntityMethodAllIssuer,
|
|
491
489
|
z.ZodTypeDef,
|
|
492
490
|
unknown
|
|
493
491
|
> = z.object({
|
|
494
492
|
resource: z.string(),
|
|
495
493
|
id: z.string(),
|
|
496
494
|
name: z.string(),
|
|
497
|
-
image: z.lazy(() =>
|
|
495
|
+
image: z.lazy(() => EntityMethodAllIssuerImage$inboundSchema),
|
|
498
496
|
});
|
|
499
497
|
/** @internal */
|
|
500
|
-
export type
|
|
498
|
+
export type EntityMethodAllIssuer$Outbound = {
|
|
501
499
|
resource: string;
|
|
502
500
|
id: string;
|
|
503
501
|
name: string;
|
|
504
|
-
image:
|
|
502
|
+
image: EntityMethodAllIssuerImage$Outbound;
|
|
505
503
|
};
|
|
506
504
|
|
|
507
505
|
/** @internal */
|
|
508
|
-
export const
|
|
509
|
-
|
|
506
|
+
export const EntityMethodAllIssuer$outboundSchema: z.ZodType<
|
|
507
|
+
EntityMethodAllIssuer$Outbound,
|
|
510
508
|
z.ZodTypeDef,
|
|
511
|
-
|
|
509
|
+
EntityMethodAllIssuer
|
|
512
510
|
> = z.object({
|
|
513
511
|
resource: z.string(),
|
|
514
512
|
id: z.string(),
|
|
515
513
|
name: z.string(),
|
|
516
|
-
image: z.lazy(() =>
|
|
514
|
+
image: z.lazy(() => EntityMethodAllIssuerImage$outboundSchema),
|
|
517
515
|
});
|
|
518
516
|
|
|
519
|
-
export function
|
|
520
|
-
|
|
517
|
+
export function entityMethodAllIssuerToJSON(
|
|
518
|
+
entityMethodAllIssuer: EntityMethodAllIssuer,
|
|
521
519
|
): string {
|
|
522
520
|
return JSON.stringify(
|
|
523
|
-
|
|
521
|
+
EntityMethodAllIssuer$outboundSchema.parse(entityMethodAllIssuer),
|
|
524
522
|
);
|
|
525
523
|
}
|
|
526
|
-
export function
|
|
524
|
+
export function entityMethodAllIssuerFromJSON(
|
|
527
525
|
jsonString: string,
|
|
528
|
-
): SafeParseResult<
|
|
526
|
+
): SafeParseResult<EntityMethodAllIssuer, SDKValidationError> {
|
|
529
527
|
return safeParse(
|
|
530
528
|
jsonString,
|
|
531
|
-
(x) =>
|
|
532
|
-
`Failed to parse '
|
|
529
|
+
(x) => EntityMethodAllIssuer$inboundSchema.parse(JSON.parse(x)),
|
|
530
|
+
`Failed to parse 'EntityMethodAllIssuer' from JSON`,
|
|
533
531
|
);
|
|
534
532
|
}
|
|
535
533
|
|
|
536
534
|
/** @internal */
|
|
537
|
-
export const
|
|
538
|
-
|
|
535
|
+
export const EntityMethodAllLinks$inboundSchema: z.ZodType<
|
|
536
|
+
EntityMethodAllLinks,
|
|
539
537
|
z.ZodTypeDef,
|
|
540
538
|
unknown
|
|
541
539
|
> = z.object({
|
|
@@ -543,35 +541,35 @@ export const ListEntityMethodAllLinks$inboundSchema: z.ZodType<
|
|
|
543
541
|
documentation: Url$inboundSchema.optional(),
|
|
544
542
|
});
|
|
545
543
|
/** @internal */
|
|
546
|
-
export type
|
|
544
|
+
export type EntityMethodAllLinks$Outbound = {
|
|
547
545
|
self: Url$Outbound;
|
|
548
546
|
documentation?: Url$Outbound | undefined;
|
|
549
547
|
};
|
|
550
548
|
|
|
551
549
|
/** @internal */
|
|
552
|
-
export const
|
|
553
|
-
|
|
550
|
+
export const EntityMethodAllLinks$outboundSchema: z.ZodType<
|
|
551
|
+
EntityMethodAllLinks$Outbound,
|
|
554
552
|
z.ZodTypeDef,
|
|
555
|
-
|
|
553
|
+
EntityMethodAllLinks
|
|
556
554
|
> = z.object({
|
|
557
555
|
self: Url$outboundSchema,
|
|
558
556
|
documentation: Url$outboundSchema.optional(),
|
|
559
557
|
});
|
|
560
558
|
|
|
561
|
-
export function
|
|
562
|
-
|
|
559
|
+
export function entityMethodAllLinksToJSON(
|
|
560
|
+
entityMethodAllLinks: EntityMethodAllLinks,
|
|
563
561
|
): string {
|
|
564
562
|
return JSON.stringify(
|
|
565
|
-
|
|
563
|
+
EntityMethodAllLinks$outboundSchema.parse(entityMethodAllLinks),
|
|
566
564
|
);
|
|
567
565
|
}
|
|
568
|
-
export function
|
|
566
|
+
export function entityMethodAllLinksFromJSON(
|
|
569
567
|
jsonString: string,
|
|
570
|
-
): SafeParseResult<
|
|
568
|
+
): SafeParseResult<EntityMethodAllLinks, SDKValidationError> {
|
|
571
569
|
return safeParse(
|
|
572
570
|
jsonString,
|
|
573
|
-
(x) =>
|
|
574
|
-
`Failed to parse '
|
|
571
|
+
(x) => EntityMethodAllLinks$inboundSchema.parse(JSON.parse(x)),
|
|
572
|
+
`Failed to parse 'EntityMethodAllLinks' from JSON`,
|
|
575
573
|
);
|
|
576
574
|
}
|
|
577
575
|
|
|
@@ -617,23 +615,23 @@ export function pricingFromJSON(
|
|
|
617
615
|
}
|
|
618
616
|
|
|
619
617
|
/** @internal */
|
|
620
|
-
export const
|
|
621
|
-
|
|
618
|
+
export const EntityMethodAll$inboundSchema: z.ZodType<
|
|
619
|
+
EntityMethodAll,
|
|
622
620
|
z.ZodTypeDef,
|
|
623
621
|
unknown
|
|
624
622
|
> = z.object({
|
|
625
623
|
resource: z.string(),
|
|
626
|
-
id: z.nullable(
|
|
624
|
+
id: z.nullable(EntityMethodAllId$inboundSchema),
|
|
627
625
|
description: z.string(),
|
|
628
|
-
minimumAmount: z.lazy(() =>
|
|
626
|
+
minimumAmount: z.lazy(() => EntityMethodAllMinimumAmount$inboundSchema),
|
|
629
627
|
maximumAmount: z.nullable(
|
|
630
|
-
z.lazy(() =>
|
|
628
|
+
z.lazy(() => EntityMethodAllMaximumAmount$inboundSchema),
|
|
631
629
|
),
|
|
632
|
-
image: z.lazy(() =>
|
|
633
|
-
status: MethodStatus$inboundSchema,
|
|
634
|
-
issuers: z.array(z.lazy(() =>
|
|
630
|
+
image: z.lazy(() => EntityMethodAllImage$inboundSchema),
|
|
631
|
+
status: z.nullable(MethodStatus$inboundSchema),
|
|
632
|
+
issuers: z.array(z.lazy(() => EntityMethodAllIssuer$inboundSchema))
|
|
635
633
|
.optional(),
|
|
636
|
-
_links: z.lazy(() =>
|
|
634
|
+
_links: z.lazy(() => EntityMethodAllLinks$inboundSchema),
|
|
637
635
|
pricing: z.array(z.lazy(() => Pricing$inboundSchema)).optional(),
|
|
638
636
|
}).transform((v) => {
|
|
639
637
|
return remap$(v, {
|
|
@@ -641,37 +639,37 @@ export const ListEntityMethodAll$inboundSchema: z.ZodType<
|
|
|
641
639
|
});
|
|
642
640
|
});
|
|
643
641
|
/** @internal */
|
|
644
|
-
export type
|
|
642
|
+
export type EntityMethodAll$Outbound = {
|
|
645
643
|
resource: string;
|
|
646
644
|
id: string | null;
|
|
647
645
|
description: string;
|
|
648
|
-
minimumAmount:
|
|
649
|
-
maximumAmount:
|
|
650
|
-
image:
|
|
651
|
-
status: string;
|
|
652
|
-
issuers?: Array<
|
|
653
|
-
_links:
|
|
646
|
+
minimumAmount: EntityMethodAllMinimumAmount$Outbound;
|
|
647
|
+
maximumAmount: EntityMethodAllMaximumAmount$Outbound | null;
|
|
648
|
+
image: EntityMethodAllImage$Outbound;
|
|
649
|
+
status: string | null;
|
|
650
|
+
issuers?: Array<EntityMethodAllIssuer$Outbound> | undefined;
|
|
651
|
+
_links: EntityMethodAllLinks$Outbound;
|
|
654
652
|
pricing?: Array<Pricing$Outbound> | undefined;
|
|
655
653
|
};
|
|
656
654
|
|
|
657
655
|
/** @internal */
|
|
658
|
-
export const
|
|
659
|
-
|
|
656
|
+
export const EntityMethodAll$outboundSchema: z.ZodType<
|
|
657
|
+
EntityMethodAll$Outbound,
|
|
660
658
|
z.ZodTypeDef,
|
|
661
|
-
|
|
659
|
+
EntityMethodAll
|
|
662
660
|
> = z.object({
|
|
663
661
|
resource: z.string(),
|
|
664
|
-
id: z.nullable(
|
|
662
|
+
id: z.nullable(EntityMethodAllId$outboundSchema),
|
|
665
663
|
description: z.string(),
|
|
666
|
-
minimumAmount: z.lazy(() =>
|
|
664
|
+
minimumAmount: z.lazy(() => EntityMethodAllMinimumAmount$outboundSchema),
|
|
667
665
|
maximumAmount: z.nullable(
|
|
668
|
-
z.lazy(() =>
|
|
666
|
+
z.lazy(() => EntityMethodAllMaximumAmount$outboundSchema),
|
|
669
667
|
),
|
|
670
|
-
image: z.lazy(() =>
|
|
671
|
-
status: MethodStatus$outboundSchema,
|
|
672
|
-
issuers: z.array(z.lazy(() =>
|
|
668
|
+
image: z.lazy(() => EntityMethodAllImage$outboundSchema),
|
|
669
|
+
status: z.nullable(MethodStatus$outboundSchema),
|
|
670
|
+
issuers: z.array(z.lazy(() => EntityMethodAllIssuer$outboundSchema))
|
|
673
671
|
.optional(),
|
|
674
|
-
links: z.lazy(() =>
|
|
672
|
+
links: z.lazy(() => EntityMethodAllLinks$outboundSchema),
|
|
675
673
|
pricing: z.array(z.lazy(() => Pricing$outboundSchema)).optional(),
|
|
676
674
|
}).transform((v) => {
|
|
677
675
|
return remap$(v, {
|
|
@@ -679,19 +677,17 @@ export const ListEntityMethodAll$outboundSchema: z.ZodType<
|
|
|
679
677
|
});
|
|
680
678
|
});
|
|
681
679
|
|
|
682
|
-
export function
|
|
683
|
-
|
|
680
|
+
export function entityMethodAllToJSON(
|
|
681
|
+
entityMethodAll: EntityMethodAll,
|
|
684
682
|
): string {
|
|
685
|
-
return JSON.stringify(
|
|
686
|
-
ListEntityMethodAll$outboundSchema.parse(listEntityMethodAll),
|
|
687
|
-
);
|
|
683
|
+
return JSON.stringify(EntityMethodAll$outboundSchema.parse(entityMethodAll));
|
|
688
684
|
}
|
|
689
|
-
export function
|
|
685
|
+
export function entityMethodAllFromJSON(
|
|
690
686
|
jsonString: string,
|
|
691
|
-
): SafeParseResult<
|
|
687
|
+
): SafeParseResult<EntityMethodAll, SDKValidationError> {
|
|
692
688
|
return safeParse(
|
|
693
689
|
jsonString,
|
|
694
|
-
(x) =>
|
|
695
|
-
`Failed to parse '
|
|
690
|
+
(x) => EntityMethodAll$inboundSchema.parse(JSON.parse(x)),
|
|
691
|
+
`Failed to parse 'EntityMethodAll' from JSON`,
|
|
696
692
|
);
|
|
697
693
|
}
|