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
|
* This endpoint allows you to include additional information via the `include` query string parameter.
|
|
9
10
|
*/
|
|
@@ -341,7 +342,7 @@ export const CreatePaymentSequenceTypeResponse = {
|
|
|
341
342
|
* @remarks
|
|
342
343
|
* statuses occur at what point.
|
|
343
344
|
*/
|
|
344
|
-
export const
|
|
345
|
+
export const CreatePaymentStatusEnum = {
|
|
345
346
|
Open: "open",
|
|
346
347
|
Pending: "pending",
|
|
347
348
|
Authorized: "authorized",
|
|
@@ -350,6 +351,249 @@ export const CreatePaymentStatus = {
|
|
|
350
351
|
Expired: "expired",
|
|
351
352
|
Failed: "failed",
|
|
352
353
|
};
|
|
354
|
+
/**
|
|
355
|
+
* A machine-readable code that indicates the reason for the payment's status.
|
|
356
|
+
*/
|
|
357
|
+
export const CreatePaymentCode = {
|
|
358
|
+
ApprovedOrCompletedSuccessfully: "approved_or_completed_successfully",
|
|
359
|
+
ReferToCardIssuer: "refer_to_card_issuer",
|
|
360
|
+
InvalidMerchant: "invalid_merchant",
|
|
361
|
+
CaptureCard: "capture_card",
|
|
362
|
+
DoNotHonor: "do_not_honor",
|
|
363
|
+
Error: "error",
|
|
364
|
+
PartialApproval: "partial_approval",
|
|
365
|
+
InvalidTransaction: "invalid_transaction",
|
|
366
|
+
InvalidAmount: "invalid_amount",
|
|
367
|
+
InvalidIssuer: "invalid_issuer",
|
|
368
|
+
LostCard: "lost_card",
|
|
369
|
+
StolenCard: "stolen_card",
|
|
370
|
+
InsufficientFunds: "insufficient_funds",
|
|
371
|
+
ExpiredCard: "expired_card",
|
|
372
|
+
InvalidPin: "invalid_pin",
|
|
373
|
+
TransactionNotPermittedToCardholder: "transaction_not_permitted_to_cardholder",
|
|
374
|
+
TransactionNotAllowedAtTerminal: "transaction_not_allowed_at_terminal",
|
|
375
|
+
ExceedsWithdrawalAmountLimit: "exceeds_withdrawal_amount_limit",
|
|
376
|
+
RestrictedCard: "restricted_card",
|
|
377
|
+
SecurityViolation: "security_violation",
|
|
378
|
+
ExceedsWithdrawalCountLimit: "exceeds_withdrawal_count_limit",
|
|
379
|
+
AllowableNumberOfPinTriesExceeded: "allowable_number_of_pin_tries_exceeded",
|
|
380
|
+
NoReasonToDecline: "no_reason_to_decline",
|
|
381
|
+
CannotVerifyPin: "cannot_verify_pin",
|
|
382
|
+
IssuerUnavailable: "issuer_unavailable",
|
|
383
|
+
UnableToRouteTransaction: "unable_to_route_transaction",
|
|
384
|
+
DuplicateTransaction: "duplicate_transaction",
|
|
385
|
+
SystemMalfunction: "system_malfunction",
|
|
386
|
+
HonorWithId: "honor_with_id",
|
|
387
|
+
InvalidCardNumber: "invalid_card_number",
|
|
388
|
+
FormatError: "format_error",
|
|
389
|
+
ContactCardIssuer: "contact_card_issuer",
|
|
390
|
+
PinNotChanged: "pin_not_changed",
|
|
391
|
+
InvalidNonexistentToAccountSpecified: "invalid_nonexistent_to_account_specified",
|
|
392
|
+
InvalidNonexistentFromAccountSpecified: "invalid_nonexistent_from_account_specified",
|
|
393
|
+
InvalidNonexistentAccountSpecified: "invalid_nonexistent_account_specified",
|
|
394
|
+
LifecycleRelated: "lifecycle_related",
|
|
395
|
+
DomesticDebitTransactionNotAllowed: "domestic_debit_transaction_not_allowed",
|
|
396
|
+
PolicyRelated: "policy_related",
|
|
397
|
+
FraudSecurityRelated: "fraud_security_related",
|
|
398
|
+
InvalidAuthorizationLifeCycle: "invalid_authorization_life_cycle",
|
|
399
|
+
PurchaseAmountOnlyNoCashBackAllowed: "purchase_amount_only_no_cash_back_allowed",
|
|
400
|
+
CryptographicFailure: "cryptographic_failure",
|
|
401
|
+
UnacceptablePin: "unacceptable_pin",
|
|
402
|
+
ReferToCardIssuerSpecialCondition: "refer_to_card_issuer_special_condition",
|
|
403
|
+
PickUpCardSpecialCondition: "pick_up_card_special_condition",
|
|
404
|
+
VipApproval: "vip_approval",
|
|
405
|
+
InvalidAccountNumber: "invalid_account_number",
|
|
406
|
+
ReEnterTransaction: "re_enter_transaction",
|
|
407
|
+
NoActionTaken: "no_action_taken",
|
|
408
|
+
UnableToLocateRecord: "unable_to_locate_record",
|
|
409
|
+
FileTemporarilyUnavailable: "file_temporarily_unavailable",
|
|
410
|
+
NoCreditAccount: "no_credit_account",
|
|
411
|
+
ClosedAccount: "closed_account",
|
|
412
|
+
NoCheckingAccount: "no_checking_account",
|
|
413
|
+
NoSavingsAccount: "no_savings_account",
|
|
414
|
+
SuspectedFraud: "suspected_fraud",
|
|
415
|
+
TransactionDoesNotFulfillAmlRequirement: "transaction_does_not_fulfill_aml_requirement",
|
|
416
|
+
PinDataRequired: "pin_data_required",
|
|
417
|
+
UnableToLocatePreviousMessage: "unable_to_locate_previous_message",
|
|
418
|
+
PreviousMessageLocatedInconsistentData: "previous_message_located_inconsistent_data",
|
|
419
|
+
BlockedFirstUsed: "blocked_first_used",
|
|
420
|
+
TransactionReversed: "transaction_reversed",
|
|
421
|
+
CreditIssuerUnavailable: "credit_issuer_unavailable",
|
|
422
|
+
PinCryptographicErrorFound: "pin_cryptographic_error_found",
|
|
423
|
+
NegativeOnlineCamResult: "negative_online_cam_result",
|
|
424
|
+
ViolationOfLaw: "violation_of_law",
|
|
425
|
+
ForceStip: "force_stip",
|
|
426
|
+
CashServiceNotAvailable: "cash_service_not_available",
|
|
427
|
+
CashbackRequestExceedsIssuerLimit: "cashback_request_exceeds_issuer_limit",
|
|
428
|
+
DeclineForCvv2Failure: "decline_for_cvv2_failure",
|
|
429
|
+
TransactionAmountExceedsPreAuthorizedAmount: "transaction_amount_exceeds_pre_authorized_amount",
|
|
430
|
+
InvalidBillerInformation: "invalid_biller_information",
|
|
431
|
+
PinChangeUnblockRequestDeclined: "pin_change_unblock_request_declined",
|
|
432
|
+
UnsafePin: "unsafe_pin",
|
|
433
|
+
CardAuthenticationFailed: "card_authentication_failed",
|
|
434
|
+
StopPaymentOrder: "stop_payment_order",
|
|
435
|
+
RevocationOfAuthorization: "revocation_of_authorization",
|
|
436
|
+
RevocationOfAllAuthorizations: "revocation_of_all_authorizations",
|
|
437
|
+
ForwardToIssuerXa: "forward_to_issuer_xa",
|
|
438
|
+
ForwardToIssuerXd: "forward_to_issuer_xd",
|
|
439
|
+
UnableToGoOnline: "unable_to_go_online",
|
|
440
|
+
AdditionalCustomerAuthenticationRequired: "additional_customer_authentication_required",
|
|
441
|
+
MerchantIdNotFound: "merchant_id_not_found",
|
|
442
|
+
MerchantAccountClosed: "merchant_account_closed",
|
|
443
|
+
TerminalIdNotFound: "terminal_id_not_found",
|
|
444
|
+
TerminalClosed: "terminal_closed",
|
|
445
|
+
InvalidCategoryCode: "invalid_category_code",
|
|
446
|
+
InvalidCurrency: "invalid_currency",
|
|
447
|
+
MissingCvv2Cvc2: "missing_cvv2_cvc2",
|
|
448
|
+
Cvv2NotAllowed: "cvv2_not_allowed",
|
|
449
|
+
MerchantNotRegisteredVbv: "merchant_not_registered_vbv",
|
|
450
|
+
MerchantNotRegisteredForAmex: "merchant_not_registered_for_amex",
|
|
451
|
+
TransactionNotPermittedAtTerminal: "transaction_not_permitted_at_terminal",
|
|
452
|
+
AgreementTerminalNotRelated: "agreement_terminal_not_related",
|
|
453
|
+
InvalidProcessorId: "invalid_processor_id",
|
|
454
|
+
InvalidMerchantData: "invalid_merchant_data",
|
|
455
|
+
SubMerchantAccountClosed: "sub_merchant_account_closed",
|
|
456
|
+
TerminalBusy: "terminal_busy",
|
|
457
|
+
TerminalUnreachable: "terminal_unreachable",
|
|
458
|
+
ServiceFailed: "service_failed",
|
|
459
|
+
InvalidOperation: "invalid_operation",
|
|
460
|
+
AuthorizationError: "authorization_error",
|
|
461
|
+
LoginFailedWithoutReason: "login_failed_without_reason",
|
|
462
|
+
InvalidRetailer: "invalid_retailer",
|
|
463
|
+
CardDoesNotExist: "card_does_not_exist",
|
|
464
|
+
CardIsBlocked: "card_is_blocked",
|
|
465
|
+
InvalidCardId: "invalid_card_id",
|
|
466
|
+
CardIsTransferred: "card_is_transferred",
|
|
467
|
+
CardIsNotActive: "card_is_not_active",
|
|
468
|
+
IncorrectPurchaseValue: "incorrect_purchase_value",
|
|
469
|
+
CardNotAvailable: "card_not_available",
|
|
470
|
+
WrongCurrency: "wrong_currency",
|
|
471
|
+
LoginFailedUnknownUser: "login_failed_unknown_user",
|
|
472
|
+
LoginFailedInvalidPassword: "login_failed_invalid_password",
|
|
473
|
+
InvalidEanCode: "invalid_ean_code",
|
|
474
|
+
};
|
|
475
|
+
/**
|
|
476
|
+
* The card's target audience, if known.
|
|
477
|
+
*/
|
|
478
|
+
export const CreatePaymentCardAudition = {
|
|
479
|
+
Consumer: "consumer",
|
|
480
|
+
Business: "business",
|
|
481
|
+
};
|
|
482
|
+
/**
|
|
483
|
+
* The card's label, if known.
|
|
484
|
+
*/
|
|
485
|
+
export const CreatePaymentCardLabel = {
|
|
486
|
+
AmericanExpress: "American Express",
|
|
487
|
+
CartaSi: "Carta Si",
|
|
488
|
+
CarteBleue: "Carte Bleue",
|
|
489
|
+
Dankort: "Dankort",
|
|
490
|
+
DinersClub: "Diners Club",
|
|
491
|
+
Discover: "Discover",
|
|
492
|
+
Jcb: "JCB",
|
|
493
|
+
Laser: "Laser",
|
|
494
|
+
Maestro: "Maestro",
|
|
495
|
+
Mastercard: "Mastercard",
|
|
496
|
+
Unionpay: "Unionpay",
|
|
497
|
+
Visa: "Visa",
|
|
498
|
+
Vpay: "Vpay",
|
|
499
|
+
};
|
|
500
|
+
/**
|
|
501
|
+
* The card type.
|
|
502
|
+
*/
|
|
503
|
+
export const CreatePaymentCardFunding = {
|
|
504
|
+
Debit: "debit",
|
|
505
|
+
Credit: "credit",
|
|
506
|
+
Prepaid: "prepaid",
|
|
507
|
+
DeferredDebit: "deferred-debit",
|
|
508
|
+
};
|
|
509
|
+
/**
|
|
510
|
+
* The level of security applied during card processing.
|
|
511
|
+
*/
|
|
512
|
+
export const CreatePaymentCardSecurity = {
|
|
513
|
+
Normal: "normal",
|
|
514
|
+
Threedsecure: "3dsecure",
|
|
515
|
+
};
|
|
516
|
+
/**
|
|
517
|
+
* The applicable card fee region.
|
|
518
|
+
*/
|
|
519
|
+
export const CreatePaymentFeeRegion = {
|
|
520
|
+
AmericanExpress: "american-express",
|
|
521
|
+
AmexIntraEea: "amex-intra-eea",
|
|
522
|
+
CarteBancaire: "carte-bancaire",
|
|
523
|
+
IntraEu: "intra-eu",
|
|
524
|
+
IntraEuCorporate: "intra-eu-corporate",
|
|
525
|
+
Domestic: "domestic",
|
|
526
|
+
Maestro: "maestro",
|
|
527
|
+
Other: "other",
|
|
528
|
+
Inter: "inter",
|
|
529
|
+
IntraEea: "intra-eea",
|
|
530
|
+
};
|
|
531
|
+
/**
|
|
532
|
+
* A failure code to help understand why the payment failed.
|
|
533
|
+
*/
|
|
534
|
+
export const CreatePaymentFailureReason = {
|
|
535
|
+
AuthenticationAbandoned: "authentication_abandoned",
|
|
536
|
+
AuthenticationFailed: "authentication_failed",
|
|
537
|
+
AuthenticationRequired: "authentication_required",
|
|
538
|
+
AuthenticationUnavailableAcs: "authentication_unavailable_acs",
|
|
539
|
+
CardDeclined: "card_declined",
|
|
540
|
+
CardExpired: "card_expired",
|
|
541
|
+
InactiveCard: "inactive_card",
|
|
542
|
+
InsufficientFunds: "insufficient_funds",
|
|
543
|
+
InvalidCvv: "invalid_cvv",
|
|
544
|
+
InvalidCardHolderName: "invalid_card_holder_name",
|
|
545
|
+
InvalidCardNumber: "invalid_card_number",
|
|
546
|
+
InvalidCardType: "invalid_card_type",
|
|
547
|
+
PossibleFraud: "possible_fraud",
|
|
548
|
+
RefusedByIssuer: "refused_by_issuer",
|
|
549
|
+
UnknownReason: "unknown_reason",
|
|
550
|
+
};
|
|
551
|
+
/**
|
|
552
|
+
* The wallet used when creating the payment.
|
|
553
|
+
*/
|
|
554
|
+
export const CreatePaymentWallet = {
|
|
555
|
+
Applepay: "applepay",
|
|
556
|
+
};
|
|
557
|
+
/**
|
|
558
|
+
* Indicates to what extent the payment is eligible for PayPal's Seller Protection. Only available for PayPal
|
|
559
|
+
*
|
|
560
|
+
* @remarks
|
|
561
|
+
* payments, and if the information is made available by PayPal.
|
|
562
|
+
*/
|
|
563
|
+
export const CreatePaymentSellerProtection = {
|
|
564
|
+
Eligible: "Eligible",
|
|
565
|
+
Ineligible: "Ineligible",
|
|
566
|
+
PartiallyEligibleINROnly: "Partially Eligible - INR Only",
|
|
567
|
+
PartiallyEligibleUnauthOnly: "Partially Eligible - Unauth Only",
|
|
568
|
+
PartiallyEligible: "Partially Eligible",
|
|
569
|
+
None: "None",
|
|
570
|
+
Active: "Active",
|
|
571
|
+
FraudControlUnauthPremiumEligible: "Fraud Control - Unauth Premium Eligible",
|
|
572
|
+
};
|
|
573
|
+
/**
|
|
574
|
+
* The method by which the card was read by the terminal.
|
|
575
|
+
*/
|
|
576
|
+
export const CreatePaymentCardReadMethod = {
|
|
577
|
+
Chip: "chip",
|
|
578
|
+
MagneticStripe: "magnetic-stripe",
|
|
579
|
+
NearFieldCommunication: "near-field-communication",
|
|
580
|
+
Contactless: "contactless",
|
|
581
|
+
Moto: "moto",
|
|
582
|
+
};
|
|
583
|
+
/**
|
|
584
|
+
* The method used to verify the cardholder's identity.
|
|
585
|
+
*/
|
|
586
|
+
export const CreatePaymentCardVerificationMethod = {
|
|
587
|
+
NoCvmRequired: "no-cvm-required",
|
|
588
|
+
OnlinePin: "online-pin",
|
|
589
|
+
OfflinePin: "offline-pin",
|
|
590
|
+
ConsumerDevice: "consumer-device",
|
|
591
|
+
Signature: "signature",
|
|
592
|
+
SignatureAndOnlinePin: "signature-and-online-pin",
|
|
593
|
+
OnlinePinAndSignature: "online-pin-and-signature",
|
|
594
|
+
None: "none",
|
|
595
|
+
Failed: "failed",
|
|
596
|
+
};
|
|
353
597
|
/** @internal */
|
|
354
598
|
export const CreatePaymentInclude$inboundSchema = z.nativeEnum(CreatePaymentInclude);
|
|
355
599
|
/** @internal */
|
|
@@ -1084,6 +1328,35 @@ export var CreatePaymentSequenceTypeRequest$;
|
|
|
1084
1328
|
CreatePaymentSequenceTypeRequest$.outboundSchema = CreatePaymentSequenceTypeRequest$outboundSchema;
|
|
1085
1329
|
})(CreatePaymentSequenceTypeRequest$ || (CreatePaymentSequenceTypeRequest$ = {}));
|
|
1086
1330
|
/** @internal */
|
|
1331
|
+
export const CreatePaymentCompany$inboundSchema = z.object({
|
|
1332
|
+
registrationNumber: z.string().optional(),
|
|
1333
|
+
vatNumber: z.string().optional(),
|
|
1334
|
+
entityType: z.string().optional(),
|
|
1335
|
+
});
|
|
1336
|
+
/** @internal */
|
|
1337
|
+
export const CreatePaymentCompany$outboundSchema = z.object({
|
|
1338
|
+
registrationNumber: z.string().optional(),
|
|
1339
|
+
vatNumber: z.string().optional(),
|
|
1340
|
+
entityType: z.string().optional(),
|
|
1341
|
+
});
|
|
1342
|
+
/**
|
|
1343
|
+
* @internal
|
|
1344
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1345
|
+
*/
|
|
1346
|
+
export var CreatePaymentCompany$;
|
|
1347
|
+
(function (CreatePaymentCompany$) {
|
|
1348
|
+
/** @deprecated use `CreatePaymentCompany$inboundSchema` instead. */
|
|
1349
|
+
CreatePaymentCompany$.inboundSchema = CreatePaymentCompany$inboundSchema;
|
|
1350
|
+
/** @deprecated use `CreatePaymentCompany$outboundSchema` instead. */
|
|
1351
|
+
CreatePaymentCompany$.outboundSchema = CreatePaymentCompany$outboundSchema;
|
|
1352
|
+
})(CreatePaymentCompany$ || (CreatePaymentCompany$ = {}));
|
|
1353
|
+
export function createPaymentCompanyToJSON(createPaymentCompany) {
|
|
1354
|
+
return JSON.stringify(CreatePaymentCompany$outboundSchema.parse(createPaymentCompany));
|
|
1355
|
+
}
|
|
1356
|
+
export function createPaymentCompanyFromJSON(jsonString) {
|
|
1357
|
+
return safeParse(jsonString, (x) => CreatePaymentCompany$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreatePaymentCompany' from JSON`);
|
|
1358
|
+
}
|
|
1359
|
+
/** @internal */
|
|
1087
1360
|
export const CreatePaymentRequestBody$inboundSchema = z.object({
|
|
1088
1361
|
description: z.string(),
|
|
1089
1362
|
amount: z.lazy(() => CreatePaymentAmountRequest$inboundSchema),
|
|
@@ -1111,6 +1384,17 @@ export const CreatePaymentRequestBody$inboundSchema = z.object({
|
|
|
1111
1384
|
profileId: z.string().optional(),
|
|
1112
1385
|
dueDate: z.string().optional(),
|
|
1113
1386
|
testmode: z.nullable(z.boolean()).optional(),
|
|
1387
|
+
applePayPaymentToken: z.string().optional(),
|
|
1388
|
+
company: z.lazy(() => CreatePaymentCompany$inboundSchema).optional(),
|
|
1389
|
+
cardToken: z.string().optional(),
|
|
1390
|
+
voucherNumber: z.string().optional(),
|
|
1391
|
+
voucherPin: z.string().optional(),
|
|
1392
|
+
consumerDateOfBirth: z.string().transform(v => new RFCDate(v)).optional(),
|
|
1393
|
+
extraMerchantData: z.record(z.any()).optional(),
|
|
1394
|
+
sessionId: z.string().optional(),
|
|
1395
|
+
digitalGoods: z.boolean().optional(),
|
|
1396
|
+
customerReference: z.string().optional(),
|
|
1397
|
+
terminalId: z.string().optional(),
|
|
1114
1398
|
});
|
|
1115
1399
|
/** @internal */
|
|
1116
1400
|
export const CreatePaymentRequestBody$outboundSchema = z.object({
|
|
@@ -1139,6 +1423,18 @@ export const CreatePaymentRequestBody$outboundSchema = z.object({
|
|
|
1139
1423
|
profileId: z.string().optional(),
|
|
1140
1424
|
dueDate: z.string().optional(),
|
|
1141
1425
|
testmode: z.nullable(z.boolean()).optional(),
|
|
1426
|
+
applePayPaymentToken: z.string().optional(),
|
|
1427
|
+
company: z.lazy(() => CreatePaymentCompany$outboundSchema).optional(),
|
|
1428
|
+
cardToken: z.string().optional(),
|
|
1429
|
+
voucherNumber: z.string().optional(),
|
|
1430
|
+
voucherPin: z.string().optional(),
|
|
1431
|
+
consumerDateOfBirth: z.instanceof(RFCDate).transform(v => v.toString())
|
|
1432
|
+
.optional(),
|
|
1433
|
+
extraMerchantData: z.record(z.any()).optional(),
|
|
1434
|
+
sessionId: z.string().optional(),
|
|
1435
|
+
digitalGoods: z.boolean().optional(),
|
|
1436
|
+
customerReference: z.string().optional(),
|
|
1437
|
+
terminalId: z.string().optional(),
|
|
1142
1438
|
});
|
|
1143
1439
|
/**
|
|
1144
1440
|
* @internal
|
|
@@ -2187,28 +2483,43 @@ export var CreatePaymentSequenceTypeResponse$;
|
|
|
2187
2483
|
CreatePaymentSequenceTypeResponse$.outboundSchema = CreatePaymentSequenceTypeResponse$outboundSchema;
|
|
2188
2484
|
})(CreatePaymentSequenceTypeResponse$ || (CreatePaymentSequenceTypeResponse$ = {}));
|
|
2189
2485
|
/** @internal */
|
|
2190
|
-
export const
|
|
2486
|
+
export const CreatePaymentStatusEnum$inboundSchema = z.nativeEnum(CreatePaymentStatusEnum);
|
|
2487
|
+
/** @internal */
|
|
2488
|
+
export const CreatePaymentStatusEnum$outboundSchema = CreatePaymentStatusEnum$inboundSchema;
|
|
2489
|
+
/**
|
|
2490
|
+
* @internal
|
|
2491
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2492
|
+
*/
|
|
2493
|
+
export var CreatePaymentStatusEnum$;
|
|
2494
|
+
(function (CreatePaymentStatusEnum$) {
|
|
2495
|
+
/** @deprecated use `CreatePaymentStatusEnum$inboundSchema` instead. */
|
|
2496
|
+
CreatePaymentStatusEnum$.inboundSchema = CreatePaymentStatusEnum$inboundSchema;
|
|
2497
|
+
/** @deprecated use `CreatePaymentStatusEnum$outboundSchema` instead. */
|
|
2498
|
+
CreatePaymentStatusEnum$.outboundSchema = CreatePaymentStatusEnum$outboundSchema;
|
|
2499
|
+
})(CreatePaymentStatusEnum$ || (CreatePaymentStatusEnum$ = {}));
|
|
2500
|
+
/** @internal */
|
|
2501
|
+
export const CreatePaymentCode$inboundSchema = z.nativeEnum(CreatePaymentCode);
|
|
2191
2502
|
/** @internal */
|
|
2192
|
-
export const
|
|
2503
|
+
export const CreatePaymentCode$outboundSchema = CreatePaymentCode$inboundSchema;
|
|
2193
2504
|
/**
|
|
2194
2505
|
* @internal
|
|
2195
2506
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2196
2507
|
*/
|
|
2197
|
-
export var
|
|
2198
|
-
(function (
|
|
2199
|
-
/** @deprecated use `
|
|
2200
|
-
|
|
2201
|
-
/** @deprecated use `
|
|
2202
|
-
|
|
2203
|
-
})(
|
|
2508
|
+
export var CreatePaymentCode$;
|
|
2509
|
+
(function (CreatePaymentCode$) {
|
|
2510
|
+
/** @deprecated use `CreatePaymentCode$inboundSchema` instead. */
|
|
2511
|
+
CreatePaymentCode$.inboundSchema = CreatePaymentCode$inboundSchema;
|
|
2512
|
+
/** @deprecated use `CreatePaymentCode$outboundSchema` instead. */
|
|
2513
|
+
CreatePaymentCode$.outboundSchema = CreatePaymentCode$outboundSchema;
|
|
2514
|
+
})(CreatePaymentCode$ || (CreatePaymentCode$ = {}));
|
|
2204
2515
|
/** @internal */
|
|
2205
2516
|
export const CreatePaymentStatusReason$inboundSchema = z.object({
|
|
2206
|
-
code:
|
|
2517
|
+
code: CreatePaymentCode$inboundSchema,
|
|
2207
2518
|
message: z.string(),
|
|
2208
2519
|
});
|
|
2209
2520
|
/** @internal */
|
|
2210
2521
|
export const CreatePaymentStatusReason$outboundSchema = z.object({
|
|
2211
|
-
code:
|
|
2522
|
+
code: CreatePaymentCode$outboundSchema,
|
|
2212
2523
|
message: z.string(),
|
|
2213
2524
|
});
|
|
2214
2525
|
/**
|
|
@@ -2229,6 +2540,406 @@ export function createPaymentStatusReasonFromJSON(jsonString) {
|
|
|
2229
2540
|
return safeParse(jsonString, (x) => CreatePaymentStatusReason$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreatePaymentStatusReason' from JSON`);
|
|
2230
2541
|
}
|
|
2231
2542
|
/** @internal */
|
|
2543
|
+
export const CreatePaymentCardAudition$inboundSchema = z.nativeEnum(CreatePaymentCardAudition);
|
|
2544
|
+
/** @internal */
|
|
2545
|
+
export const CreatePaymentCardAudition$outboundSchema = CreatePaymentCardAudition$inboundSchema;
|
|
2546
|
+
/**
|
|
2547
|
+
* @internal
|
|
2548
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2549
|
+
*/
|
|
2550
|
+
export var CreatePaymentCardAudition$;
|
|
2551
|
+
(function (CreatePaymentCardAudition$) {
|
|
2552
|
+
/** @deprecated use `CreatePaymentCardAudition$inboundSchema` instead. */
|
|
2553
|
+
CreatePaymentCardAudition$.inboundSchema = CreatePaymentCardAudition$inboundSchema;
|
|
2554
|
+
/** @deprecated use `CreatePaymentCardAudition$outboundSchema` instead. */
|
|
2555
|
+
CreatePaymentCardAudition$.outboundSchema = CreatePaymentCardAudition$outboundSchema;
|
|
2556
|
+
})(CreatePaymentCardAudition$ || (CreatePaymentCardAudition$ = {}));
|
|
2557
|
+
/** @internal */
|
|
2558
|
+
export const CreatePaymentCardLabel$inboundSchema = z.nativeEnum(CreatePaymentCardLabel);
|
|
2559
|
+
/** @internal */
|
|
2560
|
+
export const CreatePaymentCardLabel$outboundSchema = CreatePaymentCardLabel$inboundSchema;
|
|
2561
|
+
/**
|
|
2562
|
+
* @internal
|
|
2563
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2564
|
+
*/
|
|
2565
|
+
export var CreatePaymentCardLabel$;
|
|
2566
|
+
(function (CreatePaymentCardLabel$) {
|
|
2567
|
+
/** @deprecated use `CreatePaymentCardLabel$inboundSchema` instead. */
|
|
2568
|
+
CreatePaymentCardLabel$.inboundSchema = CreatePaymentCardLabel$inboundSchema;
|
|
2569
|
+
/** @deprecated use `CreatePaymentCardLabel$outboundSchema` instead. */
|
|
2570
|
+
CreatePaymentCardLabel$.outboundSchema = CreatePaymentCardLabel$outboundSchema;
|
|
2571
|
+
})(CreatePaymentCardLabel$ || (CreatePaymentCardLabel$ = {}));
|
|
2572
|
+
/** @internal */
|
|
2573
|
+
export const CreatePaymentCardFunding$inboundSchema = z.nativeEnum(CreatePaymentCardFunding);
|
|
2574
|
+
/** @internal */
|
|
2575
|
+
export const CreatePaymentCardFunding$outboundSchema = CreatePaymentCardFunding$inboundSchema;
|
|
2576
|
+
/**
|
|
2577
|
+
* @internal
|
|
2578
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2579
|
+
*/
|
|
2580
|
+
export var CreatePaymentCardFunding$;
|
|
2581
|
+
(function (CreatePaymentCardFunding$) {
|
|
2582
|
+
/** @deprecated use `CreatePaymentCardFunding$inboundSchema` instead. */
|
|
2583
|
+
CreatePaymentCardFunding$.inboundSchema = CreatePaymentCardFunding$inboundSchema;
|
|
2584
|
+
/** @deprecated use `CreatePaymentCardFunding$outboundSchema` instead. */
|
|
2585
|
+
CreatePaymentCardFunding$.outboundSchema = CreatePaymentCardFunding$outboundSchema;
|
|
2586
|
+
})(CreatePaymentCardFunding$ || (CreatePaymentCardFunding$ = {}));
|
|
2587
|
+
/** @internal */
|
|
2588
|
+
export const CreatePaymentCardSecurity$inboundSchema = z.nativeEnum(CreatePaymentCardSecurity);
|
|
2589
|
+
/** @internal */
|
|
2590
|
+
export const CreatePaymentCardSecurity$outboundSchema = CreatePaymentCardSecurity$inboundSchema;
|
|
2591
|
+
/**
|
|
2592
|
+
* @internal
|
|
2593
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2594
|
+
*/
|
|
2595
|
+
export var CreatePaymentCardSecurity$;
|
|
2596
|
+
(function (CreatePaymentCardSecurity$) {
|
|
2597
|
+
/** @deprecated use `CreatePaymentCardSecurity$inboundSchema` instead. */
|
|
2598
|
+
CreatePaymentCardSecurity$.inboundSchema = CreatePaymentCardSecurity$inboundSchema;
|
|
2599
|
+
/** @deprecated use `CreatePaymentCardSecurity$outboundSchema` instead. */
|
|
2600
|
+
CreatePaymentCardSecurity$.outboundSchema = CreatePaymentCardSecurity$outboundSchema;
|
|
2601
|
+
})(CreatePaymentCardSecurity$ || (CreatePaymentCardSecurity$ = {}));
|
|
2602
|
+
/** @internal */
|
|
2603
|
+
export const CreatePaymentFeeRegion$inboundSchema = z.nativeEnum(CreatePaymentFeeRegion);
|
|
2604
|
+
/** @internal */
|
|
2605
|
+
export const CreatePaymentFeeRegion$outboundSchema = CreatePaymentFeeRegion$inboundSchema;
|
|
2606
|
+
/**
|
|
2607
|
+
* @internal
|
|
2608
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2609
|
+
*/
|
|
2610
|
+
export var CreatePaymentFeeRegion$;
|
|
2611
|
+
(function (CreatePaymentFeeRegion$) {
|
|
2612
|
+
/** @deprecated use `CreatePaymentFeeRegion$inboundSchema` instead. */
|
|
2613
|
+
CreatePaymentFeeRegion$.inboundSchema = CreatePaymentFeeRegion$inboundSchema;
|
|
2614
|
+
/** @deprecated use `CreatePaymentFeeRegion$outboundSchema` instead. */
|
|
2615
|
+
CreatePaymentFeeRegion$.outboundSchema = CreatePaymentFeeRegion$outboundSchema;
|
|
2616
|
+
})(CreatePaymentFeeRegion$ || (CreatePaymentFeeRegion$ = {}));
|
|
2617
|
+
/** @internal */
|
|
2618
|
+
export const CreatePaymentFailureReason$inboundSchema = z.nativeEnum(CreatePaymentFailureReason);
|
|
2619
|
+
/** @internal */
|
|
2620
|
+
export const CreatePaymentFailureReason$outboundSchema = CreatePaymentFailureReason$inboundSchema;
|
|
2621
|
+
/**
|
|
2622
|
+
* @internal
|
|
2623
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2624
|
+
*/
|
|
2625
|
+
export var CreatePaymentFailureReason$;
|
|
2626
|
+
(function (CreatePaymentFailureReason$) {
|
|
2627
|
+
/** @deprecated use `CreatePaymentFailureReason$inboundSchema` instead. */
|
|
2628
|
+
CreatePaymentFailureReason$.inboundSchema = CreatePaymentFailureReason$inboundSchema;
|
|
2629
|
+
/** @deprecated use `CreatePaymentFailureReason$outboundSchema` instead. */
|
|
2630
|
+
CreatePaymentFailureReason$.outboundSchema = CreatePaymentFailureReason$outboundSchema;
|
|
2631
|
+
})(CreatePaymentFailureReason$ || (CreatePaymentFailureReason$ = {}));
|
|
2632
|
+
/** @internal */
|
|
2633
|
+
export const CreatePaymentWallet$inboundSchema = z.nativeEnum(CreatePaymentWallet);
|
|
2634
|
+
/** @internal */
|
|
2635
|
+
export const CreatePaymentWallet$outboundSchema = CreatePaymentWallet$inboundSchema;
|
|
2636
|
+
/**
|
|
2637
|
+
* @internal
|
|
2638
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2639
|
+
*/
|
|
2640
|
+
export var CreatePaymentWallet$;
|
|
2641
|
+
(function (CreatePaymentWallet$) {
|
|
2642
|
+
/** @deprecated use `CreatePaymentWallet$inboundSchema` instead. */
|
|
2643
|
+
CreatePaymentWallet$.inboundSchema = CreatePaymentWallet$inboundSchema;
|
|
2644
|
+
/** @deprecated use `CreatePaymentWallet$outboundSchema` instead. */
|
|
2645
|
+
CreatePaymentWallet$.outboundSchema = CreatePaymentWallet$outboundSchema;
|
|
2646
|
+
})(CreatePaymentWallet$ || (CreatePaymentWallet$ = {}));
|
|
2647
|
+
/** @internal */
|
|
2648
|
+
export const CreatePaymentSellerProtection$inboundSchema = z.nativeEnum(CreatePaymentSellerProtection);
|
|
2649
|
+
/** @internal */
|
|
2650
|
+
export const CreatePaymentSellerProtection$outboundSchema = CreatePaymentSellerProtection$inboundSchema;
|
|
2651
|
+
/**
|
|
2652
|
+
* @internal
|
|
2653
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2654
|
+
*/
|
|
2655
|
+
export var CreatePaymentSellerProtection$;
|
|
2656
|
+
(function (CreatePaymentSellerProtection$) {
|
|
2657
|
+
/** @deprecated use `CreatePaymentSellerProtection$inboundSchema` instead. */
|
|
2658
|
+
CreatePaymentSellerProtection$.inboundSchema = CreatePaymentSellerProtection$inboundSchema;
|
|
2659
|
+
/** @deprecated use `CreatePaymentSellerProtection$outboundSchema` instead. */
|
|
2660
|
+
CreatePaymentSellerProtection$.outboundSchema = CreatePaymentSellerProtection$outboundSchema;
|
|
2661
|
+
})(CreatePaymentSellerProtection$ || (CreatePaymentSellerProtection$ = {}));
|
|
2662
|
+
/** @internal */
|
|
2663
|
+
export const CreatePaymentPaypalFee$inboundSchema = z.object({
|
|
2664
|
+
currency: z.string(),
|
|
2665
|
+
value: z.string(),
|
|
2666
|
+
});
|
|
2667
|
+
/** @internal */
|
|
2668
|
+
export const CreatePaymentPaypalFee$outboundSchema = z.object({
|
|
2669
|
+
currency: z.string(),
|
|
2670
|
+
value: z.string(),
|
|
2671
|
+
});
|
|
2672
|
+
/**
|
|
2673
|
+
* @internal
|
|
2674
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2675
|
+
*/
|
|
2676
|
+
export var CreatePaymentPaypalFee$;
|
|
2677
|
+
(function (CreatePaymentPaypalFee$) {
|
|
2678
|
+
/** @deprecated use `CreatePaymentPaypalFee$inboundSchema` instead. */
|
|
2679
|
+
CreatePaymentPaypalFee$.inboundSchema = CreatePaymentPaypalFee$inboundSchema;
|
|
2680
|
+
/** @deprecated use `CreatePaymentPaypalFee$outboundSchema` instead. */
|
|
2681
|
+
CreatePaymentPaypalFee$.outboundSchema = CreatePaymentPaypalFee$outboundSchema;
|
|
2682
|
+
})(CreatePaymentPaypalFee$ || (CreatePaymentPaypalFee$ = {}));
|
|
2683
|
+
export function createPaymentPaypalFeeToJSON(createPaymentPaypalFee) {
|
|
2684
|
+
return JSON.stringify(CreatePaymentPaypalFee$outboundSchema.parse(createPaymentPaypalFee));
|
|
2685
|
+
}
|
|
2686
|
+
export function createPaymentPaypalFeeFromJSON(jsonString) {
|
|
2687
|
+
return safeParse(jsonString, (x) => CreatePaymentPaypalFee$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreatePaymentPaypalFee' from JSON`);
|
|
2688
|
+
}
|
|
2689
|
+
/** @internal */
|
|
2690
|
+
export const CreatePaymentCardReadMethod$inboundSchema = z.nativeEnum(CreatePaymentCardReadMethod);
|
|
2691
|
+
/** @internal */
|
|
2692
|
+
export const CreatePaymentCardReadMethod$outboundSchema = CreatePaymentCardReadMethod$inboundSchema;
|
|
2693
|
+
/**
|
|
2694
|
+
* @internal
|
|
2695
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2696
|
+
*/
|
|
2697
|
+
export var CreatePaymentCardReadMethod$;
|
|
2698
|
+
(function (CreatePaymentCardReadMethod$) {
|
|
2699
|
+
/** @deprecated use `CreatePaymentCardReadMethod$inboundSchema` instead. */
|
|
2700
|
+
CreatePaymentCardReadMethod$.inboundSchema = CreatePaymentCardReadMethod$inboundSchema;
|
|
2701
|
+
/** @deprecated use `CreatePaymentCardReadMethod$outboundSchema` instead. */
|
|
2702
|
+
CreatePaymentCardReadMethod$.outboundSchema = CreatePaymentCardReadMethod$outboundSchema;
|
|
2703
|
+
})(CreatePaymentCardReadMethod$ || (CreatePaymentCardReadMethod$ = {}));
|
|
2704
|
+
/** @internal */
|
|
2705
|
+
export const CreatePaymentCardVerificationMethod$inboundSchema = z.nativeEnum(CreatePaymentCardVerificationMethod);
|
|
2706
|
+
/** @internal */
|
|
2707
|
+
export const CreatePaymentCardVerificationMethod$outboundSchema = CreatePaymentCardVerificationMethod$inboundSchema;
|
|
2708
|
+
/**
|
|
2709
|
+
* @internal
|
|
2710
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2711
|
+
*/
|
|
2712
|
+
export var CreatePaymentCardVerificationMethod$;
|
|
2713
|
+
(function (CreatePaymentCardVerificationMethod$) {
|
|
2714
|
+
/** @deprecated use `CreatePaymentCardVerificationMethod$inboundSchema` instead. */
|
|
2715
|
+
CreatePaymentCardVerificationMethod$.inboundSchema = CreatePaymentCardVerificationMethod$inboundSchema;
|
|
2716
|
+
/** @deprecated use `CreatePaymentCardVerificationMethod$outboundSchema` instead. */
|
|
2717
|
+
CreatePaymentCardVerificationMethod$.outboundSchema = CreatePaymentCardVerificationMethod$outboundSchema;
|
|
2718
|
+
})(CreatePaymentCardVerificationMethod$ || (CreatePaymentCardVerificationMethod$ = {}));
|
|
2719
|
+
/** @internal */
|
|
2720
|
+
export const CreatePaymentReceipt$inboundSchema = z.object({
|
|
2721
|
+
authorizationCode: z.nullable(z.string()).optional(),
|
|
2722
|
+
applicationIdentifier: z.nullable(z.string()).optional(),
|
|
2723
|
+
cardReadMethod: z.nullable(CreatePaymentCardReadMethod$inboundSchema)
|
|
2724
|
+
.optional(),
|
|
2725
|
+
cardVerificationMethod: z.nullable(CreatePaymentCardVerificationMethod$inboundSchema).optional(),
|
|
2726
|
+
});
|
|
2727
|
+
/** @internal */
|
|
2728
|
+
export const CreatePaymentReceipt$outboundSchema = z.object({
|
|
2729
|
+
authorizationCode: z.nullable(z.string()).optional(),
|
|
2730
|
+
applicationIdentifier: z.nullable(z.string()).optional(),
|
|
2731
|
+
cardReadMethod: z.nullable(CreatePaymentCardReadMethod$outboundSchema)
|
|
2732
|
+
.optional(),
|
|
2733
|
+
cardVerificationMethod: z.nullable(CreatePaymentCardVerificationMethod$outboundSchema).optional(),
|
|
2734
|
+
});
|
|
2735
|
+
/**
|
|
2736
|
+
* @internal
|
|
2737
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2738
|
+
*/
|
|
2739
|
+
export var CreatePaymentReceipt$;
|
|
2740
|
+
(function (CreatePaymentReceipt$) {
|
|
2741
|
+
/** @deprecated use `CreatePaymentReceipt$inboundSchema` instead. */
|
|
2742
|
+
CreatePaymentReceipt$.inboundSchema = CreatePaymentReceipt$inboundSchema;
|
|
2743
|
+
/** @deprecated use `CreatePaymentReceipt$outboundSchema` instead. */
|
|
2744
|
+
CreatePaymentReceipt$.outboundSchema = CreatePaymentReceipt$outboundSchema;
|
|
2745
|
+
})(CreatePaymentReceipt$ || (CreatePaymentReceipt$ = {}));
|
|
2746
|
+
export function createPaymentReceiptToJSON(createPaymentReceipt) {
|
|
2747
|
+
return JSON.stringify(CreatePaymentReceipt$outboundSchema.parse(createPaymentReceipt));
|
|
2748
|
+
}
|
|
2749
|
+
export function createPaymentReceiptFromJSON(jsonString) {
|
|
2750
|
+
return safeParse(jsonString, (x) => CreatePaymentReceipt$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreatePaymentReceipt' from JSON`);
|
|
2751
|
+
}
|
|
2752
|
+
/** @internal */
|
|
2753
|
+
export const CreatePaymentQrCode$inboundSchema = z.object({
|
|
2754
|
+
height: z.number().int().optional(),
|
|
2755
|
+
width: z.number().int().optional(),
|
|
2756
|
+
src: z.string().optional(),
|
|
2757
|
+
});
|
|
2758
|
+
/** @internal */
|
|
2759
|
+
export const CreatePaymentQrCode$outboundSchema = z.object({
|
|
2760
|
+
height: z.number().int().optional(),
|
|
2761
|
+
width: z.number().int().optional(),
|
|
2762
|
+
src: z.string().optional(),
|
|
2763
|
+
});
|
|
2764
|
+
/**
|
|
2765
|
+
* @internal
|
|
2766
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2767
|
+
*/
|
|
2768
|
+
export var CreatePaymentQrCode$;
|
|
2769
|
+
(function (CreatePaymentQrCode$) {
|
|
2770
|
+
/** @deprecated use `CreatePaymentQrCode$inboundSchema` instead. */
|
|
2771
|
+
CreatePaymentQrCode$.inboundSchema = CreatePaymentQrCode$inboundSchema;
|
|
2772
|
+
/** @deprecated use `CreatePaymentQrCode$outboundSchema` instead. */
|
|
2773
|
+
CreatePaymentQrCode$.outboundSchema = CreatePaymentQrCode$outboundSchema;
|
|
2774
|
+
})(CreatePaymentQrCode$ || (CreatePaymentQrCode$ = {}));
|
|
2775
|
+
export function createPaymentQrCodeToJSON(createPaymentQrCode) {
|
|
2776
|
+
return JSON.stringify(CreatePaymentQrCode$outboundSchema.parse(createPaymentQrCode));
|
|
2777
|
+
}
|
|
2778
|
+
export function createPaymentQrCodeFromJSON(jsonString) {
|
|
2779
|
+
return safeParse(jsonString, (x) => CreatePaymentQrCode$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreatePaymentQrCode' from JSON`);
|
|
2780
|
+
}
|
|
2781
|
+
/** @internal */
|
|
2782
|
+
export const CreatePaymentRemainderAmount$inboundSchema = z.object({
|
|
2783
|
+
currency: z.string(),
|
|
2784
|
+
value: z.string(),
|
|
2785
|
+
});
|
|
2786
|
+
/** @internal */
|
|
2787
|
+
export const CreatePaymentRemainderAmount$outboundSchema = z.object({
|
|
2788
|
+
currency: z.string(),
|
|
2789
|
+
value: z.string(),
|
|
2790
|
+
});
|
|
2791
|
+
/**
|
|
2792
|
+
* @internal
|
|
2793
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2794
|
+
*/
|
|
2795
|
+
export var CreatePaymentRemainderAmount$;
|
|
2796
|
+
(function (CreatePaymentRemainderAmount$) {
|
|
2797
|
+
/** @deprecated use `CreatePaymentRemainderAmount$inboundSchema` instead. */
|
|
2798
|
+
CreatePaymentRemainderAmount$.inboundSchema = CreatePaymentRemainderAmount$inboundSchema;
|
|
2799
|
+
/** @deprecated use `CreatePaymentRemainderAmount$outboundSchema` instead. */
|
|
2800
|
+
CreatePaymentRemainderAmount$.outboundSchema = CreatePaymentRemainderAmount$outboundSchema;
|
|
2801
|
+
})(CreatePaymentRemainderAmount$ || (CreatePaymentRemainderAmount$ = {}));
|
|
2802
|
+
export function createPaymentRemainderAmountToJSON(createPaymentRemainderAmount) {
|
|
2803
|
+
return JSON.stringify(CreatePaymentRemainderAmount$outboundSchema.parse(createPaymentRemainderAmount));
|
|
2804
|
+
}
|
|
2805
|
+
export function createPaymentRemainderAmountFromJSON(jsonString) {
|
|
2806
|
+
return safeParse(jsonString, (x) => CreatePaymentRemainderAmount$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreatePaymentRemainderAmount' from JSON`);
|
|
2807
|
+
}
|
|
2808
|
+
/** @internal */
|
|
2809
|
+
export const CreatePaymentDetails$inboundSchema = z.object({
|
|
2810
|
+
consumerName: z.nullable(z.string()).optional(),
|
|
2811
|
+
consumerAccount: z.nullable(z.string()).optional(),
|
|
2812
|
+
consumerBic: z.nullable(z.string()).optional(),
|
|
2813
|
+
shippingAddress: z.nullable(z.record(z.any())).optional(),
|
|
2814
|
+
cardNumber: z.nullable(z.string()).optional(),
|
|
2815
|
+
bankName: z.string().optional(),
|
|
2816
|
+
bankAccount: z.string().optional(),
|
|
2817
|
+
bankBic: z.string().optional(),
|
|
2818
|
+
transferReference: z.nullable(z.string()).optional(),
|
|
2819
|
+
cardFingerprint: z.nullable(z.string()).optional(),
|
|
2820
|
+
cardHolder: z.nullable(z.string()).optional(),
|
|
2821
|
+
cardAudition: z.nullable(CreatePaymentCardAudition$inboundSchema).optional(),
|
|
2822
|
+
cardLabel: z.nullable(CreatePaymentCardLabel$inboundSchema).optional(),
|
|
2823
|
+
cardCountryCode: z.nullable(z.string()).optional(),
|
|
2824
|
+
cardExpiryDate: z.nullable(z.string()).optional(),
|
|
2825
|
+
cardFunding: z.nullable(CreatePaymentCardFunding$inboundSchema).optional(),
|
|
2826
|
+
cardSecurity: z.nullable(CreatePaymentCardSecurity$inboundSchema).optional(),
|
|
2827
|
+
feeRegion: z.nullable(CreatePaymentFeeRegion$inboundSchema).optional(),
|
|
2828
|
+
cardMaskedNumber: z.nullable(z.string()).optional(),
|
|
2829
|
+
card3dsEci: z.nullable(z.string()).optional(),
|
|
2830
|
+
cardBin: z.nullable(z.string()).optional(),
|
|
2831
|
+
cardIssuer: z.nullable(z.string()).optional(),
|
|
2832
|
+
failureReason: z.nullable(CreatePaymentFailureReason$inboundSchema)
|
|
2833
|
+
.optional(),
|
|
2834
|
+
failureMessage: z.nullable(z.string()).optional(),
|
|
2835
|
+
wallet: z.nullable(CreatePaymentWallet$inboundSchema).optional(),
|
|
2836
|
+
paypalReference: z.nullable(z.string()).optional(),
|
|
2837
|
+
paypalPayerId: z.nullable(z.string()).optional(),
|
|
2838
|
+
sellerProtection: z.nullable(CreatePaymentSellerProtection$inboundSchema)
|
|
2839
|
+
.optional(),
|
|
2840
|
+
paypalFee: z.nullable(z.lazy(() => CreatePaymentPaypalFee$inboundSchema))
|
|
2841
|
+
.optional(),
|
|
2842
|
+
customerReference: z.string().optional(),
|
|
2843
|
+
terminalId: z.string().optional(),
|
|
2844
|
+
maskedNumber: z.nullable(z.string()).optional(),
|
|
2845
|
+
receipt: z.lazy(() => CreatePaymentReceipt$inboundSchema).optional(),
|
|
2846
|
+
creditorIdentifier: z.nullable(z.string()).optional(),
|
|
2847
|
+
dueDate: z.nullable(z.string().transform(v => new RFCDate(v))).optional(),
|
|
2848
|
+
signatureDate: z.nullable(z.string().transform(v => new RFCDate(v)))
|
|
2849
|
+
.optional(),
|
|
2850
|
+
bankReasonCode: z.nullable(z.string()).optional(),
|
|
2851
|
+
bankReason: z.nullable(z.string()).optional(),
|
|
2852
|
+
endToEndIdentifier: z.nullable(z.string()).optional(),
|
|
2853
|
+
mandateReference: z.nullable(z.string()).optional(),
|
|
2854
|
+
batchReference: z.nullable(z.string()).optional(),
|
|
2855
|
+
fileReference: z.nullable(z.string()).optional(),
|
|
2856
|
+
qrCode: z.lazy(() => CreatePaymentQrCode$inboundSchema).optional(),
|
|
2857
|
+
voucherNumber: z.string().optional(),
|
|
2858
|
+
giftcards: z.array(z.record(z.any())).optional(),
|
|
2859
|
+
issuer: z.string().optional(),
|
|
2860
|
+
vouchers: z.array(z.record(z.any())).optional(),
|
|
2861
|
+
remainderAmount: z.lazy(() => CreatePaymentRemainderAmount$inboundSchema)
|
|
2862
|
+
.optional(),
|
|
2863
|
+
remainderMethod: z.string().optional(),
|
|
2864
|
+
remainderDetails: z.record(z.any()).optional(),
|
|
2865
|
+
});
|
|
2866
|
+
/** @internal */
|
|
2867
|
+
export const CreatePaymentDetails$outboundSchema = z.object({
|
|
2868
|
+
consumerName: z.nullable(z.string()).optional(),
|
|
2869
|
+
consumerAccount: z.nullable(z.string()).optional(),
|
|
2870
|
+
consumerBic: z.nullable(z.string()).optional(),
|
|
2871
|
+
shippingAddress: z.nullable(z.record(z.any())).optional(),
|
|
2872
|
+
cardNumber: z.nullable(z.string()).optional(),
|
|
2873
|
+
bankName: z.string().optional(),
|
|
2874
|
+
bankAccount: z.string().optional(),
|
|
2875
|
+
bankBic: z.string().optional(),
|
|
2876
|
+
transferReference: z.nullable(z.string()).optional(),
|
|
2877
|
+
cardFingerprint: z.nullable(z.string()).optional(),
|
|
2878
|
+
cardHolder: z.nullable(z.string()).optional(),
|
|
2879
|
+
cardAudition: z.nullable(CreatePaymentCardAudition$outboundSchema).optional(),
|
|
2880
|
+
cardLabel: z.nullable(CreatePaymentCardLabel$outboundSchema).optional(),
|
|
2881
|
+
cardCountryCode: z.nullable(z.string()).optional(),
|
|
2882
|
+
cardExpiryDate: z.nullable(z.string()).optional(),
|
|
2883
|
+
cardFunding: z.nullable(CreatePaymentCardFunding$outboundSchema).optional(),
|
|
2884
|
+
cardSecurity: z.nullable(CreatePaymentCardSecurity$outboundSchema).optional(),
|
|
2885
|
+
feeRegion: z.nullable(CreatePaymentFeeRegion$outboundSchema).optional(),
|
|
2886
|
+
cardMaskedNumber: z.nullable(z.string()).optional(),
|
|
2887
|
+
card3dsEci: z.nullable(z.string()).optional(),
|
|
2888
|
+
cardBin: z.nullable(z.string()).optional(),
|
|
2889
|
+
cardIssuer: z.nullable(z.string()).optional(),
|
|
2890
|
+
failureReason: z.nullable(CreatePaymentFailureReason$outboundSchema)
|
|
2891
|
+
.optional(),
|
|
2892
|
+
failureMessage: z.nullable(z.string()).optional(),
|
|
2893
|
+
wallet: z.nullable(CreatePaymentWallet$outboundSchema).optional(),
|
|
2894
|
+
paypalReference: z.nullable(z.string()).optional(),
|
|
2895
|
+
paypalPayerId: z.nullable(z.string()).optional(),
|
|
2896
|
+
sellerProtection: z.nullable(CreatePaymentSellerProtection$outboundSchema)
|
|
2897
|
+
.optional(),
|
|
2898
|
+
paypalFee: z.nullable(z.lazy(() => CreatePaymentPaypalFee$outboundSchema))
|
|
2899
|
+
.optional(),
|
|
2900
|
+
customerReference: z.string().optional(),
|
|
2901
|
+
terminalId: z.string().optional(),
|
|
2902
|
+
maskedNumber: z.nullable(z.string()).optional(),
|
|
2903
|
+
receipt: z.lazy(() => CreatePaymentReceipt$outboundSchema).optional(),
|
|
2904
|
+
creditorIdentifier: z.nullable(z.string()).optional(),
|
|
2905
|
+
dueDate: z.nullable(z.instanceof(RFCDate).transform(v => v.toString()))
|
|
2906
|
+
.optional(),
|
|
2907
|
+
signatureDate: z.nullable(z.instanceof(RFCDate).transform(v => v.toString()))
|
|
2908
|
+
.optional(),
|
|
2909
|
+
bankReasonCode: z.nullable(z.string()).optional(),
|
|
2910
|
+
bankReason: z.nullable(z.string()).optional(),
|
|
2911
|
+
endToEndIdentifier: z.nullable(z.string()).optional(),
|
|
2912
|
+
mandateReference: z.nullable(z.string()).optional(),
|
|
2913
|
+
batchReference: z.nullable(z.string()).optional(),
|
|
2914
|
+
fileReference: z.nullable(z.string()).optional(),
|
|
2915
|
+
qrCode: z.lazy(() => CreatePaymentQrCode$outboundSchema).optional(),
|
|
2916
|
+
voucherNumber: z.string().optional(),
|
|
2917
|
+
giftcards: z.array(z.record(z.any())).optional(),
|
|
2918
|
+
issuer: z.string().optional(),
|
|
2919
|
+
vouchers: z.array(z.record(z.any())).optional(),
|
|
2920
|
+
remainderAmount: z.lazy(() => CreatePaymentRemainderAmount$outboundSchema)
|
|
2921
|
+
.optional(),
|
|
2922
|
+
remainderMethod: z.string().optional(),
|
|
2923
|
+
remainderDetails: z.record(z.any()).optional(),
|
|
2924
|
+
});
|
|
2925
|
+
/**
|
|
2926
|
+
* @internal
|
|
2927
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2928
|
+
*/
|
|
2929
|
+
export var CreatePaymentDetails$;
|
|
2930
|
+
(function (CreatePaymentDetails$) {
|
|
2931
|
+
/** @deprecated use `CreatePaymentDetails$inboundSchema` instead. */
|
|
2932
|
+
CreatePaymentDetails$.inboundSchema = CreatePaymentDetails$inboundSchema;
|
|
2933
|
+
/** @deprecated use `CreatePaymentDetails$outboundSchema` instead. */
|
|
2934
|
+
CreatePaymentDetails$.outboundSchema = CreatePaymentDetails$outboundSchema;
|
|
2935
|
+
})(CreatePaymentDetails$ || (CreatePaymentDetails$ = {}));
|
|
2936
|
+
export function createPaymentDetailsToJSON(createPaymentDetails) {
|
|
2937
|
+
return JSON.stringify(CreatePaymentDetails$outboundSchema.parse(createPaymentDetails));
|
|
2938
|
+
}
|
|
2939
|
+
export function createPaymentDetailsFromJSON(jsonString) {
|
|
2940
|
+
return safeParse(jsonString, (x) => CreatePaymentDetails$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreatePaymentDetails' from JSON`);
|
|
2941
|
+
}
|
|
2942
|
+
/** @internal */
|
|
2232
2943
|
export const CreatePaymentSelfResponse$inboundSchema = z.object({
|
|
2233
2944
|
href: z.string(),
|
|
2234
2945
|
type: z.string(),
|
|
@@ -2634,6 +3345,60 @@ export function createPaymentDocumentationFromJSON(jsonString) {
|
|
|
2634
3345
|
return safeParse(jsonString, (x) => CreatePaymentDocumentation$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreatePaymentDocumentation' from JSON`);
|
|
2635
3346
|
}
|
|
2636
3347
|
/** @internal */
|
|
3348
|
+
export const CreatePaymentLinksStatus$inboundSchema = z.object({
|
|
3349
|
+
href: z.string(),
|
|
3350
|
+
type: z.string(),
|
|
3351
|
+
});
|
|
3352
|
+
/** @internal */
|
|
3353
|
+
export const CreatePaymentLinksStatus$outboundSchema = z.object({
|
|
3354
|
+
href: z.string(),
|
|
3355
|
+
type: z.string(),
|
|
3356
|
+
});
|
|
3357
|
+
/**
|
|
3358
|
+
* @internal
|
|
3359
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3360
|
+
*/
|
|
3361
|
+
export var CreatePaymentLinksStatus$;
|
|
3362
|
+
(function (CreatePaymentLinksStatus$) {
|
|
3363
|
+
/** @deprecated use `CreatePaymentLinksStatus$inboundSchema` instead. */
|
|
3364
|
+
CreatePaymentLinksStatus$.inboundSchema = CreatePaymentLinksStatus$inboundSchema;
|
|
3365
|
+
/** @deprecated use `CreatePaymentLinksStatus$outboundSchema` instead. */
|
|
3366
|
+
CreatePaymentLinksStatus$.outboundSchema = CreatePaymentLinksStatus$outboundSchema;
|
|
3367
|
+
})(CreatePaymentLinksStatus$ || (CreatePaymentLinksStatus$ = {}));
|
|
3368
|
+
export function createPaymentLinksStatusToJSON(createPaymentLinksStatus) {
|
|
3369
|
+
return JSON.stringify(CreatePaymentLinksStatus$outboundSchema.parse(createPaymentLinksStatus));
|
|
3370
|
+
}
|
|
3371
|
+
export function createPaymentLinksStatusFromJSON(jsonString) {
|
|
3372
|
+
return safeParse(jsonString, (x) => CreatePaymentLinksStatus$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreatePaymentLinksStatus' from JSON`);
|
|
3373
|
+
}
|
|
3374
|
+
/** @internal */
|
|
3375
|
+
export const CreatePaymentPayOnline$inboundSchema = z.object({
|
|
3376
|
+
href: z.string(),
|
|
3377
|
+
type: z.string(),
|
|
3378
|
+
});
|
|
3379
|
+
/** @internal */
|
|
3380
|
+
export const CreatePaymentPayOnline$outboundSchema = z.object({
|
|
3381
|
+
href: z.string(),
|
|
3382
|
+
type: z.string(),
|
|
3383
|
+
});
|
|
3384
|
+
/**
|
|
3385
|
+
* @internal
|
|
3386
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3387
|
+
*/
|
|
3388
|
+
export var CreatePaymentPayOnline$;
|
|
3389
|
+
(function (CreatePaymentPayOnline$) {
|
|
3390
|
+
/** @deprecated use `CreatePaymentPayOnline$inboundSchema` instead. */
|
|
3391
|
+
CreatePaymentPayOnline$.inboundSchema = CreatePaymentPayOnline$inboundSchema;
|
|
3392
|
+
/** @deprecated use `CreatePaymentPayOnline$outboundSchema` instead. */
|
|
3393
|
+
CreatePaymentPayOnline$.outboundSchema = CreatePaymentPayOnline$outboundSchema;
|
|
3394
|
+
})(CreatePaymentPayOnline$ || (CreatePaymentPayOnline$ = {}));
|
|
3395
|
+
export function createPaymentPayOnlineToJSON(createPaymentPayOnline) {
|
|
3396
|
+
return JSON.stringify(CreatePaymentPayOnline$outboundSchema.parse(createPaymentPayOnline));
|
|
3397
|
+
}
|
|
3398
|
+
export function createPaymentPayOnlineFromJSON(jsonString) {
|
|
3399
|
+
return safeParse(jsonString, (x) => CreatePaymentPayOnline$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreatePaymentPayOnline' from JSON`);
|
|
3400
|
+
}
|
|
3401
|
+
/** @internal */
|
|
2637
3402
|
export const CreatePaymentLinksResponse$inboundSchema = z.object({
|
|
2638
3403
|
self: z.lazy(() => CreatePaymentSelfResponse$inboundSchema),
|
|
2639
3404
|
checkout: z.lazy(() => CreatePaymentCheckout$inboundSchema).optional(),
|
|
@@ -2653,6 +3418,8 @@ export const CreatePaymentLinksResponse$inboundSchema = z.object({
|
|
|
2653
3418
|
terminal: z.lazy(() => CreatePaymentTerminal$inboundSchema).optional(),
|
|
2654
3419
|
documentation: z.lazy(() => CreatePaymentDocumentation$inboundSchema)
|
|
2655
3420
|
.optional(),
|
|
3421
|
+
status: z.lazy(() => CreatePaymentLinksStatus$inboundSchema).optional(),
|
|
3422
|
+
payOnline: z.lazy(() => CreatePaymentPayOnline$inboundSchema).optional(),
|
|
2656
3423
|
});
|
|
2657
3424
|
/** @internal */
|
|
2658
3425
|
export const CreatePaymentLinksResponse$outboundSchema = z.object({
|
|
@@ -2674,6 +3441,8 @@ export const CreatePaymentLinksResponse$outboundSchema = z.object({
|
|
|
2674
3441
|
terminal: z.lazy(() => CreatePaymentTerminal$outboundSchema).optional(),
|
|
2675
3442
|
documentation: z.lazy(() => CreatePaymentDocumentation$outboundSchema)
|
|
2676
3443
|
.optional(),
|
|
3444
|
+
status: z.lazy(() => CreatePaymentLinksStatus$outboundSchema).optional(),
|
|
3445
|
+
payOnline: z.lazy(() => CreatePaymentPayOnline$outboundSchema).optional(),
|
|
2677
3446
|
});
|
|
2678
3447
|
/**
|
|
2679
3448
|
* @internal
|
|
@@ -2733,10 +3502,11 @@ export const CreatePaymentResponse$inboundSchema = z.object({
|
|
|
2733
3502
|
profileId: z.string(),
|
|
2734
3503
|
settlementId: z.nullable(z.string()).optional(),
|
|
2735
3504
|
orderId: z.nullable(z.string()).optional(),
|
|
2736
|
-
status:
|
|
3505
|
+
status: CreatePaymentStatusEnum$inboundSchema,
|
|
2737
3506
|
statusReason: z.nullable(z.lazy(() => CreatePaymentStatusReason$inboundSchema)).optional(),
|
|
2738
3507
|
isCancelable: z.nullable(z.boolean()).optional(),
|
|
2739
|
-
details: z.nullable(z.
|
|
3508
|
+
details: z.nullable(z.lazy(() => CreatePaymentDetails$inboundSchema))
|
|
3509
|
+
.optional(),
|
|
2740
3510
|
createdAt: z.string(),
|
|
2741
3511
|
authorizedAt: z.nullable(z.string()).optional(),
|
|
2742
3512
|
paidAt: z.nullable(z.string()).optional(),
|
|
@@ -2791,10 +3561,11 @@ export const CreatePaymentResponse$outboundSchema = z.object({
|
|
|
2791
3561
|
profileId: z.string(),
|
|
2792
3562
|
settlementId: z.nullable(z.string()).optional(),
|
|
2793
3563
|
orderId: z.nullable(z.string()).optional(),
|
|
2794
|
-
status:
|
|
3564
|
+
status: CreatePaymentStatusEnum$outboundSchema,
|
|
2795
3565
|
statusReason: z.nullable(z.lazy(() => CreatePaymentStatusReason$outboundSchema)).optional(),
|
|
2796
3566
|
isCancelable: z.nullable(z.boolean()).optional(),
|
|
2797
|
-
details: z.nullable(z.
|
|
3567
|
+
details: z.nullable(z.lazy(() => CreatePaymentDetails$outboundSchema))
|
|
3568
|
+
.optional(),
|
|
2798
3569
|
createdAt: z.string(),
|
|
2799
3570
|
authorizedAt: z.nullable(z.string()).optional(),
|
|
2800
3571
|
paidAt: z.nullable(z.string()).optional(),
|