@codat/lending 3.1.0 → 3.3.0
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 +123 -72
- package/dist/internal/utils/requestbody.js +1 -1
- package/dist/internal/utils/utils.js +1 -1
- package/dist/sdk/accountingbankdata.d.ts +2 -2
- package/dist/sdk/accountingbankdata.js +3 -3
- package/dist/sdk/accountingbankdataaccounts.d.ts +3 -3
- package/dist/sdk/accountingbankdataaccounts.js +5 -5
- package/dist/sdk/accountspayablebillcreditnotes.d.ts +3 -3
- package/dist/sdk/accountspayablebillcreditnotes.js +5 -5
- package/dist/sdk/accountspayablebillpayments.d.ts +3 -3
- package/dist/sdk/accountspayablebillpayments.js +5 -5
- package/dist/sdk/accountspayablebills.d.ts +6 -6
- package/dist/sdk/accountspayablebills.js +11 -11
- package/dist/sdk/accountspayablesuppliers.d.ts +6 -6
- package/dist/sdk/accountspayablesuppliers.js +11 -11
- package/dist/sdk/accountsreceivablecreditnotes.d.ts +3 -3
- package/dist/sdk/accountsreceivablecreditnotes.js +5 -5
- package/dist/sdk/accountsreceivablecustomers.d.ts +6 -6
- package/dist/sdk/accountsreceivablecustomers.js +11 -11
- package/dist/sdk/accountsreceivabledirectincomes.d.ts +6 -6
- package/dist/sdk/accountsreceivabledirectincomes.js +11 -11
- package/dist/sdk/accountsreceivableinvoices.d.ts +6 -6
- package/dist/sdk/accountsreceivableinvoices.js +13 -13
- package/dist/sdk/accountsreceivablepayments.d.ts +3 -3
- package/dist/sdk/accountsreceivablepayments.js +5 -5
- package/dist/sdk/accountsreceivablereports.js +4 -4
- package/dist/sdk/bankingaccountbalances.d.ts +2 -2
- package/dist/sdk/bankingaccountbalances.js +3 -3
- package/dist/sdk/bankingaccounts.d.ts +3 -3
- package/dist/sdk/bankingaccounts.js +5 -5
- package/dist/sdk/bankingcategorizedstatement.js +1 -1
- package/dist/sdk/bankingtransactioncategories.d.ts +3 -3
- package/dist/sdk/bankingtransactioncategories.js +5 -5
- package/dist/sdk/bankingtransactions.d.ts +3 -3
- package/dist/sdk/bankingtransactions.js +5 -5
- package/dist/sdk/companies.js +7 -7
- package/dist/sdk/companyinfo.js +2 -2
- package/dist/sdk/connections.js +7 -7
- package/dist/sdk/dataintegrity.js +3 -3
- package/dist/sdk/excelreports.js +3 -3
- package/dist/sdk/fileupload.js +4 -4
- package/dist/sdk/financialstatementsaccounts.d.ts +3 -3
- package/dist/sdk/financialstatementsaccounts.js +5 -5
- package/dist/sdk/financialstatementsbalancesheet.js +2 -2
- package/dist/sdk/financialstatementscashflow.js +1 -1
- package/dist/sdk/financialstatementsprofitandloss.js +2 -2
- package/dist/sdk/liabilities.d.ts +25 -1
- package/dist/sdk/liabilities.js +172 -9
- package/dist/sdk/loanwriteback.d.ts +19 -0
- package/dist/sdk/loanwriteback.js +27 -0
- package/dist/sdk/loanwritebackaccounts.d.ts +40 -0
- package/dist/sdk/loanwritebackaccounts.js +294 -0
- package/dist/sdk/loanwritebackbanktransactions.d.ts +40 -0
- package/dist/sdk/loanwritebackbanktransactions.js +294 -0
- package/dist/sdk/loanwritebackcreateoperations.d.ts +22 -0
- package/dist/sdk/loanwritebackcreateoperations.js +250 -0
- package/dist/sdk/loanwritebackdirectcosts.d.ts +40 -0
- package/dist/sdk/loanwritebackdirectcosts.js +294 -0
- package/dist/sdk/loanwritebackpayments.d.ts +40 -0
- package/dist/sdk/loanwritebackpayments.js +294 -0
- package/dist/sdk/loanwritebacksuppliers.d.ts +40 -0
- package/dist/sdk/loanwritebacksuppliers.js +294 -0
- package/dist/sdk/loanwritebacktransfers.d.ts +40 -0
- package/dist/sdk/loanwritebacktransfers.js +294 -0
- package/dist/sdk/managedata.js +1 -1
- package/dist/sdk/managedatapulloperations.js +2 -2
- package/dist/sdk/managedatarefresh.js +2 -2
- package/dist/sdk/models/operations/createaccount.d.ts +44 -0
- package/dist/sdk/models/operations/createaccount.js +111 -0
- package/dist/sdk/models/operations/createbanktransactions.d.ts +48 -0
- package/dist/sdk/models/operations/createbanktransactions.js +115 -0
- package/dist/sdk/models/operations/createcompany.d.ts +9 -0
- package/dist/sdk/models/operations/createconnection.d.ts +15 -0
- package/dist/sdk/models/operations/createdirectcost.d.ts +44 -0
- package/dist/sdk/models/operations/createdirectcost.js +111 -0
- package/dist/sdk/models/operations/createpayment.d.ts +44 -0
- package/dist/sdk/models/operations/createpayment.js +111 -0
- package/dist/sdk/models/operations/createsupplier.d.ts +44 -0
- package/dist/sdk/models/operations/createsupplier.js +111 -0
- package/dist/sdk/models/operations/createtransfer.d.ts +44 -0
- package/dist/sdk/models/operations/createtransfer.js +111 -0
- package/dist/sdk/models/operations/deletecompany.d.ts +12 -0
- package/dist/sdk/models/operations/deleteconnection.d.ts +15 -0
- package/dist/sdk/models/operations/downloadaccountingbillattachment.d.ts +17 -2
- package/dist/sdk/models/operations/downloadaccountingcustomerattachment.d.ts +19 -1
- package/dist/sdk/models/operations/downloadaccountingdirectcostattachment.d.ts +17 -2
- package/dist/sdk/models/operations/downloadaccountingdirectincomeattachment.d.ts +17 -2
- package/dist/sdk/models/operations/downloadaccountinginvoiceattachment.d.ts +17 -2
- package/dist/sdk/models/operations/downloadaccountinginvoicepdf.d.ts +13 -1
- package/dist/sdk/models/operations/downloadaccountingsupplierattachment.d.ts +17 -2
- package/dist/sdk/models/operations/downloadexcelreport.d.ts +12 -0
- package/dist/sdk/models/operations/downloadfiles.d.ts +12 -0
- package/dist/sdk/models/operations/generateexcelreport.d.ts +12 -0
- package/dist/sdk/models/operations/generateloansummary.d.ts +39 -0
- package/dist/sdk/models/operations/generateloansummary.js +104 -0
- package/dist/sdk/models/operations/generateloantransactions.d.ts +39 -0
- package/dist/sdk/models/operations/generateloantransactions.js +104 -0
- package/dist/sdk/models/operations/getaccountingaccount.d.ts +13 -1
- package/dist/sdk/models/operations/getaccountingaccounttransaction.d.ts +18 -0
- package/dist/sdk/models/operations/getaccountingagedcreditorsreport.d.ts +12 -0
- package/dist/sdk/models/operations/getaccountingageddebtorsreport.d.ts +12 -0
- package/dist/sdk/models/operations/getaccountingbalancesheet.d.ts +15 -0
- package/dist/sdk/models/operations/getaccountingbankaccount.d.ts +16 -1
- package/dist/sdk/models/operations/getaccountingbill.d.ts +13 -1
- package/dist/sdk/models/operations/getaccountingbillattachment.d.ts +17 -2
- package/dist/sdk/models/operations/getaccountingbillcreditnote.d.ts +15 -0
- package/dist/sdk/models/operations/getaccountingbillpayment.d.ts +15 -0
- package/dist/sdk/models/operations/getaccountingcashflowstatement.d.ts +15 -0
- package/dist/sdk/models/operations/getaccountingcreditnote.d.ts +15 -0
- package/dist/sdk/models/operations/getaccountingcustomer.d.ts +15 -0
- package/dist/sdk/models/operations/getaccountingcustomerattachment.d.ts +19 -1
- package/dist/sdk/models/operations/getaccountingdirectcost.d.ts +16 -1
- package/dist/sdk/models/operations/getaccountingdirectcostattachment.d.ts +17 -2
- package/dist/sdk/models/operations/getaccountingdirectincome.d.ts +18 -0
- package/dist/sdk/models/operations/getaccountingdirectincomeattachment.d.ts +20 -2
- package/dist/sdk/models/operations/getaccountinginvoice.d.ts +13 -1
- package/dist/sdk/models/operations/getaccountinginvoiceattachment.d.ts +17 -2
- package/dist/sdk/models/operations/getaccountingjournal.d.ts +15 -0
- package/dist/sdk/models/operations/getaccountingjournalentry.d.ts +15 -0
- package/dist/sdk/models/operations/getaccountingpayment.d.ts +15 -0
- package/dist/sdk/models/operations/getaccountingprofile.d.ts +12 -0
- package/dist/sdk/models/operations/getaccountingprofitandloss.d.ts +15 -0
- package/dist/sdk/models/operations/getaccountingsupplier.d.ts +13 -1
- package/dist/sdk/models/operations/getaccountingsupplierattachment.d.ts +17 -2
- package/dist/sdk/models/operations/getaccountingtransfer.d.ts +18 -0
- package/dist/sdk/models/operations/getbankingaccount.d.ts +16 -1
- package/dist/sdk/models/operations/getbankingtransaction.d.ts +15 -0
- package/dist/sdk/models/operations/getbankingtransactioncategory.d.ts +15 -0
- package/dist/sdk/models/operations/getcategorizedbalancesheetstatement.d.ts +12 -0
- package/dist/sdk/models/operations/getcategorizedbankstatement.d.ts +12 -0
- package/dist/sdk/models/operations/getcategorizedprofitandlossstatement.d.ts +13 -1
- package/dist/sdk/models/operations/getcommercecustomer.d.ts +15 -0
- package/dist/sdk/models/operations/getcommercecustomerretentionmetrics.d.ts +15 -0
- package/dist/sdk/models/operations/getcommercedispute.d.ts +15 -0
- package/dist/sdk/models/operations/getcommercelifetimevaluemetrics.d.ts +15 -0
- package/dist/sdk/models/operations/getcommercelocation.d.ts +15 -0
- package/dist/sdk/models/operations/getcommerceorder.d.ts +15 -0
- package/dist/sdk/models/operations/getcommerceordersreport.d.ts +15 -0
- package/dist/sdk/models/operations/getcommercepayment.d.ts +15 -0
- package/dist/sdk/models/operations/getcommercepaymentmethod.d.ts +15 -0
- package/dist/sdk/models/operations/getcommerceproduct.d.ts +15 -0
- package/dist/sdk/models/operations/getcommerceproductcategory.d.ts +15 -0
- package/dist/sdk/models/operations/getcommerceprofile.d.ts +15 -0
- package/dist/sdk/models/operations/getcommercerefundsreport.d.ts +15 -0
- package/dist/sdk/models/operations/getcommercerevenuemetrics.d.ts +15 -0
- package/dist/sdk/models/operations/getcommercetransaction.d.ts +15 -0
- package/dist/sdk/models/operations/getcompany.d.ts +12 -0
- package/dist/sdk/models/operations/getconnection.d.ts +15 -0
- package/dist/sdk/models/operations/getcreatebanktransactionsmodel.d.ts +39 -0
- package/dist/sdk/models/operations/getcreatebanktransactionsmodel.js +103 -0
- package/dist/sdk/models/operations/getcreatechartofaccountsmodel.d.ts +35 -0
- package/dist/sdk/models/operations/getcreatechartofaccountsmodel.js +99 -0
- package/dist/sdk/models/operations/getcreatedirectcostsmodel.d.ts +35 -0
- package/dist/sdk/models/operations/getcreatedirectcostsmodel.js +99 -0
- package/dist/sdk/models/operations/getcreateoperation.d.ts +35 -0
- package/dist/sdk/models/operations/getcreateoperation.js +99 -0
- package/dist/sdk/models/operations/getcreatepaymentsmodel.d.ts +35 -0
- package/dist/sdk/models/operations/getcreatepaymentsmodel.js +99 -0
- package/dist/sdk/models/operations/getcreatetransfersmodel.d.ts +35 -0
- package/dist/sdk/models/operations/getcreatetransfersmodel.js +99 -0
- package/dist/sdk/models/operations/getcreateupdatesuppliersmodel.d.ts +35 -0
- package/dist/sdk/models/operations/getcreateupdatesuppliersmodel.js +99 -0
- package/dist/sdk/models/operations/getdataintegritystatus.d.ts +12 -0
- package/dist/sdk/models/operations/getdataintegritysummaries.d.ts +12 -0
- package/dist/sdk/models/operations/getdatastatus.d.ts +12 -0
- package/dist/sdk/models/operations/getexcelreportgenerationstatus.d.ts +12 -0
- package/dist/sdk/models/operations/getloansummary.d.ts +24 -0
- package/dist/sdk/models/operations/getloansummary.js +14 -1
- package/dist/sdk/models/operations/getpulloperation.d.ts +13 -1
- package/dist/sdk/models/operations/index.d.ts +16 -0
- package/dist/sdk/models/operations/index.js +16 -0
- package/dist/sdk/models/operations/isagedcreditorsreportavailable.d.ts +12 -0
- package/dist/sdk/models/operations/isageddebtorsreportavailable.d.ts +12 -0
- package/dist/sdk/models/operations/listaccountingaccounts.d.ts +12 -0
- package/dist/sdk/models/operations/listaccountingaccounttransactions.d.ts +15 -0
- package/dist/sdk/models/operations/listaccountingbankaccounts.d.ts +15 -0
- package/dist/sdk/models/operations/listaccountingbankaccounttransactions.d.ts +16 -1
- package/dist/sdk/models/operations/listaccountingbillattachments.d.ts +16 -1
- package/dist/sdk/models/operations/listaccountingbillcreditnotes.d.ts +12 -0
- package/dist/sdk/models/operations/listaccountingbillpayments.d.ts +12 -0
- package/dist/sdk/models/operations/listaccountingbills.d.ts +12 -0
- package/dist/sdk/models/operations/listaccountingcreditnotes.d.ts +12 -0
- package/dist/sdk/models/operations/listaccountingcustomerattachments.d.ts +18 -0
- package/dist/sdk/models/operations/listaccountingcustomers.d.ts +12 -0
- package/dist/sdk/models/operations/listaccountingdirectcostattachments.d.ts +16 -1
- package/dist/sdk/models/operations/listaccountingdirectcosts.d.ts +15 -0
- package/dist/sdk/models/operations/listaccountingdirectincomeattachments.d.ts +16 -1
- package/dist/sdk/models/operations/listaccountingdirectincomes.d.ts +15 -0
- package/dist/sdk/models/operations/listaccountinginvoiceattachments.d.ts +16 -1
- package/dist/sdk/models/operations/listaccountinginvoices.d.ts +12 -0
- package/dist/sdk/models/operations/listaccountingjournalentries.d.ts +12 -0
- package/dist/sdk/models/operations/listaccountingjournals.d.ts +12 -0
- package/dist/sdk/models/operations/listaccountingpayments.d.ts +12 -0
- package/dist/sdk/models/operations/listaccountingsupplierattachments.d.ts +16 -1
- package/dist/sdk/models/operations/listaccountingsuppliers.d.ts +12 -0
- package/dist/sdk/models/operations/listaccountingtransfers.d.ts +15 -0
- package/dist/sdk/models/operations/listbankingaccountbalances.d.ts +15 -0
- package/dist/sdk/models/operations/listbankingaccounts.d.ts +15 -0
- package/dist/sdk/models/operations/listbankingtransactioncategories.d.ts +15 -0
- package/dist/sdk/models/operations/listbankingtransactions.d.ts +15 -0
- package/dist/sdk/models/operations/listcommercecustomers.d.ts +15 -0
- package/dist/sdk/models/operations/listcommercedisputes.d.ts +15 -0
- package/dist/sdk/models/operations/listcommercelocations.d.ts +15 -0
- package/dist/sdk/models/operations/listcommerceorders.d.ts +15 -0
- package/dist/sdk/models/operations/listcommercepaymentmethods.d.ts +15 -0
- package/dist/sdk/models/operations/listcommercepayments.d.ts +15 -0
- package/dist/sdk/models/operations/listcommerceproductcategories.d.ts +15 -0
- package/dist/sdk/models/operations/listcommerceproducts.d.ts +15 -0
- package/dist/sdk/models/operations/listcommercetransactions.d.ts +15 -0
- package/dist/sdk/models/operations/listcompanies.d.ts +9 -0
- package/dist/sdk/models/operations/listconnections.d.ts +12 -0
- package/dist/sdk/models/operations/listcreateoperations.d.ts +47 -0
- package/dist/sdk/models/operations/listcreateoperations.js +111 -0
- package/dist/sdk/models/operations/listdataintegritydetails.d.ts +12 -0
- package/dist/sdk/models/operations/listfiles.d.ts +12 -0
- package/dist/sdk/models/operations/listloantransactions.d.ts +14 -2
- package/dist/sdk/models/operations/listloantransactions.js +1 -1
- package/dist/sdk/models/operations/listpulloperations.d.ts +12 -0
- package/dist/sdk/models/operations/listreconciledinvoices.d.ts +12 -0
- package/dist/sdk/models/operations/refreshalldatatypes.d.ts +12 -0
- package/dist/sdk/models/operations/refreshdatatype.d.ts +12 -0
- package/dist/sdk/models/operations/unlinkconnection.d.ts +15 -0
- package/dist/sdk/models/operations/updatecompany.d.ts +12 -0
- package/dist/sdk/models/operations/uploadfiles.d.ts +15 -0
- package/dist/sdk/models/shared/accountingaccount.d.ts +11 -2
- package/dist/sdk/models/shared/accountingaccount.js +8 -1
- package/dist/sdk/models/shared/accountingaccounts.d.ts +9 -0
- package/dist/sdk/models/shared/accountingaccounttransaction.d.ts +2 -2
- package/dist/sdk/models/shared/accountingaccounttransaction.js +2 -2
- package/dist/sdk/models/shared/accountingaccounttransactions.d.ts +9 -0
- package/dist/sdk/models/shared/accountingagedcreditorreport.d.ts +1 -1
- package/dist/sdk/models/shared/accountingagedcreditorreport.js +1 -1
- package/dist/sdk/models/shared/accountingageddebtorreport.d.ts +1 -1
- package/dist/sdk/models/shared/accountingageddebtorreport.js +1 -1
- package/dist/sdk/models/shared/accountingattachment.d.ts +1 -1
- package/dist/sdk/models/shared/accountingattachment.js +1 -1
- package/dist/sdk/models/shared/accountingbankaccount.d.ts +10 -1
- package/dist/sdk/models/shared/accountingbankaccount.js +8 -1
- package/dist/sdk/models/shared/accountingbankaccounts.d.ts +9 -0
- package/dist/sdk/models/shared/accountingbanktransaction.d.ts +20 -2
- package/dist/sdk/models/shared/accountingbanktransaction.js +1 -1
- package/dist/sdk/models/shared/accountingbanktransactions.d.ts +9 -0
- package/dist/sdk/models/shared/accountingbill.d.ts +8 -2
- package/dist/sdk/models/shared/accountingbill.js +2 -2
- package/dist/sdk/models/shared/accountingbillcreditnote.d.ts +3 -3
- package/dist/sdk/models/shared/accountingbillcreditnote.js +3 -3
- package/dist/sdk/models/shared/accountingbillcreditnotes.d.ts +9 -0
- package/dist/sdk/models/shared/accountingbillpayment.d.ts +6 -5
- package/dist/sdk/models/shared/accountingbillpayment.js +7 -5
- package/dist/sdk/models/shared/accountingbillpayments.d.ts +9 -0
- package/dist/sdk/models/shared/accountingbills.d.ts +9 -0
- package/dist/sdk/models/shared/accountingcompanyinfo.d.ts +9 -0
- package/dist/sdk/models/shared/accountingcompanyinfo.js +7 -0
- package/dist/sdk/models/shared/accountingcreateaccountresponse.d.ts +135 -0
- package/dist/sdk/models/shared/accountingcreateaccountresponse.js +118 -0
- package/dist/sdk/models/shared/accountingcreatebanktransactions.d.ts +9 -0
- package/dist/sdk/models/shared/accountingcreatebanktransactions.js +52 -0
- package/dist/sdk/models/shared/accountingcreatebanktransactionsresponse.d.ts +103 -0
- package/dist/sdk/models/shared/accountingcreatebanktransactionsresponse.js +118 -0
- package/dist/sdk/models/shared/accountingcreatedirectcostresponse.d.ts +122 -0
- package/dist/sdk/models/shared/accountingcreatedirectcostresponse.js +118 -0
- package/dist/sdk/models/shared/accountingcreatepaymentresponse.d.ts +785 -0
- package/dist/sdk/models/shared/accountingcreatepaymentresponse.js +118 -0
- package/dist/sdk/models/shared/accountingcreatesupplierresponse.d.ts +112 -0
- package/dist/sdk/models/shared/accountingcreatesupplierresponse.js +118 -0
- package/dist/sdk/models/shared/accountingcreatetransferresponse.d.ts +110 -0
- package/dist/sdk/models/shared/accountingcreatetransferresponse.js +118 -0
- package/dist/sdk/models/shared/accountingcreditnote.d.ts +10 -1
- package/dist/sdk/models/shared/accountingcreditnote.js +1 -1
- package/dist/sdk/models/shared/accountingcreditnotes.d.ts +9 -0
- package/dist/sdk/models/shared/accountingcustomer.d.ts +1 -1
- package/dist/sdk/models/shared/accountingcustomer.js +1 -1
- package/dist/sdk/models/shared/accountingcustomers.d.ts +9 -0
- package/dist/sdk/models/shared/accountingdirectcost.d.ts +1 -1
- package/dist/sdk/models/shared/accountingdirectcost.js +1 -1
- package/dist/sdk/models/shared/accountingdirectcosts.d.ts +9 -0
- package/dist/sdk/models/shared/accountingdirectincome.d.ts +4 -1
- package/dist/sdk/models/shared/accountingdirectincome.js +1 -1
- package/dist/sdk/models/shared/accountingdirectincomes.d.ts +9 -0
- package/dist/sdk/models/shared/accountinginvoice.d.ts +18 -5
- package/dist/sdk/models/shared/accountinginvoice.js +5 -4
- package/dist/sdk/models/shared/accountinginvoices.d.ts +9 -0
- package/dist/sdk/models/shared/accountingjournal.d.ts +2 -2
- package/dist/sdk/models/shared/accountingjournal.js +2 -2
- package/dist/sdk/models/shared/accountingjournalentries.d.ts +9 -0
- package/dist/sdk/models/shared/accountingjournalentry.d.ts +2 -2
- package/dist/sdk/models/shared/accountingjournalentry.js +2 -2
- package/dist/sdk/models/shared/accountingjournals.d.ts +9 -0
- package/dist/sdk/models/shared/accountingpayment.d.ts +8 -4
- package/dist/sdk/models/shared/accountingpayment.js +6 -4
- package/dist/sdk/models/shared/accountingpayments.d.ts +9 -0
- package/dist/sdk/models/shared/accountingsupplier.d.ts +1 -1
- package/dist/sdk/models/shared/accountingsupplier.js +1 -1
- package/dist/sdk/models/shared/accountingsuppliers.d.ts +9 -0
- package/dist/sdk/models/shared/accountingtransfer.d.ts +15 -2
- package/dist/sdk/models/shared/accountingtransfer.js +2 -1
- package/dist/sdk/models/shared/accountingtransfers.d.ts +9 -0
- package/dist/sdk/models/shared/accountspayabletracking.d.ts +6 -0
- package/dist/sdk/models/shared/accountsreceivabletracking.d.ts +6 -0
- package/dist/sdk/models/shared/bankingaccountbalance.d.ts +1 -1
- package/dist/sdk/models/shared/bankingaccountbalance.js +1 -1
- package/dist/sdk/models/shared/bankingaccountbalances.d.ts +9 -0
- package/dist/sdk/models/shared/bankingaccounts.d.ts +9 -0
- package/dist/sdk/models/shared/bankingtransactioncategories.d.ts +9 -0
- package/dist/sdk/models/shared/bankingtransactioncategory.d.ts +3 -0
- package/dist/sdk/models/shared/bankingtransactionref.d.ts +18 -0
- package/dist/sdk/models/shared/bankingtransactions.d.ts +9 -0
- package/dist/sdk/models/shared/banktransactiontype.d.ts +1 -1
- package/dist/sdk/models/shared/banktransactiontype.js +1 -1
- package/dist/sdk/models/shared/billedtotype.d.ts +3 -0
- package/dist/sdk/models/shared/billedtotype.js +3 -0
- package/dist/sdk/models/shared/billedtotype1.d.ts +3 -0
- package/dist/sdk/models/shared/billedtotype1.js +3 -0
- package/dist/sdk/models/shared/billlineitem.d.ts +37 -0
- package/dist/sdk/models/shared/billlineitem.js +45 -1
- package/dist/sdk/models/shared/commercecustomers.d.ts +9 -0
- package/dist/sdk/models/shared/commercedisputes.d.ts +9 -0
- package/dist/sdk/models/shared/commercelocations.d.ts +9 -0
- package/dist/sdk/models/shared/commerceorder.d.ts +6 -15
- package/dist/sdk/models/shared/commerceorder.js +4 -23
- package/dist/sdk/models/shared/commerceorders.d.ts +9 -0
- package/dist/sdk/models/shared/commercepayment.d.ts +14 -1
- package/dist/sdk/models/shared/commercepayment.js +10 -1
- package/dist/sdk/models/shared/commercepaymentmethod.d.ts +10 -3
- package/dist/sdk/models/shared/commercepaymentmethod.js +10 -2
- package/dist/sdk/models/shared/commercepaymentmethods.d.ts +9 -0
- package/dist/sdk/models/shared/commercepayments.d.ts +9 -0
- package/dist/sdk/models/shared/commerceproduct.d.ts +11 -2
- package/dist/sdk/models/shared/commerceproduct.js +7 -0
- package/dist/sdk/models/shared/commerceproductcategories.d.ts +9 -0
- package/dist/sdk/models/shared/commerceproducts.d.ts +9 -0
- package/dist/sdk/models/shared/commercereportcomponent.d.ts +12 -0
- package/dist/sdk/models/shared/commercereportdimension.d.ts +12 -0
- package/dist/sdk/models/shared/commercereporterror.d.ts +9 -0
- package/dist/sdk/models/shared/commercereportmeasure.d.ts +12 -0
- package/dist/sdk/models/shared/commercetransaction.d.ts +9 -0
- package/dist/sdk/models/shared/commercetransaction.js +7 -0
- package/dist/sdk/models/shared/commercetransactions.d.ts +9 -0
- package/dist/sdk/models/shared/companies.d.ts +9 -0
- package/dist/sdk/models/shared/company.d.ts +5 -0
- package/dist/sdk/models/shared/connection.d.ts +6 -0
- package/dist/sdk/models/shared/connections.d.ts +9 -0
- package/dist/sdk/models/shared/contactref.d.ts +8 -1
- package/dist/sdk/models/shared/contactref.js +1 -0
- package/dist/sdk/models/shared/createbankaccounttransaction.d.ts +43 -0
- package/dist/sdk/models/shared/createbankaccounttransaction.js +65 -0
- package/dist/sdk/models/shared/creditnotelineitem.d.ts +3 -0
- package/dist/sdk/models/shared/creditnotestatus.d.ts +3 -0
- package/dist/sdk/models/shared/creditnotestatus.js +3 -0
- package/dist/sdk/models/shared/dataconnectionerror.d.ts +9 -0
- package/dist/sdk/models/shared/dataintegritydetails.d.ts +9 -0
- package/dist/sdk/models/shared/datastatus.d.ts +60 -1
- package/dist/sdk/models/shared/datastatus.js +49 -1
- package/dist/sdk/models/shared/enhancedcashflowtransaction.d.ts +11 -0
- package/dist/sdk/models/shared/enhancedcashflowtransactions.d.ts +1 -1
- package/dist/sdk/models/shared/enhancedinvoicereportitem.d.ts +10 -1
- package/dist/sdk/models/shared/enhancedinvoicesreport.d.ts +1 -1
- package/dist/sdk/models/shared/errormessage.d.ts +18 -0
- package/dist/sdk/models/shared/file.d.ts +9 -0
- package/dist/sdk/models/shared/halref.d.ts +3 -0
- package/dist/sdk/models/shared/index.d.ts +23 -1
- package/dist/sdk/models/shared/index.js +23 -1
- package/dist/sdk/models/shared/invoicelineitem.d.ts +3 -0
- package/dist/sdk/models/shared/items.d.ts +6 -0
- package/dist/sdk/models/shared/lendingcustomerref.d.ts +2 -2
- package/dist/sdk/models/shared/loansummaryreportitem.d.ts +4 -0
- package/dist/sdk/models/shared/loansummaryreportitem.js +5 -0
- package/dist/sdk/models/shared/orderdiscountallocation.d.ts +1 -1
- package/dist/sdk/models/shared/orderlineitem.d.ts +5 -5
- package/dist/sdk/models/shared/payment.d.ts +7 -1
- package/dist/sdk/models/shared/paymentmethodref.d.ts +14 -0
- package/dist/sdk/models/shared/paymentmethodref.js +53 -0
- package/dist/sdk/models/shared/productinventory.d.ts +3 -0
- package/dist/sdk/models/shared/productinventorylocation.d.ts +3 -0
- package/dist/sdk/models/shared/productprice.d.ts +3 -0
- package/dist/sdk/models/shared/productref.d.ts +1 -1
- package/dist/sdk/models/shared/productvariant.d.ts +3 -0
- package/dist/sdk/models/shared/productvariantref.d.ts +1 -1
- package/dist/sdk/models/shared/productvariantstatus.d.ts +3 -0
- package/dist/sdk/models/shared/productvariantstatus.js +3 -0
- package/dist/sdk/models/shared/projectref.d.ts +6 -0
- package/dist/sdk/models/shared/pulloperation.d.ts +57 -1
- package/dist/sdk/models/shared/pulloperation.js +14 -0
- package/dist/sdk/models/shared/pulloperations.d.ts +9 -0
- package/dist/sdk/models/shared/pushchangetype.d.ts +10 -0
- package/dist/sdk/models/shared/pushchangetype.js +17 -0
- package/dist/sdk/models/shared/pushfieldvalidation.d.ts +15 -0
- package/dist/sdk/models/shared/pushfieldvalidation.js +55 -0
- package/dist/sdk/models/shared/pushoperation.d.ts +101 -0
- package/dist/sdk/models/shared/pushoperation.js +111 -0
- package/dist/sdk/models/shared/pushoperationchange.d.ts +14 -0
- package/dist/sdk/models/shared/pushoperationchange.js +58 -0
- package/dist/sdk/models/shared/pushoperationref.d.ts +12 -0
- package/dist/sdk/models/shared/pushoperationref.js +51 -0
- package/dist/sdk/models/shared/pushoperations.d.ts +19 -0
- package/dist/sdk/models/shared/pushoperations.js +69 -0
- package/dist/sdk/models/shared/pushoperationstatus.d.ts +9 -0
- package/dist/sdk/models/shared/pushoperationstatus.js +16 -0
- package/dist/sdk/models/shared/pushoption.d.ts +26 -0
- package/dist/sdk/models/shared/pushoption.js +89 -0
- package/dist/sdk/models/shared/pushoptionchoice.d.ts +24 -0
- package/dist/sdk/models/shared/pushoptionchoice.js +66 -0
- package/dist/sdk/models/shared/pushoptionproperty.d.ts +25 -0
- package/dist/sdk/models/shared/pushoptionproperty.js +88 -0
- package/dist/sdk/models/shared/pushoptiontype.d.ts +13 -0
- package/dist/sdk/models/shared/pushoptiontype.js +20 -0
- package/dist/sdk/models/shared/pushvalidationinfo.d.ts +6 -0
- package/dist/sdk/models/shared/pushvalidationinfo.js +53 -0
- package/dist/sdk/models/shared/reportcomponentmeasure.d.ts +9 -0
- package/dist/sdk/models/shared/reportinfo.d.ts +3 -3
- package/dist/sdk/models/shared/reportinfo.js +1 -1
- package/dist/sdk/models/shared/reportitems.d.ts +10 -0
- package/dist/sdk/models/shared/reportitems.js +8 -0
- package/dist/sdk/models/shared/servicecharge.d.ts +1 -1
- package/dist/sdk/models/shared/trackingcategoryref.d.ts +6 -0
- package/dist/sdk/models/shared/transactioncategorystatus.d.ts +3 -0
- package/dist/sdk/models/shared/transactioncategorystatus.js +3 -0
- package/dist/sdk/models/shared/transactionsourceref.d.ts +3 -0
- package/dist/sdk/models/shared/transactionsourcetype.d.ts +3 -0
- package/dist/sdk/models/shared/transactionsourcetype.js +3 -0
- package/dist/sdk/models/shared/transferaccount.d.ts +3 -0
- package/dist/sdk/models/shared/transferaccount.js +3 -0
- package/dist/sdk/models/shared/validation.d.ts +9 -0
- package/dist/sdk/models/shared/validation.js +56 -0
- package/dist/sdk/models/shared/validationitem.d.ts +15 -0
- package/dist/sdk/models/shared/validationitem.js +55 -0
- package/dist/sdk/models/webhooks/accountcategoriesupdated.d.ts +9 -0
- package/dist/sdk/models/webhooks/clientratelimitreached.d.ts +9 -0
- package/dist/sdk/models/webhooks/clientratelimitreset.d.ts +9 -0
- package/dist/sdk/salescustomers.d.ts +3 -3
- package/dist/sdk/salescustomers.js +5 -5
- package/dist/sdk/salesdisputes.d.ts +3 -3
- package/dist/sdk/salesdisputes.js +5 -5
- package/dist/sdk/saleslocations.d.ts +3 -3
- package/dist/sdk/saleslocations.js +5 -5
- package/dist/sdk/salesmetrics.js +3 -3
- package/dist/sdk/salesorders.d.ts +3 -3
- package/dist/sdk/salesorders.js +5 -5
- package/dist/sdk/salespaymentmethods.d.ts +3 -3
- package/dist/sdk/salespaymentmethods.js +5 -5
- package/dist/sdk/salespayments.d.ts +3 -3
- package/dist/sdk/salespayments.js +5 -5
- package/dist/sdk/salesproductcategories.d.ts +3 -3
- package/dist/sdk/salesproductcategories.js +5 -5
- package/dist/sdk/salesproducts.d.ts +3 -3
- package/dist/sdk/salesproducts.js +5 -5
- package/dist/sdk/salesreports.js +2 -2
- package/dist/sdk/salestransactions.d.ts +3 -3
- package/dist/sdk/salestransactions.js +5 -5
- package/dist/sdk/sdk.d.ts +3 -0
- package/dist/sdk/sdk.js +5 -2
- package/dist/sdk/transactionsaccounttransactions.d.ts +3 -3
- package/dist/sdk/transactionsaccounttransactions.js +5 -5
- package/dist/sdk/transactionsdirectcosts.d.ts +6 -6
- package/dist/sdk/transactionsdirectcosts.js +11 -11
- package/dist/sdk/transactionsjournalentries.d.ts +3 -3
- package/dist/sdk/transactionsjournalentries.js +5 -5
- package/dist/sdk/transactionsjournals.d.ts +3 -3
- package/dist/sdk/transactionsjournals.js +5 -5
- package/dist/sdk/transactionstransfers.d.ts +3 -3
- package/dist/sdk/transactionstransfers.js +5 -5
- package/docs/models/operations/createaccountrequest.md +12 -0
- package/docs/models/operations/createaccountresponse.md +12 -0
- package/docs/models/operations/createbanktransactionsrequest.md +13 -0
- package/docs/models/operations/createbanktransactionsresponse.md +12 -0
- package/docs/models/operations/createcompanyresponse.md +3 -3
- package/docs/models/operations/createconnectionrequest.md +1 -1
- package/docs/models/operations/createconnectionrequestbody.md +3 -3
- package/docs/models/operations/createconnectionresponse.md +3 -3
- package/docs/models/operations/createdirectcostrequest.md +12 -0
- package/docs/models/operations/createdirectcostresponse.md +12 -0
- package/docs/models/operations/createpaymentrequest.md +12 -0
- package/docs/models/operations/createpaymentresponse.md +12 -0
- package/docs/models/operations/createsupplierrequest.md +12 -0
- package/docs/models/operations/createsupplierresponse.md +12 -0
- package/docs/models/operations/createtransferrequest.md +12 -0
- package/docs/models/operations/createtransferresponse.md +12 -0
- package/docs/models/operations/deletecompanyrequest.md +1 -1
- package/docs/models/operations/deletecompanyresponse.md +3 -3
- package/docs/models/operations/deleteconnectionrequest.md +2 -2
- package/docs/models/operations/deleteconnectionresponse.md +3 -3
- package/docs/models/operations/downloadaccountingbillattachmentrequest.md +4 -4
- package/docs/models/operations/downloadaccountingbillattachmentresponse.md +3 -3
- package/docs/models/operations/downloadaccountingcustomerattachmentrequest.md +4 -4
- package/docs/models/operations/downloadaccountingcustomerattachmentresponse.md +3 -3
- package/docs/models/operations/downloadaccountingdirectcostattachmentrequest.md +4 -4
- package/docs/models/operations/downloadaccountingdirectcostattachmentresponse.md +3 -3
- package/docs/models/operations/downloadaccountingdirectincomeattachmentrequest.md +6 -6
- package/docs/models/operations/downloadaccountingdirectincomeattachmentresponse.md +3 -3
- package/docs/models/operations/downloadaccountinginvoiceattachmentrequest.md +4 -4
- package/docs/models/operations/downloadaccountinginvoiceattachmentresponse.md +3 -3
- package/docs/models/operations/downloadaccountinginvoicepdfrequest.md +2 -2
- package/docs/models/operations/downloadaccountinginvoicepdfresponse.md +6 -6
- package/docs/models/operations/downloadaccountingsupplierattachmentrequest.md +4 -4
- package/docs/models/operations/downloadaccountingsupplierattachmentresponse.md +3 -3
- package/docs/models/operations/downloadexcelreportrequest.md +1 -1
- package/docs/models/operations/downloadexcelreportresponse.md +3 -3
- package/docs/models/operations/downloadfilesrequest.md +1 -1
- package/docs/models/operations/downloadfilesresponse.md +3 -3
- package/docs/models/operations/generateexcelreportrequest.md +1 -1
- package/docs/models/operations/generateexcelreportresponse.md +3 -3
- package/docs/models/operations/generateloansummaryrequest.md +9 -0
- package/docs/models/operations/generateloansummaryresponse.md +11 -0
- package/docs/models/operations/generateloansummarysourcetype.md +12 -0
- package/docs/models/operations/generateloantransactionsrequest.md +9 -0
- package/docs/models/operations/generateloantransactionsresponse.md +11 -0
- package/docs/models/operations/generateloantransactionssourcetype.md +12 -0
- package/docs/models/operations/getaccountingaccountrequest.md +2 -2
- package/docs/models/operations/getaccountingaccountresponse.md +3 -3
- package/docs/models/operations/getaccountingaccounttransactionrequest.md +5 -5
- package/docs/models/operations/getaccountingaccounttransactionresponse.md +3 -3
- package/docs/models/operations/getaccountingagedcreditorsreportrequest.md +1 -1
- package/docs/models/operations/getaccountingagedcreditorsreportresponse.md +3 -3
- package/docs/models/operations/getaccountingageddebtorsreportrequest.md +1 -1
- package/docs/models/operations/getaccountingageddebtorsreportresponse.md +3 -3
- package/docs/models/operations/getaccountingbalancesheetrequest.md +2 -2
- package/docs/models/operations/getaccountingbalancesheetresponse.md +3 -3
- package/docs/models/operations/getaccountingbankaccountrequest.md +3 -3
- package/docs/models/operations/getaccountingbankaccountresponse.md +3 -3
- package/docs/models/operations/getaccountingbillattachmentrequest.md +4 -4
- package/docs/models/operations/getaccountingbillattachmentresponse.md +3 -3
- package/docs/models/operations/getaccountingbillcreditnoterequest.md +4 -4
- package/docs/models/operations/getaccountingbillcreditnoteresponse.md +3 -3
- package/docs/models/operations/getaccountingbillpaymentrequest.md +4 -4
- package/docs/models/operations/getaccountingbillpaymentresponse.md +3 -3
- package/docs/models/operations/getaccountingbillrequest.md +2 -2
- package/docs/models/operations/getaccountingbillresponse.md +3 -3
- package/docs/models/operations/getaccountingcashflowstatementrequest.md +2 -2
- package/docs/models/operations/getaccountingcashflowstatementresponse.md +3 -3
- package/docs/models/operations/getaccountingcreditnoterequest.md +2 -2
- package/docs/models/operations/getaccountingcreditnoteresponse.md +3 -3
- package/docs/models/operations/getaccountingcustomerattachmentrequest.md +4 -4
- package/docs/models/operations/getaccountingcustomerattachmentresponse.md +3 -3
- package/docs/models/operations/getaccountingcustomerrequest.md +2 -2
- package/docs/models/operations/getaccountingcustomerresponse.md +3 -3
- package/docs/models/operations/getaccountingdirectcostattachmentrequest.md +4 -4
- package/docs/models/operations/getaccountingdirectcostattachmentresponse.md +3 -3
- package/docs/models/operations/getaccountingdirectcostrequest.md +3 -3
- package/docs/models/operations/getaccountingdirectcostresponse.md +3 -3
- package/docs/models/operations/getaccountingdirectincomeattachmentrequest.md +7 -7
- package/docs/models/operations/getaccountingdirectincomeattachmentresponse.md +3 -3
- package/docs/models/operations/getaccountingdirectincomerequest.md +5 -5
- package/docs/models/operations/getaccountingdirectincomeresponse.md +3 -3
- package/docs/models/operations/getaccountinginvoiceattachmentrequest.md +4 -4
- package/docs/models/operations/getaccountinginvoiceattachmentresponse.md +3 -3
- package/docs/models/operations/getaccountinginvoicerequest.md +2 -2
- package/docs/models/operations/getaccountinginvoiceresponse.md +3 -3
- package/docs/models/operations/getaccountingjournalentryrequest.md +4 -4
- package/docs/models/operations/getaccountingjournalentryresponse.md +3 -3
- package/docs/models/operations/getaccountingjournalrequest.md +2 -2
- package/docs/models/operations/getaccountingjournalresponse.md +3 -3
- package/docs/models/operations/getaccountingpaymentrequest.md +2 -2
- package/docs/models/operations/getaccountingpaymentresponse.md +3 -3
- package/docs/models/operations/getaccountingprofilerequest.md +1 -1
- package/docs/models/operations/getaccountingprofileresponse.md +3 -3
- package/docs/models/operations/getaccountingprofitandlossrequest.md +2 -2
- package/docs/models/operations/getaccountingprofitandlossresponse.md +3 -3
- package/docs/models/operations/getaccountingsupplierattachmentrequest.md +4 -4
- package/docs/models/operations/getaccountingsupplierattachmentresponse.md +3 -3
- package/docs/models/operations/getaccountingsupplierrequest.md +2 -2
- package/docs/models/operations/getaccountingsupplierresponse.md +3 -3
- package/docs/models/operations/getaccountingtransferrequest.md +3 -3
- package/docs/models/operations/getaccountingtransferresponse.md +3 -3
- package/docs/models/operations/getbankingaccountrequest.md +3 -3
- package/docs/models/operations/getbankingaccountresponse.md +3 -3
- package/docs/models/operations/getbankingtransactioncategoryrequest.md +2 -2
- package/docs/models/operations/getbankingtransactioncategoryresponse.md +3 -3
- package/docs/models/operations/getbankingtransactionrequest.md +2 -2
- package/docs/models/operations/getbankingtransactionresponse.md +3 -3
- package/docs/models/operations/getcategorizedbalancesheetstatementrequest.md +1 -1
- package/docs/models/operations/getcategorizedbalancesheetstatementresponse.md +3 -3
- package/docs/models/operations/getcategorizedbankstatementrequest.md +1 -1
- package/docs/models/operations/getcategorizedbankstatementresponse.md +3 -3
- package/docs/models/operations/getcategorizedprofitandlossstatementrequest.md +2 -2
- package/docs/models/operations/getcategorizedprofitandlossstatementresponse.md +3 -3
- package/docs/models/operations/getcommercecustomerrequest.md +2 -2
- package/docs/models/operations/getcommercecustomerresponse.md +3 -3
- package/docs/models/operations/getcommercecustomerretentionmetricsrequest.md +2 -2
- package/docs/models/operations/getcommercecustomerretentionmetricsresponse.md +3 -3
- package/docs/models/operations/getcommercedisputerequest.md +2 -2
- package/docs/models/operations/getcommercedisputeresponse.md +3 -3
- package/docs/models/operations/getcommercelifetimevaluemetricsrequest.md +2 -2
- package/docs/models/operations/getcommercelifetimevaluemetricsresponse.md +3 -3
- package/docs/models/operations/getcommercelocationrequest.md +2 -2
- package/docs/models/operations/getcommercelocationresponse.md +3 -3
- package/docs/models/operations/getcommerceorderrequest.md +2 -2
- package/docs/models/operations/getcommerceorderresponse.md +3 -3
- package/docs/models/operations/getcommerceordersreportrequest.md +2 -2
- package/docs/models/operations/getcommerceordersreportresponse.md +3 -3
- package/docs/models/operations/getcommercepaymentmethodrequest.md +2 -2
- package/docs/models/operations/getcommercepaymentmethodresponse.md +3 -3
- package/docs/models/operations/getcommercepaymentrequest.md +2 -2
- package/docs/models/operations/getcommercepaymentresponse.md +3 -3
- package/docs/models/operations/getcommerceproductcategoryrequest.md +2 -2
- package/docs/models/operations/getcommerceproductcategoryresponse.md +3 -3
- package/docs/models/operations/getcommerceproductrequest.md +2 -2
- package/docs/models/operations/getcommerceproductresponse.md +3 -3
- package/docs/models/operations/getcommerceprofilerequest.md +2 -2
- package/docs/models/operations/getcommerceprofileresponse.md +3 -3
- package/docs/models/operations/getcommercerefundsreportrequest.md +2 -2
- package/docs/models/operations/getcommercerefundsreportresponse.md +3 -3
- package/docs/models/operations/getcommercerevenuemetricsrequest.md +2 -2
- package/docs/models/operations/getcommercerevenuemetricsresponse.md +3 -3
- package/docs/models/operations/getcommercetransactionrequest.md +2 -2
- package/docs/models/operations/getcommercetransactionresponse.md +3 -3
- package/docs/models/operations/getcompanyrequest.md +1 -1
- package/docs/models/operations/getcompanyresponse.md +3 -3
- package/docs/models/operations/getconnectionrequest.md +2 -2
- package/docs/models/operations/getconnectionresponse.md +3 -3
- package/docs/models/operations/getcreatebanktransactionsmodelrequest.md +10 -0
- package/docs/models/operations/getcreatebanktransactionsmodelresponse.md +12 -0
- package/docs/models/operations/getcreatechartofaccountsmodelrequest.md +9 -0
- package/docs/models/operations/getcreatechartofaccountsmodelresponse.md +12 -0
- package/docs/models/operations/getcreatedirectcostsmodelrequest.md +9 -0
- package/docs/models/operations/getcreatedirectcostsmodelresponse.md +12 -0
- package/docs/models/operations/getcreateoperationrequest.md +9 -0
- package/docs/models/operations/getcreateoperationresponse.md +12 -0
- package/docs/models/operations/getcreatepaymentsmodelrequest.md +9 -0
- package/docs/models/operations/getcreatepaymentsmodelresponse.md +12 -0
- package/docs/models/operations/getcreatetransfersmodelrequest.md +9 -0
- package/docs/models/operations/getcreatetransfersmodelresponse.md +12 -0
- package/docs/models/operations/getcreateupdatesuppliersmodelrequest.md +9 -0
- package/docs/models/operations/getcreateupdatesuppliersmodelresponse.md +12 -0
- package/docs/models/operations/getdataintegritystatusrequest.md +1 -1
- package/docs/models/operations/getdataintegritystatusresponse.md +3 -3
- package/docs/models/operations/getdataintegritysummariesrequest.md +1 -1
- package/docs/models/operations/getdataintegritysummariesresponse.md +3 -3
- package/docs/models/operations/getdatastatusrequest.md +1 -1
- package/docs/models/operations/getdatastatusresponse.md +3 -3
- package/docs/models/operations/getexcelreportgenerationstatusrequest.md +1 -1
- package/docs/models/operations/getexcelreportgenerationstatusresponse.md +3 -3
- package/docs/models/operations/getloansummaryrequest.md +4 -3
- package/docs/models/operations/getloansummaryresponse.md +3 -3
- package/docs/models/operations/getloansummarysourcetype.md +12 -0
- package/docs/models/operations/getpulloperationrequest.md +4 -4
- package/docs/models/operations/getpulloperationresponse.md +3 -3
- package/docs/models/operations/isagedcreditorsreportavailablerequest.md +1 -1
- package/docs/models/operations/isagedcreditorsreportavailableresponse.md +3 -3
- package/docs/models/operations/isageddebtorsreportavailablerequest.md +1 -1
- package/docs/models/operations/isageddebtorsreportavailableresponse.md +6 -6
- package/docs/models/operations/listaccountingaccountsrequest.md +1 -1
- package/docs/models/operations/listaccountingaccountsresponse.md +3 -3
- package/docs/models/operations/listaccountingaccounttransactionsrequest.md +2 -2
- package/docs/models/operations/listaccountingaccounttransactionsresponse.md +3 -3
- package/docs/models/operations/listaccountingbankaccountsrequest.md +2 -2
- package/docs/models/operations/listaccountingbankaccountsresponse.md +3 -3
- package/docs/models/operations/listaccountingbankaccounttransactionsrequest.md +3 -3
- package/docs/models/operations/listaccountingbankaccounttransactionsresponse.md +3 -3
- package/docs/models/operations/listaccountingbillattachmentsrequest.md +3 -3
- package/docs/models/operations/listaccountingbillattachmentsresponse.md +3 -3
- package/docs/models/operations/listaccountingbillcreditnotesrequest.md +1 -1
- package/docs/models/operations/listaccountingbillcreditnotesresponse.md +3 -3
- package/docs/models/operations/listaccountingbillpaymentsrequest.md +1 -1
- package/docs/models/operations/listaccountingbillpaymentsresponse.md +3 -3
- package/docs/models/operations/listaccountingbillsrequest.md +1 -1
- package/docs/models/operations/listaccountingbillsresponse.md +3 -3
- package/docs/models/operations/listaccountingcreditnotesrequest.md +1 -1
- package/docs/models/operations/listaccountingcreditnotesresponse.md +3 -3
- package/docs/models/operations/listaccountingcustomerattachmentsrequest.md +3 -3
- package/docs/models/operations/listaccountingcustomerattachmentsresponse.md +3 -3
- package/docs/models/operations/listaccountingcustomersrequest.md +1 -1
- package/docs/models/operations/listaccountingcustomersresponse.md +3 -3
- package/docs/models/operations/listaccountingdirectcostattachmentsrequest.md +3 -3
- package/docs/models/operations/listaccountingdirectcostattachmentsresponse.md +3 -3
- package/docs/models/operations/listaccountingdirectcostsrequest.md +2 -2
- package/docs/models/operations/listaccountingdirectcostsresponse.md +3 -3
- package/docs/models/operations/listaccountingdirectincomeattachmentsrequest.md +5 -5
- package/docs/models/operations/listaccountingdirectincomeattachmentsresponse.md +3 -3
- package/docs/models/operations/listaccountingdirectincomesrequest.md +2 -2
- package/docs/models/operations/listaccountingdirectincomesresponse.md +3 -3
- package/docs/models/operations/listaccountinginvoiceattachmentsrequest.md +3 -3
- package/docs/models/operations/listaccountinginvoiceattachmentsresponse.md +3 -3
- package/docs/models/operations/listaccountinginvoicesrequest.md +1 -1
- package/docs/models/operations/listaccountinginvoicesresponse.md +3 -3
- package/docs/models/operations/listaccountingjournalentriesrequest.md +1 -1
- package/docs/models/operations/listaccountingjournalentriesresponse.md +3 -3
- package/docs/models/operations/listaccountingjournalsrequest.md +1 -1
- package/docs/models/operations/listaccountingjournalsresponse.md +3 -3
- package/docs/models/operations/listaccountingpaymentsrequest.md +1 -1
- package/docs/models/operations/listaccountingpaymentsresponse.md +3 -3
- package/docs/models/operations/listaccountingsupplierattachmentsrequest.md +3 -3
- package/docs/models/operations/listaccountingsupplierattachmentsresponse.md +3 -3
- package/docs/models/operations/listaccountingsuppliersrequest.md +1 -1
- package/docs/models/operations/listaccountingsuppliersresponse.md +3 -3
- package/docs/models/operations/listaccountingtransfersrequest.md +2 -2
- package/docs/models/operations/listaccountingtransfersresponse.md +3 -3
- package/docs/models/operations/listbankingaccountbalancesrequest.md +2 -2
- package/docs/models/operations/listbankingaccountbalancesresponse.md +3 -3
- package/docs/models/operations/listbankingaccountsrequest.md +2 -2
- package/docs/models/operations/listbankingaccountsresponse.md +3 -3
- package/docs/models/operations/listbankingtransactioncategoriesrequest.md +2 -2
- package/docs/models/operations/listbankingtransactioncategoriesresponse.md +3 -3
- package/docs/models/operations/listbankingtransactionsrequest.md +2 -2
- package/docs/models/operations/listbankingtransactionsresponse.md +3 -3
- package/docs/models/operations/listcommercecustomersrequest.md +2 -2
- package/docs/models/operations/listcommercecustomersresponse.md +3 -3
- package/docs/models/operations/listcommercedisputesrequest.md +2 -2
- package/docs/models/operations/listcommercedisputesresponse.md +3 -3
- package/docs/models/operations/listcommercelocationsrequest.md +2 -2
- package/docs/models/operations/listcommercelocationsresponse.md +3 -3
- package/docs/models/operations/listcommerceordersrequest.md +2 -2
- package/docs/models/operations/listcommerceordersresponse.md +3 -3
- package/docs/models/operations/listcommercepaymentmethodsrequest.md +2 -2
- package/docs/models/operations/listcommercepaymentmethodsresponse.md +3 -3
- package/docs/models/operations/listcommercepaymentsrequest.md +2 -2
- package/docs/models/operations/listcommercepaymentsresponse.md +3 -3
- package/docs/models/operations/listcommerceproductcategoriesrequest.md +2 -2
- package/docs/models/operations/listcommerceproductcategoriesresponse.md +3 -3
- package/docs/models/operations/listcommerceproductsrequest.md +2 -2
- package/docs/models/operations/listcommerceproductsresponse.md +3 -3
- package/docs/models/operations/listcommercetransactionsrequest.md +2 -2
- package/docs/models/operations/listcommercetransactionsresponse.md +3 -3
- package/docs/models/operations/listcompaniesresponse.md +3 -3
- package/docs/models/operations/listconnectionsrequest.md +1 -1
- package/docs/models/operations/listconnectionsresponse.md +3 -3
- package/docs/models/operations/listcreateoperationsrequest.md +12 -0
- package/docs/models/operations/listcreateoperationsresponse.md +12 -0
- package/docs/models/operations/listdataintegritydetailsrequest.md +1 -1
- package/docs/models/operations/listdataintegritydetailsresponse.md +3 -3
- package/docs/models/operations/listfilesrequest.md +1 -1
- package/docs/models/operations/listfilesresponse.md +3 -3
- package/docs/models/operations/listloantransactionsrequest.md +2 -2
- package/docs/models/operations/listloantransactionsresponse.md +3 -3
- package/docs/models/operations/listloantransactionssourcetype.md +1 -1
- package/docs/models/operations/listpulloperationsrequest.md +1 -1
- package/docs/models/operations/listpulloperationsresponse.md +3 -3
- package/docs/models/operations/listreconciledinvoicesrequest.md +1 -1
- package/docs/models/operations/listreconciledinvoicesresponse.md +3 -3
- package/docs/models/operations/refreshalldatatypesrequest.md +1 -1
- package/docs/models/operations/refreshalldatatypesresponse.md +3 -3
- package/docs/models/operations/refreshdatatyperequest.md +1 -1
- package/docs/models/operations/refreshdatatyperesponse.md +3 -3
- package/docs/models/operations/unlinkconnectionrequest.md +2 -2
- package/docs/models/operations/unlinkconnectionresponse.md +3 -3
- package/docs/models/operations/updatecompanyrequest.md +1 -1
- package/docs/models/operations/updatecompanyresponse.md +3 -3
- package/docs/models/operations/uploadfilesrequest.md +2 -2
- package/docs/models/operations/uploadfilesresponse.md +3 -3
- package/docs/models/shared/accountingaccount.md +3 -2
- package/docs/models/shared/accountingaccounts.md +3 -3
- package/docs/models/shared/accountingaccounttransaction.md +2 -2
- package/docs/models/shared/accountingaccounttransactions.md +3 -3
- package/docs/models/shared/accountingagedcreditorreport.md +1 -1
- package/docs/models/shared/accountingageddebtorreport.md +1 -1
- package/docs/models/shared/accountingattachment.md +1 -1
- package/docs/models/shared/accountingbankaccount.md +3 -2
- package/docs/models/shared/accountingbankaccounts.md +3 -3
- package/docs/models/shared/accountingbanktransaction.md +8 -8
- package/docs/models/shared/accountingbanktransactions.md +3 -3
- package/docs/models/shared/accountingbill.md +2 -2
- package/docs/models/shared/accountingbillcreditnote.md +3 -3
- package/docs/models/shared/accountingbillcreditnotes.md +3 -3
- package/docs/models/shared/accountingbillpayment.md +5 -5
- package/docs/models/shared/accountingbillpayments.md +3 -3
- package/docs/models/shared/accountingbills.md +3 -3
- package/docs/models/shared/accountingbillwithholdingtax.md +4 -4
- package/docs/models/shared/accountingcompanyinfo.md +1 -0
- package/docs/models/shared/accountingcreateaccountresponse.md +21 -0
- package/docs/models/shared/accountingcreatebanktransactions.md +9 -0
- package/docs/models/shared/accountingcreatebanktransactionsresponse.md +21 -0
- package/docs/models/shared/accountingcreatedirectcostresponse.md +21 -0
- package/docs/models/shared/accountingcreatepaymentresponse.md +21 -0
- package/docs/models/shared/accountingcreatesupplierresponse.md +21 -0
- package/docs/models/shared/accountingcreatetransferresponse.md +21 -0
- package/docs/models/shared/accountingcreditnote.md +4 -4
- package/docs/models/shared/accountingcreditnotes.md +3 -3
- package/docs/models/shared/accountingcustomer.md +1 -1
- package/docs/models/shared/accountingcustomers.md +3 -3
- package/docs/models/shared/accountingdirectcost.md +1 -1
- package/docs/models/shared/accountingdirectcosts.md +3 -3
- package/docs/models/shared/accountingdirectincome.md +2 -2
- package/docs/models/shared/accountingdirectincomes.md +3 -3
- package/docs/models/shared/accountinginvoice.md +6 -6
- package/docs/models/shared/accountinginvoices.md +3 -3
- package/docs/models/shared/accountinginvoicesalesorderreference.md +4 -4
- package/docs/models/shared/accountingjournal.md +2 -2
- package/docs/models/shared/accountingjournalentries.md +3 -3
- package/docs/models/shared/accountingjournalentry.md +2 -2
- package/docs/models/shared/accountingjournals.md +3 -3
- package/docs/models/shared/accountingpayment.md +4 -4
- package/docs/models/shared/accountingpayments.md +3 -3
- package/docs/models/shared/accountingsupplier.md +1 -1
- package/docs/models/shared/accountingsuppliers.md +3 -3
- package/docs/models/shared/accountingtransfer.md +3 -3
- package/docs/models/shared/accountingtransfercontactref.md +4 -4
- package/docs/models/shared/accountingtransfers.md +3 -3
- package/docs/models/shared/accountspayabletracking.md +7 -7
- package/docs/models/shared/accountsreceivabletracking.md +2 -2
- package/docs/models/shared/bankingaccountbalance.md +1 -1
- package/docs/models/shared/bankingaccountbalances.md +3 -3
- package/docs/models/shared/bankingaccounts.md +3 -3
- package/docs/models/shared/bankingtransactioncategories.md +3 -3
- package/docs/models/shared/bankingtransactioncategory.md +1 -1
- package/docs/models/shared/bankingtransactionref.md +6 -6
- package/docs/models/shared/bankingtransactions.md +3 -3
- package/docs/models/shared/banktransactiontype.md +1 -1
- package/docs/models/shared/billedtotype.md +2 -0
- package/docs/models/shared/billedtotype1.md +2 -0
- package/docs/models/shared/billlineitem.md +4 -2
- package/docs/models/shared/billlineitemrecordlinereference.md +12 -0
- package/docs/models/shared/billlineitemrecordlinereferencedatatype.md +10 -0
- package/docs/models/shared/commercecompanyinfo.md +1 -1
- package/docs/models/shared/commercecustomers.md +3 -3
- package/docs/models/shared/commercedispute.md +1 -1
- package/docs/models/shared/commercedisputes.md +3 -3
- package/docs/models/shared/commercelocations.md +3 -3
- package/docs/models/shared/commerceorder.md +5 -5
- package/docs/models/shared/commerceorders.md +3 -3
- package/docs/models/shared/commercepayment.md +3 -2
- package/docs/models/shared/commercepaymentmethod.md +7 -7
- package/docs/models/shared/commercepaymentmethods.md +3 -3
- package/docs/models/shared/commercepaymentmethodstatus.md +12 -0
- package/docs/models/shared/commercepayments.md +3 -3
- package/docs/models/shared/commerceproduct.md +9 -8
- package/docs/models/shared/commerceproductcategories.md +3 -3
- package/docs/models/shared/commerceproducts.md +3 -3
- package/docs/models/shared/commercereportcomponent.md +4 -4
- package/docs/models/shared/commercereportdimension.md +3 -3
- package/docs/models/shared/commercereportdimensionitems.md +3 -3
- package/docs/models/shared/commercereporterror.md +5 -5
- package/docs/models/shared/commercereportmeasure.md +6 -6
- package/docs/models/shared/commercetransaction.md +1 -0
- package/docs/models/shared/commercetransactions.md +3 -3
- package/docs/models/shared/companies.md +3 -3
- package/docs/models/shared/company.md +2 -2
- package/docs/models/shared/connection.md +2 -2
- package/docs/models/shared/connections.md +3 -3
- package/docs/models/shared/contactref.md +4 -4
- package/docs/models/shared/createbankaccounttransaction.md +12 -0
- package/docs/models/shared/creditnotelineitem.md +1 -1
- package/docs/models/shared/creditnotestatus.md +2 -0
- package/docs/models/shared/dataconnectionerror.md +3 -3
- package/docs/models/shared/dataintegritydetails.md +3 -3
- package/docs/models/shared/datastatus.md +4 -4
- package/docs/models/shared/datastatusdatatypes.md +51 -0
- package/docs/models/shared/enhancedcashflowtransaction.md +1 -1
- package/docs/models/shared/enhancedcashflowtransactions.md +5 -5
- package/docs/models/shared/enhancedinvoicereportitem.md +4 -4
- package/docs/models/shared/enhancedinvoicesreport.md +1 -1
- package/docs/models/shared/errormessage.md +8 -8
- package/docs/models/shared/file.md +3 -3
- package/docs/models/shared/halref.md +3 -3
- package/docs/models/shared/invoicelineitem.md +1 -1
- package/docs/models/shared/items.md +4 -4
- package/docs/models/shared/lendingcustomerref.md +4 -4
- package/docs/models/shared/loansummaryreportitem.md +1 -0
- package/docs/models/shared/orderdiscountallocation.md +4 -4
- package/docs/models/shared/orderlineitem.md +5 -5
- package/docs/models/shared/payment.md +3 -3
- package/docs/models/shared/paymentmethodref.md +11 -0
- package/docs/models/shared/productinventory.md +1 -1
- package/docs/models/shared/productinventorylocation.md +1 -1
- package/docs/models/shared/productprice.md +1 -1
- package/docs/models/shared/productref.md +4 -4
- package/docs/models/shared/productvariant.md +1 -1
- package/docs/models/shared/productvariantref.md +4 -4
- package/docs/models/shared/productvariantstatus.md +2 -0
- package/docs/models/shared/projectref.md +4 -4
- package/docs/models/shared/pulloperation.md +10 -8
- package/docs/models/shared/pulloperations.md +3 -3
- package/docs/models/shared/pulloperationstatus.md +2 -0
- package/docs/models/shared/pushchangetype.md +14 -0
- package/docs/models/shared/pushfieldvalidation.md +10 -0
- package/docs/models/shared/pushoperation.md +20 -0
- package/docs/models/shared/pushoperationchange.md +10 -0
- package/docs/models/shared/pushoperationref.md +9 -0
- package/docs/models/shared/pushoperations.md +12 -0
- package/docs/models/shared/pushoperationstatus.md +13 -0
- package/docs/models/shared/pushoption.md +14 -0
- package/docs/models/shared/pushoptionchoice.md +12 -0
- package/docs/models/shared/pushoptionproperty.md +14 -0
- package/docs/models/shared/pushoptiontype.md +17 -0
- package/docs/models/shared/pushvalidationinfo.md +9 -0
- package/docs/models/shared/reportcomponentmeasure.md +5 -5
- package/docs/models/shared/reportinfo.md +3 -3
- package/docs/models/shared/reportitems.md +2 -1
- package/docs/models/shared/reportitemsloantransactiontype.md +2 -0
- package/docs/models/shared/servicecharge.md +1 -1
- package/docs/models/shared/trackingcategoryref.md +4 -4
- package/docs/models/shared/transactioncategorystatus.md +2 -0
- package/docs/models/shared/transactionsourceref.md +1 -1
- package/docs/models/shared/transactionsourcetype.md +2 -0
- package/docs/models/shared/transferaccount.md +2 -0
- package/docs/models/shared/validation.md +11 -0
- package/docs/models/shared/validationitem.md +10 -0
- package/docs/models/webhooks/accountcategoriesupdatedresponse.md +5 -5
- package/docs/models/webhooks/clientratelimitreachedresponse.md +5 -5
- package/docs/models/webhooks/clientratelimitresetresponse.md +5 -5
- package/docs/sdks/accountingbankdata/README.md +21 -20
- package/docs/sdks/accountingbankdataaccounts/README.md +37 -35
- package/docs/sdks/accountspayable/README.md +1 -0
- package/docs/sdks/accountspayablebillcreditnotes/README.md +35 -33
- package/docs/sdks/accountspayablebillpayments/README.md +35 -33
- package/docs/sdks/accountspayablebills/README.md +85 -80
- package/docs/sdks/accountspayablesuppliers/README.md +85 -80
- package/docs/sdks/accountsreceivable/README.md +1 -0
- package/docs/sdks/accountsreceivablecreditnotes/README.md +35 -33
- package/docs/sdks/accountsreceivablecustomers/README.md +85 -80
- package/docs/sdks/accountsreceivabledirectincomes/README.md +87 -83
- package/docs/sdks/accountsreceivableinvoices/README.md +114 -108
- package/docs/sdks/accountsreceivablepayments/README.md +35 -33
- package/docs/sdks/accountsreceivablereports/README.md +54 -49
- package/docs/sdks/banking/README.md +1 -0
- package/docs/sdks/bankingaccountbalances/README.md +21 -20
- package/docs/sdks/bankingaccounts/README.md +37 -35
- package/docs/sdks/bankingcategorizedstatement/README.md +19 -18
- package/docs/sdks/bankingtransactioncategories/README.md +37 -35
- package/docs/sdks/bankingtransactions/README.md +37 -35
- package/docs/sdks/codatlending/README.md +1 -0
- package/docs/sdks/companies/README.md +67 -62
- package/docs/sdks/companyinfo/README.md +26 -23
- package/docs/sdks/connections/README.md +75 -72
- package/docs/sdks/dataintegrity/README.md +42 -40
- package/docs/sdks/excelreports/README.md +37 -33
- package/docs/sdks/fileupload/README.md +44 -40
- package/docs/sdks/financialstatements/README.md +1 -0
- package/docs/sdks/financialstatementsaccounts/README.md +35 -33
- package/docs/sdks/financialstatementsbalancesheet/README.md +32 -30
- package/docs/sdks/financialstatementscashflow/README.md +18 -16
- package/docs/sdks/financialstatementsprofitandloss/README.md +32 -30
- package/docs/sdks/liabilities/README.md +126 -24
- package/docs/sdks/loanwriteback/README.md +5 -0
- package/docs/sdks/loanwritebackaccounts/README.md +137 -0
- package/docs/sdks/loanwritebackbanktransactions/README.md +117 -0
- package/docs/sdks/loanwritebackcreateoperations/README.md +91 -0
- package/docs/sdks/loanwritebackdirectcosts/README.md +168 -0
- package/docs/sdks/loanwritebackpayments/README.md +140 -0
- package/docs/sdks/loanwritebacksuppliers/README.md +127 -0
- package/docs/sdks/loanwritebacktransfers/README.md +143 -0
- package/docs/sdks/managedata/README.md +12 -10
- package/docs/sdks/managedatapulloperations/README.md +32 -30
- package/docs/sdks/managedatarefresh/README.md +26 -24
- package/docs/sdks/sales/README.md +1 -0
- package/docs/sdks/salescustomers/README.md +37 -35
- package/docs/sdks/salesdisputes/README.md +37 -35
- package/docs/sdks/saleslocations/README.md +34 -31
- package/docs/sdks/salesmetrics/README.md +53 -52
- package/docs/sdks/salesorders/README.md +37 -35
- package/docs/sdks/salespaymentmethods/README.md +37 -35
- package/docs/sdks/salespayments/README.md +37 -35
- package/docs/sdks/salesproductcategories/README.md +37 -35
- package/docs/sdks/salesproducts/README.md +37 -35
- package/docs/sdks/salesreports/README.md +36 -35
- package/docs/sdks/salestransactions/README.md +37 -35
- package/docs/sdks/transactions/README.md +1 -0
- package/docs/sdks/transactionsaccounttransactions/README.md +37 -35
- package/docs/sdks/transactionsdirectcosts/README.md +87 -82
- package/docs/sdks/transactionsjournalentries/README.md +35 -33
- package/docs/sdks/transactionsjournals/README.md +35 -33
- package/docs/sdks/transactionstransfers/README.md +37 -35
- package/package.json +5 -2
- package/dist/sdk/models/shared/paymentmethodstatus.d.ts +0 -8
- package/dist/sdk/models/shared/paymentmethodstatus.js +0 -15
- package/docs/models/shared/commerceordersupplementaldata.md +0 -12
- package/docs/models/shared/paymentmethodstatus.md +0 -12
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
#
|
|
1
|
+
# FinancialStatementsProfitAndLoss
|
|
2
|
+
(*financialStatements.profitAndLoss*)
|
|
2
3
|
|
|
3
4
|
### Available Operations
|
|
4
5
|
|
|
@@ -13,24 +14,25 @@ Gets the latest profit and loss for a company.
|
|
|
13
14
|
|
|
14
15
|
```typescript
|
|
15
16
|
import { CodatLending } from "@codat/lending";
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
const sdk = new CodatLending({
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
});
|
|
23
|
-
|
|
24
|
-
sdk.financialStatements.profitAndLoss.get({
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
})
|
|
17
|
+
|
|
18
|
+
(async() => {
|
|
19
|
+
const sdk = new CodatLending({
|
|
20
|
+
security: {
|
|
21
|
+
authHeader: "Basic BASE_64_ENCODED(API_KEY)",
|
|
22
|
+
},
|
|
23
|
+
});
|
|
24
|
+
|
|
25
|
+
const res = await sdk.financialStatements.profitAndLoss.get({
|
|
26
|
+
companyId: "8a210b68-6988-11ed-a1eb-0242ac120002",
|
|
27
|
+
periodLength: 4,
|
|
28
|
+
periodsToCompare: 20,
|
|
29
|
+
startMonth: "2022-10-23T00:00:00.000Z",
|
|
30
|
+
});
|
|
31
|
+
|
|
30
32
|
if (res.statusCode == 200) {
|
|
31
33
|
// handle response
|
|
32
34
|
}
|
|
33
|
-
});
|
|
35
|
+
})();
|
|
34
36
|
```
|
|
35
37
|
|
|
36
38
|
### Parameters
|
|
@@ -57,23 +59,23 @@ Codat suggests a category for each account automatically, but you can [change it
|
|
|
57
59
|
|
|
58
60
|
```typescript
|
|
59
61
|
import { CodatLending } from "@codat/lending";
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
const sdk = new CodatLending({
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
});
|
|
67
|
-
|
|
68
|
-
sdk.financialStatements.profitAndLoss.getCategorizedAccounts({
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
62
|
+
|
|
63
|
+
(async() => {
|
|
64
|
+
const sdk = new CodatLending({
|
|
65
|
+
security: {
|
|
66
|
+
authHeader: "Basic BASE_64_ENCODED(API_KEY)",
|
|
67
|
+
},
|
|
68
|
+
});
|
|
69
|
+
|
|
70
|
+
const res = await sdk.financialStatements.profitAndLoss.getCategorizedAccounts({
|
|
71
|
+
companyId: "8a210b68-6988-11ed-a1eb-0242ac120002",
|
|
72
|
+
reportDate: "29-09-2020",
|
|
73
|
+
});
|
|
74
|
+
|
|
73
75
|
if (res.statusCode == 200) {
|
|
74
76
|
// handle response
|
|
75
77
|
}
|
|
76
|
-
});
|
|
78
|
+
})();
|
|
77
79
|
```
|
|
78
80
|
|
|
79
81
|
### Parameters
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
# Liabilities
|
|
2
|
+
(*liabilities*)
|
|
2
3
|
|
|
3
4
|
## Overview
|
|
4
5
|
|
|
@@ -6,12 +7,108 @@ Debt and other liabilities.
|
|
|
6
7
|
|
|
7
8
|
### Available Operations
|
|
8
9
|
|
|
10
|
+
* [generateLoanSummary](#generateloansummary) - Generate loan summaries report
|
|
11
|
+
* [generateLoanTransactions](#generateloantransactions) - Generate loan transactions report
|
|
9
12
|
* [getLoanSummary](#getloansummary) - Get loan summaries
|
|
10
13
|
* [listLoanTransactions](#listloantransactions) - List loan transactions
|
|
11
14
|
|
|
15
|
+
## generateLoanSummary
|
|
16
|
+
|
|
17
|
+
The _Generate loan summaries_ endpoint requests the generation of the Loan Summaries report.
|
|
18
|
+
|
|
19
|
+
Learn more about Codat's liabilities feature [here](https://docs.codat.io/lending/features/liabilities-overview).
|
|
20
|
+
|
|
21
|
+
Make sure you have [synced a company](https://docs.codat.io/lending-api#/operations/refresh-company-data) recently before calling the endpoint.
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
### Example Usage
|
|
25
|
+
|
|
26
|
+
```typescript
|
|
27
|
+
import { CodatLending } from "@codat/lending";
|
|
28
|
+
import { GenerateLoanSummarySourceType } from "@codat/lending/dist/sdk/models/operations";
|
|
29
|
+
|
|
30
|
+
(async() => {
|
|
31
|
+
const sdk = new CodatLending({
|
|
32
|
+
security: {
|
|
33
|
+
authHeader: "Basic BASE_64_ENCODED(API_KEY)",
|
|
34
|
+
},
|
|
35
|
+
});
|
|
36
|
+
|
|
37
|
+
const res = await sdk.liabilities.generateLoanSummary({
|
|
38
|
+
companyId: "8a210b68-6988-11ed-a1eb-0242ac120002",
|
|
39
|
+
sourceType: GenerateLoanSummarySourceType.Accounting,
|
|
40
|
+
});
|
|
41
|
+
|
|
42
|
+
if (res.statusCode == 200) {
|
|
43
|
+
// handle response
|
|
44
|
+
}
|
|
45
|
+
})();
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
### Parameters
|
|
49
|
+
|
|
50
|
+
| Parameter | Type | Required | Description |
|
|
51
|
+
| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- |
|
|
52
|
+
| `request` | [operations.GenerateLoanSummaryRequest](../../models/operations/generateloansummaryrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
53
|
+
| `retries` | [utils.RetryConfig](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. |
|
|
54
|
+
| `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
### Response
|
|
58
|
+
|
|
59
|
+
**Promise<[operations.GenerateLoanSummaryResponse](../../models/operations/generateloansummaryresponse.md)>**
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
## generateLoanTransactions
|
|
63
|
+
|
|
64
|
+
The _Generate loan transactions_ endpoint requests the generation of the Loan Transactions report.
|
|
65
|
+
|
|
66
|
+
Learn more about Codat's liabilities feature [here](https://docs.codat.io/lending/features/liabilities-overview).
|
|
67
|
+
|
|
68
|
+
Make sure you have [synced a company](https://docs.codat.io/lending-api#/operations/refresh-company-data) recently before calling the endpoint.
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
### Example Usage
|
|
72
|
+
|
|
73
|
+
```typescript
|
|
74
|
+
import { CodatLending } from "@codat/lending";
|
|
75
|
+
import { GenerateLoanTransactionsSourceType } from "@codat/lending/dist/sdk/models/operations";
|
|
76
|
+
|
|
77
|
+
(async() => {
|
|
78
|
+
const sdk = new CodatLending({
|
|
79
|
+
security: {
|
|
80
|
+
authHeader: "Basic BASE_64_ENCODED(API_KEY)",
|
|
81
|
+
},
|
|
82
|
+
});
|
|
83
|
+
|
|
84
|
+
const res = await sdk.liabilities.generateLoanTransactions({
|
|
85
|
+
companyId: "8a210b68-6988-11ed-a1eb-0242ac120002",
|
|
86
|
+
sourceType: GenerateLoanTransactionsSourceType.Accounting,
|
|
87
|
+
});
|
|
88
|
+
|
|
89
|
+
if (res.statusCode == 200) {
|
|
90
|
+
// handle response
|
|
91
|
+
}
|
|
92
|
+
})();
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
### Parameters
|
|
96
|
+
|
|
97
|
+
| Parameter | Type | Required | Description |
|
|
98
|
+
| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- |
|
|
99
|
+
| `request` | [operations.GenerateLoanTransactionsRequest](../../models/operations/generateloantransactionsrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
100
|
+
| `retries` | [utils.RetryConfig](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. |
|
|
101
|
+
| `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
### Response
|
|
105
|
+
|
|
106
|
+
**Promise<[operations.GenerateLoanTransactionsResponse](../../models/operations/generateloantransactionsresponse.md)>**
|
|
107
|
+
|
|
108
|
+
|
|
12
109
|
## getLoanSummary
|
|
13
110
|
|
|
14
|
-
The *Get loan summaries* endpoint returns a summary by integration type of all loans identified
|
|
111
|
+
The *Get loan summaries* endpoint returns a summary by integration type of all loans identified from a company's accounting, banking, and commerce integrations.
|
|
15
112
|
|
|
16
113
|
The endpoint returns a list of a company's [loan summaries](https://docs.codat.io/lending-api#/schemas/LoanSummary) for each valid data connection.
|
|
17
114
|
|
|
@@ -22,21 +119,24 @@ Make sure you have [synced a company](https://docs.codat.io/lending-api#/operati
|
|
|
22
119
|
|
|
23
120
|
```typescript
|
|
24
121
|
import { CodatLending } from "@codat/lending";
|
|
25
|
-
import {
|
|
122
|
+
import { GetLoanSummarySourceType } from "@codat/lending/dist/sdk/models/operations";
|
|
123
|
+
|
|
124
|
+
(async() => {
|
|
125
|
+
const sdk = new CodatLending({
|
|
126
|
+
security: {
|
|
127
|
+
authHeader: "Basic BASE_64_ENCODED(API_KEY)",
|
|
128
|
+
},
|
|
129
|
+
});
|
|
26
130
|
|
|
27
|
-
const
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
}
|
|
31
|
-
});
|
|
131
|
+
const res = await sdk.liabilities.getLoanSummary({
|
|
132
|
+
companyId: "8a210b68-6988-11ed-a1eb-0242ac120002",
|
|
133
|
+
sourceType: GetLoanSummarySourceType.Banking,
|
|
134
|
+
});
|
|
32
135
|
|
|
33
|
-
sdk.liabilities.getLoanSummary({
|
|
34
|
-
companyId: "8a210b68-6988-11ed-a1eb-0242ac120002",
|
|
35
|
-
}).then((res: GetLoanSummaryResponse) => {
|
|
36
136
|
if (res.statusCode == 200) {
|
|
37
137
|
// handle response
|
|
38
138
|
}
|
|
39
|
-
});
|
|
139
|
+
})();
|
|
40
140
|
```
|
|
41
141
|
|
|
42
142
|
### Parameters
|
|
@@ -66,22 +166,24 @@ Make sure you have [synced a company](https://docs.codat.io/lending-api#/operati
|
|
|
66
166
|
|
|
67
167
|
```typescript
|
|
68
168
|
import { CodatLending } from "@codat/lending";
|
|
69
|
-
import {
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
169
|
+
import { ListLoanTransactionsSourceType } from "@codat/lending/dist/sdk/models/operations";
|
|
170
|
+
|
|
171
|
+
(async() => {
|
|
172
|
+
const sdk = new CodatLending({
|
|
173
|
+
security: {
|
|
174
|
+
authHeader: "Basic BASE_64_ENCODED(API_KEY)",
|
|
175
|
+
},
|
|
176
|
+
});
|
|
177
|
+
|
|
178
|
+
const res = await sdk.liabilities.listLoanTransactions({
|
|
179
|
+
companyId: "8a210b68-6988-11ed-a1eb-0242ac120002",
|
|
180
|
+
sourceType: ListLoanTransactionsSourceType.Commerce,
|
|
181
|
+
});
|
|
182
|
+
|
|
81
183
|
if (res.statusCode == 200) {
|
|
82
184
|
// handle response
|
|
83
185
|
}
|
|
84
|
-
});
|
|
186
|
+
})();
|
|
85
187
|
```
|
|
86
188
|
|
|
87
189
|
### Parameters
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
# LoanWritebackAccounts
|
|
2
|
+
(*loanWriteback.accounts*)
|
|
3
|
+
|
|
4
|
+
### Available Operations
|
|
5
|
+
|
|
6
|
+
* [create](#create) - Create account
|
|
7
|
+
* [getCreateModel](#getcreatemodel) - Get create account model
|
|
8
|
+
|
|
9
|
+
## create
|
|
10
|
+
|
|
11
|
+
The *Create account* endpoint creates a new [account](https://docs.codat.io/lending-api#/schemas/Account) for a given company's connection.
|
|
12
|
+
|
|
13
|
+
[Accounts](https://docs.codat.io/lending-api#/schemas/Account) are the categories a business uses to record accounting transactions.
|
|
14
|
+
|
|
15
|
+
**Integration-specific behaviour**
|
|
16
|
+
|
|
17
|
+
Required data may vary by integration. To see what data to post, first call [Get create account model](https://docs.codat.io/lending-api#/operations/get-create-chartOfAccounts-model).
|
|
18
|
+
|
|
19
|
+
Check out our [coverage explorer](https://knowledge.codat.io/supported-features/accounting?view=tab-by-data-type&dataType=chartOfAccounts) for integrations that support creating an account.
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
### Example Usage
|
|
23
|
+
|
|
24
|
+
```typescript
|
|
25
|
+
import { CodatLending } from "@codat/lending";
|
|
26
|
+
import { AccountStatus, AccountType } from "@codat/lending/dist/sdk/models/shared";
|
|
27
|
+
|
|
28
|
+
(async() => {
|
|
29
|
+
const sdk = new CodatLending({
|
|
30
|
+
security: {
|
|
31
|
+
authHeader: "Basic BASE_64_ENCODED(API_KEY)",
|
|
32
|
+
},
|
|
33
|
+
});
|
|
34
|
+
|
|
35
|
+
const res = await sdk.loanWriteback.accounts.create({
|
|
36
|
+
accountingAccount: {
|
|
37
|
+
currency: "USD",
|
|
38
|
+
currentBalance: 0,
|
|
39
|
+
description: "Invoices the business has issued but has not yet collected payment on.",
|
|
40
|
+
fullyQualifiedCategory: "Asset.Current",
|
|
41
|
+
fullyQualifiedName: "Cash On Hand",
|
|
42
|
+
id: "1b6266d1-1e44-46c5-8eb5-a8f98e03124e",
|
|
43
|
+
metadata: {},
|
|
44
|
+
modifiedDate: "2022-10-23T00:00:00.000Z",
|
|
45
|
+
name: "Accounts Receivable",
|
|
46
|
+
nominalCode: "610",
|
|
47
|
+
sourceModifiedDate: "2022-10-23T00:00:00.000Z",
|
|
48
|
+
status: AccountStatus.Active,
|
|
49
|
+
supplementalData: {
|
|
50
|
+
content: {
|
|
51
|
+
"Money": {
|
|
52
|
+
"blue": "shred",
|
|
53
|
+
},
|
|
54
|
+
},
|
|
55
|
+
},
|
|
56
|
+
type: AccountType.Asset,
|
|
57
|
+
validDatatypeLinks: [
|
|
58
|
+
{
|
|
59
|
+
links: [
|
|
60
|
+
"abnormally",
|
|
61
|
+
],
|
|
62
|
+
},
|
|
63
|
+
],
|
|
64
|
+
},
|
|
65
|
+
companyId: "8a210b68-6988-11ed-a1eb-0242ac120002",
|
|
66
|
+
connectionId: "2e9d2c44-f675-40ba-8049-353bfcb5e171",
|
|
67
|
+
});
|
|
68
|
+
|
|
69
|
+
if (res.statusCode == 200) {
|
|
70
|
+
// handle response
|
|
71
|
+
}
|
|
72
|
+
})();
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
### Parameters
|
|
76
|
+
|
|
77
|
+
| Parameter | Type | Required | Description |
|
|
78
|
+
| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- |
|
|
79
|
+
| `request` | [operations.CreateAccountRequest](../../models/operations/createaccountrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
80
|
+
| `retries` | [utils.RetryConfig](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. |
|
|
81
|
+
| `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
### Response
|
|
85
|
+
|
|
86
|
+
**Promise<[operations.CreateAccountResponse](../../models/operations/createaccountresponse.md)>**
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
## getCreateModel
|
|
90
|
+
|
|
91
|
+
The *Get create account model* endpoint returns the expected data for the request payload when creating an [account](https://docs.codat.io/lending-api#/schemas/Account) for a given company and integration.
|
|
92
|
+
|
|
93
|
+
[Accounts](https://docs.codat.io/lending-api#/schemas/Account) are the categories a business uses to record accounting transactions.
|
|
94
|
+
|
|
95
|
+
**Integration-specific behaviour**
|
|
96
|
+
|
|
97
|
+
See the *response examples* for integration-specific indicative models.
|
|
98
|
+
|
|
99
|
+
Check out our [coverage explorer](https://knowledge.codat.io/supported-features/accounting?view=tab-by-data-type&dataType=chartOfAccounts) for integrations that support creating an account.
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
### Example Usage
|
|
103
|
+
|
|
104
|
+
```typescript
|
|
105
|
+
import { CodatLending } from "@codat/lending";
|
|
106
|
+
|
|
107
|
+
(async() => {
|
|
108
|
+
const sdk = new CodatLending({
|
|
109
|
+
security: {
|
|
110
|
+
authHeader: "Basic BASE_64_ENCODED(API_KEY)",
|
|
111
|
+
},
|
|
112
|
+
});
|
|
113
|
+
|
|
114
|
+
const res = await sdk.loanWriteback.accounts.getCreateModel({
|
|
115
|
+
companyId: "8a210b68-6988-11ed-a1eb-0242ac120002",
|
|
116
|
+
connectionId: "2e9d2c44-f675-40ba-8049-353bfcb5e171",
|
|
117
|
+
});
|
|
118
|
+
|
|
119
|
+
if (res.statusCode == 200) {
|
|
120
|
+
// handle response
|
|
121
|
+
}
|
|
122
|
+
})();
|
|
123
|
+
```
|
|
124
|
+
|
|
125
|
+
### Parameters
|
|
126
|
+
|
|
127
|
+
| Parameter | Type | Required | Description |
|
|
128
|
+
| ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ |
|
|
129
|
+
| `request` | [operations.GetCreateChartOfAccountsModelRequest](../../models/operations/getcreatechartofaccountsmodelrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
130
|
+
| `retries` | [utils.RetryConfig](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. |
|
|
131
|
+
| `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
### Response
|
|
135
|
+
|
|
136
|
+
**Promise<[operations.GetCreateChartOfAccountsModelResponse](../../models/operations/getcreatechartofaccountsmodelresponse.md)>**
|
|
137
|
+
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
# LoanWritebackBankTransactions
|
|
2
|
+
(*loanWriteback.bankTransactions*)
|
|
3
|
+
|
|
4
|
+
### Available Operations
|
|
5
|
+
|
|
6
|
+
* [create](#create) - Create bank account transactions
|
|
7
|
+
* [getCreateModel](#getcreatemodel) - Get create bank account transactions model
|
|
8
|
+
|
|
9
|
+
## create
|
|
10
|
+
|
|
11
|
+
The *Create bank account transactions* endpoint creates new [bank account transactions](https://docs.codat.io/lending-api#/schemas/BankTransactions) for a given company's connection.
|
|
12
|
+
|
|
13
|
+
[Bank account transactions](https://docs.codat.io/lending-api#/schemas/BankTransactions) are records of money that has moved in and out of an SMB's bank account.
|
|
14
|
+
|
|
15
|
+
**Integration-specific behaviour**
|
|
16
|
+
|
|
17
|
+
Required data may vary by integration. To see what data to post, first call [Get create bank transaction model](https://docs.codat.io/lending-api#/operations/get-create-bankTransactions-model).
|
|
18
|
+
|
|
19
|
+
Check out our [coverage explorer](https://knowledge.codat.io/supported-features/accounting?view=tab-by-data-type&dataType=bankTransactions) for integrations that support creating a bank account transactions.
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
### Example Usage
|
|
23
|
+
|
|
24
|
+
```typescript
|
|
25
|
+
import { CodatLending } from "@codat/lending";
|
|
26
|
+
|
|
27
|
+
(async() => {
|
|
28
|
+
const sdk = new CodatLending({
|
|
29
|
+
security: {
|
|
30
|
+
authHeader: "Basic BASE_64_ENCODED(API_KEY)",
|
|
31
|
+
},
|
|
32
|
+
});
|
|
33
|
+
|
|
34
|
+
const res = await sdk.loanWriteback.bankTransactions.create({
|
|
35
|
+
accountingCreateBankTransactions: {
|
|
36
|
+
accountId: "7110701885",
|
|
37
|
+
transactions: [
|
|
38
|
+
{
|
|
39
|
+
date: "2022-10-23T00:00:00.000Z",
|
|
40
|
+
},
|
|
41
|
+
],
|
|
42
|
+
},
|
|
43
|
+
accountId: "Extended South",
|
|
44
|
+
companyId: "8a210b68-6988-11ed-a1eb-0242ac120002",
|
|
45
|
+
connectionId: "2e9d2c44-f675-40ba-8049-353bfcb5e171",
|
|
46
|
+
});
|
|
47
|
+
|
|
48
|
+
if (res.statusCode == 200) {
|
|
49
|
+
// handle response
|
|
50
|
+
}
|
|
51
|
+
})();
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
### Parameters
|
|
55
|
+
|
|
56
|
+
| Parameter | Type | Required | Description |
|
|
57
|
+
| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- |
|
|
58
|
+
| `request` | [operations.CreateBankTransactionsRequest](../../models/operations/createbanktransactionsrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
59
|
+
| `retries` | [utils.RetryConfig](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. |
|
|
60
|
+
| `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
### Response
|
|
64
|
+
|
|
65
|
+
**Promise<[operations.CreateBankTransactionsResponse](../../models/operations/createbanktransactionsresponse.md)>**
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
## getCreateModel
|
|
69
|
+
|
|
70
|
+
The *Get create bank account transactions model* endpoint returns the expected data for the request payload when creating [bank account transactions](https://docs.codat.io/lending-api#/schemas/BankTransactions) for a given company and integration.
|
|
71
|
+
|
|
72
|
+
[Bank account transactions](https://docs.codat.io/lending-api#/schemas/BankTransactions) are records of money that has moved in and out of an SMB's bank account.
|
|
73
|
+
|
|
74
|
+
**Integration-specific behaviour**
|
|
75
|
+
|
|
76
|
+
See the *response examples* for integration-specific indicative models.
|
|
77
|
+
|
|
78
|
+
Check out our [coverage explorer](https://knowledge.codat.io/supported-features/accounting?view=tab-by-data-type&dataType=bankTransactions) for integrations that support creating an bank transaction.
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
### Example Usage
|
|
82
|
+
|
|
83
|
+
```typescript
|
|
84
|
+
import { CodatLending } from "@codat/lending";
|
|
85
|
+
|
|
86
|
+
(async() => {
|
|
87
|
+
const sdk = new CodatLending({
|
|
88
|
+
security: {
|
|
89
|
+
authHeader: "Basic BASE_64_ENCODED(API_KEY)",
|
|
90
|
+
},
|
|
91
|
+
});
|
|
92
|
+
|
|
93
|
+
const res = await sdk.loanWriteback.bankTransactions.getCreateModel({
|
|
94
|
+
accountId: "Northwest",
|
|
95
|
+
companyId: "8a210b68-6988-11ed-a1eb-0242ac120002",
|
|
96
|
+
connectionId: "2e9d2c44-f675-40ba-8049-353bfcb5e171",
|
|
97
|
+
});
|
|
98
|
+
|
|
99
|
+
if (res.statusCode == 200) {
|
|
100
|
+
// handle response
|
|
101
|
+
}
|
|
102
|
+
})();
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
### Parameters
|
|
106
|
+
|
|
107
|
+
| Parameter | Type | Required | Description |
|
|
108
|
+
| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- |
|
|
109
|
+
| `request` | [operations.GetCreateBankTransactionsModelRequest](../../models/operations/getcreatebanktransactionsmodelrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
110
|
+
| `retries` | [utils.RetryConfig](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. |
|
|
111
|
+
| `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
### Response
|
|
115
|
+
|
|
116
|
+
**Promise<[operations.GetCreateBankTransactionsModelResponse](../../models/operations/getcreatebanktransactionsmodelresponse.md)>**
|
|
117
|
+
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
# LoanWritebackCreateOperations
|
|
2
|
+
(*loanWriteback.createOperations*)
|
|
3
|
+
|
|
4
|
+
### Available Operations
|
|
5
|
+
|
|
6
|
+
* [get](#get) - Get create operation
|
|
7
|
+
* [list](#list) - List create operations
|
|
8
|
+
|
|
9
|
+
## get
|
|
10
|
+
|
|
11
|
+
Retrieve create operation.
|
|
12
|
+
|
|
13
|
+
### Example Usage
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { CodatLending } from "@codat/lending";
|
|
17
|
+
|
|
18
|
+
(async() => {
|
|
19
|
+
const sdk = new CodatLending({
|
|
20
|
+
security: {
|
|
21
|
+
authHeader: "Basic BASE_64_ENCODED(API_KEY)",
|
|
22
|
+
},
|
|
23
|
+
});
|
|
24
|
+
|
|
25
|
+
const res = await sdk.loanWriteback.createOperations.get({
|
|
26
|
+
companyId: "8a210b68-6988-11ed-a1eb-0242ac120002",
|
|
27
|
+
pushOperationKey: "b18d8d81-fd7b-4764-a31e-475cb1f36591",
|
|
28
|
+
});
|
|
29
|
+
|
|
30
|
+
if (res.statusCode == 200) {
|
|
31
|
+
// handle response
|
|
32
|
+
}
|
|
33
|
+
})();
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
### Parameters
|
|
37
|
+
|
|
38
|
+
| Parameter | Type | Required | Description |
|
|
39
|
+
| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- |
|
|
40
|
+
| `request` | [operations.GetCreateOperationRequest](../../models/operations/getcreateoperationrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
41
|
+
| `retries` | [utils.RetryConfig](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. |
|
|
42
|
+
| `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
### Response
|
|
46
|
+
|
|
47
|
+
**Promise<[operations.GetCreateOperationResponse](../../models/operations/getcreateoperationresponse.md)>**
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
## list
|
|
51
|
+
|
|
52
|
+
List create operations.
|
|
53
|
+
|
|
54
|
+
### Example Usage
|
|
55
|
+
|
|
56
|
+
```typescript
|
|
57
|
+
import { CodatLending } from "@codat/lending";
|
|
58
|
+
|
|
59
|
+
(async() => {
|
|
60
|
+
const sdk = new CodatLending({
|
|
61
|
+
security: {
|
|
62
|
+
authHeader: "Basic BASE_64_ENCODED(API_KEY)",
|
|
63
|
+
},
|
|
64
|
+
});
|
|
65
|
+
|
|
66
|
+
const res = await sdk.loanWriteback.createOperations.list({
|
|
67
|
+
companyId: "8a210b68-6988-11ed-a1eb-0242ac120002",
|
|
68
|
+
orderBy: "-modifiedDate",
|
|
69
|
+
page: 1,
|
|
70
|
+
pageSize: 100,
|
|
71
|
+
});
|
|
72
|
+
|
|
73
|
+
if (res.statusCode == 200) {
|
|
74
|
+
// handle response
|
|
75
|
+
}
|
|
76
|
+
})();
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
### Parameters
|
|
80
|
+
|
|
81
|
+
| Parameter | Type | Required | Description |
|
|
82
|
+
| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ |
|
|
83
|
+
| `request` | [operations.ListCreateOperationsRequest](../../models/operations/listcreateoperationsrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
84
|
+
| `retries` | [utils.RetryConfig](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. |
|
|
85
|
+
| `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
### Response
|
|
89
|
+
|
|
90
|
+
**Promise<[operations.ListCreateOperationsResponse](../../models/operations/listcreateoperationsresponse.md)>**
|
|
91
|
+
|