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.CreateCustomerPaymentCategoryRequest$outboundSchema = exports.CreateCustomerPaymentCategoryRequest$inboundSchema = exports.CreateCustomerPaymentVatAmountRequest$ = exports.CreateCustomerPaymentVatAmountRequest$outboundSchema = exports.CreateCustomerPaymentVatAmountRequest$inboundSchema = exports.CreateCustomerPaymentTotalAmountRequest$ = exports.CreateCustomerPaymentTotalAmountRequest$outboundSchema = exports.CreateCustomerPaymentTotalAmountRequest$inboundSchema = exports.CreateCustomerPaymentDiscountAmountRequest$ = exports.CreateCustomerPaymentDiscountAmountRequest$outboundSchema = exports.CreateCustomerPaymentDiscountAmountRequest$inboundSchema = exports.CreateCustomerPaymentUnitPriceRequest$ = exports.CreateCustomerPaymentUnitPriceRequest$outboundSchema = exports.CreateCustomerPaymentUnitPriceRequest$inboundSchema = exports.CreateCustomerPaymentLineTypeRequest$ = exports.CreateCustomerPaymentLineTypeRequest$outboundSchema = exports.CreateCustomerPaymentLineTypeRequest$inboundSchema = exports.CreateCustomerPaymentAmountRequest$ = exports.CreateCustomerPaymentAmountRequest$outboundSchema = exports.CreateCustomerPaymentAmountRequest$inboundSchema = exports.CreateCustomerPaymentCardVerificationMethod = exports.CreateCustomerPaymentCardReadMethod = exports.CreateCustomerPaymentSellerProtection = exports.CreateCustomerPaymentWallet = exports.CreateCustomerPaymentFailureReason = exports.CreateCustomerPaymentFeeRegion = exports.CreateCustomerPaymentCardSecurity = exports.CreateCustomerPaymentCardFunding = exports.CreateCustomerPaymentCardLabel = exports.CreateCustomerPaymentCardAudition = exports.CreateCustomerPaymentCode = exports.CreateCustomerPaymentStatusEnum = exports.CreateCustomerPaymentSequenceTypeResponse = exports.CreateCustomerPaymentRoutingTypeResponse = exports.CreateCustomerPaymentRoutingMode = exports.CreateCustomerPaymentCaptureModeResponse = exports.CreateCustomerPaymentMethodResponse = exports.CreateCustomerPaymentLocaleResponse = exports.CreateCustomerPaymentIntervalResponse = exports.CreateCustomerPaymentCategoryResponse = exports.CreateCustomerPaymentLineTypeResponse = exports.CreateCustomerPaymentMode = exports.CreateCustomerPaymentSequenceTypeRequest = exports.CreateCustomerPaymentRoutingTypeRequest = exports.CreateCustomerPaymentCaptureModeRequest = exports.CreateCustomerPaymentMethodRequest = exports.CreateCustomerPaymentLocaleRequest = exports.CreateCustomerPaymentIntervalRequest = exports.CreateCustomerPaymentCategoryRequest = exports.CreateCustomerPaymentLineTypeRequest = void 0;
|
|
40
|
+
exports.CreateCustomerPaymentPaymentRequest$inboundSchema = exports.CreateCustomerPaymentSelfRequest$ = exports.CreateCustomerPaymentSelfRequest$outboundSchema = exports.CreateCustomerPaymentSelfRequest$inboundSchema = exports.CreateCustomerPaymentDestinationRequest$ = exports.CreateCustomerPaymentDestinationRequest$outboundSchema = exports.CreateCustomerPaymentDestinationRequest$inboundSchema = exports.CreateCustomerPaymentRoutingTypeRequest$ = exports.CreateCustomerPaymentRoutingTypeRequest$outboundSchema = exports.CreateCustomerPaymentRoutingTypeRequest$inboundSchema = exports.CreateCustomerPaymentRoutingAmountRequest$ = exports.CreateCustomerPaymentRoutingAmountRequest$outboundSchema = exports.CreateCustomerPaymentRoutingAmountRequest$inboundSchema = exports.CreateCustomerPaymentApplicationFeeRequest$ = exports.CreateCustomerPaymentApplicationFeeRequest$outboundSchema = exports.CreateCustomerPaymentApplicationFeeRequest$inboundSchema = exports.CreateCustomerPaymentApplicationFeeAmountRequest$ = exports.CreateCustomerPaymentApplicationFeeAmountRequest$outboundSchema = exports.CreateCustomerPaymentApplicationFeeAmountRequest$inboundSchema = exports.CreateCustomerPaymentCaptureModeRequest$ = exports.CreateCustomerPaymentCaptureModeRequest$outboundSchema = exports.CreateCustomerPaymentCaptureModeRequest$inboundSchema = exports.CreateCustomerPaymentMetadataRequest$ = exports.CreateCustomerPaymentMetadataRequest$outboundSchema = exports.CreateCustomerPaymentMetadataRequest$inboundSchema = exports.CreateCustomerPaymentMethodRequest$ = exports.CreateCustomerPaymentMethodRequest$outboundSchema = exports.CreateCustomerPaymentMethodRequest$inboundSchema = exports.CreateCustomerPaymentLocaleRequest$ = exports.CreateCustomerPaymentLocaleRequest$outboundSchema = exports.CreateCustomerPaymentLocaleRequest$inboundSchema = exports.CreateCustomerPaymentShippingAddressRequest$ = exports.CreateCustomerPaymentShippingAddressRequest$outboundSchema = exports.CreateCustomerPaymentShippingAddressRequest$inboundSchema = exports.CreateCustomerPaymentBillingAddressRequest$ = exports.CreateCustomerPaymentBillingAddressRequest$outboundSchema = exports.CreateCustomerPaymentBillingAddressRequest$inboundSchema = exports.CreateCustomerPaymentLineRequest$ = exports.CreateCustomerPaymentLineRequest$outboundSchema = exports.CreateCustomerPaymentLineRequest$inboundSchema = exports.CreateCustomerPaymentRecurringRequest$ = exports.CreateCustomerPaymentRecurringRequest$outboundSchema = exports.CreateCustomerPaymentRecurringRequest$inboundSchema = exports.CreateCustomerPaymentRecurringAmountRequest$ = exports.CreateCustomerPaymentRecurringAmountRequest$outboundSchema = exports.CreateCustomerPaymentRecurringAmountRequest$inboundSchema = exports.CreateCustomerPaymentIntervalRequest$ = exports.CreateCustomerPaymentIntervalRequest$outboundSchema = exports.CreateCustomerPaymentIntervalRequest$inboundSchema = exports.CreateCustomerPaymentCategoryRequest$ = void 0;
|
|
41
|
+
exports.CreateCustomerPaymentAmountChargedBack$ = exports.CreateCustomerPaymentAmountChargedBack$outboundSchema = exports.CreateCustomerPaymentAmountChargedBack$inboundSchema = exports.CreateCustomerPaymentAmountCaptured$ = exports.CreateCustomerPaymentAmountCaptured$outboundSchema = exports.CreateCustomerPaymentAmountCaptured$inboundSchema = exports.CreateCustomerPaymentAmountRemaining$ = exports.CreateCustomerPaymentAmountRemaining$outboundSchema = exports.CreateCustomerPaymentAmountRemaining$inboundSchema = exports.CreateCustomerPaymentAmountRefunded$ = exports.CreateCustomerPaymentAmountRefunded$outboundSchema = exports.CreateCustomerPaymentAmountRefunded$inboundSchema = exports.CreateCustomerPaymentAmountResponse$ = exports.CreateCustomerPaymentAmountResponse$outboundSchema = exports.CreateCustomerPaymentAmountResponse$inboundSchema = exports.CreateCustomerPaymentMode$ = exports.CreateCustomerPaymentMode$outboundSchema = exports.CreateCustomerPaymentMode$inboundSchema = exports.CreateCustomerPaymentUnprocessableEntityLinks$ = exports.CreateCustomerPaymentUnprocessableEntityLinks$outboundSchema = exports.CreateCustomerPaymentUnprocessableEntityLinks$inboundSchema = exports.CreateCustomerPaymentUnprocessableEntityDocumentation$ = exports.CreateCustomerPaymentUnprocessableEntityDocumentation$outboundSchema = exports.CreateCustomerPaymentUnprocessableEntityDocumentation$inboundSchema = exports.CreateCustomerPaymentServiceUnavailableLinks$ = exports.CreateCustomerPaymentServiceUnavailableLinks$outboundSchema = exports.CreateCustomerPaymentServiceUnavailableLinks$inboundSchema = exports.CreateCustomerPaymentServiceUnavailableDocumentation$ = exports.CreateCustomerPaymentServiceUnavailableDocumentation$outboundSchema = exports.CreateCustomerPaymentServiceUnavailableDocumentation$inboundSchema = exports.CreateCustomerPaymentRequest$ = exports.CreateCustomerPaymentRequest$outboundSchema = exports.CreateCustomerPaymentRequest$inboundSchema = exports.CreateCustomerPaymentRequestBody$ = exports.CreateCustomerPaymentRequestBody$outboundSchema = exports.CreateCustomerPaymentRequestBody$inboundSchema = exports.CreateCustomerPaymentCompany$ = exports.CreateCustomerPaymentCompany$outboundSchema = exports.CreateCustomerPaymentCompany$inboundSchema = exports.CreateCustomerPaymentSequenceTypeRequest$ = exports.CreateCustomerPaymentSequenceTypeRequest$outboundSchema = exports.CreateCustomerPaymentSequenceTypeRequest$inboundSchema = exports.CreateCustomerPaymentRoutingRequest$ = exports.CreateCustomerPaymentRoutingRequest$outboundSchema = exports.CreateCustomerPaymentRoutingRequest$inboundSchema = exports.CreateCustomerPaymentLinksRequest$ = exports.CreateCustomerPaymentLinksRequest$outboundSchema = exports.CreateCustomerPaymentLinksRequest$inboundSchema = exports.CreateCustomerPaymentPaymentRequest$ = exports.CreateCustomerPaymentPaymentRequest$outboundSchema = void 0;
|
|
42
|
+
exports.CreateCustomerPaymentCaptureModeResponse$outboundSchema = exports.CreateCustomerPaymentCaptureModeResponse$inboundSchema = exports.CreateCustomerPaymentMetadataResponse$ = exports.CreateCustomerPaymentMetadataResponse$outboundSchema = exports.CreateCustomerPaymentMetadataResponse$inboundSchema = exports.CreateCustomerPaymentMethodResponse$ = exports.CreateCustomerPaymentMethodResponse$outboundSchema = exports.CreateCustomerPaymentMethodResponse$inboundSchema = exports.CreateCustomerPaymentLocaleResponse$ = exports.CreateCustomerPaymentLocaleResponse$outboundSchema = exports.CreateCustomerPaymentLocaleResponse$inboundSchema = exports.CreateCustomerPaymentShippingAddressResponse$ = exports.CreateCustomerPaymentShippingAddressResponse$outboundSchema = exports.CreateCustomerPaymentShippingAddressResponse$inboundSchema = exports.CreateCustomerPaymentBillingAddressResponse$ = exports.CreateCustomerPaymentBillingAddressResponse$outboundSchema = exports.CreateCustomerPaymentBillingAddressResponse$inboundSchema = exports.CreateCustomerPaymentLineResponse$ = exports.CreateCustomerPaymentLineResponse$outboundSchema = exports.CreateCustomerPaymentLineResponse$inboundSchema = exports.CreateCustomerPaymentRecurringResponse$ = exports.CreateCustomerPaymentRecurringResponse$outboundSchema = exports.CreateCustomerPaymentRecurringResponse$inboundSchema = exports.CreateCustomerPaymentRecurringAmountResponse$ = exports.CreateCustomerPaymentRecurringAmountResponse$outboundSchema = exports.CreateCustomerPaymentRecurringAmountResponse$inboundSchema = exports.CreateCustomerPaymentIntervalResponse$ = exports.CreateCustomerPaymentIntervalResponse$outboundSchema = exports.CreateCustomerPaymentIntervalResponse$inboundSchema = exports.CreateCustomerPaymentCategoryResponse$ = exports.CreateCustomerPaymentCategoryResponse$outboundSchema = exports.CreateCustomerPaymentCategoryResponse$inboundSchema = exports.CreateCustomerPaymentVatAmountResponse$ = exports.CreateCustomerPaymentVatAmountResponse$outboundSchema = exports.CreateCustomerPaymentVatAmountResponse$inboundSchema = exports.CreateCustomerPaymentTotalAmountResponse$ = exports.CreateCustomerPaymentTotalAmountResponse$outboundSchema = exports.CreateCustomerPaymentTotalAmountResponse$inboundSchema = exports.CreateCustomerPaymentDiscountAmountResponse$ = exports.CreateCustomerPaymentDiscountAmountResponse$outboundSchema = exports.CreateCustomerPaymentDiscountAmountResponse$inboundSchema = exports.CreateCustomerPaymentUnitPriceResponse$ = exports.CreateCustomerPaymentUnitPriceResponse$outboundSchema = exports.CreateCustomerPaymentUnitPriceResponse$inboundSchema = exports.CreateCustomerPaymentLineTypeResponse$ = exports.CreateCustomerPaymentLineTypeResponse$outboundSchema = exports.CreateCustomerPaymentLineTypeResponse$inboundSchema = exports.CreateCustomerPaymentSettlementAmount$ = exports.CreateCustomerPaymentSettlementAmount$outboundSchema = exports.CreateCustomerPaymentSettlementAmount$inboundSchema = void 0;
|
|
43
|
+
exports.CreateCustomerPaymentCardFunding$inboundSchema = exports.CreateCustomerPaymentCardLabel$ = exports.CreateCustomerPaymentCardLabel$outboundSchema = exports.CreateCustomerPaymentCardLabel$inboundSchema = exports.CreateCustomerPaymentCardAudition$ = exports.CreateCustomerPaymentCardAudition$outboundSchema = exports.CreateCustomerPaymentCardAudition$inboundSchema = exports.CreateCustomerPaymentStatusReason$ = exports.CreateCustomerPaymentStatusReason$outboundSchema = exports.CreateCustomerPaymentStatusReason$inboundSchema = exports.CreateCustomerPaymentCode$ = exports.CreateCustomerPaymentCode$outboundSchema = exports.CreateCustomerPaymentCode$inboundSchema = exports.CreateCustomerPaymentStatusEnum$ = exports.CreateCustomerPaymentStatusEnum$outboundSchema = exports.CreateCustomerPaymentStatusEnum$inboundSchema = exports.CreateCustomerPaymentSequenceTypeResponse$ = exports.CreateCustomerPaymentSequenceTypeResponse$outboundSchema = exports.CreateCustomerPaymentSequenceTypeResponse$inboundSchema = exports.CreateCustomerPaymentRoutingResponse$ = exports.CreateCustomerPaymentRoutingResponse$outboundSchema = exports.CreateCustomerPaymentRoutingResponse$inboundSchema = exports.CreateCustomerPaymentRoutingLinksResponse$ = exports.CreateCustomerPaymentRoutingLinksResponse$outboundSchema = exports.CreateCustomerPaymentRoutingLinksResponse$inboundSchema = exports.CreateCustomerPaymentPaymentResponse$ = exports.CreateCustomerPaymentPaymentResponse$outboundSchema = exports.CreateCustomerPaymentPaymentResponse$inboundSchema = exports.CreateCustomerPaymentRoutingSelfResponse$ = exports.CreateCustomerPaymentRoutingSelfResponse$outboundSchema = exports.CreateCustomerPaymentRoutingSelfResponse$inboundSchema = exports.CreateCustomerPaymentDestinationResponse$ = exports.CreateCustomerPaymentDestinationResponse$outboundSchema = exports.CreateCustomerPaymentDestinationResponse$inboundSchema = exports.CreateCustomerPaymentRoutingTypeResponse$ = exports.CreateCustomerPaymentRoutingTypeResponse$outboundSchema = exports.CreateCustomerPaymentRoutingTypeResponse$inboundSchema = exports.CreateCustomerPaymentRoutingAmountResponse$ = exports.CreateCustomerPaymentRoutingAmountResponse$outboundSchema = exports.CreateCustomerPaymentRoutingAmountResponse$inboundSchema = exports.CreateCustomerPaymentRoutingMode$ = exports.CreateCustomerPaymentRoutingMode$outboundSchema = exports.CreateCustomerPaymentRoutingMode$inboundSchema = exports.CreateCustomerPaymentApplicationFeeResponse$ = exports.CreateCustomerPaymentApplicationFeeResponse$outboundSchema = exports.CreateCustomerPaymentApplicationFeeResponse$inboundSchema = exports.CreateCustomerPaymentApplicationFeeAmountResponse$ = exports.CreateCustomerPaymentApplicationFeeAmountResponse$outboundSchema = exports.CreateCustomerPaymentApplicationFeeAmountResponse$inboundSchema = exports.CreateCustomerPaymentCaptureModeResponse$ = void 0;
|
|
44
|
+
exports.CreateCustomerPaymentChangePaymentState$ = exports.CreateCustomerPaymentChangePaymentState$outboundSchema = exports.CreateCustomerPaymentChangePaymentState$inboundSchema = exports.CreateCustomerPaymentMobileAppCheckout$ = exports.CreateCustomerPaymentMobileAppCheckout$outboundSchema = exports.CreateCustomerPaymentMobileAppCheckout$inboundSchema = exports.CreateCustomerPaymentCheckout$ = exports.CreateCustomerPaymentCheckout$outboundSchema = exports.CreateCustomerPaymentCheckout$inboundSchema = exports.CreateCustomerPaymentSelfResponse$ = exports.CreateCustomerPaymentSelfResponse$outboundSchema = exports.CreateCustomerPaymentSelfResponse$inboundSchema = exports.CreateCustomerPaymentDetails$ = exports.CreateCustomerPaymentDetails$outboundSchema = exports.CreateCustomerPaymentDetails$inboundSchema = exports.CreateCustomerPaymentRemainderAmount$ = exports.CreateCustomerPaymentRemainderAmount$outboundSchema = exports.CreateCustomerPaymentRemainderAmount$inboundSchema = exports.CreateCustomerPaymentQrCode$ = exports.CreateCustomerPaymentQrCode$outboundSchema = exports.CreateCustomerPaymentQrCode$inboundSchema = exports.CreateCustomerPaymentReceipt$ = exports.CreateCustomerPaymentReceipt$outboundSchema = exports.CreateCustomerPaymentReceipt$inboundSchema = exports.CreateCustomerPaymentCardVerificationMethod$ = exports.CreateCustomerPaymentCardVerificationMethod$outboundSchema = exports.CreateCustomerPaymentCardVerificationMethod$inboundSchema = exports.CreateCustomerPaymentCardReadMethod$ = exports.CreateCustomerPaymentCardReadMethod$outboundSchema = exports.CreateCustomerPaymentCardReadMethod$inboundSchema = exports.CreateCustomerPaymentPaypalFee$ = exports.CreateCustomerPaymentPaypalFee$outboundSchema = exports.CreateCustomerPaymentPaypalFee$inboundSchema = exports.CreateCustomerPaymentSellerProtection$ = exports.CreateCustomerPaymentSellerProtection$outboundSchema = exports.CreateCustomerPaymentSellerProtection$inboundSchema = exports.CreateCustomerPaymentWallet$ = exports.CreateCustomerPaymentWallet$outboundSchema = exports.CreateCustomerPaymentWallet$inboundSchema = exports.CreateCustomerPaymentFailureReason$ = exports.CreateCustomerPaymentFailureReason$outboundSchema = exports.CreateCustomerPaymentFailureReason$inboundSchema = exports.CreateCustomerPaymentFeeRegion$ = exports.CreateCustomerPaymentFeeRegion$outboundSchema = exports.CreateCustomerPaymentFeeRegion$inboundSchema = exports.CreateCustomerPaymentCardSecurity$ = exports.CreateCustomerPaymentCardSecurity$outboundSchema = exports.CreateCustomerPaymentCardSecurity$inboundSchema = exports.CreateCustomerPaymentCardFunding$ = exports.CreateCustomerPaymentCardFunding$outboundSchema = void 0;
|
|
45
|
+
exports.CreateCustomerPaymentResponse$ = exports.CreateCustomerPaymentResponse$outboundSchema = exports.CreateCustomerPaymentResponse$inboundSchema = exports.CreateCustomerPaymentLinksResponse$ = exports.CreateCustomerPaymentLinksResponse$outboundSchema = exports.CreateCustomerPaymentLinksResponse$inboundSchema = exports.CreateCustomerPaymentPayOnline$ = exports.CreateCustomerPaymentPayOnline$outboundSchema = exports.CreateCustomerPaymentPayOnline$inboundSchema = exports.CreateCustomerPaymentLinksStatus$ = exports.CreateCustomerPaymentLinksStatus$outboundSchema = exports.CreateCustomerPaymentLinksStatus$inboundSchema = exports.CreateCustomerPaymentDocumentation$ = exports.CreateCustomerPaymentDocumentation$outboundSchema = exports.CreateCustomerPaymentDocumentation$inboundSchema = exports.CreateCustomerPaymentTerminal$ = exports.CreateCustomerPaymentTerminal$outboundSchema = exports.CreateCustomerPaymentTerminal$inboundSchema = exports.CreateCustomerPaymentOrder$ = exports.CreateCustomerPaymentOrder$outboundSchema = exports.CreateCustomerPaymentOrder$inboundSchema = exports.CreateCustomerPaymentSubscription$ = exports.CreateCustomerPaymentSubscription$outboundSchema = exports.CreateCustomerPaymentSubscription$inboundSchema = exports.CreateCustomerPaymentMandate$ = exports.CreateCustomerPaymentMandate$outboundSchema = exports.CreateCustomerPaymentMandate$inboundSchema = exports.CreateCustomerPaymentCustomer$ = exports.CreateCustomerPaymentCustomer$outboundSchema = exports.CreateCustomerPaymentCustomer$inboundSchema = exports.CreateCustomerPaymentSettlement$ = exports.CreateCustomerPaymentSettlement$outboundSchema = exports.CreateCustomerPaymentSettlement$inboundSchema = exports.CreateCustomerPaymentCaptures$ = exports.CreateCustomerPaymentCaptures$outboundSchema = exports.CreateCustomerPaymentCaptures$inboundSchema = exports.CreateCustomerPaymentChargebacks$ = exports.CreateCustomerPaymentChargebacks$outboundSchema = exports.CreateCustomerPaymentChargebacks$inboundSchema = exports.CreateCustomerPaymentRefunds$ = exports.CreateCustomerPaymentRefunds$outboundSchema = exports.CreateCustomerPaymentRefunds$inboundSchema = exports.CreateCustomerPaymentDashboard$ = exports.CreateCustomerPaymentDashboard$outboundSchema = exports.CreateCustomerPaymentDashboard$inboundSchema = void 0;
|
|
45
46
|
exports.createCustomerPaymentAmountRequestToJSON = createCustomerPaymentAmountRequestToJSON;
|
|
46
47
|
exports.createCustomerPaymentAmountRequestFromJSON = createCustomerPaymentAmountRequestFromJSON;
|
|
47
48
|
exports.createCustomerPaymentUnitPriceRequestToJSON = createCustomerPaymentUnitPriceRequestToJSON;
|
|
@@ -80,6 +81,8 @@ exports.createCustomerPaymentLinksRequestToJSON = createCustomerPaymentLinksRequ
|
|
|
80
81
|
exports.createCustomerPaymentLinksRequestFromJSON = createCustomerPaymentLinksRequestFromJSON;
|
|
81
82
|
exports.createCustomerPaymentRoutingRequestToJSON = createCustomerPaymentRoutingRequestToJSON;
|
|
82
83
|
exports.createCustomerPaymentRoutingRequestFromJSON = createCustomerPaymentRoutingRequestFromJSON;
|
|
84
|
+
exports.createCustomerPaymentCompanyToJSON = createCustomerPaymentCompanyToJSON;
|
|
85
|
+
exports.createCustomerPaymentCompanyFromJSON = createCustomerPaymentCompanyFromJSON;
|
|
83
86
|
exports.createCustomerPaymentRequestBodyToJSON = createCustomerPaymentRequestBodyToJSON;
|
|
84
87
|
exports.createCustomerPaymentRequestBodyFromJSON = createCustomerPaymentRequestBodyFromJSON;
|
|
85
88
|
exports.createCustomerPaymentRequestToJSON = createCustomerPaymentRequestToJSON;
|
|
@@ -142,6 +145,16 @@ exports.createCustomerPaymentRoutingResponseToJSON = createCustomerPaymentRoutin
|
|
|
142
145
|
exports.createCustomerPaymentRoutingResponseFromJSON = createCustomerPaymentRoutingResponseFromJSON;
|
|
143
146
|
exports.createCustomerPaymentStatusReasonToJSON = createCustomerPaymentStatusReasonToJSON;
|
|
144
147
|
exports.createCustomerPaymentStatusReasonFromJSON = createCustomerPaymentStatusReasonFromJSON;
|
|
148
|
+
exports.createCustomerPaymentPaypalFeeToJSON = createCustomerPaymentPaypalFeeToJSON;
|
|
149
|
+
exports.createCustomerPaymentPaypalFeeFromJSON = createCustomerPaymentPaypalFeeFromJSON;
|
|
150
|
+
exports.createCustomerPaymentReceiptToJSON = createCustomerPaymentReceiptToJSON;
|
|
151
|
+
exports.createCustomerPaymentReceiptFromJSON = createCustomerPaymentReceiptFromJSON;
|
|
152
|
+
exports.createCustomerPaymentQrCodeToJSON = createCustomerPaymentQrCodeToJSON;
|
|
153
|
+
exports.createCustomerPaymentQrCodeFromJSON = createCustomerPaymentQrCodeFromJSON;
|
|
154
|
+
exports.createCustomerPaymentRemainderAmountToJSON = createCustomerPaymentRemainderAmountToJSON;
|
|
155
|
+
exports.createCustomerPaymentRemainderAmountFromJSON = createCustomerPaymentRemainderAmountFromJSON;
|
|
156
|
+
exports.createCustomerPaymentDetailsToJSON = createCustomerPaymentDetailsToJSON;
|
|
157
|
+
exports.createCustomerPaymentDetailsFromJSON = createCustomerPaymentDetailsFromJSON;
|
|
145
158
|
exports.createCustomerPaymentSelfResponseToJSON = createCustomerPaymentSelfResponseToJSON;
|
|
146
159
|
exports.createCustomerPaymentSelfResponseFromJSON = createCustomerPaymentSelfResponseFromJSON;
|
|
147
160
|
exports.createCustomerPaymentCheckoutToJSON = createCustomerPaymentCheckoutToJSON;
|
|
@@ -172,6 +185,10 @@ exports.createCustomerPaymentTerminalToJSON = createCustomerPaymentTerminalToJSO
|
|
|
172
185
|
exports.createCustomerPaymentTerminalFromJSON = createCustomerPaymentTerminalFromJSON;
|
|
173
186
|
exports.createCustomerPaymentDocumentationToJSON = createCustomerPaymentDocumentationToJSON;
|
|
174
187
|
exports.createCustomerPaymentDocumentationFromJSON = createCustomerPaymentDocumentationFromJSON;
|
|
188
|
+
exports.createCustomerPaymentLinksStatusToJSON = createCustomerPaymentLinksStatusToJSON;
|
|
189
|
+
exports.createCustomerPaymentLinksStatusFromJSON = createCustomerPaymentLinksStatusFromJSON;
|
|
190
|
+
exports.createCustomerPaymentPayOnlineToJSON = createCustomerPaymentPayOnlineToJSON;
|
|
191
|
+
exports.createCustomerPaymentPayOnlineFromJSON = createCustomerPaymentPayOnlineFromJSON;
|
|
175
192
|
exports.createCustomerPaymentLinksResponseToJSON = createCustomerPaymentLinksResponseToJSON;
|
|
176
193
|
exports.createCustomerPaymentLinksResponseFromJSON = createCustomerPaymentLinksResponseFromJSON;
|
|
177
194
|
exports.createCustomerPaymentResponseToJSON = createCustomerPaymentResponseToJSON;
|
|
@@ -179,6 +196,7 @@ exports.createCustomerPaymentResponseFromJSON = createCustomerPaymentResponseFro
|
|
|
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
|
* The type of product purchased. For example, a physical or a digital product.
|
|
184
202
|
*
|
|
@@ -510,7 +528,7 @@ exports.CreateCustomerPaymentSequenceTypeResponse = {
|
|
|
510
528
|
* @remarks
|
|
511
529
|
* statuses occur at what point.
|
|
512
530
|
*/
|
|
513
|
-
exports.
|
|
531
|
+
exports.CreateCustomerPaymentStatusEnum = {
|
|
514
532
|
Open: "open",
|
|
515
533
|
Pending: "pending",
|
|
516
534
|
Authorized: "authorized",
|
|
@@ -519,6 +537,249 @@ exports.CreateCustomerPaymentStatus = {
|
|
|
519
537
|
Expired: "expired",
|
|
520
538
|
Failed: "failed",
|
|
521
539
|
};
|
|
540
|
+
/**
|
|
541
|
+
* A machine-readable code that indicates the reason for the payment's status.
|
|
542
|
+
*/
|
|
543
|
+
exports.CreateCustomerPaymentCode = {
|
|
544
|
+
ApprovedOrCompletedSuccessfully: "approved_or_completed_successfully",
|
|
545
|
+
ReferToCardIssuer: "refer_to_card_issuer",
|
|
546
|
+
InvalidMerchant: "invalid_merchant",
|
|
547
|
+
CaptureCard: "capture_card",
|
|
548
|
+
DoNotHonor: "do_not_honor",
|
|
549
|
+
Error: "error",
|
|
550
|
+
PartialApproval: "partial_approval",
|
|
551
|
+
InvalidTransaction: "invalid_transaction",
|
|
552
|
+
InvalidAmount: "invalid_amount",
|
|
553
|
+
InvalidIssuer: "invalid_issuer",
|
|
554
|
+
LostCard: "lost_card",
|
|
555
|
+
StolenCard: "stolen_card",
|
|
556
|
+
InsufficientFunds: "insufficient_funds",
|
|
557
|
+
ExpiredCard: "expired_card",
|
|
558
|
+
InvalidPin: "invalid_pin",
|
|
559
|
+
TransactionNotPermittedToCardholder: "transaction_not_permitted_to_cardholder",
|
|
560
|
+
TransactionNotAllowedAtTerminal: "transaction_not_allowed_at_terminal",
|
|
561
|
+
ExceedsWithdrawalAmountLimit: "exceeds_withdrawal_amount_limit",
|
|
562
|
+
RestrictedCard: "restricted_card",
|
|
563
|
+
SecurityViolation: "security_violation",
|
|
564
|
+
ExceedsWithdrawalCountLimit: "exceeds_withdrawal_count_limit",
|
|
565
|
+
AllowableNumberOfPinTriesExceeded: "allowable_number_of_pin_tries_exceeded",
|
|
566
|
+
NoReasonToDecline: "no_reason_to_decline",
|
|
567
|
+
CannotVerifyPin: "cannot_verify_pin",
|
|
568
|
+
IssuerUnavailable: "issuer_unavailable",
|
|
569
|
+
UnableToRouteTransaction: "unable_to_route_transaction",
|
|
570
|
+
DuplicateTransaction: "duplicate_transaction",
|
|
571
|
+
SystemMalfunction: "system_malfunction",
|
|
572
|
+
HonorWithId: "honor_with_id",
|
|
573
|
+
InvalidCardNumber: "invalid_card_number",
|
|
574
|
+
FormatError: "format_error",
|
|
575
|
+
ContactCardIssuer: "contact_card_issuer",
|
|
576
|
+
PinNotChanged: "pin_not_changed",
|
|
577
|
+
InvalidNonexistentToAccountSpecified: "invalid_nonexistent_to_account_specified",
|
|
578
|
+
InvalidNonexistentFromAccountSpecified: "invalid_nonexistent_from_account_specified",
|
|
579
|
+
InvalidNonexistentAccountSpecified: "invalid_nonexistent_account_specified",
|
|
580
|
+
LifecycleRelated: "lifecycle_related",
|
|
581
|
+
DomesticDebitTransactionNotAllowed: "domestic_debit_transaction_not_allowed",
|
|
582
|
+
PolicyRelated: "policy_related",
|
|
583
|
+
FraudSecurityRelated: "fraud_security_related",
|
|
584
|
+
InvalidAuthorizationLifeCycle: "invalid_authorization_life_cycle",
|
|
585
|
+
PurchaseAmountOnlyNoCashBackAllowed: "purchase_amount_only_no_cash_back_allowed",
|
|
586
|
+
CryptographicFailure: "cryptographic_failure",
|
|
587
|
+
UnacceptablePin: "unacceptable_pin",
|
|
588
|
+
ReferToCardIssuerSpecialCondition: "refer_to_card_issuer_special_condition",
|
|
589
|
+
PickUpCardSpecialCondition: "pick_up_card_special_condition",
|
|
590
|
+
VipApproval: "vip_approval",
|
|
591
|
+
InvalidAccountNumber: "invalid_account_number",
|
|
592
|
+
ReEnterTransaction: "re_enter_transaction",
|
|
593
|
+
NoActionTaken: "no_action_taken",
|
|
594
|
+
UnableToLocateRecord: "unable_to_locate_record",
|
|
595
|
+
FileTemporarilyUnavailable: "file_temporarily_unavailable",
|
|
596
|
+
NoCreditAccount: "no_credit_account",
|
|
597
|
+
ClosedAccount: "closed_account",
|
|
598
|
+
NoCheckingAccount: "no_checking_account",
|
|
599
|
+
NoSavingsAccount: "no_savings_account",
|
|
600
|
+
SuspectedFraud: "suspected_fraud",
|
|
601
|
+
TransactionDoesNotFulfillAmlRequirement: "transaction_does_not_fulfill_aml_requirement",
|
|
602
|
+
PinDataRequired: "pin_data_required",
|
|
603
|
+
UnableToLocatePreviousMessage: "unable_to_locate_previous_message",
|
|
604
|
+
PreviousMessageLocatedInconsistentData: "previous_message_located_inconsistent_data",
|
|
605
|
+
BlockedFirstUsed: "blocked_first_used",
|
|
606
|
+
TransactionReversed: "transaction_reversed",
|
|
607
|
+
CreditIssuerUnavailable: "credit_issuer_unavailable",
|
|
608
|
+
PinCryptographicErrorFound: "pin_cryptographic_error_found",
|
|
609
|
+
NegativeOnlineCamResult: "negative_online_cam_result",
|
|
610
|
+
ViolationOfLaw: "violation_of_law",
|
|
611
|
+
ForceStip: "force_stip",
|
|
612
|
+
CashServiceNotAvailable: "cash_service_not_available",
|
|
613
|
+
CashbackRequestExceedsIssuerLimit: "cashback_request_exceeds_issuer_limit",
|
|
614
|
+
DeclineForCvv2Failure: "decline_for_cvv2_failure",
|
|
615
|
+
TransactionAmountExceedsPreAuthorizedAmount: "transaction_amount_exceeds_pre_authorized_amount",
|
|
616
|
+
InvalidBillerInformation: "invalid_biller_information",
|
|
617
|
+
PinChangeUnblockRequestDeclined: "pin_change_unblock_request_declined",
|
|
618
|
+
UnsafePin: "unsafe_pin",
|
|
619
|
+
CardAuthenticationFailed: "card_authentication_failed",
|
|
620
|
+
StopPaymentOrder: "stop_payment_order",
|
|
621
|
+
RevocationOfAuthorization: "revocation_of_authorization",
|
|
622
|
+
RevocationOfAllAuthorizations: "revocation_of_all_authorizations",
|
|
623
|
+
ForwardToIssuerXa: "forward_to_issuer_xa",
|
|
624
|
+
ForwardToIssuerXd: "forward_to_issuer_xd",
|
|
625
|
+
UnableToGoOnline: "unable_to_go_online",
|
|
626
|
+
AdditionalCustomerAuthenticationRequired: "additional_customer_authentication_required",
|
|
627
|
+
MerchantIdNotFound: "merchant_id_not_found",
|
|
628
|
+
MerchantAccountClosed: "merchant_account_closed",
|
|
629
|
+
TerminalIdNotFound: "terminal_id_not_found",
|
|
630
|
+
TerminalClosed: "terminal_closed",
|
|
631
|
+
InvalidCategoryCode: "invalid_category_code",
|
|
632
|
+
InvalidCurrency: "invalid_currency",
|
|
633
|
+
MissingCvv2Cvc2: "missing_cvv2_cvc2",
|
|
634
|
+
Cvv2NotAllowed: "cvv2_not_allowed",
|
|
635
|
+
MerchantNotRegisteredVbv: "merchant_not_registered_vbv",
|
|
636
|
+
MerchantNotRegisteredForAmex: "merchant_not_registered_for_amex",
|
|
637
|
+
TransactionNotPermittedAtTerminal: "transaction_not_permitted_at_terminal",
|
|
638
|
+
AgreementTerminalNotRelated: "agreement_terminal_not_related",
|
|
639
|
+
InvalidProcessorId: "invalid_processor_id",
|
|
640
|
+
InvalidMerchantData: "invalid_merchant_data",
|
|
641
|
+
SubMerchantAccountClosed: "sub_merchant_account_closed",
|
|
642
|
+
TerminalBusy: "terminal_busy",
|
|
643
|
+
TerminalUnreachable: "terminal_unreachable",
|
|
644
|
+
ServiceFailed: "service_failed",
|
|
645
|
+
InvalidOperation: "invalid_operation",
|
|
646
|
+
AuthorizationError: "authorization_error",
|
|
647
|
+
LoginFailedWithoutReason: "login_failed_without_reason",
|
|
648
|
+
InvalidRetailer: "invalid_retailer",
|
|
649
|
+
CardDoesNotExist: "card_does_not_exist",
|
|
650
|
+
CardIsBlocked: "card_is_blocked",
|
|
651
|
+
InvalidCardId: "invalid_card_id",
|
|
652
|
+
CardIsTransferred: "card_is_transferred",
|
|
653
|
+
CardIsNotActive: "card_is_not_active",
|
|
654
|
+
IncorrectPurchaseValue: "incorrect_purchase_value",
|
|
655
|
+
CardNotAvailable: "card_not_available",
|
|
656
|
+
WrongCurrency: "wrong_currency",
|
|
657
|
+
LoginFailedUnknownUser: "login_failed_unknown_user",
|
|
658
|
+
LoginFailedInvalidPassword: "login_failed_invalid_password",
|
|
659
|
+
InvalidEanCode: "invalid_ean_code",
|
|
660
|
+
};
|
|
661
|
+
/**
|
|
662
|
+
* The card's target audience, if known.
|
|
663
|
+
*/
|
|
664
|
+
exports.CreateCustomerPaymentCardAudition = {
|
|
665
|
+
Consumer: "consumer",
|
|
666
|
+
Business: "business",
|
|
667
|
+
};
|
|
668
|
+
/**
|
|
669
|
+
* The card's label, if known.
|
|
670
|
+
*/
|
|
671
|
+
exports.CreateCustomerPaymentCardLabel = {
|
|
672
|
+
AmericanExpress: "American Express",
|
|
673
|
+
CartaSi: "Carta Si",
|
|
674
|
+
CarteBleue: "Carte Bleue",
|
|
675
|
+
Dankort: "Dankort",
|
|
676
|
+
DinersClub: "Diners Club",
|
|
677
|
+
Discover: "Discover",
|
|
678
|
+
Jcb: "JCB",
|
|
679
|
+
Laser: "Laser",
|
|
680
|
+
Maestro: "Maestro",
|
|
681
|
+
Mastercard: "Mastercard",
|
|
682
|
+
Unionpay: "Unionpay",
|
|
683
|
+
Visa: "Visa",
|
|
684
|
+
Vpay: "Vpay",
|
|
685
|
+
};
|
|
686
|
+
/**
|
|
687
|
+
* The card type.
|
|
688
|
+
*/
|
|
689
|
+
exports.CreateCustomerPaymentCardFunding = {
|
|
690
|
+
Debit: "debit",
|
|
691
|
+
Credit: "credit",
|
|
692
|
+
Prepaid: "prepaid",
|
|
693
|
+
DeferredDebit: "deferred-debit",
|
|
694
|
+
};
|
|
695
|
+
/**
|
|
696
|
+
* The level of security applied during card processing.
|
|
697
|
+
*/
|
|
698
|
+
exports.CreateCustomerPaymentCardSecurity = {
|
|
699
|
+
Normal: "normal",
|
|
700
|
+
Threedsecure: "3dsecure",
|
|
701
|
+
};
|
|
702
|
+
/**
|
|
703
|
+
* The applicable card fee region.
|
|
704
|
+
*/
|
|
705
|
+
exports.CreateCustomerPaymentFeeRegion = {
|
|
706
|
+
AmericanExpress: "american-express",
|
|
707
|
+
AmexIntraEea: "amex-intra-eea",
|
|
708
|
+
CarteBancaire: "carte-bancaire",
|
|
709
|
+
IntraEu: "intra-eu",
|
|
710
|
+
IntraEuCorporate: "intra-eu-corporate",
|
|
711
|
+
Domestic: "domestic",
|
|
712
|
+
Maestro: "maestro",
|
|
713
|
+
Other: "other",
|
|
714
|
+
Inter: "inter",
|
|
715
|
+
IntraEea: "intra-eea",
|
|
716
|
+
};
|
|
717
|
+
/**
|
|
718
|
+
* A failure code to help understand why the payment failed.
|
|
719
|
+
*/
|
|
720
|
+
exports.CreateCustomerPaymentFailureReason = {
|
|
721
|
+
AuthenticationAbandoned: "authentication_abandoned",
|
|
722
|
+
AuthenticationFailed: "authentication_failed",
|
|
723
|
+
AuthenticationRequired: "authentication_required",
|
|
724
|
+
AuthenticationUnavailableAcs: "authentication_unavailable_acs",
|
|
725
|
+
CardDeclined: "card_declined",
|
|
726
|
+
CardExpired: "card_expired",
|
|
727
|
+
InactiveCard: "inactive_card",
|
|
728
|
+
InsufficientFunds: "insufficient_funds",
|
|
729
|
+
InvalidCvv: "invalid_cvv",
|
|
730
|
+
InvalidCardHolderName: "invalid_card_holder_name",
|
|
731
|
+
InvalidCardNumber: "invalid_card_number",
|
|
732
|
+
InvalidCardType: "invalid_card_type",
|
|
733
|
+
PossibleFraud: "possible_fraud",
|
|
734
|
+
RefusedByIssuer: "refused_by_issuer",
|
|
735
|
+
UnknownReason: "unknown_reason",
|
|
736
|
+
};
|
|
737
|
+
/**
|
|
738
|
+
* The wallet used when creating the payment.
|
|
739
|
+
*/
|
|
740
|
+
exports.CreateCustomerPaymentWallet = {
|
|
741
|
+
Applepay: "applepay",
|
|
742
|
+
};
|
|
743
|
+
/**
|
|
744
|
+
* Indicates to what extent the payment is eligible for PayPal's Seller Protection. Only available for PayPal
|
|
745
|
+
*
|
|
746
|
+
* @remarks
|
|
747
|
+
* payments, and if the information is made available by PayPal.
|
|
748
|
+
*/
|
|
749
|
+
exports.CreateCustomerPaymentSellerProtection = {
|
|
750
|
+
Eligible: "Eligible",
|
|
751
|
+
Ineligible: "Ineligible",
|
|
752
|
+
PartiallyEligibleINROnly: "Partially Eligible - INR Only",
|
|
753
|
+
PartiallyEligibleUnauthOnly: "Partially Eligible - Unauth Only",
|
|
754
|
+
PartiallyEligible: "Partially Eligible",
|
|
755
|
+
None: "None",
|
|
756
|
+
Active: "Active",
|
|
757
|
+
FraudControlUnauthPremiumEligible: "Fraud Control - Unauth Premium Eligible",
|
|
758
|
+
};
|
|
759
|
+
/**
|
|
760
|
+
* The method by which the card was read by the terminal.
|
|
761
|
+
*/
|
|
762
|
+
exports.CreateCustomerPaymentCardReadMethod = {
|
|
763
|
+
Chip: "chip",
|
|
764
|
+
MagneticStripe: "magnetic-stripe",
|
|
765
|
+
NearFieldCommunication: "near-field-communication",
|
|
766
|
+
Contactless: "contactless",
|
|
767
|
+
Moto: "moto",
|
|
768
|
+
};
|
|
769
|
+
/**
|
|
770
|
+
* The method used to verify the cardholder's identity.
|
|
771
|
+
*/
|
|
772
|
+
exports.CreateCustomerPaymentCardVerificationMethod = {
|
|
773
|
+
NoCvmRequired: "no-cvm-required",
|
|
774
|
+
OnlinePin: "online-pin",
|
|
775
|
+
OfflinePin: "offline-pin",
|
|
776
|
+
ConsumerDevice: "consumer-device",
|
|
777
|
+
Signature: "signature",
|
|
778
|
+
SignatureAndOnlinePin: "signature-and-online-pin",
|
|
779
|
+
OnlinePinAndSignature: "online-pin-and-signature",
|
|
780
|
+
None: "none",
|
|
781
|
+
Failed: "failed",
|
|
782
|
+
};
|
|
522
783
|
/** @internal */
|
|
523
784
|
exports.CreateCustomerPaymentAmountRequest$inboundSchema = z.object({
|
|
524
785
|
currency: z.string(),
|
|
@@ -1238,6 +1499,35 @@ var CreateCustomerPaymentSequenceTypeRequest$;
|
|
|
1238
1499
|
CreateCustomerPaymentSequenceTypeRequest$.outboundSchema = exports.CreateCustomerPaymentSequenceTypeRequest$outboundSchema;
|
|
1239
1500
|
})(CreateCustomerPaymentSequenceTypeRequest$ || (exports.CreateCustomerPaymentSequenceTypeRequest$ = CreateCustomerPaymentSequenceTypeRequest$ = {}));
|
|
1240
1501
|
/** @internal */
|
|
1502
|
+
exports.CreateCustomerPaymentCompany$inboundSchema = z.object({
|
|
1503
|
+
registrationNumber: z.string().optional(),
|
|
1504
|
+
vatNumber: z.string().optional(),
|
|
1505
|
+
entityType: z.string().optional(),
|
|
1506
|
+
});
|
|
1507
|
+
/** @internal */
|
|
1508
|
+
exports.CreateCustomerPaymentCompany$outboundSchema = z.object({
|
|
1509
|
+
registrationNumber: z.string().optional(),
|
|
1510
|
+
vatNumber: z.string().optional(),
|
|
1511
|
+
entityType: z.string().optional(),
|
|
1512
|
+
});
|
|
1513
|
+
/**
|
|
1514
|
+
* @internal
|
|
1515
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1516
|
+
*/
|
|
1517
|
+
var CreateCustomerPaymentCompany$;
|
|
1518
|
+
(function (CreateCustomerPaymentCompany$) {
|
|
1519
|
+
/** @deprecated use `CreateCustomerPaymentCompany$inboundSchema` instead. */
|
|
1520
|
+
CreateCustomerPaymentCompany$.inboundSchema = exports.CreateCustomerPaymentCompany$inboundSchema;
|
|
1521
|
+
/** @deprecated use `CreateCustomerPaymentCompany$outboundSchema` instead. */
|
|
1522
|
+
CreateCustomerPaymentCompany$.outboundSchema = exports.CreateCustomerPaymentCompany$outboundSchema;
|
|
1523
|
+
})(CreateCustomerPaymentCompany$ || (exports.CreateCustomerPaymentCompany$ = CreateCustomerPaymentCompany$ = {}));
|
|
1524
|
+
function createCustomerPaymentCompanyToJSON(createCustomerPaymentCompany) {
|
|
1525
|
+
return JSON.stringify(exports.CreateCustomerPaymentCompany$outboundSchema.parse(createCustomerPaymentCompany));
|
|
1526
|
+
}
|
|
1527
|
+
function createCustomerPaymentCompanyFromJSON(jsonString) {
|
|
1528
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CreateCustomerPaymentCompany$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreateCustomerPaymentCompany' from JSON`);
|
|
1529
|
+
}
|
|
1530
|
+
/** @internal */
|
|
1241
1531
|
exports.CreateCustomerPaymentRequestBody$inboundSchema = z.object({
|
|
1242
1532
|
description: z.string(),
|
|
1243
1533
|
amount: z.lazy(() => exports.CreateCustomerPaymentAmountRequest$inboundSchema),
|
|
@@ -1265,6 +1555,17 @@ exports.CreateCustomerPaymentRequestBody$inboundSchema = z.object({
|
|
|
1265
1555
|
profileId: z.string().optional(),
|
|
1266
1556
|
dueDate: z.string().optional(),
|
|
1267
1557
|
testmode: z.nullable(z.boolean()).optional(),
|
|
1558
|
+
applePayPaymentToken: z.string().optional(),
|
|
1559
|
+
company: z.lazy(() => exports.CreateCustomerPaymentCompany$inboundSchema).optional(),
|
|
1560
|
+
cardToken: z.string().optional(),
|
|
1561
|
+
voucherNumber: z.string().optional(),
|
|
1562
|
+
voucherPin: z.string().optional(),
|
|
1563
|
+
consumerDateOfBirth: z.string().transform(v => new rfcdate_js_1.RFCDate(v)).optional(),
|
|
1564
|
+
extraMerchantData: z.record(z.any()).optional(),
|
|
1565
|
+
sessionId: z.string().optional(),
|
|
1566
|
+
digitalGoods: z.boolean().optional(),
|
|
1567
|
+
customerReference: z.string().optional(),
|
|
1568
|
+
terminalId: z.string().optional(),
|
|
1268
1569
|
});
|
|
1269
1570
|
/** @internal */
|
|
1270
1571
|
exports.CreateCustomerPaymentRequestBody$outboundSchema = z.object({
|
|
@@ -1293,6 +1594,18 @@ exports.CreateCustomerPaymentRequestBody$outboundSchema = z.object({
|
|
|
1293
1594
|
profileId: z.string().optional(),
|
|
1294
1595
|
dueDate: z.string().optional(),
|
|
1295
1596
|
testmode: z.nullable(z.boolean()).optional(),
|
|
1597
|
+
applePayPaymentToken: z.string().optional(),
|
|
1598
|
+
company: z.lazy(() => exports.CreateCustomerPaymentCompany$outboundSchema).optional(),
|
|
1599
|
+
cardToken: z.string().optional(),
|
|
1600
|
+
voucherNumber: z.string().optional(),
|
|
1601
|
+
voucherPin: z.string().optional(),
|
|
1602
|
+
consumerDateOfBirth: z.instanceof(rfcdate_js_1.RFCDate).transform(v => v.toString())
|
|
1603
|
+
.optional(),
|
|
1604
|
+
extraMerchantData: z.record(z.any()).optional(),
|
|
1605
|
+
sessionId: z.string().optional(),
|
|
1606
|
+
digitalGoods: z.boolean().optional(),
|
|
1607
|
+
customerReference: z.string().optional(),
|
|
1608
|
+
terminalId: z.string().optional(),
|
|
1296
1609
|
});
|
|
1297
1610
|
/**
|
|
1298
1611
|
* @internal
|
|
@@ -2344,28 +2657,43 @@ var CreateCustomerPaymentSequenceTypeResponse$;
|
|
|
2344
2657
|
CreateCustomerPaymentSequenceTypeResponse$.outboundSchema = exports.CreateCustomerPaymentSequenceTypeResponse$outboundSchema;
|
|
2345
2658
|
})(CreateCustomerPaymentSequenceTypeResponse$ || (exports.CreateCustomerPaymentSequenceTypeResponse$ = CreateCustomerPaymentSequenceTypeResponse$ = {}));
|
|
2346
2659
|
/** @internal */
|
|
2347
|
-
exports.
|
|
2660
|
+
exports.CreateCustomerPaymentStatusEnum$inboundSchema = z.nativeEnum(exports.CreateCustomerPaymentStatusEnum);
|
|
2661
|
+
/** @internal */
|
|
2662
|
+
exports.CreateCustomerPaymentStatusEnum$outboundSchema = exports.CreateCustomerPaymentStatusEnum$inboundSchema;
|
|
2663
|
+
/**
|
|
2664
|
+
* @internal
|
|
2665
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2666
|
+
*/
|
|
2667
|
+
var CreateCustomerPaymentStatusEnum$;
|
|
2668
|
+
(function (CreateCustomerPaymentStatusEnum$) {
|
|
2669
|
+
/** @deprecated use `CreateCustomerPaymentStatusEnum$inboundSchema` instead. */
|
|
2670
|
+
CreateCustomerPaymentStatusEnum$.inboundSchema = exports.CreateCustomerPaymentStatusEnum$inboundSchema;
|
|
2671
|
+
/** @deprecated use `CreateCustomerPaymentStatusEnum$outboundSchema` instead. */
|
|
2672
|
+
CreateCustomerPaymentStatusEnum$.outboundSchema = exports.CreateCustomerPaymentStatusEnum$outboundSchema;
|
|
2673
|
+
})(CreateCustomerPaymentStatusEnum$ || (exports.CreateCustomerPaymentStatusEnum$ = CreateCustomerPaymentStatusEnum$ = {}));
|
|
2674
|
+
/** @internal */
|
|
2675
|
+
exports.CreateCustomerPaymentCode$inboundSchema = z.nativeEnum(exports.CreateCustomerPaymentCode);
|
|
2348
2676
|
/** @internal */
|
|
2349
|
-
exports.
|
|
2677
|
+
exports.CreateCustomerPaymentCode$outboundSchema = exports.CreateCustomerPaymentCode$inboundSchema;
|
|
2350
2678
|
/**
|
|
2351
2679
|
* @internal
|
|
2352
2680
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2353
2681
|
*/
|
|
2354
|
-
var
|
|
2355
|
-
(function (
|
|
2356
|
-
/** @deprecated use `
|
|
2357
|
-
|
|
2358
|
-
/** @deprecated use `
|
|
2359
|
-
|
|
2360
|
-
})(
|
|
2682
|
+
var CreateCustomerPaymentCode$;
|
|
2683
|
+
(function (CreateCustomerPaymentCode$) {
|
|
2684
|
+
/** @deprecated use `CreateCustomerPaymentCode$inboundSchema` instead. */
|
|
2685
|
+
CreateCustomerPaymentCode$.inboundSchema = exports.CreateCustomerPaymentCode$inboundSchema;
|
|
2686
|
+
/** @deprecated use `CreateCustomerPaymentCode$outboundSchema` instead. */
|
|
2687
|
+
CreateCustomerPaymentCode$.outboundSchema = exports.CreateCustomerPaymentCode$outboundSchema;
|
|
2688
|
+
})(CreateCustomerPaymentCode$ || (exports.CreateCustomerPaymentCode$ = CreateCustomerPaymentCode$ = {}));
|
|
2361
2689
|
/** @internal */
|
|
2362
2690
|
exports.CreateCustomerPaymentStatusReason$inboundSchema = z.object({
|
|
2363
|
-
code:
|
|
2691
|
+
code: exports.CreateCustomerPaymentCode$inboundSchema,
|
|
2364
2692
|
message: z.string(),
|
|
2365
2693
|
});
|
|
2366
2694
|
/** @internal */
|
|
2367
2695
|
exports.CreateCustomerPaymentStatusReason$outboundSchema = z.object({
|
|
2368
|
-
code:
|
|
2696
|
+
code: exports.CreateCustomerPaymentCode$outboundSchema,
|
|
2369
2697
|
message: z.string(),
|
|
2370
2698
|
});
|
|
2371
2699
|
/**
|
|
@@ -2386,6 +2714,411 @@ function createCustomerPaymentStatusReasonFromJSON(jsonString) {
|
|
|
2386
2714
|
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CreateCustomerPaymentStatusReason$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreateCustomerPaymentStatusReason' from JSON`);
|
|
2387
2715
|
}
|
|
2388
2716
|
/** @internal */
|
|
2717
|
+
exports.CreateCustomerPaymentCardAudition$inboundSchema = z.nativeEnum(exports.CreateCustomerPaymentCardAudition);
|
|
2718
|
+
/** @internal */
|
|
2719
|
+
exports.CreateCustomerPaymentCardAudition$outboundSchema = exports.CreateCustomerPaymentCardAudition$inboundSchema;
|
|
2720
|
+
/**
|
|
2721
|
+
* @internal
|
|
2722
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2723
|
+
*/
|
|
2724
|
+
var CreateCustomerPaymentCardAudition$;
|
|
2725
|
+
(function (CreateCustomerPaymentCardAudition$) {
|
|
2726
|
+
/** @deprecated use `CreateCustomerPaymentCardAudition$inboundSchema` instead. */
|
|
2727
|
+
CreateCustomerPaymentCardAudition$.inboundSchema = exports.CreateCustomerPaymentCardAudition$inboundSchema;
|
|
2728
|
+
/** @deprecated use `CreateCustomerPaymentCardAudition$outboundSchema` instead. */
|
|
2729
|
+
CreateCustomerPaymentCardAudition$.outboundSchema = exports.CreateCustomerPaymentCardAudition$outboundSchema;
|
|
2730
|
+
})(CreateCustomerPaymentCardAudition$ || (exports.CreateCustomerPaymentCardAudition$ = CreateCustomerPaymentCardAudition$ = {}));
|
|
2731
|
+
/** @internal */
|
|
2732
|
+
exports.CreateCustomerPaymentCardLabel$inboundSchema = z.nativeEnum(exports.CreateCustomerPaymentCardLabel);
|
|
2733
|
+
/** @internal */
|
|
2734
|
+
exports.CreateCustomerPaymentCardLabel$outboundSchema = exports.CreateCustomerPaymentCardLabel$inboundSchema;
|
|
2735
|
+
/**
|
|
2736
|
+
* @internal
|
|
2737
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2738
|
+
*/
|
|
2739
|
+
var CreateCustomerPaymentCardLabel$;
|
|
2740
|
+
(function (CreateCustomerPaymentCardLabel$) {
|
|
2741
|
+
/** @deprecated use `CreateCustomerPaymentCardLabel$inboundSchema` instead. */
|
|
2742
|
+
CreateCustomerPaymentCardLabel$.inboundSchema = exports.CreateCustomerPaymentCardLabel$inboundSchema;
|
|
2743
|
+
/** @deprecated use `CreateCustomerPaymentCardLabel$outboundSchema` instead. */
|
|
2744
|
+
CreateCustomerPaymentCardLabel$.outboundSchema = exports.CreateCustomerPaymentCardLabel$outboundSchema;
|
|
2745
|
+
})(CreateCustomerPaymentCardLabel$ || (exports.CreateCustomerPaymentCardLabel$ = CreateCustomerPaymentCardLabel$ = {}));
|
|
2746
|
+
/** @internal */
|
|
2747
|
+
exports.CreateCustomerPaymentCardFunding$inboundSchema = z.nativeEnum(exports.CreateCustomerPaymentCardFunding);
|
|
2748
|
+
/** @internal */
|
|
2749
|
+
exports.CreateCustomerPaymentCardFunding$outboundSchema = exports.CreateCustomerPaymentCardFunding$inboundSchema;
|
|
2750
|
+
/**
|
|
2751
|
+
* @internal
|
|
2752
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2753
|
+
*/
|
|
2754
|
+
var CreateCustomerPaymentCardFunding$;
|
|
2755
|
+
(function (CreateCustomerPaymentCardFunding$) {
|
|
2756
|
+
/** @deprecated use `CreateCustomerPaymentCardFunding$inboundSchema` instead. */
|
|
2757
|
+
CreateCustomerPaymentCardFunding$.inboundSchema = exports.CreateCustomerPaymentCardFunding$inboundSchema;
|
|
2758
|
+
/** @deprecated use `CreateCustomerPaymentCardFunding$outboundSchema` instead. */
|
|
2759
|
+
CreateCustomerPaymentCardFunding$.outboundSchema = exports.CreateCustomerPaymentCardFunding$outboundSchema;
|
|
2760
|
+
})(CreateCustomerPaymentCardFunding$ || (exports.CreateCustomerPaymentCardFunding$ = CreateCustomerPaymentCardFunding$ = {}));
|
|
2761
|
+
/** @internal */
|
|
2762
|
+
exports.CreateCustomerPaymentCardSecurity$inboundSchema = z.nativeEnum(exports.CreateCustomerPaymentCardSecurity);
|
|
2763
|
+
/** @internal */
|
|
2764
|
+
exports.CreateCustomerPaymentCardSecurity$outboundSchema = exports.CreateCustomerPaymentCardSecurity$inboundSchema;
|
|
2765
|
+
/**
|
|
2766
|
+
* @internal
|
|
2767
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2768
|
+
*/
|
|
2769
|
+
var CreateCustomerPaymentCardSecurity$;
|
|
2770
|
+
(function (CreateCustomerPaymentCardSecurity$) {
|
|
2771
|
+
/** @deprecated use `CreateCustomerPaymentCardSecurity$inboundSchema` instead. */
|
|
2772
|
+
CreateCustomerPaymentCardSecurity$.inboundSchema = exports.CreateCustomerPaymentCardSecurity$inboundSchema;
|
|
2773
|
+
/** @deprecated use `CreateCustomerPaymentCardSecurity$outboundSchema` instead. */
|
|
2774
|
+
CreateCustomerPaymentCardSecurity$.outboundSchema = exports.CreateCustomerPaymentCardSecurity$outboundSchema;
|
|
2775
|
+
})(CreateCustomerPaymentCardSecurity$ || (exports.CreateCustomerPaymentCardSecurity$ = CreateCustomerPaymentCardSecurity$ = {}));
|
|
2776
|
+
/** @internal */
|
|
2777
|
+
exports.CreateCustomerPaymentFeeRegion$inboundSchema = z.nativeEnum(exports.CreateCustomerPaymentFeeRegion);
|
|
2778
|
+
/** @internal */
|
|
2779
|
+
exports.CreateCustomerPaymentFeeRegion$outboundSchema = exports.CreateCustomerPaymentFeeRegion$inboundSchema;
|
|
2780
|
+
/**
|
|
2781
|
+
* @internal
|
|
2782
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2783
|
+
*/
|
|
2784
|
+
var CreateCustomerPaymentFeeRegion$;
|
|
2785
|
+
(function (CreateCustomerPaymentFeeRegion$) {
|
|
2786
|
+
/** @deprecated use `CreateCustomerPaymentFeeRegion$inboundSchema` instead. */
|
|
2787
|
+
CreateCustomerPaymentFeeRegion$.inboundSchema = exports.CreateCustomerPaymentFeeRegion$inboundSchema;
|
|
2788
|
+
/** @deprecated use `CreateCustomerPaymentFeeRegion$outboundSchema` instead. */
|
|
2789
|
+
CreateCustomerPaymentFeeRegion$.outboundSchema = exports.CreateCustomerPaymentFeeRegion$outboundSchema;
|
|
2790
|
+
})(CreateCustomerPaymentFeeRegion$ || (exports.CreateCustomerPaymentFeeRegion$ = CreateCustomerPaymentFeeRegion$ = {}));
|
|
2791
|
+
/** @internal */
|
|
2792
|
+
exports.CreateCustomerPaymentFailureReason$inboundSchema = z.nativeEnum(exports.CreateCustomerPaymentFailureReason);
|
|
2793
|
+
/** @internal */
|
|
2794
|
+
exports.CreateCustomerPaymentFailureReason$outboundSchema = exports.CreateCustomerPaymentFailureReason$inboundSchema;
|
|
2795
|
+
/**
|
|
2796
|
+
* @internal
|
|
2797
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2798
|
+
*/
|
|
2799
|
+
var CreateCustomerPaymentFailureReason$;
|
|
2800
|
+
(function (CreateCustomerPaymentFailureReason$) {
|
|
2801
|
+
/** @deprecated use `CreateCustomerPaymentFailureReason$inboundSchema` instead. */
|
|
2802
|
+
CreateCustomerPaymentFailureReason$.inboundSchema = exports.CreateCustomerPaymentFailureReason$inboundSchema;
|
|
2803
|
+
/** @deprecated use `CreateCustomerPaymentFailureReason$outboundSchema` instead. */
|
|
2804
|
+
CreateCustomerPaymentFailureReason$.outboundSchema = exports.CreateCustomerPaymentFailureReason$outboundSchema;
|
|
2805
|
+
})(CreateCustomerPaymentFailureReason$ || (exports.CreateCustomerPaymentFailureReason$ = CreateCustomerPaymentFailureReason$ = {}));
|
|
2806
|
+
/** @internal */
|
|
2807
|
+
exports.CreateCustomerPaymentWallet$inboundSchema = z.nativeEnum(exports.CreateCustomerPaymentWallet);
|
|
2808
|
+
/** @internal */
|
|
2809
|
+
exports.CreateCustomerPaymentWallet$outboundSchema = exports.CreateCustomerPaymentWallet$inboundSchema;
|
|
2810
|
+
/**
|
|
2811
|
+
* @internal
|
|
2812
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2813
|
+
*/
|
|
2814
|
+
var CreateCustomerPaymentWallet$;
|
|
2815
|
+
(function (CreateCustomerPaymentWallet$) {
|
|
2816
|
+
/** @deprecated use `CreateCustomerPaymentWallet$inboundSchema` instead. */
|
|
2817
|
+
CreateCustomerPaymentWallet$.inboundSchema = exports.CreateCustomerPaymentWallet$inboundSchema;
|
|
2818
|
+
/** @deprecated use `CreateCustomerPaymentWallet$outboundSchema` instead. */
|
|
2819
|
+
CreateCustomerPaymentWallet$.outboundSchema = exports.CreateCustomerPaymentWallet$outboundSchema;
|
|
2820
|
+
})(CreateCustomerPaymentWallet$ || (exports.CreateCustomerPaymentWallet$ = CreateCustomerPaymentWallet$ = {}));
|
|
2821
|
+
/** @internal */
|
|
2822
|
+
exports.CreateCustomerPaymentSellerProtection$inboundSchema = z.nativeEnum(exports.CreateCustomerPaymentSellerProtection);
|
|
2823
|
+
/** @internal */
|
|
2824
|
+
exports.CreateCustomerPaymentSellerProtection$outboundSchema = exports.CreateCustomerPaymentSellerProtection$inboundSchema;
|
|
2825
|
+
/**
|
|
2826
|
+
* @internal
|
|
2827
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2828
|
+
*/
|
|
2829
|
+
var CreateCustomerPaymentSellerProtection$;
|
|
2830
|
+
(function (CreateCustomerPaymentSellerProtection$) {
|
|
2831
|
+
/** @deprecated use `CreateCustomerPaymentSellerProtection$inboundSchema` instead. */
|
|
2832
|
+
CreateCustomerPaymentSellerProtection$.inboundSchema = exports.CreateCustomerPaymentSellerProtection$inboundSchema;
|
|
2833
|
+
/** @deprecated use `CreateCustomerPaymentSellerProtection$outboundSchema` instead. */
|
|
2834
|
+
CreateCustomerPaymentSellerProtection$.outboundSchema = exports.CreateCustomerPaymentSellerProtection$outboundSchema;
|
|
2835
|
+
})(CreateCustomerPaymentSellerProtection$ || (exports.CreateCustomerPaymentSellerProtection$ = CreateCustomerPaymentSellerProtection$ = {}));
|
|
2836
|
+
/** @internal */
|
|
2837
|
+
exports.CreateCustomerPaymentPaypalFee$inboundSchema = z.object({
|
|
2838
|
+
currency: z.string(),
|
|
2839
|
+
value: z.string(),
|
|
2840
|
+
});
|
|
2841
|
+
/** @internal */
|
|
2842
|
+
exports.CreateCustomerPaymentPaypalFee$outboundSchema = z.object({
|
|
2843
|
+
currency: z.string(),
|
|
2844
|
+
value: z.string(),
|
|
2845
|
+
});
|
|
2846
|
+
/**
|
|
2847
|
+
* @internal
|
|
2848
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2849
|
+
*/
|
|
2850
|
+
var CreateCustomerPaymentPaypalFee$;
|
|
2851
|
+
(function (CreateCustomerPaymentPaypalFee$) {
|
|
2852
|
+
/** @deprecated use `CreateCustomerPaymentPaypalFee$inboundSchema` instead. */
|
|
2853
|
+
CreateCustomerPaymentPaypalFee$.inboundSchema = exports.CreateCustomerPaymentPaypalFee$inboundSchema;
|
|
2854
|
+
/** @deprecated use `CreateCustomerPaymentPaypalFee$outboundSchema` instead. */
|
|
2855
|
+
CreateCustomerPaymentPaypalFee$.outboundSchema = exports.CreateCustomerPaymentPaypalFee$outboundSchema;
|
|
2856
|
+
})(CreateCustomerPaymentPaypalFee$ || (exports.CreateCustomerPaymentPaypalFee$ = CreateCustomerPaymentPaypalFee$ = {}));
|
|
2857
|
+
function createCustomerPaymentPaypalFeeToJSON(createCustomerPaymentPaypalFee) {
|
|
2858
|
+
return JSON.stringify(exports.CreateCustomerPaymentPaypalFee$outboundSchema.parse(createCustomerPaymentPaypalFee));
|
|
2859
|
+
}
|
|
2860
|
+
function createCustomerPaymentPaypalFeeFromJSON(jsonString) {
|
|
2861
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CreateCustomerPaymentPaypalFee$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreateCustomerPaymentPaypalFee' from JSON`);
|
|
2862
|
+
}
|
|
2863
|
+
/** @internal */
|
|
2864
|
+
exports.CreateCustomerPaymentCardReadMethod$inboundSchema = z.nativeEnum(exports.CreateCustomerPaymentCardReadMethod);
|
|
2865
|
+
/** @internal */
|
|
2866
|
+
exports.CreateCustomerPaymentCardReadMethod$outboundSchema = exports.CreateCustomerPaymentCardReadMethod$inboundSchema;
|
|
2867
|
+
/**
|
|
2868
|
+
* @internal
|
|
2869
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2870
|
+
*/
|
|
2871
|
+
var CreateCustomerPaymentCardReadMethod$;
|
|
2872
|
+
(function (CreateCustomerPaymentCardReadMethod$) {
|
|
2873
|
+
/** @deprecated use `CreateCustomerPaymentCardReadMethod$inboundSchema` instead. */
|
|
2874
|
+
CreateCustomerPaymentCardReadMethod$.inboundSchema = exports.CreateCustomerPaymentCardReadMethod$inboundSchema;
|
|
2875
|
+
/** @deprecated use `CreateCustomerPaymentCardReadMethod$outboundSchema` instead. */
|
|
2876
|
+
CreateCustomerPaymentCardReadMethod$.outboundSchema = exports.CreateCustomerPaymentCardReadMethod$outboundSchema;
|
|
2877
|
+
})(CreateCustomerPaymentCardReadMethod$ || (exports.CreateCustomerPaymentCardReadMethod$ = CreateCustomerPaymentCardReadMethod$ = {}));
|
|
2878
|
+
/** @internal */
|
|
2879
|
+
exports.CreateCustomerPaymentCardVerificationMethod$inboundSchema = z
|
|
2880
|
+
.nativeEnum(exports.CreateCustomerPaymentCardVerificationMethod);
|
|
2881
|
+
/** @internal */
|
|
2882
|
+
exports.CreateCustomerPaymentCardVerificationMethod$outboundSchema = exports.CreateCustomerPaymentCardVerificationMethod$inboundSchema;
|
|
2883
|
+
/**
|
|
2884
|
+
* @internal
|
|
2885
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2886
|
+
*/
|
|
2887
|
+
var CreateCustomerPaymentCardVerificationMethod$;
|
|
2888
|
+
(function (CreateCustomerPaymentCardVerificationMethod$) {
|
|
2889
|
+
/** @deprecated use `CreateCustomerPaymentCardVerificationMethod$inboundSchema` instead. */
|
|
2890
|
+
CreateCustomerPaymentCardVerificationMethod$.inboundSchema = exports.CreateCustomerPaymentCardVerificationMethod$inboundSchema;
|
|
2891
|
+
/** @deprecated use `CreateCustomerPaymentCardVerificationMethod$outboundSchema` instead. */
|
|
2892
|
+
CreateCustomerPaymentCardVerificationMethod$.outboundSchema = exports.CreateCustomerPaymentCardVerificationMethod$outboundSchema;
|
|
2893
|
+
})(CreateCustomerPaymentCardVerificationMethod$ || (exports.CreateCustomerPaymentCardVerificationMethod$ = CreateCustomerPaymentCardVerificationMethod$ = {}));
|
|
2894
|
+
/** @internal */
|
|
2895
|
+
exports.CreateCustomerPaymentReceipt$inboundSchema = z.object({
|
|
2896
|
+
authorizationCode: z.nullable(z.string()).optional(),
|
|
2897
|
+
applicationIdentifier: z.nullable(z.string()).optional(),
|
|
2898
|
+
cardReadMethod: z.nullable(exports.CreateCustomerPaymentCardReadMethod$inboundSchema)
|
|
2899
|
+
.optional(),
|
|
2900
|
+
cardVerificationMethod: z.nullable(exports.CreateCustomerPaymentCardVerificationMethod$inboundSchema).optional(),
|
|
2901
|
+
});
|
|
2902
|
+
/** @internal */
|
|
2903
|
+
exports.CreateCustomerPaymentReceipt$outboundSchema = z.object({
|
|
2904
|
+
authorizationCode: z.nullable(z.string()).optional(),
|
|
2905
|
+
applicationIdentifier: z.nullable(z.string()).optional(),
|
|
2906
|
+
cardReadMethod: z.nullable(exports.CreateCustomerPaymentCardReadMethod$outboundSchema)
|
|
2907
|
+
.optional(),
|
|
2908
|
+
cardVerificationMethod: z.nullable(exports.CreateCustomerPaymentCardVerificationMethod$outboundSchema).optional(),
|
|
2909
|
+
});
|
|
2910
|
+
/**
|
|
2911
|
+
* @internal
|
|
2912
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2913
|
+
*/
|
|
2914
|
+
var CreateCustomerPaymentReceipt$;
|
|
2915
|
+
(function (CreateCustomerPaymentReceipt$) {
|
|
2916
|
+
/** @deprecated use `CreateCustomerPaymentReceipt$inboundSchema` instead. */
|
|
2917
|
+
CreateCustomerPaymentReceipt$.inboundSchema = exports.CreateCustomerPaymentReceipt$inboundSchema;
|
|
2918
|
+
/** @deprecated use `CreateCustomerPaymentReceipt$outboundSchema` instead. */
|
|
2919
|
+
CreateCustomerPaymentReceipt$.outboundSchema = exports.CreateCustomerPaymentReceipt$outboundSchema;
|
|
2920
|
+
})(CreateCustomerPaymentReceipt$ || (exports.CreateCustomerPaymentReceipt$ = CreateCustomerPaymentReceipt$ = {}));
|
|
2921
|
+
function createCustomerPaymentReceiptToJSON(createCustomerPaymentReceipt) {
|
|
2922
|
+
return JSON.stringify(exports.CreateCustomerPaymentReceipt$outboundSchema.parse(createCustomerPaymentReceipt));
|
|
2923
|
+
}
|
|
2924
|
+
function createCustomerPaymentReceiptFromJSON(jsonString) {
|
|
2925
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CreateCustomerPaymentReceipt$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreateCustomerPaymentReceipt' from JSON`);
|
|
2926
|
+
}
|
|
2927
|
+
/** @internal */
|
|
2928
|
+
exports.CreateCustomerPaymentQrCode$inboundSchema = z.object({
|
|
2929
|
+
height: z.number().int().optional(),
|
|
2930
|
+
width: z.number().int().optional(),
|
|
2931
|
+
src: z.string().optional(),
|
|
2932
|
+
});
|
|
2933
|
+
/** @internal */
|
|
2934
|
+
exports.CreateCustomerPaymentQrCode$outboundSchema = z.object({
|
|
2935
|
+
height: z.number().int().optional(),
|
|
2936
|
+
width: z.number().int().optional(),
|
|
2937
|
+
src: z.string().optional(),
|
|
2938
|
+
});
|
|
2939
|
+
/**
|
|
2940
|
+
* @internal
|
|
2941
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2942
|
+
*/
|
|
2943
|
+
var CreateCustomerPaymentQrCode$;
|
|
2944
|
+
(function (CreateCustomerPaymentQrCode$) {
|
|
2945
|
+
/** @deprecated use `CreateCustomerPaymentQrCode$inboundSchema` instead. */
|
|
2946
|
+
CreateCustomerPaymentQrCode$.inboundSchema = exports.CreateCustomerPaymentQrCode$inboundSchema;
|
|
2947
|
+
/** @deprecated use `CreateCustomerPaymentQrCode$outboundSchema` instead. */
|
|
2948
|
+
CreateCustomerPaymentQrCode$.outboundSchema = exports.CreateCustomerPaymentQrCode$outboundSchema;
|
|
2949
|
+
})(CreateCustomerPaymentQrCode$ || (exports.CreateCustomerPaymentQrCode$ = CreateCustomerPaymentQrCode$ = {}));
|
|
2950
|
+
function createCustomerPaymentQrCodeToJSON(createCustomerPaymentQrCode) {
|
|
2951
|
+
return JSON.stringify(exports.CreateCustomerPaymentQrCode$outboundSchema.parse(createCustomerPaymentQrCode));
|
|
2952
|
+
}
|
|
2953
|
+
function createCustomerPaymentQrCodeFromJSON(jsonString) {
|
|
2954
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CreateCustomerPaymentQrCode$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreateCustomerPaymentQrCode' from JSON`);
|
|
2955
|
+
}
|
|
2956
|
+
/** @internal */
|
|
2957
|
+
exports.CreateCustomerPaymentRemainderAmount$inboundSchema = z.object({
|
|
2958
|
+
currency: z.string(),
|
|
2959
|
+
value: z.string(),
|
|
2960
|
+
});
|
|
2961
|
+
/** @internal */
|
|
2962
|
+
exports.CreateCustomerPaymentRemainderAmount$outboundSchema = z.object({
|
|
2963
|
+
currency: z.string(),
|
|
2964
|
+
value: z.string(),
|
|
2965
|
+
});
|
|
2966
|
+
/**
|
|
2967
|
+
* @internal
|
|
2968
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2969
|
+
*/
|
|
2970
|
+
var CreateCustomerPaymentRemainderAmount$;
|
|
2971
|
+
(function (CreateCustomerPaymentRemainderAmount$) {
|
|
2972
|
+
/** @deprecated use `CreateCustomerPaymentRemainderAmount$inboundSchema` instead. */
|
|
2973
|
+
CreateCustomerPaymentRemainderAmount$.inboundSchema = exports.CreateCustomerPaymentRemainderAmount$inboundSchema;
|
|
2974
|
+
/** @deprecated use `CreateCustomerPaymentRemainderAmount$outboundSchema` instead. */
|
|
2975
|
+
CreateCustomerPaymentRemainderAmount$.outboundSchema = exports.CreateCustomerPaymentRemainderAmount$outboundSchema;
|
|
2976
|
+
})(CreateCustomerPaymentRemainderAmount$ || (exports.CreateCustomerPaymentRemainderAmount$ = CreateCustomerPaymentRemainderAmount$ = {}));
|
|
2977
|
+
function createCustomerPaymentRemainderAmountToJSON(createCustomerPaymentRemainderAmount) {
|
|
2978
|
+
return JSON.stringify(exports.CreateCustomerPaymentRemainderAmount$outboundSchema.parse(createCustomerPaymentRemainderAmount));
|
|
2979
|
+
}
|
|
2980
|
+
function createCustomerPaymentRemainderAmountFromJSON(jsonString) {
|
|
2981
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CreateCustomerPaymentRemainderAmount$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreateCustomerPaymentRemainderAmount' from JSON`);
|
|
2982
|
+
}
|
|
2983
|
+
/** @internal */
|
|
2984
|
+
exports.CreateCustomerPaymentDetails$inboundSchema = z.object({
|
|
2985
|
+
consumerName: z.nullable(z.string()).optional(),
|
|
2986
|
+
consumerAccount: z.nullable(z.string()).optional(),
|
|
2987
|
+
consumerBic: z.nullable(z.string()).optional(),
|
|
2988
|
+
shippingAddress: z.nullable(z.record(z.any())).optional(),
|
|
2989
|
+
cardNumber: z.nullable(z.string()).optional(),
|
|
2990
|
+
bankName: z.string().optional(),
|
|
2991
|
+
bankAccount: z.string().optional(),
|
|
2992
|
+
bankBic: z.string().optional(),
|
|
2993
|
+
transferReference: z.nullable(z.string()).optional(),
|
|
2994
|
+
cardFingerprint: z.nullable(z.string()).optional(),
|
|
2995
|
+
cardHolder: z.nullable(z.string()).optional(),
|
|
2996
|
+
cardAudition: z.nullable(exports.CreateCustomerPaymentCardAudition$inboundSchema)
|
|
2997
|
+
.optional(),
|
|
2998
|
+
cardLabel: z.nullable(exports.CreateCustomerPaymentCardLabel$inboundSchema)
|
|
2999
|
+
.optional(),
|
|
3000
|
+
cardCountryCode: z.nullable(z.string()).optional(),
|
|
3001
|
+
cardExpiryDate: z.nullable(z.string()).optional(),
|
|
3002
|
+
cardFunding: z.nullable(exports.CreateCustomerPaymentCardFunding$inboundSchema)
|
|
3003
|
+
.optional(),
|
|
3004
|
+
cardSecurity: z.nullable(exports.CreateCustomerPaymentCardSecurity$inboundSchema)
|
|
3005
|
+
.optional(),
|
|
3006
|
+
feeRegion: z.nullable(exports.CreateCustomerPaymentFeeRegion$inboundSchema)
|
|
3007
|
+
.optional(),
|
|
3008
|
+
cardMaskedNumber: z.nullable(z.string()).optional(),
|
|
3009
|
+
card3dsEci: z.nullable(z.string()).optional(),
|
|
3010
|
+
cardBin: z.nullable(z.string()).optional(),
|
|
3011
|
+
cardIssuer: z.nullable(z.string()).optional(),
|
|
3012
|
+
failureReason: z.nullable(exports.CreateCustomerPaymentFailureReason$inboundSchema)
|
|
3013
|
+
.optional(),
|
|
3014
|
+
failureMessage: z.nullable(z.string()).optional(),
|
|
3015
|
+
wallet: z.nullable(exports.CreateCustomerPaymentWallet$inboundSchema).optional(),
|
|
3016
|
+
paypalReference: z.nullable(z.string()).optional(),
|
|
3017
|
+
paypalPayerId: z.nullable(z.string()).optional(),
|
|
3018
|
+
sellerProtection: z.nullable(exports.CreateCustomerPaymentSellerProtection$inboundSchema).optional(),
|
|
3019
|
+
paypalFee: z.nullable(z.lazy(() => exports.CreateCustomerPaymentPaypalFee$inboundSchema)).optional(),
|
|
3020
|
+
customerReference: z.string().optional(),
|
|
3021
|
+
terminalId: z.string().optional(),
|
|
3022
|
+
maskedNumber: z.nullable(z.string()).optional(),
|
|
3023
|
+
receipt: z.lazy(() => exports.CreateCustomerPaymentReceipt$inboundSchema).optional(),
|
|
3024
|
+
creditorIdentifier: z.nullable(z.string()).optional(),
|
|
3025
|
+
dueDate: z.nullable(z.string().transform(v => new rfcdate_js_1.RFCDate(v))).optional(),
|
|
3026
|
+
signatureDate: z.nullable(z.string().transform(v => new rfcdate_js_1.RFCDate(v)))
|
|
3027
|
+
.optional(),
|
|
3028
|
+
bankReasonCode: z.nullable(z.string()).optional(),
|
|
3029
|
+
bankReason: z.nullable(z.string()).optional(),
|
|
3030
|
+
endToEndIdentifier: z.nullable(z.string()).optional(),
|
|
3031
|
+
mandateReference: z.nullable(z.string()).optional(),
|
|
3032
|
+
batchReference: z.nullable(z.string()).optional(),
|
|
3033
|
+
fileReference: z.nullable(z.string()).optional(),
|
|
3034
|
+
qrCode: z.lazy(() => exports.CreateCustomerPaymentQrCode$inboundSchema).optional(),
|
|
3035
|
+
voucherNumber: z.string().optional(),
|
|
3036
|
+
giftcards: z.array(z.record(z.any())).optional(),
|
|
3037
|
+
issuer: z.string().optional(),
|
|
3038
|
+
vouchers: z.array(z.record(z.any())).optional(),
|
|
3039
|
+
remainderAmount: z.lazy(() => exports.CreateCustomerPaymentRemainderAmount$inboundSchema).optional(),
|
|
3040
|
+
remainderMethod: z.string().optional(),
|
|
3041
|
+
remainderDetails: z.record(z.any()).optional(),
|
|
3042
|
+
});
|
|
3043
|
+
/** @internal */
|
|
3044
|
+
exports.CreateCustomerPaymentDetails$outboundSchema = z.object({
|
|
3045
|
+
consumerName: z.nullable(z.string()).optional(),
|
|
3046
|
+
consumerAccount: z.nullable(z.string()).optional(),
|
|
3047
|
+
consumerBic: z.nullable(z.string()).optional(),
|
|
3048
|
+
shippingAddress: z.nullable(z.record(z.any())).optional(),
|
|
3049
|
+
cardNumber: z.nullable(z.string()).optional(),
|
|
3050
|
+
bankName: z.string().optional(),
|
|
3051
|
+
bankAccount: z.string().optional(),
|
|
3052
|
+
bankBic: z.string().optional(),
|
|
3053
|
+
transferReference: z.nullable(z.string()).optional(),
|
|
3054
|
+
cardFingerprint: z.nullable(z.string()).optional(),
|
|
3055
|
+
cardHolder: z.nullable(z.string()).optional(),
|
|
3056
|
+
cardAudition: z.nullable(exports.CreateCustomerPaymentCardAudition$outboundSchema)
|
|
3057
|
+
.optional(),
|
|
3058
|
+
cardLabel: z.nullable(exports.CreateCustomerPaymentCardLabel$outboundSchema)
|
|
3059
|
+
.optional(),
|
|
3060
|
+
cardCountryCode: z.nullable(z.string()).optional(),
|
|
3061
|
+
cardExpiryDate: z.nullable(z.string()).optional(),
|
|
3062
|
+
cardFunding: z.nullable(exports.CreateCustomerPaymentCardFunding$outboundSchema)
|
|
3063
|
+
.optional(),
|
|
3064
|
+
cardSecurity: z.nullable(exports.CreateCustomerPaymentCardSecurity$outboundSchema)
|
|
3065
|
+
.optional(),
|
|
3066
|
+
feeRegion: z.nullable(exports.CreateCustomerPaymentFeeRegion$outboundSchema)
|
|
3067
|
+
.optional(),
|
|
3068
|
+
cardMaskedNumber: z.nullable(z.string()).optional(),
|
|
3069
|
+
card3dsEci: z.nullable(z.string()).optional(),
|
|
3070
|
+
cardBin: z.nullable(z.string()).optional(),
|
|
3071
|
+
cardIssuer: z.nullable(z.string()).optional(),
|
|
3072
|
+
failureReason: z.nullable(exports.CreateCustomerPaymentFailureReason$outboundSchema)
|
|
3073
|
+
.optional(),
|
|
3074
|
+
failureMessage: z.nullable(z.string()).optional(),
|
|
3075
|
+
wallet: z.nullable(exports.CreateCustomerPaymentWallet$outboundSchema).optional(),
|
|
3076
|
+
paypalReference: z.nullable(z.string()).optional(),
|
|
3077
|
+
paypalPayerId: z.nullable(z.string()).optional(),
|
|
3078
|
+
sellerProtection: z.nullable(exports.CreateCustomerPaymentSellerProtection$outboundSchema).optional(),
|
|
3079
|
+
paypalFee: z.nullable(z.lazy(() => exports.CreateCustomerPaymentPaypalFee$outboundSchema)).optional(),
|
|
3080
|
+
customerReference: z.string().optional(),
|
|
3081
|
+
terminalId: z.string().optional(),
|
|
3082
|
+
maskedNumber: z.nullable(z.string()).optional(),
|
|
3083
|
+
receipt: z.lazy(() => exports.CreateCustomerPaymentReceipt$outboundSchema).optional(),
|
|
3084
|
+
creditorIdentifier: z.nullable(z.string()).optional(),
|
|
3085
|
+
dueDate: z.nullable(z.instanceof(rfcdate_js_1.RFCDate).transform(v => v.toString()))
|
|
3086
|
+
.optional(),
|
|
3087
|
+
signatureDate: z.nullable(z.instanceof(rfcdate_js_1.RFCDate).transform(v => v.toString()))
|
|
3088
|
+
.optional(),
|
|
3089
|
+
bankReasonCode: z.nullable(z.string()).optional(),
|
|
3090
|
+
bankReason: z.nullable(z.string()).optional(),
|
|
3091
|
+
endToEndIdentifier: z.nullable(z.string()).optional(),
|
|
3092
|
+
mandateReference: z.nullable(z.string()).optional(),
|
|
3093
|
+
batchReference: z.nullable(z.string()).optional(),
|
|
3094
|
+
fileReference: z.nullable(z.string()).optional(),
|
|
3095
|
+
qrCode: z.lazy(() => exports.CreateCustomerPaymentQrCode$outboundSchema).optional(),
|
|
3096
|
+
voucherNumber: z.string().optional(),
|
|
3097
|
+
giftcards: z.array(z.record(z.any())).optional(),
|
|
3098
|
+
issuer: z.string().optional(),
|
|
3099
|
+
vouchers: z.array(z.record(z.any())).optional(),
|
|
3100
|
+
remainderAmount: z.lazy(() => exports.CreateCustomerPaymentRemainderAmount$outboundSchema).optional(),
|
|
3101
|
+
remainderMethod: z.string().optional(),
|
|
3102
|
+
remainderDetails: z.record(z.any()).optional(),
|
|
3103
|
+
});
|
|
3104
|
+
/**
|
|
3105
|
+
* @internal
|
|
3106
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3107
|
+
*/
|
|
3108
|
+
var CreateCustomerPaymentDetails$;
|
|
3109
|
+
(function (CreateCustomerPaymentDetails$) {
|
|
3110
|
+
/** @deprecated use `CreateCustomerPaymentDetails$inboundSchema` instead. */
|
|
3111
|
+
CreateCustomerPaymentDetails$.inboundSchema = exports.CreateCustomerPaymentDetails$inboundSchema;
|
|
3112
|
+
/** @deprecated use `CreateCustomerPaymentDetails$outboundSchema` instead. */
|
|
3113
|
+
CreateCustomerPaymentDetails$.outboundSchema = exports.CreateCustomerPaymentDetails$outboundSchema;
|
|
3114
|
+
})(CreateCustomerPaymentDetails$ || (exports.CreateCustomerPaymentDetails$ = CreateCustomerPaymentDetails$ = {}));
|
|
3115
|
+
function createCustomerPaymentDetailsToJSON(createCustomerPaymentDetails) {
|
|
3116
|
+
return JSON.stringify(exports.CreateCustomerPaymentDetails$outboundSchema.parse(createCustomerPaymentDetails));
|
|
3117
|
+
}
|
|
3118
|
+
function createCustomerPaymentDetailsFromJSON(jsonString) {
|
|
3119
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CreateCustomerPaymentDetails$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreateCustomerPaymentDetails' from JSON`);
|
|
3120
|
+
}
|
|
3121
|
+
/** @internal */
|
|
2389
3122
|
exports.CreateCustomerPaymentSelfResponse$inboundSchema = z.object({
|
|
2390
3123
|
href: z.string(),
|
|
2391
3124
|
type: z.string(),
|
|
@@ -2791,6 +3524,60 @@ function createCustomerPaymentDocumentationFromJSON(jsonString) {
|
|
|
2791
3524
|
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CreateCustomerPaymentDocumentation$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreateCustomerPaymentDocumentation' from JSON`);
|
|
2792
3525
|
}
|
|
2793
3526
|
/** @internal */
|
|
3527
|
+
exports.CreateCustomerPaymentLinksStatus$inboundSchema = z.object({
|
|
3528
|
+
href: z.string(),
|
|
3529
|
+
type: z.string(),
|
|
3530
|
+
});
|
|
3531
|
+
/** @internal */
|
|
3532
|
+
exports.CreateCustomerPaymentLinksStatus$outboundSchema = z.object({
|
|
3533
|
+
href: z.string(),
|
|
3534
|
+
type: z.string(),
|
|
3535
|
+
});
|
|
3536
|
+
/**
|
|
3537
|
+
* @internal
|
|
3538
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3539
|
+
*/
|
|
3540
|
+
var CreateCustomerPaymentLinksStatus$;
|
|
3541
|
+
(function (CreateCustomerPaymentLinksStatus$) {
|
|
3542
|
+
/** @deprecated use `CreateCustomerPaymentLinksStatus$inboundSchema` instead. */
|
|
3543
|
+
CreateCustomerPaymentLinksStatus$.inboundSchema = exports.CreateCustomerPaymentLinksStatus$inboundSchema;
|
|
3544
|
+
/** @deprecated use `CreateCustomerPaymentLinksStatus$outboundSchema` instead. */
|
|
3545
|
+
CreateCustomerPaymentLinksStatus$.outboundSchema = exports.CreateCustomerPaymentLinksStatus$outboundSchema;
|
|
3546
|
+
})(CreateCustomerPaymentLinksStatus$ || (exports.CreateCustomerPaymentLinksStatus$ = CreateCustomerPaymentLinksStatus$ = {}));
|
|
3547
|
+
function createCustomerPaymentLinksStatusToJSON(createCustomerPaymentLinksStatus) {
|
|
3548
|
+
return JSON.stringify(exports.CreateCustomerPaymentLinksStatus$outboundSchema.parse(createCustomerPaymentLinksStatus));
|
|
3549
|
+
}
|
|
3550
|
+
function createCustomerPaymentLinksStatusFromJSON(jsonString) {
|
|
3551
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CreateCustomerPaymentLinksStatus$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreateCustomerPaymentLinksStatus' from JSON`);
|
|
3552
|
+
}
|
|
3553
|
+
/** @internal */
|
|
3554
|
+
exports.CreateCustomerPaymentPayOnline$inboundSchema = z.object({
|
|
3555
|
+
href: z.string(),
|
|
3556
|
+
type: z.string(),
|
|
3557
|
+
});
|
|
3558
|
+
/** @internal */
|
|
3559
|
+
exports.CreateCustomerPaymentPayOnline$outboundSchema = z.object({
|
|
3560
|
+
href: z.string(),
|
|
3561
|
+
type: z.string(),
|
|
3562
|
+
});
|
|
3563
|
+
/**
|
|
3564
|
+
* @internal
|
|
3565
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3566
|
+
*/
|
|
3567
|
+
var CreateCustomerPaymentPayOnline$;
|
|
3568
|
+
(function (CreateCustomerPaymentPayOnline$) {
|
|
3569
|
+
/** @deprecated use `CreateCustomerPaymentPayOnline$inboundSchema` instead. */
|
|
3570
|
+
CreateCustomerPaymentPayOnline$.inboundSchema = exports.CreateCustomerPaymentPayOnline$inboundSchema;
|
|
3571
|
+
/** @deprecated use `CreateCustomerPaymentPayOnline$outboundSchema` instead. */
|
|
3572
|
+
CreateCustomerPaymentPayOnline$.outboundSchema = exports.CreateCustomerPaymentPayOnline$outboundSchema;
|
|
3573
|
+
})(CreateCustomerPaymentPayOnline$ || (exports.CreateCustomerPaymentPayOnline$ = CreateCustomerPaymentPayOnline$ = {}));
|
|
3574
|
+
function createCustomerPaymentPayOnlineToJSON(createCustomerPaymentPayOnline) {
|
|
3575
|
+
return JSON.stringify(exports.CreateCustomerPaymentPayOnline$outboundSchema.parse(createCustomerPaymentPayOnline));
|
|
3576
|
+
}
|
|
3577
|
+
function createCustomerPaymentPayOnlineFromJSON(jsonString) {
|
|
3578
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CreateCustomerPaymentPayOnline$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreateCustomerPaymentPayOnline' from JSON`);
|
|
3579
|
+
}
|
|
3580
|
+
/** @internal */
|
|
2794
3581
|
exports.CreateCustomerPaymentLinksResponse$inboundSchema = z.object({
|
|
2795
3582
|
self: z.lazy(() => exports.CreateCustomerPaymentSelfResponse$inboundSchema),
|
|
2796
3583
|
checkout: z.lazy(() => exports.CreateCustomerPaymentCheckout$inboundSchema)
|
|
@@ -2815,6 +3602,10 @@ exports.CreateCustomerPaymentLinksResponse$inboundSchema = z.object({
|
|
|
2815
3602
|
.optional(),
|
|
2816
3603
|
documentation: z.lazy(() => exports.CreateCustomerPaymentDocumentation$inboundSchema)
|
|
2817
3604
|
.optional(),
|
|
3605
|
+
status: z.lazy(() => exports.CreateCustomerPaymentLinksStatus$inboundSchema)
|
|
3606
|
+
.optional(),
|
|
3607
|
+
payOnline: z.lazy(() => exports.CreateCustomerPaymentPayOnline$inboundSchema)
|
|
3608
|
+
.optional(),
|
|
2818
3609
|
});
|
|
2819
3610
|
/** @internal */
|
|
2820
3611
|
exports.CreateCustomerPaymentLinksResponse$outboundSchema = z.object({
|
|
@@ -2841,6 +3632,10 @@ exports.CreateCustomerPaymentLinksResponse$outboundSchema = z.object({
|
|
|
2841
3632
|
.optional(),
|
|
2842
3633
|
documentation: z.lazy(() => exports.CreateCustomerPaymentDocumentation$outboundSchema)
|
|
2843
3634
|
.optional(),
|
|
3635
|
+
status: z.lazy(() => exports.CreateCustomerPaymentLinksStatus$outboundSchema)
|
|
3636
|
+
.optional(),
|
|
3637
|
+
payOnline: z.lazy(() => exports.CreateCustomerPaymentPayOnline$outboundSchema)
|
|
3638
|
+
.optional(),
|
|
2844
3639
|
});
|
|
2845
3640
|
/**
|
|
2846
3641
|
* @internal
|
|
@@ -2896,10 +3691,11 @@ exports.CreateCustomerPaymentResponse$inboundSchema = z.object({
|
|
|
2896
3691
|
profileId: z.string(),
|
|
2897
3692
|
settlementId: z.nullable(z.string()).optional(),
|
|
2898
3693
|
orderId: z.nullable(z.string()).optional(),
|
|
2899
|
-
status: exports.
|
|
3694
|
+
status: exports.CreateCustomerPaymentStatusEnum$inboundSchema,
|
|
2900
3695
|
statusReason: z.nullable(z.lazy(() => exports.CreateCustomerPaymentStatusReason$inboundSchema)).optional(),
|
|
2901
3696
|
isCancelable: z.nullable(z.boolean()).optional(),
|
|
2902
|
-
details: z.nullable(z.
|
|
3697
|
+
details: z.nullable(z.lazy(() => exports.CreateCustomerPaymentDetails$inboundSchema))
|
|
3698
|
+
.optional(),
|
|
2903
3699
|
createdAt: z.string(),
|
|
2904
3700
|
authorizedAt: z.nullable(z.string()).optional(),
|
|
2905
3701
|
paidAt: z.nullable(z.string()).optional(),
|
|
@@ -2950,10 +3746,11 @@ exports.CreateCustomerPaymentResponse$outboundSchema = z.object({
|
|
|
2950
3746
|
profileId: z.string(),
|
|
2951
3747
|
settlementId: z.nullable(z.string()).optional(),
|
|
2952
3748
|
orderId: z.nullable(z.string()).optional(),
|
|
2953
|
-
status: exports.
|
|
3749
|
+
status: exports.CreateCustomerPaymentStatusEnum$outboundSchema,
|
|
2954
3750
|
statusReason: z.nullable(z.lazy(() => exports.CreateCustomerPaymentStatusReason$outboundSchema)).optional(),
|
|
2955
3751
|
isCancelable: z.nullable(z.boolean()).optional(),
|
|
2956
|
-
details: z.nullable(z.
|
|
3752
|
+
details: z.nullable(z.lazy(() => exports.CreateCustomerPaymentDetails$outboundSchema))
|
|
3753
|
+
.optional(),
|
|
2957
3754
|
createdAt: z.string(),
|
|
2958
3755
|
authorizedAt: z.nullable(z.string()).optional(),
|
|
2959
3756
|
paidAt: z.nullable(z.string()).optional(),
|