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.GetPaymentAmountRemaining$outboundSchema = exports.GetPaymentAmountRemaining$inboundSchema = exports.GetPaymentAmountRefunded$ = exports.GetPaymentAmountRefunded$outboundSchema = exports.GetPaymentAmountRefunded$inboundSchema = exports.GetPaymentAmount$ = exports.GetPaymentAmount$outboundSchema = exports.GetPaymentAmount$inboundSchema = exports.GetPaymentMode$ = exports.GetPaymentMode$outboundSchema = exports.GetPaymentMode$inboundSchema = exports.GetPaymentNotFoundLinks$ = exports.GetPaymentNotFoundLinks$outboundSchema = exports.GetPaymentNotFoundLinks$inboundSchema = exports.GetPaymentNotFoundDocumentation$ = exports.GetPaymentNotFoundDocumentation$outboundSchema = exports.GetPaymentNotFoundDocumentation$inboundSchema = exports.GetPaymentRequest$ = exports.GetPaymentRequest$outboundSchema = exports.GetPaymentRequest$inboundSchema = exports.GetPaymentEmbed$ = exports.GetPaymentEmbed$outboundSchema = exports.GetPaymentEmbed$inboundSchema = exports.GetPaymentInclude$ = exports.GetPaymentInclude$outboundSchema = exports.GetPaymentInclude$inboundSchema = exports.GetPaymentCardVerificationMethod = exports.GetPaymentCardReadMethod = exports.GetPaymentSellerProtection = exports.GetPaymentWallet = exports.GetPaymentFailureReason = exports.GetPaymentFeeRegion = exports.GetPaymentCardSecurity = exports.GetPaymentCardFunding = exports.GetPaymentCardLabel = exports.GetPaymentCardAudition = exports.GetPaymentCode = exports.GetPaymentStatusEnum = exports.GetPaymentSequenceType = exports.GetPaymentRoutingType = exports.GetPaymentRoutingMode = exports.GetPaymentCaptureMode = exports.GetPaymentMethod = exports.GetPaymentLocale = exports.GetPaymentInterval = exports.GetPaymentCategory = exports.GetPaymentLineType = exports.GetPaymentMode = exports.GetPaymentEmbed = exports.GetPaymentInclude = void 0;
|
|
40
|
+
exports.GetPaymentMethod$inboundSchema = exports.GetPaymentLocale$ = exports.GetPaymentLocale$outboundSchema = exports.GetPaymentLocale$inboundSchema = exports.GetPaymentShippingAddress$ = exports.GetPaymentShippingAddress$outboundSchema = exports.GetPaymentShippingAddress$inboundSchema = exports.GetPaymentBillingAddress$ = exports.GetPaymentBillingAddress$outboundSchema = exports.GetPaymentBillingAddress$inboundSchema = exports.GetPaymentLine$ = exports.GetPaymentLine$outboundSchema = exports.GetPaymentLine$inboundSchema = exports.GetPaymentRecurring$ = exports.GetPaymentRecurring$outboundSchema = exports.GetPaymentRecurring$inboundSchema = exports.GetPaymentRecurringAmount$ = exports.GetPaymentRecurringAmount$outboundSchema = exports.GetPaymentRecurringAmount$inboundSchema = exports.GetPaymentInterval$ = exports.GetPaymentInterval$outboundSchema = exports.GetPaymentInterval$inboundSchema = exports.GetPaymentCategory$ = exports.GetPaymentCategory$outboundSchema = exports.GetPaymentCategory$inboundSchema = exports.GetPaymentVatAmount$ = exports.GetPaymentVatAmount$outboundSchema = exports.GetPaymentVatAmount$inboundSchema = exports.GetPaymentTotalAmount$ = exports.GetPaymentTotalAmount$outboundSchema = exports.GetPaymentTotalAmount$inboundSchema = exports.GetPaymentDiscountAmount$ = exports.GetPaymentDiscountAmount$outboundSchema = exports.GetPaymentDiscountAmount$inboundSchema = exports.GetPaymentUnitPrice$ = exports.GetPaymentUnitPrice$outboundSchema = exports.GetPaymentUnitPrice$inboundSchema = exports.GetPaymentLineType$ = exports.GetPaymentLineType$outboundSchema = exports.GetPaymentLineType$inboundSchema = exports.GetPaymentSettlementAmount$ = exports.GetPaymentSettlementAmount$outboundSchema = exports.GetPaymentSettlementAmount$inboundSchema = exports.GetPaymentAmountChargedBack$ = exports.GetPaymentAmountChargedBack$outboundSchema = exports.GetPaymentAmountChargedBack$inboundSchema = exports.GetPaymentAmountCaptured$ = exports.GetPaymentAmountCaptured$outboundSchema = exports.GetPaymentAmountCaptured$inboundSchema = exports.GetPaymentAmountRemaining$ = void 0;
|
|
41
|
+
exports.GetPaymentStatusReason$ = exports.GetPaymentStatusReason$outboundSchema = exports.GetPaymentStatusReason$inboundSchema = exports.GetPaymentCode$ = exports.GetPaymentCode$outboundSchema = exports.GetPaymentCode$inboundSchema = exports.GetPaymentStatusEnum$ = exports.GetPaymentStatusEnum$outboundSchema = exports.GetPaymentStatusEnum$inboundSchema = exports.GetPaymentSequenceType$ = exports.GetPaymentSequenceType$outboundSchema = exports.GetPaymentSequenceType$inboundSchema = exports.GetPaymentRouting$ = exports.GetPaymentRouting$outboundSchema = exports.GetPaymentRouting$inboundSchema = exports.GetPaymentRoutingLinks$ = exports.GetPaymentRoutingLinks$outboundSchema = exports.GetPaymentRoutingLinks$inboundSchema = exports.GetPaymentPayment$ = exports.GetPaymentPayment$outboundSchema = exports.GetPaymentPayment$inboundSchema = exports.GetPaymentRoutingSelf$ = exports.GetPaymentRoutingSelf$outboundSchema = exports.GetPaymentRoutingSelf$inboundSchema = exports.GetPaymentDestination$ = exports.GetPaymentDestination$outboundSchema = exports.GetPaymentDestination$inboundSchema = exports.GetPaymentRoutingType$ = exports.GetPaymentRoutingType$outboundSchema = exports.GetPaymentRoutingType$inboundSchema = exports.GetPaymentRoutingAmount$ = exports.GetPaymentRoutingAmount$outboundSchema = exports.GetPaymentRoutingAmount$inboundSchema = exports.GetPaymentRoutingMode$ = exports.GetPaymentRoutingMode$outboundSchema = exports.GetPaymentRoutingMode$inboundSchema = exports.GetPaymentApplicationFee$ = exports.GetPaymentApplicationFee$outboundSchema = exports.GetPaymentApplicationFee$inboundSchema = exports.GetPaymentApplicationFeeAmount$ = exports.GetPaymentApplicationFeeAmount$outboundSchema = exports.GetPaymentApplicationFeeAmount$inboundSchema = exports.GetPaymentCaptureMode$ = exports.GetPaymentCaptureMode$outboundSchema = exports.GetPaymentCaptureMode$inboundSchema = exports.GetPaymentMetadata$ = exports.GetPaymentMetadata$outboundSchema = exports.GetPaymentMetadata$inboundSchema = exports.GetPaymentMethod$ = exports.GetPaymentMethod$outboundSchema = void 0;
|
|
42
|
+
exports.GetPaymentCheckout$outboundSchema = exports.GetPaymentCheckout$inboundSchema = exports.GetPaymentSelf$ = exports.GetPaymentSelf$outboundSchema = exports.GetPaymentSelf$inboundSchema = exports.GetPaymentDetails$ = exports.GetPaymentDetails$outboundSchema = exports.GetPaymentDetails$inboundSchema = exports.GetPaymentRemainderAmount$ = exports.GetPaymentRemainderAmount$outboundSchema = exports.GetPaymentRemainderAmount$inboundSchema = exports.GetPaymentQrCode$ = exports.GetPaymentQrCode$outboundSchema = exports.GetPaymentQrCode$inboundSchema = exports.GetPaymentReceipt$ = exports.GetPaymentReceipt$outboundSchema = exports.GetPaymentReceipt$inboundSchema = exports.GetPaymentCardVerificationMethod$ = exports.GetPaymentCardVerificationMethod$outboundSchema = exports.GetPaymentCardVerificationMethod$inboundSchema = exports.GetPaymentCardReadMethod$ = exports.GetPaymentCardReadMethod$outboundSchema = exports.GetPaymentCardReadMethod$inboundSchema = exports.GetPaymentPaypalFee$ = exports.GetPaymentPaypalFee$outboundSchema = exports.GetPaymentPaypalFee$inboundSchema = exports.GetPaymentSellerProtection$ = exports.GetPaymentSellerProtection$outboundSchema = exports.GetPaymentSellerProtection$inboundSchema = exports.GetPaymentWallet$ = exports.GetPaymentWallet$outboundSchema = exports.GetPaymentWallet$inboundSchema = exports.GetPaymentFailureReason$ = exports.GetPaymentFailureReason$outboundSchema = exports.GetPaymentFailureReason$inboundSchema = exports.GetPaymentFeeRegion$ = exports.GetPaymentFeeRegion$outboundSchema = exports.GetPaymentFeeRegion$inboundSchema = exports.GetPaymentCardSecurity$ = exports.GetPaymentCardSecurity$outboundSchema = exports.GetPaymentCardSecurity$inboundSchema = exports.GetPaymentCardFunding$ = exports.GetPaymentCardFunding$outboundSchema = exports.GetPaymentCardFunding$inboundSchema = exports.GetPaymentCardLabel$ = exports.GetPaymentCardLabel$outboundSchema = exports.GetPaymentCardLabel$inboundSchema = exports.GetPaymentCardAudition$ = exports.GetPaymentCardAudition$outboundSchema = exports.GetPaymentCardAudition$inboundSchema = void 0;
|
|
43
|
+
exports.GetPaymentResponse$inboundSchema = exports.GetPaymentLinks$ = exports.GetPaymentLinks$outboundSchema = exports.GetPaymentLinks$inboundSchema = exports.GetPaymentPayOnline$ = exports.GetPaymentPayOnline$outboundSchema = exports.GetPaymentPayOnline$inboundSchema = exports.GetPaymentLinksStatus$ = exports.GetPaymentLinksStatus$outboundSchema = exports.GetPaymentLinksStatus$inboundSchema = exports.GetPaymentDocumentation$ = exports.GetPaymentDocumentation$outboundSchema = exports.GetPaymentDocumentation$inboundSchema = exports.GetPaymentTerminal$ = exports.GetPaymentTerminal$outboundSchema = exports.GetPaymentTerminal$inboundSchema = exports.GetPaymentOrder$ = exports.GetPaymentOrder$outboundSchema = exports.GetPaymentOrder$inboundSchema = exports.GetPaymentSubscription$ = exports.GetPaymentSubscription$outboundSchema = exports.GetPaymentSubscription$inboundSchema = exports.GetPaymentMandate$ = exports.GetPaymentMandate$outboundSchema = exports.GetPaymentMandate$inboundSchema = exports.GetPaymentCustomer$ = exports.GetPaymentCustomer$outboundSchema = exports.GetPaymentCustomer$inboundSchema = exports.GetPaymentSettlement$ = exports.GetPaymentSettlement$outboundSchema = exports.GetPaymentSettlement$inboundSchema = exports.GetPaymentCaptures$ = exports.GetPaymentCaptures$outboundSchema = exports.GetPaymentCaptures$inboundSchema = exports.GetPaymentChargebacks$ = exports.GetPaymentChargebacks$outboundSchema = exports.GetPaymentChargebacks$inboundSchema = exports.GetPaymentRefunds$ = exports.GetPaymentRefunds$outboundSchema = exports.GetPaymentRefunds$inboundSchema = exports.GetPaymentDashboard$ = exports.GetPaymentDashboard$outboundSchema = exports.GetPaymentDashboard$inboundSchema = exports.GetPaymentChangePaymentState$ = exports.GetPaymentChangePaymentState$outboundSchema = exports.GetPaymentChangePaymentState$inboundSchema = exports.GetPaymentMobileAppCheckout$ = exports.GetPaymentMobileAppCheckout$outboundSchema = exports.GetPaymentMobileAppCheckout$inboundSchema = exports.GetPaymentCheckout$ = void 0;
|
|
44
|
+
exports.GetPaymentResponse$ = exports.GetPaymentResponse$outboundSchema = void 0;
|
|
43
45
|
exports.getPaymentRequestToJSON = getPaymentRequestToJSON;
|
|
44
46
|
exports.getPaymentRequestFromJSON = getPaymentRequestFromJSON;
|
|
45
47
|
exports.getPaymentNotFoundDocumentationToJSON = getPaymentNotFoundDocumentationToJSON;
|
|
@@ -96,6 +98,16 @@ exports.getPaymentRoutingToJSON = getPaymentRoutingToJSON;
|
|
|
96
98
|
exports.getPaymentRoutingFromJSON = getPaymentRoutingFromJSON;
|
|
97
99
|
exports.getPaymentStatusReasonToJSON = getPaymentStatusReasonToJSON;
|
|
98
100
|
exports.getPaymentStatusReasonFromJSON = getPaymentStatusReasonFromJSON;
|
|
101
|
+
exports.getPaymentPaypalFeeToJSON = getPaymentPaypalFeeToJSON;
|
|
102
|
+
exports.getPaymentPaypalFeeFromJSON = getPaymentPaypalFeeFromJSON;
|
|
103
|
+
exports.getPaymentReceiptToJSON = getPaymentReceiptToJSON;
|
|
104
|
+
exports.getPaymentReceiptFromJSON = getPaymentReceiptFromJSON;
|
|
105
|
+
exports.getPaymentQrCodeToJSON = getPaymentQrCodeToJSON;
|
|
106
|
+
exports.getPaymentQrCodeFromJSON = getPaymentQrCodeFromJSON;
|
|
107
|
+
exports.getPaymentRemainderAmountToJSON = getPaymentRemainderAmountToJSON;
|
|
108
|
+
exports.getPaymentRemainderAmountFromJSON = getPaymentRemainderAmountFromJSON;
|
|
109
|
+
exports.getPaymentDetailsToJSON = getPaymentDetailsToJSON;
|
|
110
|
+
exports.getPaymentDetailsFromJSON = getPaymentDetailsFromJSON;
|
|
99
111
|
exports.getPaymentSelfToJSON = getPaymentSelfToJSON;
|
|
100
112
|
exports.getPaymentSelfFromJSON = getPaymentSelfFromJSON;
|
|
101
113
|
exports.getPaymentCheckoutToJSON = getPaymentCheckoutToJSON;
|
|
@@ -126,6 +138,10 @@ exports.getPaymentTerminalToJSON = getPaymentTerminalToJSON;
|
|
|
126
138
|
exports.getPaymentTerminalFromJSON = getPaymentTerminalFromJSON;
|
|
127
139
|
exports.getPaymentDocumentationToJSON = getPaymentDocumentationToJSON;
|
|
128
140
|
exports.getPaymentDocumentationFromJSON = getPaymentDocumentationFromJSON;
|
|
141
|
+
exports.getPaymentLinksStatusToJSON = getPaymentLinksStatusToJSON;
|
|
142
|
+
exports.getPaymentLinksStatusFromJSON = getPaymentLinksStatusFromJSON;
|
|
143
|
+
exports.getPaymentPayOnlineToJSON = getPaymentPayOnlineToJSON;
|
|
144
|
+
exports.getPaymentPayOnlineFromJSON = getPaymentPayOnlineFromJSON;
|
|
129
145
|
exports.getPaymentLinksToJSON = getPaymentLinksToJSON;
|
|
130
146
|
exports.getPaymentLinksFromJSON = getPaymentLinksFromJSON;
|
|
131
147
|
exports.getPaymentResponseToJSON = getPaymentResponseToJSON;
|
|
@@ -133,6 +149,7 @@ exports.getPaymentResponseFromJSON = getPaymentResponseFromJSON;
|
|
|
133
149
|
const z = __importStar(require("zod"));
|
|
134
150
|
const primitives_js_1 = require("../../lib/primitives.js");
|
|
135
151
|
const schemas_js_1 = require("../../lib/schemas.js");
|
|
152
|
+
const rfcdate_js_1 = require("../../types/rfcdate.js");
|
|
136
153
|
/**
|
|
137
154
|
* This endpoint allows you to include additional information via the `include` query string parameter.
|
|
138
155
|
*/
|
|
@@ -324,7 +341,7 @@ exports.GetPaymentSequenceType = {
|
|
|
324
341
|
* @remarks
|
|
325
342
|
* statuses occur at what point.
|
|
326
343
|
*/
|
|
327
|
-
exports.
|
|
344
|
+
exports.GetPaymentStatusEnum = {
|
|
328
345
|
Open: "open",
|
|
329
346
|
Pending: "pending",
|
|
330
347
|
Authorized: "authorized",
|
|
@@ -333,6 +350,249 @@ exports.GetPaymentStatus = {
|
|
|
333
350
|
Expired: "expired",
|
|
334
351
|
Failed: "failed",
|
|
335
352
|
};
|
|
353
|
+
/**
|
|
354
|
+
* A machine-readable code that indicates the reason for the payment's status.
|
|
355
|
+
*/
|
|
356
|
+
exports.GetPaymentCode = {
|
|
357
|
+
ApprovedOrCompletedSuccessfully: "approved_or_completed_successfully",
|
|
358
|
+
ReferToCardIssuer: "refer_to_card_issuer",
|
|
359
|
+
InvalidMerchant: "invalid_merchant",
|
|
360
|
+
CaptureCard: "capture_card",
|
|
361
|
+
DoNotHonor: "do_not_honor",
|
|
362
|
+
Error: "error",
|
|
363
|
+
PartialApproval: "partial_approval",
|
|
364
|
+
InvalidTransaction: "invalid_transaction",
|
|
365
|
+
InvalidAmount: "invalid_amount",
|
|
366
|
+
InvalidIssuer: "invalid_issuer",
|
|
367
|
+
LostCard: "lost_card",
|
|
368
|
+
StolenCard: "stolen_card",
|
|
369
|
+
InsufficientFunds: "insufficient_funds",
|
|
370
|
+
ExpiredCard: "expired_card",
|
|
371
|
+
InvalidPin: "invalid_pin",
|
|
372
|
+
TransactionNotPermittedToCardholder: "transaction_not_permitted_to_cardholder",
|
|
373
|
+
TransactionNotAllowedAtTerminal: "transaction_not_allowed_at_terminal",
|
|
374
|
+
ExceedsWithdrawalAmountLimit: "exceeds_withdrawal_amount_limit",
|
|
375
|
+
RestrictedCard: "restricted_card",
|
|
376
|
+
SecurityViolation: "security_violation",
|
|
377
|
+
ExceedsWithdrawalCountLimit: "exceeds_withdrawal_count_limit",
|
|
378
|
+
AllowableNumberOfPinTriesExceeded: "allowable_number_of_pin_tries_exceeded",
|
|
379
|
+
NoReasonToDecline: "no_reason_to_decline",
|
|
380
|
+
CannotVerifyPin: "cannot_verify_pin",
|
|
381
|
+
IssuerUnavailable: "issuer_unavailable",
|
|
382
|
+
UnableToRouteTransaction: "unable_to_route_transaction",
|
|
383
|
+
DuplicateTransaction: "duplicate_transaction",
|
|
384
|
+
SystemMalfunction: "system_malfunction",
|
|
385
|
+
HonorWithId: "honor_with_id",
|
|
386
|
+
InvalidCardNumber: "invalid_card_number",
|
|
387
|
+
FormatError: "format_error",
|
|
388
|
+
ContactCardIssuer: "contact_card_issuer",
|
|
389
|
+
PinNotChanged: "pin_not_changed",
|
|
390
|
+
InvalidNonexistentToAccountSpecified: "invalid_nonexistent_to_account_specified",
|
|
391
|
+
InvalidNonexistentFromAccountSpecified: "invalid_nonexistent_from_account_specified",
|
|
392
|
+
InvalidNonexistentAccountSpecified: "invalid_nonexistent_account_specified",
|
|
393
|
+
LifecycleRelated: "lifecycle_related",
|
|
394
|
+
DomesticDebitTransactionNotAllowed: "domestic_debit_transaction_not_allowed",
|
|
395
|
+
PolicyRelated: "policy_related",
|
|
396
|
+
FraudSecurityRelated: "fraud_security_related",
|
|
397
|
+
InvalidAuthorizationLifeCycle: "invalid_authorization_life_cycle",
|
|
398
|
+
PurchaseAmountOnlyNoCashBackAllowed: "purchase_amount_only_no_cash_back_allowed",
|
|
399
|
+
CryptographicFailure: "cryptographic_failure",
|
|
400
|
+
UnacceptablePin: "unacceptable_pin",
|
|
401
|
+
ReferToCardIssuerSpecialCondition: "refer_to_card_issuer_special_condition",
|
|
402
|
+
PickUpCardSpecialCondition: "pick_up_card_special_condition",
|
|
403
|
+
VipApproval: "vip_approval",
|
|
404
|
+
InvalidAccountNumber: "invalid_account_number",
|
|
405
|
+
ReEnterTransaction: "re_enter_transaction",
|
|
406
|
+
NoActionTaken: "no_action_taken",
|
|
407
|
+
UnableToLocateRecord: "unable_to_locate_record",
|
|
408
|
+
FileTemporarilyUnavailable: "file_temporarily_unavailable",
|
|
409
|
+
NoCreditAccount: "no_credit_account",
|
|
410
|
+
ClosedAccount: "closed_account",
|
|
411
|
+
NoCheckingAccount: "no_checking_account",
|
|
412
|
+
NoSavingsAccount: "no_savings_account",
|
|
413
|
+
SuspectedFraud: "suspected_fraud",
|
|
414
|
+
TransactionDoesNotFulfillAmlRequirement: "transaction_does_not_fulfill_aml_requirement",
|
|
415
|
+
PinDataRequired: "pin_data_required",
|
|
416
|
+
UnableToLocatePreviousMessage: "unable_to_locate_previous_message",
|
|
417
|
+
PreviousMessageLocatedInconsistentData: "previous_message_located_inconsistent_data",
|
|
418
|
+
BlockedFirstUsed: "blocked_first_used",
|
|
419
|
+
TransactionReversed: "transaction_reversed",
|
|
420
|
+
CreditIssuerUnavailable: "credit_issuer_unavailable",
|
|
421
|
+
PinCryptographicErrorFound: "pin_cryptographic_error_found",
|
|
422
|
+
NegativeOnlineCamResult: "negative_online_cam_result",
|
|
423
|
+
ViolationOfLaw: "violation_of_law",
|
|
424
|
+
ForceStip: "force_stip",
|
|
425
|
+
CashServiceNotAvailable: "cash_service_not_available",
|
|
426
|
+
CashbackRequestExceedsIssuerLimit: "cashback_request_exceeds_issuer_limit",
|
|
427
|
+
DeclineForCvv2Failure: "decline_for_cvv2_failure",
|
|
428
|
+
TransactionAmountExceedsPreAuthorizedAmount: "transaction_amount_exceeds_pre_authorized_amount",
|
|
429
|
+
InvalidBillerInformation: "invalid_biller_information",
|
|
430
|
+
PinChangeUnblockRequestDeclined: "pin_change_unblock_request_declined",
|
|
431
|
+
UnsafePin: "unsafe_pin",
|
|
432
|
+
CardAuthenticationFailed: "card_authentication_failed",
|
|
433
|
+
StopPaymentOrder: "stop_payment_order",
|
|
434
|
+
RevocationOfAuthorization: "revocation_of_authorization",
|
|
435
|
+
RevocationOfAllAuthorizations: "revocation_of_all_authorizations",
|
|
436
|
+
ForwardToIssuerXa: "forward_to_issuer_xa",
|
|
437
|
+
ForwardToIssuerXd: "forward_to_issuer_xd",
|
|
438
|
+
UnableToGoOnline: "unable_to_go_online",
|
|
439
|
+
AdditionalCustomerAuthenticationRequired: "additional_customer_authentication_required",
|
|
440
|
+
MerchantIdNotFound: "merchant_id_not_found",
|
|
441
|
+
MerchantAccountClosed: "merchant_account_closed",
|
|
442
|
+
TerminalIdNotFound: "terminal_id_not_found",
|
|
443
|
+
TerminalClosed: "terminal_closed",
|
|
444
|
+
InvalidCategoryCode: "invalid_category_code",
|
|
445
|
+
InvalidCurrency: "invalid_currency",
|
|
446
|
+
MissingCvv2Cvc2: "missing_cvv2_cvc2",
|
|
447
|
+
Cvv2NotAllowed: "cvv2_not_allowed",
|
|
448
|
+
MerchantNotRegisteredVbv: "merchant_not_registered_vbv",
|
|
449
|
+
MerchantNotRegisteredForAmex: "merchant_not_registered_for_amex",
|
|
450
|
+
TransactionNotPermittedAtTerminal: "transaction_not_permitted_at_terminal",
|
|
451
|
+
AgreementTerminalNotRelated: "agreement_terminal_not_related",
|
|
452
|
+
InvalidProcessorId: "invalid_processor_id",
|
|
453
|
+
InvalidMerchantData: "invalid_merchant_data",
|
|
454
|
+
SubMerchantAccountClosed: "sub_merchant_account_closed",
|
|
455
|
+
TerminalBusy: "terminal_busy",
|
|
456
|
+
TerminalUnreachable: "terminal_unreachable",
|
|
457
|
+
ServiceFailed: "service_failed",
|
|
458
|
+
InvalidOperation: "invalid_operation",
|
|
459
|
+
AuthorizationError: "authorization_error",
|
|
460
|
+
LoginFailedWithoutReason: "login_failed_without_reason",
|
|
461
|
+
InvalidRetailer: "invalid_retailer",
|
|
462
|
+
CardDoesNotExist: "card_does_not_exist",
|
|
463
|
+
CardIsBlocked: "card_is_blocked",
|
|
464
|
+
InvalidCardId: "invalid_card_id",
|
|
465
|
+
CardIsTransferred: "card_is_transferred",
|
|
466
|
+
CardIsNotActive: "card_is_not_active",
|
|
467
|
+
IncorrectPurchaseValue: "incorrect_purchase_value",
|
|
468
|
+
CardNotAvailable: "card_not_available",
|
|
469
|
+
WrongCurrency: "wrong_currency",
|
|
470
|
+
LoginFailedUnknownUser: "login_failed_unknown_user",
|
|
471
|
+
LoginFailedInvalidPassword: "login_failed_invalid_password",
|
|
472
|
+
InvalidEanCode: "invalid_ean_code",
|
|
473
|
+
};
|
|
474
|
+
/**
|
|
475
|
+
* The card's target audience, if known.
|
|
476
|
+
*/
|
|
477
|
+
exports.GetPaymentCardAudition = {
|
|
478
|
+
Consumer: "consumer",
|
|
479
|
+
Business: "business",
|
|
480
|
+
};
|
|
481
|
+
/**
|
|
482
|
+
* The card's label, if known.
|
|
483
|
+
*/
|
|
484
|
+
exports.GetPaymentCardLabel = {
|
|
485
|
+
AmericanExpress: "American Express",
|
|
486
|
+
CartaSi: "Carta Si",
|
|
487
|
+
CarteBleue: "Carte Bleue",
|
|
488
|
+
Dankort: "Dankort",
|
|
489
|
+
DinersClub: "Diners Club",
|
|
490
|
+
Discover: "Discover",
|
|
491
|
+
Jcb: "JCB",
|
|
492
|
+
Laser: "Laser",
|
|
493
|
+
Maestro: "Maestro",
|
|
494
|
+
Mastercard: "Mastercard",
|
|
495
|
+
Unionpay: "Unionpay",
|
|
496
|
+
Visa: "Visa",
|
|
497
|
+
Vpay: "Vpay",
|
|
498
|
+
};
|
|
499
|
+
/**
|
|
500
|
+
* The card type.
|
|
501
|
+
*/
|
|
502
|
+
exports.GetPaymentCardFunding = {
|
|
503
|
+
Debit: "debit",
|
|
504
|
+
Credit: "credit",
|
|
505
|
+
Prepaid: "prepaid",
|
|
506
|
+
DeferredDebit: "deferred-debit",
|
|
507
|
+
};
|
|
508
|
+
/**
|
|
509
|
+
* The level of security applied during card processing.
|
|
510
|
+
*/
|
|
511
|
+
exports.GetPaymentCardSecurity = {
|
|
512
|
+
Normal: "normal",
|
|
513
|
+
Threedsecure: "3dsecure",
|
|
514
|
+
};
|
|
515
|
+
/**
|
|
516
|
+
* The applicable card fee region.
|
|
517
|
+
*/
|
|
518
|
+
exports.GetPaymentFeeRegion = {
|
|
519
|
+
AmericanExpress: "american-express",
|
|
520
|
+
AmexIntraEea: "amex-intra-eea",
|
|
521
|
+
CarteBancaire: "carte-bancaire",
|
|
522
|
+
IntraEu: "intra-eu",
|
|
523
|
+
IntraEuCorporate: "intra-eu-corporate",
|
|
524
|
+
Domestic: "domestic",
|
|
525
|
+
Maestro: "maestro",
|
|
526
|
+
Other: "other",
|
|
527
|
+
Inter: "inter",
|
|
528
|
+
IntraEea: "intra-eea",
|
|
529
|
+
};
|
|
530
|
+
/**
|
|
531
|
+
* A failure code to help understand why the payment failed.
|
|
532
|
+
*/
|
|
533
|
+
exports.GetPaymentFailureReason = {
|
|
534
|
+
AuthenticationAbandoned: "authentication_abandoned",
|
|
535
|
+
AuthenticationFailed: "authentication_failed",
|
|
536
|
+
AuthenticationRequired: "authentication_required",
|
|
537
|
+
AuthenticationUnavailableAcs: "authentication_unavailable_acs",
|
|
538
|
+
CardDeclined: "card_declined",
|
|
539
|
+
CardExpired: "card_expired",
|
|
540
|
+
InactiveCard: "inactive_card",
|
|
541
|
+
InsufficientFunds: "insufficient_funds",
|
|
542
|
+
InvalidCvv: "invalid_cvv",
|
|
543
|
+
InvalidCardHolderName: "invalid_card_holder_name",
|
|
544
|
+
InvalidCardNumber: "invalid_card_number",
|
|
545
|
+
InvalidCardType: "invalid_card_type",
|
|
546
|
+
PossibleFraud: "possible_fraud",
|
|
547
|
+
RefusedByIssuer: "refused_by_issuer",
|
|
548
|
+
UnknownReason: "unknown_reason",
|
|
549
|
+
};
|
|
550
|
+
/**
|
|
551
|
+
* The wallet used when creating the payment.
|
|
552
|
+
*/
|
|
553
|
+
exports.GetPaymentWallet = {
|
|
554
|
+
Applepay: "applepay",
|
|
555
|
+
};
|
|
556
|
+
/**
|
|
557
|
+
* Indicates to what extent the payment is eligible for PayPal's Seller Protection. Only available for PayPal
|
|
558
|
+
*
|
|
559
|
+
* @remarks
|
|
560
|
+
* payments, and if the information is made available by PayPal.
|
|
561
|
+
*/
|
|
562
|
+
exports.GetPaymentSellerProtection = {
|
|
563
|
+
Eligible: "Eligible",
|
|
564
|
+
Ineligible: "Ineligible",
|
|
565
|
+
PartiallyEligibleINROnly: "Partially Eligible - INR Only",
|
|
566
|
+
PartiallyEligibleUnauthOnly: "Partially Eligible - Unauth Only",
|
|
567
|
+
PartiallyEligible: "Partially Eligible",
|
|
568
|
+
None: "None",
|
|
569
|
+
Active: "Active",
|
|
570
|
+
FraudControlUnauthPremiumEligible: "Fraud Control - Unauth Premium Eligible",
|
|
571
|
+
};
|
|
572
|
+
/**
|
|
573
|
+
* The method by which the card was read by the terminal.
|
|
574
|
+
*/
|
|
575
|
+
exports.GetPaymentCardReadMethod = {
|
|
576
|
+
Chip: "chip",
|
|
577
|
+
MagneticStripe: "magnetic-stripe",
|
|
578
|
+
NearFieldCommunication: "near-field-communication",
|
|
579
|
+
Contactless: "contactless",
|
|
580
|
+
Moto: "moto",
|
|
581
|
+
};
|
|
582
|
+
/**
|
|
583
|
+
* The method used to verify the cardholder's identity.
|
|
584
|
+
*/
|
|
585
|
+
exports.GetPaymentCardVerificationMethod = {
|
|
586
|
+
NoCvmRequired: "no-cvm-required",
|
|
587
|
+
OnlinePin: "online-pin",
|
|
588
|
+
OfflinePin: "offline-pin",
|
|
589
|
+
ConsumerDevice: "consumer-device",
|
|
590
|
+
Signature: "signature",
|
|
591
|
+
SignatureAndOnlinePin: "signature-and-online-pin",
|
|
592
|
+
OnlinePinAndSignature: "online-pin-and-signature",
|
|
593
|
+
None: "none",
|
|
594
|
+
Failed: "failed",
|
|
595
|
+
};
|
|
336
596
|
/** @internal */
|
|
337
597
|
exports.GetPaymentInclude$inboundSchema = z.nativeEnum(exports.GetPaymentInclude);
|
|
338
598
|
/** @internal */
|
|
@@ -1332,28 +1592,43 @@ var GetPaymentSequenceType$;
|
|
|
1332
1592
|
GetPaymentSequenceType$.outboundSchema = exports.GetPaymentSequenceType$outboundSchema;
|
|
1333
1593
|
})(GetPaymentSequenceType$ || (exports.GetPaymentSequenceType$ = GetPaymentSequenceType$ = {}));
|
|
1334
1594
|
/** @internal */
|
|
1335
|
-
exports.
|
|
1595
|
+
exports.GetPaymentStatusEnum$inboundSchema = z.nativeEnum(exports.GetPaymentStatusEnum);
|
|
1336
1596
|
/** @internal */
|
|
1337
|
-
exports.
|
|
1597
|
+
exports.GetPaymentStatusEnum$outboundSchema = exports.GetPaymentStatusEnum$inboundSchema;
|
|
1338
1598
|
/**
|
|
1339
1599
|
* @internal
|
|
1340
1600
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1341
1601
|
*/
|
|
1342
|
-
var
|
|
1343
|
-
(function (
|
|
1344
|
-
/** @deprecated use `
|
|
1345
|
-
|
|
1346
|
-
/** @deprecated use `
|
|
1347
|
-
|
|
1348
|
-
})(
|
|
1602
|
+
var GetPaymentStatusEnum$;
|
|
1603
|
+
(function (GetPaymentStatusEnum$) {
|
|
1604
|
+
/** @deprecated use `GetPaymentStatusEnum$inboundSchema` instead. */
|
|
1605
|
+
GetPaymentStatusEnum$.inboundSchema = exports.GetPaymentStatusEnum$inboundSchema;
|
|
1606
|
+
/** @deprecated use `GetPaymentStatusEnum$outboundSchema` instead. */
|
|
1607
|
+
GetPaymentStatusEnum$.outboundSchema = exports.GetPaymentStatusEnum$outboundSchema;
|
|
1608
|
+
})(GetPaymentStatusEnum$ || (exports.GetPaymentStatusEnum$ = GetPaymentStatusEnum$ = {}));
|
|
1609
|
+
/** @internal */
|
|
1610
|
+
exports.GetPaymentCode$inboundSchema = z.nativeEnum(exports.GetPaymentCode);
|
|
1611
|
+
/** @internal */
|
|
1612
|
+
exports.GetPaymentCode$outboundSchema = exports.GetPaymentCode$inboundSchema;
|
|
1613
|
+
/**
|
|
1614
|
+
* @internal
|
|
1615
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1616
|
+
*/
|
|
1617
|
+
var GetPaymentCode$;
|
|
1618
|
+
(function (GetPaymentCode$) {
|
|
1619
|
+
/** @deprecated use `GetPaymentCode$inboundSchema` instead. */
|
|
1620
|
+
GetPaymentCode$.inboundSchema = exports.GetPaymentCode$inboundSchema;
|
|
1621
|
+
/** @deprecated use `GetPaymentCode$outboundSchema` instead. */
|
|
1622
|
+
GetPaymentCode$.outboundSchema = exports.GetPaymentCode$outboundSchema;
|
|
1623
|
+
})(GetPaymentCode$ || (exports.GetPaymentCode$ = GetPaymentCode$ = {}));
|
|
1349
1624
|
/** @internal */
|
|
1350
1625
|
exports.GetPaymentStatusReason$inboundSchema = z.object({
|
|
1351
|
-
code:
|
|
1626
|
+
code: exports.GetPaymentCode$inboundSchema,
|
|
1352
1627
|
message: z.string(),
|
|
1353
1628
|
});
|
|
1354
1629
|
/** @internal */
|
|
1355
1630
|
exports.GetPaymentStatusReason$outboundSchema = z.object({
|
|
1356
|
-
code:
|
|
1631
|
+
code: exports.GetPaymentCode$outboundSchema,
|
|
1357
1632
|
message: z.string(),
|
|
1358
1633
|
});
|
|
1359
1634
|
/**
|
|
@@ -1374,6 +1649,403 @@ function getPaymentStatusReasonFromJSON(jsonString) {
|
|
|
1374
1649
|
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.GetPaymentStatusReason$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetPaymentStatusReason' from JSON`);
|
|
1375
1650
|
}
|
|
1376
1651
|
/** @internal */
|
|
1652
|
+
exports.GetPaymentCardAudition$inboundSchema = z.nativeEnum(exports.GetPaymentCardAudition);
|
|
1653
|
+
/** @internal */
|
|
1654
|
+
exports.GetPaymentCardAudition$outboundSchema = exports.GetPaymentCardAudition$inboundSchema;
|
|
1655
|
+
/**
|
|
1656
|
+
* @internal
|
|
1657
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1658
|
+
*/
|
|
1659
|
+
var GetPaymentCardAudition$;
|
|
1660
|
+
(function (GetPaymentCardAudition$) {
|
|
1661
|
+
/** @deprecated use `GetPaymentCardAudition$inboundSchema` instead. */
|
|
1662
|
+
GetPaymentCardAudition$.inboundSchema = exports.GetPaymentCardAudition$inboundSchema;
|
|
1663
|
+
/** @deprecated use `GetPaymentCardAudition$outboundSchema` instead. */
|
|
1664
|
+
GetPaymentCardAudition$.outboundSchema = exports.GetPaymentCardAudition$outboundSchema;
|
|
1665
|
+
})(GetPaymentCardAudition$ || (exports.GetPaymentCardAudition$ = GetPaymentCardAudition$ = {}));
|
|
1666
|
+
/** @internal */
|
|
1667
|
+
exports.GetPaymentCardLabel$inboundSchema = z.nativeEnum(exports.GetPaymentCardLabel);
|
|
1668
|
+
/** @internal */
|
|
1669
|
+
exports.GetPaymentCardLabel$outboundSchema = exports.GetPaymentCardLabel$inboundSchema;
|
|
1670
|
+
/**
|
|
1671
|
+
* @internal
|
|
1672
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1673
|
+
*/
|
|
1674
|
+
var GetPaymentCardLabel$;
|
|
1675
|
+
(function (GetPaymentCardLabel$) {
|
|
1676
|
+
/** @deprecated use `GetPaymentCardLabel$inboundSchema` instead. */
|
|
1677
|
+
GetPaymentCardLabel$.inboundSchema = exports.GetPaymentCardLabel$inboundSchema;
|
|
1678
|
+
/** @deprecated use `GetPaymentCardLabel$outboundSchema` instead. */
|
|
1679
|
+
GetPaymentCardLabel$.outboundSchema = exports.GetPaymentCardLabel$outboundSchema;
|
|
1680
|
+
})(GetPaymentCardLabel$ || (exports.GetPaymentCardLabel$ = GetPaymentCardLabel$ = {}));
|
|
1681
|
+
/** @internal */
|
|
1682
|
+
exports.GetPaymentCardFunding$inboundSchema = z.nativeEnum(exports.GetPaymentCardFunding);
|
|
1683
|
+
/** @internal */
|
|
1684
|
+
exports.GetPaymentCardFunding$outboundSchema = exports.GetPaymentCardFunding$inboundSchema;
|
|
1685
|
+
/**
|
|
1686
|
+
* @internal
|
|
1687
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1688
|
+
*/
|
|
1689
|
+
var GetPaymentCardFunding$;
|
|
1690
|
+
(function (GetPaymentCardFunding$) {
|
|
1691
|
+
/** @deprecated use `GetPaymentCardFunding$inboundSchema` instead. */
|
|
1692
|
+
GetPaymentCardFunding$.inboundSchema = exports.GetPaymentCardFunding$inboundSchema;
|
|
1693
|
+
/** @deprecated use `GetPaymentCardFunding$outboundSchema` instead. */
|
|
1694
|
+
GetPaymentCardFunding$.outboundSchema = exports.GetPaymentCardFunding$outboundSchema;
|
|
1695
|
+
})(GetPaymentCardFunding$ || (exports.GetPaymentCardFunding$ = GetPaymentCardFunding$ = {}));
|
|
1696
|
+
/** @internal */
|
|
1697
|
+
exports.GetPaymentCardSecurity$inboundSchema = z.nativeEnum(exports.GetPaymentCardSecurity);
|
|
1698
|
+
/** @internal */
|
|
1699
|
+
exports.GetPaymentCardSecurity$outboundSchema = exports.GetPaymentCardSecurity$inboundSchema;
|
|
1700
|
+
/**
|
|
1701
|
+
* @internal
|
|
1702
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1703
|
+
*/
|
|
1704
|
+
var GetPaymentCardSecurity$;
|
|
1705
|
+
(function (GetPaymentCardSecurity$) {
|
|
1706
|
+
/** @deprecated use `GetPaymentCardSecurity$inboundSchema` instead. */
|
|
1707
|
+
GetPaymentCardSecurity$.inboundSchema = exports.GetPaymentCardSecurity$inboundSchema;
|
|
1708
|
+
/** @deprecated use `GetPaymentCardSecurity$outboundSchema` instead. */
|
|
1709
|
+
GetPaymentCardSecurity$.outboundSchema = exports.GetPaymentCardSecurity$outboundSchema;
|
|
1710
|
+
})(GetPaymentCardSecurity$ || (exports.GetPaymentCardSecurity$ = GetPaymentCardSecurity$ = {}));
|
|
1711
|
+
/** @internal */
|
|
1712
|
+
exports.GetPaymentFeeRegion$inboundSchema = z.nativeEnum(exports.GetPaymentFeeRegion);
|
|
1713
|
+
/** @internal */
|
|
1714
|
+
exports.GetPaymentFeeRegion$outboundSchema = exports.GetPaymentFeeRegion$inboundSchema;
|
|
1715
|
+
/**
|
|
1716
|
+
* @internal
|
|
1717
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1718
|
+
*/
|
|
1719
|
+
var GetPaymentFeeRegion$;
|
|
1720
|
+
(function (GetPaymentFeeRegion$) {
|
|
1721
|
+
/** @deprecated use `GetPaymentFeeRegion$inboundSchema` instead. */
|
|
1722
|
+
GetPaymentFeeRegion$.inboundSchema = exports.GetPaymentFeeRegion$inboundSchema;
|
|
1723
|
+
/** @deprecated use `GetPaymentFeeRegion$outboundSchema` instead. */
|
|
1724
|
+
GetPaymentFeeRegion$.outboundSchema = exports.GetPaymentFeeRegion$outboundSchema;
|
|
1725
|
+
})(GetPaymentFeeRegion$ || (exports.GetPaymentFeeRegion$ = GetPaymentFeeRegion$ = {}));
|
|
1726
|
+
/** @internal */
|
|
1727
|
+
exports.GetPaymentFailureReason$inboundSchema = z.nativeEnum(exports.GetPaymentFailureReason);
|
|
1728
|
+
/** @internal */
|
|
1729
|
+
exports.GetPaymentFailureReason$outboundSchema = exports.GetPaymentFailureReason$inboundSchema;
|
|
1730
|
+
/**
|
|
1731
|
+
* @internal
|
|
1732
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1733
|
+
*/
|
|
1734
|
+
var GetPaymentFailureReason$;
|
|
1735
|
+
(function (GetPaymentFailureReason$) {
|
|
1736
|
+
/** @deprecated use `GetPaymentFailureReason$inboundSchema` instead. */
|
|
1737
|
+
GetPaymentFailureReason$.inboundSchema = exports.GetPaymentFailureReason$inboundSchema;
|
|
1738
|
+
/** @deprecated use `GetPaymentFailureReason$outboundSchema` instead. */
|
|
1739
|
+
GetPaymentFailureReason$.outboundSchema = exports.GetPaymentFailureReason$outboundSchema;
|
|
1740
|
+
})(GetPaymentFailureReason$ || (exports.GetPaymentFailureReason$ = GetPaymentFailureReason$ = {}));
|
|
1741
|
+
/** @internal */
|
|
1742
|
+
exports.GetPaymentWallet$inboundSchema = z.nativeEnum(exports.GetPaymentWallet);
|
|
1743
|
+
/** @internal */
|
|
1744
|
+
exports.GetPaymentWallet$outboundSchema = exports.GetPaymentWallet$inboundSchema;
|
|
1745
|
+
/**
|
|
1746
|
+
* @internal
|
|
1747
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1748
|
+
*/
|
|
1749
|
+
var GetPaymentWallet$;
|
|
1750
|
+
(function (GetPaymentWallet$) {
|
|
1751
|
+
/** @deprecated use `GetPaymentWallet$inboundSchema` instead. */
|
|
1752
|
+
GetPaymentWallet$.inboundSchema = exports.GetPaymentWallet$inboundSchema;
|
|
1753
|
+
/** @deprecated use `GetPaymentWallet$outboundSchema` instead. */
|
|
1754
|
+
GetPaymentWallet$.outboundSchema = exports.GetPaymentWallet$outboundSchema;
|
|
1755
|
+
})(GetPaymentWallet$ || (exports.GetPaymentWallet$ = GetPaymentWallet$ = {}));
|
|
1756
|
+
/** @internal */
|
|
1757
|
+
exports.GetPaymentSellerProtection$inboundSchema = z.nativeEnum(exports.GetPaymentSellerProtection);
|
|
1758
|
+
/** @internal */
|
|
1759
|
+
exports.GetPaymentSellerProtection$outboundSchema = exports.GetPaymentSellerProtection$inboundSchema;
|
|
1760
|
+
/**
|
|
1761
|
+
* @internal
|
|
1762
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1763
|
+
*/
|
|
1764
|
+
var GetPaymentSellerProtection$;
|
|
1765
|
+
(function (GetPaymentSellerProtection$) {
|
|
1766
|
+
/** @deprecated use `GetPaymentSellerProtection$inboundSchema` instead. */
|
|
1767
|
+
GetPaymentSellerProtection$.inboundSchema = exports.GetPaymentSellerProtection$inboundSchema;
|
|
1768
|
+
/** @deprecated use `GetPaymentSellerProtection$outboundSchema` instead. */
|
|
1769
|
+
GetPaymentSellerProtection$.outboundSchema = exports.GetPaymentSellerProtection$outboundSchema;
|
|
1770
|
+
})(GetPaymentSellerProtection$ || (exports.GetPaymentSellerProtection$ = GetPaymentSellerProtection$ = {}));
|
|
1771
|
+
/** @internal */
|
|
1772
|
+
exports.GetPaymentPaypalFee$inboundSchema = z.object({
|
|
1773
|
+
currency: z.string(),
|
|
1774
|
+
value: z.string(),
|
|
1775
|
+
});
|
|
1776
|
+
/** @internal */
|
|
1777
|
+
exports.GetPaymentPaypalFee$outboundSchema = z.object({
|
|
1778
|
+
currency: z.string(),
|
|
1779
|
+
value: z.string(),
|
|
1780
|
+
});
|
|
1781
|
+
/**
|
|
1782
|
+
* @internal
|
|
1783
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1784
|
+
*/
|
|
1785
|
+
var GetPaymentPaypalFee$;
|
|
1786
|
+
(function (GetPaymentPaypalFee$) {
|
|
1787
|
+
/** @deprecated use `GetPaymentPaypalFee$inboundSchema` instead. */
|
|
1788
|
+
GetPaymentPaypalFee$.inboundSchema = exports.GetPaymentPaypalFee$inboundSchema;
|
|
1789
|
+
/** @deprecated use `GetPaymentPaypalFee$outboundSchema` instead. */
|
|
1790
|
+
GetPaymentPaypalFee$.outboundSchema = exports.GetPaymentPaypalFee$outboundSchema;
|
|
1791
|
+
})(GetPaymentPaypalFee$ || (exports.GetPaymentPaypalFee$ = GetPaymentPaypalFee$ = {}));
|
|
1792
|
+
function getPaymentPaypalFeeToJSON(getPaymentPaypalFee) {
|
|
1793
|
+
return JSON.stringify(exports.GetPaymentPaypalFee$outboundSchema.parse(getPaymentPaypalFee));
|
|
1794
|
+
}
|
|
1795
|
+
function getPaymentPaypalFeeFromJSON(jsonString) {
|
|
1796
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.GetPaymentPaypalFee$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetPaymentPaypalFee' from JSON`);
|
|
1797
|
+
}
|
|
1798
|
+
/** @internal */
|
|
1799
|
+
exports.GetPaymentCardReadMethod$inboundSchema = z.nativeEnum(exports.GetPaymentCardReadMethod);
|
|
1800
|
+
/** @internal */
|
|
1801
|
+
exports.GetPaymentCardReadMethod$outboundSchema = exports.GetPaymentCardReadMethod$inboundSchema;
|
|
1802
|
+
/**
|
|
1803
|
+
* @internal
|
|
1804
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1805
|
+
*/
|
|
1806
|
+
var GetPaymentCardReadMethod$;
|
|
1807
|
+
(function (GetPaymentCardReadMethod$) {
|
|
1808
|
+
/** @deprecated use `GetPaymentCardReadMethod$inboundSchema` instead. */
|
|
1809
|
+
GetPaymentCardReadMethod$.inboundSchema = exports.GetPaymentCardReadMethod$inboundSchema;
|
|
1810
|
+
/** @deprecated use `GetPaymentCardReadMethod$outboundSchema` instead. */
|
|
1811
|
+
GetPaymentCardReadMethod$.outboundSchema = exports.GetPaymentCardReadMethod$outboundSchema;
|
|
1812
|
+
})(GetPaymentCardReadMethod$ || (exports.GetPaymentCardReadMethod$ = GetPaymentCardReadMethod$ = {}));
|
|
1813
|
+
/** @internal */
|
|
1814
|
+
exports.GetPaymentCardVerificationMethod$inboundSchema = z.nativeEnum(exports.GetPaymentCardVerificationMethod);
|
|
1815
|
+
/** @internal */
|
|
1816
|
+
exports.GetPaymentCardVerificationMethod$outboundSchema = exports.GetPaymentCardVerificationMethod$inboundSchema;
|
|
1817
|
+
/**
|
|
1818
|
+
* @internal
|
|
1819
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1820
|
+
*/
|
|
1821
|
+
var GetPaymentCardVerificationMethod$;
|
|
1822
|
+
(function (GetPaymentCardVerificationMethod$) {
|
|
1823
|
+
/** @deprecated use `GetPaymentCardVerificationMethod$inboundSchema` instead. */
|
|
1824
|
+
GetPaymentCardVerificationMethod$.inboundSchema = exports.GetPaymentCardVerificationMethod$inboundSchema;
|
|
1825
|
+
/** @deprecated use `GetPaymentCardVerificationMethod$outboundSchema` instead. */
|
|
1826
|
+
GetPaymentCardVerificationMethod$.outboundSchema = exports.GetPaymentCardVerificationMethod$outboundSchema;
|
|
1827
|
+
})(GetPaymentCardVerificationMethod$ || (exports.GetPaymentCardVerificationMethod$ = GetPaymentCardVerificationMethod$ = {}));
|
|
1828
|
+
/** @internal */
|
|
1829
|
+
exports.GetPaymentReceipt$inboundSchema = z.object({
|
|
1830
|
+
authorizationCode: z.nullable(z.string()).optional(),
|
|
1831
|
+
applicationIdentifier: z.nullable(z.string()).optional(),
|
|
1832
|
+
cardReadMethod: z.nullable(exports.GetPaymentCardReadMethod$inboundSchema).optional(),
|
|
1833
|
+
cardVerificationMethod: z.nullable(exports.GetPaymentCardVerificationMethod$inboundSchema).optional(),
|
|
1834
|
+
});
|
|
1835
|
+
/** @internal */
|
|
1836
|
+
exports.GetPaymentReceipt$outboundSchema = z.object({
|
|
1837
|
+
authorizationCode: z.nullable(z.string()).optional(),
|
|
1838
|
+
applicationIdentifier: z.nullable(z.string()).optional(),
|
|
1839
|
+
cardReadMethod: z.nullable(exports.GetPaymentCardReadMethod$outboundSchema)
|
|
1840
|
+
.optional(),
|
|
1841
|
+
cardVerificationMethod: z.nullable(exports.GetPaymentCardVerificationMethod$outboundSchema).optional(),
|
|
1842
|
+
});
|
|
1843
|
+
/**
|
|
1844
|
+
* @internal
|
|
1845
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1846
|
+
*/
|
|
1847
|
+
var GetPaymentReceipt$;
|
|
1848
|
+
(function (GetPaymentReceipt$) {
|
|
1849
|
+
/** @deprecated use `GetPaymentReceipt$inboundSchema` instead. */
|
|
1850
|
+
GetPaymentReceipt$.inboundSchema = exports.GetPaymentReceipt$inboundSchema;
|
|
1851
|
+
/** @deprecated use `GetPaymentReceipt$outboundSchema` instead. */
|
|
1852
|
+
GetPaymentReceipt$.outboundSchema = exports.GetPaymentReceipt$outboundSchema;
|
|
1853
|
+
})(GetPaymentReceipt$ || (exports.GetPaymentReceipt$ = GetPaymentReceipt$ = {}));
|
|
1854
|
+
function getPaymentReceiptToJSON(getPaymentReceipt) {
|
|
1855
|
+
return JSON.stringify(exports.GetPaymentReceipt$outboundSchema.parse(getPaymentReceipt));
|
|
1856
|
+
}
|
|
1857
|
+
function getPaymentReceiptFromJSON(jsonString) {
|
|
1858
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.GetPaymentReceipt$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetPaymentReceipt' from JSON`);
|
|
1859
|
+
}
|
|
1860
|
+
/** @internal */
|
|
1861
|
+
exports.GetPaymentQrCode$inboundSchema = z.object({
|
|
1862
|
+
height: z.number().int().optional(),
|
|
1863
|
+
width: z.number().int().optional(),
|
|
1864
|
+
src: z.string().optional(),
|
|
1865
|
+
});
|
|
1866
|
+
/** @internal */
|
|
1867
|
+
exports.GetPaymentQrCode$outboundSchema = z.object({
|
|
1868
|
+
height: z.number().int().optional(),
|
|
1869
|
+
width: z.number().int().optional(),
|
|
1870
|
+
src: z.string().optional(),
|
|
1871
|
+
});
|
|
1872
|
+
/**
|
|
1873
|
+
* @internal
|
|
1874
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1875
|
+
*/
|
|
1876
|
+
var GetPaymentQrCode$;
|
|
1877
|
+
(function (GetPaymentQrCode$) {
|
|
1878
|
+
/** @deprecated use `GetPaymentQrCode$inboundSchema` instead. */
|
|
1879
|
+
GetPaymentQrCode$.inboundSchema = exports.GetPaymentQrCode$inboundSchema;
|
|
1880
|
+
/** @deprecated use `GetPaymentQrCode$outboundSchema` instead. */
|
|
1881
|
+
GetPaymentQrCode$.outboundSchema = exports.GetPaymentQrCode$outboundSchema;
|
|
1882
|
+
})(GetPaymentQrCode$ || (exports.GetPaymentQrCode$ = GetPaymentQrCode$ = {}));
|
|
1883
|
+
function getPaymentQrCodeToJSON(getPaymentQrCode) {
|
|
1884
|
+
return JSON.stringify(exports.GetPaymentQrCode$outboundSchema.parse(getPaymentQrCode));
|
|
1885
|
+
}
|
|
1886
|
+
function getPaymentQrCodeFromJSON(jsonString) {
|
|
1887
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.GetPaymentQrCode$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetPaymentQrCode' from JSON`);
|
|
1888
|
+
}
|
|
1889
|
+
/** @internal */
|
|
1890
|
+
exports.GetPaymentRemainderAmount$inboundSchema = z.object({
|
|
1891
|
+
currency: z.string(),
|
|
1892
|
+
value: z.string(),
|
|
1893
|
+
});
|
|
1894
|
+
/** @internal */
|
|
1895
|
+
exports.GetPaymentRemainderAmount$outboundSchema = z.object({
|
|
1896
|
+
currency: z.string(),
|
|
1897
|
+
value: z.string(),
|
|
1898
|
+
});
|
|
1899
|
+
/**
|
|
1900
|
+
* @internal
|
|
1901
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1902
|
+
*/
|
|
1903
|
+
var GetPaymentRemainderAmount$;
|
|
1904
|
+
(function (GetPaymentRemainderAmount$) {
|
|
1905
|
+
/** @deprecated use `GetPaymentRemainderAmount$inboundSchema` instead. */
|
|
1906
|
+
GetPaymentRemainderAmount$.inboundSchema = exports.GetPaymentRemainderAmount$inboundSchema;
|
|
1907
|
+
/** @deprecated use `GetPaymentRemainderAmount$outboundSchema` instead. */
|
|
1908
|
+
GetPaymentRemainderAmount$.outboundSchema = exports.GetPaymentRemainderAmount$outboundSchema;
|
|
1909
|
+
})(GetPaymentRemainderAmount$ || (exports.GetPaymentRemainderAmount$ = GetPaymentRemainderAmount$ = {}));
|
|
1910
|
+
function getPaymentRemainderAmountToJSON(getPaymentRemainderAmount) {
|
|
1911
|
+
return JSON.stringify(exports.GetPaymentRemainderAmount$outboundSchema.parse(getPaymentRemainderAmount));
|
|
1912
|
+
}
|
|
1913
|
+
function getPaymentRemainderAmountFromJSON(jsonString) {
|
|
1914
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.GetPaymentRemainderAmount$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetPaymentRemainderAmount' from JSON`);
|
|
1915
|
+
}
|
|
1916
|
+
/** @internal */
|
|
1917
|
+
exports.GetPaymentDetails$inboundSchema = z.object({
|
|
1918
|
+
consumerName: z.nullable(z.string()).optional(),
|
|
1919
|
+
consumerAccount: z.nullable(z.string()).optional(),
|
|
1920
|
+
consumerBic: z.nullable(z.string()).optional(),
|
|
1921
|
+
shippingAddress: z.nullable(z.record(z.any())).optional(),
|
|
1922
|
+
cardNumber: z.nullable(z.string()).optional(),
|
|
1923
|
+
bankName: z.string().optional(),
|
|
1924
|
+
bankAccount: z.string().optional(),
|
|
1925
|
+
bankBic: z.string().optional(),
|
|
1926
|
+
transferReference: z.nullable(z.string()).optional(),
|
|
1927
|
+
cardFingerprint: z.nullable(z.string()).optional(),
|
|
1928
|
+
cardHolder: z.nullable(z.string()).optional(),
|
|
1929
|
+
cardAudition: z.nullable(exports.GetPaymentCardAudition$inboundSchema).optional(),
|
|
1930
|
+
cardLabel: z.nullable(exports.GetPaymentCardLabel$inboundSchema).optional(),
|
|
1931
|
+
cardCountryCode: z.nullable(z.string()).optional(),
|
|
1932
|
+
cardExpiryDate: z.nullable(z.string()).optional(),
|
|
1933
|
+
cardFunding: z.nullable(exports.GetPaymentCardFunding$inboundSchema).optional(),
|
|
1934
|
+
cardSecurity: z.nullable(exports.GetPaymentCardSecurity$inboundSchema).optional(),
|
|
1935
|
+
feeRegion: z.nullable(exports.GetPaymentFeeRegion$inboundSchema).optional(),
|
|
1936
|
+
cardMaskedNumber: z.nullable(z.string()).optional(),
|
|
1937
|
+
card3dsEci: z.nullable(z.string()).optional(),
|
|
1938
|
+
cardBin: z.nullable(z.string()).optional(),
|
|
1939
|
+
cardIssuer: z.nullable(z.string()).optional(),
|
|
1940
|
+
failureReason: z.nullable(exports.GetPaymentFailureReason$inboundSchema).optional(),
|
|
1941
|
+
failureMessage: z.nullable(z.string()).optional(),
|
|
1942
|
+
wallet: z.nullable(exports.GetPaymentWallet$inboundSchema).optional(),
|
|
1943
|
+
paypalReference: z.nullable(z.string()).optional(),
|
|
1944
|
+
paypalPayerId: z.nullable(z.string()).optional(),
|
|
1945
|
+
sellerProtection: z.nullable(exports.GetPaymentSellerProtection$inboundSchema)
|
|
1946
|
+
.optional(),
|
|
1947
|
+
paypalFee: z.nullable(z.lazy(() => exports.GetPaymentPaypalFee$inboundSchema))
|
|
1948
|
+
.optional(),
|
|
1949
|
+
customerReference: z.string().optional(),
|
|
1950
|
+
terminalId: z.string().optional(),
|
|
1951
|
+
maskedNumber: z.nullable(z.string()).optional(),
|
|
1952
|
+
receipt: z.lazy(() => exports.GetPaymentReceipt$inboundSchema).optional(),
|
|
1953
|
+
creditorIdentifier: z.nullable(z.string()).optional(),
|
|
1954
|
+
dueDate: z.nullable(z.string().transform(v => new rfcdate_js_1.RFCDate(v))).optional(),
|
|
1955
|
+
signatureDate: z.nullable(z.string().transform(v => new rfcdate_js_1.RFCDate(v)))
|
|
1956
|
+
.optional(),
|
|
1957
|
+
bankReasonCode: z.nullable(z.string()).optional(),
|
|
1958
|
+
bankReason: z.nullable(z.string()).optional(),
|
|
1959
|
+
endToEndIdentifier: z.nullable(z.string()).optional(),
|
|
1960
|
+
mandateReference: z.nullable(z.string()).optional(),
|
|
1961
|
+
batchReference: z.nullable(z.string()).optional(),
|
|
1962
|
+
fileReference: z.nullable(z.string()).optional(),
|
|
1963
|
+
qrCode: z.lazy(() => exports.GetPaymentQrCode$inboundSchema).optional(),
|
|
1964
|
+
voucherNumber: z.string().optional(),
|
|
1965
|
+
giftcards: z.array(z.record(z.any())).optional(),
|
|
1966
|
+
issuer: z.string().optional(),
|
|
1967
|
+
vouchers: z.array(z.record(z.any())).optional(),
|
|
1968
|
+
remainderAmount: z.lazy(() => exports.GetPaymentRemainderAmount$inboundSchema)
|
|
1969
|
+
.optional(),
|
|
1970
|
+
remainderMethod: z.string().optional(),
|
|
1971
|
+
remainderDetails: z.record(z.any()).optional(),
|
|
1972
|
+
});
|
|
1973
|
+
/** @internal */
|
|
1974
|
+
exports.GetPaymentDetails$outboundSchema = z.object({
|
|
1975
|
+
consumerName: z.nullable(z.string()).optional(),
|
|
1976
|
+
consumerAccount: z.nullable(z.string()).optional(),
|
|
1977
|
+
consumerBic: z.nullable(z.string()).optional(),
|
|
1978
|
+
shippingAddress: z.nullable(z.record(z.any())).optional(),
|
|
1979
|
+
cardNumber: z.nullable(z.string()).optional(),
|
|
1980
|
+
bankName: z.string().optional(),
|
|
1981
|
+
bankAccount: z.string().optional(),
|
|
1982
|
+
bankBic: z.string().optional(),
|
|
1983
|
+
transferReference: z.nullable(z.string()).optional(),
|
|
1984
|
+
cardFingerprint: z.nullable(z.string()).optional(),
|
|
1985
|
+
cardHolder: z.nullable(z.string()).optional(),
|
|
1986
|
+
cardAudition: z.nullable(exports.GetPaymentCardAudition$outboundSchema).optional(),
|
|
1987
|
+
cardLabel: z.nullable(exports.GetPaymentCardLabel$outboundSchema).optional(),
|
|
1988
|
+
cardCountryCode: z.nullable(z.string()).optional(),
|
|
1989
|
+
cardExpiryDate: z.nullable(z.string()).optional(),
|
|
1990
|
+
cardFunding: z.nullable(exports.GetPaymentCardFunding$outboundSchema).optional(),
|
|
1991
|
+
cardSecurity: z.nullable(exports.GetPaymentCardSecurity$outboundSchema).optional(),
|
|
1992
|
+
feeRegion: z.nullable(exports.GetPaymentFeeRegion$outboundSchema).optional(),
|
|
1993
|
+
cardMaskedNumber: z.nullable(z.string()).optional(),
|
|
1994
|
+
card3dsEci: z.nullable(z.string()).optional(),
|
|
1995
|
+
cardBin: z.nullable(z.string()).optional(),
|
|
1996
|
+
cardIssuer: z.nullable(z.string()).optional(),
|
|
1997
|
+
failureReason: z.nullable(exports.GetPaymentFailureReason$outboundSchema).optional(),
|
|
1998
|
+
failureMessage: z.nullable(z.string()).optional(),
|
|
1999
|
+
wallet: z.nullable(exports.GetPaymentWallet$outboundSchema).optional(),
|
|
2000
|
+
paypalReference: z.nullable(z.string()).optional(),
|
|
2001
|
+
paypalPayerId: z.nullable(z.string()).optional(),
|
|
2002
|
+
sellerProtection: z.nullable(exports.GetPaymentSellerProtection$outboundSchema)
|
|
2003
|
+
.optional(),
|
|
2004
|
+
paypalFee: z.nullable(z.lazy(() => exports.GetPaymentPaypalFee$outboundSchema))
|
|
2005
|
+
.optional(),
|
|
2006
|
+
customerReference: z.string().optional(),
|
|
2007
|
+
terminalId: z.string().optional(),
|
|
2008
|
+
maskedNumber: z.nullable(z.string()).optional(),
|
|
2009
|
+
receipt: z.lazy(() => exports.GetPaymentReceipt$outboundSchema).optional(),
|
|
2010
|
+
creditorIdentifier: z.nullable(z.string()).optional(),
|
|
2011
|
+
dueDate: z.nullable(z.instanceof(rfcdate_js_1.RFCDate).transform(v => v.toString()))
|
|
2012
|
+
.optional(),
|
|
2013
|
+
signatureDate: z.nullable(z.instanceof(rfcdate_js_1.RFCDate).transform(v => v.toString()))
|
|
2014
|
+
.optional(),
|
|
2015
|
+
bankReasonCode: z.nullable(z.string()).optional(),
|
|
2016
|
+
bankReason: z.nullable(z.string()).optional(),
|
|
2017
|
+
endToEndIdentifier: z.nullable(z.string()).optional(),
|
|
2018
|
+
mandateReference: z.nullable(z.string()).optional(),
|
|
2019
|
+
batchReference: z.nullable(z.string()).optional(),
|
|
2020
|
+
fileReference: z.nullable(z.string()).optional(),
|
|
2021
|
+
qrCode: z.lazy(() => exports.GetPaymentQrCode$outboundSchema).optional(),
|
|
2022
|
+
voucherNumber: z.string().optional(),
|
|
2023
|
+
giftcards: z.array(z.record(z.any())).optional(),
|
|
2024
|
+
issuer: z.string().optional(),
|
|
2025
|
+
vouchers: z.array(z.record(z.any())).optional(),
|
|
2026
|
+
remainderAmount: z.lazy(() => exports.GetPaymentRemainderAmount$outboundSchema)
|
|
2027
|
+
.optional(),
|
|
2028
|
+
remainderMethod: z.string().optional(),
|
|
2029
|
+
remainderDetails: z.record(z.any()).optional(),
|
|
2030
|
+
});
|
|
2031
|
+
/**
|
|
2032
|
+
* @internal
|
|
2033
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2034
|
+
*/
|
|
2035
|
+
var GetPaymentDetails$;
|
|
2036
|
+
(function (GetPaymentDetails$) {
|
|
2037
|
+
/** @deprecated use `GetPaymentDetails$inboundSchema` instead. */
|
|
2038
|
+
GetPaymentDetails$.inboundSchema = exports.GetPaymentDetails$inboundSchema;
|
|
2039
|
+
/** @deprecated use `GetPaymentDetails$outboundSchema` instead. */
|
|
2040
|
+
GetPaymentDetails$.outboundSchema = exports.GetPaymentDetails$outboundSchema;
|
|
2041
|
+
})(GetPaymentDetails$ || (exports.GetPaymentDetails$ = GetPaymentDetails$ = {}));
|
|
2042
|
+
function getPaymentDetailsToJSON(getPaymentDetails) {
|
|
2043
|
+
return JSON.stringify(exports.GetPaymentDetails$outboundSchema.parse(getPaymentDetails));
|
|
2044
|
+
}
|
|
2045
|
+
function getPaymentDetailsFromJSON(jsonString) {
|
|
2046
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.GetPaymentDetails$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetPaymentDetails' from JSON`);
|
|
2047
|
+
}
|
|
2048
|
+
/** @internal */
|
|
1377
2049
|
exports.GetPaymentSelf$inboundSchema = z.object({
|
|
1378
2050
|
href: z.string(),
|
|
1379
2051
|
type: z.string(),
|
|
@@ -1779,6 +2451,60 @@ function getPaymentDocumentationFromJSON(jsonString) {
|
|
|
1779
2451
|
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.GetPaymentDocumentation$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetPaymentDocumentation' from JSON`);
|
|
1780
2452
|
}
|
|
1781
2453
|
/** @internal */
|
|
2454
|
+
exports.GetPaymentLinksStatus$inboundSchema = z.object({
|
|
2455
|
+
href: z.string(),
|
|
2456
|
+
type: z.string(),
|
|
2457
|
+
});
|
|
2458
|
+
/** @internal */
|
|
2459
|
+
exports.GetPaymentLinksStatus$outboundSchema = z.object({
|
|
2460
|
+
href: z.string(),
|
|
2461
|
+
type: z.string(),
|
|
2462
|
+
});
|
|
2463
|
+
/**
|
|
2464
|
+
* @internal
|
|
2465
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2466
|
+
*/
|
|
2467
|
+
var GetPaymentLinksStatus$;
|
|
2468
|
+
(function (GetPaymentLinksStatus$) {
|
|
2469
|
+
/** @deprecated use `GetPaymentLinksStatus$inboundSchema` instead. */
|
|
2470
|
+
GetPaymentLinksStatus$.inboundSchema = exports.GetPaymentLinksStatus$inboundSchema;
|
|
2471
|
+
/** @deprecated use `GetPaymentLinksStatus$outboundSchema` instead. */
|
|
2472
|
+
GetPaymentLinksStatus$.outboundSchema = exports.GetPaymentLinksStatus$outboundSchema;
|
|
2473
|
+
})(GetPaymentLinksStatus$ || (exports.GetPaymentLinksStatus$ = GetPaymentLinksStatus$ = {}));
|
|
2474
|
+
function getPaymentLinksStatusToJSON(getPaymentLinksStatus) {
|
|
2475
|
+
return JSON.stringify(exports.GetPaymentLinksStatus$outboundSchema.parse(getPaymentLinksStatus));
|
|
2476
|
+
}
|
|
2477
|
+
function getPaymentLinksStatusFromJSON(jsonString) {
|
|
2478
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.GetPaymentLinksStatus$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetPaymentLinksStatus' from JSON`);
|
|
2479
|
+
}
|
|
2480
|
+
/** @internal */
|
|
2481
|
+
exports.GetPaymentPayOnline$inboundSchema = z.object({
|
|
2482
|
+
href: z.string(),
|
|
2483
|
+
type: z.string(),
|
|
2484
|
+
});
|
|
2485
|
+
/** @internal */
|
|
2486
|
+
exports.GetPaymentPayOnline$outboundSchema = z.object({
|
|
2487
|
+
href: z.string(),
|
|
2488
|
+
type: z.string(),
|
|
2489
|
+
});
|
|
2490
|
+
/**
|
|
2491
|
+
* @internal
|
|
2492
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2493
|
+
*/
|
|
2494
|
+
var GetPaymentPayOnline$;
|
|
2495
|
+
(function (GetPaymentPayOnline$) {
|
|
2496
|
+
/** @deprecated use `GetPaymentPayOnline$inboundSchema` instead. */
|
|
2497
|
+
GetPaymentPayOnline$.inboundSchema = exports.GetPaymentPayOnline$inboundSchema;
|
|
2498
|
+
/** @deprecated use `GetPaymentPayOnline$outboundSchema` instead. */
|
|
2499
|
+
GetPaymentPayOnline$.outboundSchema = exports.GetPaymentPayOnline$outboundSchema;
|
|
2500
|
+
})(GetPaymentPayOnline$ || (exports.GetPaymentPayOnline$ = GetPaymentPayOnline$ = {}));
|
|
2501
|
+
function getPaymentPayOnlineToJSON(getPaymentPayOnline) {
|
|
2502
|
+
return JSON.stringify(exports.GetPaymentPayOnline$outboundSchema.parse(getPaymentPayOnline));
|
|
2503
|
+
}
|
|
2504
|
+
function getPaymentPayOnlineFromJSON(jsonString) {
|
|
2505
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.GetPaymentPayOnline$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetPaymentPayOnline' from JSON`);
|
|
2506
|
+
}
|
|
2507
|
+
/** @internal */
|
|
1782
2508
|
exports.GetPaymentLinks$inboundSchema = z.object({
|
|
1783
2509
|
self: z.lazy(() => exports.GetPaymentSelf$inboundSchema),
|
|
1784
2510
|
checkout: z.lazy(() => exports.GetPaymentCheckout$inboundSchema).optional(),
|
|
@@ -1797,6 +2523,8 @@ exports.GetPaymentLinks$inboundSchema = z.object({
|
|
|
1797
2523
|
order: z.lazy(() => exports.GetPaymentOrder$inboundSchema).optional(),
|
|
1798
2524
|
terminal: z.lazy(() => exports.GetPaymentTerminal$inboundSchema).optional(),
|
|
1799
2525
|
documentation: z.lazy(() => exports.GetPaymentDocumentation$inboundSchema).optional(),
|
|
2526
|
+
status: z.lazy(() => exports.GetPaymentLinksStatus$inboundSchema).optional(),
|
|
2527
|
+
payOnline: z.lazy(() => exports.GetPaymentPayOnline$inboundSchema).optional(),
|
|
1800
2528
|
});
|
|
1801
2529
|
/** @internal */
|
|
1802
2530
|
exports.GetPaymentLinks$outboundSchema = z.object({
|
|
@@ -1818,6 +2546,8 @@ exports.GetPaymentLinks$outboundSchema = z.object({
|
|
|
1818
2546
|
terminal: z.lazy(() => exports.GetPaymentTerminal$outboundSchema).optional(),
|
|
1819
2547
|
documentation: z.lazy(() => exports.GetPaymentDocumentation$outboundSchema)
|
|
1820
2548
|
.optional(),
|
|
2549
|
+
status: z.lazy(() => exports.GetPaymentLinksStatus$outboundSchema).optional(),
|
|
2550
|
+
payOnline: z.lazy(() => exports.GetPaymentPayOnline$outboundSchema).optional(),
|
|
1821
2551
|
});
|
|
1822
2552
|
/**
|
|
1823
2553
|
* @internal
|
|
@@ -1880,11 +2610,11 @@ exports.GetPaymentResponse$inboundSchema = z.object({
|
|
|
1880
2610
|
profileId: z.string(),
|
|
1881
2611
|
settlementId: z.nullable(z.string()).optional(),
|
|
1882
2612
|
orderId: z.nullable(z.string()).optional(),
|
|
1883
|
-
status: exports.
|
|
2613
|
+
status: exports.GetPaymentStatusEnum$inboundSchema,
|
|
1884
2614
|
statusReason: z.nullable(z.lazy(() => exports.GetPaymentStatusReason$inboundSchema))
|
|
1885
2615
|
.optional(),
|
|
1886
2616
|
isCancelable: z.nullable(z.boolean()).optional(),
|
|
1887
|
-
details: z.nullable(z.
|
|
2617
|
+
details: z.nullable(z.lazy(() => exports.GetPaymentDetails$inboundSchema)).optional(),
|
|
1888
2618
|
createdAt: z.string(),
|
|
1889
2619
|
authorizedAt: z.nullable(z.string()).optional(),
|
|
1890
2620
|
paidAt: z.nullable(z.string()).optional(),
|
|
@@ -1942,11 +2672,12 @@ exports.GetPaymentResponse$outboundSchema = z.object({
|
|
|
1942
2672
|
profileId: z.string(),
|
|
1943
2673
|
settlementId: z.nullable(z.string()).optional(),
|
|
1944
2674
|
orderId: z.nullable(z.string()).optional(),
|
|
1945
|
-
status: exports.
|
|
2675
|
+
status: exports.GetPaymentStatusEnum$outboundSchema,
|
|
1946
2676
|
statusReason: z.nullable(z.lazy(() => exports.GetPaymentStatusReason$outboundSchema))
|
|
1947
2677
|
.optional(),
|
|
1948
2678
|
isCancelable: z.nullable(z.boolean()).optional(),
|
|
1949
|
-
details: z.nullable(z.
|
|
2679
|
+
details: z.nullable(z.lazy(() => exports.GetPaymentDetails$outboundSchema))
|
|
2680
|
+
.optional(),
|
|
1950
2681
|
createdAt: z.string(),
|
|
1951
2682
|
authorizedAt: z.nullable(z.string()).optional(),
|
|
1952
2683
|
paidAt: z.nullable(z.string()).optional(),
|