@dakkitor/api-contracts 1.1.128 → 1.1.130
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/abilities/admin.abilities.json +4 -0
- package/dist/abilities/kpi.abilities.json +9 -0
- package/dist/actives/actives.contract.d.ts +6485 -5013
- package/dist/actives/actives.contract.d.ts.map +1 -1
- package/dist/actives/actives.contract.js +92 -92
- package/dist/agent-client-links/agent-client-links.contract.d.ts +721 -351
- package/dist/agent-client-links/agent-client-links.contract.d.ts.map +1 -1
- package/dist/auth/auth.contract.d.ts +16 -16
- package/dist/bookings/bookings.contract.d.ts +24446 -18718
- package/dist/bookings/bookings.contract.d.ts.map +1 -1
- package/dist/call-history/call-history.contract.d.ts +706 -428
- package/dist/call-history/call-history.contract.d.ts.map +1 -1
- package/dist/client-contacts/client-contacts.contract.d.ts +356 -356
- package/dist/clients/clients.contract.d.ts +106 -106
- package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts +1813 -1197
- package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts.map +1 -1
- package/dist/collaborations/collaborations.contract.d.ts +1629 -1024
- package/dist/collaborations/collaborations.contract.d.ts.map +1 -1
- package/dist/curated-workers/curated-workers.contract.d.ts +350 -350
- package/dist/dashboards/dashboard-widgets.contract.d.ts +78 -78
- package/dist/dashboards/dashboard.contract.d.ts +26 -26
- package/dist/jobs/jobs.contract.d.ts +3290 -2230
- package/dist/jobs/jobs.contract.d.ts.map +1 -1
- package/dist/lead-assignments/lead-assignments.contract.d.ts +636 -332
- package/dist/lead-assignments/lead-assignments.contract.d.ts.map +1 -1
- package/dist/lead-distribution/agent-lead-distribution.contract.d.ts +296 -144
- package/dist/lead-distribution/agent-lead-distribution.contract.d.ts.map +1 -1
- package/dist/leads/leads.contract.d.ts +122 -122
- package/dist/monitoring/monitoring.contract.d.ts +138 -138
- package/dist/users/users.contract.d.ts +322 -158
- package/dist/users/users.contract.d.ts.map +1 -1
- package/dist/users/users.contract.js +133 -125
- package/dist/workers/workers.contract.d.ts +630 -412
- package/dist/workers/workers.contract.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -36,11 +36,11 @@ export declare const TrendDataPointSchema: z.ZodObject<{
|
|
|
36
36
|
date: z.ZodString;
|
|
37
37
|
value: z.ZodNumber;
|
|
38
38
|
}, "strip", z.ZodTypeAny, {
|
|
39
|
-
value: number;
|
|
40
39
|
date: string;
|
|
41
|
-
}, {
|
|
42
40
|
value: number;
|
|
41
|
+
}, {
|
|
43
42
|
date: string;
|
|
43
|
+
value: number;
|
|
44
44
|
}>;
|
|
45
45
|
/**
|
|
46
46
|
* FA Pipeline Widget - Collaboration pipeline overview
|
|
@@ -52,11 +52,11 @@ export declare const FaPipelineWidgetSchema: z.ZodObject<{
|
|
|
52
52
|
recentCount: z.ZodNumber;
|
|
53
53
|
}, "strip", z.ZodTypeAny, {
|
|
54
54
|
total: number;
|
|
55
|
-
byStatus: Partial<Record<"ACTIVE" | "
|
|
55
|
+
byStatus: Partial<Record<"ACTIVE" | "APPROVED" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT", number>>;
|
|
56
56
|
recentCount: number;
|
|
57
57
|
}, {
|
|
58
58
|
total: number;
|
|
59
|
-
byStatus: Partial<Record<"ACTIVE" | "
|
|
59
|
+
byStatus: Partial<Record<"ACTIVE" | "APPROVED" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT", number>>;
|
|
60
60
|
recentCount: number;
|
|
61
61
|
}>;
|
|
62
62
|
summary: z.ZodObject<{
|
|
@@ -76,7 +76,7 @@ export declare const FaPipelineWidgetSchema: z.ZodObject<{
|
|
|
76
76
|
};
|
|
77
77
|
collaborations: {
|
|
78
78
|
total: number;
|
|
79
|
-
byStatus: Partial<Record<"ACTIVE" | "
|
|
79
|
+
byStatus: Partial<Record<"ACTIVE" | "APPROVED" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT", number>>;
|
|
80
80
|
recentCount: number;
|
|
81
81
|
};
|
|
82
82
|
}, {
|
|
@@ -86,7 +86,7 @@ export declare const FaPipelineWidgetSchema: z.ZodObject<{
|
|
|
86
86
|
};
|
|
87
87
|
collaborations: {
|
|
88
88
|
total: number;
|
|
89
|
-
byStatus: Partial<Record<"ACTIVE" | "
|
|
89
|
+
byStatus: Partial<Record<"ACTIVE" | "APPROVED" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT", number>>;
|
|
90
90
|
recentCount: number;
|
|
91
91
|
};
|
|
92
92
|
}>;
|
|
@@ -100,12 +100,12 @@ export declare const FaClientsWidgetSchema: z.ZodObject<{
|
|
|
100
100
|
pendingVerification: z.ZodNumber;
|
|
101
101
|
}, "strip", z.ZodTypeAny, {
|
|
102
102
|
total: number;
|
|
103
|
-
byStatus: Partial<Record<"
|
|
103
|
+
byStatus: Partial<Record<"APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED", number>>;
|
|
104
104
|
recentlyAdded: number;
|
|
105
105
|
pendingVerification: number;
|
|
106
106
|
}, {
|
|
107
107
|
total: number;
|
|
108
|
-
byStatus: Partial<Record<"
|
|
108
|
+
byStatus: Partial<Record<"APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED", number>>;
|
|
109
109
|
recentlyAdded: number;
|
|
110
110
|
pendingVerification: number;
|
|
111
111
|
}>;
|
|
@@ -142,22 +142,22 @@ export declare const FaCallHistoryWidgetSchema: z.ZodObject<{
|
|
|
142
142
|
performanceTier: z.ZodEnum<["high", "medium", "low", "new"]>;
|
|
143
143
|
ratingBreakdown: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
144
144
|
}, "strip", z.ZodTypeAny, {
|
|
145
|
-
conversionRate: number;
|
|
146
145
|
totalCalls: number;
|
|
147
146
|
callsToday: number;
|
|
148
147
|
callsThisWeek: number;
|
|
149
148
|
averageRatingToday: number;
|
|
150
149
|
efficientCallsToday: number;
|
|
150
|
+
conversionRate: number;
|
|
151
151
|
performanceScore: number;
|
|
152
152
|
performanceTier: "high" | "medium" | "low" | "new";
|
|
153
153
|
ratingBreakdown: Record<string, number>;
|
|
154
154
|
}, {
|
|
155
|
-
conversionRate: number;
|
|
156
155
|
totalCalls: number;
|
|
157
156
|
callsToday: number;
|
|
158
157
|
callsThisWeek: number;
|
|
159
158
|
averageRatingToday: number;
|
|
160
159
|
efficientCallsToday: number;
|
|
160
|
+
conversionRate: number;
|
|
161
161
|
performanceScore: number;
|
|
162
162
|
performanceTier: "high" | "medium" | "low" | "new";
|
|
163
163
|
ratingBreakdown: Record<string, number>;
|
|
@@ -176,9 +176,9 @@ export declare const AgentCallHistoryItemSchema: z.ZodObject<{
|
|
|
176
176
|
performanceScore: z.ZodNumber;
|
|
177
177
|
performanceTier: z.ZodEnum<["high", "medium", "low", "new"]>;
|
|
178
178
|
}, "strip", z.ZodTypeAny, {
|
|
179
|
-
conversionRate: number;
|
|
180
|
-
totalCalls: number;
|
|
181
179
|
agentId: string;
|
|
180
|
+
totalCalls: number;
|
|
181
|
+
conversionRate: number;
|
|
182
182
|
performanceScore: number;
|
|
183
183
|
performanceTier: "high" | "medium" | "low" | "new";
|
|
184
184
|
agentName: string;
|
|
@@ -186,9 +186,9 @@ export declare const AgentCallHistoryItemSchema: z.ZodObject<{
|
|
|
186
186
|
callsOnDate: number;
|
|
187
187
|
averageRating: number;
|
|
188
188
|
}, {
|
|
189
|
-
conversionRate: number;
|
|
190
|
-
totalCalls: number;
|
|
191
189
|
agentId: string;
|
|
190
|
+
totalCalls: number;
|
|
191
|
+
conversionRate: number;
|
|
192
192
|
performanceScore: number;
|
|
193
193
|
performanceTier: "high" | "medium" | "low" | "new";
|
|
194
194
|
agentName: string;
|
|
@@ -228,9 +228,9 @@ export declare const AllAgentsCallHistoryResponseSchema: z.ZodObject<{
|
|
|
228
228
|
performanceScore: z.ZodNumber;
|
|
229
229
|
performanceTier: z.ZodEnum<["high", "medium", "low", "new"]>;
|
|
230
230
|
}, "strip", z.ZodTypeAny, {
|
|
231
|
-
conversionRate: number;
|
|
232
|
-
totalCalls: number;
|
|
233
231
|
agentId: string;
|
|
232
|
+
totalCalls: number;
|
|
233
|
+
conversionRate: number;
|
|
234
234
|
performanceScore: number;
|
|
235
235
|
performanceTier: "high" | "medium" | "low" | "new";
|
|
236
236
|
agentName: string;
|
|
@@ -238,9 +238,9 @@ export declare const AllAgentsCallHistoryResponseSchema: z.ZodObject<{
|
|
|
238
238
|
callsOnDate: number;
|
|
239
239
|
averageRating: number;
|
|
240
240
|
}, {
|
|
241
|
-
conversionRate: number;
|
|
242
|
-
totalCalls: number;
|
|
243
241
|
agentId: string;
|
|
242
|
+
totalCalls: number;
|
|
243
|
+
conversionRate: number;
|
|
244
244
|
performanceScore: number;
|
|
245
245
|
performanceTier: "high" | "medium" | "low" | "new";
|
|
246
246
|
agentName: string;
|
|
@@ -256,9 +256,9 @@ export declare const AllAgentsCallHistoryResponseSchema: z.ZodObject<{
|
|
|
256
256
|
}, "strip", z.ZodTypeAny, {
|
|
257
257
|
limit: number;
|
|
258
258
|
items: {
|
|
259
|
-
conversionRate: number;
|
|
260
|
-
totalCalls: number;
|
|
261
259
|
agentId: string;
|
|
260
|
+
totalCalls: number;
|
|
261
|
+
conversionRate: number;
|
|
262
262
|
performanceScore: number;
|
|
263
263
|
performanceTier: "high" | "medium" | "low" | "new";
|
|
264
264
|
agentName: string;
|
|
@@ -273,9 +273,9 @@ export declare const AllAgentsCallHistoryResponseSchema: z.ZodObject<{
|
|
|
273
273
|
}, {
|
|
274
274
|
limit: number;
|
|
275
275
|
items: {
|
|
276
|
-
conversionRate: number;
|
|
277
|
-
totalCalls: number;
|
|
278
276
|
agentId: string;
|
|
277
|
+
totalCalls: number;
|
|
278
|
+
conversionRate: number;
|
|
279
279
|
performanceScore: number;
|
|
280
280
|
performanceTier: "high" | "medium" | "low" | "new";
|
|
281
281
|
agentName: string;
|
|
@@ -297,20 +297,20 @@ export declare const FaActivesWidgetSchema: z.ZodObject<{
|
|
|
297
297
|
byStatusFa: z.ZodRecord<z.ZodEnum<["PENDING", "ACTIVE", "VACATION", "LEFT_THE_SITE", "MEDICAL_LEAVE", "DAY_OFF", "INJURY"]>, z.ZodNumber>;
|
|
298
298
|
}, "strip", z.ZodTypeAny, {
|
|
299
299
|
total: number;
|
|
300
|
-
byStatusFa: Partial<Record<"
|
|
300
|
+
byStatusFa: Partial<Record<"PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY", number>>;
|
|
301
301
|
}, {
|
|
302
302
|
total: number;
|
|
303
|
-
byStatusFa: Partial<Record<"
|
|
303
|
+
byStatusFa: Partial<Record<"PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY", number>>;
|
|
304
304
|
}>;
|
|
305
305
|
}, "strip", z.ZodTypeAny, {
|
|
306
306
|
today: {
|
|
307
307
|
total: number;
|
|
308
|
-
byStatusFa: Partial<Record<"
|
|
308
|
+
byStatusFa: Partial<Record<"PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY", number>>;
|
|
309
309
|
};
|
|
310
310
|
}, {
|
|
311
311
|
today: {
|
|
312
312
|
total: number;
|
|
313
|
-
byStatusFa: Partial<Record<"
|
|
313
|
+
byStatusFa: Partial<Record<"PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY", number>>;
|
|
314
314
|
};
|
|
315
315
|
}>;
|
|
316
316
|
/**
|
|
@@ -391,20 +391,20 @@ export declare const SaActivesWidgetSchema: z.ZodObject<{
|
|
|
391
391
|
byStatusSa: z.ZodRecord<z.ZodEnum<["PENDING", "ACTIVE", "VACATION", "LEFT_THE_SITE", "MEDICAL_LEAVE", "DAY_OFF", "INJURY"]>, z.ZodNumber>;
|
|
392
392
|
}, "strip", z.ZodTypeAny, {
|
|
393
393
|
total: number;
|
|
394
|
-
byStatusSa: Partial<Record<"
|
|
394
|
+
byStatusSa: Partial<Record<"PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY", number>>;
|
|
395
395
|
}, {
|
|
396
396
|
total: number;
|
|
397
|
-
byStatusSa: Partial<Record<"
|
|
397
|
+
byStatusSa: Partial<Record<"PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY", number>>;
|
|
398
398
|
}>;
|
|
399
399
|
}, "strip", z.ZodTypeAny, {
|
|
400
400
|
today: {
|
|
401
401
|
total: number;
|
|
402
|
-
byStatusSa: Partial<Record<"
|
|
402
|
+
byStatusSa: Partial<Record<"PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY", number>>;
|
|
403
403
|
};
|
|
404
404
|
}, {
|
|
405
405
|
today: {
|
|
406
406
|
total: number;
|
|
407
|
-
byStatusSa: Partial<Record<"
|
|
407
|
+
byStatusSa: Partial<Record<"PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY", number>>;
|
|
408
408
|
};
|
|
409
409
|
}>;
|
|
410
410
|
/**
|
|
@@ -418,11 +418,11 @@ export declare const ActivesTrendSchema: z.ZodObject<{
|
|
|
418
418
|
}, "strip", z.ZodTypeAny, {
|
|
419
419
|
date: string;
|
|
420
420
|
total: number;
|
|
421
|
-
byStatus: Partial<Record<"
|
|
421
|
+
byStatus: Partial<Record<"PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY", number>>;
|
|
422
422
|
}, {
|
|
423
423
|
date: string;
|
|
424
424
|
total: number;
|
|
425
|
-
byStatus: Partial<Record<"
|
|
425
|
+
byStatus: Partial<Record<"PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY", number>>;
|
|
426
426
|
}>, "many">;
|
|
427
427
|
summary: z.ZodObject<{
|
|
428
428
|
averageDaily: z.ZodNumber;
|
|
@@ -446,7 +446,7 @@ export declare const ActivesTrendSchema: z.ZodObject<{
|
|
|
446
446
|
data: {
|
|
447
447
|
date: string;
|
|
448
448
|
total: number;
|
|
449
|
-
byStatus: Partial<Record<"
|
|
449
|
+
byStatus: Partial<Record<"PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY", number>>;
|
|
450
450
|
}[];
|
|
451
451
|
}, {
|
|
452
452
|
summary: {
|
|
@@ -457,7 +457,7 @@ export declare const ActivesTrendSchema: z.ZodObject<{
|
|
|
457
457
|
data: {
|
|
458
458
|
date: string;
|
|
459
459
|
total: number;
|
|
460
|
-
byStatus: Partial<Record<"
|
|
460
|
+
byStatus: Partial<Record<"PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY", number>>;
|
|
461
461
|
}[];
|
|
462
462
|
}>;
|
|
463
463
|
/**
|
|
@@ -520,14 +520,14 @@ export declare const CallPerformanceTrendSchema: z.ZodObject<{
|
|
|
520
520
|
performanceScore: z.ZodNumber;
|
|
521
521
|
}, "strip", z.ZodTypeAny, {
|
|
522
522
|
date: string;
|
|
523
|
-
conversionRate: number;
|
|
524
523
|
totalCalls: number;
|
|
524
|
+
conversionRate: number;
|
|
525
525
|
performanceScore: number;
|
|
526
526
|
averageRating: number;
|
|
527
527
|
}, {
|
|
528
528
|
date: string;
|
|
529
|
-
conversionRate: number;
|
|
530
529
|
totalCalls: number;
|
|
530
|
+
conversionRate: number;
|
|
531
531
|
performanceScore: number;
|
|
532
532
|
averageRating: number;
|
|
533
533
|
}>, "many">;
|
|
@@ -552,8 +552,8 @@ export declare const CallPerformanceTrendSchema: z.ZodObject<{
|
|
|
552
552
|
};
|
|
553
553
|
data: {
|
|
554
554
|
date: string;
|
|
555
|
-
conversionRate: number;
|
|
556
555
|
totalCalls: number;
|
|
556
|
+
conversionRate: number;
|
|
557
557
|
performanceScore: number;
|
|
558
558
|
averageRating: number;
|
|
559
559
|
}[];
|
|
@@ -565,8 +565,8 @@ export declare const CallPerformanceTrendSchema: z.ZodObject<{
|
|
|
565
565
|
};
|
|
566
566
|
data: {
|
|
567
567
|
date: string;
|
|
568
|
-
conversionRate: number;
|
|
569
568
|
totalCalls: number;
|
|
569
|
+
conversionRate: number;
|
|
570
570
|
performanceScore: number;
|
|
571
571
|
averageRating: number;
|
|
572
572
|
}[];
|
|
@@ -629,11 +629,11 @@ export declare const CollaborationsTrendSchema: z.ZodObject<{
|
|
|
629
629
|
byStatus: z.ZodRecord<z.ZodEnum<["ACTIVE", "INACTIVE", "PENDING_APPROVAL", "REJECTED", "APPROVED", "CHANGED_COMPANY", "CHANGED_AGENT", "CHANGED_COMPANY_AND_AGENT"]>, z.ZodNumber>;
|
|
630
630
|
}, "strip", z.ZodTypeAny, {
|
|
631
631
|
date: string;
|
|
632
|
-
byStatus: Partial<Record<"ACTIVE" | "
|
|
632
|
+
byStatus: Partial<Record<"ACTIVE" | "APPROVED" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT", number>>;
|
|
633
633
|
created: number;
|
|
634
634
|
}, {
|
|
635
635
|
date: string;
|
|
636
|
-
byStatus: Partial<Record<"ACTIVE" | "
|
|
636
|
+
byStatus: Partial<Record<"ACTIVE" | "APPROVED" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT", number>>;
|
|
637
637
|
created: number;
|
|
638
638
|
}>, "many">;
|
|
639
639
|
summary: z.ZodObject<{
|
|
@@ -653,7 +653,7 @@ export declare const CollaborationsTrendSchema: z.ZodObject<{
|
|
|
653
653
|
};
|
|
654
654
|
data: {
|
|
655
655
|
date: string;
|
|
656
|
-
byStatus: Partial<Record<"ACTIVE" | "
|
|
656
|
+
byStatus: Partial<Record<"ACTIVE" | "APPROVED" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT", number>>;
|
|
657
657
|
created: number;
|
|
658
658
|
}[];
|
|
659
659
|
}, {
|
|
@@ -663,7 +663,7 @@ export declare const CollaborationsTrendSchema: z.ZodObject<{
|
|
|
663
663
|
};
|
|
664
664
|
data: {
|
|
665
665
|
date: string;
|
|
666
|
-
byStatus: Partial<Record<"ACTIVE" | "
|
|
666
|
+
byStatus: Partial<Record<"ACTIVE" | "APPROVED" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT", number>>;
|
|
667
667
|
created: number;
|
|
668
668
|
}[];
|
|
669
669
|
}>;
|
|
@@ -688,11 +688,11 @@ export declare const dashboardWidgetsContract: {
|
|
|
688
688
|
recentCount: z.ZodNumber;
|
|
689
689
|
}, "strip", z.ZodTypeAny, {
|
|
690
690
|
total: number;
|
|
691
|
-
byStatus: Partial<Record<"ACTIVE" | "
|
|
691
|
+
byStatus: Partial<Record<"ACTIVE" | "APPROVED" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT", number>>;
|
|
692
692
|
recentCount: number;
|
|
693
693
|
}, {
|
|
694
694
|
total: number;
|
|
695
|
-
byStatus: Partial<Record<"ACTIVE" | "
|
|
695
|
+
byStatus: Partial<Record<"ACTIVE" | "APPROVED" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT", number>>;
|
|
696
696
|
recentCount: number;
|
|
697
697
|
}>;
|
|
698
698
|
summary: z.ZodObject<{
|
|
@@ -712,7 +712,7 @@ export declare const dashboardWidgetsContract: {
|
|
|
712
712
|
};
|
|
713
713
|
collaborations: {
|
|
714
714
|
total: number;
|
|
715
|
-
byStatus: Partial<Record<"ACTIVE" | "
|
|
715
|
+
byStatus: Partial<Record<"ACTIVE" | "APPROVED" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT", number>>;
|
|
716
716
|
recentCount: number;
|
|
717
717
|
};
|
|
718
718
|
}, {
|
|
@@ -722,7 +722,7 @@ export declare const dashboardWidgetsContract: {
|
|
|
722
722
|
};
|
|
723
723
|
collaborations: {
|
|
724
724
|
total: number;
|
|
725
|
-
byStatus: Partial<Record<"ACTIVE" | "
|
|
725
|
+
byStatus: Partial<Record<"ACTIVE" | "APPROVED" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT", number>>;
|
|
726
726
|
recentCount: number;
|
|
727
727
|
};
|
|
728
728
|
}>;
|
|
@@ -748,12 +748,12 @@ export declare const dashboardWidgetsContract: {
|
|
|
748
748
|
pendingVerification: z.ZodNumber;
|
|
749
749
|
}, "strip", z.ZodTypeAny, {
|
|
750
750
|
total: number;
|
|
751
|
-
byStatus: Partial<Record<"
|
|
751
|
+
byStatus: Partial<Record<"APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED", number>>;
|
|
752
752
|
recentlyAdded: number;
|
|
753
753
|
pendingVerification: number;
|
|
754
754
|
}, {
|
|
755
755
|
total: number;
|
|
756
|
-
byStatus: Partial<Record<"
|
|
756
|
+
byStatus: Partial<Record<"APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED", number>>;
|
|
757
757
|
recentlyAdded: number;
|
|
758
758
|
pendingVerification: number;
|
|
759
759
|
}>;
|
|
@@ -814,22 +814,22 @@ export declare const dashboardWidgetsContract: {
|
|
|
814
814
|
performanceTier: z.ZodEnum<["high", "medium", "low", "new"]>;
|
|
815
815
|
ratingBreakdown: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
816
816
|
}, "strip", z.ZodTypeAny, {
|
|
817
|
-
conversionRate: number;
|
|
818
817
|
totalCalls: number;
|
|
819
818
|
callsToday: number;
|
|
820
819
|
callsThisWeek: number;
|
|
821
820
|
averageRatingToday: number;
|
|
822
821
|
efficientCallsToday: number;
|
|
822
|
+
conversionRate: number;
|
|
823
823
|
performanceScore: number;
|
|
824
824
|
performanceTier: "high" | "medium" | "low" | "new";
|
|
825
825
|
ratingBreakdown: Record<string, number>;
|
|
826
826
|
}, {
|
|
827
|
-
conversionRate: number;
|
|
828
827
|
totalCalls: number;
|
|
829
828
|
callsToday: number;
|
|
830
829
|
callsThisWeek: number;
|
|
831
830
|
averageRatingToday: number;
|
|
832
831
|
efficientCallsToday: number;
|
|
832
|
+
conversionRate: number;
|
|
833
833
|
performanceScore: number;
|
|
834
834
|
performanceTier: "high" | "medium" | "low" | "new";
|
|
835
835
|
ratingBreakdown: Record<string, number>;
|
|
@@ -868,9 +868,9 @@ export declare const dashboardWidgetsContract: {
|
|
|
868
868
|
performanceScore: z.ZodNumber;
|
|
869
869
|
performanceTier: z.ZodEnum<["high", "medium", "low", "new"]>;
|
|
870
870
|
}, "strip", z.ZodTypeAny, {
|
|
871
|
-
conversionRate: number;
|
|
872
|
-
totalCalls: number;
|
|
873
871
|
agentId: string;
|
|
872
|
+
totalCalls: number;
|
|
873
|
+
conversionRate: number;
|
|
874
874
|
performanceScore: number;
|
|
875
875
|
performanceTier: "high" | "medium" | "low" | "new";
|
|
876
876
|
agentName: string;
|
|
@@ -878,9 +878,9 @@ export declare const dashboardWidgetsContract: {
|
|
|
878
878
|
callsOnDate: number;
|
|
879
879
|
averageRating: number;
|
|
880
880
|
}, {
|
|
881
|
-
conversionRate: number;
|
|
882
|
-
totalCalls: number;
|
|
883
881
|
agentId: string;
|
|
882
|
+
totalCalls: number;
|
|
883
|
+
conversionRate: number;
|
|
884
884
|
performanceScore: number;
|
|
885
885
|
performanceTier: "high" | "medium" | "low" | "new";
|
|
886
886
|
agentName: string;
|
|
@@ -896,9 +896,9 @@ export declare const dashboardWidgetsContract: {
|
|
|
896
896
|
}, "strip", z.ZodTypeAny, {
|
|
897
897
|
limit: number;
|
|
898
898
|
items: {
|
|
899
|
-
conversionRate: number;
|
|
900
|
-
totalCalls: number;
|
|
901
899
|
agentId: string;
|
|
900
|
+
totalCalls: number;
|
|
901
|
+
conversionRate: number;
|
|
902
902
|
performanceScore: number;
|
|
903
903
|
performanceTier: "high" | "medium" | "low" | "new";
|
|
904
904
|
agentName: string;
|
|
@@ -913,9 +913,9 @@ export declare const dashboardWidgetsContract: {
|
|
|
913
913
|
}, {
|
|
914
914
|
limit: number;
|
|
915
915
|
items: {
|
|
916
|
-
conversionRate: number;
|
|
917
|
-
totalCalls: number;
|
|
918
916
|
agentId: string;
|
|
917
|
+
totalCalls: number;
|
|
918
|
+
conversionRate: number;
|
|
919
919
|
performanceScore: number;
|
|
920
920
|
performanceTier: "high" | "medium" | "low" | "new";
|
|
921
921
|
agentName: string;
|
|
@@ -949,20 +949,20 @@ export declare const dashboardWidgetsContract: {
|
|
|
949
949
|
byStatusFa: z.ZodRecord<z.ZodEnum<["PENDING", "ACTIVE", "VACATION", "LEFT_THE_SITE", "MEDICAL_LEAVE", "DAY_OFF", "INJURY"]>, z.ZodNumber>;
|
|
950
950
|
}, "strip", z.ZodTypeAny, {
|
|
951
951
|
total: number;
|
|
952
|
-
byStatusFa: Partial<Record<"
|
|
952
|
+
byStatusFa: Partial<Record<"PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY", number>>;
|
|
953
953
|
}, {
|
|
954
954
|
total: number;
|
|
955
|
-
byStatusFa: Partial<Record<"
|
|
955
|
+
byStatusFa: Partial<Record<"PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY", number>>;
|
|
956
956
|
}>;
|
|
957
957
|
}, "strip", z.ZodTypeAny, {
|
|
958
958
|
today: {
|
|
959
959
|
total: number;
|
|
960
|
-
byStatusFa: Partial<Record<"
|
|
960
|
+
byStatusFa: Partial<Record<"PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY", number>>;
|
|
961
961
|
};
|
|
962
962
|
}, {
|
|
963
963
|
today: {
|
|
964
964
|
total: number;
|
|
965
|
-
byStatusFa: Partial<Record<"
|
|
965
|
+
byStatusFa: Partial<Record<"PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY", number>>;
|
|
966
966
|
};
|
|
967
967
|
}>;
|
|
968
968
|
};
|
|
@@ -1091,20 +1091,20 @@ export declare const dashboardWidgetsContract: {
|
|
|
1091
1091
|
byStatusSa: z.ZodRecord<z.ZodEnum<["PENDING", "ACTIVE", "VACATION", "LEFT_THE_SITE", "MEDICAL_LEAVE", "DAY_OFF", "INJURY"]>, z.ZodNumber>;
|
|
1092
1092
|
}, "strip", z.ZodTypeAny, {
|
|
1093
1093
|
total: number;
|
|
1094
|
-
byStatusSa: Partial<Record<"
|
|
1094
|
+
byStatusSa: Partial<Record<"PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY", number>>;
|
|
1095
1095
|
}, {
|
|
1096
1096
|
total: number;
|
|
1097
|
-
byStatusSa: Partial<Record<"
|
|
1097
|
+
byStatusSa: Partial<Record<"PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY", number>>;
|
|
1098
1098
|
}>;
|
|
1099
1099
|
}, "strip", z.ZodTypeAny, {
|
|
1100
1100
|
today: {
|
|
1101
1101
|
total: number;
|
|
1102
|
-
byStatusSa: Partial<Record<"
|
|
1102
|
+
byStatusSa: Partial<Record<"PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY", number>>;
|
|
1103
1103
|
};
|
|
1104
1104
|
}, {
|
|
1105
1105
|
today: {
|
|
1106
1106
|
total: number;
|
|
1107
|
-
byStatusSa: Partial<Record<"
|
|
1107
|
+
byStatusSa: Partial<Record<"PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY", number>>;
|
|
1108
1108
|
};
|
|
1109
1109
|
}>;
|
|
1110
1110
|
};
|
|
@@ -1133,11 +1133,11 @@ export declare const dashboardWidgetsContract: {
|
|
|
1133
1133
|
}, "strip", z.ZodTypeAny, {
|
|
1134
1134
|
date: string;
|
|
1135
1135
|
total: number;
|
|
1136
|
-
byStatus: Partial<Record<"
|
|
1136
|
+
byStatus: Partial<Record<"PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY", number>>;
|
|
1137
1137
|
}, {
|
|
1138
1138
|
date: string;
|
|
1139
1139
|
total: number;
|
|
1140
|
-
byStatus: Partial<Record<"
|
|
1140
|
+
byStatus: Partial<Record<"PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY", number>>;
|
|
1141
1141
|
}>, "many">;
|
|
1142
1142
|
summary: z.ZodObject<{
|
|
1143
1143
|
averageDaily: z.ZodNumber;
|
|
@@ -1161,7 +1161,7 @@ export declare const dashboardWidgetsContract: {
|
|
|
1161
1161
|
data: {
|
|
1162
1162
|
date: string;
|
|
1163
1163
|
total: number;
|
|
1164
|
-
byStatus: Partial<Record<"
|
|
1164
|
+
byStatus: Partial<Record<"PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY", number>>;
|
|
1165
1165
|
}[];
|
|
1166
1166
|
}, {
|
|
1167
1167
|
summary: {
|
|
@@ -1172,7 +1172,7 @@ export declare const dashboardWidgetsContract: {
|
|
|
1172
1172
|
data: {
|
|
1173
1173
|
date: string;
|
|
1174
1174
|
total: number;
|
|
1175
|
-
byStatus: Partial<Record<"
|
|
1175
|
+
byStatus: Partial<Record<"PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY", number>>;
|
|
1176
1176
|
}[];
|
|
1177
1177
|
}>;
|
|
1178
1178
|
};
|
|
@@ -1265,14 +1265,14 @@ export declare const dashboardWidgetsContract: {
|
|
|
1265
1265
|
performanceScore: z.ZodNumber;
|
|
1266
1266
|
}, "strip", z.ZodTypeAny, {
|
|
1267
1267
|
date: string;
|
|
1268
|
-
conversionRate: number;
|
|
1269
1268
|
totalCalls: number;
|
|
1269
|
+
conversionRate: number;
|
|
1270
1270
|
performanceScore: number;
|
|
1271
1271
|
averageRating: number;
|
|
1272
1272
|
}, {
|
|
1273
1273
|
date: string;
|
|
1274
|
-
conversionRate: number;
|
|
1275
1274
|
totalCalls: number;
|
|
1275
|
+
conversionRate: number;
|
|
1276
1276
|
performanceScore: number;
|
|
1277
1277
|
averageRating: number;
|
|
1278
1278
|
}>, "many">;
|
|
@@ -1297,8 +1297,8 @@ export declare const dashboardWidgetsContract: {
|
|
|
1297
1297
|
};
|
|
1298
1298
|
data: {
|
|
1299
1299
|
date: string;
|
|
1300
|
-
conversionRate: number;
|
|
1301
1300
|
totalCalls: number;
|
|
1301
|
+
conversionRate: number;
|
|
1302
1302
|
performanceScore: number;
|
|
1303
1303
|
averageRating: number;
|
|
1304
1304
|
}[];
|
|
@@ -1310,8 +1310,8 @@ export declare const dashboardWidgetsContract: {
|
|
|
1310
1310
|
};
|
|
1311
1311
|
data: {
|
|
1312
1312
|
date: string;
|
|
1313
|
-
conversionRate: number;
|
|
1314
1313
|
totalCalls: number;
|
|
1314
|
+
conversionRate: number;
|
|
1315
1315
|
performanceScore: number;
|
|
1316
1316
|
averageRating: number;
|
|
1317
1317
|
}[];
|
|
@@ -1404,11 +1404,11 @@ export declare const dashboardWidgetsContract: {
|
|
|
1404
1404
|
byStatus: z.ZodRecord<z.ZodEnum<["ACTIVE", "INACTIVE", "PENDING_APPROVAL", "REJECTED", "APPROVED", "CHANGED_COMPANY", "CHANGED_AGENT", "CHANGED_COMPANY_AND_AGENT"]>, z.ZodNumber>;
|
|
1405
1405
|
}, "strip", z.ZodTypeAny, {
|
|
1406
1406
|
date: string;
|
|
1407
|
-
byStatus: Partial<Record<"ACTIVE" | "
|
|
1407
|
+
byStatus: Partial<Record<"ACTIVE" | "APPROVED" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT", number>>;
|
|
1408
1408
|
created: number;
|
|
1409
1409
|
}, {
|
|
1410
1410
|
date: string;
|
|
1411
|
-
byStatus: Partial<Record<"ACTIVE" | "
|
|
1411
|
+
byStatus: Partial<Record<"ACTIVE" | "APPROVED" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT", number>>;
|
|
1412
1412
|
created: number;
|
|
1413
1413
|
}>, "many">;
|
|
1414
1414
|
summary: z.ZodObject<{
|
|
@@ -1428,7 +1428,7 @@ export declare const dashboardWidgetsContract: {
|
|
|
1428
1428
|
};
|
|
1429
1429
|
data: {
|
|
1430
1430
|
date: string;
|
|
1431
|
-
byStatus: Partial<Record<"ACTIVE" | "
|
|
1431
|
+
byStatus: Partial<Record<"ACTIVE" | "APPROVED" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT", number>>;
|
|
1432
1432
|
created: number;
|
|
1433
1433
|
}[];
|
|
1434
1434
|
}, {
|
|
@@ -1438,7 +1438,7 @@ export declare const dashboardWidgetsContract: {
|
|
|
1438
1438
|
};
|
|
1439
1439
|
data: {
|
|
1440
1440
|
date: string;
|
|
1441
|
-
byStatus: Partial<Record<"ACTIVE" | "
|
|
1441
|
+
byStatus: Partial<Record<"ACTIVE" | "APPROVED" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT", number>>;
|
|
1442
1442
|
created: number;
|
|
1443
1443
|
}[];
|
|
1444
1444
|
}>;
|