@dakkitor/api-contracts 1.1.150 → 1.1.152

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -10388,12 +10388,12 @@ export declare const TimesheetCollaborationHeaderSchema: z.ZodObject<{
10388
10388
  id: string;
10389
10389
  name: string;
10390
10390
  } | null;
10391
+ collaborationId: string | null;
10391
10392
  agent: {
10392
10393
  id: string;
10393
10394
  firstName: string;
10394
10395
  lastName: string | null;
10395
10396
  } | null;
10396
- collaborationId: string | null;
10397
10397
  }, {
10398
10398
  client: {
10399
10399
  id: string;
@@ -10403,12 +10403,12 @@ export declare const TimesheetCollaborationHeaderSchema: z.ZodObject<{
10403
10403
  id: string;
10404
10404
  name: string;
10405
10405
  } | null;
10406
+ collaborationId: string | null;
10406
10407
  agent: {
10407
10408
  id: string;
10408
10409
  firstName: string;
10409
10410
  lastName: string | null;
10410
10411
  } | null;
10411
- collaborationId: string | null;
10412
10412
  }>;
10413
10413
  /** A collaboration group in the timesheet */
10414
10414
  export declare const TimesheetCollaborationGroupSchema: z.ZodObject<{
@@ -10456,12 +10456,12 @@ export declare const TimesheetCollaborationGroupSchema: z.ZodObject<{
10456
10456
  id: string;
10457
10457
  name: string;
10458
10458
  } | null;
10459
+ collaborationId: string | null;
10459
10460
  agent: {
10460
10461
  id: string;
10461
10462
  firstName: string;
10462
10463
  lastName: string | null;
10463
10464
  } | null;
10464
- collaborationId: string | null;
10465
10465
  }, {
10466
10466
  client: {
10467
10467
  id: string;
@@ -10471,12 +10471,12 @@ export declare const TimesheetCollaborationGroupSchema: z.ZodObject<{
10471
10471
  id: string;
10472
10472
  name: string;
10473
10473
  } | null;
10474
+ collaborationId: string | null;
10474
10475
  agent: {
10475
10476
  id: string;
10476
10477
  firstName: string;
10477
10478
  lastName: string | null;
10478
10479
  } | null;
10479
- collaborationId: string | null;
10480
10480
  }>;
10481
10481
  workers: z.ZodArray<z.ZodObject<{
10482
10482
  workerId: z.ZodString;
@@ -10549,12 +10549,12 @@ export declare const TimesheetCollaborationGroupSchema: z.ZodObject<{
10549
10549
  id: string;
10550
10550
  name: string;
10551
10551
  } | null;
10552
+ collaborationId: string | null;
10552
10553
  agent: {
10553
10554
  id: string;
10554
10555
  firstName: string;
10555
10556
  lastName: string | null;
10556
10557
  } | null;
10557
- collaborationId: string | null;
10558
10558
  };
10559
10559
  workers: {
10560
10560
  tradeId: string;
@@ -10583,12 +10583,12 @@ export declare const TimesheetCollaborationGroupSchema: z.ZodObject<{
10583
10583
  id: string;
10584
10584
  name: string;
10585
10585
  } | null;
10586
+ collaborationId: string | null;
10586
10587
  agent: {
10587
10588
  id: string;
10588
10589
  firstName: string;
10589
10590
  lastName: string | null;
10590
10591
  } | null;
10591
- collaborationId: string | null;
10592
10592
  };
10593
10593
  workers: {
10594
10594
  tradeId: string;
@@ -10656,12 +10656,12 @@ export declare const TimesheetResponseSchema: z.ZodObject<{
10656
10656
  id: string;
10657
10657
  name: string;
10658
10658
  } | null;
10659
+ collaborationId: string | null;
10659
10660
  agent: {
10660
10661
  id: string;
10661
10662
  firstName: string;
10662
10663
  lastName: string | null;
10663
10664
  } | null;
10664
- collaborationId: string | null;
10665
10665
  }, {
10666
10666
  client: {
10667
10667
  id: string;
@@ -10671,12 +10671,12 @@ export declare const TimesheetResponseSchema: z.ZodObject<{
10671
10671
  id: string;
10672
10672
  name: string;
10673
10673
  } | null;
10674
+ collaborationId: string | null;
10674
10675
  agent: {
10675
10676
  id: string;
10676
10677
  firstName: string;
10677
10678
  lastName: string | null;
10678
10679
  } | null;
10679
- collaborationId: string | null;
10680
10680
  }>;
10681
10681
  workers: z.ZodArray<z.ZodObject<{
10682
10682
  workerId: z.ZodString;
@@ -10749,12 +10749,12 @@ export declare const TimesheetResponseSchema: z.ZodObject<{
10749
10749
  id: string;
10750
10750
  name: string;
10751
10751
  } | null;
10752
+ collaborationId: string | null;
10752
10753
  agent: {
10753
10754
  id: string;
10754
10755
  firstName: string;
10755
10756
  lastName: string | null;
10756
10757
  } | null;
10757
- collaborationId: string | null;
10758
10758
  };
10759
10759
  workers: {
10760
10760
  tradeId: string;
@@ -10783,12 +10783,12 @@ export declare const TimesheetResponseSchema: z.ZodObject<{
10783
10783
  id: string;
10784
10784
  name: string;
10785
10785
  } | null;
10786
+ collaborationId: string | null;
10786
10787
  agent: {
10787
10788
  id: string;
10788
10789
  firstName: string;
10789
10790
  lastName: string | null;
10790
10791
  } | null;
10791
- collaborationId: string | null;
10792
10792
  };
10793
10793
  workers: {
10794
10794
  tradeId: string;
@@ -10820,12 +10820,12 @@ export declare const TimesheetResponseSchema: z.ZodObject<{
10820
10820
  id: string;
10821
10821
  name: string;
10822
10822
  } | null;
10823
+ collaborationId: string | null;
10823
10824
  agent: {
10824
10825
  id: string;
10825
10826
  firstName: string;
10826
10827
  lastName: string | null;
10827
10828
  } | null;
10828
- collaborationId: string | null;
10829
10829
  };
10830
10830
  workers: {
10831
10831
  tradeId: string;
@@ -10857,12 +10857,12 @@ export declare const TimesheetResponseSchema: z.ZodObject<{
10857
10857
  id: string;
10858
10858
  name: string;
10859
10859
  } | null;
10860
+ collaborationId: string | null;
10860
10861
  agent: {
10861
10862
  id: string;
10862
10863
  firstName: string;
10863
10864
  lastName: string | null;
10864
10865
  } | null;
10865
- collaborationId: string | null;
10866
10866
  };
10867
10867
  workers: {
10868
10868
  tradeId: string;
@@ -20050,12 +20050,12 @@ export declare const activesContractRouter: {
20050
20050
  id: string;
20051
20051
  name: string;
20052
20052
  } | null;
20053
+ collaborationId: string | null;
20053
20054
  agent: {
20054
20055
  id: string;
20055
20056
  firstName: string;
20056
20057
  lastName: string | null;
20057
20058
  } | null;
20058
- collaborationId: string | null;
20059
20059
  }, {
20060
20060
  client: {
20061
20061
  id: string;
@@ -20065,12 +20065,12 @@ export declare const activesContractRouter: {
20065
20065
  id: string;
20066
20066
  name: string;
20067
20067
  } | null;
20068
+ collaborationId: string | null;
20068
20069
  agent: {
20069
20070
  id: string;
20070
20071
  firstName: string;
20071
20072
  lastName: string | null;
20072
20073
  } | null;
20073
- collaborationId: string | null;
20074
20074
  }>;
20075
20075
  workers: z.ZodArray<z.ZodObject<{
20076
20076
  workerId: z.ZodString;
@@ -20143,12 +20143,12 @@ export declare const activesContractRouter: {
20143
20143
  id: string;
20144
20144
  name: string;
20145
20145
  } | null;
20146
+ collaborationId: string | null;
20146
20147
  agent: {
20147
20148
  id: string;
20148
20149
  firstName: string;
20149
20150
  lastName: string | null;
20150
20151
  } | null;
20151
- collaborationId: string | null;
20152
20152
  };
20153
20153
  workers: {
20154
20154
  tradeId: string;
@@ -20177,12 +20177,12 @@ export declare const activesContractRouter: {
20177
20177
  id: string;
20178
20178
  name: string;
20179
20179
  } | null;
20180
+ collaborationId: string | null;
20180
20181
  agent: {
20181
20182
  id: string;
20182
20183
  firstName: string;
20183
20184
  lastName: string | null;
20184
20185
  } | null;
20185
- collaborationId: string | null;
20186
20186
  };
20187
20187
  workers: {
20188
20188
  tradeId: string;
@@ -20214,12 +20214,12 @@ export declare const activesContractRouter: {
20214
20214
  id: string;
20215
20215
  name: string;
20216
20216
  } | null;
20217
+ collaborationId: string | null;
20217
20218
  agent: {
20218
20219
  id: string;
20219
20220
  firstName: string;
20220
20221
  lastName: string | null;
20221
20222
  } | null;
20222
- collaborationId: string | null;
20223
20223
  };
20224
20224
  workers: {
20225
20225
  tradeId: string;
@@ -20251,12 +20251,12 @@ export declare const activesContractRouter: {
20251
20251
  id: string;
20252
20252
  name: string;
20253
20253
  } | null;
20254
+ collaborationId: string | null;
20254
20255
  agent: {
20255
20256
  id: string;
20256
20257
  firstName: string;
20257
20258
  lastName: string | null;
20258
20259
  } | null;
20259
- collaborationId: string | null;
20260
20260
  };
20261
20261
  workers: {
20262
20262
  tradeId: string;
@@ -1 +1 @@
1
- {"version":3,"file":"common-schemas.d.ts","sourceRoot":"","sources":["../../contracts/common/common-schemas.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK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,MAAM,qBAAqB;;;;;;EAIM,CAAC;AAEzC,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC"}
@@ -130,8 +130,7 @@ exports.TransportationSchema = zod_1.z
130
130
  path: ['preferredMethod'],
131
131
  });
132
132
  }
133
- })
134
- .openapi({ title: 'Transportation' });
133
+ });
135
134
  exports.NationalitySchema = zod_1.z.enum([
136
135
  'AFGHAN',
137
136
  'ALBANIAN',
@@ -150,12 +150,12 @@ export declare const FaCallHistoryWidgetSchema: z.ZodObject<{
150
150
  ownResearchLeadsNew: z.ZodNumber;
151
151
  }, "strip", z.ZodTypeAny, {
152
152
  totalCalls: number;
153
- conversionRate: number;
154
- performanceScore: number;
155
- performanceTier: "high" | "medium" | "low" | "new";
156
153
  callsToday: number;
157
154
  averageRatingToday: number;
158
155
  efficientCallsToday: number;
156
+ conversionRate: number;
157
+ performanceScore: number;
158
+ performanceTier: "high" | "medium" | "low" | "new";
159
159
  ratingBreakdown: Record<import("../common/call-rating.schema").CallRating, number>;
160
160
  assignmentCalls: number;
161
161
  followUpCalls: number;
@@ -166,12 +166,12 @@ export declare const FaCallHistoryWidgetSchema: z.ZodObject<{
166
166
  ownResearchLeadsNew: number;
167
167
  }, {
168
168
  totalCalls: number;
169
- conversionRate: number;
170
- performanceScore: number;
171
- performanceTier: "high" | "medium" | "low" | "new";
172
169
  callsToday: number;
173
170
  averageRatingToday: number;
174
171
  efficientCallsToday: number;
172
+ conversionRate: number;
173
+ performanceScore: number;
174
+ performanceTier: "high" | "medium" | "low" | "new";
175
175
  ratingBreakdown: Record<import("../common/call-rating.schema").CallRating, number>;
176
176
  assignmentCalls: number;
177
177
  followUpCalls: number;
@@ -194,12 +194,12 @@ export declare const AllAgentsCallHistoryQuerySchema: z.ZodObject<{
194
194
  limit: number;
195
195
  page: number;
196
196
  date?: string | undefined;
197
- view?: "SA" | "FA" | undefined;
197
+ view?: "FA" | "SA" | undefined;
198
198
  }, {
199
199
  date?: string | undefined;
200
200
  limit?: number | undefined;
201
201
  page?: number | undefined;
202
- view?: "SA" | "FA" | undefined;
202
+ view?: "FA" | "SA" | undefined;
203
203
  }>;
204
204
  /**
205
205
  * FA Actives Widget - Today's active workers (FA perspective)
@@ -383,10 +383,10 @@ export declare const AdminFaAggregateSchema: z.ZodObject<{
383
383
  ownResearchLeadsNew: z.ZodNumber;
384
384
  }, "strip", z.ZodTypeAny, {
385
385
  totalCalls: number;
386
- conversionRate: number;
387
386
  callsToday: number;
388
387
  averageRatingToday: number;
389
388
  efficientCallsToday: number;
389
+ conversionRate: number;
390
390
  ratingBreakdown: Record<import("../common/call-rating.schema").CallRating, number>;
391
391
  assignmentCalls: number;
392
392
  followUpCalls: number;
@@ -398,10 +398,10 @@ export declare const AdminFaAggregateSchema: z.ZodObject<{
398
398
  averagePerformanceScore: number;
399
399
  }, {
400
400
  totalCalls: number;
401
- conversionRate: number;
402
401
  callsToday: number;
403
402
  averageRatingToday: number;
404
403
  efficientCallsToday: number;
404
+ conversionRate: number;
405
405
  ratingBreakdown: Record<import("../common/call-rating.schema").CallRating, number>;
406
406
  assignmentCalls: number;
407
407
  followUpCalls: number;
@@ -429,10 +429,10 @@ export declare const AdminFaAggregateSchema: z.ZodObject<{
429
429
  };
430
430
  callMetrics: {
431
431
  totalCalls: number;
432
- conversionRate: number;
433
432
  callsToday: number;
434
433
  averageRatingToday: number;
435
434
  efficientCallsToday: number;
435
+ conversionRate: number;
436
436
  ratingBreakdown: Record<import("../common/call-rating.schema").CallRating, number>;
437
437
  assignmentCalls: number;
438
438
  followUpCalls: number;
@@ -460,10 +460,10 @@ export declare const AdminFaAggregateSchema: z.ZodObject<{
460
460
  };
461
461
  callMetrics: {
462
462
  totalCalls: number;
463
- conversionRate: number;
464
463
  callsToday: number;
465
464
  averageRatingToday: number;
466
465
  efficientCallsToday: number;
466
+ conversionRate: number;
467
467
  ratingBreakdown: Record<import("../common/call-rating.schema").CallRating, number>;
468
468
  assignmentCalls: number;
469
469
  followUpCalls: number;
@@ -541,11 +541,11 @@ export declare const AdminSaAggregateSchema: z.ZodObject<{
541
541
  total: number;
542
542
  byStatusSa: Partial<Record<"ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY", number>>;
543
543
  };
544
+ agentCount: number;
544
545
  workers: {
545
546
  total: number;
546
547
  addedToday: number;
547
548
  };
548
- agentCount: number;
549
549
  }, {
550
550
  bookings: {
551
551
  byStatus: Partial<Record<import("../bookings/bookings.contract").BookingType, number>>;
@@ -560,11 +560,11 @@ export declare const AdminSaAggregateSchema: z.ZodObject<{
560
560
  total: number;
561
561
  byStatusSa: Partial<Record<"ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY", number>>;
562
562
  };
563
+ agentCount: number;
563
564
  workers: {
564
565
  total: number;
565
566
  addedToday: number;
566
567
  };
567
- agentCount: number;
568
568
  }>;
569
569
  /**
570
570
  * Actives trend data for charts
@@ -980,12 +980,12 @@ export declare const dashboardWidgetsContract: {
980
980
  ownResearchLeadsNew: z.ZodNumber;
981
981
  }, "strip", z.ZodTypeAny, {
982
982
  totalCalls: number;
983
- conversionRate: number;
984
- performanceScore: number;
985
- performanceTier: "high" | "medium" | "low" | "new";
986
983
  callsToday: number;
987
984
  averageRatingToday: number;
988
985
  efficientCallsToday: number;
986
+ conversionRate: number;
987
+ performanceScore: number;
988
+ performanceTier: "high" | "medium" | "low" | "new";
989
989
  ratingBreakdown: Record<import("../common/call-rating.schema").CallRating, number>;
990
990
  assignmentCalls: number;
991
991
  followUpCalls: number;
@@ -996,12 +996,12 @@ export declare const dashboardWidgetsContract: {
996
996
  ownResearchLeadsNew: number;
997
997
  }, {
998
998
  totalCalls: number;
999
- conversionRate: number;
1000
- performanceScore: number;
1001
- performanceTier: "high" | "medium" | "low" | "new";
1002
999
  callsToday: number;
1003
1000
  averageRatingToday: number;
1004
1001
  efficientCallsToday: number;
1002
+ conversionRate: number;
1003
+ performanceScore: number;
1004
+ performanceTier: "high" | "medium" | "low" | "new";
1005
1005
  ratingBreakdown: Record<import("../common/call-rating.schema").CallRating, number>;
1006
1006
  assignmentCalls: number;
1007
1007
  followUpCalls: number;
@@ -1204,12 +1204,12 @@ export declare const dashboardWidgetsContract: {
1204
1204
  limit: number;
1205
1205
  page: number;
1206
1206
  date?: string | undefined;
1207
- view?: "SA" | "FA" | undefined;
1207
+ view?: "FA" | "SA" | undefined;
1208
1208
  }, {
1209
1209
  date?: string | undefined;
1210
1210
  limit?: number | undefined;
1211
1211
  page?: number | undefined;
1212
- view?: "SA" | "FA" | undefined;
1212
+ view?: "FA" | "SA" | undefined;
1213
1213
  }>;
1214
1214
  summary: "Get daily stats for all agents (Admin)";
1215
1215
  method: "GET";
@@ -1267,6 +1267,7 @@ export declare const dashboardWidgetsContract: {
1267
1267
  ownResearchLeadsAdded: number;
1268
1268
  ownResearchLeadsExistingInSystem: number;
1269
1269
  ownResearchLeadsNew: number;
1270
+ averageRating: number;
1270
1271
  agentName: string;
1271
1272
  activesFaTotal: number;
1272
1273
  activesFaByStatus: Partial<Record<"ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY", number>>;
@@ -1278,7 +1279,6 @@ export declare const dashboardWidgetsContract: {
1278
1279
  bookingsSaTotal: number;
1279
1280
  bookingsSaByStatus: Partial<Record<import("../bookings/bookings.contract").BookingType, number>>;
1280
1281
  bookingsSaByCategory: Partial<Record<import("../bookings/bookings.contract").BookingCategory, number>>;
1281
- averageRating: number;
1282
1282
  callsOnDate: number;
1283
1283
  efficientCalls: number;
1284
1284
  conversionsOnDate: number;
@@ -1305,6 +1305,7 @@ export declare const dashboardWidgetsContract: {
1305
1305
  ownResearchLeadsAdded: number;
1306
1306
  ownResearchLeadsExistingInSystem: number;
1307
1307
  ownResearchLeadsNew: number;
1308
+ averageRating: number;
1308
1309
  agentName: string;
1309
1310
  activesFaTotal: number;
1310
1311
  activesFaByStatus: Partial<Record<"ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY", number>>;
@@ -1316,7 +1317,6 @@ export declare const dashboardWidgetsContract: {
1316
1317
  bookingsSaTotal: number;
1317
1318
  bookingsSaByStatus: Partial<Record<import("../bookings/bookings.contract").BookingType, number>>;
1318
1319
  bookingsSaByCategory: Partial<Record<import("../bookings/bookings.contract").BookingCategory, number>>;
1319
- averageRating: number;
1320
1320
  callsOnDate: number;
1321
1321
  efficientCalls: number;
1322
1322
  conversionsOnDate: number;
@@ -1350,6 +1350,7 @@ export declare const dashboardWidgetsContract: {
1350
1350
  ownResearchLeadsAdded: number;
1351
1351
  ownResearchLeadsExistingInSystem: number;
1352
1352
  ownResearchLeadsNew: number;
1353
+ averageRating: number;
1353
1354
  agentName: string;
1354
1355
  activesFaTotal: number;
1355
1356
  activesFaByStatus: Partial<Record<"ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY", number>>;
@@ -1361,7 +1362,6 @@ export declare const dashboardWidgetsContract: {
1361
1362
  bookingsSaTotal: number;
1362
1363
  bookingsSaByStatus: Partial<Record<import("../bookings/bookings.contract").BookingType, number>>;
1363
1364
  bookingsSaByCategory: Partial<Record<import("../bookings/bookings.contract").BookingCategory, number>>;
1364
- averageRating: number;
1365
1365
  callsOnDate: number;
1366
1366
  efficientCalls: number;
1367
1367
  conversionsOnDate: number;
@@ -1395,6 +1395,7 @@ export declare const dashboardWidgetsContract: {
1395
1395
  ownResearchLeadsAdded: number;
1396
1396
  ownResearchLeadsExistingInSystem: number;
1397
1397
  ownResearchLeadsNew: number;
1398
+ averageRating: number;
1398
1399
  agentName: string;
1399
1400
  activesFaTotal: number;
1400
1401
  activesFaByStatus: Partial<Record<"ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY", number>>;
@@ -1406,7 +1407,6 @@ export declare const dashboardWidgetsContract: {
1406
1407
  bookingsSaTotal: number;
1407
1408
  bookingsSaByStatus: Partial<Record<import("../bookings/bookings.contract").BookingType, number>>;
1408
1409
  bookingsSaByCategory: Partial<Record<import("../bookings/bookings.contract").BookingCategory, number>>;
1409
- averageRating: number;
1410
1410
  callsOnDate: number;
1411
1411
  efficientCalls: number;
1412
1412
  conversionsOnDate: number;
@@ -1502,10 +1502,10 @@ export declare const dashboardWidgetsContract: {
1502
1502
  ownResearchLeadsNew: z.ZodNumber;
1503
1503
  }, "strip", z.ZodTypeAny, {
1504
1504
  totalCalls: number;
1505
- conversionRate: number;
1506
1505
  callsToday: number;
1507
1506
  averageRatingToday: number;
1508
1507
  efficientCallsToday: number;
1508
+ conversionRate: number;
1509
1509
  ratingBreakdown: Record<import("../common/call-rating.schema").CallRating, number>;
1510
1510
  assignmentCalls: number;
1511
1511
  followUpCalls: number;
@@ -1517,10 +1517,10 @@ export declare const dashboardWidgetsContract: {
1517
1517
  averagePerformanceScore: number;
1518
1518
  }, {
1519
1519
  totalCalls: number;
1520
- conversionRate: number;
1521
1520
  callsToday: number;
1522
1521
  averageRatingToday: number;
1523
1522
  efficientCallsToday: number;
1523
+ conversionRate: number;
1524
1524
  ratingBreakdown: Record<import("../common/call-rating.schema").CallRating, number>;
1525
1525
  assignmentCalls: number;
1526
1526
  followUpCalls: number;
@@ -1548,10 +1548,10 @@ export declare const dashboardWidgetsContract: {
1548
1548
  };
1549
1549
  callMetrics: {
1550
1550
  totalCalls: number;
1551
- conversionRate: number;
1552
1551
  callsToday: number;
1553
1552
  averageRatingToday: number;
1554
1553
  efficientCallsToday: number;
1554
+ conversionRate: number;
1555
1555
  ratingBreakdown: Record<import("../common/call-rating.schema").CallRating, number>;
1556
1556
  assignmentCalls: number;
1557
1557
  followUpCalls: number;
@@ -1579,10 +1579,10 @@ export declare const dashboardWidgetsContract: {
1579
1579
  };
1580
1580
  callMetrics: {
1581
1581
  totalCalls: number;
1582
- conversionRate: number;
1583
1582
  callsToday: number;
1584
1583
  averageRatingToday: number;
1585
1584
  efficientCallsToday: number;
1585
+ conversionRate: number;
1586
1586
  ratingBreakdown: Record<import("../common/call-rating.schema").CallRating, number>;
1587
1587
  assignmentCalls: number;
1588
1588
  followUpCalls: number;
@@ -1672,11 +1672,11 @@ export declare const dashboardWidgetsContract: {
1672
1672
  total: number;
1673
1673
  byStatusSa: Partial<Record<"ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY", number>>;
1674
1674
  };
1675
+ agentCount: number;
1675
1676
  workers: {
1676
1677
  total: number;
1677
1678
  addedToday: number;
1678
1679
  };
1679
- agentCount: number;
1680
1680
  }, {
1681
1681
  bookings: {
1682
1682
  byStatus: Partial<Record<import("../bookings/bookings.contract").BookingType, number>>;
@@ -1691,11 +1691,11 @@ export declare const dashboardWidgetsContract: {
1691
1691
  total: number;
1692
1692
  byStatusSa: Partial<Record<"ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY", number>>;
1693
1693
  };
1694
+ agentCount: number;
1694
1695
  workers: {
1695
1696
  total: number;
1696
1697
  addedToday: number;
1697
1698
  };
1698
- agentCount: number;
1699
1699
  }>;
1700
1700
  };
1701
1701
  };
@@ -2165,26 +2165,6 @@ export declare const FilterJobSchema: z.ZodObject<{
2165
2165
  page: z.ZodDefault<z.ZodNumber>;
2166
2166
  } & {
2167
2167
  tradeId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2168
- createdAt: z.ZodNullable<z.ZodOptional<z.ZodObject<{
2169
- from: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2170
- to: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2171
- }, "strip", z.ZodTypeAny, {
2172
- from?: string | null | undefined;
2173
- to?: string | null | undefined;
2174
- }, {
2175
- from?: string | null | undefined;
2176
- to?: string | null | undefined;
2177
- }>>>;
2178
- updatedAt: z.ZodNullable<z.ZodOptional<z.ZodObject<{
2179
- from: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2180
- to: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2181
- }, "strip", z.ZodTypeAny, {
2182
- from?: string | null | undefined;
2183
- to?: string | null | undefined;
2184
- }, {
2185
- from?: string | null | undefined;
2186
- to?: string | null | undefined;
2187
- }>>>;
2188
2168
  qualificationFilters: z.ZodOptional<z.ZodArray<z.ZodObject<{
2189
2169
  qualificationId: z.ZodOptional<z.ZodString>;
2190
2170
  qualificationTypeId: z.ZodOptional<z.ZodString>;
@@ -2221,6 +2201,26 @@ export declare const FilterJobSchema: z.ZodObject<{
2221
2201
  }>>>;
2222
2202
  sortBy: z.ZodNullable<z.ZodOptional<z.ZodEnum<["description", "numberOfPositions", "status", "tradeId", "collaborationCompany", "collaborationClient", "collaborationAgent", "distance", "postcode", "payRate", "receivedRate", "workHours", "qualificationsCount", "createdAt", "updatedAt"]>>>;
2223
2203
  sortOrder: z.ZodNullable<z.ZodOptional<z.ZodEnum<["ASC", "DESC"]>>>;
2204
+ createdAt: z.ZodNullable<z.ZodOptional<z.ZodObject<{
2205
+ from: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2206
+ to: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2207
+ }, "strip", z.ZodTypeAny, {
2208
+ from?: string | null | undefined;
2209
+ to?: string | null | undefined;
2210
+ }, {
2211
+ from?: string | null | undefined;
2212
+ to?: string | null | undefined;
2213
+ }>>>;
2214
+ updatedAt: z.ZodNullable<z.ZodOptional<z.ZodObject<{
2215
+ from: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2216
+ to: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2217
+ }, "strip", z.ZodTypeAny, {
2218
+ from?: string | null | undefined;
2219
+ to?: string | null | undefined;
2220
+ }, {
2221
+ from?: string | null | undefined;
2222
+ to?: string | null | undefined;
2223
+ }>>>;
2224
2224
  }, "strip", z.ZodTypeAny, {
2225
2225
  limit: number;
2226
2226
  page: number;
@@ -10356,26 +10356,6 @@ export declare const jobsContractRouter: {
10356
10356
  page: z.ZodDefault<z.ZodNumber>;
10357
10357
  } & {
10358
10358
  tradeId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
10359
- createdAt: z.ZodNullable<z.ZodOptional<z.ZodObject<{
10360
- from: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10361
- to: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10362
- }, "strip", z.ZodTypeAny, {
10363
- from?: string | null | undefined;
10364
- to?: string | null | undefined;
10365
- }, {
10366
- from?: string | null | undefined;
10367
- to?: string | null | undefined;
10368
- }>>>;
10369
- updatedAt: z.ZodNullable<z.ZodOptional<z.ZodObject<{
10370
- from: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10371
- to: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10372
- }, "strip", z.ZodTypeAny, {
10373
- from?: string | null | undefined;
10374
- to?: string | null | undefined;
10375
- }, {
10376
- from?: string | null | undefined;
10377
- to?: string | null | undefined;
10378
- }>>>;
10379
10359
  qualificationFilters: z.ZodOptional<z.ZodArray<z.ZodObject<{
10380
10360
  qualificationId: z.ZodOptional<z.ZodString>;
10381
10361
  qualificationTypeId: z.ZodOptional<z.ZodString>;
@@ -10412,6 +10392,26 @@ export declare const jobsContractRouter: {
10412
10392
  }>>>;
10413
10393
  sortBy: z.ZodNullable<z.ZodOptional<z.ZodEnum<["description", "numberOfPositions", "status", "tradeId", "collaborationCompany", "collaborationClient", "collaborationAgent", "distance", "postcode", "payRate", "receivedRate", "workHours", "qualificationsCount", "createdAt", "updatedAt"]>>>;
10414
10394
  sortOrder: z.ZodNullable<z.ZodOptional<z.ZodEnum<["ASC", "DESC"]>>>;
10395
+ createdAt: z.ZodNullable<z.ZodOptional<z.ZodObject<{
10396
+ from: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10397
+ to: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10398
+ }, "strip", z.ZodTypeAny, {
10399
+ from?: string | null | undefined;
10400
+ to?: string | null | undefined;
10401
+ }, {
10402
+ from?: string | null | undefined;
10403
+ to?: string | null | undefined;
10404
+ }>>>;
10405
+ updatedAt: z.ZodNullable<z.ZodOptional<z.ZodObject<{
10406
+ from: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10407
+ to: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10408
+ }, "strip", z.ZodTypeAny, {
10409
+ from?: string | null | undefined;
10410
+ to?: string | null | undefined;
10411
+ }, {
10412
+ from?: string | null | undefined;
10413
+ to?: string | null | undefined;
10414
+ }>>>;
10415
10415
  }, "strip", z.ZodTypeAny, {
10416
10416
  limit: number;
10417
10417
  page: number;