@codat/lending 0.1.0 → 1.1.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 +315 -4
- package/dist/internal/utils/requestbody.d.ts +1 -1
- package/dist/internal/utils/retries.d.ts +2 -2
- package/dist/internal/utils/security.d.ts +5 -2
- package/dist/internal/utils/security.js +28 -28
- package/dist/sdk/accountingbankdata.d.ts +2 -26
- package/dist/sdk/accountingbankdata.js +24 -146
- package/dist/sdk/accountingbankdataaccounts.d.ts +34 -0
- package/dist/sdk/accountingbankdataaccounts.js +262 -0
- package/dist/sdk/accountspayable.d.ts +8 -170
- package/dist/sdk/accountspayable.js +53 -983
- package/dist/sdk/accountspayablebillcreditnotes.d.ts +34 -0
- package/dist/sdk/accountspayablebillcreditnotes.js +262 -0
- package/dist/sdk/accountspayablebillpayments.d.ts +34 -0
- package/dist/sdk/accountspayablebillpayments.js +262 -0
- package/dist/sdk/accountspayablebills.d.ts +46 -0
- package/dist/sdk/accountspayablebills.js +348 -0
- package/dist/sdk/accountspayablesuppliers.d.ts +74 -0
- package/dist/sdk/accountspayablesuppliers.js +530 -0
- package/dist/sdk/accountsreceivable.d.ts +12 -284
- package/dist/sdk/accountsreceivable.js +13 -1677
- package/dist/sdk/accountsreceivablecreditnotes.d.ts +34 -0
- package/dist/sdk/accountsreceivablecreditnotes.js +262 -0
- package/dist/sdk/accountsreceivablecustomers.d.ts +74 -0
- package/dist/sdk/accountsreceivablecustomers.js +530 -0
- package/dist/sdk/accountsreceivabledirectincomes.d.ts +74 -0
- package/dist/sdk/{financials.js → accountsreceivabledirectincomes.js} +183 -211
- package/dist/sdk/accountsreceivableinvoices.d.ts +93 -0
- package/dist/sdk/{cashflow.js → accountsreceivableinvoices.js} +250 -189
- package/dist/sdk/accountsreceivablepayments.d.ts +34 -0
- package/dist/sdk/accountsreceivablepayments.js +262 -0
- package/dist/sdk/accountsreceivablereports.d.ts +36 -0
- package/dist/sdk/accountsreceivablereports.js +399 -0
- package/dist/sdk/banking.d.ts +15 -0
- package/dist/sdk/banking.js +23 -0
- package/dist/sdk/bankingaccountbalances.d.ts +20 -0
- package/dist/sdk/bankingaccountbalances.js +174 -0
- package/dist/sdk/bankingaccounts.d.ts +34 -0
- package/dist/sdk/bankingaccounts.js +254 -0
- package/dist/sdk/bankingcategorizedstatement.d.ts +19 -0
- package/dist/sdk/bankingcategorizedstatement.js +173 -0
- package/dist/sdk/bankingtransactioncategories.d.ts +34 -0
- package/dist/sdk/bankingtransactioncategories.js +254 -0
- package/dist/sdk/bankingtransactions.d.ts +34 -0
- package/dist/sdk/bankingtransactions.js +254 -0
- package/dist/sdk/companies.js +110 -25
- package/dist/sdk/companyinfo.d.ts +4 -4
- package/dist/sdk/companyinfo.js +52 -18
- package/dist/sdk/connections.js +110 -25
- package/dist/sdk/dataintegrity.js +66 -15
- package/dist/sdk/excelreports.d.ts +10 -2
- package/dist/sdk/excelreports.js +76 -17
- package/dist/sdk/fileupload.js +66 -15
- package/dist/sdk/financialstatements.d.ts +13 -0
- package/dist/sdk/financialstatements.js +21 -0
- package/dist/sdk/financialstatementsaccounts.d.ts +33 -0
- package/dist/sdk/financialstatementsaccounts.js +261 -0
- package/dist/sdk/financialstatementsbalancesheet.d.ts +24 -0
- package/dist/sdk/financialstatementsbalancesheet.js +253 -0
- package/dist/sdk/financialstatementscashflow.d.ts +15 -0
- package/dist/sdk/financialstatementscashflow.js +169 -0
- package/dist/sdk/financialstatementsprofitandloss.d.ts +24 -0
- package/dist/sdk/financialstatementsprofitandloss.js +253 -0
- package/dist/sdk/liabilities.d.ts +4 -4
- package/dist/sdk/liabilities.js +48 -14
- package/dist/sdk/managedata.d.ts +5 -38
- package/dist/sdk/managedata.js +27 -267
- package/dist/sdk/managedatapulloperations.d.ts +22 -0
- package/dist/sdk/managedatapulloperations.js +250 -0
- package/dist/sdk/managedatarefresh.d.ts +28 -0
- package/dist/sdk/managedatarefresh.js +250 -0
- package/dist/sdk/models/operations/{getaccountingcompanyinfo.d.ts → getaccountingprofile.d.ts} +2 -2
- package/dist/sdk/models/operations/{getaccountingcompanyinfo.js → getaccountingprofile.js} +17 -17
- package/dist/sdk/models/operations/{getenhancedprofitandlossaccounts.d.ts → getcategorizedbalancesheetstatement.d.ts} +2 -2
- package/dist/sdk/models/operations/{getenhancedbalancesheetaccounts.js → getcategorizedbalancesheetstatement.js} +19 -19
- package/dist/sdk/models/operations/{getenhancedcashflowtransactions.d.ts → getcategorizedbankstatement.d.ts} +2 -2
- package/dist/sdk/models/operations/{getenhancedcashflowtransactions.js → getcategorizedbankstatement.js} +20 -20
- package/dist/sdk/models/operations/{getenhancedbalancesheetaccounts.d.ts → getcategorizedprofitandlossstatement.d.ts} +2 -2
- package/dist/sdk/models/operations/{getenhancedprofitandlossaccounts.js → getcategorizedprofitandlossstatement.js} +19 -19
- package/dist/sdk/models/operations/{getcommercecompanyinfo.d.ts → getcommerceprofile.d.ts} +2 -2
- package/dist/sdk/models/operations/{getcommercecompanyinfo.js → getcommerceprofile.js} +18 -18
- package/dist/sdk/models/operations/{getcommercerefundsmetrics.d.ts → getcommercerefundsreport.d.ts} +2 -2
- package/dist/sdk/models/operations/{getcommercerefundsmetrics.js → getcommercerefundsreport.js} +23 -23
- package/dist/sdk/models/operations/index.d.ts +8 -8
- package/dist/sdk/models/operations/index.js +8 -8
- package/dist/sdk/models/operations/{isageddebtorreportavailable.d.ts → isageddebtorsreportavailable.d.ts} +3 -3
- package/dist/sdk/models/operations/{isageddebtorreportavailable.js → isageddebtorsreportavailable.js} +16 -16
- package/dist/sdk/models/operations/{getenhancedinvoicesreport.d.ts → listreconciledinvoices.d.ts} +2 -2
- package/dist/sdk/models/operations/{getenhancedinvoicesreport.js → listreconciledinvoices.js} +20 -20
- package/dist/sdk/models/operations/unlinkconnection.d.ts +6 -3
- package/dist/sdk/models/operations/unlinkconnection.js +8 -8
- package/dist/sdk/models/shared/accountbalance.d.ts +1 -1
- package/dist/sdk/models/shared/accountbalance.js +1 -1
- package/dist/sdk/models/shared/accountingaccounts.d.ts +0 -3
- package/dist/sdk/models/shared/accountingaccounts.js +0 -3
- package/dist/sdk/models/shared/accountingaccounttransactions.d.ts +0 -3
- package/dist/sdk/models/shared/accountingaccounttransactions.js +0 -3
- package/dist/sdk/models/shared/accountingbankaccounts.d.ts +0 -3
- package/dist/sdk/models/shared/accountingbankaccounts.js +0 -3
- package/dist/sdk/models/shared/accountingbanktransactions.d.ts +0 -3
- package/dist/sdk/models/shared/accountingbanktransactions.js +0 -3
- package/dist/sdk/models/shared/accountingbill.d.ts +1 -1
- package/dist/sdk/models/shared/accountingbillcreditnote.d.ts +1 -1
- package/dist/sdk/models/shared/accountingbillcreditnotes.d.ts +0 -3
- package/dist/sdk/models/shared/accountingbillcreditnotes.js +0 -3
- package/dist/sdk/models/shared/accountingbillpayment.d.ts +1 -1
- package/dist/sdk/models/shared/accountingbillpayments.d.ts +0 -3
- package/dist/sdk/models/shared/accountingbillpayments.js +0 -3
- package/dist/sdk/models/shared/accountingbills.d.ts +0 -3
- package/dist/sdk/models/shared/accountingbills.js +0 -3
- package/dist/sdk/models/shared/accountingcompanyinfo.d.ts +32 -2
- package/dist/sdk/models/shared/accountingcompanyinfo.js +47 -4
- package/dist/sdk/models/shared/accountingcreditnote.d.ts +1 -1
- package/dist/sdk/models/shared/accountingcreditnotes.d.ts +0 -3
- package/dist/sdk/models/shared/accountingcreditnotes.js +0 -3
- package/dist/sdk/models/shared/accountingcustomer.d.ts +3 -3
- package/dist/sdk/models/shared/accountingcustomer.js +3 -3
- package/dist/sdk/models/shared/accountingcustomers.d.ts +0 -3
- package/dist/sdk/models/shared/accountingcustomers.js +0 -3
- package/dist/sdk/models/shared/accountingdirectcost.d.ts +1 -1
- package/dist/sdk/models/shared/accountingdirectcosts.d.ts +0 -3
- package/dist/sdk/models/shared/accountingdirectcosts.js +0 -3
- package/dist/sdk/models/shared/accountingdirectincome.d.ts +1 -1
- package/dist/sdk/models/shared/accountingdirectincomes.d.ts +0 -3
- package/dist/sdk/models/shared/accountingdirectincomes.js +0 -3
- package/dist/sdk/models/shared/accountinginvoice.d.ts +1 -1
- package/dist/sdk/models/shared/accountinginvoices.d.ts +0 -3
- package/dist/sdk/models/shared/accountinginvoices.js +0 -3
- package/dist/sdk/models/shared/accountingjournalentries.d.ts +0 -3
- package/dist/sdk/models/shared/accountingjournalentries.js +0 -3
- package/dist/sdk/models/shared/accountingjournalentry.d.ts +1 -1
- package/dist/sdk/models/shared/accountingjournals.d.ts +0 -3
- package/dist/sdk/models/shared/accountingjournals.js +0 -3
- package/dist/sdk/models/shared/accountingpayment.d.ts +1 -1
- package/dist/sdk/models/shared/accountingpayments.d.ts +0 -3
- package/dist/sdk/models/shared/accountingpayments.js +0 -3
- package/dist/sdk/models/shared/accountingsupplier.d.ts +3 -3
- package/dist/sdk/models/shared/accountingsupplier.js +3 -3
- package/dist/sdk/models/shared/accountingsuppliers.d.ts +0 -3
- package/dist/sdk/models/shared/accountingsuppliers.js +0 -3
- package/dist/sdk/models/shared/accountingtransfer.d.ts +1 -1
- package/dist/sdk/models/shared/accountingtransfers.d.ts +0 -3
- package/dist/sdk/models/shared/accountingtransfers.js +0 -3
- package/dist/sdk/models/shared/{accountingaddress.d.ts → addressesitems.d.ts} +1 -1
- package/dist/sdk/models/shared/{accountingaddress.js → addressesitems.js} +13 -13
- package/dist/sdk/models/shared/attachments.d.ts +0 -3
- package/dist/sdk/models/shared/attachments.js +0 -3
- package/dist/sdk/models/shared/bankingaccountbalances.d.ts +0 -3
- package/dist/sdk/models/shared/bankingaccountbalances.js +0 -3
- package/dist/sdk/models/shared/bankingaccounts.d.ts +0 -3
- package/dist/sdk/models/shared/bankingaccounts.js +0 -3
- package/dist/sdk/models/shared/bankingtransactioncategories.d.ts +0 -3
- package/dist/sdk/models/shared/bankingtransactioncategories.js +0 -3
- package/dist/sdk/models/shared/bankingtransactions.d.ts +0 -3
- package/dist/sdk/models/shared/bankingtransactions.js +0 -3
- package/dist/sdk/models/shared/commercecustomers.d.ts +0 -3
- package/dist/sdk/models/shared/commercecustomers.js +0 -3
- package/dist/sdk/models/shared/commercedispute.d.ts +1 -1
- package/dist/sdk/models/shared/commercedispute.js +1 -1
- package/dist/sdk/models/shared/commercedisputes.d.ts +0 -3
- package/dist/sdk/models/shared/commercedisputes.js +0 -3
- package/dist/sdk/models/shared/commercelocations.d.ts +0 -3
- package/dist/sdk/models/shared/commercelocations.js +0 -3
- package/dist/sdk/models/shared/commerceorder.d.ts +2 -2
- package/dist/sdk/models/shared/commerceorder.js +1 -1
- package/dist/sdk/models/shared/commerceorders.d.ts +0 -3
- package/dist/sdk/models/shared/commerceorders.js +0 -3
- package/dist/sdk/models/shared/commercepaymentmethods.d.ts +0 -3
- package/dist/sdk/models/shared/commercepaymentmethods.js +0 -3
- package/dist/sdk/models/shared/commercepayments.d.ts +0 -3
- package/dist/sdk/models/shared/commercepayments.js +0 -3
- package/dist/sdk/models/shared/commerceproductcategories.d.ts +0 -3
- package/dist/sdk/models/shared/commerceproductcategories.js +0 -3
- package/dist/sdk/models/shared/commerceproducts.d.ts +0 -3
- package/dist/sdk/models/shared/commerceproducts.js +0 -3
- package/dist/sdk/models/shared/commercetransactions.d.ts +0 -3
- package/dist/sdk/models/shared/commercetransactions.js +0 -3
- package/dist/sdk/models/shared/companies.d.ts +0 -3
- package/dist/sdk/models/shared/companies.js +0 -3
- package/dist/sdk/models/shared/connections.d.ts +0 -3
- package/dist/sdk/models/shared/connections.js +0 -3
- package/dist/sdk/models/shared/contact.d.ts +2 -2
- package/dist/sdk/models/shared/contact.js +3 -3
- package/dist/sdk/models/shared/dataintegritydatatype.d.ts +0 -3
- package/dist/sdk/models/shared/dataintegritydatatype.js +0 -3
- package/dist/sdk/models/shared/dataintegritydetails.d.ts +0 -3
- package/dist/sdk/models/shared/dataintegritydetails.js +0 -3
- package/dist/sdk/models/shared/dataintegritystatuses.d.ts +0 -3
- package/dist/sdk/models/shared/dataintegritystatuses.js +0 -3
- package/dist/sdk/models/shared/dataintegritysummaries.d.ts +0 -3
- package/dist/sdk/models/shared/dataintegritysummaries.js +0 -3
- package/dist/sdk/models/shared/enhancedfinancialreport.d.ts +0 -3
- package/dist/sdk/models/shared/enhancedfinancialreport.js +0 -3
- package/dist/sdk/models/shared/errormessage.d.ts +0 -3
- package/dist/sdk/models/shared/errormessage.js +0 -3
- package/dist/sdk/models/shared/excelstatus.d.ts +0 -3
- package/dist/sdk/models/shared/excelstatus.js +0 -3
- package/dist/sdk/models/shared/index.d.ts +1 -1
- package/dist/sdk/models/shared/index.js +1 -1
- package/dist/sdk/models/shared/loansummary.d.ts +0 -3
- package/dist/sdk/models/shared/loansummary.js +0 -3
- package/dist/sdk/models/shared/loantransactions.d.ts +0 -3
- package/dist/sdk/models/shared/loantransactions.js +0 -3
- package/dist/sdk/models/shared/periodunit.d.ts +0 -3
- package/dist/sdk/models/shared/periodunit.js +0 -3
- package/dist/sdk/models/shared/pulloperations.d.ts +0 -3
- package/dist/sdk/models/shared/pulloperations.js +0 -3
- package/dist/sdk/models/shared/supplementaldata.d.ts +1 -1
- package/dist/sdk/models/shared/supplementaldata.js +1 -1
- package/dist/sdk/sales.d.ts +22 -372
- package/dist/sdk/sales.js +22 -1767
- package/dist/sdk/salescustomers.d.ts +34 -0
- package/dist/sdk/salescustomers.js +262 -0
- package/dist/sdk/salesdisputes.d.ts +34 -0
- package/dist/sdk/salesdisputes.js +262 -0
- package/dist/sdk/saleslocations.d.ts +34 -0
- package/dist/sdk/saleslocations.js +261 -0
- package/dist/sdk/salesmetrics.d.ts +102 -0
- package/dist/sdk/salesmetrics.js +406 -0
- package/dist/sdk/salesorders.d.ts +34 -0
- package/dist/sdk/salesorders.js +262 -0
- package/dist/sdk/salespaymentmethods.d.ts +34 -0
- package/dist/sdk/salespaymentmethods.js +262 -0
- package/dist/sdk/salespayments.d.ts +34 -0
- package/dist/sdk/salespayments.js +262 -0
- package/dist/sdk/salesproductcategories.d.ts +34 -0
- package/dist/sdk/salesproductcategories.js +262 -0
- package/dist/sdk/salesproducts.d.ts +34 -0
- package/dist/sdk/salesproducts.js +262 -0
- package/dist/sdk/salesreports.d.ts +69 -0
- package/dist/sdk/salesreports.js +298 -0
- package/dist/sdk/salestransactions.d.ts +34 -0
- package/dist/sdk/salestransactions.js +262 -0
- package/dist/sdk/sdk.d.ts +38 -30
- package/dist/sdk/sdk.js +33 -45
- package/dist/sdk/transactions.d.ts +10 -176
- package/dist/sdk/transactions.js +11 -1000
- package/dist/sdk/transactionsaccounttransactions.d.ts +34 -0
- package/dist/sdk/transactionsaccounttransactions.js +262 -0
- package/dist/sdk/transactionsdirectcosts.d.ts +74 -0
- package/dist/sdk/transactionsdirectcosts.js +530 -0
- package/dist/sdk/transactionsjournalentries.d.ts +34 -0
- package/dist/sdk/transactionsjournalentries.js +262 -0
- package/dist/sdk/transactionsjournals.d.ts +34 -0
- package/dist/sdk/transactionsjournals.js +262 -0
- package/dist/sdk/transactionstransfers.d.ts +34 -0
- package/dist/sdk/transactionstransfers.js +262 -0
- package/docs/models/operations/{getaccountingcompanyinforequest.md → getaccountingprofilerequest.md} +1 -1
- package/docs/models/operations/{getaccountingcompanyinforesponse.md → getaccountingprofileresponse.md} +1 -1
- package/docs/models/operations/{getenhancedbalancesheetaccountsrequest.md → getcategorizedbalancesheetstatementrequest.md} +1 -1
- package/docs/models/operations/{getenhancedprofitandlossaccountsresponse.md → getcategorizedbalancesheetstatementresponse.md} +1 -1
- package/docs/models/operations/{getenhancedcashflowtransactionsrequest.md → getcategorizedbankstatementrequest.md} +1 -1
- package/docs/models/operations/{getenhancedcashflowtransactionsresponse.md → getcategorizedbankstatementresponse.md} +1 -1
- package/docs/models/operations/{getenhancedprofitandlossaccountsrequest.md → getcategorizedprofitandlossstatementrequest.md} +1 -1
- package/docs/models/operations/{getenhancedbalancesheetaccountsresponse.md → getcategorizedprofitandlossstatementresponse.md} +1 -1
- package/docs/models/operations/{getcommercecompanyinforequest.md → getcommerceprofilerequest.md} +1 -1
- package/docs/models/operations/{getcommercecompanyinforesponse.md → getcommerceprofileresponse.md} +1 -1
- package/docs/models/operations/{getcommercerefundsmetricsrequest.md → getcommercerefundsreportrequest.md} +1 -1
- package/docs/models/operations/{getcommercerefundsmetricsresponse.md → getcommercerefundsreportresponse.md} +1 -1
- package/docs/models/operations/{isageddebtorreportavailablerequest.md → isageddebtorsreportavailablerequest.md} +1 -1
- package/docs/models/operations/{isageddebtorreportavailableresponse.md → isageddebtorsreportavailableresponse.md} +2 -2
- package/docs/models/operations/{getenhancedinvoicesreportrequest.md → listreconciledinvoicesrequest.md} +1 -1
- package/docs/models/operations/{getenhancedinvoicesreportresponse.md → listreconciledinvoicesresponse.md} +1 -1
- package/docs/models/operations/unlinkconnectionrequest.md +5 -5
- package/docs/models/operations/unlinkconnectionupdateconnection.md +8 -0
- package/docs/models/shared/accountbalance.md +1 -1
- package/docs/models/shared/accountingaccounts.md +0 -2
- package/docs/models/shared/accountingaccounttransactions.md +0 -2
- package/docs/models/shared/accountingbankaccounts.md +0 -2
- package/docs/models/shared/accountingbanktransactions.md +0 -2
- package/docs/models/shared/accountingbill.md +1 -1
- package/docs/models/shared/accountingbillcreditnote.md +1 -1
- package/docs/models/shared/accountingbillcreditnotes.md +0 -2
- package/docs/models/shared/accountingbillpayment.md +1 -1
- package/docs/models/shared/accountingbillpayments.md +0 -2
- package/docs/models/shared/accountingbills.md +0 -2
- package/docs/models/shared/accountingcompanyinfo.md +1 -1
- package/docs/models/shared/accountingcompanyinfoaccountingaddress.md +14 -0
- package/docs/models/shared/accountingcreditnote.md +1 -1
- package/docs/models/shared/accountingcreditnotes.md +0 -2
- package/docs/models/shared/accountingcustomer.md +2 -2
- package/docs/models/shared/accountingcustomers.md +0 -2
- package/docs/models/shared/accountingdirectcost.md +1 -1
- package/docs/models/shared/accountingdirectcosts.md +0 -2
- package/docs/models/shared/accountingdirectincome.md +1 -1
- package/docs/models/shared/accountingdirectincomes.md +0 -2
- package/docs/models/shared/accountinginvoice.md +1 -1
- package/docs/models/shared/accountinginvoices.md +0 -2
- package/docs/models/shared/accountingjournalentries.md +0 -2
- package/docs/models/shared/accountingjournalentry.md +1 -1
- package/docs/models/shared/accountingjournals.md +0 -2
- package/docs/models/shared/accountingpayment.md +1 -1
- package/docs/models/shared/accountingpayments.md +0 -2
- package/docs/models/shared/accountingsupplier.md +16 -16
- package/docs/models/shared/accountingsuppliers.md +0 -2
- package/docs/models/shared/accountingtransfer.md +1 -1
- package/docs/models/shared/accountingtransfers.md +0 -2
- package/docs/models/shared/{accountingaddress.md → addressesitems.md} +1 -1
- package/docs/models/shared/attachments.md +0 -2
- package/docs/models/shared/bankingaccountbalances.md +0 -2
- package/docs/models/shared/bankingaccounts.md +0 -2
- package/docs/models/shared/bankingtransactioncategories.md +0 -2
- package/docs/models/shared/bankingtransactions.md +0 -2
- package/docs/models/shared/commercecustomers.md +0 -2
- package/docs/models/shared/commercedispute.md +1 -1
- package/docs/models/shared/commercedisputes.md +0 -2
- package/docs/models/shared/commercelocations.md +0 -2
- package/docs/models/shared/commerceorder.md +1 -1
- package/docs/models/shared/commerceorders.md +0 -2
- package/docs/models/shared/commerceordersupplementaldata.md +1 -1
- package/docs/models/shared/commercepaymentmethods.md +0 -2
- package/docs/models/shared/commercepayments.md +0 -2
- package/docs/models/shared/commerceproductcategories.md +0 -2
- package/docs/models/shared/commerceproducts.md +0 -2
- package/docs/models/shared/commercetransactions.md +0 -2
- package/docs/models/shared/companies.md +0 -2
- package/docs/models/shared/connections.md +0 -2
- package/docs/models/shared/contact.md +1 -1
- package/docs/models/shared/dataintegritydatatype.md +0 -2
- package/docs/models/shared/dataintegritydetails.md +0 -2
- package/docs/models/shared/dataintegritystatuses.md +0 -2
- package/docs/models/shared/dataintegritysummaries.md +0 -2
- package/docs/models/shared/enhancedfinancialreport.md +0 -2
- package/docs/models/shared/errormessage.md +0 -2
- package/docs/models/shared/excelstatus.md +0 -2
- package/docs/models/shared/loansummary.md +0 -2
- package/docs/models/shared/loantransactions.md +0 -2
- package/docs/models/shared/periodunit.md +0 -2
- package/docs/models/shared/pulloperations.md +0 -2
- package/docs/models/shared/supplementaldata.md +1 -1
- package/docs/sdks/accountingbankdata/README.md +2 -101
- package/docs/sdks/accountingbankdataaccounts/README.md +103 -0
- package/docs/sdks/accountspayable/README.md +2 -664
- package/docs/sdks/accountspayablebillcreditnotes/README.md +101 -0
- package/docs/sdks/accountspayablebillpayments/README.md +101 -0
- package/docs/sdks/accountspayablebills/README.md +148 -0
- package/docs/sdks/accountspayablesuppliers/README.md +244 -0
- package/docs/sdks/accountsreceivable/README.md +0 -1089
- package/docs/sdks/accountsreceivablecreditnotes/README.md +101 -0
- package/docs/sdks/accountsreceivablecustomers/README.md +244 -0
- package/docs/sdks/accountsreceivabledirectincomes/README.md +247 -0
- package/docs/sdks/{financials → accountsreceivableinvoices}/README.md +123 -111
- package/docs/sdks/accountsreceivablepayments/README.md +101 -0
- package/docs/sdks/accountsreceivablereports/README.md +172 -0
- package/docs/sdks/banking/README.md +4 -0
- package/docs/sdks/bankingaccountbalances/README.md +54 -0
- package/docs/sdks/bankingaccounts/README.md +103 -0
- package/docs/sdks/bankingcategorizedstatement/README.md +51 -0
- package/docs/sdks/bankingtransactioncategories/README.md +103 -0
- package/docs/sdks/bankingtransactions/README.md +103 -0
- package/docs/sdks/codatlending/README.md +24 -4
- package/docs/sdks/companies/README.md +1 -1
- package/docs/sdks/companyinfo/README.md +22 -22
- package/docs/sdks/connections/README.md +4 -3
- package/docs/sdks/dataintegrity/README.md +5 -5
- package/docs/sdks/excelreports/README.md +12 -4
- package/docs/sdks/fileupload/README.md +2 -2
- package/docs/sdks/financialstatements/README.md +4 -0
- package/docs/sdks/financialstatementsaccounts/README.md +100 -0
- package/docs/sdks/financialstatementsbalancesheet/README.md +91 -0
- package/docs/sdks/financialstatementscashflow/README.md +47 -0
- package/docs/sdks/financialstatementsprofitandloss/README.md +91 -0
- package/docs/sdks/liabilities/README.md +4 -4
- package/docs/sdks/managedata/README.md +3 -181
- package/docs/sdks/managedatapulloperations/README.md +89 -0
- package/docs/sdks/managedatarefresh/README.md +93 -0
- package/docs/sdks/sales/README.md +0 -1223
- package/docs/sdks/salescustomers/README.md +103 -0
- package/docs/sdks/salesdisputes/README.md +103 -0
- package/docs/sdks/saleslocations/README.md +99 -0
- package/docs/sdks/salesmetrics/README.md +218 -0
- package/docs/sdks/salesorders/README.md +103 -0
- package/docs/sdks/salespaymentmethods/README.md +103 -0
- package/docs/sdks/salespayments/README.md +103 -0
- package/docs/sdks/salesproductcategories/README.md +103 -0
- package/docs/sdks/salesproducts/README.md +103 -0
- package/docs/sdks/salesreports/README.md +145 -0
- package/docs/sdks/salestransactions/README.md +103 -0
- package/docs/sdks/transactions/README.md +0 -638
- package/docs/sdks/transactionsaccounttransactions/README.md +103 -0
- package/docs/sdks/transactionsdirectcosts/README.md +246 -0
- package/docs/sdks/transactionsjournalentries/README.md +101 -0
- package/docs/sdks/transactionsjournals/README.md +101 -0
- package/docs/sdks/transactionstransfers/README.md +103 -0
- package/package.json +1 -1
- package/dist/sdk/cashflow.d.ts +0 -112
- package/dist/sdk/financials.d.ts +0 -75
- package/docs/models/operations/unlinkconnectionrequestbody.md +0 -8
- package/docs/sdks/cashflow/README.md +0 -402
|
@@ -31,9 +31,6 @@ exports.ExcelStatus = void 0;
|
|
|
31
31
|
var utils_1 = require("../../../internal/utils");
|
|
32
32
|
var excelreporttypes_1 = require("./excelreporttypes");
|
|
33
33
|
var class_transformer_1 = require("class-transformer");
|
|
34
|
-
/**
|
|
35
|
-
* OK
|
|
36
|
-
*/
|
|
37
34
|
var ExcelStatus = /** @class */ (function (_super) {
|
|
38
35
|
__extends(ExcelStatus, _super);
|
|
39
36
|
function ExcelStatus() {
|
|
@@ -7,7 +7,6 @@ export * from "./accountingaccount";
|
|
|
7
7
|
export * from "./accountingaccounts";
|
|
8
8
|
export * from "./accountingaccounttransaction";
|
|
9
9
|
export * from "./accountingaccounttransactions";
|
|
10
|
-
export * from "./accountingaddress";
|
|
11
10
|
export * from "./accountingaddresstype";
|
|
12
11
|
export * from "./accountingagedcreditorreport";
|
|
13
12
|
export * from "./accountingageddebtorreport";
|
|
@@ -57,6 +56,7 @@ export * from "./accountsreceivabletracking";
|
|
|
57
56
|
export * from "./accountstatus";
|
|
58
57
|
export * from "./accounttransactionline";
|
|
59
58
|
export * from "./accounttype";
|
|
59
|
+
export * from "./addressesitems";
|
|
60
60
|
export * from "./agedcreditor";
|
|
61
61
|
export * from "./agedcurrencyoutstanding";
|
|
62
62
|
export * from "./ageddebtor";
|
|
@@ -26,7 +26,6 @@ __exportStar(require("./accountingaccount"), exports);
|
|
|
26
26
|
__exportStar(require("./accountingaccounts"), exports);
|
|
27
27
|
__exportStar(require("./accountingaccounttransaction"), exports);
|
|
28
28
|
__exportStar(require("./accountingaccounttransactions"), exports);
|
|
29
|
-
__exportStar(require("./accountingaddress"), exports);
|
|
30
29
|
__exportStar(require("./accountingaddresstype"), exports);
|
|
31
30
|
__exportStar(require("./accountingagedcreditorreport"), exports);
|
|
32
31
|
__exportStar(require("./accountingageddebtorreport"), exports);
|
|
@@ -76,6 +75,7 @@ __exportStar(require("./accountsreceivabletracking"), exports);
|
|
|
76
75
|
__exportStar(require("./accountstatus"), exports);
|
|
77
76
|
__exportStar(require("./accounttransactionline"), exports);
|
|
78
77
|
__exportStar(require("./accounttype"), exports);
|
|
78
|
+
__exportStar(require("./addressesitems"), exports);
|
|
79
79
|
__exportStar(require("./agedcreditor"), exports);
|
|
80
80
|
__exportStar(require("./agedcurrencyoutstanding"), exports);
|
|
81
81
|
__exportStar(require("./ageddebtor"), exports);
|
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
import { SpeakeasyBase } from "../../../internal/utils";
|
|
2
2
|
import { LoanSummaryReportInfo } from "./loansummaryreportinfo";
|
|
3
3
|
import { LoanSummaryReportItem } from "./loansummaryreportitem";
|
|
4
|
-
/**
|
|
5
|
-
* OK
|
|
6
|
-
*/
|
|
7
4
|
export declare class LoanSummary extends SpeakeasyBase {
|
|
8
5
|
reportInfo?: LoanSummaryReportInfo;
|
|
9
6
|
/**
|
|
@@ -32,9 +32,6 @@ var utils_1 = require("../../../internal/utils");
|
|
|
32
32
|
var loansummaryreportinfo_1 = require("./loansummaryreportinfo");
|
|
33
33
|
var loansummaryreportitem_1 = require("./loansummaryreportitem");
|
|
34
34
|
var class_transformer_1 = require("class-transformer");
|
|
35
|
-
/**
|
|
36
|
-
* OK
|
|
37
|
-
*/
|
|
38
35
|
var LoanSummary = /** @class */ (function (_super) {
|
|
39
36
|
__extends(LoanSummary, _super);
|
|
40
37
|
function LoanSummary() {
|
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
import { SpeakeasyBase } from "../../../internal/utils";
|
|
2
2
|
import { LoanTransactionsReportInfo } from "./loantransactionsreportinfo";
|
|
3
3
|
import { ReportItems } from "./reportitems";
|
|
4
|
-
/**
|
|
5
|
-
* OK
|
|
6
|
-
*/
|
|
7
4
|
export declare class LoanTransactions extends SpeakeasyBase {
|
|
8
5
|
/**
|
|
9
6
|
* If there are no errors, an empty array is returned.
|
|
@@ -32,9 +32,6 @@ var utils_1 = require("../../../internal/utils");
|
|
|
32
32
|
var loantransactionsreportinfo_1 = require("./loantransactionsreportinfo");
|
|
33
33
|
var reportitems_1 = require("./reportitems");
|
|
34
34
|
var class_transformer_1 = require("class-transformer");
|
|
35
|
-
/**
|
|
36
|
-
* OK
|
|
37
|
-
*/
|
|
38
35
|
var LoanTransactions = /** @class */ (function (_super) {
|
|
39
36
|
__extends(LoanTransactions, _super);
|
|
40
37
|
function LoanTransactions() {
|
|
@@ -32,9 +32,6 @@ var utils_1 = require("../../../internal/utils");
|
|
|
32
32
|
var links_1 = require("./links");
|
|
33
33
|
var pulloperation_1 = require("./pulloperation");
|
|
34
34
|
var class_transformer_1 = require("class-transformer");
|
|
35
|
-
/**
|
|
36
|
-
* OK
|
|
37
|
-
*/
|
|
38
35
|
var PullOperations = /** @class */ (function (_super) {
|
|
39
36
|
__extends(PullOperations, _super);
|
|
40
37
|
function PullOperations() {
|
|
@@ -4,7 +4,7 @@ import { SpeakeasyBase } from "../../../internal/utils";
|
|
|
4
4
|
*
|
|
5
5
|
* @remarks
|
|
6
6
|
*
|
|
7
|
-
* It is referenced as a configured dynamic key value pair that is unique to the accounting platform. [Learn more](https://docs.codat.io/using-the-api/
|
|
7
|
+
* It is referenced as a configured dynamic key value pair that is unique to the accounting platform. [Learn more](https://docs.codat.io/using-the-api/supplemental-data/overview) about supplemental data.
|
|
8
8
|
*/
|
|
9
9
|
export declare class SupplementalData extends SpeakeasyBase {
|
|
10
10
|
content?: Record<string, Record<string, any>>;
|
|
@@ -35,7 +35,7 @@ var class_transformer_1 = require("class-transformer");
|
|
|
35
35
|
*
|
|
36
36
|
* @remarks
|
|
37
37
|
*
|
|
38
|
-
* It is referenced as a configured dynamic key value pair that is unique to the accounting platform. [Learn more](https://docs.codat.io/using-the-api/
|
|
38
|
+
* It is referenced as a configured dynamic key value pair that is unique to the accounting platform. [Learn more](https://docs.codat.io/using-the-api/supplemental-data/overview) about supplemental data.
|
|
39
39
|
*/
|
|
40
40
|
var SupplementalData = /** @class */ (function (_super) {
|
|
41
41
|
__extends(SupplementalData, _super);
|
package/dist/sdk/sales.d.ts
CHANGED
|
@@ -1,377 +1,27 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { SalesCustomers } from "./salescustomers";
|
|
2
|
+
import { SalesDisputes } from "./salesdisputes";
|
|
3
|
+
import { SalesLocations } from "./saleslocations";
|
|
4
|
+
import { SalesMetrics } from "./salesmetrics";
|
|
5
|
+
import { SalesOrders } from "./salesorders";
|
|
6
|
+
import { SalesPaymentMethods } from "./salespaymentmethods";
|
|
7
|
+
import { SalesPayments } from "./salespayments";
|
|
8
|
+
import { SalesProductCategories } from "./salesproductcategories";
|
|
9
|
+
import { SalesProducts } from "./salesproducts";
|
|
10
|
+
import { SalesReports } from "./salesreports";
|
|
11
|
+
import { SalesTransactions } from "./salestransactions";
|
|
3
12
|
import { SDKConfiguration } from "./sdk";
|
|
4
|
-
import { AxiosRequestConfig } from "axios";
|
|
5
|
-
/**
|
|
6
|
-
* Retrieve standardized sales data from a linked commerce platform.
|
|
7
|
-
*/
|
|
8
13
|
export declare class Sales {
|
|
14
|
+
salesCustomers: SalesCustomers;
|
|
15
|
+
salesDisputes: SalesDisputes;
|
|
16
|
+
salesLocations: SalesLocations;
|
|
17
|
+
salesMetrics: SalesMetrics;
|
|
18
|
+
salesOrders: SalesOrders;
|
|
19
|
+
salesPaymentMethods: SalesPaymentMethods;
|
|
20
|
+
salesPayments: SalesPayments;
|
|
21
|
+
salesProductCategories: SalesProductCategories;
|
|
22
|
+
salesProducts: SalesProducts;
|
|
23
|
+
salesReports: SalesReports;
|
|
24
|
+
salesTransactions: SalesTransactions;
|
|
9
25
|
private sdkConfiguration;
|
|
10
26
|
constructor(sdkConfig: SDKConfiguration);
|
|
11
|
-
/**
|
|
12
|
-
* Get customer
|
|
13
|
-
*
|
|
14
|
-
* @remarks
|
|
15
|
-
* The *Get customer* endpoint returns a single customer for a given customerId.
|
|
16
|
-
*
|
|
17
|
-
* [Customers](https://docs.codat.io/commerce-api#/schemas/Customer) are people or organizations that place orders, make payments and receive goods and/or services from the SMB.
|
|
18
|
-
*
|
|
19
|
-
* Check out our [coverage explorer](https://knowledge.codat.io/supported-features/commerce?view=tab-by-data-type&dataType=commerce-customers) for integrations that support getting a specific customer.
|
|
20
|
-
*
|
|
21
|
-
* Before using this endpoint, you must have [retrieved data for the company](https://docs.codat.io/lending-api#/operations/refresh-company-data).
|
|
22
|
-
*
|
|
23
|
-
*/
|
|
24
|
-
getCustomer(req: operations.GetCommerceCustomerRequest, retries?: utils.RetryConfig, config?: AxiosRequestConfig): Promise<operations.GetCommerceCustomerResponse>;
|
|
25
|
-
/**
|
|
26
|
-
* Get customer retention metrics
|
|
27
|
-
*
|
|
28
|
-
* @remarks
|
|
29
|
-
* The *Get customer retention metrics* endpoint returns customer retention insights for a specific company's commerce connection over one or more periods of time.
|
|
30
|
-
*
|
|
31
|
-
* This detail helps you assess a merchant's health and advise them on performance improvement strategies. It also provides you with key insights you need to assess the credit risk of a company.
|
|
32
|
-
*
|
|
33
|
-
* #### Customer retention metrics
|
|
34
|
-
*
|
|
35
|
-
* - __Existing customers__: the number of unique customers that have placed an order(s) in the specified period and any previous period.
|
|
36
|
-
* - __New customers__: the number of unique customers that have placed an order(s) in the specified period and none in any previous period.
|
|
37
|
-
* - __Total customers__: the total number of existing and new customers within the specified period.
|
|
38
|
-
* - __Retention rate__: the ratio of existing customers within the specified period compared to the total customers at the end of the previous period represented as a percentage.
|
|
39
|
-
* - __Repeat rate__: the ratio of existing customers to total customers over the specified period represented as a percentage.
|
|
40
|
-
*
|
|
41
|
-
* Learn more about the formulas used to calculate customer retention metrics [here](/lending/commerce-metrics/overview#what-metrics-are-available).
|
|
42
|
-
*
|
|
43
|
-
* #### Response structure
|
|
44
|
-
*
|
|
45
|
-
* The Customer retention report's dimensions and measures are:
|
|
46
|
-
*
|
|
47
|
-
* | Index | Dimensions |
|
|
48
|
-
* |-----------------------------|----------------------------|
|
|
49
|
-
* | `index` = 0 | Period |
|
|
50
|
-
* | `index` = 1 | Customer retention metrics |
|
|
51
|
-
*
|
|
52
|
-
* | Index | Measures |
|
|
53
|
-
* |----------------------|------------|
|
|
54
|
-
* | `index` = 0 | Count |
|
|
55
|
-
* | `index` = 1 | Percentage |
|
|
56
|
-
*
|
|
57
|
-
* The report data then combines multiple reporting dimensions and measures and outputs the value of each combination.
|
|
58
|
-
*/
|
|
59
|
-
getCustomerRetentionMetrics(req: operations.GetCommerceCustomerRetentionMetricsRequest, retries?: utils.RetryConfig, config?: AxiosRequestConfig): Promise<operations.GetCommerceCustomerRetentionMetricsResponse>;
|
|
60
|
-
/**
|
|
61
|
-
* Get dispute
|
|
62
|
-
*
|
|
63
|
-
* @remarks
|
|
64
|
-
* The *Get dispute* endpoint returns a single dispute for a given disputeId.
|
|
65
|
-
*
|
|
66
|
-
* [Disputes](https://docs.codat.io/commerce-api#/schemas/Dispute) are created when a customer is unsatisfied with their purchase or believe they have been charged incorrectly.
|
|
67
|
-
*
|
|
68
|
-
* Check out our [coverage explorer](https://knowledge.codat.io/supported-features/commerce?view=tab-by-data-type&dataType=commerce-disputes) for integrations that support getting a specific dispute.
|
|
69
|
-
*
|
|
70
|
-
* Before using this endpoint, you must have [retrieved data for the company](https://docs.codat.io/lending-api#/operations/refresh-company-data).
|
|
71
|
-
*
|
|
72
|
-
*/
|
|
73
|
-
getDispute(req: operations.GetCommerceDisputeRequest, retries?: utils.RetryConfig, config?: AxiosRequestConfig): Promise<operations.GetCommerceDisputeResponse>;
|
|
74
|
-
/**
|
|
75
|
-
* Get lifetime value metrics
|
|
76
|
-
*
|
|
77
|
-
* @remarks
|
|
78
|
-
* The *Get lifetime value metrics* endpoint returns the average revenue that a specific company will generate throughout its lifespan over one or more periods of time.
|
|
79
|
-
*
|
|
80
|
-
* This detail helps you assess a merchant's health and advise them on performance improvement strategies. It also provides you with key insights you need to assess the credit risk of a company.
|
|
81
|
-
*
|
|
82
|
-
* Learn more about the formulas used to calculate the lifetime value metrics [here](/lending/commerce-metrics/overview#what-metrics-are-available).
|
|
83
|
-
*
|
|
84
|
-
* Refer to the [commerce reporting structure](/lending/commerce-metrics/reporting-structure) page for more detail on commerce reports in Lending.
|
|
85
|
-
*
|
|
86
|
-
* #### Response structure
|
|
87
|
-
*
|
|
88
|
-
* The Lifetime value report's dimensions and measures are:
|
|
89
|
-
*
|
|
90
|
-
* | Index | Dimensions |
|
|
91
|
-
* |---------------|------------------------|
|
|
92
|
-
* | `index` = 0 | Period |
|
|
93
|
-
* | `index` = 1 | Lifetime value metrics |
|
|
94
|
-
*
|
|
95
|
-
* | Index | Measures |
|
|
96
|
-
* |-------------------|---------|
|
|
97
|
-
* | `index` = 1 | Value |
|
|
98
|
-
*
|
|
99
|
-
* The report data then combines multiple reporting dimensions and measures and outputs the value of each combination.
|
|
100
|
-
*
|
|
101
|
-
*/
|
|
102
|
-
getLifetimeValueMetrics(req: operations.GetCommerceLifetimeValueMetricsRequest, retries?: utils.RetryConfig, config?: AxiosRequestConfig): Promise<operations.GetCommerceLifetimeValueMetricsResponse>;
|
|
103
|
-
/**
|
|
104
|
-
* Get location
|
|
105
|
-
*
|
|
106
|
-
* @remarks
|
|
107
|
-
* The *Get location* endpoint returns a single location for a given locationId.
|
|
108
|
-
*
|
|
109
|
-
* [Locations](https://docs.codat.io/commerce-api#/schemas/Location) hold information on the geographic location at which stocks of [products](https://docs.codat.io/commerce-api#/schemas/Product) may be held or where [orders](https://docs.codat.io/commerce-api#/schemas/Order) were placed.
|
|
110
|
-
*
|
|
111
|
-
* Check out our [coverage explorer](https://knowledge.codat.io/supported-features/commerce?view=tab-by-data-type&dataType=commerce-locations) for integrations that support getting a specific location.
|
|
112
|
-
*
|
|
113
|
-
* Before using this endpoint, you must have [retrieved data for the company](https://docs.codat.io/lending-api#/operations/refresh-company-data).
|
|
114
|
-
*
|
|
115
|
-
*/
|
|
116
|
-
getLocation(req: operations.GetCommerceLocationRequest, retries?: utils.RetryConfig, config?: AxiosRequestConfig): Promise<operations.GetCommerceLocationResponse>;
|
|
117
|
-
/**
|
|
118
|
-
* Get order
|
|
119
|
-
*
|
|
120
|
-
* @remarks
|
|
121
|
-
* The *Get order* endpoint returns a single order for a given orderId.
|
|
122
|
-
*
|
|
123
|
-
* [Orders](https://docs.codat.io/commerce-api#/schemas/Order) contain the transaction details for all products sold by the company.
|
|
124
|
-
*
|
|
125
|
-
* Check out our [coverage explorer](https://knowledge.codat.io/supported-features/commerce?view=tab-by-data-type&dataType=commerce-orders) for integrations that support getting a specific order.
|
|
126
|
-
*
|
|
127
|
-
* Before using this endpoint, you must have [retrieved data for the company](https://docs.codat.io/lending-api#/operations/refresh-company-data).
|
|
128
|
-
*
|
|
129
|
-
*/
|
|
130
|
-
getOrder(req: operations.GetCommerceOrderRequest, retries?: utils.RetryConfig, config?: AxiosRequestConfig): Promise<operations.GetCommerceOrderResponse>;
|
|
131
|
-
/**
|
|
132
|
-
* Get orders report
|
|
133
|
-
*
|
|
134
|
-
* @remarks
|
|
135
|
-
* The *Get orders report* endpoint returns the number of orders, total value, and average order value for a specific company's commerce connection over one or more periods of time.
|
|
136
|
-
*
|
|
137
|
-
* This detail helps you assess a merchant's health and advise them on performance improvement strategies. It also provides you with key insights you need to assess the credit risk of a company.
|
|
138
|
-
*
|
|
139
|
-
* Learn more about the formulas used to calculate the order metrics [here](/lending/commerce-metrics/overview#what-metrics-are-available).
|
|
140
|
-
*
|
|
141
|
-
* Refer to the [commerce reporting structure](/lending/commerce-metrics/reporting-structure) page for more details on commerce reports in Lending.
|
|
142
|
-
*
|
|
143
|
-
* #### Response structure
|
|
144
|
-
*
|
|
145
|
-
* The Orders report's dimensions and measures are:
|
|
146
|
-
*
|
|
147
|
-
* | Index | Dimensions |
|
|
148
|
-
* |---------------|----------------|
|
|
149
|
-
* | `index` = 0 | Period |
|
|
150
|
-
* | `index` = 1 | Order metrics |
|
|
151
|
-
*
|
|
152
|
-
* | Index | Measures |
|
|
153
|
-
* |---------------|------------|
|
|
154
|
-
* | `index` = 0 | Count |
|
|
155
|
-
* | `index` = 1 | Value |
|
|
156
|
-
*
|
|
157
|
-
* The report data then combines multiple reporting dimensions and measures and outputs the value of each combination.
|
|
158
|
-
*
|
|
159
|
-
*/
|
|
160
|
-
getOrdersReport(req: operations.GetCommerceOrdersReportRequest, retries?: utils.RetryConfig, config?: AxiosRequestConfig): Promise<operations.GetCommerceOrdersReportResponse>;
|
|
161
|
-
/**
|
|
162
|
-
* Get payment
|
|
163
|
-
*
|
|
164
|
-
* @remarks
|
|
165
|
-
* The *Get payment* endpoint returns a single payment for a given paymentId.
|
|
166
|
-
*
|
|
167
|
-
* [Payments](https://docs.codat.io/commerce-api#/schemas/Payment) contain details of all payments made by customers to the company.
|
|
168
|
-
*
|
|
169
|
-
* Check out our [coverage explorer](https://knowledge.codat.io/supported-features/commerce?view=tab-by-data-type&dataType=commerce-payments) for integrations that support getting a specific payment.
|
|
170
|
-
*
|
|
171
|
-
* Before using this endpoint, you must have [retrieved data for the company](https://docs.codat.io/lending-api#/operations/refresh-company-data).
|
|
172
|
-
*
|
|
173
|
-
*/
|
|
174
|
-
getPayment(req: operations.GetCommercePaymentRequest, retries?: utils.RetryConfig, config?: AxiosRequestConfig): Promise<operations.GetCommercePaymentResponse>;
|
|
175
|
-
/**
|
|
176
|
-
* Get payment method
|
|
177
|
-
*
|
|
178
|
-
* @remarks
|
|
179
|
-
* The *Get payment method* endpoint returns a single payment method for a given paymentMethodId.
|
|
180
|
-
*
|
|
181
|
-
* [Payment methods](https://docs.codat.io/commerce-api#/schemas/PaymentMethod) represent the payment method(s) used to make payments.
|
|
182
|
-
*
|
|
183
|
-
* Check out our [coverage explorer](https://knowledge.codat.io/supported-features/commerce?view=tab-by-data-type&dataType=commerce-paymentMethods) for integrations that support getting a specific payment method.
|
|
184
|
-
*
|
|
185
|
-
* Before using this endpoint, you must have [retrieved data for the company](https://docs.codat.io/lending-api#/operations/refresh-company-data).
|
|
186
|
-
*
|
|
187
|
-
*/
|
|
188
|
-
getPaymentMethod(req: operations.GetCommercePaymentMethodRequest, retries?: utils.RetryConfig, config?: AxiosRequestConfig): Promise<operations.GetCommercePaymentMethodResponse>;
|
|
189
|
-
/**
|
|
190
|
-
* Get product
|
|
191
|
-
*
|
|
192
|
-
* @remarks
|
|
193
|
-
* The *Get product* endpoint returns a single product for a given productId.
|
|
194
|
-
*
|
|
195
|
-
* [Products](https://docs.codat.io/commerce-api#/schemas/Product) are items in the company's inventory that are available for sale.
|
|
196
|
-
*
|
|
197
|
-
* Check out our [coverage explorer](https://knowledge.codat.io/supported-features/commerce?view=tab-by-data-type&dataType=commerce-products) for integrations that support getting a specific product.
|
|
198
|
-
*
|
|
199
|
-
* Before using this endpoint, you must have [retrieved data for the company](https://docs.codat.io/lending-api#/operations/refresh-company-data).
|
|
200
|
-
*
|
|
201
|
-
*/
|
|
202
|
-
getProduct(req: operations.GetCommerceProductRequest, retries?: utils.RetryConfig, config?: AxiosRequestConfig): Promise<operations.GetCommerceProductResponse>;
|
|
203
|
-
/**
|
|
204
|
-
* Get product category
|
|
205
|
-
*
|
|
206
|
-
* @remarks
|
|
207
|
-
* The *Get product* endpoint returns a single product for a given productId.
|
|
208
|
-
*
|
|
209
|
-
* [Product categories](https://docs.codat.io/commerce-api#/schemas/ProductCategory) are used to classify a group of products together, either by type (e.g. "Furniture"), or sometimes by tax profile.
|
|
210
|
-
*
|
|
211
|
-
* Check out our [coverage explorer](https://knowledge.codat.io/supported-features/commerce?view=tab-by-data-type&dataType=commerce-productCategories) for integrations that support getting a specific product.
|
|
212
|
-
*
|
|
213
|
-
* Before using this endpoint, you must have [retrieved data for the company](https://docs.codat.io/lending-api#/operations/refresh-company-data).
|
|
214
|
-
*
|
|
215
|
-
*/
|
|
216
|
-
getProductCategory(req: operations.GetCommerceProductCategoryRequest, retries?: utils.RetryConfig, config?: AxiosRequestConfig): Promise<operations.GetCommerceProductCategoryResponse>;
|
|
217
|
-
/**
|
|
218
|
-
* Get refunds report
|
|
219
|
-
*
|
|
220
|
-
* @remarks
|
|
221
|
-
* The *Get refunds report* endpoint returns the number and total value of refunds and the refund rate for a specific company's commerce connection over one or more periods of time.
|
|
222
|
-
*
|
|
223
|
-
* This detail helps you assess a merchant's health and advise them on performance improvement strategies. It also provides you with key insights you need to assess the credit risk of a company.
|
|
224
|
-
*
|
|
225
|
-
* Learn more about the formulas used to calculate the refunds metrics [here](/lending/commerce-metrics/overview#what-metrics-are-available).
|
|
226
|
-
*
|
|
227
|
-
* Refer to the [commerce reporting structure](/lending/commerce-metrics/reporting-structure) page for more details on commerce reports in Lending.
|
|
228
|
-
*
|
|
229
|
-
* #### Response structure
|
|
230
|
-
*
|
|
231
|
-
* The Refunds report's dimensions and measures are:
|
|
232
|
-
*
|
|
233
|
-
* | Index | Dimensions |
|
|
234
|
-
* |----------------|----------------|
|
|
235
|
-
* | `index` = 0 | Period |
|
|
236
|
-
* | `index` = 1 | Refund metrics |
|
|
237
|
-
*
|
|
238
|
-
* | Index | Measures |
|
|
239
|
-
* |----------------|------------|
|
|
240
|
-
* | `index` = 0 | Count |
|
|
241
|
-
* | `index` = 1 | Value |
|
|
242
|
-
* | `index` = 2 | Percentage |
|
|
243
|
-
*
|
|
244
|
-
* The report data then combines multiple reporting dimensions and measures and outputs the value of each combination.
|
|
245
|
-
*
|
|
246
|
-
*/
|
|
247
|
-
getRefundsReport(req: operations.GetCommerceRefundsMetricsRequest, retries?: utils.RetryConfig, config?: AxiosRequestConfig): Promise<operations.GetCommerceRefundsMetricsResponse>;
|
|
248
|
-
/**
|
|
249
|
-
* Get commerce revenue metrics
|
|
250
|
-
*
|
|
251
|
-
* @remarks
|
|
252
|
-
* Get the revenue and revenue growth for a specific company connection, over one or more periods of time.
|
|
253
|
-
*/
|
|
254
|
-
getRevenueMetrics(req: operations.GetCommerceRevenueMetricsRequest, retries?: utils.RetryConfig, config?: AxiosRequestConfig): Promise<operations.GetCommerceRevenueMetricsResponse>;
|
|
255
|
-
/**
|
|
256
|
-
* Get transaction
|
|
257
|
-
*
|
|
258
|
-
* @remarks
|
|
259
|
-
* The *Get transaction* endpoint returns a single transaction for a given transactionId.
|
|
260
|
-
*
|
|
261
|
-
* [Transactions](https://docs.codat.io/commerce-api#/schemas/Transaction) detail all financial affairs recorded in the commerce or point of sale system.
|
|
262
|
-
*
|
|
263
|
-
* Check out our [coverage explorer](https://knowledge.codat.io/supported-features/commerce?view=tab-by-data-type&dataType=commerce-transactions) for integrations that support getting a specific transaction.
|
|
264
|
-
*
|
|
265
|
-
* Before using this endpoint, you must have [retrieved data for the company](https://docs.codat.io/lending-api#/operations/refresh-company-data).
|
|
266
|
-
*
|
|
267
|
-
*/
|
|
268
|
-
getTransaction(req: operations.GetCommerceTransactionRequest, retries?: utils.RetryConfig, config?: AxiosRequestConfig): Promise<operations.GetCommerceTransactionResponse>;
|
|
269
|
-
/**
|
|
270
|
-
* List customers
|
|
271
|
-
*
|
|
272
|
-
* @remarks
|
|
273
|
-
* The *List customers* endpoint returns a list of [customers](https://docs.codat.io/commerce-api#/schemas/Customer) for a given company's connection.
|
|
274
|
-
*
|
|
275
|
-
* [Customers](https://docs.codat.io/commerce-api#/schemas/Customer) are people or organizations that place orders, make payments and recieve goods and/or services from the SMB.
|
|
276
|
-
*
|
|
277
|
-
* Before using this endpoint, you must have [retrieved data for the company](https://docs.codat.io/lending-api#/operations/refresh-company-data).
|
|
278
|
-
*
|
|
279
|
-
*/
|
|
280
|
-
listCustomers(req: operations.ListCommerceCustomersRequest, retries?: utils.RetryConfig, config?: AxiosRequestConfig): Promise<operations.ListCommerceCustomersResponse>;
|
|
281
|
-
/**
|
|
282
|
-
* List disputes
|
|
283
|
-
*
|
|
284
|
-
* @remarks
|
|
285
|
-
* The *List disputes* endpoint returns a list of [disputes](https://docs.codat.io/commerce-api#/schemas/Dispute) for a given company's connection.
|
|
286
|
-
*
|
|
287
|
-
* [Disputes](https://docs.codat.io/commerce-api#/schemas/Dispute) are created when a customer is unsatisfied with their purchase or believe they have been charged incorrectly.
|
|
288
|
-
*
|
|
289
|
-
* Before using this endpoint, you must have [retrieved data for the company](https://docs.codat.io/lending-api#/operations/refresh-company-data).
|
|
290
|
-
*
|
|
291
|
-
*/
|
|
292
|
-
listDisputes(req: operations.ListCommerceDisputesRequest, retries?: utils.RetryConfig, config?: AxiosRequestConfig): Promise<operations.ListCommerceDisputesResponse>;
|
|
293
|
-
/**
|
|
294
|
-
* List locations
|
|
295
|
-
*
|
|
296
|
-
* @remarks
|
|
297
|
-
* The *List locations* endpoint returns a list of [locations](https://docs.codat.io/commerce-api#/schemas/Location) for a given company's connection.
|
|
298
|
-
*
|
|
299
|
-
* [Locations](https://docs.codat.io/commerce-api#/schemas/Location) hold information on the geographic location at which stocks of [products](https://docs.codat.io/commerce-api#/schemas/Product) may be held or where [orders](https://docs.codat.io/commerce-api#/schemas/Order) were placed.
|
|
300
|
-
*
|
|
301
|
-
* Before using this endpoint, you must have [retrieved data for the company](https://docs.codat.io/lending-api#/operations/refresh-company-data).
|
|
302
|
-
*
|
|
303
|
-
*/
|
|
304
|
-
listLocations(req: operations.ListCommerceLocationsRequest, retries?: utils.RetryConfig, config?: AxiosRequestConfig): Promise<operations.ListCommerceLocationsResponse>;
|
|
305
|
-
/**
|
|
306
|
-
* List orders
|
|
307
|
-
*
|
|
308
|
-
* @remarks
|
|
309
|
-
* The *List orders* endpoint returns a list of [orders](https://docs.codat.io/commerce-api#/schemas/Order) for a given company's connection.
|
|
310
|
-
*
|
|
311
|
-
* [Orders](https://docs.codat.io/commerce-api#/schemas/Order) contain the transaction details for all products sold by the company.
|
|
312
|
-
*
|
|
313
|
-
* Before using this endpoint, you must have [retrieved data for the company](https://docs.codat.io/lending-api#/operations/refresh-company-data).
|
|
314
|
-
*
|
|
315
|
-
*/
|
|
316
|
-
listOrders(req: operations.ListCommerceOrdersRequest, retries?: utils.RetryConfig, config?: AxiosRequestConfig): Promise<operations.ListCommerceOrdersResponse>;
|
|
317
|
-
/**
|
|
318
|
-
* List payment methods
|
|
319
|
-
*
|
|
320
|
-
* @remarks
|
|
321
|
-
* The *List payment methods* endpoint returns a list of [payment methods](https://docs.codat.io/commerce-api#/schemas/PaymentMethod) for a given company's connection.
|
|
322
|
-
*
|
|
323
|
-
* [Payment methods](https://docs.codat.io/commerce-api#/schemas/PaymentMethod) represent the payment method(s) used to make payments.
|
|
324
|
-
*
|
|
325
|
-
* Before using this endpoint, you must have [retrieved data for the company](https://docs.codat.io/lending-api#/operations/refresh-company-data).
|
|
326
|
-
*
|
|
327
|
-
*/
|
|
328
|
-
listPaymentMethods(req: operations.ListCommercePaymentMethodsRequest, retries?: utils.RetryConfig, config?: AxiosRequestConfig): Promise<operations.ListCommercePaymentMethodsResponse>;
|
|
329
|
-
/**
|
|
330
|
-
* List payments
|
|
331
|
-
*
|
|
332
|
-
* @remarks
|
|
333
|
-
* The *List payments* endpoint returns a list of [payments](https://docs.codat.io/commerce-api#/schemas/Payment) for a given company's connection.
|
|
334
|
-
*
|
|
335
|
-
* [Payments](https://docs.codat.io/commerce-api#/schemas/Payment) contain details of all payments made by customers to the company.
|
|
336
|
-
*
|
|
337
|
-
* Before using this endpoint, you must have [retrieved data for the company](https://docs.codat.io/lending-api#/operations/refresh-company-data).
|
|
338
|
-
*
|
|
339
|
-
*/
|
|
340
|
-
listPayments(req: operations.ListCommercePaymentsRequest, retries?: utils.RetryConfig, config?: AxiosRequestConfig): Promise<operations.ListCommercePaymentsResponse>;
|
|
341
|
-
/**
|
|
342
|
-
* List product categories
|
|
343
|
-
*
|
|
344
|
-
* @remarks
|
|
345
|
-
* The *List product categories* endpoint returns a list of [product categories](https://docs.codat.io/commerce-api#/schemas/ProductCategory) for a given company's connection.
|
|
346
|
-
*
|
|
347
|
-
* [Product categories](https://docs.codat.io/commerce-api#/schemas/ProductCategory) are used to classify a group of products together, either by type (e.g. "Furniture"), or sometimes by tax profile.
|
|
348
|
-
*
|
|
349
|
-
* Before using this endpoint, you must have [retrieved data for the company](https://docs.codat.io/lending-api#/operations/refresh-company-data).
|
|
350
|
-
*
|
|
351
|
-
*/
|
|
352
|
-
listProductCategories(req: operations.ListCommerceProductCategoriesRequest, retries?: utils.RetryConfig, config?: AxiosRequestConfig): Promise<operations.ListCommerceProductCategoriesResponse>;
|
|
353
|
-
/**
|
|
354
|
-
* List products
|
|
355
|
-
*
|
|
356
|
-
* @remarks
|
|
357
|
-
* The *List products* endpoint returns a list of [products](https://docs.codat.io/commerce-api#/schemas/Product) for a given company's connection.
|
|
358
|
-
*
|
|
359
|
-
* [Products](https://docs.codat.io/commerce-api#/schemas/Product) are items in the company's inventory that are available for sale.
|
|
360
|
-
*
|
|
361
|
-
* Before using this endpoint, you must have [retrieved data for the company](https://docs.codat.io/lending-api#/operations/refresh-company-data).
|
|
362
|
-
*
|
|
363
|
-
*/
|
|
364
|
-
listProducts(req: operations.ListCommerceProductsRequest, retries?: utils.RetryConfig, config?: AxiosRequestConfig): Promise<operations.ListCommerceProductsResponse>;
|
|
365
|
-
/**
|
|
366
|
-
* List transactions
|
|
367
|
-
*
|
|
368
|
-
* @remarks
|
|
369
|
-
* The *List transactions* endpoint returns a list of [transactions](https://docs.codat.io/commerce-api#/schemas/Transaction) for a given company's connection.
|
|
370
|
-
*
|
|
371
|
-
* [Transactions](https://docs.codat.io/commerce-api#/schemas/Transaction) detail all financial affairs recorded in the commerce or point of sale system.
|
|
372
|
-
*
|
|
373
|
-
* Before using this endpoint, you must have [retrieved data for the company](https://docs.codat.io/lending-api#/operations/refresh-company-data).
|
|
374
|
-
*
|
|
375
|
-
*/
|
|
376
|
-
listTransactions(req: operations.ListCommerceTransactionsRequest, retries?: utils.RetryConfig, config?: AxiosRequestConfig): Promise<operations.ListCommerceTransactionsResponse>;
|
|
377
27
|
}
|