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
|
@@ -122,341 +122,6 @@ export type ListSettlementsAmount = {
|
|
|
122
122
|
value: string;
|
|
123
123
|
};
|
|
124
124
|
|
|
125
|
-
/**
|
|
126
|
-
* The payment method, if applicable
|
|
127
|
-
*/
|
|
128
|
-
export const ListSettlementsCostMethod = {
|
|
129
|
-
Alma: "alma",
|
|
130
|
-
Bacs: "bacs",
|
|
131
|
-
Applepay: "applepay",
|
|
132
|
-
Bancomatpay: "bancomatpay",
|
|
133
|
-
Bancontact: "bancontact",
|
|
134
|
-
Banktransfer: "banktransfer",
|
|
135
|
-
Belfius: "belfius",
|
|
136
|
-
Billie: "billie",
|
|
137
|
-
Bizum: "bizum",
|
|
138
|
-
Bitcoin: "bitcoin",
|
|
139
|
-
Blik: "blik",
|
|
140
|
-
Creditcard: "creditcard",
|
|
141
|
-
Directdebit: "directdebit",
|
|
142
|
-
Eps: "eps",
|
|
143
|
-
Giftcard: "giftcard",
|
|
144
|
-
Giropay: "giropay",
|
|
145
|
-
Googlepay: "googlepay",
|
|
146
|
-
Ideal: "ideal",
|
|
147
|
-
In3: "in3",
|
|
148
|
-
Inghomepay: "inghomepay",
|
|
149
|
-
Kbc: "kbc",
|
|
150
|
-
Klarnapaylater: "klarnapaylater",
|
|
151
|
-
Klarnapaynow: "klarnapaynow",
|
|
152
|
-
Klarnasliceit: "klarnasliceit",
|
|
153
|
-
Klarna: "klarna",
|
|
154
|
-
Mbway: "mbway",
|
|
155
|
-
Multibanco: "multibanco",
|
|
156
|
-
Mybank: "mybank",
|
|
157
|
-
Paybybank: "paybybank",
|
|
158
|
-
Payconiq: "payconiq",
|
|
159
|
-
Paypal: "paypal",
|
|
160
|
-
Paysafecard: "paysafecard",
|
|
161
|
-
Przelewy24: "przelewy24",
|
|
162
|
-
Riverty: "riverty",
|
|
163
|
-
Satispay: "satispay",
|
|
164
|
-
Podiumcadeaukaart: "podiumcadeaukaart",
|
|
165
|
-
Pointofsale: "pointofsale",
|
|
166
|
-
Sofort: "sofort",
|
|
167
|
-
Swish: "swish",
|
|
168
|
-
Trustly: "trustly",
|
|
169
|
-
Twint: "twint",
|
|
170
|
-
Voucher: "voucher",
|
|
171
|
-
} as const;
|
|
172
|
-
/**
|
|
173
|
-
* The payment method, if applicable
|
|
174
|
-
*/
|
|
175
|
-
export type ListSettlementsCostMethod = ClosedEnum<
|
|
176
|
-
typeof ListSettlementsCostMethod
|
|
177
|
-
>;
|
|
178
|
-
|
|
179
|
-
/**
|
|
180
|
-
* In v2 endpoints, monetary amounts are represented as objects with a `currency` and `value` field.
|
|
181
|
-
*/
|
|
182
|
-
export type ListSettlementsFixed = {
|
|
183
|
-
/**
|
|
184
|
-
* A three-character ISO 4217 currency code.
|
|
185
|
-
*/
|
|
186
|
-
currency: string;
|
|
187
|
-
/**
|
|
188
|
-
* A string containing an exact monetary amount in the given currency.
|
|
189
|
-
*/
|
|
190
|
-
value: string;
|
|
191
|
-
};
|
|
192
|
-
|
|
193
|
-
/**
|
|
194
|
-
* In v2 endpoints, monetary amounts are represented as objects with a `currency` and `value` field.
|
|
195
|
-
*/
|
|
196
|
-
export type ListSettlementsPercentage = {
|
|
197
|
-
/**
|
|
198
|
-
* A three-character ISO 4217 currency code.
|
|
199
|
-
*/
|
|
200
|
-
currency: string;
|
|
201
|
-
/**
|
|
202
|
-
* A string containing an exact monetary amount in the given currency.
|
|
203
|
-
*/
|
|
204
|
-
value: string;
|
|
205
|
-
};
|
|
206
|
-
|
|
207
|
-
/**
|
|
208
|
-
* The service rates, further divided into `fixed` and `percentage` costs.
|
|
209
|
-
*/
|
|
210
|
-
export type ListSettlementsRate = {
|
|
211
|
-
/**
|
|
212
|
-
* In v2 endpoints, monetary amounts are represented as objects with a `currency` and `value` field.
|
|
213
|
-
*/
|
|
214
|
-
fixed?: ListSettlementsFixed | undefined;
|
|
215
|
-
/**
|
|
216
|
-
* In v2 endpoints, monetary amounts are represented as objects with a `currency` and `value` field.
|
|
217
|
-
*/
|
|
218
|
-
percentage?: ListSettlementsPercentage | undefined;
|
|
219
|
-
};
|
|
220
|
-
|
|
221
|
-
/**
|
|
222
|
-
* The net total cost, i.e. excluding VAT
|
|
223
|
-
*/
|
|
224
|
-
export type ListSettlementsCostAmountNet = {
|
|
225
|
-
/**
|
|
226
|
-
* A three-character ISO 4217 currency code.
|
|
227
|
-
*/
|
|
228
|
-
currency: string;
|
|
229
|
-
/**
|
|
230
|
-
* A string containing an exact monetary amount in the given currency.
|
|
231
|
-
*/
|
|
232
|
-
value: string;
|
|
233
|
-
};
|
|
234
|
-
|
|
235
|
-
/**
|
|
236
|
-
* The applicable VAT
|
|
237
|
-
*/
|
|
238
|
-
export type ListSettlementsCostAmountVat = {
|
|
239
|
-
/**
|
|
240
|
-
* A three-character ISO 4217 currency code.
|
|
241
|
-
*/
|
|
242
|
-
currency: string;
|
|
243
|
-
/**
|
|
244
|
-
* A string containing an exact monetary amount in the given currency.
|
|
245
|
-
*/
|
|
246
|
-
value: string;
|
|
247
|
-
};
|
|
248
|
-
|
|
249
|
-
/**
|
|
250
|
-
* The gross total cost, i.e. including VAT
|
|
251
|
-
*/
|
|
252
|
-
export type ListSettlementsCostAmountGross = {
|
|
253
|
-
/**
|
|
254
|
-
* A three-character ISO 4217 currency code.
|
|
255
|
-
*/
|
|
256
|
-
currency: string;
|
|
257
|
-
/**
|
|
258
|
-
* A string containing an exact monetary amount in the given currency.
|
|
259
|
-
*/
|
|
260
|
-
value: string;
|
|
261
|
-
};
|
|
262
|
-
|
|
263
|
-
export type ListSettlementsCost = {
|
|
264
|
-
/**
|
|
265
|
-
* A description of the cost subtotal
|
|
266
|
-
*/
|
|
267
|
-
description?: string | undefined;
|
|
268
|
-
/**
|
|
269
|
-
* The payment method, if applicable
|
|
270
|
-
*/
|
|
271
|
-
method?: ListSettlementsCostMethod | null | undefined;
|
|
272
|
-
/**
|
|
273
|
-
* The number of fees
|
|
274
|
-
*/
|
|
275
|
-
count?: number | undefined;
|
|
276
|
-
/**
|
|
277
|
-
* The service rates, further divided into `fixed` and `percentage` costs.
|
|
278
|
-
*/
|
|
279
|
-
rate?: ListSettlementsRate | undefined;
|
|
280
|
-
/**
|
|
281
|
-
* The net total cost, i.e. excluding VAT
|
|
282
|
-
*/
|
|
283
|
-
amountNet?: ListSettlementsCostAmountNet | undefined;
|
|
284
|
-
/**
|
|
285
|
-
* The applicable VAT
|
|
286
|
-
*/
|
|
287
|
-
amountVat?: ListSettlementsCostAmountVat | undefined;
|
|
288
|
-
/**
|
|
289
|
-
* The gross total cost, i.e. including VAT
|
|
290
|
-
*/
|
|
291
|
-
amountGross?: ListSettlementsCostAmountGross | undefined;
|
|
292
|
-
};
|
|
293
|
-
|
|
294
|
-
/**
|
|
295
|
-
* The payment method, if applicable
|
|
296
|
-
*/
|
|
297
|
-
export const ListSettlementsRevenueMethod = {
|
|
298
|
-
Alma: "alma",
|
|
299
|
-
Bacs: "bacs",
|
|
300
|
-
Applepay: "applepay",
|
|
301
|
-
Bancomatpay: "bancomatpay",
|
|
302
|
-
Bancontact: "bancontact",
|
|
303
|
-
Banktransfer: "banktransfer",
|
|
304
|
-
Belfius: "belfius",
|
|
305
|
-
Billie: "billie",
|
|
306
|
-
Bizum: "bizum",
|
|
307
|
-
Bitcoin: "bitcoin",
|
|
308
|
-
Blik: "blik",
|
|
309
|
-
Creditcard: "creditcard",
|
|
310
|
-
Directdebit: "directdebit",
|
|
311
|
-
Eps: "eps",
|
|
312
|
-
Giftcard: "giftcard",
|
|
313
|
-
Giropay: "giropay",
|
|
314
|
-
Googlepay: "googlepay",
|
|
315
|
-
Ideal: "ideal",
|
|
316
|
-
In3: "in3",
|
|
317
|
-
Inghomepay: "inghomepay",
|
|
318
|
-
Kbc: "kbc",
|
|
319
|
-
Klarnapaylater: "klarnapaylater",
|
|
320
|
-
Klarnapaynow: "klarnapaynow",
|
|
321
|
-
Klarnasliceit: "klarnasliceit",
|
|
322
|
-
Klarna: "klarna",
|
|
323
|
-
Mbway: "mbway",
|
|
324
|
-
Multibanco: "multibanco",
|
|
325
|
-
Mybank: "mybank",
|
|
326
|
-
Paybybank: "paybybank",
|
|
327
|
-
Payconiq: "payconiq",
|
|
328
|
-
Paypal: "paypal",
|
|
329
|
-
Paysafecard: "paysafecard",
|
|
330
|
-
Przelewy24: "przelewy24",
|
|
331
|
-
Riverty: "riverty",
|
|
332
|
-
Satispay: "satispay",
|
|
333
|
-
Podiumcadeaukaart: "podiumcadeaukaart",
|
|
334
|
-
Pointofsale: "pointofsale",
|
|
335
|
-
Sofort: "sofort",
|
|
336
|
-
Swish: "swish",
|
|
337
|
-
Trustly: "trustly",
|
|
338
|
-
Twint: "twint",
|
|
339
|
-
Voucher: "voucher",
|
|
340
|
-
} as const;
|
|
341
|
-
/**
|
|
342
|
-
* The payment method, if applicable
|
|
343
|
-
*/
|
|
344
|
-
export type ListSettlementsRevenueMethod = ClosedEnum<
|
|
345
|
-
typeof ListSettlementsRevenueMethod
|
|
346
|
-
>;
|
|
347
|
-
|
|
348
|
-
/**
|
|
349
|
-
* The net total of received funds, i.e. excluding VAT
|
|
350
|
-
*/
|
|
351
|
-
export type ListSettlementsRevenueAmountNet = {
|
|
352
|
-
/**
|
|
353
|
-
* A three-character ISO 4217 currency code.
|
|
354
|
-
*/
|
|
355
|
-
currency: string;
|
|
356
|
-
/**
|
|
357
|
-
* A string containing an exact monetary amount in the given currency.
|
|
358
|
-
*/
|
|
359
|
-
value: string;
|
|
360
|
-
};
|
|
361
|
-
|
|
362
|
-
/**
|
|
363
|
-
* The applicable VAT
|
|
364
|
-
*/
|
|
365
|
-
export type ListSettlementsRevenueAmountVat = {
|
|
366
|
-
/**
|
|
367
|
-
* A three-character ISO 4217 currency code.
|
|
368
|
-
*/
|
|
369
|
-
currency: string;
|
|
370
|
-
/**
|
|
371
|
-
* A string containing an exact monetary amount in the given currency.
|
|
372
|
-
*/
|
|
373
|
-
value: string;
|
|
374
|
-
};
|
|
375
|
-
|
|
376
|
-
/**
|
|
377
|
-
* The gross total of received funds, i.e. including VAT
|
|
378
|
-
*/
|
|
379
|
-
export type ListSettlementsRevenueAmountGross = {
|
|
380
|
-
/**
|
|
381
|
-
* A three-character ISO 4217 currency code.
|
|
382
|
-
*/
|
|
383
|
-
currency: string;
|
|
384
|
-
/**
|
|
385
|
-
* A string containing an exact monetary amount in the given currency.
|
|
386
|
-
*/
|
|
387
|
-
value: string;
|
|
388
|
-
};
|
|
389
|
-
|
|
390
|
-
export type ListSettlementsRevenue = {
|
|
391
|
-
/**
|
|
392
|
-
* A description of the revenue subtotal
|
|
393
|
-
*/
|
|
394
|
-
description?: string | undefined;
|
|
395
|
-
/**
|
|
396
|
-
* The payment method, if applicable
|
|
397
|
-
*/
|
|
398
|
-
method?: ListSettlementsRevenueMethod | null | undefined;
|
|
399
|
-
/**
|
|
400
|
-
* The number of payments
|
|
401
|
-
*/
|
|
402
|
-
count?: number | undefined;
|
|
403
|
-
/**
|
|
404
|
-
* The net total of received funds, i.e. excluding VAT
|
|
405
|
-
*/
|
|
406
|
-
amountNet?: ListSettlementsRevenueAmountNet | undefined;
|
|
407
|
-
/**
|
|
408
|
-
* The applicable VAT
|
|
409
|
-
*/
|
|
410
|
-
amountVat?: ListSettlementsRevenueAmountVat | undefined;
|
|
411
|
-
/**
|
|
412
|
-
* The gross total of received funds, i.e. including VAT
|
|
413
|
-
*/
|
|
414
|
-
amountGross?: ListSettlementsRevenueAmountGross | undefined;
|
|
415
|
-
};
|
|
416
|
-
|
|
417
|
-
export type ListSettlementsLessThanMonthGreaterThan = {
|
|
418
|
-
/**
|
|
419
|
-
* An array of cost objects, describing the fees withheld for each payment method during this period.
|
|
420
|
-
*/
|
|
421
|
-
costs?: Array<ListSettlementsCost> | undefined;
|
|
422
|
-
/**
|
|
423
|
-
* An array of revenue objects containing the total revenue for each payment method during this period.
|
|
424
|
-
*/
|
|
425
|
-
revenue?: Array<ListSettlementsRevenue> | undefined;
|
|
426
|
-
/**
|
|
427
|
-
* The ID of the invoice created for this period, if the invoice has been created already.
|
|
428
|
-
*/
|
|
429
|
-
invoiceId?: string | null | undefined;
|
|
430
|
-
/**
|
|
431
|
-
* The invoice reference, if the invoice has been created already.
|
|
432
|
-
*/
|
|
433
|
-
invoiceReference?: string | null | undefined;
|
|
434
|
-
};
|
|
435
|
-
|
|
436
|
-
export type ListSettlementsLessThanYearGreaterThan = {
|
|
437
|
-
lessThanMonthGreaterThan?:
|
|
438
|
-
| ListSettlementsLessThanMonthGreaterThan
|
|
439
|
-
| undefined;
|
|
440
|
-
};
|
|
441
|
-
|
|
442
|
-
/**
|
|
443
|
-
* For bookkeeping purposes, the settlement includes an overview of transactions included in the settlement. These
|
|
444
|
-
*
|
|
445
|
-
* @remarks
|
|
446
|
-
* transactions are grouped into 'period' objects — one for each calendar month.
|
|
447
|
-
*
|
|
448
|
-
* For example, if a settlement includes funds from 15 April until 4 May, it will include two period objects. One for
|
|
449
|
-
* all transactions processed between 15 April and 30 April, and one for all transactions between 1 May and 4 May.
|
|
450
|
-
*
|
|
451
|
-
* Period objects are grouped by year, and then by month. So in the above example, the full `periods` collection will
|
|
452
|
-
* look as follows: `{"2024": {"04": {...}, "05": {...}}}`. The year and month in this documentation are referred as `<year>` and `<month>`.
|
|
453
|
-
*
|
|
454
|
-
* The example response should give a good idea of what this looks like in practise.
|
|
455
|
-
*/
|
|
456
|
-
export type ListSettlementsPeriods = {
|
|
457
|
-
lessThanYearGreaterThan?: ListSettlementsLessThanYearGreaterThan | undefined;
|
|
458
|
-
};
|
|
459
|
-
|
|
460
125
|
/**
|
|
461
126
|
* In v2 endpoints, URLs are commonly represented as objects with an `href` and `type` field.
|
|
462
127
|
*/
|
|
@@ -648,7 +313,7 @@ export type ListSettlementsSettlement = {
|
|
|
648
313
|
*
|
|
649
314
|
* The example response should give a good idea of what this looks like in practise.
|
|
650
315
|
*/
|
|
651
|
-
periods?:
|
|
316
|
+
periods?: { [k: string]: any } | undefined;
|
|
652
317
|
/**
|
|
653
318
|
* An object with several relevant URLs. Every URL object will contain an `href` and a `type` field.
|
|
654
319
|
*/
|
|
@@ -728,19 +393,19 @@ export type ListSettlementsLinks = {
|
|
|
728
393
|
/**
|
|
729
394
|
* The URL to the current set of items.
|
|
730
395
|
*/
|
|
731
|
-
self
|
|
396
|
+
self: ListSettlementsSelf;
|
|
732
397
|
/**
|
|
733
398
|
* The previous set of items, if available.
|
|
734
399
|
*/
|
|
735
|
-
previous
|
|
400
|
+
previous: ListSettlementsPrevious | null;
|
|
736
401
|
/**
|
|
737
402
|
* The next set of items, if available.
|
|
738
403
|
*/
|
|
739
|
-
next
|
|
404
|
+
next: ListSettlementsNext | null;
|
|
740
405
|
/**
|
|
741
406
|
* In v2 endpoints, URLs are commonly represented as objects with an `href` and `type` field.
|
|
742
407
|
*/
|
|
743
|
-
documentation
|
|
408
|
+
documentation: ListSettlementsDocumentation;
|
|
744
409
|
};
|
|
745
410
|
|
|
746
411
|
/**
|
|
@@ -775,1339 +440,406 @@ export const Currencies$inboundSchema: z.ZodNativeEnum<typeof Currencies> = z
|
|
|
775
440
|
export const Currencies$outboundSchema: z.ZodNativeEnum<typeof Currencies> =
|
|
776
441
|
Currencies$inboundSchema;
|
|
777
442
|
|
|
778
|
-
/**
|
|
779
|
-
* @internal
|
|
780
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
781
|
-
*/
|
|
782
|
-
export namespace Currencies$ {
|
|
783
|
-
/** @deprecated use `Currencies$inboundSchema` instead. */
|
|
784
|
-
export const inboundSchema = Currencies$inboundSchema;
|
|
785
|
-
/** @deprecated use `Currencies$outboundSchema` instead. */
|
|
786
|
-
export const outboundSchema = Currencies$outboundSchema;
|
|
787
|
-
}
|
|
788
|
-
|
|
789
|
-
/** @internal */
|
|
790
|
-
export const ListSettlementsRequest$inboundSchema: z.ZodType<
|
|
791
|
-
ListSettlementsRequest,
|
|
792
|
-
z.ZodTypeDef,
|
|
793
|
-
unknown
|
|
794
|
-
> = z.object({
|
|
795
|
-
from: z.string().optional(),
|
|
796
|
-
limit: z.nullable(z.number().int()).optional(),
|
|
797
|
-
balanceId: z.nullable(z.string()).optional(),
|
|
798
|
-
year: z.nullable(z.string()).optional(),
|
|
799
|
-
month: z.nullable(z.string()).optional(),
|
|
800
|
-
currencies: z.nullable(Currencies$inboundSchema).optional(),
|
|
801
|
-
});
|
|
802
|
-
|
|
803
|
-
/** @internal */
|
|
804
|
-
export type ListSettlementsRequest$Outbound = {
|
|
805
|
-
from?: string | undefined;
|
|
806
|
-
limit?: number | null | undefined;
|
|
807
|
-
balanceId?: string | null | undefined;
|
|
808
|
-
year?: string | null | undefined;
|
|
809
|
-
month?: string | null | undefined;
|
|
810
|
-
currencies?: string | null | undefined;
|
|
811
|
-
};
|
|
812
|
-
|
|
813
|
-
/** @internal */
|
|
814
|
-
export const ListSettlementsRequest$outboundSchema: z.ZodType<
|
|
815
|
-
ListSettlementsRequest$Outbound,
|
|
816
|
-
z.ZodTypeDef,
|
|
817
|
-
ListSettlementsRequest
|
|
818
|
-
> = z.object({
|
|
819
|
-
from: z.string().optional(),
|
|
820
|
-
limit: z.nullable(z.number().int()).optional(),
|
|
821
|
-
balanceId: z.nullable(z.string()).optional(),
|
|
822
|
-
year: z.nullable(z.string()).optional(),
|
|
823
|
-
month: z.nullable(z.string()).optional(),
|
|
824
|
-
currencies: z.nullable(Currencies$outboundSchema).optional(),
|
|
825
|
-
});
|
|
826
|
-
|
|
827
|
-
/**
|
|
828
|
-
* @internal
|
|
829
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
830
|
-
*/
|
|
831
|
-
export namespace ListSettlementsRequest$ {
|
|
832
|
-
/** @deprecated use `ListSettlementsRequest$inboundSchema` instead. */
|
|
833
|
-
export const inboundSchema = ListSettlementsRequest$inboundSchema;
|
|
834
|
-
/** @deprecated use `ListSettlementsRequest$outboundSchema` instead. */
|
|
835
|
-
export const outboundSchema = ListSettlementsRequest$outboundSchema;
|
|
836
|
-
/** @deprecated use `ListSettlementsRequest$Outbound` instead. */
|
|
837
|
-
export type Outbound = ListSettlementsRequest$Outbound;
|
|
838
|
-
}
|
|
839
|
-
|
|
840
|
-
export function listSettlementsRequestToJSON(
|
|
841
|
-
listSettlementsRequest: ListSettlementsRequest,
|
|
842
|
-
): string {
|
|
843
|
-
return JSON.stringify(
|
|
844
|
-
ListSettlementsRequest$outboundSchema.parse(listSettlementsRequest),
|
|
845
|
-
);
|
|
846
|
-
}
|
|
847
|
-
|
|
848
|
-
export function listSettlementsRequestFromJSON(
|
|
849
|
-
jsonString: string,
|
|
850
|
-
): SafeParseResult<ListSettlementsRequest, SDKValidationError> {
|
|
851
|
-
return safeParse(
|
|
852
|
-
jsonString,
|
|
853
|
-
(x) => ListSettlementsRequest$inboundSchema.parse(JSON.parse(x)),
|
|
854
|
-
`Failed to parse 'ListSettlementsRequest' from JSON`,
|
|
855
|
-
);
|
|
856
|
-
}
|
|
857
|
-
|
|
858
|
-
/** @internal */
|
|
859
|
-
export const ListSettlementsNotFoundDocumentation$inboundSchema: z.ZodType<
|
|
860
|
-
ListSettlementsNotFoundDocumentation,
|
|
861
|
-
z.ZodTypeDef,
|
|
862
|
-
unknown
|
|
863
|
-
> = z.object({
|
|
864
|
-
href: z.string(),
|
|
865
|
-
type: z.string(),
|
|
866
|
-
});
|
|
867
|
-
|
|
868
|
-
/** @internal */
|
|
869
|
-
export type ListSettlementsNotFoundDocumentation$Outbound = {
|
|
870
|
-
href: string;
|
|
871
|
-
type: string;
|
|
872
|
-
};
|
|
873
|
-
|
|
874
|
-
/** @internal */
|
|
875
|
-
export const ListSettlementsNotFoundDocumentation$outboundSchema: z.ZodType<
|
|
876
|
-
ListSettlementsNotFoundDocumentation$Outbound,
|
|
877
|
-
z.ZodTypeDef,
|
|
878
|
-
ListSettlementsNotFoundDocumentation
|
|
879
|
-
> = z.object({
|
|
880
|
-
href: z.string(),
|
|
881
|
-
type: z.string(),
|
|
882
|
-
});
|
|
883
|
-
|
|
884
|
-
/**
|
|
885
|
-
* @internal
|
|
886
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
887
|
-
*/
|
|
888
|
-
export namespace ListSettlementsNotFoundDocumentation$ {
|
|
889
|
-
/** @deprecated use `ListSettlementsNotFoundDocumentation$inboundSchema` instead. */
|
|
890
|
-
export const inboundSchema =
|
|
891
|
-
ListSettlementsNotFoundDocumentation$inboundSchema;
|
|
892
|
-
/** @deprecated use `ListSettlementsNotFoundDocumentation$outboundSchema` instead. */
|
|
893
|
-
export const outboundSchema =
|
|
894
|
-
ListSettlementsNotFoundDocumentation$outboundSchema;
|
|
895
|
-
/** @deprecated use `ListSettlementsNotFoundDocumentation$Outbound` instead. */
|
|
896
|
-
export type Outbound = ListSettlementsNotFoundDocumentation$Outbound;
|
|
897
|
-
}
|
|
898
|
-
|
|
899
|
-
export function listSettlementsNotFoundDocumentationToJSON(
|
|
900
|
-
listSettlementsNotFoundDocumentation: ListSettlementsNotFoundDocumentation,
|
|
901
|
-
): string {
|
|
902
|
-
return JSON.stringify(
|
|
903
|
-
ListSettlementsNotFoundDocumentation$outboundSchema.parse(
|
|
904
|
-
listSettlementsNotFoundDocumentation,
|
|
905
|
-
),
|
|
906
|
-
);
|
|
907
|
-
}
|
|
908
|
-
|
|
909
|
-
export function listSettlementsNotFoundDocumentationFromJSON(
|
|
910
|
-
jsonString: string,
|
|
911
|
-
): SafeParseResult<ListSettlementsNotFoundDocumentation, SDKValidationError> {
|
|
912
|
-
return safeParse(
|
|
913
|
-
jsonString,
|
|
914
|
-
(x) =>
|
|
915
|
-
ListSettlementsNotFoundDocumentation$inboundSchema.parse(JSON.parse(x)),
|
|
916
|
-
`Failed to parse 'ListSettlementsNotFoundDocumentation' from JSON`,
|
|
917
|
-
);
|
|
918
|
-
}
|
|
919
|
-
|
|
920
|
-
/** @internal */
|
|
921
|
-
export const ListSettlementsNotFoundLinks$inboundSchema: z.ZodType<
|
|
922
|
-
ListSettlementsNotFoundLinks,
|
|
923
|
-
z.ZodTypeDef,
|
|
924
|
-
unknown
|
|
925
|
-
> = z.object({
|
|
926
|
-
documentation: z.lazy(() =>
|
|
927
|
-
ListSettlementsNotFoundDocumentation$inboundSchema
|
|
928
|
-
),
|
|
929
|
-
});
|
|
930
|
-
|
|
931
|
-
/** @internal */
|
|
932
|
-
export type ListSettlementsNotFoundLinks$Outbound = {
|
|
933
|
-
documentation: ListSettlementsNotFoundDocumentation$Outbound;
|
|
934
|
-
};
|
|
935
|
-
|
|
936
|
-
/** @internal */
|
|
937
|
-
export const ListSettlementsNotFoundLinks$outboundSchema: z.ZodType<
|
|
938
|
-
ListSettlementsNotFoundLinks$Outbound,
|
|
939
|
-
z.ZodTypeDef,
|
|
940
|
-
ListSettlementsNotFoundLinks
|
|
941
|
-
> = z.object({
|
|
942
|
-
documentation: z.lazy(() =>
|
|
943
|
-
ListSettlementsNotFoundDocumentation$outboundSchema
|
|
944
|
-
),
|
|
945
|
-
});
|
|
946
|
-
|
|
947
|
-
/**
|
|
948
|
-
* @internal
|
|
949
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
950
|
-
*/
|
|
951
|
-
export namespace ListSettlementsNotFoundLinks$ {
|
|
952
|
-
/** @deprecated use `ListSettlementsNotFoundLinks$inboundSchema` instead. */
|
|
953
|
-
export const inboundSchema = ListSettlementsNotFoundLinks$inboundSchema;
|
|
954
|
-
/** @deprecated use `ListSettlementsNotFoundLinks$outboundSchema` instead. */
|
|
955
|
-
export const outboundSchema = ListSettlementsNotFoundLinks$outboundSchema;
|
|
956
|
-
/** @deprecated use `ListSettlementsNotFoundLinks$Outbound` instead. */
|
|
957
|
-
export type Outbound = ListSettlementsNotFoundLinks$Outbound;
|
|
958
|
-
}
|
|
959
|
-
|
|
960
|
-
export function listSettlementsNotFoundLinksToJSON(
|
|
961
|
-
listSettlementsNotFoundLinks: ListSettlementsNotFoundLinks,
|
|
962
|
-
): string {
|
|
963
|
-
return JSON.stringify(
|
|
964
|
-
ListSettlementsNotFoundLinks$outboundSchema.parse(
|
|
965
|
-
listSettlementsNotFoundLinks,
|
|
966
|
-
),
|
|
967
|
-
);
|
|
968
|
-
}
|
|
969
|
-
|
|
970
|
-
export function listSettlementsNotFoundLinksFromJSON(
|
|
971
|
-
jsonString: string,
|
|
972
|
-
): SafeParseResult<ListSettlementsNotFoundLinks, SDKValidationError> {
|
|
973
|
-
return safeParse(
|
|
974
|
-
jsonString,
|
|
975
|
-
(x) => ListSettlementsNotFoundLinks$inboundSchema.parse(JSON.parse(x)),
|
|
976
|
-
`Failed to parse 'ListSettlementsNotFoundLinks' from JSON`,
|
|
977
|
-
);
|
|
978
|
-
}
|
|
979
|
-
|
|
980
|
-
/** @internal */
|
|
981
|
-
export const ListSettlementsBadRequestDocumentation$inboundSchema: z.ZodType<
|
|
982
|
-
ListSettlementsBadRequestDocumentation,
|
|
983
|
-
z.ZodTypeDef,
|
|
984
|
-
unknown
|
|
985
|
-
> = z.object({
|
|
986
|
-
href: z.string(),
|
|
987
|
-
type: z.string(),
|
|
988
|
-
});
|
|
989
|
-
|
|
990
|
-
/** @internal */
|
|
991
|
-
export type ListSettlementsBadRequestDocumentation$Outbound = {
|
|
992
|
-
href: string;
|
|
993
|
-
type: string;
|
|
994
|
-
};
|
|
995
|
-
|
|
996
|
-
/** @internal */
|
|
997
|
-
export const ListSettlementsBadRequestDocumentation$outboundSchema: z.ZodType<
|
|
998
|
-
ListSettlementsBadRequestDocumentation$Outbound,
|
|
999
|
-
z.ZodTypeDef,
|
|
1000
|
-
ListSettlementsBadRequestDocumentation
|
|
1001
|
-
> = z.object({
|
|
1002
|
-
href: z.string(),
|
|
1003
|
-
type: z.string(),
|
|
1004
|
-
});
|
|
1005
|
-
|
|
1006
|
-
/**
|
|
1007
|
-
* @internal
|
|
1008
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1009
|
-
*/
|
|
1010
|
-
export namespace ListSettlementsBadRequestDocumentation$ {
|
|
1011
|
-
/** @deprecated use `ListSettlementsBadRequestDocumentation$inboundSchema` instead. */
|
|
1012
|
-
export const inboundSchema =
|
|
1013
|
-
ListSettlementsBadRequestDocumentation$inboundSchema;
|
|
1014
|
-
/** @deprecated use `ListSettlementsBadRequestDocumentation$outboundSchema` instead. */
|
|
1015
|
-
export const outboundSchema =
|
|
1016
|
-
ListSettlementsBadRequestDocumentation$outboundSchema;
|
|
1017
|
-
/** @deprecated use `ListSettlementsBadRequestDocumentation$Outbound` instead. */
|
|
1018
|
-
export type Outbound = ListSettlementsBadRequestDocumentation$Outbound;
|
|
1019
|
-
}
|
|
1020
|
-
|
|
1021
|
-
export function listSettlementsBadRequestDocumentationToJSON(
|
|
1022
|
-
listSettlementsBadRequestDocumentation:
|
|
1023
|
-
ListSettlementsBadRequestDocumentation,
|
|
1024
|
-
): string {
|
|
1025
|
-
return JSON.stringify(
|
|
1026
|
-
ListSettlementsBadRequestDocumentation$outboundSchema.parse(
|
|
1027
|
-
listSettlementsBadRequestDocumentation,
|
|
1028
|
-
),
|
|
1029
|
-
);
|
|
1030
|
-
}
|
|
1031
|
-
|
|
1032
|
-
export function listSettlementsBadRequestDocumentationFromJSON(
|
|
1033
|
-
jsonString: string,
|
|
1034
|
-
): SafeParseResult<ListSettlementsBadRequestDocumentation, SDKValidationError> {
|
|
1035
|
-
return safeParse(
|
|
1036
|
-
jsonString,
|
|
1037
|
-
(x) =>
|
|
1038
|
-
ListSettlementsBadRequestDocumentation$inboundSchema.parse(JSON.parse(x)),
|
|
1039
|
-
`Failed to parse 'ListSettlementsBadRequestDocumentation' from JSON`,
|
|
1040
|
-
);
|
|
1041
|
-
}
|
|
1042
|
-
|
|
1043
|
-
/** @internal */
|
|
1044
|
-
export const ListSettlementsBadRequestLinks$inboundSchema: z.ZodType<
|
|
1045
|
-
ListSettlementsBadRequestLinks,
|
|
1046
|
-
z.ZodTypeDef,
|
|
1047
|
-
unknown
|
|
1048
|
-
> = z.object({
|
|
1049
|
-
documentation: z.lazy(() =>
|
|
1050
|
-
ListSettlementsBadRequestDocumentation$inboundSchema
|
|
1051
|
-
),
|
|
1052
|
-
});
|
|
1053
|
-
|
|
1054
|
-
/** @internal */
|
|
1055
|
-
export type ListSettlementsBadRequestLinks$Outbound = {
|
|
1056
|
-
documentation: ListSettlementsBadRequestDocumentation$Outbound;
|
|
1057
|
-
};
|
|
1058
|
-
|
|
1059
|
-
/** @internal */
|
|
1060
|
-
export const ListSettlementsBadRequestLinks$outboundSchema: z.ZodType<
|
|
1061
|
-
ListSettlementsBadRequestLinks$Outbound,
|
|
1062
|
-
z.ZodTypeDef,
|
|
1063
|
-
ListSettlementsBadRequestLinks
|
|
1064
|
-
> = z.object({
|
|
1065
|
-
documentation: z.lazy(() =>
|
|
1066
|
-
ListSettlementsBadRequestDocumentation$outboundSchema
|
|
1067
|
-
),
|
|
1068
|
-
});
|
|
1069
|
-
|
|
1070
|
-
/**
|
|
1071
|
-
* @internal
|
|
1072
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1073
|
-
*/
|
|
1074
|
-
export namespace ListSettlementsBadRequestLinks$ {
|
|
1075
|
-
/** @deprecated use `ListSettlementsBadRequestLinks$inboundSchema` instead. */
|
|
1076
|
-
export const inboundSchema = ListSettlementsBadRequestLinks$inboundSchema;
|
|
1077
|
-
/** @deprecated use `ListSettlementsBadRequestLinks$outboundSchema` instead. */
|
|
1078
|
-
export const outboundSchema = ListSettlementsBadRequestLinks$outboundSchema;
|
|
1079
|
-
/** @deprecated use `ListSettlementsBadRequestLinks$Outbound` instead. */
|
|
1080
|
-
export type Outbound = ListSettlementsBadRequestLinks$Outbound;
|
|
1081
|
-
}
|
|
1082
|
-
|
|
1083
|
-
export function listSettlementsBadRequestLinksToJSON(
|
|
1084
|
-
listSettlementsBadRequestLinks: ListSettlementsBadRequestLinks,
|
|
1085
|
-
): string {
|
|
1086
|
-
return JSON.stringify(
|
|
1087
|
-
ListSettlementsBadRequestLinks$outboundSchema.parse(
|
|
1088
|
-
listSettlementsBadRequestLinks,
|
|
1089
|
-
),
|
|
1090
|
-
);
|
|
1091
|
-
}
|
|
1092
|
-
|
|
1093
|
-
export function listSettlementsBadRequestLinksFromJSON(
|
|
1094
|
-
jsonString: string,
|
|
1095
|
-
): SafeParseResult<ListSettlementsBadRequestLinks, SDKValidationError> {
|
|
1096
|
-
return safeParse(
|
|
1097
|
-
jsonString,
|
|
1098
|
-
(x) => ListSettlementsBadRequestLinks$inboundSchema.parse(JSON.parse(x)),
|
|
1099
|
-
`Failed to parse 'ListSettlementsBadRequestLinks' from JSON`,
|
|
1100
|
-
);
|
|
1101
|
-
}
|
|
1102
|
-
|
|
1103
|
-
/** @internal */
|
|
1104
|
-
export const ListSettlementsStatus$inboundSchema: z.ZodNativeEnum<
|
|
1105
|
-
typeof ListSettlementsStatus
|
|
1106
|
-
> = z.nativeEnum(ListSettlementsStatus);
|
|
1107
|
-
|
|
1108
|
-
/** @internal */
|
|
1109
|
-
export const ListSettlementsStatus$outboundSchema: z.ZodNativeEnum<
|
|
1110
|
-
typeof ListSettlementsStatus
|
|
1111
|
-
> = ListSettlementsStatus$inboundSchema;
|
|
1112
|
-
|
|
1113
|
-
/**
|
|
1114
|
-
* @internal
|
|
1115
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1116
|
-
*/
|
|
1117
|
-
export namespace ListSettlementsStatus$ {
|
|
1118
|
-
/** @deprecated use `ListSettlementsStatus$inboundSchema` instead. */
|
|
1119
|
-
export const inboundSchema = ListSettlementsStatus$inboundSchema;
|
|
1120
|
-
/** @deprecated use `ListSettlementsStatus$outboundSchema` instead. */
|
|
1121
|
-
export const outboundSchema = ListSettlementsStatus$outboundSchema;
|
|
1122
|
-
}
|
|
1123
|
-
|
|
1124
|
-
/** @internal */
|
|
1125
|
-
export const ListSettlementsAmount$inboundSchema: z.ZodType<
|
|
1126
|
-
ListSettlementsAmount,
|
|
1127
|
-
z.ZodTypeDef,
|
|
1128
|
-
unknown
|
|
1129
|
-
> = z.object({
|
|
1130
|
-
currency: z.string(),
|
|
1131
|
-
value: z.string(),
|
|
1132
|
-
});
|
|
1133
|
-
|
|
1134
|
-
/** @internal */
|
|
1135
|
-
export type ListSettlementsAmount$Outbound = {
|
|
1136
|
-
currency: string;
|
|
1137
|
-
value: string;
|
|
1138
|
-
};
|
|
1139
|
-
|
|
1140
|
-
/** @internal */
|
|
1141
|
-
export const ListSettlementsAmount$outboundSchema: z.ZodType<
|
|
1142
|
-
ListSettlementsAmount$Outbound,
|
|
1143
|
-
z.ZodTypeDef,
|
|
1144
|
-
ListSettlementsAmount
|
|
1145
|
-
> = z.object({
|
|
1146
|
-
currency: z.string(),
|
|
1147
|
-
value: z.string(),
|
|
1148
|
-
});
|
|
1149
|
-
|
|
1150
|
-
/**
|
|
1151
|
-
* @internal
|
|
1152
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1153
|
-
*/
|
|
1154
|
-
export namespace ListSettlementsAmount$ {
|
|
1155
|
-
/** @deprecated use `ListSettlementsAmount$inboundSchema` instead. */
|
|
1156
|
-
export const inboundSchema = ListSettlementsAmount$inboundSchema;
|
|
1157
|
-
/** @deprecated use `ListSettlementsAmount$outboundSchema` instead. */
|
|
1158
|
-
export const outboundSchema = ListSettlementsAmount$outboundSchema;
|
|
1159
|
-
/** @deprecated use `ListSettlementsAmount$Outbound` instead. */
|
|
1160
|
-
export type Outbound = ListSettlementsAmount$Outbound;
|
|
1161
|
-
}
|
|
1162
|
-
|
|
1163
|
-
export function listSettlementsAmountToJSON(
|
|
1164
|
-
listSettlementsAmount: ListSettlementsAmount,
|
|
1165
|
-
): string {
|
|
1166
|
-
return JSON.stringify(
|
|
1167
|
-
ListSettlementsAmount$outboundSchema.parse(listSettlementsAmount),
|
|
1168
|
-
);
|
|
1169
|
-
}
|
|
1170
|
-
|
|
1171
|
-
export function listSettlementsAmountFromJSON(
|
|
1172
|
-
jsonString: string,
|
|
1173
|
-
): SafeParseResult<ListSettlementsAmount, SDKValidationError> {
|
|
1174
|
-
return safeParse(
|
|
1175
|
-
jsonString,
|
|
1176
|
-
(x) => ListSettlementsAmount$inboundSchema.parse(JSON.parse(x)),
|
|
1177
|
-
`Failed to parse 'ListSettlementsAmount' from JSON`,
|
|
1178
|
-
);
|
|
1179
|
-
}
|
|
1180
|
-
|
|
1181
|
-
/** @internal */
|
|
1182
|
-
export const ListSettlementsCostMethod$inboundSchema: z.ZodNativeEnum<
|
|
1183
|
-
typeof ListSettlementsCostMethod
|
|
1184
|
-
> = z.nativeEnum(ListSettlementsCostMethod);
|
|
1185
|
-
|
|
1186
|
-
/** @internal */
|
|
1187
|
-
export const ListSettlementsCostMethod$outboundSchema: z.ZodNativeEnum<
|
|
1188
|
-
typeof ListSettlementsCostMethod
|
|
1189
|
-
> = ListSettlementsCostMethod$inboundSchema;
|
|
1190
|
-
|
|
1191
|
-
/**
|
|
1192
|
-
* @internal
|
|
1193
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1194
|
-
*/
|
|
1195
|
-
export namespace ListSettlementsCostMethod$ {
|
|
1196
|
-
/** @deprecated use `ListSettlementsCostMethod$inboundSchema` instead. */
|
|
1197
|
-
export const inboundSchema = ListSettlementsCostMethod$inboundSchema;
|
|
1198
|
-
/** @deprecated use `ListSettlementsCostMethod$outboundSchema` instead. */
|
|
1199
|
-
export const outboundSchema = ListSettlementsCostMethod$outboundSchema;
|
|
1200
|
-
}
|
|
1201
|
-
|
|
1202
|
-
/** @internal */
|
|
1203
|
-
export const ListSettlementsFixed$inboundSchema: z.ZodType<
|
|
1204
|
-
ListSettlementsFixed,
|
|
1205
|
-
z.ZodTypeDef,
|
|
1206
|
-
unknown
|
|
1207
|
-
> = z.object({
|
|
1208
|
-
currency: z.string(),
|
|
1209
|
-
value: z.string(),
|
|
1210
|
-
});
|
|
1211
|
-
|
|
1212
|
-
/** @internal */
|
|
1213
|
-
export type ListSettlementsFixed$Outbound = {
|
|
1214
|
-
currency: string;
|
|
1215
|
-
value: string;
|
|
1216
|
-
};
|
|
1217
|
-
|
|
1218
|
-
/** @internal */
|
|
1219
|
-
export const ListSettlementsFixed$outboundSchema: z.ZodType<
|
|
1220
|
-
ListSettlementsFixed$Outbound,
|
|
1221
|
-
z.ZodTypeDef,
|
|
1222
|
-
ListSettlementsFixed
|
|
1223
|
-
> = z.object({
|
|
1224
|
-
currency: z.string(),
|
|
1225
|
-
value: z.string(),
|
|
1226
|
-
});
|
|
1227
|
-
|
|
1228
|
-
/**
|
|
1229
|
-
* @internal
|
|
1230
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1231
|
-
*/
|
|
1232
|
-
export namespace ListSettlementsFixed$ {
|
|
1233
|
-
/** @deprecated use `ListSettlementsFixed$inboundSchema` instead. */
|
|
1234
|
-
export const inboundSchema = ListSettlementsFixed$inboundSchema;
|
|
1235
|
-
/** @deprecated use `ListSettlementsFixed$outboundSchema` instead. */
|
|
1236
|
-
export const outboundSchema = ListSettlementsFixed$outboundSchema;
|
|
1237
|
-
/** @deprecated use `ListSettlementsFixed$Outbound` instead. */
|
|
1238
|
-
export type Outbound = ListSettlementsFixed$Outbound;
|
|
1239
|
-
}
|
|
1240
|
-
|
|
1241
|
-
export function listSettlementsFixedToJSON(
|
|
1242
|
-
listSettlementsFixed: ListSettlementsFixed,
|
|
1243
|
-
): string {
|
|
1244
|
-
return JSON.stringify(
|
|
1245
|
-
ListSettlementsFixed$outboundSchema.parse(listSettlementsFixed),
|
|
1246
|
-
);
|
|
1247
|
-
}
|
|
1248
|
-
|
|
1249
|
-
export function listSettlementsFixedFromJSON(
|
|
1250
|
-
jsonString: string,
|
|
1251
|
-
): SafeParseResult<ListSettlementsFixed, SDKValidationError> {
|
|
1252
|
-
return safeParse(
|
|
1253
|
-
jsonString,
|
|
1254
|
-
(x) => ListSettlementsFixed$inboundSchema.parse(JSON.parse(x)),
|
|
1255
|
-
`Failed to parse 'ListSettlementsFixed' from JSON`,
|
|
1256
|
-
);
|
|
1257
|
-
}
|
|
1258
|
-
|
|
1259
|
-
/** @internal */
|
|
1260
|
-
export const ListSettlementsPercentage$inboundSchema: z.ZodType<
|
|
1261
|
-
ListSettlementsPercentage,
|
|
1262
|
-
z.ZodTypeDef,
|
|
1263
|
-
unknown
|
|
1264
|
-
> = z.object({
|
|
1265
|
-
currency: z.string(),
|
|
1266
|
-
value: z.string(),
|
|
1267
|
-
});
|
|
1268
|
-
|
|
1269
|
-
/** @internal */
|
|
1270
|
-
export type ListSettlementsPercentage$Outbound = {
|
|
1271
|
-
currency: string;
|
|
1272
|
-
value: string;
|
|
1273
|
-
};
|
|
1274
|
-
|
|
1275
|
-
/** @internal */
|
|
1276
|
-
export const ListSettlementsPercentage$outboundSchema: z.ZodType<
|
|
1277
|
-
ListSettlementsPercentage$Outbound,
|
|
1278
|
-
z.ZodTypeDef,
|
|
1279
|
-
ListSettlementsPercentage
|
|
1280
|
-
> = z.object({
|
|
1281
|
-
currency: z.string(),
|
|
1282
|
-
value: z.string(),
|
|
1283
|
-
});
|
|
1284
|
-
|
|
1285
|
-
/**
|
|
1286
|
-
* @internal
|
|
1287
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1288
|
-
*/
|
|
1289
|
-
export namespace ListSettlementsPercentage$ {
|
|
1290
|
-
/** @deprecated use `ListSettlementsPercentage$inboundSchema` instead. */
|
|
1291
|
-
export const inboundSchema = ListSettlementsPercentage$inboundSchema;
|
|
1292
|
-
/** @deprecated use `ListSettlementsPercentage$outboundSchema` instead. */
|
|
1293
|
-
export const outboundSchema = ListSettlementsPercentage$outboundSchema;
|
|
1294
|
-
/** @deprecated use `ListSettlementsPercentage$Outbound` instead. */
|
|
1295
|
-
export type Outbound = ListSettlementsPercentage$Outbound;
|
|
1296
|
-
}
|
|
1297
|
-
|
|
1298
|
-
export function listSettlementsPercentageToJSON(
|
|
1299
|
-
listSettlementsPercentage: ListSettlementsPercentage,
|
|
1300
|
-
): string {
|
|
1301
|
-
return JSON.stringify(
|
|
1302
|
-
ListSettlementsPercentage$outboundSchema.parse(listSettlementsPercentage),
|
|
1303
|
-
);
|
|
1304
|
-
}
|
|
1305
|
-
|
|
1306
|
-
export function listSettlementsPercentageFromJSON(
|
|
1307
|
-
jsonString: string,
|
|
1308
|
-
): SafeParseResult<ListSettlementsPercentage, SDKValidationError> {
|
|
1309
|
-
return safeParse(
|
|
1310
|
-
jsonString,
|
|
1311
|
-
(x) => ListSettlementsPercentage$inboundSchema.parse(JSON.parse(x)),
|
|
1312
|
-
`Failed to parse 'ListSettlementsPercentage' from JSON`,
|
|
1313
|
-
);
|
|
1314
|
-
}
|
|
1315
|
-
|
|
1316
|
-
/** @internal */
|
|
1317
|
-
export const ListSettlementsRate$inboundSchema: z.ZodType<
|
|
1318
|
-
ListSettlementsRate,
|
|
1319
|
-
z.ZodTypeDef,
|
|
1320
|
-
unknown
|
|
1321
|
-
> = z.object({
|
|
1322
|
-
fixed: z.lazy(() => ListSettlementsFixed$inboundSchema).optional(),
|
|
1323
|
-
percentage: z.lazy(() => ListSettlementsPercentage$inboundSchema).optional(),
|
|
1324
|
-
});
|
|
1325
|
-
|
|
1326
|
-
/** @internal */
|
|
1327
|
-
export type ListSettlementsRate$Outbound = {
|
|
1328
|
-
fixed?: ListSettlementsFixed$Outbound | undefined;
|
|
1329
|
-
percentage?: ListSettlementsPercentage$Outbound | undefined;
|
|
1330
|
-
};
|
|
1331
|
-
|
|
1332
|
-
/** @internal */
|
|
1333
|
-
export const ListSettlementsRate$outboundSchema: z.ZodType<
|
|
1334
|
-
ListSettlementsRate$Outbound,
|
|
1335
|
-
z.ZodTypeDef,
|
|
1336
|
-
ListSettlementsRate
|
|
1337
|
-
> = z.object({
|
|
1338
|
-
fixed: z.lazy(() => ListSettlementsFixed$outboundSchema).optional(),
|
|
1339
|
-
percentage: z.lazy(() => ListSettlementsPercentage$outboundSchema).optional(),
|
|
1340
|
-
});
|
|
1341
|
-
|
|
1342
|
-
/**
|
|
1343
|
-
* @internal
|
|
1344
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1345
|
-
*/
|
|
1346
|
-
export namespace ListSettlementsRate$ {
|
|
1347
|
-
/** @deprecated use `ListSettlementsRate$inboundSchema` instead. */
|
|
1348
|
-
export const inboundSchema = ListSettlementsRate$inboundSchema;
|
|
1349
|
-
/** @deprecated use `ListSettlementsRate$outboundSchema` instead. */
|
|
1350
|
-
export const outboundSchema = ListSettlementsRate$outboundSchema;
|
|
1351
|
-
/** @deprecated use `ListSettlementsRate$Outbound` instead. */
|
|
1352
|
-
export type Outbound = ListSettlementsRate$Outbound;
|
|
1353
|
-
}
|
|
1354
|
-
|
|
1355
|
-
export function listSettlementsRateToJSON(
|
|
1356
|
-
listSettlementsRate: ListSettlementsRate,
|
|
1357
|
-
): string {
|
|
1358
|
-
return JSON.stringify(
|
|
1359
|
-
ListSettlementsRate$outboundSchema.parse(listSettlementsRate),
|
|
1360
|
-
);
|
|
1361
|
-
}
|
|
1362
|
-
|
|
1363
|
-
export function listSettlementsRateFromJSON(
|
|
1364
|
-
jsonString: string,
|
|
1365
|
-
): SafeParseResult<ListSettlementsRate, SDKValidationError> {
|
|
1366
|
-
return safeParse(
|
|
1367
|
-
jsonString,
|
|
1368
|
-
(x) => ListSettlementsRate$inboundSchema.parse(JSON.parse(x)),
|
|
1369
|
-
`Failed to parse 'ListSettlementsRate' from JSON`,
|
|
1370
|
-
);
|
|
1371
|
-
}
|
|
1372
|
-
|
|
1373
|
-
/** @internal */
|
|
1374
|
-
export const ListSettlementsCostAmountNet$inboundSchema: z.ZodType<
|
|
1375
|
-
ListSettlementsCostAmountNet,
|
|
1376
|
-
z.ZodTypeDef,
|
|
1377
|
-
unknown
|
|
1378
|
-
> = z.object({
|
|
1379
|
-
currency: z.string(),
|
|
1380
|
-
value: z.string(),
|
|
1381
|
-
});
|
|
1382
|
-
|
|
1383
|
-
/** @internal */
|
|
1384
|
-
export type ListSettlementsCostAmountNet$Outbound = {
|
|
1385
|
-
currency: string;
|
|
1386
|
-
value: string;
|
|
1387
|
-
};
|
|
1388
|
-
|
|
1389
|
-
/** @internal */
|
|
1390
|
-
export const ListSettlementsCostAmountNet$outboundSchema: z.ZodType<
|
|
1391
|
-
ListSettlementsCostAmountNet$Outbound,
|
|
1392
|
-
z.ZodTypeDef,
|
|
1393
|
-
ListSettlementsCostAmountNet
|
|
1394
|
-
> = z.object({
|
|
1395
|
-
currency: z.string(),
|
|
1396
|
-
value: z.string(),
|
|
1397
|
-
});
|
|
1398
|
-
|
|
1399
|
-
/**
|
|
1400
|
-
* @internal
|
|
1401
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1402
|
-
*/
|
|
1403
|
-
export namespace ListSettlementsCostAmountNet$ {
|
|
1404
|
-
/** @deprecated use `ListSettlementsCostAmountNet$inboundSchema` instead. */
|
|
1405
|
-
export const inboundSchema = ListSettlementsCostAmountNet$inboundSchema;
|
|
1406
|
-
/** @deprecated use `ListSettlementsCostAmountNet$outboundSchema` instead. */
|
|
1407
|
-
export const outboundSchema = ListSettlementsCostAmountNet$outboundSchema;
|
|
1408
|
-
/** @deprecated use `ListSettlementsCostAmountNet$Outbound` instead. */
|
|
1409
|
-
export type Outbound = ListSettlementsCostAmountNet$Outbound;
|
|
1410
|
-
}
|
|
1411
|
-
|
|
1412
|
-
export function listSettlementsCostAmountNetToJSON(
|
|
1413
|
-
listSettlementsCostAmountNet: ListSettlementsCostAmountNet,
|
|
1414
|
-
): string {
|
|
1415
|
-
return JSON.stringify(
|
|
1416
|
-
ListSettlementsCostAmountNet$outboundSchema.parse(
|
|
1417
|
-
listSettlementsCostAmountNet,
|
|
1418
|
-
),
|
|
1419
|
-
);
|
|
1420
|
-
}
|
|
1421
|
-
|
|
1422
|
-
export function listSettlementsCostAmountNetFromJSON(
|
|
1423
|
-
jsonString: string,
|
|
1424
|
-
): SafeParseResult<ListSettlementsCostAmountNet, SDKValidationError> {
|
|
1425
|
-
return safeParse(
|
|
1426
|
-
jsonString,
|
|
1427
|
-
(x) => ListSettlementsCostAmountNet$inboundSchema.parse(JSON.parse(x)),
|
|
1428
|
-
`Failed to parse 'ListSettlementsCostAmountNet' from JSON`,
|
|
1429
|
-
);
|
|
1430
|
-
}
|
|
1431
|
-
|
|
1432
|
-
/** @internal */
|
|
1433
|
-
export const ListSettlementsCostAmountVat$inboundSchema: z.ZodType<
|
|
1434
|
-
ListSettlementsCostAmountVat,
|
|
1435
|
-
z.ZodTypeDef,
|
|
1436
|
-
unknown
|
|
1437
|
-
> = z.object({
|
|
1438
|
-
currency: z.string(),
|
|
1439
|
-
value: z.string(),
|
|
1440
|
-
});
|
|
1441
|
-
|
|
1442
|
-
/** @internal */
|
|
1443
|
-
export type ListSettlementsCostAmountVat$Outbound = {
|
|
1444
|
-
currency: string;
|
|
1445
|
-
value: string;
|
|
1446
|
-
};
|
|
1447
|
-
|
|
1448
|
-
/** @internal */
|
|
1449
|
-
export const ListSettlementsCostAmountVat$outboundSchema: z.ZodType<
|
|
1450
|
-
ListSettlementsCostAmountVat$Outbound,
|
|
1451
|
-
z.ZodTypeDef,
|
|
1452
|
-
ListSettlementsCostAmountVat
|
|
1453
|
-
> = z.object({
|
|
1454
|
-
currency: z.string(),
|
|
1455
|
-
value: z.string(),
|
|
1456
|
-
});
|
|
1457
|
-
|
|
1458
|
-
/**
|
|
1459
|
-
* @internal
|
|
1460
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1461
|
-
*/
|
|
1462
|
-
export namespace ListSettlementsCostAmountVat$ {
|
|
1463
|
-
/** @deprecated use `ListSettlementsCostAmountVat$inboundSchema` instead. */
|
|
1464
|
-
export const inboundSchema = ListSettlementsCostAmountVat$inboundSchema;
|
|
1465
|
-
/** @deprecated use `ListSettlementsCostAmountVat$outboundSchema` instead. */
|
|
1466
|
-
export const outboundSchema = ListSettlementsCostAmountVat$outboundSchema;
|
|
1467
|
-
/** @deprecated use `ListSettlementsCostAmountVat$Outbound` instead. */
|
|
1468
|
-
export type Outbound = ListSettlementsCostAmountVat$Outbound;
|
|
1469
|
-
}
|
|
1470
|
-
|
|
1471
|
-
export function listSettlementsCostAmountVatToJSON(
|
|
1472
|
-
listSettlementsCostAmountVat: ListSettlementsCostAmountVat,
|
|
1473
|
-
): string {
|
|
1474
|
-
return JSON.stringify(
|
|
1475
|
-
ListSettlementsCostAmountVat$outboundSchema.parse(
|
|
1476
|
-
listSettlementsCostAmountVat,
|
|
1477
|
-
),
|
|
1478
|
-
);
|
|
1479
|
-
}
|
|
1480
|
-
|
|
1481
|
-
export function listSettlementsCostAmountVatFromJSON(
|
|
1482
|
-
jsonString: string,
|
|
1483
|
-
): SafeParseResult<ListSettlementsCostAmountVat, SDKValidationError> {
|
|
1484
|
-
return safeParse(
|
|
1485
|
-
jsonString,
|
|
1486
|
-
(x) => ListSettlementsCostAmountVat$inboundSchema.parse(JSON.parse(x)),
|
|
1487
|
-
`Failed to parse 'ListSettlementsCostAmountVat' from JSON`,
|
|
1488
|
-
);
|
|
1489
|
-
}
|
|
1490
|
-
|
|
1491
|
-
/** @internal */
|
|
1492
|
-
export const ListSettlementsCostAmountGross$inboundSchema: z.ZodType<
|
|
1493
|
-
ListSettlementsCostAmountGross,
|
|
1494
|
-
z.ZodTypeDef,
|
|
1495
|
-
unknown
|
|
1496
|
-
> = z.object({
|
|
1497
|
-
currency: z.string(),
|
|
1498
|
-
value: z.string(),
|
|
1499
|
-
});
|
|
1500
|
-
|
|
1501
|
-
/** @internal */
|
|
1502
|
-
export type ListSettlementsCostAmountGross$Outbound = {
|
|
1503
|
-
currency: string;
|
|
1504
|
-
value: string;
|
|
1505
|
-
};
|
|
1506
|
-
|
|
1507
|
-
/** @internal */
|
|
1508
|
-
export const ListSettlementsCostAmountGross$outboundSchema: z.ZodType<
|
|
1509
|
-
ListSettlementsCostAmountGross$Outbound,
|
|
1510
|
-
z.ZodTypeDef,
|
|
1511
|
-
ListSettlementsCostAmountGross
|
|
1512
|
-
> = z.object({
|
|
1513
|
-
currency: z.string(),
|
|
1514
|
-
value: z.string(),
|
|
1515
|
-
});
|
|
1516
|
-
|
|
1517
|
-
/**
|
|
1518
|
-
* @internal
|
|
1519
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1520
|
-
*/
|
|
1521
|
-
export namespace ListSettlementsCostAmountGross$ {
|
|
1522
|
-
/** @deprecated use `ListSettlementsCostAmountGross$inboundSchema` instead. */
|
|
1523
|
-
export const inboundSchema = ListSettlementsCostAmountGross$inboundSchema;
|
|
1524
|
-
/** @deprecated use `ListSettlementsCostAmountGross$outboundSchema` instead. */
|
|
1525
|
-
export const outboundSchema = ListSettlementsCostAmountGross$outboundSchema;
|
|
1526
|
-
/** @deprecated use `ListSettlementsCostAmountGross$Outbound` instead. */
|
|
1527
|
-
export type Outbound = ListSettlementsCostAmountGross$Outbound;
|
|
1528
|
-
}
|
|
1529
|
-
|
|
1530
|
-
export function listSettlementsCostAmountGrossToJSON(
|
|
1531
|
-
listSettlementsCostAmountGross: ListSettlementsCostAmountGross,
|
|
1532
|
-
): string {
|
|
1533
|
-
return JSON.stringify(
|
|
1534
|
-
ListSettlementsCostAmountGross$outboundSchema.parse(
|
|
1535
|
-
listSettlementsCostAmountGross,
|
|
1536
|
-
),
|
|
1537
|
-
);
|
|
1538
|
-
}
|
|
1539
|
-
|
|
1540
|
-
export function listSettlementsCostAmountGrossFromJSON(
|
|
1541
|
-
jsonString: string,
|
|
1542
|
-
): SafeParseResult<ListSettlementsCostAmountGross, SDKValidationError> {
|
|
1543
|
-
return safeParse(
|
|
1544
|
-
jsonString,
|
|
1545
|
-
(x) => ListSettlementsCostAmountGross$inboundSchema.parse(JSON.parse(x)),
|
|
1546
|
-
`Failed to parse 'ListSettlementsCostAmountGross' from JSON`,
|
|
1547
|
-
);
|
|
1548
|
-
}
|
|
1549
|
-
|
|
1550
|
-
/** @internal */
|
|
1551
|
-
export const ListSettlementsCost$inboundSchema: z.ZodType<
|
|
1552
|
-
ListSettlementsCost,
|
|
1553
|
-
z.ZodTypeDef,
|
|
1554
|
-
unknown
|
|
1555
|
-
> = z.object({
|
|
1556
|
-
description: z.string().optional(),
|
|
1557
|
-
method: z.nullable(ListSettlementsCostMethod$inboundSchema).optional(),
|
|
1558
|
-
count: z.number().int().optional(),
|
|
1559
|
-
rate: z.lazy(() => ListSettlementsRate$inboundSchema).optional(),
|
|
1560
|
-
amountNet: z.lazy(() => ListSettlementsCostAmountNet$inboundSchema)
|
|
1561
|
-
.optional(),
|
|
1562
|
-
amountVat: z.lazy(() => ListSettlementsCostAmountVat$inboundSchema)
|
|
1563
|
-
.optional(),
|
|
1564
|
-
amountGross: z.lazy(() => ListSettlementsCostAmountGross$inboundSchema)
|
|
1565
|
-
.optional(),
|
|
1566
|
-
});
|
|
1567
|
-
|
|
1568
|
-
/** @internal */
|
|
1569
|
-
export type ListSettlementsCost$Outbound = {
|
|
1570
|
-
description?: string | undefined;
|
|
1571
|
-
method?: string | null | undefined;
|
|
1572
|
-
count?: number | undefined;
|
|
1573
|
-
rate?: ListSettlementsRate$Outbound | undefined;
|
|
1574
|
-
amountNet?: ListSettlementsCostAmountNet$Outbound | undefined;
|
|
1575
|
-
amountVat?: ListSettlementsCostAmountVat$Outbound | undefined;
|
|
1576
|
-
amountGross?: ListSettlementsCostAmountGross$Outbound | undefined;
|
|
1577
|
-
};
|
|
1578
|
-
|
|
1579
|
-
/** @internal */
|
|
1580
|
-
export const ListSettlementsCost$outboundSchema: z.ZodType<
|
|
1581
|
-
ListSettlementsCost$Outbound,
|
|
1582
|
-
z.ZodTypeDef,
|
|
1583
|
-
ListSettlementsCost
|
|
1584
|
-
> = z.object({
|
|
1585
|
-
description: z.string().optional(),
|
|
1586
|
-
method: z.nullable(ListSettlementsCostMethod$outboundSchema).optional(),
|
|
1587
|
-
count: z.number().int().optional(),
|
|
1588
|
-
rate: z.lazy(() => ListSettlementsRate$outboundSchema).optional(),
|
|
1589
|
-
amountNet: z.lazy(() => ListSettlementsCostAmountNet$outboundSchema)
|
|
1590
|
-
.optional(),
|
|
1591
|
-
amountVat: z.lazy(() => ListSettlementsCostAmountVat$outboundSchema)
|
|
1592
|
-
.optional(),
|
|
1593
|
-
amountGross: z.lazy(() => ListSettlementsCostAmountGross$outboundSchema)
|
|
1594
|
-
.optional(),
|
|
1595
|
-
});
|
|
1596
|
-
|
|
1597
|
-
/**
|
|
1598
|
-
* @internal
|
|
1599
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1600
|
-
*/
|
|
1601
|
-
export namespace ListSettlementsCost$ {
|
|
1602
|
-
/** @deprecated use `ListSettlementsCost$inboundSchema` instead. */
|
|
1603
|
-
export const inboundSchema = ListSettlementsCost$inboundSchema;
|
|
1604
|
-
/** @deprecated use `ListSettlementsCost$outboundSchema` instead. */
|
|
1605
|
-
export const outboundSchema = ListSettlementsCost$outboundSchema;
|
|
1606
|
-
/** @deprecated use `ListSettlementsCost$Outbound` instead. */
|
|
1607
|
-
export type Outbound = ListSettlementsCost$Outbound;
|
|
1608
|
-
}
|
|
1609
|
-
|
|
1610
|
-
export function listSettlementsCostToJSON(
|
|
1611
|
-
listSettlementsCost: ListSettlementsCost,
|
|
1612
|
-
): string {
|
|
1613
|
-
return JSON.stringify(
|
|
1614
|
-
ListSettlementsCost$outboundSchema.parse(listSettlementsCost),
|
|
1615
|
-
);
|
|
1616
|
-
}
|
|
1617
|
-
|
|
1618
|
-
export function listSettlementsCostFromJSON(
|
|
1619
|
-
jsonString: string,
|
|
1620
|
-
): SafeParseResult<ListSettlementsCost, SDKValidationError> {
|
|
1621
|
-
return safeParse(
|
|
1622
|
-
jsonString,
|
|
1623
|
-
(x) => ListSettlementsCost$inboundSchema.parse(JSON.parse(x)),
|
|
1624
|
-
`Failed to parse 'ListSettlementsCost' from JSON`,
|
|
1625
|
-
);
|
|
1626
|
-
}
|
|
1627
|
-
|
|
1628
|
-
/** @internal */
|
|
1629
|
-
export const ListSettlementsRevenueMethod$inboundSchema: z.ZodNativeEnum<
|
|
1630
|
-
typeof ListSettlementsRevenueMethod
|
|
1631
|
-
> = z.nativeEnum(ListSettlementsRevenueMethod);
|
|
1632
|
-
|
|
1633
|
-
/** @internal */
|
|
1634
|
-
export const ListSettlementsRevenueMethod$outboundSchema: z.ZodNativeEnum<
|
|
1635
|
-
typeof ListSettlementsRevenueMethod
|
|
1636
|
-
> = ListSettlementsRevenueMethod$inboundSchema;
|
|
1637
|
-
|
|
1638
|
-
/**
|
|
1639
|
-
* @internal
|
|
1640
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1641
|
-
*/
|
|
1642
|
-
export namespace ListSettlementsRevenueMethod$ {
|
|
1643
|
-
/** @deprecated use `ListSettlementsRevenueMethod$inboundSchema` instead. */
|
|
1644
|
-
export const inboundSchema = ListSettlementsRevenueMethod$inboundSchema;
|
|
1645
|
-
/** @deprecated use `ListSettlementsRevenueMethod$outboundSchema` instead. */
|
|
1646
|
-
export const outboundSchema = ListSettlementsRevenueMethod$outboundSchema;
|
|
1647
|
-
}
|
|
1648
|
-
|
|
1649
|
-
/** @internal */
|
|
1650
|
-
export const ListSettlementsRevenueAmountNet$inboundSchema: z.ZodType<
|
|
1651
|
-
ListSettlementsRevenueAmountNet,
|
|
1652
|
-
z.ZodTypeDef,
|
|
1653
|
-
unknown
|
|
1654
|
-
> = z.object({
|
|
1655
|
-
currency: z.string(),
|
|
1656
|
-
value: z.string(),
|
|
1657
|
-
});
|
|
1658
|
-
|
|
1659
|
-
/** @internal */
|
|
1660
|
-
export type ListSettlementsRevenueAmountNet$Outbound = {
|
|
1661
|
-
currency: string;
|
|
1662
|
-
value: string;
|
|
1663
|
-
};
|
|
1664
|
-
|
|
1665
|
-
/** @internal */
|
|
1666
|
-
export const ListSettlementsRevenueAmountNet$outboundSchema: z.ZodType<
|
|
1667
|
-
ListSettlementsRevenueAmountNet$Outbound,
|
|
1668
|
-
z.ZodTypeDef,
|
|
1669
|
-
ListSettlementsRevenueAmountNet
|
|
1670
|
-
> = z.object({
|
|
1671
|
-
currency: z.string(),
|
|
1672
|
-
value: z.string(),
|
|
1673
|
-
});
|
|
1674
|
-
|
|
1675
|
-
/**
|
|
1676
|
-
* @internal
|
|
1677
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1678
|
-
*/
|
|
1679
|
-
export namespace ListSettlementsRevenueAmountNet$ {
|
|
1680
|
-
/** @deprecated use `ListSettlementsRevenueAmountNet$inboundSchema` instead. */
|
|
1681
|
-
export const inboundSchema = ListSettlementsRevenueAmountNet$inboundSchema;
|
|
1682
|
-
/** @deprecated use `ListSettlementsRevenueAmountNet$outboundSchema` instead. */
|
|
1683
|
-
export const outboundSchema = ListSettlementsRevenueAmountNet$outboundSchema;
|
|
1684
|
-
/** @deprecated use `ListSettlementsRevenueAmountNet$Outbound` instead. */
|
|
1685
|
-
export type Outbound = ListSettlementsRevenueAmountNet$Outbound;
|
|
1686
|
-
}
|
|
1687
|
-
|
|
1688
|
-
export function listSettlementsRevenueAmountNetToJSON(
|
|
1689
|
-
listSettlementsRevenueAmountNet: ListSettlementsRevenueAmountNet,
|
|
1690
|
-
): string {
|
|
1691
|
-
return JSON.stringify(
|
|
1692
|
-
ListSettlementsRevenueAmountNet$outboundSchema.parse(
|
|
1693
|
-
listSettlementsRevenueAmountNet,
|
|
1694
|
-
),
|
|
1695
|
-
);
|
|
1696
|
-
}
|
|
1697
|
-
|
|
1698
|
-
export function listSettlementsRevenueAmountNetFromJSON(
|
|
1699
|
-
jsonString: string,
|
|
1700
|
-
): SafeParseResult<ListSettlementsRevenueAmountNet, SDKValidationError> {
|
|
1701
|
-
return safeParse(
|
|
1702
|
-
jsonString,
|
|
1703
|
-
(x) => ListSettlementsRevenueAmountNet$inboundSchema.parse(JSON.parse(x)),
|
|
1704
|
-
`Failed to parse 'ListSettlementsRevenueAmountNet' from JSON`,
|
|
1705
|
-
);
|
|
443
|
+
/**
|
|
444
|
+
* @internal
|
|
445
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
446
|
+
*/
|
|
447
|
+
export namespace Currencies$ {
|
|
448
|
+
/** @deprecated use `Currencies$inboundSchema` instead. */
|
|
449
|
+
export const inboundSchema = Currencies$inboundSchema;
|
|
450
|
+
/** @deprecated use `Currencies$outboundSchema` instead. */
|
|
451
|
+
export const outboundSchema = Currencies$outboundSchema;
|
|
1706
452
|
}
|
|
1707
453
|
|
|
1708
454
|
/** @internal */
|
|
1709
|
-
export const
|
|
1710
|
-
|
|
455
|
+
export const ListSettlementsRequest$inboundSchema: z.ZodType<
|
|
456
|
+
ListSettlementsRequest,
|
|
1711
457
|
z.ZodTypeDef,
|
|
1712
458
|
unknown
|
|
1713
459
|
> = z.object({
|
|
1714
|
-
|
|
1715
|
-
|
|
460
|
+
from: z.string().optional(),
|
|
461
|
+
limit: z.nullable(z.number().int()).optional(),
|
|
462
|
+
balanceId: z.nullable(z.string()).optional(),
|
|
463
|
+
year: z.nullable(z.string()).optional(),
|
|
464
|
+
month: z.nullable(z.string()).optional(),
|
|
465
|
+
currencies: z.nullable(Currencies$inboundSchema).optional(),
|
|
1716
466
|
});
|
|
1717
467
|
|
|
1718
468
|
/** @internal */
|
|
1719
|
-
export type
|
|
1720
|
-
|
|
1721
|
-
|
|
469
|
+
export type ListSettlementsRequest$Outbound = {
|
|
470
|
+
from?: string | undefined;
|
|
471
|
+
limit?: number | null | undefined;
|
|
472
|
+
balanceId?: string | null | undefined;
|
|
473
|
+
year?: string | null | undefined;
|
|
474
|
+
month?: string | null | undefined;
|
|
475
|
+
currencies?: string | null | undefined;
|
|
1722
476
|
};
|
|
1723
477
|
|
|
1724
478
|
/** @internal */
|
|
1725
|
-
export const
|
|
1726
|
-
|
|
479
|
+
export const ListSettlementsRequest$outboundSchema: z.ZodType<
|
|
480
|
+
ListSettlementsRequest$Outbound,
|
|
1727
481
|
z.ZodTypeDef,
|
|
1728
|
-
|
|
482
|
+
ListSettlementsRequest
|
|
1729
483
|
> = z.object({
|
|
1730
|
-
|
|
1731
|
-
|
|
484
|
+
from: z.string().optional(),
|
|
485
|
+
limit: z.nullable(z.number().int()).optional(),
|
|
486
|
+
balanceId: z.nullable(z.string()).optional(),
|
|
487
|
+
year: z.nullable(z.string()).optional(),
|
|
488
|
+
month: z.nullable(z.string()).optional(),
|
|
489
|
+
currencies: z.nullable(Currencies$outboundSchema).optional(),
|
|
1732
490
|
});
|
|
1733
491
|
|
|
1734
492
|
/**
|
|
1735
493
|
* @internal
|
|
1736
494
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1737
495
|
*/
|
|
1738
|
-
export namespace
|
|
1739
|
-
/** @deprecated use `
|
|
1740
|
-
export const inboundSchema =
|
|
1741
|
-
/** @deprecated use `
|
|
1742
|
-
export const outboundSchema =
|
|
1743
|
-
/** @deprecated use `
|
|
1744
|
-
export type Outbound =
|
|
496
|
+
export namespace ListSettlementsRequest$ {
|
|
497
|
+
/** @deprecated use `ListSettlementsRequest$inboundSchema` instead. */
|
|
498
|
+
export const inboundSchema = ListSettlementsRequest$inboundSchema;
|
|
499
|
+
/** @deprecated use `ListSettlementsRequest$outboundSchema` instead. */
|
|
500
|
+
export const outboundSchema = ListSettlementsRequest$outboundSchema;
|
|
501
|
+
/** @deprecated use `ListSettlementsRequest$Outbound` instead. */
|
|
502
|
+
export type Outbound = ListSettlementsRequest$Outbound;
|
|
1745
503
|
}
|
|
1746
504
|
|
|
1747
|
-
export function
|
|
1748
|
-
|
|
505
|
+
export function listSettlementsRequestToJSON(
|
|
506
|
+
listSettlementsRequest: ListSettlementsRequest,
|
|
1749
507
|
): string {
|
|
1750
508
|
return JSON.stringify(
|
|
1751
|
-
|
|
1752
|
-
listSettlementsRevenueAmountVat,
|
|
1753
|
-
),
|
|
509
|
+
ListSettlementsRequest$outboundSchema.parse(listSettlementsRequest),
|
|
1754
510
|
);
|
|
1755
511
|
}
|
|
1756
512
|
|
|
1757
|
-
export function
|
|
513
|
+
export function listSettlementsRequestFromJSON(
|
|
1758
514
|
jsonString: string,
|
|
1759
|
-
): SafeParseResult<
|
|
515
|
+
): SafeParseResult<ListSettlementsRequest, SDKValidationError> {
|
|
1760
516
|
return safeParse(
|
|
1761
517
|
jsonString,
|
|
1762
|
-
(x) =>
|
|
1763
|
-
`Failed to parse '
|
|
518
|
+
(x) => ListSettlementsRequest$inboundSchema.parse(JSON.parse(x)),
|
|
519
|
+
`Failed to parse 'ListSettlementsRequest' from JSON`,
|
|
1764
520
|
);
|
|
1765
521
|
}
|
|
1766
522
|
|
|
1767
523
|
/** @internal */
|
|
1768
|
-
export const
|
|
1769
|
-
|
|
524
|
+
export const ListSettlementsNotFoundDocumentation$inboundSchema: z.ZodType<
|
|
525
|
+
ListSettlementsNotFoundDocumentation,
|
|
1770
526
|
z.ZodTypeDef,
|
|
1771
527
|
unknown
|
|
1772
528
|
> = z.object({
|
|
1773
|
-
|
|
1774
|
-
|
|
529
|
+
href: z.string(),
|
|
530
|
+
type: z.string(),
|
|
1775
531
|
});
|
|
1776
532
|
|
|
1777
533
|
/** @internal */
|
|
1778
|
-
export type
|
|
1779
|
-
|
|
1780
|
-
|
|
534
|
+
export type ListSettlementsNotFoundDocumentation$Outbound = {
|
|
535
|
+
href: string;
|
|
536
|
+
type: string;
|
|
1781
537
|
};
|
|
1782
538
|
|
|
1783
539
|
/** @internal */
|
|
1784
|
-
export const
|
|
1785
|
-
|
|
540
|
+
export const ListSettlementsNotFoundDocumentation$outboundSchema: z.ZodType<
|
|
541
|
+
ListSettlementsNotFoundDocumentation$Outbound,
|
|
1786
542
|
z.ZodTypeDef,
|
|
1787
|
-
|
|
543
|
+
ListSettlementsNotFoundDocumentation
|
|
1788
544
|
> = z.object({
|
|
1789
|
-
|
|
1790
|
-
|
|
545
|
+
href: z.string(),
|
|
546
|
+
type: z.string(),
|
|
1791
547
|
});
|
|
1792
548
|
|
|
1793
549
|
/**
|
|
1794
550
|
* @internal
|
|
1795
551
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1796
552
|
*/
|
|
1797
|
-
export namespace
|
|
1798
|
-
/** @deprecated use `
|
|
1799
|
-
export const inboundSchema =
|
|
1800
|
-
|
|
553
|
+
export namespace ListSettlementsNotFoundDocumentation$ {
|
|
554
|
+
/** @deprecated use `ListSettlementsNotFoundDocumentation$inboundSchema` instead. */
|
|
555
|
+
export const inboundSchema =
|
|
556
|
+
ListSettlementsNotFoundDocumentation$inboundSchema;
|
|
557
|
+
/** @deprecated use `ListSettlementsNotFoundDocumentation$outboundSchema` instead. */
|
|
1801
558
|
export const outboundSchema =
|
|
1802
|
-
|
|
1803
|
-
/** @deprecated use `
|
|
1804
|
-
export type Outbound =
|
|
559
|
+
ListSettlementsNotFoundDocumentation$outboundSchema;
|
|
560
|
+
/** @deprecated use `ListSettlementsNotFoundDocumentation$Outbound` instead. */
|
|
561
|
+
export type Outbound = ListSettlementsNotFoundDocumentation$Outbound;
|
|
1805
562
|
}
|
|
1806
563
|
|
|
1807
|
-
export function
|
|
1808
|
-
|
|
564
|
+
export function listSettlementsNotFoundDocumentationToJSON(
|
|
565
|
+
listSettlementsNotFoundDocumentation: ListSettlementsNotFoundDocumentation,
|
|
1809
566
|
): string {
|
|
1810
567
|
return JSON.stringify(
|
|
1811
|
-
|
|
1812
|
-
|
|
568
|
+
ListSettlementsNotFoundDocumentation$outboundSchema.parse(
|
|
569
|
+
listSettlementsNotFoundDocumentation,
|
|
1813
570
|
),
|
|
1814
571
|
);
|
|
1815
572
|
}
|
|
1816
573
|
|
|
1817
|
-
export function
|
|
574
|
+
export function listSettlementsNotFoundDocumentationFromJSON(
|
|
1818
575
|
jsonString: string,
|
|
1819
|
-
): SafeParseResult<
|
|
576
|
+
): SafeParseResult<ListSettlementsNotFoundDocumentation, SDKValidationError> {
|
|
1820
577
|
return safeParse(
|
|
1821
578
|
jsonString,
|
|
1822
|
-
(x) =>
|
|
1823
|
-
|
|
579
|
+
(x) =>
|
|
580
|
+
ListSettlementsNotFoundDocumentation$inboundSchema.parse(JSON.parse(x)),
|
|
581
|
+
`Failed to parse 'ListSettlementsNotFoundDocumentation' from JSON`,
|
|
1824
582
|
);
|
|
1825
583
|
}
|
|
1826
584
|
|
|
1827
585
|
/** @internal */
|
|
1828
|
-
export const
|
|
1829
|
-
|
|
586
|
+
export const ListSettlementsNotFoundLinks$inboundSchema: z.ZodType<
|
|
587
|
+
ListSettlementsNotFoundLinks,
|
|
1830
588
|
z.ZodTypeDef,
|
|
1831
589
|
unknown
|
|
1832
590
|
> = z.object({
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
|
|
1836
|
-
amountNet: z.lazy(() => ListSettlementsRevenueAmountNet$inboundSchema)
|
|
1837
|
-
.optional(),
|
|
1838
|
-
amountVat: z.lazy(() => ListSettlementsRevenueAmountVat$inboundSchema)
|
|
1839
|
-
.optional(),
|
|
1840
|
-
amountGross: z.lazy(() => ListSettlementsRevenueAmountGross$inboundSchema)
|
|
1841
|
-
.optional(),
|
|
591
|
+
documentation: z.lazy(() =>
|
|
592
|
+
ListSettlementsNotFoundDocumentation$inboundSchema
|
|
593
|
+
),
|
|
1842
594
|
});
|
|
1843
595
|
|
|
1844
596
|
/** @internal */
|
|
1845
|
-
export type
|
|
1846
|
-
|
|
1847
|
-
method?: string | null | undefined;
|
|
1848
|
-
count?: number | undefined;
|
|
1849
|
-
amountNet?: ListSettlementsRevenueAmountNet$Outbound | undefined;
|
|
1850
|
-
amountVat?: ListSettlementsRevenueAmountVat$Outbound | undefined;
|
|
1851
|
-
amountGross?: ListSettlementsRevenueAmountGross$Outbound | undefined;
|
|
597
|
+
export type ListSettlementsNotFoundLinks$Outbound = {
|
|
598
|
+
documentation: ListSettlementsNotFoundDocumentation$Outbound;
|
|
1852
599
|
};
|
|
1853
600
|
|
|
1854
601
|
/** @internal */
|
|
1855
|
-
export const
|
|
1856
|
-
|
|
602
|
+
export const ListSettlementsNotFoundLinks$outboundSchema: z.ZodType<
|
|
603
|
+
ListSettlementsNotFoundLinks$Outbound,
|
|
1857
604
|
z.ZodTypeDef,
|
|
1858
|
-
|
|
605
|
+
ListSettlementsNotFoundLinks
|
|
1859
606
|
> = z.object({
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
|
-
amountNet: z.lazy(() => ListSettlementsRevenueAmountNet$outboundSchema)
|
|
1864
|
-
.optional(),
|
|
1865
|
-
amountVat: z.lazy(() => ListSettlementsRevenueAmountVat$outboundSchema)
|
|
1866
|
-
.optional(),
|
|
1867
|
-
amountGross: z.lazy(() => ListSettlementsRevenueAmountGross$outboundSchema)
|
|
1868
|
-
.optional(),
|
|
607
|
+
documentation: z.lazy(() =>
|
|
608
|
+
ListSettlementsNotFoundDocumentation$outboundSchema
|
|
609
|
+
),
|
|
1869
610
|
});
|
|
1870
611
|
|
|
1871
612
|
/**
|
|
1872
613
|
* @internal
|
|
1873
614
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1874
615
|
*/
|
|
1875
|
-
export namespace
|
|
1876
|
-
/** @deprecated use `
|
|
1877
|
-
export const inboundSchema =
|
|
1878
|
-
/** @deprecated use `
|
|
1879
|
-
export const outboundSchema =
|
|
1880
|
-
/** @deprecated use `
|
|
1881
|
-
export type Outbound =
|
|
616
|
+
export namespace ListSettlementsNotFoundLinks$ {
|
|
617
|
+
/** @deprecated use `ListSettlementsNotFoundLinks$inboundSchema` instead. */
|
|
618
|
+
export const inboundSchema = ListSettlementsNotFoundLinks$inboundSchema;
|
|
619
|
+
/** @deprecated use `ListSettlementsNotFoundLinks$outboundSchema` instead. */
|
|
620
|
+
export const outboundSchema = ListSettlementsNotFoundLinks$outboundSchema;
|
|
621
|
+
/** @deprecated use `ListSettlementsNotFoundLinks$Outbound` instead. */
|
|
622
|
+
export type Outbound = ListSettlementsNotFoundLinks$Outbound;
|
|
1882
623
|
}
|
|
1883
624
|
|
|
1884
|
-
export function
|
|
1885
|
-
|
|
625
|
+
export function listSettlementsNotFoundLinksToJSON(
|
|
626
|
+
listSettlementsNotFoundLinks: ListSettlementsNotFoundLinks,
|
|
1886
627
|
): string {
|
|
1887
628
|
return JSON.stringify(
|
|
1888
|
-
|
|
629
|
+
ListSettlementsNotFoundLinks$outboundSchema.parse(
|
|
630
|
+
listSettlementsNotFoundLinks,
|
|
631
|
+
),
|
|
1889
632
|
);
|
|
1890
633
|
}
|
|
1891
634
|
|
|
1892
|
-
export function
|
|
635
|
+
export function listSettlementsNotFoundLinksFromJSON(
|
|
1893
636
|
jsonString: string,
|
|
1894
|
-
): SafeParseResult<
|
|
637
|
+
): SafeParseResult<ListSettlementsNotFoundLinks, SDKValidationError> {
|
|
1895
638
|
return safeParse(
|
|
1896
639
|
jsonString,
|
|
1897
|
-
(x) =>
|
|
1898
|
-
`Failed to parse '
|
|
640
|
+
(x) => ListSettlementsNotFoundLinks$inboundSchema.parse(JSON.parse(x)),
|
|
641
|
+
`Failed to parse 'ListSettlementsNotFoundLinks' from JSON`,
|
|
1899
642
|
);
|
|
1900
643
|
}
|
|
1901
644
|
|
|
1902
645
|
/** @internal */
|
|
1903
|
-
export const
|
|
1904
|
-
|
|
646
|
+
export const ListSettlementsBadRequestDocumentation$inboundSchema: z.ZodType<
|
|
647
|
+
ListSettlementsBadRequestDocumentation,
|
|
1905
648
|
z.ZodTypeDef,
|
|
1906
649
|
unknown
|
|
1907
650
|
> = z.object({
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
-
.optional(),
|
|
1911
|
-
invoiceId: z.nullable(z.string()).optional(),
|
|
1912
|
-
invoiceReference: z.nullable(z.string()).optional(),
|
|
651
|
+
href: z.string(),
|
|
652
|
+
type: z.string(),
|
|
1913
653
|
});
|
|
1914
654
|
|
|
1915
655
|
/** @internal */
|
|
1916
|
-
export type
|
|
1917
|
-
|
|
1918
|
-
|
|
1919
|
-
invoiceId?: string | null | undefined;
|
|
1920
|
-
invoiceReference?: string | null | undefined;
|
|
656
|
+
export type ListSettlementsBadRequestDocumentation$Outbound = {
|
|
657
|
+
href: string;
|
|
658
|
+
type: string;
|
|
1921
659
|
};
|
|
1922
660
|
|
|
1923
661
|
/** @internal */
|
|
1924
|
-
export const
|
|
1925
|
-
|
|
662
|
+
export const ListSettlementsBadRequestDocumentation$outboundSchema: z.ZodType<
|
|
663
|
+
ListSettlementsBadRequestDocumentation$Outbound,
|
|
1926
664
|
z.ZodTypeDef,
|
|
1927
|
-
|
|
665
|
+
ListSettlementsBadRequestDocumentation
|
|
1928
666
|
> = z.object({
|
|
1929
|
-
|
|
1930
|
-
|
|
1931
|
-
.optional(),
|
|
1932
|
-
invoiceId: z.nullable(z.string()).optional(),
|
|
1933
|
-
invoiceReference: z.nullable(z.string()).optional(),
|
|
667
|
+
href: z.string(),
|
|
668
|
+
type: z.string(),
|
|
1934
669
|
});
|
|
1935
670
|
|
|
1936
671
|
/**
|
|
1937
672
|
* @internal
|
|
1938
673
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1939
674
|
*/
|
|
1940
|
-
export namespace
|
|
1941
|
-
/** @deprecated use `
|
|
675
|
+
export namespace ListSettlementsBadRequestDocumentation$ {
|
|
676
|
+
/** @deprecated use `ListSettlementsBadRequestDocumentation$inboundSchema` instead. */
|
|
1942
677
|
export const inboundSchema =
|
|
1943
|
-
|
|
1944
|
-
/** @deprecated use `
|
|
678
|
+
ListSettlementsBadRequestDocumentation$inboundSchema;
|
|
679
|
+
/** @deprecated use `ListSettlementsBadRequestDocumentation$outboundSchema` instead. */
|
|
1945
680
|
export const outboundSchema =
|
|
1946
|
-
|
|
1947
|
-
/** @deprecated use `
|
|
1948
|
-
export type Outbound =
|
|
681
|
+
ListSettlementsBadRequestDocumentation$outboundSchema;
|
|
682
|
+
/** @deprecated use `ListSettlementsBadRequestDocumentation$Outbound` instead. */
|
|
683
|
+
export type Outbound = ListSettlementsBadRequestDocumentation$Outbound;
|
|
1949
684
|
}
|
|
1950
685
|
|
|
1951
|
-
export function
|
|
1952
|
-
|
|
1953
|
-
|
|
686
|
+
export function listSettlementsBadRequestDocumentationToJSON(
|
|
687
|
+
listSettlementsBadRequestDocumentation:
|
|
688
|
+
ListSettlementsBadRequestDocumentation,
|
|
1954
689
|
): string {
|
|
1955
690
|
return JSON.stringify(
|
|
1956
|
-
|
|
1957
|
-
|
|
691
|
+
ListSettlementsBadRequestDocumentation$outboundSchema.parse(
|
|
692
|
+
listSettlementsBadRequestDocumentation,
|
|
1958
693
|
),
|
|
1959
694
|
);
|
|
1960
695
|
}
|
|
1961
696
|
|
|
1962
|
-
export function
|
|
697
|
+
export function listSettlementsBadRequestDocumentationFromJSON(
|
|
1963
698
|
jsonString: string,
|
|
1964
|
-
): SafeParseResult<
|
|
1965
|
-
ListSettlementsLessThanMonthGreaterThan,
|
|
1966
|
-
SDKValidationError
|
|
1967
|
-
> {
|
|
699
|
+
): SafeParseResult<ListSettlementsBadRequestDocumentation, SDKValidationError> {
|
|
1968
700
|
return safeParse(
|
|
1969
701
|
jsonString,
|
|
1970
702
|
(x) =>
|
|
1971
|
-
|
|
1972
|
-
|
|
1973
|
-
),
|
|
1974
|
-
`Failed to parse 'ListSettlementsLessThanMonthGreaterThan' from JSON`,
|
|
703
|
+
ListSettlementsBadRequestDocumentation$inboundSchema.parse(JSON.parse(x)),
|
|
704
|
+
`Failed to parse 'ListSettlementsBadRequestDocumentation' from JSON`,
|
|
1975
705
|
);
|
|
1976
706
|
}
|
|
1977
707
|
|
|
1978
708
|
/** @internal */
|
|
1979
|
-
export const
|
|
1980
|
-
|
|
709
|
+
export const ListSettlementsBadRequestLinks$inboundSchema: z.ZodType<
|
|
710
|
+
ListSettlementsBadRequestLinks,
|
|
1981
711
|
z.ZodTypeDef,
|
|
1982
712
|
unknown
|
|
1983
713
|
> = z.object({
|
|
1984
|
-
|
|
1985
|
-
|
|
1986
|
-
|
|
1987
|
-
return remap$(v, {
|
|
1988
|
-
"<month>": "lessThanMonthGreaterThan",
|
|
1989
|
-
});
|
|
714
|
+
documentation: z.lazy(() =>
|
|
715
|
+
ListSettlementsBadRequestDocumentation$inboundSchema
|
|
716
|
+
),
|
|
1990
717
|
});
|
|
1991
718
|
|
|
1992
719
|
/** @internal */
|
|
1993
|
-
export type
|
|
1994
|
-
|
|
720
|
+
export type ListSettlementsBadRequestLinks$Outbound = {
|
|
721
|
+
documentation: ListSettlementsBadRequestDocumentation$Outbound;
|
|
1995
722
|
};
|
|
1996
723
|
|
|
1997
724
|
/** @internal */
|
|
1998
|
-
export const
|
|
1999
|
-
|
|
725
|
+
export const ListSettlementsBadRequestLinks$outboundSchema: z.ZodType<
|
|
726
|
+
ListSettlementsBadRequestLinks$Outbound,
|
|
2000
727
|
z.ZodTypeDef,
|
|
2001
|
-
|
|
728
|
+
ListSettlementsBadRequestLinks
|
|
2002
729
|
> = z.object({
|
|
2003
|
-
|
|
2004
|
-
|
|
2005
|
-
)
|
|
2006
|
-
}).transform((v) => {
|
|
2007
|
-
return remap$(v, {
|
|
2008
|
-
lessThanMonthGreaterThan: "<month>",
|
|
2009
|
-
});
|
|
730
|
+
documentation: z.lazy(() =>
|
|
731
|
+
ListSettlementsBadRequestDocumentation$outboundSchema
|
|
732
|
+
),
|
|
2010
733
|
});
|
|
2011
734
|
|
|
2012
735
|
/**
|
|
2013
736
|
* @internal
|
|
2014
737
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2015
738
|
*/
|
|
2016
|
-
export namespace
|
|
2017
|
-
/** @deprecated use `
|
|
2018
|
-
export const inboundSchema =
|
|
2019
|
-
|
|
2020
|
-
|
|
2021
|
-
|
|
2022
|
-
|
|
2023
|
-
/** @deprecated use `ListSettlementsLessThanYearGreaterThan$Outbound` instead. */
|
|
2024
|
-
export type Outbound = ListSettlementsLessThanYearGreaterThan$Outbound;
|
|
739
|
+
export namespace ListSettlementsBadRequestLinks$ {
|
|
740
|
+
/** @deprecated use `ListSettlementsBadRequestLinks$inboundSchema` instead. */
|
|
741
|
+
export const inboundSchema = ListSettlementsBadRequestLinks$inboundSchema;
|
|
742
|
+
/** @deprecated use `ListSettlementsBadRequestLinks$outboundSchema` instead. */
|
|
743
|
+
export const outboundSchema = ListSettlementsBadRequestLinks$outboundSchema;
|
|
744
|
+
/** @deprecated use `ListSettlementsBadRequestLinks$Outbound` instead. */
|
|
745
|
+
export type Outbound = ListSettlementsBadRequestLinks$Outbound;
|
|
2025
746
|
}
|
|
2026
747
|
|
|
2027
|
-
export function
|
|
2028
|
-
|
|
2029
|
-
ListSettlementsLessThanYearGreaterThan,
|
|
748
|
+
export function listSettlementsBadRequestLinksToJSON(
|
|
749
|
+
listSettlementsBadRequestLinks: ListSettlementsBadRequestLinks,
|
|
2030
750
|
): string {
|
|
2031
751
|
return JSON.stringify(
|
|
2032
|
-
|
|
2033
|
-
|
|
752
|
+
ListSettlementsBadRequestLinks$outboundSchema.parse(
|
|
753
|
+
listSettlementsBadRequestLinks,
|
|
2034
754
|
),
|
|
2035
755
|
);
|
|
2036
756
|
}
|
|
2037
757
|
|
|
2038
|
-
export function
|
|
758
|
+
export function listSettlementsBadRequestLinksFromJSON(
|
|
2039
759
|
jsonString: string,
|
|
2040
|
-
): SafeParseResult<
|
|
760
|
+
): SafeParseResult<ListSettlementsBadRequestLinks, SDKValidationError> {
|
|
2041
761
|
return safeParse(
|
|
2042
762
|
jsonString,
|
|
2043
|
-
(x) =>
|
|
2044
|
-
|
|
2045
|
-
`Failed to parse 'ListSettlementsLessThanYearGreaterThan' from JSON`,
|
|
763
|
+
(x) => ListSettlementsBadRequestLinks$inboundSchema.parse(JSON.parse(x)),
|
|
764
|
+
`Failed to parse 'ListSettlementsBadRequestLinks' from JSON`,
|
|
2046
765
|
);
|
|
2047
766
|
}
|
|
2048
767
|
|
|
2049
768
|
/** @internal */
|
|
2050
|
-
export const
|
|
2051
|
-
|
|
769
|
+
export const ListSettlementsStatus$inboundSchema: z.ZodNativeEnum<
|
|
770
|
+
typeof ListSettlementsStatus
|
|
771
|
+
> = z.nativeEnum(ListSettlementsStatus);
|
|
772
|
+
|
|
773
|
+
/** @internal */
|
|
774
|
+
export const ListSettlementsStatus$outboundSchema: z.ZodNativeEnum<
|
|
775
|
+
typeof ListSettlementsStatus
|
|
776
|
+
> = ListSettlementsStatus$inboundSchema;
|
|
777
|
+
|
|
778
|
+
/**
|
|
779
|
+
* @internal
|
|
780
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
781
|
+
*/
|
|
782
|
+
export namespace ListSettlementsStatus$ {
|
|
783
|
+
/** @deprecated use `ListSettlementsStatus$inboundSchema` instead. */
|
|
784
|
+
export const inboundSchema = ListSettlementsStatus$inboundSchema;
|
|
785
|
+
/** @deprecated use `ListSettlementsStatus$outboundSchema` instead. */
|
|
786
|
+
export const outboundSchema = ListSettlementsStatus$outboundSchema;
|
|
787
|
+
}
|
|
788
|
+
|
|
789
|
+
/** @internal */
|
|
790
|
+
export const ListSettlementsAmount$inboundSchema: z.ZodType<
|
|
791
|
+
ListSettlementsAmount,
|
|
2052
792
|
z.ZodTypeDef,
|
|
2053
793
|
unknown
|
|
2054
794
|
> = z.object({
|
|
2055
|
-
|
|
2056
|
-
|
|
2057
|
-
}).transform((v) => {
|
|
2058
|
-
return remap$(v, {
|
|
2059
|
-
"<year>": "lessThanYearGreaterThan",
|
|
2060
|
-
});
|
|
795
|
+
currency: z.string(),
|
|
796
|
+
value: z.string(),
|
|
2061
797
|
});
|
|
2062
798
|
|
|
2063
799
|
/** @internal */
|
|
2064
|
-
export type
|
|
2065
|
-
|
|
800
|
+
export type ListSettlementsAmount$Outbound = {
|
|
801
|
+
currency: string;
|
|
802
|
+
value: string;
|
|
2066
803
|
};
|
|
2067
804
|
|
|
2068
805
|
/** @internal */
|
|
2069
|
-
export const
|
|
2070
|
-
|
|
806
|
+
export const ListSettlementsAmount$outboundSchema: z.ZodType<
|
|
807
|
+
ListSettlementsAmount$Outbound,
|
|
2071
808
|
z.ZodTypeDef,
|
|
2072
|
-
|
|
809
|
+
ListSettlementsAmount
|
|
2073
810
|
> = z.object({
|
|
2074
|
-
|
|
2075
|
-
|
|
2076
|
-
).optional(),
|
|
2077
|
-
}).transform((v) => {
|
|
2078
|
-
return remap$(v, {
|
|
2079
|
-
lessThanYearGreaterThan: "<year>",
|
|
2080
|
-
});
|
|
811
|
+
currency: z.string(),
|
|
812
|
+
value: z.string(),
|
|
2081
813
|
});
|
|
2082
814
|
|
|
2083
815
|
/**
|
|
2084
816
|
* @internal
|
|
2085
817
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2086
818
|
*/
|
|
2087
|
-
export namespace
|
|
2088
|
-
/** @deprecated use `
|
|
2089
|
-
export const inboundSchema =
|
|
2090
|
-
/** @deprecated use `
|
|
2091
|
-
export const outboundSchema =
|
|
2092
|
-
/** @deprecated use `
|
|
2093
|
-
export type Outbound =
|
|
819
|
+
export namespace ListSettlementsAmount$ {
|
|
820
|
+
/** @deprecated use `ListSettlementsAmount$inboundSchema` instead. */
|
|
821
|
+
export const inboundSchema = ListSettlementsAmount$inboundSchema;
|
|
822
|
+
/** @deprecated use `ListSettlementsAmount$outboundSchema` instead. */
|
|
823
|
+
export const outboundSchema = ListSettlementsAmount$outboundSchema;
|
|
824
|
+
/** @deprecated use `ListSettlementsAmount$Outbound` instead. */
|
|
825
|
+
export type Outbound = ListSettlementsAmount$Outbound;
|
|
2094
826
|
}
|
|
2095
827
|
|
|
2096
|
-
export function
|
|
2097
|
-
|
|
828
|
+
export function listSettlementsAmountToJSON(
|
|
829
|
+
listSettlementsAmount: ListSettlementsAmount,
|
|
2098
830
|
): string {
|
|
2099
831
|
return JSON.stringify(
|
|
2100
|
-
|
|
832
|
+
ListSettlementsAmount$outboundSchema.parse(listSettlementsAmount),
|
|
2101
833
|
);
|
|
2102
834
|
}
|
|
2103
835
|
|
|
2104
|
-
export function
|
|
836
|
+
export function listSettlementsAmountFromJSON(
|
|
2105
837
|
jsonString: string,
|
|
2106
|
-
): SafeParseResult<
|
|
838
|
+
): SafeParseResult<ListSettlementsAmount, SDKValidationError> {
|
|
2107
839
|
return safeParse(
|
|
2108
840
|
jsonString,
|
|
2109
|
-
(x) =>
|
|
2110
|
-
`Failed to parse '
|
|
841
|
+
(x) => ListSettlementsAmount$inboundSchema.parse(JSON.parse(x)),
|
|
842
|
+
`Failed to parse 'ListSettlementsAmount' from JSON`,
|
|
2111
843
|
);
|
|
2112
844
|
}
|
|
2113
845
|
|
|
@@ -2596,7 +1328,7 @@ export const ListSettlementsSettlement$inboundSchema: z.ZodType<
|
|
|
2596
1328
|
amount: z.lazy(() => ListSettlementsAmount$inboundSchema).optional(),
|
|
2597
1329
|
balanceId: z.string().optional(),
|
|
2598
1330
|
invoiceId: z.nullable(z.string()).optional(),
|
|
2599
|
-
periods: z.
|
|
1331
|
+
periods: z.record(z.any()).optional(),
|
|
2600
1332
|
_links: z.lazy(() => SettlementLinks$inboundSchema).optional(),
|
|
2601
1333
|
}).transform((v) => {
|
|
2602
1334
|
return remap$(v, {
|
|
@@ -2615,7 +1347,7 @@ export type ListSettlementsSettlement$Outbound = {
|
|
|
2615
1347
|
amount?: ListSettlementsAmount$Outbound | undefined;
|
|
2616
1348
|
balanceId?: string | undefined;
|
|
2617
1349
|
invoiceId?: string | null | undefined;
|
|
2618
|
-
periods?:
|
|
1350
|
+
periods?: { [k: string]: any } | undefined;
|
|
2619
1351
|
_links?: SettlementLinks$Outbound | undefined;
|
|
2620
1352
|
};
|
|
2621
1353
|
|
|
@@ -2634,7 +1366,7 @@ export const ListSettlementsSettlement$outboundSchema: z.ZodType<
|
|
|
2634
1366
|
amount: z.lazy(() => ListSettlementsAmount$outboundSchema).optional(),
|
|
2635
1367
|
balanceId: z.string().optional(),
|
|
2636
1368
|
invoiceId: z.nullable(z.string()).optional(),
|
|
2637
|
-
periods: z.
|
|
1369
|
+
periods: z.record(z.any()).optional(),
|
|
2638
1370
|
links: z.lazy(() => SettlementLinks$outboundSchema).optional(),
|
|
2639
1371
|
}).transform((v) => {
|
|
2640
1372
|
return remap$(v, {
|
|
@@ -2965,20 +1697,18 @@ export const ListSettlementsLinks$inboundSchema: z.ZodType<
|
|
|
2965
1697
|
z.ZodTypeDef,
|
|
2966
1698
|
unknown
|
|
2967
1699
|
> = z.object({
|
|
2968
|
-
self: z.lazy(() => ListSettlementsSelf$inboundSchema)
|
|
2969
|
-
previous: z.nullable(z.lazy(() => ListSettlementsPrevious$inboundSchema))
|
|
2970
|
-
|
|
2971
|
-
|
|
2972
|
-
documentation: z.lazy(() => ListSettlementsDocumentation$inboundSchema)
|
|
2973
|
-
.optional(),
|
|
1700
|
+
self: z.lazy(() => ListSettlementsSelf$inboundSchema),
|
|
1701
|
+
previous: z.nullable(z.lazy(() => ListSettlementsPrevious$inboundSchema)),
|
|
1702
|
+
next: z.nullable(z.lazy(() => ListSettlementsNext$inboundSchema)),
|
|
1703
|
+
documentation: z.lazy(() => ListSettlementsDocumentation$inboundSchema),
|
|
2974
1704
|
});
|
|
2975
1705
|
|
|
2976
1706
|
/** @internal */
|
|
2977
1707
|
export type ListSettlementsLinks$Outbound = {
|
|
2978
|
-
self
|
|
2979
|
-
previous
|
|
2980
|
-
next
|
|
2981
|
-
documentation
|
|
1708
|
+
self: ListSettlementsSelf$Outbound;
|
|
1709
|
+
previous: ListSettlementsPrevious$Outbound | null;
|
|
1710
|
+
next: ListSettlementsNext$Outbound | null;
|
|
1711
|
+
documentation: ListSettlementsDocumentation$Outbound;
|
|
2982
1712
|
};
|
|
2983
1713
|
|
|
2984
1714
|
/** @internal */
|
|
@@ -2987,12 +1717,10 @@ export const ListSettlementsLinks$outboundSchema: z.ZodType<
|
|
|
2987
1717
|
z.ZodTypeDef,
|
|
2988
1718
|
ListSettlementsLinks
|
|
2989
1719
|
> = z.object({
|
|
2990
|
-
self: z.lazy(() => ListSettlementsSelf$outboundSchema)
|
|
2991
|
-
previous: z.nullable(z.lazy(() => ListSettlementsPrevious$outboundSchema))
|
|
2992
|
-
|
|
2993
|
-
|
|
2994
|
-
documentation: z.lazy(() => ListSettlementsDocumentation$outboundSchema)
|
|
2995
|
-
.optional(),
|
|
1720
|
+
self: z.lazy(() => ListSettlementsSelf$outboundSchema),
|
|
1721
|
+
previous: z.nullable(z.lazy(() => ListSettlementsPrevious$outboundSchema)),
|
|
1722
|
+
next: z.nullable(z.lazy(() => ListSettlementsNext$outboundSchema)),
|
|
1723
|
+
documentation: z.lazy(() => ListSettlementsDocumentation$outboundSchema),
|
|
2996
1724
|
});
|
|
2997
1725
|
|
|
2998
1726
|
/**
|