@tagsamurai/fats-api-services 1.0.0-alpha.301 → 1.0.0-alpha.302

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.
@@ -1875,6 +1875,9 @@ const ReaderServices = {
1875
1875
  getIOTReaderListOptions: (params) => {
1876
1876
  return API$b.get("/options", { params });
1877
1877
  },
1878
+ setIOTAliasName: (body) => {
1879
+ return API$b.put("/set-alias-name", body);
1880
+ },
1878
1881
  getActivityLogData: (params) => {
1879
1882
  return API$b.get("/activity-log", { params });
1880
1883
  },
@@ -1882,6 +1882,9 @@ System.register(["axios"], function(exports, module) {
1882
1882
  getIOTReaderListOptions: (params) => {
1883
1883
  return API$b.get("/options", { params });
1884
1884
  },
1885
+ setIOTAliasName: (body) => {
1886
+ return API$b.put("/set-alias-name", body);
1887
+ },
1885
1888
  getActivityLogData: (params) => {
1886
1889
  return API$b.get("/activity-log", { params });
1887
1890
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tagsamurai/fats-api-services",
3
- "version": "1.0.0-alpha.301",
3
+ "version": "1.0.0-alpha.302",
4
4
  "author": "developer.tagsamurai",
5
5
  "description": "Fixed Asset Tag Samurai Services Library",
6
6
  "module": "./api-services.es.js",
@@ -21,3 +21,7 @@ export interface GetIOTReaderListOptionsQueryParams {
21
21
  managerOptions?: boolean;
22
22
  antennaGroupOptions?: boolean;
23
23
  }
24
+ export interface SetIOTAliasNameBody {
25
+ aliasName: string;
26
+ id: string[];
27
+ }
@@ -1,10 +1,11 @@
1
1
  import { AxiosResponse } from 'axios';
2
2
  import { ActivityLogOptionParams, ChangeLogOptionParams, ChangeLogParams, IOTReaderList, IOTReaderListOptions, QueryParams } from '../types/reader.type';
3
- import { FetchDetailResponse, FetchListResponse } from '../types/fetchResponse.type';
4
- import { GetIOTReaderListOptionsQueryParams, GetIOTReaderListQueryParams } from '../dto/reader.dto';
3
+ import { FetchDetailResponse, FetchListResponse, FetchResponse } from '../types/fetchResponse.type';
4
+ import { GetIOTReaderListOptionsQueryParams, GetIOTReaderListQueryParams, SetIOTAliasNameBody } 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
+ setIOTAliasName: (body: SetIOTAliasNameBody) => Promise<AxiosResponse<FetchResponse>>;
8
9
  getActivityLogData: (params: QueryParams) => Promise<AxiosResponse>;
9
10
  getActivityLogOptions: (params: ActivityLogOptionParams) => Promise<AxiosResponse>;
10
11
  getDataById: (id: string) => Promise<AxiosResponse>;