@codat/lending 3.2.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 +98 -83
- 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 +5 -5
- package/dist/sdk/companyinfo.js +2 -2
- package/dist/sdk/connections.js +5 -5
- package/dist/sdk/dataintegrity.js +3 -3
- package/dist/sdk/excelreports.js +3 -3
- package/dist/sdk/fileupload.js +3 -3
- 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 +2 -2
- package/dist/sdk/loanwriteback.js +2 -2
- package/dist/sdk/loanwritebackaccounts.d.ts +5 -5
- package/dist/sdk/loanwritebackaccounts.js +7 -7
- package/dist/sdk/loanwritebackbanktransactions.d.ts +5 -5
- package/dist/sdk/loanwritebackbanktransactions.js +7 -7
- package/dist/sdk/loanwritebackcreateoperations.js +2 -2
- package/dist/sdk/loanwritebackdirectcosts.d.ts +5 -5
- package/dist/sdk/loanwritebackdirectcosts.js +7 -7
- package/dist/sdk/loanwritebackpayments.d.ts +40 -0
- package/dist/sdk/{loanwritebackbankaccounts.js → loanwritebackpayments.js} +27 -26
- package/dist/sdk/loanwritebacksuppliers.d.ts +5 -5
- package/dist/sdk/loanwritebacksuppliers.js +7 -7
- package/dist/sdk/loanwritebacktransfers.d.ts +5 -5
- package/dist/sdk/loanwritebacktransfers.js +7 -7
- 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 +19 -2
- package/dist/sdk/models/operations/createaccount.js +0 -4
- package/dist/sdk/models/operations/createbanktransactions.d.ts +20 -3
- package/dist/sdk/models/operations/createbanktransactions.js +0 -4
- 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 +19 -2
- package/dist/sdk/models/operations/createdirectcost.js +0 -4
- package/dist/sdk/models/operations/createpayment.d.ts +44 -0
- package/dist/sdk/models/operations/{createbankaccount.js → createpayment.js} +23 -27
- package/dist/sdk/models/operations/createsupplier.d.ts +19 -2
- package/dist/sdk/models/operations/createsupplier.js +0 -4
- package/dist/sdk/models/operations/createtransfer.d.ts +19 -2
- package/dist/sdk/models/operations/createtransfer.js +0 -4
- 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 +16 -1
- package/dist/sdk/models/operations/getcreatechartofaccountsmodel.d.ts +15 -0
- package/dist/sdk/models/operations/getcreatedirectcostsmodel.d.ts +15 -0
- package/dist/sdk/models/operations/getcreateoperation.d.ts +12 -0
- package/dist/sdk/models/operations/getcreatepaymentsmodel.d.ts +35 -0
- package/dist/sdk/models/operations/{getcreateupdatebankaccountsmodel.js → getcreatepaymentsmodel.js} +18 -18
- package/dist/sdk/models/operations/getcreatetransfersmodel.d.ts +15 -0
- package/dist/sdk/models/operations/getcreateupdatesuppliersmodel.d.ts +15 -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 +4 -2
- package/dist/sdk/models/operations/index.js +4 -2
- 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 +12 -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 +12 -1
- package/dist/sdk/models/shared/accountingcreatebanktransactions.d.ts +3 -0
- package/dist/sdk/models/shared/accountingcreatebanktransactionsresponse.d.ts +11 -0
- package/dist/sdk/models/shared/accountingcreatedirectcostresponse.d.ts +12 -1
- package/dist/sdk/models/shared/accountingcreatepaymentresponse.d.ts +785 -0
- package/dist/sdk/models/shared/{accountingcreatebankaccountresponse.js → accountingcreatepaymentresponse.js} +23 -23
- package/dist/sdk/models/shared/accountingcreatesupplierresponse.d.ts +12 -1
- package/dist/sdk/models/shared/accountingcreatetransferresponse.d.ts +12 -1
- 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 +12 -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 +2 -2
- package/dist/sdk/models/shared/index.js +2 -2
- 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 +3 -0
- package/dist/sdk/models/shared/pushchangetype.js +3 -0
- package/dist/sdk/models/shared/pushfieldvalidation.d.ts +9 -0
- package/dist/sdk/models/shared/pushoperation.d.ts +11 -0
- package/dist/sdk/models/shared/pushoperationchange.d.ts +6 -0
- package/dist/sdk/models/shared/pushoperationref.d.ts +3 -0
- package/dist/sdk/models/shared/pushoperations.d.ts +9 -0
- package/dist/sdk/models/shared/pushoption.d.ts +12 -0
- package/dist/sdk/models/shared/pushoptionchoice.d.ts +12 -0
- package/dist/sdk/models/shared/pushoptionproperty.d.ts +12 -0
- package/dist/sdk/models/shared/pushoptiontype.d.ts +3 -0
- package/dist/sdk/models/shared/pushoptiontype.js +3 -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/validationitem.d.ts +9 -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 +1 -0
- package/dist/sdk/sdk.js +3 -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 +7 -8
- package/docs/models/operations/createaccountresponse.md +3 -3
- package/docs/models/operations/createbanktransactionsrequest.md +8 -9
- package/docs/models/operations/createbanktransactionsresponse.md +3 -3
- 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 +7 -8
- package/docs/models/operations/createdirectcostresponse.md +3 -3
- package/docs/models/operations/createpaymentrequest.md +12 -0
- package/docs/models/operations/createpaymentresponse.md +12 -0
- package/docs/models/operations/createsupplierrequest.md +7 -8
- package/docs/models/operations/createsupplierresponse.md +3 -3
- package/docs/models/operations/createtransferrequest.md +7 -8
- package/docs/models/operations/createtransferresponse.md +3 -3
- 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 +3 -3
- package/docs/models/operations/getcreatebanktransactionsmodelresponse.md +3 -3
- package/docs/models/operations/getcreatechartofaccountsmodelrequest.md +2 -2
- package/docs/models/operations/getcreatechartofaccountsmodelresponse.md +3 -3
- package/docs/models/operations/getcreatedirectcostsmodelrequest.md +2 -2
- package/docs/models/operations/getcreatedirectcostsmodelresponse.md +3 -3
- package/docs/models/operations/getcreateoperationrequest.md +1 -1
- package/docs/models/operations/getcreateoperationresponse.md +3 -3
- package/docs/models/operations/{getcreateupdatebankaccountsmodelrequest.md → getcreatepaymentsmodelrequest.md} +3 -3
- package/docs/models/operations/{getcreateupdatebankaccountsmodelresponse.md → getcreatepaymentsmodelresponse.md} +4 -4
- package/docs/models/operations/getcreatetransfersmodelrequest.md +2 -2
- package/docs/models/operations/getcreatetransfersmodelresponse.md +3 -3
- package/docs/models/operations/getcreateupdatesuppliersmodelrequest.md +2 -2
- package/docs/models/operations/getcreateupdatesuppliersmodelresponse.md +3 -3
- 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 +1 -1
- package/docs/models/operations/listcreateoperationsresponse.md +3 -3
- 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 +16 -16
- package/docs/models/shared/accountingcreatebanktransactions.md +4 -4
- package/docs/models/shared/accountingcreatebanktransactionsresponse.md +4 -4
- package/docs/models/shared/accountingcreatedirectcostresponse.md +16 -16
- package/docs/models/shared/accountingcreatepaymentresponse.md +21 -0
- package/docs/models/shared/accountingcreatesupplierresponse.md +5 -5
- package/docs/models/shared/accountingcreatetransferresponse.md +5 -5
- 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 +4 -4
- 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 +2 -0
- package/docs/models/shared/pushfieldvalidation.md +5 -5
- package/docs/models/shared/pushoperation.md +4 -4
- package/docs/models/shared/pushoperationchange.md +5 -5
- package/docs/models/shared/pushoperationref.md +1 -1
- package/docs/models/shared/pushoperations.md +3 -3
- package/docs/models/shared/pushoption.md +4 -4
- package/docs/models/shared/pushoptionchoice.md +4 -4
- package/docs/models/shared/pushoptionproperty.md +4 -4
- package/docs/models/shared/pushoptiontype.md +2 -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/validationitem.md +5 -5
- 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 +1 -0
- package/docs/sdks/loanwritebackaccounts/README.md +61 -58
- package/docs/sdks/loanwritebackbanktransactions/README.md +45 -49
- package/docs/sdks/loanwritebackcreateoperations/README.md +32 -30
- package/docs/sdks/loanwritebackdirectcosts/README.md +84 -116
- package/docs/sdks/loanwritebackpayments/README.md +140 -0
- package/docs/sdks/loanwritebacksuppliers/README.md +49 -64
- package/docs/sdks/loanwritebacktransfers/README.md +64 -77
- 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/loanwritebackbankaccounts.d.ts +0 -39
- package/dist/sdk/models/operations/createbankaccount.d.ts +0 -27
- package/dist/sdk/models/operations/getcreateupdatebankaccountsmodel.d.ts +0 -20
- package/dist/sdk/models/shared/accountingcreatebankaccountresponse.d.ts +0 -112
- package/dist/sdk/models/shared/paymentmethodstatus.d.ts +0 -8
- package/dist/sdk/models/shared/paymentmethodstatus.js +0 -15
- package/docs/models/operations/createbankaccountrequest.md +0 -13
- package/docs/models/operations/createbankaccountresponse.md +0 -12
- package/docs/models/shared/accountingcreatebankaccountresponse.md +0 -21
- package/docs/models/shared/commerceordersupplementaldata.md +0 -12
- package/docs/models/shared/paymentmethodstatus.md +0 -12
- package/docs/sdks/loanwritebackbankaccounts/README.md +0 -126
|
@@ -27,17 +27,17 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
27
27
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
28
28
|
};
|
|
29
29
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
30
|
-
exports.
|
|
30
|
+
exports.AccountingCreatePaymentResponse = void 0;
|
|
31
31
|
var utils_1 = require("../../../internal/utils");
|
|
32
|
-
var
|
|
32
|
+
var accountingpayment_1 = require("./accountingpayment");
|
|
33
33
|
var datatype_1 = require("./datatype");
|
|
34
34
|
var pushoperationchange_1 = require("./pushoperationchange");
|
|
35
35
|
var pushoperationstatus_1 = require("./pushoperationstatus");
|
|
36
36
|
var validation_1 = require("./validation");
|
|
37
37
|
var class_transformer_1 = require("class-transformer");
|
|
38
|
-
var
|
|
39
|
-
__extends(
|
|
40
|
-
function
|
|
38
|
+
var AccountingCreatePaymentResponse = /** @class */ (function (_super) {
|
|
39
|
+
__extends(AccountingCreatePaymentResponse, _super);
|
|
40
|
+
function AccountingCreatePaymentResponse() {
|
|
41
41
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
42
42
|
}
|
|
43
43
|
__decorate([
|
|
@@ -45,74 +45,74 @@ var AccountingCreateBankAccountResponse = /** @class */ (function (_super) {
|
|
|
45
45
|
(0, class_transformer_1.Expose)({ name: "changes" }),
|
|
46
46
|
(0, class_transformer_1.Type)(function () { return pushoperationchange_1.PushOperationChange; }),
|
|
47
47
|
__metadata("design:type", Array)
|
|
48
|
-
],
|
|
48
|
+
], AccountingCreatePaymentResponse.prototype, "changes", void 0);
|
|
49
49
|
__decorate([
|
|
50
50
|
(0, utils_1.SpeakeasyMetadata)(),
|
|
51
51
|
(0, class_transformer_1.Expose)({ name: "companyId" }),
|
|
52
52
|
__metadata("design:type", String)
|
|
53
|
-
],
|
|
53
|
+
], AccountingCreatePaymentResponse.prototype, "companyId", void 0);
|
|
54
54
|
__decorate([
|
|
55
55
|
(0, utils_1.SpeakeasyMetadata)(),
|
|
56
56
|
(0, class_transformer_1.Expose)({ name: "completedOnUtc" }),
|
|
57
57
|
__metadata("design:type", String)
|
|
58
|
-
],
|
|
58
|
+
], AccountingCreatePaymentResponse.prototype, "completedOnUtc", void 0);
|
|
59
59
|
__decorate([
|
|
60
60
|
(0, utils_1.SpeakeasyMetadata)(),
|
|
61
61
|
(0, class_transformer_1.Expose)({ name: "data" }),
|
|
62
|
-
(0, class_transformer_1.Type)(function () { return
|
|
63
|
-
__metadata("design:type",
|
|
64
|
-
],
|
|
62
|
+
(0, class_transformer_1.Type)(function () { return accountingpayment_1.AccountingPayment; }),
|
|
63
|
+
__metadata("design:type", accountingpayment_1.AccountingPayment)
|
|
64
|
+
], AccountingCreatePaymentResponse.prototype, "data", void 0);
|
|
65
65
|
__decorate([
|
|
66
66
|
(0, utils_1.SpeakeasyMetadata)(),
|
|
67
67
|
(0, class_transformer_1.Expose)({ name: "dataConnectionKey" }),
|
|
68
68
|
__metadata("design:type", String)
|
|
69
|
-
],
|
|
69
|
+
], AccountingCreatePaymentResponse.prototype, "dataConnectionKey", void 0);
|
|
70
70
|
__decorate([
|
|
71
71
|
(0, utils_1.SpeakeasyMetadata)(),
|
|
72
72
|
(0, class_transformer_1.Expose)({ name: "dataType" }),
|
|
73
73
|
__metadata("design:type", String)
|
|
74
|
-
],
|
|
74
|
+
], AccountingCreatePaymentResponse.prototype, "dataType", void 0);
|
|
75
75
|
__decorate([
|
|
76
76
|
(0, utils_1.SpeakeasyMetadata)(),
|
|
77
77
|
(0, class_transformer_1.Expose)({ name: "errorMessage" }),
|
|
78
78
|
__metadata("design:type", String)
|
|
79
|
-
],
|
|
79
|
+
], AccountingCreatePaymentResponse.prototype, "errorMessage", void 0);
|
|
80
80
|
__decorate([
|
|
81
81
|
(0, utils_1.SpeakeasyMetadata)(),
|
|
82
82
|
(0, class_transformer_1.Expose)({ name: "pushOperationKey" }),
|
|
83
83
|
__metadata("design:type", String)
|
|
84
|
-
],
|
|
84
|
+
], AccountingCreatePaymentResponse.prototype, "pushOperationKey", void 0);
|
|
85
85
|
__decorate([
|
|
86
86
|
(0, utils_1.SpeakeasyMetadata)(),
|
|
87
87
|
(0, class_transformer_1.Expose)({ name: "requestedOnUtc" }),
|
|
88
88
|
__metadata("design:type", String)
|
|
89
|
-
],
|
|
89
|
+
], AccountingCreatePaymentResponse.prototype, "requestedOnUtc", void 0);
|
|
90
90
|
__decorate([
|
|
91
91
|
(0, utils_1.SpeakeasyMetadata)(),
|
|
92
92
|
(0, class_transformer_1.Expose)({ name: "status" }),
|
|
93
93
|
__metadata("design:type", String)
|
|
94
|
-
],
|
|
94
|
+
], AccountingCreatePaymentResponse.prototype, "status", void 0);
|
|
95
95
|
__decorate([
|
|
96
96
|
(0, utils_1.SpeakeasyMetadata)(),
|
|
97
97
|
(0, class_transformer_1.Expose)({ name: "statusCode" }),
|
|
98
98
|
__metadata("design:type", Number)
|
|
99
|
-
],
|
|
99
|
+
], AccountingCreatePaymentResponse.prototype, "statusCode", void 0);
|
|
100
100
|
__decorate([
|
|
101
101
|
(0, utils_1.SpeakeasyMetadata)(),
|
|
102
102
|
(0, class_transformer_1.Expose)({ name: "timeoutInMinutes" }),
|
|
103
103
|
__metadata("design:type", Number)
|
|
104
|
-
],
|
|
104
|
+
], AccountingCreatePaymentResponse.prototype, "timeoutInMinutes", void 0);
|
|
105
105
|
__decorate([
|
|
106
106
|
(0, utils_1.SpeakeasyMetadata)(),
|
|
107
107
|
(0, class_transformer_1.Expose)({ name: "timeoutInSeconds" }),
|
|
108
108
|
__metadata("design:type", Number)
|
|
109
|
-
],
|
|
109
|
+
], AccountingCreatePaymentResponse.prototype, "timeoutInSeconds", void 0);
|
|
110
110
|
__decorate([
|
|
111
111
|
(0, utils_1.SpeakeasyMetadata)(),
|
|
112
112
|
(0, class_transformer_1.Expose)({ name: "validation" }),
|
|
113
113
|
(0, class_transformer_1.Type)(function () { return validation_1.Validation; }),
|
|
114
114
|
__metadata("design:type", validation_1.Validation)
|
|
115
|
-
],
|
|
116
|
-
return
|
|
115
|
+
], AccountingCreatePaymentResponse.prototype, "validation", void 0);
|
|
116
|
+
return AccountingCreatePaymentResponse;
|
|
117
117
|
}(utils_1.SpeakeasyBase));
|
|
118
|
-
exports.
|
|
118
|
+
exports.AccountingCreatePaymentResponse = AccountingCreatePaymentResponse;
|
|
@@ -44,7 +44,7 @@ export declare class AccountingCreateSupplierResponse extends SpeakeasyBase {
|
|
|
44
44
|
*
|
|
45
45
|
* ## Overview
|
|
46
46
|
*
|
|
47
|
-
* From the **Suppliers** endpoints, you can retrieve a list of [all the suppliers for a company](https://docs.codat.io/
|
|
47
|
+
* From the **Suppliers** endpoints, you can retrieve a list of [all the suppliers for a company](https://docs.codat.io/lending-api#/operations/list-suppliers). Suppliers' data links to accounts payable [bills](https://docs.codat.io/lending-api#/schemas/Bill).
|
|
48
48
|
*/
|
|
49
49
|
data?: AccountingSupplier;
|
|
50
50
|
/**
|
|
@@ -55,6 +55,9 @@ export declare class AccountingCreateSupplierResponse extends SpeakeasyBase {
|
|
|
55
55
|
* Available Data types
|
|
56
56
|
*/
|
|
57
57
|
dataType?: DataType;
|
|
58
|
+
/**
|
|
59
|
+
* A message about the error.
|
|
60
|
+
*/
|
|
58
61
|
errorMessage?: string;
|
|
59
62
|
/**
|
|
60
63
|
* A unique identifier generated by Codat to represent this single push operation. This identifier can be used to track the status of the push, and should be persisted.
|
|
@@ -88,9 +91,17 @@ export declare class AccountingCreateSupplierResponse extends SpeakeasyBase {
|
|
|
88
91
|
* The current status of the push operation.
|
|
89
92
|
*/
|
|
90
93
|
status: PushOperationStatus;
|
|
94
|
+
/**
|
|
95
|
+
* Push status code.
|
|
96
|
+
*/
|
|
91
97
|
statusCode: number;
|
|
98
|
+
/**
|
|
99
|
+
* Number of minutes the push operation must complete within before it times out.
|
|
100
|
+
*/
|
|
92
101
|
timeoutInMinutes?: number;
|
|
93
102
|
/**
|
|
103
|
+
* Number of seconds the push operation must complete within before it times out.
|
|
104
|
+
*
|
|
94
105
|
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
95
106
|
*/
|
|
96
107
|
timeoutInSeconds?: number;
|
|
@@ -42,7 +42,7 @@ export declare class AccountingCreateTransferResponse extends SpeakeasyBase {
|
|
|
42
42
|
*
|
|
43
43
|
* @remarks
|
|
44
44
|
*
|
|
45
|
-
* A transfer records the movement of money between two bank accounts, or between a bank account and a nominal account. It is a child data type of [account transactions](https://docs.codat.io/
|
|
45
|
+
* A transfer records the movement of money between two bank accounts, or between a bank account and a nominal account. It is a child data type of [account transactions](https://docs.codat.io/lending-api#/schemas/AccountTransaction).
|
|
46
46
|
*/
|
|
47
47
|
data?: AccountingTransfer;
|
|
48
48
|
/**
|
|
@@ -53,6 +53,9 @@ export declare class AccountingCreateTransferResponse extends SpeakeasyBase {
|
|
|
53
53
|
* Available Data types
|
|
54
54
|
*/
|
|
55
55
|
dataType?: DataType;
|
|
56
|
+
/**
|
|
57
|
+
* A message about the error.
|
|
58
|
+
*/
|
|
56
59
|
errorMessage?: string;
|
|
57
60
|
/**
|
|
58
61
|
* A unique identifier generated by Codat to represent this single push operation. This identifier can be used to track the status of the push, and should be persisted.
|
|
@@ -86,9 +89,17 @@ export declare class AccountingCreateTransferResponse extends SpeakeasyBase {
|
|
|
86
89
|
* The current status of the push operation.
|
|
87
90
|
*/
|
|
88
91
|
status: PushOperationStatus;
|
|
92
|
+
/**
|
|
93
|
+
* Push status code.
|
|
94
|
+
*/
|
|
89
95
|
statusCode: number;
|
|
96
|
+
/**
|
|
97
|
+
* Number of minutes the push operation must complete within before it times out.
|
|
98
|
+
*/
|
|
90
99
|
timeoutInMinutes?: number;
|
|
91
100
|
/**
|
|
101
|
+
* Number of seconds the push operation must complete within before it times out.
|
|
102
|
+
*
|
|
92
103
|
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
93
104
|
*/
|
|
94
105
|
timeoutInSeconds?: number;
|
|
@@ -15,7 +15,7 @@ import { SupplementalData } from "./supplementaldata";
|
|
|
15
15
|
*
|
|
16
16
|
* Think of a credit note as a voucher issued to a customer. It is a reduction that can be applied against one or multiple invoices. A credit note can either reduce the amount owed or cancel out an invoice entirely.
|
|
17
17
|
*
|
|
18
|
-
* In the Codat system a credit note is issued to a [customer's](https://docs.codat.io/
|
|
18
|
+
* In the Codat system a credit note is issued to a [customer's](https://docs.codat.io/lending-api#/schemas/Customer) accounts receivable.
|
|
19
19
|
*
|
|
20
20
|
* It contains details of:
|
|
21
21
|
* * The amount of credit remaining and its status.
|
|
@@ -23,7 +23,13 @@ import { SupplementalData } from "./supplementaldata";
|
|
|
23
23
|
* * Which customers the credit notes have been issued to.
|
|
24
24
|
*/
|
|
25
25
|
export declare class AccountingCreditNote extends SpeakeasyBase {
|
|
26
|
+
/**
|
|
27
|
+
* Additional tax amount applied to credit note.
|
|
28
|
+
*/
|
|
26
29
|
additionalTaxAmount?: number;
|
|
30
|
+
/**
|
|
31
|
+
* Percentage rate of any additional tax applied to the credit note.
|
|
32
|
+
*/
|
|
27
33
|
additionalTaxPercentage?: number;
|
|
28
34
|
/**
|
|
29
35
|
* In Codat's data model, dates and times are represented using the <a class="external" href="https://en.wikipedia.org/wiki/ISO_8601" target="_blank">ISO 8601 standard</a>. Date and time fields are formatted as strings; for example:
|
|
@@ -144,6 +150,9 @@ export declare class AccountingCreditNote extends SpeakeasyBase {
|
|
|
144
150
|
*/
|
|
145
151
|
remainingCredit: number;
|
|
146
152
|
sourceModifiedDate?: string;
|
|
153
|
+
/**
|
|
154
|
+
* Current state of the credit note.
|
|
155
|
+
*/
|
|
147
156
|
status: CreditNoteStatus;
|
|
148
157
|
/**
|
|
149
158
|
* Value of the credit note, including discounts and excluding tax.
|
|
@@ -46,7 +46,7 @@ var class_transformer_1 = require("class-transformer");
|
|
|
46
46
|
*
|
|
47
47
|
* Think of a credit note as a voucher issued to a customer. It is a reduction that can be applied against one or multiple invoices. A credit note can either reduce the amount owed or cancel out an invoice entirely.
|
|
48
48
|
*
|
|
49
|
-
* In the Codat system a credit note is issued to a [customer's](https://docs.codat.io/
|
|
49
|
+
* In the Codat system a credit note is issued to a [customer's](https://docs.codat.io/lending-api#/schemas/Customer) accounts receivable.
|
|
50
50
|
*
|
|
51
51
|
* It contains details of:
|
|
52
52
|
* * The amount of credit remaining and its status.
|
|
@@ -3,8 +3,17 @@ import { AccountingCreditNote } from "./accountingcreditnote";
|
|
|
3
3
|
import { Links } from "./links";
|
|
4
4
|
export declare class AccountingCreditNotes extends SpeakeasyBase {
|
|
5
5
|
links: Links;
|
|
6
|
+
/**
|
|
7
|
+
* Current page number.
|
|
8
|
+
*/
|
|
6
9
|
pageNumber: number;
|
|
10
|
+
/**
|
|
11
|
+
* Number of items to return in results array.
|
|
12
|
+
*/
|
|
7
13
|
pageSize: number;
|
|
8
14
|
results?: AccountingCreditNote[];
|
|
15
|
+
/**
|
|
16
|
+
* Total number of items.
|
|
17
|
+
*/
|
|
9
18
|
totalResults: number;
|
|
10
19
|
}
|
|
@@ -13,7 +13,7 @@ import { SupplementalData } from "./supplementaldata";
|
|
|
13
13
|
*
|
|
14
14
|
* A customer is a person or organisation that buys goods or services. From the Customers endpoints, you can retrieve a [list of all the customers of a company](https://api.codat.io/swagger/index.html#/Customers/get_companies__companyId__data_customers).
|
|
15
15
|
*
|
|
16
|
-
* Customers' data links to accounts receivable [invoices](https://docs.codat.io/
|
|
16
|
+
* Customers' data links to accounts receivable [invoices](https://docs.codat.io/lending-api#/schemas/Invoice).
|
|
17
17
|
*
|
|
18
18
|
*/
|
|
19
19
|
export declare class AccountingCustomer extends SpeakeasyBase {
|
|
@@ -44,7 +44,7 @@ var class_transformer_1 = require("class-transformer");
|
|
|
44
44
|
*
|
|
45
45
|
* A customer is a person or organisation that buys goods or services. From the Customers endpoints, you can retrieve a [list of all the customers of a company](https://api.codat.io/swagger/index.html#/Customers/get_companies__companyId__data_customers).
|
|
46
46
|
*
|
|
47
|
-
* Customers' data links to accounts receivable [invoices](https://docs.codat.io/
|
|
47
|
+
* Customers' data links to accounts receivable [invoices](https://docs.codat.io/lending-api#/schemas/Invoice).
|
|
48
48
|
*
|
|
49
49
|
*/
|
|
50
50
|
var AccountingCustomer = /** @class */ (function (_super) {
|
|
@@ -3,8 +3,17 @@ import { AccountingCustomer } from "./accountingcustomer";
|
|
|
3
3
|
import { Links } from "./links";
|
|
4
4
|
export declare class AccountingCustomers extends SpeakeasyBase {
|
|
5
5
|
links: Links;
|
|
6
|
+
/**
|
|
7
|
+
* Current page number.
|
|
8
|
+
*/
|
|
6
9
|
pageNumber: number;
|
|
10
|
+
/**
|
|
11
|
+
* Number of items to return in results array.
|
|
12
|
+
*/
|
|
7
13
|
pageSize: number;
|
|
8
14
|
results?: AccountingCustomer[];
|
|
15
|
+
/**
|
|
16
|
+
* Total number of items.
|
|
17
|
+
*/
|
|
9
18
|
totalResults: number;
|
|
10
19
|
}
|
|
@@ -21,7 +21,7 @@ import { SupplementalData } from "./supplementaldata";
|
|
|
21
21
|
* * Withdrawing money from a bank account
|
|
22
22
|
* * Writing a cheque
|
|
23
23
|
*
|
|
24
|
-
* Direct costs is a child data type of [account transactions](https://docs.codat.io/
|
|
24
|
+
* Direct costs is a child data type of [account transactions](https://docs.codat.io/lending-api#/schemas/AccountTransaction).
|
|
25
25
|
*/
|
|
26
26
|
export declare class AccountingDirectCost extends SpeakeasyBase {
|
|
27
27
|
/**
|
|
@@ -52,7 +52,7 @@ var class_transformer_1 = require("class-transformer");
|
|
|
52
52
|
* * Withdrawing money from a bank account
|
|
53
53
|
* * Writing a cheque
|
|
54
54
|
*
|
|
55
|
-
* Direct costs is a child data type of [account transactions](https://docs.codat.io/
|
|
55
|
+
* Direct costs is a child data type of [account transactions](https://docs.codat.io/lending-api#/schemas/AccountTransaction).
|
|
56
56
|
*/
|
|
57
57
|
var AccountingDirectCost = /** @class */ (function (_super) {
|
|
58
58
|
__extends(AccountingDirectCost, _super);
|
|
@@ -3,8 +3,17 @@ import { AccountingDirectCost } from "./accountingdirectcost";
|
|
|
3
3
|
import { Links } from "./links";
|
|
4
4
|
export declare class AccountingDirectCosts extends SpeakeasyBase {
|
|
5
5
|
links: Links;
|
|
6
|
+
/**
|
|
7
|
+
* Current page number.
|
|
8
|
+
*/
|
|
6
9
|
pageNumber: number;
|
|
10
|
+
/**
|
|
11
|
+
* Number of items to return in results array.
|
|
12
|
+
*/
|
|
7
13
|
pageSize: number;
|
|
8
14
|
results?: AccountingDirectCost[];
|
|
15
|
+
/**
|
|
16
|
+
* Total number of items.
|
|
17
|
+
*/
|
|
9
18
|
totalResults: number;
|
|
10
19
|
}
|
|
@@ -21,7 +21,7 @@ import { SupplementalData } from "./supplementaldata";
|
|
|
21
21
|
* - Refunding an item in cash to a contact.
|
|
22
22
|
* - Depositing money into a bank account.
|
|
23
23
|
*
|
|
24
|
-
* Direct incomes is a child data type of [account transactions](https://docs.codat.io/
|
|
24
|
+
* Direct incomes is a child data type of [account transactions](https://docs.codat.io/lending-api#/schemas/AccountTransaction).
|
|
25
25
|
*
|
|
26
26
|
*/
|
|
27
27
|
export declare class AccountingDirectIncome extends SpeakeasyBase {
|
|
@@ -105,6 +105,9 @@ export declare class AccountingDirectIncome extends SpeakeasyBase {
|
|
|
105
105
|
lineItems: DirectIncomeLineItem[];
|
|
106
106
|
metadata?: Metadata;
|
|
107
107
|
modifiedDate?: string;
|
|
108
|
+
/**
|
|
109
|
+
* An optional note on the direct income that can be used to assign the direct income with a reference ID in your application.
|
|
110
|
+
*/
|
|
108
111
|
note?: string;
|
|
109
112
|
paymentAllocations: AccountingPaymentAllocation[];
|
|
110
113
|
/**
|
|
@@ -52,7 +52,7 @@ var class_transformer_1 = require("class-transformer");
|
|
|
52
52
|
* - Refunding an item in cash to a contact.
|
|
53
53
|
* - Depositing money into a bank account.
|
|
54
54
|
*
|
|
55
|
-
* Direct incomes is a child data type of [account transactions](https://docs.codat.io/
|
|
55
|
+
* Direct incomes is a child data type of [account transactions](https://docs.codat.io/lending-api#/schemas/AccountTransaction).
|
|
56
56
|
*
|
|
57
57
|
*/
|
|
58
58
|
var AccountingDirectIncome = /** @class */ (function (_super) {
|
|
@@ -3,8 +3,17 @@ import { AccountingDirectIncome } from "./accountingdirectincome";
|
|
|
3
3
|
import { Links } from "./links";
|
|
4
4
|
export declare class AccountingDirectIncomes extends SpeakeasyBase {
|
|
5
5
|
links: Links;
|
|
6
|
+
/**
|
|
7
|
+
* Current page number.
|
|
8
|
+
*/
|
|
6
9
|
pageNumber: number;
|
|
10
|
+
/**
|
|
11
|
+
* Number of items to return in results array.
|
|
12
|
+
*/
|
|
7
13
|
pageSize: number;
|
|
8
14
|
results?: AccountingDirectIncome[];
|
|
15
|
+
/**
|
|
16
|
+
* Total number of items.
|
|
17
|
+
*/
|
|
9
18
|
totalResults: number;
|
|
10
19
|
}
|
|
@@ -1,13 +1,20 @@
|
|
|
1
1
|
import { SpeakeasyBase } from "../../../internal/utils";
|
|
2
2
|
import { AccountingCustomerRef } from "./accountingcustomerref";
|
|
3
3
|
import { AccountingPaymentAllocation } from "./accountingpaymentallocation";
|
|
4
|
+
import { DataType } from "./datatype";
|
|
4
5
|
import { InvoiceLineItem } from "./invoicelineitem";
|
|
5
6
|
import { InvoiceStatus } from "./invoicestatus";
|
|
6
7
|
import { Items } from "./items";
|
|
7
8
|
import { Metadata } from "./metadata";
|
|
8
9
|
import { SupplementalData } from "./supplementaldata";
|
|
9
10
|
export declare class AccountingInvoiceSalesOrderReference extends SpeakeasyBase {
|
|
10
|
-
|
|
11
|
+
/**
|
|
12
|
+
* Available Data types
|
|
13
|
+
*/
|
|
14
|
+
dataType?: DataType;
|
|
15
|
+
/**
|
|
16
|
+
* Unique identifier to a record in `dataType`.
|
|
17
|
+
*/
|
|
11
18
|
id?: string;
|
|
12
19
|
}
|
|
13
20
|
/**
|
|
@@ -17,13 +24,13 @@ export declare class AccountingInvoiceSalesOrderReference extends SpeakeasyBase
|
|
|
17
24
|
* >
|
|
18
25
|
* > We distinguish between invoices where the company *owes money* vs. *is owed money*. If the company issued an invoice, and is owed money (accounts receivable) we call this an Invoice.
|
|
19
26
|
* >
|
|
20
|
-
* > See [Bills](https://docs.codat.io/
|
|
27
|
+
* > See [Bills](https://docs.codat.io/lending-api#/schemas/Bill) for the accounts payable equivalent of bills.
|
|
21
28
|
*
|
|
22
29
|
* View the coverage for invoices in the <a className="external" href="https://knowledge.codat.io/supported-features/accounting?view=tab-by-data-type&dataType=invoices" target="_blank">Data coverage explorer</a>.
|
|
23
30
|
*
|
|
24
31
|
* ## Overview
|
|
25
32
|
*
|
|
26
|
-
* An invoice is an itemized record of goods sold or services provided to a [customer](https://docs.codat.io/
|
|
33
|
+
* An invoice is an itemized record of goods sold or services provided to a [customer](https://docs.codat.io/lending-api#/schemas/Customer).
|
|
27
34
|
*
|
|
28
35
|
* In Codat, an invoice contains details of:
|
|
29
36
|
*
|
|
@@ -31,11 +38,11 @@ export declare class AccountingInvoiceSalesOrderReference extends SpeakeasyBase
|
|
|
31
38
|
* - How much the invoice is for, what portion of the invoice is tax or discounts, and what currency the amounts are represented in.
|
|
32
39
|
* - Who the invoice has been raised to; the _customer_.
|
|
33
40
|
* - The breakdown of what the invoice is for; the _line items_.
|
|
34
|
-
* - Any [payments](https://docs.codat.io/
|
|
41
|
+
* - Any [payments](https://docs.codat.io/lending-api#/schemas/Payment) assigned to the invoice; the _payment allocations_.
|
|
35
42
|
*
|
|
36
43
|
* > **Invoice PDF downloads**
|
|
37
44
|
* >
|
|
38
|
-
* > You can <a className="external" href="https://docs.codat.io/
|
|
45
|
+
* > You can <a className="external" href="https://docs.codat.io/lending-api#/operations/get-invoice-pdf" target="_blank">download a PDF version</a> of an invoice for supported integrations.
|
|
39
46
|
* >
|
|
40
47
|
* > The filename will be invoice-{number}.pdf.
|
|
41
48
|
*
|
|
@@ -44,7 +51,13 @@ export declare class AccountingInvoiceSalesOrderReference extends SpeakeasyBase
|
|
|
44
51
|
* > In Sage 50 and ClearBooks, you may prefer to use the **invoiceNumber** to identify an invoice rather than the invoice **id**. Each time a draft invoice is submitted or printed, the draft **id** becomes void and a submitted invoice with a new **id** exists in its place. In both platforms, the **invoiceNumber** should remain the same.
|
|
45
52
|
*/
|
|
46
53
|
export declare class AccountingInvoice extends SpeakeasyBase {
|
|
54
|
+
/**
|
|
55
|
+
* Additional tax amount applied to invoice.
|
|
56
|
+
*/
|
|
47
57
|
additionalTaxAmount?: number;
|
|
58
|
+
/**
|
|
59
|
+
* Percentage rate of any additional tax applied to the invoice.
|
|
60
|
+
*/
|
|
48
61
|
additionalTaxPercentage?: number;
|
|
49
62
|
/**
|
|
50
63
|
* Amount outstanding on the invoice.
|
|
@@ -31,6 +31,7 @@ exports.AccountingInvoice = exports.AccountingInvoiceSalesOrderReference = void
|
|
|
31
31
|
var utils_1 = require("../../../internal/utils");
|
|
32
32
|
var accountingcustomerref_1 = require("./accountingcustomerref");
|
|
33
33
|
var accountingpaymentallocation_1 = require("./accountingpaymentallocation");
|
|
34
|
+
var datatype_1 = require("./datatype");
|
|
34
35
|
var invoicelineitem_1 = require("./invoicelineitem");
|
|
35
36
|
var invoicestatus_1 = require("./invoicestatus");
|
|
36
37
|
var items_1 = require("./items");
|
|
@@ -62,13 +63,13 @@ exports.AccountingInvoiceSalesOrderReference = AccountingInvoiceSalesOrderRefere
|
|
|
62
63
|
* >
|
|
63
64
|
* > We distinguish between invoices where the company *owes money* vs. *is owed money*. If the company issued an invoice, and is owed money (accounts receivable) we call this an Invoice.
|
|
64
65
|
* >
|
|
65
|
-
* > See [Bills](https://docs.codat.io/
|
|
66
|
+
* > See [Bills](https://docs.codat.io/lending-api#/schemas/Bill) for the accounts payable equivalent of bills.
|
|
66
67
|
*
|
|
67
68
|
* View the coverage for invoices in the <a className="external" href="https://knowledge.codat.io/supported-features/accounting?view=tab-by-data-type&dataType=invoices" target="_blank">Data coverage explorer</a>.
|
|
68
69
|
*
|
|
69
70
|
* ## Overview
|
|
70
71
|
*
|
|
71
|
-
* An invoice is an itemized record of goods sold or services provided to a [customer](https://docs.codat.io/
|
|
72
|
+
* An invoice is an itemized record of goods sold or services provided to a [customer](https://docs.codat.io/lending-api#/schemas/Customer).
|
|
72
73
|
*
|
|
73
74
|
* In Codat, an invoice contains details of:
|
|
74
75
|
*
|
|
@@ -76,11 +77,11 @@ exports.AccountingInvoiceSalesOrderReference = AccountingInvoiceSalesOrderRefere
|
|
|
76
77
|
* - How much the invoice is for, what portion of the invoice is tax or discounts, and what currency the amounts are represented in.
|
|
77
78
|
* - Who the invoice has been raised to; the _customer_.
|
|
78
79
|
* - The breakdown of what the invoice is for; the _line items_.
|
|
79
|
-
* - Any [payments](https://docs.codat.io/
|
|
80
|
+
* - Any [payments](https://docs.codat.io/lending-api#/schemas/Payment) assigned to the invoice; the _payment allocations_.
|
|
80
81
|
*
|
|
81
82
|
* > **Invoice PDF downloads**
|
|
82
83
|
* >
|
|
83
|
-
* > You can <a className="external" href="https://docs.codat.io/
|
|
84
|
+
* > You can <a className="external" href="https://docs.codat.io/lending-api#/operations/get-invoice-pdf" target="_blank">download a PDF version</a> of an invoice for supported integrations.
|
|
84
85
|
* >
|
|
85
86
|
* > The filename will be invoice-{number}.pdf.
|
|
86
87
|
*
|
|
@@ -3,8 +3,17 @@ import { AccountingInvoice } from "./accountinginvoice";
|
|
|
3
3
|
import { Links } from "./links";
|
|
4
4
|
export declare class AccountingInvoices extends SpeakeasyBase {
|
|
5
5
|
links: Links;
|
|
6
|
+
/**
|
|
7
|
+
* Current page number.
|
|
8
|
+
*/
|
|
6
9
|
pageNumber: number;
|
|
10
|
+
/**
|
|
11
|
+
* Number of items to return in results array.
|
|
12
|
+
*/
|
|
7
13
|
pageSize: number;
|
|
8
14
|
results?: AccountingInvoice[];
|
|
15
|
+
/**
|
|
16
|
+
* Total number of items.
|
|
17
|
+
*/
|
|
9
18
|
totalResults: number;
|
|
10
19
|
}
|
|
@@ -2,7 +2,7 @@ import { SpeakeasyBase } from "../../../internal/utils";
|
|
|
2
2
|
import { JournalStatus } from "./journalstatus";
|
|
3
3
|
import { Metadata } from "./metadata";
|
|
4
4
|
/**
|
|
5
|
-
* > **Language tip:** For line items, or individual transactions, of a company's financial documents, refer to the [Journal entries](https://docs.codat.io/
|
|
5
|
+
* > **Language tip:** For line items, or individual transactions, of a company's financial documents, refer to the [Journal entries](https://docs.codat.io/lending-api#/schemas/JournalEntry) data type
|
|
6
6
|
*
|
|
7
7
|
* @remarks
|
|
8
8
|
*
|
|
@@ -10,7 +10,7 @@ import { Metadata } from "./metadata";
|
|
|
10
10
|
*
|
|
11
11
|
* ## Overview
|
|
12
12
|
*
|
|
13
|
-
* In accounting software, journals are used to record all the financial transactions of a company. Each transaction in a journal is represented by a separate [journal entry](https://docs.codat.io/
|
|
13
|
+
* In accounting software, journals are used to record all the financial transactions of a company. Each transaction in a journal is represented by a separate [journal entry](https://docs.codat.io/lending-api#/schemas/JournalEntry). These entries are used to create the general ledger, which is then used to create the financial statements of a business.
|
|
14
14
|
*
|
|
15
15
|
* When a company records all their transactions in a single journal, it can become large and difficult to maintain and track. This is why large companies often use multiple journals (also known as subjournals) to categorize and manage journal entries.
|
|
16
16
|
*
|
|
@@ -33,7 +33,7 @@ var journalstatus_1 = require("./journalstatus");
|
|
|
33
33
|
var metadata_1 = require("./metadata");
|
|
34
34
|
var class_transformer_1 = require("class-transformer");
|
|
35
35
|
/**
|
|
36
|
-
* > **Language tip:** For line items, or individual transactions, of a company's financial documents, refer to the [Journal entries](https://docs.codat.io/
|
|
36
|
+
* > **Language tip:** For line items, or individual transactions, of a company's financial documents, refer to the [Journal entries](https://docs.codat.io/lending-api#/schemas/JournalEntry) data type
|
|
37
37
|
*
|
|
38
38
|
* @remarks
|
|
39
39
|
*
|
|
@@ -41,7 +41,7 @@ var class_transformer_1 = require("class-transformer");
|
|
|
41
41
|
*
|
|
42
42
|
* ## Overview
|
|
43
43
|
*
|
|
44
|
-
* In accounting software, journals are used to record all the financial transactions of a company. Each transaction in a journal is represented by a separate [journal entry](https://docs.codat.io/
|
|
44
|
+
* In accounting software, journals are used to record all the financial transactions of a company. Each transaction in a journal is represented by a separate [journal entry](https://docs.codat.io/lending-api#/schemas/JournalEntry). These entries are used to create the general ledger, which is then used to create the financial statements of a business.
|
|
45
45
|
*
|
|
46
46
|
* When a company records all their transactions in a single journal, it can become large and difficult to maintain and track. This is why large companies often use multiple journals (also known as subjournals) to categorize and manage journal entries.
|
|
47
47
|
*
|
|
@@ -3,8 +3,17 @@ import { AccountingJournalEntry } from "./accountingjournalentry";
|
|
|
3
3
|
import { Links } from "./links";
|
|
4
4
|
export declare class AccountingJournalEntries extends SpeakeasyBase {
|
|
5
5
|
links: Links;
|
|
6
|
+
/**
|
|
7
|
+
* Current page number.
|
|
8
|
+
*/
|
|
6
9
|
pageNumber: number;
|
|
10
|
+
/**
|
|
11
|
+
* Number of items to return in results array.
|
|
12
|
+
*/
|
|
7
13
|
pageSize: number;
|
|
8
14
|
results?: AccountingJournalEntry[];
|
|
15
|
+
/**
|
|
16
|
+
* Total number of items.
|
|
17
|
+
*/
|
|
9
18
|
totalResults: number;
|
|
10
19
|
}
|
|
@@ -5,7 +5,7 @@ import { Metadata } from "./metadata";
|
|
|
5
5
|
import { RecordRef } from "./recordref";
|
|
6
6
|
import { SupplementalData } from "./supplementaldata";
|
|
7
7
|
/**
|
|
8
|
-
* > **Language tip:** For the top-level record of a company's financial transactions, refer to the [Journals](https://docs.codat.io/
|
|
8
|
+
* > **Language tip:** For the top-level record of a company's financial transactions, refer to the [Journals](https://docs.codat.io/lending-api#/schemas/Journal) data type
|
|
9
9
|
*
|
|
10
10
|
* @remarks
|
|
11
11
|
*
|
|
@@ -13,7 +13,7 @@ import { SupplementalData } from "./supplementaldata";
|
|
|
13
13
|
*
|
|
14
14
|
* ## Overview
|
|
15
15
|
*
|
|
16
|
-
* A journal entry report shows the entries made in a company's general ledger, or [accounts](https://docs.codat.io/
|
|
16
|
+
* A journal entry report shows the entries made in a company's general ledger, or [accounts](https://docs.codat.io/lending-api#/schemas/Account), when transactions are approved. The journal line items for each journal entry should balance.
|
|
17
17
|
*
|
|
18
18
|
* A journal entry line item is a single transaction line on the journal entry. For example:
|
|
19
19
|
*
|
|
@@ -36,7 +36,7 @@ var recordref_1 = require("./recordref");
|
|
|
36
36
|
var supplementaldata_1 = require("./supplementaldata");
|
|
37
37
|
var class_transformer_1 = require("class-transformer");
|
|
38
38
|
/**
|
|
39
|
-
* > **Language tip:** For the top-level record of a company's financial transactions, refer to the [Journals](https://docs.codat.io/
|
|
39
|
+
* > **Language tip:** For the top-level record of a company's financial transactions, refer to the [Journals](https://docs.codat.io/lending-api#/schemas/Journal) data type
|
|
40
40
|
*
|
|
41
41
|
* @remarks
|
|
42
42
|
*
|
|
@@ -44,7 +44,7 @@ var class_transformer_1 = require("class-transformer");
|
|
|
44
44
|
*
|
|
45
45
|
* ## Overview
|
|
46
46
|
*
|
|
47
|
-
* A journal entry report shows the entries made in a company's general ledger, or [accounts](https://docs.codat.io/
|
|
47
|
+
* A journal entry report shows the entries made in a company's general ledger, or [accounts](https://docs.codat.io/lending-api#/schemas/Account), when transactions are approved. The journal line items for each journal entry should balance.
|
|
48
48
|
*
|
|
49
49
|
* A journal entry line item is a single transaction line on the journal entry. For example:
|
|
50
50
|
*
|
|
@@ -3,8 +3,17 @@ import { AccountingJournal } from "./accountingjournal";
|
|
|
3
3
|
import { Links } from "./links";
|
|
4
4
|
export declare class AccountingJournals extends SpeakeasyBase {
|
|
5
5
|
links: Links;
|
|
6
|
+
/**
|
|
7
|
+
* Current page number.
|
|
8
|
+
*/
|
|
6
9
|
pageNumber: number;
|
|
10
|
+
/**
|
|
11
|
+
* Number of items to return in results array.
|
|
12
|
+
*/
|
|
7
13
|
pageSize: number;
|
|
8
14
|
results?: AccountingJournal[];
|
|
15
|
+
/**
|
|
16
|
+
* Total number of items.
|
|
17
|
+
*/
|
|
9
18
|
totalResults: number;
|
|
10
19
|
}
|