@dakkitor/api-contracts 1.4.0 → 1.5.0

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.
Files changed (46) hide show
  1. package/dist/abilities/abilities.contract.d.ts +3 -1
  2. package/dist/abilities/abilities.contract.d.ts.map +1 -1
  3. package/dist/abilities/abilities.contract.js +4 -1
  4. package/dist/abilities/first-agent.abilities.json +13 -0
  5. package/dist/abilities/outreach-service.abilities.json +14 -0
  6. package/dist/abilities/second-agent.abilities.json +13 -0
  7. package/dist/actives/actives.contract.d.ts +8657 -8657
  8. package/dist/bookings/bookings.contract.d.ts +13082 -13082
  9. package/dist/curated-worker-leads/candidate-coordination.contract.d.ts +4322 -4322
  10. package/dist/curated-worker-leads/candidate-edit-session.contract.d.ts +398 -398
  11. package/dist/curated-worker-leads/consent-queue.contract.d.ts +1205 -1205
  12. package/dist/curated-worker-leads/jobs-tab.contract.d.ts +5811 -5629
  13. package/dist/curated-worker-leads/jobs-tab.contract.d.ts.map +1 -1
  14. package/dist/curated-worker-leads/jobs-tab.contract.js +31 -1
  15. package/dist/curated-worker-leads/owned-jobs-tab.contract.d.ts +190 -190
  16. package/dist/dashboards/dashboard-widgets.contract.d.ts +262 -262
  17. package/dist/export-jobs/export-jobs.contract.d.ts +828 -818
  18. package/dist/export-jobs/export-jobs.contract.d.ts.map +1 -1
  19. package/dist/exports-events/exports-events.schemas.d.ts +2 -2
  20. package/dist/index.d.ts +4 -0
  21. package/dist/index.d.ts.map +1 -1
  22. package/dist/index.js +4 -0
  23. package/dist/jobs/jobs.contract.d.ts +9534 -9522
  24. package/dist/jobs/jobs.contract.d.ts.map +1 -1
  25. package/dist/jobs/jobs.contract.js +9 -0
  26. package/dist/notifications/notifications.contract.d.ts +42 -42
  27. package/dist/outreach/__tests__/outreach-claim.test.js +1 -0
  28. package/dist/outreach/__tests__/outreach-contract-additions.spec.d.ts +2 -0
  29. package/dist/outreach/__tests__/outreach-contract-additions.spec.d.ts.map +1 -0
  30. package/dist/outreach/__tests__/outreach-contract-additions.spec.js +78 -0
  31. package/dist/outreach/__tests__/outreach-requests.contract.spec.d.ts +2 -0
  32. package/dist/outreach/__tests__/outreach-requests.contract.spec.d.ts.map +1 -0
  33. package/dist/outreach/__tests__/outreach-requests.contract.spec.js +64 -0
  34. package/dist/outreach/__tests__/outreach.schemas.test.js +5 -1
  35. package/dist/outreach/outreach-requests.contract.d.ts +1108 -0
  36. package/dist/outreach/outreach-requests.contract.d.ts.map +1 -0
  37. package/dist/outreach/outreach-requests.contract.js +134 -0
  38. package/dist/outreach/outreach-requests.schemas.d.ts +49 -0
  39. package/dist/outreach/outreach-requests.schemas.d.ts.map +1 -0
  40. package/dist/outreach/outreach-requests.schemas.js +60 -0
  41. package/dist/outreach/outreach.contract.d.ts +145 -135
  42. package/dist/outreach/outreach.contract.d.ts.map +1 -1
  43. package/dist/outreach/outreach.schemas.d.ts +15 -10
  44. package/dist/outreach/outreach.schemas.d.ts.map +1 -1
  45. package/dist/outreach/outreach.schemas.js +5 -2
  46. package/package.json +1 -1
@@ -92,11 +92,11 @@ export declare const TrendDataPointSchema: z.ZodObject<{
92
92
  date: z.ZodString;
93
93
  value: z.ZodNumber;
94
94
  }, "strip", z.ZodTypeAny, {
95
- value: number;
96
95
  date: string;
97
- }, {
98
96
  value: number;
97
+ }, {
99
98
  date: string;
99
+ value: number;
100
100
  }>;
101
101
  /**
102
102
  * FA Pipeline Widget - Collaboration pipeline overview
@@ -108,11 +108,11 @@ export declare const FaPipelineWidgetSchema: z.ZodObject<{
108
108
  recentCount: z.ZodNumber;
109
109
  }, "strip", z.ZodTypeAny, {
110
110
  total: number;
111
- byStatus: Partial<Record<"ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT", number>>;
111
+ byStatus: Partial<Record<"ACTIVE" | "APPROVED" | "INACTIVE" | "REJECTED" | "PENDING_APPROVAL" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT", number>>;
112
112
  recentCount: number;
113
113
  }, {
114
114
  total: number;
115
- byStatus: Partial<Record<"ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT", number>>;
115
+ byStatus: Partial<Record<"ACTIVE" | "APPROVED" | "INACTIVE" | "REJECTED" | "PENDING_APPROVAL" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT", number>>;
116
116
  recentCount: number;
117
117
  }>;
118
118
  summary: z.ZodObject<{
@@ -132,7 +132,7 @@ export declare const FaPipelineWidgetSchema: z.ZodObject<{
132
132
  };
133
133
  collaborations: {
134
134
  total: number;
135
- byStatus: Partial<Record<"ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT", number>>;
135
+ byStatus: Partial<Record<"ACTIVE" | "APPROVED" | "INACTIVE" | "REJECTED" | "PENDING_APPROVAL" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT", number>>;
136
136
  recentCount: number;
137
137
  };
138
138
  }, {
@@ -142,7 +142,7 @@ export declare const FaPipelineWidgetSchema: z.ZodObject<{
142
142
  };
143
143
  collaborations: {
144
144
  total: number;
145
- byStatus: Partial<Record<"ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT", number>>;
145
+ byStatus: Partial<Record<"ACTIVE" | "APPROVED" | "INACTIVE" | "REJECTED" | "PENDING_APPROVAL" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT", number>>;
146
146
  recentCount: number;
147
147
  };
148
148
  }>;
@@ -156,12 +156,12 @@ export declare const FaClientsWidgetSchema: z.ZodObject<{
156
156
  pendingVerification: z.ZodNumber;
157
157
  }, "strip", z.ZodTypeAny, {
158
158
  total: number;
159
- byStatus: Partial<Record<"BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION", number>>;
159
+ byStatus: Partial<Record<"APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED", number>>;
160
160
  recentlyAdded: number;
161
161
  pendingVerification: number;
162
162
  }, {
163
163
  total: number;
164
- byStatus: Partial<Record<"BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION", number>>;
164
+ byStatus: Partial<Record<"APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED", number>>;
165
165
  recentlyAdded: number;
166
166
  pendingVerification: number;
167
167
  }>;
@@ -206,11 +206,11 @@ export declare const FaCallHistoryWidgetSchema: z.ZodObject<{
206
206
  }, "strip", z.ZodTypeAny, {
207
207
  conversionRate: number;
208
208
  totalCalls: number;
209
+ performanceScore: number;
210
+ performanceTier: "high" | "medium" | "low" | "new";
209
211
  callsToday: number;
210
212
  averageRatingToday: number;
211
213
  efficientCallsToday: number;
212
- performanceScore: number;
213
- performanceTier: "high" | "medium" | "low" | "new";
214
214
  ratingBreakdown: Record<import("../common/call-rating.schema").CallRating, number>;
215
215
  assignmentCalls: number;
216
216
  followUpCalls: number;
@@ -222,11 +222,11 @@ export declare const FaCallHistoryWidgetSchema: z.ZodObject<{
222
222
  }, {
223
223
  conversionRate: number;
224
224
  totalCalls: number;
225
+ performanceScore: number;
226
+ performanceTier: "high" | "medium" | "low" | "new";
225
227
  callsToday: number;
226
228
  averageRatingToday: number;
227
229
  efficientCallsToday: number;
228
- performanceScore: number;
229
- performanceTier: "high" | "medium" | "low" | "new";
230
230
  ratingBreakdown: Record<import("../common/call-rating.schema").CallRating, number>;
231
231
  assignmentCalls: number;
232
232
  followUpCalls: number;
@@ -252,10 +252,10 @@ export declare const AllAgentsCallHistoryQuerySchema: z.ZodObject<{
252
252
  field: z.ZodEnum<["agentName", "activesFaActive", "activesFaOthers", "activesSaActive", "activesSaOthers", "bookingsFaAttempts", "bookingsFaFailed", "bookingsFaInProgress", "bookingsFaCompleted", "bookingsFaCancelled", "bookingsSaAttempts", "bookingsSaFailed", "bookingsSaInProgress", "bookingsSaCompleted", "bookingsSaCancelled", "callsOnDate", "efficientCalls", "conversionsOnDate", "dailyConversionRate", "performanceScore", "ownResearchLeadsAdded", "jobsCreatedOnDate", "jobsTotalOpenPositions", "jobsFilledPositions", "workersAddedToday", "consentLeadsActioned", "consentConsented", "consentDeclined", "consentWrongNumber", "consentSnoozed", "offersSent", "offersBooked"]>;
253
253
  order: z.ZodEnum<["ASC", "DESC"]>;
254
254
  }, "strip", z.ZodTypeAny, {
255
- field: "performanceScore" | "ownResearchLeadsAdded" | "agentName" | "activesFaActive" | "activesFaOthers" | "activesSaActive" | "activesSaOthers" | "bookingsFaAttempts" | "bookingsFaFailed" | "bookingsFaInProgress" | "bookingsFaCompleted" | "bookingsFaCancelled" | "bookingsSaAttempts" | "bookingsSaFailed" | "bookingsSaInProgress" | "bookingsSaCompleted" | "bookingsSaCancelled" | "callsOnDate" | "efficientCalls" | "conversionsOnDate" | "dailyConversionRate" | "jobsCreatedOnDate" | "jobsTotalOpenPositions" | "jobsFilledPositions" | "workersAddedToday" | "consentLeadsActioned" | "consentConsented" | "consentDeclined" | "consentWrongNumber" | "consentSnoozed" | "offersSent" | "offersBooked";
255
+ field: "agentName" | "performanceScore" | "ownResearchLeadsAdded" | "activesFaActive" | "activesFaOthers" | "activesSaActive" | "activesSaOthers" | "bookingsFaAttempts" | "bookingsFaFailed" | "bookingsFaInProgress" | "bookingsFaCompleted" | "bookingsFaCancelled" | "bookingsSaAttempts" | "bookingsSaFailed" | "bookingsSaInProgress" | "bookingsSaCompleted" | "bookingsSaCancelled" | "callsOnDate" | "efficientCalls" | "conversionsOnDate" | "dailyConversionRate" | "jobsCreatedOnDate" | "jobsTotalOpenPositions" | "jobsFilledPositions" | "workersAddedToday" | "consentLeadsActioned" | "consentConsented" | "consentDeclined" | "consentWrongNumber" | "consentSnoozed" | "offersSent" | "offersBooked";
256
256
  order: "ASC" | "DESC";
257
257
  }, {
258
- field: "performanceScore" | "ownResearchLeadsAdded" | "agentName" | "activesFaActive" | "activesFaOthers" | "activesSaActive" | "activesSaOthers" | "bookingsFaAttempts" | "bookingsFaFailed" | "bookingsFaInProgress" | "bookingsFaCompleted" | "bookingsFaCancelled" | "bookingsSaAttempts" | "bookingsSaFailed" | "bookingsSaInProgress" | "bookingsSaCompleted" | "bookingsSaCancelled" | "callsOnDate" | "efficientCalls" | "conversionsOnDate" | "dailyConversionRate" | "jobsCreatedOnDate" | "jobsTotalOpenPositions" | "jobsFilledPositions" | "workersAddedToday" | "consentLeadsActioned" | "consentConsented" | "consentDeclined" | "consentWrongNumber" | "consentSnoozed" | "offersSent" | "offersBooked";
258
+ field: "agentName" | "performanceScore" | "ownResearchLeadsAdded" | "activesFaActive" | "activesFaOthers" | "activesSaActive" | "activesSaOthers" | "bookingsFaAttempts" | "bookingsFaFailed" | "bookingsFaInProgress" | "bookingsFaCompleted" | "bookingsFaCancelled" | "bookingsSaAttempts" | "bookingsSaFailed" | "bookingsSaInProgress" | "bookingsSaCompleted" | "bookingsSaCancelled" | "callsOnDate" | "efficientCalls" | "conversionsOnDate" | "dailyConversionRate" | "jobsCreatedOnDate" | "jobsTotalOpenPositions" | "jobsFilledPositions" | "workersAddedToday" | "consentLeadsActioned" | "consentConsented" | "consentDeclined" | "consentWrongNumber" | "consentSnoozed" | "offersSent" | "offersBooked";
259
259
  order: "ASC" | "DESC";
260
260
  }>, "many">>>>;
261
261
  search: z.ZodOptional<z.ZodString>;
@@ -264,34 +264,34 @@ export declare const AllAgentsCallHistoryQuerySchema: z.ZodObject<{
264
264
  minScore: z.ZodOptional<z.ZodNumber>;
265
265
  maxScore: z.ZodOptional<z.ZodNumber>;
266
266
  }, "strip", z.ZodTypeAny, {
267
- limit: number;
268
- page: number;
269
267
  status: "ACTIVE" | "INACTIVE";
268
+ page: number;
269
+ limit: number;
270
+ startDate?: string | undefined;
270
271
  sort?: {
271
- field: "performanceScore" | "ownResearchLeadsAdded" | "agentName" | "activesFaActive" | "activesFaOthers" | "activesSaActive" | "activesSaOthers" | "bookingsFaAttempts" | "bookingsFaFailed" | "bookingsFaInProgress" | "bookingsFaCompleted" | "bookingsFaCancelled" | "bookingsSaAttempts" | "bookingsSaFailed" | "bookingsSaInProgress" | "bookingsSaCompleted" | "bookingsSaCancelled" | "callsOnDate" | "efficientCalls" | "conversionsOnDate" | "dailyConversionRate" | "jobsCreatedOnDate" | "jobsTotalOpenPositions" | "jobsFilledPositions" | "workersAddedToday" | "consentLeadsActioned" | "consentConsented" | "consentDeclined" | "consentWrongNumber" | "consentSnoozed" | "offersSent" | "offersBooked";
272
+ field: "agentName" | "performanceScore" | "ownResearchLeadsAdded" | "activesFaActive" | "activesFaOthers" | "activesSaActive" | "activesSaOthers" | "bookingsFaAttempts" | "bookingsFaFailed" | "bookingsFaInProgress" | "bookingsFaCompleted" | "bookingsFaCancelled" | "bookingsSaAttempts" | "bookingsSaFailed" | "bookingsSaInProgress" | "bookingsSaCompleted" | "bookingsSaCancelled" | "callsOnDate" | "efficientCalls" | "conversionsOnDate" | "dailyConversionRate" | "jobsCreatedOnDate" | "jobsTotalOpenPositions" | "jobsFilledPositions" | "workersAddedToday" | "consentLeadsActioned" | "consentConsented" | "consentDeclined" | "consentWrongNumber" | "consentSnoozed" | "offersSent" | "offersBooked";
272
273
  order: "ASC" | "DESC";
273
274
  }[] | null | undefined;
274
- search?: string | undefined;
275
+ endDate?: string | undefined;
275
276
  date?: string | undefined;
276
- startDate?: string | undefined;
277
277
  office?: string[] | undefined;
278
- endDate?: string | undefined;
278
+ search?: string | undefined;
279
279
  view?: "SA" | "FA" | undefined;
280
280
  minScore?: number | undefined;
281
281
  maxScore?: number | undefined;
282
282
  }, {
283
- limit?: number | undefined;
284
- page?: number | undefined;
283
+ status?: "ACTIVE" | "INACTIVE" | undefined;
284
+ startDate?: string | undefined;
285
285
  sort?: {
286
- field: "performanceScore" | "ownResearchLeadsAdded" | "agentName" | "activesFaActive" | "activesFaOthers" | "activesSaActive" | "activesSaOthers" | "bookingsFaAttempts" | "bookingsFaFailed" | "bookingsFaInProgress" | "bookingsFaCompleted" | "bookingsFaCancelled" | "bookingsSaAttempts" | "bookingsSaFailed" | "bookingsSaInProgress" | "bookingsSaCompleted" | "bookingsSaCancelled" | "callsOnDate" | "efficientCalls" | "conversionsOnDate" | "dailyConversionRate" | "jobsCreatedOnDate" | "jobsTotalOpenPositions" | "jobsFilledPositions" | "workersAddedToday" | "consentLeadsActioned" | "consentConsented" | "consentDeclined" | "consentWrongNumber" | "consentSnoozed" | "offersSent" | "offersBooked";
286
+ field: "agentName" | "performanceScore" | "ownResearchLeadsAdded" | "activesFaActive" | "activesFaOthers" | "activesSaActive" | "activesSaOthers" | "bookingsFaAttempts" | "bookingsFaFailed" | "bookingsFaInProgress" | "bookingsFaCompleted" | "bookingsFaCancelled" | "bookingsSaAttempts" | "bookingsSaFailed" | "bookingsSaInProgress" | "bookingsSaCompleted" | "bookingsSaCancelled" | "callsOnDate" | "efficientCalls" | "conversionsOnDate" | "dailyConversionRate" | "jobsCreatedOnDate" | "jobsTotalOpenPositions" | "jobsFilledPositions" | "workersAddedToday" | "consentLeadsActioned" | "consentConsented" | "consentDeclined" | "consentWrongNumber" | "consentSnoozed" | "offersSent" | "offersBooked";
287
287
  order: "ASC" | "DESC";
288
288
  }[] | null | undefined;
289
- status?: "ACTIVE" | "INACTIVE" | undefined;
290
- search?: string | undefined;
289
+ page?: number | undefined;
290
+ limit?: number | undefined;
291
+ endDate?: string | undefined;
291
292
  date?: string | undefined;
292
- startDate?: string | undefined;
293
293
  office?: string[] | undefined;
294
- endDate?: string | undefined;
294
+ search?: string | undefined;
295
295
  view?: "SA" | "FA" | undefined;
296
296
  minScore?: number | undefined;
297
297
  maxScore?: number | undefined;
@@ -1267,11 +1267,11 @@ export declare const AdminSaAggregateSchema: z.ZodObject<{
1267
1267
  pendingConfirmation: number;
1268
1268
  upcomingStarts: number;
1269
1269
  };
1270
- agentCount: number;
1271
1270
  workers: {
1272
1271
  total: number;
1273
1272
  addedToday: number;
1274
1273
  };
1274
+ agentCount: number;
1275
1275
  }, {
1276
1276
  actives: {
1277
1277
  total: number;
@@ -1307,11 +1307,11 @@ export declare const AdminSaAggregateSchema: z.ZodObject<{
1307
1307
  pendingConfirmation: number;
1308
1308
  upcomingStarts: number;
1309
1309
  };
1310
- agentCount: number;
1311
1310
  workers: {
1312
1311
  total: number;
1313
1312
  addedToday: number;
1314
1313
  };
1314
+ agentCount: number;
1315
1315
  }>;
1316
1316
  /**
1317
1317
  * Actives trend data for charts
@@ -1564,14 +1564,14 @@ export declare const JobsTrendSchema: z.ZodObject<{
1564
1564
  fillRate: z.ZodNumber;
1565
1565
  }, "strip", z.ZodTypeAny, {
1566
1566
  date: string;
1567
- fillRate: number;
1568
1567
  created: number;
1568
+ fillRate: number;
1569
1569
  openPositions: number;
1570
1570
  filled: number;
1571
1571
  }, {
1572
1572
  date: string;
1573
- fillRate: number;
1574
1573
  created: number;
1574
+ fillRate: number;
1575
1575
  openPositions: number;
1576
1576
  filled: number;
1577
1577
  }>, "many">;
@@ -1600,8 +1600,8 @@ export declare const JobsTrendSchema: z.ZodObject<{
1600
1600
  };
1601
1601
  data: {
1602
1602
  date: string;
1603
- fillRate: number;
1604
1603
  created: number;
1604
+ fillRate: number;
1605
1605
  openPositions: number;
1606
1606
  filled: number;
1607
1607
  }[];
@@ -1614,8 +1614,8 @@ export declare const JobsTrendSchema: z.ZodObject<{
1614
1614
  };
1615
1615
  data: {
1616
1616
  date: string;
1617
- fillRate: number;
1618
1617
  created: number;
1618
+ fillRate: number;
1619
1619
  openPositions: number;
1620
1620
  filled: number;
1621
1621
  }[];
@@ -1630,42 +1630,42 @@ export declare const CollaborationsTrendSchema: z.ZodObject<{
1630
1630
  byStatus: z.ZodRecord<z.ZodEnum<["ACTIVE", "INACTIVE", "PENDING_APPROVAL", "REJECTED", "APPROVED", "CHANGED_COMPANY", "CHANGED_AGENT", "CHANGED_COMPANY_AND_AGENT"]>, z.ZodNumber>;
1631
1631
  }, "strip", z.ZodTypeAny, {
1632
1632
  date: string;
1633
- byStatus: Partial<Record<"ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT", number>>;
1634
1633
  created: number;
1634
+ byStatus: Partial<Record<"ACTIVE" | "APPROVED" | "INACTIVE" | "REJECTED" | "PENDING_APPROVAL" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT", number>>;
1635
1635
  }, {
1636
1636
  date: string;
1637
- byStatus: Partial<Record<"ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT", number>>;
1638
1637
  created: number;
1638
+ byStatus: Partial<Record<"ACTIVE" | "APPROVED" | "INACTIVE" | "REJECTED" | "PENDING_APPROVAL" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT", number>>;
1639
1639
  }>, "many">;
1640
1640
  summary: z.ZodObject<{
1641
1641
  totalCreated: z.ZodNumber;
1642
1642
  activeCount: z.ZodNumber;
1643
1643
  }, "strip", z.ZodTypeAny, {
1644
- totalCreated: number;
1645
1644
  activeCount: number;
1646
- }, {
1647
1645
  totalCreated: number;
1646
+ }, {
1648
1647
  activeCount: number;
1648
+ totalCreated: number;
1649
1649
  }>;
1650
1650
  }, "strip", z.ZodTypeAny, {
1651
1651
  summary: {
1652
- totalCreated: number;
1653
1652
  activeCount: number;
1653
+ totalCreated: number;
1654
1654
  };
1655
1655
  data: {
1656
1656
  date: string;
1657
- byStatus: Partial<Record<"ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT", number>>;
1658
1657
  created: number;
1658
+ byStatus: Partial<Record<"ACTIVE" | "APPROVED" | "INACTIVE" | "REJECTED" | "PENDING_APPROVAL" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT", number>>;
1659
1659
  }[];
1660
1660
  }, {
1661
1661
  summary: {
1662
- totalCreated: number;
1663
1662
  activeCount: number;
1663
+ totalCreated: number;
1664
1664
  };
1665
1665
  data: {
1666
1666
  date: string;
1667
- byStatus: Partial<Record<"ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT", number>>;
1668
1667
  created: number;
1668
+ byStatus: Partial<Record<"ACTIVE" | "APPROVED" | "INACTIVE" | "REJECTED" | "PENDING_APPROVAL" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT", number>>;
1669
1669
  }[];
1670
1670
  }>;
1671
1671
  /**
@@ -1678,41 +1678,41 @@ export declare const ProofsWidgetSchema: z.ZodObject<{
1678
1678
  byType: z.ZodRecord<z.ZodEnum<["FACEBOOK", "TELEGRAM", "WHATSAPP", "VIBER", "OTHER"]>, z.ZodNumber>;
1679
1679
  }, "strip", z.ZodTypeAny, {
1680
1680
  total: number;
1681
- byType: Partial<Record<"FACEBOOK" | "TELEGRAM" | "WHATSAPP" | "VIBER" | "OTHER", number>>;
1681
+ byType: Partial<Record<"OTHER" | "WHATSAPP" | "FACEBOOK" | "TELEGRAM" | "VIBER", number>>;
1682
1682
  }, {
1683
1683
  total: number;
1684
- byType: Partial<Record<"FACEBOOK" | "TELEGRAM" | "WHATSAPP" | "VIBER" | "OTHER", number>>;
1684
+ byType: Partial<Record<"OTHER" | "WHATSAPP" | "FACEBOOK" | "TELEGRAM" | "VIBER", number>>;
1685
1685
  }>;
1686
1686
  booking: z.ZodObject<{
1687
1687
  total: z.ZodNumber;
1688
1688
  byType: z.ZodRecord<z.ZodEnum<["CONFIRMATION", "DISTANCE", "MORNING_STATUS"]>, z.ZodNumber>;
1689
1689
  }, "strip", z.ZodTypeAny, {
1690
1690
  total: number;
1691
- byType: Partial<Record<"CONFIRMATION" | "DISTANCE" | "MORNING_STATUS", number>>;
1691
+ byType: Partial<Record<"DISTANCE" | "CONFIRMATION" | "MORNING_STATUS", number>>;
1692
1692
  }, {
1693
1693
  total: number;
1694
- byType: Partial<Record<"CONFIRMATION" | "DISTANCE" | "MORNING_STATUS", number>>;
1694
+ byType: Partial<Record<"DISTANCE" | "CONFIRMATION" | "MORNING_STATUS", number>>;
1695
1695
  }>;
1696
1696
  total: z.ZodNumber;
1697
1697
  }, "strip", z.ZodTypeAny, {
1698
+ booking: {
1699
+ total: number;
1700
+ byType: Partial<Record<"DISTANCE" | "CONFIRMATION" | "MORNING_STATUS", number>>;
1701
+ };
1698
1702
  total: number;
1699
1703
  post: {
1700
1704
  total: number;
1701
- byType: Partial<Record<"FACEBOOK" | "TELEGRAM" | "WHATSAPP" | "VIBER" | "OTHER", number>>;
1705
+ byType: Partial<Record<"OTHER" | "WHATSAPP" | "FACEBOOK" | "TELEGRAM" | "VIBER", number>>;
1702
1706
  };
1707
+ }, {
1703
1708
  booking: {
1704
1709
  total: number;
1705
- byType: Partial<Record<"CONFIRMATION" | "DISTANCE" | "MORNING_STATUS", number>>;
1710
+ byType: Partial<Record<"DISTANCE" | "CONFIRMATION" | "MORNING_STATUS", number>>;
1706
1711
  };
1707
- }, {
1708
1712
  total: number;
1709
1713
  post: {
1710
1714
  total: number;
1711
- byType: Partial<Record<"FACEBOOK" | "TELEGRAM" | "WHATSAPP" | "VIBER" | "OTHER", number>>;
1712
- };
1713
- booking: {
1714
- total: number;
1715
- byType: Partial<Record<"CONFIRMATION" | "DISTANCE" | "MORNING_STATUS", number>>;
1715
+ byType: Partial<Record<"OTHER" | "WHATSAPP" | "FACEBOOK" | "TELEGRAM" | "VIBER", number>>;
1716
1716
  };
1717
1717
  }>;
1718
1718
  /**
@@ -1727,43 +1727,43 @@ export declare const ProofsTrendSchema: z.ZodObject<{
1727
1727
  byType: z.ZodRecord<z.ZodEnum<["FACEBOOK", "TELEGRAM", "WHATSAPP", "VIBER", "OTHER"]>, z.ZodNumber>;
1728
1728
  }, "strip", z.ZodTypeAny, {
1729
1729
  total: number;
1730
- byType: Partial<Record<"FACEBOOK" | "TELEGRAM" | "WHATSAPP" | "VIBER" | "OTHER", number>>;
1730
+ byType: Partial<Record<"OTHER" | "WHATSAPP" | "FACEBOOK" | "TELEGRAM" | "VIBER", number>>;
1731
1731
  }, {
1732
1732
  total: number;
1733
- byType: Partial<Record<"FACEBOOK" | "TELEGRAM" | "WHATSAPP" | "VIBER" | "OTHER", number>>;
1733
+ byType: Partial<Record<"OTHER" | "WHATSAPP" | "FACEBOOK" | "TELEGRAM" | "VIBER", number>>;
1734
1734
  }>;
1735
1735
  booking: z.ZodObject<{
1736
1736
  total: z.ZodNumber;
1737
1737
  byType: z.ZodRecord<z.ZodEnum<["CONFIRMATION", "DISTANCE", "MORNING_STATUS"]>, z.ZodNumber>;
1738
1738
  }, "strip", z.ZodTypeAny, {
1739
1739
  total: number;
1740
- byType: Partial<Record<"CONFIRMATION" | "DISTANCE" | "MORNING_STATUS", number>>;
1740
+ byType: Partial<Record<"DISTANCE" | "CONFIRMATION" | "MORNING_STATUS", number>>;
1741
1741
  }, {
1742
1742
  total: number;
1743
- byType: Partial<Record<"CONFIRMATION" | "DISTANCE" | "MORNING_STATUS", number>>;
1743
+ byType: Partial<Record<"DISTANCE" | "CONFIRMATION" | "MORNING_STATUS", number>>;
1744
1744
  }>;
1745
1745
  total: z.ZodNumber;
1746
1746
  }, "strip", z.ZodTypeAny, {
1747
1747
  date: string;
1748
+ booking: {
1749
+ total: number;
1750
+ byType: Partial<Record<"DISTANCE" | "CONFIRMATION" | "MORNING_STATUS", number>>;
1751
+ };
1748
1752
  total: number;
1749
1753
  post: {
1750
1754
  total: number;
1751
- byType: Partial<Record<"FACEBOOK" | "TELEGRAM" | "WHATSAPP" | "VIBER" | "OTHER", number>>;
1755
+ byType: Partial<Record<"OTHER" | "WHATSAPP" | "FACEBOOK" | "TELEGRAM" | "VIBER", number>>;
1752
1756
  };
1757
+ }, {
1758
+ date: string;
1753
1759
  booking: {
1754
1760
  total: number;
1755
- byType: Partial<Record<"CONFIRMATION" | "DISTANCE" | "MORNING_STATUS", number>>;
1761
+ byType: Partial<Record<"DISTANCE" | "CONFIRMATION" | "MORNING_STATUS", number>>;
1756
1762
  };
1757
- }, {
1758
- date: string;
1759
1763
  total: number;
1760
1764
  post: {
1761
1765
  total: number;
1762
- byType: Partial<Record<"FACEBOOK" | "TELEGRAM" | "WHATSAPP" | "VIBER" | "OTHER", number>>;
1763
- };
1764
- booking: {
1765
- total: number;
1766
- byType: Partial<Record<"CONFIRMATION" | "DISTANCE" | "MORNING_STATUS", number>>;
1766
+ byType: Partial<Record<"OTHER" | "WHATSAPP" | "FACEBOOK" | "TELEGRAM" | "VIBER", number>>;
1767
1767
  };
1768
1768
  }>, "many">;
1769
1769
  summary: z.ZodObject<{
@@ -1773,51 +1773,51 @@ export declare const ProofsTrendSchema: z.ZodObject<{
1773
1773
  averageDaily: z.ZodNumber;
1774
1774
  }, "strip", z.ZodTypeAny, {
1775
1775
  total: number;
1776
- averageDaily: number;
1777
1776
  totalPost: number;
1778
1777
  totalBooking: number;
1778
+ averageDaily: number;
1779
1779
  }, {
1780
1780
  total: number;
1781
- averageDaily: number;
1782
1781
  totalPost: number;
1783
1782
  totalBooking: number;
1783
+ averageDaily: number;
1784
1784
  }>;
1785
1785
  }, "strip", z.ZodTypeAny, {
1786
1786
  summary: {
1787
1787
  total: number;
1788
- averageDaily: number;
1789
1788
  totalPost: number;
1790
1789
  totalBooking: number;
1790
+ averageDaily: number;
1791
1791
  };
1792
1792
  data: {
1793
1793
  date: string;
1794
- total: number;
1795
- post: {
1794
+ booking: {
1796
1795
  total: number;
1797
- byType: Partial<Record<"FACEBOOK" | "TELEGRAM" | "WHATSAPP" | "VIBER" | "OTHER", number>>;
1796
+ byType: Partial<Record<"DISTANCE" | "CONFIRMATION" | "MORNING_STATUS", number>>;
1798
1797
  };
1799
- booking: {
1798
+ total: number;
1799
+ post: {
1800
1800
  total: number;
1801
- byType: Partial<Record<"CONFIRMATION" | "DISTANCE" | "MORNING_STATUS", number>>;
1801
+ byType: Partial<Record<"OTHER" | "WHATSAPP" | "FACEBOOK" | "TELEGRAM" | "VIBER", number>>;
1802
1802
  };
1803
1803
  }[];
1804
1804
  }, {
1805
1805
  summary: {
1806
1806
  total: number;
1807
- averageDaily: number;
1808
1807
  totalPost: number;
1809
1808
  totalBooking: number;
1809
+ averageDaily: number;
1810
1810
  };
1811
1811
  data: {
1812
1812
  date: string;
1813
- total: number;
1814
- post: {
1813
+ booking: {
1815
1814
  total: number;
1816
- byType: Partial<Record<"FACEBOOK" | "TELEGRAM" | "WHATSAPP" | "VIBER" | "OTHER", number>>;
1815
+ byType: Partial<Record<"DISTANCE" | "CONFIRMATION" | "MORNING_STATUS", number>>;
1817
1816
  };
1818
- booking: {
1817
+ total: number;
1818
+ post: {
1819
1819
  total: number;
1820
- byType: Partial<Record<"CONFIRMATION" | "DISTANCE" | "MORNING_STATUS", number>>;
1820
+ byType: Partial<Record<"OTHER" | "WHATSAPP" | "FACEBOOK" | "TELEGRAM" | "VIBER", number>>;
1821
1821
  };
1822
1822
  }[];
1823
1823
  }>;
@@ -1836,11 +1836,11 @@ export declare const LeadActivityTrendSchema: z.ZodObject<{
1836
1836
  }, "strip", z.ZodTypeAny, {
1837
1837
  date: string;
1838
1838
  total: number;
1839
- byOutcome: Partial<Record<"CONSENTED" | "DECLINED" | "WRONG_NUMBER" | "SNOOZED" | "OFFER_SENT" | "BOOKED" | "BOOKING_CANCELLED" | "TOO_FAR" | "NOT_INTERESTED", number>>;
1839
+ byOutcome: Partial<Record<"CONSENTED" | "NOT_INTERESTED" | "BOOKED" | "WRONG_NUMBER" | "TOO_FAR" | "OFFER_SENT" | "DECLINED" | "SNOOZED" | "BOOKING_CANCELLED", number>>;
1840
1840
  }, {
1841
1841
  date: string;
1842
1842
  total: number;
1843
- byOutcome: Partial<Record<"CONSENTED" | "DECLINED" | "WRONG_NUMBER" | "SNOOZED" | "OFFER_SENT" | "BOOKED" | "BOOKING_CANCELLED" | "TOO_FAR" | "NOT_INTERESTED", number>>;
1843
+ byOutcome: Partial<Record<"CONSENTED" | "NOT_INTERESTED" | "BOOKED" | "WRONG_NUMBER" | "TOO_FAR" | "OFFER_SENT" | "DECLINED" | "SNOOZED" | "BOOKING_CANCELLED", number>>;
1844
1844
  }>, "many">;
1845
1845
  summary: z.ZodObject<{
1846
1846
  averageDaily: z.ZodNumber;
@@ -1864,7 +1864,7 @@ export declare const LeadActivityTrendSchema: z.ZodObject<{
1864
1864
  data: {
1865
1865
  date: string;
1866
1866
  total: number;
1867
- byOutcome: Partial<Record<"CONSENTED" | "DECLINED" | "WRONG_NUMBER" | "SNOOZED" | "OFFER_SENT" | "BOOKED" | "BOOKING_CANCELLED" | "TOO_FAR" | "NOT_INTERESTED", number>>;
1867
+ byOutcome: Partial<Record<"CONSENTED" | "NOT_INTERESTED" | "BOOKED" | "WRONG_NUMBER" | "TOO_FAR" | "OFFER_SENT" | "DECLINED" | "SNOOZED" | "BOOKING_CANCELLED", number>>;
1868
1868
  }[];
1869
1869
  }, {
1870
1870
  summary: {
@@ -1875,12 +1875,13 @@ export declare const LeadActivityTrendSchema: z.ZodObject<{
1875
1875
  data: {
1876
1876
  date: string;
1877
1877
  total: number;
1878
- byOutcome: Partial<Record<"CONSENTED" | "DECLINED" | "WRONG_NUMBER" | "SNOOZED" | "OFFER_SENT" | "BOOKED" | "BOOKING_CANCELLED" | "TOO_FAR" | "NOT_INTERESTED", number>>;
1878
+ byOutcome: Partial<Record<"CONSENTED" | "NOT_INTERESTED" | "BOOKED" | "WRONG_NUMBER" | "TOO_FAR" | "OFFER_SENT" | "DECLINED" | "SNOOZED" | "BOOKING_CANCELLED", number>>;
1879
1879
  }[];
1880
1880
  }>;
1881
1881
  export type LeadActivityTrend = z.infer<typeof LeadActivityTrendSchema>;
1882
1882
  export declare const dashboardWidgetsContract: {
1883
1883
  getFaPipeline: {
1884
+ description: "Returns collaboration pipeline overview for First Agent dashboard";
1884
1885
  query: z.ZodObject<{
1885
1886
  date: z.ZodOptional<z.ZodString>;
1886
1887
  office: z.ZodOptional<z.ZodString>;
@@ -1892,7 +1893,6 @@ export declare const dashboardWidgetsContract: {
1892
1893
  office?: string | undefined;
1893
1894
  }>;
1894
1895
  summary: "Get FA collaboration pipeline widget data";
1895
- description: "Returns collaboration pipeline overview for First Agent dashboard";
1896
1896
  method: "GET";
1897
1897
  path: "/widgets/fa/pipeline";
1898
1898
  responses: {
@@ -1903,11 +1903,11 @@ export declare const dashboardWidgetsContract: {
1903
1903
  recentCount: z.ZodNumber;
1904
1904
  }, "strip", z.ZodTypeAny, {
1905
1905
  total: number;
1906
- byStatus: Partial<Record<"ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT", number>>;
1906
+ byStatus: Partial<Record<"ACTIVE" | "APPROVED" | "INACTIVE" | "REJECTED" | "PENDING_APPROVAL" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT", number>>;
1907
1907
  recentCount: number;
1908
1908
  }, {
1909
1909
  total: number;
1910
- byStatus: Partial<Record<"ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT", number>>;
1910
+ byStatus: Partial<Record<"ACTIVE" | "APPROVED" | "INACTIVE" | "REJECTED" | "PENDING_APPROVAL" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT", number>>;
1911
1911
  recentCount: number;
1912
1912
  }>;
1913
1913
  summary: z.ZodObject<{
@@ -1927,7 +1927,7 @@ export declare const dashboardWidgetsContract: {
1927
1927
  };
1928
1928
  collaborations: {
1929
1929
  total: number;
1930
- byStatus: Partial<Record<"ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT", number>>;
1930
+ byStatus: Partial<Record<"ACTIVE" | "APPROVED" | "INACTIVE" | "REJECTED" | "PENDING_APPROVAL" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT", number>>;
1931
1931
  recentCount: number;
1932
1932
  };
1933
1933
  }, {
@@ -1937,13 +1937,14 @@ export declare const dashboardWidgetsContract: {
1937
1937
  };
1938
1938
  collaborations: {
1939
1939
  total: number;
1940
- byStatus: Partial<Record<"ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT", number>>;
1940
+ byStatus: Partial<Record<"ACTIVE" | "APPROVED" | "INACTIVE" | "REJECTED" | "PENDING_APPROVAL" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT", number>>;
1941
1941
  recentCount: number;
1942
1942
  };
1943
1943
  }>;
1944
1944
  };
1945
1945
  };
1946
1946
  getFaClients: {
1947
+ description: "Returns client portfolio summary for First Agent dashboard";
1947
1948
  query: z.ZodObject<{
1948
1949
  date: z.ZodOptional<z.ZodString>;
1949
1950
  office: z.ZodOptional<z.ZodString>;
@@ -1955,7 +1956,6 @@ export declare const dashboardWidgetsContract: {
1955
1956
  office?: string | undefined;
1956
1957
  }>;
1957
1958
  summary: "Get FA clients widget data";
1958
- description: "Returns client portfolio summary for First Agent dashboard";
1959
1959
  method: "GET";
1960
1960
  path: "/widgets/fa/clients";
1961
1961
  responses: {
@@ -1966,18 +1966,19 @@ export declare const dashboardWidgetsContract: {
1966
1966
  pendingVerification: z.ZodNumber;
1967
1967
  }, "strip", z.ZodTypeAny, {
1968
1968
  total: number;
1969
- byStatus: Partial<Record<"BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION", number>>;
1969
+ byStatus: Partial<Record<"APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED", number>>;
1970
1970
  recentlyAdded: number;
1971
1971
  pendingVerification: number;
1972
1972
  }, {
1973
1973
  total: number;
1974
- byStatus: Partial<Record<"BLACKLISTED" | "APPROVED" | "PENDING_VERIFICATION", number>>;
1974
+ byStatus: Partial<Record<"APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED", number>>;
1975
1975
  recentlyAdded: number;
1976
1976
  pendingVerification: number;
1977
1977
  }>;
1978
1978
  };
1979
1979
  };
1980
1980
  getFaCheckings: {
1981
+ description: "Returns collaboration checking status for First Agent dashboard";
1981
1982
  query: z.ZodObject<{
1982
1983
  date: z.ZodOptional<z.ZodString>;
1983
1984
  office: z.ZodOptional<z.ZodString>;
@@ -1989,7 +1990,6 @@ export declare const dashboardWidgetsContract: {
1989
1990
  office?: string | undefined;
1990
1991
  }>;
1991
1992
  summary: "Get FA collaboration checkings widget data";
1992
- description: "Returns collaboration checking status for First Agent dashboard";
1993
1993
  method: "GET";
1994
1994
  path: "/widgets/fa/checkings";
1995
1995
  responses: {
@@ -2012,6 +2012,7 @@ export declare const dashboardWidgetsContract: {
2012
2012
  };
2013
2013
  };
2014
2014
  getFaCallHistory: {
2015
+ description: "Returns call performance metrics for First Agent dashboard";
2015
2016
  query: z.ZodObject<{
2016
2017
  date: z.ZodOptional<z.ZodString>;
2017
2018
  office: z.ZodOptional<z.ZodString>;
@@ -2023,7 +2024,6 @@ export declare const dashboardWidgetsContract: {
2023
2024
  office?: string | undefined;
2024
2025
  }>;
2025
2026
  summary: "Get FA call history widget data";
2026
- description: "Returns call performance metrics for First Agent dashboard";
2027
2027
  method: "GET";
2028
2028
  path: "/widgets/fa/call-history";
2029
2029
  responses: {
@@ -2046,11 +2046,11 @@ export declare const dashboardWidgetsContract: {
2046
2046
  }, "strip", z.ZodTypeAny, {
2047
2047
  conversionRate: number;
2048
2048
  totalCalls: number;
2049
+ performanceScore: number;
2050
+ performanceTier: "high" | "medium" | "low" | "new";
2049
2051
  callsToday: number;
2050
2052
  averageRatingToday: number;
2051
2053
  efficientCallsToday: number;
2052
- performanceScore: number;
2053
- performanceTier: "high" | "medium" | "low" | "new";
2054
2054
  ratingBreakdown: Record<import("../common/call-rating.schema").CallRating, number>;
2055
2055
  assignmentCalls: number;
2056
2056
  followUpCalls: number;
@@ -2062,11 +2062,11 @@ export declare const dashboardWidgetsContract: {
2062
2062
  }, {
2063
2063
  conversionRate: number;
2064
2064
  totalCalls: number;
2065
+ performanceScore: number;
2066
+ performanceTier: "high" | "medium" | "low" | "new";
2065
2067
  callsToday: number;
2066
2068
  averageRatingToday: number;
2067
2069
  efficientCallsToday: number;
2068
- performanceScore: number;
2069
- performanceTier: "high" | "medium" | "low" | "new";
2070
2070
  ratingBreakdown: Record<import("../common/call-rating.schema").CallRating, number>;
2071
2071
  assignmentCalls: number;
2072
2072
  followUpCalls: number;
@@ -2079,6 +2079,7 @@ export declare const dashboardWidgetsContract: {
2079
2079
  };
2080
2080
  };
2081
2081
  getFaActives: {
2082
+ description: "Returns today's active workers from FA perspective";
2082
2083
  query: z.ZodObject<{
2083
2084
  date: z.ZodOptional<z.ZodString>;
2084
2085
  office: z.ZodOptional<z.ZodString>;
@@ -2090,7 +2091,6 @@ export declare const dashboardWidgetsContract: {
2090
2091
  office?: string | undefined;
2091
2092
  }>;
2092
2093
  summary: "Get FA actives widget data";
2093
- description: "Returns today's active workers from FA perspective";
2094
2094
  method: "GET";
2095
2095
  path: "/widgets/fa/actives";
2096
2096
  responses: {
@@ -2119,6 +2119,7 @@ export declare const dashboardWidgetsContract: {
2119
2119
  };
2120
2120
  };
2121
2121
  getFaBookings: {
2122
+ description: "Returns booking management summary for First Agent dashboard";
2122
2123
  query: z.ZodObject<{
2123
2124
  date: z.ZodOptional<z.ZodString>;
2124
2125
  office: z.ZodOptional<z.ZodString>;
@@ -2130,7 +2131,6 @@ export declare const dashboardWidgetsContract: {
2130
2131
  office?: string | undefined;
2131
2132
  }>;
2132
2133
  summary: "Get FA bookings widget data";
2133
- description: "Returns booking management summary for First Agent dashboard";
2134
2134
  method: "GET";
2135
2135
  path: "/widgets/fa/bookings";
2136
2136
  responses: {
@@ -2281,6 +2281,7 @@ export declare const dashboardWidgetsContract: {
2281
2281
  };
2282
2282
  };
2283
2283
  getFaJobs: {
2284
+ description: "Returns job metrics (created, open positions, filled, transitions) for First Agent dashboard";
2284
2285
  query: z.ZodObject<{
2285
2286
  date: z.ZodOptional<z.ZodString>;
2286
2287
  office: z.ZodOptional<z.ZodString>;
@@ -2292,7 +2293,6 @@ export declare const dashboardWidgetsContract: {
2292
2293
  office?: string | undefined;
2293
2294
  }>;
2294
2295
  summary: "Get FA jobs widget data";
2295
- description: "Returns job metrics (created, open positions, filled, transitions) for First Agent dashboard";
2296
2296
  method: "GET";
2297
2297
  path: "/widgets/fa/jobs";
2298
2298
  responses: {
@@ -2330,6 +2330,7 @@ export declare const dashboardWidgetsContract: {
2330
2330
  };
2331
2331
  };
2332
2332
  getProofs: {
2333
+ description: "Counts proofs (split POST/BOOKING) where forUserId = current user and proofDate = the selected date.";
2333
2334
  query: z.ZodObject<{
2334
2335
  date: z.ZodOptional<z.ZodString>;
2335
2336
  office: z.ZodOptional<z.ZodString>;
@@ -2341,7 +2342,6 @@ export declare const dashboardWidgetsContract: {
2341
2342
  office?: string | undefined;
2342
2343
  }>;
2343
2344
  summary: "Get the current user’s proofs widget data";
2344
- description: "Counts proofs (split POST/BOOKING) where forUserId = current user and proofDate = the selected date.";
2345
2345
  method: "GET";
2346
2346
  path: "/widgets/proofs";
2347
2347
  responses: {
@@ -2351,46 +2351,47 @@ export declare const dashboardWidgetsContract: {
2351
2351
  byType: z.ZodRecord<z.ZodEnum<["FACEBOOK", "TELEGRAM", "WHATSAPP", "VIBER", "OTHER"]>, z.ZodNumber>;
2352
2352
  }, "strip", z.ZodTypeAny, {
2353
2353
  total: number;
2354
- byType: Partial<Record<"FACEBOOK" | "TELEGRAM" | "WHATSAPP" | "VIBER" | "OTHER", number>>;
2354
+ byType: Partial<Record<"OTHER" | "WHATSAPP" | "FACEBOOK" | "TELEGRAM" | "VIBER", number>>;
2355
2355
  }, {
2356
2356
  total: number;
2357
- byType: Partial<Record<"FACEBOOK" | "TELEGRAM" | "WHATSAPP" | "VIBER" | "OTHER", number>>;
2357
+ byType: Partial<Record<"OTHER" | "WHATSAPP" | "FACEBOOK" | "TELEGRAM" | "VIBER", number>>;
2358
2358
  }>;
2359
2359
  booking: z.ZodObject<{
2360
2360
  total: z.ZodNumber;
2361
2361
  byType: z.ZodRecord<z.ZodEnum<["CONFIRMATION", "DISTANCE", "MORNING_STATUS"]>, z.ZodNumber>;
2362
2362
  }, "strip", z.ZodTypeAny, {
2363
2363
  total: number;
2364
- byType: Partial<Record<"CONFIRMATION" | "DISTANCE" | "MORNING_STATUS", number>>;
2364
+ byType: Partial<Record<"DISTANCE" | "CONFIRMATION" | "MORNING_STATUS", number>>;
2365
2365
  }, {
2366
2366
  total: number;
2367
- byType: Partial<Record<"CONFIRMATION" | "DISTANCE" | "MORNING_STATUS", number>>;
2367
+ byType: Partial<Record<"DISTANCE" | "CONFIRMATION" | "MORNING_STATUS", number>>;
2368
2368
  }>;
2369
2369
  total: z.ZodNumber;
2370
2370
  }, "strip", z.ZodTypeAny, {
2371
+ booking: {
2372
+ total: number;
2373
+ byType: Partial<Record<"DISTANCE" | "CONFIRMATION" | "MORNING_STATUS", number>>;
2374
+ };
2371
2375
  total: number;
2372
2376
  post: {
2373
2377
  total: number;
2374
- byType: Partial<Record<"FACEBOOK" | "TELEGRAM" | "WHATSAPP" | "VIBER" | "OTHER", number>>;
2378
+ byType: Partial<Record<"OTHER" | "WHATSAPP" | "FACEBOOK" | "TELEGRAM" | "VIBER", number>>;
2375
2379
  };
2380
+ }, {
2376
2381
  booking: {
2377
2382
  total: number;
2378
- byType: Partial<Record<"CONFIRMATION" | "DISTANCE" | "MORNING_STATUS", number>>;
2383
+ byType: Partial<Record<"DISTANCE" | "CONFIRMATION" | "MORNING_STATUS", number>>;
2379
2384
  };
2380
- }, {
2381
2385
  total: number;
2382
2386
  post: {
2383
2387
  total: number;
2384
- byType: Partial<Record<"FACEBOOK" | "TELEGRAM" | "WHATSAPP" | "VIBER" | "OTHER", number>>;
2385
- };
2386
- booking: {
2387
- total: number;
2388
- byType: Partial<Record<"CONFIRMATION" | "DISTANCE" | "MORNING_STATUS", number>>;
2388
+ byType: Partial<Record<"OTHER" | "WHATSAPP" | "FACEBOOK" | "TELEGRAM" | "VIBER", number>>;
2389
2389
  };
2390
2390
  }>;
2391
2391
  };
2392
2392
  };
2393
2393
  getProofsTrend: {
2394
+ description: "Per-date POST/BOOKING proof counts (by proofDate) over a range.";
2394
2395
  query: z.ZodObject<{
2395
2396
  startDate: z.ZodString;
2396
2397
  endDate: z.ZodString;
@@ -2402,7 +2403,6 @@ export declare const dashboardWidgetsContract: {
2402
2403
  endDate: string;
2403
2404
  }>;
2404
2405
  summary: "Get the current user’s proofs trend";
2405
- description: "Per-date POST/BOOKING proof counts (by proofDate) over a range.";
2406
2406
  method: "GET";
2407
2407
  path: "/trends/proofs";
2408
2408
  responses: {
@@ -2414,43 +2414,43 @@ export declare const dashboardWidgetsContract: {
2414
2414
  byType: z.ZodRecord<z.ZodEnum<["FACEBOOK", "TELEGRAM", "WHATSAPP", "VIBER", "OTHER"]>, z.ZodNumber>;
2415
2415
  }, "strip", z.ZodTypeAny, {
2416
2416
  total: number;
2417
- byType: Partial<Record<"FACEBOOK" | "TELEGRAM" | "WHATSAPP" | "VIBER" | "OTHER", number>>;
2417
+ byType: Partial<Record<"OTHER" | "WHATSAPP" | "FACEBOOK" | "TELEGRAM" | "VIBER", number>>;
2418
2418
  }, {
2419
2419
  total: number;
2420
- byType: Partial<Record<"FACEBOOK" | "TELEGRAM" | "WHATSAPP" | "VIBER" | "OTHER", number>>;
2420
+ byType: Partial<Record<"OTHER" | "WHATSAPP" | "FACEBOOK" | "TELEGRAM" | "VIBER", number>>;
2421
2421
  }>;
2422
2422
  booking: z.ZodObject<{
2423
2423
  total: z.ZodNumber;
2424
2424
  byType: z.ZodRecord<z.ZodEnum<["CONFIRMATION", "DISTANCE", "MORNING_STATUS"]>, z.ZodNumber>;
2425
2425
  }, "strip", z.ZodTypeAny, {
2426
2426
  total: number;
2427
- byType: Partial<Record<"CONFIRMATION" | "DISTANCE" | "MORNING_STATUS", number>>;
2427
+ byType: Partial<Record<"DISTANCE" | "CONFIRMATION" | "MORNING_STATUS", number>>;
2428
2428
  }, {
2429
2429
  total: number;
2430
- byType: Partial<Record<"CONFIRMATION" | "DISTANCE" | "MORNING_STATUS", number>>;
2430
+ byType: Partial<Record<"DISTANCE" | "CONFIRMATION" | "MORNING_STATUS", number>>;
2431
2431
  }>;
2432
2432
  total: z.ZodNumber;
2433
2433
  }, "strip", z.ZodTypeAny, {
2434
2434
  date: string;
2435
+ booking: {
2436
+ total: number;
2437
+ byType: Partial<Record<"DISTANCE" | "CONFIRMATION" | "MORNING_STATUS", number>>;
2438
+ };
2435
2439
  total: number;
2436
2440
  post: {
2437
2441
  total: number;
2438
- byType: Partial<Record<"FACEBOOK" | "TELEGRAM" | "WHATSAPP" | "VIBER" | "OTHER", number>>;
2442
+ byType: Partial<Record<"OTHER" | "WHATSAPP" | "FACEBOOK" | "TELEGRAM" | "VIBER", number>>;
2439
2443
  };
2444
+ }, {
2445
+ date: string;
2440
2446
  booking: {
2441
2447
  total: number;
2442
- byType: Partial<Record<"CONFIRMATION" | "DISTANCE" | "MORNING_STATUS", number>>;
2448
+ byType: Partial<Record<"DISTANCE" | "CONFIRMATION" | "MORNING_STATUS", number>>;
2443
2449
  };
2444
- }, {
2445
- date: string;
2446
2450
  total: number;
2447
2451
  post: {
2448
2452
  total: number;
2449
- byType: Partial<Record<"FACEBOOK" | "TELEGRAM" | "WHATSAPP" | "VIBER" | "OTHER", number>>;
2450
- };
2451
- booking: {
2452
- total: number;
2453
- byType: Partial<Record<"CONFIRMATION" | "DISTANCE" | "MORNING_STATUS", number>>;
2453
+ byType: Partial<Record<"OTHER" | "WHATSAPP" | "FACEBOOK" | "TELEGRAM" | "VIBER", number>>;
2454
2454
  };
2455
2455
  }>, "many">;
2456
2456
  summary: z.ZodObject<{
@@ -2460,57 +2460,58 @@ export declare const dashboardWidgetsContract: {
2460
2460
  averageDaily: z.ZodNumber;
2461
2461
  }, "strip", z.ZodTypeAny, {
2462
2462
  total: number;
2463
- averageDaily: number;
2464
2463
  totalPost: number;
2465
2464
  totalBooking: number;
2465
+ averageDaily: number;
2466
2466
  }, {
2467
2467
  total: number;
2468
- averageDaily: number;
2469
2468
  totalPost: number;
2470
2469
  totalBooking: number;
2470
+ averageDaily: number;
2471
2471
  }>;
2472
2472
  }, "strip", z.ZodTypeAny, {
2473
2473
  summary: {
2474
2474
  total: number;
2475
- averageDaily: number;
2476
2475
  totalPost: number;
2477
2476
  totalBooking: number;
2477
+ averageDaily: number;
2478
2478
  };
2479
2479
  data: {
2480
2480
  date: string;
2481
- total: number;
2482
- post: {
2481
+ booking: {
2483
2482
  total: number;
2484
- byType: Partial<Record<"FACEBOOK" | "TELEGRAM" | "WHATSAPP" | "VIBER" | "OTHER", number>>;
2483
+ byType: Partial<Record<"DISTANCE" | "CONFIRMATION" | "MORNING_STATUS", number>>;
2485
2484
  };
2486
- booking: {
2485
+ total: number;
2486
+ post: {
2487
2487
  total: number;
2488
- byType: Partial<Record<"CONFIRMATION" | "DISTANCE" | "MORNING_STATUS", number>>;
2488
+ byType: Partial<Record<"OTHER" | "WHATSAPP" | "FACEBOOK" | "TELEGRAM" | "VIBER", number>>;
2489
2489
  };
2490
2490
  }[];
2491
2491
  }, {
2492
2492
  summary: {
2493
2493
  total: number;
2494
- averageDaily: number;
2495
2494
  totalPost: number;
2496
2495
  totalBooking: number;
2496
+ averageDaily: number;
2497
2497
  };
2498
2498
  data: {
2499
2499
  date: string;
2500
- total: number;
2501
- post: {
2500
+ booking: {
2502
2501
  total: number;
2503
- byType: Partial<Record<"FACEBOOK" | "TELEGRAM" | "WHATSAPP" | "VIBER" | "OTHER", number>>;
2502
+ byType: Partial<Record<"DISTANCE" | "CONFIRMATION" | "MORNING_STATUS", number>>;
2504
2503
  };
2505
- booking: {
2504
+ total: number;
2505
+ post: {
2506
2506
  total: number;
2507
- byType: Partial<Record<"CONFIRMATION" | "DISTANCE" | "MORNING_STATUS", number>>;
2507
+ byType: Partial<Record<"OTHER" | "WHATSAPP" | "FACEBOOK" | "TELEGRAM" | "VIBER", number>>;
2508
2508
  };
2509
2509
  }[];
2510
2510
  }>;
2511
2511
  };
2512
2512
  };
2513
2513
  getAdminProofs: {
2514
+ description: "Counts proofs (split POST/BOOKING) for all agents in the office/CASL scope on a date.";
2514
2515
  query: z.ZodObject<{
2515
2516
  date: z.ZodOptional<z.ZodString>;
2516
2517
  office: z.ZodOptional<z.ZodString>;
@@ -2522,7 +2523,6 @@ export declare const dashboardWidgetsContract: {
2522
2523
  office?: string | undefined;
2523
2524
  }>;
2524
2525
  summary: "Get aggregate proofs total across in-scope agents (Admin)";
2525
- description: "Counts proofs (split POST/BOOKING) for all agents in the office/CASL scope on a date.";
2526
2526
  method: "GET";
2527
2527
  path: "/widgets/admin/proofs";
2528
2528
  responses: {
@@ -2532,46 +2532,47 @@ export declare const dashboardWidgetsContract: {
2532
2532
  byType: z.ZodRecord<z.ZodEnum<["FACEBOOK", "TELEGRAM", "WHATSAPP", "VIBER", "OTHER"]>, z.ZodNumber>;
2533
2533
  }, "strip", z.ZodTypeAny, {
2534
2534
  total: number;
2535
- byType: Partial<Record<"FACEBOOK" | "TELEGRAM" | "WHATSAPP" | "VIBER" | "OTHER", number>>;
2535
+ byType: Partial<Record<"OTHER" | "WHATSAPP" | "FACEBOOK" | "TELEGRAM" | "VIBER", number>>;
2536
2536
  }, {
2537
2537
  total: number;
2538
- byType: Partial<Record<"FACEBOOK" | "TELEGRAM" | "WHATSAPP" | "VIBER" | "OTHER", number>>;
2538
+ byType: Partial<Record<"OTHER" | "WHATSAPP" | "FACEBOOK" | "TELEGRAM" | "VIBER", number>>;
2539
2539
  }>;
2540
2540
  booking: z.ZodObject<{
2541
2541
  total: z.ZodNumber;
2542
2542
  byType: z.ZodRecord<z.ZodEnum<["CONFIRMATION", "DISTANCE", "MORNING_STATUS"]>, z.ZodNumber>;
2543
2543
  }, "strip", z.ZodTypeAny, {
2544
2544
  total: number;
2545
- byType: Partial<Record<"CONFIRMATION" | "DISTANCE" | "MORNING_STATUS", number>>;
2545
+ byType: Partial<Record<"DISTANCE" | "CONFIRMATION" | "MORNING_STATUS", number>>;
2546
2546
  }, {
2547
2547
  total: number;
2548
- byType: Partial<Record<"CONFIRMATION" | "DISTANCE" | "MORNING_STATUS", number>>;
2548
+ byType: Partial<Record<"DISTANCE" | "CONFIRMATION" | "MORNING_STATUS", number>>;
2549
2549
  }>;
2550
2550
  total: z.ZodNumber;
2551
2551
  }, "strip", z.ZodTypeAny, {
2552
+ booking: {
2553
+ total: number;
2554
+ byType: Partial<Record<"DISTANCE" | "CONFIRMATION" | "MORNING_STATUS", number>>;
2555
+ };
2552
2556
  total: number;
2553
2557
  post: {
2554
2558
  total: number;
2555
- byType: Partial<Record<"FACEBOOK" | "TELEGRAM" | "WHATSAPP" | "VIBER" | "OTHER", number>>;
2559
+ byType: Partial<Record<"OTHER" | "WHATSAPP" | "FACEBOOK" | "TELEGRAM" | "VIBER", number>>;
2556
2560
  };
2561
+ }, {
2557
2562
  booking: {
2558
2563
  total: number;
2559
- byType: Partial<Record<"CONFIRMATION" | "DISTANCE" | "MORNING_STATUS", number>>;
2564
+ byType: Partial<Record<"DISTANCE" | "CONFIRMATION" | "MORNING_STATUS", number>>;
2560
2565
  };
2561
- }, {
2562
2566
  total: number;
2563
2567
  post: {
2564
2568
  total: number;
2565
- byType: Partial<Record<"FACEBOOK" | "TELEGRAM" | "WHATSAPP" | "VIBER" | "OTHER", number>>;
2566
- };
2567
- booking: {
2568
- total: number;
2569
- byType: Partial<Record<"CONFIRMATION" | "DISTANCE" | "MORNING_STATUS", number>>;
2569
+ byType: Partial<Record<"OTHER" | "WHATSAPP" | "FACEBOOK" | "TELEGRAM" | "VIBER", number>>;
2570
2570
  };
2571
2571
  }>;
2572
2572
  };
2573
2573
  };
2574
2574
  getAdminProofsTrend: {
2575
+ description: "Per-date POST/BOOKING proof totals across the office’s agents.";
2575
2576
  query: z.ZodObject<{
2576
2577
  startDate: z.ZodString;
2577
2578
  endDate: z.ZodString;
@@ -2587,7 +2588,6 @@ export declare const dashboardWidgetsContract: {
2587
2588
  office?: string | undefined;
2588
2589
  }>;
2589
2590
  summary: "Get aggregate proofs trend across in-scope agents (Admin)";
2590
- description: "Per-date POST/BOOKING proof totals across the office’s agents.";
2591
2591
  method: "GET";
2592
2592
  path: "/trends/admin/proofs";
2593
2593
  responses: {
@@ -2599,43 +2599,43 @@ export declare const dashboardWidgetsContract: {
2599
2599
  byType: z.ZodRecord<z.ZodEnum<["FACEBOOK", "TELEGRAM", "WHATSAPP", "VIBER", "OTHER"]>, z.ZodNumber>;
2600
2600
  }, "strip", z.ZodTypeAny, {
2601
2601
  total: number;
2602
- byType: Partial<Record<"FACEBOOK" | "TELEGRAM" | "WHATSAPP" | "VIBER" | "OTHER", number>>;
2602
+ byType: Partial<Record<"OTHER" | "WHATSAPP" | "FACEBOOK" | "TELEGRAM" | "VIBER", number>>;
2603
2603
  }, {
2604
2604
  total: number;
2605
- byType: Partial<Record<"FACEBOOK" | "TELEGRAM" | "WHATSAPP" | "VIBER" | "OTHER", number>>;
2605
+ byType: Partial<Record<"OTHER" | "WHATSAPP" | "FACEBOOK" | "TELEGRAM" | "VIBER", number>>;
2606
2606
  }>;
2607
2607
  booking: z.ZodObject<{
2608
2608
  total: z.ZodNumber;
2609
2609
  byType: z.ZodRecord<z.ZodEnum<["CONFIRMATION", "DISTANCE", "MORNING_STATUS"]>, z.ZodNumber>;
2610
2610
  }, "strip", z.ZodTypeAny, {
2611
2611
  total: number;
2612
- byType: Partial<Record<"CONFIRMATION" | "DISTANCE" | "MORNING_STATUS", number>>;
2612
+ byType: Partial<Record<"DISTANCE" | "CONFIRMATION" | "MORNING_STATUS", number>>;
2613
2613
  }, {
2614
2614
  total: number;
2615
- byType: Partial<Record<"CONFIRMATION" | "DISTANCE" | "MORNING_STATUS", number>>;
2615
+ byType: Partial<Record<"DISTANCE" | "CONFIRMATION" | "MORNING_STATUS", number>>;
2616
2616
  }>;
2617
2617
  total: z.ZodNumber;
2618
2618
  }, "strip", z.ZodTypeAny, {
2619
2619
  date: string;
2620
+ booking: {
2621
+ total: number;
2622
+ byType: Partial<Record<"DISTANCE" | "CONFIRMATION" | "MORNING_STATUS", number>>;
2623
+ };
2620
2624
  total: number;
2621
2625
  post: {
2622
2626
  total: number;
2623
- byType: Partial<Record<"FACEBOOK" | "TELEGRAM" | "WHATSAPP" | "VIBER" | "OTHER", number>>;
2627
+ byType: Partial<Record<"OTHER" | "WHATSAPP" | "FACEBOOK" | "TELEGRAM" | "VIBER", number>>;
2624
2628
  };
2629
+ }, {
2630
+ date: string;
2625
2631
  booking: {
2626
2632
  total: number;
2627
- byType: Partial<Record<"CONFIRMATION" | "DISTANCE" | "MORNING_STATUS", number>>;
2633
+ byType: Partial<Record<"DISTANCE" | "CONFIRMATION" | "MORNING_STATUS", number>>;
2628
2634
  };
2629
- }, {
2630
- date: string;
2631
2635
  total: number;
2632
2636
  post: {
2633
2637
  total: number;
2634
- byType: Partial<Record<"FACEBOOK" | "TELEGRAM" | "WHATSAPP" | "VIBER" | "OTHER", number>>;
2635
- };
2636
- booking: {
2637
- total: number;
2638
- byType: Partial<Record<"CONFIRMATION" | "DISTANCE" | "MORNING_STATUS", number>>;
2638
+ byType: Partial<Record<"OTHER" | "WHATSAPP" | "FACEBOOK" | "TELEGRAM" | "VIBER", number>>;
2639
2639
  };
2640
2640
  }>, "many">;
2641
2641
  summary: z.ZodObject<{
@@ -2645,57 +2645,58 @@ export declare const dashboardWidgetsContract: {
2645
2645
  averageDaily: z.ZodNumber;
2646
2646
  }, "strip", z.ZodTypeAny, {
2647
2647
  total: number;
2648
- averageDaily: number;
2649
2648
  totalPost: number;
2650
2649
  totalBooking: number;
2650
+ averageDaily: number;
2651
2651
  }, {
2652
2652
  total: number;
2653
- averageDaily: number;
2654
2653
  totalPost: number;
2655
2654
  totalBooking: number;
2655
+ averageDaily: number;
2656
2656
  }>;
2657
2657
  }, "strip", z.ZodTypeAny, {
2658
2658
  summary: {
2659
2659
  total: number;
2660
- averageDaily: number;
2661
2660
  totalPost: number;
2662
2661
  totalBooking: number;
2662
+ averageDaily: number;
2663
2663
  };
2664
2664
  data: {
2665
2665
  date: string;
2666
- total: number;
2667
- post: {
2666
+ booking: {
2668
2667
  total: number;
2669
- byType: Partial<Record<"FACEBOOK" | "TELEGRAM" | "WHATSAPP" | "VIBER" | "OTHER", number>>;
2668
+ byType: Partial<Record<"DISTANCE" | "CONFIRMATION" | "MORNING_STATUS", number>>;
2670
2669
  };
2671
- booking: {
2670
+ total: number;
2671
+ post: {
2672
2672
  total: number;
2673
- byType: Partial<Record<"CONFIRMATION" | "DISTANCE" | "MORNING_STATUS", number>>;
2673
+ byType: Partial<Record<"OTHER" | "WHATSAPP" | "FACEBOOK" | "TELEGRAM" | "VIBER", number>>;
2674
2674
  };
2675
2675
  }[];
2676
2676
  }, {
2677
2677
  summary: {
2678
2678
  total: number;
2679
- averageDaily: number;
2680
2679
  totalPost: number;
2681
2680
  totalBooking: number;
2681
+ averageDaily: number;
2682
2682
  };
2683
2683
  data: {
2684
2684
  date: string;
2685
- total: number;
2686
- post: {
2685
+ booking: {
2687
2686
  total: number;
2688
- byType: Partial<Record<"FACEBOOK" | "TELEGRAM" | "WHATSAPP" | "VIBER" | "OTHER", number>>;
2687
+ byType: Partial<Record<"DISTANCE" | "CONFIRMATION" | "MORNING_STATUS", number>>;
2689
2688
  };
2690
- booking: {
2689
+ total: number;
2690
+ post: {
2691
2691
  total: number;
2692
- byType: Partial<Record<"CONFIRMATION" | "DISTANCE" | "MORNING_STATUS", number>>;
2692
+ byType: Partial<Record<"OTHER" | "WHATSAPP" | "FACEBOOK" | "TELEGRAM" | "VIBER", number>>;
2693
2693
  };
2694
2694
  }[];
2695
2695
  }>;
2696
2696
  };
2697
2697
  };
2698
2698
  getSaWorkers: {
2699
+ description: "Returns worker recruitment summary for Second Agent dashboard";
2699
2700
  query: z.ZodObject<{
2700
2701
  date: z.ZodOptional<z.ZodString>;
2701
2702
  office: z.ZodOptional<z.ZodString>;
@@ -2707,7 +2708,6 @@ export declare const dashboardWidgetsContract: {
2707
2708
  office?: string | undefined;
2708
2709
  }>;
2709
2710
  summary: "Get SA workers widget data";
2710
- description: "Returns worker recruitment summary for Second Agent dashboard";
2711
2711
  method: "GET";
2712
2712
  path: "/widgets/sa/workers";
2713
2713
  responses: {
@@ -2724,6 +2724,7 @@ export declare const dashboardWidgetsContract: {
2724
2724
  };
2725
2725
  };
2726
2726
  getSaBookings: {
2727
+ description: "Returns booking management summary for Second Agent dashboard";
2727
2728
  query: z.ZodObject<{
2728
2729
  date: z.ZodOptional<z.ZodString>;
2729
2730
  office: z.ZodOptional<z.ZodString>;
@@ -2735,7 +2736,6 @@ export declare const dashboardWidgetsContract: {
2735
2736
  office?: string | undefined;
2736
2737
  }>;
2737
2738
  summary: "Get SA bookings widget data";
2738
- description: "Returns booking management summary for Second Agent dashboard";
2739
2739
  method: "GET";
2740
2740
  path: "/widgets/sa/bookings";
2741
2741
  responses: {
@@ -2886,6 +2886,7 @@ export declare const dashboardWidgetsContract: {
2886
2886
  };
2887
2887
  };
2888
2888
  getSaActives: {
2889
+ description: "Returns today's active workers from SA perspective";
2889
2890
  query: z.ZodObject<{
2890
2891
  date: z.ZodOptional<z.ZodString>;
2891
2892
  office: z.ZodOptional<z.ZodString>;
@@ -2897,7 +2898,6 @@ export declare const dashboardWidgetsContract: {
2897
2898
  office?: string | undefined;
2898
2899
  }>;
2899
2900
  summary: "Get SA actives widget data";
2900
- description: "Returns today's active workers from SA perspective";
2901
2901
  method: "GET";
2902
2902
  path: "/widgets/sa/actives";
2903
2903
  responses: {
@@ -2926,8 +2926,8 @@ export declare const dashboardWidgetsContract: {
2926
2926
  };
2927
2927
  };
2928
2928
  getAccessibleOffices: {
2929
- summary: "Get offices accessible for dashboard filtering";
2930
2929
  description: "Returns offices the current user can view stats for. Admins see all offices; office managers see only their managed offices.";
2930
+ summary: "Get offices accessible for dashboard filtering";
2931
2931
  method: "GET";
2932
2932
  path: "/widgets/admin/accessible-offices";
2933
2933
  responses: {
@@ -2944,6 +2944,7 @@ export declare const dashboardWidgetsContract: {
2944
2944
  };
2945
2945
  };
2946
2946
  getAdminAgentStats: {
2947
+ description: "Returns paginated daily statistics (actives, bookings, performance) for all agents for a specific date.";
2947
2948
  query: z.ZodObject<{
2948
2949
  page: z.ZodDefault<z.ZodNumber>;
2949
2950
  } & {
@@ -2956,10 +2957,10 @@ export declare const dashboardWidgetsContract: {
2956
2957
  field: z.ZodEnum<["agentName", "activesFaActive", "activesFaOthers", "activesSaActive", "activesSaOthers", "bookingsFaAttempts", "bookingsFaFailed", "bookingsFaInProgress", "bookingsFaCompleted", "bookingsFaCancelled", "bookingsSaAttempts", "bookingsSaFailed", "bookingsSaInProgress", "bookingsSaCompleted", "bookingsSaCancelled", "callsOnDate", "efficientCalls", "conversionsOnDate", "dailyConversionRate", "performanceScore", "ownResearchLeadsAdded", "jobsCreatedOnDate", "jobsTotalOpenPositions", "jobsFilledPositions", "workersAddedToday", "consentLeadsActioned", "consentConsented", "consentDeclined", "consentWrongNumber", "consentSnoozed", "offersSent", "offersBooked"]>;
2957
2958
  order: z.ZodEnum<["ASC", "DESC"]>;
2958
2959
  }, "strip", z.ZodTypeAny, {
2959
- field: "performanceScore" | "ownResearchLeadsAdded" | "agentName" | "activesFaActive" | "activesFaOthers" | "activesSaActive" | "activesSaOthers" | "bookingsFaAttempts" | "bookingsFaFailed" | "bookingsFaInProgress" | "bookingsFaCompleted" | "bookingsFaCancelled" | "bookingsSaAttempts" | "bookingsSaFailed" | "bookingsSaInProgress" | "bookingsSaCompleted" | "bookingsSaCancelled" | "callsOnDate" | "efficientCalls" | "conversionsOnDate" | "dailyConversionRate" | "jobsCreatedOnDate" | "jobsTotalOpenPositions" | "jobsFilledPositions" | "workersAddedToday" | "consentLeadsActioned" | "consentConsented" | "consentDeclined" | "consentWrongNumber" | "consentSnoozed" | "offersSent" | "offersBooked";
2960
+ field: "agentName" | "performanceScore" | "ownResearchLeadsAdded" | "activesFaActive" | "activesFaOthers" | "activesSaActive" | "activesSaOthers" | "bookingsFaAttempts" | "bookingsFaFailed" | "bookingsFaInProgress" | "bookingsFaCompleted" | "bookingsFaCancelled" | "bookingsSaAttempts" | "bookingsSaFailed" | "bookingsSaInProgress" | "bookingsSaCompleted" | "bookingsSaCancelled" | "callsOnDate" | "efficientCalls" | "conversionsOnDate" | "dailyConversionRate" | "jobsCreatedOnDate" | "jobsTotalOpenPositions" | "jobsFilledPositions" | "workersAddedToday" | "consentLeadsActioned" | "consentConsented" | "consentDeclined" | "consentWrongNumber" | "consentSnoozed" | "offersSent" | "offersBooked";
2960
2961
  order: "ASC" | "DESC";
2961
2962
  }, {
2962
- field: "performanceScore" | "ownResearchLeadsAdded" | "agentName" | "activesFaActive" | "activesFaOthers" | "activesSaActive" | "activesSaOthers" | "bookingsFaAttempts" | "bookingsFaFailed" | "bookingsFaInProgress" | "bookingsFaCompleted" | "bookingsFaCancelled" | "bookingsSaAttempts" | "bookingsSaFailed" | "bookingsSaInProgress" | "bookingsSaCompleted" | "bookingsSaCancelled" | "callsOnDate" | "efficientCalls" | "conversionsOnDate" | "dailyConversionRate" | "jobsCreatedOnDate" | "jobsTotalOpenPositions" | "jobsFilledPositions" | "workersAddedToday" | "consentLeadsActioned" | "consentConsented" | "consentDeclined" | "consentWrongNumber" | "consentSnoozed" | "offersSent" | "offersBooked";
2963
+ field: "agentName" | "performanceScore" | "ownResearchLeadsAdded" | "activesFaActive" | "activesFaOthers" | "activesSaActive" | "activesSaOthers" | "bookingsFaAttempts" | "bookingsFaFailed" | "bookingsFaInProgress" | "bookingsFaCompleted" | "bookingsFaCancelled" | "bookingsSaAttempts" | "bookingsSaFailed" | "bookingsSaInProgress" | "bookingsSaCompleted" | "bookingsSaCancelled" | "callsOnDate" | "efficientCalls" | "conversionsOnDate" | "dailyConversionRate" | "jobsCreatedOnDate" | "jobsTotalOpenPositions" | "jobsFilledPositions" | "workersAddedToday" | "consentLeadsActioned" | "consentConsented" | "consentDeclined" | "consentWrongNumber" | "consentSnoozed" | "offersSent" | "offersBooked";
2963
2964
  order: "ASC" | "DESC";
2964
2965
  }>, "many">>>>;
2965
2966
  search: z.ZodOptional<z.ZodString>;
@@ -2968,40 +2969,39 @@ export declare const dashboardWidgetsContract: {
2968
2969
  minScore: z.ZodOptional<z.ZodNumber>;
2969
2970
  maxScore: z.ZodOptional<z.ZodNumber>;
2970
2971
  }, "strip", z.ZodTypeAny, {
2971
- limit: number;
2972
- page: number;
2973
2972
  status: "ACTIVE" | "INACTIVE";
2973
+ page: number;
2974
+ limit: number;
2975
+ startDate?: string | undefined;
2974
2976
  sort?: {
2975
- field: "performanceScore" | "ownResearchLeadsAdded" | "agentName" | "activesFaActive" | "activesFaOthers" | "activesSaActive" | "activesSaOthers" | "bookingsFaAttempts" | "bookingsFaFailed" | "bookingsFaInProgress" | "bookingsFaCompleted" | "bookingsFaCancelled" | "bookingsSaAttempts" | "bookingsSaFailed" | "bookingsSaInProgress" | "bookingsSaCompleted" | "bookingsSaCancelled" | "callsOnDate" | "efficientCalls" | "conversionsOnDate" | "dailyConversionRate" | "jobsCreatedOnDate" | "jobsTotalOpenPositions" | "jobsFilledPositions" | "workersAddedToday" | "consentLeadsActioned" | "consentConsented" | "consentDeclined" | "consentWrongNumber" | "consentSnoozed" | "offersSent" | "offersBooked";
2977
+ field: "agentName" | "performanceScore" | "ownResearchLeadsAdded" | "activesFaActive" | "activesFaOthers" | "activesSaActive" | "activesSaOthers" | "bookingsFaAttempts" | "bookingsFaFailed" | "bookingsFaInProgress" | "bookingsFaCompleted" | "bookingsFaCancelled" | "bookingsSaAttempts" | "bookingsSaFailed" | "bookingsSaInProgress" | "bookingsSaCompleted" | "bookingsSaCancelled" | "callsOnDate" | "efficientCalls" | "conversionsOnDate" | "dailyConversionRate" | "jobsCreatedOnDate" | "jobsTotalOpenPositions" | "jobsFilledPositions" | "workersAddedToday" | "consentLeadsActioned" | "consentConsented" | "consentDeclined" | "consentWrongNumber" | "consentSnoozed" | "offersSent" | "offersBooked";
2976
2978
  order: "ASC" | "DESC";
2977
2979
  }[] | null | undefined;
2978
- search?: string | undefined;
2980
+ endDate?: string | undefined;
2979
2981
  date?: string | undefined;
2980
- startDate?: string | undefined;
2981
2982
  office?: string[] | undefined;
2982
- endDate?: string | undefined;
2983
+ search?: string | undefined;
2983
2984
  view?: "SA" | "FA" | undefined;
2984
2985
  minScore?: number | undefined;
2985
2986
  maxScore?: number | undefined;
2986
2987
  }, {
2987
- limit?: number | undefined;
2988
- page?: number | undefined;
2988
+ status?: "ACTIVE" | "INACTIVE" | undefined;
2989
+ startDate?: string | undefined;
2989
2990
  sort?: {
2990
- field: "performanceScore" | "ownResearchLeadsAdded" | "agentName" | "activesFaActive" | "activesFaOthers" | "activesSaActive" | "activesSaOthers" | "bookingsFaAttempts" | "bookingsFaFailed" | "bookingsFaInProgress" | "bookingsFaCompleted" | "bookingsFaCancelled" | "bookingsSaAttempts" | "bookingsSaFailed" | "bookingsSaInProgress" | "bookingsSaCompleted" | "bookingsSaCancelled" | "callsOnDate" | "efficientCalls" | "conversionsOnDate" | "dailyConversionRate" | "jobsCreatedOnDate" | "jobsTotalOpenPositions" | "jobsFilledPositions" | "workersAddedToday" | "consentLeadsActioned" | "consentConsented" | "consentDeclined" | "consentWrongNumber" | "consentSnoozed" | "offersSent" | "offersBooked";
2991
+ field: "agentName" | "performanceScore" | "ownResearchLeadsAdded" | "activesFaActive" | "activesFaOthers" | "activesSaActive" | "activesSaOthers" | "bookingsFaAttempts" | "bookingsFaFailed" | "bookingsFaInProgress" | "bookingsFaCompleted" | "bookingsFaCancelled" | "bookingsSaAttempts" | "bookingsSaFailed" | "bookingsSaInProgress" | "bookingsSaCompleted" | "bookingsSaCancelled" | "callsOnDate" | "efficientCalls" | "conversionsOnDate" | "dailyConversionRate" | "jobsCreatedOnDate" | "jobsTotalOpenPositions" | "jobsFilledPositions" | "workersAddedToday" | "consentLeadsActioned" | "consentConsented" | "consentDeclined" | "consentWrongNumber" | "consentSnoozed" | "offersSent" | "offersBooked";
2991
2992
  order: "ASC" | "DESC";
2992
2993
  }[] | null | undefined;
2993
- status?: "ACTIVE" | "INACTIVE" | undefined;
2994
- search?: string | undefined;
2994
+ page?: number | undefined;
2995
+ limit?: number | undefined;
2996
+ endDate?: string | undefined;
2995
2997
  date?: string | undefined;
2996
- startDate?: string | undefined;
2997
2998
  office?: string[] | undefined;
2998
- endDate?: string | undefined;
2999
+ search?: string | undefined;
2999
3000
  view?: "SA" | "FA" | undefined;
3000
3001
  minScore?: number | undefined;
3001
3002
  maxScore?: number | undefined;
3002
3003
  }>;
3003
3004
  summary: "Get daily stats for all agents (Admin)";
3004
- description: "Returns paginated daily statistics (actives, bookings, performance) for all agents for a specific date.";
3005
3005
  method: "GET";
3006
3006
  path: "/widgets/admin/agent-stats";
3007
3007
  responses: {
@@ -3065,6 +3065,7 @@ export declare const dashboardWidgetsContract: {
3065
3065
  agentId: string;
3066
3066
  conversionRate: number;
3067
3067
  totalCalls: number;
3068
+ agentName: string;
3068
3069
  performanceScore: number;
3069
3070
  ratingBreakdown: Record<import("../common/call-rating.schema").CallRating, number>;
3070
3071
  assignmentCalls: number;
@@ -3074,7 +3075,6 @@ export declare const dashboardWidgetsContract: {
3074
3075
  ownResearchLeadsAdded: number;
3075
3076
  ownResearchLeadsExistingInSystem: number;
3076
3077
  ownResearchLeadsNew: number;
3077
- agentName: string;
3078
3078
  callsOnDate: number;
3079
3079
  efficientCalls: number;
3080
3080
  conversionsOnDate: number;
@@ -3090,7 +3090,6 @@ export declare const dashboardWidgetsContract: {
3090
3090
  consentSnoozed: number;
3091
3091
  offersSent: number;
3092
3092
  offersBooked: number;
3093
- averageRating: number;
3094
3093
  officeName: string | null;
3095
3094
  activesFaTotal: number;
3096
3095
  activesFaByStatus: Partial<Record<"ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | "OFF_SCHEDULE", number>>;
@@ -3102,12 +3101,13 @@ export declare const dashboardWidgetsContract: {
3102
3101
  bookingsSaTotal: number;
3103
3102
  bookingsSaByStatus: Partial<Record<import("../bookings/bookings.contract").BookingType, number>>;
3104
3103
  bookingsSaByCategory: Partial<Record<import("../bookings/bookings.contract").BookingCategory, number>>;
3104
+ averageRating: number;
3105
3105
  jobsTransitionCounts: Record<string, number>;
3106
3106
  jobsFillRate: number;
3107
3107
  jobsPositionsAdjusted: number;
3108
3108
  jobsOverbooked: number;
3109
- proofsPostByType: Partial<Record<"FACEBOOK" | "TELEGRAM" | "WHATSAPP" | "VIBER" | "OTHER", number>>;
3110
- proofsBookingByType: Partial<Record<"CONFIRMATION" | "DISTANCE" | "MORNING_STATUS", number>>;
3109
+ proofsPostByType: Partial<Record<"OTHER" | "WHATSAPP" | "FACEBOOK" | "TELEGRAM" | "VIBER", number>>;
3110
+ proofsBookingByType: Partial<Record<"DISTANCE" | "CONFIRMATION" | "MORNING_STATUS", number>>;
3111
3111
  bookingsFaOngoing?: number | undefined;
3112
3112
  bookingsFaStartingToday?: number | undefined;
3113
3113
  bookingsFaPendingConfirmation?: number | undefined;
@@ -3120,6 +3120,7 @@ export declare const dashboardWidgetsContract: {
3120
3120
  agentId: string;
3121
3121
  conversionRate: number;
3122
3122
  totalCalls: number;
3123
+ agentName: string;
3123
3124
  performanceScore: number;
3124
3125
  ratingBreakdown: Record<import("../common/call-rating.schema").CallRating, number>;
3125
3126
  assignmentCalls: number;
@@ -3129,7 +3130,6 @@ export declare const dashboardWidgetsContract: {
3129
3130
  ownResearchLeadsAdded: number;
3130
3131
  ownResearchLeadsExistingInSystem: number;
3131
3132
  ownResearchLeadsNew: number;
3132
- agentName: string;
3133
3133
  callsOnDate: number;
3134
3134
  efficientCalls: number;
3135
3135
  conversionsOnDate: number;
@@ -3145,7 +3145,6 @@ export declare const dashboardWidgetsContract: {
3145
3145
  consentSnoozed: number;
3146
3146
  offersSent: number;
3147
3147
  offersBooked: number;
3148
- averageRating: number;
3149
3148
  officeName: string | null;
3150
3149
  activesFaTotal: number;
3151
3150
  activesFaByStatus: Partial<Record<"ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | "OFF_SCHEDULE", number>>;
@@ -3157,12 +3156,13 @@ export declare const dashboardWidgetsContract: {
3157
3156
  bookingsSaTotal: number;
3158
3157
  bookingsSaByStatus: Partial<Record<import("../bookings/bookings.contract").BookingType, number>>;
3159
3158
  bookingsSaByCategory: Partial<Record<import("../bookings/bookings.contract").BookingCategory, number>>;
3159
+ averageRating: number;
3160
3160
  jobsTransitionCounts: Record<string, number>;
3161
3161
  jobsFillRate: number;
3162
3162
  jobsPositionsAdjusted: number;
3163
3163
  jobsOverbooked: number;
3164
- proofsPostByType: Partial<Record<"FACEBOOK" | "TELEGRAM" | "WHATSAPP" | "VIBER" | "OTHER", number>>;
3165
- proofsBookingByType: Partial<Record<"CONFIRMATION" | "DISTANCE" | "MORNING_STATUS", number>>;
3164
+ proofsPostByType: Partial<Record<"OTHER" | "WHATSAPP" | "FACEBOOK" | "TELEGRAM" | "VIBER", number>>;
3165
+ proofsBookingByType: Partial<Record<"DISTANCE" | "CONFIRMATION" | "MORNING_STATUS", number>>;
3166
3166
  bookingsFaOngoing?: number | undefined;
3167
3167
  bookingsFaStartingToday?: number | undefined;
3168
3168
  bookingsFaPendingConfirmation?: number | undefined;
@@ -3183,6 +3183,7 @@ export declare const dashboardWidgetsContract: {
3183
3183
  agentId: string;
3184
3184
  conversionRate: number;
3185
3185
  totalCalls: number;
3186
+ agentName: string;
3186
3187
  performanceScore: number;
3187
3188
  ratingBreakdown: Record<import("../common/call-rating.schema").CallRating, number>;
3188
3189
  assignmentCalls: number;
@@ -3192,7 +3193,6 @@ export declare const dashboardWidgetsContract: {
3192
3193
  ownResearchLeadsAdded: number;
3193
3194
  ownResearchLeadsExistingInSystem: number;
3194
3195
  ownResearchLeadsNew: number;
3195
- agentName: string;
3196
3196
  callsOnDate: number;
3197
3197
  efficientCalls: number;
3198
3198
  conversionsOnDate: number;
@@ -3208,7 +3208,6 @@ export declare const dashboardWidgetsContract: {
3208
3208
  consentSnoozed: number;
3209
3209
  offersSent: number;
3210
3210
  offersBooked: number;
3211
- averageRating: number;
3212
3211
  officeName: string | null;
3213
3212
  activesFaTotal: number;
3214
3213
  activesFaByStatus: Partial<Record<"ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | "OFF_SCHEDULE", number>>;
@@ -3220,12 +3219,13 @@ export declare const dashboardWidgetsContract: {
3220
3219
  bookingsSaTotal: number;
3221
3220
  bookingsSaByStatus: Partial<Record<import("../bookings/bookings.contract").BookingType, number>>;
3222
3221
  bookingsSaByCategory: Partial<Record<import("../bookings/bookings.contract").BookingCategory, number>>;
3222
+ averageRating: number;
3223
3223
  jobsTransitionCounts: Record<string, number>;
3224
3224
  jobsFillRate: number;
3225
3225
  jobsPositionsAdjusted: number;
3226
3226
  jobsOverbooked: number;
3227
- proofsPostByType: Partial<Record<"FACEBOOK" | "TELEGRAM" | "WHATSAPP" | "VIBER" | "OTHER", number>>;
3228
- proofsBookingByType: Partial<Record<"CONFIRMATION" | "DISTANCE" | "MORNING_STATUS", number>>;
3227
+ proofsPostByType: Partial<Record<"OTHER" | "WHATSAPP" | "FACEBOOK" | "TELEGRAM" | "VIBER", number>>;
3228
+ proofsBookingByType: Partial<Record<"DISTANCE" | "CONFIRMATION" | "MORNING_STATUS", number>>;
3229
3229
  bookingsFaOngoing?: number | undefined;
3230
3230
  bookingsFaStartingToday?: number | undefined;
3231
3231
  bookingsFaPendingConfirmation?: number | undefined;
@@ -3245,6 +3245,7 @@ export declare const dashboardWidgetsContract: {
3245
3245
  agentId: string;
3246
3246
  conversionRate: number;
3247
3247
  totalCalls: number;
3248
+ agentName: string;
3248
3249
  performanceScore: number;
3249
3250
  ratingBreakdown: Record<import("../common/call-rating.schema").CallRating, number>;
3250
3251
  assignmentCalls: number;
@@ -3254,7 +3255,6 @@ export declare const dashboardWidgetsContract: {
3254
3255
  ownResearchLeadsAdded: number;
3255
3256
  ownResearchLeadsExistingInSystem: number;
3256
3257
  ownResearchLeadsNew: number;
3257
- agentName: string;
3258
3258
  callsOnDate: number;
3259
3259
  efficientCalls: number;
3260
3260
  conversionsOnDate: number;
@@ -3270,7 +3270,6 @@ export declare const dashboardWidgetsContract: {
3270
3270
  consentSnoozed: number;
3271
3271
  offersSent: number;
3272
3272
  offersBooked: number;
3273
- averageRating: number;
3274
3273
  officeName: string | null;
3275
3274
  activesFaTotal: number;
3276
3275
  activesFaByStatus: Partial<Record<"ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | "OFF_SCHEDULE", number>>;
@@ -3282,12 +3281,13 @@ export declare const dashboardWidgetsContract: {
3282
3281
  bookingsSaTotal: number;
3283
3282
  bookingsSaByStatus: Partial<Record<import("../bookings/bookings.contract").BookingType, number>>;
3284
3283
  bookingsSaByCategory: Partial<Record<import("../bookings/bookings.contract").BookingCategory, number>>;
3284
+ averageRating: number;
3285
3285
  jobsTransitionCounts: Record<string, number>;
3286
3286
  jobsFillRate: number;
3287
3287
  jobsPositionsAdjusted: number;
3288
3288
  jobsOverbooked: number;
3289
- proofsPostByType: Partial<Record<"FACEBOOK" | "TELEGRAM" | "WHATSAPP" | "VIBER" | "OTHER", number>>;
3290
- proofsBookingByType: Partial<Record<"CONFIRMATION" | "DISTANCE" | "MORNING_STATUS", number>>;
3289
+ proofsPostByType: Partial<Record<"OTHER" | "WHATSAPP" | "FACEBOOK" | "TELEGRAM" | "VIBER", number>>;
3290
+ proofsBookingByType: Partial<Record<"DISTANCE" | "CONFIRMATION" | "MORNING_STATUS", number>>;
3291
3291
  bookingsFaOngoing?: number | undefined;
3292
3292
  bookingsFaStartingToday?: number | undefined;
3293
3293
  bookingsFaPendingConfirmation?: number | undefined;
@@ -3305,6 +3305,7 @@ export declare const dashboardWidgetsContract: {
3305
3305
  };
3306
3306
  };
3307
3307
  getAdminFaAggregate: {
3308
+ description: "Returns summed/averaged FA dashboard stats across all agents for a specific date.";
3308
3309
  query: z.ZodObject<{
3309
3310
  date: z.ZodOptional<z.ZodString>;
3310
3311
  office: z.ZodOptional<z.ZodString>;
@@ -3316,7 +3317,6 @@ export declare const dashboardWidgetsContract: {
3316
3317
  office?: string | undefined;
3317
3318
  }>;
3318
3319
  summary: "Get aggregated FA stats across all agents (Admin)";
3319
- description: "Returns summed/averaged FA dashboard stats across all agents for a specific date.";
3320
3320
  method: "GET";
3321
3321
  path: "/widgets/admin/fa-aggregate";
3322
3322
  responses: {
@@ -3695,6 +3695,7 @@ export declare const dashboardWidgetsContract: {
3695
3695
  };
3696
3696
  };
3697
3697
  getAdminSaAggregate: {
3698
+ description: "Returns summed/averaged SA dashboard stats across all agents for a specific date.";
3698
3699
  query: z.ZodObject<{
3699
3700
  date: z.ZodOptional<z.ZodString>;
3700
3701
  office: z.ZodOptional<z.ZodString>;
@@ -3706,7 +3707,6 @@ export declare const dashboardWidgetsContract: {
3706
3707
  office?: string | undefined;
3707
3708
  }>;
3708
3709
  summary: "Get aggregated SA stats across all agents (Admin)";
3709
- description: "Returns summed/averaged SA dashboard stats across all agents for a specific date.";
3710
3710
  method: "GET";
3711
3711
  path: "/widgets/admin/sa-aggregate";
3712
3712
  responses: {
@@ -3912,11 +3912,11 @@ export declare const dashboardWidgetsContract: {
3912
3912
  pendingConfirmation: number;
3913
3913
  upcomingStarts: number;
3914
3914
  };
3915
- agentCount: number;
3916
3915
  workers: {
3917
3916
  total: number;
3918
3917
  addedToday: number;
3919
3918
  };
3919
+ agentCount: number;
3920
3920
  }, {
3921
3921
  actives: {
3922
3922
  total: number;
@@ -3952,15 +3952,16 @@ export declare const dashboardWidgetsContract: {
3952
3952
  pendingConfirmation: number;
3953
3953
  upcomingStarts: number;
3954
3954
  };
3955
- agentCount: number;
3956
3955
  workers: {
3957
3956
  total: number;
3958
3957
  addedToday: number;
3959
3958
  };
3959
+ agentCount: number;
3960
3960
  }>;
3961
3961
  };
3962
3962
  };
3963
3963
  getActivesTrend: {
3964
+ description: "Returns time-series data for actives over a date range";
3964
3965
  query: z.ZodObject<{
3965
3966
  startDate: z.ZodString;
3966
3967
  endDate: z.ZodString;
@@ -3976,7 +3977,6 @@ export declare const dashboardWidgetsContract: {
3976
3977
  role?: "SA" | "FA" | undefined;
3977
3978
  }>;
3978
3979
  summary: "Get actives historical trend";
3979
- description: "Returns time-series data for actives over a date range";
3980
3980
  method: "GET";
3981
3981
  path: "/trends/actives";
3982
3982
  responses: {
@@ -4033,6 +4033,7 @@ export declare const dashboardWidgetsContract: {
4033
4033
  };
4034
4034
  };
4035
4035
  getBookingsTrend: {
4036
+ description: "Returns time-series data for bookings over a date range";
4036
4037
  query: z.ZodObject<{
4037
4038
  startDate: z.ZodString;
4038
4039
  endDate: z.ZodString;
@@ -4048,7 +4049,6 @@ export declare const dashboardWidgetsContract: {
4048
4049
  role?: "SA" | "FA" | undefined;
4049
4050
  }>;
4050
4051
  summary: "Get bookings historical trend";
4051
- description: "Returns time-series data for bookings over a date range";
4052
4052
  method: "GET";
4053
4053
  path: "/trends/bookings";
4054
4054
  responses: {
@@ -4115,6 +4115,7 @@ export declare const dashboardWidgetsContract: {
4115
4115
  };
4116
4116
  };
4117
4117
  getCallPerformanceTrend: {
4118
+ description: "Returns time-series data for call performance over a date range";
4118
4119
  query: z.ZodObject<{
4119
4120
  startDate: z.ZodString;
4120
4121
  endDate: z.ZodString;
@@ -4126,7 +4127,6 @@ export declare const dashboardWidgetsContract: {
4126
4127
  endDate: string;
4127
4128
  }>;
4128
4129
  summary: "Get call performance historical trend";
4129
- description: "Returns time-series data for call performance over a date range";
4130
4130
  method: "GET";
4131
4131
  path: "/trends/call-performance";
4132
4132
  responses: {
@@ -4198,6 +4198,7 @@ export declare const dashboardWidgetsContract: {
4198
4198
  };
4199
4199
  };
4200
4200
  getWorkersTrend: {
4201
+ description: "Returns time-series data for worker additions over a date range";
4201
4202
  query: z.ZodObject<{
4202
4203
  startDate: z.ZodString;
4203
4204
  endDate: z.ZodString;
@@ -4209,7 +4210,6 @@ export declare const dashboardWidgetsContract: {
4209
4210
  endDate: string;
4210
4211
  }>;
4211
4212
  summary: "Get workers historical trend (SA only)";
4212
- description: "Returns time-series data for worker additions over a date range";
4213
4213
  method: "GET";
4214
4214
  path: "/trends/workers";
4215
4215
  responses: {
@@ -4261,6 +4261,7 @@ export declare const dashboardWidgetsContract: {
4261
4261
  };
4262
4262
  };
4263
4263
  getCollaborationsTrend: {
4264
+ description: "Returns time-series data for collaborations over a date range";
4264
4265
  query: z.ZodObject<{
4265
4266
  startDate: z.ZodString;
4266
4267
  endDate: z.ZodString;
@@ -4272,7 +4273,6 @@ export declare const dashboardWidgetsContract: {
4272
4273
  endDate: string;
4273
4274
  }>;
4274
4275
  summary: "Get collaborations historical trend (FA only)";
4275
- description: "Returns time-series data for collaborations over a date range";
4276
4276
  method: "GET";
4277
4277
  path: "/trends/collaborations";
4278
4278
  responses: {
@@ -4283,47 +4283,48 @@ export declare const dashboardWidgetsContract: {
4283
4283
  byStatus: z.ZodRecord<z.ZodEnum<["ACTIVE", "INACTIVE", "PENDING_APPROVAL", "REJECTED", "APPROVED", "CHANGED_COMPANY", "CHANGED_AGENT", "CHANGED_COMPANY_AND_AGENT"]>, z.ZodNumber>;
4284
4284
  }, "strip", z.ZodTypeAny, {
4285
4285
  date: string;
4286
- byStatus: Partial<Record<"ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT", number>>;
4287
4286
  created: number;
4287
+ byStatus: Partial<Record<"ACTIVE" | "APPROVED" | "INACTIVE" | "REJECTED" | "PENDING_APPROVAL" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT", number>>;
4288
4288
  }, {
4289
4289
  date: string;
4290
- byStatus: Partial<Record<"ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT", number>>;
4291
4290
  created: number;
4291
+ byStatus: Partial<Record<"ACTIVE" | "APPROVED" | "INACTIVE" | "REJECTED" | "PENDING_APPROVAL" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT", number>>;
4292
4292
  }>, "many">;
4293
4293
  summary: z.ZodObject<{
4294
4294
  totalCreated: z.ZodNumber;
4295
4295
  activeCount: z.ZodNumber;
4296
4296
  }, "strip", z.ZodTypeAny, {
4297
- totalCreated: number;
4298
4297
  activeCount: number;
4299
- }, {
4300
4298
  totalCreated: number;
4299
+ }, {
4301
4300
  activeCount: number;
4301
+ totalCreated: number;
4302
4302
  }>;
4303
4303
  }, "strip", z.ZodTypeAny, {
4304
4304
  summary: {
4305
- totalCreated: number;
4306
4305
  activeCount: number;
4306
+ totalCreated: number;
4307
4307
  };
4308
4308
  data: {
4309
4309
  date: string;
4310
- byStatus: Partial<Record<"ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT", number>>;
4311
4310
  created: number;
4311
+ byStatus: Partial<Record<"ACTIVE" | "APPROVED" | "INACTIVE" | "REJECTED" | "PENDING_APPROVAL" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT", number>>;
4312
4312
  }[];
4313
4313
  }, {
4314
4314
  summary: {
4315
- totalCreated: number;
4316
4315
  activeCount: number;
4316
+ totalCreated: number;
4317
4317
  };
4318
4318
  data: {
4319
4319
  date: string;
4320
- byStatus: Partial<Record<"ACTIVE" | "INACTIVE" | "PENDING_APPROVAL" | "REJECTED" | "APPROVED" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT", number>>;
4321
4320
  created: number;
4321
+ byStatus: Partial<Record<"ACTIVE" | "APPROVED" | "INACTIVE" | "REJECTED" | "PENDING_APPROVAL" | "CHANGED_COMPANY" | "CHANGED_AGENT" | "CHANGED_COMPANY_AND_AGENT", number>>;
4322
4322
  }[];
4323
4323
  }>;
4324
4324
  };
4325
4325
  };
4326
4326
  getJobsTrend: {
4327
+ description: "Returns time-series data for job creation, fills and open positions over a date range";
4327
4328
  query: z.ZodObject<{
4328
4329
  startDate: z.ZodString;
4329
4330
  endDate: z.ZodString;
@@ -4335,7 +4336,6 @@ export declare const dashboardWidgetsContract: {
4335
4336
  endDate: string;
4336
4337
  }>;
4337
4338
  summary: "Get jobs historical trend (FA)";
4338
- description: "Returns time-series data for job creation, fills and open positions over a date range";
4339
4339
  method: "GET";
4340
4340
  path: "/trends/jobs";
4341
4341
  responses: {
@@ -4348,14 +4348,14 @@ export declare const dashboardWidgetsContract: {
4348
4348
  fillRate: z.ZodNumber;
4349
4349
  }, "strip", z.ZodTypeAny, {
4350
4350
  date: string;
4351
- fillRate: number;
4352
4351
  created: number;
4352
+ fillRate: number;
4353
4353
  openPositions: number;
4354
4354
  filled: number;
4355
4355
  }, {
4356
4356
  date: string;
4357
- fillRate: number;
4358
4357
  created: number;
4358
+ fillRate: number;
4359
4359
  openPositions: number;
4360
4360
  filled: number;
4361
4361
  }>, "many">;
@@ -4384,8 +4384,8 @@ export declare const dashboardWidgetsContract: {
4384
4384
  };
4385
4385
  data: {
4386
4386
  date: string;
4387
- fillRate: number;
4388
4387
  created: number;
4388
+ fillRate: number;
4389
4389
  openPositions: number;
4390
4390
  filled: number;
4391
4391
  }[];
@@ -4398,8 +4398,8 @@ export declare const dashboardWidgetsContract: {
4398
4398
  };
4399
4399
  data: {
4400
4400
  date: string;
4401
- fillRate: number;
4402
4401
  created: number;
4402
+ fillRate: number;
4403
4403
  openPositions: number;
4404
4404
  filled: number;
4405
4405
  }[];
@@ -4407,6 +4407,7 @@ export declare const dashboardWidgetsContract: {
4407
4407
  };
4408
4408
  };
4409
4409
  getAdminBookingsTrend: {
4410
+ description: "Bookings trend aggregated across the office first agents over a date range";
4410
4411
  query: z.ZodObject<{
4411
4412
  startDate: z.ZodString;
4412
4413
  endDate: z.ZodString;
@@ -4422,7 +4423,6 @@ export declare const dashboardWidgetsContract: {
4422
4423
  office?: string | undefined;
4423
4424
  }>;
4424
4425
  summary: "Get admin aggregate bookings trend";
4425
- description: "Bookings trend aggregated across the office first agents over a date range";
4426
4426
  method: "GET";
4427
4427
  path: "/trends/admin/bookings";
4428
4428
  responses: {
@@ -4489,6 +4489,7 @@ export declare const dashboardWidgetsContract: {
4489
4489
  };
4490
4490
  };
4491
4491
  getAdminActivesTrend: {
4492
+ description: "Actives trend aggregated across the office first agents";
4492
4493
  query: z.ZodObject<{
4493
4494
  startDate: z.ZodString;
4494
4495
  endDate: z.ZodString;
@@ -4504,7 +4505,6 @@ export declare const dashboardWidgetsContract: {
4504
4505
  office?: string | undefined;
4505
4506
  }>;
4506
4507
  summary: "Get admin aggregate actives trend";
4507
- description: "Actives trend aggregated across the office first agents";
4508
4508
  method: "GET";
4509
4509
  path: "/trends/admin/actives";
4510
4510
  responses: {
@@ -4561,6 +4561,7 @@ export declare const dashboardWidgetsContract: {
4561
4561
  };
4562
4562
  };
4563
4563
  getAdminCallPerformanceTrend: {
4564
+ description: "Call performance trend aggregated across the office first agents";
4564
4565
  query: z.ZodObject<{
4565
4566
  startDate: z.ZodString;
4566
4567
  endDate: z.ZodString;
@@ -4576,7 +4577,6 @@ export declare const dashboardWidgetsContract: {
4576
4577
  office?: string | undefined;
4577
4578
  }>;
4578
4579
  summary: "Get admin aggregate call performance trend";
4579
- description: "Call performance trend aggregated across the office first agents";
4580
4580
  method: "GET";
4581
4581
  path: "/trends/admin/call-performance";
4582
4582
  responses: {
@@ -4648,6 +4648,7 @@ export declare const dashboardWidgetsContract: {
4648
4648
  };
4649
4649
  };
4650
4650
  getAdminJobsTrend: {
4651
+ description: "Jobs trend aggregated across the office first agents";
4651
4652
  query: z.ZodObject<{
4652
4653
  startDate: z.ZodString;
4653
4654
  endDate: z.ZodString;
@@ -4663,7 +4664,6 @@ export declare const dashboardWidgetsContract: {
4663
4664
  office?: string | undefined;
4664
4665
  }>;
4665
4666
  summary: "Get admin aggregate jobs trend";
4666
- description: "Jobs trend aggregated across the office first agents";
4667
4667
  method: "GET";
4668
4668
  path: "/trends/admin/jobs";
4669
4669
  responses: {
@@ -4676,14 +4676,14 @@ export declare const dashboardWidgetsContract: {
4676
4676
  fillRate: z.ZodNumber;
4677
4677
  }, "strip", z.ZodTypeAny, {
4678
4678
  date: string;
4679
- fillRate: number;
4680
4679
  created: number;
4680
+ fillRate: number;
4681
4681
  openPositions: number;
4682
4682
  filled: number;
4683
4683
  }, {
4684
4684
  date: string;
4685
- fillRate: number;
4686
4685
  created: number;
4686
+ fillRate: number;
4687
4687
  openPositions: number;
4688
4688
  filled: number;
4689
4689
  }>, "many">;
@@ -4712,8 +4712,8 @@ export declare const dashboardWidgetsContract: {
4712
4712
  };
4713
4713
  data: {
4714
4714
  date: string;
4715
- fillRate: number;
4716
4715
  created: number;
4716
+ fillRate: number;
4717
4717
  openPositions: number;
4718
4718
  filled: number;
4719
4719
  }[];
@@ -4726,8 +4726,8 @@ export declare const dashboardWidgetsContract: {
4726
4726
  };
4727
4727
  data: {
4728
4728
  date: string;
4729
- fillRate: number;
4730
4729
  created: number;
4730
+ fillRate: number;
4731
4731
  openPositions: number;
4732
4732
  filled: number;
4733
4733
  }[];
@@ -4735,6 +4735,7 @@ export declare const dashboardWidgetsContract: {
4735
4735
  };
4736
4736
  };
4737
4737
  getAdminWorkersTrend: {
4738
+ description: "Workers trend aggregated across the office second agents";
4738
4739
  query: z.ZodObject<{
4739
4740
  startDate: z.ZodString;
4740
4741
  endDate: z.ZodString;
@@ -4750,7 +4751,6 @@ export declare const dashboardWidgetsContract: {
4750
4751
  office?: string | undefined;
4751
4752
  }>;
4752
4753
  summary: "Get admin aggregate workers trend";
4753
- description: "Workers trend aggregated across the office second agents";
4754
4754
  method: "GET";
4755
4755
  path: "/trends/admin/workers";
4756
4756
  responses: {
@@ -4824,11 +4824,11 @@ export declare const dashboardWidgetsContract: {
4824
4824
  }, "strip", z.ZodTypeAny, {
4825
4825
  date: string;
4826
4826
  total: number;
4827
- byOutcome: Partial<Record<"CONSENTED" | "DECLINED" | "WRONG_NUMBER" | "SNOOZED" | "OFFER_SENT" | "BOOKED" | "BOOKING_CANCELLED" | "TOO_FAR" | "NOT_INTERESTED", number>>;
4827
+ byOutcome: Partial<Record<"CONSENTED" | "NOT_INTERESTED" | "BOOKED" | "WRONG_NUMBER" | "TOO_FAR" | "OFFER_SENT" | "DECLINED" | "SNOOZED" | "BOOKING_CANCELLED", number>>;
4828
4828
  }, {
4829
4829
  date: string;
4830
4830
  total: number;
4831
- byOutcome: Partial<Record<"CONSENTED" | "DECLINED" | "WRONG_NUMBER" | "SNOOZED" | "OFFER_SENT" | "BOOKED" | "BOOKING_CANCELLED" | "TOO_FAR" | "NOT_INTERESTED", number>>;
4831
+ byOutcome: Partial<Record<"CONSENTED" | "NOT_INTERESTED" | "BOOKED" | "WRONG_NUMBER" | "TOO_FAR" | "OFFER_SENT" | "DECLINED" | "SNOOZED" | "BOOKING_CANCELLED", number>>;
4832
4832
  }>, "many">;
4833
4833
  summary: z.ZodObject<{
4834
4834
  averageDaily: z.ZodNumber;
@@ -4852,7 +4852,7 @@ export declare const dashboardWidgetsContract: {
4852
4852
  data: {
4853
4853
  date: string;
4854
4854
  total: number;
4855
- byOutcome: Partial<Record<"CONSENTED" | "DECLINED" | "WRONG_NUMBER" | "SNOOZED" | "OFFER_SENT" | "BOOKED" | "BOOKING_CANCELLED" | "TOO_FAR" | "NOT_INTERESTED", number>>;
4855
+ byOutcome: Partial<Record<"CONSENTED" | "NOT_INTERESTED" | "BOOKED" | "WRONG_NUMBER" | "TOO_FAR" | "OFFER_SENT" | "DECLINED" | "SNOOZED" | "BOOKING_CANCELLED", number>>;
4856
4856
  }[];
4857
4857
  }, {
4858
4858
  summary: {
@@ -4863,7 +4863,7 @@ export declare const dashboardWidgetsContract: {
4863
4863
  data: {
4864
4864
  date: string;
4865
4865
  total: number;
4866
- byOutcome: Partial<Record<"CONSENTED" | "DECLINED" | "WRONG_NUMBER" | "SNOOZED" | "OFFER_SENT" | "BOOKED" | "BOOKING_CANCELLED" | "TOO_FAR" | "NOT_INTERESTED", number>>;
4866
+ byOutcome: Partial<Record<"CONSENTED" | "NOT_INTERESTED" | "BOOKED" | "WRONG_NUMBER" | "TOO_FAR" | "OFFER_SENT" | "DECLINED" | "SNOOZED" | "BOOKING_CANCELLED", number>>;
4867
4867
  }[];
4868
4868
  }>;
4869
4869
  };
@@ -4895,11 +4895,11 @@ export declare const dashboardWidgetsContract: {
4895
4895
  }, "strip", z.ZodTypeAny, {
4896
4896
  date: string;
4897
4897
  total: number;
4898
- byOutcome: Partial<Record<"CONSENTED" | "DECLINED" | "WRONG_NUMBER" | "SNOOZED" | "OFFER_SENT" | "BOOKED" | "BOOKING_CANCELLED" | "TOO_FAR" | "NOT_INTERESTED", number>>;
4898
+ byOutcome: Partial<Record<"CONSENTED" | "NOT_INTERESTED" | "BOOKED" | "WRONG_NUMBER" | "TOO_FAR" | "OFFER_SENT" | "DECLINED" | "SNOOZED" | "BOOKING_CANCELLED", number>>;
4899
4899
  }, {
4900
4900
  date: string;
4901
4901
  total: number;
4902
- byOutcome: Partial<Record<"CONSENTED" | "DECLINED" | "WRONG_NUMBER" | "SNOOZED" | "OFFER_SENT" | "BOOKED" | "BOOKING_CANCELLED" | "TOO_FAR" | "NOT_INTERESTED", number>>;
4902
+ byOutcome: Partial<Record<"CONSENTED" | "NOT_INTERESTED" | "BOOKED" | "WRONG_NUMBER" | "TOO_FAR" | "OFFER_SENT" | "DECLINED" | "SNOOZED" | "BOOKING_CANCELLED", number>>;
4903
4903
  }>, "many">;
4904
4904
  summary: z.ZodObject<{
4905
4905
  averageDaily: z.ZodNumber;
@@ -4923,7 +4923,7 @@ export declare const dashboardWidgetsContract: {
4923
4923
  data: {
4924
4924
  date: string;
4925
4925
  total: number;
4926
- byOutcome: Partial<Record<"CONSENTED" | "DECLINED" | "WRONG_NUMBER" | "SNOOZED" | "OFFER_SENT" | "BOOKED" | "BOOKING_CANCELLED" | "TOO_FAR" | "NOT_INTERESTED", number>>;
4926
+ byOutcome: Partial<Record<"CONSENTED" | "NOT_INTERESTED" | "BOOKED" | "WRONG_NUMBER" | "TOO_FAR" | "OFFER_SENT" | "DECLINED" | "SNOOZED" | "BOOKING_CANCELLED", number>>;
4927
4927
  }[];
4928
4928
  }, {
4929
4929
  summary: {
@@ -4934,7 +4934,7 @@ export declare const dashboardWidgetsContract: {
4934
4934
  data: {
4935
4935
  date: string;
4936
4936
  total: number;
4937
- byOutcome: Partial<Record<"CONSENTED" | "DECLINED" | "WRONG_NUMBER" | "SNOOZED" | "OFFER_SENT" | "BOOKED" | "BOOKING_CANCELLED" | "TOO_FAR" | "NOT_INTERESTED", number>>;
4937
+ byOutcome: Partial<Record<"CONSENTED" | "NOT_INTERESTED" | "BOOKED" | "WRONG_NUMBER" | "TOO_FAR" | "OFFER_SENT" | "DECLINED" | "SNOOZED" | "BOOKING_CANCELLED", number>>;
4938
4938
  }[];
4939
4939
  }>;
4940
4940
  };
@@ -5197,14 +5197,14 @@ export declare const dashboardWidgetsContract: {
5197
5197
  fillRate: z.ZodNumber;
5198
5198
  }, "strip", z.ZodTypeAny, {
5199
5199
  date: string;
5200
- fillRate: number;
5201
5200
  created: number;
5201
+ fillRate: number;
5202
5202
  openPositions: number;
5203
5203
  filled: number;
5204
5204
  }, {
5205
5205
  date: string;
5206
- fillRate: number;
5207
5206
  created: number;
5207
+ fillRate: number;
5208
5208
  openPositions: number;
5209
5209
  filled: number;
5210
5210
  }>, "many">;
@@ -5233,8 +5233,8 @@ export declare const dashboardWidgetsContract: {
5233
5233
  };
5234
5234
  data: {
5235
5235
  date: string;
5236
- fillRate: number;
5237
5236
  created: number;
5237
+ fillRate: number;
5238
5238
  openPositions: number;
5239
5239
  filled: number;
5240
5240
  }[];
@@ -5247,8 +5247,8 @@ export declare const dashboardWidgetsContract: {
5247
5247
  };
5248
5248
  data: {
5249
5249
  date: string;
5250
- fillRate: number;
5251
5250
  created: number;
5251
+ fillRate: number;
5252
5252
  openPositions: number;
5253
5253
  filled: number;
5254
5254
  }[];