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,11 +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.
|
|
43
|
-
exports.
|
|
39
|
+
exports.ListPaymentsAmountCaptured$ = exports.ListPaymentsAmountCaptured$outboundSchema = exports.ListPaymentsAmountCaptured$inboundSchema = exports.ListPaymentsAmountRemaining$ = exports.ListPaymentsAmountRemaining$outboundSchema = exports.ListPaymentsAmountRemaining$inboundSchema = exports.ListPaymentsAmountRefunded$ = exports.ListPaymentsAmountRefunded$outboundSchema = exports.ListPaymentsAmountRefunded$inboundSchema = exports.ListPaymentsAmount$ = exports.ListPaymentsAmount$outboundSchema = exports.ListPaymentsAmount$inboundSchema = exports.ListPaymentsMode$ = exports.ListPaymentsMode$outboundSchema = exports.ListPaymentsMode$inboundSchema = exports.ListPaymentsBadRequestLinks$ = exports.ListPaymentsBadRequestLinks$outboundSchema = exports.ListPaymentsBadRequestLinks$inboundSchema = exports.ListPaymentsBadRequestDocumentation$ = exports.ListPaymentsBadRequestDocumentation$outboundSchema = exports.ListPaymentsBadRequestDocumentation$inboundSchema = exports.ListPaymentsRequest$ = exports.ListPaymentsRequest$outboundSchema = exports.ListPaymentsRequest$inboundSchema = exports.ListPaymentsSort$ = exports.ListPaymentsSort$outboundSchema = exports.ListPaymentsSort$inboundSchema = exports.ListPaymentsCardVerificationMethod = exports.ListPaymentsCardReadMethod = exports.ListPaymentsSellerProtection = exports.ListPaymentsWallet = exports.ListPaymentsFailureReason = exports.ListPaymentsFeeRegion = exports.ListPaymentsCardSecurity = exports.ListPaymentsCardFunding = exports.ListPaymentsCardLabel = exports.ListPaymentsCardAudition = exports.ListPaymentsCode = exports.ListPaymentsStatusEnum = exports.ListPaymentsSequenceType = exports.ListPaymentsRoutingType = exports.ListPaymentsRoutingMode = exports.ListPaymentsCaptureMode = exports.ListPaymentsMethod = exports.ListPaymentsLocale = exports.ListPaymentsInterval = exports.ListPaymentsCategory = exports.ListPaymentsLineType = exports.ListPaymentsMode = exports.ListPaymentsSort = void 0;
|
|
40
|
+
exports.ListPaymentsMetadata$outboundSchema = exports.ListPaymentsMetadata$inboundSchema = exports.ListPaymentsMethod$ = exports.ListPaymentsMethod$outboundSchema = exports.ListPaymentsMethod$inboundSchema = exports.ListPaymentsLocale$ = exports.ListPaymentsLocale$outboundSchema = exports.ListPaymentsLocale$inboundSchema = exports.ListPaymentsShippingAddress$ = exports.ListPaymentsShippingAddress$outboundSchema = exports.ListPaymentsShippingAddress$inboundSchema = exports.ListPaymentsBillingAddress$ = exports.ListPaymentsBillingAddress$outboundSchema = exports.ListPaymentsBillingAddress$inboundSchema = exports.ListPaymentsLine$ = exports.ListPaymentsLine$outboundSchema = exports.ListPaymentsLine$inboundSchema = exports.ListPaymentsRecurring$ = exports.ListPaymentsRecurring$outboundSchema = exports.ListPaymentsRecurring$inboundSchema = exports.ListPaymentsRecurringAmount$ = exports.ListPaymentsRecurringAmount$outboundSchema = exports.ListPaymentsRecurringAmount$inboundSchema = exports.ListPaymentsInterval$ = exports.ListPaymentsInterval$outboundSchema = exports.ListPaymentsInterval$inboundSchema = exports.ListPaymentsCategory$ = exports.ListPaymentsCategory$outboundSchema = exports.ListPaymentsCategory$inboundSchema = exports.ListPaymentsVatAmount$ = exports.ListPaymentsVatAmount$outboundSchema = exports.ListPaymentsVatAmount$inboundSchema = exports.ListPaymentsTotalAmount$ = exports.ListPaymentsTotalAmount$outboundSchema = exports.ListPaymentsTotalAmount$inboundSchema = exports.ListPaymentsDiscountAmount$ = exports.ListPaymentsDiscountAmount$outboundSchema = exports.ListPaymentsDiscountAmount$inboundSchema = exports.ListPaymentsUnitPrice$ = exports.ListPaymentsUnitPrice$outboundSchema = exports.ListPaymentsUnitPrice$inboundSchema = exports.ListPaymentsLineType$ = exports.ListPaymentsLineType$outboundSchema = exports.ListPaymentsLineType$inboundSchema = exports.ListPaymentsSettlementAmount$ = exports.ListPaymentsSettlementAmount$outboundSchema = exports.ListPaymentsSettlementAmount$inboundSchema = exports.ListPaymentsAmountChargedBack$ = exports.ListPaymentsAmountChargedBack$outboundSchema = exports.ListPaymentsAmountChargedBack$inboundSchema = void 0;
|
|
41
|
+
exports.ListPaymentsCardLabel$inboundSchema = exports.ListPaymentsCardAudition$ = exports.ListPaymentsCardAudition$outboundSchema = exports.ListPaymentsCardAudition$inboundSchema = exports.ListPaymentsStatusReason$ = exports.ListPaymentsStatusReason$outboundSchema = exports.ListPaymentsStatusReason$inboundSchema = exports.ListPaymentsCode$ = exports.ListPaymentsCode$outboundSchema = exports.ListPaymentsCode$inboundSchema = exports.ListPaymentsStatusEnum$ = exports.ListPaymentsStatusEnum$outboundSchema = exports.ListPaymentsStatusEnum$inboundSchema = exports.ListPaymentsSequenceType$ = exports.ListPaymentsSequenceType$outboundSchema = exports.ListPaymentsSequenceType$inboundSchema = exports.ListPaymentsRouting$ = exports.ListPaymentsRouting$outboundSchema = exports.ListPaymentsRouting$inboundSchema = exports.ListPaymentsRoutingLinks$ = exports.ListPaymentsRoutingLinks$outboundSchema = exports.ListPaymentsRoutingLinks$inboundSchema = exports.ListPaymentsRoutingPayment$ = exports.ListPaymentsRoutingPayment$outboundSchema = exports.ListPaymentsRoutingPayment$inboundSchema = exports.ListPaymentsRoutingSelf$ = exports.ListPaymentsRoutingSelf$outboundSchema = exports.ListPaymentsRoutingSelf$inboundSchema = exports.ListPaymentsDestination$ = exports.ListPaymentsDestination$outboundSchema = exports.ListPaymentsDestination$inboundSchema = exports.ListPaymentsRoutingType$ = exports.ListPaymentsRoutingType$outboundSchema = exports.ListPaymentsRoutingType$inboundSchema = exports.ListPaymentsRoutingAmount$ = exports.ListPaymentsRoutingAmount$outboundSchema = exports.ListPaymentsRoutingAmount$inboundSchema = exports.ListPaymentsRoutingMode$ = exports.ListPaymentsRoutingMode$outboundSchema = exports.ListPaymentsRoutingMode$inboundSchema = exports.ListPaymentsApplicationFee$ = exports.ListPaymentsApplicationFee$outboundSchema = exports.ListPaymentsApplicationFee$inboundSchema = exports.ListPaymentsApplicationFeeAmount$ = exports.ListPaymentsApplicationFeeAmount$outboundSchema = exports.ListPaymentsApplicationFeeAmount$inboundSchema = exports.ListPaymentsCaptureMode$ = exports.ListPaymentsCaptureMode$outboundSchema = exports.ListPaymentsCaptureMode$inboundSchema = exports.ListPaymentsMetadata$ = void 0;
|
|
42
|
+
exports.ListPaymentsMobileAppCheckout$ = exports.ListPaymentsMobileAppCheckout$outboundSchema = exports.ListPaymentsMobileAppCheckout$inboundSchema = exports.ListPaymentsCheckout$ = exports.ListPaymentsCheckout$outboundSchema = exports.ListPaymentsCheckout$inboundSchema = exports.ListPaymentsPaymentSelf$ = exports.ListPaymentsPaymentSelf$outboundSchema = exports.ListPaymentsPaymentSelf$inboundSchema = exports.ListPaymentsDetails$ = exports.ListPaymentsDetails$outboundSchema = exports.ListPaymentsDetails$inboundSchema = exports.ListPaymentsRemainderAmount$ = exports.ListPaymentsRemainderAmount$outboundSchema = exports.ListPaymentsRemainderAmount$inboundSchema = exports.ListPaymentsQrCode$ = exports.ListPaymentsQrCode$outboundSchema = exports.ListPaymentsQrCode$inboundSchema = exports.ListPaymentsReceipt$ = exports.ListPaymentsReceipt$outboundSchema = exports.ListPaymentsReceipt$inboundSchema = exports.ListPaymentsCardVerificationMethod$ = exports.ListPaymentsCardVerificationMethod$outboundSchema = exports.ListPaymentsCardVerificationMethod$inboundSchema = exports.ListPaymentsCardReadMethod$ = exports.ListPaymentsCardReadMethod$outboundSchema = exports.ListPaymentsCardReadMethod$inboundSchema = exports.ListPaymentsPaypalFee$ = exports.ListPaymentsPaypalFee$outboundSchema = exports.ListPaymentsPaypalFee$inboundSchema = exports.ListPaymentsSellerProtection$ = exports.ListPaymentsSellerProtection$outboundSchema = exports.ListPaymentsSellerProtection$inboundSchema = exports.ListPaymentsWallet$ = exports.ListPaymentsWallet$outboundSchema = exports.ListPaymentsWallet$inboundSchema = exports.ListPaymentsFailureReason$ = exports.ListPaymentsFailureReason$outboundSchema = exports.ListPaymentsFailureReason$inboundSchema = exports.ListPaymentsFeeRegion$ = exports.ListPaymentsFeeRegion$outboundSchema = exports.ListPaymentsFeeRegion$inboundSchema = exports.ListPaymentsCardSecurity$ = exports.ListPaymentsCardSecurity$outboundSchema = exports.ListPaymentsCardSecurity$inboundSchema = exports.ListPaymentsCardFunding$ = exports.ListPaymentsCardFunding$outboundSchema = exports.ListPaymentsCardFunding$inboundSchema = exports.ListPaymentsCardLabel$ = exports.ListPaymentsCardLabel$outboundSchema = void 0;
|
|
43
|
+
exports.ListPaymentsEmbedded$outboundSchema = exports.ListPaymentsEmbedded$inboundSchema = exports.ListPaymentsPaymentOutput$ = exports.ListPaymentsPaymentOutput$outboundSchema = exports.ListPaymentsPaymentOutput$inboundSchema = exports.ListPaymentsPaymentLinks$ = exports.ListPaymentsPaymentLinks$outboundSchema = exports.ListPaymentsPaymentLinks$inboundSchema = exports.ListPaymentsPayOnline$ = exports.ListPaymentsPayOnline$outboundSchema = exports.ListPaymentsPayOnline$inboundSchema = exports.ListPaymentsLinksStatus$ = exports.ListPaymentsLinksStatus$outboundSchema = exports.ListPaymentsLinksStatus$inboundSchema = exports.ListPaymentsPaymentDocumentation$ = exports.ListPaymentsPaymentDocumentation$outboundSchema = exports.ListPaymentsPaymentDocumentation$inboundSchema = exports.ListPaymentsTerminal$ = exports.ListPaymentsTerminal$outboundSchema = exports.ListPaymentsTerminal$inboundSchema = exports.ListPaymentsOrder$ = exports.ListPaymentsOrder$outboundSchema = exports.ListPaymentsOrder$inboundSchema = exports.ListPaymentsSubscription$ = exports.ListPaymentsSubscription$outboundSchema = exports.ListPaymentsSubscription$inboundSchema = exports.ListPaymentsMandate$ = exports.ListPaymentsMandate$outboundSchema = exports.ListPaymentsMandate$inboundSchema = exports.ListPaymentsCustomer$ = exports.ListPaymentsCustomer$outboundSchema = exports.ListPaymentsCustomer$inboundSchema = exports.ListPaymentsSettlement$ = exports.ListPaymentsSettlement$outboundSchema = exports.ListPaymentsSettlement$inboundSchema = exports.ListPaymentsCaptures$ = exports.ListPaymentsCaptures$outboundSchema = exports.ListPaymentsCaptures$inboundSchema = exports.ListPaymentsChargebacks$ = exports.ListPaymentsChargebacks$outboundSchema = exports.ListPaymentsChargebacks$inboundSchema = exports.ListPaymentsRefunds$ = exports.ListPaymentsRefunds$outboundSchema = exports.ListPaymentsRefunds$inboundSchema = exports.ListPaymentsDashboard$ = exports.ListPaymentsDashboard$outboundSchema = exports.ListPaymentsDashboard$inboundSchema = exports.ListPaymentsChangePaymentState$ = exports.ListPaymentsChangePaymentState$outboundSchema = exports.ListPaymentsChangePaymentState$inboundSchema = void 0;
|
|
44
|
+
exports.ListPaymentsResponse$ = exports.ListPaymentsResponse$outboundSchema = exports.ListPaymentsResponse$inboundSchema = exports.ListPaymentsLinks$ = exports.ListPaymentsLinks$outboundSchema = exports.ListPaymentsLinks$inboundSchema = exports.ListPaymentsDocumentation$ = exports.ListPaymentsDocumentation$outboundSchema = exports.ListPaymentsDocumentation$inboundSchema = exports.ListPaymentsNext$ = exports.ListPaymentsNext$outboundSchema = exports.ListPaymentsNext$inboundSchema = exports.ListPaymentsPrevious$ = exports.ListPaymentsPrevious$outboundSchema = exports.ListPaymentsPrevious$inboundSchema = exports.ListPaymentsSelf$ = exports.ListPaymentsSelf$outboundSchema = exports.ListPaymentsSelf$inboundSchema = exports.ListPaymentsEmbedded$ = void 0;
|
|
44
45
|
exports.listPaymentsRequestToJSON = listPaymentsRequestToJSON;
|
|
45
46
|
exports.listPaymentsRequestFromJSON = listPaymentsRequestFromJSON;
|
|
46
47
|
exports.listPaymentsBadRequestDocumentationToJSON = listPaymentsBadRequestDocumentationToJSON;
|
|
@@ -97,6 +98,16 @@ exports.listPaymentsRoutingToJSON = listPaymentsRoutingToJSON;
|
|
|
97
98
|
exports.listPaymentsRoutingFromJSON = listPaymentsRoutingFromJSON;
|
|
98
99
|
exports.listPaymentsStatusReasonToJSON = listPaymentsStatusReasonToJSON;
|
|
99
100
|
exports.listPaymentsStatusReasonFromJSON = listPaymentsStatusReasonFromJSON;
|
|
101
|
+
exports.listPaymentsPaypalFeeToJSON = listPaymentsPaypalFeeToJSON;
|
|
102
|
+
exports.listPaymentsPaypalFeeFromJSON = listPaymentsPaypalFeeFromJSON;
|
|
103
|
+
exports.listPaymentsReceiptToJSON = listPaymentsReceiptToJSON;
|
|
104
|
+
exports.listPaymentsReceiptFromJSON = listPaymentsReceiptFromJSON;
|
|
105
|
+
exports.listPaymentsQrCodeToJSON = listPaymentsQrCodeToJSON;
|
|
106
|
+
exports.listPaymentsQrCodeFromJSON = listPaymentsQrCodeFromJSON;
|
|
107
|
+
exports.listPaymentsRemainderAmountToJSON = listPaymentsRemainderAmountToJSON;
|
|
108
|
+
exports.listPaymentsRemainderAmountFromJSON = listPaymentsRemainderAmountFromJSON;
|
|
109
|
+
exports.listPaymentsDetailsToJSON = listPaymentsDetailsToJSON;
|
|
110
|
+
exports.listPaymentsDetailsFromJSON = listPaymentsDetailsFromJSON;
|
|
100
111
|
exports.listPaymentsPaymentSelfToJSON = listPaymentsPaymentSelfToJSON;
|
|
101
112
|
exports.listPaymentsPaymentSelfFromJSON = listPaymentsPaymentSelfFromJSON;
|
|
102
113
|
exports.listPaymentsCheckoutToJSON = listPaymentsCheckoutToJSON;
|
|
@@ -127,6 +138,10 @@ exports.listPaymentsTerminalToJSON = listPaymentsTerminalToJSON;
|
|
|
127
138
|
exports.listPaymentsTerminalFromJSON = listPaymentsTerminalFromJSON;
|
|
128
139
|
exports.listPaymentsPaymentDocumentationToJSON = listPaymentsPaymentDocumentationToJSON;
|
|
129
140
|
exports.listPaymentsPaymentDocumentationFromJSON = listPaymentsPaymentDocumentationFromJSON;
|
|
141
|
+
exports.listPaymentsLinksStatusToJSON = listPaymentsLinksStatusToJSON;
|
|
142
|
+
exports.listPaymentsLinksStatusFromJSON = listPaymentsLinksStatusFromJSON;
|
|
143
|
+
exports.listPaymentsPayOnlineToJSON = listPaymentsPayOnlineToJSON;
|
|
144
|
+
exports.listPaymentsPayOnlineFromJSON = listPaymentsPayOnlineFromJSON;
|
|
130
145
|
exports.listPaymentsPaymentLinksToJSON = listPaymentsPaymentLinksToJSON;
|
|
131
146
|
exports.listPaymentsPaymentLinksFromJSON = listPaymentsPaymentLinksFromJSON;
|
|
132
147
|
exports.listPaymentsPaymentOutputToJSON = listPaymentsPaymentOutputToJSON;
|
|
@@ -148,6 +163,7 @@ exports.listPaymentsResponseFromJSON = listPaymentsResponseFromJSON;
|
|
|
148
163
|
const z = __importStar(require("zod"));
|
|
149
164
|
const primitives_js_1 = require("../../lib/primitives.js");
|
|
150
165
|
const schemas_js_1 = require("../../lib/schemas.js");
|
|
166
|
+
const rfcdate_js_1 = require("../../types/rfcdate.js");
|
|
151
167
|
/**
|
|
152
168
|
* Used for setting the direction of the result set. Defaults to descending order, meaning the results are ordered from
|
|
153
169
|
*
|
|
@@ -331,7 +347,7 @@ exports.ListPaymentsSequenceType = {
|
|
|
331
347
|
* @remarks
|
|
332
348
|
* statuses occur at what point.
|
|
333
349
|
*/
|
|
334
|
-
exports.
|
|
350
|
+
exports.ListPaymentsStatusEnum = {
|
|
335
351
|
Open: "open",
|
|
336
352
|
Pending: "pending",
|
|
337
353
|
Authorized: "authorized",
|
|
@@ -340,6 +356,249 @@ exports.ListPaymentsStatus = {
|
|
|
340
356
|
Expired: "expired",
|
|
341
357
|
Failed: "failed",
|
|
342
358
|
};
|
|
359
|
+
/**
|
|
360
|
+
* A machine-readable code that indicates the reason for the payment's status.
|
|
361
|
+
*/
|
|
362
|
+
exports.ListPaymentsCode = {
|
|
363
|
+
ApprovedOrCompletedSuccessfully: "approved_or_completed_successfully",
|
|
364
|
+
ReferToCardIssuer: "refer_to_card_issuer",
|
|
365
|
+
InvalidMerchant: "invalid_merchant",
|
|
366
|
+
CaptureCard: "capture_card",
|
|
367
|
+
DoNotHonor: "do_not_honor",
|
|
368
|
+
Error: "error",
|
|
369
|
+
PartialApproval: "partial_approval",
|
|
370
|
+
InvalidTransaction: "invalid_transaction",
|
|
371
|
+
InvalidAmount: "invalid_amount",
|
|
372
|
+
InvalidIssuer: "invalid_issuer",
|
|
373
|
+
LostCard: "lost_card",
|
|
374
|
+
StolenCard: "stolen_card",
|
|
375
|
+
InsufficientFunds: "insufficient_funds",
|
|
376
|
+
ExpiredCard: "expired_card",
|
|
377
|
+
InvalidPin: "invalid_pin",
|
|
378
|
+
TransactionNotPermittedToCardholder: "transaction_not_permitted_to_cardholder",
|
|
379
|
+
TransactionNotAllowedAtTerminal: "transaction_not_allowed_at_terminal",
|
|
380
|
+
ExceedsWithdrawalAmountLimit: "exceeds_withdrawal_amount_limit",
|
|
381
|
+
RestrictedCard: "restricted_card",
|
|
382
|
+
SecurityViolation: "security_violation",
|
|
383
|
+
ExceedsWithdrawalCountLimit: "exceeds_withdrawal_count_limit",
|
|
384
|
+
AllowableNumberOfPinTriesExceeded: "allowable_number_of_pin_tries_exceeded",
|
|
385
|
+
NoReasonToDecline: "no_reason_to_decline",
|
|
386
|
+
CannotVerifyPin: "cannot_verify_pin",
|
|
387
|
+
IssuerUnavailable: "issuer_unavailable",
|
|
388
|
+
UnableToRouteTransaction: "unable_to_route_transaction",
|
|
389
|
+
DuplicateTransaction: "duplicate_transaction",
|
|
390
|
+
SystemMalfunction: "system_malfunction",
|
|
391
|
+
HonorWithId: "honor_with_id",
|
|
392
|
+
InvalidCardNumber: "invalid_card_number",
|
|
393
|
+
FormatError: "format_error",
|
|
394
|
+
ContactCardIssuer: "contact_card_issuer",
|
|
395
|
+
PinNotChanged: "pin_not_changed",
|
|
396
|
+
InvalidNonexistentToAccountSpecified: "invalid_nonexistent_to_account_specified",
|
|
397
|
+
InvalidNonexistentFromAccountSpecified: "invalid_nonexistent_from_account_specified",
|
|
398
|
+
InvalidNonexistentAccountSpecified: "invalid_nonexistent_account_specified",
|
|
399
|
+
LifecycleRelated: "lifecycle_related",
|
|
400
|
+
DomesticDebitTransactionNotAllowed: "domestic_debit_transaction_not_allowed",
|
|
401
|
+
PolicyRelated: "policy_related",
|
|
402
|
+
FraudSecurityRelated: "fraud_security_related",
|
|
403
|
+
InvalidAuthorizationLifeCycle: "invalid_authorization_life_cycle",
|
|
404
|
+
PurchaseAmountOnlyNoCashBackAllowed: "purchase_amount_only_no_cash_back_allowed",
|
|
405
|
+
CryptographicFailure: "cryptographic_failure",
|
|
406
|
+
UnacceptablePin: "unacceptable_pin",
|
|
407
|
+
ReferToCardIssuerSpecialCondition: "refer_to_card_issuer_special_condition",
|
|
408
|
+
PickUpCardSpecialCondition: "pick_up_card_special_condition",
|
|
409
|
+
VipApproval: "vip_approval",
|
|
410
|
+
InvalidAccountNumber: "invalid_account_number",
|
|
411
|
+
ReEnterTransaction: "re_enter_transaction",
|
|
412
|
+
NoActionTaken: "no_action_taken",
|
|
413
|
+
UnableToLocateRecord: "unable_to_locate_record",
|
|
414
|
+
FileTemporarilyUnavailable: "file_temporarily_unavailable",
|
|
415
|
+
NoCreditAccount: "no_credit_account",
|
|
416
|
+
ClosedAccount: "closed_account",
|
|
417
|
+
NoCheckingAccount: "no_checking_account",
|
|
418
|
+
NoSavingsAccount: "no_savings_account",
|
|
419
|
+
SuspectedFraud: "suspected_fraud",
|
|
420
|
+
TransactionDoesNotFulfillAmlRequirement: "transaction_does_not_fulfill_aml_requirement",
|
|
421
|
+
PinDataRequired: "pin_data_required",
|
|
422
|
+
UnableToLocatePreviousMessage: "unable_to_locate_previous_message",
|
|
423
|
+
PreviousMessageLocatedInconsistentData: "previous_message_located_inconsistent_data",
|
|
424
|
+
BlockedFirstUsed: "blocked_first_used",
|
|
425
|
+
TransactionReversed: "transaction_reversed",
|
|
426
|
+
CreditIssuerUnavailable: "credit_issuer_unavailable",
|
|
427
|
+
PinCryptographicErrorFound: "pin_cryptographic_error_found",
|
|
428
|
+
NegativeOnlineCamResult: "negative_online_cam_result",
|
|
429
|
+
ViolationOfLaw: "violation_of_law",
|
|
430
|
+
ForceStip: "force_stip",
|
|
431
|
+
CashServiceNotAvailable: "cash_service_not_available",
|
|
432
|
+
CashbackRequestExceedsIssuerLimit: "cashback_request_exceeds_issuer_limit",
|
|
433
|
+
DeclineForCvv2Failure: "decline_for_cvv2_failure",
|
|
434
|
+
TransactionAmountExceedsPreAuthorizedAmount: "transaction_amount_exceeds_pre_authorized_amount",
|
|
435
|
+
InvalidBillerInformation: "invalid_biller_information",
|
|
436
|
+
PinChangeUnblockRequestDeclined: "pin_change_unblock_request_declined",
|
|
437
|
+
UnsafePin: "unsafe_pin",
|
|
438
|
+
CardAuthenticationFailed: "card_authentication_failed",
|
|
439
|
+
StopPaymentOrder: "stop_payment_order",
|
|
440
|
+
RevocationOfAuthorization: "revocation_of_authorization",
|
|
441
|
+
RevocationOfAllAuthorizations: "revocation_of_all_authorizations",
|
|
442
|
+
ForwardToIssuerXa: "forward_to_issuer_xa",
|
|
443
|
+
ForwardToIssuerXd: "forward_to_issuer_xd",
|
|
444
|
+
UnableToGoOnline: "unable_to_go_online",
|
|
445
|
+
AdditionalCustomerAuthenticationRequired: "additional_customer_authentication_required",
|
|
446
|
+
MerchantIdNotFound: "merchant_id_not_found",
|
|
447
|
+
MerchantAccountClosed: "merchant_account_closed",
|
|
448
|
+
TerminalIdNotFound: "terminal_id_not_found",
|
|
449
|
+
TerminalClosed: "terminal_closed",
|
|
450
|
+
InvalidCategoryCode: "invalid_category_code",
|
|
451
|
+
InvalidCurrency: "invalid_currency",
|
|
452
|
+
MissingCvv2Cvc2: "missing_cvv2_cvc2",
|
|
453
|
+
Cvv2NotAllowed: "cvv2_not_allowed",
|
|
454
|
+
MerchantNotRegisteredVbv: "merchant_not_registered_vbv",
|
|
455
|
+
MerchantNotRegisteredForAmex: "merchant_not_registered_for_amex",
|
|
456
|
+
TransactionNotPermittedAtTerminal: "transaction_not_permitted_at_terminal",
|
|
457
|
+
AgreementTerminalNotRelated: "agreement_terminal_not_related",
|
|
458
|
+
InvalidProcessorId: "invalid_processor_id",
|
|
459
|
+
InvalidMerchantData: "invalid_merchant_data",
|
|
460
|
+
SubMerchantAccountClosed: "sub_merchant_account_closed",
|
|
461
|
+
TerminalBusy: "terminal_busy",
|
|
462
|
+
TerminalUnreachable: "terminal_unreachable",
|
|
463
|
+
ServiceFailed: "service_failed",
|
|
464
|
+
InvalidOperation: "invalid_operation",
|
|
465
|
+
AuthorizationError: "authorization_error",
|
|
466
|
+
LoginFailedWithoutReason: "login_failed_without_reason",
|
|
467
|
+
InvalidRetailer: "invalid_retailer",
|
|
468
|
+
CardDoesNotExist: "card_does_not_exist",
|
|
469
|
+
CardIsBlocked: "card_is_blocked",
|
|
470
|
+
InvalidCardId: "invalid_card_id",
|
|
471
|
+
CardIsTransferred: "card_is_transferred",
|
|
472
|
+
CardIsNotActive: "card_is_not_active",
|
|
473
|
+
IncorrectPurchaseValue: "incorrect_purchase_value",
|
|
474
|
+
CardNotAvailable: "card_not_available",
|
|
475
|
+
WrongCurrency: "wrong_currency",
|
|
476
|
+
LoginFailedUnknownUser: "login_failed_unknown_user",
|
|
477
|
+
LoginFailedInvalidPassword: "login_failed_invalid_password",
|
|
478
|
+
InvalidEanCode: "invalid_ean_code",
|
|
479
|
+
};
|
|
480
|
+
/**
|
|
481
|
+
* The card's target audience, if known.
|
|
482
|
+
*/
|
|
483
|
+
exports.ListPaymentsCardAudition = {
|
|
484
|
+
Consumer: "consumer",
|
|
485
|
+
Business: "business",
|
|
486
|
+
};
|
|
487
|
+
/**
|
|
488
|
+
* The card's label, if known.
|
|
489
|
+
*/
|
|
490
|
+
exports.ListPaymentsCardLabel = {
|
|
491
|
+
AmericanExpress: "American Express",
|
|
492
|
+
CartaSi: "Carta Si",
|
|
493
|
+
CarteBleue: "Carte Bleue",
|
|
494
|
+
Dankort: "Dankort",
|
|
495
|
+
DinersClub: "Diners Club",
|
|
496
|
+
Discover: "Discover",
|
|
497
|
+
Jcb: "JCB",
|
|
498
|
+
Laser: "Laser",
|
|
499
|
+
Maestro: "Maestro",
|
|
500
|
+
Mastercard: "Mastercard",
|
|
501
|
+
Unionpay: "Unionpay",
|
|
502
|
+
Visa: "Visa",
|
|
503
|
+
Vpay: "Vpay",
|
|
504
|
+
};
|
|
505
|
+
/**
|
|
506
|
+
* The card type.
|
|
507
|
+
*/
|
|
508
|
+
exports.ListPaymentsCardFunding = {
|
|
509
|
+
Debit: "debit",
|
|
510
|
+
Credit: "credit",
|
|
511
|
+
Prepaid: "prepaid",
|
|
512
|
+
DeferredDebit: "deferred-debit",
|
|
513
|
+
};
|
|
514
|
+
/**
|
|
515
|
+
* The level of security applied during card processing.
|
|
516
|
+
*/
|
|
517
|
+
exports.ListPaymentsCardSecurity = {
|
|
518
|
+
Normal: "normal",
|
|
519
|
+
Threedsecure: "3dsecure",
|
|
520
|
+
};
|
|
521
|
+
/**
|
|
522
|
+
* The applicable card fee region.
|
|
523
|
+
*/
|
|
524
|
+
exports.ListPaymentsFeeRegion = {
|
|
525
|
+
AmericanExpress: "american-express",
|
|
526
|
+
AmexIntraEea: "amex-intra-eea",
|
|
527
|
+
CarteBancaire: "carte-bancaire",
|
|
528
|
+
IntraEu: "intra-eu",
|
|
529
|
+
IntraEuCorporate: "intra-eu-corporate",
|
|
530
|
+
Domestic: "domestic",
|
|
531
|
+
Maestro: "maestro",
|
|
532
|
+
Other: "other",
|
|
533
|
+
Inter: "inter",
|
|
534
|
+
IntraEea: "intra-eea",
|
|
535
|
+
};
|
|
536
|
+
/**
|
|
537
|
+
* A failure code to help understand why the payment failed.
|
|
538
|
+
*/
|
|
539
|
+
exports.ListPaymentsFailureReason = {
|
|
540
|
+
AuthenticationAbandoned: "authentication_abandoned",
|
|
541
|
+
AuthenticationFailed: "authentication_failed",
|
|
542
|
+
AuthenticationRequired: "authentication_required",
|
|
543
|
+
AuthenticationUnavailableAcs: "authentication_unavailable_acs",
|
|
544
|
+
CardDeclined: "card_declined",
|
|
545
|
+
CardExpired: "card_expired",
|
|
546
|
+
InactiveCard: "inactive_card",
|
|
547
|
+
InsufficientFunds: "insufficient_funds",
|
|
548
|
+
InvalidCvv: "invalid_cvv",
|
|
549
|
+
InvalidCardHolderName: "invalid_card_holder_name",
|
|
550
|
+
InvalidCardNumber: "invalid_card_number",
|
|
551
|
+
InvalidCardType: "invalid_card_type",
|
|
552
|
+
PossibleFraud: "possible_fraud",
|
|
553
|
+
RefusedByIssuer: "refused_by_issuer",
|
|
554
|
+
UnknownReason: "unknown_reason",
|
|
555
|
+
};
|
|
556
|
+
/**
|
|
557
|
+
* The wallet used when creating the payment.
|
|
558
|
+
*/
|
|
559
|
+
exports.ListPaymentsWallet = {
|
|
560
|
+
Applepay: "applepay",
|
|
561
|
+
};
|
|
562
|
+
/**
|
|
563
|
+
* Indicates to what extent the payment is eligible for PayPal's Seller Protection. Only available for PayPal
|
|
564
|
+
*
|
|
565
|
+
* @remarks
|
|
566
|
+
* payments, and if the information is made available by PayPal.
|
|
567
|
+
*/
|
|
568
|
+
exports.ListPaymentsSellerProtection = {
|
|
569
|
+
Eligible: "Eligible",
|
|
570
|
+
Ineligible: "Ineligible",
|
|
571
|
+
PartiallyEligibleINROnly: "Partially Eligible - INR Only",
|
|
572
|
+
PartiallyEligibleUnauthOnly: "Partially Eligible - Unauth Only",
|
|
573
|
+
PartiallyEligible: "Partially Eligible",
|
|
574
|
+
None: "None",
|
|
575
|
+
Active: "Active",
|
|
576
|
+
FraudControlUnauthPremiumEligible: "Fraud Control - Unauth Premium Eligible",
|
|
577
|
+
};
|
|
578
|
+
/**
|
|
579
|
+
* The method by which the card was read by the terminal.
|
|
580
|
+
*/
|
|
581
|
+
exports.ListPaymentsCardReadMethod = {
|
|
582
|
+
Chip: "chip",
|
|
583
|
+
MagneticStripe: "magnetic-stripe",
|
|
584
|
+
NearFieldCommunication: "near-field-communication",
|
|
585
|
+
Contactless: "contactless",
|
|
586
|
+
Moto: "moto",
|
|
587
|
+
};
|
|
588
|
+
/**
|
|
589
|
+
* The method used to verify the cardholder's identity.
|
|
590
|
+
*/
|
|
591
|
+
exports.ListPaymentsCardVerificationMethod = {
|
|
592
|
+
NoCvmRequired: "no-cvm-required",
|
|
593
|
+
OnlinePin: "online-pin",
|
|
594
|
+
OfflinePin: "offline-pin",
|
|
595
|
+
ConsumerDevice: "consumer-device",
|
|
596
|
+
Signature: "signature",
|
|
597
|
+
SignatureAndOnlinePin: "signature-and-online-pin",
|
|
598
|
+
OnlinePinAndSignature: "online-pin-and-signature",
|
|
599
|
+
None: "none",
|
|
600
|
+
Failed: "failed",
|
|
601
|
+
};
|
|
343
602
|
/** @internal */
|
|
344
603
|
exports.ListPaymentsSort$inboundSchema = z.nativeEnum(exports.ListPaymentsSort);
|
|
345
604
|
/** @internal */
|
|
@@ -1327,28 +1586,43 @@ var ListPaymentsSequenceType$;
|
|
|
1327
1586
|
ListPaymentsSequenceType$.outboundSchema = exports.ListPaymentsSequenceType$outboundSchema;
|
|
1328
1587
|
})(ListPaymentsSequenceType$ || (exports.ListPaymentsSequenceType$ = ListPaymentsSequenceType$ = {}));
|
|
1329
1588
|
/** @internal */
|
|
1330
|
-
exports.
|
|
1589
|
+
exports.ListPaymentsStatusEnum$inboundSchema = z.nativeEnum(exports.ListPaymentsStatusEnum);
|
|
1590
|
+
/** @internal */
|
|
1591
|
+
exports.ListPaymentsStatusEnum$outboundSchema = exports.ListPaymentsStatusEnum$inboundSchema;
|
|
1592
|
+
/**
|
|
1593
|
+
* @internal
|
|
1594
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1595
|
+
*/
|
|
1596
|
+
var ListPaymentsStatusEnum$;
|
|
1597
|
+
(function (ListPaymentsStatusEnum$) {
|
|
1598
|
+
/** @deprecated use `ListPaymentsStatusEnum$inboundSchema` instead. */
|
|
1599
|
+
ListPaymentsStatusEnum$.inboundSchema = exports.ListPaymentsStatusEnum$inboundSchema;
|
|
1600
|
+
/** @deprecated use `ListPaymentsStatusEnum$outboundSchema` instead. */
|
|
1601
|
+
ListPaymentsStatusEnum$.outboundSchema = exports.ListPaymentsStatusEnum$outboundSchema;
|
|
1602
|
+
})(ListPaymentsStatusEnum$ || (exports.ListPaymentsStatusEnum$ = ListPaymentsStatusEnum$ = {}));
|
|
1603
|
+
/** @internal */
|
|
1604
|
+
exports.ListPaymentsCode$inboundSchema = z.nativeEnum(exports.ListPaymentsCode);
|
|
1331
1605
|
/** @internal */
|
|
1332
|
-
exports.
|
|
1606
|
+
exports.ListPaymentsCode$outboundSchema = exports.ListPaymentsCode$inboundSchema;
|
|
1333
1607
|
/**
|
|
1334
1608
|
* @internal
|
|
1335
1609
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1336
1610
|
*/
|
|
1337
|
-
var
|
|
1338
|
-
(function (
|
|
1339
|
-
/** @deprecated use `
|
|
1340
|
-
|
|
1341
|
-
/** @deprecated use `
|
|
1342
|
-
|
|
1343
|
-
})(
|
|
1611
|
+
var ListPaymentsCode$;
|
|
1612
|
+
(function (ListPaymentsCode$) {
|
|
1613
|
+
/** @deprecated use `ListPaymentsCode$inboundSchema` instead. */
|
|
1614
|
+
ListPaymentsCode$.inboundSchema = exports.ListPaymentsCode$inboundSchema;
|
|
1615
|
+
/** @deprecated use `ListPaymentsCode$outboundSchema` instead. */
|
|
1616
|
+
ListPaymentsCode$.outboundSchema = exports.ListPaymentsCode$outboundSchema;
|
|
1617
|
+
})(ListPaymentsCode$ || (exports.ListPaymentsCode$ = ListPaymentsCode$ = {}));
|
|
1344
1618
|
/** @internal */
|
|
1345
1619
|
exports.ListPaymentsStatusReason$inboundSchema = z.object({
|
|
1346
|
-
code:
|
|
1620
|
+
code: exports.ListPaymentsCode$inboundSchema,
|
|
1347
1621
|
message: z.string(),
|
|
1348
1622
|
});
|
|
1349
1623
|
/** @internal */
|
|
1350
1624
|
exports.ListPaymentsStatusReason$outboundSchema = z.object({
|
|
1351
|
-
code:
|
|
1625
|
+
code: exports.ListPaymentsCode$outboundSchema,
|
|
1352
1626
|
message: z.string(),
|
|
1353
1627
|
});
|
|
1354
1628
|
/**
|
|
@@ -1369,6 +1643,405 @@ function listPaymentsStatusReasonFromJSON(jsonString) {
|
|
|
1369
1643
|
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListPaymentsStatusReason$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListPaymentsStatusReason' from JSON`);
|
|
1370
1644
|
}
|
|
1371
1645
|
/** @internal */
|
|
1646
|
+
exports.ListPaymentsCardAudition$inboundSchema = z.nativeEnum(exports.ListPaymentsCardAudition);
|
|
1647
|
+
/** @internal */
|
|
1648
|
+
exports.ListPaymentsCardAudition$outboundSchema = exports.ListPaymentsCardAudition$inboundSchema;
|
|
1649
|
+
/**
|
|
1650
|
+
* @internal
|
|
1651
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1652
|
+
*/
|
|
1653
|
+
var ListPaymentsCardAudition$;
|
|
1654
|
+
(function (ListPaymentsCardAudition$) {
|
|
1655
|
+
/** @deprecated use `ListPaymentsCardAudition$inboundSchema` instead. */
|
|
1656
|
+
ListPaymentsCardAudition$.inboundSchema = exports.ListPaymentsCardAudition$inboundSchema;
|
|
1657
|
+
/** @deprecated use `ListPaymentsCardAudition$outboundSchema` instead. */
|
|
1658
|
+
ListPaymentsCardAudition$.outboundSchema = exports.ListPaymentsCardAudition$outboundSchema;
|
|
1659
|
+
})(ListPaymentsCardAudition$ || (exports.ListPaymentsCardAudition$ = ListPaymentsCardAudition$ = {}));
|
|
1660
|
+
/** @internal */
|
|
1661
|
+
exports.ListPaymentsCardLabel$inboundSchema = z.nativeEnum(exports.ListPaymentsCardLabel);
|
|
1662
|
+
/** @internal */
|
|
1663
|
+
exports.ListPaymentsCardLabel$outboundSchema = exports.ListPaymentsCardLabel$inboundSchema;
|
|
1664
|
+
/**
|
|
1665
|
+
* @internal
|
|
1666
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1667
|
+
*/
|
|
1668
|
+
var ListPaymentsCardLabel$;
|
|
1669
|
+
(function (ListPaymentsCardLabel$) {
|
|
1670
|
+
/** @deprecated use `ListPaymentsCardLabel$inboundSchema` instead. */
|
|
1671
|
+
ListPaymentsCardLabel$.inboundSchema = exports.ListPaymentsCardLabel$inboundSchema;
|
|
1672
|
+
/** @deprecated use `ListPaymentsCardLabel$outboundSchema` instead. */
|
|
1673
|
+
ListPaymentsCardLabel$.outboundSchema = exports.ListPaymentsCardLabel$outboundSchema;
|
|
1674
|
+
})(ListPaymentsCardLabel$ || (exports.ListPaymentsCardLabel$ = ListPaymentsCardLabel$ = {}));
|
|
1675
|
+
/** @internal */
|
|
1676
|
+
exports.ListPaymentsCardFunding$inboundSchema = z.nativeEnum(exports.ListPaymentsCardFunding);
|
|
1677
|
+
/** @internal */
|
|
1678
|
+
exports.ListPaymentsCardFunding$outboundSchema = exports.ListPaymentsCardFunding$inboundSchema;
|
|
1679
|
+
/**
|
|
1680
|
+
* @internal
|
|
1681
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1682
|
+
*/
|
|
1683
|
+
var ListPaymentsCardFunding$;
|
|
1684
|
+
(function (ListPaymentsCardFunding$) {
|
|
1685
|
+
/** @deprecated use `ListPaymentsCardFunding$inboundSchema` instead. */
|
|
1686
|
+
ListPaymentsCardFunding$.inboundSchema = exports.ListPaymentsCardFunding$inboundSchema;
|
|
1687
|
+
/** @deprecated use `ListPaymentsCardFunding$outboundSchema` instead. */
|
|
1688
|
+
ListPaymentsCardFunding$.outboundSchema = exports.ListPaymentsCardFunding$outboundSchema;
|
|
1689
|
+
})(ListPaymentsCardFunding$ || (exports.ListPaymentsCardFunding$ = ListPaymentsCardFunding$ = {}));
|
|
1690
|
+
/** @internal */
|
|
1691
|
+
exports.ListPaymentsCardSecurity$inboundSchema = z.nativeEnum(exports.ListPaymentsCardSecurity);
|
|
1692
|
+
/** @internal */
|
|
1693
|
+
exports.ListPaymentsCardSecurity$outboundSchema = exports.ListPaymentsCardSecurity$inboundSchema;
|
|
1694
|
+
/**
|
|
1695
|
+
* @internal
|
|
1696
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1697
|
+
*/
|
|
1698
|
+
var ListPaymentsCardSecurity$;
|
|
1699
|
+
(function (ListPaymentsCardSecurity$) {
|
|
1700
|
+
/** @deprecated use `ListPaymentsCardSecurity$inboundSchema` instead. */
|
|
1701
|
+
ListPaymentsCardSecurity$.inboundSchema = exports.ListPaymentsCardSecurity$inboundSchema;
|
|
1702
|
+
/** @deprecated use `ListPaymentsCardSecurity$outboundSchema` instead. */
|
|
1703
|
+
ListPaymentsCardSecurity$.outboundSchema = exports.ListPaymentsCardSecurity$outboundSchema;
|
|
1704
|
+
})(ListPaymentsCardSecurity$ || (exports.ListPaymentsCardSecurity$ = ListPaymentsCardSecurity$ = {}));
|
|
1705
|
+
/** @internal */
|
|
1706
|
+
exports.ListPaymentsFeeRegion$inboundSchema = z.nativeEnum(exports.ListPaymentsFeeRegion);
|
|
1707
|
+
/** @internal */
|
|
1708
|
+
exports.ListPaymentsFeeRegion$outboundSchema = exports.ListPaymentsFeeRegion$inboundSchema;
|
|
1709
|
+
/**
|
|
1710
|
+
* @internal
|
|
1711
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1712
|
+
*/
|
|
1713
|
+
var ListPaymentsFeeRegion$;
|
|
1714
|
+
(function (ListPaymentsFeeRegion$) {
|
|
1715
|
+
/** @deprecated use `ListPaymentsFeeRegion$inboundSchema` instead. */
|
|
1716
|
+
ListPaymentsFeeRegion$.inboundSchema = exports.ListPaymentsFeeRegion$inboundSchema;
|
|
1717
|
+
/** @deprecated use `ListPaymentsFeeRegion$outboundSchema` instead. */
|
|
1718
|
+
ListPaymentsFeeRegion$.outboundSchema = exports.ListPaymentsFeeRegion$outboundSchema;
|
|
1719
|
+
})(ListPaymentsFeeRegion$ || (exports.ListPaymentsFeeRegion$ = ListPaymentsFeeRegion$ = {}));
|
|
1720
|
+
/** @internal */
|
|
1721
|
+
exports.ListPaymentsFailureReason$inboundSchema = z.nativeEnum(exports.ListPaymentsFailureReason);
|
|
1722
|
+
/** @internal */
|
|
1723
|
+
exports.ListPaymentsFailureReason$outboundSchema = exports.ListPaymentsFailureReason$inboundSchema;
|
|
1724
|
+
/**
|
|
1725
|
+
* @internal
|
|
1726
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1727
|
+
*/
|
|
1728
|
+
var ListPaymentsFailureReason$;
|
|
1729
|
+
(function (ListPaymentsFailureReason$) {
|
|
1730
|
+
/** @deprecated use `ListPaymentsFailureReason$inboundSchema` instead. */
|
|
1731
|
+
ListPaymentsFailureReason$.inboundSchema = exports.ListPaymentsFailureReason$inboundSchema;
|
|
1732
|
+
/** @deprecated use `ListPaymentsFailureReason$outboundSchema` instead. */
|
|
1733
|
+
ListPaymentsFailureReason$.outboundSchema = exports.ListPaymentsFailureReason$outboundSchema;
|
|
1734
|
+
})(ListPaymentsFailureReason$ || (exports.ListPaymentsFailureReason$ = ListPaymentsFailureReason$ = {}));
|
|
1735
|
+
/** @internal */
|
|
1736
|
+
exports.ListPaymentsWallet$inboundSchema = z.nativeEnum(exports.ListPaymentsWallet);
|
|
1737
|
+
/** @internal */
|
|
1738
|
+
exports.ListPaymentsWallet$outboundSchema = exports.ListPaymentsWallet$inboundSchema;
|
|
1739
|
+
/**
|
|
1740
|
+
* @internal
|
|
1741
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1742
|
+
*/
|
|
1743
|
+
var ListPaymentsWallet$;
|
|
1744
|
+
(function (ListPaymentsWallet$) {
|
|
1745
|
+
/** @deprecated use `ListPaymentsWallet$inboundSchema` instead. */
|
|
1746
|
+
ListPaymentsWallet$.inboundSchema = exports.ListPaymentsWallet$inboundSchema;
|
|
1747
|
+
/** @deprecated use `ListPaymentsWallet$outboundSchema` instead. */
|
|
1748
|
+
ListPaymentsWallet$.outboundSchema = exports.ListPaymentsWallet$outboundSchema;
|
|
1749
|
+
})(ListPaymentsWallet$ || (exports.ListPaymentsWallet$ = ListPaymentsWallet$ = {}));
|
|
1750
|
+
/** @internal */
|
|
1751
|
+
exports.ListPaymentsSellerProtection$inboundSchema = z.nativeEnum(exports.ListPaymentsSellerProtection);
|
|
1752
|
+
/** @internal */
|
|
1753
|
+
exports.ListPaymentsSellerProtection$outboundSchema = exports.ListPaymentsSellerProtection$inboundSchema;
|
|
1754
|
+
/**
|
|
1755
|
+
* @internal
|
|
1756
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1757
|
+
*/
|
|
1758
|
+
var ListPaymentsSellerProtection$;
|
|
1759
|
+
(function (ListPaymentsSellerProtection$) {
|
|
1760
|
+
/** @deprecated use `ListPaymentsSellerProtection$inboundSchema` instead. */
|
|
1761
|
+
ListPaymentsSellerProtection$.inboundSchema = exports.ListPaymentsSellerProtection$inboundSchema;
|
|
1762
|
+
/** @deprecated use `ListPaymentsSellerProtection$outboundSchema` instead. */
|
|
1763
|
+
ListPaymentsSellerProtection$.outboundSchema = exports.ListPaymentsSellerProtection$outboundSchema;
|
|
1764
|
+
})(ListPaymentsSellerProtection$ || (exports.ListPaymentsSellerProtection$ = ListPaymentsSellerProtection$ = {}));
|
|
1765
|
+
/** @internal */
|
|
1766
|
+
exports.ListPaymentsPaypalFee$inboundSchema = z.object({
|
|
1767
|
+
currency: z.string(),
|
|
1768
|
+
value: z.string(),
|
|
1769
|
+
});
|
|
1770
|
+
/** @internal */
|
|
1771
|
+
exports.ListPaymentsPaypalFee$outboundSchema = z.object({
|
|
1772
|
+
currency: z.string(),
|
|
1773
|
+
value: z.string(),
|
|
1774
|
+
});
|
|
1775
|
+
/**
|
|
1776
|
+
* @internal
|
|
1777
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1778
|
+
*/
|
|
1779
|
+
var ListPaymentsPaypalFee$;
|
|
1780
|
+
(function (ListPaymentsPaypalFee$) {
|
|
1781
|
+
/** @deprecated use `ListPaymentsPaypalFee$inboundSchema` instead. */
|
|
1782
|
+
ListPaymentsPaypalFee$.inboundSchema = exports.ListPaymentsPaypalFee$inboundSchema;
|
|
1783
|
+
/** @deprecated use `ListPaymentsPaypalFee$outboundSchema` instead. */
|
|
1784
|
+
ListPaymentsPaypalFee$.outboundSchema = exports.ListPaymentsPaypalFee$outboundSchema;
|
|
1785
|
+
})(ListPaymentsPaypalFee$ || (exports.ListPaymentsPaypalFee$ = ListPaymentsPaypalFee$ = {}));
|
|
1786
|
+
function listPaymentsPaypalFeeToJSON(listPaymentsPaypalFee) {
|
|
1787
|
+
return JSON.stringify(exports.ListPaymentsPaypalFee$outboundSchema.parse(listPaymentsPaypalFee));
|
|
1788
|
+
}
|
|
1789
|
+
function listPaymentsPaypalFeeFromJSON(jsonString) {
|
|
1790
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListPaymentsPaypalFee$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListPaymentsPaypalFee' from JSON`);
|
|
1791
|
+
}
|
|
1792
|
+
/** @internal */
|
|
1793
|
+
exports.ListPaymentsCardReadMethod$inboundSchema = z.nativeEnum(exports.ListPaymentsCardReadMethod);
|
|
1794
|
+
/** @internal */
|
|
1795
|
+
exports.ListPaymentsCardReadMethod$outboundSchema = exports.ListPaymentsCardReadMethod$inboundSchema;
|
|
1796
|
+
/**
|
|
1797
|
+
* @internal
|
|
1798
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1799
|
+
*/
|
|
1800
|
+
var ListPaymentsCardReadMethod$;
|
|
1801
|
+
(function (ListPaymentsCardReadMethod$) {
|
|
1802
|
+
/** @deprecated use `ListPaymentsCardReadMethod$inboundSchema` instead. */
|
|
1803
|
+
ListPaymentsCardReadMethod$.inboundSchema = exports.ListPaymentsCardReadMethod$inboundSchema;
|
|
1804
|
+
/** @deprecated use `ListPaymentsCardReadMethod$outboundSchema` instead. */
|
|
1805
|
+
ListPaymentsCardReadMethod$.outboundSchema = exports.ListPaymentsCardReadMethod$outboundSchema;
|
|
1806
|
+
})(ListPaymentsCardReadMethod$ || (exports.ListPaymentsCardReadMethod$ = ListPaymentsCardReadMethod$ = {}));
|
|
1807
|
+
/** @internal */
|
|
1808
|
+
exports.ListPaymentsCardVerificationMethod$inboundSchema = z.nativeEnum(exports.ListPaymentsCardVerificationMethod);
|
|
1809
|
+
/** @internal */
|
|
1810
|
+
exports.ListPaymentsCardVerificationMethod$outboundSchema = exports.ListPaymentsCardVerificationMethod$inboundSchema;
|
|
1811
|
+
/**
|
|
1812
|
+
* @internal
|
|
1813
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1814
|
+
*/
|
|
1815
|
+
var ListPaymentsCardVerificationMethod$;
|
|
1816
|
+
(function (ListPaymentsCardVerificationMethod$) {
|
|
1817
|
+
/** @deprecated use `ListPaymentsCardVerificationMethod$inboundSchema` instead. */
|
|
1818
|
+
ListPaymentsCardVerificationMethod$.inboundSchema = exports.ListPaymentsCardVerificationMethod$inboundSchema;
|
|
1819
|
+
/** @deprecated use `ListPaymentsCardVerificationMethod$outboundSchema` instead. */
|
|
1820
|
+
ListPaymentsCardVerificationMethod$.outboundSchema = exports.ListPaymentsCardVerificationMethod$outboundSchema;
|
|
1821
|
+
})(ListPaymentsCardVerificationMethod$ || (exports.ListPaymentsCardVerificationMethod$ = ListPaymentsCardVerificationMethod$ = {}));
|
|
1822
|
+
/** @internal */
|
|
1823
|
+
exports.ListPaymentsReceipt$inboundSchema = z.object({
|
|
1824
|
+
authorizationCode: z.nullable(z.string()).optional(),
|
|
1825
|
+
applicationIdentifier: z.nullable(z.string()).optional(),
|
|
1826
|
+
cardReadMethod: z.nullable(exports.ListPaymentsCardReadMethod$inboundSchema)
|
|
1827
|
+
.optional(),
|
|
1828
|
+
cardVerificationMethod: z.nullable(exports.ListPaymentsCardVerificationMethod$inboundSchema).optional(),
|
|
1829
|
+
});
|
|
1830
|
+
/** @internal */
|
|
1831
|
+
exports.ListPaymentsReceipt$outboundSchema = z.object({
|
|
1832
|
+
authorizationCode: z.nullable(z.string()).optional(),
|
|
1833
|
+
applicationIdentifier: z.nullable(z.string()).optional(),
|
|
1834
|
+
cardReadMethod: z.nullable(exports.ListPaymentsCardReadMethod$outboundSchema)
|
|
1835
|
+
.optional(),
|
|
1836
|
+
cardVerificationMethod: z.nullable(exports.ListPaymentsCardVerificationMethod$outboundSchema).optional(),
|
|
1837
|
+
});
|
|
1838
|
+
/**
|
|
1839
|
+
* @internal
|
|
1840
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1841
|
+
*/
|
|
1842
|
+
var ListPaymentsReceipt$;
|
|
1843
|
+
(function (ListPaymentsReceipt$) {
|
|
1844
|
+
/** @deprecated use `ListPaymentsReceipt$inboundSchema` instead. */
|
|
1845
|
+
ListPaymentsReceipt$.inboundSchema = exports.ListPaymentsReceipt$inboundSchema;
|
|
1846
|
+
/** @deprecated use `ListPaymentsReceipt$outboundSchema` instead. */
|
|
1847
|
+
ListPaymentsReceipt$.outboundSchema = exports.ListPaymentsReceipt$outboundSchema;
|
|
1848
|
+
})(ListPaymentsReceipt$ || (exports.ListPaymentsReceipt$ = ListPaymentsReceipt$ = {}));
|
|
1849
|
+
function listPaymentsReceiptToJSON(listPaymentsReceipt) {
|
|
1850
|
+
return JSON.stringify(exports.ListPaymentsReceipt$outboundSchema.parse(listPaymentsReceipt));
|
|
1851
|
+
}
|
|
1852
|
+
function listPaymentsReceiptFromJSON(jsonString) {
|
|
1853
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListPaymentsReceipt$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListPaymentsReceipt' from JSON`);
|
|
1854
|
+
}
|
|
1855
|
+
/** @internal */
|
|
1856
|
+
exports.ListPaymentsQrCode$inboundSchema = z.object({
|
|
1857
|
+
height: z.number().int().optional(),
|
|
1858
|
+
width: z.number().int().optional(),
|
|
1859
|
+
src: z.string().optional(),
|
|
1860
|
+
});
|
|
1861
|
+
/** @internal */
|
|
1862
|
+
exports.ListPaymentsQrCode$outboundSchema = z.object({
|
|
1863
|
+
height: z.number().int().optional(),
|
|
1864
|
+
width: z.number().int().optional(),
|
|
1865
|
+
src: z.string().optional(),
|
|
1866
|
+
});
|
|
1867
|
+
/**
|
|
1868
|
+
* @internal
|
|
1869
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1870
|
+
*/
|
|
1871
|
+
var ListPaymentsQrCode$;
|
|
1872
|
+
(function (ListPaymentsQrCode$) {
|
|
1873
|
+
/** @deprecated use `ListPaymentsQrCode$inboundSchema` instead. */
|
|
1874
|
+
ListPaymentsQrCode$.inboundSchema = exports.ListPaymentsQrCode$inboundSchema;
|
|
1875
|
+
/** @deprecated use `ListPaymentsQrCode$outboundSchema` instead. */
|
|
1876
|
+
ListPaymentsQrCode$.outboundSchema = exports.ListPaymentsQrCode$outboundSchema;
|
|
1877
|
+
})(ListPaymentsQrCode$ || (exports.ListPaymentsQrCode$ = ListPaymentsQrCode$ = {}));
|
|
1878
|
+
function listPaymentsQrCodeToJSON(listPaymentsQrCode) {
|
|
1879
|
+
return JSON.stringify(exports.ListPaymentsQrCode$outboundSchema.parse(listPaymentsQrCode));
|
|
1880
|
+
}
|
|
1881
|
+
function listPaymentsQrCodeFromJSON(jsonString) {
|
|
1882
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListPaymentsQrCode$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListPaymentsQrCode' from JSON`);
|
|
1883
|
+
}
|
|
1884
|
+
/** @internal */
|
|
1885
|
+
exports.ListPaymentsRemainderAmount$inboundSchema = z.object({
|
|
1886
|
+
currency: z.string(),
|
|
1887
|
+
value: z.string(),
|
|
1888
|
+
});
|
|
1889
|
+
/** @internal */
|
|
1890
|
+
exports.ListPaymentsRemainderAmount$outboundSchema = z.object({
|
|
1891
|
+
currency: z.string(),
|
|
1892
|
+
value: z.string(),
|
|
1893
|
+
});
|
|
1894
|
+
/**
|
|
1895
|
+
* @internal
|
|
1896
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1897
|
+
*/
|
|
1898
|
+
var ListPaymentsRemainderAmount$;
|
|
1899
|
+
(function (ListPaymentsRemainderAmount$) {
|
|
1900
|
+
/** @deprecated use `ListPaymentsRemainderAmount$inboundSchema` instead. */
|
|
1901
|
+
ListPaymentsRemainderAmount$.inboundSchema = exports.ListPaymentsRemainderAmount$inboundSchema;
|
|
1902
|
+
/** @deprecated use `ListPaymentsRemainderAmount$outboundSchema` instead. */
|
|
1903
|
+
ListPaymentsRemainderAmount$.outboundSchema = exports.ListPaymentsRemainderAmount$outboundSchema;
|
|
1904
|
+
})(ListPaymentsRemainderAmount$ || (exports.ListPaymentsRemainderAmount$ = ListPaymentsRemainderAmount$ = {}));
|
|
1905
|
+
function listPaymentsRemainderAmountToJSON(listPaymentsRemainderAmount) {
|
|
1906
|
+
return JSON.stringify(exports.ListPaymentsRemainderAmount$outboundSchema.parse(listPaymentsRemainderAmount));
|
|
1907
|
+
}
|
|
1908
|
+
function listPaymentsRemainderAmountFromJSON(jsonString) {
|
|
1909
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListPaymentsRemainderAmount$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListPaymentsRemainderAmount' from JSON`);
|
|
1910
|
+
}
|
|
1911
|
+
/** @internal */
|
|
1912
|
+
exports.ListPaymentsDetails$inboundSchema = z.object({
|
|
1913
|
+
consumerName: z.nullable(z.string()).optional(),
|
|
1914
|
+
consumerAccount: z.nullable(z.string()).optional(),
|
|
1915
|
+
consumerBic: z.nullable(z.string()).optional(),
|
|
1916
|
+
shippingAddress: z.nullable(z.record(z.any())).optional(),
|
|
1917
|
+
cardNumber: z.nullable(z.string()).optional(),
|
|
1918
|
+
bankName: z.string().optional(),
|
|
1919
|
+
bankAccount: z.string().optional(),
|
|
1920
|
+
bankBic: z.string().optional(),
|
|
1921
|
+
transferReference: z.nullable(z.string()).optional(),
|
|
1922
|
+
cardFingerprint: z.nullable(z.string()).optional(),
|
|
1923
|
+
cardHolder: z.nullable(z.string()).optional(),
|
|
1924
|
+
cardAudition: z.nullable(exports.ListPaymentsCardAudition$inboundSchema).optional(),
|
|
1925
|
+
cardLabel: z.nullable(exports.ListPaymentsCardLabel$inboundSchema).optional(),
|
|
1926
|
+
cardCountryCode: z.nullable(z.string()).optional(),
|
|
1927
|
+
cardExpiryDate: z.nullable(z.string()).optional(),
|
|
1928
|
+
cardFunding: z.nullable(exports.ListPaymentsCardFunding$inboundSchema).optional(),
|
|
1929
|
+
cardSecurity: z.nullable(exports.ListPaymentsCardSecurity$inboundSchema).optional(),
|
|
1930
|
+
feeRegion: z.nullable(exports.ListPaymentsFeeRegion$inboundSchema).optional(),
|
|
1931
|
+
cardMaskedNumber: z.nullable(z.string()).optional(),
|
|
1932
|
+
card3dsEci: z.nullable(z.string()).optional(),
|
|
1933
|
+
cardBin: z.nullable(z.string()).optional(),
|
|
1934
|
+
cardIssuer: z.nullable(z.string()).optional(),
|
|
1935
|
+
failureReason: z.nullable(exports.ListPaymentsFailureReason$inboundSchema).optional(),
|
|
1936
|
+
failureMessage: z.nullable(z.string()).optional(),
|
|
1937
|
+
wallet: z.nullable(exports.ListPaymentsWallet$inboundSchema).optional(),
|
|
1938
|
+
paypalReference: z.nullable(z.string()).optional(),
|
|
1939
|
+
paypalPayerId: z.nullable(z.string()).optional(),
|
|
1940
|
+
sellerProtection: z.nullable(exports.ListPaymentsSellerProtection$inboundSchema)
|
|
1941
|
+
.optional(),
|
|
1942
|
+
paypalFee: z.nullable(z.lazy(() => exports.ListPaymentsPaypalFee$inboundSchema))
|
|
1943
|
+
.optional(),
|
|
1944
|
+
customerReference: z.string().optional(),
|
|
1945
|
+
terminalId: z.string().optional(),
|
|
1946
|
+
maskedNumber: z.nullable(z.string()).optional(),
|
|
1947
|
+
receipt: z.lazy(() => exports.ListPaymentsReceipt$inboundSchema).optional(),
|
|
1948
|
+
creditorIdentifier: z.nullable(z.string()).optional(),
|
|
1949
|
+
dueDate: z.nullable(z.string().transform(v => new rfcdate_js_1.RFCDate(v))).optional(),
|
|
1950
|
+
signatureDate: z.nullable(z.string().transform(v => new rfcdate_js_1.RFCDate(v)))
|
|
1951
|
+
.optional(),
|
|
1952
|
+
bankReasonCode: z.nullable(z.string()).optional(),
|
|
1953
|
+
bankReason: z.nullable(z.string()).optional(),
|
|
1954
|
+
endToEndIdentifier: z.nullable(z.string()).optional(),
|
|
1955
|
+
mandateReference: z.nullable(z.string()).optional(),
|
|
1956
|
+
batchReference: z.nullable(z.string()).optional(),
|
|
1957
|
+
fileReference: z.nullable(z.string()).optional(),
|
|
1958
|
+
qrCode: z.lazy(() => exports.ListPaymentsQrCode$inboundSchema).optional(),
|
|
1959
|
+
voucherNumber: z.string().optional(),
|
|
1960
|
+
giftcards: z.array(z.record(z.any())).optional(),
|
|
1961
|
+
issuer: z.string().optional(),
|
|
1962
|
+
vouchers: z.array(z.record(z.any())).optional(),
|
|
1963
|
+
remainderAmount: z.lazy(() => exports.ListPaymentsRemainderAmount$inboundSchema)
|
|
1964
|
+
.optional(),
|
|
1965
|
+
remainderMethod: z.string().optional(),
|
|
1966
|
+
remainderDetails: z.record(z.any()).optional(),
|
|
1967
|
+
});
|
|
1968
|
+
/** @internal */
|
|
1969
|
+
exports.ListPaymentsDetails$outboundSchema = z.object({
|
|
1970
|
+
consumerName: z.nullable(z.string()).optional(),
|
|
1971
|
+
consumerAccount: z.nullable(z.string()).optional(),
|
|
1972
|
+
consumerBic: z.nullable(z.string()).optional(),
|
|
1973
|
+
shippingAddress: z.nullable(z.record(z.any())).optional(),
|
|
1974
|
+
cardNumber: z.nullable(z.string()).optional(),
|
|
1975
|
+
bankName: z.string().optional(),
|
|
1976
|
+
bankAccount: z.string().optional(),
|
|
1977
|
+
bankBic: z.string().optional(),
|
|
1978
|
+
transferReference: z.nullable(z.string()).optional(),
|
|
1979
|
+
cardFingerprint: z.nullable(z.string()).optional(),
|
|
1980
|
+
cardHolder: z.nullable(z.string()).optional(),
|
|
1981
|
+
cardAudition: z.nullable(exports.ListPaymentsCardAudition$outboundSchema).optional(),
|
|
1982
|
+
cardLabel: z.nullable(exports.ListPaymentsCardLabel$outboundSchema).optional(),
|
|
1983
|
+
cardCountryCode: z.nullable(z.string()).optional(),
|
|
1984
|
+
cardExpiryDate: z.nullable(z.string()).optional(),
|
|
1985
|
+
cardFunding: z.nullable(exports.ListPaymentsCardFunding$outboundSchema).optional(),
|
|
1986
|
+
cardSecurity: z.nullable(exports.ListPaymentsCardSecurity$outboundSchema).optional(),
|
|
1987
|
+
feeRegion: z.nullable(exports.ListPaymentsFeeRegion$outboundSchema).optional(),
|
|
1988
|
+
cardMaskedNumber: z.nullable(z.string()).optional(),
|
|
1989
|
+
card3dsEci: z.nullable(z.string()).optional(),
|
|
1990
|
+
cardBin: z.nullable(z.string()).optional(),
|
|
1991
|
+
cardIssuer: z.nullable(z.string()).optional(),
|
|
1992
|
+
failureReason: z.nullable(exports.ListPaymentsFailureReason$outboundSchema)
|
|
1993
|
+
.optional(),
|
|
1994
|
+
failureMessage: z.nullable(z.string()).optional(),
|
|
1995
|
+
wallet: z.nullable(exports.ListPaymentsWallet$outboundSchema).optional(),
|
|
1996
|
+
paypalReference: z.nullable(z.string()).optional(),
|
|
1997
|
+
paypalPayerId: z.nullable(z.string()).optional(),
|
|
1998
|
+
sellerProtection: z.nullable(exports.ListPaymentsSellerProtection$outboundSchema)
|
|
1999
|
+
.optional(),
|
|
2000
|
+
paypalFee: z.nullable(z.lazy(() => exports.ListPaymentsPaypalFee$outboundSchema))
|
|
2001
|
+
.optional(),
|
|
2002
|
+
customerReference: z.string().optional(),
|
|
2003
|
+
terminalId: z.string().optional(),
|
|
2004
|
+
maskedNumber: z.nullable(z.string()).optional(),
|
|
2005
|
+
receipt: z.lazy(() => exports.ListPaymentsReceipt$outboundSchema).optional(),
|
|
2006
|
+
creditorIdentifier: z.nullable(z.string()).optional(),
|
|
2007
|
+
dueDate: z.nullable(z.instanceof(rfcdate_js_1.RFCDate).transform(v => v.toString()))
|
|
2008
|
+
.optional(),
|
|
2009
|
+
signatureDate: z.nullable(z.instanceof(rfcdate_js_1.RFCDate).transform(v => v.toString()))
|
|
2010
|
+
.optional(),
|
|
2011
|
+
bankReasonCode: z.nullable(z.string()).optional(),
|
|
2012
|
+
bankReason: z.nullable(z.string()).optional(),
|
|
2013
|
+
endToEndIdentifier: z.nullable(z.string()).optional(),
|
|
2014
|
+
mandateReference: z.nullable(z.string()).optional(),
|
|
2015
|
+
batchReference: z.nullable(z.string()).optional(),
|
|
2016
|
+
fileReference: z.nullable(z.string()).optional(),
|
|
2017
|
+
qrCode: z.lazy(() => exports.ListPaymentsQrCode$outboundSchema).optional(),
|
|
2018
|
+
voucherNumber: z.string().optional(),
|
|
2019
|
+
giftcards: z.array(z.record(z.any())).optional(),
|
|
2020
|
+
issuer: z.string().optional(),
|
|
2021
|
+
vouchers: z.array(z.record(z.any())).optional(),
|
|
2022
|
+
remainderAmount: z.lazy(() => exports.ListPaymentsRemainderAmount$outboundSchema)
|
|
2023
|
+
.optional(),
|
|
2024
|
+
remainderMethod: z.string().optional(),
|
|
2025
|
+
remainderDetails: z.record(z.any()).optional(),
|
|
2026
|
+
});
|
|
2027
|
+
/**
|
|
2028
|
+
* @internal
|
|
2029
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2030
|
+
*/
|
|
2031
|
+
var ListPaymentsDetails$;
|
|
2032
|
+
(function (ListPaymentsDetails$) {
|
|
2033
|
+
/** @deprecated use `ListPaymentsDetails$inboundSchema` instead. */
|
|
2034
|
+
ListPaymentsDetails$.inboundSchema = exports.ListPaymentsDetails$inboundSchema;
|
|
2035
|
+
/** @deprecated use `ListPaymentsDetails$outboundSchema` instead. */
|
|
2036
|
+
ListPaymentsDetails$.outboundSchema = exports.ListPaymentsDetails$outboundSchema;
|
|
2037
|
+
})(ListPaymentsDetails$ || (exports.ListPaymentsDetails$ = ListPaymentsDetails$ = {}));
|
|
2038
|
+
function listPaymentsDetailsToJSON(listPaymentsDetails) {
|
|
2039
|
+
return JSON.stringify(exports.ListPaymentsDetails$outboundSchema.parse(listPaymentsDetails));
|
|
2040
|
+
}
|
|
2041
|
+
function listPaymentsDetailsFromJSON(jsonString) {
|
|
2042
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListPaymentsDetails$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListPaymentsDetails' from JSON`);
|
|
2043
|
+
}
|
|
2044
|
+
/** @internal */
|
|
1372
2045
|
exports.ListPaymentsPaymentSelf$inboundSchema = z.object({
|
|
1373
2046
|
href: z.string(),
|
|
1374
2047
|
type: z.string(),
|
|
@@ -1774,6 +2447,60 @@ function listPaymentsPaymentDocumentationFromJSON(jsonString) {
|
|
|
1774
2447
|
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListPaymentsPaymentDocumentation$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListPaymentsPaymentDocumentation' from JSON`);
|
|
1775
2448
|
}
|
|
1776
2449
|
/** @internal */
|
|
2450
|
+
exports.ListPaymentsLinksStatus$inboundSchema = z.object({
|
|
2451
|
+
href: z.string(),
|
|
2452
|
+
type: z.string(),
|
|
2453
|
+
});
|
|
2454
|
+
/** @internal */
|
|
2455
|
+
exports.ListPaymentsLinksStatus$outboundSchema = z.object({
|
|
2456
|
+
href: z.string(),
|
|
2457
|
+
type: z.string(),
|
|
2458
|
+
});
|
|
2459
|
+
/**
|
|
2460
|
+
* @internal
|
|
2461
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2462
|
+
*/
|
|
2463
|
+
var ListPaymentsLinksStatus$;
|
|
2464
|
+
(function (ListPaymentsLinksStatus$) {
|
|
2465
|
+
/** @deprecated use `ListPaymentsLinksStatus$inboundSchema` instead. */
|
|
2466
|
+
ListPaymentsLinksStatus$.inboundSchema = exports.ListPaymentsLinksStatus$inboundSchema;
|
|
2467
|
+
/** @deprecated use `ListPaymentsLinksStatus$outboundSchema` instead. */
|
|
2468
|
+
ListPaymentsLinksStatus$.outboundSchema = exports.ListPaymentsLinksStatus$outboundSchema;
|
|
2469
|
+
})(ListPaymentsLinksStatus$ || (exports.ListPaymentsLinksStatus$ = ListPaymentsLinksStatus$ = {}));
|
|
2470
|
+
function listPaymentsLinksStatusToJSON(listPaymentsLinksStatus) {
|
|
2471
|
+
return JSON.stringify(exports.ListPaymentsLinksStatus$outboundSchema.parse(listPaymentsLinksStatus));
|
|
2472
|
+
}
|
|
2473
|
+
function listPaymentsLinksStatusFromJSON(jsonString) {
|
|
2474
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListPaymentsLinksStatus$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListPaymentsLinksStatus' from JSON`);
|
|
2475
|
+
}
|
|
2476
|
+
/** @internal */
|
|
2477
|
+
exports.ListPaymentsPayOnline$inboundSchema = z.object({
|
|
2478
|
+
href: z.string(),
|
|
2479
|
+
type: z.string(),
|
|
2480
|
+
});
|
|
2481
|
+
/** @internal */
|
|
2482
|
+
exports.ListPaymentsPayOnline$outboundSchema = z.object({
|
|
2483
|
+
href: z.string(),
|
|
2484
|
+
type: z.string(),
|
|
2485
|
+
});
|
|
2486
|
+
/**
|
|
2487
|
+
* @internal
|
|
2488
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2489
|
+
*/
|
|
2490
|
+
var ListPaymentsPayOnline$;
|
|
2491
|
+
(function (ListPaymentsPayOnline$) {
|
|
2492
|
+
/** @deprecated use `ListPaymentsPayOnline$inboundSchema` instead. */
|
|
2493
|
+
ListPaymentsPayOnline$.inboundSchema = exports.ListPaymentsPayOnline$inboundSchema;
|
|
2494
|
+
/** @deprecated use `ListPaymentsPayOnline$outboundSchema` instead. */
|
|
2495
|
+
ListPaymentsPayOnline$.outboundSchema = exports.ListPaymentsPayOnline$outboundSchema;
|
|
2496
|
+
})(ListPaymentsPayOnline$ || (exports.ListPaymentsPayOnline$ = ListPaymentsPayOnline$ = {}));
|
|
2497
|
+
function listPaymentsPayOnlineToJSON(listPaymentsPayOnline) {
|
|
2498
|
+
return JSON.stringify(exports.ListPaymentsPayOnline$outboundSchema.parse(listPaymentsPayOnline));
|
|
2499
|
+
}
|
|
2500
|
+
function listPaymentsPayOnlineFromJSON(jsonString) {
|
|
2501
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListPaymentsPayOnline$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListPaymentsPayOnline' from JSON`);
|
|
2502
|
+
}
|
|
2503
|
+
/** @internal */
|
|
1777
2504
|
exports.ListPaymentsPaymentLinks$inboundSchema = z.object({
|
|
1778
2505
|
self: z.lazy(() => exports.ListPaymentsPaymentSelf$inboundSchema),
|
|
1779
2506
|
checkout: z.lazy(() => exports.ListPaymentsCheckout$inboundSchema).optional(),
|
|
@@ -1793,6 +2520,8 @@ exports.ListPaymentsPaymentLinks$inboundSchema = z.object({
|
|
|
1793
2520
|
terminal: z.lazy(() => exports.ListPaymentsTerminal$inboundSchema).optional(),
|
|
1794
2521
|
documentation: z.lazy(() => exports.ListPaymentsPaymentDocumentation$inboundSchema)
|
|
1795
2522
|
.optional(),
|
|
2523
|
+
status: z.lazy(() => exports.ListPaymentsLinksStatus$inboundSchema).optional(),
|
|
2524
|
+
payOnline: z.lazy(() => exports.ListPaymentsPayOnline$inboundSchema).optional(),
|
|
1796
2525
|
});
|
|
1797
2526
|
/** @internal */
|
|
1798
2527
|
exports.ListPaymentsPaymentLinks$outboundSchema = z.object({
|
|
@@ -1814,6 +2543,8 @@ exports.ListPaymentsPaymentLinks$outboundSchema = z.object({
|
|
|
1814
2543
|
terminal: z.lazy(() => exports.ListPaymentsTerminal$outboundSchema).optional(),
|
|
1815
2544
|
documentation: z.lazy(() => exports.ListPaymentsPaymentDocumentation$outboundSchema)
|
|
1816
2545
|
.optional(),
|
|
2546
|
+
status: z.lazy(() => exports.ListPaymentsLinksStatus$outboundSchema).optional(),
|
|
2547
|
+
payOnline: z.lazy(() => exports.ListPaymentsPayOnline$outboundSchema).optional(),
|
|
1817
2548
|
});
|
|
1818
2549
|
/**
|
|
1819
2550
|
* @internal
|
|
@@ -1876,11 +2607,12 @@ exports.ListPaymentsPaymentOutput$inboundSchema = z.object({
|
|
|
1876
2607
|
profileId: z.string(),
|
|
1877
2608
|
settlementId: z.nullable(z.string()).optional(),
|
|
1878
2609
|
orderId: z.nullable(z.string()).optional(),
|
|
1879
|
-
status: exports.
|
|
2610
|
+
status: exports.ListPaymentsStatusEnum$inboundSchema,
|
|
1880
2611
|
statusReason: z.nullable(z.lazy(() => exports.ListPaymentsStatusReason$inboundSchema))
|
|
1881
2612
|
.optional(),
|
|
1882
2613
|
isCancelable: z.nullable(z.boolean()).optional(),
|
|
1883
|
-
details: z.nullable(z.
|
|
2614
|
+
details: z.nullable(z.lazy(() => exports.ListPaymentsDetails$inboundSchema))
|
|
2615
|
+
.optional(),
|
|
1884
2616
|
createdAt: z.string(),
|
|
1885
2617
|
authorizedAt: z.nullable(z.string()).optional(),
|
|
1886
2618
|
paidAt: z.nullable(z.string()).optional(),
|
|
@@ -1938,10 +2670,11 @@ exports.ListPaymentsPaymentOutput$outboundSchema = z.object({
|
|
|
1938
2670
|
profileId: z.string(),
|
|
1939
2671
|
settlementId: z.nullable(z.string()).optional(),
|
|
1940
2672
|
orderId: z.nullable(z.string()).optional(),
|
|
1941
|
-
status: exports.
|
|
2673
|
+
status: exports.ListPaymentsStatusEnum$outboundSchema,
|
|
1942
2674
|
statusReason: z.nullable(z.lazy(() => exports.ListPaymentsStatusReason$outboundSchema)).optional(),
|
|
1943
2675
|
isCancelable: z.nullable(z.boolean()).optional(),
|
|
1944
|
-
details: z.nullable(z.
|
|
2676
|
+
details: z.nullable(z.lazy(() => exports.ListPaymentsDetails$outboundSchema))
|
|
2677
|
+
.optional(),
|
|
1945
2678
|
createdAt: z.string(),
|
|
1946
2679
|
authorizedAt: z.nullable(z.string()).optional(),
|
|
1947
2680
|
paidAt: z.nullable(z.string()).optional(),
|
|
@@ -2109,21 +2842,17 @@ function listPaymentsDocumentationFromJSON(jsonString) {
|
|
|
2109
2842
|
}
|
|
2110
2843
|
/** @internal */
|
|
2111
2844
|
exports.ListPaymentsLinks$inboundSchema = z.object({
|
|
2112
|
-
self: z.lazy(() => exports.ListPaymentsSelf$inboundSchema)
|
|
2113
|
-
previous: z.nullable(z.lazy(() => exports.ListPaymentsPrevious$inboundSchema))
|
|
2114
|
-
|
|
2115
|
-
|
|
2116
|
-
documentation: z.lazy(() => exports.ListPaymentsDocumentation$inboundSchema)
|
|
2117
|
-
.optional(),
|
|
2845
|
+
self: z.lazy(() => exports.ListPaymentsSelf$inboundSchema),
|
|
2846
|
+
previous: z.nullable(z.lazy(() => exports.ListPaymentsPrevious$inboundSchema)),
|
|
2847
|
+
next: z.nullable(z.lazy(() => exports.ListPaymentsNext$inboundSchema)),
|
|
2848
|
+
documentation: z.lazy(() => exports.ListPaymentsDocumentation$inboundSchema),
|
|
2118
2849
|
});
|
|
2119
2850
|
/** @internal */
|
|
2120
2851
|
exports.ListPaymentsLinks$outboundSchema = z.object({
|
|
2121
|
-
self: z.lazy(() => exports.ListPaymentsSelf$outboundSchema)
|
|
2122
|
-
previous: z.nullable(z.lazy(() => exports.ListPaymentsPrevious$outboundSchema))
|
|
2123
|
-
|
|
2124
|
-
|
|
2125
|
-
documentation: z.lazy(() => exports.ListPaymentsDocumentation$outboundSchema)
|
|
2126
|
-
.optional(),
|
|
2852
|
+
self: z.lazy(() => exports.ListPaymentsSelf$outboundSchema),
|
|
2853
|
+
previous: z.nullable(z.lazy(() => exports.ListPaymentsPrevious$outboundSchema)),
|
|
2854
|
+
next: z.nullable(z.lazy(() => exports.ListPaymentsNext$outboundSchema)),
|
|
2855
|
+
documentation: z.lazy(() => exports.ListPaymentsDocumentation$outboundSchema),
|
|
2127
2856
|
});
|
|
2128
2857
|
/**
|
|
2129
2858
|
* @internal
|
|
@@ -2144,9 +2873,9 @@ function listPaymentsLinksFromJSON(jsonString) {
|
|
|
2144
2873
|
}
|
|
2145
2874
|
/** @internal */
|
|
2146
2875
|
exports.ListPaymentsResponse$inboundSchema = z.object({
|
|
2147
|
-
count: z.number().int()
|
|
2148
|
-
_embedded: z.lazy(() => exports.ListPaymentsEmbedded$inboundSchema)
|
|
2149
|
-
_links: z.lazy(() => exports.ListPaymentsLinks$inboundSchema)
|
|
2876
|
+
count: z.number().int(),
|
|
2877
|
+
_embedded: z.lazy(() => exports.ListPaymentsEmbedded$inboundSchema),
|
|
2878
|
+
_links: z.lazy(() => exports.ListPaymentsLinks$inboundSchema),
|
|
2150
2879
|
}).transform((v) => {
|
|
2151
2880
|
return (0, primitives_js_1.remap)(v, {
|
|
2152
2881
|
"_embedded": "embedded",
|
|
@@ -2155,9 +2884,9 @@ exports.ListPaymentsResponse$inboundSchema = z.object({
|
|
|
2155
2884
|
});
|
|
2156
2885
|
/** @internal */
|
|
2157
2886
|
exports.ListPaymentsResponse$outboundSchema = z.object({
|
|
2158
|
-
count: z.number().int()
|
|
2159
|
-
embedded: z.lazy(() => exports.ListPaymentsEmbedded$outboundSchema)
|
|
2160
|
-
links: z.lazy(() => exports.ListPaymentsLinks$outboundSchema)
|
|
2887
|
+
count: z.number().int(),
|
|
2888
|
+
embedded: z.lazy(() => exports.ListPaymentsEmbedded$outboundSchema),
|
|
2889
|
+
links: z.lazy(() => exports.ListPaymentsLinks$outboundSchema),
|
|
2161
2890
|
}).transform((v) => {
|
|
2162
2891
|
return (0, primitives_js_1.remap)(v, {
|
|
2163
2892
|
embedded: "_embedded",
|