@dakkitor/api-contracts 1.1.121 → 1.1.123

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.
@@ -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<"APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT", number>>;
55
+ byStatus: Partial<Record<"ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT", number>>;
56
56
  recentCount: number;
57
57
  }, {
58
58
  total: number;
59
- byStatus: Partial<Record<"APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT", number>>;
59
+ byStatus: Partial<Record<"ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "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<"APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT", number>>;
79
+ byStatus: Partial<Record<"ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "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<"APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT", number>>;
89
+ byStatus: Partial<Record<"ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT", number>>;
90
90
  recentCount: number;
91
91
  };
92
92
  }>;
@@ -143,23 +143,23 @@ export declare const FaCallHistoryWidgetSchema: z.ZodObject<{
143
143
  ratingBreakdown: z.ZodRecord<z.ZodString, z.ZodNumber>;
144
144
  }, "strip", z.ZodTypeAny, {
145
145
  totalCalls: number;
146
- conversionRate: number;
147
- performanceScore: number;
148
- performanceTier: "high" | "medium" | "low" | "new";
149
146
  callsToday: number;
150
147
  callsThisWeek: number;
151
148
  averageRatingToday: number;
152
149
  efficientCallsToday: number;
153
- ratingBreakdown: Record<string, number>;
154
- }, {
155
- totalCalls: number;
156
150
  conversionRate: number;
157
151
  performanceScore: number;
158
152
  performanceTier: "high" | "medium" | "low" | "new";
153
+ ratingBreakdown: Record<string, number>;
154
+ }, {
155
+ totalCalls: number;
159
156
  callsToday: number;
160
157
  callsThisWeek: number;
161
158
  averageRatingToday: number;
162
159
  efficientCallsToday: number;
160
+ conversionRate: number;
161
+ performanceScore: number;
162
+ performanceTier: "high" | "medium" | "low" | "new";
163
163
  ratingBreakdown: Record<string, number>;
164
164
  }>;
165
165
  /**
@@ -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;
180
179
  totalCalls: number;
181
180
  conversionRate: number;
182
181
  performanceScore: number;
183
182
  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;
190
189
  totalCalls: number;
191
190
  conversionRate: number;
192
191
  performanceScore: number;
193
192
  performanceTier: "high" | "medium" | "low" | "new";
193
+ agentId: string;
194
194
  agentName: string;
195
195
  agentEmail: string;
196
196
  callsOnDate: number;
@@ -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;
232
231
  totalCalls: number;
233
232
  conversionRate: number;
234
233
  performanceScore: number;
235
234
  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;
242
241
  totalCalls: number;
243
242
  conversionRate: number;
244
243
  performanceScore: number;
245
244
  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;
260
259
  totalCalls: number;
261
260
  conversionRate: number;
262
261
  performanceScore: number;
263
262
  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;
277
276
  totalCalls: number;
278
277
  conversionRate: number;
279
278
  performanceScore: number;
280
279
  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<"APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT", number>>;
632
+ byStatus: Partial<Record<"ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT", number>>;
633
633
  created: number;
634
634
  }, {
635
635
  date: string;
636
- byStatus: Partial<Record<"APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT", number>>;
636
+ byStatus: Partial<Record<"ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "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<"APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT", number>>;
656
+ byStatus: Partial<Record<"ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "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<"APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT", number>>;
666
+ byStatus: Partial<Record<"ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "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<"APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT", number>>;
691
+ byStatus: Partial<Record<"ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT", number>>;
692
692
  recentCount: number;
693
693
  }, {
694
694
  total: number;
695
- byStatus: Partial<Record<"APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT", number>>;
695
+ byStatus: Partial<Record<"ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "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<"APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT", number>>;
715
+ byStatus: Partial<Record<"ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "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<"APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT", number>>;
725
+ byStatus: Partial<Record<"ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT", number>>;
726
726
  recentCount: number;
727
727
  };
728
728
  }>;
@@ -815,23 +815,23 @@ export declare const dashboardWidgetsContract: {
815
815
  ratingBreakdown: z.ZodRecord<z.ZodString, z.ZodNumber>;
816
816
  }, "strip", z.ZodTypeAny, {
817
817
  totalCalls: number;
818
- conversionRate: number;
819
- performanceScore: number;
820
- performanceTier: "high" | "medium" | "low" | "new";
821
818
  callsToday: number;
822
819
  callsThisWeek: number;
823
820
  averageRatingToday: number;
824
821
  efficientCallsToday: number;
825
- ratingBreakdown: Record<string, number>;
826
- }, {
827
- totalCalls: number;
828
822
  conversionRate: number;
829
823
  performanceScore: number;
830
824
  performanceTier: "high" | "medium" | "low" | "new";
825
+ ratingBreakdown: Record<string, number>;
826
+ }, {
827
+ totalCalls: number;
831
828
  callsToday: number;
832
829
  callsThisWeek: number;
833
830
  averageRatingToday: number;
834
831
  efficientCallsToday: number;
832
+ conversionRate: number;
833
+ performanceScore: number;
834
+ performanceTier: "high" | "medium" | "low" | "new";
835
835
  ratingBreakdown: Record<string, number>;
836
836
  }>;
837
837
  };
@@ -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;
872
871
  totalCalls: number;
873
872
  conversionRate: number;
874
873
  performanceScore: number;
875
874
  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;
882
881
  totalCalls: number;
883
882
  conversionRate: number;
884
883
  performanceScore: number;
885
884
  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;
900
899
  totalCalls: number;
901
900
  conversionRate: number;
902
901
  performanceScore: number;
903
902
  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;
917
916
  totalCalls: number;
918
917
  conversionRate: number;
919
918
  performanceScore: number;
920
919
  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<"APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT", number>>;
1407
+ byStatus: Partial<Record<"ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT", number>>;
1408
1408
  created: number;
1409
1409
  }, {
1410
1410
  date: string;
1411
- byStatus: Partial<Record<"APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT", number>>;
1411
+ byStatus: Partial<Record<"ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "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<"APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT", number>>;
1431
+ byStatus: Partial<Record<"ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "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<"APPROVED" | "ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT", number>>;
1441
+ byStatus: Partial<Record<"ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT", number>>;
1442
1442
  created: number;
1443
1443
  }[];
1444
1444
  }>;