@dakkitor/api-contracts 1.1.151 → 1.1.152
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/actives/actives.contract.d.ts +6555 -6555
- package/dist/bookings/bookings.contract.d.ts +8569 -8569
- package/dist/dashboards/dashboard-widgets.contract.d.ts +144 -144
- package/dist/jobs/jobs.contract.d.ts +40 -40
- package/dist/jobs/jobs.contract.js +6 -6
- package/package.json +1 -1
|
@@ -53,11 +53,11 @@ export declare const FaPipelineWidgetSchema: z.ZodObject<{
|
|
|
53
53
|
recentCount: z.ZodNumber;
|
|
54
54
|
}, "strip", z.ZodTypeAny, {
|
|
55
55
|
total: number;
|
|
56
|
-
byStatus: Partial<Record<"
|
|
56
|
+
byStatus: Partial<Record<"APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT", number>>;
|
|
57
57
|
recentCount: number;
|
|
58
58
|
}, {
|
|
59
59
|
total: number;
|
|
60
|
-
byStatus: Partial<Record<"
|
|
60
|
+
byStatus: Partial<Record<"APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT", number>>;
|
|
61
61
|
recentCount: number;
|
|
62
62
|
}>;
|
|
63
63
|
summary: z.ZodObject<{
|
|
@@ -77,7 +77,7 @@ export declare const FaPipelineWidgetSchema: z.ZodObject<{
|
|
|
77
77
|
};
|
|
78
78
|
collaborations: {
|
|
79
79
|
total: number;
|
|
80
|
-
byStatus: Partial<Record<"
|
|
80
|
+
byStatus: Partial<Record<"APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT", number>>;
|
|
81
81
|
recentCount: number;
|
|
82
82
|
};
|
|
83
83
|
}, {
|
|
@@ -87,7 +87,7 @@ export declare const FaPipelineWidgetSchema: z.ZodObject<{
|
|
|
87
87
|
};
|
|
88
88
|
collaborations: {
|
|
89
89
|
total: number;
|
|
90
|
-
byStatus: Partial<Record<"
|
|
90
|
+
byStatus: Partial<Record<"APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT", number>>;
|
|
91
91
|
recentCount: number;
|
|
92
92
|
};
|
|
93
93
|
}>;
|
|
@@ -101,12 +101,12 @@ export declare const FaClientsWidgetSchema: z.ZodObject<{
|
|
|
101
101
|
pendingVerification: z.ZodNumber;
|
|
102
102
|
}, "strip", z.ZodTypeAny, {
|
|
103
103
|
total: number;
|
|
104
|
-
byStatus: Partial<Record<"
|
|
104
|
+
byStatus: Partial<Record<"APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED", number>>;
|
|
105
105
|
recentlyAdded: number;
|
|
106
106
|
pendingVerification: number;
|
|
107
107
|
}, {
|
|
108
108
|
total: number;
|
|
109
|
-
byStatus: Partial<Record<"
|
|
109
|
+
byStatus: Partial<Record<"APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED", number>>;
|
|
110
110
|
recentlyAdded: number;
|
|
111
111
|
pendingVerification: number;
|
|
112
112
|
}>;
|
|
@@ -191,15 +191,15 @@ export declare const AllAgentsCallHistoryQuerySchema: z.ZodObject<{
|
|
|
191
191
|
date: z.ZodOptional<z.ZodString>;
|
|
192
192
|
view: z.ZodOptional<z.ZodEnum<["FA", "SA"]>>;
|
|
193
193
|
}, "strip", z.ZodTypeAny, {
|
|
194
|
-
page: number;
|
|
195
194
|
limit: number;
|
|
195
|
+
page: number;
|
|
196
196
|
date?: string | undefined;
|
|
197
|
-
view?: "
|
|
197
|
+
view?: "FA" | "SA" | undefined;
|
|
198
198
|
}, {
|
|
199
199
|
date?: string | undefined;
|
|
200
|
-
page?: number | undefined;
|
|
201
200
|
limit?: number | undefined;
|
|
202
|
-
|
|
201
|
+
page?: number | undefined;
|
|
202
|
+
view?: "FA" | "SA" | undefined;
|
|
203
203
|
}>;
|
|
204
204
|
/**
|
|
205
205
|
* FA Actives Widget - Today's active workers (FA perspective)
|
|
@@ -210,20 +210,20 @@ export declare const FaActivesWidgetSchema: z.ZodObject<{
|
|
|
210
210
|
byStatusFa: z.ZodRecord<z.ZodEnum<["PENDING", "ACTIVE", "VACATION", "LEFT_THE_SITE", "MEDICAL_LEAVE", "DAY_OFF", "INJURY"]>, z.ZodNumber>;
|
|
211
211
|
}, "strip", z.ZodTypeAny, {
|
|
212
212
|
total: number;
|
|
213
|
-
byStatusFa: Partial<Record<"
|
|
213
|
+
byStatusFa: Partial<Record<"ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY", number>>;
|
|
214
214
|
}, {
|
|
215
215
|
total: number;
|
|
216
|
-
byStatusFa: Partial<Record<"
|
|
216
|
+
byStatusFa: Partial<Record<"ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY", number>>;
|
|
217
217
|
}>;
|
|
218
218
|
}, "strip", z.ZodTypeAny, {
|
|
219
219
|
today: {
|
|
220
220
|
total: number;
|
|
221
|
-
byStatusFa: Partial<Record<"
|
|
221
|
+
byStatusFa: Partial<Record<"ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY", number>>;
|
|
222
222
|
};
|
|
223
223
|
}, {
|
|
224
224
|
today: {
|
|
225
225
|
total: number;
|
|
226
|
-
byStatusFa: Partial<Record<"
|
|
226
|
+
byStatusFa: Partial<Record<"ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY", number>>;
|
|
227
227
|
};
|
|
228
228
|
}>;
|
|
229
229
|
/**
|
|
@@ -304,20 +304,20 @@ export declare const SaActivesWidgetSchema: z.ZodObject<{
|
|
|
304
304
|
byStatusSa: z.ZodRecord<z.ZodEnum<["PENDING", "ACTIVE", "VACATION", "LEFT_THE_SITE", "MEDICAL_LEAVE", "DAY_OFF", "INJURY"]>, z.ZodNumber>;
|
|
305
305
|
}, "strip", z.ZodTypeAny, {
|
|
306
306
|
total: number;
|
|
307
|
-
byStatusSa: Partial<Record<"
|
|
307
|
+
byStatusSa: Partial<Record<"ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY", number>>;
|
|
308
308
|
}, {
|
|
309
309
|
total: number;
|
|
310
|
-
byStatusSa: Partial<Record<"
|
|
310
|
+
byStatusSa: Partial<Record<"ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY", number>>;
|
|
311
311
|
}>;
|
|
312
312
|
}, "strip", z.ZodTypeAny, {
|
|
313
313
|
today: {
|
|
314
314
|
total: number;
|
|
315
|
-
byStatusSa: Partial<Record<"
|
|
315
|
+
byStatusSa: Partial<Record<"ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY", number>>;
|
|
316
316
|
};
|
|
317
317
|
}, {
|
|
318
318
|
today: {
|
|
319
319
|
total: number;
|
|
320
|
-
byStatusSa: Partial<Record<"
|
|
320
|
+
byStatusSa: Partial<Record<"ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY", number>>;
|
|
321
321
|
};
|
|
322
322
|
}>;
|
|
323
323
|
/**
|
|
@@ -330,10 +330,10 @@ export declare const AdminFaAggregateSchema: z.ZodObject<{
|
|
|
330
330
|
byStatusFa: z.ZodRecord<z.ZodEnum<["PENDING", "ACTIVE", "VACATION", "LEFT_THE_SITE", "MEDICAL_LEAVE", "DAY_OFF", "INJURY"]>, z.ZodNumber>;
|
|
331
331
|
}, "strip", z.ZodTypeAny, {
|
|
332
332
|
total: number;
|
|
333
|
-
byStatusFa: Partial<Record<"
|
|
333
|
+
byStatusFa: Partial<Record<"ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY", number>>;
|
|
334
334
|
}, {
|
|
335
335
|
total: number;
|
|
336
|
-
byStatusFa: Partial<Record<"
|
|
336
|
+
byStatusFa: Partial<Record<"ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY", number>>;
|
|
337
337
|
}>;
|
|
338
338
|
bookings: z.ZodObject<{
|
|
339
339
|
totalToday: z.ZodNumber;
|
|
@@ -425,7 +425,7 @@ export declare const AdminFaAggregateSchema: z.ZodObject<{
|
|
|
425
425
|
};
|
|
426
426
|
actives: {
|
|
427
427
|
total: number;
|
|
428
|
-
byStatusFa: Partial<Record<"
|
|
428
|
+
byStatusFa: Partial<Record<"ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY", number>>;
|
|
429
429
|
};
|
|
430
430
|
callMetrics: {
|
|
431
431
|
totalCalls: number;
|
|
@@ -456,7 +456,7 @@ export declare const AdminFaAggregateSchema: z.ZodObject<{
|
|
|
456
456
|
};
|
|
457
457
|
actives: {
|
|
458
458
|
total: number;
|
|
459
|
-
byStatusFa: Partial<Record<"
|
|
459
|
+
byStatusFa: Partial<Record<"ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY", number>>;
|
|
460
460
|
};
|
|
461
461
|
callMetrics: {
|
|
462
462
|
totalCalls: number;
|
|
@@ -486,10 +486,10 @@ export declare const AdminSaAggregateSchema: z.ZodObject<{
|
|
|
486
486
|
byStatusSa: z.ZodRecord<z.ZodEnum<["PENDING", "ACTIVE", "VACATION", "LEFT_THE_SITE", "MEDICAL_LEAVE", "DAY_OFF", "INJURY"]>, z.ZodNumber>;
|
|
487
487
|
}, "strip", z.ZodTypeAny, {
|
|
488
488
|
total: number;
|
|
489
|
-
byStatusSa: Partial<Record<"
|
|
489
|
+
byStatusSa: Partial<Record<"ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY", number>>;
|
|
490
490
|
}, {
|
|
491
491
|
total: number;
|
|
492
|
-
byStatusSa: Partial<Record<"
|
|
492
|
+
byStatusSa: Partial<Record<"ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY", number>>;
|
|
493
493
|
}>;
|
|
494
494
|
bookings: z.ZodObject<{
|
|
495
495
|
totalToday: z.ZodNumber;
|
|
@@ -528,10 +528,6 @@ export declare const AdminSaAggregateSchema: z.ZodObject<{
|
|
|
528
528
|
}>;
|
|
529
529
|
agentCount: z.ZodNumber;
|
|
530
530
|
}, "strip", z.ZodTypeAny, {
|
|
531
|
-
workers: {
|
|
532
|
-
total: number;
|
|
533
|
-
addedToday: number;
|
|
534
|
-
};
|
|
535
531
|
bookings: {
|
|
536
532
|
byStatus: Partial<Record<import("../bookings/bookings.contract").BookingType, number>>;
|
|
537
533
|
totalToday: number;
|
|
@@ -543,14 +539,14 @@ export declare const AdminSaAggregateSchema: z.ZodObject<{
|
|
|
543
539
|
};
|
|
544
540
|
actives: {
|
|
545
541
|
total: number;
|
|
546
|
-
byStatusSa: Partial<Record<"
|
|
542
|
+
byStatusSa: Partial<Record<"ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY", number>>;
|
|
547
543
|
};
|
|
548
544
|
agentCount: number;
|
|
549
|
-
}, {
|
|
550
545
|
workers: {
|
|
551
546
|
total: number;
|
|
552
547
|
addedToday: number;
|
|
553
548
|
};
|
|
549
|
+
}, {
|
|
554
550
|
bookings: {
|
|
555
551
|
byStatus: Partial<Record<import("../bookings/bookings.contract").BookingType, number>>;
|
|
556
552
|
totalToday: number;
|
|
@@ -562,9 +558,13 @@ export declare const AdminSaAggregateSchema: z.ZodObject<{
|
|
|
562
558
|
};
|
|
563
559
|
actives: {
|
|
564
560
|
total: number;
|
|
565
|
-
byStatusSa: Partial<Record<"
|
|
561
|
+
byStatusSa: Partial<Record<"ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY", number>>;
|
|
566
562
|
};
|
|
567
563
|
agentCount: number;
|
|
564
|
+
workers: {
|
|
565
|
+
total: number;
|
|
566
|
+
addedToday: number;
|
|
567
|
+
};
|
|
568
568
|
}>;
|
|
569
569
|
/**
|
|
570
570
|
* Actives trend data for charts
|
|
@@ -577,11 +577,11 @@ export declare const ActivesTrendSchema: z.ZodObject<{
|
|
|
577
577
|
}, "strip", z.ZodTypeAny, {
|
|
578
578
|
date: string;
|
|
579
579
|
total: number;
|
|
580
|
-
byStatus: Partial<Record<"
|
|
580
|
+
byStatus: Partial<Record<"ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY", number>>;
|
|
581
581
|
}, {
|
|
582
582
|
date: string;
|
|
583
583
|
total: number;
|
|
584
|
-
byStatus: Partial<Record<"
|
|
584
|
+
byStatus: Partial<Record<"ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY", number>>;
|
|
585
585
|
}>, "many">;
|
|
586
586
|
summary: z.ZodObject<{
|
|
587
587
|
averageDaily: z.ZodNumber;
|
|
@@ -597,27 +597,27 @@ export declare const ActivesTrendSchema: z.ZodObject<{
|
|
|
597
597
|
peakValue: number;
|
|
598
598
|
}>;
|
|
599
599
|
}, "strip", z.ZodTypeAny, {
|
|
600
|
+
data: {
|
|
601
|
+
date: string;
|
|
602
|
+
total: number;
|
|
603
|
+
byStatus: Partial<Record<"ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY", number>>;
|
|
604
|
+
}[];
|
|
600
605
|
summary: {
|
|
601
606
|
averageDaily: number;
|
|
602
607
|
peakDay: string | null;
|
|
603
608
|
peakValue: number;
|
|
604
609
|
};
|
|
610
|
+
}, {
|
|
605
611
|
data: {
|
|
606
612
|
date: string;
|
|
607
613
|
total: number;
|
|
608
|
-
byStatus: Partial<Record<"
|
|
614
|
+
byStatus: Partial<Record<"ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY", number>>;
|
|
609
615
|
}[];
|
|
610
|
-
}, {
|
|
611
616
|
summary: {
|
|
612
617
|
averageDaily: number;
|
|
613
618
|
peakDay: string | null;
|
|
614
619
|
peakValue: number;
|
|
615
620
|
};
|
|
616
|
-
data: {
|
|
617
|
-
date: string;
|
|
618
|
-
total: number;
|
|
619
|
-
byStatus: Partial<Record<"PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY", number>>;
|
|
620
|
-
}[];
|
|
621
621
|
}>;
|
|
622
622
|
/**
|
|
623
623
|
* Bookings trend data for charts
|
|
@@ -647,25 +647,25 @@ export declare const BookingsTrendSchema: z.ZodObject<{
|
|
|
647
647
|
totalCreated: number;
|
|
648
648
|
}>;
|
|
649
649
|
}, "strip", z.ZodTypeAny, {
|
|
650
|
-
summary: {
|
|
651
|
-
averageDaily: number;
|
|
652
|
-
totalCreated: number;
|
|
653
|
-
};
|
|
654
650
|
data: {
|
|
655
651
|
date: string;
|
|
656
652
|
total: number;
|
|
657
653
|
byStatus: Partial<Record<import("../bookings/bookings.contract").BookingType, number>>;
|
|
658
654
|
}[];
|
|
659
|
-
}, {
|
|
660
655
|
summary: {
|
|
661
656
|
averageDaily: number;
|
|
662
657
|
totalCreated: number;
|
|
663
658
|
};
|
|
659
|
+
}, {
|
|
664
660
|
data: {
|
|
665
661
|
date: string;
|
|
666
662
|
total: number;
|
|
667
663
|
byStatus: Partial<Record<import("../bookings/bookings.contract").BookingType, number>>;
|
|
668
664
|
}[];
|
|
665
|
+
summary: {
|
|
666
|
+
averageDaily: number;
|
|
667
|
+
totalCreated: number;
|
|
668
|
+
};
|
|
669
669
|
}>;
|
|
670
670
|
/**
|
|
671
671
|
* Call performance trend data for charts
|
|
@@ -704,11 +704,6 @@ export declare const CallPerformanceTrendSchema: z.ZodObject<{
|
|
|
704
704
|
overallAverageRating: number;
|
|
705
705
|
}>;
|
|
706
706
|
}, "strip", z.ZodTypeAny, {
|
|
707
|
-
summary: {
|
|
708
|
-
averageDailyCalls: number;
|
|
709
|
-
overallConversionRate: number;
|
|
710
|
-
overallAverageRating: number;
|
|
711
|
-
};
|
|
712
707
|
data: {
|
|
713
708
|
date: string;
|
|
714
709
|
totalCalls: number;
|
|
@@ -716,12 +711,12 @@ export declare const CallPerformanceTrendSchema: z.ZodObject<{
|
|
|
716
711
|
performanceScore: number;
|
|
717
712
|
averageRating: number;
|
|
718
713
|
}[];
|
|
719
|
-
}, {
|
|
720
714
|
summary: {
|
|
721
715
|
averageDailyCalls: number;
|
|
722
716
|
overallConversionRate: number;
|
|
723
717
|
overallAverageRating: number;
|
|
724
718
|
};
|
|
719
|
+
}, {
|
|
725
720
|
data: {
|
|
726
721
|
date: string;
|
|
727
722
|
totalCalls: number;
|
|
@@ -729,6 +724,11 @@ export declare const CallPerformanceTrendSchema: z.ZodObject<{
|
|
|
729
724
|
performanceScore: number;
|
|
730
725
|
averageRating: number;
|
|
731
726
|
}[];
|
|
727
|
+
summary: {
|
|
728
|
+
averageDailyCalls: number;
|
|
729
|
+
overallConversionRate: number;
|
|
730
|
+
overallAverageRating: number;
|
|
731
|
+
};
|
|
732
732
|
}>;
|
|
733
733
|
/**
|
|
734
734
|
* Workers trend data for charts (SA only)
|
|
@@ -758,25 +758,25 @@ export declare const WorkersTrendSchema: z.ZodObject<{
|
|
|
758
758
|
averagePerDay: number;
|
|
759
759
|
}>;
|
|
760
760
|
}, "strip", z.ZodTypeAny, {
|
|
761
|
-
summary: {
|
|
762
|
-
totalAdded: number;
|
|
763
|
-
averagePerDay: number;
|
|
764
|
-
};
|
|
765
761
|
data: {
|
|
766
762
|
date: string;
|
|
767
763
|
added: number;
|
|
768
764
|
cumulativeTotal: number;
|
|
769
765
|
}[];
|
|
770
|
-
}, {
|
|
771
766
|
summary: {
|
|
772
767
|
totalAdded: number;
|
|
773
768
|
averagePerDay: number;
|
|
774
769
|
};
|
|
770
|
+
}, {
|
|
775
771
|
data: {
|
|
776
772
|
date: string;
|
|
777
773
|
added: number;
|
|
778
774
|
cumulativeTotal: number;
|
|
779
775
|
}[];
|
|
776
|
+
summary: {
|
|
777
|
+
totalAdded: number;
|
|
778
|
+
averagePerDay: number;
|
|
779
|
+
};
|
|
780
780
|
}>;
|
|
781
781
|
/**
|
|
782
782
|
* Collaborations trend data for charts (FA only)
|
|
@@ -788,11 +788,11 @@ export declare const CollaborationsTrendSchema: z.ZodObject<{
|
|
|
788
788
|
byStatus: z.ZodRecord<z.ZodEnum<["ACTIVE", "INACTIVE", "PENDING_APPROVAL", "REJECTED", "APPROVED", "CHANGED_COMPANY", "CHANGED_AGENT", "CHANGED_COMPANY_AND_AGENT"]>, z.ZodNumber>;
|
|
789
789
|
}, "strip", z.ZodTypeAny, {
|
|
790
790
|
date: string;
|
|
791
|
-
byStatus: Partial<Record<"
|
|
791
|
+
byStatus: Partial<Record<"APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT", number>>;
|
|
792
792
|
created: number;
|
|
793
793
|
}, {
|
|
794
794
|
date: string;
|
|
795
|
-
byStatus: Partial<Record<"
|
|
795
|
+
byStatus: Partial<Record<"APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT", number>>;
|
|
796
796
|
created: number;
|
|
797
797
|
}>, "many">;
|
|
798
798
|
summary: z.ZodObject<{
|
|
@@ -806,25 +806,25 @@ export declare const CollaborationsTrendSchema: z.ZodObject<{
|
|
|
806
806
|
activeCount: number;
|
|
807
807
|
}>;
|
|
808
808
|
}, "strip", z.ZodTypeAny, {
|
|
809
|
-
summary: {
|
|
810
|
-
totalCreated: number;
|
|
811
|
-
activeCount: number;
|
|
812
|
-
};
|
|
813
809
|
data: {
|
|
814
810
|
date: string;
|
|
815
|
-
byStatus: Partial<Record<"
|
|
811
|
+
byStatus: Partial<Record<"APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT", number>>;
|
|
816
812
|
created: number;
|
|
817
813
|
}[];
|
|
818
|
-
}, {
|
|
819
814
|
summary: {
|
|
820
815
|
totalCreated: number;
|
|
821
816
|
activeCount: number;
|
|
822
817
|
};
|
|
818
|
+
}, {
|
|
823
819
|
data: {
|
|
824
820
|
date: string;
|
|
825
|
-
byStatus: Partial<Record<"
|
|
821
|
+
byStatus: Partial<Record<"APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT", number>>;
|
|
826
822
|
created: number;
|
|
827
823
|
}[];
|
|
824
|
+
summary: {
|
|
825
|
+
totalCreated: number;
|
|
826
|
+
activeCount: number;
|
|
827
|
+
};
|
|
828
828
|
}>;
|
|
829
829
|
export declare const dashboardWidgetsContract: {
|
|
830
830
|
getFaPipeline: {
|
|
@@ -847,11 +847,11 @@ export declare const dashboardWidgetsContract: {
|
|
|
847
847
|
recentCount: z.ZodNumber;
|
|
848
848
|
}, "strip", z.ZodTypeAny, {
|
|
849
849
|
total: number;
|
|
850
|
-
byStatus: Partial<Record<"
|
|
850
|
+
byStatus: Partial<Record<"APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT", number>>;
|
|
851
851
|
recentCount: number;
|
|
852
852
|
}, {
|
|
853
853
|
total: number;
|
|
854
|
-
byStatus: Partial<Record<"
|
|
854
|
+
byStatus: Partial<Record<"APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT", number>>;
|
|
855
855
|
recentCount: number;
|
|
856
856
|
}>;
|
|
857
857
|
summary: z.ZodObject<{
|
|
@@ -871,7 +871,7 @@ export declare const dashboardWidgetsContract: {
|
|
|
871
871
|
};
|
|
872
872
|
collaborations: {
|
|
873
873
|
total: number;
|
|
874
|
-
byStatus: Partial<Record<"
|
|
874
|
+
byStatus: Partial<Record<"APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT", number>>;
|
|
875
875
|
recentCount: number;
|
|
876
876
|
};
|
|
877
877
|
}, {
|
|
@@ -881,7 +881,7 @@ export declare const dashboardWidgetsContract: {
|
|
|
881
881
|
};
|
|
882
882
|
collaborations: {
|
|
883
883
|
total: number;
|
|
884
|
-
byStatus: Partial<Record<"
|
|
884
|
+
byStatus: Partial<Record<"APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT", number>>;
|
|
885
885
|
recentCount: number;
|
|
886
886
|
};
|
|
887
887
|
}>;
|
|
@@ -907,12 +907,12 @@ export declare const dashboardWidgetsContract: {
|
|
|
907
907
|
pendingVerification: z.ZodNumber;
|
|
908
908
|
}, "strip", z.ZodTypeAny, {
|
|
909
909
|
total: number;
|
|
910
|
-
byStatus: Partial<Record<"
|
|
910
|
+
byStatus: Partial<Record<"APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED", number>>;
|
|
911
911
|
recentlyAdded: number;
|
|
912
912
|
pendingVerification: number;
|
|
913
913
|
}, {
|
|
914
914
|
total: number;
|
|
915
|
-
byStatus: Partial<Record<"
|
|
915
|
+
byStatus: Partial<Record<"APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED", number>>;
|
|
916
916
|
recentlyAdded: number;
|
|
917
917
|
pendingVerification: number;
|
|
918
918
|
}>;
|
|
@@ -1032,20 +1032,20 @@ export declare const dashboardWidgetsContract: {
|
|
|
1032
1032
|
byStatusFa: z.ZodRecord<z.ZodEnum<["PENDING", "ACTIVE", "VACATION", "LEFT_THE_SITE", "MEDICAL_LEAVE", "DAY_OFF", "INJURY"]>, z.ZodNumber>;
|
|
1033
1033
|
}, "strip", z.ZodTypeAny, {
|
|
1034
1034
|
total: number;
|
|
1035
|
-
byStatusFa: Partial<Record<"
|
|
1035
|
+
byStatusFa: Partial<Record<"ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY", number>>;
|
|
1036
1036
|
}, {
|
|
1037
1037
|
total: number;
|
|
1038
|
-
byStatusFa: Partial<Record<"
|
|
1038
|
+
byStatusFa: Partial<Record<"ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY", number>>;
|
|
1039
1039
|
}>;
|
|
1040
1040
|
}, "strip", z.ZodTypeAny, {
|
|
1041
1041
|
today: {
|
|
1042
1042
|
total: number;
|
|
1043
|
-
byStatusFa: Partial<Record<"
|
|
1043
|
+
byStatusFa: Partial<Record<"ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY", number>>;
|
|
1044
1044
|
};
|
|
1045
1045
|
}, {
|
|
1046
1046
|
today: {
|
|
1047
1047
|
total: number;
|
|
1048
|
-
byStatusFa: Partial<Record<"
|
|
1048
|
+
byStatusFa: Partial<Record<"ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY", number>>;
|
|
1049
1049
|
};
|
|
1050
1050
|
}>;
|
|
1051
1051
|
};
|
|
@@ -1174,20 +1174,20 @@ export declare const dashboardWidgetsContract: {
|
|
|
1174
1174
|
byStatusSa: z.ZodRecord<z.ZodEnum<["PENDING", "ACTIVE", "VACATION", "LEFT_THE_SITE", "MEDICAL_LEAVE", "DAY_OFF", "INJURY"]>, z.ZodNumber>;
|
|
1175
1175
|
}, "strip", z.ZodTypeAny, {
|
|
1176
1176
|
total: number;
|
|
1177
|
-
byStatusSa: Partial<Record<"
|
|
1177
|
+
byStatusSa: Partial<Record<"ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY", number>>;
|
|
1178
1178
|
}, {
|
|
1179
1179
|
total: number;
|
|
1180
|
-
byStatusSa: Partial<Record<"
|
|
1180
|
+
byStatusSa: Partial<Record<"ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY", number>>;
|
|
1181
1181
|
}>;
|
|
1182
1182
|
}, "strip", z.ZodTypeAny, {
|
|
1183
1183
|
today: {
|
|
1184
1184
|
total: number;
|
|
1185
|
-
byStatusSa: Partial<Record<"
|
|
1185
|
+
byStatusSa: Partial<Record<"ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY", number>>;
|
|
1186
1186
|
};
|
|
1187
1187
|
}, {
|
|
1188
1188
|
today: {
|
|
1189
1189
|
total: number;
|
|
1190
|
-
byStatusSa: Partial<Record<"
|
|
1190
|
+
byStatusSa: Partial<Record<"ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY", number>>;
|
|
1191
1191
|
};
|
|
1192
1192
|
}>;
|
|
1193
1193
|
};
|
|
@@ -1201,15 +1201,15 @@ export declare const dashboardWidgetsContract: {
|
|
|
1201
1201
|
date: z.ZodOptional<z.ZodString>;
|
|
1202
1202
|
view: z.ZodOptional<z.ZodEnum<["FA", "SA"]>>;
|
|
1203
1203
|
}, "strip", z.ZodTypeAny, {
|
|
1204
|
-
page: number;
|
|
1205
1204
|
limit: number;
|
|
1205
|
+
page: number;
|
|
1206
1206
|
date?: string | undefined;
|
|
1207
|
-
view?: "
|
|
1207
|
+
view?: "FA" | "SA" | undefined;
|
|
1208
1208
|
}, {
|
|
1209
1209
|
date?: string | undefined;
|
|
1210
|
-
page?: number | undefined;
|
|
1211
1210
|
limit?: number | undefined;
|
|
1212
|
-
|
|
1211
|
+
page?: number | undefined;
|
|
1212
|
+
view?: "FA" | "SA" | undefined;
|
|
1213
1213
|
}>;
|
|
1214
1214
|
summary: "Get daily stats for all agents (Admin)";
|
|
1215
1215
|
method: "GET";
|
|
@@ -1270,9 +1270,9 @@ export declare const dashboardWidgetsContract: {
|
|
|
1270
1270
|
averageRating: number;
|
|
1271
1271
|
agentName: string;
|
|
1272
1272
|
activesFaTotal: number;
|
|
1273
|
-
activesFaByStatus: Partial<Record<"
|
|
1273
|
+
activesFaByStatus: Partial<Record<"ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY", number>>;
|
|
1274
1274
|
activesSaTotal: number;
|
|
1275
|
-
activesSaByStatus: Partial<Record<"
|
|
1275
|
+
activesSaByStatus: Partial<Record<"ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY", number>>;
|
|
1276
1276
|
bookingsFaTotal: number;
|
|
1277
1277
|
bookingsFaByStatus: Partial<Record<import("../bookings/bookings.contract").BookingType, number>>;
|
|
1278
1278
|
bookingsFaByCategory: Partial<Record<import("../bookings/bookings.contract").BookingCategory, number>>;
|
|
@@ -1308,9 +1308,9 @@ export declare const dashboardWidgetsContract: {
|
|
|
1308
1308
|
averageRating: number;
|
|
1309
1309
|
agentName: string;
|
|
1310
1310
|
activesFaTotal: number;
|
|
1311
|
-
activesFaByStatus: Partial<Record<"
|
|
1311
|
+
activesFaByStatus: Partial<Record<"ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY", number>>;
|
|
1312
1312
|
activesSaTotal: number;
|
|
1313
|
-
activesSaByStatus: Partial<Record<"
|
|
1313
|
+
activesSaByStatus: Partial<Record<"ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY", number>>;
|
|
1314
1314
|
bookingsFaTotal: number;
|
|
1315
1315
|
bookingsFaByStatus: Partial<Record<import("../bookings/bookings.contract").BookingType, number>>;
|
|
1316
1316
|
bookingsFaByCategory: Partial<Record<import("../bookings/bookings.contract").BookingCategory, number>>;
|
|
@@ -1337,9 +1337,6 @@ export declare const dashboardWidgetsContract: {
|
|
|
1337
1337
|
currentPage: z.ZodNumber;
|
|
1338
1338
|
totalPages: z.ZodNumber;
|
|
1339
1339
|
}, "strip", z.ZodTypeAny, {
|
|
1340
|
-
totalCount: number;
|
|
1341
|
-
totalPages: number;
|
|
1342
|
-
limit: number;
|
|
1343
1340
|
items: {
|
|
1344
1341
|
agentId: string;
|
|
1345
1342
|
totalCalls: number;
|
|
@@ -1356,9 +1353,9 @@ export declare const dashboardWidgetsContract: {
|
|
|
1356
1353
|
averageRating: number;
|
|
1357
1354
|
agentName: string;
|
|
1358
1355
|
activesFaTotal: number;
|
|
1359
|
-
activesFaByStatus: Partial<Record<"
|
|
1356
|
+
activesFaByStatus: Partial<Record<"ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY", number>>;
|
|
1360
1357
|
activesSaTotal: number;
|
|
1361
|
-
activesSaByStatus: Partial<Record<"
|
|
1358
|
+
activesSaByStatus: Partial<Record<"ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY", number>>;
|
|
1362
1359
|
bookingsFaTotal: number;
|
|
1363
1360
|
bookingsFaByStatus: Partial<Record<import("../bookings/bookings.contract").BookingType, number>>;
|
|
1364
1361
|
bookingsFaByCategory: Partial<Record<import("../bookings/bookings.contract").BookingCategory, number>>;
|
|
@@ -1379,12 +1376,12 @@ export declare const dashboardWidgetsContract: {
|
|
|
1379
1376
|
bookingsSaWaitingForConfirmation?: number | undefined;
|
|
1380
1377
|
bookingsSaUpcomingStarts?: number | undefined;
|
|
1381
1378
|
}[];
|
|
1379
|
+
totalCount: number;
|
|
1380
|
+
limit: number;
|
|
1382
1381
|
skip: number;
|
|
1383
1382
|
currentPage: number;
|
|
1384
|
-
}, {
|
|
1385
|
-
totalCount: number;
|
|
1386
1383
|
totalPages: number;
|
|
1387
|
-
|
|
1384
|
+
}, {
|
|
1388
1385
|
items: {
|
|
1389
1386
|
agentId: string;
|
|
1390
1387
|
totalCalls: number;
|
|
@@ -1401,9 +1398,9 @@ export declare const dashboardWidgetsContract: {
|
|
|
1401
1398
|
averageRating: number;
|
|
1402
1399
|
agentName: string;
|
|
1403
1400
|
activesFaTotal: number;
|
|
1404
|
-
activesFaByStatus: Partial<Record<"
|
|
1401
|
+
activesFaByStatus: Partial<Record<"ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY", number>>;
|
|
1405
1402
|
activesSaTotal: number;
|
|
1406
|
-
activesSaByStatus: Partial<Record<"
|
|
1403
|
+
activesSaByStatus: Partial<Record<"ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY", number>>;
|
|
1407
1404
|
bookingsFaTotal: number;
|
|
1408
1405
|
bookingsFaByStatus: Partial<Record<import("../bookings/bookings.contract").BookingType, number>>;
|
|
1409
1406
|
bookingsFaByCategory: Partial<Record<import("../bookings/bookings.contract").BookingCategory, number>>;
|
|
@@ -1424,8 +1421,11 @@ export declare const dashboardWidgetsContract: {
|
|
|
1424
1421
|
bookingsSaWaitingForConfirmation?: number | undefined;
|
|
1425
1422
|
bookingsSaUpcomingStarts?: number | undefined;
|
|
1426
1423
|
}[];
|
|
1424
|
+
totalCount: number;
|
|
1425
|
+
limit: number;
|
|
1427
1426
|
skip: number;
|
|
1428
1427
|
currentPage: number;
|
|
1428
|
+
totalPages: number;
|
|
1429
1429
|
}>;
|
|
1430
1430
|
};
|
|
1431
1431
|
};
|
|
@@ -1449,10 +1449,10 @@ export declare const dashboardWidgetsContract: {
|
|
|
1449
1449
|
byStatusFa: z.ZodRecord<z.ZodEnum<["PENDING", "ACTIVE", "VACATION", "LEFT_THE_SITE", "MEDICAL_LEAVE", "DAY_OFF", "INJURY"]>, z.ZodNumber>;
|
|
1450
1450
|
}, "strip", z.ZodTypeAny, {
|
|
1451
1451
|
total: number;
|
|
1452
|
-
byStatusFa: Partial<Record<"
|
|
1452
|
+
byStatusFa: Partial<Record<"ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY", number>>;
|
|
1453
1453
|
}, {
|
|
1454
1454
|
total: number;
|
|
1455
|
-
byStatusFa: Partial<Record<"
|
|
1455
|
+
byStatusFa: Partial<Record<"ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY", number>>;
|
|
1456
1456
|
}>;
|
|
1457
1457
|
bookings: z.ZodObject<{
|
|
1458
1458
|
totalToday: z.ZodNumber;
|
|
@@ -1544,7 +1544,7 @@ export declare const dashboardWidgetsContract: {
|
|
|
1544
1544
|
};
|
|
1545
1545
|
actives: {
|
|
1546
1546
|
total: number;
|
|
1547
|
-
byStatusFa: Partial<Record<"
|
|
1547
|
+
byStatusFa: Partial<Record<"ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY", number>>;
|
|
1548
1548
|
};
|
|
1549
1549
|
callMetrics: {
|
|
1550
1550
|
totalCalls: number;
|
|
@@ -1575,7 +1575,7 @@ export declare const dashboardWidgetsContract: {
|
|
|
1575
1575
|
};
|
|
1576
1576
|
actives: {
|
|
1577
1577
|
total: number;
|
|
1578
|
-
byStatusFa: Partial<Record<"
|
|
1578
|
+
byStatusFa: Partial<Record<"ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY", number>>;
|
|
1579
1579
|
};
|
|
1580
1580
|
callMetrics: {
|
|
1581
1581
|
totalCalls: number;
|
|
@@ -1617,10 +1617,10 @@ export declare const dashboardWidgetsContract: {
|
|
|
1617
1617
|
byStatusSa: z.ZodRecord<z.ZodEnum<["PENDING", "ACTIVE", "VACATION", "LEFT_THE_SITE", "MEDICAL_LEAVE", "DAY_OFF", "INJURY"]>, z.ZodNumber>;
|
|
1618
1618
|
}, "strip", z.ZodTypeAny, {
|
|
1619
1619
|
total: number;
|
|
1620
|
-
byStatusSa: Partial<Record<"
|
|
1620
|
+
byStatusSa: Partial<Record<"ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY", number>>;
|
|
1621
1621
|
}, {
|
|
1622
1622
|
total: number;
|
|
1623
|
-
byStatusSa: Partial<Record<"
|
|
1623
|
+
byStatusSa: Partial<Record<"ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY", number>>;
|
|
1624
1624
|
}>;
|
|
1625
1625
|
bookings: z.ZodObject<{
|
|
1626
1626
|
totalToday: z.ZodNumber;
|
|
@@ -1659,10 +1659,6 @@ export declare const dashboardWidgetsContract: {
|
|
|
1659
1659
|
}>;
|
|
1660
1660
|
agentCount: z.ZodNumber;
|
|
1661
1661
|
}, "strip", z.ZodTypeAny, {
|
|
1662
|
-
workers: {
|
|
1663
|
-
total: number;
|
|
1664
|
-
addedToday: number;
|
|
1665
|
-
};
|
|
1666
1662
|
bookings: {
|
|
1667
1663
|
byStatus: Partial<Record<import("../bookings/bookings.contract").BookingType, number>>;
|
|
1668
1664
|
totalToday: number;
|
|
@@ -1674,14 +1670,14 @@ export declare const dashboardWidgetsContract: {
|
|
|
1674
1670
|
};
|
|
1675
1671
|
actives: {
|
|
1676
1672
|
total: number;
|
|
1677
|
-
byStatusSa: Partial<Record<"
|
|
1673
|
+
byStatusSa: Partial<Record<"ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY", number>>;
|
|
1678
1674
|
};
|
|
1679
1675
|
agentCount: number;
|
|
1680
|
-
}, {
|
|
1681
1676
|
workers: {
|
|
1682
1677
|
total: number;
|
|
1683
1678
|
addedToday: number;
|
|
1684
1679
|
};
|
|
1680
|
+
}, {
|
|
1685
1681
|
bookings: {
|
|
1686
1682
|
byStatus: Partial<Record<import("../bookings/bookings.contract").BookingType, number>>;
|
|
1687
1683
|
totalToday: number;
|
|
@@ -1693,9 +1689,13 @@ export declare const dashboardWidgetsContract: {
|
|
|
1693
1689
|
};
|
|
1694
1690
|
actives: {
|
|
1695
1691
|
total: number;
|
|
1696
|
-
byStatusSa: Partial<Record<"
|
|
1692
|
+
byStatusSa: Partial<Record<"ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY", number>>;
|
|
1697
1693
|
};
|
|
1698
1694
|
agentCount: number;
|
|
1695
|
+
workers: {
|
|
1696
|
+
total: number;
|
|
1697
|
+
addedToday: number;
|
|
1698
|
+
};
|
|
1699
1699
|
}>;
|
|
1700
1700
|
};
|
|
1701
1701
|
};
|
|
@@ -1723,11 +1723,11 @@ export declare const dashboardWidgetsContract: {
|
|
|
1723
1723
|
}, "strip", z.ZodTypeAny, {
|
|
1724
1724
|
date: string;
|
|
1725
1725
|
total: number;
|
|
1726
|
-
byStatus: Partial<Record<"
|
|
1726
|
+
byStatus: Partial<Record<"ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY", number>>;
|
|
1727
1727
|
}, {
|
|
1728
1728
|
date: string;
|
|
1729
1729
|
total: number;
|
|
1730
|
-
byStatus: Partial<Record<"
|
|
1730
|
+
byStatus: Partial<Record<"ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY", number>>;
|
|
1731
1731
|
}>, "many">;
|
|
1732
1732
|
summary: z.ZodObject<{
|
|
1733
1733
|
averageDaily: z.ZodNumber;
|
|
@@ -1743,27 +1743,27 @@ export declare const dashboardWidgetsContract: {
|
|
|
1743
1743
|
peakValue: number;
|
|
1744
1744
|
}>;
|
|
1745
1745
|
}, "strip", z.ZodTypeAny, {
|
|
1746
|
+
data: {
|
|
1747
|
+
date: string;
|
|
1748
|
+
total: number;
|
|
1749
|
+
byStatus: Partial<Record<"ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY", number>>;
|
|
1750
|
+
}[];
|
|
1746
1751
|
summary: {
|
|
1747
1752
|
averageDaily: number;
|
|
1748
1753
|
peakDay: string | null;
|
|
1749
1754
|
peakValue: number;
|
|
1750
1755
|
};
|
|
1756
|
+
}, {
|
|
1751
1757
|
data: {
|
|
1752
1758
|
date: string;
|
|
1753
1759
|
total: number;
|
|
1754
|
-
byStatus: Partial<Record<"
|
|
1760
|
+
byStatus: Partial<Record<"ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY", number>>;
|
|
1755
1761
|
}[];
|
|
1756
|
-
}, {
|
|
1757
1762
|
summary: {
|
|
1758
1763
|
averageDaily: number;
|
|
1759
1764
|
peakDay: string | null;
|
|
1760
1765
|
peakValue: number;
|
|
1761
1766
|
};
|
|
1762
|
-
data: {
|
|
1763
|
-
date: string;
|
|
1764
|
-
total: number;
|
|
1765
|
-
byStatus: Partial<Record<"PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY", number>>;
|
|
1766
|
-
}[];
|
|
1767
1767
|
}>;
|
|
1768
1768
|
};
|
|
1769
1769
|
};
|
|
@@ -1808,25 +1808,25 @@ export declare const dashboardWidgetsContract: {
|
|
|
1808
1808
|
totalCreated: number;
|
|
1809
1809
|
}>;
|
|
1810
1810
|
}, "strip", z.ZodTypeAny, {
|
|
1811
|
-
summary: {
|
|
1812
|
-
averageDaily: number;
|
|
1813
|
-
totalCreated: number;
|
|
1814
|
-
};
|
|
1815
1811
|
data: {
|
|
1816
1812
|
date: string;
|
|
1817
1813
|
total: number;
|
|
1818
1814
|
byStatus: Partial<Record<import("../bookings/bookings.contract").BookingType, number>>;
|
|
1819
1815
|
}[];
|
|
1820
|
-
}, {
|
|
1821
1816
|
summary: {
|
|
1822
1817
|
averageDaily: number;
|
|
1823
1818
|
totalCreated: number;
|
|
1824
1819
|
};
|
|
1820
|
+
}, {
|
|
1825
1821
|
data: {
|
|
1826
1822
|
date: string;
|
|
1827
1823
|
total: number;
|
|
1828
1824
|
byStatus: Partial<Record<import("../bookings/bookings.contract").BookingType, number>>;
|
|
1829
1825
|
}[];
|
|
1826
|
+
summary: {
|
|
1827
|
+
averageDaily: number;
|
|
1828
|
+
totalCreated: number;
|
|
1829
|
+
};
|
|
1830
1830
|
}>;
|
|
1831
1831
|
};
|
|
1832
1832
|
};
|
|
@@ -1880,11 +1880,6 @@ export declare const dashboardWidgetsContract: {
|
|
|
1880
1880
|
overallAverageRating: number;
|
|
1881
1881
|
}>;
|
|
1882
1882
|
}, "strip", z.ZodTypeAny, {
|
|
1883
|
-
summary: {
|
|
1884
|
-
averageDailyCalls: number;
|
|
1885
|
-
overallConversionRate: number;
|
|
1886
|
-
overallAverageRating: number;
|
|
1887
|
-
};
|
|
1888
1883
|
data: {
|
|
1889
1884
|
date: string;
|
|
1890
1885
|
totalCalls: number;
|
|
@@ -1892,12 +1887,12 @@ export declare const dashboardWidgetsContract: {
|
|
|
1892
1887
|
performanceScore: number;
|
|
1893
1888
|
averageRating: number;
|
|
1894
1889
|
}[];
|
|
1895
|
-
}, {
|
|
1896
1890
|
summary: {
|
|
1897
1891
|
averageDailyCalls: number;
|
|
1898
1892
|
overallConversionRate: number;
|
|
1899
1893
|
overallAverageRating: number;
|
|
1900
1894
|
};
|
|
1895
|
+
}, {
|
|
1901
1896
|
data: {
|
|
1902
1897
|
date: string;
|
|
1903
1898
|
totalCalls: number;
|
|
@@ -1905,6 +1900,11 @@ export declare const dashboardWidgetsContract: {
|
|
|
1905
1900
|
performanceScore: number;
|
|
1906
1901
|
averageRating: number;
|
|
1907
1902
|
}[];
|
|
1903
|
+
summary: {
|
|
1904
|
+
averageDailyCalls: number;
|
|
1905
|
+
overallConversionRate: number;
|
|
1906
|
+
overallAverageRating: number;
|
|
1907
|
+
};
|
|
1908
1908
|
}>;
|
|
1909
1909
|
};
|
|
1910
1910
|
};
|
|
@@ -1949,25 +1949,25 @@ export declare const dashboardWidgetsContract: {
|
|
|
1949
1949
|
averagePerDay: number;
|
|
1950
1950
|
}>;
|
|
1951
1951
|
}, "strip", z.ZodTypeAny, {
|
|
1952
|
-
summary: {
|
|
1953
|
-
totalAdded: number;
|
|
1954
|
-
averagePerDay: number;
|
|
1955
|
-
};
|
|
1956
1952
|
data: {
|
|
1957
1953
|
date: string;
|
|
1958
1954
|
added: number;
|
|
1959
1955
|
cumulativeTotal: number;
|
|
1960
1956
|
}[];
|
|
1961
|
-
}, {
|
|
1962
1957
|
summary: {
|
|
1963
1958
|
totalAdded: number;
|
|
1964
1959
|
averagePerDay: number;
|
|
1965
1960
|
};
|
|
1961
|
+
}, {
|
|
1966
1962
|
data: {
|
|
1967
1963
|
date: string;
|
|
1968
1964
|
added: number;
|
|
1969
1965
|
cumulativeTotal: number;
|
|
1970
1966
|
}[];
|
|
1967
|
+
summary: {
|
|
1968
|
+
totalAdded: number;
|
|
1969
|
+
averagePerDay: number;
|
|
1970
|
+
};
|
|
1971
1971
|
}>;
|
|
1972
1972
|
};
|
|
1973
1973
|
};
|
|
@@ -1994,11 +1994,11 @@ export declare const dashboardWidgetsContract: {
|
|
|
1994
1994
|
byStatus: z.ZodRecord<z.ZodEnum<["ACTIVE", "INACTIVE", "PENDING_APPROVAL", "REJECTED", "APPROVED", "CHANGED_COMPANY", "CHANGED_AGENT", "CHANGED_COMPANY_AND_AGENT"]>, z.ZodNumber>;
|
|
1995
1995
|
}, "strip", z.ZodTypeAny, {
|
|
1996
1996
|
date: string;
|
|
1997
|
-
byStatus: Partial<Record<"
|
|
1997
|
+
byStatus: Partial<Record<"APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT", number>>;
|
|
1998
1998
|
created: number;
|
|
1999
1999
|
}, {
|
|
2000
2000
|
date: string;
|
|
2001
|
-
byStatus: Partial<Record<"
|
|
2001
|
+
byStatus: Partial<Record<"APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT", number>>;
|
|
2002
2002
|
created: number;
|
|
2003
2003
|
}>, "many">;
|
|
2004
2004
|
summary: z.ZodObject<{
|
|
@@ -2012,25 +2012,25 @@ export declare const dashboardWidgetsContract: {
|
|
|
2012
2012
|
activeCount: number;
|
|
2013
2013
|
}>;
|
|
2014
2014
|
}, "strip", z.ZodTypeAny, {
|
|
2015
|
-
summary: {
|
|
2016
|
-
totalCreated: number;
|
|
2017
|
-
activeCount: number;
|
|
2018
|
-
};
|
|
2019
2015
|
data: {
|
|
2020
2016
|
date: string;
|
|
2021
|
-
byStatus: Partial<Record<"
|
|
2017
|
+
byStatus: Partial<Record<"APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT", number>>;
|
|
2022
2018
|
created: number;
|
|
2023
2019
|
}[];
|
|
2024
|
-
}, {
|
|
2025
2020
|
summary: {
|
|
2026
2021
|
totalCreated: number;
|
|
2027
2022
|
activeCount: number;
|
|
2028
2023
|
};
|
|
2024
|
+
}, {
|
|
2029
2025
|
data: {
|
|
2030
2026
|
date: string;
|
|
2031
|
-
byStatus: Partial<Record<"
|
|
2027
|
+
byStatus: Partial<Record<"APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT", number>>;
|
|
2032
2028
|
created: number;
|
|
2033
2029
|
}[];
|
|
2030
|
+
summary: {
|
|
2031
|
+
totalCreated: number;
|
|
2032
|
+
activeCount: number;
|
|
2033
|
+
};
|
|
2034
2034
|
}>;
|
|
2035
2035
|
};
|
|
2036
2036
|
};
|