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
|
@@ -147,7 +147,7 @@ import {
|
|
|
147
147
|
* payment methods, this amount may be higher than the payment amount, for example to allow reimbursement of the
|
|
148
148
|
* costs for a return shipment to the customer.
|
|
149
149
|
*/
|
|
150
|
-
export type
|
|
150
|
+
export type AmountRefunded = {
|
|
151
151
|
/**
|
|
152
152
|
* A three-character ISO 4217 currency code.
|
|
153
153
|
*/
|
|
@@ -161,7 +161,7 @@ export type PaymentResponseAmountRefunded = {
|
|
|
161
161
|
/**
|
|
162
162
|
* The remaining amount that can be refunded. Only available when refunds are available for this payment.
|
|
163
163
|
*/
|
|
164
|
-
export type
|
|
164
|
+
export type AmountRemaining = {
|
|
165
165
|
/**
|
|
166
166
|
* A three-character ISO 4217 currency code.
|
|
167
167
|
*/
|
|
@@ -175,7 +175,7 @@ export type PaymentResponseAmountRemaining = {
|
|
|
175
175
|
/**
|
|
176
176
|
* The total amount that is already captured for this payment. Only available when this payment supports captures.
|
|
177
177
|
*/
|
|
178
|
-
export type
|
|
178
|
+
export type AmountCaptured = {
|
|
179
179
|
/**
|
|
180
180
|
* A three-character ISO 4217 currency code.
|
|
181
181
|
*/
|
|
@@ -192,7 +192,7 @@ export type PaymentResponseAmountCaptured = {
|
|
|
192
192
|
* @remarks
|
|
193
193
|
* zero.
|
|
194
194
|
*/
|
|
195
|
-
export type
|
|
195
|
+
export type AmountChargedBack = {
|
|
196
196
|
/**
|
|
197
197
|
* A three-character ISO 4217 currency code.
|
|
198
198
|
*/
|
|
@@ -444,7 +444,7 @@ export type PaymentResponseStatus = OpenEnum<typeof PaymentResponseStatus>;
|
|
|
444
444
|
/**
|
|
445
445
|
* The Point of sale receipt object.
|
|
446
446
|
*/
|
|
447
|
-
export type
|
|
447
|
+
export type Receipt = {
|
|
448
448
|
/**
|
|
449
449
|
* A unique code provided by the cardholder’s bank to confirm that the transaction was successfully approved.
|
|
450
450
|
*/
|
|
@@ -478,7 +478,7 @@ export type PaymentResponseReceipt = {
|
|
|
478
478
|
* The QR code can be scanned by the customer to complete the payment on their mobile device. For example,
|
|
479
479
|
* Bancontact QR payments can be completed by the customer using the Bancontact app.
|
|
480
480
|
*/
|
|
481
|
-
export type
|
|
481
|
+
export type QrCode = {
|
|
482
482
|
/**
|
|
483
483
|
* The height of the QR code image in pixels.
|
|
484
484
|
*/
|
|
@@ -665,7 +665,7 @@ export type PaymentResponseDetails = {
|
|
|
665
665
|
/**
|
|
666
666
|
* The Point of sale receipt object.
|
|
667
667
|
*/
|
|
668
|
-
receipt?:
|
|
668
|
+
receipt?: Receipt | undefined;
|
|
669
669
|
/**
|
|
670
670
|
* The creditor identifier indicates who is authorized to execute the payment. In this case, it is a
|
|
671
671
|
*
|
|
@@ -720,7 +720,7 @@ export type PaymentResponseDetails = {
|
|
|
720
720
|
* The QR code can be scanned by the customer to complete the payment on their mobile device. For example,
|
|
721
721
|
* Bancontact QR payments can be completed by the customer using the Bancontact app.
|
|
722
722
|
*/
|
|
723
|
-
qrCode?:
|
|
723
|
+
qrCode?: QrCode | undefined;
|
|
724
724
|
/**
|
|
725
725
|
* For payments with gift cards: the masked gift card number of the first gift card applied to the payment.
|
|
726
726
|
*/
|
|
@@ -874,22 +874,22 @@ export type PaymentResponse = {
|
|
|
874
874
|
* payment methods, this amount may be higher than the payment amount, for example to allow reimbursement of the
|
|
875
875
|
* costs for a return shipment to the customer.
|
|
876
876
|
*/
|
|
877
|
-
amountRefunded?:
|
|
877
|
+
amountRefunded?: AmountRefunded | undefined;
|
|
878
878
|
/**
|
|
879
879
|
* The remaining amount that can be refunded. Only available when refunds are available for this payment.
|
|
880
880
|
*/
|
|
881
|
-
amountRemaining?:
|
|
881
|
+
amountRemaining?: AmountRemaining | undefined;
|
|
882
882
|
/**
|
|
883
883
|
* The total amount that is already captured for this payment. Only available when this payment supports captures.
|
|
884
884
|
*/
|
|
885
|
-
amountCaptured?:
|
|
885
|
+
amountCaptured?: AmountCaptured | undefined;
|
|
886
886
|
/**
|
|
887
887
|
* The total amount that was charged back for this payment. Only available when the total charged back amount is not
|
|
888
888
|
*
|
|
889
889
|
* @remarks
|
|
890
890
|
* zero.
|
|
891
891
|
*/
|
|
892
|
-
amountChargedBack?:
|
|
892
|
+
amountChargedBack?: AmountChargedBack | undefined;
|
|
893
893
|
/**
|
|
894
894
|
* This optional field will contain the approximate amount that will be settled to your account, converted to the
|
|
895
895
|
*
|
|
@@ -1187,8 +1187,8 @@ export type PaymentResponse = {
|
|
|
1187
1187
|
};
|
|
1188
1188
|
|
|
1189
1189
|
/** @internal */
|
|
1190
|
-
export const
|
|
1191
|
-
|
|
1190
|
+
export const AmountRefunded$inboundSchema: z.ZodType<
|
|
1191
|
+
AmountRefunded,
|
|
1192
1192
|
z.ZodTypeDef,
|
|
1193
1193
|
unknown
|
|
1194
1194
|
> = z.object({
|
|
@@ -1196,43 +1196,37 @@ export const PaymentResponseAmountRefunded$inboundSchema: z.ZodType<
|
|
|
1196
1196
|
value: z.string(),
|
|
1197
1197
|
});
|
|
1198
1198
|
/** @internal */
|
|
1199
|
-
export type
|
|
1199
|
+
export type AmountRefunded$Outbound = {
|
|
1200
1200
|
currency: string;
|
|
1201
1201
|
value: string;
|
|
1202
1202
|
};
|
|
1203
1203
|
|
|
1204
1204
|
/** @internal */
|
|
1205
|
-
export const
|
|
1206
|
-
|
|
1205
|
+
export const AmountRefunded$outboundSchema: z.ZodType<
|
|
1206
|
+
AmountRefunded$Outbound,
|
|
1207
1207
|
z.ZodTypeDef,
|
|
1208
|
-
|
|
1208
|
+
AmountRefunded
|
|
1209
1209
|
> = z.object({
|
|
1210
1210
|
currency: z.string(),
|
|
1211
1211
|
value: z.string(),
|
|
1212
1212
|
});
|
|
1213
1213
|
|
|
1214
|
-
export function
|
|
1215
|
-
|
|
1216
|
-
): string {
|
|
1217
|
-
return JSON.stringify(
|
|
1218
|
-
PaymentResponseAmountRefunded$outboundSchema.parse(
|
|
1219
|
-
paymentResponseAmountRefunded,
|
|
1220
|
-
),
|
|
1221
|
-
);
|
|
1214
|
+
export function amountRefundedToJSON(amountRefunded: AmountRefunded): string {
|
|
1215
|
+
return JSON.stringify(AmountRefunded$outboundSchema.parse(amountRefunded));
|
|
1222
1216
|
}
|
|
1223
|
-
export function
|
|
1217
|
+
export function amountRefundedFromJSON(
|
|
1224
1218
|
jsonString: string,
|
|
1225
|
-
): SafeParseResult<
|
|
1219
|
+
): SafeParseResult<AmountRefunded, SDKValidationError> {
|
|
1226
1220
|
return safeParse(
|
|
1227
1221
|
jsonString,
|
|
1228
|
-
(x) =>
|
|
1229
|
-
`Failed to parse '
|
|
1222
|
+
(x) => AmountRefunded$inboundSchema.parse(JSON.parse(x)),
|
|
1223
|
+
`Failed to parse 'AmountRefunded' from JSON`,
|
|
1230
1224
|
);
|
|
1231
1225
|
}
|
|
1232
1226
|
|
|
1233
1227
|
/** @internal */
|
|
1234
|
-
export const
|
|
1235
|
-
|
|
1228
|
+
export const AmountRemaining$inboundSchema: z.ZodType<
|
|
1229
|
+
AmountRemaining,
|
|
1236
1230
|
z.ZodTypeDef,
|
|
1237
1231
|
unknown
|
|
1238
1232
|
> = z.object({
|
|
@@ -1240,43 +1234,39 @@ export const PaymentResponseAmountRemaining$inboundSchema: z.ZodType<
|
|
|
1240
1234
|
value: z.string(),
|
|
1241
1235
|
});
|
|
1242
1236
|
/** @internal */
|
|
1243
|
-
export type
|
|
1237
|
+
export type AmountRemaining$Outbound = {
|
|
1244
1238
|
currency: string;
|
|
1245
1239
|
value: string;
|
|
1246
1240
|
};
|
|
1247
1241
|
|
|
1248
1242
|
/** @internal */
|
|
1249
|
-
export const
|
|
1250
|
-
|
|
1243
|
+
export const AmountRemaining$outboundSchema: z.ZodType<
|
|
1244
|
+
AmountRemaining$Outbound,
|
|
1251
1245
|
z.ZodTypeDef,
|
|
1252
|
-
|
|
1246
|
+
AmountRemaining
|
|
1253
1247
|
> = z.object({
|
|
1254
1248
|
currency: z.string(),
|
|
1255
1249
|
value: z.string(),
|
|
1256
1250
|
});
|
|
1257
1251
|
|
|
1258
|
-
export function
|
|
1259
|
-
|
|
1252
|
+
export function amountRemainingToJSON(
|
|
1253
|
+
amountRemaining: AmountRemaining,
|
|
1260
1254
|
): string {
|
|
1261
|
-
return JSON.stringify(
|
|
1262
|
-
PaymentResponseAmountRemaining$outboundSchema.parse(
|
|
1263
|
-
paymentResponseAmountRemaining,
|
|
1264
|
-
),
|
|
1265
|
-
);
|
|
1255
|
+
return JSON.stringify(AmountRemaining$outboundSchema.parse(amountRemaining));
|
|
1266
1256
|
}
|
|
1267
|
-
export function
|
|
1257
|
+
export function amountRemainingFromJSON(
|
|
1268
1258
|
jsonString: string,
|
|
1269
|
-
): SafeParseResult<
|
|
1259
|
+
): SafeParseResult<AmountRemaining, SDKValidationError> {
|
|
1270
1260
|
return safeParse(
|
|
1271
1261
|
jsonString,
|
|
1272
|
-
(x) =>
|
|
1273
|
-
`Failed to parse '
|
|
1262
|
+
(x) => AmountRemaining$inboundSchema.parse(JSON.parse(x)),
|
|
1263
|
+
`Failed to parse 'AmountRemaining' from JSON`,
|
|
1274
1264
|
);
|
|
1275
1265
|
}
|
|
1276
1266
|
|
|
1277
1267
|
/** @internal */
|
|
1278
|
-
export const
|
|
1279
|
-
|
|
1268
|
+
export const AmountCaptured$inboundSchema: z.ZodType<
|
|
1269
|
+
AmountCaptured,
|
|
1280
1270
|
z.ZodTypeDef,
|
|
1281
1271
|
unknown
|
|
1282
1272
|
> = z.object({
|
|
@@ -1284,43 +1274,37 @@ export const PaymentResponseAmountCaptured$inboundSchema: z.ZodType<
|
|
|
1284
1274
|
value: z.string(),
|
|
1285
1275
|
});
|
|
1286
1276
|
/** @internal */
|
|
1287
|
-
export type
|
|
1277
|
+
export type AmountCaptured$Outbound = {
|
|
1288
1278
|
currency: string;
|
|
1289
1279
|
value: string;
|
|
1290
1280
|
};
|
|
1291
1281
|
|
|
1292
1282
|
/** @internal */
|
|
1293
|
-
export const
|
|
1294
|
-
|
|
1283
|
+
export const AmountCaptured$outboundSchema: z.ZodType<
|
|
1284
|
+
AmountCaptured$Outbound,
|
|
1295
1285
|
z.ZodTypeDef,
|
|
1296
|
-
|
|
1286
|
+
AmountCaptured
|
|
1297
1287
|
> = z.object({
|
|
1298
1288
|
currency: z.string(),
|
|
1299
1289
|
value: z.string(),
|
|
1300
1290
|
});
|
|
1301
1291
|
|
|
1302
|
-
export function
|
|
1303
|
-
|
|
1304
|
-
): string {
|
|
1305
|
-
return JSON.stringify(
|
|
1306
|
-
PaymentResponseAmountCaptured$outboundSchema.parse(
|
|
1307
|
-
paymentResponseAmountCaptured,
|
|
1308
|
-
),
|
|
1309
|
-
);
|
|
1292
|
+
export function amountCapturedToJSON(amountCaptured: AmountCaptured): string {
|
|
1293
|
+
return JSON.stringify(AmountCaptured$outboundSchema.parse(amountCaptured));
|
|
1310
1294
|
}
|
|
1311
|
-
export function
|
|
1295
|
+
export function amountCapturedFromJSON(
|
|
1312
1296
|
jsonString: string,
|
|
1313
|
-
): SafeParseResult<
|
|
1297
|
+
): SafeParseResult<AmountCaptured, SDKValidationError> {
|
|
1314
1298
|
return safeParse(
|
|
1315
1299
|
jsonString,
|
|
1316
|
-
(x) =>
|
|
1317
|
-
`Failed to parse '
|
|
1300
|
+
(x) => AmountCaptured$inboundSchema.parse(JSON.parse(x)),
|
|
1301
|
+
`Failed to parse 'AmountCaptured' from JSON`,
|
|
1318
1302
|
);
|
|
1319
1303
|
}
|
|
1320
1304
|
|
|
1321
1305
|
/** @internal */
|
|
1322
|
-
export const
|
|
1323
|
-
|
|
1306
|
+
export const AmountChargedBack$inboundSchema: z.ZodType<
|
|
1307
|
+
AmountChargedBack,
|
|
1324
1308
|
z.ZodTypeDef,
|
|
1325
1309
|
unknown
|
|
1326
1310
|
> = z.object({
|
|
@@ -1328,37 +1312,35 @@ export const PaymentResponseAmountChargedBack$inboundSchema: z.ZodType<
|
|
|
1328
1312
|
value: z.string(),
|
|
1329
1313
|
});
|
|
1330
1314
|
/** @internal */
|
|
1331
|
-
export type
|
|
1315
|
+
export type AmountChargedBack$Outbound = {
|
|
1332
1316
|
currency: string;
|
|
1333
1317
|
value: string;
|
|
1334
1318
|
};
|
|
1335
1319
|
|
|
1336
1320
|
/** @internal */
|
|
1337
|
-
export const
|
|
1338
|
-
|
|
1321
|
+
export const AmountChargedBack$outboundSchema: z.ZodType<
|
|
1322
|
+
AmountChargedBack$Outbound,
|
|
1339
1323
|
z.ZodTypeDef,
|
|
1340
|
-
|
|
1324
|
+
AmountChargedBack
|
|
1341
1325
|
> = z.object({
|
|
1342
1326
|
currency: z.string(),
|
|
1343
1327
|
value: z.string(),
|
|
1344
1328
|
});
|
|
1345
1329
|
|
|
1346
|
-
export function
|
|
1347
|
-
|
|
1330
|
+
export function amountChargedBackToJSON(
|
|
1331
|
+
amountChargedBack: AmountChargedBack,
|
|
1348
1332
|
): string {
|
|
1349
1333
|
return JSON.stringify(
|
|
1350
|
-
|
|
1351
|
-
paymentResponseAmountChargedBack,
|
|
1352
|
-
),
|
|
1334
|
+
AmountChargedBack$outboundSchema.parse(amountChargedBack),
|
|
1353
1335
|
);
|
|
1354
1336
|
}
|
|
1355
|
-
export function
|
|
1337
|
+
export function amountChargedBackFromJSON(
|
|
1356
1338
|
jsonString: string,
|
|
1357
|
-
): SafeParseResult<
|
|
1339
|
+
): SafeParseResult<AmountChargedBack, SDKValidationError> {
|
|
1358
1340
|
return safeParse(
|
|
1359
1341
|
jsonString,
|
|
1360
|
-
(x) =>
|
|
1361
|
-
`Failed to parse '
|
|
1342
|
+
(x) => AmountChargedBack$inboundSchema.parse(JSON.parse(x)),
|
|
1343
|
+
`Failed to parse 'AmountChargedBack' from JSON`,
|
|
1362
1344
|
);
|
|
1363
1345
|
}
|
|
1364
1346
|
|
|
@@ -1616,22 +1598,19 @@ export const PaymentResponseStatus$outboundSchema: z.ZodType<
|
|
|
1616
1598
|
> = openEnums.outboundSchema(PaymentResponseStatus);
|
|
1617
1599
|
|
|
1618
1600
|
/** @internal */
|
|
1619
|
-
export const
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
PaymentDetailsReceiptCardVerificationMethodResponse$inboundSchema,
|
|
1631
|
-
).optional(),
|
|
1632
|
-
});
|
|
1601
|
+
export const Receipt$inboundSchema: z.ZodType<Receipt, z.ZodTypeDef, unknown> =
|
|
1602
|
+
z.object({
|
|
1603
|
+
authorizationCode: z.nullable(z.string()).optional(),
|
|
1604
|
+
applicationIdentifier: z.nullable(z.string()).optional(),
|
|
1605
|
+
cardReadMethod: z.nullable(
|
|
1606
|
+
PaymentDetailsReceiptCardReadMethodResponse$inboundSchema,
|
|
1607
|
+
).optional(),
|
|
1608
|
+
cardVerificationMethod: z.nullable(
|
|
1609
|
+
PaymentDetailsReceiptCardVerificationMethodResponse$inboundSchema,
|
|
1610
|
+
).optional(),
|
|
1611
|
+
});
|
|
1633
1612
|
/** @internal */
|
|
1634
|
-
export type
|
|
1613
|
+
export type Receipt$Outbound = {
|
|
1635
1614
|
authorizationCode?: string | null | undefined;
|
|
1636
1615
|
applicationIdentifier?: string | null | undefined;
|
|
1637
1616
|
cardReadMethod?: string | null | undefined;
|
|
@@ -1639,10 +1618,10 @@ export type PaymentResponseReceipt$Outbound = {
|
|
|
1639
1618
|
};
|
|
1640
1619
|
|
|
1641
1620
|
/** @internal */
|
|
1642
|
-
export const
|
|
1643
|
-
|
|
1621
|
+
export const Receipt$outboundSchema: z.ZodType<
|
|
1622
|
+
Receipt$Outbound,
|
|
1644
1623
|
z.ZodTypeDef,
|
|
1645
|
-
|
|
1624
|
+
Receipt
|
|
1646
1625
|
> = z.object({
|
|
1647
1626
|
authorizationCode: z.nullable(z.string()).optional(),
|
|
1648
1627
|
applicationIdentifier: z.nullable(z.string()).optional(),
|
|
@@ -1654,65 +1633,54 @@ export const PaymentResponseReceipt$outboundSchema: z.ZodType<
|
|
|
1654
1633
|
).optional(),
|
|
1655
1634
|
});
|
|
1656
1635
|
|
|
1657
|
-
export function
|
|
1658
|
-
|
|
1659
|
-
): string {
|
|
1660
|
-
return JSON.stringify(
|
|
1661
|
-
PaymentResponseReceipt$outboundSchema.parse(paymentResponseReceipt),
|
|
1662
|
-
);
|
|
1636
|
+
export function receiptToJSON(receipt: Receipt): string {
|
|
1637
|
+
return JSON.stringify(Receipt$outboundSchema.parse(receipt));
|
|
1663
1638
|
}
|
|
1664
|
-
export function
|
|
1639
|
+
export function receiptFromJSON(
|
|
1665
1640
|
jsonString: string,
|
|
1666
|
-
): SafeParseResult<
|
|
1641
|
+
): SafeParseResult<Receipt, SDKValidationError> {
|
|
1667
1642
|
return safeParse(
|
|
1668
1643
|
jsonString,
|
|
1669
|
-
(x) =>
|
|
1670
|
-
`Failed to parse '
|
|
1644
|
+
(x) => Receipt$inboundSchema.parse(JSON.parse(x)),
|
|
1645
|
+
`Failed to parse 'Receipt' from JSON`,
|
|
1671
1646
|
);
|
|
1672
1647
|
}
|
|
1673
1648
|
|
|
1674
1649
|
/** @internal */
|
|
1675
|
-
export const
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
width: z.number().int().optional(),
|
|
1682
|
-
src: z.string().optional(),
|
|
1683
|
-
});
|
|
1650
|
+
export const QrCode$inboundSchema: z.ZodType<QrCode, z.ZodTypeDef, unknown> = z
|
|
1651
|
+
.object({
|
|
1652
|
+
height: z.number().int().optional(),
|
|
1653
|
+
width: z.number().int().optional(),
|
|
1654
|
+
src: z.string().optional(),
|
|
1655
|
+
});
|
|
1684
1656
|
/** @internal */
|
|
1685
|
-
export type
|
|
1657
|
+
export type QrCode$Outbound = {
|
|
1686
1658
|
height?: number | undefined;
|
|
1687
1659
|
width?: number | undefined;
|
|
1688
1660
|
src?: string | undefined;
|
|
1689
1661
|
};
|
|
1690
1662
|
|
|
1691
1663
|
/** @internal */
|
|
1692
|
-
export const
|
|
1693
|
-
|
|
1664
|
+
export const QrCode$outboundSchema: z.ZodType<
|
|
1665
|
+
QrCode$Outbound,
|
|
1694
1666
|
z.ZodTypeDef,
|
|
1695
|
-
|
|
1667
|
+
QrCode
|
|
1696
1668
|
> = z.object({
|
|
1697
1669
|
height: z.number().int().optional(),
|
|
1698
1670
|
width: z.number().int().optional(),
|
|
1699
1671
|
src: z.string().optional(),
|
|
1700
1672
|
});
|
|
1701
1673
|
|
|
1702
|
-
export function
|
|
1703
|
-
|
|
1704
|
-
): string {
|
|
1705
|
-
return JSON.stringify(
|
|
1706
|
-
PaymentResponseQrCode$outboundSchema.parse(paymentResponseQrCode),
|
|
1707
|
-
);
|
|
1674
|
+
export function qrCodeToJSON(qrCode: QrCode): string {
|
|
1675
|
+
return JSON.stringify(QrCode$outboundSchema.parse(qrCode));
|
|
1708
1676
|
}
|
|
1709
|
-
export function
|
|
1677
|
+
export function qrCodeFromJSON(
|
|
1710
1678
|
jsonString: string,
|
|
1711
|
-
): SafeParseResult<
|
|
1679
|
+
): SafeParseResult<QrCode, SDKValidationError> {
|
|
1712
1680
|
return safeParse(
|
|
1713
1681
|
jsonString,
|
|
1714
|
-
(x) =>
|
|
1715
|
-
`Failed to parse '
|
|
1682
|
+
(x) => QrCode$inboundSchema.parse(JSON.parse(x)),
|
|
1683
|
+
`Failed to parse 'QrCode' from JSON`,
|
|
1716
1684
|
);
|
|
1717
1685
|
}
|
|
1718
1686
|
|
|
@@ -1762,7 +1730,7 @@ export const PaymentResponseDetails$inboundSchema: z.ZodType<
|
|
|
1762
1730
|
customerReference: z.string().optional(),
|
|
1763
1731
|
terminalId: z.string().optional(),
|
|
1764
1732
|
maskedNumber: z.nullable(z.string()).optional(),
|
|
1765
|
-
receipt: z.lazy(() =>
|
|
1733
|
+
receipt: z.lazy(() => Receipt$inboundSchema).optional(),
|
|
1766
1734
|
creditorIdentifier: z.nullable(z.string()).optional(),
|
|
1767
1735
|
dueDate: z.nullable(z.string().transform(v => new RFCDate(v))).optional(),
|
|
1768
1736
|
signatureDate: z.nullable(z.string().transform(v => new RFCDate(v)))
|
|
@@ -1773,7 +1741,7 @@ export const PaymentResponseDetails$inboundSchema: z.ZodType<
|
|
|
1773
1741
|
mandateReference: z.nullable(z.string()).optional(),
|
|
1774
1742
|
batchReference: z.nullable(z.string()).optional(),
|
|
1775
1743
|
fileReference: z.nullable(z.string()).optional(),
|
|
1776
|
-
qrCode: z.lazy(() =>
|
|
1744
|
+
qrCode: z.lazy(() => QrCode$inboundSchema).optional(),
|
|
1777
1745
|
voucherNumber: z.string().optional(),
|
|
1778
1746
|
giftcards: z.array(z.record(z.any())).optional(),
|
|
1779
1747
|
issuer: z.string().optional(),
|
|
@@ -1818,7 +1786,7 @@ export type PaymentResponseDetails$Outbound = {
|
|
|
1818
1786
|
customerReference?: string | undefined;
|
|
1819
1787
|
terminalId?: string | undefined;
|
|
1820
1788
|
maskedNumber?: string | null | undefined;
|
|
1821
|
-
receipt?:
|
|
1789
|
+
receipt?: Receipt$Outbound | undefined;
|
|
1822
1790
|
creditorIdentifier?: string | null | undefined;
|
|
1823
1791
|
dueDate?: string | null | undefined;
|
|
1824
1792
|
signatureDate?: string | null | undefined;
|
|
@@ -1828,7 +1796,7 @@ export type PaymentResponseDetails$Outbound = {
|
|
|
1828
1796
|
mandateReference?: string | null | undefined;
|
|
1829
1797
|
batchReference?: string | null | undefined;
|
|
1830
1798
|
fileReference?: string | null | undefined;
|
|
1831
|
-
qrCode?:
|
|
1799
|
+
qrCode?: QrCode$Outbound | undefined;
|
|
1832
1800
|
voucherNumber?: string | undefined;
|
|
1833
1801
|
giftcards?: Array<{ [k: string]: any }> | undefined;
|
|
1834
1802
|
issuer?: string | undefined;
|
|
@@ -1886,7 +1854,7 @@ export const PaymentResponseDetails$outboundSchema: z.ZodType<
|
|
|
1886
1854
|
customerReference: z.string().optional(),
|
|
1887
1855
|
terminalId: z.string().optional(),
|
|
1888
1856
|
maskedNumber: z.nullable(z.string()).optional(),
|
|
1889
|
-
receipt: z.lazy(() =>
|
|
1857
|
+
receipt: z.lazy(() => Receipt$outboundSchema).optional(),
|
|
1890
1858
|
creditorIdentifier: z.nullable(z.string()).optional(),
|
|
1891
1859
|
dueDate: z.nullable(z.instanceof(RFCDate).transform(v => v.toString()))
|
|
1892
1860
|
.optional(),
|
|
@@ -1898,7 +1866,7 @@ export const PaymentResponseDetails$outboundSchema: z.ZodType<
|
|
|
1898
1866
|
mandateReference: z.nullable(z.string()).optional(),
|
|
1899
1867
|
batchReference: z.nullable(z.string()).optional(),
|
|
1900
1868
|
fileReference: z.nullable(z.string()).optional(),
|
|
1901
|
-
qrCode: z.lazy(() =>
|
|
1869
|
+
qrCode: z.lazy(() => QrCode$outboundSchema).optional(),
|
|
1902
1870
|
voucherNumber: z.string().optional(),
|
|
1903
1871
|
giftcards: z.array(z.record(z.any())).optional(),
|
|
1904
1872
|
issuer: z.string().optional(),
|
|
@@ -2025,15 +1993,10 @@ export const PaymentResponse$inboundSchema: z.ZodType<
|
|
|
2025
1993
|
mode: Mode$inboundSchema,
|
|
2026
1994
|
description: z.string(),
|
|
2027
1995
|
amount: Amount$inboundSchema,
|
|
2028
|
-
amountRefunded: z.lazy(() =>
|
|
2029
|
-
|
|
2030
|
-
|
|
2031
|
-
|
|
2032
|
-
amountCaptured: z.lazy(() => PaymentResponseAmountCaptured$inboundSchema)
|
|
2033
|
-
.optional(),
|
|
2034
|
-
amountChargedBack: z.lazy(() =>
|
|
2035
|
-
PaymentResponseAmountChargedBack$inboundSchema
|
|
2036
|
-
).optional(),
|
|
1996
|
+
amountRefunded: z.lazy(() => AmountRefunded$inboundSchema).optional(),
|
|
1997
|
+
amountRemaining: z.lazy(() => AmountRemaining$inboundSchema).optional(),
|
|
1998
|
+
amountCaptured: z.lazy(() => AmountCaptured$inboundSchema).optional(),
|
|
1999
|
+
amountChargedBack: z.lazy(() => AmountChargedBack$inboundSchema).optional(),
|
|
2037
2000
|
settlementAmount: z.lazy(() => PaymentResponseSettlementAmount$inboundSchema)
|
|
2038
2001
|
.optional(),
|
|
2039
2002
|
redirectUrl: z.nullable(z.string()).optional(),
|
|
@@ -2089,10 +2052,10 @@ export type PaymentResponse$Outbound = {
|
|
|
2089
2052
|
mode: string;
|
|
2090
2053
|
description: string;
|
|
2091
2054
|
amount: Amount$Outbound;
|
|
2092
|
-
amountRefunded?:
|
|
2093
|
-
amountRemaining?:
|
|
2094
|
-
amountCaptured?:
|
|
2095
|
-
amountChargedBack?:
|
|
2055
|
+
amountRefunded?: AmountRefunded$Outbound | undefined;
|
|
2056
|
+
amountRemaining?: AmountRemaining$Outbound | undefined;
|
|
2057
|
+
amountCaptured?: AmountCaptured$Outbound | undefined;
|
|
2058
|
+
amountChargedBack?: AmountChargedBack$Outbound | undefined;
|
|
2096
2059
|
settlementAmount?: PaymentResponseSettlementAmount$Outbound | undefined;
|
|
2097
2060
|
redirectUrl?: string | null | undefined;
|
|
2098
2061
|
cancelUrl?: string | null | undefined;
|
|
@@ -2142,15 +2105,10 @@ export const PaymentResponse$outboundSchema: z.ZodType<
|
|
|
2142
2105
|
mode: Mode$outboundSchema,
|
|
2143
2106
|
description: z.string(),
|
|
2144
2107
|
amount: Amount$outboundSchema,
|
|
2145
|
-
amountRefunded: z.lazy(() =>
|
|
2146
|
-
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
amountCaptured: z.lazy(() => PaymentResponseAmountCaptured$outboundSchema)
|
|
2150
|
-
.optional(),
|
|
2151
|
-
amountChargedBack: z.lazy(() =>
|
|
2152
|
-
PaymentResponseAmountChargedBack$outboundSchema
|
|
2153
|
-
).optional(),
|
|
2108
|
+
amountRefunded: z.lazy(() => AmountRefunded$outboundSchema).optional(),
|
|
2109
|
+
amountRemaining: z.lazy(() => AmountRemaining$outboundSchema).optional(),
|
|
2110
|
+
amountCaptured: z.lazy(() => AmountCaptured$outboundSchema).optional(),
|
|
2111
|
+
amountChargedBack: z.lazy(() => AmountChargedBack$outboundSchema).optional(),
|
|
2154
2112
|
settlementAmount: z.lazy(() => PaymentResponseSettlementAmount$outboundSchema)
|
|
2155
2113
|
.optional(),
|
|
2156
2114
|
redirectUrl: z.nullable(z.string()).optional(),
|
|
@@ -54,7 +54,7 @@ export type ProfileResponseStatus = OpenEnum<typeof ProfileResponseStatus>;
|
|
|
54
54
|
* automatically, unless a switch to a live profile has been requested. The review object will therefore usually be
|
|
55
55
|
* `null` in test mode.
|
|
56
56
|
*/
|
|
57
|
-
export type
|
|
57
|
+
export type Review = {
|
|
58
58
|
/**
|
|
59
59
|
* The status of the requested changes.
|
|
60
60
|
*/
|
|
@@ -160,7 +160,7 @@ export type ProfileResponse = {
|
|
|
160
160
|
* automatically, unless a switch to a live profile has been requested. The review object will therefore usually be
|
|
161
161
|
* `null` in test mode.
|
|
162
162
|
*/
|
|
163
|
-
review?:
|
|
163
|
+
review?: Review | undefined;
|
|
164
164
|
/**
|
|
165
165
|
* The entity's date and time of creation, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
|
|
166
166
|
*/
|
|
@@ -185,41 +185,34 @@ export const ProfileResponseStatus$outboundSchema: z.ZodType<
|
|
|
185
185
|
> = openEnums.outboundSchema(ProfileResponseStatus);
|
|
186
186
|
|
|
187
187
|
/** @internal */
|
|
188
|
-
export const
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
> = z.object({
|
|
193
|
-
status: ProfileReviewStatusResponse$inboundSchema.optional(),
|
|
194
|
-
});
|
|
188
|
+
export const Review$inboundSchema: z.ZodType<Review, z.ZodTypeDef, unknown> = z
|
|
189
|
+
.object({
|
|
190
|
+
status: ProfileReviewStatusResponse$inboundSchema.optional(),
|
|
191
|
+
});
|
|
195
192
|
/** @internal */
|
|
196
|
-
export type
|
|
193
|
+
export type Review$Outbound = {
|
|
197
194
|
status?: string | undefined;
|
|
198
195
|
};
|
|
199
196
|
|
|
200
197
|
/** @internal */
|
|
201
|
-
export const
|
|
202
|
-
|
|
198
|
+
export const Review$outboundSchema: z.ZodType<
|
|
199
|
+
Review$Outbound,
|
|
203
200
|
z.ZodTypeDef,
|
|
204
|
-
|
|
201
|
+
Review
|
|
205
202
|
> = z.object({
|
|
206
203
|
status: ProfileReviewStatusResponse$outboundSchema.optional(),
|
|
207
204
|
});
|
|
208
205
|
|
|
209
|
-
export function
|
|
210
|
-
|
|
211
|
-
): string {
|
|
212
|
-
return JSON.stringify(
|
|
213
|
-
ProfileResponseReview$outboundSchema.parse(profileResponseReview),
|
|
214
|
-
);
|
|
206
|
+
export function reviewToJSON(review: Review): string {
|
|
207
|
+
return JSON.stringify(Review$outboundSchema.parse(review));
|
|
215
208
|
}
|
|
216
|
-
export function
|
|
209
|
+
export function reviewFromJSON(
|
|
217
210
|
jsonString: string,
|
|
218
|
-
): SafeParseResult<
|
|
211
|
+
): SafeParseResult<Review, SDKValidationError> {
|
|
219
212
|
return safeParse(
|
|
220
213
|
jsonString,
|
|
221
|
-
(x) =>
|
|
222
|
-
`Failed to parse '
|
|
214
|
+
(x) => Review$inboundSchema.parse(JSON.parse(x)),
|
|
215
|
+
`Failed to parse 'Review' from JSON`,
|
|
223
216
|
);
|
|
224
217
|
}
|
|
225
218
|
|
|
@@ -300,7 +293,7 @@ export const ProfileResponse$inboundSchema: z.ZodType<
|
|
|
300
293
|
countriesOfActivity: z.array(z.string()).optional(),
|
|
301
294
|
businessCategory: z.string(),
|
|
302
295
|
status: ProfileResponseStatus$inboundSchema,
|
|
303
|
-
review: z.lazy(() =>
|
|
296
|
+
review: z.lazy(() => Review$inboundSchema).optional(),
|
|
304
297
|
createdAt: z.string(),
|
|
305
298
|
_links: z.lazy(() => ProfileResponseLinks$inboundSchema),
|
|
306
299
|
}).transform((v) => {
|
|
@@ -321,7 +314,7 @@ export type ProfileResponse$Outbound = {
|
|
|
321
314
|
countriesOfActivity?: Array<string> | undefined;
|
|
322
315
|
businessCategory: string;
|
|
323
316
|
status: string;
|
|
324
|
-
review?:
|
|
317
|
+
review?: Review$Outbound | undefined;
|
|
325
318
|
createdAt: string;
|
|
326
319
|
_links: ProfileResponseLinks$Outbound;
|
|
327
320
|
};
|
|
@@ -343,7 +336,7 @@ export const ProfileResponse$outboundSchema: z.ZodType<
|
|
|
343
336
|
countriesOfActivity: z.array(z.string()).optional(),
|
|
344
337
|
businessCategory: z.string(),
|
|
345
338
|
status: ProfileResponseStatus$outboundSchema,
|
|
346
|
-
review: z.lazy(() =>
|
|
339
|
+
review: z.lazy(() => Review$outboundSchema).optional(),
|
|
347
340
|
createdAt: z.string(),
|
|
348
341
|
links: z.lazy(() => ProfileResponseLinks$outboundSchema),
|
|
349
342
|
}).transform((v) => {
|