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
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
import * as z from "zod";
|
|
5
5
|
import { remap as remap$ } from "../../lib/primitives.js";
|
|
6
6
|
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { RFCDate } from "../../types/rfcdate.js";
|
|
7
8
|
/**
|
|
8
9
|
* Normally, a payment method screen is shown. However, when using this parameter, you can choose a specific payment
|
|
9
10
|
*
|
|
@@ -253,7 +254,7 @@ export const UpdatePaymentSequenceType = {
|
|
|
253
254
|
* @remarks
|
|
254
255
|
* statuses occur at what point.
|
|
255
256
|
*/
|
|
256
|
-
export const
|
|
257
|
+
export const UpdatePaymentStatusEnum = {
|
|
257
258
|
Open: "open",
|
|
258
259
|
Pending: "pending",
|
|
259
260
|
Authorized: "authorized",
|
|
@@ -262,6 +263,249 @@ export const UpdatePaymentStatus = {
|
|
|
262
263
|
Expired: "expired",
|
|
263
264
|
Failed: "failed",
|
|
264
265
|
};
|
|
266
|
+
/**
|
|
267
|
+
* A machine-readable code that indicates the reason for the payment's status.
|
|
268
|
+
*/
|
|
269
|
+
export const UpdatePaymentCode = {
|
|
270
|
+
ApprovedOrCompletedSuccessfully: "approved_or_completed_successfully",
|
|
271
|
+
ReferToCardIssuer: "refer_to_card_issuer",
|
|
272
|
+
InvalidMerchant: "invalid_merchant",
|
|
273
|
+
CaptureCard: "capture_card",
|
|
274
|
+
DoNotHonor: "do_not_honor",
|
|
275
|
+
Error: "error",
|
|
276
|
+
PartialApproval: "partial_approval",
|
|
277
|
+
InvalidTransaction: "invalid_transaction",
|
|
278
|
+
InvalidAmount: "invalid_amount",
|
|
279
|
+
InvalidIssuer: "invalid_issuer",
|
|
280
|
+
LostCard: "lost_card",
|
|
281
|
+
StolenCard: "stolen_card",
|
|
282
|
+
InsufficientFunds: "insufficient_funds",
|
|
283
|
+
ExpiredCard: "expired_card",
|
|
284
|
+
InvalidPin: "invalid_pin",
|
|
285
|
+
TransactionNotPermittedToCardholder: "transaction_not_permitted_to_cardholder",
|
|
286
|
+
TransactionNotAllowedAtTerminal: "transaction_not_allowed_at_terminal",
|
|
287
|
+
ExceedsWithdrawalAmountLimit: "exceeds_withdrawal_amount_limit",
|
|
288
|
+
RestrictedCard: "restricted_card",
|
|
289
|
+
SecurityViolation: "security_violation",
|
|
290
|
+
ExceedsWithdrawalCountLimit: "exceeds_withdrawal_count_limit",
|
|
291
|
+
AllowableNumberOfPinTriesExceeded: "allowable_number_of_pin_tries_exceeded",
|
|
292
|
+
NoReasonToDecline: "no_reason_to_decline",
|
|
293
|
+
CannotVerifyPin: "cannot_verify_pin",
|
|
294
|
+
IssuerUnavailable: "issuer_unavailable",
|
|
295
|
+
UnableToRouteTransaction: "unable_to_route_transaction",
|
|
296
|
+
DuplicateTransaction: "duplicate_transaction",
|
|
297
|
+
SystemMalfunction: "system_malfunction",
|
|
298
|
+
HonorWithId: "honor_with_id",
|
|
299
|
+
InvalidCardNumber: "invalid_card_number",
|
|
300
|
+
FormatError: "format_error",
|
|
301
|
+
ContactCardIssuer: "contact_card_issuer",
|
|
302
|
+
PinNotChanged: "pin_not_changed",
|
|
303
|
+
InvalidNonexistentToAccountSpecified: "invalid_nonexistent_to_account_specified",
|
|
304
|
+
InvalidNonexistentFromAccountSpecified: "invalid_nonexistent_from_account_specified",
|
|
305
|
+
InvalidNonexistentAccountSpecified: "invalid_nonexistent_account_specified",
|
|
306
|
+
LifecycleRelated: "lifecycle_related",
|
|
307
|
+
DomesticDebitTransactionNotAllowed: "domestic_debit_transaction_not_allowed",
|
|
308
|
+
PolicyRelated: "policy_related",
|
|
309
|
+
FraudSecurityRelated: "fraud_security_related",
|
|
310
|
+
InvalidAuthorizationLifeCycle: "invalid_authorization_life_cycle",
|
|
311
|
+
PurchaseAmountOnlyNoCashBackAllowed: "purchase_amount_only_no_cash_back_allowed",
|
|
312
|
+
CryptographicFailure: "cryptographic_failure",
|
|
313
|
+
UnacceptablePin: "unacceptable_pin",
|
|
314
|
+
ReferToCardIssuerSpecialCondition: "refer_to_card_issuer_special_condition",
|
|
315
|
+
PickUpCardSpecialCondition: "pick_up_card_special_condition",
|
|
316
|
+
VipApproval: "vip_approval",
|
|
317
|
+
InvalidAccountNumber: "invalid_account_number",
|
|
318
|
+
ReEnterTransaction: "re_enter_transaction",
|
|
319
|
+
NoActionTaken: "no_action_taken",
|
|
320
|
+
UnableToLocateRecord: "unable_to_locate_record",
|
|
321
|
+
FileTemporarilyUnavailable: "file_temporarily_unavailable",
|
|
322
|
+
NoCreditAccount: "no_credit_account",
|
|
323
|
+
ClosedAccount: "closed_account",
|
|
324
|
+
NoCheckingAccount: "no_checking_account",
|
|
325
|
+
NoSavingsAccount: "no_savings_account",
|
|
326
|
+
SuspectedFraud: "suspected_fraud",
|
|
327
|
+
TransactionDoesNotFulfillAmlRequirement: "transaction_does_not_fulfill_aml_requirement",
|
|
328
|
+
PinDataRequired: "pin_data_required",
|
|
329
|
+
UnableToLocatePreviousMessage: "unable_to_locate_previous_message",
|
|
330
|
+
PreviousMessageLocatedInconsistentData: "previous_message_located_inconsistent_data",
|
|
331
|
+
BlockedFirstUsed: "blocked_first_used",
|
|
332
|
+
TransactionReversed: "transaction_reversed",
|
|
333
|
+
CreditIssuerUnavailable: "credit_issuer_unavailable",
|
|
334
|
+
PinCryptographicErrorFound: "pin_cryptographic_error_found",
|
|
335
|
+
NegativeOnlineCamResult: "negative_online_cam_result",
|
|
336
|
+
ViolationOfLaw: "violation_of_law",
|
|
337
|
+
ForceStip: "force_stip",
|
|
338
|
+
CashServiceNotAvailable: "cash_service_not_available",
|
|
339
|
+
CashbackRequestExceedsIssuerLimit: "cashback_request_exceeds_issuer_limit",
|
|
340
|
+
DeclineForCvv2Failure: "decline_for_cvv2_failure",
|
|
341
|
+
TransactionAmountExceedsPreAuthorizedAmount: "transaction_amount_exceeds_pre_authorized_amount",
|
|
342
|
+
InvalidBillerInformation: "invalid_biller_information",
|
|
343
|
+
PinChangeUnblockRequestDeclined: "pin_change_unblock_request_declined",
|
|
344
|
+
UnsafePin: "unsafe_pin",
|
|
345
|
+
CardAuthenticationFailed: "card_authentication_failed",
|
|
346
|
+
StopPaymentOrder: "stop_payment_order",
|
|
347
|
+
RevocationOfAuthorization: "revocation_of_authorization",
|
|
348
|
+
RevocationOfAllAuthorizations: "revocation_of_all_authorizations",
|
|
349
|
+
ForwardToIssuerXa: "forward_to_issuer_xa",
|
|
350
|
+
ForwardToIssuerXd: "forward_to_issuer_xd",
|
|
351
|
+
UnableToGoOnline: "unable_to_go_online",
|
|
352
|
+
AdditionalCustomerAuthenticationRequired: "additional_customer_authentication_required",
|
|
353
|
+
MerchantIdNotFound: "merchant_id_not_found",
|
|
354
|
+
MerchantAccountClosed: "merchant_account_closed",
|
|
355
|
+
TerminalIdNotFound: "terminal_id_not_found",
|
|
356
|
+
TerminalClosed: "terminal_closed",
|
|
357
|
+
InvalidCategoryCode: "invalid_category_code",
|
|
358
|
+
InvalidCurrency: "invalid_currency",
|
|
359
|
+
MissingCvv2Cvc2: "missing_cvv2_cvc2",
|
|
360
|
+
Cvv2NotAllowed: "cvv2_not_allowed",
|
|
361
|
+
MerchantNotRegisteredVbv: "merchant_not_registered_vbv",
|
|
362
|
+
MerchantNotRegisteredForAmex: "merchant_not_registered_for_amex",
|
|
363
|
+
TransactionNotPermittedAtTerminal: "transaction_not_permitted_at_terminal",
|
|
364
|
+
AgreementTerminalNotRelated: "agreement_terminal_not_related",
|
|
365
|
+
InvalidProcessorId: "invalid_processor_id",
|
|
366
|
+
InvalidMerchantData: "invalid_merchant_data",
|
|
367
|
+
SubMerchantAccountClosed: "sub_merchant_account_closed",
|
|
368
|
+
TerminalBusy: "terminal_busy",
|
|
369
|
+
TerminalUnreachable: "terminal_unreachable",
|
|
370
|
+
ServiceFailed: "service_failed",
|
|
371
|
+
InvalidOperation: "invalid_operation",
|
|
372
|
+
AuthorizationError: "authorization_error",
|
|
373
|
+
LoginFailedWithoutReason: "login_failed_without_reason",
|
|
374
|
+
InvalidRetailer: "invalid_retailer",
|
|
375
|
+
CardDoesNotExist: "card_does_not_exist",
|
|
376
|
+
CardIsBlocked: "card_is_blocked",
|
|
377
|
+
InvalidCardId: "invalid_card_id",
|
|
378
|
+
CardIsTransferred: "card_is_transferred",
|
|
379
|
+
CardIsNotActive: "card_is_not_active",
|
|
380
|
+
IncorrectPurchaseValue: "incorrect_purchase_value",
|
|
381
|
+
CardNotAvailable: "card_not_available",
|
|
382
|
+
WrongCurrency: "wrong_currency",
|
|
383
|
+
LoginFailedUnknownUser: "login_failed_unknown_user",
|
|
384
|
+
LoginFailedInvalidPassword: "login_failed_invalid_password",
|
|
385
|
+
InvalidEanCode: "invalid_ean_code",
|
|
386
|
+
};
|
|
387
|
+
/**
|
|
388
|
+
* The card's target audience, if known.
|
|
389
|
+
*/
|
|
390
|
+
export const UpdatePaymentCardAudition = {
|
|
391
|
+
Consumer: "consumer",
|
|
392
|
+
Business: "business",
|
|
393
|
+
};
|
|
394
|
+
/**
|
|
395
|
+
* The card's label, if known.
|
|
396
|
+
*/
|
|
397
|
+
export const UpdatePaymentCardLabel = {
|
|
398
|
+
AmericanExpress: "American Express",
|
|
399
|
+
CartaSi: "Carta Si",
|
|
400
|
+
CarteBleue: "Carte Bleue",
|
|
401
|
+
Dankort: "Dankort",
|
|
402
|
+
DinersClub: "Diners Club",
|
|
403
|
+
Discover: "Discover",
|
|
404
|
+
Jcb: "JCB",
|
|
405
|
+
Laser: "Laser",
|
|
406
|
+
Maestro: "Maestro",
|
|
407
|
+
Mastercard: "Mastercard",
|
|
408
|
+
Unionpay: "Unionpay",
|
|
409
|
+
Visa: "Visa",
|
|
410
|
+
Vpay: "Vpay",
|
|
411
|
+
};
|
|
412
|
+
/**
|
|
413
|
+
* The card type.
|
|
414
|
+
*/
|
|
415
|
+
export const UpdatePaymentCardFunding = {
|
|
416
|
+
Debit: "debit",
|
|
417
|
+
Credit: "credit",
|
|
418
|
+
Prepaid: "prepaid",
|
|
419
|
+
DeferredDebit: "deferred-debit",
|
|
420
|
+
};
|
|
421
|
+
/**
|
|
422
|
+
* The level of security applied during card processing.
|
|
423
|
+
*/
|
|
424
|
+
export const UpdatePaymentCardSecurity = {
|
|
425
|
+
Normal: "normal",
|
|
426
|
+
Threedsecure: "3dsecure",
|
|
427
|
+
};
|
|
428
|
+
/**
|
|
429
|
+
* The applicable card fee region.
|
|
430
|
+
*/
|
|
431
|
+
export const UpdatePaymentFeeRegion = {
|
|
432
|
+
AmericanExpress: "american-express",
|
|
433
|
+
AmexIntraEea: "amex-intra-eea",
|
|
434
|
+
CarteBancaire: "carte-bancaire",
|
|
435
|
+
IntraEu: "intra-eu",
|
|
436
|
+
IntraEuCorporate: "intra-eu-corporate",
|
|
437
|
+
Domestic: "domestic",
|
|
438
|
+
Maestro: "maestro",
|
|
439
|
+
Other: "other",
|
|
440
|
+
Inter: "inter",
|
|
441
|
+
IntraEea: "intra-eea",
|
|
442
|
+
};
|
|
443
|
+
/**
|
|
444
|
+
* A failure code to help understand why the payment failed.
|
|
445
|
+
*/
|
|
446
|
+
export const UpdatePaymentFailureReason = {
|
|
447
|
+
AuthenticationAbandoned: "authentication_abandoned",
|
|
448
|
+
AuthenticationFailed: "authentication_failed",
|
|
449
|
+
AuthenticationRequired: "authentication_required",
|
|
450
|
+
AuthenticationUnavailableAcs: "authentication_unavailable_acs",
|
|
451
|
+
CardDeclined: "card_declined",
|
|
452
|
+
CardExpired: "card_expired",
|
|
453
|
+
InactiveCard: "inactive_card",
|
|
454
|
+
InsufficientFunds: "insufficient_funds",
|
|
455
|
+
InvalidCvv: "invalid_cvv",
|
|
456
|
+
InvalidCardHolderName: "invalid_card_holder_name",
|
|
457
|
+
InvalidCardNumber: "invalid_card_number",
|
|
458
|
+
InvalidCardType: "invalid_card_type",
|
|
459
|
+
PossibleFraud: "possible_fraud",
|
|
460
|
+
RefusedByIssuer: "refused_by_issuer",
|
|
461
|
+
UnknownReason: "unknown_reason",
|
|
462
|
+
};
|
|
463
|
+
/**
|
|
464
|
+
* The wallet used when creating the payment.
|
|
465
|
+
*/
|
|
466
|
+
export const UpdatePaymentWallet = {
|
|
467
|
+
Applepay: "applepay",
|
|
468
|
+
};
|
|
469
|
+
/**
|
|
470
|
+
* Indicates to what extent the payment is eligible for PayPal's Seller Protection. Only available for PayPal
|
|
471
|
+
*
|
|
472
|
+
* @remarks
|
|
473
|
+
* payments, and if the information is made available by PayPal.
|
|
474
|
+
*/
|
|
475
|
+
export const UpdatePaymentSellerProtection = {
|
|
476
|
+
Eligible: "Eligible",
|
|
477
|
+
Ineligible: "Ineligible",
|
|
478
|
+
PartiallyEligibleINROnly: "Partially Eligible - INR Only",
|
|
479
|
+
PartiallyEligibleUnauthOnly: "Partially Eligible - Unauth Only",
|
|
480
|
+
PartiallyEligible: "Partially Eligible",
|
|
481
|
+
None: "None",
|
|
482
|
+
Active: "Active",
|
|
483
|
+
FraudControlUnauthPremiumEligible: "Fraud Control - Unauth Premium Eligible",
|
|
484
|
+
};
|
|
485
|
+
/**
|
|
486
|
+
* The method by which the card was read by the terminal.
|
|
487
|
+
*/
|
|
488
|
+
export const UpdatePaymentCardReadMethod = {
|
|
489
|
+
Chip: "chip",
|
|
490
|
+
MagneticStripe: "magnetic-stripe",
|
|
491
|
+
NearFieldCommunication: "near-field-communication",
|
|
492
|
+
Contactless: "contactless",
|
|
493
|
+
Moto: "moto",
|
|
494
|
+
};
|
|
495
|
+
/**
|
|
496
|
+
* The method used to verify the cardholder's identity.
|
|
497
|
+
*/
|
|
498
|
+
export const UpdatePaymentCardVerificationMethod = {
|
|
499
|
+
NoCvmRequired: "no-cvm-required",
|
|
500
|
+
OnlinePin: "online-pin",
|
|
501
|
+
OfflinePin: "offline-pin",
|
|
502
|
+
ConsumerDevice: "consumer-device",
|
|
503
|
+
Signature: "signature",
|
|
504
|
+
SignatureAndOnlinePin: "signature-and-online-pin",
|
|
505
|
+
OnlinePinAndSignature: "online-pin-and-signature",
|
|
506
|
+
None: "none",
|
|
507
|
+
Failed: "failed",
|
|
508
|
+
};
|
|
265
509
|
/** @internal */
|
|
266
510
|
export const UpdatePaymentMetadataRequest$inboundSchema = z.union([z.string(), z.record(z.any()), z.array(z.string())]);
|
|
267
511
|
/** @internal */
|
|
@@ -1485,28 +1729,43 @@ export var UpdatePaymentSequenceType$;
|
|
|
1485
1729
|
UpdatePaymentSequenceType$.outboundSchema = UpdatePaymentSequenceType$outboundSchema;
|
|
1486
1730
|
})(UpdatePaymentSequenceType$ || (UpdatePaymentSequenceType$ = {}));
|
|
1487
1731
|
/** @internal */
|
|
1488
|
-
export const
|
|
1732
|
+
export const UpdatePaymentStatusEnum$inboundSchema = z.nativeEnum(UpdatePaymentStatusEnum);
|
|
1733
|
+
/** @internal */
|
|
1734
|
+
export const UpdatePaymentStatusEnum$outboundSchema = UpdatePaymentStatusEnum$inboundSchema;
|
|
1735
|
+
/**
|
|
1736
|
+
* @internal
|
|
1737
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1738
|
+
*/
|
|
1739
|
+
export var UpdatePaymentStatusEnum$;
|
|
1740
|
+
(function (UpdatePaymentStatusEnum$) {
|
|
1741
|
+
/** @deprecated use `UpdatePaymentStatusEnum$inboundSchema` instead. */
|
|
1742
|
+
UpdatePaymentStatusEnum$.inboundSchema = UpdatePaymentStatusEnum$inboundSchema;
|
|
1743
|
+
/** @deprecated use `UpdatePaymentStatusEnum$outboundSchema` instead. */
|
|
1744
|
+
UpdatePaymentStatusEnum$.outboundSchema = UpdatePaymentStatusEnum$outboundSchema;
|
|
1745
|
+
})(UpdatePaymentStatusEnum$ || (UpdatePaymentStatusEnum$ = {}));
|
|
1746
|
+
/** @internal */
|
|
1747
|
+
export const UpdatePaymentCode$inboundSchema = z.nativeEnum(UpdatePaymentCode);
|
|
1489
1748
|
/** @internal */
|
|
1490
|
-
export const
|
|
1749
|
+
export const UpdatePaymentCode$outboundSchema = UpdatePaymentCode$inboundSchema;
|
|
1491
1750
|
/**
|
|
1492
1751
|
* @internal
|
|
1493
1752
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1494
1753
|
*/
|
|
1495
|
-
export var
|
|
1496
|
-
(function (
|
|
1497
|
-
/** @deprecated use `
|
|
1498
|
-
|
|
1499
|
-
/** @deprecated use `
|
|
1500
|
-
|
|
1501
|
-
})(
|
|
1754
|
+
export var UpdatePaymentCode$;
|
|
1755
|
+
(function (UpdatePaymentCode$) {
|
|
1756
|
+
/** @deprecated use `UpdatePaymentCode$inboundSchema` instead. */
|
|
1757
|
+
UpdatePaymentCode$.inboundSchema = UpdatePaymentCode$inboundSchema;
|
|
1758
|
+
/** @deprecated use `UpdatePaymentCode$outboundSchema` instead. */
|
|
1759
|
+
UpdatePaymentCode$.outboundSchema = UpdatePaymentCode$outboundSchema;
|
|
1760
|
+
})(UpdatePaymentCode$ || (UpdatePaymentCode$ = {}));
|
|
1502
1761
|
/** @internal */
|
|
1503
1762
|
export const UpdatePaymentStatusReason$inboundSchema = z.object({
|
|
1504
|
-
code:
|
|
1763
|
+
code: UpdatePaymentCode$inboundSchema,
|
|
1505
1764
|
message: z.string(),
|
|
1506
1765
|
});
|
|
1507
1766
|
/** @internal */
|
|
1508
1767
|
export const UpdatePaymentStatusReason$outboundSchema = z.object({
|
|
1509
|
-
code:
|
|
1768
|
+
code: UpdatePaymentCode$outboundSchema,
|
|
1510
1769
|
message: z.string(),
|
|
1511
1770
|
});
|
|
1512
1771
|
/**
|
|
@@ -1527,6 +1786,406 @@ export function updatePaymentStatusReasonFromJSON(jsonString) {
|
|
|
1527
1786
|
return safeParse(jsonString, (x) => UpdatePaymentStatusReason$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UpdatePaymentStatusReason' from JSON`);
|
|
1528
1787
|
}
|
|
1529
1788
|
/** @internal */
|
|
1789
|
+
export const UpdatePaymentCardAudition$inboundSchema = z.nativeEnum(UpdatePaymentCardAudition);
|
|
1790
|
+
/** @internal */
|
|
1791
|
+
export const UpdatePaymentCardAudition$outboundSchema = UpdatePaymentCardAudition$inboundSchema;
|
|
1792
|
+
/**
|
|
1793
|
+
* @internal
|
|
1794
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1795
|
+
*/
|
|
1796
|
+
export var UpdatePaymentCardAudition$;
|
|
1797
|
+
(function (UpdatePaymentCardAudition$) {
|
|
1798
|
+
/** @deprecated use `UpdatePaymentCardAudition$inboundSchema` instead. */
|
|
1799
|
+
UpdatePaymentCardAudition$.inboundSchema = UpdatePaymentCardAudition$inboundSchema;
|
|
1800
|
+
/** @deprecated use `UpdatePaymentCardAudition$outboundSchema` instead. */
|
|
1801
|
+
UpdatePaymentCardAudition$.outboundSchema = UpdatePaymentCardAudition$outboundSchema;
|
|
1802
|
+
})(UpdatePaymentCardAudition$ || (UpdatePaymentCardAudition$ = {}));
|
|
1803
|
+
/** @internal */
|
|
1804
|
+
export const UpdatePaymentCardLabel$inboundSchema = z.nativeEnum(UpdatePaymentCardLabel);
|
|
1805
|
+
/** @internal */
|
|
1806
|
+
export const UpdatePaymentCardLabel$outboundSchema = UpdatePaymentCardLabel$inboundSchema;
|
|
1807
|
+
/**
|
|
1808
|
+
* @internal
|
|
1809
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1810
|
+
*/
|
|
1811
|
+
export var UpdatePaymentCardLabel$;
|
|
1812
|
+
(function (UpdatePaymentCardLabel$) {
|
|
1813
|
+
/** @deprecated use `UpdatePaymentCardLabel$inboundSchema` instead. */
|
|
1814
|
+
UpdatePaymentCardLabel$.inboundSchema = UpdatePaymentCardLabel$inboundSchema;
|
|
1815
|
+
/** @deprecated use `UpdatePaymentCardLabel$outboundSchema` instead. */
|
|
1816
|
+
UpdatePaymentCardLabel$.outboundSchema = UpdatePaymentCardLabel$outboundSchema;
|
|
1817
|
+
})(UpdatePaymentCardLabel$ || (UpdatePaymentCardLabel$ = {}));
|
|
1818
|
+
/** @internal */
|
|
1819
|
+
export const UpdatePaymentCardFunding$inboundSchema = z.nativeEnum(UpdatePaymentCardFunding);
|
|
1820
|
+
/** @internal */
|
|
1821
|
+
export const UpdatePaymentCardFunding$outboundSchema = UpdatePaymentCardFunding$inboundSchema;
|
|
1822
|
+
/**
|
|
1823
|
+
* @internal
|
|
1824
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1825
|
+
*/
|
|
1826
|
+
export var UpdatePaymentCardFunding$;
|
|
1827
|
+
(function (UpdatePaymentCardFunding$) {
|
|
1828
|
+
/** @deprecated use `UpdatePaymentCardFunding$inboundSchema` instead. */
|
|
1829
|
+
UpdatePaymentCardFunding$.inboundSchema = UpdatePaymentCardFunding$inboundSchema;
|
|
1830
|
+
/** @deprecated use `UpdatePaymentCardFunding$outboundSchema` instead. */
|
|
1831
|
+
UpdatePaymentCardFunding$.outboundSchema = UpdatePaymentCardFunding$outboundSchema;
|
|
1832
|
+
})(UpdatePaymentCardFunding$ || (UpdatePaymentCardFunding$ = {}));
|
|
1833
|
+
/** @internal */
|
|
1834
|
+
export const UpdatePaymentCardSecurity$inboundSchema = z.nativeEnum(UpdatePaymentCardSecurity);
|
|
1835
|
+
/** @internal */
|
|
1836
|
+
export const UpdatePaymentCardSecurity$outboundSchema = UpdatePaymentCardSecurity$inboundSchema;
|
|
1837
|
+
/**
|
|
1838
|
+
* @internal
|
|
1839
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1840
|
+
*/
|
|
1841
|
+
export var UpdatePaymentCardSecurity$;
|
|
1842
|
+
(function (UpdatePaymentCardSecurity$) {
|
|
1843
|
+
/** @deprecated use `UpdatePaymentCardSecurity$inboundSchema` instead. */
|
|
1844
|
+
UpdatePaymentCardSecurity$.inboundSchema = UpdatePaymentCardSecurity$inboundSchema;
|
|
1845
|
+
/** @deprecated use `UpdatePaymentCardSecurity$outboundSchema` instead. */
|
|
1846
|
+
UpdatePaymentCardSecurity$.outboundSchema = UpdatePaymentCardSecurity$outboundSchema;
|
|
1847
|
+
})(UpdatePaymentCardSecurity$ || (UpdatePaymentCardSecurity$ = {}));
|
|
1848
|
+
/** @internal */
|
|
1849
|
+
export const UpdatePaymentFeeRegion$inboundSchema = z.nativeEnum(UpdatePaymentFeeRegion);
|
|
1850
|
+
/** @internal */
|
|
1851
|
+
export const UpdatePaymentFeeRegion$outboundSchema = UpdatePaymentFeeRegion$inboundSchema;
|
|
1852
|
+
/**
|
|
1853
|
+
* @internal
|
|
1854
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1855
|
+
*/
|
|
1856
|
+
export var UpdatePaymentFeeRegion$;
|
|
1857
|
+
(function (UpdatePaymentFeeRegion$) {
|
|
1858
|
+
/** @deprecated use `UpdatePaymentFeeRegion$inboundSchema` instead. */
|
|
1859
|
+
UpdatePaymentFeeRegion$.inboundSchema = UpdatePaymentFeeRegion$inboundSchema;
|
|
1860
|
+
/** @deprecated use `UpdatePaymentFeeRegion$outboundSchema` instead. */
|
|
1861
|
+
UpdatePaymentFeeRegion$.outboundSchema = UpdatePaymentFeeRegion$outboundSchema;
|
|
1862
|
+
})(UpdatePaymentFeeRegion$ || (UpdatePaymentFeeRegion$ = {}));
|
|
1863
|
+
/** @internal */
|
|
1864
|
+
export const UpdatePaymentFailureReason$inboundSchema = z.nativeEnum(UpdatePaymentFailureReason);
|
|
1865
|
+
/** @internal */
|
|
1866
|
+
export const UpdatePaymentFailureReason$outboundSchema = UpdatePaymentFailureReason$inboundSchema;
|
|
1867
|
+
/**
|
|
1868
|
+
* @internal
|
|
1869
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1870
|
+
*/
|
|
1871
|
+
export var UpdatePaymentFailureReason$;
|
|
1872
|
+
(function (UpdatePaymentFailureReason$) {
|
|
1873
|
+
/** @deprecated use `UpdatePaymentFailureReason$inboundSchema` instead. */
|
|
1874
|
+
UpdatePaymentFailureReason$.inboundSchema = UpdatePaymentFailureReason$inboundSchema;
|
|
1875
|
+
/** @deprecated use `UpdatePaymentFailureReason$outboundSchema` instead. */
|
|
1876
|
+
UpdatePaymentFailureReason$.outboundSchema = UpdatePaymentFailureReason$outboundSchema;
|
|
1877
|
+
})(UpdatePaymentFailureReason$ || (UpdatePaymentFailureReason$ = {}));
|
|
1878
|
+
/** @internal */
|
|
1879
|
+
export const UpdatePaymentWallet$inboundSchema = z.nativeEnum(UpdatePaymentWallet);
|
|
1880
|
+
/** @internal */
|
|
1881
|
+
export const UpdatePaymentWallet$outboundSchema = UpdatePaymentWallet$inboundSchema;
|
|
1882
|
+
/**
|
|
1883
|
+
* @internal
|
|
1884
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1885
|
+
*/
|
|
1886
|
+
export var UpdatePaymentWallet$;
|
|
1887
|
+
(function (UpdatePaymentWallet$) {
|
|
1888
|
+
/** @deprecated use `UpdatePaymentWallet$inboundSchema` instead. */
|
|
1889
|
+
UpdatePaymentWallet$.inboundSchema = UpdatePaymentWallet$inboundSchema;
|
|
1890
|
+
/** @deprecated use `UpdatePaymentWallet$outboundSchema` instead. */
|
|
1891
|
+
UpdatePaymentWallet$.outboundSchema = UpdatePaymentWallet$outboundSchema;
|
|
1892
|
+
})(UpdatePaymentWallet$ || (UpdatePaymentWallet$ = {}));
|
|
1893
|
+
/** @internal */
|
|
1894
|
+
export const UpdatePaymentSellerProtection$inboundSchema = z.nativeEnum(UpdatePaymentSellerProtection);
|
|
1895
|
+
/** @internal */
|
|
1896
|
+
export const UpdatePaymentSellerProtection$outboundSchema = UpdatePaymentSellerProtection$inboundSchema;
|
|
1897
|
+
/**
|
|
1898
|
+
* @internal
|
|
1899
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1900
|
+
*/
|
|
1901
|
+
export var UpdatePaymentSellerProtection$;
|
|
1902
|
+
(function (UpdatePaymentSellerProtection$) {
|
|
1903
|
+
/** @deprecated use `UpdatePaymentSellerProtection$inboundSchema` instead. */
|
|
1904
|
+
UpdatePaymentSellerProtection$.inboundSchema = UpdatePaymentSellerProtection$inboundSchema;
|
|
1905
|
+
/** @deprecated use `UpdatePaymentSellerProtection$outboundSchema` instead. */
|
|
1906
|
+
UpdatePaymentSellerProtection$.outboundSchema = UpdatePaymentSellerProtection$outboundSchema;
|
|
1907
|
+
})(UpdatePaymentSellerProtection$ || (UpdatePaymentSellerProtection$ = {}));
|
|
1908
|
+
/** @internal */
|
|
1909
|
+
export const UpdatePaymentPaypalFee$inboundSchema = z.object({
|
|
1910
|
+
currency: z.string(),
|
|
1911
|
+
value: z.string(),
|
|
1912
|
+
});
|
|
1913
|
+
/** @internal */
|
|
1914
|
+
export const UpdatePaymentPaypalFee$outboundSchema = z.object({
|
|
1915
|
+
currency: z.string(),
|
|
1916
|
+
value: z.string(),
|
|
1917
|
+
});
|
|
1918
|
+
/**
|
|
1919
|
+
* @internal
|
|
1920
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1921
|
+
*/
|
|
1922
|
+
export var UpdatePaymentPaypalFee$;
|
|
1923
|
+
(function (UpdatePaymentPaypalFee$) {
|
|
1924
|
+
/** @deprecated use `UpdatePaymentPaypalFee$inboundSchema` instead. */
|
|
1925
|
+
UpdatePaymentPaypalFee$.inboundSchema = UpdatePaymentPaypalFee$inboundSchema;
|
|
1926
|
+
/** @deprecated use `UpdatePaymentPaypalFee$outboundSchema` instead. */
|
|
1927
|
+
UpdatePaymentPaypalFee$.outboundSchema = UpdatePaymentPaypalFee$outboundSchema;
|
|
1928
|
+
})(UpdatePaymentPaypalFee$ || (UpdatePaymentPaypalFee$ = {}));
|
|
1929
|
+
export function updatePaymentPaypalFeeToJSON(updatePaymentPaypalFee) {
|
|
1930
|
+
return JSON.stringify(UpdatePaymentPaypalFee$outboundSchema.parse(updatePaymentPaypalFee));
|
|
1931
|
+
}
|
|
1932
|
+
export function updatePaymentPaypalFeeFromJSON(jsonString) {
|
|
1933
|
+
return safeParse(jsonString, (x) => UpdatePaymentPaypalFee$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UpdatePaymentPaypalFee' from JSON`);
|
|
1934
|
+
}
|
|
1935
|
+
/** @internal */
|
|
1936
|
+
export const UpdatePaymentCardReadMethod$inboundSchema = z.nativeEnum(UpdatePaymentCardReadMethod);
|
|
1937
|
+
/** @internal */
|
|
1938
|
+
export const UpdatePaymentCardReadMethod$outboundSchema = UpdatePaymentCardReadMethod$inboundSchema;
|
|
1939
|
+
/**
|
|
1940
|
+
* @internal
|
|
1941
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1942
|
+
*/
|
|
1943
|
+
export var UpdatePaymentCardReadMethod$;
|
|
1944
|
+
(function (UpdatePaymentCardReadMethod$) {
|
|
1945
|
+
/** @deprecated use `UpdatePaymentCardReadMethod$inboundSchema` instead. */
|
|
1946
|
+
UpdatePaymentCardReadMethod$.inboundSchema = UpdatePaymentCardReadMethod$inboundSchema;
|
|
1947
|
+
/** @deprecated use `UpdatePaymentCardReadMethod$outboundSchema` instead. */
|
|
1948
|
+
UpdatePaymentCardReadMethod$.outboundSchema = UpdatePaymentCardReadMethod$outboundSchema;
|
|
1949
|
+
})(UpdatePaymentCardReadMethod$ || (UpdatePaymentCardReadMethod$ = {}));
|
|
1950
|
+
/** @internal */
|
|
1951
|
+
export const UpdatePaymentCardVerificationMethod$inboundSchema = z.nativeEnum(UpdatePaymentCardVerificationMethod);
|
|
1952
|
+
/** @internal */
|
|
1953
|
+
export const UpdatePaymentCardVerificationMethod$outboundSchema = UpdatePaymentCardVerificationMethod$inboundSchema;
|
|
1954
|
+
/**
|
|
1955
|
+
* @internal
|
|
1956
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1957
|
+
*/
|
|
1958
|
+
export var UpdatePaymentCardVerificationMethod$;
|
|
1959
|
+
(function (UpdatePaymentCardVerificationMethod$) {
|
|
1960
|
+
/** @deprecated use `UpdatePaymentCardVerificationMethod$inboundSchema` instead. */
|
|
1961
|
+
UpdatePaymentCardVerificationMethod$.inboundSchema = UpdatePaymentCardVerificationMethod$inboundSchema;
|
|
1962
|
+
/** @deprecated use `UpdatePaymentCardVerificationMethod$outboundSchema` instead. */
|
|
1963
|
+
UpdatePaymentCardVerificationMethod$.outboundSchema = UpdatePaymentCardVerificationMethod$outboundSchema;
|
|
1964
|
+
})(UpdatePaymentCardVerificationMethod$ || (UpdatePaymentCardVerificationMethod$ = {}));
|
|
1965
|
+
/** @internal */
|
|
1966
|
+
export const UpdatePaymentReceipt$inboundSchema = z.object({
|
|
1967
|
+
authorizationCode: z.nullable(z.string()).optional(),
|
|
1968
|
+
applicationIdentifier: z.nullable(z.string()).optional(),
|
|
1969
|
+
cardReadMethod: z.nullable(UpdatePaymentCardReadMethod$inboundSchema)
|
|
1970
|
+
.optional(),
|
|
1971
|
+
cardVerificationMethod: z.nullable(UpdatePaymentCardVerificationMethod$inboundSchema).optional(),
|
|
1972
|
+
});
|
|
1973
|
+
/** @internal */
|
|
1974
|
+
export const UpdatePaymentReceipt$outboundSchema = z.object({
|
|
1975
|
+
authorizationCode: z.nullable(z.string()).optional(),
|
|
1976
|
+
applicationIdentifier: z.nullable(z.string()).optional(),
|
|
1977
|
+
cardReadMethod: z.nullable(UpdatePaymentCardReadMethod$outboundSchema)
|
|
1978
|
+
.optional(),
|
|
1979
|
+
cardVerificationMethod: z.nullable(UpdatePaymentCardVerificationMethod$outboundSchema).optional(),
|
|
1980
|
+
});
|
|
1981
|
+
/**
|
|
1982
|
+
* @internal
|
|
1983
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1984
|
+
*/
|
|
1985
|
+
export var UpdatePaymentReceipt$;
|
|
1986
|
+
(function (UpdatePaymentReceipt$) {
|
|
1987
|
+
/** @deprecated use `UpdatePaymentReceipt$inboundSchema` instead. */
|
|
1988
|
+
UpdatePaymentReceipt$.inboundSchema = UpdatePaymentReceipt$inboundSchema;
|
|
1989
|
+
/** @deprecated use `UpdatePaymentReceipt$outboundSchema` instead. */
|
|
1990
|
+
UpdatePaymentReceipt$.outboundSchema = UpdatePaymentReceipt$outboundSchema;
|
|
1991
|
+
})(UpdatePaymentReceipt$ || (UpdatePaymentReceipt$ = {}));
|
|
1992
|
+
export function updatePaymentReceiptToJSON(updatePaymentReceipt) {
|
|
1993
|
+
return JSON.stringify(UpdatePaymentReceipt$outboundSchema.parse(updatePaymentReceipt));
|
|
1994
|
+
}
|
|
1995
|
+
export function updatePaymentReceiptFromJSON(jsonString) {
|
|
1996
|
+
return safeParse(jsonString, (x) => UpdatePaymentReceipt$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UpdatePaymentReceipt' from JSON`);
|
|
1997
|
+
}
|
|
1998
|
+
/** @internal */
|
|
1999
|
+
export const UpdatePaymentQrCode$inboundSchema = z.object({
|
|
2000
|
+
height: z.number().int().optional(),
|
|
2001
|
+
width: z.number().int().optional(),
|
|
2002
|
+
src: z.string().optional(),
|
|
2003
|
+
});
|
|
2004
|
+
/** @internal */
|
|
2005
|
+
export const UpdatePaymentQrCode$outboundSchema = z.object({
|
|
2006
|
+
height: z.number().int().optional(),
|
|
2007
|
+
width: z.number().int().optional(),
|
|
2008
|
+
src: z.string().optional(),
|
|
2009
|
+
});
|
|
2010
|
+
/**
|
|
2011
|
+
* @internal
|
|
2012
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2013
|
+
*/
|
|
2014
|
+
export var UpdatePaymentQrCode$;
|
|
2015
|
+
(function (UpdatePaymentQrCode$) {
|
|
2016
|
+
/** @deprecated use `UpdatePaymentQrCode$inboundSchema` instead. */
|
|
2017
|
+
UpdatePaymentQrCode$.inboundSchema = UpdatePaymentQrCode$inboundSchema;
|
|
2018
|
+
/** @deprecated use `UpdatePaymentQrCode$outboundSchema` instead. */
|
|
2019
|
+
UpdatePaymentQrCode$.outboundSchema = UpdatePaymentQrCode$outboundSchema;
|
|
2020
|
+
})(UpdatePaymentQrCode$ || (UpdatePaymentQrCode$ = {}));
|
|
2021
|
+
export function updatePaymentQrCodeToJSON(updatePaymentQrCode) {
|
|
2022
|
+
return JSON.stringify(UpdatePaymentQrCode$outboundSchema.parse(updatePaymentQrCode));
|
|
2023
|
+
}
|
|
2024
|
+
export function updatePaymentQrCodeFromJSON(jsonString) {
|
|
2025
|
+
return safeParse(jsonString, (x) => UpdatePaymentQrCode$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UpdatePaymentQrCode' from JSON`);
|
|
2026
|
+
}
|
|
2027
|
+
/** @internal */
|
|
2028
|
+
export const UpdatePaymentRemainderAmount$inboundSchema = z.object({
|
|
2029
|
+
currency: z.string(),
|
|
2030
|
+
value: z.string(),
|
|
2031
|
+
});
|
|
2032
|
+
/** @internal */
|
|
2033
|
+
export const UpdatePaymentRemainderAmount$outboundSchema = z.object({
|
|
2034
|
+
currency: z.string(),
|
|
2035
|
+
value: z.string(),
|
|
2036
|
+
});
|
|
2037
|
+
/**
|
|
2038
|
+
* @internal
|
|
2039
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2040
|
+
*/
|
|
2041
|
+
export var UpdatePaymentRemainderAmount$;
|
|
2042
|
+
(function (UpdatePaymentRemainderAmount$) {
|
|
2043
|
+
/** @deprecated use `UpdatePaymentRemainderAmount$inboundSchema` instead. */
|
|
2044
|
+
UpdatePaymentRemainderAmount$.inboundSchema = UpdatePaymentRemainderAmount$inboundSchema;
|
|
2045
|
+
/** @deprecated use `UpdatePaymentRemainderAmount$outboundSchema` instead. */
|
|
2046
|
+
UpdatePaymentRemainderAmount$.outboundSchema = UpdatePaymentRemainderAmount$outboundSchema;
|
|
2047
|
+
})(UpdatePaymentRemainderAmount$ || (UpdatePaymentRemainderAmount$ = {}));
|
|
2048
|
+
export function updatePaymentRemainderAmountToJSON(updatePaymentRemainderAmount) {
|
|
2049
|
+
return JSON.stringify(UpdatePaymentRemainderAmount$outboundSchema.parse(updatePaymentRemainderAmount));
|
|
2050
|
+
}
|
|
2051
|
+
export function updatePaymentRemainderAmountFromJSON(jsonString) {
|
|
2052
|
+
return safeParse(jsonString, (x) => UpdatePaymentRemainderAmount$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UpdatePaymentRemainderAmount' from JSON`);
|
|
2053
|
+
}
|
|
2054
|
+
/** @internal */
|
|
2055
|
+
export const UpdatePaymentDetails$inboundSchema = z.object({
|
|
2056
|
+
consumerName: z.nullable(z.string()).optional(),
|
|
2057
|
+
consumerAccount: z.nullable(z.string()).optional(),
|
|
2058
|
+
consumerBic: z.nullable(z.string()).optional(),
|
|
2059
|
+
shippingAddress: z.nullable(z.record(z.any())).optional(),
|
|
2060
|
+
cardNumber: z.nullable(z.string()).optional(),
|
|
2061
|
+
bankName: z.string().optional(),
|
|
2062
|
+
bankAccount: z.string().optional(),
|
|
2063
|
+
bankBic: z.string().optional(),
|
|
2064
|
+
transferReference: z.nullable(z.string()).optional(),
|
|
2065
|
+
cardFingerprint: z.nullable(z.string()).optional(),
|
|
2066
|
+
cardHolder: z.nullable(z.string()).optional(),
|
|
2067
|
+
cardAudition: z.nullable(UpdatePaymentCardAudition$inboundSchema).optional(),
|
|
2068
|
+
cardLabel: z.nullable(UpdatePaymentCardLabel$inboundSchema).optional(),
|
|
2069
|
+
cardCountryCode: z.nullable(z.string()).optional(),
|
|
2070
|
+
cardExpiryDate: z.nullable(z.string()).optional(),
|
|
2071
|
+
cardFunding: z.nullable(UpdatePaymentCardFunding$inboundSchema).optional(),
|
|
2072
|
+
cardSecurity: z.nullable(UpdatePaymentCardSecurity$inboundSchema).optional(),
|
|
2073
|
+
feeRegion: z.nullable(UpdatePaymentFeeRegion$inboundSchema).optional(),
|
|
2074
|
+
cardMaskedNumber: z.nullable(z.string()).optional(),
|
|
2075
|
+
card3dsEci: z.nullable(z.string()).optional(),
|
|
2076
|
+
cardBin: z.nullable(z.string()).optional(),
|
|
2077
|
+
cardIssuer: z.nullable(z.string()).optional(),
|
|
2078
|
+
failureReason: z.nullable(UpdatePaymentFailureReason$inboundSchema)
|
|
2079
|
+
.optional(),
|
|
2080
|
+
failureMessage: z.nullable(z.string()).optional(),
|
|
2081
|
+
wallet: z.nullable(UpdatePaymentWallet$inboundSchema).optional(),
|
|
2082
|
+
paypalReference: z.nullable(z.string()).optional(),
|
|
2083
|
+
paypalPayerId: z.nullable(z.string()).optional(),
|
|
2084
|
+
sellerProtection: z.nullable(UpdatePaymentSellerProtection$inboundSchema)
|
|
2085
|
+
.optional(),
|
|
2086
|
+
paypalFee: z.nullable(z.lazy(() => UpdatePaymentPaypalFee$inboundSchema))
|
|
2087
|
+
.optional(),
|
|
2088
|
+
customerReference: z.string().optional(),
|
|
2089
|
+
terminalId: z.string().optional(),
|
|
2090
|
+
maskedNumber: z.nullable(z.string()).optional(),
|
|
2091
|
+
receipt: z.lazy(() => UpdatePaymentReceipt$inboundSchema).optional(),
|
|
2092
|
+
creditorIdentifier: z.nullable(z.string()).optional(),
|
|
2093
|
+
dueDate: z.nullable(z.string().transform(v => new RFCDate(v))).optional(),
|
|
2094
|
+
signatureDate: z.nullable(z.string().transform(v => new RFCDate(v)))
|
|
2095
|
+
.optional(),
|
|
2096
|
+
bankReasonCode: z.nullable(z.string()).optional(),
|
|
2097
|
+
bankReason: z.nullable(z.string()).optional(),
|
|
2098
|
+
endToEndIdentifier: z.nullable(z.string()).optional(),
|
|
2099
|
+
mandateReference: z.nullable(z.string()).optional(),
|
|
2100
|
+
batchReference: z.nullable(z.string()).optional(),
|
|
2101
|
+
fileReference: z.nullable(z.string()).optional(),
|
|
2102
|
+
qrCode: z.lazy(() => UpdatePaymentQrCode$inboundSchema).optional(),
|
|
2103
|
+
voucherNumber: z.string().optional(),
|
|
2104
|
+
giftcards: z.array(z.record(z.any())).optional(),
|
|
2105
|
+
issuer: z.string().optional(),
|
|
2106
|
+
vouchers: z.array(z.record(z.any())).optional(),
|
|
2107
|
+
remainderAmount: z.lazy(() => UpdatePaymentRemainderAmount$inboundSchema)
|
|
2108
|
+
.optional(),
|
|
2109
|
+
remainderMethod: z.string().optional(),
|
|
2110
|
+
remainderDetails: z.record(z.any()).optional(),
|
|
2111
|
+
});
|
|
2112
|
+
/** @internal */
|
|
2113
|
+
export const UpdatePaymentDetails$outboundSchema = z.object({
|
|
2114
|
+
consumerName: z.nullable(z.string()).optional(),
|
|
2115
|
+
consumerAccount: z.nullable(z.string()).optional(),
|
|
2116
|
+
consumerBic: z.nullable(z.string()).optional(),
|
|
2117
|
+
shippingAddress: z.nullable(z.record(z.any())).optional(),
|
|
2118
|
+
cardNumber: z.nullable(z.string()).optional(),
|
|
2119
|
+
bankName: z.string().optional(),
|
|
2120
|
+
bankAccount: z.string().optional(),
|
|
2121
|
+
bankBic: z.string().optional(),
|
|
2122
|
+
transferReference: z.nullable(z.string()).optional(),
|
|
2123
|
+
cardFingerprint: z.nullable(z.string()).optional(),
|
|
2124
|
+
cardHolder: z.nullable(z.string()).optional(),
|
|
2125
|
+
cardAudition: z.nullable(UpdatePaymentCardAudition$outboundSchema).optional(),
|
|
2126
|
+
cardLabel: z.nullable(UpdatePaymentCardLabel$outboundSchema).optional(),
|
|
2127
|
+
cardCountryCode: z.nullable(z.string()).optional(),
|
|
2128
|
+
cardExpiryDate: z.nullable(z.string()).optional(),
|
|
2129
|
+
cardFunding: z.nullable(UpdatePaymentCardFunding$outboundSchema).optional(),
|
|
2130
|
+
cardSecurity: z.nullable(UpdatePaymentCardSecurity$outboundSchema).optional(),
|
|
2131
|
+
feeRegion: z.nullable(UpdatePaymentFeeRegion$outboundSchema).optional(),
|
|
2132
|
+
cardMaskedNumber: z.nullable(z.string()).optional(),
|
|
2133
|
+
card3dsEci: z.nullable(z.string()).optional(),
|
|
2134
|
+
cardBin: z.nullable(z.string()).optional(),
|
|
2135
|
+
cardIssuer: z.nullable(z.string()).optional(),
|
|
2136
|
+
failureReason: z.nullable(UpdatePaymentFailureReason$outboundSchema)
|
|
2137
|
+
.optional(),
|
|
2138
|
+
failureMessage: z.nullable(z.string()).optional(),
|
|
2139
|
+
wallet: z.nullable(UpdatePaymentWallet$outboundSchema).optional(),
|
|
2140
|
+
paypalReference: z.nullable(z.string()).optional(),
|
|
2141
|
+
paypalPayerId: z.nullable(z.string()).optional(),
|
|
2142
|
+
sellerProtection: z.nullable(UpdatePaymentSellerProtection$outboundSchema)
|
|
2143
|
+
.optional(),
|
|
2144
|
+
paypalFee: z.nullable(z.lazy(() => UpdatePaymentPaypalFee$outboundSchema))
|
|
2145
|
+
.optional(),
|
|
2146
|
+
customerReference: z.string().optional(),
|
|
2147
|
+
terminalId: z.string().optional(),
|
|
2148
|
+
maskedNumber: z.nullable(z.string()).optional(),
|
|
2149
|
+
receipt: z.lazy(() => UpdatePaymentReceipt$outboundSchema).optional(),
|
|
2150
|
+
creditorIdentifier: z.nullable(z.string()).optional(),
|
|
2151
|
+
dueDate: z.nullable(z.instanceof(RFCDate).transform(v => v.toString()))
|
|
2152
|
+
.optional(),
|
|
2153
|
+
signatureDate: z.nullable(z.instanceof(RFCDate).transform(v => v.toString()))
|
|
2154
|
+
.optional(),
|
|
2155
|
+
bankReasonCode: z.nullable(z.string()).optional(),
|
|
2156
|
+
bankReason: z.nullable(z.string()).optional(),
|
|
2157
|
+
endToEndIdentifier: z.nullable(z.string()).optional(),
|
|
2158
|
+
mandateReference: z.nullable(z.string()).optional(),
|
|
2159
|
+
batchReference: z.nullable(z.string()).optional(),
|
|
2160
|
+
fileReference: z.nullable(z.string()).optional(),
|
|
2161
|
+
qrCode: z.lazy(() => UpdatePaymentQrCode$outboundSchema).optional(),
|
|
2162
|
+
voucherNumber: z.string().optional(),
|
|
2163
|
+
giftcards: z.array(z.record(z.any())).optional(),
|
|
2164
|
+
issuer: z.string().optional(),
|
|
2165
|
+
vouchers: z.array(z.record(z.any())).optional(),
|
|
2166
|
+
remainderAmount: z.lazy(() => UpdatePaymentRemainderAmount$outboundSchema)
|
|
2167
|
+
.optional(),
|
|
2168
|
+
remainderMethod: z.string().optional(),
|
|
2169
|
+
remainderDetails: z.record(z.any()).optional(),
|
|
2170
|
+
});
|
|
2171
|
+
/**
|
|
2172
|
+
* @internal
|
|
2173
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2174
|
+
*/
|
|
2175
|
+
export var UpdatePaymentDetails$;
|
|
2176
|
+
(function (UpdatePaymentDetails$) {
|
|
2177
|
+
/** @deprecated use `UpdatePaymentDetails$inboundSchema` instead. */
|
|
2178
|
+
UpdatePaymentDetails$.inboundSchema = UpdatePaymentDetails$inboundSchema;
|
|
2179
|
+
/** @deprecated use `UpdatePaymentDetails$outboundSchema` instead. */
|
|
2180
|
+
UpdatePaymentDetails$.outboundSchema = UpdatePaymentDetails$outboundSchema;
|
|
2181
|
+
})(UpdatePaymentDetails$ || (UpdatePaymentDetails$ = {}));
|
|
2182
|
+
export function updatePaymentDetailsToJSON(updatePaymentDetails) {
|
|
2183
|
+
return JSON.stringify(UpdatePaymentDetails$outboundSchema.parse(updatePaymentDetails));
|
|
2184
|
+
}
|
|
2185
|
+
export function updatePaymentDetailsFromJSON(jsonString) {
|
|
2186
|
+
return safeParse(jsonString, (x) => UpdatePaymentDetails$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UpdatePaymentDetails' from JSON`);
|
|
2187
|
+
}
|
|
2188
|
+
/** @internal */
|
|
1530
2189
|
export const UpdatePaymentSelf$inboundSchema = z.object({
|
|
1531
2190
|
href: z.string(),
|
|
1532
2191
|
type: z.string(),
|
|
@@ -1932,6 +2591,60 @@ export function updatePaymentDocumentationFromJSON(jsonString) {
|
|
|
1932
2591
|
return safeParse(jsonString, (x) => UpdatePaymentDocumentation$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UpdatePaymentDocumentation' from JSON`);
|
|
1933
2592
|
}
|
|
1934
2593
|
/** @internal */
|
|
2594
|
+
export const UpdatePaymentLinksStatus$inboundSchema = z.object({
|
|
2595
|
+
href: z.string(),
|
|
2596
|
+
type: z.string(),
|
|
2597
|
+
});
|
|
2598
|
+
/** @internal */
|
|
2599
|
+
export const UpdatePaymentLinksStatus$outboundSchema = z.object({
|
|
2600
|
+
href: z.string(),
|
|
2601
|
+
type: z.string(),
|
|
2602
|
+
});
|
|
2603
|
+
/**
|
|
2604
|
+
* @internal
|
|
2605
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2606
|
+
*/
|
|
2607
|
+
export var UpdatePaymentLinksStatus$;
|
|
2608
|
+
(function (UpdatePaymentLinksStatus$) {
|
|
2609
|
+
/** @deprecated use `UpdatePaymentLinksStatus$inboundSchema` instead. */
|
|
2610
|
+
UpdatePaymentLinksStatus$.inboundSchema = UpdatePaymentLinksStatus$inboundSchema;
|
|
2611
|
+
/** @deprecated use `UpdatePaymentLinksStatus$outboundSchema` instead. */
|
|
2612
|
+
UpdatePaymentLinksStatus$.outboundSchema = UpdatePaymentLinksStatus$outboundSchema;
|
|
2613
|
+
})(UpdatePaymentLinksStatus$ || (UpdatePaymentLinksStatus$ = {}));
|
|
2614
|
+
export function updatePaymentLinksStatusToJSON(updatePaymentLinksStatus) {
|
|
2615
|
+
return JSON.stringify(UpdatePaymentLinksStatus$outboundSchema.parse(updatePaymentLinksStatus));
|
|
2616
|
+
}
|
|
2617
|
+
export function updatePaymentLinksStatusFromJSON(jsonString) {
|
|
2618
|
+
return safeParse(jsonString, (x) => UpdatePaymentLinksStatus$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UpdatePaymentLinksStatus' from JSON`);
|
|
2619
|
+
}
|
|
2620
|
+
/** @internal */
|
|
2621
|
+
export const UpdatePaymentPayOnline$inboundSchema = z.object({
|
|
2622
|
+
href: z.string(),
|
|
2623
|
+
type: z.string(),
|
|
2624
|
+
});
|
|
2625
|
+
/** @internal */
|
|
2626
|
+
export const UpdatePaymentPayOnline$outboundSchema = z.object({
|
|
2627
|
+
href: z.string(),
|
|
2628
|
+
type: z.string(),
|
|
2629
|
+
});
|
|
2630
|
+
/**
|
|
2631
|
+
* @internal
|
|
2632
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2633
|
+
*/
|
|
2634
|
+
export var UpdatePaymentPayOnline$;
|
|
2635
|
+
(function (UpdatePaymentPayOnline$) {
|
|
2636
|
+
/** @deprecated use `UpdatePaymentPayOnline$inboundSchema` instead. */
|
|
2637
|
+
UpdatePaymentPayOnline$.inboundSchema = UpdatePaymentPayOnline$inboundSchema;
|
|
2638
|
+
/** @deprecated use `UpdatePaymentPayOnline$outboundSchema` instead. */
|
|
2639
|
+
UpdatePaymentPayOnline$.outboundSchema = UpdatePaymentPayOnline$outboundSchema;
|
|
2640
|
+
})(UpdatePaymentPayOnline$ || (UpdatePaymentPayOnline$ = {}));
|
|
2641
|
+
export function updatePaymentPayOnlineToJSON(updatePaymentPayOnline) {
|
|
2642
|
+
return JSON.stringify(UpdatePaymentPayOnline$outboundSchema.parse(updatePaymentPayOnline));
|
|
2643
|
+
}
|
|
2644
|
+
export function updatePaymentPayOnlineFromJSON(jsonString) {
|
|
2645
|
+
return safeParse(jsonString, (x) => UpdatePaymentPayOnline$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UpdatePaymentPayOnline' from JSON`);
|
|
2646
|
+
}
|
|
2647
|
+
/** @internal */
|
|
1935
2648
|
export const UpdatePaymentLinks$inboundSchema = z.object({
|
|
1936
2649
|
self: z.lazy(() => UpdatePaymentSelf$inboundSchema),
|
|
1937
2650
|
checkout: z.lazy(() => UpdatePaymentCheckout$inboundSchema).optional(),
|
|
@@ -1951,6 +2664,8 @@ export const UpdatePaymentLinks$inboundSchema = z.object({
|
|
|
1951
2664
|
terminal: z.lazy(() => UpdatePaymentTerminal$inboundSchema).optional(),
|
|
1952
2665
|
documentation: z.lazy(() => UpdatePaymentDocumentation$inboundSchema)
|
|
1953
2666
|
.optional(),
|
|
2667
|
+
status: z.lazy(() => UpdatePaymentLinksStatus$inboundSchema).optional(),
|
|
2668
|
+
payOnline: z.lazy(() => UpdatePaymentPayOnline$inboundSchema).optional(),
|
|
1954
2669
|
});
|
|
1955
2670
|
/** @internal */
|
|
1956
2671
|
export const UpdatePaymentLinks$outboundSchema = z.object({
|
|
@@ -1972,6 +2687,8 @@ export const UpdatePaymentLinks$outboundSchema = z.object({
|
|
|
1972
2687
|
terminal: z.lazy(() => UpdatePaymentTerminal$outboundSchema).optional(),
|
|
1973
2688
|
documentation: z.lazy(() => UpdatePaymentDocumentation$outboundSchema)
|
|
1974
2689
|
.optional(),
|
|
2690
|
+
status: z.lazy(() => UpdatePaymentLinksStatus$outboundSchema).optional(),
|
|
2691
|
+
payOnline: z.lazy(() => UpdatePaymentPayOnline$outboundSchema).optional(),
|
|
1975
2692
|
});
|
|
1976
2693
|
/**
|
|
1977
2694
|
* @internal
|
|
@@ -2032,10 +2749,11 @@ export const UpdatePaymentResponse$inboundSchema = z.object({
|
|
|
2032
2749
|
profileId: z.string(),
|
|
2033
2750
|
settlementId: z.nullable(z.string()).optional(),
|
|
2034
2751
|
orderId: z.nullable(z.string()).optional(),
|
|
2035
|
-
status:
|
|
2752
|
+
status: UpdatePaymentStatusEnum$inboundSchema,
|
|
2036
2753
|
statusReason: z.nullable(z.lazy(() => UpdatePaymentStatusReason$inboundSchema)).optional(),
|
|
2037
2754
|
isCancelable: z.nullable(z.boolean()).optional(),
|
|
2038
|
-
details: z.nullable(z.
|
|
2755
|
+
details: z.nullable(z.lazy(() => UpdatePaymentDetails$inboundSchema))
|
|
2756
|
+
.optional(),
|
|
2039
2757
|
createdAt: z.string(),
|
|
2040
2758
|
authorizedAt: z.nullable(z.string()).optional(),
|
|
2041
2759
|
paidAt: z.nullable(z.string()).optional(),
|
|
@@ -2090,10 +2808,11 @@ export const UpdatePaymentResponse$outboundSchema = z.object({
|
|
|
2090
2808
|
profileId: z.string(),
|
|
2091
2809
|
settlementId: z.nullable(z.string()).optional(),
|
|
2092
2810
|
orderId: z.nullable(z.string()).optional(),
|
|
2093
|
-
status:
|
|
2811
|
+
status: UpdatePaymentStatusEnum$outboundSchema,
|
|
2094
2812
|
statusReason: z.nullable(z.lazy(() => UpdatePaymentStatusReason$outboundSchema)).optional(),
|
|
2095
2813
|
isCancelable: z.nullable(z.boolean()).optional(),
|
|
2096
|
-
details: z.nullable(z.
|
|
2814
|
+
details: z.nullable(z.lazy(() => UpdatePaymentDetails$outboundSchema))
|
|
2815
|
+
.optional(),
|
|
2097
2816
|
createdAt: z.string(),
|
|
2098
2817
|
authorizedAt: z.nullable(z.string()).optional(),
|
|
2099
2818
|
paidAt: z.nullable(z.string()).optional(),
|