@dakkitor/api-contracts 1.1.122 → 1.1.124
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/second-agent.abilities.json +17 -3
- package/dist/actives/actives.contract.d.ts +6094 -6094
- package/dist/agent-client-links/agent-client-links.contract.d.ts +367 -367
- package/dist/bookings/bookings.contract.d.ts +23078 -23006
- package/dist/bookings/bookings.contract.d.ts.map +1 -1
- package/dist/bookings/bookings.contract.js +3 -0
- package/dist/client-contacts/client-contacts.contract.d.ts +477 -477
- package/dist/clients/clients.contract.d.ts +224 -188
- package/dist/clients/clients.contract.d.ts.map +1 -1
- package/dist/clients/clients.contract.js +3 -0
- package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts +1534 -1534
- package/dist/collaborations/collaborations.contract.d.ts +1265 -1265
- package/dist/dashboards/dashboard-widgets.contract.d.ts +34 -34
- package/dist/jobs/jobs.contract.d.ts +2882 -2846
- package/dist/jobs/jobs.contract.d.ts.map +1 -1
- package/dist/jobs/jobs.contract.js +3 -0
- 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<"
|
|
55
|
+
byStatus: Partial<Record<"APPROVED" | "ACTIVE" | "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<"
|
|
59
|
+
byStatus: Partial<Record<"APPROVED" | "ACTIVE" | "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<"
|
|
79
|
+
byStatus: Partial<Record<"APPROVED" | "ACTIVE" | "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<"
|
|
89
|
+
byStatus: Partial<Record<"APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT", number>>;
|
|
90
90
|
recentCount: number;
|
|
91
91
|
};
|
|
92
92
|
}>;
|
|
@@ -176,21 +176,21 @@ 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
|
+
agentId: string;
|
|
179
180
|
totalCalls: number;
|
|
180
181
|
conversionRate: number;
|
|
181
182
|
performanceScore: number;
|
|
182
183
|
performanceTier: "high" | "medium" | "low" | "new";
|
|
183
|
-
agentId: string;
|
|
184
184
|
agentName: string;
|
|
185
185
|
agentEmail: string;
|
|
186
186
|
callsOnDate: number;
|
|
187
187
|
averageRating: number;
|
|
188
188
|
}, {
|
|
189
|
+
agentId: string;
|
|
189
190
|
totalCalls: number;
|
|
190
191
|
conversionRate: number;
|
|
191
192
|
performanceScore: number;
|
|
192
193
|
performanceTier: "high" | "medium" | "low" | "new";
|
|
193
|
-
agentId: string;
|
|
194
194
|
agentName: string;
|
|
195
195
|
agentEmail: string;
|
|
196
196
|
callsOnDate: number;
|
|
@@ -205,13 +205,13 @@ export declare const AllAgentsCallHistoryQuerySchema: z.ZodObject<{
|
|
|
205
205
|
} & {
|
|
206
206
|
date: z.ZodOptional<z.ZodString>;
|
|
207
207
|
}, "strip", z.ZodTypeAny, {
|
|
208
|
-
limit: number;
|
|
209
208
|
page: number;
|
|
209
|
+
limit: number;
|
|
210
210
|
date?: string | undefined;
|
|
211
211
|
}, {
|
|
212
|
-
date?: string | undefined;
|
|
213
|
-
limit?: number | undefined;
|
|
214
212
|
page?: number | undefined;
|
|
213
|
+
limit?: number | undefined;
|
|
214
|
+
date?: string | undefined;
|
|
215
215
|
}>;
|
|
216
216
|
/**
|
|
217
217
|
* Paginated response for all agents call history
|
|
@@ -228,21 +228,21 @@ 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
|
+
agentId: string;
|
|
231
232
|
totalCalls: number;
|
|
232
233
|
conversionRate: number;
|
|
233
234
|
performanceScore: number;
|
|
234
235
|
performanceTier: "high" | "medium" | "low" | "new";
|
|
235
|
-
agentId: string;
|
|
236
236
|
agentName: string;
|
|
237
237
|
agentEmail: string;
|
|
238
238
|
callsOnDate: number;
|
|
239
239
|
averageRating: number;
|
|
240
240
|
}, {
|
|
241
|
+
agentId: string;
|
|
241
242
|
totalCalls: number;
|
|
242
243
|
conversionRate: number;
|
|
243
244
|
performanceScore: number;
|
|
244
245
|
performanceTier: "high" | "medium" | "low" | "new";
|
|
245
|
-
agentId: string;
|
|
246
246
|
agentName: string;
|
|
247
247
|
agentEmail: string;
|
|
248
248
|
callsOnDate: number;
|
|
@@ -256,11 +256,11 @@ export declare const AllAgentsCallHistoryResponseSchema: z.ZodObject<{
|
|
|
256
256
|
}, "strip", z.ZodTypeAny, {
|
|
257
257
|
limit: number;
|
|
258
258
|
items: {
|
|
259
|
+
agentId: string;
|
|
259
260
|
totalCalls: number;
|
|
260
261
|
conversionRate: number;
|
|
261
262
|
performanceScore: number;
|
|
262
263
|
performanceTier: "high" | "medium" | "low" | "new";
|
|
263
|
-
agentId: string;
|
|
264
264
|
agentName: string;
|
|
265
265
|
agentEmail: string;
|
|
266
266
|
callsOnDate: number;
|
|
@@ -273,11 +273,11 @@ export declare const AllAgentsCallHistoryResponseSchema: z.ZodObject<{
|
|
|
273
273
|
}, {
|
|
274
274
|
limit: number;
|
|
275
275
|
items: {
|
|
276
|
+
agentId: string;
|
|
276
277
|
totalCalls: number;
|
|
277
278
|
conversionRate: number;
|
|
278
279
|
performanceScore: number;
|
|
279
280
|
performanceTier: "high" | "medium" | "low" | "new";
|
|
280
|
-
agentId: string;
|
|
281
281
|
agentName: string;
|
|
282
282
|
agentEmail: string;
|
|
283
283
|
callsOnDate: number;
|
|
@@ -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<"
|
|
632
|
+
byStatus: Partial<Record<"APPROVED" | "ACTIVE" | "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<"
|
|
636
|
+
byStatus: Partial<Record<"APPROVED" | "ACTIVE" | "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<"
|
|
656
|
+
byStatus: Partial<Record<"APPROVED" | "ACTIVE" | "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<"
|
|
666
|
+
byStatus: Partial<Record<"APPROVED" | "ACTIVE" | "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<"
|
|
691
|
+
byStatus: Partial<Record<"APPROVED" | "ACTIVE" | "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<"
|
|
695
|
+
byStatus: Partial<Record<"APPROVED" | "ACTIVE" | "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<"
|
|
715
|
+
byStatus: Partial<Record<"APPROVED" | "ACTIVE" | "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<"
|
|
725
|
+
byStatus: Partial<Record<"APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT", number>>;
|
|
726
726
|
recentCount: number;
|
|
727
727
|
};
|
|
728
728
|
}>;
|
|
@@ -844,13 +844,13 @@ export declare const dashboardWidgetsContract: {
|
|
|
844
844
|
} & {
|
|
845
845
|
date: z.ZodOptional<z.ZodString>;
|
|
846
846
|
}, "strip", z.ZodTypeAny, {
|
|
847
|
-
limit: number;
|
|
848
847
|
page: number;
|
|
848
|
+
limit: number;
|
|
849
849
|
date?: string | undefined;
|
|
850
850
|
}, {
|
|
851
|
-
date?: string | undefined;
|
|
852
|
-
limit?: number | undefined;
|
|
853
851
|
page?: number | undefined;
|
|
852
|
+
limit?: number | undefined;
|
|
853
|
+
date?: string | undefined;
|
|
854
854
|
}>;
|
|
855
855
|
summary: "Get call history for all available agents";
|
|
856
856
|
method: "GET";
|
|
@@ -868,21 +868,21 @@ export declare const dashboardWidgetsContract: {
|
|
|
868
868
|
performanceScore: z.ZodNumber;
|
|
869
869
|
performanceTier: z.ZodEnum<["high", "medium", "low", "new"]>;
|
|
870
870
|
}, "strip", z.ZodTypeAny, {
|
|
871
|
+
agentId: string;
|
|
871
872
|
totalCalls: number;
|
|
872
873
|
conversionRate: number;
|
|
873
874
|
performanceScore: number;
|
|
874
875
|
performanceTier: "high" | "medium" | "low" | "new";
|
|
875
|
-
agentId: string;
|
|
876
876
|
agentName: string;
|
|
877
877
|
agentEmail: string;
|
|
878
878
|
callsOnDate: number;
|
|
879
879
|
averageRating: number;
|
|
880
880
|
}, {
|
|
881
|
+
agentId: string;
|
|
881
882
|
totalCalls: number;
|
|
882
883
|
conversionRate: number;
|
|
883
884
|
performanceScore: number;
|
|
884
885
|
performanceTier: "high" | "medium" | "low" | "new";
|
|
885
|
-
agentId: string;
|
|
886
886
|
agentName: string;
|
|
887
887
|
agentEmail: string;
|
|
888
888
|
callsOnDate: number;
|
|
@@ -896,11 +896,11 @@ export declare const dashboardWidgetsContract: {
|
|
|
896
896
|
}, "strip", z.ZodTypeAny, {
|
|
897
897
|
limit: number;
|
|
898
898
|
items: {
|
|
899
|
+
agentId: string;
|
|
899
900
|
totalCalls: number;
|
|
900
901
|
conversionRate: number;
|
|
901
902
|
performanceScore: number;
|
|
902
903
|
performanceTier: "high" | "medium" | "low" | "new";
|
|
903
|
-
agentId: string;
|
|
904
904
|
agentName: string;
|
|
905
905
|
agentEmail: string;
|
|
906
906
|
callsOnDate: number;
|
|
@@ -913,11 +913,11 @@ export declare const dashboardWidgetsContract: {
|
|
|
913
913
|
}, {
|
|
914
914
|
limit: number;
|
|
915
915
|
items: {
|
|
916
|
+
agentId: string;
|
|
916
917
|
totalCalls: number;
|
|
917
918
|
conversionRate: number;
|
|
918
919
|
performanceScore: number;
|
|
919
920
|
performanceTier: "high" | "medium" | "low" | "new";
|
|
920
|
-
agentId: string;
|
|
921
921
|
agentName: string;
|
|
922
922
|
agentEmail: string;
|
|
923
923
|
callsOnDate: number;
|
|
@@ -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<"
|
|
1407
|
+
byStatus: Partial<Record<"APPROVED" | "ACTIVE" | "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<"
|
|
1411
|
+
byStatus: Partial<Record<"APPROVED" | "ACTIVE" | "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<"
|
|
1431
|
+
byStatus: Partial<Record<"APPROVED" | "ACTIVE" | "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<"
|
|
1441
|
+
byStatus: Partial<Record<"APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT", number>>;
|
|
1442
1442
|
created: number;
|
|
1443
1443
|
}[];
|
|
1444
1444
|
}>;
|