mollie-api-typescript 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/FUNCTIONS.md +13 -0
- package/README.md +84 -0
- package/bin/mcp-server.js +5173 -1638
- package/bin/mcp-server.js.map +47 -46
- package/dist/commonjs/lib/config.d.ts +2 -2
- package/dist/commonjs/lib/config.js +2 -2
- package/dist/commonjs/mcp-server/mcp-server.js +1 -1
- package/dist/commonjs/mcp-server/server.js +1 -1
- package/dist/commonjs/models/operations/cancelpayment.d.ts +1458 -19
- package/dist/commonjs/models/operations/cancelpayment.d.ts.map +1 -1
- package/dist/commonjs/models/operations/cancelpayment.js +755 -20
- package/dist/commonjs/models/operations/cancelpayment.js.map +1 -1
- package/dist/commonjs/models/operations/createcustomerpayment.d.ts +1596 -20
- package/dist/commonjs/models/operations/createcustomerpayment.d.ts.map +1 -1
- package/dist/commonjs/models/operations/createcustomerpayment.js +819 -22
- package/dist/commonjs/models/operations/createcustomerpayment.js.map +1 -1
- package/dist/commonjs/models/operations/createpayment.d.ts +1596 -20
- package/dist/commonjs/models/operations/createpayment.d.ts.map +1 -1
- package/dist/commonjs/models/operations/createpayment.js +810 -22
- package/dist/commonjs/models/operations/createpayment.js.map +1 -1
- package/dist/commonjs/models/operations/createpaymentlink.d.ts +2 -2
- package/dist/commonjs/models/operations/getnextsettlement.d.ts +6 -846
- package/dist/commonjs/models/operations/getnextsettlement.d.ts.map +1 -1
- package/dist/commonjs/models/operations/getnextsettlement.js +3 -586
- package/dist/commonjs/models/operations/getnextsettlement.js.map +1 -1
- package/dist/commonjs/models/operations/getopensettlement.d.ts +6 -846
- package/dist/commonjs/models/operations/getopensettlement.d.ts.map +1 -1
- package/dist/commonjs/models/operations/getopensettlement.js +3 -586
- package/dist/commonjs/models/operations/getopensettlement.js.map +1 -1
- package/dist/commonjs/models/operations/getpayment.d.ts +1458 -19
- package/dist/commonjs/models/operations/getpayment.d.ts.map +1 -1
- package/dist/commonjs/models/operations/getpayment.js +751 -20
- package/dist/commonjs/models/operations/getpayment.js.map +1 -1
- package/dist/commonjs/models/operations/getpaymentlink.d.ts +1 -1
- package/dist/commonjs/models/operations/getpaymentlinkpayments.d.ts +1466 -27
- package/dist/commonjs/models/operations/getpaymentlinkpayments.d.ts.map +1 -1
- package/dist/commonjs/models/operations/getpaymentlinkpayments.js +771 -32
- package/dist/commonjs/models/operations/getpaymentlinkpayments.js.map +1 -1
- package/dist/commonjs/models/operations/getsettlement.d.ts +6 -846
- package/dist/commonjs/models/operations/getsettlement.d.ts.map +1 -1
- package/dist/commonjs/models/operations/getsettlement.js +3 -579
- package/dist/commonjs/models/operations/getsettlement.js.map +1 -1
- package/dist/commonjs/models/operations/getwebhookevent.d.ts +1 -1
- package/dist/commonjs/models/operations/listallchargebacks.d.ts +8 -8
- package/dist/commonjs/models/operations/listallchargebacks.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listallchargebacks.js +8 -14
- package/dist/commonjs/models/operations/listallchargebacks.js.map +1 -1
- package/dist/commonjs/models/operations/listallmethods.d.ts +15 -15
- package/dist/commonjs/models/operations/listallmethods.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listallmethods.js +19 -18
- package/dist/commonjs/models/operations/listallmethods.js.map +1 -1
- package/dist/commonjs/models/operations/listallrefunds.d.ts +8 -8
- package/dist/commonjs/models/operations/listallrefunds.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listallrefunds.js +8 -12
- package/dist/commonjs/models/operations/listallrefunds.js.map +1 -1
- package/dist/commonjs/models/operations/listallsubscriptions.d.ts +8 -8
- package/dist/commonjs/models/operations/listallsubscriptions.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listallsubscriptions.js +8 -13
- package/dist/commonjs/models/operations/listallsubscriptions.js.map +1 -1
- package/dist/commonjs/models/operations/listbalances.d.ts +8 -8
- package/dist/commonjs/models/operations/listbalances.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listbalances.js +8 -12
- package/dist/commonjs/models/operations/listbalances.js.map +1 -1
- package/dist/commonjs/models/operations/listbalancetransactions.d.ts +8 -8
- package/dist/commonjs/models/operations/listbalancetransactions.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listbalancetransactions.js +8 -10
- package/dist/commonjs/models/operations/listbalancetransactions.js.map +1 -1
- package/dist/commonjs/models/operations/listcaptures.d.ts +8 -8
- package/dist/commonjs/models/operations/listcaptures.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listcaptures.js +8 -12
- package/dist/commonjs/models/operations/listcaptures.js.map +1 -1
- package/dist/commonjs/models/operations/listchargebacks.d.ts +8 -8
- package/dist/commonjs/models/operations/listchargebacks.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listchargebacks.js +8 -12
- package/dist/commonjs/models/operations/listchargebacks.js.map +1 -1
- package/dist/commonjs/models/operations/listclients.d.ts +8 -8
- package/dist/commonjs/models/operations/listclients.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listclients.js +8 -12
- package/dist/commonjs/models/operations/listclients.js.map +1 -1
- package/dist/commonjs/models/operations/listcustomerpayments.d.ts +1472 -33
- package/dist/commonjs/models/operations/listcustomerpayments.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listcustomerpayments.js +776 -42
- package/dist/commonjs/models/operations/listcustomerpayments.js.map +1 -1
- package/dist/commonjs/models/operations/listcustomers.d.ts +8 -8
- package/dist/commonjs/models/operations/listcustomers.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listcustomers.js +8 -12
- package/dist/commonjs/models/operations/listcustomers.js.map +1 -1
- package/dist/commonjs/models/operations/listinvoices.d.ts +8 -8
- package/dist/commonjs/models/operations/listinvoices.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listinvoices.js +8 -12
- package/dist/commonjs/models/operations/listinvoices.js.map +1 -1
- package/dist/commonjs/models/operations/listmandates.d.ts +8 -8
- package/dist/commonjs/models/operations/listmandates.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listmandates.js +8 -12
- package/dist/commonjs/models/operations/listmandates.js.map +1 -1
- package/dist/commonjs/models/operations/listpaymentlinks.d.ts +9 -9
- package/dist/commonjs/models/operations/listpaymentlinks.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listpaymentlinks.js +8 -13
- package/dist/commonjs/models/operations/listpaymentlinks.js.map +1 -1
- package/dist/commonjs/models/operations/listpayments.d.ts +1472 -33
- package/dist/commonjs/models/operations/listpayments.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listpayments.js +768 -39
- package/dist/commonjs/models/operations/listpayments.js.map +1 -1
- package/dist/commonjs/models/operations/listprofiles.d.ts +8 -8
- package/dist/commonjs/models/operations/listprofiles.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listprofiles.js +8 -12
- package/dist/commonjs/models/operations/listprofiles.js.map +1 -1
- package/dist/commonjs/models/operations/listrefunds.d.ts +8 -8
- package/dist/commonjs/models/operations/listrefunds.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listrefunds.js +8 -12
- package/dist/commonjs/models/operations/listrefunds.js.map +1 -1
- package/dist/commonjs/models/operations/listsalesinvoices.d.ts +8 -8
- package/dist/commonjs/models/operations/listsalesinvoices.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listsalesinvoices.js +8 -14
- package/dist/commonjs/models/operations/listsalesinvoices.js.map +1 -1
- package/dist/commonjs/models/operations/listsettlementcaptures.d.ts +8 -8
- package/dist/commonjs/models/operations/listsettlementcaptures.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listsettlementcaptures.js +8 -11
- package/dist/commonjs/models/operations/listsettlementcaptures.js.map +1 -1
- package/dist/commonjs/models/operations/listsettlementchargebacks.d.ts +8 -8
- package/dist/commonjs/models/operations/listsettlementchargebacks.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listsettlementchargebacks.js +8 -10
- package/dist/commonjs/models/operations/listsettlementchargebacks.js.map +1 -1
- package/dist/commonjs/models/operations/listsettlementpayments.d.ts +1472 -33
- package/dist/commonjs/models/operations/listsettlementpayments.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listsettlementpayments.js +777 -40
- package/dist/commonjs/models/operations/listsettlementpayments.js.map +1 -1
- package/dist/commonjs/models/operations/listsettlementrefunds.d.ts +8 -8
- package/dist/commonjs/models/operations/listsettlementrefunds.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listsettlementrefunds.js +8 -12
- package/dist/commonjs/models/operations/listsettlementrefunds.js.map +1 -1
- package/dist/commonjs/models/operations/listsettlements.d.ts +14 -854
- package/dist/commonjs/models/operations/listsettlements.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listsettlements.js +11 -596
- package/dist/commonjs/models/operations/listsettlements.js.map +1 -1
- package/dist/commonjs/models/operations/listsubscriptionpayments.d.ts +1472 -33
- package/dist/commonjs/models/operations/listsubscriptionpayments.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listsubscriptionpayments.js +777 -39
- package/dist/commonjs/models/operations/listsubscriptionpayments.js.map +1 -1
- package/dist/commonjs/models/operations/listsubscriptions.d.ts +8 -8
- package/dist/commonjs/models/operations/listsubscriptions.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listsubscriptions.js +8 -14
- package/dist/commonjs/models/operations/listsubscriptions.js.map +1 -1
- package/dist/commonjs/models/operations/listterminals.d.ts +8 -8
- package/dist/commonjs/models/operations/listterminals.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listterminals.js +8 -12
- package/dist/commonjs/models/operations/listterminals.js.map +1 -1
- package/dist/commonjs/models/operations/listwebhooks.d.ts +8 -8
- package/dist/commonjs/models/operations/listwebhooks.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listwebhooks.js +8 -12
- package/dist/commonjs/models/operations/listwebhooks.js.map +1 -1
- package/dist/commonjs/models/operations/updatepayment.d.ts +1458 -19
- package/dist/commonjs/models/operations/updatepayment.d.ts.map +1 -1
- package/dist/commonjs/models/operations/updatepayment.js +755 -21
- package/dist/commonjs/models/operations/updatepayment.js.map +1 -1
- package/dist/commonjs/models/operations/updatepaymentlink.d.ts +2 -2
- package/dist/esm/lib/config.d.ts +2 -2
- package/dist/esm/lib/config.js +2 -2
- package/dist/esm/mcp-server/mcp-server.js +1 -1
- package/dist/esm/mcp-server/server.js +1 -1
- package/dist/esm/models/operations/cancelpayment.d.ts +1458 -19
- package/dist/esm/models/operations/cancelpayment.d.ts.map +1 -1
- package/dist/esm/models/operations/cancelpayment.js +735 -16
- package/dist/esm/models/operations/cancelpayment.js.map +1 -1
- package/dist/esm/models/operations/createcustomerpayment.d.ts +1596 -20
- package/dist/esm/models/operations/createcustomerpayment.d.ts.map +1 -1
- package/dist/esm/models/operations/createcustomerpayment.js +796 -16
- package/dist/esm/models/operations/createcustomerpayment.js.map +1 -1
- package/dist/esm/models/operations/createpayment.d.ts +1596 -20
- package/dist/esm/models/operations/createpayment.d.ts.map +1 -1
- package/dist/esm/models/operations/createpayment.js +787 -16
- package/dist/esm/models/operations/createpayment.js.map +1 -1
- package/dist/esm/models/operations/createpaymentlink.d.ts +2 -2
- package/dist/esm/models/operations/getnextsettlement.d.ts +6 -846
- package/dist/esm/models/operations/getnextsettlement.d.ts.map +1 -1
- package/dist/esm/models/operations/getnextsettlement.js +2 -556
- package/dist/esm/models/operations/getnextsettlement.js.map +1 -1
- package/dist/esm/models/operations/getopensettlement.d.ts +6 -846
- package/dist/esm/models/operations/getopensettlement.d.ts.map +1 -1
- package/dist/esm/models/operations/getopensettlement.js +2 -556
- package/dist/esm/models/operations/getopensettlement.js.map +1 -1
- package/dist/esm/models/operations/getpayment.d.ts +1458 -19
- package/dist/esm/models/operations/getpayment.d.ts.map +1 -1
- package/dist/esm/models/operations/getpayment.js +731 -16
- package/dist/esm/models/operations/getpayment.js.map +1 -1
- package/dist/esm/models/operations/getpaymentlink.d.ts +1 -1
- package/dist/esm/models/operations/getpaymentlinkpayments.d.ts +1466 -27
- package/dist/esm/models/operations/getpaymentlinkpayments.d.ts.map +1 -1
- package/dist/esm/models/operations/getpaymentlinkpayments.js +751 -27
- package/dist/esm/models/operations/getpaymentlinkpayments.js.map +1 -1
- package/dist/esm/models/operations/getsettlement.d.ts +6 -846
- package/dist/esm/models/operations/getsettlement.d.ts.map +1 -1
- package/dist/esm/models/operations/getsettlement.js +2 -549
- package/dist/esm/models/operations/getsettlement.js.map +1 -1
- package/dist/esm/models/operations/getwebhookevent.d.ts +1 -1
- package/dist/esm/models/operations/listallchargebacks.d.ts +8 -8
- package/dist/esm/models/operations/listallchargebacks.d.ts.map +1 -1
- package/dist/esm/models/operations/listallchargebacks.js +8 -14
- package/dist/esm/models/operations/listallchargebacks.js.map +1 -1
- package/dist/esm/models/operations/listallmethods.d.ts +15 -15
- package/dist/esm/models/operations/listallmethods.d.ts.map +1 -1
- package/dist/esm/models/operations/listallmethods.js +16 -15
- package/dist/esm/models/operations/listallmethods.js.map +1 -1
- package/dist/esm/models/operations/listallrefunds.d.ts +8 -8
- package/dist/esm/models/operations/listallrefunds.d.ts.map +1 -1
- package/dist/esm/models/operations/listallrefunds.js +8 -12
- package/dist/esm/models/operations/listallrefunds.js.map +1 -1
- package/dist/esm/models/operations/listallsubscriptions.d.ts +8 -8
- package/dist/esm/models/operations/listallsubscriptions.d.ts.map +1 -1
- package/dist/esm/models/operations/listallsubscriptions.js +8 -13
- package/dist/esm/models/operations/listallsubscriptions.js.map +1 -1
- package/dist/esm/models/operations/listbalances.d.ts +8 -8
- package/dist/esm/models/operations/listbalances.d.ts.map +1 -1
- package/dist/esm/models/operations/listbalances.js +8 -12
- package/dist/esm/models/operations/listbalances.js.map +1 -1
- package/dist/esm/models/operations/listbalancetransactions.d.ts +8 -8
- package/dist/esm/models/operations/listbalancetransactions.d.ts.map +1 -1
- package/dist/esm/models/operations/listbalancetransactions.js +8 -10
- package/dist/esm/models/operations/listbalancetransactions.js.map +1 -1
- package/dist/esm/models/operations/listcaptures.d.ts +8 -8
- package/dist/esm/models/operations/listcaptures.d.ts.map +1 -1
- package/dist/esm/models/operations/listcaptures.js +8 -12
- package/dist/esm/models/operations/listcaptures.js.map +1 -1
- package/dist/esm/models/operations/listchargebacks.d.ts +8 -8
- package/dist/esm/models/operations/listchargebacks.d.ts.map +1 -1
- package/dist/esm/models/operations/listchargebacks.js +8 -12
- package/dist/esm/models/operations/listchargebacks.js.map +1 -1
- package/dist/esm/models/operations/listclients.d.ts +8 -8
- package/dist/esm/models/operations/listclients.d.ts.map +1 -1
- package/dist/esm/models/operations/listclients.js +8 -12
- package/dist/esm/models/operations/listclients.js.map +1 -1
- package/dist/esm/models/operations/listcustomerpayments.d.ts +1472 -33
- package/dist/esm/models/operations/listcustomerpayments.d.ts.map +1 -1
- package/dist/esm/models/operations/listcustomerpayments.js +756 -37
- package/dist/esm/models/operations/listcustomerpayments.js.map +1 -1
- package/dist/esm/models/operations/listcustomers.d.ts +8 -8
- package/dist/esm/models/operations/listcustomers.d.ts.map +1 -1
- package/dist/esm/models/operations/listcustomers.js +8 -12
- package/dist/esm/models/operations/listcustomers.js.map +1 -1
- package/dist/esm/models/operations/listinvoices.d.ts +8 -8
- package/dist/esm/models/operations/listinvoices.d.ts.map +1 -1
- package/dist/esm/models/operations/listinvoices.js +8 -12
- package/dist/esm/models/operations/listinvoices.js.map +1 -1
- package/dist/esm/models/operations/listmandates.d.ts +8 -8
- package/dist/esm/models/operations/listmandates.d.ts.map +1 -1
- package/dist/esm/models/operations/listmandates.js +8 -12
- package/dist/esm/models/operations/listmandates.js.map +1 -1
- package/dist/esm/models/operations/listpaymentlinks.d.ts +9 -9
- package/dist/esm/models/operations/listpaymentlinks.d.ts.map +1 -1
- package/dist/esm/models/operations/listpaymentlinks.js +8 -13
- package/dist/esm/models/operations/listpaymentlinks.js.map +1 -1
- package/dist/esm/models/operations/listpayments.d.ts +1472 -33
- package/dist/esm/models/operations/listpayments.d.ts.map +1 -1
- package/dist/esm/models/operations/listpayments.js +748 -34
- package/dist/esm/models/operations/listpayments.js.map +1 -1
- package/dist/esm/models/operations/listprofiles.d.ts +8 -8
- package/dist/esm/models/operations/listprofiles.d.ts.map +1 -1
- package/dist/esm/models/operations/listprofiles.js +8 -12
- package/dist/esm/models/operations/listprofiles.js.map +1 -1
- package/dist/esm/models/operations/listrefunds.d.ts +8 -8
- package/dist/esm/models/operations/listrefunds.d.ts.map +1 -1
- package/dist/esm/models/operations/listrefunds.js +8 -12
- package/dist/esm/models/operations/listrefunds.js.map +1 -1
- package/dist/esm/models/operations/listsalesinvoices.d.ts +8 -8
- package/dist/esm/models/operations/listsalesinvoices.d.ts.map +1 -1
- package/dist/esm/models/operations/listsalesinvoices.js +8 -14
- package/dist/esm/models/operations/listsalesinvoices.js.map +1 -1
- package/dist/esm/models/operations/listsettlementcaptures.d.ts +8 -8
- package/dist/esm/models/operations/listsettlementcaptures.d.ts.map +1 -1
- package/dist/esm/models/operations/listsettlementcaptures.js +8 -11
- package/dist/esm/models/operations/listsettlementcaptures.js.map +1 -1
- package/dist/esm/models/operations/listsettlementchargebacks.d.ts +8 -8
- package/dist/esm/models/operations/listsettlementchargebacks.d.ts.map +1 -1
- package/dist/esm/models/operations/listsettlementchargebacks.js +8 -10
- package/dist/esm/models/operations/listsettlementchargebacks.js.map +1 -1
- package/dist/esm/models/operations/listsettlementpayments.d.ts +1472 -33
- package/dist/esm/models/operations/listsettlementpayments.d.ts.map +1 -1
- package/dist/esm/models/operations/listsettlementpayments.js +757 -35
- package/dist/esm/models/operations/listsettlementpayments.js.map +1 -1
- package/dist/esm/models/operations/listsettlementrefunds.d.ts +8 -8
- package/dist/esm/models/operations/listsettlementrefunds.d.ts.map +1 -1
- package/dist/esm/models/operations/listsettlementrefunds.js +8 -12
- package/dist/esm/models/operations/listsettlementrefunds.js.map +1 -1
- package/dist/esm/models/operations/listsettlements.d.ts +14 -854
- package/dist/esm/models/operations/listsettlements.d.ts.map +1 -1
- package/dist/esm/models/operations/listsettlements.js +10 -566
- package/dist/esm/models/operations/listsettlements.js.map +1 -1
- package/dist/esm/models/operations/listsubscriptionpayments.d.ts +1472 -33
- package/dist/esm/models/operations/listsubscriptionpayments.d.ts.map +1 -1
- package/dist/esm/models/operations/listsubscriptionpayments.js +757 -34
- package/dist/esm/models/operations/listsubscriptionpayments.js.map +1 -1
- package/dist/esm/models/operations/listsubscriptions.d.ts +8 -8
- package/dist/esm/models/operations/listsubscriptions.d.ts.map +1 -1
- package/dist/esm/models/operations/listsubscriptions.js +8 -14
- package/dist/esm/models/operations/listsubscriptions.js.map +1 -1
- package/dist/esm/models/operations/listterminals.d.ts +8 -8
- package/dist/esm/models/operations/listterminals.d.ts.map +1 -1
- package/dist/esm/models/operations/listterminals.js +8 -12
- package/dist/esm/models/operations/listterminals.js.map +1 -1
- package/dist/esm/models/operations/listwebhooks.d.ts +8 -8
- package/dist/esm/models/operations/listwebhooks.d.ts.map +1 -1
- package/dist/esm/models/operations/listwebhooks.js +8 -12
- package/dist/esm/models/operations/listwebhooks.js.map +1 -1
- package/dist/esm/models/operations/updatepayment.d.ts +1458 -19
- package/dist/esm/models/operations/updatepayment.d.ts.map +1 -1
- package/dist/esm/models/operations/updatepayment.js +735 -16
- package/dist/esm/models/operations/updatepayment.js.map +1 -1
- package/dist/esm/models/operations/updatepaymentlink.d.ts +2 -2
- package/docs/sdks/customers/README.md +26 -0
- package/docs/sdks/payments/README.md +26 -0
- package/examples/package-lock.json +1 -1
- package/examples/paymentsCreate.example.ts +14 -0
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/operations/cancelpayment.ts +2821 -1297
- package/src/models/operations/createcustomerpayment.ts +4804 -3036
- package/src/models/operations/createpayment.ts +4484 -2767
- package/src/models/operations/createpaymentlink.ts +2 -2
- package/src/models/operations/getnextsettlement.ts +4 -1290
- package/src/models/operations/getopensettlement.ts +4 -1290
- package/src/models/operations/getpayment.ts +3155 -1650
- package/src/models/operations/getpaymentlink.ts +1 -1
- package/src/models/operations/getpaymentlinkpayments.ts +3426 -1847
- package/src/models/operations/getsettlement.ts +4 -1253
- package/src/models/operations/getwebhookevent.ts +1 -1
- package/src/models/operations/listallchargebacks.ts +16 -22
- package/src/models/operations/listallmethods.ts +27 -34
- package/src/models/operations/listallrefunds.ts +16 -20
- package/src/models/operations/listallsubscriptions.ts +18 -21
- package/src/models/operations/listbalances.ts +16 -20
- package/src/models/operations/listbalancetransactions.ts +16 -18
- package/src/models/operations/listcaptures.ts +16 -20
- package/src/models/operations/listchargebacks.ts +16 -20
- package/src/models/operations/listclients.ts +16 -20
- package/src/models/operations/listcustomerpayments.ts +3408 -1847
- package/src/models/operations/listcustomers.ts +16 -20
- package/src/models/operations/listinvoices.ts +16 -20
- package/src/models/operations/listmandates.ts +16 -20
- package/src/models/operations/listpaymentlinks.ts +17 -22
- package/src/models/operations/listpayments.ts +2971 -1455
- package/src/models/operations/listprofiles.ts +16 -20
- package/src/models/operations/listrefunds.ts +16 -20
- package/src/models/operations/listsalesinvoices.ts +16 -22
- package/src/models/operations/listsettlementcaptures.ts +18 -19
- package/src/models/operations/listsettlementchargebacks.ts +16 -18
- package/src/models/operations/listsettlementpayments.ts +3436 -1859
- package/src/models/operations/listsettlementrefunds.ts +18 -20
- package/src/models/operations/listsettlements.ts +228 -1500
- package/src/models/operations/listsubscriptionpayments.ts +3479 -1875
- package/src/models/operations/listsubscriptions.ts +16 -22
- package/src/models/operations/listterminals.ts +16 -20
- package/src/models/operations/listwebhooks.ts +16 -20
- package/src/models/operations/updatepayment.ts +3437 -1913
- package/src/models/operations/updatepaymentlink.ts +2 -2
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
import * as z from "zod";
|
|
5
5
|
import { remap as remap$ } from "../../lib/primitives.js";
|
|
6
6
|
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { RFCDate } from "../../types/rfcdate.js";
|
|
7
8
|
/**
|
|
8
9
|
* Used for setting the direction of the result set. Defaults to descending order, meaning the results are ordered from
|
|
9
10
|
*
|
|
@@ -187,7 +188,7 @@ export const ListSubscriptionPaymentsSequenceType = {
|
|
|
187
188
|
* @remarks
|
|
188
189
|
* statuses occur at what point.
|
|
189
190
|
*/
|
|
190
|
-
export const
|
|
191
|
+
export const ListSubscriptionPaymentsStatusEnum = {
|
|
191
192
|
Open: "open",
|
|
192
193
|
Pending: "pending",
|
|
193
194
|
Authorized: "authorized",
|
|
@@ -196,6 +197,249 @@ export const ListSubscriptionPaymentsStatus = {
|
|
|
196
197
|
Expired: "expired",
|
|
197
198
|
Failed: "failed",
|
|
198
199
|
};
|
|
200
|
+
/**
|
|
201
|
+
* A machine-readable code that indicates the reason for the payment's status.
|
|
202
|
+
*/
|
|
203
|
+
export const ListSubscriptionPaymentsCode = {
|
|
204
|
+
ApprovedOrCompletedSuccessfully: "approved_or_completed_successfully",
|
|
205
|
+
ReferToCardIssuer: "refer_to_card_issuer",
|
|
206
|
+
InvalidMerchant: "invalid_merchant",
|
|
207
|
+
CaptureCard: "capture_card",
|
|
208
|
+
DoNotHonor: "do_not_honor",
|
|
209
|
+
Error: "error",
|
|
210
|
+
PartialApproval: "partial_approval",
|
|
211
|
+
InvalidTransaction: "invalid_transaction",
|
|
212
|
+
InvalidAmount: "invalid_amount",
|
|
213
|
+
InvalidIssuer: "invalid_issuer",
|
|
214
|
+
LostCard: "lost_card",
|
|
215
|
+
StolenCard: "stolen_card",
|
|
216
|
+
InsufficientFunds: "insufficient_funds",
|
|
217
|
+
ExpiredCard: "expired_card",
|
|
218
|
+
InvalidPin: "invalid_pin",
|
|
219
|
+
TransactionNotPermittedToCardholder: "transaction_not_permitted_to_cardholder",
|
|
220
|
+
TransactionNotAllowedAtTerminal: "transaction_not_allowed_at_terminal",
|
|
221
|
+
ExceedsWithdrawalAmountLimit: "exceeds_withdrawal_amount_limit",
|
|
222
|
+
RestrictedCard: "restricted_card",
|
|
223
|
+
SecurityViolation: "security_violation",
|
|
224
|
+
ExceedsWithdrawalCountLimit: "exceeds_withdrawal_count_limit",
|
|
225
|
+
AllowableNumberOfPinTriesExceeded: "allowable_number_of_pin_tries_exceeded",
|
|
226
|
+
NoReasonToDecline: "no_reason_to_decline",
|
|
227
|
+
CannotVerifyPin: "cannot_verify_pin",
|
|
228
|
+
IssuerUnavailable: "issuer_unavailable",
|
|
229
|
+
UnableToRouteTransaction: "unable_to_route_transaction",
|
|
230
|
+
DuplicateTransaction: "duplicate_transaction",
|
|
231
|
+
SystemMalfunction: "system_malfunction",
|
|
232
|
+
HonorWithId: "honor_with_id",
|
|
233
|
+
InvalidCardNumber: "invalid_card_number",
|
|
234
|
+
FormatError: "format_error",
|
|
235
|
+
ContactCardIssuer: "contact_card_issuer",
|
|
236
|
+
PinNotChanged: "pin_not_changed",
|
|
237
|
+
InvalidNonexistentToAccountSpecified: "invalid_nonexistent_to_account_specified",
|
|
238
|
+
InvalidNonexistentFromAccountSpecified: "invalid_nonexistent_from_account_specified",
|
|
239
|
+
InvalidNonexistentAccountSpecified: "invalid_nonexistent_account_specified",
|
|
240
|
+
LifecycleRelated: "lifecycle_related",
|
|
241
|
+
DomesticDebitTransactionNotAllowed: "domestic_debit_transaction_not_allowed",
|
|
242
|
+
PolicyRelated: "policy_related",
|
|
243
|
+
FraudSecurityRelated: "fraud_security_related",
|
|
244
|
+
InvalidAuthorizationLifeCycle: "invalid_authorization_life_cycle",
|
|
245
|
+
PurchaseAmountOnlyNoCashBackAllowed: "purchase_amount_only_no_cash_back_allowed",
|
|
246
|
+
CryptographicFailure: "cryptographic_failure",
|
|
247
|
+
UnacceptablePin: "unacceptable_pin",
|
|
248
|
+
ReferToCardIssuerSpecialCondition: "refer_to_card_issuer_special_condition",
|
|
249
|
+
PickUpCardSpecialCondition: "pick_up_card_special_condition",
|
|
250
|
+
VipApproval: "vip_approval",
|
|
251
|
+
InvalidAccountNumber: "invalid_account_number",
|
|
252
|
+
ReEnterTransaction: "re_enter_transaction",
|
|
253
|
+
NoActionTaken: "no_action_taken",
|
|
254
|
+
UnableToLocateRecord: "unable_to_locate_record",
|
|
255
|
+
FileTemporarilyUnavailable: "file_temporarily_unavailable",
|
|
256
|
+
NoCreditAccount: "no_credit_account",
|
|
257
|
+
ClosedAccount: "closed_account",
|
|
258
|
+
NoCheckingAccount: "no_checking_account",
|
|
259
|
+
NoSavingsAccount: "no_savings_account",
|
|
260
|
+
SuspectedFraud: "suspected_fraud",
|
|
261
|
+
TransactionDoesNotFulfillAmlRequirement: "transaction_does_not_fulfill_aml_requirement",
|
|
262
|
+
PinDataRequired: "pin_data_required",
|
|
263
|
+
UnableToLocatePreviousMessage: "unable_to_locate_previous_message",
|
|
264
|
+
PreviousMessageLocatedInconsistentData: "previous_message_located_inconsistent_data",
|
|
265
|
+
BlockedFirstUsed: "blocked_first_used",
|
|
266
|
+
TransactionReversed: "transaction_reversed",
|
|
267
|
+
CreditIssuerUnavailable: "credit_issuer_unavailable",
|
|
268
|
+
PinCryptographicErrorFound: "pin_cryptographic_error_found",
|
|
269
|
+
NegativeOnlineCamResult: "negative_online_cam_result",
|
|
270
|
+
ViolationOfLaw: "violation_of_law",
|
|
271
|
+
ForceStip: "force_stip",
|
|
272
|
+
CashServiceNotAvailable: "cash_service_not_available",
|
|
273
|
+
CashbackRequestExceedsIssuerLimit: "cashback_request_exceeds_issuer_limit",
|
|
274
|
+
DeclineForCvv2Failure: "decline_for_cvv2_failure",
|
|
275
|
+
TransactionAmountExceedsPreAuthorizedAmount: "transaction_amount_exceeds_pre_authorized_amount",
|
|
276
|
+
InvalidBillerInformation: "invalid_biller_information",
|
|
277
|
+
PinChangeUnblockRequestDeclined: "pin_change_unblock_request_declined",
|
|
278
|
+
UnsafePin: "unsafe_pin",
|
|
279
|
+
CardAuthenticationFailed: "card_authentication_failed",
|
|
280
|
+
StopPaymentOrder: "stop_payment_order",
|
|
281
|
+
RevocationOfAuthorization: "revocation_of_authorization",
|
|
282
|
+
RevocationOfAllAuthorizations: "revocation_of_all_authorizations",
|
|
283
|
+
ForwardToIssuerXa: "forward_to_issuer_xa",
|
|
284
|
+
ForwardToIssuerXd: "forward_to_issuer_xd",
|
|
285
|
+
UnableToGoOnline: "unable_to_go_online",
|
|
286
|
+
AdditionalCustomerAuthenticationRequired: "additional_customer_authentication_required",
|
|
287
|
+
MerchantIdNotFound: "merchant_id_not_found",
|
|
288
|
+
MerchantAccountClosed: "merchant_account_closed",
|
|
289
|
+
TerminalIdNotFound: "terminal_id_not_found",
|
|
290
|
+
TerminalClosed: "terminal_closed",
|
|
291
|
+
InvalidCategoryCode: "invalid_category_code",
|
|
292
|
+
InvalidCurrency: "invalid_currency",
|
|
293
|
+
MissingCvv2Cvc2: "missing_cvv2_cvc2",
|
|
294
|
+
Cvv2NotAllowed: "cvv2_not_allowed",
|
|
295
|
+
MerchantNotRegisteredVbv: "merchant_not_registered_vbv",
|
|
296
|
+
MerchantNotRegisteredForAmex: "merchant_not_registered_for_amex",
|
|
297
|
+
TransactionNotPermittedAtTerminal: "transaction_not_permitted_at_terminal",
|
|
298
|
+
AgreementTerminalNotRelated: "agreement_terminal_not_related",
|
|
299
|
+
InvalidProcessorId: "invalid_processor_id",
|
|
300
|
+
InvalidMerchantData: "invalid_merchant_data",
|
|
301
|
+
SubMerchantAccountClosed: "sub_merchant_account_closed",
|
|
302
|
+
TerminalBusy: "terminal_busy",
|
|
303
|
+
TerminalUnreachable: "terminal_unreachable",
|
|
304
|
+
ServiceFailed: "service_failed",
|
|
305
|
+
InvalidOperation: "invalid_operation",
|
|
306
|
+
AuthorizationError: "authorization_error",
|
|
307
|
+
LoginFailedWithoutReason: "login_failed_without_reason",
|
|
308
|
+
InvalidRetailer: "invalid_retailer",
|
|
309
|
+
CardDoesNotExist: "card_does_not_exist",
|
|
310
|
+
CardIsBlocked: "card_is_blocked",
|
|
311
|
+
InvalidCardId: "invalid_card_id",
|
|
312
|
+
CardIsTransferred: "card_is_transferred",
|
|
313
|
+
CardIsNotActive: "card_is_not_active",
|
|
314
|
+
IncorrectPurchaseValue: "incorrect_purchase_value",
|
|
315
|
+
CardNotAvailable: "card_not_available",
|
|
316
|
+
WrongCurrency: "wrong_currency",
|
|
317
|
+
LoginFailedUnknownUser: "login_failed_unknown_user",
|
|
318
|
+
LoginFailedInvalidPassword: "login_failed_invalid_password",
|
|
319
|
+
InvalidEanCode: "invalid_ean_code",
|
|
320
|
+
};
|
|
321
|
+
/**
|
|
322
|
+
* The card's target audience, if known.
|
|
323
|
+
*/
|
|
324
|
+
export const ListSubscriptionPaymentsCardAudition = {
|
|
325
|
+
Consumer: "consumer",
|
|
326
|
+
Business: "business",
|
|
327
|
+
};
|
|
328
|
+
/**
|
|
329
|
+
* The card's label, if known.
|
|
330
|
+
*/
|
|
331
|
+
export const ListSubscriptionPaymentsCardLabel = {
|
|
332
|
+
AmericanExpress: "American Express",
|
|
333
|
+
CartaSi: "Carta Si",
|
|
334
|
+
CarteBleue: "Carte Bleue",
|
|
335
|
+
Dankort: "Dankort",
|
|
336
|
+
DinersClub: "Diners Club",
|
|
337
|
+
Discover: "Discover",
|
|
338
|
+
Jcb: "JCB",
|
|
339
|
+
Laser: "Laser",
|
|
340
|
+
Maestro: "Maestro",
|
|
341
|
+
Mastercard: "Mastercard",
|
|
342
|
+
Unionpay: "Unionpay",
|
|
343
|
+
Visa: "Visa",
|
|
344
|
+
Vpay: "Vpay",
|
|
345
|
+
};
|
|
346
|
+
/**
|
|
347
|
+
* The card type.
|
|
348
|
+
*/
|
|
349
|
+
export const ListSubscriptionPaymentsCardFunding = {
|
|
350
|
+
Debit: "debit",
|
|
351
|
+
Credit: "credit",
|
|
352
|
+
Prepaid: "prepaid",
|
|
353
|
+
DeferredDebit: "deferred-debit",
|
|
354
|
+
};
|
|
355
|
+
/**
|
|
356
|
+
* The level of security applied during card processing.
|
|
357
|
+
*/
|
|
358
|
+
export const ListSubscriptionPaymentsCardSecurity = {
|
|
359
|
+
Normal: "normal",
|
|
360
|
+
Threedsecure: "3dsecure",
|
|
361
|
+
};
|
|
362
|
+
/**
|
|
363
|
+
* The applicable card fee region.
|
|
364
|
+
*/
|
|
365
|
+
export const ListSubscriptionPaymentsFeeRegion = {
|
|
366
|
+
AmericanExpress: "american-express",
|
|
367
|
+
AmexIntraEea: "amex-intra-eea",
|
|
368
|
+
CarteBancaire: "carte-bancaire",
|
|
369
|
+
IntraEu: "intra-eu",
|
|
370
|
+
IntraEuCorporate: "intra-eu-corporate",
|
|
371
|
+
Domestic: "domestic",
|
|
372
|
+
Maestro: "maestro",
|
|
373
|
+
Other: "other",
|
|
374
|
+
Inter: "inter",
|
|
375
|
+
IntraEea: "intra-eea",
|
|
376
|
+
};
|
|
377
|
+
/**
|
|
378
|
+
* A failure code to help understand why the payment failed.
|
|
379
|
+
*/
|
|
380
|
+
export const ListSubscriptionPaymentsFailureReason = {
|
|
381
|
+
AuthenticationAbandoned: "authentication_abandoned",
|
|
382
|
+
AuthenticationFailed: "authentication_failed",
|
|
383
|
+
AuthenticationRequired: "authentication_required",
|
|
384
|
+
AuthenticationUnavailableAcs: "authentication_unavailable_acs",
|
|
385
|
+
CardDeclined: "card_declined",
|
|
386
|
+
CardExpired: "card_expired",
|
|
387
|
+
InactiveCard: "inactive_card",
|
|
388
|
+
InsufficientFunds: "insufficient_funds",
|
|
389
|
+
InvalidCvv: "invalid_cvv",
|
|
390
|
+
InvalidCardHolderName: "invalid_card_holder_name",
|
|
391
|
+
InvalidCardNumber: "invalid_card_number",
|
|
392
|
+
InvalidCardType: "invalid_card_type",
|
|
393
|
+
PossibleFraud: "possible_fraud",
|
|
394
|
+
RefusedByIssuer: "refused_by_issuer",
|
|
395
|
+
UnknownReason: "unknown_reason",
|
|
396
|
+
};
|
|
397
|
+
/**
|
|
398
|
+
* The wallet used when creating the payment.
|
|
399
|
+
*/
|
|
400
|
+
export const ListSubscriptionPaymentsWallet = {
|
|
401
|
+
Applepay: "applepay",
|
|
402
|
+
};
|
|
403
|
+
/**
|
|
404
|
+
* Indicates to what extent the payment is eligible for PayPal's Seller Protection. Only available for PayPal
|
|
405
|
+
*
|
|
406
|
+
* @remarks
|
|
407
|
+
* payments, and if the information is made available by PayPal.
|
|
408
|
+
*/
|
|
409
|
+
export const ListSubscriptionPaymentsSellerProtection = {
|
|
410
|
+
Eligible: "Eligible",
|
|
411
|
+
Ineligible: "Ineligible",
|
|
412
|
+
PartiallyEligibleINROnly: "Partially Eligible - INR Only",
|
|
413
|
+
PartiallyEligibleUnauthOnly: "Partially Eligible - Unauth Only",
|
|
414
|
+
PartiallyEligible: "Partially Eligible",
|
|
415
|
+
None: "None",
|
|
416
|
+
Active: "Active",
|
|
417
|
+
FraudControlUnauthPremiumEligible: "Fraud Control - Unauth Premium Eligible",
|
|
418
|
+
};
|
|
419
|
+
/**
|
|
420
|
+
* The method by which the card was read by the terminal.
|
|
421
|
+
*/
|
|
422
|
+
export const ListSubscriptionPaymentsCardReadMethod = {
|
|
423
|
+
Chip: "chip",
|
|
424
|
+
MagneticStripe: "magnetic-stripe",
|
|
425
|
+
NearFieldCommunication: "near-field-communication",
|
|
426
|
+
Contactless: "contactless",
|
|
427
|
+
Moto: "moto",
|
|
428
|
+
};
|
|
429
|
+
/**
|
|
430
|
+
* The method used to verify the cardholder's identity.
|
|
431
|
+
*/
|
|
432
|
+
export const ListSubscriptionPaymentsCardVerificationMethod = {
|
|
433
|
+
NoCvmRequired: "no-cvm-required",
|
|
434
|
+
OnlinePin: "online-pin",
|
|
435
|
+
OfflinePin: "offline-pin",
|
|
436
|
+
ConsumerDevice: "consumer-device",
|
|
437
|
+
Signature: "signature",
|
|
438
|
+
SignatureAndOnlinePin: "signature-and-online-pin",
|
|
439
|
+
OnlinePinAndSignature: "online-pin-and-signature",
|
|
440
|
+
None: "none",
|
|
441
|
+
Failed: "failed",
|
|
442
|
+
};
|
|
199
443
|
/** @internal */
|
|
200
444
|
export const ListSubscriptionPaymentsSort$inboundSchema = z.nativeEnum(ListSubscriptionPaymentsSort);
|
|
201
445
|
/** @internal */
|
|
@@ -1191,28 +1435,43 @@ export var ListSubscriptionPaymentsSequenceType$;
|
|
|
1191
1435
|
ListSubscriptionPaymentsSequenceType$.outboundSchema = ListSubscriptionPaymentsSequenceType$outboundSchema;
|
|
1192
1436
|
})(ListSubscriptionPaymentsSequenceType$ || (ListSubscriptionPaymentsSequenceType$ = {}));
|
|
1193
1437
|
/** @internal */
|
|
1194
|
-
export const
|
|
1438
|
+
export const ListSubscriptionPaymentsStatusEnum$inboundSchema = z.nativeEnum(ListSubscriptionPaymentsStatusEnum);
|
|
1195
1439
|
/** @internal */
|
|
1196
|
-
export const
|
|
1440
|
+
export const ListSubscriptionPaymentsStatusEnum$outboundSchema = ListSubscriptionPaymentsStatusEnum$inboundSchema;
|
|
1197
1441
|
/**
|
|
1198
1442
|
* @internal
|
|
1199
1443
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1200
1444
|
*/
|
|
1201
|
-
export var
|
|
1202
|
-
(function (
|
|
1203
|
-
/** @deprecated use `
|
|
1204
|
-
|
|
1205
|
-
/** @deprecated use `
|
|
1206
|
-
|
|
1207
|
-
})(
|
|
1445
|
+
export var ListSubscriptionPaymentsStatusEnum$;
|
|
1446
|
+
(function (ListSubscriptionPaymentsStatusEnum$) {
|
|
1447
|
+
/** @deprecated use `ListSubscriptionPaymentsStatusEnum$inboundSchema` instead. */
|
|
1448
|
+
ListSubscriptionPaymentsStatusEnum$.inboundSchema = ListSubscriptionPaymentsStatusEnum$inboundSchema;
|
|
1449
|
+
/** @deprecated use `ListSubscriptionPaymentsStatusEnum$outboundSchema` instead. */
|
|
1450
|
+
ListSubscriptionPaymentsStatusEnum$.outboundSchema = ListSubscriptionPaymentsStatusEnum$outboundSchema;
|
|
1451
|
+
})(ListSubscriptionPaymentsStatusEnum$ || (ListSubscriptionPaymentsStatusEnum$ = {}));
|
|
1452
|
+
/** @internal */
|
|
1453
|
+
export const ListSubscriptionPaymentsCode$inboundSchema = z.nativeEnum(ListSubscriptionPaymentsCode);
|
|
1454
|
+
/** @internal */
|
|
1455
|
+
export const ListSubscriptionPaymentsCode$outboundSchema = ListSubscriptionPaymentsCode$inboundSchema;
|
|
1456
|
+
/**
|
|
1457
|
+
* @internal
|
|
1458
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1459
|
+
*/
|
|
1460
|
+
export var ListSubscriptionPaymentsCode$;
|
|
1461
|
+
(function (ListSubscriptionPaymentsCode$) {
|
|
1462
|
+
/** @deprecated use `ListSubscriptionPaymentsCode$inboundSchema` instead. */
|
|
1463
|
+
ListSubscriptionPaymentsCode$.inboundSchema = ListSubscriptionPaymentsCode$inboundSchema;
|
|
1464
|
+
/** @deprecated use `ListSubscriptionPaymentsCode$outboundSchema` instead. */
|
|
1465
|
+
ListSubscriptionPaymentsCode$.outboundSchema = ListSubscriptionPaymentsCode$outboundSchema;
|
|
1466
|
+
})(ListSubscriptionPaymentsCode$ || (ListSubscriptionPaymentsCode$ = {}));
|
|
1208
1467
|
/** @internal */
|
|
1209
1468
|
export const ListSubscriptionPaymentsStatusReason$inboundSchema = z.object({
|
|
1210
|
-
code:
|
|
1469
|
+
code: ListSubscriptionPaymentsCode$inboundSchema,
|
|
1211
1470
|
message: z.string(),
|
|
1212
1471
|
});
|
|
1213
1472
|
/** @internal */
|
|
1214
1473
|
export const ListSubscriptionPaymentsStatusReason$outboundSchema = z.object({
|
|
1215
|
-
code:
|
|
1474
|
+
code: ListSubscriptionPaymentsCode$outboundSchema,
|
|
1216
1475
|
message: z.string(),
|
|
1217
1476
|
});
|
|
1218
1477
|
/**
|
|
@@ -1233,6 +1492,412 @@ export function listSubscriptionPaymentsStatusReasonFromJSON(jsonString) {
|
|
|
1233
1492
|
return safeParse(jsonString, (x) => ListSubscriptionPaymentsStatusReason$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListSubscriptionPaymentsStatusReason' from JSON`);
|
|
1234
1493
|
}
|
|
1235
1494
|
/** @internal */
|
|
1495
|
+
export const ListSubscriptionPaymentsCardAudition$inboundSchema = z.nativeEnum(ListSubscriptionPaymentsCardAudition);
|
|
1496
|
+
/** @internal */
|
|
1497
|
+
export const ListSubscriptionPaymentsCardAudition$outboundSchema = ListSubscriptionPaymentsCardAudition$inboundSchema;
|
|
1498
|
+
/**
|
|
1499
|
+
* @internal
|
|
1500
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1501
|
+
*/
|
|
1502
|
+
export var ListSubscriptionPaymentsCardAudition$;
|
|
1503
|
+
(function (ListSubscriptionPaymentsCardAudition$) {
|
|
1504
|
+
/** @deprecated use `ListSubscriptionPaymentsCardAudition$inboundSchema` instead. */
|
|
1505
|
+
ListSubscriptionPaymentsCardAudition$.inboundSchema = ListSubscriptionPaymentsCardAudition$inboundSchema;
|
|
1506
|
+
/** @deprecated use `ListSubscriptionPaymentsCardAudition$outboundSchema` instead. */
|
|
1507
|
+
ListSubscriptionPaymentsCardAudition$.outboundSchema = ListSubscriptionPaymentsCardAudition$outboundSchema;
|
|
1508
|
+
})(ListSubscriptionPaymentsCardAudition$ || (ListSubscriptionPaymentsCardAudition$ = {}));
|
|
1509
|
+
/** @internal */
|
|
1510
|
+
export const ListSubscriptionPaymentsCardLabel$inboundSchema = z.nativeEnum(ListSubscriptionPaymentsCardLabel);
|
|
1511
|
+
/** @internal */
|
|
1512
|
+
export const ListSubscriptionPaymentsCardLabel$outboundSchema = ListSubscriptionPaymentsCardLabel$inboundSchema;
|
|
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
|
+
export var ListSubscriptionPaymentsCardLabel$;
|
|
1518
|
+
(function (ListSubscriptionPaymentsCardLabel$) {
|
|
1519
|
+
/** @deprecated use `ListSubscriptionPaymentsCardLabel$inboundSchema` instead. */
|
|
1520
|
+
ListSubscriptionPaymentsCardLabel$.inboundSchema = ListSubscriptionPaymentsCardLabel$inboundSchema;
|
|
1521
|
+
/** @deprecated use `ListSubscriptionPaymentsCardLabel$outboundSchema` instead. */
|
|
1522
|
+
ListSubscriptionPaymentsCardLabel$.outboundSchema = ListSubscriptionPaymentsCardLabel$outboundSchema;
|
|
1523
|
+
})(ListSubscriptionPaymentsCardLabel$ || (ListSubscriptionPaymentsCardLabel$ = {}));
|
|
1524
|
+
/** @internal */
|
|
1525
|
+
export const ListSubscriptionPaymentsCardFunding$inboundSchema = z.nativeEnum(ListSubscriptionPaymentsCardFunding);
|
|
1526
|
+
/** @internal */
|
|
1527
|
+
export const ListSubscriptionPaymentsCardFunding$outboundSchema = ListSubscriptionPaymentsCardFunding$inboundSchema;
|
|
1528
|
+
/**
|
|
1529
|
+
* @internal
|
|
1530
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1531
|
+
*/
|
|
1532
|
+
export var ListSubscriptionPaymentsCardFunding$;
|
|
1533
|
+
(function (ListSubscriptionPaymentsCardFunding$) {
|
|
1534
|
+
/** @deprecated use `ListSubscriptionPaymentsCardFunding$inboundSchema` instead. */
|
|
1535
|
+
ListSubscriptionPaymentsCardFunding$.inboundSchema = ListSubscriptionPaymentsCardFunding$inboundSchema;
|
|
1536
|
+
/** @deprecated use `ListSubscriptionPaymentsCardFunding$outboundSchema` instead. */
|
|
1537
|
+
ListSubscriptionPaymentsCardFunding$.outboundSchema = ListSubscriptionPaymentsCardFunding$outboundSchema;
|
|
1538
|
+
})(ListSubscriptionPaymentsCardFunding$ || (ListSubscriptionPaymentsCardFunding$ = {}));
|
|
1539
|
+
/** @internal */
|
|
1540
|
+
export const ListSubscriptionPaymentsCardSecurity$inboundSchema = z.nativeEnum(ListSubscriptionPaymentsCardSecurity);
|
|
1541
|
+
/** @internal */
|
|
1542
|
+
export const ListSubscriptionPaymentsCardSecurity$outboundSchema = ListSubscriptionPaymentsCardSecurity$inboundSchema;
|
|
1543
|
+
/**
|
|
1544
|
+
* @internal
|
|
1545
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1546
|
+
*/
|
|
1547
|
+
export var ListSubscriptionPaymentsCardSecurity$;
|
|
1548
|
+
(function (ListSubscriptionPaymentsCardSecurity$) {
|
|
1549
|
+
/** @deprecated use `ListSubscriptionPaymentsCardSecurity$inboundSchema` instead. */
|
|
1550
|
+
ListSubscriptionPaymentsCardSecurity$.inboundSchema = ListSubscriptionPaymentsCardSecurity$inboundSchema;
|
|
1551
|
+
/** @deprecated use `ListSubscriptionPaymentsCardSecurity$outboundSchema` instead. */
|
|
1552
|
+
ListSubscriptionPaymentsCardSecurity$.outboundSchema = ListSubscriptionPaymentsCardSecurity$outboundSchema;
|
|
1553
|
+
})(ListSubscriptionPaymentsCardSecurity$ || (ListSubscriptionPaymentsCardSecurity$ = {}));
|
|
1554
|
+
/** @internal */
|
|
1555
|
+
export const ListSubscriptionPaymentsFeeRegion$inboundSchema = z.nativeEnum(ListSubscriptionPaymentsFeeRegion);
|
|
1556
|
+
/** @internal */
|
|
1557
|
+
export const ListSubscriptionPaymentsFeeRegion$outboundSchema = ListSubscriptionPaymentsFeeRegion$inboundSchema;
|
|
1558
|
+
/**
|
|
1559
|
+
* @internal
|
|
1560
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1561
|
+
*/
|
|
1562
|
+
export var ListSubscriptionPaymentsFeeRegion$;
|
|
1563
|
+
(function (ListSubscriptionPaymentsFeeRegion$) {
|
|
1564
|
+
/** @deprecated use `ListSubscriptionPaymentsFeeRegion$inboundSchema` instead. */
|
|
1565
|
+
ListSubscriptionPaymentsFeeRegion$.inboundSchema = ListSubscriptionPaymentsFeeRegion$inboundSchema;
|
|
1566
|
+
/** @deprecated use `ListSubscriptionPaymentsFeeRegion$outboundSchema` instead. */
|
|
1567
|
+
ListSubscriptionPaymentsFeeRegion$.outboundSchema = ListSubscriptionPaymentsFeeRegion$outboundSchema;
|
|
1568
|
+
})(ListSubscriptionPaymentsFeeRegion$ || (ListSubscriptionPaymentsFeeRegion$ = {}));
|
|
1569
|
+
/** @internal */
|
|
1570
|
+
export const ListSubscriptionPaymentsFailureReason$inboundSchema = z.nativeEnum(ListSubscriptionPaymentsFailureReason);
|
|
1571
|
+
/** @internal */
|
|
1572
|
+
export const ListSubscriptionPaymentsFailureReason$outboundSchema = ListSubscriptionPaymentsFailureReason$inboundSchema;
|
|
1573
|
+
/**
|
|
1574
|
+
* @internal
|
|
1575
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1576
|
+
*/
|
|
1577
|
+
export var ListSubscriptionPaymentsFailureReason$;
|
|
1578
|
+
(function (ListSubscriptionPaymentsFailureReason$) {
|
|
1579
|
+
/** @deprecated use `ListSubscriptionPaymentsFailureReason$inboundSchema` instead. */
|
|
1580
|
+
ListSubscriptionPaymentsFailureReason$.inboundSchema = ListSubscriptionPaymentsFailureReason$inboundSchema;
|
|
1581
|
+
/** @deprecated use `ListSubscriptionPaymentsFailureReason$outboundSchema` instead. */
|
|
1582
|
+
ListSubscriptionPaymentsFailureReason$.outboundSchema = ListSubscriptionPaymentsFailureReason$outboundSchema;
|
|
1583
|
+
})(ListSubscriptionPaymentsFailureReason$ || (ListSubscriptionPaymentsFailureReason$ = {}));
|
|
1584
|
+
/** @internal */
|
|
1585
|
+
export const ListSubscriptionPaymentsWallet$inboundSchema = z.nativeEnum(ListSubscriptionPaymentsWallet);
|
|
1586
|
+
/** @internal */
|
|
1587
|
+
export const ListSubscriptionPaymentsWallet$outboundSchema = ListSubscriptionPaymentsWallet$inboundSchema;
|
|
1588
|
+
/**
|
|
1589
|
+
* @internal
|
|
1590
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1591
|
+
*/
|
|
1592
|
+
export var ListSubscriptionPaymentsWallet$;
|
|
1593
|
+
(function (ListSubscriptionPaymentsWallet$) {
|
|
1594
|
+
/** @deprecated use `ListSubscriptionPaymentsWallet$inboundSchema` instead. */
|
|
1595
|
+
ListSubscriptionPaymentsWallet$.inboundSchema = ListSubscriptionPaymentsWallet$inboundSchema;
|
|
1596
|
+
/** @deprecated use `ListSubscriptionPaymentsWallet$outboundSchema` instead. */
|
|
1597
|
+
ListSubscriptionPaymentsWallet$.outboundSchema = ListSubscriptionPaymentsWallet$outboundSchema;
|
|
1598
|
+
})(ListSubscriptionPaymentsWallet$ || (ListSubscriptionPaymentsWallet$ = {}));
|
|
1599
|
+
/** @internal */
|
|
1600
|
+
export const ListSubscriptionPaymentsSellerProtection$inboundSchema = z
|
|
1601
|
+
.nativeEnum(ListSubscriptionPaymentsSellerProtection);
|
|
1602
|
+
/** @internal */
|
|
1603
|
+
export const ListSubscriptionPaymentsSellerProtection$outboundSchema = ListSubscriptionPaymentsSellerProtection$inboundSchema;
|
|
1604
|
+
/**
|
|
1605
|
+
* @internal
|
|
1606
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1607
|
+
*/
|
|
1608
|
+
export var ListSubscriptionPaymentsSellerProtection$;
|
|
1609
|
+
(function (ListSubscriptionPaymentsSellerProtection$) {
|
|
1610
|
+
/** @deprecated use `ListSubscriptionPaymentsSellerProtection$inboundSchema` instead. */
|
|
1611
|
+
ListSubscriptionPaymentsSellerProtection$.inboundSchema = ListSubscriptionPaymentsSellerProtection$inboundSchema;
|
|
1612
|
+
/** @deprecated use `ListSubscriptionPaymentsSellerProtection$outboundSchema` instead. */
|
|
1613
|
+
ListSubscriptionPaymentsSellerProtection$.outboundSchema = ListSubscriptionPaymentsSellerProtection$outboundSchema;
|
|
1614
|
+
})(ListSubscriptionPaymentsSellerProtection$ || (ListSubscriptionPaymentsSellerProtection$ = {}));
|
|
1615
|
+
/** @internal */
|
|
1616
|
+
export const ListSubscriptionPaymentsPaypalFee$inboundSchema = z.object({
|
|
1617
|
+
currency: z.string(),
|
|
1618
|
+
value: z.string(),
|
|
1619
|
+
});
|
|
1620
|
+
/** @internal */
|
|
1621
|
+
export const ListSubscriptionPaymentsPaypalFee$outboundSchema = z.object({
|
|
1622
|
+
currency: z.string(),
|
|
1623
|
+
value: z.string(),
|
|
1624
|
+
});
|
|
1625
|
+
/**
|
|
1626
|
+
* @internal
|
|
1627
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1628
|
+
*/
|
|
1629
|
+
export var ListSubscriptionPaymentsPaypalFee$;
|
|
1630
|
+
(function (ListSubscriptionPaymentsPaypalFee$) {
|
|
1631
|
+
/** @deprecated use `ListSubscriptionPaymentsPaypalFee$inboundSchema` instead. */
|
|
1632
|
+
ListSubscriptionPaymentsPaypalFee$.inboundSchema = ListSubscriptionPaymentsPaypalFee$inboundSchema;
|
|
1633
|
+
/** @deprecated use `ListSubscriptionPaymentsPaypalFee$outboundSchema` instead. */
|
|
1634
|
+
ListSubscriptionPaymentsPaypalFee$.outboundSchema = ListSubscriptionPaymentsPaypalFee$outboundSchema;
|
|
1635
|
+
})(ListSubscriptionPaymentsPaypalFee$ || (ListSubscriptionPaymentsPaypalFee$ = {}));
|
|
1636
|
+
export function listSubscriptionPaymentsPaypalFeeToJSON(listSubscriptionPaymentsPaypalFee) {
|
|
1637
|
+
return JSON.stringify(ListSubscriptionPaymentsPaypalFee$outboundSchema.parse(listSubscriptionPaymentsPaypalFee));
|
|
1638
|
+
}
|
|
1639
|
+
export function listSubscriptionPaymentsPaypalFeeFromJSON(jsonString) {
|
|
1640
|
+
return safeParse(jsonString, (x) => ListSubscriptionPaymentsPaypalFee$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListSubscriptionPaymentsPaypalFee' from JSON`);
|
|
1641
|
+
}
|
|
1642
|
+
/** @internal */
|
|
1643
|
+
export const ListSubscriptionPaymentsCardReadMethod$inboundSchema = z.nativeEnum(ListSubscriptionPaymentsCardReadMethod);
|
|
1644
|
+
/** @internal */
|
|
1645
|
+
export const ListSubscriptionPaymentsCardReadMethod$outboundSchema = ListSubscriptionPaymentsCardReadMethod$inboundSchema;
|
|
1646
|
+
/**
|
|
1647
|
+
* @internal
|
|
1648
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1649
|
+
*/
|
|
1650
|
+
export var ListSubscriptionPaymentsCardReadMethod$;
|
|
1651
|
+
(function (ListSubscriptionPaymentsCardReadMethod$) {
|
|
1652
|
+
/** @deprecated use `ListSubscriptionPaymentsCardReadMethod$inboundSchema` instead. */
|
|
1653
|
+
ListSubscriptionPaymentsCardReadMethod$.inboundSchema = ListSubscriptionPaymentsCardReadMethod$inboundSchema;
|
|
1654
|
+
/** @deprecated use `ListSubscriptionPaymentsCardReadMethod$outboundSchema` instead. */
|
|
1655
|
+
ListSubscriptionPaymentsCardReadMethod$.outboundSchema = ListSubscriptionPaymentsCardReadMethod$outboundSchema;
|
|
1656
|
+
})(ListSubscriptionPaymentsCardReadMethod$ || (ListSubscriptionPaymentsCardReadMethod$ = {}));
|
|
1657
|
+
/** @internal */
|
|
1658
|
+
export const ListSubscriptionPaymentsCardVerificationMethod$inboundSchema = z
|
|
1659
|
+
.nativeEnum(ListSubscriptionPaymentsCardVerificationMethod);
|
|
1660
|
+
/** @internal */
|
|
1661
|
+
export const ListSubscriptionPaymentsCardVerificationMethod$outboundSchema = ListSubscriptionPaymentsCardVerificationMethod$inboundSchema;
|
|
1662
|
+
/**
|
|
1663
|
+
* @internal
|
|
1664
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1665
|
+
*/
|
|
1666
|
+
export var ListSubscriptionPaymentsCardVerificationMethod$;
|
|
1667
|
+
(function (ListSubscriptionPaymentsCardVerificationMethod$) {
|
|
1668
|
+
/** @deprecated use `ListSubscriptionPaymentsCardVerificationMethod$inboundSchema` instead. */
|
|
1669
|
+
ListSubscriptionPaymentsCardVerificationMethod$.inboundSchema = ListSubscriptionPaymentsCardVerificationMethod$inboundSchema;
|
|
1670
|
+
/** @deprecated use `ListSubscriptionPaymentsCardVerificationMethod$outboundSchema` instead. */
|
|
1671
|
+
ListSubscriptionPaymentsCardVerificationMethod$.outboundSchema = ListSubscriptionPaymentsCardVerificationMethod$outboundSchema;
|
|
1672
|
+
})(ListSubscriptionPaymentsCardVerificationMethod$ || (ListSubscriptionPaymentsCardVerificationMethod$ = {}));
|
|
1673
|
+
/** @internal */
|
|
1674
|
+
export const ListSubscriptionPaymentsReceipt$inboundSchema = z.object({
|
|
1675
|
+
authorizationCode: z.nullable(z.string()).optional(),
|
|
1676
|
+
applicationIdentifier: z.nullable(z.string()).optional(),
|
|
1677
|
+
cardReadMethod: z.nullable(ListSubscriptionPaymentsCardReadMethod$inboundSchema).optional(),
|
|
1678
|
+
cardVerificationMethod: z.nullable(ListSubscriptionPaymentsCardVerificationMethod$inboundSchema).optional(),
|
|
1679
|
+
});
|
|
1680
|
+
/** @internal */
|
|
1681
|
+
export const ListSubscriptionPaymentsReceipt$outboundSchema = z.object({
|
|
1682
|
+
authorizationCode: z.nullable(z.string()).optional(),
|
|
1683
|
+
applicationIdentifier: z.nullable(z.string()).optional(),
|
|
1684
|
+
cardReadMethod: z.nullable(ListSubscriptionPaymentsCardReadMethod$outboundSchema).optional(),
|
|
1685
|
+
cardVerificationMethod: z.nullable(ListSubscriptionPaymentsCardVerificationMethod$outboundSchema).optional(),
|
|
1686
|
+
});
|
|
1687
|
+
/**
|
|
1688
|
+
* @internal
|
|
1689
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1690
|
+
*/
|
|
1691
|
+
export var ListSubscriptionPaymentsReceipt$;
|
|
1692
|
+
(function (ListSubscriptionPaymentsReceipt$) {
|
|
1693
|
+
/** @deprecated use `ListSubscriptionPaymentsReceipt$inboundSchema` instead. */
|
|
1694
|
+
ListSubscriptionPaymentsReceipt$.inboundSchema = ListSubscriptionPaymentsReceipt$inboundSchema;
|
|
1695
|
+
/** @deprecated use `ListSubscriptionPaymentsReceipt$outboundSchema` instead. */
|
|
1696
|
+
ListSubscriptionPaymentsReceipt$.outboundSchema = ListSubscriptionPaymentsReceipt$outboundSchema;
|
|
1697
|
+
})(ListSubscriptionPaymentsReceipt$ || (ListSubscriptionPaymentsReceipt$ = {}));
|
|
1698
|
+
export function listSubscriptionPaymentsReceiptToJSON(listSubscriptionPaymentsReceipt) {
|
|
1699
|
+
return JSON.stringify(ListSubscriptionPaymentsReceipt$outboundSchema.parse(listSubscriptionPaymentsReceipt));
|
|
1700
|
+
}
|
|
1701
|
+
export function listSubscriptionPaymentsReceiptFromJSON(jsonString) {
|
|
1702
|
+
return safeParse(jsonString, (x) => ListSubscriptionPaymentsReceipt$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListSubscriptionPaymentsReceipt' from JSON`);
|
|
1703
|
+
}
|
|
1704
|
+
/** @internal */
|
|
1705
|
+
export const ListSubscriptionPaymentsQrCode$inboundSchema = z.object({
|
|
1706
|
+
height: z.number().int().optional(),
|
|
1707
|
+
width: z.number().int().optional(),
|
|
1708
|
+
src: z.string().optional(),
|
|
1709
|
+
});
|
|
1710
|
+
/** @internal */
|
|
1711
|
+
export const ListSubscriptionPaymentsQrCode$outboundSchema = z.object({
|
|
1712
|
+
height: z.number().int().optional(),
|
|
1713
|
+
width: z.number().int().optional(),
|
|
1714
|
+
src: z.string().optional(),
|
|
1715
|
+
});
|
|
1716
|
+
/**
|
|
1717
|
+
* @internal
|
|
1718
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1719
|
+
*/
|
|
1720
|
+
export var ListSubscriptionPaymentsQrCode$;
|
|
1721
|
+
(function (ListSubscriptionPaymentsQrCode$) {
|
|
1722
|
+
/** @deprecated use `ListSubscriptionPaymentsQrCode$inboundSchema` instead. */
|
|
1723
|
+
ListSubscriptionPaymentsQrCode$.inboundSchema = ListSubscriptionPaymentsQrCode$inboundSchema;
|
|
1724
|
+
/** @deprecated use `ListSubscriptionPaymentsQrCode$outboundSchema` instead. */
|
|
1725
|
+
ListSubscriptionPaymentsQrCode$.outboundSchema = ListSubscriptionPaymentsQrCode$outboundSchema;
|
|
1726
|
+
})(ListSubscriptionPaymentsQrCode$ || (ListSubscriptionPaymentsQrCode$ = {}));
|
|
1727
|
+
export function listSubscriptionPaymentsQrCodeToJSON(listSubscriptionPaymentsQrCode) {
|
|
1728
|
+
return JSON.stringify(ListSubscriptionPaymentsQrCode$outboundSchema.parse(listSubscriptionPaymentsQrCode));
|
|
1729
|
+
}
|
|
1730
|
+
export function listSubscriptionPaymentsQrCodeFromJSON(jsonString) {
|
|
1731
|
+
return safeParse(jsonString, (x) => ListSubscriptionPaymentsQrCode$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListSubscriptionPaymentsQrCode' from JSON`);
|
|
1732
|
+
}
|
|
1733
|
+
/** @internal */
|
|
1734
|
+
export const ListSubscriptionPaymentsRemainderAmount$inboundSchema = z.object({
|
|
1735
|
+
currency: z.string(),
|
|
1736
|
+
value: z.string(),
|
|
1737
|
+
});
|
|
1738
|
+
/** @internal */
|
|
1739
|
+
export const ListSubscriptionPaymentsRemainderAmount$outboundSchema = z.object({
|
|
1740
|
+
currency: z.string(),
|
|
1741
|
+
value: z.string(),
|
|
1742
|
+
});
|
|
1743
|
+
/**
|
|
1744
|
+
* @internal
|
|
1745
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1746
|
+
*/
|
|
1747
|
+
export var ListSubscriptionPaymentsRemainderAmount$;
|
|
1748
|
+
(function (ListSubscriptionPaymentsRemainderAmount$) {
|
|
1749
|
+
/** @deprecated use `ListSubscriptionPaymentsRemainderAmount$inboundSchema` instead. */
|
|
1750
|
+
ListSubscriptionPaymentsRemainderAmount$.inboundSchema = ListSubscriptionPaymentsRemainderAmount$inboundSchema;
|
|
1751
|
+
/** @deprecated use `ListSubscriptionPaymentsRemainderAmount$outboundSchema` instead. */
|
|
1752
|
+
ListSubscriptionPaymentsRemainderAmount$.outboundSchema = ListSubscriptionPaymentsRemainderAmount$outboundSchema;
|
|
1753
|
+
})(ListSubscriptionPaymentsRemainderAmount$ || (ListSubscriptionPaymentsRemainderAmount$ = {}));
|
|
1754
|
+
export function listSubscriptionPaymentsRemainderAmountToJSON(listSubscriptionPaymentsRemainderAmount) {
|
|
1755
|
+
return JSON.stringify(ListSubscriptionPaymentsRemainderAmount$outboundSchema.parse(listSubscriptionPaymentsRemainderAmount));
|
|
1756
|
+
}
|
|
1757
|
+
export function listSubscriptionPaymentsRemainderAmountFromJSON(jsonString) {
|
|
1758
|
+
return safeParse(jsonString, (x) => ListSubscriptionPaymentsRemainderAmount$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListSubscriptionPaymentsRemainderAmount' from JSON`);
|
|
1759
|
+
}
|
|
1760
|
+
/** @internal */
|
|
1761
|
+
export const ListSubscriptionPaymentsDetails$inboundSchema = z.object({
|
|
1762
|
+
consumerName: z.nullable(z.string()).optional(),
|
|
1763
|
+
consumerAccount: z.nullable(z.string()).optional(),
|
|
1764
|
+
consumerBic: z.nullable(z.string()).optional(),
|
|
1765
|
+
shippingAddress: z.nullable(z.record(z.any())).optional(),
|
|
1766
|
+
cardNumber: z.nullable(z.string()).optional(),
|
|
1767
|
+
bankName: z.string().optional(),
|
|
1768
|
+
bankAccount: z.string().optional(),
|
|
1769
|
+
bankBic: z.string().optional(),
|
|
1770
|
+
transferReference: z.nullable(z.string()).optional(),
|
|
1771
|
+
cardFingerprint: z.nullable(z.string()).optional(),
|
|
1772
|
+
cardHolder: z.nullable(z.string()).optional(),
|
|
1773
|
+
cardAudition: z.nullable(ListSubscriptionPaymentsCardAudition$inboundSchema)
|
|
1774
|
+
.optional(),
|
|
1775
|
+
cardLabel: z.nullable(ListSubscriptionPaymentsCardLabel$inboundSchema)
|
|
1776
|
+
.optional(),
|
|
1777
|
+
cardCountryCode: z.nullable(z.string()).optional(),
|
|
1778
|
+
cardExpiryDate: z.nullable(z.string()).optional(),
|
|
1779
|
+
cardFunding: z.nullable(ListSubscriptionPaymentsCardFunding$inboundSchema)
|
|
1780
|
+
.optional(),
|
|
1781
|
+
cardSecurity: z.nullable(ListSubscriptionPaymentsCardSecurity$inboundSchema)
|
|
1782
|
+
.optional(),
|
|
1783
|
+
feeRegion: z.nullable(ListSubscriptionPaymentsFeeRegion$inboundSchema)
|
|
1784
|
+
.optional(),
|
|
1785
|
+
cardMaskedNumber: z.nullable(z.string()).optional(),
|
|
1786
|
+
card3dsEci: z.nullable(z.string()).optional(),
|
|
1787
|
+
cardBin: z.nullable(z.string()).optional(),
|
|
1788
|
+
cardIssuer: z.nullable(z.string()).optional(),
|
|
1789
|
+
failureReason: z.nullable(ListSubscriptionPaymentsFailureReason$inboundSchema)
|
|
1790
|
+
.optional(),
|
|
1791
|
+
failureMessage: z.nullable(z.string()).optional(),
|
|
1792
|
+
wallet: z.nullable(ListSubscriptionPaymentsWallet$inboundSchema).optional(),
|
|
1793
|
+
paypalReference: z.nullable(z.string()).optional(),
|
|
1794
|
+
paypalPayerId: z.nullable(z.string()).optional(),
|
|
1795
|
+
sellerProtection: z.nullable(ListSubscriptionPaymentsSellerProtection$inboundSchema).optional(),
|
|
1796
|
+
paypalFee: z.nullable(z.lazy(() => ListSubscriptionPaymentsPaypalFee$inboundSchema)).optional(),
|
|
1797
|
+
customerReference: z.string().optional(),
|
|
1798
|
+
terminalId: z.string().optional(),
|
|
1799
|
+
maskedNumber: z.nullable(z.string()).optional(),
|
|
1800
|
+
receipt: z.lazy(() => ListSubscriptionPaymentsReceipt$inboundSchema)
|
|
1801
|
+
.optional(),
|
|
1802
|
+
creditorIdentifier: z.nullable(z.string()).optional(),
|
|
1803
|
+
dueDate: z.nullable(z.string().transform(v => new RFCDate(v))).optional(),
|
|
1804
|
+
signatureDate: z.nullable(z.string().transform(v => new RFCDate(v)))
|
|
1805
|
+
.optional(),
|
|
1806
|
+
bankReasonCode: z.nullable(z.string()).optional(),
|
|
1807
|
+
bankReason: z.nullable(z.string()).optional(),
|
|
1808
|
+
endToEndIdentifier: z.nullable(z.string()).optional(),
|
|
1809
|
+
mandateReference: z.nullable(z.string()).optional(),
|
|
1810
|
+
batchReference: z.nullable(z.string()).optional(),
|
|
1811
|
+
fileReference: z.nullable(z.string()).optional(),
|
|
1812
|
+
qrCode: z.lazy(() => ListSubscriptionPaymentsQrCode$inboundSchema).optional(),
|
|
1813
|
+
voucherNumber: z.string().optional(),
|
|
1814
|
+
giftcards: z.array(z.record(z.any())).optional(),
|
|
1815
|
+
issuer: z.string().optional(),
|
|
1816
|
+
vouchers: z.array(z.record(z.any())).optional(),
|
|
1817
|
+
remainderAmount: z.lazy(() => ListSubscriptionPaymentsRemainderAmount$inboundSchema).optional(),
|
|
1818
|
+
remainderMethod: z.string().optional(),
|
|
1819
|
+
remainderDetails: z.record(z.any()).optional(),
|
|
1820
|
+
});
|
|
1821
|
+
/** @internal */
|
|
1822
|
+
export const ListSubscriptionPaymentsDetails$outboundSchema = z.object({
|
|
1823
|
+
consumerName: z.nullable(z.string()).optional(),
|
|
1824
|
+
consumerAccount: z.nullable(z.string()).optional(),
|
|
1825
|
+
consumerBic: z.nullable(z.string()).optional(),
|
|
1826
|
+
shippingAddress: z.nullable(z.record(z.any())).optional(),
|
|
1827
|
+
cardNumber: z.nullable(z.string()).optional(),
|
|
1828
|
+
bankName: z.string().optional(),
|
|
1829
|
+
bankAccount: z.string().optional(),
|
|
1830
|
+
bankBic: z.string().optional(),
|
|
1831
|
+
transferReference: z.nullable(z.string()).optional(),
|
|
1832
|
+
cardFingerprint: z.nullable(z.string()).optional(),
|
|
1833
|
+
cardHolder: z.nullable(z.string()).optional(),
|
|
1834
|
+
cardAudition: z.nullable(ListSubscriptionPaymentsCardAudition$outboundSchema)
|
|
1835
|
+
.optional(),
|
|
1836
|
+
cardLabel: z.nullable(ListSubscriptionPaymentsCardLabel$outboundSchema)
|
|
1837
|
+
.optional(),
|
|
1838
|
+
cardCountryCode: z.nullable(z.string()).optional(),
|
|
1839
|
+
cardExpiryDate: z.nullable(z.string()).optional(),
|
|
1840
|
+
cardFunding: z.nullable(ListSubscriptionPaymentsCardFunding$outboundSchema)
|
|
1841
|
+
.optional(),
|
|
1842
|
+
cardSecurity: z.nullable(ListSubscriptionPaymentsCardSecurity$outboundSchema)
|
|
1843
|
+
.optional(),
|
|
1844
|
+
feeRegion: z.nullable(ListSubscriptionPaymentsFeeRegion$outboundSchema)
|
|
1845
|
+
.optional(),
|
|
1846
|
+
cardMaskedNumber: z.nullable(z.string()).optional(),
|
|
1847
|
+
card3dsEci: z.nullable(z.string()).optional(),
|
|
1848
|
+
cardBin: z.nullable(z.string()).optional(),
|
|
1849
|
+
cardIssuer: z.nullable(z.string()).optional(),
|
|
1850
|
+
failureReason: z.nullable(ListSubscriptionPaymentsFailureReason$outboundSchema).optional(),
|
|
1851
|
+
failureMessage: z.nullable(z.string()).optional(),
|
|
1852
|
+
wallet: z.nullable(ListSubscriptionPaymentsWallet$outboundSchema).optional(),
|
|
1853
|
+
paypalReference: z.nullable(z.string()).optional(),
|
|
1854
|
+
paypalPayerId: z.nullable(z.string()).optional(),
|
|
1855
|
+
sellerProtection: z.nullable(ListSubscriptionPaymentsSellerProtection$outboundSchema).optional(),
|
|
1856
|
+
paypalFee: z.nullable(z.lazy(() => ListSubscriptionPaymentsPaypalFee$outboundSchema)).optional(),
|
|
1857
|
+
customerReference: z.string().optional(),
|
|
1858
|
+
terminalId: z.string().optional(),
|
|
1859
|
+
maskedNumber: z.nullable(z.string()).optional(),
|
|
1860
|
+
receipt: z.lazy(() => ListSubscriptionPaymentsReceipt$outboundSchema)
|
|
1861
|
+
.optional(),
|
|
1862
|
+
creditorIdentifier: z.nullable(z.string()).optional(),
|
|
1863
|
+
dueDate: z.nullable(z.instanceof(RFCDate).transform(v => v.toString()))
|
|
1864
|
+
.optional(),
|
|
1865
|
+
signatureDate: z.nullable(z.instanceof(RFCDate).transform(v => v.toString()))
|
|
1866
|
+
.optional(),
|
|
1867
|
+
bankReasonCode: z.nullable(z.string()).optional(),
|
|
1868
|
+
bankReason: z.nullable(z.string()).optional(),
|
|
1869
|
+
endToEndIdentifier: z.nullable(z.string()).optional(),
|
|
1870
|
+
mandateReference: z.nullable(z.string()).optional(),
|
|
1871
|
+
batchReference: z.nullable(z.string()).optional(),
|
|
1872
|
+
fileReference: z.nullable(z.string()).optional(),
|
|
1873
|
+
qrCode: z.lazy(() => ListSubscriptionPaymentsQrCode$outboundSchema)
|
|
1874
|
+
.optional(),
|
|
1875
|
+
voucherNumber: z.string().optional(),
|
|
1876
|
+
giftcards: z.array(z.record(z.any())).optional(),
|
|
1877
|
+
issuer: z.string().optional(),
|
|
1878
|
+
vouchers: z.array(z.record(z.any())).optional(),
|
|
1879
|
+
remainderAmount: z.lazy(() => ListSubscriptionPaymentsRemainderAmount$outboundSchema).optional(),
|
|
1880
|
+
remainderMethod: z.string().optional(),
|
|
1881
|
+
remainderDetails: z.record(z.any()).optional(),
|
|
1882
|
+
});
|
|
1883
|
+
/**
|
|
1884
|
+
* @internal
|
|
1885
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1886
|
+
*/
|
|
1887
|
+
export var ListSubscriptionPaymentsDetails$;
|
|
1888
|
+
(function (ListSubscriptionPaymentsDetails$) {
|
|
1889
|
+
/** @deprecated use `ListSubscriptionPaymentsDetails$inboundSchema` instead. */
|
|
1890
|
+
ListSubscriptionPaymentsDetails$.inboundSchema = ListSubscriptionPaymentsDetails$inboundSchema;
|
|
1891
|
+
/** @deprecated use `ListSubscriptionPaymentsDetails$outboundSchema` instead. */
|
|
1892
|
+
ListSubscriptionPaymentsDetails$.outboundSchema = ListSubscriptionPaymentsDetails$outboundSchema;
|
|
1893
|
+
})(ListSubscriptionPaymentsDetails$ || (ListSubscriptionPaymentsDetails$ = {}));
|
|
1894
|
+
export function listSubscriptionPaymentsDetailsToJSON(listSubscriptionPaymentsDetails) {
|
|
1895
|
+
return JSON.stringify(ListSubscriptionPaymentsDetails$outboundSchema.parse(listSubscriptionPaymentsDetails));
|
|
1896
|
+
}
|
|
1897
|
+
export function listSubscriptionPaymentsDetailsFromJSON(jsonString) {
|
|
1898
|
+
return safeParse(jsonString, (x) => ListSubscriptionPaymentsDetails$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListSubscriptionPaymentsDetails' from JSON`);
|
|
1899
|
+
}
|
|
1900
|
+
/** @internal */
|
|
1236
1901
|
export const ListSubscriptionPaymentsPaymentSelf$inboundSchema = z.object({
|
|
1237
1902
|
href: z.string(),
|
|
1238
1903
|
type: z.string(),
|
|
@@ -1638,6 +2303,60 @@ export function listSubscriptionPaymentsPaymentDocumentationFromJSON(jsonString)
|
|
|
1638
2303
|
return safeParse(jsonString, (x) => ListSubscriptionPaymentsPaymentDocumentation$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListSubscriptionPaymentsPaymentDocumentation' from JSON`);
|
|
1639
2304
|
}
|
|
1640
2305
|
/** @internal */
|
|
2306
|
+
export const ListSubscriptionPaymentsLinksStatus$inboundSchema = z.object({
|
|
2307
|
+
href: z.string(),
|
|
2308
|
+
type: z.string(),
|
|
2309
|
+
});
|
|
2310
|
+
/** @internal */
|
|
2311
|
+
export const ListSubscriptionPaymentsLinksStatus$outboundSchema = z.object({
|
|
2312
|
+
href: z.string(),
|
|
2313
|
+
type: z.string(),
|
|
2314
|
+
});
|
|
2315
|
+
/**
|
|
2316
|
+
* @internal
|
|
2317
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2318
|
+
*/
|
|
2319
|
+
export var ListSubscriptionPaymentsLinksStatus$;
|
|
2320
|
+
(function (ListSubscriptionPaymentsLinksStatus$) {
|
|
2321
|
+
/** @deprecated use `ListSubscriptionPaymentsLinksStatus$inboundSchema` instead. */
|
|
2322
|
+
ListSubscriptionPaymentsLinksStatus$.inboundSchema = ListSubscriptionPaymentsLinksStatus$inboundSchema;
|
|
2323
|
+
/** @deprecated use `ListSubscriptionPaymentsLinksStatus$outboundSchema` instead. */
|
|
2324
|
+
ListSubscriptionPaymentsLinksStatus$.outboundSchema = ListSubscriptionPaymentsLinksStatus$outboundSchema;
|
|
2325
|
+
})(ListSubscriptionPaymentsLinksStatus$ || (ListSubscriptionPaymentsLinksStatus$ = {}));
|
|
2326
|
+
export function listSubscriptionPaymentsLinksStatusToJSON(listSubscriptionPaymentsLinksStatus) {
|
|
2327
|
+
return JSON.stringify(ListSubscriptionPaymentsLinksStatus$outboundSchema.parse(listSubscriptionPaymentsLinksStatus));
|
|
2328
|
+
}
|
|
2329
|
+
export function listSubscriptionPaymentsLinksStatusFromJSON(jsonString) {
|
|
2330
|
+
return safeParse(jsonString, (x) => ListSubscriptionPaymentsLinksStatus$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListSubscriptionPaymentsLinksStatus' from JSON`);
|
|
2331
|
+
}
|
|
2332
|
+
/** @internal */
|
|
2333
|
+
export const ListSubscriptionPaymentsPayOnline$inboundSchema = z.object({
|
|
2334
|
+
href: z.string(),
|
|
2335
|
+
type: z.string(),
|
|
2336
|
+
});
|
|
2337
|
+
/** @internal */
|
|
2338
|
+
export const ListSubscriptionPaymentsPayOnline$outboundSchema = z.object({
|
|
2339
|
+
href: z.string(),
|
|
2340
|
+
type: z.string(),
|
|
2341
|
+
});
|
|
2342
|
+
/**
|
|
2343
|
+
* @internal
|
|
2344
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2345
|
+
*/
|
|
2346
|
+
export var ListSubscriptionPaymentsPayOnline$;
|
|
2347
|
+
(function (ListSubscriptionPaymentsPayOnline$) {
|
|
2348
|
+
/** @deprecated use `ListSubscriptionPaymentsPayOnline$inboundSchema` instead. */
|
|
2349
|
+
ListSubscriptionPaymentsPayOnline$.inboundSchema = ListSubscriptionPaymentsPayOnline$inboundSchema;
|
|
2350
|
+
/** @deprecated use `ListSubscriptionPaymentsPayOnline$outboundSchema` instead. */
|
|
2351
|
+
ListSubscriptionPaymentsPayOnline$.outboundSchema = ListSubscriptionPaymentsPayOnline$outboundSchema;
|
|
2352
|
+
})(ListSubscriptionPaymentsPayOnline$ || (ListSubscriptionPaymentsPayOnline$ = {}));
|
|
2353
|
+
export function listSubscriptionPaymentsPayOnlineToJSON(listSubscriptionPaymentsPayOnline) {
|
|
2354
|
+
return JSON.stringify(ListSubscriptionPaymentsPayOnline$outboundSchema.parse(listSubscriptionPaymentsPayOnline));
|
|
2355
|
+
}
|
|
2356
|
+
export function listSubscriptionPaymentsPayOnlineFromJSON(jsonString) {
|
|
2357
|
+
return safeParse(jsonString, (x) => ListSubscriptionPaymentsPayOnline$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListSubscriptionPaymentsPayOnline' from JSON`);
|
|
2358
|
+
}
|
|
2359
|
+
/** @internal */
|
|
1641
2360
|
export const ListSubscriptionPaymentsPaymentLinks$inboundSchema = z.object({
|
|
1642
2361
|
self: z.lazy(() => ListSubscriptionPaymentsPaymentSelf$inboundSchema),
|
|
1643
2362
|
checkout: z.lazy(() => ListSubscriptionPaymentsCheckout$inboundSchema)
|
|
@@ -1663,6 +2382,10 @@ export const ListSubscriptionPaymentsPaymentLinks$inboundSchema = z.object({
|
|
|
1663
2382
|
terminal: z.lazy(() => ListSubscriptionPaymentsTerminal$inboundSchema)
|
|
1664
2383
|
.optional(),
|
|
1665
2384
|
documentation: z.lazy(() => ListSubscriptionPaymentsPaymentDocumentation$inboundSchema).optional(),
|
|
2385
|
+
status: z.lazy(() => ListSubscriptionPaymentsLinksStatus$inboundSchema)
|
|
2386
|
+
.optional(),
|
|
2387
|
+
payOnline: z.lazy(() => ListSubscriptionPaymentsPayOnline$inboundSchema)
|
|
2388
|
+
.optional(),
|
|
1666
2389
|
});
|
|
1667
2390
|
/** @internal */
|
|
1668
2391
|
export const ListSubscriptionPaymentsPaymentLinks$outboundSchema = z.object({
|
|
@@ -1689,6 +2412,10 @@ export const ListSubscriptionPaymentsPaymentLinks$outboundSchema = z.object({
|
|
|
1689
2412
|
terminal: z.lazy(() => ListSubscriptionPaymentsTerminal$outboundSchema)
|
|
1690
2413
|
.optional(),
|
|
1691
2414
|
documentation: z.lazy(() => ListSubscriptionPaymentsPaymentDocumentation$outboundSchema).optional(),
|
|
2415
|
+
status: z.lazy(() => ListSubscriptionPaymentsLinksStatus$outboundSchema)
|
|
2416
|
+
.optional(),
|
|
2417
|
+
payOnline: z.lazy(() => ListSubscriptionPaymentsPayOnline$outboundSchema)
|
|
2418
|
+
.optional(),
|
|
1692
2419
|
});
|
|
1693
2420
|
/**
|
|
1694
2421
|
* @internal
|
|
@@ -1743,10 +2470,10 @@ export const ListSubscriptionPaymentsPaymentOutput$inboundSchema = z.object({
|
|
|
1743
2470
|
profileId: z.string(),
|
|
1744
2471
|
settlementId: z.nullable(z.string()).optional(),
|
|
1745
2472
|
orderId: z.nullable(z.string()).optional(),
|
|
1746
|
-
status:
|
|
2473
|
+
status: ListSubscriptionPaymentsStatusEnum$inboundSchema,
|
|
1747
2474
|
statusReason: z.nullable(z.lazy(() => ListSubscriptionPaymentsStatusReason$inboundSchema)).optional(),
|
|
1748
2475
|
isCancelable: z.nullable(z.boolean()).optional(),
|
|
1749
|
-
details: z.nullable(z.
|
|
2476
|
+
details: z.nullable(z.lazy(() => ListSubscriptionPaymentsDetails$inboundSchema)).optional(),
|
|
1750
2477
|
createdAt: z.string(),
|
|
1751
2478
|
authorizedAt: z.nullable(z.string()).optional(),
|
|
1752
2479
|
paidAt: z.nullable(z.string()).optional(),
|
|
@@ -1796,10 +2523,10 @@ export const ListSubscriptionPaymentsPaymentOutput$outboundSchema = z.object({
|
|
|
1796
2523
|
profileId: z.string(),
|
|
1797
2524
|
settlementId: z.nullable(z.string()).optional(),
|
|
1798
2525
|
orderId: z.nullable(z.string()).optional(),
|
|
1799
|
-
status:
|
|
2526
|
+
status: ListSubscriptionPaymentsStatusEnum$outboundSchema,
|
|
1800
2527
|
statusReason: z.nullable(z.lazy(() => ListSubscriptionPaymentsStatusReason$outboundSchema)).optional(),
|
|
1801
2528
|
isCancelable: z.nullable(z.boolean()).optional(),
|
|
1802
|
-
details: z.nullable(z.
|
|
2529
|
+
details: z.nullable(z.lazy(() => ListSubscriptionPaymentsDetails$outboundSchema)).optional(),
|
|
1803
2530
|
createdAt: z.string(),
|
|
1804
2531
|
authorizedAt: z.nullable(z.string()).optional(),
|
|
1805
2532
|
paidAt: z.nullable(z.string()).optional(),
|
|
@@ -1965,19 +2692,17 @@ export function listSubscriptionPaymentsDocumentationFromJSON(jsonString) {
|
|
|
1965
2692
|
}
|
|
1966
2693
|
/** @internal */
|
|
1967
2694
|
export const ListSubscriptionPaymentsLinks$inboundSchema = z.object({
|
|
1968
|
-
self: z.lazy(() => ListSubscriptionPaymentsSelf$inboundSchema)
|
|
1969
|
-
previous: z.nullable(z.lazy(() => ListSubscriptionPaymentsPrevious$inboundSchema))
|
|
1970
|
-
next: z.nullable(z.lazy(() => ListSubscriptionPaymentsNext$inboundSchema))
|
|
1971
|
-
|
|
1972
|
-
documentation: z.lazy(() => ListSubscriptionPaymentsDocumentation$inboundSchema).optional(),
|
|
2695
|
+
self: z.lazy(() => ListSubscriptionPaymentsSelf$inboundSchema),
|
|
2696
|
+
previous: z.nullable(z.lazy(() => ListSubscriptionPaymentsPrevious$inboundSchema)),
|
|
2697
|
+
next: z.nullable(z.lazy(() => ListSubscriptionPaymentsNext$inboundSchema)),
|
|
2698
|
+
documentation: z.lazy(() => ListSubscriptionPaymentsDocumentation$inboundSchema),
|
|
1973
2699
|
});
|
|
1974
2700
|
/** @internal */
|
|
1975
2701
|
export const ListSubscriptionPaymentsLinks$outboundSchema = z.object({
|
|
1976
|
-
self: z.lazy(() => ListSubscriptionPaymentsSelf$outboundSchema)
|
|
1977
|
-
previous: z.nullable(z.lazy(() => ListSubscriptionPaymentsPrevious$outboundSchema))
|
|
1978
|
-
next: z.nullable(z.lazy(() => ListSubscriptionPaymentsNext$outboundSchema))
|
|
1979
|
-
|
|
1980
|
-
documentation: z.lazy(() => ListSubscriptionPaymentsDocumentation$outboundSchema).optional(),
|
|
2702
|
+
self: z.lazy(() => ListSubscriptionPaymentsSelf$outboundSchema),
|
|
2703
|
+
previous: z.nullable(z.lazy(() => ListSubscriptionPaymentsPrevious$outboundSchema)),
|
|
2704
|
+
next: z.nullable(z.lazy(() => ListSubscriptionPaymentsNext$outboundSchema)),
|
|
2705
|
+
documentation: z.lazy(() => ListSubscriptionPaymentsDocumentation$outboundSchema),
|
|
1981
2706
|
});
|
|
1982
2707
|
/**
|
|
1983
2708
|
* @internal
|
|
@@ -1998,10 +2723,9 @@ export function listSubscriptionPaymentsLinksFromJSON(jsonString) {
|
|
|
1998
2723
|
}
|
|
1999
2724
|
/** @internal */
|
|
2000
2725
|
export const ListSubscriptionPaymentsResponse$inboundSchema = z.object({
|
|
2001
|
-
count: z.number().int()
|
|
2002
|
-
_embedded: z.lazy(() => ListSubscriptionPaymentsEmbedded$inboundSchema)
|
|
2003
|
-
|
|
2004
|
-
_links: z.lazy(() => ListSubscriptionPaymentsLinks$inboundSchema).optional(),
|
|
2726
|
+
count: z.number().int(),
|
|
2727
|
+
_embedded: z.lazy(() => ListSubscriptionPaymentsEmbedded$inboundSchema),
|
|
2728
|
+
_links: z.lazy(() => ListSubscriptionPaymentsLinks$inboundSchema),
|
|
2005
2729
|
}).transform((v) => {
|
|
2006
2730
|
return remap$(v, {
|
|
2007
2731
|
"_embedded": "embedded",
|
|
@@ -2010,10 +2734,9 @@ export const ListSubscriptionPaymentsResponse$inboundSchema = z.object({
|
|
|
2010
2734
|
});
|
|
2011
2735
|
/** @internal */
|
|
2012
2736
|
export const ListSubscriptionPaymentsResponse$outboundSchema = z.object({
|
|
2013
|
-
count: z.number().int()
|
|
2014
|
-
embedded: z.lazy(() => ListSubscriptionPaymentsEmbedded$outboundSchema)
|
|
2015
|
-
|
|
2016
|
-
links: z.lazy(() => ListSubscriptionPaymentsLinks$outboundSchema).optional(),
|
|
2737
|
+
count: z.number().int(),
|
|
2738
|
+
embedded: z.lazy(() => ListSubscriptionPaymentsEmbedded$outboundSchema),
|
|
2739
|
+
links: z.lazy(() => ListSubscriptionPaymentsLinks$outboundSchema),
|
|
2017
2740
|
}).transform((v) => {
|
|
2018
2741
|
return remap$(v, {
|
|
2019
2742
|
embedded: "_embedded",
|