@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 +8 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.cts +6 -3
- package/dist/index.d.ts +6 -3
- package/dist/index.js +8 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1390,6 +1390,7 @@ declare const _default$4: (auth: AuthOptions, instanceOptions?: CreateAxiosDefau
|
|
|
1390
1390
|
createAutomationLog: (id: string, data: any, options?: AxiosRequestConfig) => Promise<any>;
|
|
1391
1391
|
updateAutomationLog: (id: string, subId: string, data: any, options?: AxiosRequestConfig) => Promise<any>;
|
|
1392
1392
|
removeAutomationLog: (id: string, subId: string, options?: AxiosRequestConfig) => Promise<any>;
|
|
1393
|
+
updateAccountStatusForAutomation: (id: string, subId: string, data: any, options?: AxiosRequestConfig) => Promise<Automation<string>>;
|
|
1393
1394
|
getCompany: (id: string, options?: AxiosRequestConfig) => Promise<Company<string>>;
|
|
1394
1395
|
getCompanyInvoiceValidationRules: (id: string, options?: AxiosRequestConfig) => Promise<CompanyInvoiceValidationRule<string>[]>;
|
|
1395
1396
|
listCompanies: (options?: AxiosRequestConfig) => Promise<ETNPagedResponse<Company<string>>>;
|
|
@@ -1481,10 +1482,12 @@ declare const _default$4: (auth: AuthOptions, instanceOptions?: CreateAxiosDefau
|
|
|
1481
1482
|
socketDisconnect: (id: string, data: any, options?: AxiosRequestConfig) => Promise<any>;
|
|
1482
1483
|
listScraperRuns: (options?: AxiosRequestConfig) => Promise<ETNPagedResponse<ScraperRun<string>>>;
|
|
1483
1484
|
updateScraperRun: (id: string, data: any, options?: AxiosRequestConfig) => Promise<ScraperRun<string>>;
|
|
1484
|
-
createAutomationRun: (data:
|
|
1485
|
+
createAutomationRun: (data: Omit<AutomationRun<string, string>, "_id">, options?: AxiosRequestConfig) => Promise<AutomationRun<string, string | Date>>;
|
|
1485
1486
|
listAutomationRun: (options?: AxiosRequestConfig) => Promise<ETNPagedResponse<AutomationRun<string, string | Date>>>;
|
|
1486
|
-
|
|
1487
|
-
|
|
1487
|
+
getAutomationRun: (id: string, options?: AxiosRequestConfig) => Promise<AutomationRun<string, string | Date>>;
|
|
1488
|
+
updateAutomationRun: (id: string, data: any, options?: AxiosRequestConfig) => Promise<AutomationRun<string, string>>;
|
|
1489
|
+
createAutomationRunLog: (id: string, data: Omit<AutomationRunLog<string>, "date">, options?: AxiosRequestConfig) => Promise<AutomationRun<string, string | Date>>;
|
|
1490
|
+
searchAutomationRun: (options?: AxiosRequestConfig) => Promise<any>;
|
|
1488
1491
|
globalSearch: (options?: AxiosRequestConfig) => Promise<any>;
|
|
1489
1492
|
};
|
|
1490
1493
|
|
package/dist/index.d.ts
CHANGED
|
@@ -1390,6 +1390,7 @@ declare const _default$4: (auth: AuthOptions, instanceOptions?: CreateAxiosDefau
|
|
|
1390
1390
|
createAutomationLog: (id: string, data: any, options?: AxiosRequestConfig) => Promise<any>;
|
|
1391
1391
|
updateAutomationLog: (id: string, subId: string, data: any, options?: AxiosRequestConfig) => Promise<any>;
|
|
1392
1392
|
removeAutomationLog: (id: string, subId: string, options?: AxiosRequestConfig) => Promise<any>;
|
|
1393
|
+
updateAccountStatusForAutomation: (id: string, subId: string, data: any, options?: AxiosRequestConfig) => Promise<Automation<string>>;
|
|
1393
1394
|
getCompany: (id: string, options?: AxiosRequestConfig) => Promise<Company<string>>;
|
|
1394
1395
|
getCompanyInvoiceValidationRules: (id: string, options?: AxiosRequestConfig) => Promise<CompanyInvoiceValidationRule<string>[]>;
|
|
1395
1396
|
listCompanies: (options?: AxiosRequestConfig) => Promise<ETNPagedResponse<Company<string>>>;
|
|
@@ -1481,10 +1482,12 @@ declare const _default$4: (auth: AuthOptions, instanceOptions?: CreateAxiosDefau
|
|
|
1481
1482
|
socketDisconnect: (id: string, data: any, options?: AxiosRequestConfig) => Promise<any>;
|
|
1482
1483
|
listScraperRuns: (options?: AxiosRequestConfig) => Promise<ETNPagedResponse<ScraperRun<string>>>;
|
|
1483
1484
|
updateScraperRun: (id: string, data: any, options?: AxiosRequestConfig) => Promise<ScraperRun<string>>;
|
|
1484
|
-
createAutomationRun: (data:
|
|
1485
|
+
createAutomationRun: (data: Omit<AutomationRun<string, string>, "_id">, options?: AxiosRequestConfig) => Promise<AutomationRun<string, string | Date>>;
|
|
1485
1486
|
listAutomationRun: (options?: AxiosRequestConfig) => Promise<ETNPagedResponse<AutomationRun<string, string | Date>>>;
|
|
1486
|
-
|
|
1487
|
-
|
|
1487
|
+
getAutomationRun: (id: string, options?: AxiosRequestConfig) => Promise<AutomationRun<string, string | Date>>;
|
|
1488
|
+
updateAutomationRun: (id: string, data: any, options?: AxiosRequestConfig) => Promise<AutomationRun<string, string>>;
|
|
1489
|
+
createAutomationRunLog: (id: string, data: Omit<AutomationRunLog<string>, "date">, options?: AxiosRequestConfig) => Promise<AutomationRun<string, string | Date>>;
|
|
1490
|
+
searchAutomationRun: (options?: AxiosRequestConfig) => Promise<any>;
|
|
1488
1491
|
globalSearch: (options?: AxiosRequestConfig) => Promise<any>;
|
|
1489
1492
|
};
|
|
1490
1493
|
|
package/dist/index.js
CHANGED
|
@@ -16815,6 +16815,7 @@ var api_default = (auth, instanceOptions = {}) => {
|
|
|
16815
16815
|
createAutomationLog: subFactory.create(etainablApi, "automation", "logs"),
|
|
16816
16816
|
updateAutomationLog: subFactory.update(etainablApi, "automation", "logs"),
|
|
16817
16817
|
removeAutomationLog: subFactory.remove(etainablApi, "automation", "logs"),
|
|
16818
|
+
updateAccountStatusForAutomation: subFactory.update(etainablApi, "automation", "status"),
|
|
16818
16819
|
// company
|
|
16819
16820
|
getCompany: factory.getWithId(etainablApi, "companies"),
|
|
16820
16821
|
getCompanyInvoiceValidationRules: factory.getWithId(
|
|
@@ -16932,8 +16933,14 @@ var api_default = (auth, instanceOptions = {}) => {
|
|
|
16932
16933
|
// automation runs
|
|
16933
16934
|
createAutomationRun: factory.create(etainablApi, "automation-runs"),
|
|
16934
16935
|
listAutomationRun: factory.list(etainablApi, "automation-runs"),
|
|
16936
|
+
getAutomationRun: factory.getWithId(etainablApi, "automation-runs"),
|
|
16935
16937
|
updateAutomationRun: factory.update(etainablApi, "automation-runs"),
|
|
16936
|
-
createAutomationRunLog: subFactory.create(
|
|
16938
|
+
createAutomationRunLog: subFactory.create(
|
|
16939
|
+
etainablApi,
|
|
16940
|
+
"automation-runs",
|
|
16941
|
+
"logs"
|
|
16942
|
+
),
|
|
16943
|
+
searchAutomationRun: factory.get(etainablApi, "automation-runs", "search"),
|
|
16937
16944
|
// global search
|
|
16938
16945
|
globalSearch: factory.get(etainablApi, "global-search", "search")
|
|
16939
16946
|
};
|