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
|
@@ -39,343 +39,6 @@ export type GetNextSettlementAmount = {
|
|
|
39
39
|
value: string;
|
|
40
40
|
};
|
|
41
41
|
|
|
42
|
-
/**
|
|
43
|
-
* The payment method, if applicable
|
|
44
|
-
*/
|
|
45
|
-
export const GetNextSettlementCostMethod = {
|
|
46
|
-
Alma: "alma",
|
|
47
|
-
Bacs: "bacs",
|
|
48
|
-
Applepay: "applepay",
|
|
49
|
-
Bancomatpay: "bancomatpay",
|
|
50
|
-
Bancontact: "bancontact",
|
|
51
|
-
Banktransfer: "banktransfer",
|
|
52
|
-
Belfius: "belfius",
|
|
53
|
-
Billie: "billie",
|
|
54
|
-
Bizum: "bizum",
|
|
55
|
-
Bitcoin: "bitcoin",
|
|
56
|
-
Blik: "blik",
|
|
57
|
-
Creditcard: "creditcard",
|
|
58
|
-
Directdebit: "directdebit",
|
|
59
|
-
Eps: "eps",
|
|
60
|
-
Giftcard: "giftcard",
|
|
61
|
-
Giropay: "giropay",
|
|
62
|
-
Googlepay: "googlepay",
|
|
63
|
-
Ideal: "ideal",
|
|
64
|
-
In3: "in3",
|
|
65
|
-
Inghomepay: "inghomepay",
|
|
66
|
-
Kbc: "kbc",
|
|
67
|
-
Klarnapaylater: "klarnapaylater",
|
|
68
|
-
Klarnapaynow: "klarnapaynow",
|
|
69
|
-
Klarnasliceit: "klarnasliceit",
|
|
70
|
-
Klarna: "klarna",
|
|
71
|
-
Mbway: "mbway",
|
|
72
|
-
Multibanco: "multibanco",
|
|
73
|
-
Mybank: "mybank",
|
|
74
|
-
Paybybank: "paybybank",
|
|
75
|
-
Payconiq: "payconiq",
|
|
76
|
-
Paypal: "paypal",
|
|
77
|
-
Paysafecard: "paysafecard",
|
|
78
|
-
Przelewy24: "przelewy24",
|
|
79
|
-
Riverty: "riverty",
|
|
80
|
-
Satispay: "satispay",
|
|
81
|
-
Podiumcadeaukaart: "podiumcadeaukaart",
|
|
82
|
-
Pointofsale: "pointofsale",
|
|
83
|
-
Sofort: "sofort",
|
|
84
|
-
Swish: "swish",
|
|
85
|
-
Trustly: "trustly",
|
|
86
|
-
Twint: "twint",
|
|
87
|
-
Voucher: "voucher",
|
|
88
|
-
} as const;
|
|
89
|
-
/**
|
|
90
|
-
* The payment method, if applicable
|
|
91
|
-
*/
|
|
92
|
-
export type GetNextSettlementCostMethod = ClosedEnum<
|
|
93
|
-
typeof GetNextSettlementCostMethod
|
|
94
|
-
>;
|
|
95
|
-
|
|
96
|
-
/**
|
|
97
|
-
* In v2 endpoints, monetary amounts are represented as objects with a `currency` and `value` field.
|
|
98
|
-
*/
|
|
99
|
-
export type GetNextSettlementFixed = {
|
|
100
|
-
/**
|
|
101
|
-
* A three-character ISO 4217 currency code.
|
|
102
|
-
*/
|
|
103
|
-
currency: string;
|
|
104
|
-
/**
|
|
105
|
-
* A string containing an exact monetary amount in the given currency.
|
|
106
|
-
*/
|
|
107
|
-
value: string;
|
|
108
|
-
};
|
|
109
|
-
|
|
110
|
-
/**
|
|
111
|
-
* In v2 endpoints, monetary amounts are represented as objects with a `currency` and `value` field.
|
|
112
|
-
*/
|
|
113
|
-
export type GetNextSettlementPercentage = {
|
|
114
|
-
/**
|
|
115
|
-
* A three-character ISO 4217 currency code.
|
|
116
|
-
*/
|
|
117
|
-
currency: string;
|
|
118
|
-
/**
|
|
119
|
-
* A string containing an exact monetary amount in the given currency.
|
|
120
|
-
*/
|
|
121
|
-
value: string;
|
|
122
|
-
};
|
|
123
|
-
|
|
124
|
-
/**
|
|
125
|
-
* The service rates, further divided into `fixed` and `percentage` costs.
|
|
126
|
-
*/
|
|
127
|
-
export type GetNextSettlementRate = {
|
|
128
|
-
/**
|
|
129
|
-
* In v2 endpoints, monetary amounts are represented as objects with a `currency` and `value` field.
|
|
130
|
-
*/
|
|
131
|
-
fixed?: GetNextSettlementFixed | undefined;
|
|
132
|
-
/**
|
|
133
|
-
* In v2 endpoints, monetary amounts are represented as objects with a `currency` and `value` field.
|
|
134
|
-
*/
|
|
135
|
-
percentage?: GetNextSettlementPercentage | undefined;
|
|
136
|
-
};
|
|
137
|
-
|
|
138
|
-
/**
|
|
139
|
-
* The net total cost, i.e. excluding VAT
|
|
140
|
-
*/
|
|
141
|
-
export type GetNextSettlementCostAmountNet = {
|
|
142
|
-
/**
|
|
143
|
-
* A three-character ISO 4217 currency code.
|
|
144
|
-
*/
|
|
145
|
-
currency: string;
|
|
146
|
-
/**
|
|
147
|
-
* A string containing an exact monetary amount in the given currency.
|
|
148
|
-
*/
|
|
149
|
-
value: string;
|
|
150
|
-
};
|
|
151
|
-
|
|
152
|
-
/**
|
|
153
|
-
* The applicable VAT
|
|
154
|
-
*/
|
|
155
|
-
export type GetNextSettlementCostAmountVat = {
|
|
156
|
-
/**
|
|
157
|
-
* A three-character ISO 4217 currency code.
|
|
158
|
-
*/
|
|
159
|
-
currency: string;
|
|
160
|
-
/**
|
|
161
|
-
* A string containing an exact monetary amount in the given currency.
|
|
162
|
-
*/
|
|
163
|
-
value: string;
|
|
164
|
-
};
|
|
165
|
-
|
|
166
|
-
/**
|
|
167
|
-
* The gross total cost, i.e. including VAT
|
|
168
|
-
*/
|
|
169
|
-
export type GetNextSettlementCostAmountGross = {
|
|
170
|
-
/**
|
|
171
|
-
* A three-character ISO 4217 currency code.
|
|
172
|
-
*/
|
|
173
|
-
currency: string;
|
|
174
|
-
/**
|
|
175
|
-
* A string containing an exact monetary amount in the given currency.
|
|
176
|
-
*/
|
|
177
|
-
value: string;
|
|
178
|
-
};
|
|
179
|
-
|
|
180
|
-
export type GetNextSettlementCost = {
|
|
181
|
-
/**
|
|
182
|
-
* A description of the cost subtotal
|
|
183
|
-
*/
|
|
184
|
-
description?: string | undefined;
|
|
185
|
-
/**
|
|
186
|
-
* The payment method, if applicable
|
|
187
|
-
*/
|
|
188
|
-
method?: GetNextSettlementCostMethod | null | undefined;
|
|
189
|
-
/**
|
|
190
|
-
* The number of fees
|
|
191
|
-
*/
|
|
192
|
-
count?: number | undefined;
|
|
193
|
-
/**
|
|
194
|
-
* The service rates, further divided into `fixed` and `percentage` costs.
|
|
195
|
-
*/
|
|
196
|
-
rate?: GetNextSettlementRate | undefined;
|
|
197
|
-
/**
|
|
198
|
-
* The net total cost, i.e. excluding VAT
|
|
199
|
-
*/
|
|
200
|
-
amountNet?: GetNextSettlementCostAmountNet | undefined;
|
|
201
|
-
/**
|
|
202
|
-
* The applicable VAT
|
|
203
|
-
*/
|
|
204
|
-
amountVat?: GetNextSettlementCostAmountVat | undefined;
|
|
205
|
-
/**
|
|
206
|
-
* The gross total cost, i.e. including VAT
|
|
207
|
-
*/
|
|
208
|
-
amountGross?: GetNextSettlementCostAmountGross | undefined;
|
|
209
|
-
};
|
|
210
|
-
|
|
211
|
-
/**
|
|
212
|
-
* The payment method, if applicable
|
|
213
|
-
*/
|
|
214
|
-
export const GetNextSettlementRevenueMethod = {
|
|
215
|
-
Alma: "alma",
|
|
216
|
-
Bacs: "bacs",
|
|
217
|
-
Applepay: "applepay",
|
|
218
|
-
Bancomatpay: "bancomatpay",
|
|
219
|
-
Bancontact: "bancontact",
|
|
220
|
-
Banktransfer: "banktransfer",
|
|
221
|
-
Belfius: "belfius",
|
|
222
|
-
Billie: "billie",
|
|
223
|
-
Bizum: "bizum",
|
|
224
|
-
Bitcoin: "bitcoin",
|
|
225
|
-
Blik: "blik",
|
|
226
|
-
Creditcard: "creditcard",
|
|
227
|
-
Directdebit: "directdebit",
|
|
228
|
-
Eps: "eps",
|
|
229
|
-
Giftcard: "giftcard",
|
|
230
|
-
Giropay: "giropay",
|
|
231
|
-
Googlepay: "googlepay",
|
|
232
|
-
Ideal: "ideal",
|
|
233
|
-
In3: "in3",
|
|
234
|
-
Inghomepay: "inghomepay",
|
|
235
|
-
Kbc: "kbc",
|
|
236
|
-
Klarnapaylater: "klarnapaylater",
|
|
237
|
-
Klarnapaynow: "klarnapaynow",
|
|
238
|
-
Klarnasliceit: "klarnasliceit",
|
|
239
|
-
Klarna: "klarna",
|
|
240
|
-
Mbway: "mbway",
|
|
241
|
-
Multibanco: "multibanco",
|
|
242
|
-
Mybank: "mybank",
|
|
243
|
-
Paybybank: "paybybank",
|
|
244
|
-
Payconiq: "payconiq",
|
|
245
|
-
Paypal: "paypal",
|
|
246
|
-
Paysafecard: "paysafecard",
|
|
247
|
-
Przelewy24: "przelewy24",
|
|
248
|
-
Riverty: "riverty",
|
|
249
|
-
Satispay: "satispay",
|
|
250
|
-
Podiumcadeaukaart: "podiumcadeaukaart",
|
|
251
|
-
Pointofsale: "pointofsale",
|
|
252
|
-
Sofort: "sofort",
|
|
253
|
-
Swish: "swish",
|
|
254
|
-
Trustly: "trustly",
|
|
255
|
-
Twint: "twint",
|
|
256
|
-
Voucher: "voucher",
|
|
257
|
-
} as const;
|
|
258
|
-
/**
|
|
259
|
-
* The payment method, if applicable
|
|
260
|
-
*/
|
|
261
|
-
export type GetNextSettlementRevenueMethod = ClosedEnum<
|
|
262
|
-
typeof GetNextSettlementRevenueMethod
|
|
263
|
-
>;
|
|
264
|
-
|
|
265
|
-
/**
|
|
266
|
-
* The net total of received funds, i.e. excluding VAT
|
|
267
|
-
*/
|
|
268
|
-
export type GetNextSettlementRevenueAmountNet = {
|
|
269
|
-
/**
|
|
270
|
-
* A three-character ISO 4217 currency code.
|
|
271
|
-
*/
|
|
272
|
-
currency: string;
|
|
273
|
-
/**
|
|
274
|
-
* A string containing an exact monetary amount in the given currency.
|
|
275
|
-
*/
|
|
276
|
-
value: string;
|
|
277
|
-
};
|
|
278
|
-
|
|
279
|
-
/**
|
|
280
|
-
* The applicable VAT
|
|
281
|
-
*/
|
|
282
|
-
export type GetNextSettlementRevenueAmountVat = {
|
|
283
|
-
/**
|
|
284
|
-
* A three-character ISO 4217 currency code.
|
|
285
|
-
*/
|
|
286
|
-
currency: string;
|
|
287
|
-
/**
|
|
288
|
-
* A string containing an exact monetary amount in the given currency.
|
|
289
|
-
*/
|
|
290
|
-
value: string;
|
|
291
|
-
};
|
|
292
|
-
|
|
293
|
-
/**
|
|
294
|
-
* The gross total of received funds, i.e. including VAT
|
|
295
|
-
*/
|
|
296
|
-
export type GetNextSettlementRevenueAmountGross = {
|
|
297
|
-
/**
|
|
298
|
-
* A three-character ISO 4217 currency code.
|
|
299
|
-
*/
|
|
300
|
-
currency: string;
|
|
301
|
-
/**
|
|
302
|
-
* A string containing an exact monetary amount in the given currency.
|
|
303
|
-
*/
|
|
304
|
-
value: string;
|
|
305
|
-
};
|
|
306
|
-
|
|
307
|
-
export type GetNextSettlementRevenue = {
|
|
308
|
-
/**
|
|
309
|
-
* A description of the revenue subtotal
|
|
310
|
-
*/
|
|
311
|
-
description?: string | undefined;
|
|
312
|
-
/**
|
|
313
|
-
* The payment method, if applicable
|
|
314
|
-
*/
|
|
315
|
-
method?: GetNextSettlementRevenueMethod | null | undefined;
|
|
316
|
-
/**
|
|
317
|
-
* The number of payments
|
|
318
|
-
*/
|
|
319
|
-
count?: number | undefined;
|
|
320
|
-
/**
|
|
321
|
-
* The net total of received funds, i.e. excluding VAT
|
|
322
|
-
*/
|
|
323
|
-
amountNet?: GetNextSettlementRevenueAmountNet | undefined;
|
|
324
|
-
/**
|
|
325
|
-
* The applicable VAT
|
|
326
|
-
*/
|
|
327
|
-
amountVat?: GetNextSettlementRevenueAmountVat | undefined;
|
|
328
|
-
/**
|
|
329
|
-
* The gross total of received funds, i.e. including VAT
|
|
330
|
-
*/
|
|
331
|
-
amountGross?: GetNextSettlementRevenueAmountGross | undefined;
|
|
332
|
-
};
|
|
333
|
-
|
|
334
|
-
export type GetNextSettlementLessThanMonthGreaterThan = {
|
|
335
|
-
/**
|
|
336
|
-
* An array of cost objects, describing the fees withheld for each payment method during this period.
|
|
337
|
-
*/
|
|
338
|
-
costs?: Array<GetNextSettlementCost> | undefined;
|
|
339
|
-
/**
|
|
340
|
-
* An array of revenue objects containing the total revenue for each payment method during this period.
|
|
341
|
-
*/
|
|
342
|
-
revenue?: Array<GetNextSettlementRevenue> | undefined;
|
|
343
|
-
/**
|
|
344
|
-
* The ID of the invoice created for this period, if the invoice has been created already.
|
|
345
|
-
*/
|
|
346
|
-
invoiceId?: string | null | undefined;
|
|
347
|
-
/**
|
|
348
|
-
* The invoice reference, if the invoice has been created already.
|
|
349
|
-
*/
|
|
350
|
-
invoiceReference?: string | null | undefined;
|
|
351
|
-
};
|
|
352
|
-
|
|
353
|
-
export type GetNextSettlementLessThanYearGreaterThan = {
|
|
354
|
-
lessThanMonthGreaterThan?:
|
|
355
|
-
| GetNextSettlementLessThanMonthGreaterThan
|
|
356
|
-
| undefined;
|
|
357
|
-
};
|
|
358
|
-
|
|
359
|
-
/**
|
|
360
|
-
* For bookkeeping purposes, the settlement includes an overview of transactions included in the settlement. These
|
|
361
|
-
*
|
|
362
|
-
* @remarks
|
|
363
|
-
* transactions are grouped into 'period' objects — one for each calendar month.
|
|
364
|
-
*
|
|
365
|
-
* For example, if a settlement includes funds from 15 April until 4 May, it will include two period objects. One for
|
|
366
|
-
* all transactions processed between 15 April and 30 April, and one for all transactions between 1 May and 4 May.
|
|
367
|
-
*
|
|
368
|
-
* Period objects are grouped by year, and then by month. So in the above example, the full `periods` collection will
|
|
369
|
-
* look as follows: `{"2024": {"04": {...}, "05": {...}}}`. The year and month in this documentation are referred as `<year>` and `<month>`.
|
|
370
|
-
*
|
|
371
|
-
* The example response should give a good idea of what this looks like in practise.
|
|
372
|
-
*/
|
|
373
|
-
export type GetNextSettlementPeriods = {
|
|
374
|
-
lessThanYearGreaterThan?:
|
|
375
|
-
| GetNextSettlementLessThanYearGreaterThan
|
|
376
|
-
| undefined;
|
|
377
|
-
};
|
|
378
|
-
|
|
379
42
|
/**
|
|
380
43
|
* In v2 endpoints, URLs are commonly represented as objects with an `href` and `type` field.
|
|
381
44
|
*/
|
|
@@ -573,7 +236,7 @@ export type GetNextSettlementResponse = {
|
|
|
573
236
|
*
|
|
574
237
|
* The example response should give a good idea of what this looks like in practise.
|
|
575
238
|
*/
|
|
576
|
-
periods?:
|
|
239
|
+
periods?: { [k: string]: any } | undefined;
|
|
577
240
|
/**
|
|
578
241
|
* An object with several relevant URLs. Every URL object will contain an `href` and a `type` field.
|
|
579
242
|
*/
|
|
@@ -658,955 +321,6 @@ export function getNextSettlementAmountFromJSON(
|
|
|
658
321
|
);
|
|
659
322
|
}
|
|
660
323
|
|
|
661
|
-
/** @internal */
|
|
662
|
-
export const GetNextSettlementCostMethod$inboundSchema: z.ZodNativeEnum<
|
|
663
|
-
typeof GetNextSettlementCostMethod
|
|
664
|
-
> = z.nativeEnum(GetNextSettlementCostMethod);
|
|
665
|
-
|
|
666
|
-
/** @internal */
|
|
667
|
-
export const GetNextSettlementCostMethod$outboundSchema: z.ZodNativeEnum<
|
|
668
|
-
typeof GetNextSettlementCostMethod
|
|
669
|
-
> = GetNextSettlementCostMethod$inboundSchema;
|
|
670
|
-
|
|
671
|
-
/**
|
|
672
|
-
* @internal
|
|
673
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
674
|
-
*/
|
|
675
|
-
export namespace GetNextSettlementCostMethod$ {
|
|
676
|
-
/** @deprecated use `GetNextSettlementCostMethod$inboundSchema` instead. */
|
|
677
|
-
export const inboundSchema = GetNextSettlementCostMethod$inboundSchema;
|
|
678
|
-
/** @deprecated use `GetNextSettlementCostMethod$outboundSchema` instead. */
|
|
679
|
-
export const outboundSchema = GetNextSettlementCostMethod$outboundSchema;
|
|
680
|
-
}
|
|
681
|
-
|
|
682
|
-
/** @internal */
|
|
683
|
-
export const GetNextSettlementFixed$inboundSchema: z.ZodType<
|
|
684
|
-
GetNextSettlementFixed,
|
|
685
|
-
z.ZodTypeDef,
|
|
686
|
-
unknown
|
|
687
|
-
> = z.object({
|
|
688
|
-
currency: z.string(),
|
|
689
|
-
value: z.string(),
|
|
690
|
-
});
|
|
691
|
-
|
|
692
|
-
/** @internal */
|
|
693
|
-
export type GetNextSettlementFixed$Outbound = {
|
|
694
|
-
currency: string;
|
|
695
|
-
value: string;
|
|
696
|
-
};
|
|
697
|
-
|
|
698
|
-
/** @internal */
|
|
699
|
-
export const GetNextSettlementFixed$outboundSchema: z.ZodType<
|
|
700
|
-
GetNextSettlementFixed$Outbound,
|
|
701
|
-
z.ZodTypeDef,
|
|
702
|
-
GetNextSettlementFixed
|
|
703
|
-
> = z.object({
|
|
704
|
-
currency: z.string(),
|
|
705
|
-
value: z.string(),
|
|
706
|
-
});
|
|
707
|
-
|
|
708
|
-
/**
|
|
709
|
-
* @internal
|
|
710
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
711
|
-
*/
|
|
712
|
-
export namespace GetNextSettlementFixed$ {
|
|
713
|
-
/** @deprecated use `GetNextSettlementFixed$inboundSchema` instead. */
|
|
714
|
-
export const inboundSchema = GetNextSettlementFixed$inboundSchema;
|
|
715
|
-
/** @deprecated use `GetNextSettlementFixed$outboundSchema` instead. */
|
|
716
|
-
export const outboundSchema = GetNextSettlementFixed$outboundSchema;
|
|
717
|
-
/** @deprecated use `GetNextSettlementFixed$Outbound` instead. */
|
|
718
|
-
export type Outbound = GetNextSettlementFixed$Outbound;
|
|
719
|
-
}
|
|
720
|
-
|
|
721
|
-
export function getNextSettlementFixedToJSON(
|
|
722
|
-
getNextSettlementFixed: GetNextSettlementFixed,
|
|
723
|
-
): string {
|
|
724
|
-
return JSON.stringify(
|
|
725
|
-
GetNextSettlementFixed$outboundSchema.parse(getNextSettlementFixed),
|
|
726
|
-
);
|
|
727
|
-
}
|
|
728
|
-
|
|
729
|
-
export function getNextSettlementFixedFromJSON(
|
|
730
|
-
jsonString: string,
|
|
731
|
-
): SafeParseResult<GetNextSettlementFixed, SDKValidationError> {
|
|
732
|
-
return safeParse(
|
|
733
|
-
jsonString,
|
|
734
|
-
(x) => GetNextSettlementFixed$inboundSchema.parse(JSON.parse(x)),
|
|
735
|
-
`Failed to parse 'GetNextSettlementFixed' from JSON`,
|
|
736
|
-
);
|
|
737
|
-
}
|
|
738
|
-
|
|
739
|
-
/** @internal */
|
|
740
|
-
export const GetNextSettlementPercentage$inboundSchema: z.ZodType<
|
|
741
|
-
GetNextSettlementPercentage,
|
|
742
|
-
z.ZodTypeDef,
|
|
743
|
-
unknown
|
|
744
|
-
> = z.object({
|
|
745
|
-
currency: z.string(),
|
|
746
|
-
value: z.string(),
|
|
747
|
-
});
|
|
748
|
-
|
|
749
|
-
/** @internal */
|
|
750
|
-
export type GetNextSettlementPercentage$Outbound = {
|
|
751
|
-
currency: string;
|
|
752
|
-
value: string;
|
|
753
|
-
};
|
|
754
|
-
|
|
755
|
-
/** @internal */
|
|
756
|
-
export const GetNextSettlementPercentage$outboundSchema: z.ZodType<
|
|
757
|
-
GetNextSettlementPercentage$Outbound,
|
|
758
|
-
z.ZodTypeDef,
|
|
759
|
-
GetNextSettlementPercentage
|
|
760
|
-
> = z.object({
|
|
761
|
-
currency: z.string(),
|
|
762
|
-
value: z.string(),
|
|
763
|
-
});
|
|
764
|
-
|
|
765
|
-
/**
|
|
766
|
-
* @internal
|
|
767
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
768
|
-
*/
|
|
769
|
-
export namespace GetNextSettlementPercentage$ {
|
|
770
|
-
/** @deprecated use `GetNextSettlementPercentage$inboundSchema` instead. */
|
|
771
|
-
export const inboundSchema = GetNextSettlementPercentage$inboundSchema;
|
|
772
|
-
/** @deprecated use `GetNextSettlementPercentage$outboundSchema` instead. */
|
|
773
|
-
export const outboundSchema = GetNextSettlementPercentage$outboundSchema;
|
|
774
|
-
/** @deprecated use `GetNextSettlementPercentage$Outbound` instead. */
|
|
775
|
-
export type Outbound = GetNextSettlementPercentage$Outbound;
|
|
776
|
-
}
|
|
777
|
-
|
|
778
|
-
export function getNextSettlementPercentageToJSON(
|
|
779
|
-
getNextSettlementPercentage: GetNextSettlementPercentage,
|
|
780
|
-
): string {
|
|
781
|
-
return JSON.stringify(
|
|
782
|
-
GetNextSettlementPercentage$outboundSchema.parse(
|
|
783
|
-
getNextSettlementPercentage,
|
|
784
|
-
),
|
|
785
|
-
);
|
|
786
|
-
}
|
|
787
|
-
|
|
788
|
-
export function getNextSettlementPercentageFromJSON(
|
|
789
|
-
jsonString: string,
|
|
790
|
-
): SafeParseResult<GetNextSettlementPercentage, SDKValidationError> {
|
|
791
|
-
return safeParse(
|
|
792
|
-
jsonString,
|
|
793
|
-
(x) => GetNextSettlementPercentage$inboundSchema.parse(JSON.parse(x)),
|
|
794
|
-
`Failed to parse 'GetNextSettlementPercentage' from JSON`,
|
|
795
|
-
);
|
|
796
|
-
}
|
|
797
|
-
|
|
798
|
-
/** @internal */
|
|
799
|
-
export const GetNextSettlementRate$inboundSchema: z.ZodType<
|
|
800
|
-
GetNextSettlementRate,
|
|
801
|
-
z.ZodTypeDef,
|
|
802
|
-
unknown
|
|
803
|
-
> = z.object({
|
|
804
|
-
fixed: z.lazy(() => GetNextSettlementFixed$inboundSchema).optional(),
|
|
805
|
-
percentage: z.lazy(() => GetNextSettlementPercentage$inboundSchema)
|
|
806
|
-
.optional(),
|
|
807
|
-
});
|
|
808
|
-
|
|
809
|
-
/** @internal */
|
|
810
|
-
export type GetNextSettlementRate$Outbound = {
|
|
811
|
-
fixed?: GetNextSettlementFixed$Outbound | undefined;
|
|
812
|
-
percentage?: GetNextSettlementPercentage$Outbound | undefined;
|
|
813
|
-
};
|
|
814
|
-
|
|
815
|
-
/** @internal */
|
|
816
|
-
export const GetNextSettlementRate$outboundSchema: z.ZodType<
|
|
817
|
-
GetNextSettlementRate$Outbound,
|
|
818
|
-
z.ZodTypeDef,
|
|
819
|
-
GetNextSettlementRate
|
|
820
|
-
> = z.object({
|
|
821
|
-
fixed: z.lazy(() => GetNextSettlementFixed$outboundSchema).optional(),
|
|
822
|
-
percentage: z.lazy(() => GetNextSettlementPercentage$outboundSchema)
|
|
823
|
-
.optional(),
|
|
824
|
-
});
|
|
825
|
-
|
|
826
|
-
/**
|
|
827
|
-
* @internal
|
|
828
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
829
|
-
*/
|
|
830
|
-
export namespace GetNextSettlementRate$ {
|
|
831
|
-
/** @deprecated use `GetNextSettlementRate$inboundSchema` instead. */
|
|
832
|
-
export const inboundSchema = GetNextSettlementRate$inboundSchema;
|
|
833
|
-
/** @deprecated use `GetNextSettlementRate$outboundSchema` instead. */
|
|
834
|
-
export const outboundSchema = GetNextSettlementRate$outboundSchema;
|
|
835
|
-
/** @deprecated use `GetNextSettlementRate$Outbound` instead. */
|
|
836
|
-
export type Outbound = GetNextSettlementRate$Outbound;
|
|
837
|
-
}
|
|
838
|
-
|
|
839
|
-
export function getNextSettlementRateToJSON(
|
|
840
|
-
getNextSettlementRate: GetNextSettlementRate,
|
|
841
|
-
): string {
|
|
842
|
-
return JSON.stringify(
|
|
843
|
-
GetNextSettlementRate$outboundSchema.parse(getNextSettlementRate),
|
|
844
|
-
);
|
|
845
|
-
}
|
|
846
|
-
|
|
847
|
-
export function getNextSettlementRateFromJSON(
|
|
848
|
-
jsonString: string,
|
|
849
|
-
): SafeParseResult<GetNextSettlementRate, SDKValidationError> {
|
|
850
|
-
return safeParse(
|
|
851
|
-
jsonString,
|
|
852
|
-
(x) => GetNextSettlementRate$inboundSchema.parse(JSON.parse(x)),
|
|
853
|
-
`Failed to parse 'GetNextSettlementRate' from JSON`,
|
|
854
|
-
);
|
|
855
|
-
}
|
|
856
|
-
|
|
857
|
-
/** @internal */
|
|
858
|
-
export const GetNextSettlementCostAmountNet$inboundSchema: z.ZodType<
|
|
859
|
-
GetNextSettlementCostAmountNet,
|
|
860
|
-
z.ZodTypeDef,
|
|
861
|
-
unknown
|
|
862
|
-
> = z.object({
|
|
863
|
-
currency: z.string(),
|
|
864
|
-
value: z.string(),
|
|
865
|
-
});
|
|
866
|
-
|
|
867
|
-
/** @internal */
|
|
868
|
-
export type GetNextSettlementCostAmountNet$Outbound = {
|
|
869
|
-
currency: string;
|
|
870
|
-
value: string;
|
|
871
|
-
};
|
|
872
|
-
|
|
873
|
-
/** @internal */
|
|
874
|
-
export const GetNextSettlementCostAmountNet$outboundSchema: z.ZodType<
|
|
875
|
-
GetNextSettlementCostAmountNet$Outbound,
|
|
876
|
-
z.ZodTypeDef,
|
|
877
|
-
GetNextSettlementCostAmountNet
|
|
878
|
-
> = z.object({
|
|
879
|
-
currency: z.string(),
|
|
880
|
-
value: z.string(),
|
|
881
|
-
});
|
|
882
|
-
|
|
883
|
-
/**
|
|
884
|
-
* @internal
|
|
885
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
886
|
-
*/
|
|
887
|
-
export namespace GetNextSettlementCostAmountNet$ {
|
|
888
|
-
/** @deprecated use `GetNextSettlementCostAmountNet$inboundSchema` instead. */
|
|
889
|
-
export const inboundSchema = GetNextSettlementCostAmountNet$inboundSchema;
|
|
890
|
-
/** @deprecated use `GetNextSettlementCostAmountNet$outboundSchema` instead. */
|
|
891
|
-
export const outboundSchema = GetNextSettlementCostAmountNet$outboundSchema;
|
|
892
|
-
/** @deprecated use `GetNextSettlementCostAmountNet$Outbound` instead. */
|
|
893
|
-
export type Outbound = GetNextSettlementCostAmountNet$Outbound;
|
|
894
|
-
}
|
|
895
|
-
|
|
896
|
-
export function getNextSettlementCostAmountNetToJSON(
|
|
897
|
-
getNextSettlementCostAmountNet: GetNextSettlementCostAmountNet,
|
|
898
|
-
): string {
|
|
899
|
-
return JSON.stringify(
|
|
900
|
-
GetNextSettlementCostAmountNet$outboundSchema.parse(
|
|
901
|
-
getNextSettlementCostAmountNet,
|
|
902
|
-
),
|
|
903
|
-
);
|
|
904
|
-
}
|
|
905
|
-
|
|
906
|
-
export function getNextSettlementCostAmountNetFromJSON(
|
|
907
|
-
jsonString: string,
|
|
908
|
-
): SafeParseResult<GetNextSettlementCostAmountNet, SDKValidationError> {
|
|
909
|
-
return safeParse(
|
|
910
|
-
jsonString,
|
|
911
|
-
(x) => GetNextSettlementCostAmountNet$inboundSchema.parse(JSON.parse(x)),
|
|
912
|
-
`Failed to parse 'GetNextSettlementCostAmountNet' from JSON`,
|
|
913
|
-
);
|
|
914
|
-
}
|
|
915
|
-
|
|
916
|
-
/** @internal */
|
|
917
|
-
export const GetNextSettlementCostAmountVat$inboundSchema: z.ZodType<
|
|
918
|
-
GetNextSettlementCostAmountVat,
|
|
919
|
-
z.ZodTypeDef,
|
|
920
|
-
unknown
|
|
921
|
-
> = z.object({
|
|
922
|
-
currency: z.string(),
|
|
923
|
-
value: z.string(),
|
|
924
|
-
});
|
|
925
|
-
|
|
926
|
-
/** @internal */
|
|
927
|
-
export type GetNextSettlementCostAmountVat$Outbound = {
|
|
928
|
-
currency: string;
|
|
929
|
-
value: string;
|
|
930
|
-
};
|
|
931
|
-
|
|
932
|
-
/** @internal */
|
|
933
|
-
export const GetNextSettlementCostAmountVat$outboundSchema: z.ZodType<
|
|
934
|
-
GetNextSettlementCostAmountVat$Outbound,
|
|
935
|
-
z.ZodTypeDef,
|
|
936
|
-
GetNextSettlementCostAmountVat
|
|
937
|
-
> = z.object({
|
|
938
|
-
currency: z.string(),
|
|
939
|
-
value: z.string(),
|
|
940
|
-
});
|
|
941
|
-
|
|
942
|
-
/**
|
|
943
|
-
* @internal
|
|
944
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
945
|
-
*/
|
|
946
|
-
export namespace GetNextSettlementCostAmountVat$ {
|
|
947
|
-
/** @deprecated use `GetNextSettlementCostAmountVat$inboundSchema` instead. */
|
|
948
|
-
export const inboundSchema = GetNextSettlementCostAmountVat$inboundSchema;
|
|
949
|
-
/** @deprecated use `GetNextSettlementCostAmountVat$outboundSchema` instead. */
|
|
950
|
-
export const outboundSchema = GetNextSettlementCostAmountVat$outboundSchema;
|
|
951
|
-
/** @deprecated use `GetNextSettlementCostAmountVat$Outbound` instead. */
|
|
952
|
-
export type Outbound = GetNextSettlementCostAmountVat$Outbound;
|
|
953
|
-
}
|
|
954
|
-
|
|
955
|
-
export function getNextSettlementCostAmountVatToJSON(
|
|
956
|
-
getNextSettlementCostAmountVat: GetNextSettlementCostAmountVat,
|
|
957
|
-
): string {
|
|
958
|
-
return JSON.stringify(
|
|
959
|
-
GetNextSettlementCostAmountVat$outboundSchema.parse(
|
|
960
|
-
getNextSettlementCostAmountVat,
|
|
961
|
-
),
|
|
962
|
-
);
|
|
963
|
-
}
|
|
964
|
-
|
|
965
|
-
export function getNextSettlementCostAmountVatFromJSON(
|
|
966
|
-
jsonString: string,
|
|
967
|
-
): SafeParseResult<GetNextSettlementCostAmountVat, SDKValidationError> {
|
|
968
|
-
return safeParse(
|
|
969
|
-
jsonString,
|
|
970
|
-
(x) => GetNextSettlementCostAmountVat$inboundSchema.parse(JSON.parse(x)),
|
|
971
|
-
`Failed to parse 'GetNextSettlementCostAmountVat' from JSON`,
|
|
972
|
-
);
|
|
973
|
-
}
|
|
974
|
-
|
|
975
|
-
/** @internal */
|
|
976
|
-
export const GetNextSettlementCostAmountGross$inboundSchema: z.ZodType<
|
|
977
|
-
GetNextSettlementCostAmountGross,
|
|
978
|
-
z.ZodTypeDef,
|
|
979
|
-
unknown
|
|
980
|
-
> = z.object({
|
|
981
|
-
currency: z.string(),
|
|
982
|
-
value: z.string(),
|
|
983
|
-
});
|
|
984
|
-
|
|
985
|
-
/** @internal */
|
|
986
|
-
export type GetNextSettlementCostAmountGross$Outbound = {
|
|
987
|
-
currency: string;
|
|
988
|
-
value: string;
|
|
989
|
-
};
|
|
990
|
-
|
|
991
|
-
/** @internal */
|
|
992
|
-
export const GetNextSettlementCostAmountGross$outboundSchema: z.ZodType<
|
|
993
|
-
GetNextSettlementCostAmountGross$Outbound,
|
|
994
|
-
z.ZodTypeDef,
|
|
995
|
-
GetNextSettlementCostAmountGross
|
|
996
|
-
> = z.object({
|
|
997
|
-
currency: z.string(),
|
|
998
|
-
value: z.string(),
|
|
999
|
-
});
|
|
1000
|
-
|
|
1001
|
-
/**
|
|
1002
|
-
* @internal
|
|
1003
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1004
|
-
*/
|
|
1005
|
-
export namespace GetNextSettlementCostAmountGross$ {
|
|
1006
|
-
/** @deprecated use `GetNextSettlementCostAmountGross$inboundSchema` instead. */
|
|
1007
|
-
export const inboundSchema = GetNextSettlementCostAmountGross$inboundSchema;
|
|
1008
|
-
/** @deprecated use `GetNextSettlementCostAmountGross$outboundSchema` instead. */
|
|
1009
|
-
export const outboundSchema = GetNextSettlementCostAmountGross$outboundSchema;
|
|
1010
|
-
/** @deprecated use `GetNextSettlementCostAmountGross$Outbound` instead. */
|
|
1011
|
-
export type Outbound = GetNextSettlementCostAmountGross$Outbound;
|
|
1012
|
-
}
|
|
1013
|
-
|
|
1014
|
-
export function getNextSettlementCostAmountGrossToJSON(
|
|
1015
|
-
getNextSettlementCostAmountGross: GetNextSettlementCostAmountGross,
|
|
1016
|
-
): string {
|
|
1017
|
-
return JSON.stringify(
|
|
1018
|
-
GetNextSettlementCostAmountGross$outboundSchema.parse(
|
|
1019
|
-
getNextSettlementCostAmountGross,
|
|
1020
|
-
),
|
|
1021
|
-
);
|
|
1022
|
-
}
|
|
1023
|
-
|
|
1024
|
-
export function getNextSettlementCostAmountGrossFromJSON(
|
|
1025
|
-
jsonString: string,
|
|
1026
|
-
): SafeParseResult<GetNextSettlementCostAmountGross, SDKValidationError> {
|
|
1027
|
-
return safeParse(
|
|
1028
|
-
jsonString,
|
|
1029
|
-
(x) => GetNextSettlementCostAmountGross$inboundSchema.parse(JSON.parse(x)),
|
|
1030
|
-
`Failed to parse 'GetNextSettlementCostAmountGross' from JSON`,
|
|
1031
|
-
);
|
|
1032
|
-
}
|
|
1033
|
-
|
|
1034
|
-
/** @internal */
|
|
1035
|
-
export const GetNextSettlementCost$inboundSchema: z.ZodType<
|
|
1036
|
-
GetNextSettlementCost,
|
|
1037
|
-
z.ZodTypeDef,
|
|
1038
|
-
unknown
|
|
1039
|
-
> = z.object({
|
|
1040
|
-
description: z.string().optional(),
|
|
1041
|
-
method: z.nullable(GetNextSettlementCostMethod$inboundSchema).optional(),
|
|
1042
|
-
count: z.number().int().optional(),
|
|
1043
|
-
rate: z.lazy(() => GetNextSettlementRate$inboundSchema).optional(),
|
|
1044
|
-
amountNet: z.lazy(() => GetNextSettlementCostAmountNet$inboundSchema)
|
|
1045
|
-
.optional(),
|
|
1046
|
-
amountVat: z.lazy(() => GetNextSettlementCostAmountVat$inboundSchema)
|
|
1047
|
-
.optional(),
|
|
1048
|
-
amountGross: z.lazy(() => GetNextSettlementCostAmountGross$inboundSchema)
|
|
1049
|
-
.optional(),
|
|
1050
|
-
});
|
|
1051
|
-
|
|
1052
|
-
/** @internal */
|
|
1053
|
-
export type GetNextSettlementCost$Outbound = {
|
|
1054
|
-
description?: string | undefined;
|
|
1055
|
-
method?: string | null | undefined;
|
|
1056
|
-
count?: number | undefined;
|
|
1057
|
-
rate?: GetNextSettlementRate$Outbound | undefined;
|
|
1058
|
-
amountNet?: GetNextSettlementCostAmountNet$Outbound | undefined;
|
|
1059
|
-
amountVat?: GetNextSettlementCostAmountVat$Outbound | undefined;
|
|
1060
|
-
amountGross?: GetNextSettlementCostAmountGross$Outbound | undefined;
|
|
1061
|
-
};
|
|
1062
|
-
|
|
1063
|
-
/** @internal */
|
|
1064
|
-
export const GetNextSettlementCost$outboundSchema: z.ZodType<
|
|
1065
|
-
GetNextSettlementCost$Outbound,
|
|
1066
|
-
z.ZodTypeDef,
|
|
1067
|
-
GetNextSettlementCost
|
|
1068
|
-
> = z.object({
|
|
1069
|
-
description: z.string().optional(),
|
|
1070
|
-
method: z.nullable(GetNextSettlementCostMethod$outboundSchema).optional(),
|
|
1071
|
-
count: z.number().int().optional(),
|
|
1072
|
-
rate: z.lazy(() => GetNextSettlementRate$outboundSchema).optional(),
|
|
1073
|
-
amountNet: z.lazy(() => GetNextSettlementCostAmountNet$outboundSchema)
|
|
1074
|
-
.optional(),
|
|
1075
|
-
amountVat: z.lazy(() => GetNextSettlementCostAmountVat$outboundSchema)
|
|
1076
|
-
.optional(),
|
|
1077
|
-
amountGross: z.lazy(() => GetNextSettlementCostAmountGross$outboundSchema)
|
|
1078
|
-
.optional(),
|
|
1079
|
-
});
|
|
1080
|
-
|
|
1081
|
-
/**
|
|
1082
|
-
* @internal
|
|
1083
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1084
|
-
*/
|
|
1085
|
-
export namespace GetNextSettlementCost$ {
|
|
1086
|
-
/** @deprecated use `GetNextSettlementCost$inboundSchema` instead. */
|
|
1087
|
-
export const inboundSchema = GetNextSettlementCost$inboundSchema;
|
|
1088
|
-
/** @deprecated use `GetNextSettlementCost$outboundSchema` instead. */
|
|
1089
|
-
export const outboundSchema = GetNextSettlementCost$outboundSchema;
|
|
1090
|
-
/** @deprecated use `GetNextSettlementCost$Outbound` instead. */
|
|
1091
|
-
export type Outbound = GetNextSettlementCost$Outbound;
|
|
1092
|
-
}
|
|
1093
|
-
|
|
1094
|
-
export function getNextSettlementCostToJSON(
|
|
1095
|
-
getNextSettlementCost: GetNextSettlementCost,
|
|
1096
|
-
): string {
|
|
1097
|
-
return JSON.stringify(
|
|
1098
|
-
GetNextSettlementCost$outboundSchema.parse(getNextSettlementCost),
|
|
1099
|
-
);
|
|
1100
|
-
}
|
|
1101
|
-
|
|
1102
|
-
export function getNextSettlementCostFromJSON(
|
|
1103
|
-
jsonString: string,
|
|
1104
|
-
): SafeParseResult<GetNextSettlementCost, SDKValidationError> {
|
|
1105
|
-
return safeParse(
|
|
1106
|
-
jsonString,
|
|
1107
|
-
(x) => GetNextSettlementCost$inboundSchema.parse(JSON.parse(x)),
|
|
1108
|
-
`Failed to parse 'GetNextSettlementCost' from JSON`,
|
|
1109
|
-
);
|
|
1110
|
-
}
|
|
1111
|
-
|
|
1112
|
-
/** @internal */
|
|
1113
|
-
export const GetNextSettlementRevenueMethod$inboundSchema: z.ZodNativeEnum<
|
|
1114
|
-
typeof GetNextSettlementRevenueMethod
|
|
1115
|
-
> = z.nativeEnum(GetNextSettlementRevenueMethod);
|
|
1116
|
-
|
|
1117
|
-
/** @internal */
|
|
1118
|
-
export const GetNextSettlementRevenueMethod$outboundSchema: z.ZodNativeEnum<
|
|
1119
|
-
typeof GetNextSettlementRevenueMethod
|
|
1120
|
-
> = GetNextSettlementRevenueMethod$inboundSchema;
|
|
1121
|
-
|
|
1122
|
-
/**
|
|
1123
|
-
* @internal
|
|
1124
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1125
|
-
*/
|
|
1126
|
-
export namespace GetNextSettlementRevenueMethod$ {
|
|
1127
|
-
/** @deprecated use `GetNextSettlementRevenueMethod$inboundSchema` instead. */
|
|
1128
|
-
export const inboundSchema = GetNextSettlementRevenueMethod$inboundSchema;
|
|
1129
|
-
/** @deprecated use `GetNextSettlementRevenueMethod$outboundSchema` instead. */
|
|
1130
|
-
export const outboundSchema = GetNextSettlementRevenueMethod$outboundSchema;
|
|
1131
|
-
}
|
|
1132
|
-
|
|
1133
|
-
/** @internal */
|
|
1134
|
-
export const GetNextSettlementRevenueAmountNet$inboundSchema: z.ZodType<
|
|
1135
|
-
GetNextSettlementRevenueAmountNet,
|
|
1136
|
-
z.ZodTypeDef,
|
|
1137
|
-
unknown
|
|
1138
|
-
> = z.object({
|
|
1139
|
-
currency: z.string(),
|
|
1140
|
-
value: z.string(),
|
|
1141
|
-
});
|
|
1142
|
-
|
|
1143
|
-
/** @internal */
|
|
1144
|
-
export type GetNextSettlementRevenueAmountNet$Outbound = {
|
|
1145
|
-
currency: string;
|
|
1146
|
-
value: string;
|
|
1147
|
-
};
|
|
1148
|
-
|
|
1149
|
-
/** @internal */
|
|
1150
|
-
export const GetNextSettlementRevenueAmountNet$outboundSchema: z.ZodType<
|
|
1151
|
-
GetNextSettlementRevenueAmountNet$Outbound,
|
|
1152
|
-
z.ZodTypeDef,
|
|
1153
|
-
GetNextSettlementRevenueAmountNet
|
|
1154
|
-
> = z.object({
|
|
1155
|
-
currency: z.string(),
|
|
1156
|
-
value: z.string(),
|
|
1157
|
-
});
|
|
1158
|
-
|
|
1159
|
-
/**
|
|
1160
|
-
* @internal
|
|
1161
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1162
|
-
*/
|
|
1163
|
-
export namespace GetNextSettlementRevenueAmountNet$ {
|
|
1164
|
-
/** @deprecated use `GetNextSettlementRevenueAmountNet$inboundSchema` instead. */
|
|
1165
|
-
export const inboundSchema = GetNextSettlementRevenueAmountNet$inboundSchema;
|
|
1166
|
-
/** @deprecated use `GetNextSettlementRevenueAmountNet$outboundSchema` instead. */
|
|
1167
|
-
export const outboundSchema =
|
|
1168
|
-
GetNextSettlementRevenueAmountNet$outboundSchema;
|
|
1169
|
-
/** @deprecated use `GetNextSettlementRevenueAmountNet$Outbound` instead. */
|
|
1170
|
-
export type Outbound = GetNextSettlementRevenueAmountNet$Outbound;
|
|
1171
|
-
}
|
|
1172
|
-
|
|
1173
|
-
export function getNextSettlementRevenueAmountNetToJSON(
|
|
1174
|
-
getNextSettlementRevenueAmountNet: GetNextSettlementRevenueAmountNet,
|
|
1175
|
-
): string {
|
|
1176
|
-
return JSON.stringify(
|
|
1177
|
-
GetNextSettlementRevenueAmountNet$outboundSchema.parse(
|
|
1178
|
-
getNextSettlementRevenueAmountNet,
|
|
1179
|
-
),
|
|
1180
|
-
);
|
|
1181
|
-
}
|
|
1182
|
-
|
|
1183
|
-
export function getNextSettlementRevenueAmountNetFromJSON(
|
|
1184
|
-
jsonString: string,
|
|
1185
|
-
): SafeParseResult<GetNextSettlementRevenueAmountNet, SDKValidationError> {
|
|
1186
|
-
return safeParse(
|
|
1187
|
-
jsonString,
|
|
1188
|
-
(x) => GetNextSettlementRevenueAmountNet$inboundSchema.parse(JSON.parse(x)),
|
|
1189
|
-
`Failed to parse 'GetNextSettlementRevenueAmountNet' from JSON`,
|
|
1190
|
-
);
|
|
1191
|
-
}
|
|
1192
|
-
|
|
1193
|
-
/** @internal */
|
|
1194
|
-
export const GetNextSettlementRevenueAmountVat$inboundSchema: z.ZodType<
|
|
1195
|
-
GetNextSettlementRevenueAmountVat,
|
|
1196
|
-
z.ZodTypeDef,
|
|
1197
|
-
unknown
|
|
1198
|
-
> = z.object({
|
|
1199
|
-
currency: z.string(),
|
|
1200
|
-
value: z.string(),
|
|
1201
|
-
});
|
|
1202
|
-
|
|
1203
|
-
/** @internal */
|
|
1204
|
-
export type GetNextSettlementRevenueAmountVat$Outbound = {
|
|
1205
|
-
currency: string;
|
|
1206
|
-
value: string;
|
|
1207
|
-
};
|
|
1208
|
-
|
|
1209
|
-
/** @internal */
|
|
1210
|
-
export const GetNextSettlementRevenueAmountVat$outboundSchema: z.ZodType<
|
|
1211
|
-
GetNextSettlementRevenueAmountVat$Outbound,
|
|
1212
|
-
z.ZodTypeDef,
|
|
1213
|
-
GetNextSettlementRevenueAmountVat
|
|
1214
|
-
> = z.object({
|
|
1215
|
-
currency: z.string(),
|
|
1216
|
-
value: z.string(),
|
|
1217
|
-
});
|
|
1218
|
-
|
|
1219
|
-
/**
|
|
1220
|
-
* @internal
|
|
1221
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1222
|
-
*/
|
|
1223
|
-
export namespace GetNextSettlementRevenueAmountVat$ {
|
|
1224
|
-
/** @deprecated use `GetNextSettlementRevenueAmountVat$inboundSchema` instead. */
|
|
1225
|
-
export const inboundSchema = GetNextSettlementRevenueAmountVat$inboundSchema;
|
|
1226
|
-
/** @deprecated use `GetNextSettlementRevenueAmountVat$outboundSchema` instead. */
|
|
1227
|
-
export const outboundSchema =
|
|
1228
|
-
GetNextSettlementRevenueAmountVat$outboundSchema;
|
|
1229
|
-
/** @deprecated use `GetNextSettlementRevenueAmountVat$Outbound` instead. */
|
|
1230
|
-
export type Outbound = GetNextSettlementRevenueAmountVat$Outbound;
|
|
1231
|
-
}
|
|
1232
|
-
|
|
1233
|
-
export function getNextSettlementRevenueAmountVatToJSON(
|
|
1234
|
-
getNextSettlementRevenueAmountVat: GetNextSettlementRevenueAmountVat,
|
|
1235
|
-
): string {
|
|
1236
|
-
return JSON.stringify(
|
|
1237
|
-
GetNextSettlementRevenueAmountVat$outboundSchema.parse(
|
|
1238
|
-
getNextSettlementRevenueAmountVat,
|
|
1239
|
-
),
|
|
1240
|
-
);
|
|
1241
|
-
}
|
|
1242
|
-
|
|
1243
|
-
export function getNextSettlementRevenueAmountVatFromJSON(
|
|
1244
|
-
jsonString: string,
|
|
1245
|
-
): SafeParseResult<GetNextSettlementRevenueAmountVat, SDKValidationError> {
|
|
1246
|
-
return safeParse(
|
|
1247
|
-
jsonString,
|
|
1248
|
-
(x) => GetNextSettlementRevenueAmountVat$inboundSchema.parse(JSON.parse(x)),
|
|
1249
|
-
`Failed to parse 'GetNextSettlementRevenueAmountVat' from JSON`,
|
|
1250
|
-
);
|
|
1251
|
-
}
|
|
1252
|
-
|
|
1253
|
-
/** @internal */
|
|
1254
|
-
export const GetNextSettlementRevenueAmountGross$inboundSchema: z.ZodType<
|
|
1255
|
-
GetNextSettlementRevenueAmountGross,
|
|
1256
|
-
z.ZodTypeDef,
|
|
1257
|
-
unknown
|
|
1258
|
-
> = z.object({
|
|
1259
|
-
currency: z.string(),
|
|
1260
|
-
value: z.string(),
|
|
1261
|
-
});
|
|
1262
|
-
|
|
1263
|
-
/** @internal */
|
|
1264
|
-
export type GetNextSettlementRevenueAmountGross$Outbound = {
|
|
1265
|
-
currency: string;
|
|
1266
|
-
value: string;
|
|
1267
|
-
};
|
|
1268
|
-
|
|
1269
|
-
/** @internal */
|
|
1270
|
-
export const GetNextSettlementRevenueAmountGross$outboundSchema: z.ZodType<
|
|
1271
|
-
GetNextSettlementRevenueAmountGross$Outbound,
|
|
1272
|
-
z.ZodTypeDef,
|
|
1273
|
-
GetNextSettlementRevenueAmountGross
|
|
1274
|
-
> = z.object({
|
|
1275
|
-
currency: z.string(),
|
|
1276
|
-
value: z.string(),
|
|
1277
|
-
});
|
|
1278
|
-
|
|
1279
|
-
/**
|
|
1280
|
-
* @internal
|
|
1281
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1282
|
-
*/
|
|
1283
|
-
export namespace GetNextSettlementRevenueAmountGross$ {
|
|
1284
|
-
/** @deprecated use `GetNextSettlementRevenueAmountGross$inboundSchema` instead. */
|
|
1285
|
-
export const inboundSchema =
|
|
1286
|
-
GetNextSettlementRevenueAmountGross$inboundSchema;
|
|
1287
|
-
/** @deprecated use `GetNextSettlementRevenueAmountGross$outboundSchema` instead. */
|
|
1288
|
-
export const outboundSchema =
|
|
1289
|
-
GetNextSettlementRevenueAmountGross$outboundSchema;
|
|
1290
|
-
/** @deprecated use `GetNextSettlementRevenueAmountGross$Outbound` instead. */
|
|
1291
|
-
export type Outbound = GetNextSettlementRevenueAmountGross$Outbound;
|
|
1292
|
-
}
|
|
1293
|
-
|
|
1294
|
-
export function getNextSettlementRevenueAmountGrossToJSON(
|
|
1295
|
-
getNextSettlementRevenueAmountGross: GetNextSettlementRevenueAmountGross,
|
|
1296
|
-
): string {
|
|
1297
|
-
return JSON.stringify(
|
|
1298
|
-
GetNextSettlementRevenueAmountGross$outboundSchema.parse(
|
|
1299
|
-
getNextSettlementRevenueAmountGross,
|
|
1300
|
-
),
|
|
1301
|
-
);
|
|
1302
|
-
}
|
|
1303
|
-
|
|
1304
|
-
export function getNextSettlementRevenueAmountGrossFromJSON(
|
|
1305
|
-
jsonString: string,
|
|
1306
|
-
): SafeParseResult<GetNextSettlementRevenueAmountGross, SDKValidationError> {
|
|
1307
|
-
return safeParse(
|
|
1308
|
-
jsonString,
|
|
1309
|
-
(x) =>
|
|
1310
|
-
GetNextSettlementRevenueAmountGross$inboundSchema.parse(JSON.parse(x)),
|
|
1311
|
-
`Failed to parse 'GetNextSettlementRevenueAmountGross' from JSON`,
|
|
1312
|
-
);
|
|
1313
|
-
}
|
|
1314
|
-
|
|
1315
|
-
/** @internal */
|
|
1316
|
-
export const GetNextSettlementRevenue$inboundSchema: z.ZodType<
|
|
1317
|
-
GetNextSettlementRevenue,
|
|
1318
|
-
z.ZodTypeDef,
|
|
1319
|
-
unknown
|
|
1320
|
-
> = z.object({
|
|
1321
|
-
description: z.string().optional(),
|
|
1322
|
-
method: z.nullable(GetNextSettlementRevenueMethod$inboundSchema).optional(),
|
|
1323
|
-
count: z.number().int().optional(),
|
|
1324
|
-
amountNet: z.lazy(() => GetNextSettlementRevenueAmountNet$inboundSchema)
|
|
1325
|
-
.optional(),
|
|
1326
|
-
amountVat: z.lazy(() => GetNextSettlementRevenueAmountVat$inboundSchema)
|
|
1327
|
-
.optional(),
|
|
1328
|
-
amountGross: z.lazy(() => GetNextSettlementRevenueAmountGross$inboundSchema)
|
|
1329
|
-
.optional(),
|
|
1330
|
-
});
|
|
1331
|
-
|
|
1332
|
-
/** @internal */
|
|
1333
|
-
export type GetNextSettlementRevenue$Outbound = {
|
|
1334
|
-
description?: string | undefined;
|
|
1335
|
-
method?: string | null | undefined;
|
|
1336
|
-
count?: number | undefined;
|
|
1337
|
-
amountNet?: GetNextSettlementRevenueAmountNet$Outbound | undefined;
|
|
1338
|
-
amountVat?: GetNextSettlementRevenueAmountVat$Outbound | undefined;
|
|
1339
|
-
amountGross?: GetNextSettlementRevenueAmountGross$Outbound | undefined;
|
|
1340
|
-
};
|
|
1341
|
-
|
|
1342
|
-
/** @internal */
|
|
1343
|
-
export const GetNextSettlementRevenue$outboundSchema: z.ZodType<
|
|
1344
|
-
GetNextSettlementRevenue$Outbound,
|
|
1345
|
-
z.ZodTypeDef,
|
|
1346
|
-
GetNextSettlementRevenue
|
|
1347
|
-
> = z.object({
|
|
1348
|
-
description: z.string().optional(),
|
|
1349
|
-
method: z.nullable(GetNextSettlementRevenueMethod$outboundSchema).optional(),
|
|
1350
|
-
count: z.number().int().optional(),
|
|
1351
|
-
amountNet: z.lazy(() => GetNextSettlementRevenueAmountNet$outboundSchema)
|
|
1352
|
-
.optional(),
|
|
1353
|
-
amountVat: z.lazy(() => GetNextSettlementRevenueAmountVat$outboundSchema)
|
|
1354
|
-
.optional(),
|
|
1355
|
-
amountGross: z.lazy(() => GetNextSettlementRevenueAmountGross$outboundSchema)
|
|
1356
|
-
.optional(),
|
|
1357
|
-
});
|
|
1358
|
-
|
|
1359
|
-
/**
|
|
1360
|
-
* @internal
|
|
1361
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1362
|
-
*/
|
|
1363
|
-
export namespace GetNextSettlementRevenue$ {
|
|
1364
|
-
/** @deprecated use `GetNextSettlementRevenue$inboundSchema` instead. */
|
|
1365
|
-
export const inboundSchema = GetNextSettlementRevenue$inboundSchema;
|
|
1366
|
-
/** @deprecated use `GetNextSettlementRevenue$outboundSchema` instead. */
|
|
1367
|
-
export const outboundSchema = GetNextSettlementRevenue$outboundSchema;
|
|
1368
|
-
/** @deprecated use `GetNextSettlementRevenue$Outbound` instead. */
|
|
1369
|
-
export type Outbound = GetNextSettlementRevenue$Outbound;
|
|
1370
|
-
}
|
|
1371
|
-
|
|
1372
|
-
export function getNextSettlementRevenueToJSON(
|
|
1373
|
-
getNextSettlementRevenue: GetNextSettlementRevenue,
|
|
1374
|
-
): string {
|
|
1375
|
-
return JSON.stringify(
|
|
1376
|
-
GetNextSettlementRevenue$outboundSchema.parse(getNextSettlementRevenue),
|
|
1377
|
-
);
|
|
1378
|
-
}
|
|
1379
|
-
|
|
1380
|
-
export function getNextSettlementRevenueFromJSON(
|
|
1381
|
-
jsonString: string,
|
|
1382
|
-
): SafeParseResult<GetNextSettlementRevenue, SDKValidationError> {
|
|
1383
|
-
return safeParse(
|
|
1384
|
-
jsonString,
|
|
1385
|
-
(x) => GetNextSettlementRevenue$inboundSchema.parse(JSON.parse(x)),
|
|
1386
|
-
`Failed to parse 'GetNextSettlementRevenue' from JSON`,
|
|
1387
|
-
);
|
|
1388
|
-
}
|
|
1389
|
-
|
|
1390
|
-
/** @internal */
|
|
1391
|
-
export const GetNextSettlementLessThanMonthGreaterThan$inboundSchema: z.ZodType<
|
|
1392
|
-
GetNextSettlementLessThanMonthGreaterThan,
|
|
1393
|
-
z.ZodTypeDef,
|
|
1394
|
-
unknown
|
|
1395
|
-
> = z.object({
|
|
1396
|
-
costs: z.array(z.lazy(() => GetNextSettlementCost$inboundSchema)).optional(),
|
|
1397
|
-
revenue: z.array(z.lazy(() => GetNextSettlementRevenue$inboundSchema))
|
|
1398
|
-
.optional(),
|
|
1399
|
-
invoiceId: z.nullable(z.string()).optional(),
|
|
1400
|
-
invoiceReference: z.nullable(z.string()).optional(),
|
|
1401
|
-
});
|
|
1402
|
-
|
|
1403
|
-
/** @internal */
|
|
1404
|
-
export type GetNextSettlementLessThanMonthGreaterThan$Outbound = {
|
|
1405
|
-
costs?: Array<GetNextSettlementCost$Outbound> | undefined;
|
|
1406
|
-
revenue?: Array<GetNextSettlementRevenue$Outbound> | undefined;
|
|
1407
|
-
invoiceId?: string | null | undefined;
|
|
1408
|
-
invoiceReference?: string | null | undefined;
|
|
1409
|
-
};
|
|
1410
|
-
|
|
1411
|
-
/** @internal */
|
|
1412
|
-
export const GetNextSettlementLessThanMonthGreaterThan$outboundSchema:
|
|
1413
|
-
z.ZodType<
|
|
1414
|
-
GetNextSettlementLessThanMonthGreaterThan$Outbound,
|
|
1415
|
-
z.ZodTypeDef,
|
|
1416
|
-
GetNextSettlementLessThanMonthGreaterThan
|
|
1417
|
-
> = z.object({
|
|
1418
|
-
costs: z.array(z.lazy(() => GetNextSettlementCost$outboundSchema))
|
|
1419
|
-
.optional(),
|
|
1420
|
-
revenue: z.array(z.lazy(() => GetNextSettlementRevenue$outboundSchema))
|
|
1421
|
-
.optional(),
|
|
1422
|
-
invoiceId: z.nullable(z.string()).optional(),
|
|
1423
|
-
invoiceReference: z.nullable(z.string()).optional(),
|
|
1424
|
-
});
|
|
1425
|
-
|
|
1426
|
-
/**
|
|
1427
|
-
* @internal
|
|
1428
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1429
|
-
*/
|
|
1430
|
-
export namespace GetNextSettlementLessThanMonthGreaterThan$ {
|
|
1431
|
-
/** @deprecated use `GetNextSettlementLessThanMonthGreaterThan$inboundSchema` instead. */
|
|
1432
|
-
export const inboundSchema =
|
|
1433
|
-
GetNextSettlementLessThanMonthGreaterThan$inboundSchema;
|
|
1434
|
-
/** @deprecated use `GetNextSettlementLessThanMonthGreaterThan$outboundSchema` instead. */
|
|
1435
|
-
export const outboundSchema =
|
|
1436
|
-
GetNextSettlementLessThanMonthGreaterThan$outboundSchema;
|
|
1437
|
-
/** @deprecated use `GetNextSettlementLessThanMonthGreaterThan$Outbound` instead. */
|
|
1438
|
-
export type Outbound = GetNextSettlementLessThanMonthGreaterThan$Outbound;
|
|
1439
|
-
}
|
|
1440
|
-
|
|
1441
|
-
export function getNextSettlementLessThanMonthGreaterThanToJSON(
|
|
1442
|
-
getNextSettlementLessThanMonthGreaterThan:
|
|
1443
|
-
GetNextSettlementLessThanMonthGreaterThan,
|
|
1444
|
-
): string {
|
|
1445
|
-
return JSON.stringify(
|
|
1446
|
-
GetNextSettlementLessThanMonthGreaterThan$outboundSchema.parse(
|
|
1447
|
-
getNextSettlementLessThanMonthGreaterThan,
|
|
1448
|
-
),
|
|
1449
|
-
);
|
|
1450
|
-
}
|
|
1451
|
-
|
|
1452
|
-
export function getNextSettlementLessThanMonthGreaterThanFromJSON(
|
|
1453
|
-
jsonString: string,
|
|
1454
|
-
): SafeParseResult<
|
|
1455
|
-
GetNextSettlementLessThanMonthGreaterThan,
|
|
1456
|
-
SDKValidationError
|
|
1457
|
-
> {
|
|
1458
|
-
return safeParse(
|
|
1459
|
-
jsonString,
|
|
1460
|
-
(x) =>
|
|
1461
|
-
GetNextSettlementLessThanMonthGreaterThan$inboundSchema.parse(
|
|
1462
|
-
JSON.parse(x),
|
|
1463
|
-
),
|
|
1464
|
-
`Failed to parse 'GetNextSettlementLessThanMonthGreaterThan' from JSON`,
|
|
1465
|
-
);
|
|
1466
|
-
}
|
|
1467
|
-
|
|
1468
|
-
/** @internal */
|
|
1469
|
-
export const GetNextSettlementLessThanYearGreaterThan$inboundSchema: z.ZodType<
|
|
1470
|
-
GetNextSettlementLessThanYearGreaterThan,
|
|
1471
|
-
z.ZodTypeDef,
|
|
1472
|
-
unknown
|
|
1473
|
-
> = z.object({
|
|
1474
|
-
"<month>": z.lazy(() =>
|
|
1475
|
-
GetNextSettlementLessThanMonthGreaterThan$inboundSchema
|
|
1476
|
-
).optional(),
|
|
1477
|
-
}).transform((v) => {
|
|
1478
|
-
return remap$(v, {
|
|
1479
|
-
"<month>": "lessThanMonthGreaterThan",
|
|
1480
|
-
});
|
|
1481
|
-
});
|
|
1482
|
-
|
|
1483
|
-
/** @internal */
|
|
1484
|
-
export type GetNextSettlementLessThanYearGreaterThan$Outbound = {
|
|
1485
|
-
"<month>"?: GetNextSettlementLessThanMonthGreaterThan$Outbound | undefined;
|
|
1486
|
-
};
|
|
1487
|
-
|
|
1488
|
-
/** @internal */
|
|
1489
|
-
export const GetNextSettlementLessThanYearGreaterThan$outboundSchema: z.ZodType<
|
|
1490
|
-
GetNextSettlementLessThanYearGreaterThan$Outbound,
|
|
1491
|
-
z.ZodTypeDef,
|
|
1492
|
-
GetNextSettlementLessThanYearGreaterThan
|
|
1493
|
-
> = z.object({
|
|
1494
|
-
lessThanMonthGreaterThan: z.lazy(() =>
|
|
1495
|
-
GetNextSettlementLessThanMonthGreaterThan$outboundSchema
|
|
1496
|
-
).optional(),
|
|
1497
|
-
}).transform((v) => {
|
|
1498
|
-
return remap$(v, {
|
|
1499
|
-
lessThanMonthGreaterThan: "<month>",
|
|
1500
|
-
});
|
|
1501
|
-
});
|
|
1502
|
-
|
|
1503
|
-
/**
|
|
1504
|
-
* @internal
|
|
1505
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1506
|
-
*/
|
|
1507
|
-
export namespace GetNextSettlementLessThanYearGreaterThan$ {
|
|
1508
|
-
/** @deprecated use `GetNextSettlementLessThanYearGreaterThan$inboundSchema` instead. */
|
|
1509
|
-
export const inboundSchema =
|
|
1510
|
-
GetNextSettlementLessThanYearGreaterThan$inboundSchema;
|
|
1511
|
-
/** @deprecated use `GetNextSettlementLessThanYearGreaterThan$outboundSchema` instead. */
|
|
1512
|
-
export const outboundSchema =
|
|
1513
|
-
GetNextSettlementLessThanYearGreaterThan$outboundSchema;
|
|
1514
|
-
/** @deprecated use `GetNextSettlementLessThanYearGreaterThan$Outbound` instead. */
|
|
1515
|
-
export type Outbound = GetNextSettlementLessThanYearGreaterThan$Outbound;
|
|
1516
|
-
}
|
|
1517
|
-
|
|
1518
|
-
export function getNextSettlementLessThanYearGreaterThanToJSON(
|
|
1519
|
-
getNextSettlementLessThanYearGreaterThan:
|
|
1520
|
-
GetNextSettlementLessThanYearGreaterThan,
|
|
1521
|
-
): string {
|
|
1522
|
-
return JSON.stringify(
|
|
1523
|
-
GetNextSettlementLessThanYearGreaterThan$outboundSchema.parse(
|
|
1524
|
-
getNextSettlementLessThanYearGreaterThan,
|
|
1525
|
-
),
|
|
1526
|
-
);
|
|
1527
|
-
}
|
|
1528
|
-
|
|
1529
|
-
export function getNextSettlementLessThanYearGreaterThanFromJSON(
|
|
1530
|
-
jsonString: string,
|
|
1531
|
-
): SafeParseResult<
|
|
1532
|
-
GetNextSettlementLessThanYearGreaterThan,
|
|
1533
|
-
SDKValidationError
|
|
1534
|
-
> {
|
|
1535
|
-
return safeParse(
|
|
1536
|
-
jsonString,
|
|
1537
|
-
(x) =>
|
|
1538
|
-
GetNextSettlementLessThanYearGreaterThan$inboundSchema.parse(
|
|
1539
|
-
JSON.parse(x),
|
|
1540
|
-
),
|
|
1541
|
-
`Failed to parse 'GetNextSettlementLessThanYearGreaterThan' from JSON`,
|
|
1542
|
-
);
|
|
1543
|
-
}
|
|
1544
|
-
|
|
1545
|
-
/** @internal */
|
|
1546
|
-
export const GetNextSettlementPeriods$inboundSchema: z.ZodType<
|
|
1547
|
-
GetNextSettlementPeriods,
|
|
1548
|
-
z.ZodTypeDef,
|
|
1549
|
-
unknown
|
|
1550
|
-
> = z.object({
|
|
1551
|
-
"<year>": z.lazy(() => GetNextSettlementLessThanYearGreaterThan$inboundSchema)
|
|
1552
|
-
.optional(),
|
|
1553
|
-
}).transform((v) => {
|
|
1554
|
-
return remap$(v, {
|
|
1555
|
-
"<year>": "lessThanYearGreaterThan",
|
|
1556
|
-
});
|
|
1557
|
-
});
|
|
1558
|
-
|
|
1559
|
-
/** @internal */
|
|
1560
|
-
export type GetNextSettlementPeriods$Outbound = {
|
|
1561
|
-
"<year>"?: GetNextSettlementLessThanYearGreaterThan$Outbound | undefined;
|
|
1562
|
-
};
|
|
1563
|
-
|
|
1564
|
-
/** @internal */
|
|
1565
|
-
export const GetNextSettlementPeriods$outboundSchema: z.ZodType<
|
|
1566
|
-
GetNextSettlementPeriods$Outbound,
|
|
1567
|
-
z.ZodTypeDef,
|
|
1568
|
-
GetNextSettlementPeriods
|
|
1569
|
-
> = z.object({
|
|
1570
|
-
lessThanYearGreaterThan: z.lazy(() =>
|
|
1571
|
-
GetNextSettlementLessThanYearGreaterThan$outboundSchema
|
|
1572
|
-
).optional(),
|
|
1573
|
-
}).transform((v) => {
|
|
1574
|
-
return remap$(v, {
|
|
1575
|
-
lessThanYearGreaterThan: "<year>",
|
|
1576
|
-
});
|
|
1577
|
-
});
|
|
1578
|
-
|
|
1579
|
-
/**
|
|
1580
|
-
* @internal
|
|
1581
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1582
|
-
*/
|
|
1583
|
-
export namespace GetNextSettlementPeriods$ {
|
|
1584
|
-
/** @deprecated use `GetNextSettlementPeriods$inboundSchema` instead. */
|
|
1585
|
-
export const inboundSchema = GetNextSettlementPeriods$inboundSchema;
|
|
1586
|
-
/** @deprecated use `GetNextSettlementPeriods$outboundSchema` instead. */
|
|
1587
|
-
export const outboundSchema = GetNextSettlementPeriods$outboundSchema;
|
|
1588
|
-
/** @deprecated use `GetNextSettlementPeriods$Outbound` instead. */
|
|
1589
|
-
export type Outbound = GetNextSettlementPeriods$Outbound;
|
|
1590
|
-
}
|
|
1591
|
-
|
|
1592
|
-
export function getNextSettlementPeriodsToJSON(
|
|
1593
|
-
getNextSettlementPeriods: GetNextSettlementPeriods,
|
|
1594
|
-
): string {
|
|
1595
|
-
return JSON.stringify(
|
|
1596
|
-
GetNextSettlementPeriods$outboundSchema.parse(getNextSettlementPeriods),
|
|
1597
|
-
);
|
|
1598
|
-
}
|
|
1599
|
-
|
|
1600
|
-
export function getNextSettlementPeriodsFromJSON(
|
|
1601
|
-
jsonString: string,
|
|
1602
|
-
): SafeParseResult<GetNextSettlementPeriods, SDKValidationError> {
|
|
1603
|
-
return safeParse(
|
|
1604
|
-
jsonString,
|
|
1605
|
-
(x) => GetNextSettlementPeriods$inboundSchema.parse(JSON.parse(x)),
|
|
1606
|
-
`Failed to parse 'GetNextSettlementPeriods' from JSON`,
|
|
1607
|
-
);
|
|
1608
|
-
}
|
|
1609
|
-
|
|
1610
324
|
/** @internal */
|
|
1611
325
|
export const GetNextSettlementSelf$inboundSchema: z.ZodType<
|
|
1612
326
|
GetNextSettlementSelf,
|
|
@@ -2103,7 +817,7 @@ export const GetNextSettlementResponse$inboundSchema: z.ZodType<
|
|
|
2103
817
|
amount: z.lazy(() => GetNextSettlementAmount$inboundSchema).optional(),
|
|
2104
818
|
balanceId: z.string().optional(),
|
|
2105
819
|
invoiceId: z.nullable(z.string()).optional(),
|
|
2106
|
-
periods: z.
|
|
820
|
+
periods: z.record(z.any()).optional(),
|
|
2107
821
|
_links: z.lazy(() => GetNextSettlementLinks$inboundSchema).optional(),
|
|
2108
822
|
}).transform((v) => {
|
|
2109
823
|
return remap$(v, {
|
|
@@ -2122,7 +836,7 @@ export type GetNextSettlementResponse$Outbound = {
|
|
|
2122
836
|
amount?: GetNextSettlementAmount$Outbound | undefined;
|
|
2123
837
|
balanceId?: string | undefined;
|
|
2124
838
|
invoiceId?: string | null | undefined;
|
|
2125
|
-
periods?:
|
|
839
|
+
periods?: { [k: string]: any } | undefined;
|
|
2126
840
|
_links?: GetNextSettlementLinks$Outbound | undefined;
|
|
2127
841
|
};
|
|
2128
842
|
|
|
@@ -2141,7 +855,7 @@ export const GetNextSettlementResponse$outboundSchema: z.ZodType<
|
|
|
2141
855
|
amount: z.lazy(() => GetNextSettlementAmount$outboundSchema).optional(),
|
|
2142
856
|
balanceId: z.string().optional(),
|
|
2143
857
|
invoiceId: z.nullable(z.string()).optional(),
|
|
2144
|
-
periods: z.
|
|
858
|
+
periods: z.record(z.any()).optional(),
|
|
2145
859
|
links: z.lazy(() => GetNextSettlementLinks$outboundSchema).optional(),
|
|
2146
860
|
}).transform((v) => {
|
|
2147
861
|
return remap$(v, {
|