@tagsamurai/fats-api-services 1.0.0-alpha.202 → 1.0.0-alpha.204
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
|
@@ -7,7 +7,7 @@ export interface DeleteRequestPreListDto {
|
|
|
7
7
|
}
|
|
8
8
|
export interface EnterprisePostTransactionDto {
|
|
9
9
|
asset?: string;
|
|
10
|
-
|
|
10
|
+
assignedTo?: string;
|
|
11
11
|
}
|
|
12
12
|
export interface EnterprisePutTransactionDto {
|
|
13
13
|
asset?: string;
|
|
@@ -18,21 +18,21 @@ export interface BasicTransactionDto {
|
|
|
18
18
|
notes?: string;
|
|
19
19
|
asset?: string;
|
|
20
20
|
_id?: string;
|
|
21
|
-
|
|
21
|
+
assignedTo?: string;
|
|
22
22
|
}[];
|
|
23
23
|
}
|
|
24
24
|
export interface AssignPreListDto {
|
|
25
25
|
id: string[];
|
|
26
|
-
|
|
26
|
+
assignedTo: string;
|
|
27
27
|
type: string;
|
|
28
28
|
}
|
|
29
29
|
export interface UnassignPreListByAssetDto {
|
|
30
30
|
id: (string | undefined)[];
|
|
31
|
-
|
|
31
|
+
assignedTo?: string;
|
|
32
32
|
type: string;
|
|
33
33
|
}
|
|
34
34
|
export interface UnassignPreListByUserDto {
|
|
35
|
-
|
|
35
|
+
assignedTo?: string;
|
|
36
36
|
group?: string;
|
|
37
37
|
}
|
|
38
38
|
export interface UnassignRequestDto {
|
|
@@ -55,7 +55,7 @@ export interface ApproveAssignmentApprovalDto {
|
|
|
55
55
|
}
|
|
56
56
|
export type ApprovalFilterQuery = {
|
|
57
57
|
group?: string;
|
|
58
|
-
|
|
58
|
+
assignedTo?: string;
|
|
59
59
|
manager?: string;
|
|
60
60
|
updatedAt?: string;
|
|
61
61
|
lastUpdate?: string;
|
|
@@ -4,7 +4,7 @@ import { SimpleUserType } from './user.type';
|
|
|
4
4
|
export type PreListDataType = {
|
|
5
5
|
_id: string;
|
|
6
6
|
totalAssets: number;
|
|
7
|
-
|
|
7
|
+
assignedTo: {
|
|
8
8
|
_id: string;
|
|
9
9
|
fullName: string;
|
|
10
10
|
key: number;
|
|
@@ -17,18 +17,18 @@ export type PreListDataType = {
|
|
|
17
17
|
isManager: boolean;
|
|
18
18
|
};
|
|
19
19
|
export type PreListParams = {
|
|
20
|
-
|
|
20
|
+
assignedTo?: number[];
|
|
21
21
|
group?: number[];
|
|
22
22
|
tag?: string;
|
|
23
23
|
type?: string;
|
|
24
24
|
};
|
|
25
25
|
export type PreListFilterParams = Partial<Record<keyof PreListParams, string>>;
|
|
26
26
|
export type PreListOptionFilter = {
|
|
27
|
-
|
|
27
|
+
assignedToOptions?: Option[];
|
|
28
28
|
};
|
|
29
29
|
export type PreListOptionBoolean = {
|
|
30
30
|
type?: 'Assign' | 'Unassign';
|
|
31
|
-
|
|
31
|
+
assignedToOptions?: boolean;
|
|
32
32
|
};
|
|
33
33
|
export type RequestDataType = {
|
|
34
34
|
_id: string;
|
|
@@ -58,7 +58,6 @@ export type RequestDataType = {
|
|
|
58
58
|
assetTagType?: string;
|
|
59
59
|
rfid: boolean | null;
|
|
60
60
|
qr: boolean | null;
|
|
61
|
-
user?: SimpleUserType;
|
|
62
61
|
assignedTo?: SimpleUserType;
|
|
63
62
|
manager?: SimpleUserType;
|
|
64
63
|
hasChildren?: boolean;
|
|
@@ -121,7 +120,7 @@ export type RequestParams = {
|
|
|
121
120
|
mappedBrand?: string[];
|
|
122
121
|
mappedModel?: string[];
|
|
123
122
|
mappedGroup?: string[];
|
|
124
|
-
|
|
123
|
+
assignedTo?: string[];
|
|
125
124
|
group?: string[];
|
|
126
125
|
tag?: string[];
|
|
127
126
|
tagType?: string[];
|
|
@@ -172,7 +171,6 @@ export type TransactionDataType = {
|
|
|
172
171
|
name: string;
|
|
173
172
|
key: number;
|
|
174
173
|
};
|
|
175
|
-
user?: SimpleUserType;
|
|
176
174
|
assignedTo?: SimpleUserType;
|
|
177
175
|
manager: {
|
|
178
176
|
_id: string;
|
|
@@ -187,7 +185,7 @@ export type TransactionParams = {
|
|
|
187
185
|
id?: string[];
|
|
188
186
|
asset?: string[];
|
|
189
187
|
manager?: number[];
|
|
190
|
-
|
|
188
|
+
assignedTo?: number[];
|
|
191
189
|
group?: number[];
|
|
192
190
|
requestDate?: number[];
|
|
193
191
|
lastUpdate?: number[];
|
|
@@ -196,12 +194,12 @@ export type TransactionFilterParams = Partial<Record<keyof TransactionParams, st
|
|
|
196
194
|
export type TransactionOptionFilter = {
|
|
197
195
|
managerOptions?: Option[];
|
|
198
196
|
statusOptions?: Option[];
|
|
199
|
-
|
|
197
|
+
assignedToOptions?: Option[];
|
|
200
198
|
};
|
|
201
199
|
export type TransactionOptionBoolean = {
|
|
202
200
|
managerOptions?: boolean;
|
|
203
201
|
statusOptions?: boolean;
|
|
204
|
-
|
|
202
|
+
assignedToOptions?: boolean;
|
|
205
203
|
status?: string;
|
|
206
204
|
id?: string;
|
|
207
205
|
asset?: string;
|
|
@@ -225,11 +223,11 @@ export type TimeLineLogs = {
|
|
|
225
223
|
damageImageMedium?: string;
|
|
226
224
|
damageImageSmall?: string;
|
|
227
225
|
from?: {
|
|
228
|
-
|
|
226
|
+
assignedTo?: SimpleUserType;
|
|
229
227
|
notes?: string;
|
|
230
228
|
};
|
|
231
229
|
to?: {
|
|
232
|
-
|
|
230
|
+
assignedTo?: SimpleUserType;
|
|
233
231
|
notes?: string;
|
|
234
232
|
};
|
|
235
233
|
};
|
|
@@ -279,7 +277,7 @@ export type HistoryParams = {
|
|
|
279
277
|
name?: number[];
|
|
280
278
|
status?: string[];
|
|
281
279
|
group?: number[];
|
|
282
|
-
|
|
280
|
+
assignedTo?: number[];
|
|
283
281
|
manager?: number[];
|
|
284
282
|
lastUpdate?: number[];
|
|
285
283
|
};
|
|
@@ -290,7 +288,7 @@ export type HistoryOptionFilter = {
|
|
|
290
288
|
modelOptions?: Option[];
|
|
291
289
|
statusOptions?: Option[];
|
|
292
290
|
groupOptions?: Option[];
|
|
293
|
-
|
|
291
|
+
assignedToOptions?: Option[];
|
|
294
292
|
managerOptions?: Option[];
|
|
295
293
|
};
|
|
296
294
|
export type HistoryOptionBoolean = {
|
|
@@ -299,7 +297,7 @@ export type HistoryOptionBoolean = {
|
|
|
299
297
|
modelOptions?: boolean;
|
|
300
298
|
statusOptions?: boolean;
|
|
301
299
|
groupOptions?: boolean;
|
|
302
|
-
|
|
300
|
+
assignedToOptions?: boolean;
|
|
303
301
|
managerOptions?: boolean;
|
|
304
302
|
};
|
|
305
303
|
export interface AssignmentsTaskQueryParams {
|