@feedmepos/mf-hrm-portal 2.0.11-dev → 2.0.11-dev.3
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/dist/AuditLogList-E_BtUYs7.js +915 -0
- package/dist/EmployeeList-D758_PXx.js +621 -0
- package/dist/{Main-6td6JhCb.js → Main-Bqx0FFmH.js} +1054 -1055
- package/dist/{Main-BhNhmkn8.js → Main-DjCFRKkP.js} +4 -4
- package/dist/{Main-Bu-UNnSQ.js → Main-eVW0teSe.js} +6 -6
- package/dist/{PermissionSetList-IG15Aj5D.js → PermissionSetList-DL5AL3mB.js} +128 -124
- package/dist/{PortalPermissionEditor.vue_vue_type_script_setup_true_lang-CDA9oDkd.js → PortalPermissionEditor.vue_vue_type_script_setup_true_lang-CMcQnqyK.js} +693 -693
- package/dist/RoleList-DuXjqXwQ.js +499 -0
- package/dist/TeamMemberList-BHpOC5vA.js +989 -0
- package/dist/{TimesheetList-D_JT5iyS.js → TimesheetList-Bz9ZMpHA.js} +74 -74
- package/dist/{app-h2mRYtCE.js → app-BhCUAF8K.js} +705 -712
- package/dist/app.js +1 -1
- package/dist/{dayjs.min-QbzmY4D1.js → dayjs.min-Cxe5QOx7.js} +1 -1
- package/dist/employee--8czm9KP.js +145 -0
- package/dist/{index-CBgvOHm7.js → index-CyJwEUuG.js} +1 -1
- package/dist/{index-BLm_-G4e.js → index-GgFsP7rK.js} +85 -108
- package/dist/{iteration-J_5O7DIo.js → iteration-BljyZld9.js} +1 -1
- package/dist/{lodash-btS1GWf0.js → lodash-D2-GJ54o.js} +1 -1
- package/dist/src/api/employee/index.d.ts +3 -4
- package/dist/src/api/team/index.d.ts +1 -3
- package/dist/src/stores/employee.d.ts +6 -515
- package/dist/src/stores/team.d.ts +0 -6
- package/dist/src/types/employee.d.ts +1 -35
- package/dist/src/types/team.d.ts +2 -18
- package/dist/src/views/hr/employee/EmployeeForm.vue.d.ts +2 -6
- package/dist/src/views/hr/employee/EmployeeList.vue.d.ts +0 -3
- package/dist/src/views/team/member/AddMemberForm.vue.d.ts +0 -9
- package/dist/src/views/team/member/TeamMemberMasterUser.vue.d.ts +5 -5
- package/dist/style.css +1 -1
- package/dist/team-C7-0IiCm.js +33 -0
- package/dist/{timesheet-B4Vja79b.js → timesheet-C_WtQDqh.js} +3 -3
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{useAppStore-CEidzV7L.js → useAppStore-B7R116Aw.js} +1 -1
- package/dist/{useLoading-fH82N_CS.js → useLoading-CwSP2H00.js} +1 -1
- package/dist/{useReportPermissions-BZS4zPhT.js → useReportPermissions-DVOIk2oR.js} +3 -3
- package/package.json +2 -2
- package/dist/AuditLogList-C7QcWwHq.js +0 -941
- package/dist/EmployeeList-CQzS4gXV.js +0 -690
- package/dist/RoleList-Cziztrpo.js +0 -519
- package/dist/TeamMemberList-DwxhZcrA.js +0 -1081
- package/dist/employee-CY4sYUu8.js +0 -232
- package/dist/src/components/table/TablePagination.vue.d.ts +0 -14
- package/dist/src/composables/useDebounce.d.ts +0 -9
- package/dist/useDebounce-Cnv3r01W.js +0 -83
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { FdtoUpdatePosUserReq, FdtoUpdatePosMasterUserReq } from '@feedmepos/core/entity';
|
|
2
|
+
import type { Employee } from '@/types/employee';
|
|
2
3
|
export declare const useEmployeeStore: () => {
|
|
3
4
|
isLoading: import("vue").Ref<boolean, boolean>;
|
|
4
5
|
employees: import("vue").Ref<({
|
|
@@ -66,72 +67,6 @@ export declare const useEmployeeStore: () => {
|
|
|
66
67
|
}[];
|
|
67
68
|
since: string;
|
|
68
69
|
})[]>;
|
|
69
|
-
listEmployees: import("vue").Ref<({
|
|
70
|
-
faceId?: unknown;
|
|
71
|
-
name: string;
|
|
72
|
-
role: string;
|
|
73
|
-
_id: string;
|
|
74
|
-
passcode: string;
|
|
75
|
-
isMasterUser: boolean;
|
|
76
|
-
restaurantId: string;
|
|
77
|
-
code?: string | undefined;
|
|
78
|
-
restaurants: {
|
|
79
|
-
restaurantId: string;
|
|
80
|
-
restaurantName: string;
|
|
81
|
-
roleId: string;
|
|
82
|
-
roleName: string;
|
|
83
|
-
}[];
|
|
84
|
-
since: string;
|
|
85
|
-
} | {
|
|
86
|
-
code?: string | undefined;
|
|
87
|
-
faceId?: unknown;
|
|
88
|
-
name: string;
|
|
89
|
-
role: string;
|
|
90
|
-
_id: string;
|
|
91
|
-
passcode: string;
|
|
92
|
-
isMasterUser: boolean;
|
|
93
|
-
restaurantId: string;
|
|
94
|
-
restaurants: {
|
|
95
|
-
restaurantId: string;
|
|
96
|
-
restaurantName: string;
|
|
97
|
-
roleId: string;
|
|
98
|
-
roleName: string;
|
|
99
|
-
}[];
|
|
100
|
-
since: string;
|
|
101
|
-
})[], Employee[] | ({
|
|
102
|
-
faceId?: unknown;
|
|
103
|
-
name: string;
|
|
104
|
-
role: string;
|
|
105
|
-
_id: string;
|
|
106
|
-
passcode: string;
|
|
107
|
-
isMasterUser: boolean;
|
|
108
|
-
restaurantId: string;
|
|
109
|
-
code?: string | undefined;
|
|
110
|
-
restaurants: {
|
|
111
|
-
restaurantId: string;
|
|
112
|
-
restaurantName: string;
|
|
113
|
-
roleId: string;
|
|
114
|
-
roleName: string;
|
|
115
|
-
}[];
|
|
116
|
-
since: string;
|
|
117
|
-
} | {
|
|
118
|
-
code?: string | undefined;
|
|
119
|
-
faceId?: unknown;
|
|
120
|
-
name: string;
|
|
121
|
-
role: string;
|
|
122
|
-
_id: string;
|
|
123
|
-
passcode: string;
|
|
124
|
-
isMasterUser: boolean;
|
|
125
|
-
restaurantId: string;
|
|
126
|
-
restaurants: {
|
|
127
|
-
restaurantId: string;
|
|
128
|
-
restaurantName: string;
|
|
129
|
-
roleId: string;
|
|
130
|
-
roleName: string;
|
|
131
|
-
}[];
|
|
132
|
-
since: string;
|
|
133
|
-
})[]>;
|
|
134
|
-
totalEmployees: import("vue").Ref<number, number>;
|
|
135
70
|
restrictEmployeeIds: import("vue").Ref<string[], string[]>;
|
|
136
71
|
$state: {
|
|
137
72
|
isLoading: boolean;
|
|
@@ -168,40 +103,6 @@ export declare const useEmployeeStore: () => {
|
|
|
168
103
|
}[];
|
|
169
104
|
since: string;
|
|
170
105
|
})[];
|
|
171
|
-
listEmployees: ({
|
|
172
|
-
faceId?: unknown;
|
|
173
|
-
name: string;
|
|
174
|
-
role: string;
|
|
175
|
-
_id: string;
|
|
176
|
-
passcode: string;
|
|
177
|
-
isMasterUser: boolean;
|
|
178
|
-
restaurantId: string;
|
|
179
|
-
code?: string | undefined;
|
|
180
|
-
restaurants: {
|
|
181
|
-
restaurantId: string;
|
|
182
|
-
restaurantName: string;
|
|
183
|
-
roleId: string;
|
|
184
|
-
roleName: string;
|
|
185
|
-
}[];
|
|
186
|
-
since: string;
|
|
187
|
-
} | {
|
|
188
|
-
code?: string | undefined;
|
|
189
|
-
faceId?: unknown;
|
|
190
|
-
name: string;
|
|
191
|
-
role: string;
|
|
192
|
-
_id: string;
|
|
193
|
-
passcode: string;
|
|
194
|
-
isMasterUser: boolean;
|
|
195
|
-
restaurantId: string;
|
|
196
|
-
restaurants: {
|
|
197
|
-
restaurantId: string;
|
|
198
|
-
restaurantName: string;
|
|
199
|
-
roleId: string;
|
|
200
|
-
roleName: string;
|
|
201
|
-
}[];
|
|
202
|
-
since: string;
|
|
203
|
-
})[];
|
|
204
|
-
totalEmployees: number;
|
|
205
106
|
restrictEmployeeIds: string[];
|
|
206
107
|
} & import("pinia").PiniaCustomStateProperties<Pick<{
|
|
207
108
|
employees: import("vue").Ref<({
|
|
@@ -269,77 +170,9 @@ export declare const useEmployeeStore: () => {
|
|
|
269
170
|
}[];
|
|
270
171
|
since: string;
|
|
271
172
|
})[]>;
|
|
272
|
-
listEmployees: import("vue").Ref<({
|
|
273
|
-
faceId?: unknown;
|
|
274
|
-
name: string;
|
|
275
|
-
role: string;
|
|
276
|
-
_id: string;
|
|
277
|
-
passcode: string;
|
|
278
|
-
isMasterUser: boolean;
|
|
279
|
-
restaurantId: string;
|
|
280
|
-
code?: string | undefined;
|
|
281
|
-
restaurants: {
|
|
282
|
-
restaurantId: string;
|
|
283
|
-
restaurantName: string;
|
|
284
|
-
roleId: string;
|
|
285
|
-
roleName: string;
|
|
286
|
-
}[];
|
|
287
|
-
since: string;
|
|
288
|
-
} | {
|
|
289
|
-
code?: string | undefined;
|
|
290
|
-
faceId?: unknown;
|
|
291
|
-
name: string;
|
|
292
|
-
role: string;
|
|
293
|
-
_id: string;
|
|
294
|
-
passcode: string;
|
|
295
|
-
isMasterUser: boolean;
|
|
296
|
-
restaurantId: string;
|
|
297
|
-
restaurants: {
|
|
298
|
-
restaurantId: string;
|
|
299
|
-
restaurantName: string;
|
|
300
|
-
roleId: string;
|
|
301
|
-
roleName: string;
|
|
302
|
-
}[];
|
|
303
|
-
since: string;
|
|
304
|
-
})[], Employee[] | ({
|
|
305
|
-
faceId?: unknown;
|
|
306
|
-
name: string;
|
|
307
|
-
role: string;
|
|
308
|
-
_id: string;
|
|
309
|
-
passcode: string;
|
|
310
|
-
isMasterUser: boolean;
|
|
311
|
-
restaurantId: string;
|
|
312
|
-
code?: string | undefined;
|
|
313
|
-
restaurants: {
|
|
314
|
-
restaurantId: string;
|
|
315
|
-
restaurantName: string;
|
|
316
|
-
roleId: string;
|
|
317
|
-
roleName: string;
|
|
318
|
-
}[];
|
|
319
|
-
since: string;
|
|
320
|
-
} | {
|
|
321
|
-
code?: string | undefined;
|
|
322
|
-
faceId?: unknown;
|
|
323
|
-
name: string;
|
|
324
|
-
role: string;
|
|
325
|
-
_id: string;
|
|
326
|
-
passcode: string;
|
|
327
|
-
isMasterUser: boolean;
|
|
328
|
-
restaurantId: string;
|
|
329
|
-
restaurants: {
|
|
330
|
-
restaurantId: string;
|
|
331
|
-
restaurantName: string;
|
|
332
|
-
roleId: string;
|
|
333
|
-
roleName: string;
|
|
334
|
-
}[];
|
|
335
|
-
since: string;
|
|
336
|
-
})[]>;
|
|
337
|
-
totalEmployees: import("vue").Ref<number, number>;
|
|
338
173
|
restrictEmployeeIds: import("vue").Ref<string[], string[]>;
|
|
339
174
|
isLoading: import("vue").Ref<boolean, boolean>;
|
|
340
175
|
readEmployees: () => Promise<void>;
|
|
341
|
-
readEmployeesPage: (query: IReadEmployeesPageReq) => Promise<void>;
|
|
342
|
-
readAllEmployeesPage: (query: Omit<IReadEmployeesPageReq, "limit" | "offset">) => Promise<Employee[]>;
|
|
343
176
|
createEmployee: (dto: FdtoUpdatePosUserReq) => Promise<void>;
|
|
344
177
|
updateEmployee: (userId: string, dto: FdtoUpdatePosUserReq) => Promise<void>;
|
|
345
178
|
deleteEmployee: (employee: Employee) => Promise<void>;
|
|
@@ -349,7 +182,7 @@ export declare const useEmployeeStore: () => {
|
|
|
349
182
|
migrateToMasterUser: (userId: string, dto: FdtoUpdatePosMasterUserReq) => Promise<void>;
|
|
350
183
|
readTeamMemberPosUserIds: () => Promise<void>;
|
|
351
184
|
syncUsersMeta: () => Promise<void>;
|
|
352
|
-
}, "isLoading" | "employees" | "
|
|
185
|
+
}, "isLoading" | "employees" | "restrictEmployeeIds">>;
|
|
353
186
|
$patch(partialState: import("pinia")._DeepPartial<{
|
|
354
187
|
isLoading: boolean;
|
|
355
188
|
employees: ({
|
|
@@ -385,40 +218,6 @@ export declare const useEmployeeStore: () => {
|
|
|
385
218
|
}[];
|
|
386
219
|
since: string;
|
|
387
220
|
})[];
|
|
388
|
-
listEmployees: ({
|
|
389
|
-
faceId?: unknown;
|
|
390
|
-
name: string;
|
|
391
|
-
role: string;
|
|
392
|
-
_id: string;
|
|
393
|
-
passcode: string;
|
|
394
|
-
isMasterUser: boolean;
|
|
395
|
-
restaurantId: string;
|
|
396
|
-
code?: string | undefined;
|
|
397
|
-
restaurants: {
|
|
398
|
-
restaurantId: string;
|
|
399
|
-
restaurantName: string;
|
|
400
|
-
roleId: string;
|
|
401
|
-
roleName: string;
|
|
402
|
-
}[];
|
|
403
|
-
since: string;
|
|
404
|
-
} | {
|
|
405
|
-
code?: string | undefined;
|
|
406
|
-
faceId?: unknown;
|
|
407
|
-
name: string;
|
|
408
|
-
role: string;
|
|
409
|
-
_id: string;
|
|
410
|
-
passcode: string;
|
|
411
|
-
isMasterUser: boolean;
|
|
412
|
-
restaurantId: string;
|
|
413
|
-
restaurants: {
|
|
414
|
-
restaurantId: string;
|
|
415
|
-
restaurantName: string;
|
|
416
|
-
roleId: string;
|
|
417
|
-
roleName: string;
|
|
418
|
-
}[];
|
|
419
|
-
since: string;
|
|
420
|
-
})[];
|
|
421
|
-
totalEmployees: number;
|
|
422
221
|
restrictEmployeeIds: string[];
|
|
423
222
|
}>): void;
|
|
424
223
|
$patch<F extends (state: {
|
|
@@ -456,40 +255,6 @@ export declare const useEmployeeStore: () => {
|
|
|
456
255
|
}[];
|
|
457
256
|
since: string;
|
|
458
257
|
})[];
|
|
459
|
-
listEmployees: ({
|
|
460
|
-
faceId?: unknown;
|
|
461
|
-
name: string;
|
|
462
|
-
role: string;
|
|
463
|
-
_id: string;
|
|
464
|
-
passcode: string;
|
|
465
|
-
isMasterUser: boolean;
|
|
466
|
-
restaurantId: string;
|
|
467
|
-
code?: string | undefined;
|
|
468
|
-
restaurants: {
|
|
469
|
-
restaurantId: string;
|
|
470
|
-
restaurantName: string;
|
|
471
|
-
roleId: string;
|
|
472
|
-
roleName: string;
|
|
473
|
-
}[];
|
|
474
|
-
since: string;
|
|
475
|
-
} | {
|
|
476
|
-
code?: string | undefined;
|
|
477
|
-
faceId?: unknown;
|
|
478
|
-
name: string;
|
|
479
|
-
role: string;
|
|
480
|
-
_id: string;
|
|
481
|
-
passcode: string;
|
|
482
|
-
isMasterUser: boolean;
|
|
483
|
-
restaurantId: string;
|
|
484
|
-
restaurants: {
|
|
485
|
-
restaurantId: string;
|
|
486
|
-
restaurantName: string;
|
|
487
|
-
roleId: string;
|
|
488
|
-
roleName: string;
|
|
489
|
-
}[];
|
|
490
|
-
since: string;
|
|
491
|
-
})[];
|
|
492
|
-
totalEmployees: number;
|
|
493
258
|
restrictEmployeeIds: string[];
|
|
494
259
|
}) => any>(stateMutator: ReturnType<F> extends Promise<any> ? never : F): void;
|
|
495
260
|
$reset(): void;
|
|
@@ -559,77 +324,9 @@ export declare const useEmployeeStore: () => {
|
|
|
559
324
|
}[];
|
|
560
325
|
since: string;
|
|
561
326
|
})[]>;
|
|
562
|
-
listEmployees: import("vue").Ref<({
|
|
563
|
-
faceId?: unknown;
|
|
564
|
-
name: string;
|
|
565
|
-
role: string;
|
|
566
|
-
_id: string;
|
|
567
|
-
passcode: string;
|
|
568
|
-
isMasterUser: boolean;
|
|
569
|
-
restaurantId: string;
|
|
570
|
-
code?: string | undefined;
|
|
571
|
-
restaurants: {
|
|
572
|
-
restaurantId: string;
|
|
573
|
-
restaurantName: string;
|
|
574
|
-
roleId: string;
|
|
575
|
-
roleName: string;
|
|
576
|
-
}[];
|
|
577
|
-
since: string;
|
|
578
|
-
} | {
|
|
579
|
-
code?: string | undefined;
|
|
580
|
-
faceId?: unknown;
|
|
581
|
-
name: string;
|
|
582
|
-
role: string;
|
|
583
|
-
_id: string;
|
|
584
|
-
passcode: string;
|
|
585
|
-
isMasterUser: boolean;
|
|
586
|
-
restaurantId: string;
|
|
587
|
-
restaurants: {
|
|
588
|
-
restaurantId: string;
|
|
589
|
-
restaurantName: string;
|
|
590
|
-
roleId: string;
|
|
591
|
-
roleName: string;
|
|
592
|
-
}[];
|
|
593
|
-
since: string;
|
|
594
|
-
})[], Employee[] | ({
|
|
595
|
-
faceId?: unknown;
|
|
596
|
-
name: string;
|
|
597
|
-
role: string;
|
|
598
|
-
_id: string;
|
|
599
|
-
passcode: string;
|
|
600
|
-
isMasterUser: boolean;
|
|
601
|
-
restaurantId: string;
|
|
602
|
-
code?: string | undefined;
|
|
603
|
-
restaurants: {
|
|
604
|
-
restaurantId: string;
|
|
605
|
-
restaurantName: string;
|
|
606
|
-
roleId: string;
|
|
607
|
-
roleName: string;
|
|
608
|
-
}[];
|
|
609
|
-
since: string;
|
|
610
|
-
} | {
|
|
611
|
-
code?: string | undefined;
|
|
612
|
-
faceId?: unknown;
|
|
613
|
-
name: string;
|
|
614
|
-
role: string;
|
|
615
|
-
_id: string;
|
|
616
|
-
passcode: string;
|
|
617
|
-
isMasterUser: boolean;
|
|
618
|
-
restaurantId: string;
|
|
619
|
-
restaurants: {
|
|
620
|
-
restaurantId: string;
|
|
621
|
-
restaurantName: string;
|
|
622
|
-
roleId: string;
|
|
623
|
-
roleName: string;
|
|
624
|
-
}[];
|
|
625
|
-
since: string;
|
|
626
|
-
})[]>;
|
|
627
|
-
totalEmployees: import("vue").Ref<number, number>;
|
|
628
327
|
restrictEmployeeIds: import("vue").Ref<string[], string[]>;
|
|
629
328
|
isLoading: import("vue").Ref<boolean, boolean>;
|
|
630
329
|
readEmployees: () => Promise<void>;
|
|
631
|
-
readEmployeesPage: (query: IReadEmployeesPageReq) => Promise<void>;
|
|
632
|
-
readAllEmployeesPage: (query: Omit<IReadEmployeesPageReq, "limit" | "offset">) => Promise<Employee[]>;
|
|
633
330
|
createEmployee: (dto: FdtoUpdatePosUserReq) => Promise<void>;
|
|
634
331
|
updateEmployee: (userId: string, dto: FdtoUpdatePosUserReq) => Promise<void>;
|
|
635
332
|
deleteEmployee: (employee: Employee) => Promise<void>;
|
|
@@ -639,7 +336,7 @@ export declare const useEmployeeStore: () => {
|
|
|
639
336
|
migrateToMasterUser: (userId: string, dto: FdtoUpdatePosMasterUserReq) => Promise<void>;
|
|
640
337
|
readTeamMemberPosUserIds: () => Promise<void>;
|
|
641
338
|
syncUsersMeta: () => Promise<void>;
|
|
642
|
-
}, "isLoading" | "employees" | "
|
|
339
|
+
}, "isLoading" | "employees" | "restrictEmployeeIds">>, options?: {
|
|
643
340
|
detached?: boolean;
|
|
644
341
|
} & import("vue").WatchOptions): () => void;
|
|
645
342
|
$onAction(callback: import("pinia").StoreOnActionListener<"employee", Pick<{
|
|
@@ -708,77 +405,9 @@ export declare const useEmployeeStore: () => {
|
|
|
708
405
|
}[];
|
|
709
406
|
since: string;
|
|
710
407
|
})[]>;
|
|
711
|
-
listEmployees: import("vue").Ref<({
|
|
712
|
-
faceId?: unknown;
|
|
713
|
-
name: string;
|
|
714
|
-
role: string;
|
|
715
|
-
_id: string;
|
|
716
|
-
passcode: string;
|
|
717
|
-
isMasterUser: boolean;
|
|
718
|
-
restaurantId: string;
|
|
719
|
-
code?: string | undefined;
|
|
720
|
-
restaurants: {
|
|
721
|
-
restaurantId: string;
|
|
722
|
-
restaurantName: string;
|
|
723
|
-
roleId: string;
|
|
724
|
-
roleName: string;
|
|
725
|
-
}[];
|
|
726
|
-
since: string;
|
|
727
|
-
} | {
|
|
728
|
-
code?: string | undefined;
|
|
729
|
-
faceId?: unknown;
|
|
730
|
-
name: string;
|
|
731
|
-
role: string;
|
|
732
|
-
_id: string;
|
|
733
|
-
passcode: string;
|
|
734
|
-
isMasterUser: boolean;
|
|
735
|
-
restaurantId: string;
|
|
736
|
-
restaurants: {
|
|
737
|
-
restaurantId: string;
|
|
738
|
-
restaurantName: string;
|
|
739
|
-
roleId: string;
|
|
740
|
-
roleName: string;
|
|
741
|
-
}[];
|
|
742
|
-
since: string;
|
|
743
|
-
})[], Employee[] | ({
|
|
744
|
-
faceId?: unknown;
|
|
745
|
-
name: string;
|
|
746
|
-
role: string;
|
|
747
|
-
_id: string;
|
|
748
|
-
passcode: string;
|
|
749
|
-
isMasterUser: boolean;
|
|
750
|
-
restaurantId: string;
|
|
751
|
-
code?: string | undefined;
|
|
752
|
-
restaurants: {
|
|
753
|
-
restaurantId: string;
|
|
754
|
-
restaurantName: string;
|
|
755
|
-
roleId: string;
|
|
756
|
-
roleName: string;
|
|
757
|
-
}[];
|
|
758
|
-
since: string;
|
|
759
|
-
} | {
|
|
760
|
-
code?: string | undefined;
|
|
761
|
-
faceId?: unknown;
|
|
762
|
-
name: string;
|
|
763
|
-
role: string;
|
|
764
|
-
_id: string;
|
|
765
|
-
passcode: string;
|
|
766
|
-
isMasterUser: boolean;
|
|
767
|
-
restaurantId: string;
|
|
768
|
-
restaurants: {
|
|
769
|
-
restaurantId: string;
|
|
770
|
-
restaurantName: string;
|
|
771
|
-
roleId: string;
|
|
772
|
-
roleName: string;
|
|
773
|
-
}[];
|
|
774
|
-
since: string;
|
|
775
|
-
})[]>;
|
|
776
|
-
totalEmployees: import("vue").Ref<number, number>;
|
|
777
408
|
restrictEmployeeIds: import("vue").Ref<string[], string[]>;
|
|
778
409
|
isLoading: import("vue").Ref<boolean, boolean>;
|
|
779
410
|
readEmployees: () => Promise<void>;
|
|
780
|
-
readEmployeesPage: (query: IReadEmployeesPageReq) => Promise<void>;
|
|
781
|
-
readAllEmployeesPage: (query: Omit<IReadEmployeesPageReq, "limit" | "offset">) => Promise<Employee[]>;
|
|
782
411
|
createEmployee: (dto: FdtoUpdatePosUserReq) => Promise<void>;
|
|
783
412
|
updateEmployee: (userId: string, dto: FdtoUpdatePosUserReq) => Promise<void>;
|
|
784
413
|
deleteEmployee: (employee: Employee) => Promise<void>;
|
|
@@ -788,7 +417,7 @@ export declare const useEmployeeStore: () => {
|
|
|
788
417
|
migrateToMasterUser: (userId: string, dto: FdtoUpdatePosMasterUserReq) => Promise<void>;
|
|
789
418
|
readTeamMemberPosUserIds: () => Promise<void>;
|
|
790
419
|
syncUsersMeta: () => Promise<void>;
|
|
791
|
-
}, "isLoading" | "employees" | "
|
|
420
|
+
}, "isLoading" | "employees" | "restrictEmployeeIds">, Pick<{
|
|
792
421
|
employees: import("vue").Ref<({
|
|
793
422
|
faceId?: unknown;
|
|
794
423
|
name: string;
|
|
@@ -854,77 +483,9 @@ export declare const useEmployeeStore: () => {
|
|
|
854
483
|
}[];
|
|
855
484
|
since: string;
|
|
856
485
|
})[]>;
|
|
857
|
-
listEmployees: import("vue").Ref<({
|
|
858
|
-
faceId?: unknown;
|
|
859
|
-
name: string;
|
|
860
|
-
role: string;
|
|
861
|
-
_id: string;
|
|
862
|
-
passcode: string;
|
|
863
|
-
isMasterUser: boolean;
|
|
864
|
-
restaurantId: string;
|
|
865
|
-
code?: string | undefined;
|
|
866
|
-
restaurants: {
|
|
867
|
-
restaurantId: string;
|
|
868
|
-
restaurantName: string;
|
|
869
|
-
roleId: string;
|
|
870
|
-
roleName: string;
|
|
871
|
-
}[];
|
|
872
|
-
since: string;
|
|
873
|
-
} | {
|
|
874
|
-
code?: string | undefined;
|
|
875
|
-
faceId?: unknown;
|
|
876
|
-
name: string;
|
|
877
|
-
role: string;
|
|
878
|
-
_id: string;
|
|
879
|
-
passcode: string;
|
|
880
|
-
isMasterUser: boolean;
|
|
881
|
-
restaurantId: string;
|
|
882
|
-
restaurants: {
|
|
883
|
-
restaurantId: string;
|
|
884
|
-
restaurantName: string;
|
|
885
|
-
roleId: string;
|
|
886
|
-
roleName: string;
|
|
887
|
-
}[];
|
|
888
|
-
since: string;
|
|
889
|
-
})[], Employee[] | ({
|
|
890
|
-
faceId?: unknown;
|
|
891
|
-
name: string;
|
|
892
|
-
role: string;
|
|
893
|
-
_id: string;
|
|
894
|
-
passcode: string;
|
|
895
|
-
isMasterUser: boolean;
|
|
896
|
-
restaurantId: string;
|
|
897
|
-
code?: string | undefined;
|
|
898
|
-
restaurants: {
|
|
899
|
-
restaurantId: string;
|
|
900
|
-
restaurantName: string;
|
|
901
|
-
roleId: string;
|
|
902
|
-
roleName: string;
|
|
903
|
-
}[];
|
|
904
|
-
since: string;
|
|
905
|
-
} | {
|
|
906
|
-
code?: string | undefined;
|
|
907
|
-
faceId?: unknown;
|
|
908
|
-
name: string;
|
|
909
|
-
role: string;
|
|
910
|
-
_id: string;
|
|
911
|
-
passcode: string;
|
|
912
|
-
isMasterUser: boolean;
|
|
913
|
-
restaurantId: string;
|
|
914
|
-
restaurants: {
|
|
915
|
-
restaurantId: string;
|
|
916
|
-
restaurantName: string;
|
|
917
|
-
roleId: string;
|
|
918
|
-
roleName: string;
|
|
919
|
-
}[];
|
|
920
|
-
since: string;
|
|
921
|
-
})[]>;
|
|
922
|
-
totalEmployees: import("vue").Ref<number, number>;
|
|
923
486
|
restrictEmployeeIds: import("vue").Ref<string[], string[]>;
|
|
924
487
|
isLoading: import("vue").Ref<boolean, boolean>;
|
|
925
488
|
readEmployees: () => Promise<void>;
|
|
926
|
-
readEmployeesPage: (query: IReadEmployeesPageReq) => Promise<void>;
|
|
927
|
-
readAllEmployeesPage: (query: Omit<IReadEmployeesPageReq, "limit" | "offset">) => Promise<Employee[]>;
|
|
928
489
|
createEmployee: (dto: FdtoUpdatePosUserReq) => Promise<void>;
|
|
929
490
|
updateEmployee: (userId: string, dto: FdtoUpdatePosUserReq) => Promise<void>;
|
|
930
491
|
deleteEmployee: (employee: Employee) => Promise<void>;
|
|
@@ -1000,77 +561,9 @@ export declare const useEmployeeStore: () => {
|
|
|
1000
561
|
}[];
|
|
1001
562
|
since: string;
|
|
1002
563
|
})[]>;
|
|
1003
|
-
listEmployees: import("vue").Ref<({
|
|
1004
|
-
faceId?: unknown;
|
|
1005
|
-
name: string;
|
|
1006
|
-
role: string;
|
|
1007
|
-
_id: string;
|
|
1008
|
-
passcode: string;
|
|
1009
|
-
isMasterUser: boolean;
|
|
1010
|
-
restaurantId: string;
|
|
1011
|
-
code?: string | undefined;
|
|
1012
|
-
restaurants: {
|
|
1013
|
-
restaurantId: string;
|
|
1014
|
-
restaurantName: string;
|
|
1015
|
-
roleId: string;
|
|
1016
|
-
roleName: string;
|
|
1017
|
-
}[];
|
|
1018
|
-
since: string;
|
|
1019
|
-
} | {
|
|
1020
|
-
code?: string | undefined;
|
|
1021
|
-
faceId?: unknown;
|
|
1022
|
-
name: string;
|
|
1023
|
-
role: string;
|
|
1024
|
-
_id: string;
|
|
1025
|
-
passcode: string;
|
|
1026
|
-
isMasterUser: boolean;
|
|
1027
|
-
restaurantId: string;
|
|
1028
|
-
restaurants: {
|
|
1029
|
-
restaurantId: string;
|
|
1030
|
-
restaurantName: string;
|
|
1031
|
-
roleId: string;
|
|
1032
|
-
roleName: string;
|
|
1033
|
-
}[];
|
|
1034
|
-
since: string;
|
|
1035
|
-
})[], Employee[] | ({
|
|
1036
|
-
faceId?: unknown;
|
|
1037
|
-
name: string;
|
|
1038
|
-
role: string;
|
|
1039
|
-
_id: string;
|
|
1040
|
-
passcode: string;
|
|
1041
|
-
isMasterUser: boolean;
|
|
1042
|
-
restaurantId: string;
|
|
1043
|
-
code?: string | undefined;
|
|
1044
|
-
restaurants: {
|
|
1045
|
-
restaurantId: string;
|
|
1046
|
-
restaurantName: string;
|
|
1047
|
-
roleId: string;
|
|
1048
|
-
roleName: string;
|
|
1049
|
-
}[];
|
|
1050
|
-
since: string;
|
|
1051
|
-
} | {
|
|
1052
|
-
code?: string | undefined;
|
|
1053
|
-
faceId?: unknown;
|
|
1054
|
-
name: string;
|
|
1055
|
-
role: string;
|
|
1056
|
-
_id: string;
|
|
1057
|
-
passcode: string;
|
|
1058
|
-
isMasterUser: boolean;
|
|
1059
|
-
restaurantId: string;
|
|
1060
|
-
restaurants: {
|
|
1061
|
-
restaurantId: string;
|
|
1062
|
-
restaurantName: string;
|
|
1063
|
-
roleId: string;
|
|
1064
|
-
roleName: string;
|
|
1065
|
-
}[];
|
|
1066
|
-
since: string;
|
|
1067
|
-
})[]>;
|
|
1068
|
-
totalEmployees: import("vue").Ref<number, number>;
|
|
1069
564
|
restrictEmployeeIds: import("vue").Ref<string[], string[]>;
|
|
1070
565
|
isLoading: import("vue").Ref<boolean, boolean>;
|
|
1071
566
|
readEmployees: () => Promise<void>;
|
|
1072
|
-
readEmployeesPage: (query: IReadEmployeesPageReq) => Promise<void>;
|
|
1073
|
-
readAllEmployeesPage: (query: Omit<IReadEmployeesPageReq, "limit" | "offset">) => Promise<Employee[]>;
|
|
1074
567
|
createEmployee: (dto: FdtoUpdatePosUserReq) => Promise<void>;
|
|
1075
568
|
updateEmployee: (userId: string, dto: FdtoUpdatePosUserReq) => Promise<void>;
|
|
1076
569
|
deleteEmployee: (employee: Employee) => Promise<void>;
|
|
@@ -1080,13 +573,11 @@ export declare const useEmployeeStore: () => {
|
|
|
1080
573
|
migrateToMasterUser: (userId: string, dto: FdtoUpdatePosMasterUserReq) => Promise<void>;
|
|
1081
574
|
readTeamMemberPosUserIds: () => Promise<void>;
|
|
1082
575
|
syncUsersMeta: () => Promise<void>;
|
|
1083
|
-
}, "readEmployees" | "
|
|
576
|
+
}, "readEmployees" | "createEmployee" | "updateEmployee" | "deleteEmployee" | "createMasterEmployee" | "updateMasterEmployee" | "deleteMasterEmployee" | "migrateToMasterUser" | "readTeamMemberPosUserIds" | "syncUsersMeta">>, detached?: boolean): () => void;
|
|
1084
577
|
$dispose(): void;
|
|
1085
578
|
$id: "employee";
|
|
1086
579
|
_customProperties: Set<string>;
|
|
1087
580
|
readEmployees: () => Promise<void>;
|
|
1088
|
-
readEmployeesPage: (query: IReadEmployeesPageReq) => Promise<void>;
|
|
1089
|
-
readAllEmployeesPage: (query: Omit<IReadEmployeesPageReq, "limit" | "offset">) => Promise<Employee[]>;
|
|
1090
581
|
createEmployee: (dto: FdtoUpdatePosUserReq) => Promise<void>;
|
|
1091
582
|
updateEmployee: (userId: string, dto: FdtoUpdatePosUserReq) => Promise<void>;
|
|
1092
583
|
deleteEmployee: (employee: Employee) => Promise<void>;
|
|
@@ -21,7 +21,6 @@ declare const useTeamStore: import("pinia").StoreDefinition<"team", Pick<{
|
|
|
21
21
|
id: string;
|
|
22
22
|
posUserId: string;
|
|
23
23
|
isOwner: boolean;
|
|
24
|
-
hasPosUser?: boolean | undefined;
|
|
25
24
|
name: string;
|
|
26
25
|
phoneNumber: string;
|
|
27
26
|
email: string;
|
|
@@ -67,7 +66,6 @@ declare const useTeamStore: import("pinia").StoreDefinition<"team", Pick<{
|
|
|
67
66
|
id: string;
|
|
68
67
|
posUserId: string;
|
|
69
68
|
isOwner: boolean;
|
|
70
|
-
hasPosUser?: boolean | undefined;
|
|
71
69
|
name: string;
|
|
72
70
|
phoneNumber: string;
|
|
73
71
|
email: string;
|
|
@@ -122,7 +120,6 @@ declare const useTeamStore: import("pinia").StoreDefinition<"team", Pick<{
|
|
|
122
120
|
id: string;
|
|
123
121
|
posUserId: string;
|
|
124
122
|
isOwner: boolean;
|
|
125
|
-
hasPosUser?: boolean | undefined;
|
|
126
123
|
name: string;
|
|
127
124
|
phoneNumber: string;
|
|
128
125
|
email: string;
|
|
@@ -168,7 +165,6 @@ declare const useTeamStore: import("pinia").StoreDefinition<"team", Pick<{
|
|
|
168
165
|
id: string;
|
|
169
166
|
posUserId: string;
|
|
170
167
|
isOwner: boolean;
|
|
171
|
-
hasPosUser?: boolean | undefined;
|
|
172
168
|
name: string;
|
|
173
169
|
phoneNumber: string;
|
|
174
170
|
email: string;
|
|
@@ -223,7 +219,6 @@ declare const useTeamStore: import("pinia").StoreDefinition<"team", Pick<{
|
|
|
223
219
|
id: string;
|
|
224
220
|
posUserId: string;
|
|
225
221
|
isOwner: boolean;
|
|
226
|
-
hasPosUser?: boolean | undefined;
|
|
227
222
|
name: string;
|
|
228
223
|
phoneNumber: string;
|
|
229
224
|
email: string;
|
|
@@ -269,7 +264,6 @@ declare const useTeamStore: import("pinia").StoreDefinition<"team", Pick<{
|
|
|
269
264
|
id: string;
|
|
270
265
|
posUserId: string;
|
|
271
266
|
isOwner: boolean;
|
|
272
|
-
hasPosUser?: boolean | undefined;
|
|
273
267
|
name: string;
|
|
274
268
|
phoneNumber: string;
|
|
275
269
|
email: string;
|