@etainabl/nodejs-sdk 1.3.112 → 1.3.113

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/dist/esm/index.js CHANGED
@@ -350,6 +350,7 @@ var api_default = (auth, instanceOptions = {}) => {
350
350
  createAutomationLog: subFactory.create(etainablApi, "automation", "logs"),
351
351
  updateAutomationLog: subFactory.update(etainablApi, "automation", "logs"),
352
352
  removeAutomationLog: subFactory.remove(etainablApi, "automation", "logs"),
353
+ updateAccountStatusForAutomation: subFactory.update(etainablApi, "automation", "status"),
353
354
  // company
354
355
  getCompany: factory.getWithId(etainablApi, "companies"),
355
356
  getCompanyInvoiceValidationRules: factory.getWithId(
@@ -467,8 +468,14 @@ var api_default = (auth, instanceOptions = {}) => {
467
468
  // automation runs
468
469
  createAutomationRun: factory.create(etainablApi, "automation-runs"),
469
470
  listAutomationRun: factory.list(etainablApi, "automation-runs"),
471
+ getAutomationRun: factory.getWithId(etainablApi, "automation-runs"),
470
472
  updateAutomationRun: factory.update(etainablApi, "automation-runs"),
471
- createAutomationRunLog: subFactory.create(etainablApi, "automation-runs", "logs"),
473
+ createAutomationRunLog: subFactory.create(
474
+ etainablApi,
475
+ "automation-runs",
476
+ "logs"
477
+ ),
478
+ searchAutomationRun: factory.get(etainablApi, "automation-runs", "search"),
472
479
  // global search
473
480
  globalSearch: factory.get(etainablApi, "global-search", "search")
474
481
  };