@tagsamurai/fats-api-services 1.0.0-alpha.294 → 1.0.0-alpha.296

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.
@@ -1871,7 +1871,7 @@ const API$b = createAxiosInstance({
1871
1871
  });
1872
1872
  const ReaderServices = {
1873
1873
  getIOTReaderList: (params) => {
1874
- return API$b.get("/", { params });
1874
+ return API$b.get("/", { params: queryParamsStringfy(params) });
1875
1875
  },
1876
1876
  getDataOptions: (params) => {
1877
1877
  return API$b.get("/options", { params });
@@ -1878,7 +1878,7 @@ System.register(["axios"], function(exports, module) {
1878
1878
  });
1879
1879
  const ReaderServices = exports("ReaderServices", {
1880
1880
  getIOTReaderList: (params) => {
1881
- return API$b.get("/", { params });
1881
+ return API$b.get("/", { params: queryParamsStringfy(params) });
1882
1882
  },
1883
1883
  getDataOptions: (params) => {
1884
1884
  return API$b.get("/options", { params });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tagsamurai/fats-api-services",
3
- "version": "1.0.0-alpha.294",
3
+ "version": "1.0.0-alpha.296",
4
4
  "author": "developer.tagsamurai",
5
5
  "description": "Fixed Asset Tag Samurai Services Library",
6
6
  "module": "./api-services.es.js",
@@ -1,4 +1,5 @@
1
1
  import { BaseFilterQueryParams } from './settingsAssetName.dto';
2
+ export type AssetRepairDetailQuery = Partial<Record<keyof AssetRepairDetailParams, string>>;
2
3
  interface BaseEntity {
3
4
  _id: string;
4
5
  name: string;
@@ -73,20 +74,19 @@ export interface RepairFilterOptionsQueryParams {
73
74
  updatedAt?: boolean;
74
75
  statusOptions?: boolean;
75
76
  }
76
- export type AssetRepairDetailQuery = Partial<Record<keyof AssetRepairDetailParams, string>>;
77
77
  interface IOTReaderListQueryParams extends BaseFilterQueryParams {
78
- deviceName: null;
79
- group: null;
80
- status: null;
81
- iotReaderId: null;
82
- iotReaderIds: null;
83
- brand: null;
84
- model: null;
85
- reportedDate: null;
86
- manager: null;
87
- networkStatus: null;
88
- antennaGroup: null;
89
- assetControl: null;
78
+ deviceName: string[];
79
+ group: number[];
80
+ status: string[];
81
+ iotReaderId: string;
82
+ iotReaderIds: string[];
83
+ brand: string[];
84
+ model: string[];
85
+ reportedDate: number[];
86
+ manager: string[];
87
+ networkStatus: string[];
88
+ antennaGroup: number[];
89
+ assetControl: string;
90
90
  }
91
91
  export interface ConfirmRepairBody {
92
92
  action: 'Back to assigned asset' | 'Back to borrowed asset' | 'Return to available' | 'Request extension' | 'Unassign asset';