@tagsamurai/fats-api-services 1.0.0-alpha.296 → 1.0.0-alpha.298
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
|
@@ -1866,12 +1866,11 @@ const NotificationApprovalServices = {
|
|
|
1866
1866
|
}
|
|
1867
1867
|
};
|
|
1868
1868
|
const API$b = createAxiosInstance({
|
|
1869
|
-
|
|
1870
|
-
prefix: "/iot/v2/reader"
|
|
1869
|
+
prefix: "/fam/iot/v2/reader"
|
|
1871
1870
|
});
|
|
1872
1871
|
const ReaderServices = {
|
|
1873
1872
|
getIOTReaderList: (params) => {
|
|
1874
|
-
return API$b.get("
|
|
1873
|
+
return API$b.get("", { params });
|
|
1875
1874
|
},
|
|
1876
1875
|
getDataOptions: (params) => {
|
|
1877
1876
|
return API$b.get("/options", { params });
|
package/api-services.system.js
CHANGED
|
@@ -1873,12 +1873,11 @@ System.register(["axios"], function(exports, module) {
|
|
|
1873
1873
|
}
|
|
1874
1874
|
});
|
|
1875
1875
|
const API$b = createAxiosInstance({
|
|
1876
|
-
|
|
1877
|
-
prefix: "/iot/v2/reader"
|
|
1876
|
+
prefix: "/fam/iot/v2/reader"
|
|
1878
1877
|
});
|
|
1879
1878
|
const ReaderServices = exports("ReaderServices", {
|
|
1880
1879
|
getIOTReaderList: (params) => {
|
|
1881
|
-
return API$b.get("
|
|
1880
|
+
return API$b.get("", { params });
|
|
1882
1881
|
},
|
|
1883
1882
|
getDataOptions: (params) => {
|
|
1884
1883
|
return API$b.get("/options", { params });
|
package/package.json
CHANGED
|
@@ -74,22 +74,21 @@ export interface RepairFilterOptionsQueryParams {
|
|
|
74
74
|
updatedAt?: boolean;
|
|
75
75
|
statusOptions?: boolean;
|
|
76
76
|
}
|
|
77
|
-
interface
|
|
78
|
-
deviceName
|
|
79
|
-
group
|
|
80
|
-
status
|
|
81
|
-
iotReaderId
|
|
82
|
-
iotReaderIds
|
|
83
|
-
brand
|
|
84
|
-
model
|
|
85
|
-
reportedDate
|
|
86
|
-
manager
|
|
87
|
-
networkStatus
|
|
88
|
-
antennaGroup
|
|
89
|
-
assetControl
|
|
77
|
+
export interface GetIOTReaderListQueryParams extends BaseFilterQueryParams {
|
|
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';
|
|
93
93
|
}
|
|
94
|
-
export type GetIOTReaderListQueryParams = Partial<IOTReaderListQueryParams>;
|
|
95
94
|
export {};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { QueryParams } from '../types/fetchResponse.type';
|
|
2
1
|
export interface QueryParamsStringfy {
|
|
3
2
|
[key: string]: string;
|
|
4
3
|
}
|
|
@@ -6,4 +5,4 @@ export interface QueryParamsStringfy {
|
|
|
6
5
|
* This Function will turn all array query params to string
|
|
7
6
|
* using JSON Stringfy
|
|
8
7
|
*/
|
|
9
|
-
export declare const queryParamsStringfy: (data:
|
|
8
|
+
export declare const queryParamsStringfy: (data: object | undefined) => QueryParamsStringfy | undefined;
|