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 GetOpenSettlementAmount = {
|
|
|
39
39
|
value: string;
|
|
40
40
|
};
|
|
41
41
|
|
|
42
|
-
/**
|
|
43
|
-
* The payment method, if applicable
|
|
44
|
-
*/
|
|
45
|
-
export const GetOpenSettlementCostMethod = {
|
|
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 GetOpenSettlementCostMethod = ClosedEnum<
|
|
93
|
-
typeof GetOpenSettlementCostMethod
|
|
94
|
-
>;
|
|
95
|
-
|
|
96
|
-
/**
|
|
97
|
-
* In v2 endpoints, monetary amounts are represented as objects with a `currency` and `value` field.
|
|
98
|
-
*/
|
|
99
|
-
export type GetOpenSettlementFixed = {
|
|
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 GetOpenSettlementPercentage = {
|
|
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 GetOpenSettlementRate = {
|
|
128
|
-
/**
|
|
129
|
-
* In v2 endpoints, monetary amounts are represented as objects with a `currency` and `value` field.
|
|
130
|
-
*/
|
|
131
|
-
fixed?: GetOpenSettlementFixed | undefined;
|
|
132
|
-
/**
|
|
133
|
-
* In v2 endpoints, monetary amounts are represented as objects with a `currency` and `value` field.
|
|
134
|
-
*/
|
|
135
|
-
percentage?: GetOpenSettlementPercentage | undefined;
|
|
136
|
-
};
|
|
137
|
-
|
|
138
|
-
/**
|
|
139
|
-
* The net total cost, i.e. excluding VAT
|
|
140
|
-
*/
|
|
141
|
-
export type GetOpenSettlementCostAmountNet = {
|
|
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 GetOpenSettlementCostAmountVat = {
|
|
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 GetOpenSettlementCostAmountGross = {
|
|
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 GetOpenSettlementCost = {
|
|
181
|
-
/**
|
|
182
|
-
* A description of the cost subtotal
|
|
183
|
-
*/
|
|
184
|
-
description?: string | undefined;
|
|
185
|
-
/**
|
|
186
|
-
* The payment method, if applicable
|
|
187
|
-
*/
|
|
188
|
-
method?: GetOpenSettlementCostMethod | 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?: GetOpenSettlementRate | undefined;
|
|
197
|
-
/**
|
|
198
|
-
* The net total cost, i.e. excluding VAT
|
|
199
|
-
*/
|
|
200
|
-
amountNet?: GetOpenSettlementCostAmountNet | undefined;
|
|
201
|
-
/**
|
|
202
|
-
* The applicable VAT
|
|
203
|
-
*/
|
|
204
|
-
amountVat?: GetOpenSettlementCostAmountVat | undefined;
|
|
205
|
-
/**
|
|
206
|
-
* The gross total cost, i.e. including VAT
|
|
207
|
-
*/
|
|
208
|
-
amountGross?: GetOpenSettlementCostAmountGross | undefined;
|
|
209
|
-
};
|
|
210
|
-
|
|
211
|
-
/**
|
|
212
|
-
* The payment method, if applicable
|
|
213
|
-
*/
|
|
214
|
-
export const GetOpenSettlementRevenueMethod = {
|
|
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 GetOpenSettlementRevenueMethod = ClosedEnum<
|
|
262
|
-
typeof GetOpenSettlementRevenueMethod
|
|
263
|
-
>;
|
|
264
|
-
|
|
265
|
-
/**
|
|
266
|
-
* The net total of received funds, i.e. excluding VAT
|
|
267
|
-
*/
|
|
268
|
-
export type GetOpenSettlementRevenueAmountNet = {
|
|
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 GetOpenSettlementRevenueAmountVat = {
|
|
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 GetOpenSettlementRevenueAmountGross = {
|
|
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 GetOpenSettlementRevenue = {
|
|
308
|
-
/**
|
|
309
|
-
* A description of the revenue subtotal
|
|
310
|
-
*/
|
|
311
|
-
description?: string | undefined;
|
|
312
|
-
/**
|
|
313
|
-
* The payment method, if applicable
|
|
314
|
-
*/
|
|
315
|
-
method?: GetOpenSettlementRevenueMethod | 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?: GetOpenSettlementRevenueAmountNet | undefined;
|
|
324
|
-
/**
|
|
325
|
-
* The applicable VAT
|
|
326
|
-
*/
|
|
327
|
-
amountVat?: GetOpenSettlementRevenueAmountVat | undefined;
|
|
328
|
-
/**
|
|
329
|
-
* The gross total of received funds, i.e. including VAT
|
|
330
|
-
*/
|
|
331
|
-
amountGross?: GetOpenSettlementRevenueAmountGross | undefined;
|
|
332
|
-
};
|
|
333
|
-
|
|
334
|
-
export type GetOpenSettlementLessThanMonthGreaterThan = {
|
|
335
|
-
/**
|
|
336
|
-
* An array of cost objects, describing the fees withheld for each payment method during this period.
|
|
337
|
-
*/
|
|
338
|
-
costs?: Array<GetOpenSettlementCost> | undefined;
|
|
339
|
-
/**
|
|
340
|
-
* An array of revenue objects containing the total revenue for each payment method during this period.
|
|
341
|
-
*/
|
|
342
|
-
revenue?: Array<GetOpenSettlementRevenue> | 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 GetOpenSettlementLessThanYearGreaterThan = {
|
|
354
|
-
lessThanMonthGreaterThan?:
|
|
355
|
-
| GetOpenSettlementLessThanMonthGreaterThan
|
|
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 GetOpenSettlementPeriods = {
|
|
374
|
-
lessThanYearGreaterThan?:
|
|
375
|
-
| GetOpenSettlementLessThanYearGreaterThan
|
|
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 GetOpenSettlementResponse = {
|
|
|
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 getOpenSettlementAmountFromJSON(
|
|
|
658
321
|
);
|
|
659
322
|
}
|
|
660
323
|
|
|
661
|
-
/** @internal */
|
|
662
|
-
export const GetOpenSettlementCostMethod$inboundSchema: z.ZodNativeEnum<
|
|
663
|
-
typeof GetOpenSettlementCostMethod
|
|
664
|
-
> = z.nativeEnum(GetOpenSettlementCostMethod);
|
|
665
|
-
|
|
666
|
-
/** @internal */
|
|
667
|
-
export const GetOpenSettlementCostMethod$outboundSchema: z.ZodNativeEnum<
|
|
668
|
-
typeof GetOpenSettlementCostMethod
|
|
669
|
-
> = GetOpenSettlementCostMethod$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 GetOpenSettlementCostMethod$ {
|
|
676
|
-
/** @deprecated use `GetOpenSettlementCostMethod$inboundSchema` instead. */
|
|
677
|
-
export const inboundSchema = GetOpenSettlementCostMethod$inboundSchema;
|
|
678
|
-
/** @deprecated use `GetOpenSettlementCostMethod$outboundSchema` instead. */
|
|
679
|
-
export const outboundSchema = GetOpenSettlementCostMethod$outboundSchema;
|
|
680
|
-
}
|
|
681
|
-
|
|
682
|
-
/** @internal */
|
|
683
|
-
export const GetOpenSettlementFixed$inboundSchema: z.ZodType<
|
|
684
|
-
GetOpenSettlementFixed,
|
|
685
|
-
z.ZodTypeDef,
|
|
686
|
-
unknown
|
|
687
|
-
> = z.object({
|
|
688
|
-
currency: z.string(),
|
|
689
|
-
value: z.string(),
|
|
690
|
-
});
|
|
691
|
-
|
|
692
|
-
/** @internal */
|
|
693
|
-
export type GetOpenSettlementFixed$Outbound = {
|
|
694
|
-
currency: string;
|
|
695
|
-
value: string;
|
|
696
|
-
};
|
|
697
|
-
|
|
698
|
-
/** @internal */
|
|
699
|
-
export const GetOpenSettlementFixed$outboundSchema: z.ZodType<
|
|
700
|
-
GetOpenSettlementFixed$Outbound,
|
|
701
|
-
z.ZodTypeDef,
|
|
702
|
-
GetOpenSettlementFixed
|
|
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 GetOpenSettlementFixed$ {
|
|
713
|
-
/** @deprecated use `GetOpenSettlementFixed$inboundSchema` instead. */
|
|
714
|
-
export const inboundSchema = GetOpenSettlementFixed$inboundSchema;
|
|
715
|
-
/** @deprecated use `GetOpenSettlementFixed$outboundSchema` instead. */
|
|
716
|
-
export const outboundSchema = GetOpenSettlementFixed$outboundSchema;
|
|
717
|
-
/** @deprecated use `GetOpenSettlementFixed$Outbound` instead. */
|
|
718
|
-
export type Outbound = GetOpenSettlementFixed$Outbound;
|
|
719
|
-
}
|
|
720
|
-
|
|
721
|
-
export function getOpenSettlementFixedToJSON(
|
|
722
|
-
getOpenSettlementFixed: GetOpenSettlementFixed,
|
|
723
|
-
): string {
|
|
724
|
-
return JSON.stringify(
|
|
725
|
-
GetOpenSettlementFixed$outboundSchema.parse(getOpenSettlementFixed),
|
|
726
|
-
);
|
|
727
|
-
}
|
|
728
|
-
|
|
729
|
-
export function getOpenSettlementFixedFromJSON(
|
|
730
|
-
jsonString: string,
|
|
731
|
-
): SafeParseResult<GetOpenSettlementFixed, SDKValidationError> {
|
|
732
|
-
return safeParse(
|
|
733
|
-
jsonString,
|
|
734
|
-
(x) => GetOpenSettlementFixed$inboundSchema.parse(JSON.parse(x)),
|
|
735
|
-
`Failed to parse 'GetOpenSettlementFixed' from JSON`,
|
|
736
|
-
);
|
|
737
|
-
}
|
|
738
|
-
|
|
739
|
-
/** @internal */
|
|
740
|
-
export const GetOpenSettlementPercentage$inboundSchema: z.ZodType<
|
|
741
|
-
GetOpenSettlementPercentage,
|
|
742
|
-
z.ZodTypeDef,
|
|
743
|
-
unknown
|
|
744
|
-
> = z.object({
|
|
745
|
-
currency: z.string(),
|
|
746
|
-
value: z.string(),
|
|
747
|
-
});
|
|
748
|
-
|
|
749
|
-
/** @internal */
|
|
750
|
-
export type GetOpenSettlementPercentage$Outbound = {
|
|
751
|
-
currency: string;
|
|
752
|
-
value: string;
|
|
753
|
-
};
|
|
754
|
-
|
|
755
|
-
/** @internal */
|
|
756
|
-
export const GetOpenSettlementPercentage$outboundSchema: z.ZodType<
|
|
757
|
-
GetOpenSettlementPercentage$Outbound,
|
|
758
|
-
z.ZodTypeDef,
|
|
759
|
-
GetOpenSettlementPercentage
|
|
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 GetOpenSettlementPercentage$ {
|
|
770
|
-
/** @deprecated use `GetOpenSettlementPercentage$inboundSchema` instead. */
|
|
771
|
-
export const inboundSchema = GetOpenSettlementPercentage$inboundSchema;
|
|
772
|
-
/** @deprecated use `GetOpenSettlementPercentage$outboundSchema` instead. */
|
|
773
|
-
export const outboundSchema = GetOpenSettlementPercentage$outboundSchema;
|
|
774
|
-
/** @deprecated use `GetOpenSettlementPercentage$Outbound` instead. */
|
|
775
|
-
export type Outbound = GetOpenSettlementPercentage$Outbound;
|
|
776
|
-
}
|
|
777
|
-
|
|
778
|
-
export function getOpenSettlementPercentageToJSON(
|
|
779
|
-
getOpenSettlementPercentage: GetOpenSettlementPercentage,
|
|
780
|
-
): string {
|
|
781
|
-
return JSON.stringify(
|
|
782
|
-
GetOpenSettlementPercentage$outboundSchema.parse(
|
|
783
|
-
getOpenSettlementPercentage,
|
|
784
|
-
),
|
|
785
|
-
);
|
|
786
|
-
}
|
|
787
|
-
|
|
788
|
-
export function getOpenSettlementPercentageFromJSON(
|
|
789
|
-
jsonString: string,
|
|
790
|
-
): SafeParseResult<GetOpenSettlementPercentage, SDKValidationError> {
|
|
791
|
-
return safeParse(
|
|
792
|
-
jsonString,
|
|
793
|
-
(x) => GetOpenSettlementPercentage$inboundSchema.parse(JSON.parse(x)),
|
|
794
|
-
`Failed to parse 'GetOpenSettlementPercentage' from JSON`,
|
|
795
|
-
);
|
|
796
|
-
}
|
|
797
|
-
|
|
798
|
-
/** @internal */
|
|
799
|
-
export const GetOpenSettlementRate$inboundSchema: z.ZodType<
|
|
800
|
-
GetOpenSettlementRate,
|
|
801
|
-
z.ZodTypeDef,
|
|
802
|
-
unknown
|
|
803
|
-
> = z.object({
|
|
804
|
-
fixed: z.lazy(() => GetOpenSettlementFixed$inboundSchema).optional(),
|
|
805
|
-
percentage: z.lazy(() => GetOpenSettlementPercentage$inboundSchema)
|
|
806
|
-
.optional(),
|
|
807
|
-
});
|
|
808
|
-
|
|
809
|
-
/** @internal */
|
|
810
|
-
export type GetOpenSettlementRate$Outbound = {
|
|
811
|
-
fixed?: GetOpenSettlementFixed$Outbound | undefined;
|
|
812
|
-
percentage?: GetOpenSettlementPercentage$Outbound | undefined;
|
|
813
|
-
};
|
|
814
|
-
|
|
815
|
-
/** @internal */
|
|
816
|
-
export const GetOpenSettlementRate$outboundSchema: z.ZodType<
|
|
817
|
-
GetOpenSettlementRate$Outbound,
|
|
818
|
-
z.ZodTypeDef,
|
|
819
|
-
GetOpenSettlementRate
|
|
820
|
-
> = z.object({
|
|
821
|
-
fixed: z.lazy(() => GetOpenSettlementFixed$outboundSchema).optional(),
|
|
822
|
-
percentage: z.lazy(() => GetOpenSettlementPercentage$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 GetOpenSettlementRate$ {
|
|
831
|
-
/** @deprecated use `GetOpenSettlementRate$inboundSchema` instead. */
|
|
832
|
-
export const inboundSchema = GetOpenSettlementRate$inboundSchema;
|
|
833
|
-
/** @deprecated use `GetOpenSettlementRate$outboundSchema` instead. */
|
|
834
|
-
export const outboundSchema = GetOpenSettlementRate$outboundSchema;
|
|
835
|
-
/** @deprecated use `GetOpenSettlementRate$Outbound` instead. */
|
|
836
|
-
export type Outbound = GetOpenSettlementRate$Outbound;
|
|
837
|
-
}
|
|
838
|
-
|
|
839
|
-
export function getOpenSettlementRateToJSON(
|
|
840
|
-
getOpenSettlementRate: GetOpenSettlementRate,
|
|
841
|
-
): string {
|
|
842
|
-
return JSON.stringify(
|
|
843
|
-
GetOpenSettlementRate$outboundSchema.parse(getOpenSettlementRate),
|
|
844
|
-
);
|
|
845
|
-
}
|
|
846
|
-
|
|
847
|
-
export function getOpenSettlementRateFromJSON(
|
|
848
|
-
jsonString: string,
|
|
849
|
-
): SafeParseResult<GetOpenSettlementRate, SDKValidationError> {
|
|
850
|
-
return safeParse(
|
|
851
|
-
jsonString,
|
|
852
|
-
(x) => GetOpenSettlementRate$inboundSchema.parse(JSON.parse(x)),
|
|
853
|
-
`Failed to parse 'GetOpenSettlementRate' from JSON`,
|
|
854
|
-
);
|
|
855
|
-
}
|
|
856
|
-
|
|
857
|
-
/** @internal */
|
|
858
|
-
export const GetOpenSettlementCostAmountNet$inboundSchema: z.ZodType<
|
|
859
|
-
GetOpenSettlementCostAmountNet,
|
|
860
|
-
z.ZodTypeDef,
|
|
861
|
-
unknown
|
|
862
|
-
> = z.object({
|
|
863
|
-
currency: z.string(),
|
|
864
|
-
value: z.string(),
|
|
865
|
-
});
|
|
866
|
-
|
|
867
|
-
/** @internal */
|
|
868
|
-
export type GetOpenSettlementCostAmountNet$Outbound = {
|
|
869
|
-
currency: string;
|
|
870
|
-
value: string;
|
|
871
|
-
};
|
|
872
|
-
|
|
873
|
-
/** @internal */
|
|
874
|
-
export const GetOpenSettlementCostAmountNet$outboundSchema: z.ZodType<
|
|
875
|
-
GetOpenSettlementCostAmountNet$Outbound,
|
|
876
|
-
z.ZodTypeDef,
|
|
877
|
-
GetOpenSettlementCostAmountNet
|
|
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 GetOpenSettlementCostAmountNet$ {
|
|
888
|
-
/** @deprecated use `GetOpenSettlementCostAmountNet$inboundSchema` instead. */
|
|
889
|
-
export const inboundSchema = GetOpenSettlementCostAmountNet$inboundSchema;
|
|
890
|
-
/** @deprecated use `GetOpenSettlementCostAmountNet$outboundSchema` instead. */
|
|
891
|
-
export const outboundSchema = GetOpenSettlementCostAmountNet$outboundSchema;
|
|
892
|
-
/** @deprecated use `GetOpenSettlementCostAmountNet$Outbound` instead. */
|
|
893
|
-
export type Outbound = GetOpenSettlementCostAmountNet$Outbound;
|
|
894
|
-
}
|
|
895
|
-
|
|
896
|
-
export function getOpenSettlementCostAmountNetToJSON(
|
|
897
|
-
getOpenSettlementCostAmountNet: GetOpenSettlementCostAmountNet,
|
|
898
|
-
): string {
|
|
899
|
-
return JSON.stringify(
|
|
900
|
-
GetOpenSettlementCostAmountNet$outboundSchema.parse(
|
|
901
|
-
getOpenSettlementCostAmountNet,
|
|
902
|
-
),
|
|
903
|
-
);
|
|
904
|
-
}
|
|
905
|
-
|
|
906
|
-
export function getOpenSettlementCostAmountNetFromJSON(
|
|
907
|
-
jsonString: string,
|
|
908
|
-
): SafeParseResult<GetOpenSettlementCostAmountNet, SDKValidationError> {
|
|
909
|
-
return safeParse(
|
|
910
|
-
jsonString,
|
|
911
|
-
(x) => GetOpenSettlementCostAmountNet$inboundSchema.parse(JSON.parse(x)),
|
|
912
|
-
`Failed to parse 'GetOpenSettlementCostAmountNet' from JSON`,
|
|
913
|
-
);
|
|
914
|
-
}
|
|
915
|
-
|
|
916
|
-
/** @internal */
|
|
917
|
-
export const GetOpenSettlementCostAmountVat$inboundSchema: z.ZodType<
|
|
918
|
-
GetOpenSettlementCostAmountVat,
|
|
919
|
-
z.ZodTypeDef,
|
|
920
|
-
unknown
|
|
921
|
-
> = z.object({
|
|
922
|
-
currency: z.string(),
|
|
923
|
-
value: z.string(),
|
|
924
|
-
});
|
|
925
|
-
|
|
926
|
-
/** @internal */
|
|
927
|
-
export type GetOpenSettlementCostAmountVat$Outbound = {
|
|
928
|
-
currency: string;
|
|
929
|
-
value: string;
|
|
930
|
-
};
|
|
931
|
-
|
|
932
|
-
/** @internal */
|
|
933
|
-
export const GetOpenSettlementCostAmountVat$outboundSchema: z.ZodType<
|
|
934
|
-
GetOpenSettlementCostAmountVat$Outbound,
|
|
935
|
-
z.ZodTypeDef,
|
|
936
|
-
GetOpenSettlementCostAmountVat
|
|
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 GetOpenSettlementCostAmountVat$ {
|
|
947
|
-
/** @deprecated use `GetOpenSettlementCostAmountVat$inboundSchema` instead. */
|
|
948
|
-
export const inboundSchema = GetOpenSettlementCostAmountVat$inboundSchema;
|
|
949
|
-
/** @deprecated use `GetOpenSettlementCostAmountVat$outboundSchema` instead. */
|
|
950
|
-
export const outboundSchema = GetOpenSettlementCostAmountVat$outboundSchema;
|
|
951
|
-
/** @deprecated use `GetOpenSettlementCostAmountVat$Outbound` instead. */
|
|
952
|
-
export type Outbound = GetOpenSettlementCostAmountVat$Outbound;
|
|
953
|
-
}
|
|
954
|
-
|
|
955
|
-
export function getOpenSettlementCostAmountVatToJSON(
|
|
956
|
-
getOpenSettlementCostAmountVat: GetOpenSettlementCostAmountVat,
|
|
957
|
-
): string {
|
|
958
|
-
return JSON.stringify(
|
|
959
|
-
GetOpenSettlementCostAmountVat$outboundSchema.parse(
|
|
960
|
-
getOpenSettlementCostAmountVat,
|
|
961
|
-
),
|
|
962
|
-
);
|
|
963
|
-
}
|
|
964
|
-
|
|
965
|
-
export function getOpenSettlementCostAmountVatFromJSON(
|
|
966
|
-
jsonString: string,
|
|
967
|
-
): SafeParseResult<GetOpenSettlementCostAmountVat, SDKValidationError> {
|
|
968
|
-
return safeParse(
|
|
969
|
-
jsonString,
|
|
970
|
-
(x) => GetOpenSettlementCostAmountVat$inboundSchema.parse(JSON.parse(x)),
|
|
971
|
-
`Failed to parse 'GetOpenSettlementCostAmountVat' from JSON`,
|
|
972
|
-
);
|
|
973
|
-
}
|
|
974
|
-
|
|
975
|
-
/** @internal */
|
|
976
|
-
export const GetOpenSettlementCostAmountGross$inboundSchema: z.ZodType<
|
|
977
|
-
GetOpenSettlementCostAmountGross,
|
|
978
|
-
z.ZodTypeDef,
|
|
979
|
-
unknown
|
|
980
|
-
> = z.object({
|
|
981
|
-
currency: z.string(),
|
|
982
|
-
value: z.string(),
|
|
983
|
-
});
|
|
984
|
-
|
|
985
|
-
/** @internal */
|
|
986
|
-
export type GetOpenSettlementCostAmountGross$Outbound = {
|
|
987
|
-
currency: string;
|
|
988
|
-
value: string;
|
|
989
|
-
};
|
|
990
|
-
|
|
991
|
-
/** @internal */
|
|
992
|
-
export const GetOpenSettlementCostAmountGross$outboundSchema: z.ZodType<
|
|
993
|
-
GetOpenSettlementCostAmountGross$Outbound,
|
|
994
|
-
z.ZodTypeDef,
|
|
995
|
-
GetOpenSettlementCostAmountGross
|
|
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 GetOpenSettlementCostAmountGross$ {
|
|
1006
|
-
/** @deprecated use `GetOpenSettlementCostAmountGross$inboundSchema` instead. */
|
|
1007
|
-
export const inboundSchema = GetOpenSettlementCostAmountGross$inboundSchema;
|
|
1008
|
-
/** @deprecated use `GetOpenSettlementCostAmountGross$outboundSchema` instead. */
|
|
1009
|
-
export const outboundSchema = GetOpenSettlementCostAmountGross$outboundSchema;
|
|
1010
|
-
/** @deprecated use `GetOpenSettlementCostAmountGross$Outbound` instead. */
|
|
1011
|
-
export type Outbound = GetOpenSettlementCostAmountGross$Outbound;
|
|
1012
|
-
}
|
|
1013
|
-
|
|
1014
|
-
export function getOpenSettlementCostAmountGrossToJSON(
|
|
1015
|
-
getOpenSettlementCostAmountGross: GetOpenSettlementCostAmountGross,
|
|
1016
|
-
): string {
|
|
1017
|
-
return JSON.stringify(
|
|
1018
|
-
GetOpenSettlementCostAmountGross$outboundSchema.parse(
|
|
1019
|
-
getOpenSettlementCostAmountGross,
|
|
1020
|
-
),
|
|
1021
|
-
);
|
|
1022
|
-
}
|
|
1023
|
-
|
|
1024
|
-
export function getOpenSettlementCostAmountGrossFromJSON(
|
|
1025
|
-
jsonString: string,
|
|
1026
|
-
): SafeParseResult<GetOpenSettlementCostAmountGross, SDKValidationError> {
|
|
1027
|
-
return safeParse(
|
|
1028
|
-
jsonString,
|
|
1029
|
-
(x) => GetOpenSettlementCostAmountGross$inboundSchema.parse(JSON.parse(x)),
|
|
1030
|
-
`Failed to parse 'GetOpenSettlementCostAmountGross' from JSON`,
|
|
1031
|
-
);
|
|
1032
|
-
}
|
|
1033
|
-
|
|
1034
|
-
/** @internal */
|
|
1035
|
-
export const GetOpenSettlementCost$inboundSchema: z.ZodType<
|
|
1036
|
-
GetOpenSettlementCost,
|
|
1037
|
-
z.ZodTypeDef,
|
|
1038
|
-
unknown
|
|
1039
|
-
> = z.object({
|
|
1040
|
-
description: z.string().optional(),
|
|
1041
|
-
method: z.nullable(GetOpenSettlementCostMethod$inboundSchema).optional(),
|
|
1042
|
-
count: z.number().int().optional(),
|
|
1043
|
-
rate: z.lazy(() => GetOpenSettlementRate$inboundSchema).optional(),
|
|
1044
|
-
amountNet: z.lazy(() => GetOpenSettlementCostAmountNet$inboundSchema)
|
|
1045
|
-
.optional(),
|
|
1046
|
-
amountVat: z.lazy(() => GetOpenSettlementCostAmountVat$inboundSchema)
|
|
1047
|
-
.optional(),
|
|
1048
|
-
amountGross: z.lazy(() => GetOpenSettlementCostAmountGross$inboundSchema)
|
|
1049
|
-
.optional(),
|
|
1050
|
-
});
|
|
1051
|
-
|
|
1052
|
-
/** @internal */
|
|
1053
|
-
export type GetOpenSettlementCost$Outbound = {
|
|
1054
|
-
description?: string | undefined;
|
|
1055
|
-
method?: string | null | undefined;
|
|
1056
|
-
count?: number | undefined;
|
|
1057
|
-
rate?: GetOpenSettlementRate$Outbound | undefined;
|
|
1058
|
-
amountNet?: GetOpenSettlementCostAmountNet$Outbound | undefined;
|
|
1059
|
-
amountVat?: GetOpenSettlementCostAmountVat$Outbound | undefined;
|
|
1060
|
-
amountGross?: GetOpenSettlementCostAmountGross$Outbound | undefined;
|
|
1061
|
-
};
|
|
1062
|
-
|
|
1063
|
-
/** @internal */
|
|
1064
|
-
export const GetOpenSettlementCost$outboundSchema: z.ZodType<
|
|
1065
|
-
GetOpenSettlementCost$Outbound,
|
|
1066
|
-
z.ZodTypeDef,
|
|
1067
|
-
GetOpenSettlementCost
|
|
1068
|
-
> = z.object({
|
|
1069
|
-
description: z.string().optional(),
|
|
1070
|
-
method: z.nullable(GetOpenSettlementCostMethod$outboundSchema).optional(),
|
|
1071
|
-
count: z.number().int().optional(),
|
|
1072
|
-
rate: z.lazy(() => GetOpenSettlementRate$outboundSchema).optional(),
|
|
1073
|
-
amountNet: z.lazy(() => GetOpenSettlementCostAmountNet$outboundSchema)
|
|
1074
|
-
.optional(),
|
|
1075
|
-
amountVat: z.lazy(() => GetOpenSettlementCostAmountVat$outboundSchema)
|
|
1076
|
-
.optional(),
|
|
1077
|
-
amountGross: z.lazy(() => GetOpenSettlementCostAmountGross$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 GetOpenSettlementCost$ {
|
|
1086
|
-
/** @deprecated use `GetOpenSettlementCost$inboundSchema` instead. */
|
|
1087
|
-
export const inboundSchema = GetOpenSettlementCost$inboundSchema;
|
|
1088
|
-
/** @deprecated use `GetOpenSettlementCost$outboundSchema` instead. */
|
|
1089
|
-
export const outboundSchema = GetOpenSettlementCost$outboundSchema;
|
|
1090
|
-
/** @deprecated use `GetOpenSettlementCost$Outbound` instead. */
|
|
1091
|
-
export type Outbound = GetOpenSettlementCost$Outbound;
|
|
1092
|
-
}
|
|
1093
|
-
|
|
1094
|
-
export function getOpenSettlementCostToJSON(
|
|
1095
|
-
getOpenSettlementCost: GetOpenSettlementCost,
|
|
1096
|
-
): string {
|
|
1097
|
-
return JSON.stringify(
|
|
1098
|
-
GetOpenSettlementCost$outboundSchema.parse(getOpenSettlementCost),
|
|
1099
|
-
);
|
|
1100
|
-
}
|
|
1101
|
-
|
|
1102
|
-
export function getOpenSettlementCostFromJSON(
|
|
1103
|
-
jsonString: string,
|
|
1104
|
-
): SafeParseResult<GetOpenSettlementCost, SDKValidationError> {
|
|
1105
|
-
return safeParse(
|
|
1106
|
-
jsonString,
|
|
1107
|
-
(x) => GetOpenSettlementCost$inboundSchema.parse(JSON.parse(x)),
|
|
1108
|
-
`Failed to parse 'GetOpenSettlementCost' from JSON`,
|
|
1109
|
-
);
|
|
1110
|
-
}
|
|
1111
|
-
|
|
1112
|
-
/** @internal */
|
|
1113
|
-
export const GetOpenSettlementRevenueMethod$inboundSchema: z.ZodNativeEnum<
|
|
1114
|
-
typeof GetOpenSettlementRevenueMethod
|
|
1115
|
-
> = z.nativeEnum(GetOpenSettlementRevenueMethod);
|
|
1116
|
-
|
|
1117
|
-
/** @internal */
|
|
1118
|
-
export const GetOpenSettlementRevenueMethod$outboundSchema: z.ZodNativeEnum<
|
|
1119
|
-
typeof GetOpenSettlementRevenueMethod
|
|
1120
|
-
> = GetOpenSettlementRevenueMethod$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 GetOpenSettlementRevenueMethod$ {
|
|
1127
|
-
/** @deprecated use `GetOpenSettlementRevenueMethod$inboundSchema` instead. */
|
|
1128
|
-
export const inboundSchema = GetOpenSettlementRevenueMethod$inboundSchema;
|
|
1129
|
-
/** @deprecated use `GetOpenSettlementRevenueMethod$outboundSchema` instead. */
|
|
1130
|
-
export const outboundSchema = GetOpenSettlementRevenueMethod$outboundSchema;
|
|
1131
|
-
}
|
|
1132
|
-
|
|
1133
|
-
/** @internal */
|
|
1134
|
-
export const GetOpenSettlementRevenueAmountNet$inboundSchema: z.ZodType<
|
|
1135
|
-
GetOpenSettlementRevenueAmountNet,
|
|
1136
|
-
z.ZodTypeDef,
|
|
1137
|
-
unknown
|
|
1138
|
-
> = z.object({
|
|
1139
|
-
currency: z.string(),
|
|
1140
|
-
value: z.string(),
|
|
1141
|
-
});
|
|
1142
|
-
|
|
1143
|
-
/** @internal */
|
|
1144
|
-
export type GetOpenSettlementRevenueAmountNet$Outbound = {
|
|
1145
|
-
currency: string;
|
|
1146
|
-
value: string;
|
|
1147
|
-
};
|
|
1148
|
-
|
|
1149
|
-
/** @internal */
|
|
1150
|
-
export const GetOpenSettlementRevenueAmountNet$outboundSchema: z.ZodType<
|
|
1151
|
-
GetOpenSettlementRevenueAmountNet$Outbound,
|
|
1152
|
-
z.ZodTypeDef,
|
|
1153
|
-
GetOpenSettlementRevenueAmountNet
|
|
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 GetOpenSettlementRevenueAmountNet$ {
|
|
1164
|
-
/** @deprecated use `GetOpenSettlementRevenueAmountNet$inboundSchema` instead. */
|
|
1165
|
-
export const inboundSchema = GetOpenSettlementRevenueAmountNet$inboundSchema;
|
|
1166
|
-
/** @deprecated use `GetOpenSettlementRevenueAmountNet$outboundSchema` instead. */
|
|
1167
|
-
export const outboundSchema =
|
|
1168
|
-
GetOpenSettlementRevenueAmountNet$outboundSchema;
|
|
1169
|
-
/** @deprecated use `GetOpenSettlementRevenueAmountNet$Outbound` instead. */
|
|
1170
|
-
export type Outbound = GetOpenSettlementRevenueAmountNet$Outbound;
|
|
1171
|
-
}
|
|
1172
|
-
|
|
1173
|
-
export function getOpenSettlementRevenueAmountNetToJSON(
|
|
1174
|
-
getOpenSettlementRevenueAmountNet: GetOpenSettlementRevenueAmountNet,
|
|
1175
|
-
): string {
|
|
1176
|
-
return JSON.stringify(
|
|
1177
|
-
GetOpenSettlementRevenueAmountNet$outboundSchema.parse(
|
|
1178
|
-
getOpenSettlementRevenueAmountNet,
|
|
1179
|
-
),
|
|
1180
|
-
);
|
|
1181
|
-
}
|
|
1182
|
-
|
|
1183
|
-
export function getOpenSettlementRevenueAmountNetFromJSON(
|
|
1184
|
-
jsonString: string,
|
|
1185
|
-
): SafeParseResult<GetOpenSettlementRevenueAmountNet, SDKValidationError> {
|
|
1186
|
-
return safeParse(
|
|
1187
|
-
jsonString,
|
|
1188
|
-
(x) => GetOpenSettlementRevenueAmountNet$inboundSchema.parse(JSON.parse(x)),
|
|
1189
|
-
`Failed to parse 'GetOpenSettlementRevenueAmountNet' from JSON`,
|
|
1190
|
-
);
|
|
1191
|
-
}
|
|
1192
|
-
|
|
1193
|
-
/** @internal */
|
|
1194
|
-
export const GetOpenSettlementRevenueAmountVat$inboundSchema: z.ZodType<
|
|
1195
|
-
GetOpenSettlementRevenueAmountVat,
|
|
1196
|
-
z.ZodTypeDef,
|
|
1197
|
-
unknown
|
|
1198
|
-
> = z.object({
|
|
1199
|
-
currency: z.string(),
|
|
1200
|
-
value: z.string(),
|
|
1201
|
-
});
|
|
1202
|
-
|
|
1203
|
-
/** @internal */
|
|
1204
|
-
export type GetOpenSettlementRevenueAmountVat$Outbound = {
|
|
1205
|
-
currency: string;
|
|
1206
|
-
value: string;
|
|
1207
|
-
};
|
|
1208
|
-
|
|
1209
|
-
/** @internal */
|
|
1210
|
-
export const GetOpenSettlementRevenueAmountVat$outboundSchema: z.ZodType<
|
|
1211
|
-
GetOpenSettlementRevenueAmountVat$Outbound,
|
|
1212
|
-
z.ZodTypeDef,
|
|
1213
|
-
GetOpenSettlementRevenueAmountVat
|
|
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 GetOpenSettlementRevenueAmountVat$ {
|
|
1224
|
-
/** @deprecated use `GetOpenSettlementRevenueAmountVat$inboundSchema` instead. */
|
|
1225
|
-
export const inboundSchema = GetOpenSettlementRevenueAmountVat$inboundSchema;
|
|
1226
|
-
/** @deprecated use `GetOpenSettlementRevenueAmountVat$outboundSchema` instead. */
|
|
1227
|
-
export const outboundSchema =
|
|
1228
|
-
GetOpenSettlementRevenueAmountVat$outboundSchema;
|
|
1229
|
-
/** @deprecated use `GetOpenSettlementRevenueAmountVat$Outbound` instead. */
|
|
1230
|
-
export type Outbound = GetOpenSettlementRevenueAmountVat$Outbound;
|
|
1231
|
-
}
|
|
1232
|
-
|
|
1233
|
-
export function getOpenSettlementRevenueAmountVatToJSON(
|
|
1234
|
-
getOpenSettlementRevenueAmountVat: GetOpenSettlementRevenueAmountVat,
|
|
1235
|
-
): string {
|
|
1236
|
-
return JSON.stringify(
|
|
1237
|
-
GetOpenSettlementRevenueAmountVat$outboundSchema.parse(
|
|
1238
|
-
getOpenSettlementRevenueAmountVat,
|
|
1239
|
-
),
|
|
1240
|
-
);
|
|
1241
|
-
}
|
|
1242
|
-
|
|
1243
|
-
export function getOpenSettlementRevenueAmountVatFromJSON(
|
|
1244
|
-
jsonString: string,
|
|
1245
|
-
): SafeParseResult<GetOpenSettlementRevenueAmountVat, SDKValidationError> {
|
|
1246
|
-
return safeParse(
|
|
1247
|
-
jsonString,
|
|
1248
|
-
(x) => GetOpenSettlementRevenueAmountVat$inboundSchema.parse(JSON.parse(x)),
|
|
1249
|
-
`Failed to parse 'GetOpenSettlementRevenueAmountVat' from JSON`,
|
|
1250
|
-
);
|
|
1251
|
-
}
|
|
1252
|
-
|
|
1253
|
-
/** @internal */
|
|
1254
|
-
export const GetOpenSettlementRevenueAmountGross$inboundSchema: z.ZodType<
|
|
1255
|
-
GetOpenSettlementRevenueAmountGross,
|
|
1256
|
-
z.ZodTypeDef,
|
|
1257
|
-
unknown
|
|
1258
|
-
> = z.object({
|
|
1259
|
-
currency: z.string(),
|
|
1260
|
-
value: z.string(),
|
|
1261
|
-
});
|
|
1262
|
-
|
|
1263
|
-
/** @internal */
|
|
1264
|
-
export type GetOpenSettlementRevenueAmountGross$Outbound = {
|
|
1265
|
-
currency: string;
|
|
1266
|
-
value: string;
|
|
1267
|
-
};
|
|
1268
|
-
|
|
1269
|
-
/** @internal */
|
|
1270
|
-
export const GetOpenSettlementRevenueAmountGross$outboundSchema: z.ZodType<
|
|
1271
|
-
GetOpenSettlementRevenueAmountGross$Outbound,
|
|
1272
|
-
z.ZodTypeDef,
|
|
1273
|
-
GetOpenSettlementRevenueAmountGross
|
|
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 GetOpenSettlementRevenueAmountGross$ {
|
|
1284
|
-
/** @deprecated use `GetOpenSettlementRevenueAmountGross$inboundSchema` instead. */
|
|
1285
|
-
export const inboundSchema =
|
|
1286
|
-
GetOpenSettlementRevenueAmountGross$inboundSchema;
|
|
1287
|
-
/** @deprecated use `GetOpenSettlementRevenueAmountGross$outboundSchema` instead. */
|
|
1288
|
-
export const outboundSchema =
|
|
1289
|
-
GetOpenSettlementRevenueAmountGross$outboundSchema;
|
|
1290
|
-
/** @deprecated use `GetOpenSettlementRevenueAmountGross$Outbound` instead. */
|
|
1291
|
-
export type Outbound = GetOpenSettlementRevenueAmountGross$Outbound;
|
|
1292
|
-
}
|
|
1293
|
-
|
|
1294
|
-
export function getOpenSettlementRevenueAmountGrossToJSON(
|
|
1295
|
-
getOpenSettlementRevenueAmountGross: GetOpenSettlementRevenueAmountGross,
|
|
1296
|
-
): string {
|
|
1297
|
-
return JSON.stringify(
|
|
1298
|
-
GetOpenSettlementRevenueAmountGross$outboundSchema.parse(
|
|
1299
|
-
getOpenSettlementRevenueAmountGross,
|
|
1300
|
-
),
|
|
1301
|
-
);
|
|
1302
|
-
}
|
|
1303
|
-
|
|
1304
|
-
export function getOpenSettlementRevenueAmountGrossFromJSON(
|
|
1305
|
-
jsonString: string,
|
|
1306
|
-
): SafeParseResult<GetOpenSettlementRevenueAmountGross, SDKValidationError> {
|
|
1307
|
-
return safeParse(
|
|
1308
|
-
jsonString,
|
|
1309
|
-
(x) =>
|
|
1310
|
-
GetOpenSettlementRevenueAmountGross$inboundSchema.parse(JSON.parse(x)),
|
|
1311
|
-
`Failed to parse 'GetOpenSettlementRevenueAmountGross' from JSON`,
|
|
1312
|
-
);
|
|
1313
|
-
}
|
|
1314
|
-
|
|
1315
|
-
/** @internal */
|
|
1316
|
-
export const GetOpenSettlementRevenue$inboundSchema: z.ZodType<
|
|
1317
|
-
GetOpenSettlementRevenue,
|
|
1318
|
-
z.ZodTypeDef,
|
|
1319
|
-
unknown
|
|
1320
|
-
> = z.object({
|
|
1321
|
-
description: z.string().optional(),
|
|
1322
|
-
method: z.nullable(GetOpenSettlementRevenueMethod$inboundSchema).optional(),
|
|
1323
|
-
count: z.number().int().optional(),
|
|
1324
|
-
amountNet: z.lazy(() => GetOpenSettlementRevenueAmountNet$inboundSchema)
|
|
1325
|
-
.optional(),
|
|
1326
|
-
amountVat: z.lazy(() => GetOpenSettlementRevenueAmountVat$inboundSchema)
|
|
1327
|
-
.optional(),
|
|
1328
|
-
amountGross: z.lazy(() => GetOpenSettlementRevenueAmountGross$inboundSchema)
|
|
1329
|
-
.optional(),
|
|
1330
|
-
});
|
|
1331
|
-
|
|
1332
|
-
/** @internal */
|
|
1333
|
-
export type GetOpenSettlementRevenue$Outbound = {
|
|
1334
|
-
description?: string | undefined;
|
|
1335
|
-
method?: string | null | undefined;
|
|
1336
|
-
count?: number | undefined;
|
|
1337
|
-
amountNet?: GetOpenSettlementRevenueAmountNet$Outbound | undefined;
|
|
1338
|
-
amountVat?: GetOpenSettlementRevenueAmountVat$Outbound | undefined;
|
|
1339
|
-
amountGross?: GetOpenSettlementRevenueAmountGross$Outbound | undefined;
|
|
1340
|
-
};
|
|
1341
|
-
|
|
1342
|
-
/** @internal */
|
|
1343
|
-
export const GetOpenSettlementRevenue$outboundSchema: z.ZodType<
|
|
1344
|
-
GetOpenSettlementRevenue$Outbound,
|
|
1345
|
-
z.ZodTypeDef,
|
|
1346
|
-
GetOpenSettlementRevenue
|
|
1347
|
-
> = z.object({
|
|
1348
|
-
description: z.string().optional(),
|
|
1349
|
-
method: z.nullable(GetOpenSettlementRevenueMethod$outboundSchema).optional(),
|
|
1350
|
-
count: z.number().int().optional(),
|
|
1351
|
-
amountNet: z.lazy(() => GetOpenSettlementRevenueAmountNet$outboundSchema)
|
|
1352
|
-
.optional(),
|
|
1353
|
-
amountVat: z.lazy(() => GetOpenSettlementRevenueAmountVat$outboundSchema)
|
|
1354
|
-
.optional(),
|
|
1355
|
-
amountGross: z.lazy(() => GetOpenSettlementRevenueAmountGross$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 GetOpenSettlementRevenue$ {
|
|
1364
|
-
/** @deprecated use `GetOpenSettlementRevenue$inboundSchema` instead. */
|
|
1365
|
-
export const inboundSchema = GetOpenSettlementRevenue$inboundSchema;
|
|
1366
|
-
/** @deprecated use `GetOpenSettlementRevenue$outboundSchema` instead. */
|
|
1367
|
-
export const outboundSchema = GetOpenSettlementRevenue$outboundSchema;
|
|
1368
|
-
/** @deprecated use `GetOpenSettlementRevenue$Outbound` instead. */
|
|
1369
|
-
export type Outbound = GetOpenSettlementRevenue$Outbound;
|
|
1370
|
-
}
|
|
1371
|
-
|
|
1372
|
-
export function getOpenSettlementRevenueToJSON(
|
|
1373
|
-
getOpenSettlementRevenue: GetOpenSettlementRevenue,
|
|
1374
|
-
): string {
|
|
1375
|
-
return JSON.stringify(
|
|
1376
|
-
GetOpenSettlementRevenue$outboundSchema.parse(getOpenSettlementRevenue),
|
|
1377
|
-
);
|
|
1378
|
-
}
|
|
1379
|
-
|
|
1380
|
-
export function getOpenSettlementRevenueFromJSON(
|
|
1381
|
-
jsonString: string,
|
|
1382
|
-
): SafeParseResult<GetOpenSettlementRevenue, SDKValidationError> {
|
|
1383
|
-
return safeParse(
|
|
1384
|
-
jsonString,
|
|
1385
|
-
(x) => GetOpenSettlementRevenue$inboundSchema.parse(JSON.parse(x)),
|
|
1386
|
-
`Failed to parse 'GetOpenSettlementRevenue' from JSON`,
|
|
1387
|
-
);
|
|
1388
|
-
}
|
|
1389
|
-
|
|
1390
|
-
/** @internal */
|
|
1391
|
-
export const GetOpenSettlementLessThanMonthGreaterThan$inboundSchema: z.ZodType<
|
|
1392
|
-
GetOpenSettlementLessThanMonthGreaterThan,
|
|
1393
|
-
z.ZodTypeDef,
|
|
1394
|
-
unknown
|
|
1395
|
-
> = z.object({
|
|
1396
|
-
costs: z.array(z.lazy(() => GetOpenSettlementCost$inboundSchema)).optional(),
|
|
1397
|
-
revenue: z.array(z.lazy(() => GetOpenSettlementRevenue$inboundSchema))
|
|
1398
|
-
.optional(),
|
|
1399
|
-
invoiceId: z.nullable(z.string()).optional(),
|
|
1400
|
-
invoiceReference: z.nullable(z.string()).optional(),
|
|
1401
|
-
});
|
|
1402
|
-
|
|
1403
|
-
/** @internal */
|
|
1404
|
-
export type GetOpenSettlementLessThanMonthGreaterThan$Outbound = {
|
|
1405
|
-
costs?: Array<GetOpenSettlementCost$Outbound> | undefined;
|
|
1406
|
-
revenue?: Array<GetOpenSettlementRevenue$Outbound> | undefined;
|
|
1407
|
-
invoiceId?: string | null | undefined;
|
|
1408
|
-
invoiceReference?: string | null | undefined;
|
|
1409
|
-
};
|
|
1410
|
-
|
|
1411
|
-
/** @internal */
|
|
1412
|
-
export const GetOpenSettlementLessThanMonthGreaterThan$outboundSchema:
|
|
1413
|
-
z.ZodType<
|
|
1414
|
-
GetOpenSettlementLessThanMonthGreaterThan$Outbound,
|
|
1415
|
-
z.ZodTypeDef,
|
|
1416
|
-
GetOpenSettlementLessThanMonthGreaterThan
|
|
1417
|
-
> = z.object({
|
|
1418
|
-
costs: z.array(z.lazy(() => GetOpenSettlementCost$outboundSchema))
|
|
1419
|
-
.optional(),
|
|
1420
|
-
revenue: z.array(z.lazy(() => GetOpenSettlementRevenue$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 GetOpenSettlementLessThanMonthGreaterThan$ {
|
|
1431
|
-
/** @deprecated use `GetOpenSettlementLessThanMonthGreaterThan$inboundSchema` instead. */
|
|
1432
|
-
export const inboundSchema =
|
|
1433
|
-
GetOpenSettlementLessThanMonthGreaterThan$inboundSchema;
|
|
1434
|
-
/** @deprecated use `GetOpenSettlementLessThanMonthGreaterThan$outboundSchema` instead. */
|
|
1435
|
-
export const outboundSchema =
|
|
1436
|
-
GetOpenSettlementLessThanMonthGreaterThan$outboundSchema;
|
|
1437
|
-
/** @deprecated use `GetOpenSettlementLessThanMonthGreaterThan$Outbound` instead. */
|
|
1438
|
-
export type Outbound = GetOpenSettlementLessThanMonthGreaterThan$Outbound;
|
|
1439
|
-
}
|
|
1440
|
-
|
|
1441
|
-
export function getOpenSettlementLessThanMonthGreaterThanToJSON(
|
|
1442
|
-
getOpenSettlementLessThanMonthGreaterThan:
|
|
1443
|
-
GetOpenSettlementLessThanMonthGreaterThan,
|
|
1444
|
-
): string {
|
|
1445
|
-
return JSON.stringify(
|
|
1446
|
-
GetOpenSettlementLessThanMonthGreaterThan$outboundSchema.parse(
|
|
1447
|
-
getOpenSettlementLessThanMonthGreaterThan,
|
|
1448
|
-
),
|
|
1449
|
-
);
|
|
1450
|
-
}
|
|
1451
|
-
|
|
1452
|
-
export function getOpenSettlementLessThanMonthGreaterThanFromJSON(
|
|
1453
|
-
jsonString: string,
|
|
1454
|
-
): SafeParseResult<
|
|
1455
|
-
GetOpenSettlementLessThanMonthGreaterThan,
|
|
1456
|
-
SDKValidationError
|
|
1457
|
-
> {
|
|
1458
|
-
return safeParse(
|
|
1459
|
-
jsonString,
|
|
1460
|
-
(x) =>
|
|
1461
|
-
GetOpenSettlementLessThanMonthGreaterThan$inboundSchema.parse(
|
|
1462
|
-
JSON.parse(x),
|
|
1463
|
-
),
|
|
1464
|
-
`Failed to parse 'GetOpenSettlementLessThanMonthGreaterThan' from JSON`,
|
|
1465
|
-
);
|
|
1466
|
-
}
|
|
1467
|
-
|
|
1468
|
-
/** @internal */
|
|
1469
|
-
export const GetOpenSettlementLessThanYearGreaterThan$inboundSchema: z.ZodType<
|
|
1470
|
-
GetOpenSettlementLessThanYearGreaterThan,
|
|
1471
|
-
z.ZodTypeDef,
|
|
1472
|
-
unknown
|
|
1473
|
-
> = z.object({
|
|
1474
|
-
"<month>": z.lazy(() =>
|
|
1475
|
-
GetOpenSettlementLessThanMonthGreaterThan$inboundSchema
|
|
1476
|
-
).optional(),
|
|
1477
|
-
}).transform((v) => {
|
|
1478
|
-
return remap$(v, {
|
|
1479
|
-
"<month>": "lessThanMonthGreaterThan",
|
|
1480
|
-
});
|
|
1481
|
-
});
|
|
1482
|
-
|
|
1483
|
-
/** @internal */
|
|
1484
|
-
export type GetOpenSettlementLessThanYearGreaterThan$Outbound = {
|
|
1485
|
-
"<month>"?: GetOpenSettlementLessThanMonthGreaterThan$Outbound | undefined;
|
|
1486
|
-
};
|
|
1487
|
-
|
|
1488
|
-
/** @internal */
|
|
1489
|
-
export const GetOpenSettlementLessThanYearGreaterThan$outboundSchema: z.ZodType<
|
|
1490
|
-
GetOpenSettlementLessThanYearGreaterThan$Outbound,
|
|
1491
|
-
z.ZodTypeDef,
|
|
1492
|
-
GetOpenSettlementLessThanYearGreaterThan
|
|
1493
|
-
> = z.object({
|
|
1494
|
-
lessThanMonthGreaterThan: z.lazy(() =>
|
|
1495
|
-
GetOpenSettlementLessThanMonthGreaterThan$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 GetOpenSettlementLessThanYearGreaterThan$ {
|
|
1508
|
-
/** @deprecated use `GetOpenSettlementLessThanYearGreaterThan$inboundSchema` instead. */
|
|
1509
|
-
export const inboundSchema =
|
|
1510
|
-
GetOpenSettlementLessThanYearGreaterThan$inboundSchema;
|
|
1511
|
-
/** @deprecated use `GetOpenSettlementLessThanYearGreaterThan$outboundSchema` instead. */
|
|
1512
|
-
export const outboundSchema =
|
|
1513
|
-
GetOpenSettlementLessThanYearGreaterThan$outboundSchema;
|
|
1514
|
-
/** @deprecated use `GetOpenSettlementLessThanYearGreaterThan$Outbound` instead. */
|
|
1515
|
-
export type Outbound = GetOpenSettlementLessThanYearGreaterThan$Outbound;
|
|
1516
|
-
}
|
|
1517
|
-
|
|
1518
|
-
export function getOpenSettlementLessThanYearGreaterThanToJSON(
|
|
1519
|
-
getOpenSettlementLessThanYearGreaterThan:
|
|
1520
|
-
GetOpenSettlementLessThanYearGreaterThan,
|
|
1521
|
-
): string {
|
|
1522
|
-
return JSON.stringify(
|
|
1523
|
-
GetOpenSettlementLessThanYearGreaterThan$outboundSchema.parse(
|
|
1524
|
-
getOpenSettlementLessThanYearGreaterThan,
|
|
1525
|
-
),
|
|
1526
|
-
);
|
|
1527
|
-
}
|
|
1528
|
-
|
|
1529
|
-
export function getOpenSettlementLessThanYearGreaterThanFromJSON(
|
|
1530
|
-
jsonString: string,
|
|
1531
|
-
): SafeParseResult<
|
|
1532
|
-
GetOpenSettlementLessThanYearGreaterThan,
|
|
1533
|
-
SDKValidationError
|
|
1534
|
-
> {
|
|
1535
|
-
return safeParse(
|
|
1536
|
-
jsonString,
|
|
1537
|
-
(x) =>
|
|
1538
|
-
GetOpenSettlementLessThanYearGreaterThan$inboundSchema.parse(
|
|
1539
|
-
JSON.parse(x),
|
|
1540
|
-
),
|
|
1541
|
-
`Failed to parse 'GetOpenSettlementLessThanYearGreaterThan' from JSON`,
|
|
1542
|
-
);
|
|
1543
|
-
}
|
|
1544
|
-
|
|
1545
|
-
/** @internal */
|
|
1546
|
-
export const GetOpenSettlementPeriods$inboundSchema: z.ZodType<
|
|
1547
|
-
GetOpenSettlementPeriods,
|
|
1548
|
-
z.ZodTypeDef,
|
|
1549
|
-
unknown
|
|
1550
|
-
> = z.object({
|
|
1551
|
-
"<year>": z.lazy(() => GetOpenSettlementLessThanYearGreaterThan$inboundSchema)
|
|
1552
|
-
.optional(),
|
|
1553
|
-
}).transform((v) => {
|
|
1554
|
-
return remap$(v, {
|
|
1555
|
-
"<year>": "lessThanYearGreaterThan",
|
|
1556
|
-
});
|
|
1557
|
-
});
|
|
1558
|
-
|
|
1559
|
-
/** @internal */
|
|
1560
|
-
export type GetOpenSettlementPeriods$Outbound = {
|
|
1561
|
-
"<year>"?: GetOpenSettlementLessThanYearGreaterThan$Outbound | undefined;
|
|
1562
|
-
};
|
|
1563
|
-
|
|
1564
|
-
/** @internal */
|
|
1565
|
-
export const GetOpenSettlementPeriods$outboundSchema: z.ZodType<
|
|
1566
|
-
GetOpenSettlementPeriods$Outbound,
|
|
1567
|
-
z.ZodTypeDef,
|
|
1568
|
-
GetOpenSettlementPeriods
|
|
1569
|
-
> = z.object({
|
|
1570
|
-
lessThanYearGreaterThan: z.lazy(() =>
|
|
1571
|
-
GetOpenSettlementLessThanYearGreaterThan$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 GetOpenSettlementPeriods$ {
|
|
1584
|
-
/** @deprecated use `GetOpenSettlementPeriods$inboundSchema` instead. */
|
|
1585
|
-
export const inboundSchema = GetOpenSettlementPeriods$inboundSchema;
|
|
1586
|
-
/** @deprecated use `GetOpenSettlementPeriods$outboundSchema` instead. */
|
|
1587
|
-
export const outboundSchema = GetOpenSettlementPeriods$outboundSchema;
|
|
1588
|
-
/** @deprecated use `GetOpenSettlementPeriods$Outbound` instead. */
|
|
1589
|
-
export type Outbound = GetOpenSettlementPeriods$Outbound;
|
|
1590
|
-
}
|
|
1591
|
-
|
|
1592
|
-
export function getOpenSettlementPeriodsToJSON(
|
|
1593
|
-
getOpenSettlementPeriods: GetOpenSettlementPeriods,
|
|
1594
|
-
): string {
|
|
1595
|
-
return JSON.stringify(
|
|
1596
|
-
GetOpenSettlementPeriods$outboundSchema.parse(getOpenSettlementPeriods),
|
|
1597
|
-
);
|
|
1598
|
-
}
|
|
1599
|
-
|
|
1600
|
-
export function getOpenSettlementPeriodsFromJSON(
|
|
1601
|
-
jsonString: string,
|
|
1602
|
-
): SafeParseResult<GetOpenSettlementPeriods, SDKValidationError> {
|
|
1603
|
-
return safeParse(
|
|
1604
|
-
jsonString,
|
|
1605
|
-
(x) => GetOpenSettlementPeriods$inboundSchema.parse(JSON.parse(x)),
|
|
1606
|
-
`Failed to parse 'GetOpenSettlementPeriods' from JSON`,
|
|
1607
|
-
);
|
|
1608
|
-
}
|
|
1609
|
-
|
|
1610
324
|
/** @internal */
|
|
1611
325
|
export const GetOpenSettlementSelf$inboundSchema: z.ZodType<
|
|
1612
326
|
GetOpenSettlementSelf,
|
|
@@ -2103,7 +817,7 @@ export const GetOpenSettlementResponse$inboundSchema: z.ZodType<
|
|
|
2103
817
|
amount: z.lazy(() => GetOpenSettlementAmount$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(() => GetOpenSettlementLinks$inboundSchema).optional(),
|
|
2108
822
|
}).transform((v) => {
|
|
2109
823
|
return remap$(v, {
|
|
@@ -2122,7 +836,7 @@ export type GetOpenSettlementResponse$Outbound = {
|
|
|
2122
836
|
amount?: GetOpenSettlementAmount$Outbound | undefined;
|
|
2123
837
|
balanceId?: string | undefined;
|
|
2124
838
|
invoiceId?: string | null | undefined;
|
|
2125
|
-
periods?:
|
|
839
|
+
periods?: { [k: string]: any } | undefined;
|
|
2126
840
|
_links?: GetOpenSettlementLinks$Outbound | undefined;
|
|
2127
841
|
};
|
|
2128
842
|
|
|
@@ -2141,7 +855,7 @@ export const GetOpenSettlementResponse$outboundSchema: z.ZodType<
|
|
|
2141
855
|
amount: z.lazy(() => GetOpenSettlementAmount$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(() => GetOpenSettlementLinks$outboundSchema).optional(),
|
|
2146
860
|
}).transform((v) => {
|
|
2147
861
|
return remap$(v, {
|