@etainabl/nodejs-sdk 1.3.158 → 1.3.159

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/index.d.cts CHANGED
@@ -1568,6 +1568,7 @@ declare const _default$4: (auth: AuthOptions, instanceOptions?: CreateAxiosDefau
1568
1568
  createScraperRun: (data: any, options?: AxiosRequestConfig) => Promise<ScraperRun<string>>;
1569
1569
  createScraperRunLog: (id: string, data: any, options?: AxiosRequestConfig) => Promise<ScraperRun<string>>;
1570
1570
  createAutomationRun: (data: Omit<AutomationRun<string, string>, "_id">, options?: AxiosRequestConfig) => Promise<AutomationRun<string, string | Date>>;
1571
+ createAutomationFetchRun: (data: any, options?: AxiosRequestConfig) => Promise<AutomationRun<string, string | Date>>;
1571
1572
  listAutomationRun: <P = AutomationRun<string, string | Date>>(options?: AxiosRequestConfig) => Promise<ETNPagedResponse<P>>;
1572
1573
  getAutomationRun: (id: string, options?: AxiosRequestConfig) => Promise<AutomationRun<string, string | Date>>;
1573
1574
  updateAutomationRun: (id: string, data: any, options?: AxiosRequestConfig) => Promise<AutomationRun<string, string>>;
package/dist/index.d.ts CHANGED
@@ -1568,6 +1568,7 @@ declare const _default$4: (auth: AuthOptions, instanceOptions?: CreateAxiosDefau
1568
1568
  createScraperRun: (data: any, options?: AxiosRequestConfig) => Promise<ScraperRun<string>>;
1569
1569
  createScraperRunLog: (id: string, data: any, options?: AxiosRequestConfig) => Promise<ScraperRun<string>>;
1570
1570
  createAutomationRun: (data: Omit<AutomationRun<string, string>, "_id">, options?: AxiosRequestConfig) => Promise<AutomationRun<string, string | Date>>;
1571
+ createAutomationFetchRun: (data: any, options?: AxiosRequestConfig) => Promise<AutomationRun<string, string | Date>>;
1571
1572
  listAutomationRun: <P = AutomationRun<string, string | Date>>(options?: AxiosRequestConfig) => Promise<ETNPagedResponse<P>>;
1572
1573
  getAutomationRun: (id: string, options?: AxiosRequestConfig) => Promise<AutomationRun<string, string | Date>>;
1573
1574
  updateAutomationRun: (id: string, data: any, options?: AxiosRequestConfig) => Promise<AutomationRun<string, string>>;
package/dist/index.js CHANGED
@@ -16569,6 +16569,7 @@ var api_default = (auth, instanceOptions = {}) => {
16569
16569
  createScraperRunLog: subFactory.create(etainablApi, "scraper-runs", "logs"),
16570
16570
  // automation runs
16571
16571
  createAutomationRun: factory.create(etainablApi, "automation-runs"),
16572
+ createAutomationFetchRun: factory.create(etainablApi, "automation-runs", "fetch-run"),
16572
16573
  listAutomationRun: factory.list(etainablApi, "automation-runs"),
16573
16574
  getAutomationRun: factory.getWithId(etainablApi, "automation-runs"),
16574
16575
  updateAutomationRun: factory.update(etainablApi, "automation-runs"),