@tagsamurai/fats-api-services 1.0.3-alpha.18 → 1.0.3-alpha.19
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/api-services.es.js
CHANGED
|
@@ -1922,6 +1922,10 @@ const ReaderServices = {
|
|
|
1922
1922
|
pingIOTSingle: (id) => {
|
|
1923
1923
|
return IOTReaderAPI.put(`/${id}/ping`);
|
|
1924
1924
|
},
|
|
1925
|
+
//https://dev-api.tagsamurai.com/fam/iot/v2/iot/reader/ping/bulk
|
|
1926
|
+
pingIOTBulk: (body) => {
|
|
1927
|
+
return IOTReaderAPI.put("/ping/bulk", body);
|
|
1928
|
+
},
|
|
1925
1929
|
//https://dev-api.tagsamurai.com/fam/iot/v2/iot/reader/:id/set-antenna-power
|
|
1926
1930
|
setIOTAntennaPowerBulk: (id, body) => {
|
|
1927
1931
|
return IOTReaderAPI.put(`/${id}/set-antenna-power`, body);
|
package/api-services.system.js
CHANGED
|
@@ -1930,6 +1930,10 @@ System.register(["axios"], function(exports, module) {
|
|
|
1930
1930
|
pingIOTSingle: (id) => {
|
|
1931
1931
|
return IOTReaderAPI.put(`/${id}/ping`);
|
|
1932
1932
|
},
|
|
1933
|
+
//https://dev-api.tagsamurai.com/fam/iot/v2/iot/reader/ping/bulk
|
|
1934
|
+
pingIOTBulk: (body) => {
|
|
1935
|
+
return IOTReaderAPI.put("/ping/bulk", body);
|
|
1936
|
+
},
|
|
1933
1937
|
//https://dev-api.tagsamurai.com/fam/iot/v2/iot/reader/:id/set-antenna-power
|
|
1934
1938
|
setIOTAntennaPowerBulk: (id, body) => {
|
|
1935
1939
|
return IOTReaderAPI.put(`/${id}/set-antenna-power`, body);
|
package/package.json
CHANGED
package/src/dto/reader.dto.d.ts
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { AxiosResponse } from 'axios';
|
|
2
|
-
import { ChangeLogOptionParams, ChangeLogParams, IOTCheckManager, IOTDetail, IOTPortList, IOTReaderList, IOTReaderListOptions, PingIOTSingle, UpdateReader } from '../types/reader.type';
|
|
3
|
-
import { FetchDetailResponse, FetchListResponse, FetchResponse } from '../types/fetchResponse.type';
|
|
4
|
-
import { GetIOTPortListQueryParams, GetIOTReaderListOptionsQueryParams, GetIOTReaderListQueryParams, SetGroupIOTBody, SetIOTAliasNameBody, SetIOTAntennaPowerBulkBody, SetIOTPortGroupBody, UpdateAntennaStatusBody, UpdateReaderBody, UpdateReaderStatusBody } from '../dto/reader.dto';
|
|
2
|
+
import { ChangeLogOptionParams, ChangeLogParams, IOTCheckManager, IOTDetail, IOTPortList, IOTReaderList, IOTReaderListOptions, PingIOTBulk, PingIOTSingle, UpdateReader } from '../types/reader.type';
|
|
3
|
+
import { FetchDetailResponse, FetchListResponse, FetchResponse, ShortFetchListResponse } from '../types/fetchResponse.type';
|
|
4
|
+
import { GetIOTPortListQueryParams, GetIOTReaderListOptionsQueryParams, GetIOTReaderListQueryParams, PingIOTBulkBody, SetGroupIOTBody, SetIOTAliasNameBody, SetIOTAntennaPowerBulkBody, SetIOTPortGroupBody, UpdateAntennaStatusBody, UpdateReaderBody, UpdateReaderStatusBody } from '../dto/reader.dto';
|
|
5
5
|
declare const ReaderServices: {
|
|
6
6
|
getIOTReaderList: (params: GetIOTReaderListQueryParams) => Promise<AxiosResponse<FetchListResponse<IOTReaderList>>>;
|
|
7
7
|
getIOTReaderListOptions: (params: GetIOTReaderListOptionsQueryParams) => Promise<AxiosResponse<FetchDetailResponse<IOTReaderListOptions>>>;
|
|
8
8
|
setIOTAliasName: (body: SetIOTAliasNameBody) => Promise<AxiosResponse<FetchResponse>>;
|
|
9
9
|
pingIOTSingle: (id: string) => Promise<AxiosResponse<FetchDetailResponse<PingIOTSingle>>>;
|
|
10
|
+
pingIOTBulk: (body: PingIOTBulkBody) => Promise<AxiosResponse<ShortFetchListResponse<PingIOTBulk>>>;
|
|
10
11
|
setIOTAntennaPowerBulk: (id: string, body: SetIOTAntennaPowerBulkBody) => Promise<FetchResponse>;
|
|
11
12
|
getIOTPortList: (id: string, params?: GetIOTPortListQueryParams) => Promise<AxiosResponse<FetchListResponse<IOTPortList>>>;
|
|
12
13
|
getIOTDetail: (id: string) => Promise<AxiosResponse<FetchDetailResponse<IOTDetail>>>;
|