@oatfi/oatfi-sdk-ts 0.11.65 → 0.11.66
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/README.md +27 -0
- package/dist/commonjs/funcs/billingCycleConfigsCreate.d.ts +15 -0
- package/dist/commonjs/funcs/billingCycleConfigsCreate.d.ts.map +1 -0
- package/dist/commonjs/funcs/billingCycleConfigsCreate.js +133 -0
- package/dist/commonjs/funcs/billingCycleConfigsCreate.js.map +1 -0
- package/dist/commonjs/funcs/billingCycleConfigsGet.d.ts +15 -0
- package/dist/commonjs/funcs/billingCycleConfigsGet.d.ts.map +1 -0
- package/dist/commonjs/funcs/billingCycleConfigsGet.js +133 -0
- package/dist/commonjs/funcs/billingCycleConfigsGet.js.map +1 -0
- package/dist/commonjs/funcs/billingCycleConfigsUpdate.d.ts +15 -0
- package/dist/commonjs/funcs/billingCycleConfigsUpdate.d.ts.map +1 -0
- package/dist/commonjs/funcs/billingCycleConfigsUpdate.js +136 -0
- package/dist/commonjs/funcs/billingCycleConfigsUpdate.js.map +1 -0
- package/dist/commonjs/funcs/billingCyclesGet.d.ts +15 -0
- package/dist/commonjs/funcs/billingCyclesGet.d.ts.map +1 -0
- package/dist/commonjs/funcs/billingCyclesGet.js +132 -0
- package/dist/commonjs/funcs/billingCyclesGet.js.map +1 -0
- package/dist/commonjs/funcs/billingCyclesList.d.ts +17 -0
- package/dist/commonjs/funcs/billingCyclesList.d.ts.map +1 -0
- package/dist/commonjs/funcs/billingCyclesList.js +164 -0
- package/dist/commonjs/funcs/billingCyclesList.js.map +1 -0
- package/dist/commonjs/funcs/dailyReportsCreate.d.ts +15 -0
- package/dist/commonjs/funcs/dailyReportsCreate.d.ts.map +1 -0
- package/dist/commonjs/funcs/dailyReportsCreate.js +125 -0
- package/dist/commonjs/funcs/dailyReportsCreate.js.map +1 -0
- package/dist/commonjs/funcs/dailyReportsGet.d.ts +15 -0
- package/dist/commonjs/funcs/dailyReportsGet.d.ts.map +1 -0
- package/dist/commonjs/funcs/dailyReportsGet.js +127 -0
- package/dist/commonjs/funcs/dailyReportsGet.js.map +1 -0
- package/dist/commonjs/funcs/dailyReportsList.d.ts +17 -0
- package/dist/commonjs/funcs/dailyReportsList.d.ts.map +1 -0
- package/dist/commonjs/funcs/dailyReportsList.js +158 -0
- package/dist/commonjs/funcs/dailyReportsList.js.map +1 -0
- package/dist/commonjs/funcs/dailyReportsUpdate.d.ts +15 -0
- package/dist/commonjs/funcs/dailyReportsUpdate.d.ts.map +1 -0
- package/dist/commonjs/funcs/dailyReportsUpdate.js +131 -0
- package/dist/commonjs/funcs/dailyReportsUpdate.js.map +1 -0
- package/dist/commonjs/funcs/embedExchangeToken.d.ts +2 -0
- package/dist/commonjs/funcs/embedExchangeToken.d.ts.map +1 -1
- package/dist/commonjs/funcs/embedExchangeToken.js +3 -1
- package/dist/commonjs/funcs/embedExchangeToken.js.map +1 -1
- package/dist/commonjs/funcs/embedRefreshToken.d.ts +2 -0
- package/dist/commonjs/funcs/embedRefreshToken.d.ts.map +1 -1
- package/dist/commonjs/funcs/embedRefreshToken.js +3 -1
- package/dist/commonjs/funcs/embedRefreshToken.js.map +1 -1
- package/dist/commonjs/lib/config.d.ts +3 -3
- package/dist/commonjs/lib/config.js +3 -3
- package/dist/commonjs/lib/config.js.map +1 -1
- package/dist/commonjs/lib/security.d.ts +1 -1
- package/dist/commonjs/lib/security.d.ts.map +1 -1
- package/dist/commonjs/lib/security.js +19 -8
- package/dist/commonjs/lib/security.js.map +1 -1
- package/dist/commonjs/models/billingcycleconfigsresponsedto.d.ts +67 -0
- package/dist/commonjs/models/billingcycleconfigsresponsedto.d.ts.map +1 -0
- package/dist/commonjs/models/billingcycleconfigsresponsedto.js +77 -0
- package/dist/commonjs/models/billingcycleconfigsresponsedto.js.map +1 -0
- package/dist/commonjs/models/billingcyclesresponsedto.d.ts +87 -0
- package/dist/commonjs/models/billingcyclesresponsedto.d.ts.map +1 -0
- package/dist/commonjs/models/billingcyclesresponsedto.js +91 -0
- package/dist/commonjs/models/billingcyclesresponsedto.js.map +1 -0
- package/dist/commonjs/models/createbillingcycleconfigsdto.d.ts +30 -0
- package/dist/commonjs/models/createbillingcycleconfigsdto.d.ts.map +1 -0
- package/dist/commonjs/models/createbillingcycleconfigsdto.js +59 -0
- package/dist/commonjs/models/createbillingcycleconfigsdto.js.map +1 -0
- package/dist/commonjs/models/createdailyreportdto.d.ts +45 -0
- package/dist/commonjs/models/createdailyreportdto.d.ts.map +1 -0
- package/dist/commonjs/models/createdailyreportdto.js +63 -0
- package/dist/commonjs/models/createdailyreportdto.js.map +1 -0
- package/dist/commonjs/models/createpaymentdto.d.ts +5 -0
- package/dist/commonjs/models/createpaymentdto.d.ts.map +1 -1
- package/dist/commonjs/models/createpaymentdto.js +2 -0
- package/dist/commonjs/models/createpaymentdto.js.map +1 -1
- package/dist/commonjs/models/createprogramdto.d.ts +6 -0
- package/dist/commonjs/models/createprogramdto.d.ts.map +1 -1
- package/dist/commonjs/models/createprogramdto.js +3 -0
- package/dist/commonjs/models/createprogramdto.js.map +1 -1
- package/dist/commonjs/models/dailyreportdto.d.ts +61 -0
- package/dist/commonjs/models/dailyreportdto.d.ts.map +1 -0
- package/dist/commonjs/models/dailyreportdto.js +74 -0
- package/dist/commonjs/models/dailyreportdto.js.map +1 -0
- package/dist/commonjs/models/index.d.ts +8 -0
- package/dist/commonjs/models/index.d.ts.map +1 -1
- package/dist/commonjs/models/index.js +8 -0
- package/dist/commonjs/models/index.js.map +1 -1
- package/dist/commonjs/models/onboardingsettingsdto.d.ts +55 -0
- package/dist/commonjs/models/onboardingsettingsdto.d.ts.map +1 -0
- package/dist/commonjs/models/onboardingsettingsdto.js +94 -0
- package/dist/commonjs/models/onboardingsettingsdto.js.map +1 -0
- package/dist/commonjs/models/operations/billingcycleconfigscontrollercreatebillingcycleconfig.d.ts +23 -0
- package/dist/commonjs/models/operations/billingcycleconfigscontrollercreatebillingcycleconfig.d.ts.map +1 -0
- package/dist/commonjs/models/operations/billingcycleconfigscontrollercreatebillingcycleconfig.js +59 -0
- package/dist/commonjs/models/operations/billingcycleconfigscontrollercreatebillingcycleconfig.js.map +1 -0
- package/dist/commonjs/models/operations/billingcycleconfigscontrollergetbillingcycleconfig.d.ts +20 -0
- package/dist/commonjs/models/operations/billingcycleconfigscontrollergetbillingcycleconfig.d.ts.map +1 -0
- package/dist/commonjs/models/operations/billingcycleconfigscontrollergetbillingcycleconfig.js +51 -0
- package/dist/commonjs/models/operations/billingcycleconfigscontrollergetbillingcycleconfig.js.map +1 -0
- package/dist/commonjs/models/operations/billingcycleconfigscontrollerupdatebillingcycleconfig.d.ts +23 -0
- package/dist/commonjs/models/operations/billingcycleconfigscontrollerupdatebillingcycleconfig.d.ts.map +1 -0
- package/dist/commonjs/models/operations/billingcycleconfigscontrollerupdatebillingcycleconfig.js +58 -0
- package/dist/commonjs/models/operations/billingcycleconfigscontrollerupdatebillingcycleconfig.js.map +1 -0
- package/dist/commonjs/models/operations/billingcyclescontrollergetbillingcycle.d.ts +20 -0
- package/dist/commonjs/models/operations/billingcyclescontrollergetbillingcycle.d.ts.map +1 -0
- package/dist/commonjs/models/operations/billingcyclescontrollergetbillingcycle.js +55 -0
- package/dist/commonjs/models/operations/billingcyclescontrollergetbillingcycle.js.map +1 -0
- package/dist/commonjs/models/operations/billingcyclescontrollerlistbillingcycles.d.ts +54 -0
- package/dist/commonjs/models/operations/billingcyclescontrollerlistbillingcycles.d.ts.map +1 -0
- package/dist/commonjs/models/operations/billingcyclescontrollerlistbillingcycles.js +70 -0
- package/dist/commonjs/models/operations/billingcyclescontrollerlistbillingcycles.js.map +1 -0
- package/dist/commonjs/models/operations/dailyreportscontrollercreate.d.ts +21 -0
- package/dist/commonjs/models/operations/dailyreportscontrollercreate.d.ts.map +1 -0
- package/dist/commonjs/models/operations/dailyreportscontrollercreate.js +57 -0
- package/dist/commonjs/models/operations/dailyreportscontrollercreate.js.map +1 -0
- package/dist/commonjs/models/operations/dailyreportscontrollerfindall.d.ts +35 -0
- package/dist/commonjs/models/operations/dailyreportscontrollerfindall.d.ts.map +1 -0
- package/dist/commonjs/models/operations/dailyreportscontrollerfindall.js +59 -0
- package/dist/commonjs/models/operations/dailyreportscontrollerfindall.js.map +1 -0
- package/dist/commonjs/models/operations/dailyreportscontrollerfindone.d.ts +15 -0
- package/dist/commonjs/models/operations/dailyreportscontrollerfindone.d.ts.map +1 -0
- package/dist/commonjs/models/operations/dailyreportscontrollerfindone.js +49 -0
- package/dist/commonjs/models/operations/dailyreportscontrollerfindone.js.map +1 -0
- package/dist/commonjs/models/operations/dailyreportscontrollerupdate.d.ts +26 -0
- package/dist/commonjs/models/operations/dailyreportscontrollerupdate.d.ts.map +1 -0
- package/dist/commonjs/models/operations/dailyreportscontrollerupdate.js +58 -0
- package/dist/commonjs/models/operations/dailyreportscontrollerupdate.js.map +1 -0
- package/dist/commonjs/models/operations/index.d.ts +9 -0
- package/dist/commonjs/models/operations/index.d.ts.map +1 -1
- package/dist/commonjs/models/operations/index.js +9 -0
- package/dist/commonjs/models/operations/index.js.map +1 -1
- package/dist/commonjs/models/paymentdto.d.ts +4 -0
- package/dist/commonjs/models/paymentdto.d.ts.map +1 -1
- package/dist/commonjs/models/paymentdto.js +2 -0
- package/dist/commonjs/models/paymentdto.js.map +1 -1
- package/dist/commonjs/models/paymentinformationdto.d.ts +4 -0
- package/dist/commonjs/models/paymentinformationdto.d.ts.map +1 -1
- package/dist/commonjs/models/paymentinformationdto.js +2 -0
- package/dist/commonjs/models/paymentinformationdto.js.map +1 -1
- package/dist/commonjs/models/programresponsedto.d.ts +5 -0
- package/dist/commonjs/models/programresponsedto.d.ts.map +1 -1
- package/dist/commonjs/models/programresponsedto.js +3 -0
- package/dist/commonjs/models/programresponsedto.js.map +1 -1
- package/dist/commonjs/models/updatebillingcycleconfigsdto.d.ts +25 -0
- package/dist/commonjs/models/updatebillingcycleconfigsdto.d.ts.map +1 -0
- package/dist/commonjs/models/updatebillingcycleconfigsdto.js +57 -0
- package/dist/commonjs/models/updatebillingcycleconfigsdto.js.map +1 -0
- package/dist/commonjs/models/updatedailyreportdto.d.ts +40 -0
- package/dist/commonjs/models/updatedailyreportdto.d.ts.map +1 -0
- package/dist/commonjs/models/updatedailyreportdto.js +62 -0
- package/dist/commonjs/models/updatedailyreportdto.js.map +1 -0
- package/dist/commonjs/models/updateprogramdto.d.ts +6 -0
- package/dist/commonjs/models/updateprogramdto.d.ts.map +1 -1
- package/dist/commonjs/models/updateprogramdto.js +3 -0
- package/dist/commonjs/models/updateprogramdto.js.map +1 -1
- package/dist/commonjs/sdk/billingcycleconfigs.d.ts +18 -0
- package/dist/commonjs/sdk/billingcycleconfigs.d.ts.map +1 -0
- package/dist/commonjs/sdk/billingcycleconfigs.js +33 -0
- package/dist/commonjs/sdk/billingcycleconfigs.js.map +1 -0
- package/dist/commonjs/sdk/billingcycles.d.ts +17 -0
- package/dist/commonjs/sdk/billingcycles.d.ts.map +1 -0
- package/dist/commonjs/sdk/billingcycles.js +27 -0
- package/dist/commonjs/sdk/billingcycles.js.map +1 -0
- package/dist/commonjs/sdk/dailyreports.d.ts +25 -0
- package/dist/commonjs/sdk/dailyreports.d.ts.map +1 -0
- package/dist/commonjs/sdk/dailyreports.js +41 -0
- package/dist/commonjs/sdk/dailyreports.js.map +1 -0
- package/dist/commonjs/sdk/sdk.d.ts +9 -0
- package/dist/commonjs/sdk/sdk.d.ts.map +1 -1
- package/dist/commonjs/sdk/sdk.js +12 -0
- package/dist/commonjs/sdk/sdk.js.map +1 -1
- package/dist/esm/funcs/billingCycleConfigsCreate.d.ts +15 -0
- package/dist/esm/funcs/billingCycleConfigsCreate.d.ts.map +1 -0
- package/dist/esm/funcs/billingCycleConfigsCreate.js +97 -0
- package/dist/esm/funcs/billingCycleConfigsCreate.js.map +1 -0
- package/dist/esm/funcs/billingCycleConfigsGet.d.ts +15 -0
- package/dist/esm/funcs/billingCycleConfigsGet.d.ts.map +1 -0
- package/dist/esm/funcs/billingCycleConfigsGet.js +97 -0
- package/dist/esm/funcs/billingCycleConfigsGet.js.map +1 -0
- package/dist/esm/funcs/billingCycleConfigsUpdate.d.ts +15 -0
- package/dist/esm/funcs/billingCycleConfigsUpdate.d.ts.map +1 -0
- package/dist/esm/funcs/billingCycleConfigsUpdate.js +100 -0
- package/dist/esm/funcs/billingCycleConfigsUpdate.js.map +1 -0
- package/dist/esm/funcs/billingCyclesGet.d.ts +15 -0
- package/dist/esm/funcs/billingCyclesGet.d.ts.map +1 -0
- package/dist/esm/funcs/billingCyclesGet.js +96 -0
- package/dist/esm/funcs/billingCyclesGet.js.map +1 -0
- package/dist/esm/funcs/billingCyclesList.d.ts +17 -0
- package/dist/esm/funcs/billingCyclesList.d.ts.map +1 -0
- package/dist/esm/funcs/billingCyclesList.js +128 -0
- package/dist/esm/funcs/billingCyclesList.js.map +1 -0
- package/dist/esm/funcs/dailyReportsCreate.d.ts +15 -0
- package/dist/esm/funcs/dailyReportsCreate.d.ts.map +1 -0
- package/dist/esm/funcs/dailyReportsCreate.js +89 -0
- package/dist/esm/funcs/dailyReportsCreate.js.map +1 -0
- package/dist/esm/funcs/dailyReportsGet.d.ts +15 -0
- package/dist/esm/funcs/dailyReportsGet.d.ts.map +1 -0
- package/dist/esm/funcs/dailyReportsGet.js +91 -0
- package/dist/esm/funcs/dailyReportsGet.js.map +1 -0
- package/dist/esm/funcs/dailyReportsList.d.ts +17 -0
- package/dist/esm/funcs/dailyReportsList.d.ts.map +1 -0
- package/dist/esm/funcs/dailyReportsList.js +122 -0
- package/dist/esm/funcs/dailyReportsList.js.map +1 -0
- package/dist/esm/funcs/dailyReportsUpdate.d.ts +15 -0
- package/dist/esm/funcs/dailyReportsUpdate.d.ts.map +1 -0
- package/dist/esm/funcs/dailyReportsUpdate.js +95 -0
- package/dist/esm/funcs/dailyReportsUpdate.js.map +1 -0
- package/dist/esm/funcs/embedExchangeToken.d.ts +2 -0
- package/dist/esm/funcs/embedExchangeToken.d.ts.map +1 -1
- package/dist/esm/funcs/embedExchangeToken.js +3 -1
- package/dist/esm/funcs/embedExchangeToken.js.map +1 -1
- package/dist/esm/funcs/embedRefreshToken.d.ts +2 -0
- package/dist/esm/funcs/embedRefreshToken.d.ts.map +1 -1
- package/dist/esm/funcs/embedRefreshToken.js +3 -1
- package/dist/esm/funcs/embedRefreshToken.js.map +1 -1
- package/dist/esm/lib/config.d.ts +3 -3
- package/dist/esm/lib/config.js +3 -3
- package/dist/esm/lib/config.js.map +1 -1
- package/dist/esm/lib/security.d.ts +1 -1
- package/dist/esm/lib/security.d.ts.map +1 -1
- package/dist/esm/lib/security.js +19 -8
- package/dist/esm/lib/security.js.map +1 -1
- package/dist/esm/models/billingcycleconfigsresponsedto.d.ts +67 -0
- package/dist/esm/models/billingcycleconfigsresponsedto.d.ts.map +1 -0
- package/dist/esm/models/billingcycleconfigsresponsedto.js +40 -0
- package/dist/esm/models/billingcycleconfigsresponsedto.js.map +1 -0
- package/dist/esm/models/billingcyclesresponsedto.d.ts +87 -0
- package/dist/esm/models/billingcyclesresponsedto.d.ts.map +1 -0
- package/dist/esm/models/billingcyclesresponsedto.js +54 -0
- package/dist/esm/models/billingcyclesresponsedto.js.map +1 -0
- package/dist/esm/models/createbillingcycleconfigsdto.d.ts +30 -0
- package/dist/esm/models/createbillingcycleconfigsdto.d.ts.map +1 -0
- package/dist/esm/models/createbillingcycleconfigsdto.js +22 -0
- package/dist/esm/models/createbillingcycleconfigsdto.js.map +1 -0
- package/dist/esm/models/createdailyreportdto.d.ts +45 -0
- package/dist/esm/models/createdailyreportdto.d.ts.map +1 -0
- package/dist/esm/models/createdailyreportdto.js +26 -0
- package/dist/esm/models/createdailyreportdto.js.map +1 -0
- package/dist/esm/models/createpaymentdto.d.ts +5 -0
- package/dist/esm/models/createpaymentdto.d.ts.map +1 -1
- package/dist/esm/models/createpaymentdto.js +2 -0
- package/dist/esm/models/createpaymentdto.js.map +1 -1
- package/dist/esm/models/createprogramdto.d.ts +6 -0
- package/dist/esm/models/createprogramdto.d.ts.map +1 -1
- package/dist/esm/models/createprogramdto.js +3 -0
- package/dist/esm/models/createprogramdto.js.map +1 -1
- package/dist/esm/models/dailyreportdto.d.ts +61 -0
- package/dist/esm/models/dailyreportdto.d.ts.map +1 -0
- package/dist/esm/models/dailyreportdto.js +37 -0
- package/dist/esm/models/dailyreportdto.js.map +1 -0
- package/dist/esm/models/index.d.ts +8 -0
- package/dist/esm/models/index.d.ts.map +1 -1
- package/dist/esm/models/index.js +8 -0
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/onboardingsettingsdto.d.ts +55 -0
- package/dist/esm/models/onboardingsettingsdto.d.ts.map +1 -0
- package/dist/esm/models/onboardingsettingsdto.js +56 -0
- package/dist/esm/models/onboardingsettingsdto.js.map +1 -0
- package/dist/esm/models/operations/billingcycleconfigscontrollercreatebillingcycleconfig.d.ts +23 -0
- package/dist/esm/models/operations/billingcycleconfigscontrollercreatebillingcycleconfig.d.ts.map +1 -0
- package/dist/esm/models/operations/billingcycleconfigscontrollercreatebillingcycleconfig.js +22 -0
- package/dist/esm/models/operations/billingcycleconfigscontrollercreatebillingcycleconfig.js.map +1 -0
- package/dist/esm/models/operations/billingcycleconfigscontrollergetbillingcycleconfig.d.ts +20 -0
- package/dist/esm/models/operations/billingcycleconfigscontrollergetbillingcycleconfig.d.ts.map +1 -0
- package/dist/esm/models/operations/billingcycleconfigscontrollergetbillingcycleconfig.js +14 -0
- package/dist/esm/models/operations/billingcycleconfigscontrollergetbillingcycleconfig.js.map +1 -0
- package/dist/esm/models/operations/billingcycleconfigscontrollerupdatebillingcycleconfig.d.ts +23 -0
- package/dist/esm/models/operations/billingcycleconfigscontrollerupdatebillingcycleconfig.d.ts.map +1 -0
- package/dist/esm/models/operations/billingcycleconfigscontrollerupdatebillingcycleconfig.js +21 -0
- package/dist/esm/models/operations/billingcycleconfigscontrollerupdatebillingcycleconfig.js.map +1 -0
- package/dist/esm/models/operations/billingcyclescontrollergetbillingcycle.d.ts +20 -0
- package/dist/esm/models/operations/billingcyclescontrollergetbillingcycle.d.ts.map +1 -0
- package/dist/esm/models/operations/billingcyclescontrollergetbillingcycle.js +18 -0
- package/dist/esm/models/operations/billingcyclescontrollergetbillingcycle.js.map +1 -0
- package/dist/esm/models/operations/billingcyclescontrollerlistbillingcycles.d.ts +54 -0
- package/dist/esm/models/operations/billingcyclescontrollerlistbillingcycles.d.ts.map +1 -0
- package/dist/esm/models/operations/billingcyclescontrollerlistbillingcycles.js +33 -0
- package/dist/esm/models/operations/billingcyclescontrollerlistbillingcycles.js.map +1 -0
- package/dist/esm/models/operations/dailyreportscontrollercreate.d.ts +21 -0
- package/dist/esm/models/operations/dailyreportscontrollercreate.d.ts.map +1 -0
- package/dist/esm/models/operations/dailyreportscontrollercreate.js +20 -0
- package/dist/esm/models/operations/dailyreportscontrollercreate.js.map +1 -0
- package/dist/esm/models/operations/dailyreportscontrollerfindall.d.ts +35 -0
- package/dist/esm/models/operations/dailyreportscontrollerfindall.d.ts.map +1 -0
- package/dist/esm/models/operations/dailyreportscontrollerfindall.js +22 -0
- package/dist/esm/models/operations/dailyreportscontrollerfindall.js.map +1 -0
- package/dist/esm/models/operations/dailyreportscontrollerfindone.d.ts +15 -0
- package/dist/esm/models/operations/dailyreportscontrollerfindone.d.ts.map +1 -0
- package/dist/esm/models/operations/dailyreportscontrollerfindone.js +12 -0
- package/dist/esm/models/operations/dailyreportscontrollerfindone.js.map +1 -0
- package/dist/esm/models/operations/dailyreportscontrollerupdate.d.ts +26 -0
- package/dist/esm/models/operations/dailyreportscontrollerupdate.d.ts.map +1 -0
- package/dist/esm/models/operations/dailyreportscontrollerupdate.js +21 -0
- package/dist/esm/models/operations/dailyreportscontrollerupdate.js.map +1 -0
- package/dist/esm/models/operations/index.d.ts +9 -0
- package/dist/esm/models/operations/index.d.ts.map +1 -1
- package/dist/esm/models/operations/index.js +9 -0
- package/dist/esm/models/operations/index.js.map +1 -1
- package/dist/esm/models/paymentdto.d.ts +4 -0
- package/dist/esm/models/paymentdto.d.ts.map +1 -1
- package/dist/esm/models/paymentdto.js +2 -0
- package/dist/esm/models/paymentdto.js.map +1 -1
- package/dist/esm/models/paymentinformationdto.d.ts +4 -0
- package/dist/esm/models/paymentinformationdto.d.ts.map +1 -1
- package/dist/esm/models/paymentinformationdto.js +2 -0
- package/dist/esm/models/paymentinformationdto.js.map +1 -1
- package/dist/esm/models/programresponsedto.d.ts +5 -0
- package/dist/esm/models/programresponsedto.d.ts.map +1 -1
- package/dist/esm/models/programresponsedto.js +3 -0
- package/dist/esm/models/programresponsedto.js.map +1 -1
- package/dist/esm/models/updatebillingcycleconfigsdto.d.ts +25 -0
- package/dist/esm/models/updatebillingcycleconfigsdto.d.ts.map +1 -0
- package/dist/esm/models/updatebillingcycleconfigsdto.js +20 -0
- package/dist/esm/models/updatebillingcycleconfigsdto.js.map +1 -0
- package/dist/esm/models/updatedailyreportdto.d.ts +40 -0
- package/dist/esm/models/updatedailyreportdto.d.ts.map +1 -0
- package/dist/esm/models/updatedailyreportdto.js +25 -0
- package/dist/esm/models/updatedailyreportdto.js.map +1 -0
- package/dist/esm/models/updateprogramdto.d.ts +6 -0
- package/dist/esm/models/updateprogramdto.d.ts.map +1 -1
- package/dist/esm/models/updateprogramdto.js +3 -0
- package/dist/esm/models/updateprogramdto.js.map +1 -1
- package/dist/esm/sdk/billingcycleconfigs.d.ts +18 -0
- package/dist/esm/sdk/billingcycleconfigs.d.ts.map +1 -0
- package/dist/esm/sdk/billingcycleconfigs.js +29 -0
- package/dist/esm/sdk/billingcycleconfigs.js.map +1 -0
- package/dist/esm/sdk/billingcycles.d.ts +17 -0
- package/dist/esm/sdk/billingcycles.d.ts.map +1 -0
- package/dist/esm/sdk/billingcycles.js +23 -0
- package/dist/esm/sdk/billingcycles.js.map +1 -0
- package/dist/esm/sdk/dailyreports.d.ts +25 -0
- package/dist/esm/sdk/dailyreports.d.ts.map +1 -0
- package/dist/esm/sdk/dailyreports.js +37 -0
- package/dist/esm/sdk/dailyreports.js.map +1 -0
- package/dist/esm/sdk/sdk.d.ts +9 -0
- package/dist/esm/sdk/sdk.d.ts.map +1 -1
- package/dist/esm/sdk/sdk.js +12 -0
- package/dist/esm/sdk/sdk.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/billingCycleConfigsCreate.ts +188 -0
- package/src/funcs/billingCycleConfigsGet.ts +182 -0
- package/src/funcs/billingCycleConfigsUpdate.ts +187 -0
- package/src/funcs/billingCyclesGet.ts +181 -0
- package/src/funcs/billingCyclesList.ts +251 -0
- package/src/funcs/dailyReportsCreate.ts +178 -0
- package/src/funcs/dailyReportsGet.ts +176 -0
- package/src/funcs/dailyReportsList.ts +243 -0
- package/src/funcs/dailyReportsUpdate.ts +184 -0
- package/src/funcs/embedExchangeToken.ts +3 -1
- package/src/funcs/embedRefreshToken.ts +3 -1
- package/src/lib/config.ts +3 -3
- package/src/lib/security.ts +14 -2
- package/src/models/billingcycleconfigsresponsedto.ts +112 -0
- package/src/models/billingcyclesresponsedto.ts +146 -0
- package/src/models/createbillingcycleconfigsdto.ts +61 -0
- package/src/models/createdailyreportdto.ts +78 -0
- package/src/models/createpaymentdto.ts +7 -0
- package/src/models/createprogramdto.ts +12 -0
- package/src/models/dailyreportdto.ts +106 -0
- package/src/models/index.ts +8 -0
- package/src/models/onboardingsettingsdto.ts +125 -0
- package/src/models/operations/billingcycleconfigscontrollercreatebillingcycleconfig.ts +55 -0
- package/src/models/operations/billingcycleconfigscontrollergetbillingcycleconfig.ts +44 -0
- package/src/models/operations/billingcycleconfigscontrollerupdatebillingcycleconfig.ts +54 -0
- package/src/models/operations/billingcyclescontrollergetbillingcycle.ts +49 -0
- package/src/models/operations/billingcyclescontrollerlistbillingcycles.ts +91 -0
- package/src/models/operations/dailyreportscontrollercreate.ts +49 -0
- package/src/models/operations/dailyreportscontrollerfindall.ts +66 -0
- package/src/models/operations/dailyreportscontrollerfindone.ts +36 -0
- package/src/models/operations/dailyreportscontrollerupdate.ts +55 -0
- package/src/models/operations/index.ts +9 -0
- package/src/models/paymentdto.ts +6 -0
- package/src/models/paymentinformationdto.ts +6 -0
- package/src/models/programresponsedto.ts +10 -0
- package/src/models/updatebillingcycleconfigsdto.ts +54 -0
- package/src/models/updatedailyreportdto.ts +72 -0
- package/src/models/updateprogramdto.ts +12 -0
- package/src/sdk/billingcycleconfigs.ts +58 -0
- package/src/sdk/billingcycles.ts +41 -0
- package/src/sdk/dailyreports.ts +71 -0
- package/src/sdk/sdk.ts +20 -0
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../types/fp.js";
|
|
9
|
+
import * as types from "../types/primitives.js";
|
|
10
|
+
import { SDKValidationError } from "./errors/sdkvalidationerror.js";
|
|
11
|
+
|
|
12
|
+
export type OnboardingSettingsDto = {
|
|
13
|
+
/**
|
|
14
|
+
* Allow onboarding
|
|
15
|
+
*/
|
|
16
|
+
allowOnboarding?: boolean | undefined;
|
|
17
|
+
/**
|
|
18
|
+
* Run underwriting during onboarding
|
|
19
|
+
*/
|
|
20
|
+
runUnderwriting?: boolean | undefined;
|
|
21
|
+
/**
|
|
22
|
+
* Enable Plaid integration
|
|
23
|
+
*/
|
|
24
|
+
plaid?: boolean | undefined;
|
|
25
|
+
/**
|
|
26
|
+
* Require bank statements
|
|
27
|
+
*/
|
|
28
|
+
bankStatements?: boolean | undefined;
|
|
29
|
+
/**
|
|
30
|
+
* Require financial statements
|
|
31
|
+
*/
|
|
32
|
+
financialStatements?: boolean | undefined;
|
|
33
|
+
/**
|
|
34
|
+
* Collect self-reported annual revenue
|
|
35
|
+
*/
|
|
36
|
+
collectSelfReportedAnnualRevenue?: boolean | undefined;
|
|
37
|
+
/**
|
|
38
|
+
* Allow user to request credit limit
|
|
39
|
+
*/
|
|
40
|
+
allowUserRequestCreditLimit?: boolean | undefined;
|
|
41
|
+
/**
|
|
42
|
+
* Allow products
|
|
43
|
+
*/
|
|
44
|
+
allowProducts?: boolean | undefined;
|
|
45
|
+
};
|
|
46
|
+
|
|
47
|
+
/** @internal */
|
|
48
|
+
export const OnboardingSettingsDto$inboundSchema: z.ZodType<
|
|
49
|
+
OnboardingSettingsDto,
|
|
50
|
+
z.ZodTypeDef,
|
|
51
|
+
unknown
|
|
52
|
+
> = z.object({
|
|
53
|
+
allow_onboarding: types.optional(types.boolean()),
|
|
54
|
+
run_underwriting: types.optional(types.boolean()),
|
|
55
|
+
plaid: types.optional(types.boolean()),
|
|
56
|
+
bank_statements: types.optional(types.boolean()),
|
|
57
|
+
financial_statements: types.optional(types.boolean()),
|
|
58
|
+
collect_self_reported_annual_revenue: types.optional(types.boolean()),
|
|
59
|
+
allow_user_request_credit_limit: types.optional(types.boolean()),
|
|
60
|
+
allow_products: types.optional(types.boolean()),
|
|
61
|
+
}).transform((v) => {
|
|
62
|
+
return remap$(v, {
|
|
63
|
+
"allow_onboarding": "allowOnboarding",
|
|
64
|
+
"run_underwriting": "runUnderwriting",
|
|
65
|
+
"bank_statements": "bankStatements",
|
|
66
|
+
"financial_statements": "financialStatements",
|
|
67
|
+
"collect_self_reported_annual_revenue": "collectSelfReportedAnnualRevenue",
|
|
68
|
+
"allow_user_request_credit_limit": "allowUserRequestCreditLimit",
|
|
69
|
+
"allow_products": "allowProducts",
|
|
70
|
+
});
|
|
71
|
+
});
|
|
72
|
+
/** @internal */
|
|
73
|
+
export type OnboardingSettingsDto$Outbound = {
|
|
74
|
+
allow_onboarding?: boolean | undefined;
|
|
75
|
+
run_underwriting?: boolean | undefined;
|
|
76
|
+
plaid?: boolean | undefined;
|
|
77
|
+
bank_statements?: boolean | undefined;
|
|
78
|
+
financial_statements?: boolean | undefined;
|
|
79
|
+
collect_self_reported_annual_revenue?: boolean | undefined;
|
|
80
|
+
allow_user_request_credit_limit?: boolean | undefined;
|
|
81
|
+
allow_products?: boolean | undefined;
|
|
82
|
+
};
|
|
83
|
+
|
|
84
|
+
/** @internal */
|
|
85
|
+
export const OnboardingSettingsDto$outboundSchema: z.ZodType<
|
|
86
|
+
OnboardingSettingsDto$Outbound,
|
|
87
|
+
z.ZodTypeDef,
|
|
88
|
+
OnboardingSettingsDto
|
|
89
|
+
> = z.object({
|
|
90
|
+
allowOnboarding: z.boolean().optional(),
|
|
91
|
+
runUnderwriting: z.boolean().optional(),
|
|
92
|
+
plaid: z.boolean().optional(),
|
|
93
|
+
bankStatements: z.boolean().optional(),
|
|
94
|
+
financialStatements: z.boolean().optional(),
|
|
95
|
+
collectSelfReportedAnnualRevenue: z.boolean().optional(),
|
|
96
|
+
allowUserRequestCreditLimit: z.boolean().optional(),
|
|
97
|
+
allowProducts: z.boolean().optional(),
|
|
98
|
+
}).transform((v) => {
|
|
99
|
+
return remap$(v, {
|
|
100
|
+
allowOnboarding: "allow_onboarding",
|
|
101
|
+
runUnderwriting: "run_underwriting",
|
|
102
|
+
bankStatements: "bank_statements",
|
|
103
|
+
financialStatements: "financial_statements",
|
|
104
|
+
collectSelfReportedAnnualRevenue: "collect_self_reported_annual_revenue",
|
|
105
|
+
allowUserRequestCreditLimit: "allow_user_request_credit_limit",
|
|
106
|
+
allowProducts: "allow_products",
|
|
107
|
+
});
|
|
108
|
+
});
|
|
109
|
+
|
|
110
|
+
export function onboardingSettingsDtoToJSON(
|
|
111
|
+
onboardingSettingsDto: OnboardingSettingsDto,
|
|
112
|
+
): string {
|
|
113
|
+
return JSON.stringify(
|
|
114
|
+
OnboardingSettingsDto$outboundSchema.parse(onboardingSettingsDto),
|
|
115
|
+
);
|
|
116
|
+
}
|
|
117
|
+
export function onboardingSettingsDtoFromJSON(
|
|
118
|
+
jsonString: string,
|
|
119
|
+
): SafeParseResult<OnboardingSettingsDto, SDKValidationError> {
|
|
120
|
+
return safeParse(
|
|
121
|
+
jsonString,
|
|
122
|
+
(x) => OnboardingSettingsDto$inboundSchema.parse(JSON.parse(x)),
|
|
123
|
+
`Failed to parse 'OnboardingSettingsDto' from JSON`,
|
|
124
|
+
);
|
|
125
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import * as models from "../index.js";
|
|
8
|
+
|
|
9
|
+
export type BillingCycleConfigsControllerCreateBillingCycleConfigRequest = {
|
|
10
|
+
/**
|
|
11
|
+
* The ID of the business
|
|
12
|
+
*/
|
|
13
|
+
business: string;
|
|
14
|
+
/**
|
|
15
|
+
* Unique key for idempotency
|
|
16
|
+
*/
|
|
17
|
+
idempotencyKey: string;
|
|
18
|
+
createBillingCycleConfigsDto: models.CreateBillingCycleConfigsDto;
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
/** @internal */
|
|
22
|
+
export type BillingCycleConfigsControllerCreateBillingCycleConfigRequest$Outbound =
|
|
23
|
+
{
|
|
24
|
+
business: string;
|
|
25
|
+
"Idempotency-Key": string;
|
|
26
|
+
CreateBillingCycleConfigsDto: models.CreateBillingCycleConfigsDto$Outbound;
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
/** @internal */
|
|
30
|
+
export const BillingCycleConfigsControllerCreateBillingCycleConfigRequest$outboundSchema:
|
|
31
|
+
z.ZodType<
|
|
32
|
+
BillingCycleConfigsControllerCreateBillingCycleConfigRequest$Outbound,
|
|
33
|
+
z.ZodTypeDef,
|
|
34
|
+
BillingCycleConfigsControllerCreateBillingCycleConfigRequest
|
|
35
|
+
> = z.object({
|
|
36
|
+
business: z.string(),
|
|
37
|
+
idempotencyKey: z.string(),
|
|
38
|
+
createBillingCycleConfigsDto:
|
|
39
|
+
models.CreateBillingCycleConfigsDto$outboundSchema,
|
|
40
|
+
}).transform((v) => {
|
|
41
|
+
return remap$(v, {
|
|
42
|
+
idempotencyKey: "Idempotency-Key",
|
|
43
|
+
createBillingCycleConfigsDto: "CreateBillingCycleConfigsDto",
|
|
44
|
+
});
|
|
45
|
+
});
|
|
46
|
+
|
|
47
|
+
export function billingCycleConfigsControllerCreateBillingCycleConfigRequestToJSON(
|
|
48
|
+
billingCycleConfigsControllerCreateBillingCycleConfigRequest:
|
|
49
|
+
BillingCycleConfigsControllerCreateBillingCycleConfigRequest,
|
|
50
|
+
): string {
|
|
51
|
+
return JSON.stringify(
|
|
52
|
+
BillingCycleConfigsControllerCreateBillingCycleConfigRequest$outboundSchema
|
|
53
|
+
.parse(billingCycleConfigsControllerCreateBillingCycleConfigRequest),
|
|
54
|
+
);
|
|
55
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
|
|
7
|
+
export type BillingCycleConfigsControllerGetBillingCycleConfigRequest = {
|
|
8
|
+
/**
|
|
9
|
+
* The ID of the business
|
|
10
|
+
*/
|
|
11
|
+
business: string;
|
|
12
|
+
/**
|
|
13
|
+
* The ID of the billing cycle config
|
|
14
|
+
*/
|
|
15
|
+
id: string;
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
/** @internal */
|
|
19
|
+
export type BillingCycleConfigsControllerGetBillingCycleConfigRequest$Outbound =
|
|
20
|
+
{
|
|
21
|
+
business: string;
|
|
22
|
+
id: string;
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
/** @internal */
|
|
26
|
+
export const BillingCycleConfigsControllerGetBillingCycleConfigRequest$outboundSchema:
|
|
27
|
+
z.ZodType<
|
|
28
|
+
BillingCycleConfigsControllerGetBillingCycleConfigRequest$Outbound,
|
|
29
|
+
z.ZodTypeDef,
|
|
30
|
+
BillingCycleConfigsControllerGetBillingCycleConfigRequest
|
|
31
|
+
> = z.object({
|
|
32
|
+
business: z.string(),
|
|
33
|
+
id: z.string(),
|
|
34
|
+
});
|
|
35
|
+
|
|
36
|
+
export function billingCycleConfigsControllerGetBillingCycleConfigRequestToJSON(
|
|
37
|
+
billingCycleConfigsControllerGetBillingCycleConfigRequest:
|
|
38
|
+
BillingCycleConfigsControllerGetBillingCycleConfigRequest,
|
|
39
|
+
): string {
|
|
40
|
+
return JSON.stringify(
|
|
41
|
+
BillingCycleConfigsControllerGetBillingCycleConfigRequest$outboundSchema
|
|
42
|
+
.parse(billingCycleConfigsControllerGetBillingCycleConfigRequest),
|
|
43
|
+
);
|
|
44
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import * as models from "../index.js";
|
|
8
|
+
|
|
9
|
+
export type BillingCycleConfigsControllerUpdateBillingCycleConfigRequest = {
|
|
10
|
+
/**
|
|
11
|
+
* The ID of the business
|
|
12
|
+
*/
|
|
13
|
+
business: string;
|
|
14
|
+
/**
|
|
15
|
+
* The ID of the billing cycle config
|
|
16
|
+
*/
|
|
17
|
+
id: string;
|
|
18
|
+
updateBillingCycleConfigsDto: models.UpdateBillingCycleConfigsDto;
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
/** @internal */
|
|
22
|
+
export type BillingCycleConfigsControllerUpdateBillingCycleConfigRequest$Outbound =
|
|
23
|
+
{
|
|
24
|
+
business: string;
|
|
25
|
+
id: string;
|
|
26
|
+
UpdateBillingCycleConfigsDto: models.UpdateBillingCycleConfigsDto$Outbound;
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
/** @internal */
|
|
30
|
+
export const BillingCycleConfigsControllerUpdateBillingCycleConfigRequest$outboundSchema:
|
|
31
|
+
z.ZodType<
|
|
32
|
+
BillingCycleConfigsControllerUpdateBillingCycleConfigRequest$Outbound,
|
|
33
|
+
z.ZodTypeDef,
|
|
34
|
+
BillingCycleConfigsControllerUpdateBillingCycleConfigRequest
|
|
35
|
+
> = z.object({
|
|
36
|
+
business: z.string(),
|
|
37
|
+
id: z.string(),
|
|
38
|
+
updateBillingCycleConfigsDto:
|
|
39
|
+
models.UpdateBillingCycleConfigsDto$outboundSchema,
|
|
40
|
+
}).transform((v) => {
|
|
41
|
+
return remap$(v, {
|
|
42
|
+
updateBillingCycleConfigsDto: "UpdateBillingCycleConfigsDto",
|
|
43
|
+
});
|
|
44
|
+
});
|
|
45
|
+
|
|
46
|
+
export function billingCycleConfigsControllerUpdateBillingCycleConfigRequestToJSON(
|
|
47
|
+
billingCycleConfigsControllerUpdateBillingCycleConfigRequest:
|
|
48
|
+
BillingCycleConfigsControllerUpdateBillingCycleConfigRequest,
|
|
49
|
+
): string {
|
|
50
|
+
return JSON.stringify(
|
|
51
|
+
BillingCycleConfigsControllerUpdateBillingCycleConfigRequest$outboundSchema
|
|
52
|
+
.parse(billingCycleConfigsControllerUpdateBillingCycleConfigRequest),
|
|
53
|
+
);
|
|
54
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
|
|
8
|
+
export type BillingCyclesControllerGetBillingCycleRequest = {
|
|
9
|
+
/**
|
|
10
|
+
* The ID of the business
|
|
11
|
+
*/
|
|
12
|
+
business: string;
|
|
13
|
+
/**
|
|
14
|
+
* The ID of the billing cycle
|
|
15
|
+
*/
|
|
16
|
+
billingCycle: string;
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
/** @internal */
|
|
20
|
+
export type BillingCyclesControllerGetBillingCycleRequest$Outbound = {
|
|
21
|
+
business: string;
|
|
22
|
+
billing_cycle: string;
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
/** @internal */
|
|
26
|
+
export const BillingCyclesControllerGetBillingCycleRequest$outboundSchema:
|
|
27
|
+
z.ZodType<
|
|
28
|
+
BillingCyclesControllerGetBillingCycleRequest$Outbound,
|
|
29
|
+
z.ZodTypeDef,
|
|
30
|
+
BillingCyclesControllerGetBillingCycleRequest
|
|
31
|
+
> = z.object({
|
|
32
|
+
business: z.string(),
|
|
33
|
+
billingCycle: z.string(),
|
|
34
|
+
}).transform((v) => {
|
|
35
|
+
return remap$(v, {
|
|
36
|
+
billingCycle: "billing_cycle",
|
|
37
|
+
});
|
|
38
|
+
});
|
|
39
|
+
|
|
40
|
+
export function billingCyclesControllerGetBillingCycleRequestToJSON(
|
|
41
|
+
billingCyclesControllerGetBillingCycleRequest:
|
|
42
|
+
BillingCyclesControllerGetBillingCycleRequest,
|
|
43
|
+
): string {
|
|
44
|
+
return JSON.stringify(
|
|
45
|
+
BillingCyclesControllerGetBillingCycleRequest$outboundSchema.parse(
|
|
46
|
+
billingCyclesControllerGetBillingCycleRequest,
|
|
47
|
+
),
|
|
48
|
+
);
|
|
49
|
+
}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Filter by status
|
|
11
|
+
*/
|
|
12
|
+
export const Status = {
|
|
13
|
+
Open: "OPEN",
|
|
14
|
+
Closed: "CLOSED",
|
|
15
|
+
} as const;
|
|
16
|
+
/**
|
|
17
|
+
* Filter by status
|
|
18
|
+
*/
|
|
19
|
+
export type Status = ClosedEnum<typeof Status>;
|
|
20
|
+
|
|
21
|
+
export type BillingCyclesControllerListBillingCyclesRequest = {
|
|
22
|
+
/**
|
|
23
|
+
* The ID of the business
|
|
24
|
+
*/
|
|
25
|
+
business: string;
|
|
26
|
+
/**
|
|
27
|
+
* Maximum number of items to return
|
|
28
|
+
*/
|
|
29
|
+
limit?: number | undefined;
|
|
30
|
+
/**
|
|
31
|
+
* Cursor for forward pagination
|
|
32
|
+
*/
|
|
33
|
+
startingAfter?: string | undefined;
|
|
34
|
+
/**
|
|
35
|
+
* Cursor for backward pagination
|
|
36
|
+
*/
|
|
37
|
+
endingBefore?: string | undefined;
|
|
38
|
+
/**
|
|
39
|
+
* Filter by loan program ID
|
|
40
|
+
*/
|
|
41
|
+
program?: string | undefined;
|
|
42
|
+
/**
|
|
43
|
+
* Filter by status
|
|
44
|
+
*/
|
|
45
|
+
status?: Status | undefined;
|
|
46
|
+
};
|
|
47
|
+
|
|
48
|
+
/** @internal */
|
|
49
|
+
export const Status$outboundSchema: z.ZodNativeEnum<typeof Status> = z
|
|
50
|
+
.nativeEnum(Status);
|
|
51
|
+
|
|
52
|
+
/** @internal */
|
|
53
|
+
export type BillingCyclesControllerListBillingCyclesRequest$Outbound = {
|
|
54
|
+
business: string;
|
|
55
|
+
limit?: number | undefined;
|
|
56
|
+
starting_after?: string | undefined;
|
|
57
|
+
ending_before?: string | undefined;
|
|
58
|
+
program?: string | undefined;
|
|
59
|
+
status?: string | undefined;
|
|
60
|
+
};
|
|
61
|
+
|
|
62
|
+
/** @internal */
|
|
63
|
+
export const BillingCyclesControllerListBillingCyclesRequest$outboundSchema:
|
|
64
|
+
z.ZodType<
|
|
65
|
+
BillingCyclesControllerListBillingCyclesRequest$Outbound,
|
|
66
|
+
z.ZodTypeDef,
|
|
67
|
+
BillingCyclesControllerListBillingCyclesRequest
|
|
68
|
+
> = z.object({
|
|
69
|
+
business: z.string(),
|
|
70
|
+
limit: z.number().optional(),
|
|
71
|
+
startingAfter: z.string().optional(),
|
|
72
|
+
endingBefore: z.string().optional(),
|
|
73
|
+
program: z.string().optional(),
|
|
74
|
+
status: Status$outboundSchema.optional(),
|
|
75
|
+
}).transform((v) => {
|
|
76
|
+
return remap$(v, {
|
|
77
|
+
startingAfter: "starting_after",
|
|
78
|
+
endingBefore: "ending_before",
|
|
79
|
+
});
|
|
80
|
+
});
|
|
81
|
+
|
|
82
|
+
export function billingCyclesControllerListBillingCyclesRequestToJSON(
|
|
83
|
+
billingCyclesControllerListBillingCyclesRequest:
|
|
84
|
+
BillingCyclesControllerListBillingCyclesRequest,
|
|
85
|
+
): string {
|
|
86
|
+
return JSON.stringify(
|
|
87
|
+
BillingCyclesControllerListBillingCyclesRequest$outboundSchema.parse(
|
|
88
|
+
billingCyclesControllerListBillingCyclesRequest,
|
|
89
|
+
),
|
|
90
|
+
);
|
|
91
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import * as models from "../index.js";
|
|
8
|
+
|
|
9
|
+
export type DailyReportsControllerCreateRequest = {
|
|
10
|
+
/**
|
|
11
|
+
* Unique key for idempotency
|
|
12
|
+
*/
|
|
13
|
+
idempotencyKey: string;
|
|
14
|
+
/**
|
|
15
|
+
* Daily report creation data
|
|
16
|
+
*/
|
|
17
|
+
createDailyReportDto: models.CreateDailyReportDto;
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
/** @internal */
|
|
21
|
+
export type DailyReportsControllerCreateRequest$Outbound = {
|
|
22
|
+
"Idempotency-Key": string;
|
|
23
|
+
CreateDailyReportDto: models.CreateDailyReportDto$Outbound;
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
/** @internal */
|
|
27
|
+
export const DailyReportsControllerCreateRequest$outboundSchema: z.ZodType<
|
|
28
|
+
DailyReportsControllerCreateRequest$Outbound,
|
|
29
|
+
z.ZodTypeDef,
|
|
30
|
+
DailyReportsControllerCreateRequest
|
|
31
|
+
> = z.object({
|
|
32
|
+
idempotencyKey: z.string(),
|
|
33
|
+
createDailyReportDto: models.CreateDailyReportDto$outboundSchema,
|
|
34
|
+
}).transform((v) => {
|
|
35
|
+
return remap$(v, {
|
|
36
|
+
idempotencyKey: "Idempotency-Key",
|
|
37
|
+
createDailyReportDto: "CreateDailyReportDto",
|
|
38
|
+
});
|
|
39
|
+
});
|
|
40
|
+
|
|
41
|
+
export function dailyReportsControllerCreateRequestToJSON(
|
|
42
|
+
dailyReportsControllerCreateRequest: DailyReportsControllerCreateRequest,
|
|
43
|
+
): string {
|
|
44
|
+
return JSON.stringify(
|
|
45
|
+
DailyReportsControllerCreateRequest$outboundSchema.parse(
|
|
46
|
+
dailyReportsControllerCreateRequest,
|
|
47
|
+
),
|
|
48
|
+
);
|
|
49
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
|
|
8
|
+
export type DailyReportsControllerFindAllRequest = {
|
|
9
|
+
/**
|
|
10
|
+
* Maximum number of items to return
|
|
11
|
+
*/
|
|
12
|
+
limit?: number | undefined;
|
|
13
|
+
/**
|
|
14
|
+
* Cursor for forward pagination
|
|
15
|
+
*/
|
|
16
|
+
startingAfter?: string | undefined;
|
|
17
|
+
/**
|
|
18
|
+
* Cursor for backward pagination
|
|
19
|
+
*/
|
|
20
|
+
endingBefore?: string | undefined;
|
|
21
|
+
/**
|
|
22
|
+
* Filter by program ID
|
|
23
|
+
*/
|
|
24
|
+
program?: string | undefined;
|
|
25
|
+
/**
|
|
26
|
+
* Filter by business ID
|
|
27
|
+
*/
|
|
28
|
+
business?: string | undefined;
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
/** @internal */
|
|
32
|
+
export type DailyReportsControllerFindAllRequest$Outbound = {
|
|
33
|
+
limit?: number | undefined;
|
|
34
|
+
starting_after?: string | undefined;
|
|
35
|
+
ending_before?: string | undefined;
|
|
36
|
+
program?: string | undefined;
|
|
37
|
+
business?: string | undefined;
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
/** @internal */
|
|
41
|
+
export const DailyReportsControllerFindAllRequest$outboundSchema: z.ZodType<
|
|
42
|
+
DailyReportsControllerFindAllRequest$Outbound,
|
|
43
|
+
z.ZodTypeDef,
|
|
44
|
+
DailyReportsControllerFindAllRequest
|
|
45
|
+
> = z.object({
|
|
46
|
+
limit: z.number().optional(),
|
|
47
|
+
startingAfter: z.string().optional(),
|
|
48
|
+
endingBefore: z.string().optional(),
|
|
49
|
+
program: z.string().optional(),
|
|
50
|
+
business: z.string().optional(),
|
|
51
|
+
}).transform((v) => {
|
|
52
|
+
return remap$(v, {
|
|
53
|
+
startingAfter: "starting_after",
|
|
54
|
+
endingBefore: "ending_before",
|
|
55
|
+
});
|
|
56
|
+
});
|
|
57
|
+
|
|
58
|
+
export function dailyReportsControllerFindAllRequestToJSON(
|
|
59
|
+
dailyReportsControllerFindAllRequest: DailyReportsControllerFindAllRequest,
|
|
60
|
+
): string {
|
|
61
|
+
return JSON.stringify(
|
|
62
|
+
DailyReportsControllerFindAllRequest$outboundSchema.parse(
|
|
63
|
+
dailyReportsControllerFindAllRequest,
|
|
64
|
+
),
|
|
65
|
+
);
|
|
66
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
|
|
7
|
+
export type DailyReportsControllerFindOneRequest = {
|
|
8
|
+
/**
|
|
9
|
+
* The ID of the daily report
|
|
10
|
+
*/
|
|
11
|
+
id: string;
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
/** @internal */
|
|
15
|
+
export type DailyReportsControllerFindOneRequest$Outbound = {
|
|
16
|
+
id: string;
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
/** @internal */
|
|
20
|
+
export const DailyReportsControllerFindOneRequest$outboundSchema: z.ZodType<
|
|
21
|
+
DailyReportsControllerFindOneRequest$Outbound,
|
|
22
|
+
z.ZodTypeDef,
|
|
23
|
+
DailyReportsControllerFindOneRequest
|
|
24
|
+
> = z.object({
|
|
25
|
+
id: z.string(),
|
|
26
|
+
});
|
|
27
|
+
|
|
28
|
+
export function dailyReportsControllerFindOneRequestToJSON(
|
|
29
|
+
dailyReportsControllerFindOneRequest: DailyReportsControllerFindOneRequest,
|
|
30
|
+
): string {
|
|
31
|
+
return JSON.stringify(
|
|
32
|
+
DailyReportsControllerFindOneRequest$outboundSchema.parse(
|
|
33
|
+
dailyReportsControllerFindOneRequest,
|
|
34
|
+
),
|
|
35
|
+
);
|
|
36
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import * as models from "../index.js";
|
|
8
|
+
|
|
9
|
+
export type DailyReportsControllerUpdateRequest = {
|
|
10
|
+
/**
|
|
11
|
+
* The ID of the daily report
|
|
12
|
+
*/
|
|
13
|
+
id: string;
|
|
14
|
+
/**
|
|
15
|
+
* Unique key for idempotency
|
|
16
|
+
*/
|
|
17
|
+
idempotencyKey: string;
|
|
18
|
+
/**
|
|
19
|
+
* Daily report update data
|
|
20
|
+
*/
|
|
21
|
+
updateDailyReportDto: models.UpdateDailyReportDto;
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
/** @internal */
|
|
25
|
+
export type DailyReportsControllerUpdateRequest$Outbound = {
|
|
26
|
+
id: string;
|
|
27
|
+
"Idempotency-Key": string;
|
|
28
|
+
UpdateDailyReportDto: models.UpdateDailyReportDto$Outbound;
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
/** @internal */
|
|
32
|
+
export const DailyReportsControllerUpdateRequest$outboundSchema: z.ZodType<
|
|
33
|
+
DailyReportsControllerUpdateRequest$Outbound,
|
|
34
|
+
z.ZodTypeDef,
|
|
35
|
+
DailyReportsControllerUpdateRequest
|
|
36
|
+
> = z.object({
|
|
37
|
+
id: z.string(),
|
|
38
|
+
idempotencyKey: z.string(),
|
|
39
|
+
updateDailyReportDto: models.UpdateDailyReportDto$outboundSchema,
|
|
40
|
+
}).transform((v) => {
|
|
41
|
+
return remap$(v, {
|
|
42
|
+
idempotencyKey: "Idempotency-Key",
|
|
43
|
+
updateDailyReportDto: "UpdateDailyReportDto",
|
|
44
|
+
});
|
|
45
|
+
});
|
|
46
|
+
|
|
47
|
+
export function dailyReportsControllerUpdateRequestToJSON(
|
|
48
|
+
dailyReportsControllerUpdateRequest: DailyReportsControllerUpdateRequest,
|
|
49
|
+
): string {
|
|
50
|
+
return JSON.stringify(
|
|
51
|
+
DailyReportsControllerUpdateRequest$outboundSchema.parse(
|
|
52
|
+
dailyReportsControllerUpdateRequest,
|
|
53
|
+
),
|
|
54
|
+
);
|
|
55
|
+
}
|
|
@@ -15,6 +15,11 @@ export * from "./applicationscontrollerfindone.js";
|
|
|
15
15
|
export * from "./applicationscontrollergettransactionsreporturl.js";
|
|
16
16
|
export * from "./applicationscontrollersubmitapplication.js";
|
|
17
17
|
export * from "./applicationscontrollerupdate.js";
|
|
18
|
+
export * from "./billingcycleconfigscontrollercreatebillingcycleconfig.js";
|
|
19
|
+
export * from "./billingcycleconfigscontrollergetbillingcycleconfig.js";
|
|
20
|
+
export * from "./billingcycleconfigscontrollerupdatebillingcycleconfig.js";
|
|
21
|
+
export * from "./billingcyclescontrollergetbillingcycle.js";
|
|
22
|
+
export * from "./billingcyclescontrollerlistbillingcycles.js";
|
|
18
23
|
export * from "./businessescontrollercreate.js";
|
|
19
24
|
export * from "./businessescontrollercreatebulk.js";
|
|
20
25
|
export * from "./businessescontrollercreatesupplementaldata.js";
|
|
@@ -59,6 +64,10 @@ export * from "./businessplaidtokenscontrollerfindone.js";
|
|
|
59
64
|
export * from "./businessplaidtokenscontrollergetaccesstoken.js";
|
|
60
65
|
export * from "./businessplaidtokenscontrollergetlinktoken.js";
|
|
61
66
|
export * from "./businessplaidtokenscontrollerupdate.js";
|
|
67
|
+
export * from "./dailyreportscontrollercreate.js";
|
|
68
|
+
export * from "./dailyreportscontrollerfindall.js";
|
|
69
|
+
export * from "./dailyreportscontrollerfindone.js";
|
|
70
|
+
export * from "./dailyreportscontrollerupdate.js";
|
|
62
71
|
export * from "./filescontrollerdelete.js";
|
|
63
72
|
export * from "./filescontrollerdownloadfile.js";
|
|
64
73
|
export * from "./filescontrollerfindall.js";
|
package/src/models/paymentdto.ts
CHANGED
|
@@ -95,6 +95,10 @@ export type PaymentDto = {
|
|
|
95
95
|
* Payment amount in cents
|
|
96
96
|
*/
|
|
97
97
|
amount: number;
|
|
98
|
+
/**
|
|
99
|
+
* Indicates this is a non-cash repayment where the payment was collected outside OatFi
|
|
100
|
+
*/
|
|
101
|
+
nonCash?: boolean | undefined;
|
|
98
102
|
/**
|
|
99
103
|
* Payment status
|
|
100
104
|
*/
|
|
@@ -195,6 +199,7 @@ export const PaymentDto$inboundSchema: z.ZodType<
|
|
|
195
199
|
transfer_id: types.optional(types.string()),
|
|
196
200
|
external_batch_transfer_id: types.optional(types.string()),
|
|
197
201
|
amount: types.number(),
|
|
202
|
+
non_cash: types.optional(types.boolean()),
|
|
198
203
|
status: types.optional(types.string()),
|
|
199
204
|
financial_account: types.optional(types.string()),
|
|
200
205
|
payment_request_id: types.optional(types.string()),
|
|
@@ -213,6 +218,7 @@ export const PaymentDto$inboundSchema: z.ZodType<
|
|
|
213
218
|
"payment_intent": "paymentIntent",
|
|
214
219
|
"transfer_id": "transferId",
|
|
215
220
|
"external_batch_transfer_id": "externalBatchTransferId",
|
|
221
|
+
"non_cash": "nonCash",
|
|
216
222
|
"financial_account": "financialAccount",
|
|
217
223
|
"payment_request_id": "paymentRequestId",
|
|
218
224
|
"third_party_payment_status": "thirdPartyPaymentStatus",
|