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.UpdatePaymentUnprocessableEntityLinks$outboundSchema = exports.UpdatePaymentUnprocessableEntityLinks$inboundSchema = exports.UpdatePaymentUnprocessableEntityDocumentation$ = exports.UpdatePaymentUnprocessableEntityDocumentation$outboundSchema = exports.UpdatePaymentUnprocessableEntityDocumentation$inboundSchema = exports.UpdatePaymentRequest$ = exports.UpdatePaymentRequest$outboundSchema = exports.UpdatePaymentRequest$inboundSchema = exports.UpdatePaymentRequestBody$ = exports.UpdatePaymentRequestBody$outboundSchema = exports.UpdatePaymentRequestBody$inboundSchema = exports.UpdatePaymentShippingAddressRequest$ = exports.UpdatePaymentShippingAddressRequest$outboundSchema = exports.UpdatePaymentShippingAddressRequest$inboundSchema = exports.UpdatePaymentBillingAddressRequest$ = exports.UpdatePaymentBillingAddressRequest$outboundSchema = exports.UpdatePaymentBillingAddressRequest$inboundSchema = exports.UpdatePaymentLocaleRequest$ = exports.UpdatePaymentLocaleRequest$outboundSchema = exports.UpdatePaymentLocaleRequest$inboundSchema = exports.UpdatePaymentMethodRequest$ = exports.UpdatePaymentMethodRequest$outboundSchema = exports.UpdatePaymentMethodRequest$inboundSchema = exports.UpdatePaymentMetadataRequest$ = exports.UpdatePaymentMetadataRequest$outboundSchema = exports.UpdatePaymentMetadataRequest$inboundSchema = exports.UpdatePaymentCardVerificationMethod = exports.UpdatePaymentCardReadMethod = exports.UpdatePaymentSellerProtection = exports.UpdatePaymentWallet = exports.UpdatePaymentFailureReason = exports.UpdatePaymentFeeRegion = exports.UpdatePaymentCardSecurity = exports.UpdatePaymentCardFunding = exports.UpdatePaymentCardLabel = exports.UpdatePaymentCardAudition = exports.UpdatePaymentCode = exports.UpdatePaymentStatusEnum = exports.UpdatePaymentSequenceType = exports.UpdatePaymentRoutingType = exports.UpdatePaymentRoutingMode = exports.UpdatePaymentCaptureMode = exports.UpdatePaymentMethodResponse = exports.UpdatePaymentLocaleResponse = exports.UpdatePaymentInterval = exports.UpdatePaymentCategory = exports.UpdatePaymentLineType = exports.UpdatePaymentMode = exports.UpdatePaymentLocaleRequest = exports.UpdatePaymentMethodRequest = void 0;
|
|
40
|
+
exports.UpdatePaymentRecurringAmount$inboundSchema = exports.UpdatePaymentInterval$ = exports.UpdatePaymentInterval$outboundSchema = exports.UpdatePaymentInterval$inboundSchema = exports.UpdatePaymentCategory$ = exports.UpdatePaymentCategory$outboundSchema = exports.UpdatePaymentCategory$inboundSchema = exports.UpdatePaymentVatAmount$ = exports.UpdatePaymentVatAmount$outboundSchema = exports.UpdatePaymentVatAmount$inboundSchema = exports.UpdatePaymentTotalAmount$ = exports.UpdatePaymentTotalAmount$outboundSchema = exports.UpdatePaymentTotalAmount$inboundSchema = exports.UpdatePaymentDiscountAmount$ = exports.UpdatePaymentDiscountAmount$outboundSchema = exports.UpdatePaymentDiscountAmount$inboundSchema = exports.UpdatePaymentUnitPrice$ = exports.UpdatePaymentUnitPrice$outboundSchema = exports.UpdatePaymentUnitPrice$inboundSchema = exports.UpdatePaymentLineType$ = exports.UpdatePaymentLineType$outboundSchema = exports.UpdatePaymentLineType$inboundSchema = exports.UpdatePaymentSettlementAmount$ = exports.UpdatePaymentSettlementAmount$outboundSchema = exports.UpdatePaymentSettlementAmount$inboundSchema = exports.UpdatePaymentAmountChargedBack$ = exports.UpdatePaymentAmountChargedBack$outboundSchema = exports.UpdatePaymentAmountChargedBack$inboundSchema = exports.UpdatePaymentAmountCaptured$ = exports.UpdatePaymentAmountCaptured$outboundSchema = exports.UpdatePaymentAmountCaptured$inboundSchema = exports.UpdatePaymentAmountRemaining$ = exports.UpdatePaymentAmountRemaining$outboundSchema = exports.UpdatePaymentAmountRemaining$inboundSchema = exports.UpdatePaymentAmountRefunded$ = exports.UpdatePaymentAmountRefunded$outboundSchema = exports.UpdatePaymentAmountRefunded$inboundSchema = exports.UpdatePaymentAmount$ = exports.UpdatePaymentAmount$outboundSchema = exports.UpdatePaymentAmount$inboundSchema = exports.UpdatePaymentMode$ = exports.UpdatePaymentMode$outboundSchema = exports.UpdatePaymentMode$inboundSchema = exports.UpdatePaymentNotFoundLinks$ = exports.UpdatePaymentNotFoundLinks$outboundSchema = exports.UpdatePaymentNotFoundLinks$inboundSchema = exports.UpdatePaymentNotFoundDocumentation$ = exports.UpdatePaymentNotFoundDocumentation$outboundSchema = exports.UpdatePaymentNotFoundDocumentation$inboundSchema = exports.UpdatePaymentUnprocessableEntityLinks$ = void 0;
|
|
41
|
+
exports.UpdatePaymentPayment$ = exports.UpdatePaymentPayment$outboundSchema = exports.UpdatePaymentPayment$inboundSchema = exports.UpdatePaymentRoutingSelf$ = exports.UpdatePaymentRoutingSelf$outboundSchema = exports.UpdatePaymentRoutingSelf$inboundSchema = exports.UpdatePaymentDestination$ = exports.UpdatePaymentDestination$outboundSchema = exports.UpdatePaymentDestination$inboundSchema = exports.UpdatePaymentRoutingType$ = exports.UpdatePaymentRoutingType$outboundSchema = exports.UpdatePaymentRoutingType$inboundSchema = exports.UpdatePaymentRoutingAmount$ = exports.UpdatePaymentRoutingAmount$outboundSchema = exports.UpdatePaymentRoutingAmount$inboundSchema = exports.UpdatePaymentRoutingMode$ = exports.UpdatePaymentRoutingMode$outboundSchema = exports.UpdatePaymentRoutingMode$inboundSchema = exports.UpdatePaymentApplicationFee$ = exports.UpdatePaymentApplicationFee$outboundSchema = exports.UpdatePaymentApplicationFee$inboundSchema = exports.UpdatePaymentApplicationFeeAmount$ = exports.UpdatePaymentApplicationFeeAmount$outboundSchema = exports.UpdatePaymentApplicationFeeAmount$inboundSchema = exports.UpdatePaymentCaptureMode$ = exports.UpdatePaymentCaptureMode$outboundSchema = exports.UpdatePaymentCaptureMode$inboundSchema = exports.UpdatePaymentMetadataResponse$ = exports.UpdatePaymentMetadataResponse$outboundSchema = exports.UpdatePaymentMetadataResponse$inboundSchema = exports.UpdatePaymentMethodResponse$ = exports.UpdatePaymentMethodResponse$outboundSchema = exports.UpdatePaymentMethodResponse$inboundSchema = exports.UpdatePaymentLocaleResponse$ = exports.UpdatePaymentLocaleResponse$outboundSchema = exports.UpdatePaymentLocaleResponse$inboundSchema = exports.UpdatePaymentShippingAddressResponse$ = exports.UpdatePaymentShippingAddressResponse$outboundSchema = exports.UpdatePaymentShippingAddressResponse$inboundSchema = exports.UpdatePaymentBillingAddressResponse$ = exports.UpdatePaymentBillingAddressResponse$outboundSchema = exports.UpdatePaymentBillingAddressResponse$inboundSchema = exports.UpdatePaymentLine$ = exports.UpdatePaymentLine$outboundSchema = exports.UpdatePaymentLine$inboundSchema = exports.UpdatePaymentRecurring$ = exports.UpdatePaymentRecurring$outboundSchema = exports.UpdatePaymentRecurring$inboundSchema = exports.UpdatePaymentRecurringAmount$ = exports.UpdatePaymentRecurringAmount$outboundSchema = void 0;
|
|
42
|
+
exports.UpdatePaymentCardVerificationMethod$outboundSchema = exports.UpdatePaymentCardVerificationMethod$inboundSchema = exports.UpdatePaymentCardReadMethod$ = exports.UpdatePaymentCardReadMethod$outboundSchema = exports.UpdatePaymentCardReadMethod$inboundSchema = exports.UpdatePaymentPaypalFee$ = exports.UpdatePaymentPaypalFee$outboundSchema = exports.UpdatePaymentPaypalFee$inboundSchema = exports.UpdatePaymentSellerProtection$ = exports.UpdatePaymentSellerProtection$outboundSchema = exports.UpdatePaymentSellerProtection$inboundSchema = exports.UpdatePaymentWallet$ = exports.UpdatePaymentWallet$outboundSchema = exports.UpdatePaymentWallet$inboundSchema = exports.UpdatePaymentFailureReason$ = exports.UpdatePaymentFailureReason$outboundSchema = exports.UpdatePaymentFailureReason$inboundSchema = exports.UpdatePaymentFeeRegion$ = exports.UpdatePaymentFeeRegion$outboundSchema = exports.UpdatePaymentFeeRegion$inboundSchema = exports.UpdatePaymentCardSecurity$ = exports.UpdatePaymentCardSecurity$outboundSchema = exports.UpdatePaymentCardSecurity$inboundSchema = exports.UpdatePaymentCardFunding$ = exports.UpdatePaymentCardFunding$outboundSchema = exports.UpdatePaymentCardFunding$inboundSchema = exports.UpdatePaymentCardLabel$ = exports.UpdatePaymentCardLabel$outboundSchema = exports.UpdatePaymentCardLabel$inboundSchema = exports.UpdatePaymentCardAudition$ = exports.UpdatePaymentCardAudition$outboundSchema = exports.UpdatePaymentCardAudition$inboundSchema = exports.UpdatePaymentStatusReason$ = exports.UpdatePaymentStatusReason$outboundSchema = exports.UpdatePaymentStatusReason$inboundSchema = exports.UpdatePaymentCode$ = exports.UpdatePaymentCode$outboundSchema = exports.UpdatePaymentCode$inboundSchema = exports.UpdatePaymentStatusEnum$ = exports.UpdatePaymentStatusEnum$outboundSchema = exports.UpdatePaymentStatusEnum$inboundSchema = exports.UpdatePaymentSequenceType$ = exports.UpdatePaymentSequenceType$outboundSchema = exports.UpdatePaymentSequenceType$inboundSchema = exports.UpdatePaymentRouting$ = exports.UpdatePaymentRouting$outboundSchema = exports.UpdatePaymentRouting$inboundSchema = exports.UpdatePaymentRoutingLinks$ = exports.UpdatePaymentRoutingLinks$outboundSchema = exports.UpdatePaymentRoutingLinks$inboundSchema = void 0;
|
|
43
|
+
exports.UpdatePaymentOrder$inboundSchema = exports.UpdatePaymentSubscription$ = exports.UpdatePaymentSubscription$outboundSchema = exports.UpdatePaymentSubscription$inboundSchema = exports.UpdatePaymentMandate$ = exports.UpdatePaymentMandate$outboundSchema = exports.UpdatePaymentMandate$inboundSchema = exports.UpdatePaymentCustomer$ = exports.UpdatePaymentCustomer$outboundSchema = exports.UpdatePaymentCustomer$inboundSchema = exports.UpdatePaymentSettlement$ = exports.UpdatePaymentSettlement$outboundSchema = exports.UpdatePaymentSettlement$inboundSchema = exports.UpdatePaymentCaptures$ = exports.UpdatePaymentCaptures$outboundSchema = exports.UpdatePaymentCaptures$inboundSchema = exports.UpdatePaymentChargebacks$ = exports.UpdatePaymentChargebacks$outboundSchema = exports.UpdatePaymentChargebacks$inboundSchema = exports.UpdatePaymentRefunds$ = exports.UpdatePaymentRefunds$outboundSchema = exports.UpdatePaymentRefunds$inboundSchema = exports.UpdatePaymentDashboard$ = exports.UpdatePaymentDashboard$outboundSchema = exports.UpdatePaymentDashboard$inboundSchema = exports.UpdatePaymentChangePaymentState$ = exports.UpdatePaymentChangePaymentState$outboundSchema = exports.UpdatePaymentChangePaymentState$inboundSchema = exports.UpdatePaymentMobileAppCheckout$ = exports.UpdatePaymentMobileAppCheckout$outboundSchema = exports.UpdatePaymentMobileAppCheckout$inboundSchema = exports.UpdatePaymentCheckout$ = exports.UpdatePaymentCheckout$outboundSchema = exports.UpdatePaymentCheckout$inboundSchema = exports.UpdatePaymentSelf$ = exports.UpdatePaymentSelf$outboundSchema = exports.UpdatePaymentSelf$inboundSchema = exports.UpdatePaymentDetails$ = exports.UpdatePaymentDetails$outboundSchema = exports.UpdatePaymentDetails$inboundSchema = exports.UpdatePaymentRemainderAmount$ = exports.UpdatePaymentRemainderAmount$outboundSchema = exports.UpdatePaymentRemainderAmount$inboundSchema = exports.UpdatePaymentQrCode$ = exports.UpdatePaymentQrCode$outboundSchema = exports.UpdatePaymentQrCode$inboundSchema = exports.UpdatePaymentReceipt$ = exports.UpdatePaymentReceipt$outboundSchema = exports.UpdatePaymentReceipt$inboundSchema = exports.UpdatePaymentCardVerificationMethod$ = void 0;
|
|
44
|
+
exports.UpdatePaymentResponse$ = exports.UpdatePaymentResponse$outboundSchema = exports.UpdatePaymentResponse$inboundSchema = exports.UpdatePaymentLinks$ = exports.UpdatePaymentLinks$outboundSchema = exports.UpdatePaymentLinks$inboundSchema = exports.UpdatePaymentPayOnline$ = exports.UpdatePaymentPayOnline$outboundSchema = exports.UpdatePaymentPayOnline$inboundSchema = exports.UpdatePaymentLinksStatus$ = exports.UpdatePaymentLinksStatus$outboundSchema = exports.UpdatePaymentLinksStatus$inboundSchema = exports.UpdatePaymentDocumentation$ = exports.UpdatePaymentDocumentation$outboundSchema = exports.UpdatePaymentDocumentation$inboundSchema = exports.UpdatePaymentTerminal$ = exports.UpdatePaymentTerminal$outboundSchema = exports.UpdatePaymentTerminal$inboundSchema = exports.UpdatePaymentOrder$ = exports.UpdatePaymentOrder$outboundSchema = void 0;
|
|
44
45
|
exports.updatePaymentMetadataRequestToJSON = updatePaymentMetadataRequestToJSON;
|
|
45
46
|
exports.updatePaymentMetadataRequestFromJSON = updatePaymentMetadataRequestFromJSON;
|
|
46
47
|
exports.updatePaymentBillingAddressRequestToJSON = updatePaymentBillingAddressRequestToJSON;
|
|
@@ -109,6 +110,16 @@ exports.updatePaymentRoutingToJSON = updatePaymentRoutingToJSON;
|
|
|
109
110
|
exports.updatePaymentRoutingFromJSON = updatePaymentRoutingFromJSON;
|
|
110
111
|
exports.updatePaymentStatusReasonToJSON = updatePaymentStatusReasonToJSON;
|
|
111
112
|
exports.updatePaymentStatusReasonFromJSON = updatePaymentStatusReasonFromJSON;
|
|
113
|
+
exports.updatePaymentPaypalFeeToJSON = updatePaymentPaypalFeeToJSON;
|
|
114
|
+
exports.updatePaymentPaypalFeeFromJSON = updatePaymentPaypalFeeFromJSON;
|
|
115
|
+
exports.updatePaymentReceiptToJSON = updatePaymentReceiptToJSON;
|
|
116
|
+
exports.updatePaymentReceiptFromJSON = updatePaymentReceiptFromJSON;
|
|
117
|
+
exports.updatePaymentQrCodeToJSON = updatePaymentQrCodeToJSON;
|
|
118
|
+
exports.updatePaymentQrCodeFromJSON = updatePaymentQrCodeFromJSON;
|
|
119
|
+
exports.updatePaymentRemainderAmountToJSON = updatePaymentRemainderAmountToJSON;
|
|
120
|
+
exports.updatePaymentRemainderAmountFromJSON = updatePaymentRemainderAmountFromJSON;
|
|
121
|
+
exports.updatePaymentDetailsToJSON = updatePaymentDetailsToJSON;
|
|
122
|
+
exports.updatePaymentDetailsFromJSON = updatePaymentDetailsFromJSON;
|
|
112
123
|
exports.updatePaymentSelfToJSON = updatePaymentSelfToJSON;
|
|
113
124
|
exports.updatePaymentSelfFromJSON = updatePaymentSelfFromJSON;
|
|
114
125
|
exports.updatePaymentCheckoutToJSON = updatePaymentCheckoutToJSON;
|
|
@@ -139,6 +150,10 @@ exports.updatePaymentTerminalToJSON = updatePaymentTerminalToJSON;
|
|
|
139
150
|
exports.updatePaymentTerminalFromJSON = updatePaymentTerminalFromJSON;
|
|
140
151
|
exports.updatePaymentDocumentationToJSON = updatePaymentDocumentationToJSON;
|
|
141
152
|
exports.updatePaymentDocumentationFromJSON = updatePaymentDocumentationFromJSON;
|
|
153
|
+
exports.updatePaymentLinksStatusToJSON = updatePaymentLinksStatusToJSON;
|
|
154
|
+
exports.updatePaymentLinksStatusFromJSON = updatePaymentLinksStatusFromJSON;
|
|
155
|
+
exports.updatePaymentPayOnlineToJSON = updatePaymentPayOnlineToJSON;
|
|
156
|
+
exports.updatePaymentPayOnlineFromJSON = updatePaymentPayOnlineFromJSON;
|
|
142
157
|
exports.updatePaymentLinksToJSON = updatePaymentLinksToJSON;
|
|
143
158
|
exports.updatePaymentLinksFromJSON = updatePaymentLinksFromJSON;
|
|
144
159
|
exports.updatePaymentResponseToJSON = updatePaymentResponseToJSON;
|
|
@@ -146,6 +161,7 @@ exports.updatePaymentResponseFromJSON = updatePaymentResponseFromJSON;
|
|
|
146
161
|
const z = __importStar(require("zod"));
|
|
147
162
|
const primitives_js_1 = require("../../lib/primitives.js");
|
|
148
163
|
const schemas_js_1 = require("../../lib/schemas.js");
|
|
164
|
+
const rfcdate_js_1 = require("../../types/rfcdate.js");
|
|
149
165
|
/**
|
|
150
166
|
* Normally, a payment method screen is shown. However, when using this parameter, you can choose a specific payment
|
|
151
167
|
*
|
|
@@ -395,7 +411,7 @@ exports.UpdatePaymentSequenceType = {
|
|
|
395
411
|
* @remarks
|
|
396
412
|
* statuses occur at what point.
|
|
397
413
|
*/
|
|
398
|
-
exports.
|
|
414
|
+
exports.UpdatePaymentStatusEnum = {
|
|
399
415
|
Open: "open",
|
|
400
416
|
Pending: "pending",
|
|
401
417
|
Authorized: "authorized",
|
|
@@ -404,6 +420,249 @@ exports.UpdatePaymentStatus = {
|
|
|
404
420
|
Expired: "expired",
|
|
405
421
|
Failed: "failed",
|
|
406
422
|
};
|
|
423
|
+
/**
|
|
424
|
+
* A machine-readable code that indicates the reason for the payment's status.
|
|
425
|
+
*/
|
|
426
|
+
exports.UpdatePaymentCode = {
|
|
427
|
+
ApprovedOrCompletedSuccessfully: "approved_or_completed_successfully",
|
|
428
|
+
ReferToCardIssuer: "refer_to_card_issuer",
|
|
429
|
+
InvalidMerchant: "invalid_merchant",
|
|
430
|
+
CaptureCard: "capture_card",
|
|
431
|
+
DoNotHonor: "do_not_honor",
|
|
432
|
+
Error: "error",
|
|
433
|
+
PartialApproval: "partial_approval",
|
|
434
|
+
InvalidTransaction: "invalid_transaction",
|
|
435
|
+
InvalidAmount: "invalid_amount",
|
|
436
|
+
InvalidIssuer: "invalid_issuer",
|
|
437
|
+
LostCard: "lost_card",
|
|
438
|
+
StolenCard: "stolen_card",
|
|
439
|
+
InsufficientFunds: "insufficient_funds",
|
|
440
|
+
ExpiredCard: "expired_card",
|
|
441
|
+
InvalidPin: "invalid_pin",
|
|
442
|
+
TransactionNotPermittedToCardholder: "transaction_not_permitted_to_cardholder",
|
|
443
|
+
TransactionNotAllowedAtTerminal: "transaction_not_allowed_at_terminal",
|
|
444
|
+
ExceedsWithdrawalAmountLimit: "exceeds_withdrawal_amount_limit",
|
|
445
|
+
RestrictedCard: "restricted_card",
|
|
446
|
+
SecurityViolation: "security_violation",
|
|
447
|
+
ExceedsWithdrawalCountLimit: "exceeds_withdrawal_count_limit",
|
|
448
|
+
AllowableNumberOfPinTriesExceeded: "allowable_number_of_pin_tries_exceeded",
|
|
449
|
+
NoReasonToDecline: "no_reason_to_decline",
|
|
450
|
+
CannotVerifyPin: "cannot_verify_pin",
|
|
451
|
+
IssuerUnavailable: "issuer_unavailable",
|
|
452
|
+
UnableToRouteTransaction: "unable_to_route_transaction",
|
|
453
|
+
DuplicateTransaction: "duplicate_transaction",
|
|
454
|
+
SystemMalfunction: "system_malfunction",
|
|
455
|
+
HonorWithId: "honor_with_id",
|
|
456
|
+
InvalidCardNumber: "invalid_card_number",
|
|
457
|
+
FormatError: "format_error",
|
|
458
|
+
ContactCardIssuer: "contact_card_issuer",
|
|
459
|
+
PinNotChanged: "pin_not_changed",
|
|
460
|
+
InvalidNonexistentToAccountSpecified: "invalid_nonexistent_to_account_specified",
|
|
461
|
+
InvalidNonexistentFromAccountSpecified: "invalid_nonexistent_from_account_specified",
|
|
462
|
+
InvalidNonexistentAccountSpecified: "invalid_nonexistent_account_specified",
|
|
463
|
+
LifecycleRelated: "lifecycle_related",
|
|
464
|
+
DomesticDebitTransactionNotAllowed: "domestic_debit_transaction_not_allowed",
|
|
465
|
+
PolicyRelated: "policy_related",
|
|
466
|
+
FraudSecurityRelated: "fraud_security_related",
|
|
467
|
+
InvalidAuthorizationLifeCycle: "invalid_authorization_life_cycle",
|
|
468
|
+
PurchaseAmountOnlyNoCashBackAllowed: "purchase_amount_only_no_cash_back_allowed",
|
|
469
|
+
CryptographicFailure: "cryptographic_failure",
|
|
470
|
+
UnacceptablePin: "unacceptable_pin",
|
|
471
|
+
ReferToCardIssuerSpecialCondition: "refer_to_card_issuer_special_condition",
|
|
472
|
+
PickUpCardSpecialCondition: "pick_up_card_special_condition",
|
|
473
|
+
VipApproval: "vip_approval",
|
|
474
|
+
InvalidAccountNumber: "invalid_account_number",
|
|
475
|
+
ReEnterTransaction: "re_enter_transaction",
|
|
476
|
+
NoActionTaken: "no_action_taken",
|
|
477
|
+
UnableToLocateRecord: "unable_to_locate_record",
|
|
478
|
+
FileTemporarilyUnavailable: "file_temporarily_unavailable",
|
|
479
|
+
NoCreditAccount: "no_credit_account",
|
|
480
|
+
ClosedAccount: "closed_account",
|
|
481
|
+
NoCheckingAccount: "no_checking_account",
|
|
482
|
+
NoSavingsAccount: "no_savings_account",
|
|
483
|
+
SuspectedFraud: "suspected_fraud",
|
|
484
|
+
TransactionDoesNotFulfillAmlRequirement: "transaction_does_not_fulfill_aml_requirement",
|
|
485
|
+
PinDataRequired: "pin_data_required",
|
|
486
|
+
UnableToLocatePreviousMessage: "unable_to_locate_previous_message",
|
|
487
|
+
PreviousMessageLocatedInconsistentData: "previous_message_located_inconsistent_data",
|
|
488
|
+
BlockedFirstUsed: "blocked_first_used",
|
|
489
|
+
TransactionReversed: "transaction_reversed",
|
|
490
|
+
CreditIssuerUnavailable: "credit_issuer_unavailable",
|
|
491
|
+
PinCryptographicErrorFound: "pin_cryptographic_error_found",
|
|
492
|
+
NegativeOnlineCamResult: "negative_online_cam_result",
|
|
493
|
+
ViolationOfLaw: "violation_of_law",
|
|
494
|
+
ForceStip: "force_stip",
|
|
495
|
+
CashServiceNotAvailable: "cash_service_not_available",
|
|
496
|
+
CashbackRequestExceedsIssuerLimit: "cashback_request_exceeds_issuer_limit",
|
|
497
|
+
DeclineForCvv2Failure: "decline_for_cvv2_failure",
|
|
498
|
+
TransactionAmountExceedsPreAuthorizedAmount: "transaction_amount_exceeds_pre_authorized_amount",
|
|
499
|
+
InvalidBillerInformation: "invalid_biller_information",
|
|
500
|
+
PinChangeUnblockRequestDeclined: "pin_change_unblock_request_declined",
|
|
501
|
+
UnsafePin: "unsafe_pin",
|
|
502
|
+
CardAuthenticationFailed: "card_authentication_failed",
|
|
503
|
+
StopPaymentOrder: "stop_payment_order",
|
|
504
|
+
RevocationOfAuthorization: "revocation_of_authorization",
|
|
505
|
+
RevocationOfAllAuthorizations: "revocation_of_all_authorizations",
|
|
506
|
+
ForwardToIssuerXa: "forward_to_issuer_xa",
|
|
507
|
+
ForwardToIssuerXd: "forward_to_issuer_xd",
|
|
508
|
+
UnableToGoOnline: "unable_to_go_online",
|
|
509
|
+
AdditionalCustomerAuthenticationRequired: "additional_customer_authentication_required",
|
|
510
|
+
MerchantIdNotFound: "merchant_id_not_found",
|
|
511
|
+
MerchantAccountClosed: "merchant_account_closed",
|
|
512
|
+
TerminalIdNotFound: "terminal_id_not_found",
|
|
513
|
+
TerminalClosed: "terminal_closed",
|
|
514
|
+
InvalidCategoryCode: "invalid_category_code",
|
|
515
|
+
InvalidCurrency: "invalid_currency",
|
|
516
|
+
MissingCvv2Cvc2: "missing_cvv2_cvc2",
|
|
517
|
+
Cvv2NotAllowed: "cvv2_not_allowed",
|
|
518
|
+
MerchantNotRegisteredVbv: "merchant_not_registered_vbv",
|
|
519
|
+
MerchantNotRegisteredForAmex: "merchant_not_registered_for_amex",
|
|
520
|
+
TransactionNotPermittedAtTerminal: "transaction_not_permitted_at_terminal",
|
|
521
|
+
AgreementTerminalNotRelated: "agreement_terminal_not_related",
|
|
522
|
+
InvalidProcessorId: "invalid_processor_id",
|
|
523
|
+
InvalidMerchantData: "invalid_merchant_data",
|
|
524
|
+
SubMerchantAccountClosed: "sub_merchant_account_closed",
|
|
525
|
+
TerminalBusy: "terminal_busy",
|
|
526
|
+
TerminalUnreachable: "terminal_unreachable",
|
|
527
|
+
ServiceFailed: "service_failed",
|
|
528
|
+
InvalidOperation: "invalid_operation",
|
|
529
|
+
AuthorizationError: "authorization_error",
|
|
530
|
+
LoginFailedWithoutReason: "login_failed_without_reason",
|
|
531
|
+
InvalidRetailer: "invalid_retailer",
|
|
532
|
+
CardDoesNotExist: "card_does_not_exist",
|
|
533
|
+
CardIsBlocked: "card_is_blocked",
|
|
534
|
+
InvalidCardId: "invalid_card_id",
|
|
535
|
+
CardIsTransferred: "card_is_transferred",
|
|
536
|
+
CardIsNotActive: "card_is_not_active",
|
|
537
|
+
IncorrectPurchaseValue: "incorrect_purchase_value",
|
|
538
|
+
CardNotAvailable: "card_not_available",
|
|
539
|
+
WrongCurrency: "wrong_currency",
|
|
540
|
+
LoginFailedUnknownUser: "login_failed_unknown_user",
|
|
541
|
+
LoginFailedInvalidPassword: "login_failed_invalid_password",
|
|
542
|
+
InvalidEanCode: "invalid_ean_code",
|
|
543
|
+
};
|
|
544
|
+
/**
|
|
545
|
+
* The card's target audience, if known.
|
|
546
|
+
*/
|
|
547
|
+
exports.UpdatePaymentCardAudition = {
|
|
548
|
+
Consumer: "consumer",
|
|
549
|
+
Business: "business",
|
|
550
|
+
};
|
|
551
|
+
/**
|
|
552
|
+
* The card's label, if known.
|
|
553
|
+
*/
|
|
554
|
+
exports.UpdatePaymentCardLabel = {
|
|
555
|
+
AmericanExpress: "American Express",
|
|
556
|
+
CartaSi: "Carta Si",
|
|
557
|
+
CarteBleue: "Carte Bleue",
|
|
558
|
+
Dankort: "Dankort",
|
|
559
|
+
DinersClub: "Diners Club",
|
|
560
|
+
Discover: "Discover",
|
|
561
|
+
Jcb: "JCB",
|
|
562
|
+
Laser: "Laser",
|
|
563
|
+
Maestro: "Maestro",
|
|
564
|
+
Mastercard: "Mastercard",
|
|
565
|
+
Unionpay: "Unionpay",
|
|
566
|
+
Visa: "Visa",
|
|
567
|
+
Vpay: "Vpay",
|
|
568
|
+
};
|
|
569
|
+
/**
|
|
570
|
+
* The card type.
|
|
571
|
+
*/
|
|
572
|
+
exports.UpdatePaymentCardFunding = {
|
|
573
|
+
Debit: "debit",
|
|
574
|
+
Credit: "credit",
|
|
575
|
+
Prepaid: "prepaid",
|
|
576
|
+
DeferredDebit: "deferred-debit",
|
|
577
|
+
};
|
|
578
|
+
/**
|
|
579
|
+
* The level of security applied during card processing.
|
|
580
|
+
*/
|
|
581
|
+
exports.UpdatePaymentCardSecurity = {
|
|
582
|
+
Normal: "normal",
|
|
583
|
+
Threedsecure: "3dsecure",
|
|
584
|
+
};
|
|
585
|
+
/**
|
|
586
|
+
* The applicable card fee region.
|
|
587
|
+
*/
|
|
588
|
+
exports.UpdatePaymentFeeRegion = {
|
|
589
|
+
AmericanExpress: "american-express",
|
|
590
|
+
AmexIntraEea: "amex-intra-eea",
|
|
591
|
+
CarteBancaire: "carte-bancaire",
|
|
592
|
+
IntraEu: "intra-eu",
|
|
593
|
+
IntraEuCorporate: "intra-eu-corporate",
|
|
594
|
+
Domestic: "domestic",
|
|
595
|
+
Maestro: "maestro",
|
|
596
|
+
Other: "other",
|
|
597
|
+
Inter: "inter",
|
|
598
|
+
IntraEea: "intra-eea",
|
|
599
|
+
};
|
|
600
|
+
/**
|
|
601
|
+
* A failure code to help understand why the payment failed.
|
|
602
|
+
*/
|
|
603
|
+
exports.UpdatePaymentFailureReason = {
|
|
604
|
+
AuthenticationAbandoned: "authentication_abandoned",
|
|
605
|
+
AuthenticationFailed: "authentication_failed",
|
|
606
|
+
AuthenticationRequired: "authentication_required",
|
|
607
|
+
AuthenticationUnavailableAcs: "authentication_unavailable_acs",
|
|
608
|
+
CardDeclined: "card_declined",
|
|
609
|
+
CardExpired: "card_expired",
|
|
610
|
+
InactiveCard: "inactive_card",
|
|
611
|
+
InsufficientFunds: "insufficient_funds",
|
|
612
|
+
InvalidCvv: "invalid_cvv",
|
|
613
|
+
InvalidCardHolderName: "invalid_card_holder_name",
|
|
614
|
+
InvalidCardNumber: "invalid_card_number",
|
|
615
|
+
InvalidCardType: "invalid_card_type",
|
|
616
|
+
PossibleFraud: "possible_fraud",
|
|
617
|
+
RefusedByIssuer: "refused_by_issuer",
|
|
618
|
+
UnknownReason: "unknown_reason",
|
|
619
|
+
};
|
|
620
|
+
/**
|
|
621
|
+
* The wallet used when creating the payment.
|
|
622
|
+
*/
|
|
623
|
+
exports.UpdatePaymentWallet = {
|
|
624
|
+
Applepay: "applepay",
|
|
625
|
+
};
|
|
626
|
+
/**
|
|
627
|
+
* Indicates to what extent the payment is eligible for PayPal's Seller Protection. Only available for PayPal
|
|
628
|
+
*
|
|
629
|
+
* @remarks
|
|
630
|
+
* payments, and if the information is made available by PayPal.
|
|
631
|
+
*/
|
|
632
|
+
exports.UpdatePaymentSellerProtection = {
|
|
633
|
+
Eligible: "Eligible",
|
|
634
|
+
Ineligible: "Ineligible",
|
|
635
|
+
PartiallyEligibleINROnly: "Partially Eligible - INR Only",
|
|
636
|
+
PartiallyEligibleUnauthOnly: "Partially Eligible - Unauth Only",
|
|
637
|
+
PartiallyEligible: "Partially Eligible",
|
|
638
|
+
None: "None",
|
|
639
|
+
Active: "Active",
|
|
640
|
+
FraudControlUnauthPremiumEligible: "Fraud Control - Unauth Premium Eligible",
|
|
641
|
+
};
|
|
642
|
+
/**
|
|
643
|
+
* The method by which the card was read by the terminal.
|
|
644
|
+
*/
|
|
645
|
+
exports.UpdatePaymentCardReadMethod = {
|
|
646
|
+
Chip: "chip",
|
|
647
|
+
MagneticStripe: "magnetic-stripe",
|
|
648
|
+
NearFieldCommunication: "near-field-communication",
|
|
649
|
+
Contactless: "contactless",
|
|
650
|
+
Moto: "moto",
|
|
651
|
+
};
|
|
652
|
+
/**
|
|
653
|
+
* The method used to verify the cardholder's identity.
|
|
654
|
+
*/
|
|
655
|
+
exports.UpdatePaymentCardVerificationMethod = {
|
|
656
|
+
NoCvmRequired: "no-cvm-required",
|
|
657
|
+
OnlinePin: "online-pin",
|
|
658
|
+
OfflinePin: "offline-pin",
|
|
659
|
+
ConsumerDevice: "consumer-device",
|
|
660
|
+
Signature: "signature",
|
|
661
|
+
SignatureAndOnlinePin: "signature-and-online-pin",
|
|
662
|
+
OnlinePinAndSignature: "online-pin-and-signature",
|
|
663
|
+
None: "none",
|
|
664
|
+
Failed: "failed",
|
|
665
|
+
};
|
|
407
666
|
/** @internal */
|
|
408
667
|
exports.UpdatePaymentMetadataRequest$inboundSchema = z.union([z.string(), z.record(z.any()), z.array(z.string())]);
|
|
409
668
|
/** @internal */
|
|
@@ -1627,28 +1886,43 @@ var UpdatePaymentSequenceType$;
|
|
|
1627
1886
|
UpdatePaymentSequenceType$.outboundSchema = exports.UpdatePaymentSequenceType$outboundSchema;
|
|
1628
1887
|
})(UpdatePaymentSequenceType$ || (exports.UpdatePaymentSequenceType$ = UpdatePaymentSequenceType$ = {}));
|
|
1629
1888
|
/** @internal */
|
|
1630
|
-
exports.
|
|
1889
|
+
exports.UpdatePaymentStatusEnum$inboundSchema = z.nativeEnum(exports.UpdatePaymentStatusEnum);
|
|
1890
|
+
/** @internal */
|
|
1891
|
+
exports.UpdatePaymentStatusEnum$outboundSchema = exports.UpdatePaymentStatusEnum$inboundSchema;
|
|
1892
|
+
/**
|
|
1893
|
+
* @internal
|
|
1894
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1895
|
+
*/
|
|
1896
|
+
var UpdatePaymentStatusEnum$;
|
|
1897
|
+
(function (UpdatePaymentStatusEnum$) {
|
|
1898
|
+
/** @deprecated use `UpdatePaymentStatusEnum$inboundSchema` instead. */
|
|
1899
|
+
UpdatePaymentStatusEnum$.inboundSchema = exports.UpdatePaymentStatusEnum$inboundSchema;
|
|
1900
|
+
/** @deprecated use `UpdatePaymentStatusEnum$outboundSchema` instead. */
|
|
1901
|
+
UpdatePaymentStatusEnum$.outboundSchema = exports.UpdatePaymentStatusEnum$outboundSchema;
|
|
1902
|
+
})(UpdatePaymentStatusEnum$ || (exports.UpdatePaymentStatusEnum$ = UpdatePaymentStatusEnum$ = {}));
|
|
1903
|
+
/** @internal */
|
|
1904
|
+
exports.UpdatePaymentCode$inboundSchema = z.nativeEnum(exports.UpdatePaymentCode);
|
|
1631
1905
|
/** @internal */
|
|
1632
|
-
exports.
|
|
1906
|
+
exports.UpdatePaymentCode$outboundSchema = exports.UpdatePaymentCode$inboundSchema;
|
|
1633
1907
|
/**
|
|
1634
1908
|
* @internal
|
|
1635
1909
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1636
1910
|
*/
|
|
1637
|
-
var
|
|
1638
|
-
(function (
|
|
1639
|
-
/** @deprecated use `
|
|
1640
|
-
|
|
1641
|
-
/** @deprecated use `
|
|
1642
|
-
|
|
1643
|
-
})(
|
|
1911
|
+
var UpdatePaymentCode$;
|
|
1912
|
+
(function (UpdatePaymentCode$) {
|
|
1913
|
+
/** @deprecated use `UpdatePaymentCode$inboundSchema` instead. */
|
|
1914
|
+
UpdatePaymentCode$.inboundSchema = exports.UpdatePaymentCode$inboundSchema;
|
|
1915
|
+
/** @deprecated use `UpdatePaymentCode$outboundSchema` instead. */
|
|
1916
|
+
UpdatePaymentCode$.outboundSchema = exports.UpdatePaymentCode$outboundSchema;
|
|
1917
|
+
})(UpdatePaymentCode$ || (exports.UpdatePaymentCode$ = UpdatePaymentCode$ = {}));
|
|
1644
1918
|
/** @internal */
|
|
1645
1919
|
exports.UpdatePaymentStatusReason$inboundSchema = z.object({
|
|
1646
|
-
code:
|
|
1920
|
+
code: exports.UpdatePaymentCode$inboundSchema,
|
|
1647
1921
|
message: z.string(),
|
|
1648
1922
|
});
|
|
1649
1923
|
/** @internal */
|
|
1650
1924
|
exports.UpdatePaymentStatusReason$outboundSchema = z.object({
|
|
1651
|
-
code:
|
|
1925
|
+
code: exports.UpdatePaymentCode$outboundSchema,
|
|
1652
1926
|
message: z.string(),
|
|
1653
1927
|
});
|
|
1654
1928
|
/**
|
|
@@ -1669,6 +1943,406 @@ function updatePaymentStatusReasonFromJSON(jsonString) {
|
|
|
1669
1943
|
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.UpdatePaymentStatusReason$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UpdatePaymentStatusReason' from JSON`);
|
|
1670
1944
|
}
|
|
1671
1945
|
/** @internal */
|
|
1946
|
+
exports.UpdatePaymentCardAudition$inboundSchema = z.nativeEnum(exports.UpdatePaymentCardAudition);
|
|
1947
|
+
/** @internal */
|
|
1948
|
+
exports.UpdatePaymentCardAudition$outboundSchema = exports.UpdatePaymentCardAudition$inboundSchema;
|
|
1949
|
+
/**
|
|
1950
|
+
* @internal
|
|
1951
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1952
|
+
*/
|
|
1953
|
+
var UpdatePaymentCardAudition$;
|
|
1954
|
+
(function (UpdatePaymentCardAudition$) {
|
|
1955
|
+
/** @deprecated use `UpdatePaymentCardAudition$inboundSchema` instead. */
|
|
1956
|
+
UpdatePaymentCardAudition$.inboundSchema = exports.UpdatePaymentCardAudition$inboundSchema;
|
|
1957
|
+
/** @deprecated use `UpdatePaymentCardAudition$outboundSchema` instead. */
|
|
1958
|
+
UpdatePaymentCardAudition$.outboundSchema = exports.UpdatePaymentCardAudition$outboundSchema;
|
|
1959
|
+
})(UpdatePaymentCardAudition$ || (exports.UpdatePaymentCardAudition$ = UpdatePaymentCardAudition$ = {}));
|
|
1960
|
+
/** @internal */
|
|
1961
|
+
exports.UpdatePaymentCardLabel$inboundSchema = z.nativeEnum(exports.UpdatePaymentCardLabel);
|
|
1962
|
+
/** @internal */
|
|
1963
|
+
exports.UpdatePaymentCardLabel$outboundSchema = exports.UpdatePaymentCardLabel$inboundSchema;
|
|
1964
|
+
/**
|
|
1965
|
+
* @internal
|
|
1966
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1967
|
+
*/
|
|
1968
|
+
var UpdatePaymentCardLabel$;
|
|
1969
|
+
(function (UpdatePaymentCardLabel$) {
|
|
1970
|
+
/** @deprecated use `UpdatePaymentCardLabel$inboundSchema` instead. */
|
|
1971
|
+
UpdatePaymentCardLabel$.inboundSchema = exports.UpdatePaymentCardLabel$inboundSchema;
|
|
1972
|
+
/** @deprecated use `UpdatePaymentCardLabel$outboundSchema` instead. */
|
|
1973
|
+
UpdatePaymentCardLabel$.outboundSchema = exports.UpdatePaymentCardLabel$outboundSchema;
|
|
1974
|
+
})(UpdatePaymentCardLabel$ || (exports.UpdatePaymentCardLabel$ = UpdatePaymentCardLabel$ = {}));
|
|
1975
|
+
/** @internal */
|
|
1976
|
+
exports.UpdatePaymentCardFunding$inboundSchema = z.nativeEnum(exports.UpdatePaymentCardFunding);
|
|
1977
|
+
/** @internal */
|
|
1978
|
+
exports.UpdatePaymentCardFunding$outboundSchema = exports.UpdatePaymentCardFunding$inboundSchema;
|
|
1979
|
+
/**
|
|
1980
|
+
* @internal
|
|
1981
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1982
|
+
*/
|
|
1983
|
+
var UpdatePaymentCardFunding$;
|
|
1984
|
+
(function (UpdatePaymentCardFunding$) {
|
|
1985
|
+
/** @deprecated use `UpdatePaymentCardFunding$inboundSchema` instead. */
|
|
1986
|
+
UpdatePaymentCardFunding$.inboundSchema = exports.UpdatePaymentCardFunding$inboundSchema;
|
|
1987
|
+
/** @deprecated use `UpdatePaymentCardFunding$outboundSchema` instead. */
|
|
1988
|
+
UpdatePaymentCardFunding$.outboundSchema = exports.UpdatePaymentCardFunding$outboundSchema;
|
|
1989
|
+
})(UpdatePaymentCardFunding$ || (exports.UpdatePaymentCardFunding$ = UpdatePaymentCardFunding$ = {}));
|
|
1990
|
+
/** @internal */
|
|
1991
|
+
exports.UpdatePaymentCardSecurity$inboundSchema = z.nativeEnum(exports.UpdatePaymentCardSecurity);
|
|
1992
|
+
/** @internal */
|
|
1993
|
+
exports.UpdatePaymentCardSecurity$outboundSchema = exports.UpdatePaymentCardSecurity$inboundSchema;
|
|
1994
|
+
/**
|
|
1995
|
+
* @internal
|
|
1996
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1997
|
+
*/
|
|
1998
|
+
var UpdatePaymentCardSecurity$;
|
|
1999
|
+
(function (UpdatePaymentCardSecurity$) {
|
|
2000
|
+
/** @deprecated use `UpdatePaymentCardSecurity$inboundSchema` instead. */
|
|
2001
|
+
UpdatePaymentCardSecurity$.inboundSchema = exports.UpdatePaymentCardSecurity$inboundSchema;
|
|
2002
|
+
/** @deprecated use `UpdatePaymentCardSecurity$outboundSchema` instead. */
|
|
2003
|
+
UpdatePaymentCardSecurity$.outboundSchema = exports.UpdatePaymentCardSecurity$outboundSchema;
|
|
2004
|
+
})(UpdatePaymentCardSecurity$ || (exports.UpdatePaymentCardSecurity$ = UpdatePaymentCardSecurity$ = {}));
|
|
2005
|
+
/** @internal */
|
|
2006
|
+
exports.UpdatePaymentFeeRegion$inboundSchema = z.nativeEnum(exports.UpdatePaymentFeeRegion);
|
|
2007
|
+
/** @internal */
|
|
2008
|
+
exports.UpdatePaymentFeeRegion$outboundSchema = exports.UpdatePaymentFeeRegion$inboundSchema;
|
|
2009
|
+
/**
|
|
2010
|
+
* @internal
|
|
2011
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2012
|
+
*/
|
|
2013
|
+
var UpdatePaymentFeeRegion$;
|
|
2014
|
+
(function (UpdatePaymentFeeRegion$) {
|
|
2015
|
+
/** @deprecated use `UpdatePaymentFeeRegion$inboundSchema` instead. */
|
|
2016
|
+
UpdatePaymentFeeRegion$.inboundSchema = exports.UpdatePaymentFeeRegion$inboundSchema;
|
|
2017
|
+
/** @deprecated use `UpdatePaymentFeeRegion$outboundSchema` instead. */
|
|
2018
|
+
UpdatePaymentFeeRegion$.outboundSchema = exports.UpdatePaymentFeeRegion$outboundSchema;
|
|
2019
|
+
})(UpdatePaymentFeeRegion$ || (exports.UpdatePaymentFeeRegion$ = UpdatePaymentFeeRegion$ = {}));
|
|
2020
|
+
/** @internal */
|
|
2021
|
+
exports.UpdatePaymentFailureReason$inboundSchema = z.nativeEnum(exports.UpdatePaymentFailureReason);
|
|
2022
|
+
/** @internal */
|
|
2023
|
+
exports.UpdatePaymentFailureReason$outboundSchema = exports.UpdatePaymentFailureReason$inboundSchema;
|
|
2024
|
+
/**
|
|
2025
|
+
* @internal
|
|
2026
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2027
|
+
*/
|
|
2028
|
+
var UpdatePaymentFailureReason$;
|
|
2029
|
+
(function (UpdatePaymentFailureReason$) {
|
|
2030
|
+
/** @deprecated use `UpdatePaymentFailureReason$inboundSchema` instead. */
|
|
2031
|
+
UpdatePaymentFailureReason$.inboundSchema = exports.UpdatePaymentFailureReason$inboundSchema;
|
|
2032
|
+
/** @deprecated use `UpdatePaymentFailureReason$outboundSchema` instead. */
|
|
2033
|
+
UpdatePaymentFailureReason$.outboundSchema = exports.UpdatePaymentFailureReason$outboundSchema;
|
|
2034
|
+
})(UpdatePaymentFailureReason$ || (exports.UpdatePaymentFailureReason$ = UpdatePaymentFailureReason$ = {}));
|
|
2035
|
+
/** @internal */
|
|
2036
|
+
exports.UpdatePaymentWallet$inboundSchema = z.nativeEnum(exports.UpdatePaymentWallet);
|
|
2037
|
+
/** @internal */
|
|
2038
|
+
exports.UpdatePaymentWallet$outboundSchema = exports.UpdatePaymentWallet$inboundSchema;
|
|
2039
|
+
/**
|
|
2040
|
+
* @internal
|
|
2041
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2042
|
+
*/
|
|
2043
|
+
var UpdatePaymentWallet$;
|
|
2044
|
+
(function (UpdatePaymentWallet$) {
|
|
2045
|
+
/** @deprecated use `UpdatePaymentWallet$inboundSchema` instead. */
|
|
2046
|
+
UpdatePaymentWallet$.inboundSchema = exports.UpdatePaymentWallet$inboundSchema;
|
|
2047
|
+
/** @deprecated use `UpdatePaymentWallet$outboundSchema` instead. */
|
|
2048
|
+
UpdatePaymentWallet$.outboundSchema = exports.UpdatePaymentWallet$outboundSchema;
|
|
2049
|
+
})(UpdatePaymentWallet$ || (exports.UpdatePaymentWallet$ = UpdatePaymentWallet$ = {}));
|
|
2050
|
+
/** @internal */
|
|
2051
|
+
exports.UpdatePaymentSellerProtection$inboundSchema = z.nativeEnum(exports.UpdatePaymentSellerProtection);
|
|
2052
|
+
/** @internal */
|
|
2053
|
+
exports.UpdatePaymentSellerProtection$outboundSchema = exports.UpdatePaymentSellerProtection$inboundSchema;
|
|
2054
|
+
/**
|
|
2055
|
+
* @internal
|
|
2056
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2057
|
+
*/
|
|
2058
|
+
var UpdatePaymentSellerProtection$;
|
|
2059
|
+
(function (UpdatePaymentSellerProtection$) {
|
|
2060
|
+
/** @deprecated use `UpdatePaymentSellerProtection$inboundSchema` instead. */
|
|
2061
|
+
UpdatePaymentSellerProtection$.inboundSchema = exports.UpdatePaymentSellerProtection$inboundSchema;
|
|
2062
|
+
/** @deprecated use `UpdatePaymentSellerProtection$outboundSchema` instead. */
|
|
2063
|
+
UpdatePaymentSellerProtection$.outboundSchema = exports.UpdatePaymentSellerProtection$outboundSchema;
|
|
2064
|
+
})(UpdatePaymentSellerProtection$ || (exports.UpdatePaymentSellerProtection$ = UpdatePaymentSellerProtection$ = {}));
|
|
2065
|
+
/** @internal */
|
|
2066
|
+
exports.UpdatePaymentPaypalFee$inboundSchema = z.object({
|
|
2067
|
+
currency: z.string(),
|
|
2068
|
+
value: z.string(),
|
|
2069
|
+
});
|
|
2070
|
+
/** @internal */
|
|
2071
|
+
exports.UpdatePaymentPaypalFee$outboundSchema = z.object({
|
|
2072
|
+
currency: z.string(),
|
|
2073
|
+
value: z.string(),
|
|
2074
|
+
});
|
|
2075
|
+
/**
|
|
2076
|
+
* @internal
|
|
2077
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2078
|
+
*/
|
|
2079
|
+
var UpdatePaymentPaypalFee$;
|
|
2080
|
+
(function (UpdatePaymentPaypalFee$) {
|
|
2081
|
+
/** @deprecated use `UpdatePaymentPaypalFee$inboundSchema` instead. */
|
|
2082
|
+
UpdatePaymentPaypalFee$.inboundSchema = exports.UpdatePaymentPaypalFee$inboundSchema;
|
|
2083
|
+
/** @deprecated use `UpdatePaymentPaypalFee$outboundSchema` instead. */
|
|
2084
|
+
UpdatePaymentPaypalFee$.outboundSchema = exports.UpdatePaymentPaypalFee$outboundSchema;
|
|
2085
|
+
})(UpdatePaymentPaypalFee$ || (exports.UpdatePaymentPaypalFee$ = UpdatePaymentPaypalFee$ = {}));
|
|
2086
|
+
function updatePaymentPaypalFeeToJSON(updatePaymentPaypalFee) {
|
|
2087
|
+
return JSON.stringify(exports.UpdatePaymentPaypalFee$outboundSchema.parse(updatePaymentPaypalFee));
|
|
2088
|
+
}
|
|
2089
|
+
function updatePaymentPaypalFeeFromJSON(jsonString) {
|
|
2090
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.UpdatePaymentPaypalFee$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UpdatePaymentPaypalFee' from JSON`);
|
|
2091
|
+
}
|
|
2092
|
+
/** @internal */
|
|
2093
|
+
exports.UpdatePaymentCardReadMethod$inboundSchema = z.nativeEnum(exports.UpdatePaymentCardReadMethod);
|
|
2094
|
+
/** @internal */
|
|
2095
|
+
exports.UpdatePaymentCardReadMethod$outboundSchema = exports.UpdatePaymentCardReadMethod$inboundSchema;
|
|
2096
|
+
/**
|
|
2097
|
+
* @internal
|
|
2098
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2099
|
+
*/
|
|
2100
|
+
var UpdatePaymentCardReadMethod$;
|
|
2101
|
+
(function (UpdatePaymentCardReadMethod$) {
|
|
2102
|
+
/** @deprecated use `UpdatePaymentCardReadMethod$inboundSchema` instead. */
|
|
2103
|
+
UpdatePaymentCardReadMethod$.inboundSchema = exports.UpdatePaymentCardReadMethod$inboundSchema;
|
|
2104
|
+
/** @deprecated use `UpdatePaymentCardReadMethod$outboundSchema` instead. */
|
|
2105
|
+
UpdatePaymentCardReadMethod$.outboundSchema = exports.UpdatePaymentCardReadMethod$outboundSchema;
|
|
2106
|
+
})(UpdatePaymentCardReadMethod$ || (exports.UpdatePaymentCardReadMethod$ = UpdatePaymentCardReadMethod$ = {}));
|
|
2107
|
+
/** @internal */
|
|
2108
|
+
exports.UpdatePaymentCardVerificationMethod$inboundSchema = z.nativeEnum(exports.UpdatePaymentCardVerificationMethod);
|
|
2109
|
+
/** @internal */
|
|
2110
|
+
exports.UpdatePaymentCardVerificationMethod$outboundSchema = exports.UpdatePaymentCardVerificationMethod$inboundSchema;
|
|
2111
|
+
/**
|
|
2112
|
+
* @internal
|
|
2113
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2114
|
+
*/
|
|
2115
|
+
var UpdatePaymentCardVerificationMethod$;
|
|
2116
|
+
(function (UpdatePaymentCardVerificationMethod$) {
|
|
2117
|
+
/** @deprecated use `UpdatePaymentCardVerificationMethod$inboundSchema` instead. */
|
|
2118
|
+
UpdatePaymentCardVerificationMethod$.inboundSchema = exports.UpdatePaymentCardVerificationMethod$inboundSchema;
|
|
2119
|
+
/** @deprecated use `UpdatePaymentCardVerificationMethod$outboundSchema` instead. */
|
|
2120
|
+
UpdatePaymentCardVerificationMethod$.outboundSchema = exports.UpdatePaymentCardVerificationMethod$outboundSchema;
|
|
2121
|
+
})(UpdatePaymentCardVerificationMethod$ || (exports.UpdatePaymentCardVerificationMethod$ = UpdatePaymentCardVerificationMethod$ = {}));
|
|
2122
|
+
/** @internal */
|
|
2123
|
+
exports.UpdatePaymentReceipt$inboundSchema = z.object({
|
|
2124
|
+
authorizationCode: z.nullable(z.string()).optional(),
|
|
2125
|
+
applicationIdentifier: z.nullable(z.string()).optional(),
|
|
2126
|
+
cardReadMethod: z.nullable(exports.UpdatePaymentCardReadMethod$inboundSchema)
|
|
2127
|
+
.optional(),
|
|
2128
|
+
cardVerificationMethod: z.nullable(exports.UpdatePaymentCardVerificationMethod$inboundSchema).optional(),
|
|
2129
|
+
});
|
|
2130
|
+
/** @internal */
|
|
2131
|
+
exports.UpdatePaymentReceipt$outboundSchema = z.object({
|
|
2132
|
+
authorizationCode: z.nullable(z.string()).optional(),
|
|
2133
|
+
applicationIdentifier: z.nullable(z.string()).optional(),
|
|
2134
|
+
cardReadMethod: z.nullable(exports.UpdatePaymentCardReadMethod$outboundSchema)
|
|
2135
|
+
.optional(),
|
|
2136
|
+
cardVerificationMethod: z.nullable(exports.UpdatePaymentCardVerificationMethod$outboundSchema).optional(),
|
|
2137
|
+
});
|
|
2138
|
+
/**
|
|
2139
|
+
* @internal
|
|
2140
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2141
|
+
*/
|
|
2142
|
+
var UpdatePaymentReceipt$;
|
|
2143
|
+
(function (UpdatePaymentReceipt$) {
|
|
2144
|
+
/** @deprecated use `UpdatePaymentReceipt$inboundSchema` instead. */
|
|
2145
|
+
UpdatePaymentReceipt$.inboundSchema = exports.UpdatePaymentReceipt$inboundSchema;
|
|
2146
|
+
/** @deprecated use `UpdatePaymentReceipt$outboundSchema` instead. */
|
|
2147
|
+
UpdatePaymentReceipt$.outboundSchema = exports.UpdatePaymentReceipt$outboundSchema;
|
|
2148
|
+
})(UpdatePaymentReceipt$ || (exports.UpdatePaymentReceipt$ = UpdatePaymentReceipt$ = {}));
|
|
2149
|
+
function updatePaymentReceiptToJSON(updatePaymentReceipt) {
|
|
2150
|
+
return JSON.stringify(exports.UpdatePaymentReceipt$outboundSchema.parse(updatePaymentReceipt));
|
|
2151
|
+
}
|
|
2152
|
+
function updatePaymentReceiptFromJSON(jsonString) {
|
|
2153
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.UpdatePaymentReceipt$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UpdatePaymentReceipt' from JSON`);
|
|
2154
|
+
}
|
|
2155
|
+
/** @internal */
|
|
2156
|
+
exports.UpdatePaymentQrCode$inboundSchema = z.object({
|
|
2157
|
+
height: z.number().int().optional(),
|
|
2158
|
+
width: z.number().int().optional(),
|
|
2159
|
+
src: z.string().optional(),
|
|
2160
|
+
});
|
|
2161
|
+
/** @internal */
|
|
2162
|
+
exports.UpdatePaymentQrCode$outboundSchema = z.object({
|
|
2163
|
+
height: z.number().int().optional(),
|
|
2164
|
+
width: z.number().int().optional(),
|
|
2165
|
+
src: z.string().optional(),
|
|
2166
|
+
});
|
|
2167
|
+
/**
|
|
2168
|
+
* @internal
|
|
2169
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2170
|
+
*/
|
|
2171
|
+
var UpdatePaymentQrCode$;
|
|
2172
|
+
(function (UpdatePaymentQrCode$) {
|
|
2173
|
+
/** @deprecated use `UpdatePaymentQrCode$inboundSchema` instead. */
|
|
2174
|
+
UpdatePaymentQrCode$.inboundSchema = exports.UpdatePaymentQrCode$inboundSchema;
|
|
2175
|
+
/** @deprecated use `UpdatePaymentQrCode$outboundSchema` instead. */
|
|
2176
|
+
UpdatePaymentQrCode$.outboundSchema = exports.UpdatePaymentQrCode$outboundSchema;
|
|
2177
|
+
})(UpdatePaymentQrCode$ || (exports.UpdatePaymentQrCode$ = UpdatePaymentQrCode$ = {}));
|
|
2178
|
+
function updatePaymentQrCodeToJSON(updatePaymentQrCode) {
|
|
2179
|
+
return JSON.stringify(exports.UpdatePaymentQrCode$outboundSchema.parse(updatePaymentQrCode));
|
|
2180
|
+
}
|
|
2181
|
+
function updatePaymentQrCodeFromJSON(jsonString) {
|
|
2182
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.UpdatePaymentQrCode$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UpdatePaymentQrCode' from JSON`);
|
|
2183
|
+
}
|
|
2184
|
+
/** @internal */
|
|
2185
|
+
exports.UpdatePaymentRemainderAmount$inboundSchema = z.object({
|
|
2186
|
+
currency: z.string(),
|
|
2187
|
+
value: z.string(),
|
|
2188
|
+
});
|
|
2189
|
+
/** @internal */
|
|
2190
|
+
exports.UpdatePaymentRemainderAmount$outboundSchema = z.object({
|
|
2191
|
+
currency: z.string(),
|
|
2192
|
+
value: z.string(),
|
|
2193
|
+
});
|
|
2194
|
+
/**
|
|
2195
|
+
* @internal
|
|
2196
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2197
|
+
*/
|
|
2198
|
+
var UpdatePaymentRemainderAmount$;
|
|
2199
|
+
(function (UpdatePaymentRemainderAmount$) {
|
|
2200
|
+
/** @deprecated use `UpdatePaymentRemainderAmount$inboundSchema` instead. */
|
|
2201
|
+
UpdatePaymentRemainderAmount$.inboundSchema = exports.UpdatePaymentRemainderAmount$inboundSchema;
|
|
2202
|
+
/** @deprecated use `UpdatePaymentRemainderAmount$outboundSchema` instead. */
|
|
2203
|
+
UpdatePaymentRemainderAmount$.outboundSchema = exports.UpdatePaymentRemainderAmount$outboundSchema;
|
|
2204
|
+
})(UpdatePaymentRemainderAmount$ || (exports.UpdatePaymentRemainderAmount$ = UpdatePaymentRemainderAmount$ = {}));
|
|
2205
|
+
function updatePaymentRemainderAmountToJSON(updatePaymentRemainderAmount) {
|
|
2206
|
+
return JSON.stringify(exports.UpdatePaymentRemainderAmount$outboundSchema.parse(updatePaymentRemainderAmount));
|
|
2207
|
+
}
|
|
2208
|
+
function updatePaymentRemainderAmountFromJSON(jsonString) {
|
|
2209
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.UpdatePaymentRemainderAmount$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UpdatePaymentRemainderAmount' from JSON`);
|
|
2210
|
+
}
|
|
2211
|
+
/** @internal */
|
|
2212
|
+
exports.UpdatePaymentDetails$inboundSchema = z.object({
|
|
2213
|
+
consumerName: z.nullable(z.string()).optional(),
|
|
2214
|
+
consumerAccount: z.nullable(z.string()).optional(),
|
|
2215
|
+
consumerBic: z.nullable(z.string()).optional(),
|
|
2216
|
+
shippingAddress: z.nullable(z.record(z.any())).optional(),
|
|
2217
|
+
cardNumber: z.nullable(z.string()).optional(),
|
|
2218
|
+
bankName: z.string().optional(),
|
|
2219
|
+
bankAccount: z.string().optional(),
|
|
2220
|
+
bankBic: z.string().optional(),
|
|
2221
|
+
transferReference: z.nullable(z.string()).optional(),
|
|
2222
|
+
cardFingerprint: z.nullable(z.string()).optional(),
|
|
2223
|
+
cardHolder: z.nullable(z.string()).optional(),
|
|
2224
|
+
cardAudition: z.nullable(exports.UpdatePaymentCardAudition$inboundSchema).optional(),
|
|
2225
|
+
cardLabel: z.nullable(exports.UpdatePaymentCardLabel$inboundSchema).optional(),
|
|
2226
|
+
cardCountryCode: z.nullable(z.string()).optional(),
|
|
2227
|
+
cardExpiryDate: z.nullable(z.string()).optional(),
|
|
2228
|
+
cardFunding: z.nullable(exports.UpdatePaymentCardFunding$inboundSchema).optional(),
|
|
2229
|
+
cardSecurity: z.nullable(exports.UpdatePaymentCardSecurity$inboundSchema).optional(),
|
|
2230
|
+
feeRegion: z.nullable(exports.UpdatePaymentFeeRegion$inboundSchema).optional(),
|
|
2231
|
+
cardMaskedNumber: z.nullable(z.string()).optional(),
|
|
2232
|
+
card3dsEci: z.nullable(z.string()).optional(),
|
|
2233
|
+
cardBin: z.nullable(z.string()).optional(),
|
|
2234
|
+
cardIssuer: z.nullable(z.string()).optional(),
|
|
2235
|
+
failureReason: z.nullable(exports.UpdatePaymentFailureReason$inboundSchema)
|
|
2236
|
+
.optional(),
|
|
2237
|
+
failureMessage: z.nullable(z.string()).optional(),
|
|
2238
|
+
wallet: z.nullable(exports.UpdatePaymentWallet$inboundSchema).optional(),
|
|
2239
|
+
paypalReference: z.nullable(z.string()).optional(),
|
|
2240
|
+
paypalPayerId: z.nullable(z.string()).optional(),
|
|
2241
|
+
sellerProtection: z.nullable(exports.UpdatePaymentSellerProtection$inboundSchema)
|
|
2242
|
+
.optional(),
|
|
2243
|
+
paypalFee: z.nullable(z.lazy(() => exports.UpdatePaymentPaypalFee$inboundSchema))
|
|
2244
|
+
.optional(),
|
|
2245
|
+
customerReference: z.string().optional(),
|
|
2246
|
+
terminalId: z.string().optional(),
|
|
2247
|
+
maskedNumber: z.nullable(z.string()).optional(),
|
|
2248
|
+
receipt: z.lazy(() => exports.UpdatePaymentReceipt$inboundSchema).optional(),
|
|
2249
|
+
creditorIdentifier: z.nullable(z.string()).optional(),
|
|
2250
|
+
dueDate: z.nullable(z.string().transform(v => new rfcdate_js_1.RFCDate(v))).optional(),
|
|
2251
|
+
signatureDate: z.nullable(z.string().transform(v => new rfcdate_js_1.RFCDate(v)))
|
|
2252
|
+
.optional(),
|
|
2253
|
+
bankReasonCode: z.nullable(z.string()).optional(),
|
|
2254
|
+
bankReason: z.nullable(z.string()).optional(),
|
|
2255
|
+
endToEndIdentifier: z.nullable(z.string()).optional(),
|
|
2256
|
+
mandateReference: z.nullable(z.string()).optional(),
|
|
2257
|
+
batchReference: z.nullable(z.string()).optional(),
|
|
2258
|
+
fileReference: z.nullable(z.string()).optional(),
|
|
2259
|
+
qrCode: z.lazy(() => exports.UpdatePaymentQrCode$inboundSchema).optional(),
|
|
2260
|
+
voucherNumber: z.string().optional(),
|
|
2261
|
+
giftcards: z.array(z.record(z.any())).optional(),
|
|
2262
|
+
issuer: z.string().optional(),
|
|
2263
|
+
vouchers: z.array(z.record(z.any())).optional(),
|
|
2264
|
+
remainderAmount: z.lazy(() => exports.UpdatePaymentRemainderAmount$inboundSchema)
|
|
2265
|
+
.optional(),
|
|
2266
|
+
remainderMethod: z.string().optional(),
|
|
2267
|
+
remainderDetails: z.record(z.any()).optional(),
|
|
2268
|
+
});
|
|
2269
|
+
/** @internal */
|
|
2270
|
+
exports.UpdatePaymentDetails$outboundSchema = z.object({
|
|
2271
|
+
consumerName: z.nullable(z.string()).optional(),
|
|
2272
|
+
consumerAccount: z.nullable(z.string()).optional(),
|
|
2273
|
+
consumerBic: z.nullable(z.string()).optional(),
|
|
2274
|
+
shippingAddress: z.nullable(z.record(z.any())).optional(),
|
|
2275
|
+
cardNumber: z.nullable(z.string()).optional(),
|
|
2276
|
+
bankName: z.string().optional(),
|
|
2277
|
+
bankAccount: z.string().optional(),
|
|
2278
|
+
bankBic: z.string().optional(),
|
|
2279
|
+
transferReference: z.nullable(z.string()).optional(),
|
|
2280
|
+
cardFingerprint: z.nullable(z.string()).optional(),
|
|
2281
|
+
cardHolder: z.nullable(z.string()).optional(),
|
|
2282
|
+
cardAudition: z.nullable(exports.UpdatePaymentCardAudition$outboundSchema).optional(),
|
|
2283
|
+
cardLabel: z.nullable(exports.UpdatePaymentCardLabel$outboundSchema).optional(),
|
|
2284
|
+
cardCountryCode: z.nullable(z.string()).optional(),
|
|
2285
|
+
cardExpiryDate: z.nullable(z.string()).optional(),
|
|
2286
|
+
cardFunding: z.nullable(exports.UpdatePaymentCardFunding$outboundSchema).optional(),
|
|
2287
|
+
cardSecurity: z.nullable(exports.UpdatePaymentCardSecurity$outboundSchema).optional(),
|
|
2288
|
+
feeRegion: z.nullable(exports.UpdatePaymentFeeRegion$outboundSchema).optional(),
|
|
2289
|
+
cardMaskedNumber: z.nullable(z.string()).optional(),
|
|
2290
|
+
card3dsEci: z.nullable(z.string()).optional(),
|
|
2291
|
+
cardBin: z.nullable(z.string()).optional(),
|
|
2292
|
+
cardIssuer: z.nullable(z.string()).optional(),
|
|
2293
|
+
failureReason: z.nullable(exports.UpdatePaymentFailureReason$outboundSchema)
|
|
2294
|
+
.optional(),
|
|
2295
|
+
failureMessage: z.nullable(z.string()).optional(),
|
|
2296
|
+
wallet: z.nullable(exports.UpdatePaymentWallet$outboundSchema).optional(),
|
|
2297
|
+
paypalReference: z.nullable(z.string()).optional(),
|
|
2298
|
+
paypalPayerId: z.nullable(z.string()).optional(),
|
|
2299
|
+
sellerProtection: z.nullable(exports.UpdatePaymentSellerProtection$outboundSchema)
|
|
2300
|
+
.optional(),
|
|
2301
|
+
paypalFee: z.nullable(z.lazy(() => exports.UpdatePaymentPaypalFee$outboundSchema))
|
|
2302
|
+
.optional(),
|
|
2303
|
+
customerReference: z.string().optional(),
|
|
2304
|
+
terminalId: z.string().optional(),
|
|
2305
|
+
maskedNumber: z.nullable(z.string()).optional(),
|
|
2306
|
+
receipt: z.lazy(() => exports.UpdatePaymentReceipt$outboundSchema).optional(),
|
|
2307
|
+
creditorIdentifier: z.nullable(z.string()).optional(),
|
|
2308
|
+
dueDate: z.nullable(z.instanceof(rfcdate_js_1.RFCDate).transform(v => v.toString()))
|
|
2309
|
+
.optional(),
|
|
2310
|
+
signatureDate: z.nullable(z.instanceof(rfcdate_js_1.RFCDate).transform(v => v.toString()))
|
|
2311
|
+
.optional(),
|
|
2312
|
+
bankReasonCode: z.nullable(z.string()).optional(),
|
|
2313
|
+
bankReason: z.nullable(z.string()).optional(),
|
|
2314
|
+
endToEndIdentifier: z.nullable(z.string()).optional(),
|
|
2315
|
+
mandateReference: z.nullable(z.string()).optional(),
|
|
2316
|
+
batchReference: z.nullable(z.string()).optional(),
|
|
2317
|
+
fileReference: z.nullable(z.string()).optional(),
|
|
2318
|
+
qrCode: z.lazy(() => exports.UpdatePaymentQrCode$outboundSchema).optional(),
|
|
2319
|
+
voucherNumber: z.string().optional(),
|
|
2320
|
+
giftcards: z.array(z.record(z.any())).optional(),
|
|
2321
|
+
issuer: z.string().optional(),
|
|
2322
|
+
vouchers: z.array(z.record(z.any())).optional(),
|
|
2323
|
+
remainderAmount: z.lazy(() => exports.UpdatePaymentRemainderAmount$outboundSchema)
|
|
2324
|
+
.optional(),
|
|
2325
|
+
remainderMethod: z.string().optional(),
|
|
2326
|
+
remainderDetails: z.record(z.any()).optional(),
|
|
2327
|
+
});
|
|
2328
|
+
/**
|
|
2329
|
+
* @internal
|
|
2330
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2331
|
+
*/
|
|
2332
|
+
var UpdatePaymentDetails$;
|
|
2333
|
+
(function (UpdatePaymentDetails$) {
|
|
2334
|
+
/** @deprecated use `UpdatePaymentDetails$inboundSchema` instead. */
|
|
2335
|
+
UpdatePaymentDetails$.inboundSchema = exports.UpdatePaymentDetails$inboundSchema;
|
|
2336
|
+
/** @deprecated use `UpdatePaymentDetails$outboundSchema` instead. */
|
|
2337
|
+
UpdatePaymentDetails$.outboundSchema = exports.UpdatePaymentDetails$outboundSchema;
|
|
2338
|
+
})(UpdatePaymentDetails$ || (exports.UpdatePaymentDetails$ = UpdatePaymentDetails$ = {}));
|
|
2339
|
+
function updatePaymentDetailsToJSON(updatePaymentDetails) {
|
|
2340
|
+
return JSON.stringify(exports.UpdatePaymentDetails$outboundSchema.parse(updatePaymentDetails));
|
|
2341
|
+
}
|
|
2342
|
+
function updatePaymentDetailsFromJSON(jsonString) {
|
|
2343
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.UpdatePaymentDetails$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UpdatePaymentDetails' from JSON`);
|
|
2344
|
+
}
|
|
2345
|
+
/** @internal */
|
|
1672
2346
|
exports.UpdatePaymentSelf$inboundSchema = z.object({
|
|
1673
2347
|
href: z.string(),
|
|
1674
2348
|
type: z.string(),
|
|
@@ -2074,6 +2748,60 @@ function updatePaymentDocumentationFromJSON(jsonString) {
|
|
|
2074
2748
|
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.UpdatePaymentDocumentation$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UpdatePaymentDocumentation' from JSON`);
|
|
2075
2749
|
}
|
|
2076
2750
|
/** @internal */
|
|
2751
|
+
exports.UpdatePaymentLinksStatus$inboundSchema = z.object({
|
|
2752
|
+
href: z.string(),
|
|
2753
|
+
type: z.string(),
|
|
2754
|
+
});
|
|
2755
|
+
/** @internal */
|
|
2756
|
+
exports.UpdatePaymentLinksStatus$outboundSchema = z.object({
|
|
2757
|
+
href: z.string(),
|
|
2758
|
+
type: z.string(),
|
|
2759
|
+
});
|
|
2760
|
+
/**
|
|
2761
|
+
* @internal
|
|
2762
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2763
|
+
*/
|
|
2764
|
+
var UpdatePaymentLinksStatus$;
|
|
2765
|
+
(function (UpdatePaymentLinksStatus$) {
|
|
2766
|
+
/** @deprecated use `UpdatePaymentLinksStatus$inboundSchema` instead. */
|
|
2767
|
+
UpdatePaymentLinksStatus$.inboundSchema = exports.UpdatePaymentLinksStatus$inboundSchema;
|
|
2768
|
+
/** @deprecated use `UpdatePaymentLinksStatus$outboundSchema` instead. */
|
|
2769
|
+
UpdatePaymentLinksStatus$.outboundSchema = exports.UpdatePaymentLinksStatus$outboundSchema;
|
|
2770
|
+
})(UpdatePaymentLinksStatus$ || (exports.UpdatePaymentLinksStatus$ = UpdatePaymentLinksStatus$ = {}));
|
|
2771
|
+
function updatePaymentLinksStatusToJSON(updatePaymentLinksStatus) {
|
|
2772
|
+
return JSON.stringify(exports.UpdatePaymentLinksStatus$outboundSchema.parse(updatePaymentLinksStatus));
|
|
2773
|
+
}
|
|
2774
|
+
function updatePaymentLinksStatusFromJSON(jsonString) {
|
|
2775
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.UpdatePaymentLinksStatus$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UpdatePaymentLinksStatus' from JSON`);
|
|
2776
|
+
}
|
|
2777
|
+
/** @internal */
|
|
2778
|
+
exports.UpdatePaymentPayOnline$inboundSchema = z.object({
|
|
2779
|
+
href: z.string(),
|
|
2780
|
+
type: z.string(),
|
|
2781
|
+
});
|
|
2782
|
+
/** @internal */
|
|
2783
|
+
exports.UpdatePaymentPayOnline$outboundSchema = z.object({
|
|
2784
|
+
href: z.string(),
|
|
2785
|
+
type: z.string(),
|
|
2786
|
+
});
|
|
2787
|
+
/**
|
|
2788
|
+
* @internal
|
|
2789
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2790
|
+
*/
|
|
2791
|
+
var UpdatePaymentPayOnline$;
|
|
2792
|
+
(function (UpdatePaymentPayOnline$) {
|
|
2793
|
+
/** @deprecated use `UpdatePaymentPayOnline$inboundSchema` instead. */
|
|
2794
|
+
UpdatePaymentPayOnline$.inboundSchema = exports.UpdatePaymentPayOnline$inboundSchema;
|
|
2795
|
+
/** @deprecated use `UpdatePaymentPayOnline$outboundSchema` instead. */
|
|
2796
|
+
UpdatePaymentPayOnline$.outboundSchema = exports.UpdatePaymentPayOnline$outboundSchema;
|
|
2797
|
+
})(UpdatePaymentPayOnline$ || (exports.UpdatePaymentPayOnline$ = UpdatePaymentPayOnline$ = {}));
|
|
2798
|
+
function updatePaymentPayOnlineToJSON(updatePaymentPayOnline) {
|
|
2799
|
+
return JSON.stringify(exports.UpdatePaymentPayOnline$outboundSchema.parse(updatePaymentPayOnline));
|
|
2800
|
+
}
|
|
2801
|
+
function updatePaymentPayOnlineFromJSON(jsonString) {
|
|
2802
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.UpdatePaymentPayOnline$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UpdatePaymentPayOnline' from JSON`);
|
|
2803
|
+
}
|
|
2804
|
+
/** @internal */
|
|
2077
2805
|
exports.UpdatePaymentLinks$inboundSchema = z.object({
|
|
2078
2806
|
self: z.lazy(() => exports.UpdatePaymentSelf$inboundSchema),
|
|
2079
2807
|
checkout: z.lazy(() => exports.UpdatePaymentCheckout$inboundSchema).optional(),
|
|
@@ -2093,6 +2821,8 @@ exports.UpdatePaymentLinks$inboundSchema = z.object({
|
|
|
2093
2821
|
terminal: z.lazy(() => exports.UpdatePaymentTerminal$inboundSchema).optional(),
|
|
2094
2822
|
documentation: z.lazy(() => exports.UpdatePaymentDocumentation$inboundSchema)
|
|
2095
2823
|
.optional(),
|
|
2824
|
+
status: z.lazy(() => exports.UpdatePaymentLinksStatus$inboundSchema).optional(),
|
|
2825
|
+
payOnline: z.lazy(() => exports.UpdatePaymentPayOnline$inboundSchema).optional(),
|
|
2096
2826
|
});
|
|
2097
2827
|
/** @internal */
|
|
2098
2828
|
exports.UpdatePaymentLinks$outboundSchema = z.object({
|
|
@@ -2114,6 +2844,8 @@ exports.UpdatePaymentLinks$outboundSchema = z.object({
|
|
|
2114
2844
|
terminal: z.lazy(() => exports.UpdatePaymentTerminal$outboundSchema).optional(),
|
|
2115
2845
|
documentation: z.lazy(() => exports.UpdatePaymentDocumentation$outboundSchema)
|
|
2116
2846
|
.optional(),
|
|
2847
|
+
status: z.lazy(() => exports.UpdatePaymentLinksStatus$outboundSchema).optional(),
|
|
2848
|
+
payOnline: z.lazy(() => exports.UpdatePaymentPayOnline$outboundSchema).optional(),
|
|
2117
2849
|
});
|
|
2118
2850
|
/**
|
|
2119
2851
|
* @internal
|
|
@@ -2174,10 +2906,11 @@ exports.UpdatePaymentResponse$inboundSchema = z.object({
|
|
|
2174
2906
|
profileId: z.string(),
|
|
2175
2907
|
settlementId: z.nullable(z.string()).optional(),
|
|
2176
2908
|
orderId: z.nullable(z.string()).optional(),
|
|
2177
|
-
status: exports.
|
|
2909
|
+
status: exports.UpdatePaymentStatusEnum$inboundSchema,
|
|
2178
2910
|
statusReason: z.nullable(z.lazy(() => exports.UpdatePaymentStatusReason$inboundSchema)).optional(),
|
|
2179
2911
|
isCancelable: z.nullable(z.boolean()).optional(),
|
|
2180
|
-
details: z.nullable(z.
|
|
2912
|
+
details: z.nullable(z.lazy(() => exports.UpdatePaymentDetails$inboundSchema))
|
|
2913
|
+
.optional(),
|
|
2181
2914
|
createdAt: z.string(),
|
|
2182
2915
|
authorizedAt: z.nullable(z.string()).optional(),
|
|
2183
2916
|
paidAt: z.nullable(z.string()).optional(),
|
|
@@ -2232,10 +2965,11 @@ exports.UpdatePaymentResponse$outboundSchema = z.object({
|
|
|
2232
2965
|
profileId: z.string(),
|
|
2233
2966
|
settlementId: z.nullable(z.string()).optional(),
|
|
2234
2967
|
orderId: z.nullable(z.string()).optional(),
|
|
2235
|
-
status: exports.
|
|
2968
|
+
status: exports.UpdatePaymentStatusEnum$outboundSchema,
|
|
2236
2969
|
statusReason: z.nullable(z.lazy(() => exports.UpdatePaymentStatusReason$outboundSchema)).optional(),
|
|
2237
2970
|
isCancelable: z.nullable(z.boolean()).optional(),
|
|
2238
|
-
details: z.nullable(z.
|
|
2971
|
+
details: z.nullable(z.lazy(() => exports.UpdatePaymentDetails$outboundSchema))
|
|
2972
|
+
.optional(),
|
|
2239
2973
|
createdAt: z.string(),
|
|
2240
2974
|
authorizedAt: z.nullable(z.string()).optional(),
|
|
2241
2975
|
paidAt: z.nullable(z.string()).optional(),
|