@etainabl/nodejs-sdk 1.3.162 → 1.3.163
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 +1 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.cts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1523,6 +1523,7 @@ declare const _default$4: (auth: AuthOptions, instanceOptions?: CreateAxiosDefau
|
|
|
1523
1523
|
listLogs: <P = Log<string>>(options?: AxiosRequestConfig) => Promise<ETNPagedResponse<P>>;
|
|
1524
1524
|
updateLog: (id: string, data: any, options?: AxiosRequestConfig) => Promise<Log<string>>;
|
|
1525
1525
|
createLog: (data: any, options?: AxiosRequestConfig) => Promise<Log<string>>;
|
|
1526
|
+
createLogBulk: (data: any, options?: AxiosRequestConfig) => Promise<Log<string>[]>;
|
|
1526
1527
|
removeLog: (id: string, options?: AxiosRequestConfig) => Promise<Log<string>>;
|
|
1527
1528
|
getReading: (id: string, options?: AxiosRequestConfig) => Promise<Reading<string, Date>>;
|
|
1528
1529
|
listReadings: <P = Reading<string, Date>>(options?: AxiosRequestConfig) => Promise<ETNPagedResponse<P>>;
|
package/dist/index.d.ts
CHANGED
|
@@ -1523,6 +1523,7 @@ declare const _default$4: (auth: AuthOptions, instanceOptions?: CreateAxiosDefau
|
|
|
1523
1523
|
listLogs: <P = Log<string>>(options?: AxiosRequestConfig) => Promise<ETNPagedResponse<P>>;
|
|
1524
1524
|
updateLog: (id: string, data: any, options?: AxiosRequestConfig) => Promise<Log<string>>;
|
|
1525
1525
|
createLog: (data: any, options?: AxiosRequestConfig) => Promise<Log<string>>;
|
|
1526
|
+
createLogBulk: (data: any, options?: AxiosRequestConfig) => Promise<Log<string>[]>;
|
|
1526
1527
|
removeLog: (id: string, options?: AxiosRequestConfig) => Promise<Log<string>>;
|
|
1527
1528
|
getReading: (id: string, options?: AxiosRequestConfig) => Promise<Reading<string, Date>>;
|
|
1528
1529
|
listReadings: <P = Reading<string, Date>>(options?: AxiosRequestConfig) => Promise<ETNPagedResponse<P>>;
|
package/dist/index.js
CHANGED
|
@@ -16492,6 +16492,7 @@ var api_default = (auth, instanceOptions = {}) => {
|
|
|
16492
16492
|
listLogs: factory.list(etainablApi, "logs"),
|
|
16493
16493
|
updateLog: factory.update(etainablApi, "logs"),
|
|
16494
16494
|
createLog: factory.create(etainablApi, "logs"),
|
|
16495
|
+
createLogBulk: factory.create(etainablApi, "logs", "bulk"),
|
|
16495
16496
|
removeLog: factory.remove(etainablApi, "logs"),
|
|
16496
16497
|
// readings
|
|
16497
16498
|
getReading: factory.getWithId(etainablApi, "readings"),
|