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
|
@@ -59,339 +59,6 @@ export type GetSettlementAmount = {
|
|
|
59
59
|
value: string;
|
|
60
60
|
};
|
|
61
61
|
|
|
62
|
-
/**
|
|
63
|
-
* The payment method, if applicable
|
|
64
|
-
*/
|
|
65
|
-
export const GetSettlementCostMethod = {
|
|
66
|
-
Alma: "alma",
|
|
67
|
-
Bacs: "bacs",
|
|
68
|
-
Applepay: "applepay",
|
|
69
|
-
Bancomatpay: "bancomatpay",
|
|
70
|
-
Bancontact: "bancontact",
|
|
71
|
-
Banktransfer: "banktransfer",
|
|
72
|
-
Belfius: "belfius",
|
|
73
|
-
Billie: "billie",
|
|
74
|
-
Bizum: "bizum",
|
|
75
|
-
Bitcoin: "bitcoin",
|
|
76
|
-
Blik: "blik",
|
|
77
|
-
Creditcard: "creditcard",
|
|
78
|
-
Directdebit: "directdebit",
|
|
79
|
-
Eps: "eps",
|
|
80
|
-
Giftcard: "giftcard",
|
|
81
|
-
Giropay: "giropay",
|
|
82
|
-
Googlepay: "googlepay",
|
|
83
|
-
Ideal: "ideal",
|
|
84
|
-
In3: "in3",
|
|
85
|
-
Inghomepay: "inghomepay",
|
|
86
|
-
Kbc: "kbc",
|
|
87
|
-
Klarnapaylater: "klarnapaylater",
|
|
88
|
-
Klarnapaynow: "klarnapaynow",
|
|
89
|
-
Klarnasliceit: "klarnasliceit",
|
|
90
|
-
Klarna: "klarna",
|
|
91
|
-
Mbway: "mbway",
|
|
92
|
-
Multibanco: "multibanco",
|
|
93
|
-
Mybank: "mybank",
|
|
94
|
-
Paybybank: "paybybank",
|
|
95
|
-
Payconiq: "payconiq",
|
|
96
|
-
Paypal: "paypal",
|
|
97
|
-
Paysafecard: "paysafecard",
|
|
98
|
-
Przelewy24: "przelewy24",
|
|
99
|
-
Riverty: "riverty",
|
|
100
|
-
Satispay: "satispay",
|
|
101
|
-
Podiumcadeaukaart: "podiumcadeaukaart",
|
|
102
|
-
Pointofsale: "pointofsale",
|
|
103
|
-
Sofort: "sofort",
|
|
104
|
-
Swish: "swish",
|
|
105
|
-
Trustly: "trustly",
|
|
106
|
-
Twint: "twint",
|
|
107
|
-
Voucher: "voucher",
|
|
108
|
-
} as const;
|
|
109
|
-
/**
|
|
110
|
-
* The payment method, if applicable
|
|
111
|
-
*/
|
|
112
|
-
export type GetSettlementCostMethod = ClosedEnum<
|
|
113
|
-
typeof GetSettlementCostMethod
|
|
114
|
-
>;
|
|
115
|
-
|
|
116
|
-
/**
|
|
117
|
-
* In v2 endpoints, monetary amounts are represented as objects with a `currency` and `value` field.
|
|
118
|
-
*/
|
|
119
|
-
export type GetSettlementFixed = {
|
|
120
|
-
/**
|
|
121
|
-
* A three-character ISO 4217 currency code.
|
|
122
|
-
*/
|
|
123
|
-
currency: string;
|
|
124
|
-
/**
|
|
125
|
-
* A string containing an exact monetary amount in the given currency.
|
|
126
|
-
*/
|
|
127
|
-
value: string;
|
|
128
|
-
};
|
|
129
|
-
|
|
130
|
-
/**
|
|
131
|
-
* In v2 endpoints, monetary amounts are represented as objects with a `currency` and `value` field.
|
|
132
|
-
*/
|
|
133
|
-
export type GetSettlementPercentage = {
|
|
134
|
-
/**
|
|
135
|
-
* A three-character ISO 4217 currency code.
|
|
136
|
-
*/
|
|
137
|
-
currency: string;
|
|
138
|
-
/**
|
|
139
|
-
* A string containing an exact monetary amount in the given currency.
|
|
140
|
-
*/
|
|
141
|
-
value: string;
|
|
142
|
-
};
|
|
143
|
-
|
|
144
|
-
/**
|
|
145
|
-
* The service rates, further divided into `fixed` and `percentage` costs.
|
|
146
|
-
*/
|
|
147
|
-
export type GetSettlementRate = {
|
|
148
|
-
/**
|
|
149
|
-
* In v2 endpoints, monetary amounts are represented as objects with a `currency` and `value` field.
|
|
150
|
-
*/
|
|
151
|
-
fixed?: GetSettlementFixed | undefined;
|
|
152
|
-
/**
|
|
153
|
-
* In v2 endpoints, monetary amounts are represented as objects with a `currency` and `value` field.
|
|
154
|
-
*/
|
|
155
|
-
percentage?: GetSettlementPercentage | undefined;
|
|
156
|
-
};
|
|
157
|
-
|
|
158
|
-
/**
|
|
159
|
-
* The net total cost, i.e. excluding VAT
|
|
160
|
-
*/
|
|
161
|
-
export type GetSettlementCostAmountNet = {
|
|
162
|
-
/**
|
|
163
|
-
* A three-character ISO 4217 currency code.
|
|
164
|
-
*/
|
|
165
|
-
currency: string;
|
|
166
|
-
/**
|
|
167
|
-
* A string containing an exact monetary amount in the given currency.
|
|
168
|
-
*/
|
|
169
|
-
value: string;
|
|
170
|
-
};
|
|
171
|
-
|
|
172
|
-
/**
|
|
173
|
-
* The applicable VAT
|
|
174
|
-
*/
|
|
175
|
-
export type GetSettlementCostAmountVat = {
|
|
176
|
-
/**
|
|
177
|
-
* A three-character ISO 4217 currency code.
|
|
178
|
-
*/
|
|
179
|
-
currency: string;
|
|
180
|
-
/**
|
|
181
|
-
* A string containing an exact monetary amount in the given currency.
|
|
182
|
-
*/
|
|
183
|
-
value: string;
|
|
184
|
-
};
|
|
185
|
-
|
|
186
|
-
/**
|
|
187
|
-
* The gross total cost, i.e. including VAT
|
|
188
|
-
*/
|
|
189
|
-
export type GetSettlementCostAmountGross = {
|
|
190
|
-
/**
|
|
191
|
-
* A three-character ISO 4217 currency code.
|
|
192
|
-
*/
|
|
193
|
-
currency: string;
|
|
194
|
-
/**
|
|
195
|
-
* A string containing an exact monetary amount in the given currency.
|
|
196
|
-
*/
|
|
197
|
-
value: string;
|
|
198
|
-
};
|
|
199
|
-
|
|
200
|
-
export type GetSettlementCost = {
|
|
201
|
-
/**
|
|
202
|
-
* A description of the cost subtotal
|
|
203
|
-
*/
|
|
204
|
-
description?: string | undefined;
|
|
205
|
-
/**
|
|
206
|
-
* The payment method, if applicable
|
|
207
|
-
*/
|
|
208
|
-
method?: GetSettlementCostMethod | null | undefined;
|
|
209
|
-
/**
|
|
210
|
-
* The number of fees
|
|
211
|
-
*/
|
|
212
|
-
count?: number | undefined;
|
|
213
|
-
/**
|
|
214
|
-
* The service rates, further divided into `fixed` and `percentage` costs.
|
|
215
|
-
*/
|
|
216
|
-
rate?: GetSettlementRate | undefined;
|
|
217
|
-
/**
|
|
218
|
-
* The net total cost, i.e. excluding VAT
|
|
219
|
-
*/
|
|
220
|
-
amountNet?: GetSettlementCostAmountNet | undefined;
|
|
221
|
-
/**
|
|
222
|
-
* The applicable VAT
|
|
223
|
-
*/
|
|
224
|
-
amountVat?: GetSettlementCostAmountVat | undefined;
|
|
225
|
-
/**
|
|
226
|
-
* The gross total cost, i.e. including VAT
|
|
227
|
-
*/
|
|
228
|
-
amountGross?: GetSettlementCostAmountGross | undefined;
|
|
229
|
-
};
|
|
230
|
-
|
|
231
|
-
/**
|
|
232
|
-
* The payment method, if applicable
|
|
233
|
-
*/
|
|
234
|
-
export const GetSettlementRevenueMethod = {
|
|
235
|
-
Alma: "alma",
|
|
236
|
-
Bacs: "bacs",
|
|
237
|
-
Applepay: "applepay",
|
|
238
|
-
Bancomatpay: "bancomatpay",
|
|
239
|
-
Bancontact: "bancontact",
|
|
240
|
-
Banktransfer: "banktransfer",
|
|
241
|
-
Belfius: "belfius",
|
|
242
|
-
Billie: "billie",
|
|
243
|
-
Bizum: "bizum",
|
|
244
|
-
Bitcoin: "bitcoin",
|
|
245
|
-
Blik: "blik",
|
|
246
|
-
Creditcard: "creditcard",
|
|
247
|
-
Directdebit: "directdebit",
|
|
248
|
-
Eps: "eps",
|
|
249
|
-
Giftcard: "giftcard",
|
|
250
|
-
Giropay: "giropay",
|
|
251
|
-
Googlepay: "googlepay",
|
|
252
|
-
Ideal: "ideal",
|
|
253
|
-
In3: "in3",
|
|
254
|
-
Inghomepay: "inghomepay",
|
|
255
|
-
Kbc: "kbc",
|
|
256
|
-
Klarnapaylater: "klarnapaylater",
|
|
257
|
-
Klarnapaynow: "klarnapaynow",
|
|
258
|
-
Klarnasliceit: "klarnasliceit",
|
|
259
|
-
Klarna: "klarna",
|
|
260
|
-
Mbway: "mbway",
|
|
261
|
-
Multibanco: "multibanco",
|
|
262
|
-
Mybank: "mybank",
|
|
263
|
-
Paybybank: "paybybank",
|
|
264
|
-
Payconiq: "payconiq",
|
|
265
|
-
Paypal: "paypal",
|
|
266
|
-
Paysafecard: "paysafecard",
|
|
267
|
-
Przelewy24: "przelewy24",
|
|
268
|
-
Riverty: "riverty",
|
|
269
|
-
Satispay: "satispay",
|
|
270
|
-
Podiumcadeaukaart: "podiumcadeaukaart",
|
|
271
|
-
Pointofsale: "pointofsale",
|
|
272
|
-
Sofort: "sofort",
|
|
273
|
-
Swish: "swish",
|
|
274
|
-
Trustly: "trustly",
|
|
275
|
-
Twint: "twint",
|
|
276
|
-
Voucher: "voucher",
|
|
277
|
-
} as const;
|
|
278
|
-
/**
|
|
279
|
-
* The payment method, if applicable
|
|
280
|
-
*/
|
|
281
|
-
export type GetSettlementRevenueMethod = ClosedEnum<
|
|
282
|
-
typeof GetSettlementRevenueMethod
|
|
283
|
-
>;
|
|
284
|
-
|
|
285
|
-
/**
|
|
286
|
-
* The net total of received funds, i.e. excluding VAT
|
|
287
|
-
*/
|
|
288
|
-
export type GetSettlementRevenueAmountNet = {
|
|
289
|
-
/**
|
|
290
|
-
* A three-character ISO 4217 currency code.
|
|
291
|
-
*/
|
|
292
|
-
currency: string;
|
|
293
|
-
/**
|
|
294
|
-
* A string containing an exact monetary amount in the given currency.
|
|
295
|
-
*/
|
|
296
|
-
value: string;
|
|
297
|
-
};
|
|
298
|
-
|
|
299
|
-
/**
|
|
300
|
-
* The applicable VAT
|
|
301
|
-
*/
|
|
302
|
-
export type GetSettlementRevenueAmountVat = {
|
|
303
|
-
/**
|
|
304
|
-
* A three-character ISO 4217 currency code.
|
|
305
|
-
*/
|
|
306
|
-
currency: string;
|
|
307
|
-
/**
|
|
308
|
-
* A string containing an exact monetary amount in the given currency.
|
|
309
|
-
*/
|
|
310
|
-
value: string;
|
|
311
|
-
};
|
|
312
|
-
|
|
313
|
-
/**
|
|
314
|
-
* The gross total of received funds, i.e. including VAT
|
|
315
|
-
*/
|
|
316
|
-
export type GetSettlementRevenueAmountGross = {
|
|
317
|
-
/**
|
|
318
|
-
* A three-character ISO 4217 currency code.
|
|
319
|
-
*/
|
|
320
|
-
currency: string;
|
|
321
|
-
/**
|
|
322
|
-
* A string containing an exact monetary amount in the given currency.
|
|
323
|
-
*/
|
|
324
|
-
value: string;
|
|
325
|
-
};
|
|
326
|
-
|
|
327
|
-
export type GetSettlementRevenue = {
|
|
328
|
-
/**
|
|
329
|
-
* A description of the revenue subtotal
|
|
330
|
-
*/
|
|
331
|
-
description?: string | undefined;
|
|
332
|
-
/**
|
|
333
|
-
* The payment method, if applicable
|
|
334
|
-
*/
|
|
335
|
-
method?: GetSettlementRevenueMethod | null | undefined;
|
|
336
|
-
/**
|
|
337
|
-
* The number of payments
|
|
338
|
-
*/
|
|
339
|
-
count?: number | undefined;
|
|
340
|
-
/**
|
|
341
|
-
* The net total of received funds, i.e. excluding VAT
|
|
342
|
-
*/
|
|
343
|
-
amountNet?: GetSettlementRevenueAmountNet | undefined;
|
|
344
|
-
/**
|
|
345
|
-
* The applicable VAT
|
|
346
|
-
*/
|
|
347
|
-
amountVat?: GetSettlementRevenueAmountVat | undefined;
|
|
348
|
-
/**
|
|
349
|
-
* The gross total of received funds, i.e. including VAT
|
|
350
|
-
*/
|
|
351
|
-
amountGross?: GetSettlementRevenueAmountGross | undefined;
|
|
352
|
-
};
|
|
353
|
-
|
|
354
|
-
export type GetSettlementLessThanMonthGreaterThan = {
|
|
355
|
-
/**
|
|
356
|
-
* An array of cost objects, describing the fees withheld for each payment method during this period.
|
|
357
|
-
*/
|
|
358
|
-
costs?: Array<GetSettlementCost> | undefined;
|
|
359
|
-
/**
|
|
360
|
-
* An array of revenue objects containing the total revenue for each payment method during this period.
|
|
361
|
-
*/
|
|
362
|
-
revenue?: Array<GetSettlementRevenue> | undefined;
|
|
363
|
-
/**
|
|
364
|
-
* The ID of the invoice created for this period, if the invoice has been created already.
|
|
365
|
-
*/
|
|
366
|
-
invoiceId?: string | null | undefined;
|
|
367
|
-
/**
|
|
368
|
-
* The invoice reference, if the invoice has been created already.
|
|
369
|
-
*/
|
|
370
|
-
invoiceReference?: string | null | undefined;
|
|
371
|
-
};
|
|
372
|
-
|
|
373
|
-
export type GetSettlementLessThanYearGreaterThan = {
|
|
374
|
-
lessThanMonthGreaterThan?: GetSettlementLessThanMonthGreaterThan | undefined;
|
|
375
|
-
};
|
|
376
|
-
|
|
377
|
-
/**
|
|
378
|
-
* For bookkeeping purposes, the settlement includes an overview of transactions included in the settlement. These
|
|
379
|
-
*
|
|
380
|
-
* @remarks
|
|
381
|
-
* transactions are grouped into 'period' objects — one for each calendar month.
|
|
382
|
-
*
|
|
383
|
-
* For example, if a settlement includes funds from 15 April until 4 May, it will include two period objects. One for
|
|
384
|
-
* all transactions processed between 15 April and 30 April, and one for all transactions between 1 May and 4 May.
|
|
385
|
-
*
|
|
386
|
-
* Period objects are grouped by year, and then by month. So in the above example, the full `periods` collection will
|
|
387
|
-
* look as follows: `{"2024": {"04": {...}, "05": {...}}}`. The year and month in this documentation are referred as `<year>` and `<month>`.
|
|
388
|
-
*
|
|
389
|
-
* The example response should give a good idea of what this looks like in practise.
|
|
390
|
-
*/
|
|
391
|
-
export type GetSettlementPeriods = {
|
|
392
|
-
lessThanYearGreaterThan?: GetSettlementLessThanYearGreaterThan | undefined;
|
|
393
|
-
};
|
|
394
|
-
|
|
395
62
|
/**
|
|
396
63
|
* In v2 endpoints, URLs are commonly represented as objects with an `href` and `type` field.
|
|
397
64
|
*/
|
|
@@ -586,7 +253,7 @@ export type GetSettlementResponse = {
|
|
|
586
253
|
*
|
|
587
254
|
* The example response should give a good idea of what this looks like in practise.
|
|
588
255
|
*/
|
|
589
|
-
periods?:
|
|
256
|
+
periods?: { [k: string]: any } | undefined;
|
|
590
257
|
/**
|
|
591
258
|
* An object with several relevant URLs. Every URL object will contain an `href` and a `type` field.
|
|
592
259
|
*/
|
|
@@ -842,922 +509,6 @@ export function getSettlementAmountFromJSON(
|
|
|
842
509
|
);
|
|
843
510
|
}
|
|
844
511
|
|
|
845
|
-
/** @internal */
|
|
846
|
-
export const GetSettlementCostMethod$inboundSchema: z.ZodNativeEnum<
|
|
847
|
-
typeof GetSettlementCostMethod
|
|
848
|
-
> = z.nativeEnum(GetSettlementCostMethod);
|
|
849
|
-
|
|
850
|
-
/** @internal */
|
|
851
|
-
export const GetSettlementCostMethod$outboundSchema: z.ZodNativeEnum<
|
|
852
|
-
typeof GetSettlementCostMethod
|
|
853
|
-
> = GetSettlementCostMethod$inboundSchema;
|
|
854
|
-
|
|
855
|
-
/**
|
|
856
|
-
* @internal
|
|
857
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
858
|
-
*/
|
|
859
|
-
export namespace GetSettlementCostMethod$ {
|
|
860
|
-
/** @deprecated use `GetSettlementCostMethod$inboundSchema` instead. */
|
|
861
|
-
export const inboundSchema = GetSettlementCostMethod$inboundSchema;
|
|
862
|
-
/** @deprecated use `GetSettlementCostMethod$outboundSchema` instead. */
|
|
863
|
-
export const outboundSchema = GetSettlementCostMethod$outboundSchema;
|
|
864
|
-
}
|
|
865
|
-
|
|
866
|
-
/** @internal */
|
|
867
|
-
export const GetSettlementFixed$inboundSchema: z.ZodType<
|
|
868
|
-
GetSettlementFixed,
|
|
869
|
-
z.ZodTypeDef,
|
|
870
|
-
unknown
|
|
871
|
-
> = z.object({
|
|
872
|
-
currency: z.string(),
|
|
873
|
-
value: z.string(),
|
|
874
|
-
});
|
|
875
|
-
|
|
876
|
-
/** @internal */
|
|
877
|
-
export type GetSettlementFixed$Outbound = {
|
|
878
|
-
currency: string;
|
|
879
|
-
value: string;
|
|
880
|
-
};
|
|
881
|
-
|
|
882
|
-
/** @internal */
|
|
883
|
-
export const GetSettlementFixed$outboundSchema: z.ZodType<
|
|
884
|
-
GetSettlementFixed$Outbound,
|
|
885
|
-
z.ZodTypeDef,
|
|
886
|
-
GetSettlementFixed
|
|
887
|
-
> = z.object({
|
|
888
|
-
currency: z.string(),
|
|
889
|
-
value: z.string(),
|
|
890
|
-
});
|
|
891
|
-
|
|
892
|
-
/**
|
|
893
|
-
* @internal
|
|
894
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
895
|
-
*/
|
|
896
|
-
export namespace GetSettlementFixed$ {
|
|
897
|
-
/** @deprecated use `GetSettlementFixed$inboundSchema` instead. */
|
|
898
|
-
export const inboundSchema = GetSettlementFixed$inboundSchema;
|
|
899
|
-
/** @deprecated use `GetSettlementFixed$outboundSchema` instead. */
|
|
900
|
-
export const outboundSchema = GetSettlementFixed$outboundSchema;
|
|
901
|
-
/** @deprecated use `GetSettlementFixed$Outbound` instead. */
|
|
902
|
-
export type Outbound = GetSettlementFixed$Outbound;
|
|
903
|
-
}
|
|
904
|
-
|
|
905
|
-
export function getSettlementFixedToJSON(
|
|
906
|
-
getSettlementFixed: GetSettlementFixed,
|
|
907
|
-
): string {
|
|
908
|
-
return JSON.stringify(
|
|
909
|
-
GetSettlementFixed$outboundSchema.parse(getSettlementFixed),
|
|
910
|
-
);
|
|
911
|
-
}
|
|
912
|
-
|
|
913
|
-
export function getSettlementFixedFromJSON(
|
|
914
|
-
jsonString: string,
|
|
915
|
-
): SafeParseResult<GetSettlementFixed, SDKValidationError> {
|
|
916
|
-
return safeParse(
|
|
917
|
-
jsonString,
|
|
918
|
-
(x) => GetSettlementFixed$inboundSchema.parse(JSON.parse(x)),
|
|
919
|
-
`Failed to parse 'GetSettlementFixed' from JSON`,
|
|
920
|
-
);
|
|
921
|
-
}
|
|
922
|
-
|
|
923
|
-
/** @internal */
|
|
924
|
-
export const GetSettlementPercentage$inboundSchema: z.ZodType<
|
|
925
|
-
GetSettlementPercentage,
|
|
926
|
-
z.ZodTypeDef,
|
|
927
|
-
unknown
|
|
928
|
-
> = z.object({
|
|
929
|
-
currency: z.string(),
|
|
930
|
-
value: z.string(),
|
|
931
|
-
});
|
|
932
|
-
|
|
933
|
-
/** @internal */
|
|
934
|
-
export type GetSettlementPercentage$Outbound = {
|
|
935
|
-
currency: string;
|
|
936
|
-
value: string;
|
|
937
|
-
};
|
|
938
|
-
|
|
939
|
-
/** @internal */
|
|
940
|
-
export const GetSettlementPercentage$outboundSchema: z.ZodType<
|
|
941
|
-
GetSettlementPercentage$Outbound,
|
|
942
|
-
z.ZodTypeDef,
|
|
943
|
-
GetSettlementPercentage
|
|
944
|
-
> = z.object({
|
|
945
|
-
currency: z.string(),
|
|
946
|
-
value: z.string(),
|
|
947
|
-
});
|
|
948
|
-
|
|
949
|
-
/**
|
|
950
|
-
* @internal
|
|
951
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
952
|
-
*/
|
|
953
|
-
export namespace GetSettlementPercentage$ {
|
|
954
|
-
/** @deprecated use `GetSettlementPercentage$inboundSchema` instead. */
|
|
955
|
-
export const inboundSchema = GetSettlementPercentage$inboundSchema;
|
|
956
|
-
/** @deprecated use `GetSettlementPercentage$outboundSchema` instead. */
|
|
957
|
-
export const outboundSchema = GetSettlementPercentage$outboundSchema;
|
|
958
|
-
/** @deprecated use `GetSettlementPercentage$Outbound` instead. */
|
|
959
|
-
export type Outbound = GetSettlementPercentage$Outbound;
|
|
960
|
-
}
|
|
961
|
-
|
|
962
|
-
export function getSettlementPercentageToJSON(
|
|
963
|
-
getSettlementPercentage: GetSettlementPercentage,
|
|
964
|
-
): string {
|
|
965
|
-
return JSON.stringify(
|
|
966
|
-
GetSettlementPercentage$outboundSchema.parse(getSettlementPercentage),
|
|
967
|
-
);
|
|
968
|
-
}
|
|
969
|
-
|
|
970
|
-
export function getSettlementPercentageFromJSON(
|
|
971
|
-
jsonString: string,
|
|
972
|
-
): SafeParseResult<GetSettlementPercentage, SDKValidationError> {
|
|
973
|
-
return safeParse(
|
|
974
|
-
jsonString,
|
|
975
|
-
(x) => GetSettlementPercentage$inboundSchema.parse(JSON.parse(x)),
|
|
976
|
-
`Failed to parse 'GetSettlementPercentage' from JSON`,
|
|
977
|
-
);
|
|
978
|
-
}
|
|
979
|
-
|
|
980
|
-
/** @internal */
|
|
981
|
-
export const GetSettlementRate$inboundSchema: z.ZodType<
|
|
982
|
-
GetSettlementRate,
|
|
983
|
-
z.ZodTypeDef,
|
|
984
|
-
unknown
|
|
985
|
-
> = z.object({
|
|
986
|
-
fixed: z.lazy(() => GetSettlementFixed$inboundSchema).optional(),
|
|
987
|
-
percentage: z.lazy(() => GetSettlementPercentage$inboundSchema).optional(),
|
|
988
|
-
});
|
|
989
|
-
|
|
990
|
-
/** @internal */
|
|
991
|
-
export type GetSettlementRate$Outbound = {
|
|
992
|
-
fixed?: GetSettlementFixed$Outbound | undefined;
|
|
993
|
-
percentage?: GetSettlementPercentage$Outbound | undefined;
|
|
994
|
-
};
|
|
995
|
-
|
|
996
|
-
/** @internal */
|
|
997
|
-
export const GetSettlementRate$outboundSchema: z.ZodType<
|
|
998
|
-
GetSettlementRate$Outbound,
|
|
999
|
-
z.ZodTypeDef,
|
|
1000
|
-
GetSettlementRate
|
|
1001
|
-
> = z.object({
|
|
1002
|
-
fixed: z.lazy(() => GetSettlementFixed$outboundSchema).optional(),
|
|
1003
|
-
percentage: z.lazy(() => GetSettlementPercentage$outboundSchema).optional(),
|
|
1004
|
-
});
|
|
1005
|
-
|
|
1006
|
-
/**
|
|
1007
|
-
* @internal
|
|
1008
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1009
|
-
*/
|
|
1010
|
-
export namespace GetSettlementRate$ {
|
|
1011
|
-
/** @deprecated use `GetSettlementRate$inboundSchema` instead. */
|
|
1012
|
-
export const inboundSchema = GetSettlementRate$inboundSchema;
|
|
1013
|
-
/** @deprecated use `GetSettlementRate$outboundSchema` instead. */
|
|
1014
|
-
export const outboundSchema = GetSettlementRate$outboundSchema;
|
|
1015
|
-
/** @deprecated use `GetSettlementRate$Outbound` instead. */
|
|
1016
|
-
export type Outbound = GetSettlementRate$Outbound;
|
|
1017
|
-
}
|
|
1018
|
-
|
|
1019
|
-
export function getSettlementRateToJSON(
|
|
1020
|
-
getSettlementRate: GetSettlementRate,
|
|
1021
|
-
): string {
|
|
1022
|
-
return JSON.stringify(
|
|
1023
|
-
GetSettlementRate$outboundSchema.parse(getSettlementRate),
|
|
1024
|
-
);
|
|
1025
|
-
}
|
|
1026
|
-
|
|
1027
|
-
export function getSettlementRateFromJSON(
|
|
1028
|
-
jsonString: string,
|
|
1029
|
-
): SafeParseResult<GetSettlementRate, SDKValidationError> {
|
|
1030
|
-
return safeParse(
|
|
1031
|
-
jsonString,
|
|
1032
|
-
(x) => GetSettlementRate$inboundSchema.parse(JSON.parse(x)),
|
|
1033
|
-
`Failed to parse 'GetSettlementRate' from JSON`,
|
|
1034
|
-
);
|
|
1035
|
-
}
|
|
1036
|
-
|
|
1037
|
-
/** @internal */
|
|
1038
|
-
export const GetSettlementCostAmountNet$inboundSchema: z.ZodType<
|
|
1039
|
-
GetSettlementCostAmountNet,
|
|
1040
|
-
z.ZodTypeDef,
|
|
1041
|
-
unknown
|
|
1042
|
-
> = z.object({
|
|
1043
|
-
currency: z.string(),
|
|
1044
|
-
value: z.string(),
|
|
1045
|
-
});
|
|
1046
|
-
|
|
1047
|
-
/** @internal */
|
|
1048
|
-
export type GetSettlementCostAmountNet$Outbound = {
|
|
1049
|
-
currency: string;
|
|
1050
|
-
value: string;
|
|
1051
|
-
};
|
|
1052
|
-
|
|
1053
|
-
/** @internal */
|
|
1054
|
-
export const GetSettlementCostAmountNet$outboundSchema: z.ZodType<
|
|
1055
|
-
GetSettlementCostAmountNet$Outbound,
|
|
1056
|
-
z.ZodTypeDef,
|
|
1057
|
-
GetSettlementCostAmountNet
|
|
1058
|
-
> = z.object({
|
|
1059
|
-
currency: z.string(),
|
|
1060
|
-
value: z.string(),
|
|
1061
|
-
});
|
|
1062
|
-
|
|
1063
|
-
/**
|
|
1064
|
-
* @internal
|
|
1065
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1066
|
-
*/
|
|
1067
|
-
export namespace GetSettlementCostAmountNet$ {
|
|
1068
|
-
/** @deprecated use `GetSettlementCostAmountNet$inboundSchema` instead. */
|
|
1069
|
-
export const inboundSchema = GetSettlementCostAmountNet$inboundSchema;
|
|
1070
|
-
/** @deprecated use `GetSettlementCostAmountNet$outboundSchema` instead. */
|
|
1071
|
-
export const outboundSchema = GetSettlementCostAmountNet$outboundSchema;
|
|
1072
|
-
/** @deprecated use `GetSettlementCostAmountNet$Outbound` instead. */
|
|
1073
|
-
export type Outbound = GetSettlementCostAmountNet$Outbound;
|
|
1074
|
-
}
|
|
1075
|
-
|
|
1076
|
-
export function getSettlementCostAmountNetToJSON(
|
|
1077
|
-
getSettlementCostAmountNet: GetSettlementCostAmountNet,
|
|
1078
|
-
): string {
|
|
1079
|
-
return JSON.stringify(
|
|
1080
|
-
GetSettlementCostAmountNet$outboundSchema.parse(getSettlementCostAmountNet),
|
|
1081
|
-
);
|
|
1082
|
-
}
|
|
1083
|
-
|
|
1084
|
-
export function getSettlementCostAmountNetFromJSON(
|
|
1085
|
-
jsonString: string,
|
|
1086
|
-
): SafeParseResult<GetSettlementCostAmountNet, SDKValidationError> {
|
|
1087
|
-
return safeParse(
|
|
1088
|
-
jsonString,
|
|
1089
|
-
(x) => GetSettlementCostAmountNet$inboundSchema.parse(JSON.parse(x)),
|
|
1090
|
-
`Failed to parse 'GetSettlementCostAmountNet' from JSON`,
|
|
1091
|
-
);
|
|
1092
|
-
}
|
|
1093
|
-
|
|
1094
|
-
/** @internal */
|
|
1095
|
-
export const GetSettlementCostAmountVat$inboundSchema: z.ZodType<
|
|
1096
|
-
GetSettlementCostAmountVat,
|
|
1097
|
-
z.ZodTypeDef,
|
|
1098
|
-
unknown
|
|
1099
|
-
> = z.object({
|
|
1100
|
-
currency: z.string(),
|
|
1101
|
-
value: z.string(),
|
|
1102
|
-
});
|
|
1103
|
-
|
|
1104
|
-
/** @internal */
|
|
1105
|
-
export type GetSettlementCostAmountVat$Outbound = {
|
|
1106
|
-
currency: string;
|
|
1107
|
-
value: string;
|
|
1108
|
-
};
|
|
1109
|
-
|
|
1110
|
-
/** @internal */
|
|
1111
|
-
export const GetSettlementCostAmountVat$outboundSchema: z.ZodType<
|
|
1112
|
-
GetSettlementCostAmountVat$Outbound,
|
|
1113
|
-
z.ZodTypeDef,
|
|
1114
|
-
GetSettlementCostAmountVat
|
|
1115
|
-
> = z.object({
|
|
1116
|
-
currency: z.string(),
|
|
1117
|
-
value: z.string(),
|
|
1118
|
-
});
|
|
1119
|
-
|
|
1120
|
-
/**
|
|
1121
|
-
* @internal
|
|
1122
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1123
|
-
*/
|
|
1124
|
-
export namespace GetSettlementCostAmountVat$ {
|
|
1125
|
-
/** @deprecated use `GetSettlementCostAmountVat$inboundSchema` instead. */
|
|
1126
|
-
export const inboundSchema = GetSettlementCostAmountVat$inboundSchema;
|
|
1127
|
-
/** @deprecated use `GetSettlementCostAmountVat$outboundSchema` instead. */
|
|
1128
|
-
export const outboundSchema = GetSettlementCostAmountVat$outboundSchema;
|
|
1129
|
-
/** @deprecated use `GetSettlementCostAmountVat$Outbound` instead. */
|
|
1130
|
-
export type Outbound = GetSettlementCostAmountVat$Outbound;
|
|
1131
|
-
}
|
|
1132
|
-
|
|
1133
|
-
export function getSettlementCostAmountVatToJSON(
|
|
1134
|
-
getSettlementCostAmountVat: GetSettlementCostAmountVat,
|
|
1135
|
-
): string {
|
|
1136
|
-
return JSON.stringify(
|
|
1137
|
-
GetSettlementCostAmountVat$outboundSchema.parse(getSettlementCostAmountVat),
|
|
1138
|
-
);
|
|
1139
|
-
}
|
|
1140
|
-
|
|
1141
|
-
export function getSettlementCostAmountVatFromJSON(
|
|
1142
|
-
jsonString: string,
|
|
1143
|
-
): SafeParseResult<GetSettlementCostAmountVat, SDKValidationError> {
|
|
1144
|
-
return safeParse(
|
|
1145
|
-
jsonString,
|
|
1146
|
-
(x) => GetSettlementCostAmountVat$inboundSchema.parse(JSON.parse(x)),
|
|
1147
|
-
`Failed to parse 'GetSettlementCostAmountVat' from JSON`,
|
|
1148
|
-
);
|
|
1149
|
-
}
|
|
1150
|
-
|
|
1151
|
-
/** @internal */
|
|
1152
|
-
export const GetSettlementCostAmountGross$inboundSchema: z.ZodType<
|
|
1153
|
-
GetSettlementCostAmountGross,
|
|
1154
|
-
z.ZodTypeDef,
|
|
1155
|
-
unknown
|
|
1156
|
-
> = z.object({
|
|
1157
|
-
currency: z.string(),
|
|
1158
|
-
value: z.string(),
|
|
1159
|
-
});
|
|
1160
|
-
|
|
1161
|
-
/** @internal */
|
|
1162
|
-
export type GetSettlementCostAmountGross$Outbound = {
|
|
1163
|
-
currency: string;
|
|
1164
|
-
value: string;
|
|
1165
|
-
};
|
|
1166
|
-
|
|
1167
|
-
/** @internal */
|
|
1168
|
-
export const GetSettlementCostAmountGross$outboundSchema: z.ZodType<
|
|
1169
|
-
GetSettlementCostAmountGross$Outbound,
|
|
1170
|
-
z.ZodTypeDef,
|
|
1171
|
-
GetSettlementCostAmountGross
|
|
1172
|
-
> = z.object({
|
|
1173
|
-
currency: z.string(),
|
|
1174
|
-
value: z.string(),
|
|
1175
|
-
});
|
|
1176
|
-
|
|
1177
|
-
/**
|
|
1178
|
-
* @internal
|
|
1179
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1180
|
-
*/
|
|
1181
|
-
export namespace GetSettlementCostAmountGross$ {
|
|
1182
|
-
/** @deprecated use `GetSettlementCostAmountGross$inboundSchema` instead. */
|
|
1183
|
-
export const inboundSchema = GetSettlementCostAmountGross$inboundSchema;
|
|
1184
|
-
/** @deprecated use `GetSettlementCostAmountGross$outboundSchema` instead. */
|
|
1185
|
-
export const outboundSchema = GetSettlementCostAmountGross$outboundSchema;
|
|
1186
|
-
/** @deprecated use `GetSettlementCostAmountGross$Outbound` instead. */
|
|
1187
|
-
export type Outbound = GetSettlementCostAmountGross$Outbound;
|
|
1188
|
-
}
|
|
1189
|
-
|
|
1190
|
-
export function getSettlementCostAmountGrossToJSON(
|
|
1191
|
-
getSettlementCostAmountGross: GetSettlementCostAmountGross,
|
|
1192
|
-
): string {
|
|
1193
|
-
return JSON.stringify(
|
|
1194
|
-
GetSettlementCostAmountGross$outboundSchema.parse(
|
|
1195
|
-
getSettlementCostAmountGross,
|
|
1196
|
-
),
|
|
1197
|
-
);
|
|
1198
|
-
}
|
|
1199
|
-
|
|
1200
|
-
export function getSettlementCostAmountGrossFromJSON(
|
|
1201
|
-
jsonString: string,
|
|
1202
|
-
): SafeParseResult<GetSettlementCostAmountGross, SDKValidationError> {
|
|
1203
|
-
return safeParse(
|
|
1204
|
-
jsonString,
|
|
1205
|
-
(x) => GetSettlementCostAmountGross$inboundSchema.parse(JSON.parse(x)),
|
|
1206
|
-
`Failed to parse 'GetSettlementCostAmountGross' from JSON`,
|
|
1207
|
-
);
|
|
1208
|
-
}
|
|
1209
|
-
|
|
1210
|
-
/** @internal */
|
|
1211
|
-
export const GetSettlementCost$inboundSchema: z.ZodType<
|
|
1212
|
-
GetSettlementCost,
|
|
1213
|
-
z.ZodTypeDef,
|
|
1214
|
-
unknown
|
|
1215
|
-
> = z.object({
|
|
1216
|
-
description: z.string().optional(),
|
|
1217
|
-
method: z.nullable(GetSettlementCostMethod$inboundSchema).optional(),
|
|
1218
|
-
count: z.number().int().optional(),
|
|
1219
|
-
rate: z.lazy(() => GetSettlementRate$inboundSchema).optional(),
|
|
1220
|
-
amountNet: z.lazy(() => GetSettlementCostAmountNet$inboundSchema).optional(),
|
|
1221
|
-
amountVat: z.lazy(() => GetSettlementCostAmountVat$inboundSchema).optional(),
|
|
1222
|
-
amountGross: z.lazy(() => GetSettlementCostAmountGross$inboundSchema)
|
|
1223
|
-
.optional(),
|
|
1224
|
-
});
|
|
1225
|
-
|
|
1226
|
-
/** @internal */
|
|
1227
|
-
export type GetSettlementCost$Outbound = {
|
|
1228
|
-
description?: string | undefined;
|
|
1229
|
-
method?: string | null | undefined;
|
|
1230
|
-
count?: number | undefined;
|
|
1231
|
-
rate?: GetSettlementRate$Outbound | undefined;
|
|
1232
|
-
amountNet?: GetSettlementCostAmountNet$Outbound | undefined;
|
|
1233
|
-
amountVat?: GetSettlementCostAmountVat$Outbound | undefined;
|
|
1234
|
-
amountGross?: GetSettlementCostAmountGross$Outbound | undefined;
|
|
1235
|
-
};
|
|
1236
|
-
|
|
1237
|
-
/** @internal */
|
|
1238
|
-
export const GetSettlementCost$outboundSchema: z.ZodType<
|
|
1239
|
-
GetSettlementCost$Outbound,
|
|
1240
|
-
z.ZodTypeDef,
|
|
1241
|
-
GetSettlementCost
|
|
1242
|
-
> = z.object({
|
|
1243
|
-
description: z.string().optional(),
|
|
1244
|
-
method: z.nullable(GetSettlementCostMethod$outboundSchema).optional(),
|
|
1245
|
-
count: z.number().int().optional(),
|
|
1246
|
-
rate: z.lazy(() => GetSettlementRate$outboundSchema).optional(),
|
|
1247
|
-
amountNet: z.lazy(() => GetSettlementCostAmountNet$outboundSchema).optional(),
|
|
1248
|
-
amountVat: z.lazy(() => GetSettlementCostAmountVat$outboundSchema).optional(),
|
|
1249
|
-
amountGross: z.lazy(() => GetSettlementCostAmountGross$outboundSchema)
|
|
1250
|
-
.optional(),
|
|
1251
|
-
});
|
|
1252
|
-
|
|
1253
|
-
/**
|
|
1254
|
-
* @internal
|
|
1255
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1256
|
-
*/
|
|
1257
|
-
export namespace GetSettlementCost$ {
|
|
1258
|
-
/** @deprecated use `GetSettlementCost$inboundSchema` instead. */
|
|
1259
|
-
export const inboundSchema = GetSettlementCost$inboundSchema;
|
|
1260
|
-
/** @deprecated use `GetSettlementCost$outboundSchema` instead. */
|
|
1261
|
-
export const outboundSchema = GetSettlementCost$outboundSchema;
|
|
1262
|
-
/** @deprecated use `GetSettlementCost$Outbound` instead. */
|
|
1263
|
-
export type Outbound = GetSettlementCost$Outbound;
|
|
1264
|
-
}
|
|
1265
|
-
|
|
1266
|
-
export function getSettlementCostToJSON(
|
|
1267
|
-
getSettlementCost: GetSettlementCost,
|
|
1268
|
-
): string {
|
|
1269
|
-
return JSON.stringify(
|
|
1270
|
-
GetSettlementCost$outboundSchema.parse(getSettlementCost),
|
|
1271
|
-
);
|
|
1272
|
-
}
|
|
1273
|
-
|
|
1274
|
-
export function getSettlementCostFromJSON(
|
|
1275
|
-
jsonString: string,
|
|
1276
|
-
): SafeParseResult<GetSettlementCost, SDKValidationError> {
|
|
1277
|
-
return safeParse(
|
|
1278
|
-
jsonString,
|
|
1279
|
-
(x) => GetSettlementCost$inboundSchema.parse(JSON.parse(x)),
|
|
1280
|
-
`Failed to parse 'GetSettlementCost' from JSON`,
|
|
1281
|
-
);
|
|
1282
|
-
}
|
|
1283
|
-
|
|
1284
|
-
/** @internal */
|
|
1285
|
-
export const GetSettlementRevenueMethod$inboundSchema: z.ZodNativeEnum<
|
|
1286
|
-
typeof GetSettlementRevenueMethod
|
|
1287
|
-
> = z.nativeEnum(GetSettlementRevenueMethod);
|
|
1288
|
-
|
|
1289
|
-
/** @internal */
|
|
1290
|
-
export const GetSettlementRevenueMethod$outboundSchema: z.ZodNativeEnum<
|
|
1291
|
-
typeof GetSettlementRevenueMethod
|
|
1292
|
-
> = GetSettlementRevenueMethod$inboundSchema;
|
|
1293
|
-
|
|
1294
|
-
/**
|
|
1295
|
-
* @internal
|
|
1296
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1297
|
-
*/
|
|
1298
|
-
export namespace GetSettlementRevenueMethod$ {
|
|
1299
|
-
/** @deprecated use `GetSettlementRevenueMethod$inboundSchema` instead. */
|
|
1300
|
-
export const inboundSchema = GetSettlementRevenueMethod$inboundSchema;
|
|
1301
|
-
/** @deprecated use `GetSettlementRevenueMethod$outboundSchema` instead. */
|
|
1302
|
-
export const outboundSchema = GetSettlementRevenueMethod$outboundSchema;
|
|
1303
|
-
}
|
|
1304
|
-
|
|
1305
|
-
/** @internal */
|
|
1306
|
-
export const GetSettlementRevenueAmountNet$inboundSchema: z.ZodType<
|
|
1307
|
-
GetSettlementRevenueAmountNet,
|
|
1308
|
-
z.ZodTypeDef,
|
|
1309
|
-
unknown
|
|
1310
|
-
> = z.object({
|
|
1311
|
-
currency: z.string(),
|
|
1312
|
-
value: z.string(),
|
|
1313
|
-
});
|
|
1314
|
-
|
|
1315
|
-
/** @internal */
|
|
1316
|
-
export type GetSettlementRevenueAmountNet$Outbound = {
|
|
1317
|
-
currency: string;
|
|
1318
|
-
value: string;
|
|
1319
|
-
};
|
|
1320
|
-
|
|
1321
|
-
/** @internal */
|
|
1322
|
-
export const GetSettlementRevenueAmountNet$outboundSchema: z.ZodType<
|
|
1323
|
-
GetSettlementRevenueAmountNet$Outbound,
|
|
1324
|
-
z.ZodTypeDef,
|
|
1325
|
-
GetSettlementRevenueAmountNet
|
|
1326
|
-
> = z.object({
|
|
1327
|
-
currency: z.string(),
|
|
1328
|
-
value: z.string(),
|
|
1329
|
-
});
|
|
1330
|
-
|
|
1331
|
-
/**
|
|
1332
|
-
* @internal
|
|
1333
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1334
|
-
*/
|
|
1335
|
-
export namespace GetSettlementRevenueAmountNet$ {
|
|
1336
|
-
/** @deprecated use `GetSettlementRevenueAmountNet$inboundSchema` instead. */
|
|
1337
|
-
export const inboundSchema = GetSettlementRevenueAmountNet$inboundSchema;
|
|
1338
|
-
/** @deprecated use `GetSettlementRevenueAmountNet$outboundSchema` instead. */
|
|
1339
|
-
export const outboundSchema = GetSettlementRevenueAmountNet$outboundSchema;
|
|
1340
|
-
/** @deprecated use `GetSettlementRevenueAmountNet$Outbound` instead. */
|
|
1341
|
-
export type Outbound = GetSettlementRevenueAmountNet$Outbound;
|
|
1342
|
-
}
|
|
1343
|
-
|
|
1344
|
-
export function getSettlementRevenueAmountNetToJSON(
|
|
1345
|
-
getSettlementRevenueAmountNet: GetSettlementRevenueAmountNet,
|
|
1346
|
-
): string {
|
|
1347
|
-
return JSON.stringify(
|
|
1348
|
-
GetSettlementRevenueAmountNet$outboundSchema.parse(
|
|
1349
|
-
getSettlementRevenueAmountNet,
|
|
1350
|
-
),
|
|
1351
|
-
);
|
|
1352
|
-
}
|
|
1353
|
-
|
|
1354
|
-
export function getSettlementRevenueAmountNetFromJSON(
|
|
1355
|
-
jsonString: string,
|
|
1356
|
-
): SafeParseResult<GetSettlementRevenueAmountNet, SDKValidationError> {
|
|
1357
|
-
return safeParse(
|
|
1358
|
-
jsonString,
|
|
1359
|
-
(x) => GetSettlementRevenueAmountNet$inboundSchema.parse(JSON.parse(x)),
|
|
1360
|
-
`Failed to parse 'GetSettlementRevenueAmountNet' from JSON`,
|
|
1361
|
-
);
|
|
1362
|
-
}
|
|
1363
|
-
|
|
1364
|
-
/** @internal */
|
|
1365
|
-
export const GetSettlementRevenueAmountVat$inboundSchema: z.ZodType<
|
|
1366
|
-
GetSettlementRevenueAmountVat,
|
|
1367
|
-
z.ZodTypeDef,
|
|
1368
|
-
unknown
|
|
1369
|
-
> = z.object({
|
|
1370
|
-
currency: z.string(),
|
|
1371
|
-
value: z.string(),
|
|
1372
|
-
});
|
|
1373
|
-
|
|
1374
|
-
/** @internal */
|
|
1375
|
-
export type GetSettlementRevenueAmountVat$Outbound = {
|
|
1376
|
-
currency: string;
|
|
1377
|
-
value: string;
|
|
1378
|
-
};
|
|
1379
|
-
|
|
1380
|
-
/** @internal */
|
|
1381
|
-
export const GetSettlementRevenueAmountVat$outboundSchema: z.ZodType<
|
|
1382
|
-
GetSettlementRevenueAmountVat$Outbound,
|
|
1383
|
-
z.ZodTypeDef,
|
|
1384
|
-
GetSettlementRevenueAmountVat
|
|
1385
|
-
> = z.object({
|
|
1386
|
-
currency: z.string(),
|
|
1387
|
-
value: z.string(),
|
|
1388
|
-
});
|
|
1389
|
-
|
|
1390
|
-
/**
|
|
1391
|
-
* @internal
|
|
1392
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1393
|
-
*/
|
|
1394
|
-
export namespace GetSettlementRevenueAmountVat$ {
|
|
1395
|
-
/** @deprecated use `GetSettlementRevenueAmountVat$inboundSchema` instead. */
|
|
1396
|
-
export const inboundSchema = GetSettlementRevenueAmountVat$inboundSchema;
|
|
1397
|
-
/** @deprecated use `GetSettlementRevenueAmountVat$outboundSchema` instead. */
|
|
1398
|
-
export const outboundSchema = GetSettlementRevenueAmountVat$outboundSchema;
|
|
1399
|
-
/** @deprecated use `GetSettlementRevenueAmountVat$Outbound` instead. */
|
|
1400
|
-
export type Outbound = GetSettlementRevenueAmountVat$Outbound;
|
|
1401
|
-
}
|
|
1402
|
-
|
|
1403
|
-
export function getSettlementRevenueAmountVatToJSON(
|
|
1404
|
-
getSettlementRevenueAmountVat: GetSettlementRevenueAmountVat,
|
|
1405
|
-
): string {
|
|
1406
|
-
return JSON.stringify(
|
|
1407
|
-
GetSettlementRevenueAmountVat$outboundSchema.parse(
|
|
1408
|
-
getSettlementRevenueAmountVat,
|
|
1409
|
-
),
|
|
1410
|
-
);
|
|
1411
|
-
}
|
|
1412
|
-
|
|
1413
|
-
export function getSettlementRevenueAmountVatFromJSON(
|
|
1414
|
-
jsonString: string,
|
|
1415
|
-
): SafeParseResult<GetSettlementRevenueAmountVat, SDKValidationError> {
|
|
1416
|
-
return safeParse(
|
|
1417
|
-
jsonString,
|
|
1418
|
-
(x) => GetSettlementRevenueAmountVat$inboundSchema.parse(JSON.parse(x)),
|
|
1419
|
-
`Failed to parse 'GetSettlementRevenueAmountVat' from JSON`,
|
|
1420
|
-
);
|
|
1421
|
-
}
|
|
1422
|
-
|
|
1423
|
-
/** @internal */
|
|
1424
|
-
export const GetSettlementRevenueAmountGross$inboundSchema: z.ZodType<
|
|
1425
|
-
GetSettlementRevenueAmountGross,
|
|
1426
|
-
z.ZodTypeDef,
|
|
1427
|
-
unknown
|
|
1428
|
-
> = z.object({
|
|
1429
|
-
currency: z.string(),
|
|
1430
|
-
value: z.string(),
|
|
1431
|
-
});
|
|
1432
|
-
|
|
1433
|
-
/** @internal */
|
|
1434
|
-
export type GetSettlementRevenueAmountGross$Outbound = {
|
|
1435
|
-
currency: string;
|
|
1436
|
-
value: string;
|
|
1437
|
-
};
|
|
1438
|
-
|
|
1439
|
-
/** @internal */
|
|
1440
|
-
export const GetSettlementRevenueAmountGross$outboundSchema: z.ZodType<
|
|
1441
|
-
GetSettlementRevenueAmountGross$Outbound,
|
|
1442
|
-
z.ZodTypeDef,
|
|
1443
|
-
GetSettlementRevenueAmountGross
|
|
1444
|
-
> = z.object({
|
|
1445
|
-
currency: z.string(),
|
|
1446
|
-
value: z.string(),
|
|
1447
|
-
});
|
|
1448
|
-
|
|
1449
|
-
/**
|
|
1450
|
-
* @internal
|
|
1451
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1452
|
-
*/
|
|
1453
|
-
export namespace GetSettlementRevenueAmountGross$ {
|
|
1454
|
-
/** @deprecated use `GetSettlementRevenueAmountGross$inboundSchema` instead. */
|
|
1455
|
-
export const inboundSchema = GetSettlementRevenueAmountGross$inboundSchema;
|
|
1456
|
-
/** @deprecated use `GetSettlementRevenueAmountGross$outboundSchema` instead. */
|
|
1457
|
-
export const outboundSchema = GetSettlementRevenueAmountGross$outboundSchema;
|
|
1458
|
-
/** @deprecated use `GetSettlementRevenueAmountGross$Outbound` instead. */
|
|
1459
|
-
export type Outbound = GetSettlementRevenueAmountGross$Outbound;
|
|
1460
|
-
}
|
|
1461
|
-
|
|
1462
|
-
export function getSettlementRevenueAmountGrossToJSON(
|
|
1463
|
-
getSettlementRevenueAmountGross: GetSettlementRevenueAmountGross,
|
|
1464
|
-
): string {
|
|
1465
|
-
return JSON.stringify(
|
|
1466
|
-
GetSettlementRevenueAmountGross$outboundSchema.parse(
|
|
1467
|
-
getSettlementRevenueAmountGross,
|
|
1468
|
-
),
|
|
1469
|
-
);
|
|
1470
|
-
}
|
|
1471
|
-
|
|
1472
|
-
export function getSettlementRevenueAmountGrossFromJSON(
|
|
1473
|
-
jsonString: string,
|
|
1474
|
-
): SafeParseResult<GetSettlementRevenueAmountGross, SDKValidationError> {
|
|
1475
|
-
return safeParse(
|
|
1476
|
-
jsonString,
|
|
1477
|
-
(x) => GetSettlementRevenueAmountGross$inboundSchema.parse(JSON.parse(x)),
|
|
1478
|
-
`Failed to parse 'GetSettlementRevenueAmountGross' from JSON`,
|
|
1479
|
-
);
|
|
1480
|
-
}
|
|
1481
|
-
|
|
1482
|
-
/** @internal */
|
|
1483
|
-
export const GetSettlementRevenue$inboundSchema: z.ZodType<
|
|
1484
|
-
GetSettlementRevenue,
|
|
1485
|
-
z.ZodTypeDef,
|
|
1486
|
-
unknown
|
|
1487
|
-
> = z.object({
|
|
1488
|
-
description: z.string().optional(),
|
|
1489
|
-
method: z.nullable(GetSettlementRevenueMethod$inboundSchema).optional(),
|
|
1490
|
-
count: z.number().int().optional(),
|
|
1491
|
-
amountNet: z.lazy(() => GetSettlementRevenueAmountNet$inboundSchema)
|
|
1492
|
-
.optional(),
|
|
1493
|
-
amountVat: z.lazy(() => GetSettlementRevenueAmountVat$inboundSchema)
|
|
1494
|
-
.optional(),
|
|
1495
|
-
amountGross: z.lazy(() => GetSettlementRevenueAmountGross$inboundSchema)
|
|
1496
|
-
.optional(),
|
|
1497
|
-
});
|
|
1498
|
-
|
|
1499
|
-
/** @internal */
|
|
1500
|
-
export type GetSettlementRevenue$Outbound = {
|
|
1501
|
-
description?: string | undefined;
|
|
1502
|
-
method?: string | null | undefined;
|
|
1503
|
-
count?: number | undefined;
|
|
1504
|
-
amountNet?: GetSettlementRevenueAmountNet$Outbound | undefined;
|
|
1505
|
-
amountVat?: GetSettlementRevenueAmountVat$Outbound | undefined;
|
|
1506
|
-
amountGross?: GetSettlementRevenueAmountGross$Outbound | undefined;
|
|
1507
|
-
};
|
|
1508
|
-
|
|
1509
|
-
/** @internal */
|
|
1510
|
-
export const GetSettlementRevenue$outboundSchema: z.ZodType<
|
|
1511
|
-
GetSettlementRevenue$Outbound,
|
|
1512
|
-
z.ZodTypeDef,
|
|
1513
|
-
GetSettlementRevenue
|
|
1514
|
-
> = z.object({
|
|
1515
|
-
description: z.string().optional(),
|
|
1516
|
-
method: z.nullable(GetSettlementRevenueMethod$outboundSchema).optional(),
|
|
1517
|
-
count: z.number().int().optional(),
|
|
1518
|
-
amountNet: z.lazy(() => GetSettlementRevenueAmountNet$outboundSchema)
|
|
1519
|
-
.optional(),
|
|
1520
|
-
amountVat: z.lazy(() => GetSettlementRevenueAmountVat$outboundSchema)
|
|
1521
|
-
.optional(),
|
|
1522
|
-
amountGross: z.lazy(() => GetSettlementRevenueAmountGross$outboundSchema)
|
|
1523
|
-
.optional(),
|
|
1524
|
-
});
|
|
1525
|
-
|
|
1526
|
-
/**
|
|
1527
|
-
* @internal
|
|
1528
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1529
|
-
*/
|
|
1530
|
-
export namespace GetSettlementRevenue$ {
|
|
1531
|
-
/** @deprecated use `GetSettlementRevenue$inboundSchema` instead. */
|
|
1532
|
-
export const inboundSchema = GetSettlementRevenue$inboundSchema;
|
|
1533
|
-
/** @deprecated use `GetSettlementRevenue$outboundSchema` instead. */
|
|
1534
|
-
export const outboundSchema = GetSettlementRevenue$outboundSchema;
|
|
1535
|
-
/** @deprecated use `GetSettlementRevenue$Outbound` instead. */
|
|
1536
|
-
export type Outbound = GetSettlementRevenue$Outbound;
|
|
1537
|
-
}
|
|
1538
|
-
|
|
1539
|
-
export function getSettlementRevenueToJSON(
|
|
1540
|
-
getSettlementRevenue: GetSettlementRevenue,
|
|
1541
|
-
): string {
|
|
1542
|
-
return JSON.stringify(
|
|
1543
|
-
GetSettlementRevenue$outboundSchema.parse(getSettlementRevenue),
|
|
1544
|
-
);
|
|
1545
|
-
}
|
|
1546
|
-
|
|
1547
|
-
export function getSettlementRevenueFromJSON(
|
|
1548
|
-
jsonString: string,
|
|
1549
|
-
): SafeParseResult<GetSettlementRevenue, SDKValidationError> {
|
|
1550
|
-
return safeParse(
|
|
1551
|
-
jsonString,
|
|
1552
|
-
(x) => GetSettlementRevenue$inboundSchema.parse(JSON.parse(x)),
|
|
1553
|
-
`Failed to parse 'GetSettlementRevenue' from JSON`,
|
|
1554
|
-
);
|
|
1555
|
-
}
|
|
1556
|
-
|
|
1557
|
-
/** @internal */
|
|
1558
|
-
export const GetSettlementLessThanMonthGreaterThan$inboundSchema: z.ZodType<
|
|
1559
|
-
GetSettlementLessThanMonthGreaterThan,
|
|
1560
|
-
z.ZodTypeDef,
|
|
1561
|
-
unknown
|
|
1562
|
-
> = z.object({
|
|
1563
|
-
costs: z.array(z.lazy(() => GetSettlementCost$inboundSchema)).optional(),
|
|
1564
|
-
revenue: z.array(z.lazy(() => GetSettlementRevenue$inboundSchema)).optional(),
|
|
1565
|
-
invoiceId: z.nullable(z.string()).optional(),
|
|
1566
|
-
invoiceReference: z.nullable(z.string()).optional(),
|
|
1567
|
-
});
|
|
1568
|
-
|
|
1569
|
-
/** @internal */
|
|
1570
|
-
export type GetSettlementLessThanMonthGreaterThan$Outbound = {
|
|
1571
|
-
costs?: Array<GetSettlementCost$Outbound> | undefined;
|
|
1572
|
-
revenue?: Array<GetSettlementRevenue$Outbound> | undefined;
|
|
1573
|
-
invoiceId?: string | null | undefined;
|
|
1574
|
-
invoiceReference?: string | null | undefined;
|
|
1575
|
-
};
|
|
1576
|
-
|
|
1577
|
-
/** @internal */
|
|
1578
|
-
export const GetSettlementLessThanMonthGreaterThan$outboundSchema: z.ZodType<
|
|
1579
|
-
GetSettlementLessThanMonthGreaterThan$Outbound,
|
|
1580
|
-
z.ZodTypeDef,
|
|
1581
|
-
GetSettlementLessThanMonthGreaterThan
|
|
1582
|
-
> = z.object({
|
|
1583
|
-
costs: z.array(z.lazy(() => GetSettlementCost$outboundSchema)).optional(),
|
|
1584
|
-
revenue: z.array(z.lazy(() => GetSettlementRevenue$outboundSchema))
|
|
1585
|
-
.optional(),
|
|
1586
|
-
invoiceId: z.nullable(z.string()).optional(),
|
|
1587
|
-
invoiceReference: z.nullable(z.string()).optional(),
|
|
1588
|
-
});
|
|
1589
|
-
|
|
1590
|
-
/**
|
|
1591
|
-
* @internal
|
|
1592
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1593
|
-
*/
|
|
1594
|
-
export namespace GetSettlementLessThanMonthGreaterThan$ {
|
|
1595
|
-
/** @deprecated use `GetSettlementLessThanMonthGreaterThan$inboundSchema` instead. */
|
|
1596
|
-
export const inboundSchema =
|
|
1597
|
-
GetSettlementLessThanMonthGreaterThan$inboundSchema;
|
|
1598
|
-
/** @deprecated use `GetSettlementLessThanMonthGreaterThan$outboundSchema` instead. */
|
|
1599
|
-
export const outboundSchema =
|
|
1600
|
-
GetSettlementLessThanMonthGreaterThan$outboundSchema;
|
|
1601
|
-
/** @deprecated use `GetSettlementLessThanMonthGreaterThan$Outbound` instead. */
|
|
1602
|
-
export type Outbound = GetSettlementLessThanMonthGreaterThan$Outbound;
|
|
1603
|
-
}
|
|
1604
|
-
|
|
1605
|
-
export function getSettlementLessThanMonthGreaterThanToJSON(
|
|
1606
|
-
getSettlementLessThanMonthGreaterThan: GetSettlementLessThanMonthGreaterThan,
|
|
1607
|
-
): string {
|
|
1608
|
-
return JSON.stringify(
|
|
1609
|
-
GetSettlementLessThanMonthGreaterThan$outboundSchema.parse(
|
|
1610
|
-
getSettlementLessThanMonthGreaterThan,
|
|
1611
|
-
),
|
|
1612
|
-
);
|
|
1613
|
-
}
|
|
1614
|
-
|
|
1615
|
-
export function getSettlementLessThanMonthGreaterThanFromJSON(
|
|
1616
|
-
jsonString: string,
|
|
1617
|
-
): SafeParseResult<GetSettlementLessThanMonthGreaterThan, SDKValidationError> {
|
|
1618
|
-
return safeParse(
|
|
1619
|
-
jsonString,
|
|
1620
|
-
(x) =>
|
|
1621
|
-
GetSettlementLessThanMonthGreaterThan$inboundSchema.parse(JSON.parse(x)),
|
|
1622
|
-
`Failed to parse 'GetSettlementLessThanMonthGreaterThan' from JSON`,
|
|
1623
|
-
);
|
|
1624
|
-
}
|
|
1625
|
-
|
|
1626
|
-
/** @internal */
|
|
1627
|
-
export const GetSettlementLessThanYearGreaterThan$inboundSchema: z.ZodType<
|
|
1628
|
-
GetSettlementLessThanYearGreaterThan,
|
|
1629
|
-
z.ZodTypeDef,
|
|
1630
|
-
unknown
|
|
1631
|
-
> = z.object({
|
|
1632
|
-
"<month>": z.lazy(() => GetSettlementLessThanMonthGreaterThan$inboundSchema)
|
|
1633
|
-
.optional(),
|
|
1634
|
-
}).transform((v) => {
|
|
1635
|
-
return remap$(v, {
|
|
1636
|
-
"<month>": "lessThanMonthGreaterThan",
|
|
1637
|
-
});
|
|
1638
|
-
});
|
|
1639
|
-
|
|
1640
|
-
/** @internal */
|
|
1641
|
-
export type GetSettlementLessThanYearGreaterThan$Outbound = {
|
|
1642
|
-
"<month>"?: GetSettlementLessThanMonthGreaterThan$Outbound | undefined;
|
|
1643
|
-
};
|
|
1644
|
-
|
|
1645
|
-
/** @internal */
|
|
1646
|
-
export const GetSettlementLessThanYearGreaterThan$outboundSchema: z.ZodType<
|
|
1647
|
-
GetSettlementLessThanYearGreaterThan$Outbound,
|
|
1648
|
-
z.ZodTypeDef,
|
|
1649
|
-
GetSettlementLessThanYearGreaterThan
|
|
1650
|
-
> = z.object({
|
|
1651
|
-
lessThanMonthGreaterThan: z.lazy(() =>
|
|
1652
|
-
GetSettlementLessThanMonthGreaterThan$outboundSchema
|
|
1653
|
-
).optional(),
|
|
1654
|
-
}).transform((v) => {
|
|
1655
|
-
return remap$(v, {
|
|
1656
|
-
lessThanMonthGreaterThan: "<month>",
|
|
1657
|
-
});
|
|
1658
|
-
});
|
|
1659
|
-
|
|
1660
|
-
/**
|
|
1661
|
-
* @internal
|
|
1662
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1663
|
-
*/
|
|
1664
|
-
export namespace GetSettlementLessThanYearGreaterThan$ {
|
|
1665
|
-
/** @deprecated use `GetSettlementLessThanYearGreaterThan$inboundSchema` instead. */
|
|
1666
|
-
export const inboundSchema =
|
|
1667
|
-
GetSettlementLessThanYearGreaterThan$inboundSchema;
|
|
1668
|
-
/** @deprecated use `GetSettlementLessThanYearGreaterThan$outboundSchema` instead. */
|
|
1669
|
-
export const outboundSchema =
|
|
1670
|
-
GetSettlementLessThanYearGreaterThan$outboundSchema;
|
|
1671
|
-
/** @deprecated use `GetSettlementLessThanYearGreaterThan$Outbound` instead. */
|
|
1672
|
-
export type Outbound = GetSettlementLessThanYearGreaterThan$Outbound;
|
|
1673
|
-
}
|
|
1674
|
-
|
|
1675
|
-
export function getSettlementLessThanYearGreaterThanToJSON(
|
|
1676
|
-
getSettlementLessThanYearGreaterThan: GetSettlementLessThanYearGreaterThan,
|
|
1677
|
-
): string {
|
|
1678
|
-
return JSON.stringify(
|
|
1679
|
-
GetSettlementLessThanYearGreaterThan$outboundSchema.parse(
|
|
1680
|
-
getSettlementLessThanYearGreaterThan,
|
|
1681
|
-
),
|
|
1682
|
-
);
|
|
1683
|
-
}
|
|
1684
|
-
|
|
1685
|
-
export function getSettlementLessThanYearGreaterThanFromJSON(
|
|
1686
|
-
jsonString: string,
|
|
1687
|
-
): SafeParseResult<GetSettlementLessThanYearGreaterThan, SDKValidationError> {
|
|
1688
|
-
return safeParse(
|
|
1689
|
-
jsonString,
|
|
1690
|
-
(x) =>
|
|
1691
|
-
GetSettlementLessThanYearGreaterThan$inboundSchema.parse(JSON.parse(x)),
|
|
1692
|
-
`Failed to parse 'GetSettlementLessThanYearGreaterThan' from JSON`,
|
|
1693
|
-
);
|
|
1694
|
-
}
|
|
1695
|
-
|
|
1696
|
-
/** @internal */
|
|
1697
|
-
export const GetSettlementPeriods$inboundSchema: z.ZodType<
|
|
1698
|
-
GetSettlementPeriods,
|
|
1699
|
-
z.ZodTypeDef,
|
|
1700
|
-
unknown
|
|
1701
|
-
> = z.object({
|
|
1702
|
-
"<year>": z.lazy(() => GetSettlementLessThanYearGreaterThan$inboundSchema)
|
|
1703
|
-
.optional(),
|
|
1704
|
-
}).transform((v) => {
|
|
1705
|
-
return remap$(v, {
|
|
1706
|
-
"<year>": "lessThanYearGreaterThan",
|
|
1707
|
-
});
|
|
1708
|
-
});
|
|
1709
|
-
|
|
1710
|
-
/** @internal */
|
|
1711
|
-
export type GetSettlementPeriods$Outbound = {
|
|
1712
|
-
"<year>"?: GetSettlementLessThanYearGreaterThan$Outbound | undefined;
|
|
1713
|
-
};
|
|
1714
|
-
|
|
1715
|
-
/** @internal */
|
|
1716
|
-
export const GetSettlementPeriods$outboundSchema: z.ZodType<
|
|
1717
|
-
GetSettlementPeriods$Outbound,
|
|
1718
|
-
z.ZodTypeDef,
|
|
1719
|
-
GetSettlementPeriods
|
|
1720
|
-
> = z.object({
|
|
1721
|
-
lessThanYearGreaterThan: z.lazy(() =>
|
|
1722
|
-
GetSettlementLessThanYearGreaterThan$outboundSchema
|
|
1723
|
-
).optional(),
|
|
1724
|
-
}).transform((v) => {
|
|
1725
|
-
return remap$(v, {
|
|
1726
|
-
lessThanYearGreaterThan: "<year>",
|
|
1727
|
-
});
|
|
1728
|
-
});
|
|
1729
|
-
|
|
1730
|
-
/**
|
|
1731
|
-
* @internal
|
|
1732
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1733
|
-
*/
|
|
1734
|
-
export namespace GetSettlementPeriods$ {
|
|
1735
|
-
/** @deprecated use `GetSettlementPeriods$inboundSchema` instead. */
|
|
1736
|
-
export const inboundSchema = GetSettlementPeriods$inboundSchema;
|
|
1737
|
-
/** @deprecated use `GetSettlementPeriods$outboundSchema` instead. */
|
|
1738
|
-
export const outboundSchema = GetSettlementPeriods$outboundSchema;
|
|
1739
|
-
/** @deprecated use `GetSettlementPeriods$Outbound` instead. */
|
|
1740
|
-
export type Outbound = GetSettlementPeriods$Outbound;
|
|
1741
|
-
}
|
|
1742
|
-
|
|
1743
|
-
export function getSettlementPeriodsToJSON(
|
|
1744
|
-
getSettlementPeriods: GetSettlementPeriods,
|
|
1745
|
-
): string {
|
|
1746
|
-
return JSON.stringify(
|
|
1747
|
-
GetSettlementPeriods$outboundSchema.parse(getSettlementPeriods),
|
|
1748
|
-
);
|
|
1749
|
-
}
|
|
1750
|
-
|
|
1751
|
-
export function getSettlementPeriodsFromJSON(
|
|
1752
|
-
jsonString: string,
|
|
1753
|
-
): SafeParseResult<GetSettlementPeriods, SDKValidationError> {
|
|
1754
|
-
return safeParse(
|
|
1755
|
-
jsonString,
|
|
1756
|
-
(x) => GetSettlementPeriods$inboundSchema.parse(JSON.parse(x)),
|
|
1757
|
-
`Failed to parse 'GetSettlementPeriods' from JSON`,
|
|
1758
|
-
);
|
|
1759
|
-
}
|
|
1760
|
-
|
|
1761
512
|
/** @internal */
|
|
1762
513
|
export const GetSettlementSelf$inboundSchema: z.ZodType<
|
|
1763
514
|
GetSettlementSelf,
|
|
@@ -2248,7 +999,7 @@ export const GetSettlementResponse$inboundSchema: z.ZodType<
|
|
|
2248
999
|
amount: z.lazy(() => GetSettlementAmount$inboundSchema).optional(),
|
|
2249
1000
|
balanceId: z.string().optional(),
|
|
2250
1001
|
invoiceId: z.nullable(z.string()).optional(),
|
|
2251
|
-
periods: z.
|
|
1002
|
+
periods: z.record(z.any()).optional(),
|
|
2252
1003
|
_links: z.lazy(() => GetSettlementLinks$inboundSchema).optional(),
|
|
2253
1004
|
}).transform((v) => {
|
|
2254
1005
|
return remap$(v, {
|
|
@@ -2267,7 +1018,7 @@ export type GetSettlementResponse$Outbound = {
|
|
|
2267
1018
|
amount?: GetSettlementAmount$Outbound | undefined;
|
|
2268
1019
|
balanceId?: string | undefined;
|
|
2269
1020
|
invoiceId?: string | null | undefined;
|
|
2270
|
-
periods?:
|
|
1021
|
+
periods?: { [k: string]: any } | undefined;
|
|
2271
1022
|
_links?: GetSettlementLinks$Outbound | undefined;
|
|
2272
1023
|
};
|
|
2273
1024
|
|
|
@@ -2286,7 +1037,7 @@ export const GetSettlementResponse$outboundSchema: z.ZodType<
|
|
|
2286
1037
|
amount: z.lazy(() => GetSettlementAmount$outboundSchema).optional(),
|
|
2287
1038
|
balanceId: z.string().optional(),
|
|
2288
1039
|
invoiceId: z.nullable(z.string()).optional(),
|
|
2289
|
-
periods: z.
|
|
1040
|
+
periods: z.record(z.any()).optional(),
|
|
2290
1041
|
links: z.lazy(() => GetSettlementLinks$outboundSchema).optional(),
|
|
2291
1042
|
}).transform((v) => {
|
|
2292
1043
|
return remap$(v, {
|