@tagsamurai/gsts-api-services 2.0.1-alpha.13 → 2.0.1-alpha.15
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/package.json
CHANGED
package/src/dto/iam.dto.d.ts
CHANGED
|
@@ -55,7 +55,7 @@ export type GetGlobalUserOptionsParams = Partial<Record<keyof GlobalUserOptions,
|
|
|
55
55
|
export interface SetActiveGlobalUserPayload {
|
|
56
56
|
isActive: boolean;
|
|
57
57
|
}
|
|
58
|
-
export interface EditUserPayload extends CreateUserPayload {
|
|
58
|
+
export interface EditUserPayload extends Partial<CreateUserPayload> {
|
|
59
59
|
}
|
|
60
60
|
export interface EditUserFcmTokenPayload {
|
|
61
61
|
data: {
|
|
@@ -3,13 +3,13 @@ import { GetAllTAGOptionsQuery, GetAllTAGParams, GetAuditTAGDetailParams, GetNot
|
|
|
3
3
|
import { TAGFetchOptionResponse } from '../dto/tag.dto';
|
|
4
4
|
import { FetchDetailResponse } from '../types/fetchResponse.type';
|
|
5
5
|
import { TAGType } from '../types/tag.type';
|
|
6
|
-
import { AuditTAGDetailResponse,
|
|
6
|
+
import { AuditTAGDetailResponse, NotPairedYetCountsResponse, TAGResponseType } from '../types/hardware.type';
|
|
7
7
|
declare const GlobalTagServices: {
|
|
8
8
|
getAllTAG: (tagType: TAGType, params?: GetAllTAGParams) => Promise<AxiosResponse<FetchDetailResponse<TAGResponseType>>>;
|
|
9
9
|
getAllTAGOptions: (tagType: TAGType, params?: GetAllTAGOptionsQuery) => Promise<AxiosResponse<{
|
|
10
10
|
data: TAGFetchOptionResponse;
|
|
11
11
|
}>>;
|
|
12
|
-
getNotPairedYetCounts: () => Promise<AxiosResponse<
|
|
12
|
+
getNotPairedYetCounts: () => Promise<AxiosResponse<NotPairedYetCountsResponse>>;
|
|
13
13
|
getNotPairedYetList: (params?: GetNotPairedYetListParams) => Promise<AxiosResponse<FetchDetailResponse<TAGResponseType>>>;
|
|
14
14
|
getNotPairedYetOptions: (params?: GetNotPairedYetOptions) => Promise<AxiosResponse<{
|
|
15
15
|
data: TAGFetchOptionResponse;
|
|
@@ -109,9 +109,13 @@ export type NotPairedYetCounts = {
|
|
|
109
109
|
damagedMissing: number;
|
|
110
110
|
};
|
|
111
111
|
};
|
|
112
|
+
export type NotPairedModule = 'RFID' | 'NFC';
|
|
112
113
|
export type AuditTAGDetailResponse = FetchResponse & {
|
|
113
114
|
data: AuditTAGDetail;
|
|
114
115
|
};
|
|
116
|
+
export type NotPairedYetCountsResponse = FetchResponse & {
|
|
117
|
+
data: NotPairedYetCounts;
|
|
118
|
+
};
|
|
115
119
|
export type AuditTAGDetail = {
|
|
116
120
|
found: {
|
|
117
121
|
total: number;
|