mollie-api-typescript 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/FUNCTIONS.md +13 -0
- package/README.md +84 -0
- package/bin/mcp-server.js +5173 -1638
- package/bin/mcp-server.js.map +47 -46
- package/dist/commonjs/lib/config.d.ts +2 -2
- package/dist/commonjs/lib/config.js +2 -2
- package/dist/commonjs/mcp-server/mcp-server.js +1 -1
- package/dist/commonjs/mcp-server/server.js +1 -1
- package/dist/commonjs/models/operations/cancelpayment.d.ts +1458 -19
- package/dist/commonjs/models/operations/cancelpayment.d.ts.map +1 -1
- package/dist/commonjs/models/operations/cancelpayment.js +755 -20
- package/dist/commonjs/models/operations/cancelpayment.js.map +1 -1
- package/dist/commonjs/models/operations/createcustomerpayment.d.ts +1596 -20
- package/dist/commonjs/models/operations/createcustomerpayment.d.ts.map +1 -1
- package/dist/commonjs/models/operations/createcustomerpayment.js +819 -22
- package/dist/commonjs/models/operations/createcustomerpayment.js.map +1 -1
- package/dist/commonjs/models/operations/createpayment.d.ts +1596 -20
- package/dist/commonjs/models/operations/createpayment.d.ts.map +1 -1
- package/dist/commonjs/models/operations/createpayment.js +810 -22
- package/dist/commonjs/models/operations/createpayment.js.map +1 -1
- package/dist/commonjs/models/operations/createpaymentlink.d.ts +2 -2
- package/dist/commonjs/models/operations/getnextsettlement.d.ts +6 -846
- package/dist/commonjs/models/operations/getnextsettlement.d.ts.map +1 -1
- package/dist/commonjs/models/operations/getnextsettlement.js +3 -586
- package/dist/commonjs/models/operations/getnextsettlement.js.map +1 -1
- package/dist/commonjs/models/operations/getopensettlement.d.ts +6 -846
- package/dist/commonjs/models/operations/getopensettlement.d.ts.map +1 -1
- package/dist/commonjs/models/operations/getopensettlement.js +3 -586
- package/dist/commonjs/models/operations/getopensettlement.js.map +1 -1
- package/dist/commonjs/models/operations/getpayment.d.ts +1458 -19
- package/dist/commonjs/models/operations/getpayment.d.ts.map +1 -1
- package/dist/commonjs/models/operations/getpayment.js +751 -20
- package/dist/commonjs/models/operations/getpayment.js.map +1 -1
- package/dist/commonjs/models/operations/getpaymentlink.d.ts +1 -1
- package/dist/commonjs/models/operations/getpaymentlinkpayments.d.ts +1466 -27
- package/dist/commonjs/models/operations/getpaymentlinkpayments.d.ts.map +1 -1
- package/dist/commonjs/models/operations/getpaymentlinkpayments.js +771 -32
- package/dist/commonjs/models/operations/getpaymentlinkpayments.js.map +1 -1
- package/dist/commonjs/models/operations/getsettlement.d.ts +6 -846
- package/dist/commonjs/models/operations/getsettlement.d.ts.map +1 -1
- package/dist/commonjs/models/operations/getsettlement.js +3 -579
- package/dist/commonjs/models/operations/getsettlement.js.map +1 -1
- package/dist/commonjs/models/operations/getwebhookevent.d.ts +1 -1
- package/dist/commonjs/models/operations/listallchargebacks.d.ts +8 -8
- package/dist/commonjs/models/operations/listallchargebacks.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listallchargebacks.js +8 -14
- package/dist/commonjs/models/operations/listallchargebacks.js.map +1 -1
- package/dist/commonjs/models/operations/listallmethods.d.ts +15 -15
- package/dist/commonjs/models/operations/listallmethods.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listallmethods.js +19 -18
- package/dist/commonjs/models/operations/listallmethods.js.map +1 -1
- package/dist/commonjs/models/operations/listallrefunds.d.ts +8 -8
- package/dist/commonjs/models/operations/listallrefunds.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listallrefunds.js +8 -12
- package/dist/commonjs/models/operations/listallrefunds.js.map +1 -1
- package/dist/commonjs/models/operations/listallsubscriptions.d.ts +8 -8
- package/dist/commonjs/models/operations/listallsubscriptions.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listallsubscriptions.js +8 -13
- package/dist/commonjs/models/operations/listallsubscriptions.js.map +1 -1
- package/dist/commonjs/models/operations/listbalances.d.ts +8 -8
- package/dist/commonjs/models/operations/listbalances.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listbalances.js +8 -12
- package/dist/commonjs/models/operations/listbalances.js.map +1 -1
- package/dist/commonjs/models/operations/listbalancetransactions.d.ts +8 -8
- package/dist/commonjs/models/operations/listbalancetransactions.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listbalancetransactions.js +8 -10
- package/dist/commonjs/models/operations/listbalancetransactions.js.map +1 -1
- package/dist/commonjs/models/operations/listcaptures.d.ts +8 -8
- package/dist/commonjs/models/operations/listcaptures.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listcaptures.js +8 -12
- package/dist/commonjs/models/operations/listcaptures.js.map +1 -1
- package/dist/commonjs/models/operations/listchargebacks.d.ts +8 -8
- package/dist/commonjs/models/operations/listchargebacks.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listchargebacks.js +8 -12
- package/dist/commonjs/models/operations/listchargebacks.js.map +1 -1
- package/dist/commonjs/models/operations/listclients.d.ts +8 -8
- package/dist/commonjs/models/operations/listclients.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listclients.js +8 -12
- package/dist/commonjs/models/operations/listclients.js.map +1 -1
- package/dist/commonjs/models/operations/listcustomerpayments.d.ts +1472 -33
- package/dist/commonjs/models/operations/listcustomerpayments.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listcustomerpayments.js +776 -42
- package/dist/commonjs/models/operations/listcustomerpayments.js.map +1 -1
- package/dist/commonjs/models/operations/listcustomers.d.ts +8 -8
- package/dist/commonjs/models/operations/listcustomers.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listcustomers.js +8 -12
- package/dist/commonjs/models/operations/listcustomers.js.map +1 -1
- package/dist/commonjs/models/operations/listinvoices.d.ts +8 -8
- package/dist/commonjs/models/operations/listinvoices.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listinvoices.js +8 -12
- package/dist/commonjs/models/operations/listinvoices.js.map +1 -1
- package/dist/commonjs/models/operations/listmandates.d.ts +8 -8
- package/dist/commonjs/models/operations/listmandates.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listmandates.js +8 -12
- package/dist/commonjs/models/operations/listmandates.js.map +1 -1
- package/dist/commonjs/models/operations/listpaymentlinks.d.ts +9 -9
- package/dist/commonjs/models/operations/listpaymentlinks.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listpaymentlinks.js +8 -13
- package/dist/commonjs/models/operations/listpaymentlinks.js.map +1 -1
- package/dist/commonjs/models/operations/listpayments.d.ts +1472 -33
- package/dist/commonjs/models/operations/listpayments.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listpayments.js +768 -39
- package/dist/commonjs/models/operations/listpayments.js.map +1 -1
- package/dist/commonjs/models/operations/listprofiles.d.ts +8 -8
- package/dist/commonjs/models/operations/listprofiles.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listprofiles.js +8 -12
- package/dist/commonjs/models/operations/listprofiles.js.map +1 -1
- package/dist/commonjs/models/operations/listrefunds.d.ts +8 -8
- package/dist/commonjs/models/operations/listrefunds.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listrefunds.js +8 -12
- package/dist/commonjs/models/operations/listrefunds.js.map +1 -1
- package/dist/commonjs/models/operations/listsalesinvoices.d.ts +8 -8
- package/dist/commonjs/models/operations/listsalesinvoices.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listsalesinvoices.js +8 -14
- package/dist/commonjs/models/operations/listsalesinvoices.js.map +1 -1
- package/dist/commonjs/models/operations/listsettlementcaptures.d.ts +8 -8
- package/dist/commonjs/models/operations/listsettlementcaptures.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listsettlementcaptures.js +8 -11
- package/dist/commonjs/models/operations/listsettlementcaptures.js.map +1 -1
- package/dist/commonjs/models/operations/listsettlementchargebacks.d.ts +8 -8
- package/dist/commonjs/models/operations/listsettlementchargebacks.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listsettlementchargebacks.js +8 -10
- package/dist/commonjs/models/operations/listsettlementchargebacks.js.map +1 -1
- package/dist/commonjs/models/operations/listsettlementpayments.d.ts +1472 -33
- package/dist/commonjs/models/operations/listsettlementpayments.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listsettlementpayments.js +777 -40
- package/dist/commonjs/models/operations/listsettlementpayments.js.map +1 -1
- package/dist/commonjs/models/operations/listsettlementrefunds.d.ts +8 -8
- package/dist/commonjs/models/operations/listsettlementrefunds.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listsettlementrefunds.js +8 -12
- package/dist/commonjs/models/operations/listsettlementrefunds.js.map +1 -1
- package/dist/commonjs/models/operations/listsettlements.d.ts +14 -854
- package/dist/commonjs/models/operations/listsettlements.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listsettlements.js +11 -596
- package/dist/commonjs/models/operations/listsettlements.js.map +1 -1
- package/dist/commonjs/models/operations/listsubscriptionpayments.d.ts +1472 -33
- package/dist/commonjs/models/operations/listsubscriptionpayments.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listsubscriptionpayments.js +777 -39
- package/dist/commonjs/models/operations/listsubscriptionpayments.js.map +1 -1
- package/dist/commonjs/models/operations/listsubscriptions.d.ts +8 -8
- package/dist/commonjs/models/operations/listsubscriptions.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listsubscriptions.js +8 -14
- package/dist/commonjs/models/operations/listsubscriptions.js.map +1 -1
- package/dist/commonjs/models/operations/listterminals.d.ts +8 -8
- package/dist/commonjs/models/operations/listterminals.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listterminals.js +8 -12
- package/dist/commonjs/models/operations/listterminals.js.map +1 -1
- package/dist/commonjs/models/operations/listwebhooks.d.ts +8 -8
- package/dist/commonjs/models/operations/listwebhooks.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listwebhooks.js +8 -12
- package/dist/commonjs/models/operations/listwebhooks.js.map +1 -1
- package/dist/commonjs/models/operations/updatepayment.d.ts +1458 -19
- package/dist/commonjs/models/operations/updatepayment.d.ts.map +1 -1
- package/dist/commonjs/models/operations/updatepayment.js +755 -21
- package/dist/commonjs/models/operations/updatepayment.js.map +1 -1
- package/dist/commonjs/models/operations/updatepaymentlink.d.ts +2 -2
- package/dist/esm/lib/config.d.ts +2 -2
- package/dist/esm/lib/config.js +2 -2
- package/dist/esm/mcp-server/mcp-server.js +1 -1
- package/dist/esm/mcp-server/server.js +1 -1
- package/dist/esm/models/operations/cancelpayment.d.ts +1458 -19
- package/dist/esm/models/operations/cancelpayment.d.ts.map +1 -1
- package/dist/esm/models/operations/cancelpayment.js +735 -16
- package/dist/esm/models/operations/cancelpayment.js.map +1 -1
- package/dist/esm/models/operations/createcustomerpayment.d.ts +1596 -20
- package/dist/esm/models/operations/createcustomerpayment.d.ts.map +1 -1
- package/dist/esm/models/operations/createcustomerpayment.js +796 -16
- package/dist/esm/models/operations/createcustomerpayment.js.map +1 -1
- package/dist/esm/models/operations/createpayment.d.ts +1596 -20
- package/dist/esm/models/operations/createpayment.d.ts.map +1 -1
- package/dist/esm/models/operations/createpayment.js +787 -16
- package/dist/esm/models/operations/createpayment.js.map +1 -1
- package/dist/esm/models/operations/createpaymentlink.d.ts +2 -2
- package/dist/esm/models/operations/getnextsettlement.d.ts +6 -846
- package/dist/esm/models/operations/getnextsettlement.d.ts.map +1 -1
- package/dist/esm/models/operations/getnextsettlement.js +2 -556
- package/dist/esm/models/operations/getnextsettlement.js.map +1 -1
- package/dist/esm/models/operations/getopensettlement.d.ts +6 -846
- package/dist/esm/models/operations/getopensettlement.d.ts.map +1 -1
- package/dist/esm/models/operations/getopensettlement.js +2 -556
- package/dist/esm/models/operations/getopensettlement.js.map +1 -1
- package/dist/esm/models/operations/getpayment.d.ts +1458 -19
- package/dist/esm/models/operations/getpayment.d.ts.map +1 -1
- package/dist/esm/models/operations/getpayment.js +731 -16
- package/dist/esm/models/operations/getpayment.js.map +1 -1
- package/dist/esm/models/operations/getpaymentlink.d.ts +1 -1
- package/dist/esm/models/operations/getpaymentlinkpayments.d.ts +1466 -27
- package/dist/esm/models/operations/getpaymentlinkpayments.d.ts.map +1 -1
- package/dist/esm/models/operations/getpaymentlinkpayments.js +751 -27
- package/dist/esm/models/operations/getpaymentlinkpayments.js.map +1 -1
- package/dist/esm/models/operations/getsettlement.d.ts +6 -846
- package/dist/esm/models/operations/getsettlement.d.ts.map +1 -1
- package/dist/esm/models/operations/getsettlement.js +2 -549
- package/dist/esm/models/operations/getsettlement.js.map +1 -1
- package/dist/esm/models/operations/getwebhookevent.d.ts +1 -1
- package/dist/esm/models/operations/listallchargebacks.d.ts +8 -8
- package/dist/esm/models/operations/listallchargebacks.d.ts.map +1 -1
- package/dist/esm/models/operations/listallchargebacks.js +8 -14
- package/dist/esm/models/operations/listallchargebacks.js.map +1 -1
- package/dist/esm/models/operations/listallmethods.d.ts +15 -15
- package/dist/esm/models/operations/listallmethods.d.ts.map +1 -1
- package/dist/esm/models/operations/listallmethods.js +16 -15
- package/dist/esm/models/operations/listallmethods.js.map +1 -1
- package/dist/esm/models/operations/listallrefunds.d.ts +8 -8
- package/dist/esm/models/operations/listallrefunds.d.ts.map +1 -1
- package/dist/esm/models/operations/listallrefunds.js +8 -12
- package/dist/esm/models/operations/listallrefunds.js.map +1 -1
- package/dist/esm/models/operations/listallsubscriptions.d.ts +8 -8
- package/dist/esm/models/operations/listallsubscriptions.d.ts.map +1 -1
- package/dist/esm/models/operations/listallsubscriptions.js +8 -13
- package/dist/esm/models/operations/listallsubscriptions.js.map +1 -1
- package/dist/esm/models/operations/listbalances.d.ts +8 -8
- package/dist/esm/models/operations/listbalances.d.ts.map +1 -1
- package/dist/esm/models/operations/listbalances.js +8 -12
- package/dist/esm/models/operations/listbalances.js.map +1 -1
- package/dist/esm/models/operations/listbalancetransactions.d.ts +8 -8
- package/dist/esm/models/operations/listbalancetransactions.d.ts.map +1 -1
- package/dist/esm/models/operations/listbalancetransactions.js +8 -10
- package/dist/esm/models/operations/listbalancetransactions.js.map +1 -1
- package/dist/esm/models/operations/listcaptures.d.ts +8 -8
- package/dist/esm/models/operations/listcaptures.d.ts.map +1 -1
- package/dist/esm/models/operations/listcaptures.js +8 -12
- package/dist/esm/models/operations/listcaptures.js.map +1 -1
- package/dist/esm/models/operations/listchargebacks.d.ts +8 -8
- package/dist/esm/models/operations/listchargebacks.d.ts.map +1 -1
- package/dist/esm/models/operations/listchargebacks.js +8 -12
- package/dist/esm/models/operations/listchargebacks.js.map +1 -1
- package/dist/esm/models/operations/listclients.d.ts +8 -8
- package/dist/esm/models/operations/listclients.d.ts.map +1 -1
- package/dist/esm/models/operations/listclients.js +8 -12
- package/dist/esm/models/operations/listclients.js.map +1 -1
- package/dist/esm/models/operations/listcustomerpayments.d.ts +1472 -33
- package/dist/esm/models/operations/listcustomerpayments.d.ts.map +1 -1
- package/dist/esm/models/operations/listcustomerpayments.js +756 -37
- package/dist/esm/models/operations/listcustomerpayments.js.map +1 -1
- package/dist/esm/models/operations/listcustomers.d.ts +8 -8
- package/dist/esm/models/operations/listcustomers.d.ts.map +1 -1
- package/dist/esm/models/operations/listcustomers.js +8 -12
- package/dist/esm/models/operations/listcustomers.js.map +1 -1
- package/dist/esm/models/operations/listinvoices.d.ts +8 -8
- package/dist/esm/models/operations/listinvoices.d.ts.map +1 -1
- package/dist/esm/models/operations/listinvoices.js +8 -12
- package/dist/esm/models/operations/listinvoices.js.map +1 -1
- package/dist/esm/models/operations/listmandates.d.ts +8 -8
- package/dist/esm/models/operations/listmandates.d.ts.map +1 -1
- package/dist/esm/models/operations/listmandates.js +8 -12
- package/dist/esm/models/operations/listmandates.js.map +1 -1
- package/dist/esm/models/operations/listpaymentlinks.d.ts +9 -9
- package/dist/esm/models/operations/listpaymentlinks.d.ts.map +1 -1
- package/dist/esm/models/operations/listpaymentlinks.js +8 -13
- package/dist/esm/models/operations/listpaymentlinks.js.map +1 -1
- package/dist/esm/models/operations/listpayments.d.ts +1472 -33
- package/dist/esm/models/operations/listpayments.d.ts.map +1 -1
- package/dist/esm/models/operations/listpayments.js +748 -34
- package/dist/esm/models/operations/listpayments.js.map +1 -1
- package/dist/esm/models/operations/listprofiles.d.ts +8 -8
- package/dist/esm/models/operations/listprofiles.d.ts.map +1 -1
- package/dist/esm/models/operations/listprofiles.js +8 -12
- package/dist/esm/models/operations/listprofiles.js.map +1 -1
- package/dist/esm/models/operations/listrefunds.d.ts +8 -8
- package/dist/esm/models/operations/listrefunds.d.ts.map +1 -1
- package/dist/esm/models/operations/listrefunds.js +8 -12
- package/dist/esm/models/operations/listrefunds.js.map +1 -1
- package/dist/esm/models/operations/listsalesinvoices.d.ts +8 -8
- package/dist/esm/models/operations/listsalesinvoices.d.ts.map +1 -1
- package/dist/esm/models/operations/listsalesinvoices.js +8 -14
- package/dist/esm/models/operations/listsalesinvoices.js.map +1 -1
- package/dist/esm/models/operations/listsettlementcaptures.d.ts +8 -8
- package/dist/esm/models/operations/listsettlementcaptures.d.ts.map +1 -1
- package/dist/esm/models/operations/listsettlementcaptures.js +8 -11
- package/dist/esm/models/operations/listsettlementcaptures.js.map +1 -1
- package/dist/esm/models/operations/listsettlementchargebacks.d.ts +8 -8
- package/dist/esm/models/operations/listsettlementchargebacks.d.ts.map +1 -1
- package/dist/esm/models/operations/listsettlementchargebacks.js +8 -10
- package/dist/esm/models/operations/listsettlementchargebacks.js.map +1 -1
- package/dist/esm/models/operations/listsettlementpayments.d.ts +1472 -33
- package/dist/esm/models/operations/listsettlementpayments.d.ts.map +1 -1
- package/dist/esm/models/operations/listsettlementpayments.js +757 -35
- package/dist/esm/models/operations/listsettlementpayments.js.map +1 -1
- package/dist/esm/models/operations/listsettlementrefunds.d.ts +8 -8
- package/dist/esm/models/operations/listsettlementrefunds.d.ts.map +1 -1
- package/dist/esm/models/operations/listsettlementrefunds.js +8 -12
- package/dist/esm/models/operations/listsettlementrefunds.js.map +1 -1
- package/dist/esm/models/operations/listsettlements.d.ts +14 -854
- package/dist/esm/models/operations/listsettlements.d.ts.map +1 -1
- package/dist/esm/models/operations/listsettlements.js +10 -566
- package/dist/esm/models/operations/listsettlements.js.map +1 -1
- package/dist/esm/models/operations/listsubscriptionpayments.d.ts +1472 -33
- package/dist/esm/models/operations/listsubscriptionpayments.d.ts.map +1 -1
- package/dist/esm/models/operations/listsubscriptionpayments.js +757 -34
- package/dist/esm/models/operations/listsubscriptionpayments.js.map +1 -1
- package/dist/esm/models/operations/listsubscriptions.d.ts +8 -8
- package/dist/esm/models/operations/listsubscriptions.d.ts.map +1 -1
- package/dist/esm/models/operations/listsubscriptions.js +8 -14
- package/dist/esm/models/operations/listsubscriptions.js.map +1 -1
- package/dist/esm/models/operations/listterminals.d.ts +8 -8
- package/dist/esm/models/operations/listterminals.d.ts.map +1 -1
- package/dist/esm/models/operations/listterminals.js +8 -12
- package/dist/esm/models/operations/listterminals.js.map +1 -1
- package/dist/esm/models/operations/listwebhooks.d.ts +8 -8
- package/dist/esm/models/operations/listwebhooks.d.ts.map +1 -1
- package/dist/esm/models/operations/listwebhooks.js +8 -12
- package/dist/esm/models/operations/listwebhooks.js.map +1 -1
- package/dist/esm/models/operations/updatepayment.d.ts +1458 -19
- package/dist/esm/models/operations/updatepayment.d.ts.map +1 -1
- package/dist/esm/models/operations/updatepayment.js +735 -16
- package/dist/esm/models/operations/updatepayment.js.map +1 -1
- package/dist/esm/models/operations/updatepaymentlink.d.ts +2 -2
- package/docs/sdks/customers/README.md +26 -0
- package/docs/sdks/payments/README.md +26 -0
- package/examples/package-lock.json +1 -1
- package/examples/paymentsCreate.example.ts +14 -0
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/operations/cancelpayment.ts +2821 -1297
- package/src/models/operations/createcustomerpayment.ts +4804 -3036
- package/src/models/operations/createpayment.ts +4484 -2767
- package/src/models/operations/createpaymentlink.ts +2 -2
- package/src/models/operations/getnextsettlement.ts +4 -1290
- package/src/models/operations/getopensettlement.ts +4 -1290
- package/src/models/operations/getpayment.ts +3155 -1650
- package/src/models/operations/getpaymentlink.ts +1 -1
- package/src/models/operations/getpaymentlinkpayments.ts +3426 -1847
- package/src/models/operations/getsettlement.ts +4 -1253
- package/src/models/operations/getwebhookevent.ts +1 -1
- package/src/models/operations/listallchargebacks.ts +16 -22
- package/src/models/operations/listallmethods.ts +27 -34
- package/src/models/operations/listallrefunds.ts +16 -20
- package/src/models/operations/listallsubscriptions.ts +18 -21
- package/src/models/operations/listbalances.ts +16 -20
- package/src/models/operations/listbalancetransactions.ts +16 -18
- package/src/models/operations/listcaptures.ts +16 -20
- package/src/models/operations/listchargebacks.ts +16 -20
- package/src/models/operations/listclients.ts +16 -20
- package/src/models/operations/listcustomerpayments.ts +3408 -1847
- package/src/models/operations/listcustomers.ts +16 -20
- package/src/models/operations/listinvoices.ts +16 -20
- package/src/models/operations/listmandates.ts +16 -20
- package/src/models/operations/listpaymentlinks.ts +17 -22
- package/src/models/operations/listpayments.ts +2971 -1455
- package/src/models/operations/listprofiles.ts +16 -20
- package/src/models/operations/listrefunds.ts +16 -20
- package/src/models/operations/listsalesinvoices.ts +16 -22
- package/src/models/operations/listsettlementcaptures.ts +18 -19
- package/src/models/operations/listsettlementchargebacks.ts +16 -18
- package/src/models/operations/listsettlementpayments.ts +3436 -1859
- package/src/models/operations/listsettlementrefunds.ts +18 -20
- package/src/models/operations/listsettlements.ts +228 -1500
- package/src/models/operations/listsubscriptionpayments.ts +3479 -1875
- package/src/models/operations/listsubscriptions.ts +16 -22
- package/src/models/operations/listterminals.ts +16 -20
- package/src/models/operations/listwebhooks.ts +16 -20
- package/src/models/operations/updatepayment.ts +3437 -1913
- package/src/models/operations/updatepaymentlink.ts +2 -2
|
@@ -36,12 +36,13 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
40
|
-
exports.
|
|
41
|
-
exports.
|
|
42
|
-
exports.
|
|
43
|
-
exports.
|
|
44
|
-
exports.
|
|
39
|
+
exports.CreatePaymentVatAmountRequest$inboundSchema = exports.CreatePaymentTotalAmountRequest$ = exports.CreatePaymentTotalAmountRequest$outboundSchema = exports.CreatePaymentTotalAmountRequest$inboundSchema = exports.CreatePaymentDiscountAmountRequest$ = exports.CreatePaymentDiscountAmountRequest$outboundSchema = exports.CreatePaymentDiscountAmountRequest$inboundSchema = exports.CreatePaymentUnitPriceRequest$ = exports.CreatePaymentUnitPriceRequest$outboundSchema = exports.CreatePaymentUnitPriceRequest$inboundSchema = exports.CreatePaymentLineTypeRequest$ = exports.CreatePaymentLineTypeRequest$outboundSchema = exports.CreatePaymentLineTypeRequest$inboundSchema = exports.CreatePaymentAmountRequest$ = exports.CreatePaymentAmountRequest$outboundSchema = exports.CreatePaymentAmountRequest$inboundSchema = exports.CreatePaymentInclude$ = exports.CreatePaymentInclude$outboundSchema = exports.CreatePaymentInclude$inboundSchema = exports.CreatePaymentCardVerificationMethod = exports.CreatePaymentCardReadMethod = exports.CreatePaymentSellerProtection = exports.CreatePaymentWallet = exports.CreatePaymentFailureReason = exports.CreatePaymentFeeRegion = exports.CreatePaymentCardSecurity = exports.CreatePaymentCardFunding = exports.CreatePaymentCardLabel = exports.CreatePaymentCardAudition = exports.CreatePaymentCode = exports.CreatePaymentStatusEnum = exports.CreatePaymentSequenceTypeResponse = exports.CreatePaymentRoutingTypeResponse = exports.CreatePaymentRoutingMode = exports.CreatePaymentCaptureModeResponse = exports.CreatePaymentMethodResponse = exports.CreatePaymentLocaleResponse = exports.CreatePaymentIntervalResponse = exports.CreatePaymentCategoryResponse = exports.CreatePaymentLineTypeResponse = exports.CreatePaymentMode = exports.CreatePaymentSequenceTypeRequest = exports.CreatePaymentRoutingTypeRequest = exports.CreatePaymentCaptureModeRequest = exports.CreatePaymentMethodRequest = exports.CreatePaymentLocaleRequest = exports.CreatePaymentIntervalRequest = exports.CreatePaymentCategoryRequest = exports.CreatePaymentLineTypeRequest = exports.CreatePaymentInclude = void 0;
|
|
40
|
+
exports.CreatePaymentDestinationRequest$ = exports.CreatePaymentDestinationRequest$outboundSchema = exports.CreatePaymentDestinationRequest$inboundSchema = exports.CreatePaymentRoutingTypeRequest$ = exports.CreatePaymentRoutingTypeRequest$outboundSchema = exports.CreatePaymentRoutingTypeRequest$inboundSchema = exports.CreatePaymentRoutingAmountRequest$ = exports.CreatePaymentRoutingAmountRequest$outboundSchema = exports.CreatePaymentRoutingAmountRequest$inboundSchema = exports.CreatePaymentApplicationFeeRequest$ = exports.CreatePaymentApplicationFeeRequest$outboundSchema = exports.CreatePaymentApplicationFeeRequest$inboundSchema = exports.CreatePaymentApplicationFeeAmountRequest$ = exports.CreatePaymentApplicationFeeAmountRequest$outboundSchema = exports.CreatePaymentApplicationFeeAmountRequest$inboundSchema = exports.CreatePaymentCaptureModeRequest$ = exports.CreatePaymentCaptureModeRequest$outboundSchema = exports.CreatePaymentCaptureModeRequest$inboundSchema = exports.CreatePaymentMetadataRequest$ = exports.CreatePaymentMetadataRequest$outboundSchema = exports.CreatePaymentMetadataRequest$inboundSchema = exports.CreatePaymentMethodRequest$ = exports.CreatePaymentMethodRequest$outboundSchema = exports.CreatePaymentMethodRequest$inboundSchema = exports.CreatePaymentLocaleRequest$ = exports.CreatePaymentLocaleRequest$outboundSchema = exports.CreatePaymentLocaleRequest$inboundSchema = exports.CreatePaymentShippingAddressRequest$ = exports.CreatePaymentShippingAddressRequest$outboundSchema = exports.CreatePaymentShippingAddressRequest$inboundSchema = exports.CreatePaymentBillingAddressRequest$ = exports.CreatePaymentBillingAddressRequest$outboundSchema = exports.CreatePaymentBillingAddressRequest$inboundSchema = exports.CreatePaymentLineRequest$ = exports.CreatePaymentLineRequest$outboundSchema = exports.CreatePaymentLineRequest$inboundSchema = exports.CreatePaymentRecurringRequest$ = exports.CreatePaymentRecurringRequest$outboundSchema = exports.CreatePaymentRecurringRequest$inboundSchema = exports.CreatePaymentRecurringAmountRequest$ = exports.CreatePaymentRecurringAmountRequest$outboundSchema = exports.CreatePaymentRecurringAmountRequest$inboundSchema = exports.CreatePaymentIntervalRequest$ = exports.CreatePaymentIntervalRequest$outboundSchema = exports.CreatePaymentIntervalRequest$inboundSchema = exports.CreatePaymentCategoryRequest$ = exports.CreatePaymentCategoryRequest$outboundSchema = exports.CreatePaymentCategoryRequest$inboundSchema = exports.CreatePaymentVatAmountRequest$ = exports.CreatePaymentVatAmountRequest$outboundSchema = void 0;
|
|
41
|
+
exports.CreatePaymentAmountCaptured$outboundSchema = exports.CreatePaymentAmountCaptured$inboundSchema = exports.CreatePaymentAmountRemaining$ = exports.CreatePaymentAmountRemaining$outboundSchema = exports.CreatePaymentAmountRemaining$inboundSchema = exports.CreatePaymentAmountRefunded$ = exports.CreatePaymentAmountRefunded$outboundSchema = exports.CreatePaymentAmountRefunded$inboundSchema = exports.CreatePaymentAmountResponse$ = exports.CreatePaymentAmountResponse$outboundSchema = exports.CreatePaymentAmountResponse$inboundSchema = exports.CreatePaymentMode$ = exports.CreatePaymentMode$outboundSchema = exports.CreatePaymentMode$inboundSchema = exports.CreatePaymentUnprocessableEntityLinks$ = exports.CreatePaymentUnprocessableEntityLinks$outboundSchema = exports.CreatePaymentUnprocessableEntityLinks$inboundSchema = exports.CreatePaymentUnprocessableEntityDocumentation$ = exports.CreatePaymentUnprocessableEntityDocumentation$outboundSchema = exports.CreatePaymentUnprocessableEntityDocumentation$inboundSchema = exports.CreatePaymentServiceUnavailableLinks$ = exports.CreatePaymentServiceUnavailableLinks$outboundSchema = exports.CreatePaymentServiceUnavailableLinks$inboundSchema = exports.CreatePaymentServiceUnavailableDocumentation$ = exports.CreatePaymentServiceUnavailableDocumentation$outboundSchema = exports.CreatePaymentServiceUnavailableDocumentation$inboundSchema = exports.CreatePaymentRequest$ = exports.CreatePaymentRequest$outboundSchema = exports.CreatePaymentRequest$inboundSchema = exports.CreatePaymentRequestBody$ = exports.CreatePaymentRequestBody$outboundSchema = exports.CreatePaymentRequestBody$inboundSchema = exports.CreatePaymentCompany$ = exports.CreatePaymentCompany$outboundSchema = exports.CreatePaymentCompany$inboundSchema = exports.CreatePaymentSequenceTypeRequest$ = exports.CreatePaymentSequenceTypeRequest$outboundSchema = exports.CreatePaymentSequenceTypeRequest$inboundSchema = exports.CreatePaymentRoutingRequest$ = exports.CreatePaymentRoutingRequest$outboundSchema = exports.CreatePaymentRoutingRequest$inboundSchema = exports.CreatePaymentLinksRequest$ = exports.CreatePaymentLinksRequest$outboundSchema = exports.CreatePaymentLinksRequest$inboundSchema = exports.CreatePaymentPaymentRequest$ = exports.CreatePaymentPaymentRequest$outboundSchema = exports.CreatePaymentPaymentRequest$inboundSchema = exports.CreatePaymentSelfRequest$ = exports.CreatePaymentSelfRequest$outboundSchema = exports.CreatePaymentSelfRequest$inboundSchema = void 0;
|
|
42
|
+
exports.CreatePaymentMetadataResponse$inboundSchema = exports.CreatePaymentMethodResponse$ = exports.CreatePaymentMethodResponse$outboundSchema = exports.CreatePaymentMethodResponse$inboundSchema = exports.CreatePaymentLocaleResponse$ = exports.CreatePaymentLocaleResponse$outboundSchema = exports.CreatePaymentLocaleResponse$inboundSchema = exports.CreatePaymentShippingAddressResponse$ = exports.CreatePaymentShippingAddressResponse$outboundSchema = exports.CreatePaymentShippingAddressResponse$inboundSchema = exports.CreatePaymentBillingAddressResponse$ = exports.CreatePaymentBillingAddressResponse$outboundSchema = exports.CreatePaymentBillingAddressResponse$inboundSchema = exports.CreatePaymentLineResponse$ = exports.CreatePaymentLineResponse$outboundSchema = exports.CreatePaymentLineResponse$inboundSchema = exports.CreatePaymentRecurringResponse$ = exports.CreatePaymentRecurringResponse$outboundSchema = exports.CreatePaymentRecurringResponse$inboundSchema = exports.CreatePaymentRecurringAmountResponse$ = exports.CreatePaymentRecurringAmountResponse$outboundSchema = exports.CreatePaymentRecurringAmountResponse$inboundSchema = exports.CreatePaymentIntervalResponse$ = exports.CreatePaymentIntervalResponse$outboundSchema = exports.CreatePaymentIntervalResponse$inboundSchema = exports.CreatePaymentCategoryResponse$ = exports.CreatePaymentCategoryResponse$outboundSchema = exports.CreatePaymentCategoryResponse$inboundSchema = exports.CreatePaymentVatAmountResponse$ = exports.CreatePaymentVatAmountResponse$outboundSchema = exports.CreatePaymentVatAmountResponse$inboundSchema = exports.CreatePaymentTotalAmountResponse$ = exports.CreatePaymentTotalAmountResponse$outboundSchema = exports.CreatePaymentTotalAmountResponse$inboundSchema = exports.CreatePaymentDiscountAmountResponse$ = exports.CreatePaymentDiscountAmountResponse$outboundSchema = exports.CreatePaymentDiscountAmountResponse$inboundSchema = exports.CreatePaymentUnitPriceResponse$ = exports.CreatePaymentUnitPriceResponse$outboundSchema = exports.CreatePaymentUnitPriceResponse$inboundSchema = exports.CreatePaymentLineTypeResponse$ = exports.CreatePaymentLineTypeResponse$outboundSchema = exports.CreatePaymentLineTypeResponse$inboundSchema = exports.CreatePaymentSettlementAmount$ = exports.CreatePaymentSettlementAmount$outboundSchema = exports.CreatePaymentSettlementAmount$inboundSchema = exports.CreatePaymentAmountChargedBack$ = exports.CreatePaymentAmountChargedBack$outboundSchema = exports.CreatePaymentAmountChargedBack$inboundSchema = exports.CreatePaymentAmountCaptured$ = void 0;
|
|
43
|
+
exports.CreatePaymentCardAudition$ = exports.CreatePaymentCardAudition$outboundSchema = exports.CreatePaymentCardAudition$inboundSchema = exports.CreatePaymentStatusReason$ = exports.CreatePaymentStatusReason$outboundSchema = exports.CreatePaymentStatusReason$inboundSchema = exports.CreatePaymentCode$ = exports.CreatePaymentCode$outboundSchema = exports.CreatePaymentCode$inboundSchema = exports.CreatePaymentStatusEnum$ = exports.CreatePaymentStatusEnum$outboundSchema = exports.CreatePaymentStatusEnum$inboundSchema = exports.CreatePaymentSequenceTypeResponse$ = exports.CreatePaymentSequenceTypeResponse$outboundSchema = exports.CreatePaymentSequenceTypeResponse$inboundSchema = exports.CreatePaymentRoutingResponse$ = exports.CreatePaymentRoutingResponse$outboundSchema = exports.CreatePaymentRoutingResponse$inboundSchema = exports.CreatePaymentRoutingLinksResponse$ = exports.CreatePaymentRoutingLinksResponse$outboundSchema = exports.CreatePaymentRoutingLinksResponse$inboundSchema = exports.CreatePaymentPaymentResponse$ = exports.CreatePaymentPaymentResponse$outboundSchema = exports.CreatePaymentPaymentResponse$inboundSchema = exports.CreatePaymentRoutingSelfResponse$ = exports.CreatePaymentRoutingSelfResponse$outboundSchema = exports.CreatePaymentRoutingSelfResponse$inboundSchema = exports.CreatePaymentDestinationResponse$ = exports.CreatePaymentDestinationResponse$outboundSchema = exports.CreatePaymentDestinationResponse$inboundSchema = exports.CreatePaymentRoutingTypeResponse$ = exports.CreatePaymentRoutingTypeResponse$outboundSchema = exports.CreatePaymentRoutingTypeResponse$inboundSchema = exports.CreatePaymentRoutingAmountResponse$ = exports.CreatePaymentRoutingAmountResponse$outboundSchema = exports.CreatePaymentRoutingAmountResponse$inboundSchema = exports.CreatePaymentRoutingMode$ = exports.CreatePaymentRoutingMode$outboundSchema = exports.CreatePaymentRoutingMode$inboundSchema = exports.CreatePaymentApplicationFeeResponse$ = exports.CreatePaymentApplicationFeeResponse$outboundSchema = exports.CreatePaymentApplicationFeeResponse$inboundSchema = exports.CreatePaymentApplicationFeeAmountResponse$ = exports.CreatePaymentApplicationFeeAmountResponse$outboundSchema = exports.CreatePaymentApplicationFeeAmountResponse$inboundSchema = exports.CreatePaymentCaptureModeResponse$ = exports.CreatePaymentCaptureModeResponse$outboundSchema = exports.CreatePaymentCaptureModeResponse$inboundSchema = exports.CreatePaymentMetadataResponse$ = exports.CreatePaymentMetadataResponse$outboundSchema = void 0;
|
|
44
|
+
exports.CreatePaymentMobileAppCheckout$outboundSchema = exports.CreatePaymentMobileAppCheckout$inboundSchema = exports.CreatePaymentCheckout$ = exports.CreatePaymentCheckout$outboundSchema = exports.CreatePaymentCheckout$inboundSchema = exports.CreatePaymentSelfResponse$ = exports.CreatePaymentSelfResponse$outboundSchema = exports.CreatePaymentSelfResponse$inboundSchema = exports.CreatePaymentDetails$ = exports.CreatePaymentDetails$outboundSchema = exports.CreatePaymentDetails$inboundSchema = exports.CreatePaymentRemainderAmount$ = exports.CreatePaymentRemainderAmount$outboundSchema = exports.CreatePaymentRemainderAmount$inboundSchema = exports.CreatePaymentQrCode$ = exports.CreatePaymentQrCode$outboundSchema = exports.CreatePaymentQrCode$inboundSchema = exports.CreatePaymentReceipt$ = exports.CreatePaymentReceipt$outboundSchema = exports.CreatePaymentReceipt$inboundSchema = exports.CreatePaymentCardVerificationMethod$ = exports.CreatePaymentCardVerificationMethod$outboundSchema = exports.CreatePaymentCardVerificationMethod$inboundSchema = exports.CreatePaymentCardReadMethod$ = exports.CreatePaymentCardReadMethod$outboundSchema = exports.CreatePaymentCardReadMethod$inboundSchema = exports.CreatePaymentPaypalFee$ = exports.CreatePaymentPaypalFee$outboundSchema = exports.CreatePaymentPaypalFee$inboundSchema = exports.CreatePaymentSellerProtection$ = exports.CreatePaymentSellerProtection$outboundSchema = exports.CreatePaymentSellerProtection$inboundSchema = exports.CreatePaymentWallet$ = exports.CreatePaymentWallet$outboundSchema = exports.CreatePaymentWallet$inboundSchema = exports.CreatePaymentFailureReason$ = exports.CreatePaymentFailureReason$outboundSchema = exports.CreatePaymentFailureReason$inboundSchema = exports.CreatePaymentFeeRegion$ = exports.CreatePaymentFeeRegion$outboundSchema = exports.CreatePaymentFeeRegion$inboundSchema = exports.CreatePaymentCardSecurity$ = exports.CreatePaymentCardSecurity$outboundSchema = exports.CreatePaymentCardSecurity$inboundSchema = exports.CreatePaymentCardFunding$ = exports.CreatePaymentCardFunding$outboundSchema = exports.CreatePaymentCardFunding$inboundSchema = exports.CreatePaymentCardLabel$ = exports.CreatePaymentCardLabel$outboundSchema = exports.CreatePaymentCardLabel$inboundSchema = void 0;
|
|
45
|
+
exports.CreatePaymentResponse$ = exports.CreatePaymentResponse$outboundSchema = exports.CreatePaymentResponse$inboundSchema = exports.CreatePaymentLinksResponse$ = exports.CreatePaymentLinksResponse$outboundSchema = exports.CreatePaymentLinksResponse$inboundSchema = exports.CreatePaymentPayOnline$ = exports.CreatePaymentPayOnline$outboundSchema = exports.CreatePaymentPayOnline$inboundSchema = exports.CreatePaymentLinksStatus$ = exports.CreatePaymentLinksStatus$outboundSchema = exports.CreatePaymentLinksStatus$inboundSchema = exports.CreatePaymentDocumentation$ = exports.CreatePaymentDocumentation$outboundSchema = exports.CreatePaymentDocumentation$inboundSchema = exports.CreatePaymentTerminal$ = exports.CreatePaymentTerminal$outboundSchema = exports.CreatePaymentTerminal$inboundSchema = exports.CreatePaymentOrder$ = exports.CreatePaymentOrder$outboundSchema = exports.CreatePaymentOrder$inboundSchema = exports.CreatePaymentSubscription$ = exports.CreatePaymentSubscription$outboundSchema = exports.CreatePaymentSubscription$inboundSchema = exports.CreatePaymentMandate$ = exports.CreatePaymentMandate$outboundSchema = exports.CreatePaymentMandate$inboundSchema = exports.CreatePaymentCustomer$ = exports.CreatePaymentCustomer$outboundSchema = exports.CreatePaymentCustomer$inboundSchema = exports.CreatePaymentSettlement$ = exports.CreatePaymentSettlement$outboundSchema = exports.CreatePaymentSettlement$inboundSchema = exports.CreatePaymentCaptures$ = exports.CreatePaymentCaptures$outboundSchema = exports.CreatePaymentCaptures$inboundSchema = exports.CreatePaymentChargebacks$ = exports.CreatePaymentChargebacks$outboundSchema = exports.CreatePaymentChargebacks$inboundSchema = exports.CreatePaymentRefunds$ = exports.CreatePaymentRefunds$outboundSchema = exports.CreatePaymentRefunds$inboundSchema = exports.CreatePaymentDashboard$ = exports.CreatePaymentDashboard$outboundSchema = exports.CreatePaymentDashboard$inboundSchema = exports.CreatePaymentChangePaymentState$ = exports.CreatePaymentChangePaymentState$outboundSchema = exports.CreatePaymentChangePaymentState$inboundSchema = exports.CreatePaymentMobileAppCheckout$ = void 0;
|
|
45
46
|
exports.createPaymentAmountRequestToJSON = createPaymentAmountRequestToJSON;
|
|
46
47
|
exports.createPaymentAmountRequestFromJSON = createPaymentAmountRequestFromJSON;
|
|
47
48
|
exports.createPaymentUnitPriceRequestToJSON = createPaymentUnitPriceRequestToJSON;
|
|
@@ -80,6 +81,8 @@ exports.createPaymentLinksRequestToJSON = createPaymentLinksRequestToJSON;
|
|
|
80
81
|
exports.createPaymentLinksRequestFromJSON = createPaymentLinksRequestFromJSON;
|
|
81
82
|
exports.createPaymentRoutingRequestToJSON = createPaymentRoutingRequestToJSON;
|
|
82
83
|
exports.createPaymentRoutingRequestFromJSON = createPaymentRoutingRequestFromJSON;
|
|
84
|
+
exports.createPaymentCompanyToJSON = createPaymentCompanyToJSON;
|
|
85
|
+
exports.createPaymentCompanyFromJSON = createPaymentCompanyFromJSON;
|
|
83
86
|
exports.createPaymentRequestBodyToJSON = createPaymentRequestBodyToJSON;
|
|
84
87
|
exports.createPaymentRequestBodyFromJSON = createPaymentRequestBodyFromJSON;
|
|
85
88
|
exports.createPaymentRequestToJSON = createPaymentRequestToJSON;
|
|
@@ -142,6 +145,16 @@ exports.createPaymentRoutingResponseToJSON = createPaymentRoutingResponseToJSON;
|
|
|
142
145
|
exports.createPaymentRoutingResponseFromJSON = createPaymentRoutingResponseFromJSON;
|
|
143
146
|
exports.createPaymentStatusReasonToJSON = createPaymentStatusReasonToJSON;
|
|
144
147
|
exports.createPaymentStatusReasonFromJSON = createPaymentStatusReasonFromJSON;
|
|
148
|
+
exports.createPaymentPaypalFeeToJSON = createPaymentPaypalFeeToJSON;
|
|
149
|
+
exports.createPaymentPaypalFeeFromJSON = createPaymentPaypalFeeFromJSON;
|
|
150
|
+
exports.createPaymentReceiptToJSON = createPaymentReceiptToJSON;
|
|
151
|
+
exports.createPaymentReceiptFromJSON = createPaymentReceiptFromJSON;
|
|
152
|
+
exports.createPaymentQrCodeToJSON = createPaymentQrCodeToJSON;
|
|
153
|
+
exports.createPaymentQrCodeFromJSON = createPaymentQrCodeFromJSON;
|
|
154
|
+
exports.createPaymentRemainderAmountToJSON = createPaymentRemainderAmountToJSON;
|
|
155
|
+
exports.createPaymentRemainderAmountFromJSON = createPaymentRemainderAmountFromJSON;
|
|
156
|
+
exports.createPaymentDetailsToJSON = createPaymentDetailsToJSON;
|
|
157
|
+
exports.createPaymentDetailsFromJSON = createPaymentDetailsFromJSON;
|
|
145
158
|
exports.createPaymentSelfResponseToJSON = createPaymentSelfResponseToJSON;
|
|
146
159
|
exports.createPaymentSelfResponseFromJSON = createPaymentSelfResponseFromJSON;
|
|
147
160
|
exports.createPaymentCheckoutToJSON = createPaymentCheckoutToJSON;
|
|
@@ -172,6 +185,10 @@ exports.createPaymentTerminalToJSON = createPaymentTerminalToJSON;
|
|
|
172
185
|
exports.createPaymentTerminalFromJSON = createPaymentTerminalFromJSON;
|
|
173
186
|
exports.createPaymentDocumentationToJSON = createPaymentDocumentationToJSON;
|
|
174
187
|
exports.createPaymentDocumentationFromJSON = createPaymentDocumentationFromJSON;
|
|
188
|
+
exports.createPaymentLinksStatusToJSON = createPaymentLinksStatusToJSON;
|
|
189
|
+
exports.createPaymentLinksStatusFromJSON = createPaymentLinksStatusFromJSON;
|
|
190
|
+
exports.createPaymentPayOnlineToJSON = createPaymentPayOnlineToJSON;
|
|
191
|
+
exports.createPaymentPayOnlineFromJSON = createPaymentPayOnlineFromJSON;
|
|
175
192
|
exports.createPaymentLinksResponseToJSON = createPaymentLinksResponseToJSON;
|
|
176
193
|
exports.createPaymentLinksResponseFromJSON = createPaymentLinksResponseFromJSON;
|
|
177
194
|
exports.createPaymentResponseToJSON = createPaymentResponseToJSON;
|
|
@@ -179,6 +196,7 @@ exports.createPaymentResponseFromJSON = createPaymentResponseFromJSON;
|
|
|
179
196
|
const z = __importStar(require("zod"));
|
|
180
197
|
const primitives_js_1 = require("../../lib/primitives.js");
|
|
181
198
|
const schemas_js_1 = require("../../lib/schemas.js");
|
|
199
|
+
const rfcdate_js_1 = require("../../types/rfcdate.js");
|
|
182
200
|
/**
|
|
183
201
|
* This endpoint allows you to include additional information via the `include` query string parameter.
|
|
184
202
|
*/
|
|
@@ -516,7 +534,7 @@ exports.CreatePaymentSequenceTypeResponse = {
|
|
|
516
534
|
* @remarks
|
|
517
535
|
* statuses occur at what point.
|
|
518
536
|
*/
|
|
519
|
-
exports.
|
|
537
|
+
exports.CreatePaymentStatusEnum = {
|
|
520
538
|
Open: "open",
|
|
521
539
|
Pending: "pending",
|
|
522
540
|
Authorized: "authorized",
|
|
@@ -525,6 +543,249 @@ exports.CreatePaymentStatus = {
|
|
|
525
543
|
Expired: "expired",
|
|
526
544
|
Failed: "failed",
|
|
527
545
|
};
|
|
546
|
+
/**
|
|
547
|
+
* A machine-readable code that indicates the reason for the payment's status.
|
|
548
|
+
*/
|
|
549
|
+
exports.CreatePaymentCode = {
|
|
550
|
+
ApprovedOrCompletedSuccessfully: "approved_or_completed_successfully",
|
|
551
|
+
ReferToCardIssuer: "refer_to_card_issuer",
|
|
552
|
+
InvalidMerchant: "invalid_merchant",
|
|
553
|
+
CaptureCard: "capture_card",
|
|
554
|
+
DoNotHonor: "do_not_honor",
|
|
555
|
+
Error: "error",
|
|
556
|
+
PartialApproval: "partial_approval",
|
|
557
|
+
InvalidTransaction: "invalid_transaction",
|
|
558
|
+
InvalidAmount: "invalid_amount",
|
|
559
|
+
InvalidIssuer: "invalid_issuer",
|
|
560
|
+
LostCard: "lost_card",
|
|
561
|
+
StolenCard: "stolen_card",
|
|
562
|
+
InsufficientFunds: "insufficient_funds",
|
|
563
|
+
ExpiredCard: "expired_card",
|
|
564
|
+
InvalidPin: "invalid_pin",
|
|
565
|
+
TransactionNotPermittedToCardholder: "transaction_not_permitted_to_cardholder",
|
|
566
|
+
TransactionNotAllowedAtTerminal: "transaction_not_allowed_at_terminal",
|
|
567
|
+
ExceedsWithdrawalAmountLimit: "exceeds_withdrawal_amount_limit",
|
|
568
|
+
RestrictedCard: "restricted_card",
|
|
569
|
+
SecurityViolation: "security_violation",
|
|
570
|
+
ExceedsWithdrawalCountLimit: "exceeds_withdrawal_count_limit",
|
|
571
|
+
AllowableNumberOfPinTriesExceeded: "allowable_number_of_pin_tries_exceeded",
|
|
572
|
+
NoReasonToDecline: "no_reason_to_decline",
|
|
573
|
+
CannotVerifyPin: "cannot_verify_pin",
|
|
574
|
+
IssuerUnavailable: "issuer_unavailable",
|
|
575
|
+
UnableToRouteTransaction: "unable_to_route_transaction",
|
|
576
|
+
DuplicateTransaction: "duplicate_transaction",
|
|
577
|
+
SystemMalfunction: "system_malfunction",
|
|
578
|
+
HonorWithId: "honor_with_id",
|
|
579
|
+
InvalidCardNumber: "invalid_card_number",
|
|
580
|
+
FormatError: "format_error",
|
|
581
|
+
ContactCardIssuer: "contact_card_issuer",
|
|
582
|
+
PinNotChanged: "pin_not_changed",
|
|
583
|
+
InvalidNonexistentToAccountSpecified: "invalid_nonexistent_to_account_specified",
|
|
584
|
+
InvalidNonexistentFromAccountSpecified: "invalid_nonexistent_from_account_specified",
|
|
585
|
+
InvalidNonexistentAccountSpecified: "invalid_nonexistent_account_specified",
|
|
586
|
+
LifecycleRelated: "lifecycle_related",
|
|
587
|
+
DomesticDebitTransactionNotAllowed: "domestic_debit_transaction_not_allowed",
|
|
588
|
+
PolicyRelated: "policy_related",
|
|
589
|
+
FraudSecurityRelated: "fraud_security_related",
|
|
590
|
+
InvalidAuthorizationLifeCycle: "invalid_authorization_life_cycle",
|
|
591
|
+
PurchaseAmountOnlyNoCashBackAllowed: "purchase_amount_only_no_cash_back_allowed",
|
|
592
|
+
CryptographicFailure: "cryptographic_failure",
|
|
593
|
+
UnacceptablePin: "unacceptable_pin",
|
|
594
|
+
ReferToCardIssuerSpecialCondition: "refer_to_card_issuer_special_condition",
|
|
595
|
+
PickUpCardSpecialCondition: "pick_up_card_special_condition",
|
|
596
|
+
VipApproval: "vip_approval",
|
|
597
|
+
InvalidAccountNumber: "invalid_account_number",
|
|
598
|
+
ReEnterTransaction: "re_enter_transaction",
|
|
599
|
+
NoActionTaken: "no_action_taken",
|
|
600
|
+
UnableToLocateRecord: "unable_to_locate_record",
|
|
601
|
+
FileTemporarilyUnavailable: "file_temporarily_unavailable",
|
|
602
|
+
NoCreditAccount: "no_credit_account",
|
|
603
|
+
ClosedAccount: "closed_account",
|
|
604
|
+
NoCheckingAccount: "no_checking_account",
|
|
605
|
+
NoSavingsAccount: "no_savings_account",
|
|
606
|
+
SuspectedFraud: "suspected_fraud",
|
|
607
|
+
TransactionDoesNotFulfillAmlRequirement: "transaction_does_not_fulfill_aml_requirement",
|
|
608
|
+
PinDataRequired: "pin_data_required",
|
|
609
|
+
UnableToLocatePreviousMessage: "unable_to_locate_previous_message",
|
|
610
|
+
PreviousMessageLocatedInconsistentData: "previous_message_located_inconsistent_data",
|
|
611
|
+
BlockedFirstUsed: "blocked_first_used",
|
|
612
|
+
TransactionReversed: "transaction_reversed",
|
|
613
|
+
CreditIssuerUnavailable: "credit_issuer_unavailable",
|
|
614
|
+
PinCryptographicErrorFound: "pin_cryptographic_error_found",
|
|
615
|
+
NegativeOnlineCamResult: "negative_online_cam_result",
|
|
616
|
+
ViolationOfLaw: "violation_of_law",
|
|
617
|
+
ForceStip: "force_stip",
|
|
618
|
+
CashServiceNotAvailable: "cash_service_not_available",
|
|
619
|
+
CashbackRequestExceedsIssuerLimit: "cashback_request_exceeds_issuer_limit",
|
|
620
|
+
DeclineForCvv2Failure: "decline_for_cvv2_failure",
|
|
621
|
+
TransactionAmountExceedsPreAuthorizedAmount: "transaction_amount_exceeds_pre_authorized_amount",
|
|
622
|
+
InvalidBillerInformation: "invalid_biller_information",
|
|
623
|
+
PinChangeUnblockRequestDeclined: "pin_change_unblock_request_declined",
|
|
624
|
+
UnsafePin: "unsafe_pin",
|
|
625
|
+
CardAuthenticationFailed: "card_authentication_failed",
|
|
626
|
+
StopPaymentOrder: "stop_payment_order",
|
|
627
|
+
RevocationOfAuthorization: "revocation_of_authorization",
|
|
628
|
+
RevocationOfAllAuthorizations: "revocation_of_all_authorizations",
|
|
629
|
+
ForwardToIssuerXa: "forward_to_issuer_xa",
|
|
630
|
+
ForwardToIssuerXd: "forward_to_issuer_xd",
|
|
631
|
+
UnableToGoOnline: "unable_to_go_online",
|
|
632
|
+
AdditionalCustomerAuthenticationRequired: "additional_customer_authentication_required",
|
|
633
|
+
MerchantIdNotFound: "merchant_id_not_found",
|
|
634
|
+
MerchantAccountClosed: "merchant_account_closed",
|
|
635
|
+
TerminalIdNotFound: "terminal_id_not_found",
|
|
636
|
+
TerminalClosed: "terminal_closed",
|
|
637
|
+
InvalidCategoryCode: "invalid_category_code",
|
|
638
|
+
InvalidCurrency: "invalid_currency",
|
|
639
|
+
MissingCvv2Cvc2: "missing_cvv2_cvc2",
|
|
640
|
+
Cvv2NotAllowed: "cvv2_not_allowed",
|
|
641
|
+
MerchantNotRegisteredVbv: "merchant_not_registered_vbv",
|
|
642
|
+
MerchantNotRegisteredForAmex: "merchant_not_registered_for_amex",
|
|
643
|
+
TransactionNotPermittedAtTerminal: "transaction_not_permitted_at_terminal",
|
|
644
|
+
AgreementTerminalNotRelated: "agreement_terminal_not_related",
|
|
645
|
+
InvalidProcessorId: "invalid_processor_id",
|
|
646
|
+
InvalidMerchantData: "invalid_merchant_data",
|
|
647
|
+
SubMerchantAccountClosed: "sub_merchant_account_closed",
|
|
648
|
+
TerminalBusy: "terminal_busy",
|
|
649
|
+
TerminalUnreachable: "terminal_unreachable",
|
|
650
|
+
ServiceFailed: "service_failed",
|
|
651
|
+
InvalidOperation: "invalid_operation",
|
|
652
|
+
AuthorizationError: "authorization_error",
|
|
653
|
+
LoginFailedWithoutReason: "login_failed_without_reason",
|
|
654
|
+
InvalidRetailer: "invalid_retailer",
|
|
655
|
+
CardDoesNotExist: "card_does_not_exist",
|
|
656
|
+
CardIsBlocked: "card_is_blocked",
|
|
657
|
+
InvalidCardId: "invalid_card_id",
|
|
658
|
+
CardIsTransferred: "card_is_transferred",
|
|
659
|
+
CardIsNotActive: "card_is_not_active",
|
|
660
|
+
IncorrectPurchaseValue: "incorrect_purchase_value",
|
|
661
|
+
CardNotAvailable: "card_not_available",
|
|
662
|
+
WrongCurrency: "wrong_currency",
|
|
663
|
+
LoginFailedUnknownUser: "login_failed_unknown_user",
|
|
664
|
+
LoginFailedInvalidPassword: "login_failed_invalid_password",
|
|
665
|
+
InvalidEanCode: "invalid_ean_code",
|
|
666
|
+
};
|
|
667
|
+
/**
|
|
668
|
+
* The card's target audience, if known.
|
|
669
|
+
*/
|
|
670
|
+
exports.CreatePaymentCardAudition = {
|
|
671
|
+
Consumer: "consumer",
|
|
672
|
+
Business: "business",
|
|
673
|
+
};
|
|
674
|
+
/**
|
|
675
|
+
* The card's label, if known.
|
|
676
|
+
*/
|
|
677
|
+
exports.CreatePaymentCardLabel = {
|
|
678
|
+
AmericanExpress: "American Express",
|
|
679
|
+
CartaSi: "Carta Si",
|
|
680
|
+
CarteBleue: "Carte Bleue",
|
|
681
|
+
Dankort: "Dankort",
|
|
682
|
+
DinersClub: "Diners Club",
|
|
683
|
+
Discover: "Discover",
|
|
684
|
+
Jcb: "JCB",
|
|
685
|
+
Laser: "Laser",
|
|
686
|
+
Maestro: "Maestro",
|
|
687
|
+
Mastercard: "Mastercard",
|
|
688
|
+
Unionpay: "Unionpay",
|
|
689
|
+
Visa: "Visa",
|
|
690
|
+
Vpay: "Vpay",
|
|
691
|
+
};
|
|
692
|
+
/**
|
|
693
|
+
* The card type.
|
|
694
|
+
*/
|
|
695
|
+
exports.CreatePaymentCardFunding = {
|
|
696
|
+
Debit: "debit",
|
|
697
|
+
Credit: "credit",
|
|
698
|
+
Prepaid: "prepaid",
|
|
699
|
+
DeferredDebit: "deferred-debit",
|
|
700
|
+
};
|
|
701
|
+
/**
|
|
702
|
+
* The level of security applied during card processing.
|
|
703
|
+
*/
|
|
704
|
+
exports.CreatePaymentCardSecurity = {
|
|
705
|
+
Normal: "normal",
|
|
706
|
+
Threedsecure: "3dsecure",
|
|
707
|
+
};
|
|
708
|
+
/**
|
|
709
|
+
* The applicable card fee region.
|
|
710
|
+
*/
|
|
711
|
+
exports.CreatePaymentFeeRegion = {
|
|
712
|
+
AmericanExpress: "american-express",
|
|
713
|
+
AmexIntraEea: "amex-intra-eea",
|
|
714
|
+
CarteBancaire: "carte-bancaire",
|
|
715
|
+
IntraEu: "intra-eu",
|
|
716
|
+
IntraEuCorporate: "intra-eu-corporate",
|
|
717
|
+
Domestic: "domestic",
|
|
718
|
+
Maestro: "maestro",
|
|
719
|
+
Other: "other",
|
|
720
|
+
Inter: "inter",
|
|
721
|
+
IntraEea: "intra-eea",
|
|
722
|
+
};
|
|
723
|
+
/**
|
|
724
|
+
* A failure code to help understand why the payment failed.
|
|
725
|
+
*/
|
|
726
|
+
exports.CreatePaymentFailureReason = {
|
|
727
|
+
AuthenticationAbandoned: "authentication_abandoned",
|
|
728
|
+
AuthenticationFailed: "authentication_failed",
|
|
729
|
+
AuthenticationRequired: "authentication_required",
|
|
730
|
+
AuthenticationUnavailableAcs: "authentication_unavailable_acs",
|
|
731
|
+
CardDeclined: "card_declined",
|
|
732
|
+
CardExpired: "card_expired",
|
|
733
|
+
InactiveCard: "inactive_card",
|
|
734
|
+
InsufficientFunds: "insufficient_funds",
|
|
735
|
+
InvalidCvv: "invalid_cvv",
|
|
736
|
+
InvalidCardHolderName: "invalid_card_holder_name",
|
|
737
|
+
InvalidCardNumber: "invalid_card_number",
|
|
738
|
+
InvalidCardType: "invalid_card_type",
|
|
739
|
+
PossibleFraud: "possible_fraud",
|
|
740
|
+
RefusedByIssuer: "refused_by_issuer",
|
|
741
|
+
UnknownReason: "unknown_reason",
|
|
742
|
+
};
|
|
743
|
+
/**
|
|
744
|
+
* The wallet used when creating the payment.
|
|
745
|
+
*/
|
|
746
|
+
exports.CreatePaymentWallet = {
|
|
747
|
+
Applepay: "applepay",
|
|
748
|
+
};
|
|
749
|
+
/**
|
|
750
|
+
* Indicates to what extent the payment is eligible for PayPal's Seller Protection. Only available for PayPal
|
|
751
|
+
*
|
|
752
|
+
* @remarks
|
|
753
|
+
* payments, and if the information is made available by PayPal.
|
|
754
|
+
*/
|
|
755
|
+
exports.CreatePaymentSellerProtection = {
|
|
756
|
+
Eligible: "Eligible",
|
|
757
|
+
Ineligible: "Ineligible",
|
|
758
|
+
PartiallyEligibleINROnly: "Partially Eligible - INR Only",
|
|
759
|
+
PartiallyEligibleUnauthOnly: "Partially Eligible - Unauth Only",
|
|
760
|
+
PartiallyEligible: "Partially Eligible",
|
|
761
|
+
None: "None",
|
|
762
|
+
Active: "Active",
|
|
763
|
+
FraudControlUnauthPremiumEligible: "Fraud Control - Unauth Premium Eligible",
|
|
764
|
+
};
|
|
765
|
+
/**
|
|
766
|
+
* The method by which the card was read by the terminal.
|
|
767
|
+
*/
|
|
768
|
+
exports.CreatePaymentCardReadMethod = {
|
|
769
|
+
Chip: "chip",
|
|
770
|
+
MagneticStripe: "magnetic-stripe",
|
|
771
|
+
NearFieldCommunication: "near-field-communication",
|
|
772
|
+
Contactless: "contactless",
|
|
773
|
+
Moto: "moto",
|
|
774
|
+
};
|
|
775
|
+
/**
|
|
776
|
+
* The method used to verify the cardholder's identity.
|
|
777
|
+
*/
|
|
778
|
+
exports.CreatePaymentCardVerificationMethod = {
|
|
779
|
+
NoCvmRequired: "no-cvm-required",
|
|
780
|
+
OnlinePin: "online-pin",
|
|
781
|
+
OfflinePin: "offline-pin",
|
|
782
|
+
ConsumerDevice: "consumer-device",
|
|
783
|
+
Signature: "signature",
|
|
784
|
+
SignatureAndOnlinePin: "signature-and-online-pin",
|
|
785
|
+
OnlinePinAndSignature: "online-pin-and-signature",
|
|
786
|
+
None: "none",
|
|
787
|
+
Failed: "failed",
|
|
788
|
+
};
|
|
528
789
|
/** @internal */
|
|
529
790
|
exports.CreatePaymentInclude$inboundSchema = z.nativeEnum(exports.CreatePaymentInclude);
|
|
530
791
|
/** @internal */
|
|
@@ -1259,6 +1520,35 @@ var CreatePaymentSequenceTypeRequest$;
|
|
|
1259
1520
|
CreatePaymentSequenceTypeRequest$.outboundSchema = exports.CreatePaymentSequenceTypeRequest$outboundSchema;
|
|
1260
1521
|
})(CreatePaymentSequenceTypeRequest$ || (exports.CreatePaymentSequenceTypeRequest$ = CreatePaymentSequenceTypeRequest$ = {}));
|
|
1261
1522
|
/** @internal */
|
|
1523
|
+
exports.CreatePaymentCompany$inboundSchema = z.object({
|
|
1524
|
+
registrationNumber: z.string().optional(),
|
|
1525
|
+
vatNumber: z.string().optional(),
|
|
1526
|
+
entityType: z.string().optional(),
|
|
1527
|
+
});
|
|
1528
|
+
/** @internal */
|
|
1529
|
+
exports.CreatePaymentCompany$outboundSchema = z.object({
|
|
1530
|
+
registrationNumber: z.string().optional(),
|
|
1531
|
+
vatNumber: z.string().optional(),
|
|
1532
|
+
entityType: z.string().optional(),
|
|
1533
|
+
});
|
|
1534
|
+
/**
|
|
1535
|
+
* @internal
|
|
1536
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1537
|
+
*/
|
|
1538
|
+
var CreatePaymentCompany$;
|
|
1539
|
+
(function (CreatePaymentCompany$) {
|
|
1540
|
+
/** @deprecated use `CreatePaymentCompany$inboundSchema` instead. */
|
|
1541
|
+
CreatePaymentCompany$.inboundSchema = exports.CreatePaymentCompany$inboundSchema;
|
|
1542
|
+
/** @deprecated use `CreatePaymentCompany$outboundSchema` instead. */
|
|
1543
|
+
CreatePaymentCompany$.outboundSchema = exports.CreatePaymentCompany$outboundSchema;
|
|
1544
|
+
})(CreatePaymentCompany$ || (exports.CreatePaymentCompany$ = CreatePaymentCompany$ = {}));
|
|
1545
|
+
function createPaymentCompanyToJSON(createPaymentCompany) {
|
|
1546
|
+
return JSON.stringify(exports.CreatePaymentCompany$outboundSchema.parse(createPaymentCompany));
|
|
1547
|
+
}
|
|
1548
|
+
function createPaymentCompanyFromJSON(jsonString) {
|
|
1549
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CreatePaymentCompany$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreatePaymentCompany' from JSON`);
|
|
1550
|
+
}
|
|
1551
|
+
/** @internal */
|
|
1262
1552
|
exports.CreatePaymentRequestBody$inboundSchema = z.object({
|
|
1263
1553
|
description: z.string(),
|
|
1264
1554
|
amount: z.lazy(() => exports.CreatePaymentAmountRequest$inboundSchema),
|
|
@@ -1286,6 +1576,17 @@ exports.CreatePaymentRequestBody$inboundSchema = z.object({
|
|
|
1286
1576
|
profileId: z.string().optional(),
|
|
1287
1577
|
dueDate: z.string().optional(),
|
|
1288
1578
|
testmode: z.nullable(z.boolean()).optional(),
|
|
1579
|
+
applePayPaymentToken: z.string().optional(),
|
|
1580
|
+
company: z.lazy(() => exports.CreatePaymentCompany$inboundSchema).optional(),
|
|
1581
|
+
cardToken: z.string().optional(),
|
|
1582
|
+
voucherNumber: z.string().optional(),
|
|
1583
|
+
voucherPin: z.string().optional(),
|
|
1584
|
+
consumerDateOfBirth: z.string().transform(v => new rfcdate_js_1.RFCDate(v)).optional(),
|
|
1585
|
+
extraMerchantData: z.record(z.any()).optional(),
|
|
1586
|
+
sessionId: z.string().optional(),
|
|
1587
|
+
digitalGoods: z.boolean().optional(),
|
|
1588
|
+
customerReference: z.string().optional(),
|
|
1589
|
+
terminalId: z.string().optional(),
|
|
1289
1590
|
});
|
|
1290
1591
|
/** @internal */
|
|
1291
1592
|
exports.CreatePaymentRequestBody$outboundSchema = z.object({
|
|
@@ -1314,6 +1615,18 @@ exports.CreatePaymentRequestBody$outboundSchema = z.object({
|
|
|
1314
1615
|
profileId: z.string().optional(),
|
|
1315
1616
|
dueDate: z.string().optional(),
|
|
1316
1617
|
testmode: z.nullable(z.boolean()).optional(),
|
|
1618
|
+
applePayPaymentToken: z.string().optional(),
|
|
1619
|
+
company: z.lazy(() => exports.CreatePaymentCompany$outboundSchema).optional(),
|
|
1620
|
+
cardToken: z.string().optional(),
|
|
1621
|
+
voucherNumber: z.string().optional(),
|
|
1622
|
+
voucherPin: z.string().optional(),
|
|
1623
|
+
consumerDateOfBirth: z.instanceof(rfcdate_js_1.RFCDate).transform(v => v.toString())
|
|
1624
|
+
.optional(),
|
|
1625
|
+
extraMerchantData: z.record(z.any()).optional(),
|
|
1626
|
+
sessionId: z.string().optional(),
|
|
1627
|
+
digitalGoods: z.boolean().optional(),
|
|
1628
|
+
customerReference: z.string().optional(),
|
|
1629
|
+
terminalId: z.string().optional(),
|
|
1317
1630
|
});
|
|
1318
1631
|
/**
|
|
1319
1632
|
* @internal
|
|
@@ -2362,28 +2675,43 @@ var CreatePaymentSequenceTypeResponse$;
|
|
|
2362
2675
|
CreatePaymentSequenceTypeResponse$.outboundSchema = exports.CreatePaymentSequenceTypeResponse$outboundSchema;
|
|
2363
2676
|
})(CreatePaymentSequenceTypeResponse$ || (exports.CreatePaymentSequenceTypeResponse$ = CreatePaymentSequenceTypeResponse$ = {}));
|
|
2364
2677
|
/** @internal */
|
|
2365
|
-
exports.
|
|
2678
|
+
exports.CreatePaymentStatusEnum$inboundSchema = z.nativeEnum(exports.CreatePaymentStatusEnum);
|
|
2679
|
+
/** @internal */
|
|
2680
|
+
exports.CreatePaymentStatusEnum$outboundSchema = exports.CreatePaymentStatusEnum$inboundSchema;
|
|
2681
|
+
/**
|
|
2682
|
+
* @internal
|
|
2683
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2684
|
+
*/
|
|
2685
|
+
var CreatePaymentStatusEnum$;
|
|
2686
|
+
(function (CreatePaymentStatusEnum$) {
|
|
2687
|
+
/** @deprecated use `CreatePaymentStatusEnum$inboundSchema` instead. */
|
|
2688
|
+
CreatePaymentStatusEnum$.inboundSchema = exports.CreatePaymentStatusEnum$inboundSchema;
|
|
2689
|
+
/** @deprecated use `CreatePaymentStatusEnum$outboundSchema` instead. */
|
|
2690
|
+
CreatePaymentStatusEnum$.outboundSchema = exports.CreatePaymentStatusEnum$outboundSchema;
|
|
2691
|
+
})(CreatePaymentStatusEnum$ || (exports.CreatePaymentStatusEnum$ = CreatePaymentStatusEnum$ = {}));
|
|
2692
|
+
/** @internal */
|
|
2693
|
+
exports.CreatePaymentCode$inboundSchema = z.nativeEnum(exports.CreatePaymentCode);
|
|
2366
2694
|
/** @internal */
|
|
2367
|
-
exports.
|
|
2695
|
+
exports.CreatePaymentCode$outboundSchema = exports.CreatePaymentCode$inboundSchema;
|
|
2368
2696
|
/**
|
|
2369
2697
|
* @internal
|
|
2370
2698
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2371
2699
|
*/
|
|
2372
|
-
var
|
|
2373
|
-
(function (
|
|
2374
|
-
/** @deprecated use `
|
|
2375
|
-
|
|
2376
|
-
/** @deprecated use `
|
|
2377
|
-
|
|
2378
|
-
})(
|
|
2700
|
+
var CreatePaymentCode$;
|
|
2701
|
+
(function (CreatePaymentCode$) {
|
|
2702
|
+
/** @deprecated use `CreatePaymentCode$inboundSchema` instead. */
|
|
2703
|
+
CreatePaymentCode$.inboundSchema = exports.CreatePaymentCode$inboundSchema;
|
|
2704
|
+
/** @deprecated use `CreatePaymentCode$outboundSchema` instead. */
|
|
2705
|
+
CreatePaymentCode$.outboundSchema = exports.CreatePaymentCode$outboundSchema;
|
|
2706
|
+
})(CreatePaymentCode$ || (exports.CreatePaymentCode$ = CreatePaymentCode$ = {}));
|
|
2379
2707
|
/** @internal */
|
|
2380
2708
|
exports.CreatePaymentStatusReason$inboundSchema = z.object({
|
|
2381
|
-
code:
|
|
2709
|
+
code: exports.CreatePaymentCode$inboundSchema,
|
|
2382
2710
|
message: z.string(),
|
|
2383
2711
|
});
|
|
2384
2712
|
/** @internal */
|
|
2385
2713
|
exports.CreatePaymentStatusReason$outboundSchema = z.object({
|
|
2386
|
-
code:
|
|
2714
|
+
code: exports.CreatePaymentCode$outboundSchema,
|
|
2387
2715
|
message: z.string(),
|
|
2388
2716
|
});
|
|
2389
2717
|
/**
|
|
@@ -2404,6 +2732,406 @@ function createPaymentStatusReasonFromJSON(jsonString) {
|
|
|
2404
2732
|
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CreatePaymentStatusReason$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreatePaymentStatusReason' from JSON`);
|
|
2405
2733
|
}
|
|
2406
2734
|
/** @internal */
|
|
2735
|
+
exports.CreatePaymentCardAudition$inboundSchema = z.nativeEnum(exports.CreatePaymentCardAudition);
|
|
2736
|
+
/** @internal */
|
|
2737
|
+
exports.CreatePaymentCardAudition$outboundSchema = exports.CreatePaymentCardAudition$inboundSchema;
|
|
2738
|
+
/**
|
|
2739
|
+
* @internal
|
|
2740
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2741
|
+
*/
|
|
2742
|
+
var CreatePaymentCardAudition$;
|
|
2743
|
+
(function (CreatePaymentCardAudition$) {
|
|
2744
|
+
/** @deprecated use `CreatePaymentCardAudition$inboundSchema` instead. */
|
|
2745
|
+
CreatePaymentCardAudition$.inboundSchema = exports.CreatePaymentCardAudition$inboundSchema;
|
|
2746
|
+
/** @deprecated use `CreatePaymentCardAudition$outboundSchema` instead. */
|
|
2747
|
+
CreatePaymentCardAudition$.outboundSchema = exports.CreatePaymentCardAudition$outboundSchema;
|
|
2748
|
+
})(CreatePaymentCardAudition$ || (exports.CreatePaymentCardAudition$ = CreatePaymentCardAudition$ = {}));
|
|
2749
|
+
/** @internal */
|
|
2750
|
+
exports.CreatePaymentCardLabel$inboundSchema = z.nativeEnum(exports.CreatePaymentCardLabel);
|
|
2751
|
+
/** @internal */
|
|
2752
|
+
exports.CreatePaymentCardLabel$outboundSchema = exports.CreatePaymentCardLabel$inboundSchema;
|
|
2753
|
+
/**
|
|
2754
|
+
* @internal
|
|
2755
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2756
|
+
*/
|
|
2757
|
+
var CreatePaymentCardLabel$;
|
|
2758
|
+
(function (CreatePaymentCardLabel$) {
|
|
2759
|
+
/** @deprecated use `CreatePaymentCardLabel$inboundSchema` instead. */
|
|
2760
|
+
CreatePaymentCardLabel$.inboundSchema = exports.CreatePaymentCardLabel$inboundSchema;
|
|
2761
|
+
/** @deprecated use `CreatePaymentCardLabel$outboundSchema` instead. */
|
|
2762
|
+
CreatePaymentCardLabel$.outboundSchema = exports.CreatePaymentCardLabel$outboundSchema;
|
|
2763
|
+
})(CreatePaymentCardLabel$ || (exports.CreatePaymentCardLabel$ = CreatePaymentCardLabel$ = {}));
|
|
2764
|
+
/** @internal */
|
|
2765
|
+
exports.CreatePaymentCardFunding$inboundSchema = z.nativeEnum(exports.CreatePaymentCardFunding);
|
|
2766
|
+
/** @internal */
|
|
2767
|
+
exports.CreatePaymentCardFunding$outboundSchema = exports.CreatePaymentCardFunding$inboundSchema;
|
|
2768
|
+
/**
|
|
2769
|
+
* @internal
|
|
2770
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2771
|
+
*/
|
|
2772
|
+
var CreatePaymentCardFunding$;
|
|
2773
|
+
(function (CreatePaymentCardFunding$) {
|
|
2774
|
+
/** @deprecated use `CreatePaymentCardFunding$inboundSchema` instead. */
|
|
2775
|
+
CreatePaymentCardFunding$.inboundSchema = exports.CreatePaymentCardFunding$inboundSchema;
|
|
2776
|
+
/** @deprecated use `CreatePaymentCardFunding$outboundSchema` instead. */
|
|
2777
|
+
CreatePaymentCardFunding$.outboundSchema = exports.CreatePaymentCardFunding$outboundSchema;
|
|
2778
|
+
})(CreatePaymentCardFunding$ || (exports.CreatePaymentCardFunding$ = CreatePaymentCardFunding$ = {}));
|
|
2779
|
+
/** @internal */
|
|
2780
|
+
exports.CreatePaymentCardSecurity$inboundSchema = z.nativeEnum(exports.CreatePaymentCardSecurity);
|
|
2781
|
+
/** @internal */
|
|
2782
|
+
exports.CreatePaymentCardSecurity$outboundSchema = exports.CreatePaymentCardSecurity$inboundSchema;
|
|
2783
|
+
/**
|
|
2784
|
+
* @internal
|
|
2785
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2786
|
+
*/
|
|
2787
|
+
var CreatePaymentCardSecurity$;
|
|
2788
|
+
(function (CreatePaymentCardSecurity$) {
|
|
2789
|
+
/** @deprecated use `CreatePaymentCardSecurity$inboundSchema` instead. */
|
|
2790
|
+
CreatePaymentCardSecurity$.inboundSchema = exports.CreatePaymentCardSecurity$inboundSchema;
|
|
2791
|
+
/** @deprecated use `CreatePaymentCardSecurity$outboundSchema` instead. */
|
|
2792
|
+
CreatePaymentCardSecurity$.outboundSchema = exports.CreatePaymentCardSecurity$outboundSchema;
|
|
2793
|
+
})(CreatePaymentCardSecurity$ || (exports.CreatePaymentCardSecurity$ = CreatePaymentCardSecurity$ = {}));
|
|
2794
|
+
/** @internal */
|
|
2795
|
+
exports.CreatePaymentFeeRegion$inboundSchema = z.nativeEnum(exports.CreatePaymentFeeRegion);
|
|
2796
|
+
/** @internal */
|
|
2797
|
+
exports.CreatePaymentFeeRegion$outboundSchema = exports.CreatePaymentFeeRegion$inboundSchema;
|
|
2798
|
+
/**
|
|
2799
|
+
* @internal
|
|
2800
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2801
|
+
*/
|
|
2802
|
+
var CreatePaymentFeeRegion$;
|
|
2803
|
+
(function (CreatePaymentFeeRegion$) {
|
|
2804
|
+
/** @deprecated use `CreatePaymentFeeRegion$inboundSchema` instead. */
|
|
2805
|
+
CreatePaymentFeeRegion$.inboundSchema = exports.CreatePaymentFeeRegion$inboundSchema;
|
|
2806
|
+
/** @deprecated use `CreatePaymentFeeRegion$outboundSchema` instead. */
|
|
2807
|
+
CreatePaymentFeeRegion$.outboundSchema = exports.CreatePaymentFeeRegion$outboundSchema;
|
|
2808
|
+
})(CreatePaymentFeeRegion$ || (exports.CreatePaymentFeeRegion$ = CreatePaymentFeeRegion$ = {}));
|
|
2809
|
+
/** @internal */
|
|
2810
|
+
exports.CreatePaymentFailureReason$inboundSchema = z.nativeEnum(exports.CreatePaymentFailureReason);
|
|
2811
|
+
/** @internal */
|
|
2812
|
+
exports.CreatePaymentFailureReason$outboundSchema = exports.CreatePaymentFailureReason$inboundSchema;
|
|
2813
|
+
/**
|
|
2814
|
+
* @internal
|
|
2815
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2816
|
+
*/
|
|
2817
|
+
var CreatePaymentFailureReason$;
|
|
2818
|
+
(function (CreatePaymentFailureReason$) {
|
|
2819
|
+
/** @deprecated use `CreatePaymentFailureReason$inboundSchema` instead. */
|
|
2820
|
+
CreatePaymentFailureReason$.inboundSchema = exports.CreatePaymentFailureReason$inboundSchema;
|
|
2821
|
+
/** @deprecated use `CreatePaymentFailureReason$outboundSchema` instead. */
|
|
2822
|
+
CreatePaymentFailureReason$.outboundSchema = exports.CreatePaymentFailureReason$outboundSchema;
|
|
2823
|
+
})(CreatePaymentFailureReason$ || (exports.CreatePaymentFailureReason$ = CreatePaymentFailureReason$ = {}));
|
|
2824
|
+
/** @internal */
|
|
2825
|
+
exports.CreatePaymentWallet$inboundSchema = z.nativeEnum(exports.CreatePaymentWallet);
|
|
2826
|
+
/** @internal */
|
|
2827
|
+
exports.CreatePaymentWallet$outboundSchema = exports.CreatePaymentWallet$inboundSchema;
|
|
2828
|
+
/**
|
|
2829
|
+
* @internal
|
|
2830
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2831
|
+
*/
|
|
2832
|
+
var CreatePaymentWallet$;
|
|
2833
|
+
(function (CreatePaymentWallet$) {
|
|
2834
|
+
/** @deprecated use `CreatePaymentWallet$inboundSchema` instead. */
|
|
2835
|
+
CreatePaymentWallet$.inboundSchema = exports.CreatePaymentWallet$inboundSchema;
|
|
2836
|
+
/** @deprecated use `CreatePaymentWallet$outboundSchema` instead. */
|
|
2837
|
+
CreatePaymentWallet$.outboundSchema = exports.CreatePaymentWallet$outboundSchema;
|
|
2838
|
+
})(CreatePaymentWallet$ || (exports.CreatePaymentWallet$ = CreatePaymentWallet$ = {}));
|
|
2839
|
+
/** @internal */
|
|
2840
|
+
exports.CreatePaymentSellerProtection$inboundSchema = z.nativeEnum(exports.CreatePaymentSellerProtection);
|
|
2841
|
+
/** @internal */
|
|
2842
|
+
exports.CreatePaymentSellerProtection$outboundSchema = exports.CreatePaymentSellerProtection$inboundSchema;
|
|
2843
|
+
/**
|
|
2844
|
+
* @internal
|
|
2845
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2846
|
+
*/
|
|
2847
|
+
var CreatePaymentSellerProtection$;
|
|
2848
|
+
(function (CreatePaymentSellerProtection$) {
|
|
2849
|
+
/** @deprecated use `CreatePaymentSellerProtection$inboundSchema` instead. */
|
|
2850
|
+
CreatePaymentSellerProtection$.inboundSchema = exports.CreatePaymentSellerProtection$inboundSchema;
|
|
2851
|
+
/** @deprecated use `CreatePaymentSellerProtection$outboundSchema` instead. */
|
|
2852
|
+
CreatePaymentSellerProtection$.outboundSchema = exports.CreatePaymentSellerProtection$outboundSchema;
|
|
2853
|
+
})(CreatePaymentSellerProtection$ || (exports.CreatePaymentSellerProtection$ = CreatePaymentSellerProtection$ = {}));
|
|
2854
|
+
/** @internal */
|
|
2855
|
+
exports.CreatePaymentPaypalFee$inboundSchema = z.object({
|
|
2856
|
+
currency: z.string(),
|
|
2857
|
+
value: z.string(),
|
|
2858
|
+
});
|
|
2859
|
+
/** @internal */
|
|
2860
|
+
exports.CreatePaymentPaypalFee$outboundSchema = z.object({
|
|
2861
|
+
currency: z.string(),
|
|
2862
|
+
value: z.string(),
|
|
2863
|
+
});
|
|
2864
|
+
/**
|
|
2865
|
+
* @internal
|
|
2866
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2867
|
+
*/
|
|
2868
|
+
var CreatePaymentPaypalFee$;
|
|
2869
|
+
(function (CreatePaymentPaypalFee$) {
|
|
2870
|
+
/** @deprecated use `CreatePaymentPaypalFee$inboundSchema` instead. */
|
|
2871
|
+
CreatePaymentPaypalFee$.inboundSchema = exports.CreatePaymentPaypalFee$inboundSchema;
|
|
2872
|
+
/** @deprecated use `CreatePaymentPaypalFee$outboundSchema` instead. */
|
|
2873
|
+
CreatePaymentPaypalFee$.outboundSchema = exports.CreatePaymentPaypalFee$outboundSchema;
|
|
2874
|
+
})(CreatePaymentPaypalFee$ || (exports.CreatePaymentPaypalFee$ = CreatePaymentPaypalFee$ = {}));
|
|
2875
|
+
function createPaymentPaypalFeeToJSON(createPaymentPaypalFee) {
|
|
2876
|
+
return JSON.stringify(exports.CreatePaymentPaypalFee$outboundSchema.parse(createPaymentPaypalFee));
|
|
2877
|
+
}
|
|
2878
|
+
function createPaymentPaypalFeeFromJSON(jsonString) {
|
|
2879
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CreatePaymentPaypalFee$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreatePaymentPaypalFee' from JSON`);
|
|
2880
|
+
}
|
|
2881
|
+
/** @internal */
|
|
2882
|
+
exports.CreatePaymentCardReadMethod$inboundSchema = z.nativeEnum(exports.CreatePaymentCardReadMethod);
|
|
2883
|
+
/** @internal */
|
|
2884
|
+
exports.CreatePaymentCardReadMethod$outboundSchema = exports.CreatePaymentCardReadMethod$inboundSchema;
|
|
2885
|
+
/**
|
|
2886
|
+
* @internal
|
|
2887
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2888
|
+
*/
|
|
2889
|
+
var CreatePaymentCardReadMethod$;
|
|
2890
|
+
(function (CreatePaymentCardReadMethod$) {
|
|
2891
|
+
/** @deprecated use `CreatePaymentCardReadMethod$inboundSchema` instead. */
|
|
2892
|
+
CreatePaymentCardReadMethod$.inboundSchema = exports.CreatePaymentCardReadMethod$inboundSchema;
|
|
2893
|
+
/** @deprecated use `CreatePaymentCardReadMethod$outboundSchema` instead. */
|
|
2894
|
+
CreatePaymentCardReadMethod$.outboundSchema = exports.CreatePaymentCardReadMethod$outboundSchema;
|
|
2895
|
+
})(CreatePaymentCardReadMethod$ || (exports.CreatePaymentCardReadMethod$ = CreatePaymentCardReadMethod$ = {}));
|
|
2896
|
+
/** @internal */
|
|
2897
|
+
exports.CreatePaymentCardVerificationMethod$inboundSchema = z.nativeEnum(exports.CreatePaymentCardVerificationMethod);
|
|
2898
|
+
/** @internal */
|
|
2899
|
+
exports.CreatePaymentCardVerificationMethod$outboundSchema = exports.CreatePaymentCardVerificationMethod$inboundSchema;
|
|
2900
|
+
/**
|
|
2901
|
+
* @internal
|
|
2902
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2903
|
+
*/
|
|
2904
|
+
var CreatePaymentCardVerificationMethod$;
|
|
2905
|
+
(function (CreatePaymentCardVerificationMethod$) {
|
|
2906
|
+
/** @deprecated use `CreatePaymentCardVerificationMethod$inboundSchema` instead. */
|
|
2907
|
+
CreatePaymentCardVerificationMethod$.inboundSchema = exports.CreatePaymentCardVerificationMethod$inboundSchema;
|
|
2908
|
+
/** @deprecated use `CreatePaymentCardVerificationMethod$outboundSchema` instead. */
|
|
2909
|
+
CreatePaymentCardVerificationMethod$.outboundSchema = exports.CreatePaymentCardVerificationMethod$outboundSchema;
|
|
2910
|
+
})(CreatePaymentCardVerificationMethod$ || (exports.CreatePaymentCardVerificationMethod$ = CreatePaymentCardVerificationMethod$ = {}));
|
|
2911
|
+
/** @internal */
|
|
2912
|
+
exports.CreatePaymentReceipt$inboundSchema = z.object({
|
|
2913
|
+
authorizationCode: z.nullable(z.string()).optional(),
|
|
2914
|
+
applicationIdentifier: z.nullable(z.string()).optional(),
|
|
2915
|
+
cardReadMethod: z.nullable(exports.CreatePaymentCardReadMethod$inboundSchema)
|
|
2916
|
+
.optional(),
|
|
2917
|
+
cardVerificationMethod: z.nullable(exports.CreatePaymentCardVerificationMethod$inboundSchema).optional(),
|
|
2918
|
+
});
|
|
2919
|
+
/** @internal */
|
|
2920
|
+
exports.CreatePaymentReceipt$outboundSchema = z.object({
|
|
2921
|
+
authorizationCode: z.nullable(z.string()).optional(),
|
|
2922
|
+
applicationIdentifier: z.nullable(z.string()).optional(),
|
|
2923
|
+
cardReadMethod: z.nullable(exports.CreatePaymentCardReadMethod$outboundSchema)
|
|
2924
|
+
.optional(),
|
|
2925
|
+
cardVerificationMethod: z.nullable(exports.CreatePaymentCardVerificationMethod$outboundSchema).optional(),
|
|
2926
|
+
});
|
|
2927
|
+
/**
|
|
2928
|
+
* @internal
|
|
2929
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2930
|
+
*/
|
|
2931
|
+
var CreatePaymentReceipt$;
|
|
2932
|
+
(function (CreatePaymentReceipt$) {
|
|
2933
|
+
/** @deprecated use `CreatePaymentReceipt$inboundSchema` instead. */
|
|
2934
|
+
CreatePaymentReceipt$.inboundSchema = exports.CreatePaymentReceipt$inboundSchema;
|
|
2935
|
+
/** @deprecated use `CreatePaymentReceipt$outboundSchema` instead. */
|
|
2936
|
+
CreatePaymentReceipt$.outboundSchema = exports.CreatePaymentReceipt$outboundSchema;
|
|
2937
|
+
})(CreatePaymentReceipt$ || (exports.CreatePaymentReceipt$ = CreatePaymentReceipt$ = {}));
|
|
2938
|
+
function createPaymentReceiptToJSON(createPaymentReceipt) {
|
|
2939
|
+
return JSON.stringify(exports.CreatePaymentReceipt$outboundSchema.parse(createPaymentReceipt));
|
|
2940
|
+
}
|
|
2941
|
+
function createPaymentReceiptFromJSON(jsonString) {
|
|
2942
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CreatePaymentReceipt$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreatePaymentReceipt' from JSON`);
|
|
2943
|
+
}
|
|
2944
|
+
/** @internal */
|
|
2945
|
+
exports.CreatePaymentQrCode$inboundSchema = z.object({
|
|
2946
|
+
height: z.number().int().optional(),
|
|
2947
|
+
width: z.number().int().optional(),
|
|
2948
|
+
src: z.string().optional(),
|
|
2949
|
+
});
|
|
2950
|
+
/** @internal */
|
|
2951
|
+
exports.CreatePaymentQrCode$outboundSchema = z.object({
|
|
2952
|
+
height: z.number().int().optional(),
|
|
2953
|
+
width: z.number().int().optional(),
|
|
2954
|
+
src: z.string().optional(),
|
|
2955
|
+
});
|
|
2956
|
+
/**
|
|
2957
|
+
* @internal
|
|
2958
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2959
|
+
*/
|
|
2960
|
+
var CreatePaymentQrCode$;
|
|
2961
|
+
(function (CreatePaymentQrCode$) {
|
|
2962
|
+
/** @deprecated use `CreatePaymentQrCode$inboundSchema` instead. */
|
|
2963
|
+
CreatePaymentQrCode$.inboundSchema = exports.CreatePaymentQrCode$inboundSchema;
|
|
2964
|
+
/** @deprecated use `CreatePaymentQrCode$outboundSchema` instead. */
|
|
2965
|
+
CreatePaymentQrCode$.outboundSchema = exports.CreatePaymentQrCode$outboundSchema;
|
|
2966
|
+
})(CreatePaymentQrCode$ || (exports.CreatePaymentQrCode$ = CreatePaymentQrCode$ = {}));
|
|
2967
|
+
function createPaymentQrCodeToJSON(createPaymentQrCode) {
|
|
2968
|
+
return JSON.stringify(exports.CreatePaymentQrCode$outboundSchema.parse(createPaymentQrCode));
|
|
2969
|
+
}
|
|
2970
|
+
function createPaymentQrCodeFromJSON(jsonString) {
|
|
2971
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CreatePaymentQrCode$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreatePaymentQrCode' from JSON`);
|
|
2972
|
+
}
|
|
2973
|
+
/** @internal */
|
|
2974
|
+
exports.CreatePaymentRemainderAmount$inboundSchema = z.object({
|
|
2975
|
+
currency: z.string(),
|
|
2976
|
+
value: z.string(),
|
|
2977
|
+
});
|
|
2978
|
+
/** @internal */
|
|
2979
|
+
exports.CreatePaymentRemainderAmount$outboundSchema = z.object({
|
|
2980
|
+
currency: z.string(),
|
|
2981
|
+
value: z.string(),
|
|
2982
|
+
});
|
|
2983
|
+
/**
|
|
2984
|
+
* @internal
|
|
2985
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2986
|
+
*/
|
|
2987
|
+
var CreatePaymentRemainderAmount$;
|
|
2988
|
+
(function (CreatePaymentRemainderAmount$) {
|
|
2989
|
+
/** @deprecated use `CreatePaymentRemainderAmount$inboundSchema` instead. */
|
|
2990
|
+
CreatePaymentRemainderAmount$.inboundSchema = exports.CreatePaymentRemainderAmount$inboundSchema;
|
|
2991
|
+
/** @deprecated use `CreatePaymentRemainderAmount$outboundSchema` instead. */
|
|
2992
|
+
CreatePaymentRemainderAmount$.outboundSchema = exports.CreatePaymentRemainderAmount$outboundSchema;
|
|
2993
|
+
})(CreatePaymentRemainderAmount$ || (exports.CreatePaymentRemainderAmount$ = CreatePaymentRemainderAmount$ = {}));
|
|
2994
|
+
function createPaymentRemainderAmountToJSON(createPaymentRemainderAmount) {
|
|
2995
|
+
return JSON.stringify(exports.CreatePaymentRemainderAmount$outboundSchema.parse(createPaymentRemainderAmount));
|
|
2996
|
+
}
|
|
2997
|
+
function createPaymentRemainderAmountFromJSON(jsonString) {
|
|
2998
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CreatePaymentRemainderAmount$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreatePaymentRemainderAmount' from JSON`);
|
|
2999
|
+
}
|
|
3000
|
+
/** @internal */
|
|
3001
|
+
exports.CreatePaymentDetails$inboundSchema = z.object({
|
|
3002
|
+
consumerName: z.nullable(z.string()).optional(),
|
|
3003
|
+
consumerAccount: z.nullable(z.string()).optional(),
|
|
3004
|
+
consumerBic: z.nullable(z.string()).optional(),
|
|
3005
|
+
shippingAddress: z.nullable(z.record(z.any())).optional(),
|
|
3006
|
+
cardNumber: z.nullable(z.string()).optional(),
|
|
3007
|
+
bankName: z.string().optional(),
|
|
3008
|
+
bankAccount: z.string().optional(),
|
|
3009
|
+
bankBic: z.string().optional(),
|
|
3010
|
+
transferReference: z.nullable(z.string()).optional(),
|
|
3011
|
+
cardFingerprint: z.nullable(z.string()).optional(),
|
|
3012
|
+
cardHolder: z.nullable(z.string()).optional(),
|
|
3013
|
+
cardAudition: z.nullable(exports.CreatePaymentCardAudition$inboundSchema).optional(),
|
|
3014
|
+
cardLabel: z.nullable(exports.CreatePaymentCardLabel$inboundSchema).optional(),
|
|
3015
|
+
cardCountryCode: z.nullable(z.string()).optional(),
|
|
3016
|
+
cardExpiryDate: z.nullable(z.string()).optional(),
|
|
3017
|
+
cardFunding: z.nullable(exports.CreatePaymentCardFunding$inboundSchema).optional(),
|
|
3018
|
+
cardSecurity: z.nullable(exports.CreatePaymentCardSecurity$inboundSchema).optional(),
|
|
3019
|
+
feeRegion: z.nullable(exports.CreatePaymentFeeRegion$inboundSchema).optional(),
|
|
3020
|
+
cardMaskedNumber: z.nullable(z.string()).optional(),
|
|
3021
|
+
card3dsEci: z.nullable(z.string()).optional(),
|
|
3022
|
+
cardBin: z.nullable(z.string()).optional(),
|
|
3023
|
+
cardIssuer: z.nullable(z.string()).optional(),
|
|
3024
|
+
failureReason: z.nullable(exports.CreatePaymentFailureReason$inboundSchema)
|
|
3025
|
+
.optional(),
|
|
3026
|
+
failureMessage: z.nullable(z.string()).optional(),
|
|
3027
|
+
wallet: z.nullable(exports.CreatePaymentWallet$inboundSchema).optional(),
|
|
3028
|
+
paypalReference: z.nullable(z.string()).optional(),
|
|
3029
|
+
paypalPayerId: z.nullable(z.string()).optional(),
|
|
3030
|
+
sellerProtection: z.nullable(exports.CreatePaymentSellerProtection$inboundSchema)
|
|
3031
|
+
.optional(),
|
|
3032
|
+
paypalFee: z.nullable(z.lazy(() => exports.CreatePaymentPaypalFee$inboundSchema))
|
|
3033
|
+
.optional(),
|
|
3034
|
+
customerReference: z.string().optional(),
|
|
3035
|
+
terminalId: z.string().optional(),
|
|
3036
|
+
maskedNumber: z.nullable(z.string()).optional(),
|
|
3037
|
+
receipt: z.lazy(() => exports.CreatePaymentReceipt$inboundSchema).optional(),
|
|
3038
|
+
creditorIdentifier: z.nullable(z.string()).optional(),
|
|
3039
|
+
dueDate: z.nullable(z.string().transform(v => new rfcdate_js_1.RFCDate(v))).optional(),
|
|
3040
|
+
signatureDate: z.nullable(z.string().transform(v => new rfcdate_js_1.RFCDate(v)))
|
|
3041
|
+
.optional(),
|
|
3042
|
+
bankReasonCode: z.nullable(z.string()).optional(),
|
|
3043
|
+
bankReason: z.nullable(z.string()).optional(),
|
|
3044
|
+
endToEndIdentifier: z.nullable(z.string()).optional(),
|
|
3045
|
+
mandateReference: z.nullable(z.string()).optional(),
|
|
3046
|
+
batchReference: z.nullable(z.string()).optional(),
|
|
3047
|
+
fileReference: z.nullable(z.string()).optional(),
|
|
3048
|
+
qrCode: z.lazy(() => exports.CreatePaymentQrCode$inboundSchema).optional(),
|
|
3049
|
+
voucherNumber: z.string().optional(),
|
|
3050
|
+
giftcards: z.array(z.record(z.any())).optional(),
|
|
3051
|
+
issuer: z.string().optional(),
|
|
3052
|
+
vouchers: z.array(z.record(z.any())).optional(),
|
|
3053
|
+
remainderAmount: z.lazy(() => exports.CreatePaymentRemainderAmount$inboundSchema)
|
|
3054
|
+
.optional(),
|
|
3055
|
+
remainderMethod: z.string().optional(),
|
|
3056
|
+
remainderDetails: z.record(z.any()).optional(),
|
|
3057
|
+
});
|
|
3058
|
+
/** @internal */
|
|
3059
|
+
exports.CreatePaymentDetails$outboundSchema = z.object({
|
|
3060
|
+
consumerName: z.nullable(z.string()).optional(),
|
|
3061
|
+
consumerAccount: z.nullable(z.string()).optional(),
|
|
3062
|
+
consumerBic: z.nullable(z.string()).optional(),
|
|
3063
|
+
shippingAddress: z.nullable(z.record(z.any())).optional(),
|
|
3064
|
+
cardNumber: z.nullable(z.string()).optional(),
|
|
3065
|
+
bankName: z.string().optional(),
|
|
3066
|
+
bankAccount: z.string().optional(),
|
|
3067
|
+
bankBic: z.string().optional(),
|
|
3068
|
+
transferReference: z.nullable(z.string()).optional(),
|
|
3069
|
+
cardFingerprint: z.nullable(z.string()).optional(),
|
|
3070
|
+
cardHolder: z.nullable(z.string()).optional(),
|
|
3071
|
+
cardAudition: z.nullable(exports.CreatePaymentCardAudition$outboundSchema).optional(),
|
|
3072
|
+
cardLabel: z.nullable(exports.CreatePaymentCardLabel$outboundSchema).optional(),
|
|
3073
|
+
cardCountryCode: z.nullable(z.string()).optional(),
|
|
3074
|
+
cardExpiryDate: z.nullable(z.string()).optional(),
|
|
3075
|
+
cardFunding: z.nullable(exports.CreatePaymentCardFunding$outboundSchema).optional(),
|
|
3076
|
+
cardSecurity: z.nullable(exports.CreatePaymentCardSecurity$outboundSchema).optional(),
|
|
3077
|
+
feeRegion: z.nullable(exports.CreatePaymentFeeRegion$outboundSchema).optional(),
|
|
3078
|
+
cardMaskedNumber: z.nullable(z.string()).optional(),
|
|
3079
|
+
card3dsEci: z.nullable(z.string()).optional(),
|
|
3080
|
+
cardBin: z.nullable(z.string()).optional(),
|
|
3081
|
+
cardIssuer: z.nullable(z.string()).optional(),
|
|
3082
|
+
failureReason: z.nullable(exports.CreatePaymentFailureReason$outboundSchema)
|
|
3083
|
+
.optional(),
|
|
3084
|
+
failureMessage: z.nullable(z.string()).optional(),
|
|
3085
|
+
wallet: z.nullable(exports.CreatePaymentWallet$outboundSchema).optional(),
|
|
3086
|
+
paypalReference: z.nullable(z.string()).optional(),
|
|
3087
|
+
paypalPayerId: z.nullable(z.string()).optional(),
|
|
3088
|
+
sellerProtection: z.nullable(exports.CreatePaymentSellerProtection$outboundSchema)
|
|
3089
|
+
.optional(),
|
|
3090
|
+
paypalFee: z.nullable(z.lazy(() => exports.CreatePaymentPaypalFee$outboundSchema))
|
|
3091
|
+
.optional(),
|
|
3092
|
+
customerReference: z.string().optional(),
|
|
3093
|
+
terminalId: z.string().optional(),
|
|
3094
|
+
maskedNumber: z.nullable(z.string()).optional(),
|
|
3095
|
+
receipt: z.lazy(() => exports.CreatePaymentReceipt$outboundSchema).optional(),
|
|
3096
|
+
creditorIdentifier: z.nullable(z.string()).optional(),
|
|
3097
|
+
dueDate: z.nullable(z.instanceof(rfcdate_js_1.RFCDate).transform(v => v.toString()))
|
|
3098
|
+
.optional(),
|
|
3099
|
+
signatureDate: z.nullable(z.instanceof(rfcdate_js_1.RFCDate).transform(v => v.toString()))
|
|
3100
|
+
.optional(),
|
|
3101
|
+
bankReasonCode: z.nullable(z.string()).optional(),
|
|
3102
|
+
bankReason: z.nullable(z.string()).optional(),
|
|
3103
|
+
endToEndIdentifier: z.nullable(z.string()).optional(),
|
|
3104
|
+
mandateReference: z.nullable(z.string()).optional(),
|
|
3105
|
+
batchReference: z.nullable(z.string()).optional(),
|
|
3106
|
+
fileReference: z.nullable(z.string()).optional(),
|
|
3107
|
+
qrCode: z.lazy(() => exports.CreatePaymentQrCode$outboundSchema).optional(),
|
|
3108
|
+
voucherNumber: z.string().optional(),
|
|
3109
|
+
giftcards: z.array(z.record(z.any())).optional(),
|
|
3110
|
+
issuer: z.string().optional(),
|
|
3111
|
+
vouchers: z.array(z.record(z.any())).optional(),
|
|
3112
|
+
remainderAmount: z.lazy(() => exports.CreatePaymentRemainderAmount$outboundSchema)
|
|
3113
|
+
.optional(),
|
|
3114
|
+
remainderMethod: z.string().optional(),
|
|
3115
|
+
remainderDetails: z.record(z.any()).optional(),
|
|
3116
|
+
});
|
|
3117
|
+
/**
|
|
3118
|
+
* @internal
|
|
3119
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3120
|
+
*/
|
|
3121
|
+
var CreatePaymentDetails$;
|
|
3122
|
+
(function (CreatePaymentDetails$) {
|
|
3123
|
+
/** @deprecated use `CreatePaymentDetails$inboundSchema` instead. */
|
|
3124
|
+
CreatePaymentDetails$.inboundSchema = exports.CreatePaymentDetails$inboundSchema;
|
|
3125
|
+
/** @deprecated use `CreatePaymentDetails$outboundSchema` instead. */
|
|
3126
|
+
CreatePaymentDetails$.outboundSchema = exports.CreatePaymentDetails$outboundSchema;
|
|
3127
|
+
})(CreatePaymentDetails$ || (exports.CreatePaymentDetails$ = CreatePaymentDetails$ = {}));
|
|
3128
|
+
function createPaymentDetailsToJSON(createPaymentDetails) {
|
|
3129
|
+
return JSON.stringify(exports.CreatePaymentDetails$outboundSchema.parse(createPaymentDetails));
|
|
3130
|
+
}
|
|
3131
|
+
function createPaymentDetailsFromJSON(jsonString) {
|
|
3132
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CreatePaymentDetails$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreatePaymentDetails' from JSON`);
|
|
3133
|
+
}
|
|
3134
|
+
/** @internal */
|
|
2407
3135
|
exports.CreatePaymentSelfResponse$inboundSchema = z.object({
|
|
2408
3136
|
href: z.string(),
|
|
2409
3137
|
type: z.string(),
|
|
@@ -2809,6 +3537,60 @@ function createPaymentDocumentationFromJSON(jsonString) {
|
|
|
2809
3537
|
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CreatePaymentDocumentation$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreatePaymentDocumentation' from JSON`);
|
|
2810
3538
|
}
|
|
2811
3539
|
/** @internal */
|
|
3540
|
+
exports.CreatePaymentLinksStatus$inboundSchema = z.object({
|
|
3541
|
+
href: z.string(),
|
|
3542
|
+
type: z.string(),
|
|
3543
|
+
});
|
|
3544
|
+
/** @internal */
|
|
3545
|
+
exports.CreatePaymentLinksStatus$outboundSchema = z.object({
|
|
3546
|
+
href: z.string(),
|
|
3547
|
+
type: z.string(),
|
|
3548
|
+
});
|
|
3549
|
+
/**
|
|
3550
|
+
* @internal
|
|
3551
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3552
|
+
*/
|
|
3553
|
+
var CreatePaymentLinksStatus$;
|
|
3554
|
+
(function (CreatePaymentLinksStatus$) {
|
|
3555
|
+
/** @deprecated use `CreatePaymentLinksStatus$inboundSchema` instead. */
|
|
3556
|
+
CreatePaymentLinksStatus$.inboundSchema = exports.CreatePaymentLinksStatus$inboundSchema;
|
|
3557
|
+
/** @deprecated use `CreatePaymentLinksStatus$outboundSchema` instead. */
|
|
3558
|
+
CreatePaymentLinksStatus$.outboundSchema = exports.CreatePaymentLinksStatus$outboundSchema;
|
|
3559
|
+
})(CreatePaymentLinksStatus$ || (exports.CreatePaymentLinksStatus$ = CreatePaymentLinksStatus$ = {}));
|
|
3560
|
+
function createPaymentLinksStatusToJSON(createPaymentLinksStatus) {
|
|
3561
|
+
return JSON.stringify(exports.CreatePaymentLinksStatus$outboundSchema.parse(createPaymentLinksStatus));
|
|
3562
|
+
}
|
|
3563
|
+
function createPaymentLinksStatusFromJSON(jsonString) {
|
|
3564
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CreatePaymentLinksStatus$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreatePaymentLinksStatus' from JSON`);
|
|
3565
|
+
}
|
|
3566
|
+
/** @internal */
|
|
3567
|
+
exports.CreatePaymentPayOnline$inboundSchema = z.object({
|
|
3568
|
+
href: z.string(),
|
|
3569
|
+
type: z.string(),
|
|
3570
|
+
});
|
|
3571
|
+
/** @internal */
|
|
3572
|
+
exports.CreatePaymentPayOnline$outboundSchema = z.object({
|
|
3573
|
+
href: z.string(),
|
|
3574
|
+
type: z.string(),
|
|
3575
|
+
});
|
|
3576
|
+
/**
|
|
3577
|
+
* @internal
|
|
3578
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3579
|
+
*/
|
|
3580
|
+
var CreatePaymentPayOnline$;
|
|
3581
|
+
(function (CreatePaymentPayOnline$) {
|
|
3582
|
+
/** @deprecated use `CreatePaymentPayOnline$inboundSchema` instead. */
|
|
3583
|
+
CreatePaymentPayOnline$.inboundSchema = exports.CreatePaymentPayOnline$inboundSchema;
|
|
3584
|
+
/** @deprecated use `CreatePaymentPayOnline$outboundSchema` instead. */
|
|
3585
|
+
CreatePaymentPayOnline$.outboundSchema = exports.CreatePaymentPayOnline$outboundSchema;
|
|
3586
|
+
})(CreatePaymentPayOnline$ || (exports.CreatePaymentPayOnline$ = CreatePaymentPayOnline$ = {}));
|
|
3587
|
+
function createPaymentPayOnlineToJSON(createPaymentPayOnline) {
|
|
3588
|
+
return JSON.stringify(exports.CreatePaymentPayOnline$outboundSchema.parse(createPaymentPayOnline));
|
|
3589
|
+
}
|
|
3590
|
+
function createPaymentPayOnlineFromJSON(jsonString) {
|
|
3591
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CreatePaymentPayOnline$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreatePaymentPayOnline' from JSON`);
|
|
3592
|
+
}
|
|
3593
|
+
/** @internal */
|
|
2812
3594
|
exports.CreatePaymentLinksResponse$inboundSchema = z.object({
|
|
2813
3595
|
self: z.lazy(() => exports.CreatePaymentSelfResponse$inboundSchema),
|
|
2814
3596
|
checkout: z.lazy(() => exports.CreatePaymentCheckout$inboundSchema).optional(),
|
|
@@ -2828,6 +3610,8 @@ exports.CreatePaymentLinksResponse$inboundSchema = z.object({
|
|
|
2828
3610
|
terminal: z.lazy(() => exports.CreatePaymentTerminal$inboundSchema).optional(),
|
|
2829
3611
|
documentation: z.lazy(() => exports.CreatePaymentDocumentation$inboundSchema)
|
|
2830
3612
|
.optional(),
|
|
3613
|
+
status: z.lazy(() => exports.CreatePaymentLinksStatus$inboundSchema).optional(),
|
|
3614
|
+
payOnline: z.lazy(() => exports.CreatePaymentPayOnline$inboundSchema).optional(),
|
|
2831
3615
|
});
|
|
2832
3616
|
/** @internal */
|
|
2833
3617
|
exports.CreatePaymentLinksResponse$outboundSchema = z.object({
|
|
@@ -2849,6 +3633,8 @@ exports.CreatePaymentLinksResponse$outboundSchema = z.object({
|
|
|
2849
3633
|
terminal: z.lazy(() => exports.CreatePaymentTerminal$outboundSchema).optional(),
|
|
2850
3634
|
documentation: z.lazy(() => exports.CreatePaymentDocumentation$outboundSchema)
|
|
2851
3635
|
.optional(),
|
|
3636
|
+
status: z.lazy(() => exports.CreatePaymentLinksStatus$outboundSchema).optional(),
|
|
3637
|
+
payOnline: z.lazy(() => exports.CreatePaymentPayOnline$outboundSchema).optional(),
|
|
2852
3638
|
});
|
|
2853
3639
|
/**
|
|
2854
3640
|
* @internal
|
|
@@ -2908,10 +3694,11 @@ exports.CreatePaymentResponse$inboundSchema = z.object({
|
|
|
2908
3694
|
profileId: z.string(),
|
|
2909
3695
|
settlementId: z.nullable(z.string()).optional(),
|
|
2910
3696
|
orderId: z.nullable(z.string()).optional(),
|
|
2911
|
-
status: exports.
|
|
3697
|
+
status: exports.CreatePaymentStatusEnum$inboundSchema,
|
|
2912
3698
|
statusReason: z.nullable(z.lazy(() => exports.CreatePaymentStatusReason$inboundSchema)).optional(),
|
|
2913
3699
|
isCancelable: z.nullable(z.boolean()).optional(),
|
|
2914
|
-
details: z.nullable(z.
|
|
3700
|
+
details: z.nullable(z.lazy(() => exports.CreatePaymentDetails$inboundSchema))
|
|
3701
|
+
.optional(),
|
|
2915
3702
|
createdAt: z.string(),
|
|
2916
3703
|
authorizedAt: z.nullable(z.string()).optional(),
|
|
2917
3704
|
paidAt: z.nullable(z.string()).optional(),
|
|
@@ -2966,10 +3753,11 @@ exports.CreatePaymentResponse$outboundSchema = z.object({
|
|
|
2966
3753
|
profileId: z.string(),
|
|
2967
3754
|
settlementId: z.nullable(z.string()).optional(),
|
|
2968
3755
|
orderId: z.nullable(z.string()).optional(),
|
|
2969
|
-
status: exports.
|
|
3756
|
+
status: exports.CreatePaymentStatusEnum$outboundSchema,
|
|
2970
3757
|
statusReason: z.nullable(z.lazy(() => exports.CreatePaymentStatusReason$outboundSchema)).optional(),
|
|
2971
3758
|
isCancelable: z.nullable(z.boolean()).optional(),
|
|
2972
|
-
details: z.nullable(z.
|
|
3759
|
+
details: z.nullable(z.lazy(() => exports.CreatePaymentDetails$outboundSchema))
|
|
3760
|
+
.optional(),
|
|
2973
3761
|
createdAt: z.string(),
|
|
2974
3762
|
authorizedAt: z.nullable(z.string()).optional(),
|
|
2975
3763
|
paidAt: z.nullable(z.string()).optional(),
|