mollie-api-typescript 0.1.2 → 0.1.3
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/FUNCTIONS.md +13 -0
- package/README.md +84 -0
- package/bin/mcp-server.js +5173 -1638
- package/bin/mcp-server.js.map +47 -46
- package/dist/commonjs/lib/config.d.ts +2 -2
- package/dist/commonjs/lib/config.js +2 -2
- package/dist/commonjs/mcp-server/mcp-server.js +1 -1
- package/dist/commonjs/mcp-server/server.js +1 -1
- package/dist/commonjs/models/operations/cancelpayment.d.ts +1458 -19
- package/dist/commonjs/models/operations/cancelpayment.d.ts.map +1 -1
- package/dist/commonjs/models/operations/cancelpayment.js +755 -20
- package/dist/commonjs/models/operations/cancelpayment.js.map +1 -1
- package/dist/commonjs/models/operations/createcustomerpayment.d.ts +1596 -20
- package/dist/commonjs/models/operations/createcustomerpayment.d.ts.map +1 -1
- package/dist/commonjs/models/operations/createcustomerpayment.js +819 -22
- package/dist/commonjs/models/operations/createcustomerpayment.js.map +1 -1
- package/dist/commonjs/models/operations/createpayment.d.ts +1596 -20
- package/dist/commonjs/models/operations/createpayment.d.ts.map +1 -1
- package/dist/commonjs/models/operations/createpayment.js +810 -22
- package/dist/commonjs/models/operations/createpayment.js.map +1 -1
- package/dist/commonjs/models/operations/createpaymentlink.d.ts +2 -2
- package/dist/commonjs/models/operations/getnextsettlement.d.ts +6 -846
- package/dist/commonjs/models/operations/getnextsettlement.d.ts.map +1 -1
- package/dist/commonjs/models/operations/getnextsettlement.js +3 -586
- package/dist/commonjs/models/operations/getnextsettlement.js.map +1 -1
- package/dist/commonjs/models/operations/getopensettlement.d.ts +6 -846
- package/dist/commonjs/models/operations/getopensettlement.d.ts.map +1 -1
- package/dist/commonjs/models/operations/getopensettlement.js +3 -586
- package/dist/commonjs/models/operations/getopensettlement.js.map +1 -1
- package/dist/commonjs/models/operations/getpayment.d.ts +1458 -19
- package/dist/commonjs/models/operations/getpayment.d.ts.map +1 -1
- package/dist/commonjs/models/operations/getpayment.js +751 -20
- package/dist/commonjs/models/operations/getpayment.js.map +1 -1
- package/dist/commonjs/models/operations/getpaymentlink.d.ts +1 -1
- package/dist/commonjs/models/operations/getpaymentlinkpayments.d.ts +1466 -27
- package/dist/commonjs/models/operations/getpaymentlinkpayments.d.ts.map +1 -1
- package/dist/commonjs/models/operations/getpaymentlinkpayments.js +771 -32
- package/dist/commonjs/models/operations/getpaymentlinkpayments.js.map +1 -1
- package/dist/commonjs/models/operations/getsettlement.d.ts +6 -846
- package/dist/commonjs/models/operations/getsettlement.d.ts.map +1 -1
- package/dist/commonjs/models/operations/getsettlement.js +3 -579
- package/dist/commonjs/models/operations/getsettlement.js.map +1 -1
- package/dist/commonjs/models/operations/getwebhookevent.d.ts +1 -1
- package/dist/commonjs/models/operations/listallchargebacks.d.ts +8 -8
- package/dist/commonjs/models/operations/listallchargebacks.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listallchargebacks.js +8 -14
- package/dist/commonjs/models/operations/listallchargebacks.js.map +1 -1
- package/dist/commonjs/models/operations/listallmethods.d.ts +15 -15
- package/dist/commonjs/models/operations/listallmethods.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listallmethods.js +19 -18
- package/dist/commonjs/models/operations/listallmethods.js.map +1 -1
- package/dist/commonjs/models/operations/listallrefunds.d.ts +8 -8
- package/dist/commonjs/models/operations/listallrefunds.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listallrefunds.js +8 -12
- package/dist/commonjs/models/operations/listallrefunds.js.map +1 -1
- package/dist/commonjs/models/operations/listallsubscriptions.d.ts +8 -8
- package/dist/commonjs/models/operations/listallsubscriptions.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listallsubscriptions.js +8 -13
- package/dist/commonjs/models/operations/listallsubscriptions.js.map +1 -1
- package/dist/commonjs/models/operations/listbalances.d.ts +8 -8
- package/dist/commonjs/models/operations/listbalances.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listbalances.js +8 -12
- package/dist/commonjs/models/operations/listbalances.js.map +1 -1
- package/dist/commonjs/models/operations/listbalancetransactions.d.ts +8 -8
- package/dist/commonjs/models/operations/listbalancetransactions.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listbalancetransactions.js +8 -10
- package/dist/commonjs/models/operations/listbalancetransactions.js.map +1 -1
- package/dist/commonjs/models/operations/listcaptures.d.ts +8 -8
- package/dist/commonjs/models/operations/listcaptures.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listcaptures.js +8 -12
- package/dist/commonjs/models/operations/listcaptures.js.map +1 -1
- package/dist/commonjs/models/operations/listchargebacks.d.ts +8 -8
- package/dist/commonjs/models/operations/listchargebacks.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listchargebacks.js +8 -12
- package/dist/commonjs/models/operations/listchargebacks.js.map +1 -1
- package/dist/commonjs/models/operations/listclients.d.ts +8 -8
- package/dist/commonjs/models/operations/listclients.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listclients.js +8 -12
- package/dist/commonjs/models/operations/listclients.js.map +1 -1
- package/dist/commonjs/models/operations/listcustomerpayments.d.ts +1472 -33
- package/dist/commonjs/models/operations/listcustomerpayments.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listcustomerpayments.js +776 -42
- package/dist/commonjs/models/operations/listcustomerpayments.js.map +1 -1
- package/dist/commonjs/models/operations/listcustomers.d.ts +8 -8
- package/dist/commonjs/models/operations/listcustomers.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listcustomers.js +8 -12
- package/dist/commonjs/models/operations/listcustomers.js.map +1 -1
- package/dist/commonjs/models/operations/listinvoices.d.ts +8 -8
- package/dist/commonjs/models/operations/listinvoices.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listinvoices.js +8 -12
- package/dist/commonjs/models/operations/listinvoices.js.map +1 -1
- package/dist/commonjs/models/operations/listmandates.d.ts +8 -8
- package/dist/commonjs/models/operations/listmandates.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listmandates.js +8 -12
- package/dist/commonjs/models/operations/listmandates.js.map +1 -1
- package/dist/commonjs/models/operations/listpaymentlinks.d.ts +9 -9
- package/dist/commonjs/models/operations/listpaymentlinks.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listpaymentlinks.js +8 -13
- package/dist/commonjs/models/operations/listpaymentlinks.js.map +1 -1
- package/dist/commonjs/models/operations/listpayments.d.ts +1472 -33
- package/dist/commonjs/models/operations/listpayments.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listpayments.js +768 -39
- package/dist/commonjs/models/operations/listpayments.js.map +1 -1
- package/dist/commonjs/models/operations/listprofiles.d.ts +8 -8
- package/dist/commonjs/models/operations/listprofiles.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listprofiles.js +8 -12
- package/dist/commonjs/models/operations/listprofiles.js.map +1 -1
- package/dist/commonjs/models/operations/listrefunds.d.ts +8 -8
- package/dist/commonjs/models/operations/listrefunds.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listrefunds.js +8 -12
- package/dist/commonjs/models/operations/listrefunds.js.map +1 -1
- package/dist/commonjs/models/operations/listsalesinvoices.d.ts +8 -8
- package/dist/commonjs/models/operations/listsalesinvoices.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listsalesinvoices.js +8 -14
- package/dist/commonjs/models/operations/listsalesinvoices.js.map +1 -1
- package/dist/commonjs/models/operations/listsettlementcaptures.d.ts +8 -8
- package/dist/commonjs/models/operations/listsettlementcaptures.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listsettlementcaptures.js +8 -11
- package/dist/commonjs/models/operations/listsettlementcaptures.js.map +1 -1
- package/dist/commonjs/models/operations/listsettlementchargebacks.d.ts +8 -8
- package/dist/commonjs/models/operations/listsettlementchargebacks.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listsettlementchargebacks.js +8 -10
- package/dist/commonjs/models/operations/listsettlementchargebacks.js.map +1 -1
- package/dist/commonjs/models/operations/listsettlementpayments.d.ts +1472 -33
- package/dist/commonjs/models/operations/listsettlementpayments.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listsettlementpayments.js +777 -40
- package/dist/commonjs/models/operations/listsettlementpayments.js.map +1 -1
- package/dist/commonjs/models/operations/listsettlementrefunds.d.ts +8 -8
- package/dist/commonjs/models/operations/listsettlementrefunds.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listsettlementrefunds.js +8 -12
- package/dist/commonjs/models/operations/listsettlementrefunds.js.map +1 -1
- package/dist/commonjs/models/operations/listsettlements.d.ts +14 -854
- package/dist/commonjs/models/operations/listsettlements.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listsettlements.js +11 -596
- package/dist/commonjs/models/operations/listsettlements.js.map +1 -1
- package/dist/commonjs/models/operations/listsubscriptionpayments.d.ts +1472 -33
- package/dist/commonjs/models/operations/listsubscriptionpayments.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listsubscriptionpayments.js +777 -39
- package/dist/commonjs/models/operations/listsubscriptionpayments.js.map +1 -1
- package/dist/commonjs/models/operations/listsubscriptions.d.ts +8 -8
- package/dist/commonjs/models/operations/listsubscriptions.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listsubscriptions.js +8 -14
- package/dist/commonjs/models/operations/listsubscriptions.js.map +1 -1
- package/dist/commonjs/models/operations/listterminals.d.ts +8 -8
- package/dist/commonjs/models/operations/listterminals.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listterminals.js +8 -12
- package/dist/commonjs/models/operations/listterminals.js.map +1 -1
- package/dist/commonjs/models/operations/listwebhooks.d.ts +8 -8
- package/dist/commonjs/models/operations/listwebhooks.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listwebhooks.js +8 -12
- package/dist/commonjs/models/operations/listwebhooks.js.map +1 -1
- package/dist/commonjs/models/operations/updatepayment.d.ts +1458 -19
- package/dist/commonjs/models/operations/updatepayment.d.ts.map +1 -1
- package/dist/commonjs/models/operations/updatepayment.js +755 -21
- package/dist/commonjs/models/operations/updatepayment.js.map +1 -1
- package/dist/commonjs/models/operations/updatepaymentlink.d.ts +2 -2
- package/dist/esm/lib/config.d.ts +2 -2
- package/dist/esm/lib/config.js +2 -2
- package/dist/esm/mcp-server/mcp-server.js +1 -1
- package/dist/esm/mcp-server/server.js +1 -1
- package/dist/esm/models/operations/cancelpayment.d.ts +1458 -19
- package/dist/esm/models/operations/cancelpayment.d.ts.map +1 -1
- package/dist/esm/models/operations/cancelpayment.js +735 -16
- package/dist/esm/models/operations/cancelpayment.js.map +1 -1
- package/dist/esm/models/operations/createcustomerpayment.d.ts +1596 -20
- package/dist/esm/models/operations/createcustomerpayment.d.ts.map +1 -1
- package/dist/esm/models/operations/createcustomerpayment.js +796 -16
- package/dist/esm/models/operations/createcustomerpayment.js.map +1 -1
- package/dist/esm/models/operations/createpayment.d.ts +1596 -20
- package/dist/esm/models/operations/createpayment.d.ts.map +1 -1
- package/dist/esm/models/operations/createpayment.js +787 -16
- package/dist/esm/models/operations/createpayment.js.map +1 -1
- package/dist/esm/models/operations/createpaymentlink.d.ts +2 -2
- package/dist/esm/models/operations/getnextsettlement.d.ts +6 -846
- package/dist/esm/models/operations/getnextsettlement.d.ts.map +1 -1
- package/dist/esm/models/operations/getnextsettlement.js +2 -556
- package/dist/esm/models/operations/getnextsettlement.js.map +1 -1
- package/dist/esm/models/operations/getopensettlement.d.ts +6 -846
- package/dist/esm/models/operations/getopensettlement.d.ts.map +1 -1
- package/dist/esm/models/operations/getopensettlement.js +2 -556
- package/dist/esm/models/operations/getopensettlement.js.map +1 -1
- package/dist/esm/models/operations/getpayment.d.ts +1458 -19
- package/dist/esm/models/operations/getpayment.d.ts.map +1 -1
- package/dist/esm/models/operations/getpayment.js +731 -16
- package/dist/esm/models/operations/getpayment.js.map +1 -1
- package/dist/esm/models/operations/getpaymentlink.d.ts +1 -1
- package/dist/esm/models/operations/getpaymentlinkpayments.d.ts +1466 -27
- package/dist/esm/models/operations/getpaymentlinkpayments.d.ts.map +1 -1
- package/dist/esm/models/operations/getpaymentlinkpayments.js +751 -27
- package/dist/esm/models/operations/getpaymentlinkpayments.js.map +1 -1
- package/dist/esm/models/operations/getsettlement.d.ts +6 -846
- package/dist/esm/models/operations/getsettlement.d.ts.map +1 -1
- package/dist/esm/models/operations/getsettlement.js +2 -549
- package/dist/esm/models/operations/getsettlement.js.map +1 -1
- package/dist/esm/models/operations/getwebhookevent.d.ts +1 -1
- package/dist/esm/models/operations/listallchargebacks.d.ts +8 -8
- package/dist/esm/models/operations/listallchargebacks.d.ts.map +1 -1
- package/dist/esm/models/operations/listallchargebacks.js +8 -14
- package/dist/esm/models/operations/listallchargebacks.js.map +1 -1
- package/dist/esm/models/operations/listallmethods.d.ts +15 -15
- package/dist/esm/models/operations/listallmethods.d.ts.map +1 -1
- package/dist/esm/models/operations/listallmethods.js +16 -15
- package/dist/esm/models/operations/listallmethods.js.map +1 -1
- package/dist/esm/models/operations/listallrefunds.d.ts +8 -8
- package/dist/esm/models/operations/listallrefunds.d.ts.map +1 -1
- package/dist/esm/models/operations/listallrefunds.js +8 -12
- package/dist/esm/models/operations/listallrefunds.js.map +1 -1
- package/dist/esm/models/operations/listallsubscriptions.d.ts +8 -8
- package/dist/esm/models/operations/listallsubscriptions.d.ts.map +1 -1
- package/dist/esm/models/operations/listallsubscriptions.js +8 -13
- package/dist/esm/models/operations/listallsubscriptions.js.map +1 -1
- package/dist/esm/models/operations/listbalances.d.ts +8 -8
- package/dist/esm/models/operations/listbalances.d.ts.map +1 -1
- package/dist/esm/models/operations/listbalances.js +8 -12
- package/dist/esm/models/operations/listbalances.js.map +1 -1
- package/dist/esm/models/operations/listbalancetransactions.d.ts +8 -8
- package/dist/esm/models/operations/listbalancetransactions.d.ts.map +1 -1
- package/dist/esm/models/operations/listbalancetransactions.js +8 -10
- package/dist/esm/models/operations/listbalancetransactions.js.map +1 -1
- package/dist/esm/models/operations/listcaptures.d.ts +8 -8
- package/dist/esm/models/operations/listcaptures.d.ts.map +1 -1
- package/dist/esm/models/operations/listcaptures.js +8 -12
- package/dist/esm/models/operations/listcaptures.js.map +1 -1
- package/dist/esm/models/operations/listchargebacks.d.ts +8 -8
- package/dist/esm/models/operations/listchargebacks.d.ts.map +1 -1
- package/dist/esm/models/operations/listchargebacks.js +8 -12
- package/dist/esm/models/operations/listchargebacks.js.map +1 -1
- package/dist/esm/models/operations/listclients.d.ts +8 -8
- package/dist/esm/models/operations/listclients.d.ts.map +1 -1
- package/dist/esm/models/operations/listclients.js +8 -12
- package/dist/esm/models/operations/listclients.js.map +1 -1
- package/dist/esm/models/operations/listcustomerpayments.d.ts +1472 -33
- package/dist/esm/models/operations/listcustomerpayments.d.ts.map +1 -1
- package/dist/esm/models/operations/listcustomerpayments.js +756 -37
- package/dist/esm/models/operations/listcustomerpayments.js.map +1 -1
- package/dist/esm/models/operations/listcustomers.d.ts +8 -8
- package/dist/esm/models/operations/listcustomers.d.ts.map +1 -1
- package/dist/esm/models/operations/listcustomers.js +8 -12
- package/dist/esm/models/operations/listcustomers.js.map +1 -1
- package/dist/esm/models/operations/listinvoices.d.ts +8 -8
- package/dist/esm/models/operations/listinvoices.d.ts.map +1 -1
- package/dist/esm/models/operations/listinvoices.js +8 -12
- package/dist/esm/models/operations/listinvoices.js.map +1 -1
- package/dist/esm/models/operations/listmandates.d.ts +8 -8
- package/dist/esm/models/operations/listmandates.d.ts.map +1 -1
- package/dist/esm/models/operations/listmandates.js +8 -12
- package/dist/esm/models/operations/listmandates.js.map +1 -1
- package/dist/esm/models/operations/listpaymentlinks.d.ts +9 -9
- package/dist/esm/models/operations/listpaymentlinks.d.ts.map +1 -1
- package/dist/esm/models/operations/listpaymentlinks.js +8 -13
- package/dist/esm/models/operations/listpaymentlinks.js.map +1 -1
- package/dist/esm/models/operations/listpayments.d.ts +1472 -33
- package/dist/esm/models/operations/listpayments.d.ts.map +1 -1
- package/dist/esm/models/operations/listpayments.js +748 -34
- package/dist/esm/models/operations/listpayments.js.map +1 -1
- package/dist/esm/models/operations/listprofiles.d.ts +8 -8
- package/dist/esm/models/operations/listprofiles.d.ts.map +1 -1
- package/dist/esm/models/operations/listprofiles.js +8 -12
- package/dist/esm/models/operations/listprofiles.js.map +1 -1
- package/dist/esm/models/operations/listrefunds.d.ts +8 -8
- package/dist/esm/models/operations/listrefunds.d.ts.map +1 -1
- package/dist/esm/models/operations/listrefunds.js +8 -12
- package/dist/esm/models/operations/listrefunds.js.map +1 -1
- package/dist/esm/models/operations/listsalesinvoices.d.ts +8 -8
- package/dist/esm/models/operations/listsalesinvoices.d.ts.map +1 -1
- package/dist/esm/models/operations/listsalesinvoices.js +8 -14
- package/dist/esm/models/operations/listsalesinvoices.js.map +1 -1
- package/dist/esm/models/operations/listsettlementcaptures.d.ts +8 -8
- package/dist/esm/models/operations/listsettlementcaptures.d.ts.map +1 -1
- package/dist/esm/models/operations/listsettlementcaptures.js +8 -11
- package/dist/esm/models/operations/listsettlementcaptures.js.map +1 -1
- package/dist/esm/models/operations/listsettlementchargebacks.d.ts +8 -8
- package/dist/esm/models/operations/listsettlementchargebacks.d.ts.map +1 -1
- package/dist/esm/models/operations/listsettlementchargebacks.js +8 -10
- package/dist/esm/models/operations/listsettlementchargebacks.js.map +1 -1
- package/dist/esm/models/operations/listsettlementpayments.d.ts +1472 -33
- package/dist/esm/models/operations/listsettlementpayments.d.ts.map +1 -1
- package/dist/esm/models/operations/listsettlementpayments.js +757 -35
- package/dist/esm/models/operations/listsettlementpayments.js.map +1 -1
- package/dist/esm/models/operations/listsettlementrefunds.d.ts +8 -8
- package/dist/esm/models/operations/listsettlementrefunds.d.ts.map +1 -1
- package/dist/esm/models/operations/listsettlementrefunds.js +8 -12
- package/dist/esm/models/operations/listsettlementrefunds.js.map +1 -1
- package/dist/esm/models/operations/listsettlements.d.ts +14 -854
- package/dist/esm/models/operations/listsettlements.d.ts.map +1 -1
- package/dist/esm/models/operations/listsettlements.js +10 -566
- package/dist/esm/models/operations/listsettlements.js.map +1 -1
- package/dist/esm/models/operations/listsubscriptionpayments.d.ts +1472 -33
- package/dist/esm/models/operations/listsubscriptionpayments.d.ts.map +1 -1
- package/dist/esm/models/operations/listsubscriptionpayments.js +757 -34
- package/dist/esm/models/operations/listsubscriptionpayments.js.map +1 -1
- package/dist/esm/models/operations/listsubscriptions.d.ts +8 -8
- package/dist/esm/models/operations/listsubscriptions.d.ts.map +1 -1
- package/dist/esm/models/operations/listsubscriptions.js +8 -14
- package/dist/esm/models/operations/listsubscriptions.js.map +1 -1
- package/dist/esm/models/operations/listterminals.d.ts +8 -8
- package/dist/esm/models/operations/listterminals.d.ts.map +1 -1
- package/dist/esm/models/operations/listterminals.js +8 -12
- package/dist/esm/models/operations/listterminals.js.map +1 -1
- package/dist/esm/models/operations/listwebhooks.d.ts +8 -8
- package/dist/esm/models/operations/listwebhooks.d.ts.map +1 -1
- package/dist/esm/models/operations/listwebhooks.js +8 -12
- package/dist/esm/models/operations/listwebhooks.js.map +1 -1
- package/dist/esm/models/operations/updatepayment.d.ts +1458 -19
- package/dist/esm/models/operations/updatepayment.d.ts.map +1 -1
- package/dist/esm/models/operations/updatepayment.js +735 -16
- package/dist/esm/models/operations/updatepayment.js.map +1 -1
- package/dist/esm/models/operations/updatepaymentlink.d.ts +2 -2
- package/docs/sdks/customers/README.md +26 -0
- package/docs/sdks/payments/README.md +26 -0
- package/examples/package-lock.json +1 -1
- package/examples/paymentsCreate.example.ts +14 -0
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/operations/cancelpayment.ts +2821 -1297
- package/src/models/operations/createcustomerpayment.ts +4804 -3036
- package/src/models/operations/createpayment.ts +4484 -2767
- package/src/models/operations/createpaymentlink.ts +2 -2
- package/src/models/operations/getnextsettlement.ts +4 -1290
- package/src/models/operations/getopensettlement.ts +4 -1290
- package/src/models/operations/getpayment.ts +3155 -1650
- package/src/models/operations/getpaymentlink.ts +1 -1
- package/src/models/operations/getpaymentlinkpayments.ts +3426 -1847
- package/src/models/operations/getsettlement.ts +4 -1253
- package/src/models/operations/getwebhookevent.ts +1 -1
- package/src/models/operations/listallchargebacks.ts +16 -22
- package/src/models/operations/listallmethods.ts +27 -34
- package/src/models/operations/listallrefunds.ts +16 -20
- package/src/models/operations/listallsubscriptions.ts +18 -21
- package/src/models/operations/listbalances.ts +16 -20
- package/src/models/operations/listbalancetransactions.ts +16 -18
- package/src/models/operations/listcaptures.ts +16 -20
- package/src/models/operations/listchargebacks.ts +16 -20
- package/src/models/operations/listclients.ts +16 -20
- package/src/models/operations/listcustomerpayments.ts +3408 -1847
- package/src/models/operations/listcustomers.ts +16 -20
- package/src/models/operations/listinvoices.ts +16 -20
- package/src/models/operations/listmandates.ts +16 -20
- package/src/models/operations/listpaymentlinks.ts +17 -22
- package/src/models/operations/listpayments.ts +2971 -1455
- package/src/models/operations/listprofiles.ts +16 -20
- package/src/models/operations/listrefunds.ts +16 -20
- package/src/models/operations/listsalesinvoices.ts +16 -22
- package/src/models/operations/listsettlementcaptures.ts +18 -19
- package/src/models/operations/listsettlementchargebacks.ts +16 -18
- package/src/models/operations/listsettlementpayments.ts +3436 -1859
- package/src/models/operations/listsettlementrefunds.ts +18 -20
- package/src/models/operations/listsettlements.ts +228 -1500
- package/src/models/operations/listsubscriptionpayments.ts +3479 -1875
- package/src/models/operations/listsubscriptions.ts +16 -22
- package/src/models/operations/listterminals.ts +16 -20
- package/src/models/operations/listwebhooks.ts +16 -20
- package/src/models/operations/updatepayment.ts +3437 -1913
- package/src/models/operations/updatepaymentlink.ts +2 -2
|
@@ -36,10 +36,12 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
40
|
-
exports.
|
|
41
|
-
exports.
|
|
42
|
-
exports.
|
|
39
|
+
exports.CancelPaymentAmountRemaining$inboundSchema = exports.CancelPaymentAmountRefunded$ = exports.CancelPaymentAmountRefunded$outboundSchema = exports.CancelPaymentAmountRefunded$inboundSchema = exports.CancelPaymentAmount$ = exports.CancelPaymentAmount$outboundSchema = exports.CancelPaymentAmount$inboundSchema = exports.CancelPaymentMode$ = exports.CancelPaymentMode$outboundSchema = exports.CancelPaymentMode$inboundSchema = exports.CancelPaymentNotFoundLinks$ = exports.CancelPaymentNotFoundLinks$outboundSchema = exports.CancelPaymentNotFoundLinks$inboundSchema = exports.CancelPaymentNotFoundDocumentation$ = exports.CancelPaymentNotFoundDocumentation$outboundSchema = exports.CancelPaymentNotFoundDocumentation$inboundSchema = exports.CancelPaymentUnprocessableEntityLinks$ = exports.CancelPaymentUnprocessableEntityLinks$outboundSchema = exports.CancelPaymentUnprocessableEntityLinks$inboundSchema = exports.CancelPaymentUnprocessableEntityDocumentation$ = exports.CancelPaymentUnprocessableEntityDocumentation$outboundSchema = exports.CancelPaymentUnprocessableEntityDocumentation$inboundSchema = exports.CancelPaymentRequest$ = exports.CancelPaymentRequest$outboundSchema = exports.CancelPaymentRequest$inboundSchema = exports.CancelPaymentRequestBody$ = exports.CancelPaymentRequestBody$outboundSchema = exports.CancelPaymentRequestBody$inboundSchema = exports.CancelPaymentCardVerificationMethod = exports.CancelPaymentCardReadMethod = exports.CancelPaymentSellerProtection = exports.CancelPaymentWallet = exports.CancelPaymentFailureReason = exports.CancelPaymentFeeRegion = exports.CancelPaymentCardSecurity = exports.CancelPaymentCardFunding = exports.CancelPaymentCardLabel = exports.CancelPaymentCardAudition = exports.CancelPaymentCode = exports.CancelPaymentStatusEnum = exports.CancelPaymentSequenceType = exports.CancelPaymentRoutingType = exports.CancelPaymentRoutingMode = exports.CancelPaymentCaptureMode = exports.CancelPaymentMethod = exports.CancelPaymentLocale = exports.CancelPaymentInterval = exports.CancelPaymentCategory = exports.CancelPaymentLineType = exports.CancelPaymentMode = void 0;
|
|
40
|
+
exports.CancelPaymentLocale$ = exports.CancelPaymentLocale$outboundSchema = exports.CancelPaymentLocale$inboundSchema = exports.CancelPaymentShippingAddress$ = exports.CancelPaymentShippingAddress$outboundSchema = exports.CancelPaymentShippingAddress$inboundSchema = exports.CancelPaymentBillingAddress$ = exports.CancelPaymentBillingAddress$outboundSchema = exports.CancelPaymentBillingAddress$inboundSchema = exports.CancelPaymentLine$ = exports.CancelPaymentLine$outboundSchema = exports.CancelPaymentLine$inboundSchema = exports.CancelPaymentRecurring$ = exports.CancelPaymentRecurring$outboundSchema = exports.CancelPaymentRecurring$inboundSchema = exports.CancelPaymentRecurringAmount$ = exports.CancelPaymentRecurringAmount$outboundSchema = exports.CancelPaymentRecurringAmount$inboundSchema = exports.CancelPaymentInterval$ = exports.CancelPaymentInterval$outboundSchema = exports.CancelPaymentInterval$inboundSchema = exports.CancelPaymentCategory$ = exports.CancelPaymentCategory$outboundSchema = exports.CancelPaymentCategory$inboundSchema = exports.CancelPaymentVatAmount$ = exports.CancelPaymentVatAmount$outboundSchema = exports.CancelPaymentVatAmount$inboundSchema = exports.CancelPaymentTotalAmount$ = exports.CancelPaymentTotalAmount$outboundSchema = exports.CancelPaymentTotalAmount$inboundSchema = exports.CancelPaymentDiscountAmount$ = exports.CancelPaymentDiscountAmount$outboundSchema = exports.CancelPaymentDiscountAmount$inboundSchema = exports.CancelPaymentUnitPrice$ = exports.CancelPaymentUnitPrice$outboundSchema = exports.CancelPaymentUnitPrice$inboundSchema = exports.CancelPaymentLineType$ = exports.CancelPaymentLineType$outboundSchema = exports.CancelPaymentLineType$inboundSchema = exports.CancelPaymentSettlementAmount$ = exports.CancelPaymentSettlementAmount$outboundSchema = exports.CancelPaymentSettlementAmount$inboundSchema = exports.CancelPaymentAmountChargedBack$ = exports.CancelPaymentAmountChargedBack$outboundSchema = exports.CancelPaymentAmountChargedBack$inboundSchema = exports.CancelPaymentAmountCaptured$ = exports.CancelPaymentAmountCaptured$outboundSchema = exports.CancelPaymentAmountCaptured$inboundSchema = exports.CancelPaymentAmountRemaining$ = exports.CancelPaymentAmountRemaining$outboundSchema = void 0;
|
|
41
|
+
exports.CancelPaymentStatusReason$outboundSchema = exports.CancelPaymentStatusReason$inboundSchema = exports.CancelPaymentCode$ = exports.CancelPaymentCode$outboundSchema = exports.CancelPaymentCode$inboundSchema = exports.CancelPaymentStatusEnum$ = exports.CancelPaymentStatusEnum$outboundSchema = exports.CancelPaymentStatusEnum$inboundSchema = exports.CancelPaymentSequenceType$ = exports.CancelPaymentSequenceType$outboundSchema = exports.CancelPaymentSequenceType$inboundSchema = exports.CancelPaymentRouting$ = exports.CancelPaymentRouting$outboundSchema = exports.CancelPaymentRouting$inboundSchema = exports.CancelPaymentRoutingLinks$ = exports.CancelPaymentRoutingLinks$outboundSchema = exports.CancelPaymentRoutingLinks$inboundSchema = exports.CancelPaymentPayment$ = exports.CancelPaymentPayment$outboundSchema = exports.CancelPaymentPayment$inboundSchema = exports.CancelPaymentRoutingSelf$ = exports.CancelPaymentRoutingSelf$outboundSchema = exports.CancelPaymentRoutingSelf$inboundSchema = exports.CancelPaymentDestination$ = exports.CancelPaymentDestination$outboundSchema = exports.CancelPaymentDestination$inboundSchema = exports.CancelPaymentRoutingType$ = exports.CancelPaymentRoutingType$outboundSchema = exports.CancelPaymentRoutingType$inboundSchema = exports.CancelPaymentRoutingAmount$ = exports.CancelPaymentRoutingAmount$outboundSchema = exports.CancelPaymentRoutingAmount$inboundSchema = exports.CancelPaymentRoutingMode$ = exports.CancelPaymentRoutingMode$outboundSchema = exports.CancelPaymentRoutingMode$inboundSchema = exports.CancelPaymentApplicationFee$ = exports.CancelPaymentApplicationFee$outboundSchema = exports.CancelPaymentApplicationFee$inboundSchema = exports.CancelPaymentApplicationFeeAmount$ = exports.CancelPaymentApplicationFeeAmount$outboundSchema = exports.CancelPaymentApplicationFeeAmount$inboundSchema = exports.CancelPaymentCaptureMode$ = exports.CancelPaymentCaptureMode$outboundSchema = exports.CancelPaymentCaptureMode$inboundSchema = exports.CancelPaymentMetadata$ = exports.CancelPaymentMetadata$outboundSchema = exports.CancelPaymentMetadata$inboundSchema = exports.CancelPaymentMethod$ = exports.CancelPaymentMethod$outboundSchema = exports.CancelPaymentMethod$inboundSchema = void 0;
|
|
42
|
+
exports.CancelPaymentCheckout$inboundSchema = exports.CancelPaymentSelf$ = exports.CancelPaymentSelf$outboundSchema = exports.CancelPaymentSelf$inboundSchema = exports.CancelPaymentDetails$ = exports.CancelPaymentDetails$outboundSchema = exports.CancelPaymentDetails$inboundSchema = exports.CancelPaymentRemainderAmount$ = exports.CancelPaymentRemainderAmount$outboundSchema = exports.CancelPaymentRemainderAmount$inboundSchema = exports.CancelPaymentQrCode$ = exports.CancelPaymentQrCode$outboundSchema = exports.CancelPaymentQrCode$inboundSchema = exports.CancelPaymentReceipt$ = exports.CancelPaymentReceipt$outboundSchema = exports.CancelPaymentReceipt$inboundSchema = exports.CancelPaymentCardVerificationMethod$ = exports.CancelPaymentCardVerificationMethod$outboundSchema = exports.CancelPaymentCardVerificationMethod$inboundSchema = exports.CancelPaymentCardReadMethod$ = exports.CancelPaymentCardReadMethod$outboundSchema = exports.CancelPaymentCardReadMethod$inboundSchema = exports.CancelPaymentPaypalFee$ = exports.CancelPaymentPaypalFee$outboundSchema = exports.CancelPaymentPaypalFee$inboundSchema = exports.CancelPaymentSellerProtection$ = exports.CancelPaymentSellerProtection$outboundSchema = exports.CancelPaymentSellerProtection$inboundSchema = exports.CancelPaymentWallet$ = exports.CancelPaymentWallet$outboundSchema = exports.CancelPaymentWallet$inboundSchema = exports.CancelPaymentFailureReason$ = exports.CancelPaymentFailureReason$outboundSchema = exports.CancelPaymentFailureReason$inboundSchema = exports.CancelPaymentFeeRegion$ = exports.CancelPaymentFeeRegion$outboundSchema = exports.CancelPaymentFeeRegion$inboundSchema = exports.CancelPaymentCardSecurity$ = exports.CancelPaymentCardSecurity$outboundSchema = exports.CancelPaymentCardSecurity$inboundSchema = exports.CancelPaymentCardFunding$ = exports.CancelPaymentCardFunding$outboundSchema = exports.CancelPaymentCardFunding$inboundSchema = exports.CancelPaymentCardLabel$ = exports.CancelPaymentCardLabel$outboundSchema = exports.CancelPaymentCardLabel$inboundSchema = exports.CancelPaymentCardAudition$ = exports.CancelPaymentCardAudition$outboundSchema = exports.CancelPaymentCardAudition$inboundSchema = exports.CancelPaymentStatusReason$ = void 0;
|
|
43
|
+
exports.CancelPaymentLinks$ = exports.CancelPaymentLinks$outboundSchema = exports.CancelPaymentLinks$inboundSchema = exports.CancelPaymentPayOnline$ = exports.CancelPaymentPayOnline$outboundSchema = exports.CancelPaymentPayOnline$inboundSchema = exports.CancelPaymentLinksStatus$ = exports.CancelPaymentLinksStatus$outboundSchema = exports.CancelPaymentLinksStatus$inboundSchema = exports.CancelPaymentDocumentation$ = exports.CancelPaymentDocumentation$outboundSchema = exports.CancelPaymentDocumentation$inboundSchema = exports.CancelPaymentTerminal$ = exports.CancelPaymentTerminal$outboundSchema = exports.CancelPaymentTerminal$inboundSchema = exports.CancelPaymentOrder$ = exports.CancelPaymentOrder$outboundSchema = exports.CancelPaymentOrder$inboundSchema = exports.CancelPaymentSubscription$ = exports.CancelPaymentSubscription$outboundSchema = exports.CancelPaymentSubscription$inboundSchema = exports.CancelPaymentMandate$ = exports.CancelPaymentMandate$outboundSchema = exports.CancelPaymentMandate$inboundSchema = exports.CancelPaymentCustomer$ = exports.CancelPaymentCustomer$outboundSchema = exports.CancelPaymentCustomer$inboundSchema = exports.CancelPaymentSettlement$ = exports.CancelPaymentSettlement$outboundSchema = exports.CancelPaymentSettlement$inboundSchema = exports.CancelPaymentCaptures$ = exports.CancelPaymentCaptures$outboundSchema = exports.CancelPaymentCaptures$inboundSchema = exports.CancelPaymentChargebacks$ = exports.CancelPaymentChargebacks$outboundSchema = exports.CancelPaymentChargebacks$inboundSchema = exports.CancelPaymentRefunds$ = exports.CancelPaymentRefunds$outboundSchema = exports.CancelPaymentRefunds$inboundSchema = exports.CancelPaymentDashboard$ = exports.CancelPaymentDashboard$outboundSchema = exports.CancelPaymentDashboard$inboundSchema = exports.CancelPaymentChangePaymentState$ = exports.CancelPaymentChangePaymentState$outboundSchema = exports.CancelPaymentChangePaymentState$inboundSchema = exports.CancelPaymentMobileAppCheckout$ = exports.CancelPaymentMobileAppCheckout$outboundSchema = exports.CancelPaymentMobileAppCheckout$inboundSchema = exports.CancelPaymentCheckout$ = exports.CancelPaymentCheckout$outboundSchema = void 0;
|
|
44
|
+
exports.CancelPaymentResponse$ = exports.CancelPaymentResponse$outboundSchema = exports.CancelPaymentResponse$inboundSchema = void 0;
|
|
43
45
|
exports.cancelPaymentRequestBodyToJSON = cancelPaymentRequestBodyToJSON;
|
|
44
46
|
exports.cancelPaymentRequestBodyFromJSON = cancelPaymentRequestBodyFromJSON;
|
|
45
47
|
exports.cancelPaymentRequestToJSON = cancelPaymentRequestToJSON;
|
|
@@ -102,6 +104,16 @@ exports.cancelPaymentRoutingToJSON = cancelPaymentRoutingToJSON;
|
|
|
102
104
|
exports.cancelPaymentRoutingFromJSON = cancelPaymentRoutingFromJSON;
|
|
103
105
|
exports.cancelPaymentStatusReasonToJSON = cancelPaymentStatusReasonToJSON;
|
|
104
106
|
exports.cancelPaymentStatusReasonFromJSON = cancelPaymentStatusReasonFromJSON;
|
|
107
|
+
exports.cancelPaymentPaypalFeeToJSON = cancelPaymentPaypalFeeToJSON;
|
|
108
|
+
exports.cancelPaymentPaypalFeeFromJSON = cancelPaymentPaypalFeeFromJSON;
|
|
109
|
+
exports.cancelPaymentReceiptToJSON = cancelPaymentReceiptToJSON;
|
|
110
|
+
exports.cancelPaymentReceiptFromJSON = cancelPaymentReceiptFromJSON;
|
|
111
|
+
exports.cancelPaymentQrCodeToJSON = cancelPaymentQrCodeToJSON;
|
|
112
|
+
exports.cancelPaymentQrCodeFromJSON = cancelPaymentQrCodeFromJSON;
|
|
113
|
+
exports.cancelPaymentRemainderAmountToJSON = cancelPaymentRemainderAmountToJSON;
|
|
114
|
+
exports.cancelPaymentRemainderAmountFromJSON = cancelPaymentRemainderAmountFromJSON;
|
|
115
|
+
exports.cancelPaymentDetailsToJSON = cancelPaymentDetailsToJSON;
|
|
116
|
+
exports.cancelPaymentDetailsFromJSON = cancelPaymentDetailsFromJSON;
|
|
105
117
|
exports.cancelPaymentSelfToJSON = cancelPaymentSelfToJSON;
|
|
106
118
|
exports.cancelPaymentSelfFromJSON = cancelPaymentSelfFromJSON;
|
|
107
119
|
exports.cancelPaymentCheckoutToJSON = cancelPaymentCheckoutToJSON;
|
|
@@ -132,6 +144,10 @@ exports.cancelPaymentTerminalToJSON = cancelPaymentTerminalToJSON;
|
|
|
132
144
|
exports.cancelPaymentTerminalFromJSON = cancelPaymentTerminalFromJSON;
|
|
133
145
|
exports.cancelPaymentDocumentationToJSON = cancelPaymentDocumentationToJSON;
|
|
134
146
|
exports.cancelPaymentDocumentationFromJSON = cancelPaymentDocumentationFromJSON;
|
|
147
|
+
exports.cancelPaymentLinksStatusToJSON = cancelPaymentLinksStatusToJSON;
|
|
148
|
+
exports.cancelPaymentLinksStatusFromJSON = cancelPaymentLinksStatusFromJSON;
|
|
149
|
+
exports.cancelPaymentPayOnlineToJSON = cancelPaymentPayOnlineToJSON;
|
|
150
|
+
exports.cancelPaymentPayOnlineFromJSON = cancelPaymentPayOnlineFromJSON;
|
|
135
151
|
exports.cancelPaymentLinksToJSON = cancelPaymentLinksToJSON;
|
|
136
152
|
exports.cancelPaymentLinksFromJSON = cancelPaymentLinksFromJSON;
|
|
137
153
|
exports.cancelPaymentResponseToJSON = cancelPaymentResponseToJSON;
|
|
@@ -139,6 +155,7 @@ exports.cancelPaymentResponseFromJSON = cancelPaymentResponseFromJSON;
|
|
|
139
155
|
const z = __importStar(require("zod"));
|
|
140
156
|
const primitives_js_1 = require("../../lib/primitives.js");
|
|
141
157
|
const schemas_js_1 = require("../../lib/schemas.js");
|
|
158
|
+
const rfcdate_js_1 = require("../../types/rfcdate.js");
|
|
142
159
|
/**
|
|
143
160
|
* Whether this entity was created in live mode or in test mode.
|
|
144
161
|
*/
|
|
@@ -312,7 +329,7 @@ exports.CancelPaymentSequenceType = {
|
|
|
312
329
|
* @remarks
|
|
313
330
|
* statuses occur at what point.
|
|
314
331
|
*/
|
|
315
|
-
exports.
|
|
332
|
+
exports.CancelPaymentStatusEnum = {
|
|
316
333
|
Open: "open",
|
|
317
334
|
Pending: "pending",
|
|
318
335
|
Authorized: "authorized",
|
|
@@ -321,6 +338,249 @@ exports.CancelPaymentStatus = {
|
|
|
321
338
|
Expired: "expired",
|
|
322
339
|
Failed: "failed",
|
|
323
340
|
};
|
|
341
|
+
/**
|
|
342
|
+
* A machine-readable code that indicates the reason for the payment's status.
|
|
343
|
+
*/
|
|
344
|
+
exports.CancelPaymentCode = {
|
|
345
|
+
ApprovedOrCompletedSuccessfully: "approved_or_completed_successfully",
|
|
346
|
+
ReferToCardIssuer: "refer_to_card_issuer",
|
|
347
|
+
InvalidMerchant: "invalid_merchant",
|
|
348
|
+
CaptureCard: "capture_card",
|
|
349
|
+
DoNotHonor: "do_not_honor",
|
|
350
|
+
Error: "error",
|
|
351
|
+
PartialApproval: "partial_approval",
|
|
352
|
+
InvalidTransaction: "invalid_transaction",
|
|
353
|
+
InvalidAmount: "invalid_amount",
|
|
354
|
+
InvalidIssuer: "invalid_issuer",
|
|
355
|
+
LostCard: "lost_card",
|
|
356
|
+
StolenCard: "stolen_card",
|
|
357
|
+
InsufficientFunds: "insufficient_funds",
|
|
358
|
+
ExpiredCard: "expired_card",
|
|
359
|
+
InvalidPin: "invalid_pin",
|
|
360
|
+
TransactionNotPermittedToCardholder: "transaction_not_permitted_to_cardholder",
|
|
361
|
+
TransactionNotAllowedAtTerminal: "transaction_not_allowed_at_terminal",
|
|
362
|
+
ExceedsWithdrawalAmountLimit: "exceeds_withdrawal_amount_limit",
|
|
363
|
+
RestrictedCard: "restricted_card",
|
|
364
|
+
SecurityViolation: "security_violation",
|
|
365
|
+
ExceedsWithdrawalCountLimit: "exceeds_withdrawal_count_limit",
|
|
366
|
+
AllowableNumberOfPinTriesExceeded: "allowable_number_of_pin_tries_exceeded",
|
|
367
|
+
NoReasonToDecline: "no_reason_to_decline",
|
|
368
|
+
CannotVerifyPin: "cannot_verify_pin",
|
|
369
|
+
IssuerUnavailable: "issuer_unavailable",
|
|
370
|
+
UnableToRouteTransaction: "unable_to_route_transaction",
|
|
371
|
+
DuplicateTransaction: "duplicate_transaction",
|
|
372
|
+
SystemMalfunction: "system_malfunction",
|
|
373
|
+
HonorWithId: "honor_with_id",
|
|
374
|
+
InvalidCardNumber: "invalid_card_number",
|
|
375
|
+
FormatError: "format_error",
|
|
376
|
+
ContactCardIssuer: "contact_card_issuer",
|
|
377
|
+
PinNotChanged: "pin_not_changed",
|
|
378
|
+
InvalidNonexistentToAccountSpecified: "invalid_nonexistent_to_account_specified",
|
|
379
|
+
InvalidNonexistentFromAccountSpecified: "invalid_nonexistent_from_account_specified",
|
|
380
|
+
InvalidNonexistentAccountSpecified: "invalid_nonexistent_account_specified",
|
|
381
|
+
LifecycleRelated: "lifecycle_related",
|
|
382
|
+
DomesticDebitTransactionNotAllowed: "domestic_debit_transaction_not_allowed",
|
|
383
|
+
PolicyRelated: "policy_related",
|
|
384
|
+
FraudSecurityRelated: "fraud_security_related",
|
|
385
|
+
InvalidAuthorizationLifeCycle: "invalid_authorization_life_cycle",
|
|
386
|
+
PurchaseAmountOnlyNoCashBackAllowed: "purchase_amount_only_no_cash_back_allowed",
|
|
387
|
+
CryptographicFailure: "cryptographic_failure",
|
|
388
|
+
UnacceptablePin: "unacceptable_pin",
|
|
389
|
+
ReferToCardIssuerSpecialCondition: "refer_to_card_issuer_special_condition",
|
|
390
|
+
PickUpCardSpecialCondition: "pick_up_card_special_condition",
|
|
391
|
+
VipApproval: "vip_approval",
|
|
392
|
+
InvalidAccountNumber: "invalid_account_number",
|
|
393
|
+
ReEnterTransaction: "re_enter_transaction",
|
|
394
|
+
NoActionTaken: "no_action_taken",
|
|
395
|
+
UnableToLocateRecord: "unable_to_locate_record",
|
|
396
|
+
FileTemporarilyUnavailable: "file_temporarily_unavailable",
|
|
397
|
+
NoCreditAccount: "no_credit_account",
|
|
398
|
+
ClosedAccount: "closed_account",
|
|
399
|
+
NoCheckingAccount: "no_checking_account",
|
|
400
|
+
NoSavingsAccount: "no_savings_account",
|
|
401
|
+
SuspectedFraud: "suspected_fraud",
|
|
402
|
+
TransactionDoesNotFulfillAmlRequirement: "transaction_does_not_fulfill_aml_requirement",
|
|
403
|
+
PinDataRequired: "pin_data_required",
|
|
404
|
+
UnableToLocatePreviousMessage: "unable_to_locate_previous_message",
|
|
405
|
+
PreviousMessageLocatedInconsistentData: "previous_message_located_inconsistent_data",
|
|
406
|
+
BlockedFirstUsed: "blocked_first_used",
|
|
407
|
+
TransactionReversed: "transaction_reversed",
|
|
408
|
+
CreditIssuerUnavailable: "credit_issuer_unavailable",
|
|
409
|
+
PinCryptographicErrorFound: "pin_cryptographic_error_found",
|
|
410
|
+
NegativeOnlineCamResult: "negative_online_cam_result",
|
|
411
|
+
ViolationOfLaw: "violation_of_law",
|
|
412
|
+
ForceStip: "force_stip",
|
|
413
|
+
CashServiceNotAvailable: "cash_service_not_available",
|
|
414
|
+
CashbackRequestExceedsIssuerLimit: "cashback_request_exceeds_issuer_limit",
|
|
415
|
+
DeclineForCvv2Failure: "decline_for_cvv2_failure",
|
|
416
|
+
TransactionAmountExceedsPreAuthorizedAmount: "transaction_amount_exceeds_pre_authorized_amount",
|
|
417
|
+
InvalidBillerInformation: "invalid_biller_information",
|
|
418
|
+
PinChangeUnblockRequestDeclined: "pin_change_unblock_request_declined",
|
|
419
|
+
UnsafePin: "unsafe_pin",
|
|
420
|
+
CardAuthenticationFailed: "card_authentication_failed",
|
|
421
|
+
StopPaymentOrder: "stop_payment_order",
|
|
422
|
+
RevocationOfAuthorization: "revocation_of_authorization",
|
|
423
|
+
RevocationOfAllAuthorizations: "revocation_of_all_authorizations",
|
|
424
|
+
ForwardToIssuerXa: "forward_to_issuer_xa",
|
|
425
|
+
ForwardToIssuerXd: "forward_to_issuer_xd",
|
|
426
|
+
UnableToGoOnline: "unable_to_go_online",
|
|
427
|
+
AdditionalCustomerAuthenticationRequired: "additional_customer_authentication_required",
|
|
428
|
+
MerchantIdNotFound: "merchant_id_not_found",
|
|
429
|
+
MerchantAccountClosed: "merchant_account_closed",
|
|
430
|
+
TerminalIdNotFound: "terminal_id_not_found",
|
|
431
|
+
TerminalClosed: "terminal_closed",
|
|
432
|
+
InvalidCategoryCode: "invalid_category_code",
|
|
433
|
+
InvalidCurrency: "invalid_currency",
|
|
434
|
+
MissingCvv2Cvc2: "missing_cvv2_cvc2",
|
|
435
|
+
Cvv2NotAllowed: "cvv2_not_allowed",
|
|
436
|
+
MerchantNotRegisteredVbv: "merchant_not_registered_vbv",
|
|
437
|
+
MerchantNotRegisteredForAmex: "merchant_not_registered_for_amex",
|
|
438
|
+
TransactionNotPermittedAtTerminal: "transaction_not_permitted_at_terminal",
|
|
439
|
+
AgreementTerminalNotRelated: "agreement_terminal_not_related",
|
|
440
|
+
InvalidProcessorId: "invalid_processor_id",
|
|
441
|
+
InvalidMerchantData: "invalid_merchant_data",
|
|
442
|
+
SubMerchantAccountClosed: "sub_merchant_account_closed",
|
|
443
|
+
TerminalBusy: "terminal_busy",
|
|
444
|
+
TerminalUnreachable: "terminal_unreachable",
|
|
445
|
+
ServiceFailed: "service_failed",
|
|
446
|
+
InvalidOperation: "invalid_operation",
|
|
447
|
+
AuthorizationError: "authorization_error",
|
|
448
|
+
LoginFailedWithoutReason: "login_failed_without_reason",
|
|
449
|
+
InvalidRetailer: "invalid_retailer",
|
|
450
|
+
CardDoesNotExist: "card_does_not_exist",
|
|
451
|
+
CardIsBlocked: "card_is_blocked",
|
|
452
|
+
InvalidCardId: "invalid_card_id",
|
|
453
|
+
CardIsTransferred: "card_is_transferred",
|
|
454
|
+
CardIsNotActive: "card_is_not_active",
|
|
455
|
+
IncorrectPurchaseValue: "incorrect_purchase_value",
|
|
456
|
+
CardNotAvailable: "card_not_available",
|
|
457
|
+
WrongCurrency: "wrong_currency",
|
|
458
|
+
LoginFailedUnknownUser: "login_failed_unknown_user",
|
|
459
|
+
LoginFailedInvalidPassword: "login_failed_invalid_password",
|
|
460
|
+
InvalidEanCode: "invalid_ean_code",
|
|
461
|
+
};
|
|
462
|
+
/**
|
|
463
|
+
* The card's target audience, if known.
|
|
464
|
+
*/
|
|
465
|
+
exports.CancelPaymentCardAudition = {
|
|
466
|
+
Consumer: "consumer",
|
|
467
|
+
Business: "business",
|
|
468
|
+
};
|
|
469
|
+
/**
|
|
470
|
+
* The card's label, if known.
|
|
471
|
+
*/
|
|
472
|
+
exports.CancelPaymentCardLabel = {
|
|
473
|
+
AmericanExpress: "American Express",
|
|
474
|
+
CartaSi: "Carta Si",
|
|
475
|
+
CarteBleue: "Carte Bleue",
|
|
476
|
+
Dankort: "Dankort",
|
|
477
|
+
DinersClub: "Diners Club",
|
|
478
|
+
Discover: "Discover",
|
|
479
|
+
Jcb: "JCB",
|
|
480
|
+
Laser: "Laser",
|
|
481
|
+
Maestro: "Maestro",
|
|
482
|
+
Mastercard: "Mastercard",
|
|
483
|
+
Unionpay: "Unionpay",
|
|
484
|
+
Visa: "Visa",
|
|
485
|
+
Vpay: "Vpay",
|
|
486
|
+
};
|
|
487
|
+
/**
|
|
488
|
+
* The card type.
|
|
489
|
+
*/
|
|
490
|
+
exports.CancelPaymentCardFunding = {
|
|
491
|
+
Debit: "debit",
|
|
492
|
+
Credit: "credit",
|
|
493
|
+
Prepaid: "prepaid",
|
|
494
|
+
DeferredDebit: "deferred-debit",
|
|
495
|
+
};
|
|
496
|
+
/**
|
|
497
|
+
* The level of security applied during card processing.
|
|
498
|
+
*/
|
|
499
|
+
exports.CancelPaymentCardSecurity = {
|
|
500
|
+
Normal: "normal",
|
|
501
|
+
Threedsecure: "3dsecure",
|
|
502
|
+
};
|
|
503
|
+
/**
|
|
504
|
+
* The applicable card fee region.
|
|
505
|
+
*/
|
|
506
|
+
exports.CancelPaymentFeeRegion = {
|
|
507
|
+
AmericanExpress: "american-express",
|
|
508
|
+
AmexIntraEea: "amex-intra-eea",
|
|
509
|
+
CarteBancaire: "carte-bancaire",
|
|
510
|
+
IntraEu: "intra-eu",
|
|
511
|
+
IntraEuCorporate: "intra-eu-corporate",
|
|
512
|
+
Domestic: "domestic",
|
|
513
|
+
Maestro: "maestro",
|
|
514
|
+
Other: "other",
|
|
515
|
+
Inter: "inter",
|
|
516
|
+
IntraEea: "intra-eea",
|
|
517
|
+
};
|
|
518
|
+
/**
|
|
519
|
+
* A failure code to help understand why the payment failed.
|
|
520
|
+
*/
|
|
521
|
+
exports.CancelPaymentFailureReason = {
|
|
522
|
+
AuthenticationAbandoned: "authentication_abandoned",
|
|
523
|
+
AuthenticationFailed: "authentication_failed",
|
|
524
|
+
AuthenticationRequired: "authentication_required",
|
|
525
|
+
AuthenticationUnavailableAcs: "authentication_unavailable_acs",
|
|
526
|
+
CardDeclined: "card_declined",
|
|
527
|
+
CardExpired: "card_expired",
|
|
528
|
+
InactiveCard: "inactive_card",
|
|
529
|
+
InsufficientFunds: "insufficient_funds",
|
|
530
|
+
InvalidCvv: "invalid_cvv",
|
|
531
|
+
InvalidCardHolderName: "invalid_card_holder_name",
|
|
532
|
+
InvalidCardNumber: "invalid_card_number",
|
|
533
|
+
InvalidCardType: "invalid_card_type",
|
|
534
|
+
PossibleFraud: "possible_fraud",
|
|
535
|
+
RefusedByIssuer: "refused_by_issuer",
|
|
536
|
+
UnknownReason: "unknown_reason",
|
|
537
|
+
};
|
|
538
|
+
/**
|
|
539
|
+
* The wallet used when creating the payment.
|
|
540
|
+
*/
|
|
541
|
+
exports.CancelPaymentWallet = {
|
|
542
|
+
Applepay: "applepay",
|
|
543
|
+
};
|
|
544
|
+
/**
|
|
545
|
+
* Indicates to what extent the payment is eligible for PayPal's Seller Protection. Only available for PayPal
|
|
546
|
+
*
|
|
547
|
+
* @remarks
|
|
548
|
+
* payments, and if the information is made available by PayPal.
|
|
549
|
+
*/
|
|
550
|
+
exports.CancelPaymentSellerProtection = {
|
|
551
|
+
Eligible: "Eligible",
|
|
552
|
+
Ineligible: "Ineligible",
|
|
553
|
+
PartiallyEligibleINROnly: "Partially Eligible - INR Only",
|
|
554
|
+
PartiallyEligibleUnauthOnly: "Partially Eligible - Unauth Only",
|
|
555
|
+
PartiallyEligible: "Partially Eligible",
|
|
556
|
+
None: "None",
|
|
557
|
+
Active: "Active",
|
|
558
|
+
FraudControlUnauthPremiumEligible: "Fraud Control - Unauth Premium Eligible",
|
|
559
|
+
};
|
|
560
|
+
/**
|
|
561
|
+
* The method by which the card was read by the terminal.
|
|
562
|
+
*/
|
|
563
|
+
exports.CancelPaymentCardReadMethod = {
|
|
564
|
+
Chip: "chip",
|
|
565
|
+
MagneticStripe: "magnetic-stripe",
|
|
566
|
+
NearFieldCommunication: "near-field-communication",
|
|
567
|
+
Contactless: "contactless",
|
|
568
|
+
Moto: "moto",
|
|
569
|
+
};
|
|
570
|
+
/**
|
|
571
|
+
* The method used to verify the cardholder's identity.
|
|
572
|
+
*/
|
|
573
|
+
exports.CancelPaymentCardVerificationMethod = {
|
|
574
|
+
NoCvmRequired: "no-cvm-required",
|
|
575
|
+
OnlinePin: "online-pin",
|
|
576
|
+
OfflinePin: "offline-pin",
|
|
577
|
+
ConsumerDevice: "consumer-device",
|
|
578
|
+
Signature: "signature",
|
|
579
|
+
SignatureAndOnlinePin: "signature-and-online-pin",
|
|
580
|
+
OnlinePinAndSignature: "online-pin-and-signature",
|
|
581
|
+
None: "none",
|
|
582
|
+
Failed: "failed",
|
|
583
|
+
};
|
|
324
584
|
/** @internal */
|
|
325
585
|
exports.CancelPaymentRequestBody$inboundSchema = z.object({
|
|
326
586
|
testmode: z.nullable(z.boolean()).optional(),
|
|
@@ -1372,28 +1632,43 @@ var CancelPaymentSequenceType$;
|
|
|
1372
1632
|
CancelPaymentSequenceType$.outboundSchema = exports.CancelPaymentSequenceType$outboundSchema;
|
|
1373
1633
|
})(CancelPaymentSequenceType$ || (exports.CancelPaymentSequenceType$ = CancelPaymentSequenceType$ = {}));
|
|
1374
1634
|
/** @internal */
|
|
1375
|
-
exports.
|
|
1635
|
+
exports.CancelPaymentStatusEnum$inboundSchema = z.nativeEnum(exports.CancelPaymentStatusEnum);
|
|
1636
|
+
/** @internal */
|
|
1637
|
+
exports.CancelPaymentStatusEnum$outboundSchema = exports.CancelPaymentStatusEnum$inboundSchema;
|
|
1638
|
+
/**
|
|
1639
|
+
* @internal
|
|
1640
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1641
|
+
*/
|
|
1642
|
+
var CancelPaymentStatusEnum$;
|
|
1643
|
+
(function (CancelPaymentStatusEnum$) {
|
|
1644
|
+
/** @deprecated use `CancelPaymentStatusEnum$inboundSchema` instead. */
|
|
1645
|
+
CancelPaymentStatusEnum$.inboundSchema = exports.CancelPaymentStatusEnum$inboundSchema;
|
|
1646
|
+
/** @deprecated use `CancelPaymentStatusEnum$outboundSchema` instead. */
|
|
1647
|
+
CancelPaymentStatusEnum$.outboundSchema = exports.CancelPaymentStatusEnum$outboundSchema;
|
|
1648
|
+
})(CancelPaymentStatusEnum$ || (exports.CancelPaymentStatusEnum$ = CancelPaymentStatusEnum$ = {}));
|
|
1649
|
+
/** @internal */
|
|
1650
|
+
exports.CancelPaymentCode$inboundSchema = z.nativeEnum(exports.CancelPaymentCode);
|
|
1376
1651
|
/** @internal */
|
|
1377
|
-
exports.
|
|
1652
|
+
exports.CancelPaymentCode$outboundSchema = exports.CancelPaymentCode$inboundSchema;
|
|
1378
1653
|
/**
|
|
1379
1654
|
* @internal
|
|
1380
1655
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1381
1656
|
*/
|
|
1382
|
-
var
|
|
1383
|
-
(function (
|
|
1384
|
-
/** @deprecated use `
|
|
1385
|
-
|
|
1386
|
-
/** @deprecated use `
|
|
1387
|
-
|
|
1388
|
-
})(
|
|
1657
|
+
var CancelPaymentCode$;
|
|
1658
|
+
(function (CancelPaymentCode$) {
|
|
1659
|
+
/** @deprecated use `CancelPaymentCode$inboundSchema` instead. */
|
|
1660
|
+
CancelPaymentCode$.inboundSchema = exports.CancelPaymentCode$inboundSchema;
|
|
1661
|
+
/** @deprecated use `CancelPaymentCode$outboundSchema` instead. */
|
|
1662
|
+
CancelPaymentCode$.outboundSchema = exports.CancelPaymentCode$outboundSchema;
|
|
1663
|
+
})(CancelPaymentCode$ || (exports.CancelPaymentCode$ = CancelPaymentCode$ = {}));
|
|
1389
1664
|
/** @internal */
|
|
1390
1665
|
exports.CancelPaymentStatusReason$inboundSchema = z.object({
|
|
1391
|
-
code:
|
|
1666
|
+
code: exports.CancelPaymentCode$inboundSchema,
|
|
1392
1667
|
message: z.string(),
|
|
1393
1668
|
});
|
|
1394
1669
|
/** @internal */
|
|
1395
1670
|
exports.CancelPaymentStatusReason$outboundSchema = z.object({
|
|
1396
|
-
code:
|
|
1671
|
+
code: exports.CancelPaymentCode$outboundSchema,
|
|
1397
1672
|
message: z.string(),
|
|
1398
1673
|
});
|
|
1399
1674
|
/**
|
|
@@ -1414,6 +1689,406 @@ function cancelPaymentStatusReasonFromJSON(jsonString) {
|
|
|
1414
1689
|
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CancelPaymentStatusReason$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CancelPaymentStatusReason' from JSON`);
|
|
1415
1690
|
}
|
|
1416
1691
|
/** @internal */
|
|
1692
|
+
exports.CancelPaymentCardAudition$inboundSchema = z.nativeEnum(exports.CancelPaymentCardAudition);
|
|
1693
|
+
/** @internal */
|
|
1694
|
+
exports.CancelPaymentCardAudition$outboundSchema = exports.CancelPaymentCardAudition$inboundSchema;
|
|
1695
|
+
/**
|
|
1696
|
+
* @internal
|
|
1697
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1698
|
+
*/
|
|
1699
|
+
var CancelPaymentCardAudition$;
|
|
1700
|
+
(function (CancelPaymentCardAudition$) {
|
|
1701
|
+
/** @deprecated use `CancelPaymentCardAudition$inboundSchema` instead. */
|
|
1702
|
+
CancelPaymentCardAudition$.inboundSchema = exports.CancelPaymentCardAudition$inboundSchema;
|
|
1703
|
+
/** @deprecated use `CancelPaymentCardAudition$outboundSchema` instead. */
|
|
1704
|
+
CancelPaymentCardAudition$.outboundSchema = exports.CancelPaymentCardAudition$outboundSchema;
|
|
1705
|
+
})(CancelPaymentCardAudition$ || (exports.CancelPaymentCardAudition$ = CancelPaymentCardAudition$ = {}));
|
|
1706
|
+
/** @internal */
|
|
1707
|
+
exports.CancelPaymentCardLabel$inboundSchema = z.nativeEnum(exports.CancelPaymentCardLabel);
|
|
1708
|
+
/** @internal */
|
|
1709
|
+
exports.CancelPaymentCardLabel$outboundSchema = exports.CancelPaymentCardLabel$inboundSchema;
|
|
1710
|
+
/**
|
|
1711
|
+
* @internal
|
|
1712
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1713
|
+
*/
|
|
1714
|
+
var CancelPaymentCardLabel$;
|
|
1715
|
+
(function (CancelPaymentCardLabel$) {
|
|
1716
|
+
/** @deprecated use `CancelPaymentCardLabel$inboundSchema` instead. */
|
|
1717
|
+
CancelPaymentCardLabel$.inboundSchema = exports.CancelPaymentCardLabel$inboundSchema;
|
|
1718
|
+
/** @deprecated use `CancelPaymentCardLabel$outboundSchema` instead. */
|
|
1719
|
+
CancelPaymentCardLabel$.outboundSchema = exports.CancelPaymentCardLabel$outboundSchema;
|
|
1720
|
+
})(CancelPaymentCardLabel$ || (exports.CancelPaymentCardLabel$ = CancelPaymentCardLabel$ = {}));
|
|
1721
|
+
/** @internal */
|
|
1722
|
+
exports.CancelPaymentCardFunding$inboundSchema = z.nativeEnum(exports.CancelPaymentCardFunding);
|
|
1723
|
+
/** @internal */
|
|
1724
|
+
exports.CancelPaymentCardFunding$outboundSchema = exports.CancelPaymentCardFunding$inboundSchema;
|
|
1725
|
+
/**
|
|
1726
|
+
* @internal
|
|
1727
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1728
|
+
*/
|
|
1729
|
+
var CancelPaymentCardFunding$;
|
|
1730
|
+
(function (CancelPaymentCardFunding$) {
|
|
1731
|
+
/** @deprecated use `CancelPaymentCardFunding$inboundSchema` instead. */
|
|
1732
|
+
CancelPaymentCardFunding$.inboundSchema = exports.CancelPaymentCardFunding$inboundSchema;
|
|
1733
|
+
/** @deprecated use `CancelPaymentCardFunding$outboundSchema` instead. */
|
|
1734
|
+
CancelPaymentCardFunding$.outboundSchema = exports.CancelPaymentCardFunding$outboundSchema;
|
|
1735
|
+
})(CancelPaymentCardFunding$ || (exports.CancelPaymentCardFunding$ = CancelPaymentCardFunding$ = {}));
|
|
1736
|
+
/** @internal */
|
|
1737
|
+
exports.CancelPaymentCardSecurity$inboundSchema = z.nativeEnum(exports.CancelPaymentCardSecurity);
|
|
1738
|
+
/** @internal */
|
|
1739
|
+
exports.CancelPaymentCardSecurity$outboundSchema = exports.CancelPaymentCardSecurity$inboundSchema;
|
|
1740
|
+
/**
|
|
1741
|
+
* @internal
|
|
1742
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1743
|
+
*/
|
|
1744
|
+
var CancelPaymentCardSecurity$;
|
|
1745
|
+
(function (CancelPaymentCardSecurity$) {
|
|
1746
|
+
/** @deprecated use `CancelPaymentCardSecurity$inboundSchema` instead. */
|
|
1747
|
+
CancelPaymentCardSecurity$.inboundSchema = exports.CancelPaymentCardSecurity$inboundSchema;
|
|
1748
|
+
/** @deprecated use `CancelPaymentCardSecurity$outboundSchema` instead. */
|
|
1749
|
+
CancelPaymentCardSecurity$.outboundSchema = exports.CancelPaymentCardSecurity$outboundSchema;
|
|
1750
|
+
})(CancelPaymentCardSecurity$ || (exports.CancelPaymentCardSecurity$ = CancelPaymentCardSecurity$ = {}));
|
|
1751
|
+
/** @internal */
|
|
1752
|
+
exports.CancelPaymentFeeRegion$inboundSchema = z.nativeEnum(exports.CancelPaymentFeeRegion);
|
|
1753
|
+
/** @internal */
|
|
1754
|
+
exports.CancelPaymentFeeRegion$outboundSchema = exports.CancelPaymentFeeRegion$inboundSchema;
|
|
1755
|
+
/**
|
|
1756
|
+
* @internal
|
|
1757
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1758
|
+
*/
|
|
1759
|
+
var CancelPaymentFeeRegion$;
|
|
1760
|
+
(function (CancelPaymentFeeRegion$) {
|
|
1761
|
+
/** @deprecated use `CancelPaymentFeeRegion$inboundSchema` instead. */
|
|
1762
|
+
CancelPaymentFeeRegion$.inboundSchema = exports.CancelPaymentFeeRegion$inboundSchema;
|
|
1763
|
+
/** @deprecated use `CancelPaymentFeeRegion$outboundSchema` instead. */
|
|
1764
|
+
CancelPaymentFeeRegion$.outboundSchema = exports.CancelPaymentFeeRegion$outboundSchema;
|
|
1765
|
+
})(CancelPaymentFeeRegion$ || (exports.CancelPaymentFeeRegion$ = CancelPaymentFeeRegion$ = {}));
|
|
1766
|
+
/** @internal */
|
|
1767
|
+
exports.CancelPaymentFailureReason$inboundSchema = z.nativeEnum(exports.CancelPaymentFailureReason);
|
|
1768
|
+
/** @internal */
|
|
1769
|
+
exports.CancelPaymentFailureReason$outboundSchema = exports.CancelPaymentFailureReason$inboundSchema;
|
|
1770
|
+
/**
|
|
1771
|
+
* @internal
|
|
1772
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1773
|
+
*/
|
|
1774
|
+
var CancelPaymentFailureReason$;
|
|
1775
|
+
(function (CancelPaymentFailureReason$) {
|
|
1776
|
+
/** @deprecated use `CancelPaymentFailureReason$inboundSchema` instead. */
|
|
1777
|
+
CancelPaymentFailureReason$.inboundSchema = exports.CancelPaymentFailureReason$inboundSchema;
|
|
1778
|
+
/** @deprecated use `CancelPaymentFailureReason$outboundSchema` instead. */
|
|
1779
|
+
CancelPaymentFailureReason$.outboundSchema = exports.CancelPaymentFailureReason$outboundSchema;
|
|
1780
|
+
})(CancelPaymentFailureReason$ || (exports.CancelPaymentFailureReason$ = CancelPaymentFailureReason$ = {}));
|
|
1781
|
+
/** @internal */
|
|
1782
|
+
exports.CancelPaymentWallet$inboundSchema = z.nativeEnum(exports.CancelPaymentWallet);
|
|
1783
|
+
/** @internal */
|
|
1784
|
+
exports.CancelPaymentWallet$outboundSchema = exports.CancelPaymentWallet$inboundSchema;
|
|
1785
|
+
/**
|
|
1786
|
+
* @internal
|
|
1787
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1788
|
+
*/
|
|
1789
|
+
var CancelPaymentWallet$;
|
|
1790
|
+
(function (CancelPaymentWallet$) {
|
|
1791
|
+
/** @deprecated use `CancelPaymentWallet$inboundSchema` instead. */
|
|
1792
|
+
CancelPaymentWallet$.inboundSchema = exports.CancelPaymentWallet$inboundSchema;
|
|
1793
|
+
/** @deprecated use `CancelPaymentWallet$outboundSchema` instead. */
|
|
1794
|
+
CancelPaymentWallet$.outboundSchema = exports.CancelPaymentWallet$outboundSchema;
|
|
1795
|
+
})(CancelPaymentWallet$ || (exports.CancelPaymentWallet$ = CancelPaymentWallet$ = {}));
|
|
1796
|
+
/** @internal */
|
|
1797
|
+
exports.CancelPaymentSellerProtection$inboundSchema = z.nativeEnum(exports.CancelPaymentSellerProtection);
|
|
1798
|
+
/** @internal */
|
|
1799
|
+
exports.CancelPaymentSellerProtection$outboundSchema = exports.CancelPaymentSellerProtection$inboundSchema;
|
|
1800
|
+
/**
|
|
1801
|
+
* @internal
|
|
1802
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1803
|
+
*/
|
|
1804
|
+
var CancelPaymentSellerProtection$;
|
|
1805
|
+
(function (CancelPaymentSellerProtection$) {
|
|
1806
|
+
/** @deprecated use `CancelPaymentSellerProtection$inboundSchema` instead. */
|
|
1807
|
+
CancelPaymentSellerProtection$.inboundSchema = exports.CancelPaymentSellerProtection$inboundSchema;
|
|
1808
|
+
/** @deprecated use `CancelPaymentSellerProtection$outboundSchema` instead. */
|
|
1809
|
+
CancelPaymentSellerProtection$.outboundSchema = exports.CancelPaymentSellerProtection$outboundSchema;
|
|
1810
|
+
})(CancelPaymentSellerProtection$ || (exports.CancelPaymentSellerProtection$ = CancelPaymentSellerProtection$ = {}));
|
|
1811
|
+
/** @internal */
|
|
1812
|
+
exports.CancelPaymentPaypalFee$inboundSchema = z.object({
|
|
1813
|
+
currency: z.string(),
|
|
1814
|
+
value: z.string(),
|
|
1815
|
+
});
|
|
1816
|
+
/** @internal */
|
|
1817
|
+
exports.CancelPaymentPaypalFee$outboundSchema = z.object({
|
|
1818
|
+
currency: z.string(),
|
|
1819
|
+
value: z.string(),
|
|
1820
|
+
});
|
|
1821
|
+
/**
|
|
1822
|
+
* @internal
|
|
1823
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1824
|
+
*/
|
|
1825
|
+
var CancelPaymentPaypalFee$;
|
|
1826
|
+
(function (CancelPaymentPaypalFee$) {
|
|
1827
|
+
/** @deprecated use `CancelPaymentPaypalFee$inboundSchema` instead. */
|
|
1828
|
+
CancelPaymentPaypalFee$.inboundSchema = exports.CancelPaymentPaypalFee$inboundSchema;
|
|
1829
|
+
/** @deprecated use `CancelPaymentPaypalFee$outboundSchema` instead. */
|
|
1830
|
+
CancelPaymentPaypalFee$.outboundSchema = exports.CancelPaymentPaypalFee$outboundSchema;
|
|
1831
|
+
})(CancelPaymentPaypalFee$ || (exports.CancelPaymentPaypalFee$ = CancelPaymentPaypalFee$ = {}));
|
|
1832
|
+
function cancelPaymentPaypalFeeToJSON(cancelPaymentPaypalFee) {
|
|
1833
|
+
return JSON.stringify(exports.CancelPaymentPaypalFee$outboundSchema.parse(cancelPaymentPaypalFee));
|
|
1834
|
+
}
|
|
1835
|
+
function cancelPaymentPaypalFeeFromJSON(jsonString) {
|
|
1836
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CancelPaymentPaypalFee$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CancelPaymentPaypalFee' from JSON`);
|
|
1837
|
+
}
|
|
1838
|
+
/** @internal */
|
|
1839
|
+
exports.CancelPaymentCardReadMethod$inboundSchema = z.nativeEnum(exports.CancelPaymentCardReadMethod);
|
|
1840
|
+
/** @internal */
|
|
1841
|
+
exports.CancelPaymentCardReadMethod$outboundSchema = exports.CancelPaymentCardReadMethod$inboundSchema;
|
|
1842
|
+
/**
|
|
1843
|
+
* @internal
|
|
1844
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1845
|
+
*/
|
|
1846
|
+
var CancelPaymentCardReadMethod$;
|
|
1847
|
+
(function (CancelPaymentCardReadMethod$) {
|
|
1848
|
+
/** @deprecated use `CancelPaymentCardReadMethod$inboundSchema` instead. */
|
|
1849
|
+
CancelPaymentCardReadMethod$.inboundSchema = exports.CancelPaymentCardReadMethod$inboundSchema;
|
|
1850
|
+
/** @deprecated use `CancelPaymentCardReadMethod$outboundSchema` instead. */
|
|
1851
|
+
CancelPaymentCardReadMethod$.outboundSchema = exports.CancelPaymentCardReadMethod$outboundSchema;
|
|
1852
|
+
})(CancelPaymentCardReadMethod$ || (exports.CancelPaymentCardReadMethod$ = CancelPaymentCardReadMethod$ = {}));
|
|
1853
|
+
/** @internal */
|
|
1854
|
+
exports.CancelPaymentCardVerificationMethod$inboundSchema = z.nativeEnum(exports.CancelPaymentCardVerificationMethod);
|
|
1855
|
+
/** @internal */
|
|
1856
|
+
exports.CancelPaymentCardVerificationMethod$outboundSchema = exports.CancelPaymentCardVerificationMethod$inboundSchema;
|
|
1857
|
+
/**
|
|
1858
|
+
* @internal
|
|
1859
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1860
|
+
*/
|
|
1861
|
+
var CancelPaymentCardVerificationMethod$;
|
|
1862
|
+
(function (CancelPaymentCardVerificationMethod$) {
|
|
1863
|
+
/** @deprecated use `CancelPaymentCardVerificationMethod$inboundSchema` instead. */
|
|
1864
|
+
CancelPaymentCardVerificationMethod$.inboundSchema = exports.CancelPaymentCardVerificationMethod$inboundSchema;
|
|
1865
|
+
/** @deprecated use `CancelPaymentCardVerificationMethod$outboundSchema` instead. */
|
|
1866
|
+
CancelPaymentCardVerificationMethod$.outboundSchema = exports.CancelPaymentCardVerificationMethod$outboundSchema;
|
|
1867
|
+
})(CancelPaymentCardVerificationMethod$ || (exports.CancelPaymentCardVerificationMethod$ = CancelPaymentCardVerificationMethod$ = {}));
|
|
1868
|
+
/** @internal */
|
|
1869
|
+
exports.CancelPaymentReceipt$inboundSchema = z.object({
|
|
1870
|
+
authorizationCode: z.nullable(z.string()).optional(),
|
|
1871
|
+
applicationIdentifier: z.nullable(z.string()).optional(),
|
|
1872
|
+
cardReadMethod: z.nullable(exports.CancelPaymentCardReadMethod$inboundSchema)
|
|
1873
|
+
.optional(),
|
|
1874
|
+
cardVerificationMethod: z.nullable(exports.CancelPaymentCardVerificationMethod$inboundSchema).optional(),
|
|
1875
|
+
});
|
|
1876
|
+
/** @internal */
|
|
1877
|
+
exports.CancelPaymentReceipt$outboundSchema = z.object({
|
|
1878
|
+
authorizationCode: z.nullable(z.string()).optional(),
|
|
1879
|
+
applicationIdentifier: z.nullable(z.string()).optional(),
|
|
1880
|
+
cardReadMethod: z.nullable(exports.CancelPaymentCardReadMethod$outboundSchema)
|
|
1881
|
+
.optional(),
|
|
1882
|
+
cardVerificationMethod: z.nullable(exports.CancelPaymentCardVerificationMethod$outboundSchema).optional(),
|
|
1883
|
+
});
|
|
1884
|
+
/**
|
|
1885
|
+
* @internal
|
|
1886
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1887
|
+
*/
|
|
1888
|
+
var CancelPaymentReceipt$;
|
|
1889
|
+
(function (CancelPaymentReceipt$) {
|
|
1890
|
+
/** @deprecated use `CancelPaymentReceipt$inboundSchema` instead. */
|
|
1891
|
+
CancelPaymentReceipt$.inboundSchema = exports.CancelPaymentReceipt$inboundSchema;
|
|
1892
|
+
/** @deprecated use `CancelPaymentReceipt$outboundSchema` instead. */
|
|
1893
|
+
CancelPaymentReceipt$.outboundSchema = exports.CancelPaymentReceipt$outboundSchema;
|
|
1894
|
+
})(CancelPaymentReceipt$ || (exports.CancelPaymentReceipt$ = CancelPaymentReceipt$ = {}));
|
|
1895
|
+
function cancelPaymentReceiptToJSON(cancelPaymentReceipt) {
|
|
1896
|
+
return JSON.stringify(exports.CancelPaymentReceipt$outboundSchema.parse(cancelPaymentReceipt));
|
|
1897
|
+
}
|
|
1898
|
+
function cancelPaymentReceiptFromJSON(jsonString) {
|
|
1899
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CancelPaymentReceipt$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CancelPaymentReceipt' from JSON`);
|
|
1900
|
+
}
|
|
1901
|
+
/** @internal */
|
|
1902
|
+
exports.CancelPaymentQrCode$inboundSchema = z.object({
|
|
1903
|
+
height: z.number().int().optional(),
|
|
1904
|
+
width: z.number().int().optional(),
|
|
1905
|
+
src: z.string().optional(),
|
|
1906
|
+
});
|
|
1907
|
+
/** @internal */
|
|
1908
|
+
exports.CancelPaymentQrCode$outboundSchema = z.object({
|
|
1909
|
+
height: z.number().int().optional(),
|
|
1910
|
+
width: z.number().int().optional(),
|
|
1911
|
+
src: z.string().optional(),
|
|
1912
|
+
});
|
|
1913
|
+
/**
|
|
1914
|
+
* @internal
|
|
1915
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1916
|
+
*/
|
|
1917
|
+
var CancelPaymentQrCode$;
|
|
1918
|
+
(function (CancelPaymentQrCode$) {
|
|
1919
|
+
/** @deprecated use `CancelPaymentQrCode$inboundSchema` instead. */
|
|
1920
|
+
CancelPaymentQrCode$.inboundSchema = exports.CancelPaymentQrCode$inboundSchema;
|
|
1921
|
+
/** @deprecated use `CancelPaymentQrCode$outboundSchema` instead. */
|
|
1922
|
+
CancelPaymentQrCode$.outboundSchema = exports.CancelPaymentQrCode$outboundSchema;
|
|
1923
|
+
})(CancelPaymentQrCode$ || (exports.CancelPaymentQrCode$ = CancelPaymentQrCode$ = {}));
|
|
1924
|
+
function cancelPaymentQrCodeToJSON(cancelPaymentQrCode) {
|
|
1925
|
+
return JSON.stringify(exports.CancelPaymentQrCode$outboundSchema.parse(cancelPaymentQrCode));
|
|
1926
|
+
}
|
|
1927
|
+
function cancelPaymentQrCodeFromJSON(jsonString) {
|
|
1928
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CancelPaymentQrCode$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CancelPaymentQrCode' from JSON`);
|
|
1929
|
+
}
|
|
1930
|
+
/** @internal */
|
|
1931
|
+
exports.CancelPaymentRemainderAmount$inboundSchema = z.object({
|
|
1932
|
+
currency: z.string(),
|
|
1933
|
+
value: z.string(),
|
|
1934
|
+
});
|
|
1935
|
+
/** @internal */
|
|
1936
|
+
exports.CancelPaymentRemainderAmount$outboundSchema = z.object({
|
|
1937
|
+
currency: z.string(),
|
|
1938
|
+
value: z.string(),
|
|
1939
|
+
});
|
|
1940
|
+
/**
|
|
1941
|
+
* @internal
|
|
1942
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1943
|
+
*/
|
|
1944
|
+
var CancelPaymentRemainderAmount$;
|
|
1945
|
+
(function (CancelPaymentRemainderAmount$) {
|
|
1946
|
+
/** @deprecated use `CancelPaymentRemainderAmount$inboundSchema` instead. */
|
|
1947
|
+
CancelPaymentRemainderAmount$.inboundSchema = exports.CancelPaymentRemainderAmount$inboundSchema;
|
|
1948
|
+
/** @deprecated use `CancelPaymentRemainderAmount$outboundSchema` instead. */
|
|
1949
|
+
CancelPaymentRemainderAmount$.outboundSchema = exports.CancelPaymentRemainderAmount$outboundSchema;
|
|
1950
|
+
})(CancelPaymentRemainderAmount$ || (exports.CancelPaymentRemainderAmount$ = CancelPaymentRemainderAmount$ = {}));
|
|
1951
|
+
function cancelPaymentRemainderAmountToJSON(cancelPaymentRemainderAmount) {
|
|
1952
|
+
return JSON.stringify(exports.CancelPaymentRemainderAmount$outboundSchema.parse(cancelPaymentRemainderAmount));
|
|
1953
|
+
}
|
|
1954
|
+
function cancelPaymentRemainderAmountFromJSON(jsonString) {
|
|
1955
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CancelPaymentRemainderAmount$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CancelPaymentRemainderAmount' from JSON`);
|
|
1956
|
+
}
|
|
1957
|
+
/** @internal */
|
|
1958
|
+
exports.CancelPaymentDetails$inboundSchema = z.object({
|
|
1959
|
+
consumerName: z.nullable(z.string()).optional(),
|
|
1960
|
+
consumerAccount: z.nullable(z.string()).optional(),
|
|
1961
|
+
consumerBic: z.nullable(z.string()).optional(),
|
|
1962
|
+
shippingAddress: z.nullable(z.record(z.any())).optional(),
|
|
1963
|
+
cardNumber: z.nullable(z.string()).optional(),
|
|
1964
|
+
bankName: z.string().optional(),
|
|
1965
|
+
bankAccount: z.string().optional(),
|
|
1966
|
+
bankBic: z.string().optional(),
|
|
1967
|
+
transferReference: z.nullable(z.string()).optional(),
|
|
1968
|
+
cardFingerprint: z.nullable(z.string()).optional(),
|
|
1969
|
+
cardHolder: z.nullable(z.string()).optional(),
|
|
1970
|
+
cardAudition: z.nullable(exports.CancelPaymentCardAudition$inboundSchema).optional(),
|
|
1971
|
+
cardLabel: z.nullable(exports.CancelPaymentCardLabel$inboundSchema).optional(),
|
|
1972
|
+
cardCountryCode: z.nullable(z.string()).optional(),
|
|
1973
|
+
cardExpiryDate: z.nullable(z.string()).optional(),
|
|
1974
|
+
cardFunding: z.nullable(exports.CancelPaymentCardFunding$inboundSchema).optional(),
|
|
1975
|
+
cardSecurity: z.nullable(exports.CancelPaymentCardSecurity$inboundSchema).optional(),
|
|
1976
|
+
feeRegion: z.nullable(exports.CancelPaymentFeeRegion$inboundSchema).optional(),
|
|
1977
|
+
cardMaskedNumber: z.nullable(z.string()).optional(),
|
|
1978
|
+
card3dsEci: z.nullable(z.string()).optional(),
|
|
1979
|
+
cardBin: z.nullable(z.string()).optional(),
|
|
1980
|
+
cardIssuer: z.nullable(z.string()).optional(),
|
|
1981
|
+
failureReason: z.nullable(exports.CancelPaymentFailureReason$inboundSchema)
|
|
1982
|
+
.optional(),
|
|
1983
|
+
failureMessage: z.nullable(z.string()).optional(),
|
|
1984
|
+
wallet: z.nullable(exports.CancelPaymentWallet$inboundSchema).optional(),
|
|
1985
|
+
paypalReference: z.nullable(z.string()).optional(),
|
|
1986
|
+
paypalPayerId: z.nullable(z.string()).optional(),
|
|
1987
|
+
sellerProtection: z.nullable(exports.CancelPaymentSellerProtection$inboundSchema)
|
|
1988
|
+
.optional(),
|
|
1989
|
+
paypalFee: z.nullable(z.lazy(() => exports.CancelPaymentPaypalFee$inboundSchema))
|
|
1990
|
+
.optional(),
|
|
1991
|
+
customerReference: z.string().optional(),
|
|
1992
|
+
terminalId: z.string().optional(),
|
|
1993
|
+
maskedNumber: z.nullable(z.string()).optional(),
|
|
1994
|
+
receipt: z.lazy(() => exports.CancelPaymentReceipt$inboundSchema).optional(),
|
|
1995
|
+
creditorIdentifier: z.nullable(z.string()).optional(),
|
|
1996
|
+
dueDate: z.nullable(z.string().transform(v => new rfcdate_js_1.RFCDate(v))).optional(),
|
|
1997
|
+
signatureDate: z.nullable(z.string().transform(v => new rfcdate_js_1.RFCDate(v)))
|
|
1998
|
+
.optional(),
|
|
1999
|
+
bankReasonCode: z.nullable(z.string()).optional(),
|
|
2000
|
+
bankReason: z.nullable(z.string()).optional(),
|
|
2001
|
+
endToEndIdentifier: z.nullable(z.string()).optional(),
|
|
2002
|
+
mandateReference: z.nullable(z.string()).optional(),
|
|
2003
|
+
batchReference: z.nullable(z.string()).optional(),
|
|
2004
|
+
fileReference: z.nullable(z.string()).optional(),
|
|
2005
|
+
qrCode: z.lazy(() => exports.CancelPaymentQrCode$inboundSchema).optional(),
|
|
2006
|
+
voucherNumber: z.string().optional(),
|
|
2007
|
+
giftcards: z.array(z.record(z.any())).optional(),
|
|
2008
|
+
issuer: z.string().optional(),
|
|
2009
|
+
vouchers: z.array(z.record(z.any())).optional(),
|
|
2010
|
+
remainderAmount: z.lazy(() => exports.CancelPaymentRemainderAmount$inboundSchema)
|
|
2011
|
+
.optional(),
|
|
2012
|
+
remainderMethod: z.string().optional(),
|
|
2013
|
+
remainderDetails: z.record(z.any()).optional(),
|
|
2014
|
+
});
|
|
2015
|
+
/** @internal */
|
|
2016
|
+
exports.CancelPaymentDetails$outboundSchema = z.object({
|
|
2017
|
+
consumerName: z.nullable(z.string()).optional(),
|
|
2018
|
+
consumerAccount: z.nullable(z.string()).optional(),
|
|
2019
|
+
consumerBic: z.nullable(z.string()).optional(),
|
|
2020
|
+
shippingAddress: z.nullable(z.record(z.any())).optional(),
|
|
2021
|
+
cardNumber: z.nullable(z.string()).optional(),
|
|
2022
|
+
bankName: z.string().optional(),
|
|
2023
|
+
bankAccount: z.string().optional(),
|
|
2024
|
+
bankBic: z.string().optional(),
|
|
2025
|
+
transferReference: z.nullable(z.string()).optional(),
|
|
2026
|
+
cardFingerprint: z.nullable(z.string()).optional(),
|
|
2027
|
+
cardHolder: z.nullable(z.string()).optional(),
|
|
2028
|
+
cardAudition: z.nullable(exports.CancelPaymentCardAudition$outboundSchema).optional(),
|
|
2029
|
+
cardLabel: z.nullable(exports.CancelPaymentCardLabel$outboundSchema).optional(),
|
|
2030
|
+
cardCountryCode: z.nullable(z.string()).optional(),
|
|
2031
|
+
cardExpiryDate: z.nullable(z.string()).optional(),
|
|
2032
|
+
cardFunding: z.nullable(exports.CancelPaymentCardFunding$outboundSchema).optional(),
|
|
2033
|
+
cardSecurity: z.nullable(exports.CancelPaymentCardSecurity$outboundSchema).optional(),
|
|
2034
|
+
feeRegion: z.nullable(exports.CancelPaymentFeeRegion$outboundSchema).optional(),
|
|
2035
|
+
cardMaskedNumber: z.nullable(z.string()).optional(),
|
|
2036
|
+
card3dsEci: z.nullable(z.string()).optional(),
|
|
2037
|
+
cardBin: z.nullable(z.string()).optional(),
|
|
2038
|
+
cardIssuer: z.nullable(z.string()).optional(),
|
|
2039
|
+
failureReason: z.nullable(exports.CancelPaymentFailureReason$outboundSchema)
|
|
2040
|
+
.optional(),
|
|
2041
|
+
failureMessage: z.nullable(z.string()).optional(),
|
|
2042
|
+
wallet: z.nullable(exports.CancelPaymentWallet$outboundSchema).optional(),
|
|
2043
|
+
paypalReference: z.nullable(z.string()).optional(),
|
|
2044
|
+
paypalPayerId: z.nullable(z.string()).optional(),
|
|
2045
|
+
sellerProtection: z.nullable(exports.CancelPaymentSellerProtection$outboundSchema)
|
|
2046
|
+
.optional(),
|
|
2047
|
+
paypalFee: z.nullable(z.lazy(() => exports.CancelPaymentPaypalFee$outboundSchema))
|
|
2048
|
+
.optional(),
|
|
2049
|
+
customerReference: z.string().optional(),
|
|
2050
|
+
terminalId: z.string().optional(),
|
|
2051
|
+
maskedNumber: z.nullable(z.string()).optional(),
|
|
2052
|
+
receipt: z.lazy(() => exports.CancelPaymentReceipt$outboundSchema).optional(),
|
|
2053
|
+
creditorIdentifier: z.nullable(z.string()).optional(),
|
|
2054
|
+
dueDate: z.nullable(z.instanceof(rfcdate_js_1.RFCDate).transform(v => v.toString()))
|
|
2055
|
+
.optional(),
|
|
2056
|
+
signatureDate: z.nullable(z.instanceof(rfcdate_js_1.RFCDate).transform(v => v.toString()))
|
|
2057
|
+
.optional(),
|
|
2058
|
+
bankReasonCode: z.nullable(z.string()).optional(),
|
|
2059
|
+
bankReason: z.nullable(z.string()).optional(),
|
|
2060
|
+
endToEndIdentifier: z.nullable(z.string()).optional(),
|
|
2061
|
+
mandateReference: z.nullable(z.string()).optional(),
|
|
2062
|
+
batchReference: z.nullable(z.string()).optional(),
|
|
2063
|
+
fileReference: z.nullable(z.string()).optional(),
|
|
2064
|
+
qrCode: z.lazy(() => exports.CancelPaymentQrCode$outboundSchema).optional(),
|
|
2065
|
+
voucherNumber: z.string().optional(),
|
|
2066
|
+
giftcards: z.array(z.record(z.any())).optional(),
|
|
2067
|
+
issuer: z.string().optional(),
|
|
2068
|
+
vouchers: z.array(z.record(z.any())).optional(),
|
|
2069
|
+
remainderAmount: z.lazy(() => exports.CancelPaymentRemainderAmount$outboundSchema)
|
|
2070
|
+
.optional(),
|
|
2071
|
+
remainderMethod: z.string().optional(),
|
|
2072
|
+
remainderDetails: z.record(z.any()).optional(),
|
|
2073
|
+
});
|
|
2074
|
+
/**
|
|
2075
|
+
* @internal
|
|
2076
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2077
|
+
*/
|
|
2078
|
+
var CancelPaymentDetails$;
|
|
2079
|
+
(function (CancelPaymentDetails$) {
|
|
2080
|
+
/** @deprecated use `CancelPaymentDetails$inboundSchema` instead. */
|
|
2081
|
+
CancelPaymentDetails$.inboundSchema = exports.CancelPaymentDetails$inboundSchema;
|
|
2082
|
+
/** @deprecated use `CancelPaymentDetails$outboundSchema` instead. */
|
|
2083
|
+
CancelPaymentDetails$.outboundSchema = exports.CancelPaymentDetails$outboundSchema;
|
|
2084
|
+
})(CancelPaymentDetails$ || (exports.CancelPaymentDetails$ = CancelPaymentDetails$ = {}));
|
|
2085
|
+
function cancelPaymentDetailsToJSON(cancelPaymentDetails) {
|
|
2086
|
+
return JSON.stringify(exports.CancelPaymentDetails$outboundSchema.parse(cancelPaymentDetails));
|
|
2087
|
+
}
|
|
2088
|
+
function cancelPaymentDetailsFromJSON(jsonString) {
|
|
2089
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CancelPaymentDetails$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CancelPaymentDetails' from JSON`);
|
|
2090
|
+
}
|
|
2091
|
+
/** @internal */
|
|
1417
2092
|
exports.CancelPaymentSelf$inboundSchema = z.object({
|
|
1418
2093
|
href: z.string(),
|
|
1419
2094
|
type: z.string(),
|
|
@@ -1819,6 +2494,60 @@ function cancelPaymentDocumentationFromJSON(jsonString) {
|
|
|
1819
2494
|
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CancelPaymentDocumentation$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CancelPaymentDocumentation' from JSON`);
|
|
1820
2495
|
}
|
|
1821
2496
|
/** @internal */
|
|
2497
|
+
exports.CancelPaymentLinksStatus$inboundSchema = z.object({
|
|
2498
|
+
href: z.string(),
|
|
2499
|
+
type: z.string(),
|
|
2500
|
+
});
|
|
2501
|
+
/** @internal */
|
|
2502
|
+
exports.CancelPaymentLinksStatus$outboundSchema = z.object({
|
|
2503
|
+
href: z.string(),
|
|
2504
|
+
type: z.string(),
|
|
2505
|
+
});
|
|
2506
|
+
/**
|
|
2507
|
+
* @internal
|
|
2508
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2509
|
+
*/
|
|
2510
|
+
var CancelPaymentLinksStatus$;
|
|
2511
|
+
(function (CancelPaymentLinksStatus$) {
|
|
2512
|
+
/** @deprecated use `CancelPaymentLinksStatus$inboundSchema` instead. */
|
|
2513
|
+
CancelPaymentLinksStatus$.inboundSchema = exports.CancelPaymentLinksStatus$inboundSchema;
|
|
2514
|
+
/** @deprecated use `CancelPaymentLinksStatus$outboundSchema` instead. */
|
|
2515
|
+
CancelPaymentLinksStatus$.outboundSchema = exports.CancelPaymentLinksStatus$outboundSchema;
|
|
2516
|
+
})(CancelPaymentLinksStatus$ || (exports.CancelPaymentLinksStatus$ = CancelPaymentLinksStatus$ = {}));
|
|
2517
|
+
function cancelPaymentLinksStatusToJSON(cancelPaymentLinksStatus) {
|
|
2518
|
+
return JSON.stringify(exports.CancelPaymentLinksStatus$outboundSchema.parse(cancelPaymentLinksStatus));
|
|
2519
|
+
}
|
|
2520
|
+
function cancelPaymentLinksStatusFromJSON(jsonString) {
|
|
2521
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CancelPaymentLinksStatus$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CancelPaymentLinksStatus' from JSON`);
|
|
2522
|
+
}
|
|
2523
|
+
/** @internal */
|
|
2524
|
+
exports.CancelPaymentPayOnline$inboundSchema = z.object({
|
|
2525
|
+
href: z.string(),
|
|
2526
|
+
type: z.string(),
|
|
2527
|
+
});
|
|
2528
|
+
/** @internal */
|
|
2529
|
+
exports.CancelPaymentPayOnline$outboundSchema = z.object({
|
|
2530
|
+
href: z.string(),
|
|
2531
|
+
type: z.string(),
|
|
2532
|
+
});
|
|
2533
|
+
/**
|
|
2534
|
+
* @internal
|
|
2535
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2536
|
+
*/
|
|
2537
|
+
var CancelPaymentPayOnline$;
|
|
2538
|
+
(function (CancelPaymentPayOnline$) {
|
|
2539
|
+
/** @deprecated use `CancelPaymentPayOnline$inboundSchema` instead. */
|
|
2540
|
+
CancelPaymentPayOnline$.inboundSchema = exports.CancelPaymentPayOnline$inboundSchema;
|
|
2541
|
+
/** @deprecated use `CancelPaymentPayOnline$outboundSchema` instead. */
|
|
2542
|
+
CancelPaymentPayOnline$.outboundSchema = exports.CancelPaymentPayOnline$outboundSchema;
|
|
2543
|
+
})(CancelPaymentPayOnline$ || (exports.CancelPaymentPayOnline$ = CancelPaymentPayOnline$ = {}));
|
|
2544
|
+
function cancelPaymentPayOnlineToJSON(cancelPaymentPayOnline) {
|
|
2545
|
+
return JSON.stringify(exports.CancelPaymentPayOnline$outboundSchema.parse(cancelPaymentPayOnline));
|
|
2546
|
+
}
|
|
2547
|
+
function cancelPaymentPayOnlineFromJSON(jsonString) {
|
|
2548
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CancelPaymentPayOnline$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CancelPaymentPayOnline' from JSON`);
|
|
2549
|
+
}
|
|
2550
|
+
/** @internal */
|
|
1822
2551
|
exports.CancelPaymentLinks$inboundSchema = z.object({
|
|
1823
2552
|
self: z.lazy(() => exports.CancelPaymentSelf$inboundSchema),
|
|
1824
2553
|
checkout: z.lazy(() => exports.CancelPaymentCheckout$inboundSchema).optional(),
|
|
@@ -1838,6 +2567,8 @@ exports.CancelPaymentLinks$inboundSchema = z.object({
|
|
|
1838
2567
|
terminal: z.lazy(() => exports.CancelPaymentTerminal$inboundSchema).optional(),
|
|
1839
2568
|
documentation: z.lazy(() => exports.CancelPaymentDocumentation$inboundSchema)
|
|
1840
2569
|
.optional(),
|
|
2570
|
+
status: z.lazy(() => exports.CancelPaymentLinksStatus$inboundSchema).optional(),
|
|
2571
|
+
payOnline: z.lazy(() => exports.CancelPaymentPayOnline$inboundSchema).optional(),
|
|
1841
2572
|
});
|
|
1842
2573
|
/** @internal */
|
|
1843
2574
|
exports.CancelPaymentLinks$outboundSchema = z.object({
|
|
@@ -1859,6 +2590,8 @@ exports.CancelPaymentLinks$outboundSchema = z.object({
|
|
|
1859
2590
|
terminal: z.lazy(() => exports.CancelPaymentTerminal$outboundSchema).optional(),
|
|
1860
2591
|
documentation: z.lazy(() => exports.CancelPaymentDocumentation$outboundSchema)
|
|
1861
2592
|
.optional(),
|
|
2593
|
+
status: z.lazy(() => exports.CancelPaymentLinksStatus$outboundSchema).optional(),
|
|
2594
|
+
payOnline: z.lazy(() => exports.CancelPaymentPayOnline$outboundSchema).optional(),
|
|
1862
2595
|
});
|
|
1863
2596
|
/**
|
|
1864
2597
|
* @internal
|
|
@@ -1921,10 +2654,11 @@ exports.CancelPaymentResponse$inboundSchema = z.object({
|
|
|
1921
2654
|
profileId: z.string(),
|
|
1922
2655
|
settlementId: z.nullable(z.string()).optional(),
|
|
1923
2656
|
orderId: z.nullable(z.string()).optional(),
|
|
1924
|
-
status: exports.
|
|
2657
|
+
status: exports.CancelPaymentStatusEnum$inboundSchema,
|
|
1925
2658
|
statusReason: z.nullable(z.lazy(() => exports.CancelPaymentStatusReason$inboundSchema)).optional(),
|
|
1926
2659
|
isCancelable: z.nullable(z.boolean()).optional(),
|
|
1927
|
-
details: z.nullable(z.
|
|
2660
|
+
details: z.nullable(z.lazy(() => exports.CancelPaymentDetails$inboundSchema))
|
|
2661
|
+
.optional(),
|
|
1928
2662
|
createdAt: z.string(),
|
|
1929
2663
|
authorizedAt: z.nullable(z.string()).optional(),
|
|
1930
2664
|
paidAt: z.nullable(z.string()).optional(),
|
|
@@ -1981,10 +2715,11 @@ exports.CancelPaymentResponse$outboundSchema = z.object({
|
|
|
1981
2715
|
profileId: z.string(),
|
|
1982
2716
|
settlementId: z.nullable(z.string()).optional(),
|
|
1983
2717
|
orderId: z.nullable(z.string()).optional(),
|
|
1984
|
-
status: exports.
|
|
2718
|
+
status: exports.CancelPaymentStatusEnum$outboundSchema,
|
|
1985
2719
|
statusReason: z.nullable(z.lazy(() => exports.CancelPaymentStatusReason$outboundSchema)).optional(),
|
|
1986
2720
|
isCancelable: z.nullable(z.boolean()).optional(),
|
|
1987
|
-
details: z.nullable(z.
|
|
2721
|
+
details: z.nullable(z.lazy(() => exports.CancelPaymentDetails$outboundSchema))
|
|
2722
|
+
.optional(),
|
|
1988
2723
|
createdAt: z.string(),
|
|
1989
2724
|
authorizedAt: z.nullable(z.string()).optional(),
|
|
1990
2725
|
paidAt: z.nullable(z.string()).optional(),
|