@dakkitor/api-contracts 1.1.13 → 1.1.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -53,11 +53,11 @@ export declare const apiContractRouter: {
53
53
  agentId?: string | undefined;
54
54
  linkType?: "CREATION" | "EDIT_SUGGESTION" | undefined;
55
55
  }, {
56
+ clientId?: string | undefined;
56
57
  limit?: number | undefined;
57
58
  page?: number | undefined;
58
59
  sortBy?: "createdAt" | undefined;
59
60
  sortOrder?: "ASC" | "DESC" | undefined;
60
- clientId?: string | undefined;
61
61
  agentId?: string | undefined;
62
62
  linkType?: "CREATION" | "EDIT_SUGGESTION" | undefined;
63
63
  }>;
@@ -259,7 +259,7 @@ export declare const apiContractRouter: {
259
259
  lastName: string;
260
260
  email: string;
261
261
  phone: string;
262
- roles?: ("SECOND_AGENT" | "FIRST_AGENT" | "ADMIN" | "COMPANY_CHECKING")[] | undefined;
262
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
263
263
  }, {
264
264
  createdAt: string | Date;
265
265
  updatedAt: string | Date;
@@ -268,7 +268,7 @@ export declare const apiContractRouter: {
268
268
  lastName: string;
269
269
  email: string;
270
270
  phone: string;
271
- roles?: ("SECOND_AGENT" | "FIRST_AGENT" | "ADMIN" | "COMPANY_CHECKING")[] | undefined;
271
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
272
272
  }>;
273
273
  linkType: import("zod").ZodEnum<["CREATION", "EDIT_SUGGESTION"]>;
274
274
  suggestedChanges: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
@@ -291,7 +291,7 @@ export declare const apiContractRouter: {
291
291
  lastName: string;
292
292
  email: string;
293
293
  phone: string;
294
- roles?: ("SECOND_AGENT" | "FIRST_AGENT" | "ADMIN" | "COMPANY_CHECKING")[] | undefined;
294
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
295
295
  }, {
296
296
  createdAt: string | Date;
297
297
  updatedAt: string | Date;
@@ -300,7 +300,7 @@ export declare const apiContractRouter: {
300
300
  lastName: string;
301
301
  email: string;
302
302
  phone: string;
303
- roles?: ("SECOND_AGENT" | "FIRST_AGENT" | "ADMIN" | "COMPANY_CHECKING")[] | undefined;
303
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
304
304
  }>;
305
305
  createdAt: import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>, string, string | Date>;
306
306
  updatedAt: import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>, string, string | Date>;
@@ -338,7 +338,7 @@ export declare const apiContractRouter: {
338
338
  lastName: string;
339
339
  email: string;
340
340
  phone: string;
341
- roles?: ("SECOND_AGENT" | "FIRST_AGENT" | "ADMIN" | "COMPANY_CHECKING")[] | undefined;
341
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
342
342
  };
343
343
  linkType: "CREATION" | "EDIT_SUGGESTION";
344
344
  createdBy: string;
@@ -350,7 +350,7 @@ export declare const apiContractRouter: {
350
350
  lastName: string;
351
351
  email: string;
352
352
  phone: string;
353
- roles?: ("SECOND_AGENT" | "FIRST_AGENT" | "ADMIN" | "COMPANY_CHECKING")[] | undefined;
353
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
354
354
  };
355
355
  suggestedChanges?: Record<string, unknown> | undefined;
356
356
  appliedChanges?: Record<string, unknown> | undefined;
@@ -388,7 +388,7 @@ export declare const apiContractRouter: {
388
388
  lastName: string;
389
389
  email: string;
390
390
  phone: string;
391
- roles?: ("SECOND_AGENT" | "FIRST_AGENT" | "ADMIN" | "COMPANY_CHECKING")[] | undefined;
391
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
392
392
  };
393
393
  linkType: "CREATION" | "EDIT_SUGGESTION";
394
394
  createdBy: string;
@@ -400,7 +400,7 @@ export declare const apiContractRouter: {
400
400
  lastName: string;
401
401
  email: string;
402
402
  phone: string;
403
- roles?: ("SECOND_AGENT" | "FIRST_AGENT" | "ADMIN" | "COMPANY_CHECKING")[] | undefined;
403
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
404
404
  };
405
405
  suggestedChanges?: Record<string, unknown> | undefined;
406
406
  appliedChanges?: Record<string, unknown> | undefined;
@@ -446,7 +446,7 @@ export declare const apiContractRouter: {
446
446
  lastName: string;
447
447
  email: string;
448
448
  phone: string;
449
- roles?: ("SECOND_AGENT" | "FIRST_AGENT" | "ADMIN" | "COMPANY_CHECKING")[] | undefined;
449
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
450
450
  };
451
451
  linkType: "CREATION" | "EDIT_SUGGESTION";
452
452
  createdBy: string;
@@ -458,7 +458,7 @@ export declare const apiContractRouter: {
458
458
  lastName: string;
459
459
  email: string;
460
460
  phone: string;
461
- roles?: ("SECOND_AGENT" | "FIRST_AGENT" | "ADMIN" | "COMPANY_CHECKING")[] | undefined;
461
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
462
462
  };
463
463
  suggestedChanges?: Record<string, unknown> | undefined;
464
464
  appliedChanges?: Record<string, unknown> | undefined;
@@ -503,7 +503,7 @@ export declare const apiContractRouter: {
503
503
  lastName: string;
504
504
  email: string;
505
505
  phone: string;
506
- roles?: ("SECOND_AGENT" | "FIRST_AGENT" | "ADMIN" | "COMPANY_CHECKING")[] | undefined;
506
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
507
507
  };
508
508
  linkType: "CREATION" | "EDIT_SUGGESTION";
509
509
  createdBy: string;
@@ -515,7 +515,7 @@ export declare const apiContractRouter: {
515
515
  lastName: string;
516
516
  email: string;
517
517
  phone: string;
518
- roles?: ("SECOND_AGENT" | "FIRST_AGENT" | "ADMIN" | "COMPANY_CHECKING")[] | undefined;
518
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
519
519
  };
520
520
  suggestedChanges?: Record<string, unknown> | undefined;
521
521
  appliedChanges?: Record<string, unknown> | undefined;
@@ -735,7 +735,7 @@ export declare const apiContractRouter: {
735
735
  lastName: string;
736
736
  email: string;
737
737
  phone: string;
738
- roles?: ("SECOND_AGENT" | "FIRST_AGENT" | "ADMIN" | "COMPANY_CHECKING")[] | undefined;
738
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
739
739
  }, {
740
740
  createdAt: string | Date;
741
741
  updatedAt: string | Date;
@@ -744,7 +744,7 @@ export declare const apiContractRouter: {
744
744
  lastName: string;
745
745
  email: string;
746
746
  phone: string;
747
- roles?: ("SECOND_AGENT" | "FIRST_AGENT" | "ADMIN" | "COMPANY_CHECKING")[] | undefined;
747
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
748
748
  }>;
749
749
  linkType: import("zod").ZodEnum<["CREATION", "EDIT_SUGGESTION"]>;
750
750
  suggestedChanges: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
@@ -767,7 +767,7 @@ export declare const apiContractRouter: {
767
767
  lastName: string;
768
768
  email: string;
769
769
  phone: string;
770
- roles?: ("SECOND_AGENT" | "FIRST_AGENT" | "ADMIN" | "COMPANY_CHECKING")[] | undefined;
770
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
771
771
  }, {
772
772
  createdAt: string | Date;
773
773
  updatedAt: string | Date;
@@ -776,7 +776,7 @@ export declare const apiContractRouter: {
776
776
  lastName: string;
777
777
  email: string;
778
778
  phone: string;
779
- roles?: ("SECOND_AGENT" | "FIRST_AGENT" | "ADMIN" | "COMPANY_CHECKING")[] | undefined;
779
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
780
780
  }>;
781
781
  createdAt: import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>, string, string | Date>;
782
782
  updatedAt: import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>, string, string | Date>;
@@ -814,7 +814,7 @@ export declare const apiContractRouter: {
814
814
  lastName: string;
815
815
  email: string;
816
816
  phone: string;
817
- roles?: ("SECOND_AGENT" | "FIRST_AGENT" | "ADMIN" | "COMPANY_CHECKING")[] | undefined;
817
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
818
818
  };
819
819
  linkType: "CREATION" | "EDIT_SUGGESTION";
820
820
  createdBy: string;
@@ -826,7 +826,7 @@ export declare const apiContractRouter: {
826
826
  lastName: string;
827
827
  email: string;
828
828
  phone: string;
829
- roles?: ("SECOND_AGENT" | "FIRST_AGENT" | "ADMIN" | "COMPANY_CHECKING")[] | undefined;
829
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
830
830
  };
831
831
  suggestedChanges?: Record<string, unknown> | undefined;
832
832
  appliedChanges?: Record<string, unknown> | undefined;
@@ -864,7 +864,7 @@ export declare const apiContractRouter: {
864
864
  lastName: string;
865
865
  email: string;
866
866
  phone: string;
867
- roles?: ("SECOND_AGENT" | "FIRST_AGENT" | "ADMIN" | "COMPANY_CHECKING")[] | undefined;
867
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
868
868
  };
869
869
  linkType: "CREATION" | "EDIT_SUGGESTION";
870
870
  createdBy: string;
@@ -876,7 +876,7 @@ export declare const apiContractRouter: {
876
876
  lastName: string;
877
877
  email: string;
878
878
  phone: string;
879
- roles?: ("SECOND_AGENT" | "FIRST_AGENT" | "ADMIN" | "COMPANY_CHECKING")[] | undefined;
879
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
880
880
  };
881
881
  suggestedChanges?: Record<string, unknown> | undefined;
882
882
  appliedChanges?: Record<string, unknown> | undefined;
@@ -1123,7 +1123,7 @@ export declare const apiContractRouter: {
1123
1123
  lastName: string;
1124
1124
  email: string;
1125
1125
  phone: string;
1126
- roles?: ("SECOND_AGENT" | "FIRST_AGENT" | "ADMIN" | "COMPANY_CHECKING")[] | undefined;
1126
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
1127
1127
  }, {
1128
1128
  createdAt: string | Date;
1129
1129
  updatedAt: string | Date;
@@ -1132,7 +1132,7 @@ export declare const apiContractRouter: {
1132
1132
  lastName: string;
1133
1133
  email: string;
1134
1134
  phone: string;
1135
- roles?: ("SECOND_AGENT" | "FIRST_AGENT" | "ADMIN" | "COMPANY_CHECKING")[] | undefined;
1135
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
1136
1136
  }>;
1137
1137
  linkType: import("zod").ZodEnum<["CREATION", "EDIT_SUGGESTION"]>;
1138
1138
  suggestedChanges: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
@@ -1155,7 +1155,7 @@ export declare const apiContractRouter: {
1155
1155
  lastName: string;
1156
1156
  email: string;
1157
1157
  phone: string;
1158
- roles?: ("SECOND_AGENT" | "FIRST_AGENT" | "ADMIN" | "COMPANY_CHECKING")[] | undefined;
1158
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
1159
1159
  }, {
1160
1160
  createdAt: string | Date;
1161
1161
  updatedAt: string | Date;
@@ -1164,7 +1164,7 @@ export declare const apiContractRouter: {
1164
1164
  lastName: string;
1165
1165
  email: string;
1166
1166
  phone: string;
1167
- roles?: ("SECOND_AGENT" | "FIRST_AGENT" | "ADMIN" | "COMPANY_CHECKING")[] | undefined;
1167
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
1168
1168
  }>;
1169
1169
  createdAt: import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>, string, string | Date>;
1170
1170
  updatedAt: import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>, string, string | Date>;
@@ -1202,7 +1202,7 @@ export declare const apiContractRouter: {
1202
1202
  lastName: string;
1203
1203
  email: string;
1204
1204
  phone: string;
1205
- roles?: ("SECOND_AGENT" | "FIRST_AGENT" | "ADMIN" | "COMPANY_CHECKING")[] | undefined;
1205
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
1206
1206
  };
1207
1207
  linkType: "CREATION" | "EDIT_SUGGESTION";
1208
1208
  createdBy: string;
@@ -1214,7 +1214,7 @@ export declare const apiContractRouter: {
1214
1214
  lastName: string;
1215
1215
  email: string;
1216
1216
  phone: string;
1217
- roles?: ("SECOND_AGENT" | "FIRST_AGENT" | "ADMIN" | "COMPANY_CHECKING")[] | undefined;
1217
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
1218
1218
  };
1219
1219
  suggestedChanges?: Record<string, unknown> | undefined;
1220
1220
  appliedChanges?: Record<string, unknown> | undefined;
@@ -1252,7 +1252,7 @@ export declare const apiContractRouter: {
1252
1252
  lastName: string;
1253
1253
  email: string;
1254
1254
  phone: string;
1255
- roles?: ("SECOND_AGENT" | "FIRST_AGENT" | "ADMIN" | "COMPANY_CHECKING")[] | undefined;
1255
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
1256
1256
  };
1257
1257
  linkType: "CREATION" | "EDIT_SUGGESTION";
1258
1258
  createdBy: string;
@@ -1264,7 +1264,7 @@ export declare const apiContractRouter: {
1264
1264
  lastName: string;
1265
1265
  email: string;
1266
1266
  phone: string;
1267
- roles?: ("SECOND_AGENT" | "FIRST_AGENT" | "ADMIN" | "COMPANY_CHECKING")[] | undefined;
1267
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
1268
1268
  };
1269
1269
  suggestedChanges?: Record<string, unknown> | undefined;
1270
1270
  appliedChanges?: Record<string, unknown> | undefined;
@@ -2252,20 +2252,20 @@ export declare const apiContractRouter: {
2252
2252
  statusSa: import("zod").ZodOptional<import("zod").ZodEnum<["PENDING", "ACTIVE", "VACATION", "LEFT_THE_SITE", "MEDICAL_LEAVE", "DAY_OFF", "INJURY"]>>;
2253
2253
  statusFa: import("zod").ZodOptional<import("zod").ZodEnum<["PENDING", "ACTIVE", "VACATION", "LEFT_THE_SITE", "MEDICAL_LEAVE", "DAY_OFF", "INJURY"]>>;
2254
2254
  }, "strip", import("zod").ZodTypeAny, {
2255
- date: string;
2256
2255
  pay: {
2257
2256
  rate: number;
2258
2257
  unit: "DAILY" | "HOURLY";
2259
2258
  };
2259
+ date: string;
2260
2260
  comment?: string | undefined;
2261
2261
  statusSa?: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | undefined;
2262
2262
  statusFa?: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | undefined;
2263
2263
  }, {
2264
- date: string;
2265
2264
  pay: {
2266
2265
  rate: number;
2267
2266
  unit: "DAILY" | "HOURLY";
2268
2267
  };
2268
+ date: string;
2269
2269
  comment?: string | undefined;
2270
2270
  statusSa?: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | undefined;
2271
2271
  statusFa?: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | undefined;
@@ -2394,15 +2394,119 @@ export declare const apiContractRouter: {
2394
2394
  hoursWorkedUpdatedAt: import("zod").ZodNullable<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate, import("zod").ZodNull]>, string | null, string | Date | null>>;
2395
2395
  booking: import("zod").ZodObject<{
2396
2396
  id: import("zod").ZodString;
2397
+ status: import("zod").ZodEnum<["PENDING", "CONFIRMED", "CANCELLED", "COMPLETED", "REFUSED_BECAUSE_OF_NATIONALITY", "REFUSED_NOT_ENOUGH_EXPERIENCE", "REFUSED_JOB_FILLED", "REFUSED_IGNORED_DENIED", "REFUSED_BECAUSE_OF_DISTANCE", "WAITING_FOR_CONFIRMATION", "JOB_CANCELLED", "ANOTHER_SITUATION", "YELLOW_FOR_TOMORROW", "SPOKE_WITH_WORKER_IN_THE_MORNING", "ON_THE_WAY_TO_THE_SITE", "AT_THE_INDUCTION", "STARTED_THE_JOB", "DIDNT_START_BECAUSE_OF_WORKER", "DIDNT_START_BECAUSE_OF_US", "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE", "DIDNT_START_BECAUSE_OF_AGENCY", "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS"]>;
2398
+ startDate: import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>, string, string | Date>;
2399
+ endDate: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate, import("zod").ZodNull]>, string | null, string | Date | null>>>;
2400
+ worker: import("zod").ZodObject<{
2401
+ id: import("zod").ZodString;
2402
+ firstName: import("zod").ZodString;
2403
+ lastName: import("zod").ZodString;
2404
+ }, "strip", import("zod").ZodTypeAny, {
2405
+ id: string;
2406
+ firstName: string;
2407
+ lastName: string;
2408
+ }, {
2409
+ id: string;
2410
+ firstName: string;
2411
+ lastName: string;
2412
+ }>;
2413
+ user: import("zod").ZodObject<{
2414
+ id: import("zod").ZodString;
2415
+ firstName: import("zod").ZodString;
2416
+ lastName: import("zod").ZodString;
2417
+ email: import("zod").ZodString;
2418
+ }, "strip", import("zod").ZodTypeAny, {
2419
+ id: string;
2420
+ firstName: string;
2421
+ lastName: string;
2422
+ email: string;
2423
+ }, {
2424
+ id: string;
2425
+ firstName: string;
2426
+ lastName: string;
2427
+ email: string;
2428
+ }>;
2429
+ pay: import("zod").ZodObject<{
2430
+ rate: import("zod").ZodNumber;
2431
+ unit: import("zod").ZodEnum<["DAILY", "HOURLY"]>;
2432
+ }, "strip", import("zod").ZodTypeAny, {
2433
+ rate: number;
2434
+ unit: "DAILY" | "HOURLY";
2435
+ }, {
2436
+ rate: number;
2437
+ unit: "DAILY" | "HOURLY";
2438
+ }>;
2439
+ job: import("zod").ZodObject<{
2440
+ id: import("zod").ZodString;
2441
+ description: import("zod").ZodString;
2442
+ }, "strip", import("zod").ZodTypeAny, {
2443
+ id: string;
2444
+ description: string;
2445
+ }, {
2446
+ id: string;
2447
+ description: string;
2448
+ }>;
2449
+ userId: import("zod").ZodString;
2450
+ createdAt: import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>, string, string | Date>;
2451
+ updatedAt: import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>, string, string | Date>;
2397
2452
  }, "strip", import("zod").ZodTypeAny, {
2453
+ status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
2454
+ startDate: string;
2455
+ createdAt: string;
2456
+ updatedAt: string;
2398
2457
  id: string;
2458
+ worker: {
2459
+ id: string;
2460
+ firstName: string;
2461
+ lastName: string;
2462
+ };
2463
+ pay: {
2464
+ rate: number;
2465
+ unit: "DAILY" | "HOURLY";
2466
+ };
2467
+ userId: string;
2468
+ user: {
2469
+ id: string;
2470
+ firstName: string;
2471
+ lastName: string;
2472
+ email: string;
2473
+ };
2474
+ job: {
2475
+ id: string;
2476
+ description: string;
2477
+ };
2478
+ endDate?: string | null | undefined;
2399
2479
  }, {
2480
+ status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
2481
+ startDate: string | Date;
2482
+ createdAt: string | Date;
2483
+ updatedAt: string | Date;
2400
2484
  id: string;
2485
+ worker: {
2486
+ id: string;
2487
+ firstName: string;
2488
+ lastName: string;
2489
+ };
2490
+ pay: {
2491
+ rate: number;
2492
+ unit: "DAILY" | "HOURLY";
2493
+ };
2494
+ userId: string;
2495
+ user: {
2496
+ id: string;
2497
+ firstName: string;
2498
+ lastName: string;
2499
+ email: string;
2500
+ };
2501
+ job: {
2502
+ id: string;
2503
+ description: string;
2504
+ };
2505
+ endDate?: string | Date | null | undefined;
2401
2506
  }>;
2402
2507
  createdAt: import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>, string, string | Date>;
2403
2508
  updatedAt: import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>, string, string | Date>;
2404
2509
  }, "strip", import("zod").ZodTypeAny, {
2405
- date: string;
2406
2510
  createdAt: string;
2407
2511
  updatedAt: string;
2408
2512
  id: string;
@@ -2410,6 +2514,7 @@ export declare const apiContractRouter: {
2410
2514
  rate: number;
2411
2515
  unit: "DAILY" | "HOURLY";
2412
2516
  };
2517
+ date: string;
2413
2518
  comment: string | null;
2414
2519
  statusSa: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY";
2415
2520
  statusSaUpdatedAt: string | null;
@@ -2418,10 +2523,34 @@ export declare const apiContractRouter: {
2418
2523
  hoursWorked: number | null;
2419
2524
  hoursWorkedUpdatedAt: string | null;
2420
2525
  booking: {
2526
+ status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
2527
+ startDate: string;
2528
+ createdAt: string;
2529
+ updatedAt: string;
2421
2530
  id: string;
2531
+ worker: {
2532
+ id: string;
2533
+ firstName: string;
2534
+ lastName: string;
2535
+ };
2536
+ pay: {
2537
+ rate: number;
2538
+ unit: "DAILY" | "HOURLY";
2539
+ };
2540
+ userId: string;
2541
+ user: {
2542
+ id: string;
2543
+ firstName: string;
2544
+ lastName: string;
2545
+ email: string;
2546
+ };
2547
+ job: {
2548
+ id: string;
2549
+ description: string;
2550
+ };
2551
+ endDate?: string | null | undefined;
2422
2552
  };
2423
2553
  }, {
2424
- date: string | Date;
2425
2554
  createdAt: string | Date;
2426
2555
  updatedAt: string | Date;
2427
2556
  id: string;
@@ -2429,6 +2558,7 @@ export declare const apiContractRouter: {
2429
2558
  rate: number;
2430
2559
  unit: "DAILY" | "HOURLY";
2431
2560
  };
2561
+ date: string | Date;
2432
2562
  comment: string | null;
2433
2563
  statusSa: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY";
2434
2564
  statusSaUpdatedAt: string | Date | null;
@@ -2437,7 +2567,32 @@ export declare const apiContractRouter: {
2437
2567
  hoursWorked: number | null;
2438
2568
  hoursWorkedUpdatedAt: string | Date | null;
2439
2569
  booking: {
2570
+ status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
2571
+ startDate: string | Date;
2572
+ createdAt: string | Date;
2573
+ updatedAt: string | Date;
2440
2574
  id: string;
2575
+ worker: {
2576
+ id: string;
2577
+ firstName: string;
2578
+ lastName: string;
2579
+ };
2580
+ pay: {
2581
+ rate: number;
2582
+ unit: "DAILY" | "HOURLY";
2583
+ };
2584
+ userId: string;
2585
+ user: {
2586
+ id: string;
2587
+ firstName: string;
2588
+ lastName: string;
2589
+ email: string;
2590
+ };
2591
+ job: {
2592
+ id: string;
2593
+ description: string;
2594
+ };
2595
+ endDate?: string | Date | null | undefined;
2441
2596
  };
2442
2597
  }>;
2443
2598
  404: import("zod").ZodObject<{
@@ -2549,10 +2704,6 @@ export declare const apiContractRouter: {
2549
2704
  }, "strip", import("zod").ZodTypeAny, {
2550
2705
  limit: number;
2551
2706
  page: number;
2552
- date?: {
2553
- from?: string | null | undefined;
2554
- to?: string | null | undefined;
2555
- } | null | undefined;
2556
2707
  status?: {
2557
2708
  filterType: "SECOND_AGENT" | "FIRST_AGENT" | "BOTH" | "EITHER";
2558
2709
  status?: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | undefined;
@@ -2565,14 +2716,14 @@ export declare const apiContractRouter: {
2565
2716
  min?: number | undefined;
2566
2717
  max?: number | undefined;
2567
2718
  } | null | undefined;
2568
- bookingId?: string | null | undefined;
2569
- sortBy?: "date" | "payRate" | "status" | "createdAt" | "updatedAt" | null | undefined;
2719
+ sortBy?: "status" | "createdAt" | "updatedAt" | "date" | "payRate" | null | undefined;
2570
2720
  sortOrder?: "ASC" | "DESC" | null | undefined;
2571
- }, {
2572
2721
  date?: {
2573
2722
  from?: string | null | undefined;
2574
2723
  to?: string | null | undefined;
2575
2724
  } | null | undefined;
2725
+ bookingId?: string | null | undefined;
2726
+ }, {
2576
2727
  status?: {
2577
2728
  status?: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | undefined;
2578
2729
  filterType?: "SECOND_AGENT" | "FIRST_AGENT" | "BOTH" | "EITHER" | undefined;
@@ -2587,9 +2738,13 @@ export declare const apiContractRouter: {
2587
2738
  } | null | undefined;
2588
2739
  limit?: number | undefined;
2589
2740
  page?: number | undefined;
2590
- bookingId?: string | null | undefined;
2591
- sortBy?: "date" | "payRate" | "status" | "createdAt" | "updatedAt" | null | undefined;
2741
+ sortBy?: "status" | "createdAt" | "updatedAt" | "date" | "payRate" | null | undefined;
2592
2742
  sortOrder?: "ASC" | "DESC" | null | undefined;
2743
+ date?: {
2744
+ from?: string | null | undefined;
2745
+ to?: string | null | undefined;
2746
+ } | null | undefined;
2747
+ bookingId?: string | null | undefined;
2593
2748
  }>;
2594
2749
  summary: "Get all active records";
2595
2750
  method: "GET";
@@ -2718,15 +2873,119 @@ export declare const apiContractRouter: {
2718
2873
  hoursWorkedUpdatedAt: import("zod").ZodNullable<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate, import("zod").ZodNull]>, string | null, string | Date | null>>;
2719
2874
  booking: import("zod").ZodObject<{
2720
2875
  id: import("zod").ZodString;
2876
+ status: import("zod").ZodEnum<["PENDING", "CONFIRMED", "CANCELLED", "COMPLETED", "REFUSED_BECAUSE_OF_NATIONALITY", "REFUSED_NOT_ENOUGH_EXPERIENCE", "REFUSED_JOB_FILLED", "REFUSED_IGNORED_DENIED", "REFUSED_BECAUSE_OF_DISTANCE", "WAITING_FOR_CONFIRMATION", "JOB_CANCELLED", "ANOTHER_SITUATION", "YELLOW_FOR_TOMORROW", "SPOKE_WITH_WORKER_IN_THE_MORNING", "ON_THE_WAY_TO_THE_SITE", "AT_THE_INDUCTION", "STARTED_THE_JOB", "DIDNT_START_BECAUSE_OF_WORKER", "DIDNT_START_BECAUSE_OF_US", "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE", "DIDNT_START_BECAUSE_OF_AGENCY", "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS"]>;
2877
+ startDate: import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>, string, string | Date>;
2878
+ endDate: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate, import("zod").ZodNull]>, string | null, string | Date | null>>>;
2879
+ worker: import("zod").ZodObject<{
2880
+ id: import("zod").ZodString;
2881
+ firstName: import("zod").ZodString;
2882
+ lastName: import("zod").ZodString;
2883
+ }, "strip", import("zod").ZodTypeAny, {
2884
+ id: string;
2885
+ firstName: string;
2886
+ lastName: string;
2887
+ }, {
2888
+ id: string;
2889
+ firstName: string;
2890
+ lastName: string;
2891
+ }>;
2892
+ user: import("zod").ZodObject<{
2893
+ id: import("zod").ZodString;
2894
+ firstName: import("zod").ZodString;
2895
+ lastName: import("zod").ZodString;
2896
+ email: import("zod").ZodString;
2897
+ }, "strip", import("zod").ZodTypeAny, {
2898
+ id: string;
2899
+ firstName: string;
2900
+ lastName: string;
2901
+ email: string;
2902
+ }, {
2903
+ id: string;
2904
+ firstName: string;
2905
+ lastName: string;
2906
+ email: string;
2907
+ }>;
2908
+ pay: import("zod").ZodObject<{
2909
+ rate: import("zod").ZodNumber;
2910
+ unit: import("zod").ZodEnum<["DAILY", "HOURLY"]>;
2911
+ }, "strip", import("zod").ZodTypeAny, {
2912
+ rate: number;
2913
+ unit: "DAILY" | "HOURLY";
2914
+ }, {
2915
+ rate: number;
2916
+ unit: "DAILY" | "HOURLY";
2917
+ }>;
2918
+ job: import("zod").ZodObject<{
2919
+ id: import("zod").ZodString;
2920
+ description: import("zod").ZodString;
2921
+ }, "strip", import("zod").ZodTypeAny, {
2922
+ id: string;
2923
+ description: string;
2924
+ }, {
2925
+ id: string;
2926
+ description: string;
2927
+ }>;
2928
+ userId: import("zod").ZodString;
2929
+ createdAt: import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>, string, string | Date>;
2930
+ updatedAt: import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>, string, string | Date>;
2721
2931
  }, "strip", import("zod").ZodTypeAny, {
2932
+ status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
2933
+ startDate: string;
2934
+ createdAt: string;
2935
+ updatedAt: string;
2722
2936
  id: string;
2937
+ worker: {
2938
+ id: string;
2939
+ firstName: string;
2940
+ lastName: string;
2941
+ };
2942
+ pay: {
2943
+ rate: number;
2944
+ unit: "DAILY" | "HOURLY";
2945
+ };
2946
+ userId: string;
2947
+ user: {
2948
+ id: string;
2949
+ firstName: string;
2950
+ lastName: string;
2951
+ email: string;
2952
+ };
2953
+ job: {
2954
+ id: string;
2955
+ description: string;
2956
+ };
2957
+ endDate?: string | null | undefined;
2723
2958
  }, {
2959
+ status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
2960
+ startDate: string | Date;
2961
+ createdAt: string | Date;
2962
+ updatedAt: string | Date;
2724
2963
  id: string;
2964
+ worker: {
2965
+ id: string;
2966
+ firstName: string;
2967
+ lastName: string;
2968
+ };
2969
+ pay: {
2970
+ rate: number;
2971
+ unit: "DAILY" | "HOURLY";
2972
+ };
2973
+ userId: string;
2974
+ user: {
2975
+ id: string;
2976
+ firstName: string;
2977
+ lastName: string;
2978
+ email: string;
2979
+ };
2980
+ job: {
2981
+ id: string;
2982
+ description: string;
2983
+ };
2984
+ endDate?: string | Date | null | undefined;
2725
2985
  }>;
2726
2986
  createdAt: import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>, string, string | Date>;
2727
2987
  updatedAt: import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>, string, string | Date>;
2728
2988
  }, "strip", import("zod").ZodTypeAny, {
2729
- date: string;
2730
2989
  createdAt: string;
2731
2990
  updatedAt: string;
2732
2991
  id: string;
@@ -2734,6 +2993,7 @@ export declare const apiContractRouter: {
2734
2993
  rate: number;
2735
2994
  unit: "DAILY" | "HOURLY";
2736
2995
  };
2996
+ date: string;
2737
2997
  comment: string | null;
2738
2998
  statusSa: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY";
2739
2999
  statusSaUpdatedAt: string | null;
@@ -2742,10 +3002,34 @@ export declare const apiContractRouter: {
2742
3002
  hoursWorked: number | null;
2743
3003
  hoursWorkedUpdatedAt: string | null;
2744
3004
  booking: {
3005
+ status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
3006
+ startDate: string;
3007
+ createdAt: string;
3008
+ updatedAt: string;
2745
3009
  id: string;
3010
+ worker: {
3011
+ id: string;
3012
+ firstName: string;
3013
+ lastName: string;
3014
+ };
3015
+ pay: {
3016
+ rate: number;
3017
+ unit: "DAILY" | "HOURLY";
3018
+ };
3019
+ userId: string;
3020
+ user: {
3021
+ id: string;
3022
+ firstName: string;
3023
+ lastName: string;
3024
+ email: string;
3025
+ };
3026
+ job: {
3027
+ id: string;
3028
+ description: string;
3029
+ };
3030
+ endDate?: string | null | undefined;
2746
3031
  };
2747
3032
  }, {
2748
- date: string | Date;
2749
3033
  createdAt: string | Date;
2750
3034
  updatedAt: string | Date;
2751
3035
  id: string;
@@ -2753,6 +3037,7 @@ export declare const apiContractRouter: {
2753
3037
  rate: number;
2754
3038
  unit: "DAILY" | "HOURLY";
2755
3039
  };
3040
+ date: string | Date;
2756
3041
  comment: string | null;
2757
3042
  statusSa: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY";
2758
3043
  statusSaUpdatedAt: string | Date | null;
@@ -2761,7 +3046,32 @@ export declare const apiContractRouter: {
2761
3046
  hoursWorked: number | null;
2762
3047
  hoursWorkedUpdatedAt: string | Date | null;
2763
3048
  booking: {
3049
+ status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
3050
+ startDate: string | Date;
3051
+ createdAt: string | Date;
3052
+ updatedAt: string | Date;
2764
3053
  id: string;
3054
+ worker: {
3055
+ id: string;
3056
+ firstName: string;
3057
+ lastName: string;
3058
+ };
3059
+ pay: {
3060
+ rate: number;
3061
+ unit: "DAILY" | "HOURLY";
3062
+ };
3063
+ userId: string;
3064
+ user: {
3065
+ id: string;
3066
+ firstName: string;
3067
+ lastName: string;
3068
+ email: string;
3069
+ };
3070
+ job: {
3071
+ id: string;
3072
+ description: string;
3073
+ };
3074
+ endDate?: string | Date | null | undefined;
2765
3075
  };
2766
3076
  }>, "many">;
2767
3077
  totalCount: import("zod").ZodNumber;
@@ -2772,7 +3082,6 @@ export declare const apiContractRouter: {
2772
3082
  }, "strip", import("zod").ZodTypeAny, {
2773
3083
  limit: number;
2774
3084
  items: {
2775
- date: string;
2776
3085
  createdAt: string;
2777
3086
  updatedAt: string;
2778
3087
  id: string;
@@ -2780,6 +3089,7 @@ export declare const apiContractRouter: {
2780
3089
  rate: number;
2781
3090
  unit: "DAILY" | "HOURLY";
2782
3091
  };
3092
+ date: string;
2783
3093
  comment: string | null;
2784
3094
  statusSa: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY";
2785
3095
  statusSaUpdatedAt: string | null;
@@ -2788,7 +3098,32 @@ export declare const apiContractRouter: {
2788
3098
  hoursWorked: number | null;
2789
3099
  hoursWorkedUpdatedAt: string | null;
2790
3100
  booking: {
3101
+ status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
3102
+ startDate: string;
3103
+ createdAt: string;
3104
+ updatedAt: string;
2791
3105
  id: string;
3106
+ worker: {
3107
+ id: string;
3108
+ firstName: string;
3109
+ lastName: string;
3110
+ };
3111
+ pay: {
3112
+ rate: number;
3113
+ unit: "DAILY" | "HOURLY";
3114
+ };
3115
+ userId: string;
3116
+ user: {
3117
+ id: string;
3118
+ firstName: string;
3119
+ lastName: string;
3120
+ email: string;
3121
+ };
3122
+ job: {
3123
+ id: string;
3124
+ description: string;
3125
+ };
3126
+ endDate?: string | null | undefined;
2792
3127
  };
2793
3128
  }[];
2794
3129
  totalCount: number;
@@ -2798,7 +3133,6 @@ export declare const apiContractRouter: {
2798
3133
  }, {
2799
3134
  limit: number;
2800
3135
  items: {
2801
- date: string | Date;
2802
3136
  createdAt: string | Date;
2803
3137
  updatedAt: string | Date;
2804
3138
  id: string;
@@ -2806,6 +3140,7 @@ export declare const apiContractRouter: {
2806
3140
  rate: number;
2807
3141
  unit: "DAILY" | "HOURLY";
2808
3142
  };
3143
+ date: string | Date;
2809
3144
  comment: string | null;
2810
3145
  statusSa: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY";
2811
3146
  statusSaUpdatedAt: string | Date | null;
@@ -2814,7 +3149,32 @@ export declare const apiContractRouter: {
2814
3149
  hoursWorked: number | null;
2815
3150
  hoursWorkedUpdatedAt: string | Date | null;
2816
3151
  booking: {
3152
+ status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
3153
+ startDate: string | Date;
3154
+ createdAt: string | Date;
3155
+ updatedAt: string | Date;
2817
3156
  id: string;
3157
+ worker: {
3158
+ id: string;
3159
+ firstName: string;
3160
+ lastName: string;
3161
+ };
3162
+ pay: {
3163
+ rate: number;
3164
+ unit: "DAILY" | "HOURLY";
3165
+ };
3166
+ userId: string;
3167
+ user: {
3168
+ id: string;
3169
+ firstName: string;
3170
+ lastName: string;
3171
+ email: string;
3172
+ };
3173
+ job: {
3174
+ id: string;
3175
+ description: string;
3176
+ };
3177
+ endDate?: string | Date | null | undefined;
2818
3178
  };
2819
3179
  }[];
2820
3180
  totalCount: number;
@@ -2964,15 +3324,119 @@ export declare const apiContractRouter: {
2964
3324
  hoursWorkedUpdatedAt: import("zod").ZodNullable<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate, import("zod").ZodNull]>, string | null, string | Date | null>>;
2965
3325
  booking: import("zod").ZodObject<{
2966
3326
  id: import("zod").ZodString;
3327
+ status: import("zod").ZodEnum<["PENDING", "CONFIRMED", "CANCELLED", "COMPLETED", "REFUSED_BECAUSE_OF_NATIONALITY", "REFUSED_NOT_ENOUGH_EXPERIENCE", "REFUSED_JOB_FILLED", "REFUSED_IGNORED_DENIED", "REFUSED_BECAUSE_OF_DISTANCE", "WAITING_FOR_CONFIRMATION", "JOB_CANCELLED", "ANOTHER_SITUATION", "YELLOW_FOR_TOMORROW", "SPOKE_WITH_WORKER_IN_THE_MORNING", "ON_THE_WAY_TO_THE_SITE", "AT_THE_INDUCTION", "STARTED_THE_JOB", "DIDNT_START_BECAUSE_OF_WORKER", "DIDNT_START_BECAUSE_OF_US", "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE", "DIDNT_START_BECAUSE_OF_AGENCY", "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS"]>;
3328
+ startDate: import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>, string, string | Date>;
3329
+ endDate: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate, import("zod").ZodNull]>, string | null, string | Date | null>>>;
3330
+ worker: import("zod").ZodObject<{
3331
+ id: import("zod").ZodString;
3332
+ firstName: import("zod").ZodString;
3333
+ lastName: import("zod").ZodString;
3334
+ }, "strip", import("zod").ZodTypeAny, {
3335
+ id: string;
3336
+ firstName: string;
3337
+ lastName: string;
3338
+ }, {
3339
+ id: string;
3340
+ firstName: string;
3341
+ lastName: string;
3342
+ }>;
3343
+ user: import("zod").ZodObject<{
3344
+ id: import("zod").ZodString;
3345
+ firstName: import("zod").ZodString;
3346
+ lastName: import("zod").ZodString;
3347
+ email: import("zod").ZodString;
3348
+ }, "strip", import("zod").ZodTypeAny, {
3349
+ id: string;
3350
+ firstName: string;
3351
+ lastName: string;
3352
+ email: string;
3353
+ }, {
3354
+ id: string;
3355
+ firstName: string;
3356
+ lastName: string;
3357
+ email: string;
3358
+ }>;
3359
+ pay: import("zod").ZodObject<{
3360
+ rate: import("zod").ZodNumber;
3361
+ unit: import("zod").ZodEnum<["DAILY", "HOURLY"]>;
3362
+ }, "strip", import("zod").ZodTypeAny, {
3363
+ rate: number;
3364
+ unit: "DAILY" | "HOURLY";
3365
+ }, {
3366
+ rate: number;
3367
+ unit: "DAILY" | "HOURLY";
3368
+ }>;
3369
+ job: import("zod").ZodObject<{
3370
+ id: import("zod").ZodString;
3371
+ description: import("zod").ZodString;
3372
+ }, "strip", import("zod").ZodTypeAny, {
3373
+ id: string;
3374
+ description: string;
3375
+ }, {
3376
+ id: string;
3377
+ description: string;
3378
+ }>;
3379
+ userId: import("zod").ZodString;
3380
+ createdAt: import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>, string, string | Date>;
3381
+ updatedAt: import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>, string, string | Date>;
2967
3382
  }, "strip", import("zod").ZodTypeAny, {
3383
+ status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
3384
+ startDate: string;
3385
+ createdAt: string;
3386
+ updatedAt: string;
2968
3387
  id: string;
3388
+ worker: {
3389
+ id: string;
3390
+ firstName: string;
3391
+ lastName: string;
3392
+ };
3393
+ pay: {
3394
+ rate: number;
3395
+ unit: "DAILY" | "HOURLY";
3396
+ };
3397
+ userId: string;
3398
+ user: {
3399
+ id: string;
3400
+ firstName: string;
3401
+ lastName: string;
3402
+ email: string;
3403
+ };
3404
+ job: {
3405
+ id: string;
3406
+ description: string;
3407
+ };
3408
+ endDate?: string | null | undefined;
2969
3409
  }, {
3410
+ status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
3411
+ startDate: string | Date;
3412
+ createdAt: string | Date;
3413
+ updatedAt: string | Date;
2970
3414
  id: string;
3415
+ worker: {
3416
+ id: string;
3417
+ firstName: string;
3418
+ lastName: string;
3419
+ };
3420
+ pay: {
3421
+ rate: number;
3422
+ unit: "DAILY" | "HOURLY";
3423
+ };
3424
+ userId: string;
3425
+ user: {
3426
+ id: string;
3427
+ firstName: string;
3428
+ lastName: string;
3429
+ email: string;
3430
+ };
3431
+ job: {
3432
+ id: string;
3433
+ description: string;
3434
+ };
3435
+ endDate?: string | Date | null | undefined;
2971
3436
  }>;
2972
3437
  createdAt: import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>, string, string | Date>;
2973
3438
  updatedAt: import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>, string, string | Date>;
2974
3439
  }, "strip", import("zod").ZodTypeAny, {
2975
- date: string;
2976
3440
  createdAt: string;
2977
3441
  updatedAt: string;
2978
3442
  id: string;
@@ -2980,6 +3444,7 @@ export declare const apiContractRouter: {
2980
3444
  rate: number;
2981
3445
  unit: "DAILY" | "HOURLY";
2982
3446
  };
3447
+ date: string;
2983
3448
  comment: string | null;
2984
3449
  statusSa: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY";
2985
3450
  statusSaUpdatedAt: string | null;
@@ -2988,10 +3453,34 @@ export declare const apiContractRouter: {
2988
3453
  hoursWorked: number | null;
2989
3454
  hoursWorkedUpdatedAt: string | null;
2990
3455
  booking: {
3456
+ status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
3457
+ startDate: string;
3458
+ createdAt: string;
3459
+ updatedAt: string;
2991
3460
  id: string;
3461
+ worker: {
3462
+ id: string;
3463
+ firstName: string;
3464
+ lastName: string;
3465
+ };
3466
+ pay: {
3467
+ rate: number;
3468
+ unit: "DAILY" | "HOURLY";
3469
+ };
3470
+ userId: string;
3471
+ user: {
3472
+ id: string;
3473
+ firstName: string;
3474
+ lastName: string;
3475
+ email: string;
3476
+ };
3477
+ job: {
3478
+ id: string;
3479
+ description: string;
3480
+ };
3481
+ endDate?: string | null | undefined;
2992
3482
  };
2993
3483
  }, {
2994
- date: string | Date;
2995
3484
  createdAt: string | Date;
2996
3485
  updatedAt: string | Date;
2997
3486
  id: string;
@@ -2999,6 +3488,7 @@ export declare const apiContractRouter: {
2999
3488
  rate: number;
3000
3489
  unit: "DAILY" | "HOURLY";
3001
3490
  };
3491
+ date: string | Date;
3002
3492
  comment: string | null;
3003
3493
  statusSa: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY";
3004
3494
  statusSaUpdatedAt: string | Date | null;
@@ -3007,7 +3497,32 @@ export declare const apiContractRouter: {
3007
3497
  hoursWorked: number | null;
3008
3498
  hoursWorkedUpdatedAt: string | Date | null;
3009
3499
  booking: {
3500
+ status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
3501
+ startDate: string | Date;
3502
+ createdAt: string | Date;
3503
+ updatedAt: string | Date;
3010
3504
  id: string;
3505
+ worker: {
3506
+ id: string;
3507
+ firstName: string;
3508
+ lastName: string;
3509
+ };
3510
+ pay: {
3511
+ rate: number;
3512
+ unit: "DAILY" | "HOURLY";
3513
+ };
3514
+ userId: string;
3515
+ user: {
3516
+ id: string;
3517
+ firstName: string;
3518
+ lastName: string;
3519
+ email: string;
3520
+ };
3521
+ job: {
3522
+ id: string;
3523
+ description: string;
3524
+ };
3525
+ endDate?: string | Date | null | undefined;
3011
3526
  };
3012
3527
  }>;
3013
3528
  404: import("zod").ZodObject<{
@@ -3211,15 +3726,119 @@ export declare const apiContractRouter: {
3211
3726
  hoursWorkedUpdatedAt: import("zod").ZodNullable<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate, import("zod").ZodNull]>, string | null, string | Date | null>>;
3212
3727
  booking: import("zod").ZodObject<{
3213
3728
  id: import("zod").ZodString;
3729
+ status: import("zod").ZodEnum<["PENDING", "CONFIRMED", "CANCELLED", "COMPLETED", "REFUSED_BECAUSE_OF_NATIONALITY", "REFUSED_NOT_ENOUGH_EXPERIENCE", "REFUSED_JOB_FILLED", "REFUSED_IGNORED_DENIED", "REFUSED_BECAUSE_OF_DISTANCE", "WAITING_FOR_CONFIRMATION", "JOB_CANCELLED", "ANOTHER_SITUATION", "YELLOW_FOR_TOMORROW", "SPOKE_WITH_WORKER_IN_THE_MORNING", "ON_THE_WAY_TO_THE_SITE", "AT_THE_INDUCTION", "STARTED_THE_JOB", "DIDNT_START_BECAUSE_OF_WORKER", "DIDNT_START_BECAUSE_OF_US", "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE", "DIDNT_START_BECAUSE_OF_AGENCY", "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS"]>;
3730
+ startDate: import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>, string, string | Date>;
3731
+ endDate: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate, import("zod").ZodNull]>, string | null, string | Date | null>>>;
3732
+ worker: import("zod").ZodObject<{
3733
+ id: import("zod").ZodString;
3734
+ firstName: import("zod").ZodString;
3735
+ lastName: import("zod").ZodString;
3736
+ }, "strip", import("zod").ZodTypeAny, {
3737
+ id: string;
3738
+ firstName: string;
3739
+ lastName: string;
3740
+ }, {
3741
+ id: string;
3742
+ firstName: string;
3743
+ lastName: string;
3744
+ }>;
3745
+ user: import("zod").ZodObject<{
3746
+ id: import("zod").ZodString;
3747
+ firstName: import("zod").ZodString;
3748
+ lastName: import("zod").ZodString;
3749
+ email: import("zod").ZodString;
3750
+ }, "strip", import("zod").ZodTypeAny, {
3751
+ id: string;
3752
+ firstName: string;
3753
+ lastName: string;
3754
+ email: string;
3755
+ }, {
3756
+ id: string;
3757
+ firstName: string;
3758
+ lastName: string;
3759
+ email: string;
3760
+ }>;
3761
+ pay: import("zod").ZodObject<{
3762
+ rate: import("zod").ZodNumber;
3763
+ unit: import("zod").ZodEnum<["DAILY", "HOURLY"]>;
3764
+ }, "strip", import("zod").ZodTypeAny, {
3765
+ rate: number;
3766
+ unit: "DAILY" | "HOURLY";
3767
+ }, {
3768
+ rate: number;
3769
+ unit: "DAILY" | "HOURLY";
3770
+ }>;
3771
+ job: import("zod").ZodObject<{
3772
+ id: import("zod").ZodString;
3773
+ description: import("zod").ZodString;
3774
+ }, "strip", import("zod").ZodTypeAny, {
3775
+ id: string;
3776
+ description: string;
3777
+ }, {
3778
+ id: string;
3779
+ description: string;
3780
+ }>;
3781
+ userId: import("zod").ZodString;
3782
+ createdAt: import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>, string, string | Date>;
3783
+ updatedAt: import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>, string, string | Date>;
3214
3784
  }, "strip", import("zod").ZodTypeAny, {
3785
+ status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
3786
+ startDate: string;
3787
+ createdAt: string;
3788
+ updatedAt: string;
3215
3789
  id: string;
3790
+ worker: {
3791
+ id: string;
3792
+ firstName: string;
3793
+ lastName: string;
3794
+ };
3795
+ pay: {
3796
+ rate: number;
3797
+ unit: "DAILY" | "HOURLY";
3798
+ };
3799
+ userId: string;
3800
+ user: {
3801
+ id: string;
3802
+ firstName: string;
3803
+ lastName: string;
3804
+ email: string;
3805
+ };
3806
+ job: {
3807
+ id: string;
3808
+ description: string;
3809
+ };
3810
+ endDate?: string | null | undefined;
3216
3811
  }, {
3812
+ status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
3813
+ startDate: string | Date;
3814
+ createdAt: string | Date;
3815
+ updatedAt: string | Date;
3217
3816
  id: string;
3817
+ worker: {
3818
+ id: string;
3819
+ firstName: string;
3820
+ lastName: string;
3821
+ };
3822
+ pay: {
3823
+ rate: number;
3824
+ unit: "DAILY" | "HOURLY";
3825
+ };
3826
+ userId: string;
3827
+ user: {
3828
+ id: string;
3829
+ firstName: string;
3830
+ lastName: string;
3831
+ email: string;
3832
+ };
3833
+ job: {
3834
+ id: string;
3835
+ description: string;
3836
+ };
3837
+ endDate?: string | Date | null | undefined;
3218
3838
  }>;
3219
3839
  createdAt: import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>, string, string | Date>;
3220
3840
  updatedAt: import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>, string, string | Date>;
3221
3841
  }, "strip", import("zod").ZodTypeAny, {
3222
- date: string;
3223
3842
  createdAt: string;
3224
3843
  updatedAt: string;
3225
3844
  id: string;
@@ -3227,6 +3846,7 @@ export declare const apiContractRouter: {
3227
3846
  rate: number;
3228
3847
  unit: "DAILY" | "HOURLY";
3229
3848
  };
3849
+ date: string;
3230
3850
  comment: string | null;
3231
3851
  statusSa: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY";
3232
3852
  statusSaUpdatedAt: string | null;
@@ -3235,10 +3855,34 @@ export declare const apiContractRouter: {
3235
3855
  hoursWorked: number | null;
3236
3856
  hoursWorkedUpdatedAt: string | null;
3237
3857
  booking: {
3858
+ status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
3859
+ startDate: string;
3860
+ createdAt: string;
3861
+ updatedAt: string;
3238
3862
  id: string;
3863
+ worker: {
3864
+ id: string;
3865
+ firstName: string;
3866
+ lastName: string;
3867
+ };
3868
+ pay: {
3869
+ rate: number;
3870
+ unit: "DAILY" | "HOURLY";
3871
+ };
3872
+ userId: string;
3873
+ user: {
3874
+ id: string;
3875
+ firstName: string;
3876
+ lastName: string;
3877
+ email: string;
3878
+ };
3879
+ job: {
3880
+ id: string;
3881
+ description: string;
3882
+ };
3883
+ endDate?: string | null | undefined;
3239
3884
  };
3240
3885
  }, {
3241
- date: string | Date;
3242
3886
  createdAt: string | Date;
3243
3887
  updatedAt: string | Date;
3244
3888
  id: string;
@@ -3246,6 +3890,7 @@ export declare const apiContractRouter: {
3246
3890
  rate: number;
3247
3891
  unit: "DAILY" | "HOURLY";
3248
3892
  };
3893
+ date: string | Date;
3249
3894
  comment: string | null;
3250
3895
  statusSa: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY";
3251
3896
  statusSaUpdatedAt: string | Date | null;
@@ -3254,7 +3899,32 @@ export declare const apiContractRouter: {
3254
3899
  hoursWorked: number | null;
3255
3900
  hoursWorkedUpdatedAt: string | Date | null;
3256
3901
  booking: {
3902
+ status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
3903
+ startDate: string | Date;
3904
+ createdAt: string | Date;
3905
+ updatedAt: string | Date;
3257
3906
  id: string;
3907
+ worker: {
3908
+ id: string;
3909
+ firstName: string;
3910
+ lastName: string;
3911
+ };
3912
+ pay: {
3913
+ rate: number;
3914
+ unit: "DAILY" | "HOURLY";
3915
+ };
3916
+ userId: string;
3917
+ user: {
3918
+ id: string;
3919
+ firstName: string;
3920
+ lastName: string;
3921
+ email: string;
3922
+ };
3923
+ job: {
3924
+ id: string;
3925
+ description: string;
3926
+ };
3927
+ endDate?: string | Date | null | undefined;
3258
3928
  };
3259
3929
  }>;
3260
3930
  404: import("zod").ZodObject<{
@@ -3477,22 +4147,22 @@ export declare const apiContractRouter: {
3477
4147
  id: string;
3478
4148
  };
3479
4149
  status?: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS" | undefined;
4150
+ endDate?: string | null | undefined;
3480
4151
  pay?: {
3481
4152
  rate: number;
3482
4153
  unit: "DAILY" | "HOURLY";
3483
4154
  } | undefined;
3484
- endDate?: string | null | undefined;
3485
4155
  }, {
3486
4156
  startDate: string;
3487
4157
  worker: {
3488
4158
  id: string;
3489
4159
  };
3490
4160
  status?: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS" | undefined;
4161
+ endDate?: string | null | undefined;
3491
4162
  pay?: {
3492
4163
  rate: number;
3493
4164
  unit: "DAILY" | "HOURLY";
3494
4165
  } | undefined;
3495
- endDate?: string | null | undefined;
3496
4166
  }>, "many">;
3497
4167
  }, "strip", import("zod").ZodTypeAny, {
3498
4168
  job: {
@@ -3504,11 +4174,11 @@ export declare const apiContractRouter: {
3504
4174
  id: string;
3505
4175
  };
3506
4176
  status?: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS" | undefined;
4177
+ endDate?: string | null | undefined;
3507
4178
  pay?: {
3508
4179
  rate: number;
3509
4180
  unit: "DAILY" | "HOURLY";
3510
4181
  } | undefined;
3511
- endDate?: string | null | undefined;
3512
4182
  }[];
3513
4183
  }, {
3514
4184
  job: {
@@ -3520,11 +4190,11 @@ export declare const apiContractRouter: {
3520
4190
  id: string;
3521
4191
  };
3522
4192
  status?: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS" | undefined;
4193
+ endDate?: string | null | undefined;
3523
4194
  pay?: {
3524
4195
  rate: number;
3525
4196
  unit: "DAILY" | "HOURLY";
3526
4197
  } | undefined;
3527
- endDate?: string | null | undefined;
3528
4198
  }[];
3529
4199
  }>;
3530
4200
  path: "/v2/bookings";
@@ -3675,32 +4345,33 @@ export declare const apiContractRouter: {
3675
4345
  }>;
3676
4346
  job: import("zod").ZodObject<{
3677
4347
  id: import("zod").ZodString;
3678
- title: import("zod").ZodString;
4348
+ description: import("zod").ZodString;
3679
4349
  }, "strip", import("zod").ZodTypeAny, {
3680
4350
  id: string;
3681
- title: string;
4351
+ description: string;
3682
4352
  }, {
3683
4353
  id: string;
3684
- title: string;
4354
+ description: string;
3685
4355
  }>;
3686
4356
  userId: import("zod").ZodString;
3687
4357
  createdAt: import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>, string, string | Date>;
3688
4358
  updatedAt: import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>, string, string | Date>;
3689
4359
  }, "strip", import("zod").ZodTypeAny, {
3690
4360
  status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
4361
+ startDate: string;
3691
4362
  createdAt: string;
3692
4363
  updatedAt: string;
3693
4364
  id: string;
3694
- pay: {
3695
- rate: number;
3696
- unit: "DAILY" | "HOURLY";
3697
- };
3698
- startDate: string;
3699
4365
  worker: {
3700
4366
  id: string;
3701
4367
  firstName: string;
3702
4368
  lastName: string;
3703
4369
  };
4370
+ pay: {
4371
+ rate: number;
4372
+ unit: "DAILY" | "HOURLY";
4373
+ };
4374
+ userId: string;
3704
4375
  user: {
3705
4376
  id: string;
3706
4377
  firstName: string;
@@ -3709,25 +4380,25 @@ export declare const apiContractRouter: {
3709
4380
  };
3710
4381
  job: {
3711
4382
  id: string;
3712
- title: string;
4383
+ description: string;
3713
4384
  };
3714
- userId: string;
3715
4385
  endDate?: string | null | undefined;
3716
4386
  }, {
3717
4387
  status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
4388
+ startDate: string | Date;
3718
4389
  createdAt: string | Date;
3719
4390
  updatedAt: string | Date;
3720
4391
  id: string;
3721
- pay: {
3722
- rate: number;
3723
- unit: "DAILY" | "HOURLY";
3724
- };
3725
- startDate: string | Date;
3726
4392
  worker: {
3727
4393
  id: string;
3728
4394
  firstName: string;
3729
4395
  lastName: string;
3730
4396
  };
4397
+ pay: {
4398
+ rate: number;
4399
+ unit: "DAILY" | "HOURLY";
4400
+ };
4401
+ userId: string;
3731
4402
  user: {
3732
4403
  id: string;
3733
4404
  firstName: string;
@@ -3736,9 +4407,8 @@ export declare const apiContractRouter: {
3736
4407
  };
3737
4408
  job: {
3738
4409
  id: string;
3739
- title: string;
4410
+ description: string;
3740
4411
  };
3741
- userId: string;
3742
4412
  endDate?: string | Date | null | undefined;
3743
4413
  }>, "many">;
3744
4414
  409: import("zod").ZodObject<{
@@ -3786,13 +4456,13 @@ export declare const apiContractRouter: {
3786
4456
  companyId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
3787
4457
  tradeId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
3788
4458
  }, "strip", import("zod").ZodTypeAny, {
3789
- clientId?: string | null | undefined;
3790
4459
  userId?: string | null | undefined;
4460
+ clientId?: string | null | undefined;
3791
4461
  companyId?: string | null | undefined;
3792
4462
  tradeId?: string | null | undefined;
3793
4463
  }, {
3794
- clientId?: string | null | undefined;
3795
4464
  userId?: string | null | undefined;
4465
+ clientId?: string | null | undefined;
3796
4466
  companyId?: string | null | undefined;
3797
4467
  tradeId?: string | null | undefined;
3798
4468
  }>>>;
@@ -3836,14 +4506,11 @@ export declare const apiContractRouter: {
3836
4506
  limit: number;
3837
4507
  page: number;
3838
4508
  status?: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS" | null | undefined;
3839
- createdAt?: {
4509
+ startDate?: {
3840
4510
  from?: string | null | undefined;
3841
4511
  to?: string | null | undefined;
3842
4512
  } | null | undefined;
3843
- sortBy?: "status" | "createdAt" | "updatedAt" | "startDate" | null | undefined;
3844
- sortOrder?: "ASC" | "DESC" | null | undefined;
3845
- clientId?: string | null | undefined;
3846
- startDate?: {
4513
+ createdAt?: {
3847
4514
  from?: string | null | undefined;
3848
4515
  to?: string | null | undefined;
3849
4516
  } | null | undefined;
@@ -3851,27 +4518,25 @@ export declare const apiContractRouter: {
3851
4518
  from?: string | null | undefined;
3852
4519
  to?: string | null | undefined;
3853
4520
  } | null | undefined;
4521
+ clientId?: string | null | undefined;
4522
+ companyId?: string | null | undefined;
3854
4523
  job?: {
3855
- clientId?: string | null | undefined;
3856
4524
  userId?: string | null | undefined;
4525
+ clientId?: string | null | undefined;
3857
4526
  companyId?: string | null | undefined;
3858
4527
  tradeId?: string | null | undefined;
3859
4528
  } | null | undefined;
3860
4529
  workerName?: string | null | undefined;
3861
- companyId?: string | null | undefined;
4530
+ sortBy?: "status" | "startDate" | "createdAt" | "updatedAt" | null | undefined;
4531
+ sortOrder?: "ASC" | "DESC" | null | undefined;
3862
4532
  agentName?: string | null | undefined;
3863
4533
  }, {
3864
4534
  status?: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS" | null | undefined;
3865
- createdAt?: {
4535
+ startDate?: {
3866
4536
  from?: string | null | undefined;
3867
4537
  to?: string | null | undefined;
3868
4538
  } | null | undefined;
3869
- limit?: number | undefined;
3870
- page?: number | undefined;
3871
- sortBy?: "status" | "createdAt" | "updatedAt" | "startDate" | null | undefined;
3872
- sortOrder?: "ASC" | "DESC" | null | undefined;
3873
- clientId?: string | null | undefined;
3874
- startDate?: {
4539
+ createdAt?: {
3875
4540
  from?: string | null | undefined;
3876
4541
  to?: string | null | undefined;
3877
4542
  } | null | undefined;
@@ -3879,14 +4544,19 @@ export declare const apiContractRouter: {
3879
4544
  from?: string | null | undefined;
3880
4545
  to?: string | null | undefined;
3881
4546
  } | null | undefined;
4547
+ clientId?: string | null | undefined;
4548
+ companyId?: string | null | undefined;
3882
4549
  job?: {
3883
- clientId?: string | null | undefined;
3884
4550
  userId?: string | null | undefined;
4551
+ clientId?: string | null | undefined;
3885
4552
  companyId?: string | null | undefined;
3886
4553
  tradeId?: string | null | undefined;
3887
4554
  } | null | undefined;
4555
+ limit?: number | undefined;
4556
+ page?: number | undefined;
3888
4557
  workerName?: string | null | undefined;
3889
- companyId?: string | null | undefined;
4558
+ sortBy?: "status" | "startDate" | "createdAt" | "updatedAt" | null | undefined;
4559
+ sortOrder?: "ASC" | "DESC" | null | undefined;
3890
4560
  agentName?: string | null | undefined;
3891
4561
  }>;
3892
4562
  summary: "Get all bookings";
@@ -4040,32 +4710,33 @@ export declare const apiContractRouter: {
4040
4710
  }>;
4041
4711
  job: import("zod").ZodObject<{
4042
4712
  id: import("zod").ZodString;
4043
- title: import("zod").ZodString;
4713
+ description: import("zod").ZodString;
4044
4714
  }, "strip", import("zod").ZodTypeAny, {
4045
4715
  id: string;
4046
- title: string;
4716
+ description: string;
4047
4717
  }, {
4048
4718
  id: string;
4049
- title: string;
4719
+ description: string;
4050
4720
  }>;
4051
4721
  userId: import("zod").ZodString;
4052
4722
  createdAt: import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>, string, string | Date>;
4053
4723
  updatedAt: import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>, string, string | Date>;
4054
4724
  }, "strip", import("zod").ZodTypeAny, {
4055
4725
  status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
4726
+ startDate: string;
4056
4727
  createdAt: string;
4057
4728
  updatedAt: string;
4058
4729
  id: string;
4059
- pay: {
4060
- rate: number;
4061
- unit: "DAILY" | "HOURLY";
4062
- };
4063
- startDate: string;
4064
4730
  worker: {
4065
4731
  id: string;
4066
4732
  firstName: string;
4067
4733
  lastName: string;
4068
4734
  };
4735
+ pay: {
4736
+ rate: number;
4737
+ unit: "DAILY" | "HOURLY";
4738
+ };
4739
+ userId: string;
4069
4740
  user: {
4070
4741
  id: string;
4071
4742
  firstName: string;
@@ -4074,25 +4745,25 @@ export declare const apiContractRouter: {
4074
4745
  };
4075
4746
  job: {
4076
4747
  id: string;
4077
- title: string;
4748
+ description: string;
4078
4749
  };
4079
- userId: string;
4080
4750
  endDate?: string | null | undefined;
4081
4751
  }, {
4082
4752
  status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
4753
+ startDate: string | Date;
4083
4754
  createdAt: string | Date;
4084
4755
  updatedAt: string | Date;
4085
4756
  id: string;
4086
- pay: {
4087
- rate: number;
4088
- unit: "DAILY" | "HOURLY";
4089
- };
4090
- startDate: string | Date;
4091
4757
  worker: {
4092
4758
  id: string;
4093
4759
  firstName: string;
4094
4760
  lastName: string;
4095
4761
  };
4762
+ pay: {
4763
+ rate: number;
4764
+ unit: "DAILY" | "HOURLY";
4765
+ };
4766
+ userId: string;
4096
4767
  user: {
4097
4768
  id: string;
4098
4769
  firstName: string;
@@ -4101,9 +4772,8 @@ export declare const apiContractRouter: {
4101
4772
  };
4102
4773
  job: {
4103
4774
  id: string;
4104
- title: string;
4775
+ description: string;
4105
4776
  };
4106
- userId: string;
4107
4777
  endDate?: string | Date | null | undefined;
4108
4778
  }>, "many">;
4109
4779
  totalCount: import("zod").ZodNumber;
@@ -4115,19 +4785,20 @@ export declare const apiContractRouter: {
4115
4785
  limit: number;
4116
4786
  items: {
4117
4787
  status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
4788
+ startDate: string;
4118
4789
  createdAt: string;
4119
4790
  updatedAt: string;
4120
4791
  id: string;
4121
- pay: {
4122
- rate: number;
4123
- unit: "DAILY" | "HOURLY";
4124
- };
4125
- startDate: string;
4126
4792
  worker: {
4127
4793
  id: string;
4128
4794
  firstName: string;
4129
4795
  lastName: string;
4130
4796
  };
4797
+ pay: {
4798
+ rate: number;
4799
+ unit: "DAILY" | "HOURLY";
4800
+ };
4801
+ userId: string;
4131
4802
  user: {
4132
4803
  id: string;
4133
4804
  firstName: string;
@@ -4136,9 +4807,8 @@ export declare const apiContractRouter: {
4136
4807
  };
4137
4808
  job: {
4138
4809
  id: string;
4139
- title: string;
4810
+ description: string;
4140
4811
  };
4141
- userId: string;
4142
4812
  endDate?: string | null | undefined;
4143
4813
  }[];
4144
4814
  totalCount: number;
@@ -4149,19 +4819,20 @@ export declare const apiContractRouter: {
4149
4819
  limit: number;
4150
4820
  items: {
4151
4821
  status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
4822
+ startDate: string | Date;
4152
4823
  createdAt: string | Date;
4153
4824
  updatedAt: string | Date;
4154
4825
  id: string;
4155
- pay: {
4156
- rate: number;
4157
- unit: "DAILY" | "HOURLY";
4158
- };
4159
- startDate: string | Date;
4160
4826
  worker: {
4161
4827
  id: string;
4162
4828
  firstName: string;
4163
4829
  lastName: string;
4164
4830
  };
4831
+ pay: {
4832
+ rate: number;
4833
+ unit: "DAILY" | "HOURLY";
4834
+ };
4835
+ userId: string;
4165
4836
  user: {
4166
4837
  id: string;
4167
4838
  firstName: string;
@@ -4170,9 +4841,8 @@ export declare const apiContractRouter: {
4170
4841
  };
4171
4842
  job: {
4172
4843
  id: string;
4173
- title: string;
4844
+ description: string;
4174
4845
  };
4175
- userId: string;
4176
4846
  endDate?: string | Date | null | undefined;
4177
4847
  }[];
4178
4848
  totalCount: number;
@@ -4346,32 +5016,33 @@ export declare const apiContractRouter: {
4346
5016
  }>;
4347
5017
  job: import("zod").ZodObject<{
4348
5018
  id: import("zod").ZodString;
4349
- title: import("zod").ZodString;
5019
+ description: import("zod").ZodString;
4350
5020
  }, "strip", import("zod").ZodTypeAny, {
4351
5021
  id: string;
4352
- title: string;
5022
+ description: string;
4353
5023
  }, {
4354
5024
  id: string;
4355
- title: string;
5025
+ description: string;
4356
5026
  }>;
4357
5027
  userId: import("zod").ZodString;
4358
5028
  createdAt: import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>, string, string | Date>;
4359
5029
  updatedAt: import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>, string, string | Date>;
4360
5030
  }, "strip", import("zod").ZodTypeAny, {
4361
5031
  status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
5032
+ startDate: string;
4362
5033
  createdAt: string;
4363
5034
  updatedAt: string;
4364
5035
  id: string;
4365
- pay: {
4366
- rate: number;
4367
- unit: "DAILY" | "HOURLY";
4368
- };
4369
- startDate: string;
4370
5036
  worker: {
4371
5037
  id: string;
4372
5038
  firstName: string;
4373
5039
  lastName: string;
4374
5040
  };
5041
+ pay: {
5042
+ rate: number;
5043
+ unit: "DAILY" | "HOURLY";
5044
+ };
5045
+ userId: string;
4375
5046
  user: {
4376
5047
  id: string;
4377
5048
  firstName: string;
@@ -4380,25 +5051,25 @@ export declare const apiContractRouter: {
4380
5051
  };
4381
5052
  job: {
4382
5053
  id: string;
4383
- title: string;
5054
+ description: string;
4384
5055
  };
4385
- userId: string;
4386
5056
  endDate?: string | null | undefined;
4387
5057
  }, {
4388
5058
  status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
5059
+ startDate: string | Date;
4389
5060
  createdAt: string | Date;
4390
5061
  updatedAt: string | Date;
4391
5062
  id: string;
4392
- pay: {
4393
- rate: number;
4394
- unit: "DAILY" | "HOURLY";
4395
- };
4396
- startDate: string | Date;
4397
5063
  worker: {
4398
5064
  id: string;
4399
5065
  firstName: string;
4400
5066
  lastName: string;
4401
5067
  };
5068
+ pay: {
5069
+ rate: number;
5070
+ unit: "DAILY" | "HOURLY";
5071
+ };
5072
+ userId: string;
4402
5073
  user: {
4403
5074
  id: string;
4404
5075
  firstName: string;
@@ -4407,9 +5078,8 @@ export declare const apiContractRouter: {
4407
5078
  };
4408
5079
  job: {
4409
5080
  id: string;
4410
- title: string;
5081
+ description: string;
4411
5082
  };
4412
- userId: string;
4413
5083
  endDate?: string | Date | null | undefined;
4414
5084
  }>;
4415
5085
  404: import("zod").ZodObject<{
@@ -4616,32 +5286,33 @@ export declare const apiContractRouter: {
4616
5286
  }>;
4617
5287
  job: import("zod").ZodObject<{
4618
5288
  id: import("zod").ZodString;
4619
- title: import("zod").ZodString;
5289
+ description: import("zod").ZodString;
4620
5290
  }, "strip", import("zod").ZodTypeAny, {
4621
5291
  id: string;
4622
- title: string;
5292
+ description: string;
4623
5293
  }, {
4624
5294
  id: string;
4625
- title: string;
5295
+ description: string;
4626
5296
  }>;
4627
5297
  userId: import("zod").ZodString;
4628
5298
  createdAt: import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>, string, string | Date>;
4629
5299
  updatedAt: import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>, string, string | Date>;
4630
5300
  }, "strip", import("zod").ZodTypeAny, {
4631
5301
  status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
5302
+ startDate: string;
4632
5303
  createdAt: string;
4633
5304
  updatedAt: string;
4634
5305
  id: string;
4635
- pay: {
4636
- rate: number;
4637
- unit: "DAILY" | "HOURLY";
4638
- };
4639
- startDate: string;
4640
5306
  worker: {
4641
5307
  id: string;
4642
5308
  firstName: string;
4643
5309
  lastName: string;
4644
5310
  };
5311
+ pay: {
5312
+ rate: number;
5313
+ unit: "DAILY" | "HOURLY";
5314
+ };
5315
+ userId: string;
4645
5316
  user: {
4646
5317
  id: string;
4647
5318
  firstName: string;
@@ -4650,25 +5321,25 @@ export declare const apiContractRouter: {
4650
5321
  };
4651
5322
  job: {
4652
5323
  id: string;
4653
- title: string;
5324
+ description: string;
4654
5325
  };
4655
- userId: string;
4656
5326
  endDate?: string | null | undefined;
4657
5327
  }, {
4658
5328
  status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
5329
+ startDate: string | Date;
4659
5330
  createdAt: string | Date;
4660
5331
  updatedAt: string | Date;
4661
5332
  id: string;
4662
- pay: {
4663
- rate: number;
4664
- unit: "DAILY" | "HOURLY";
4665
- };
4666
- startDate: string | Date;
4667
5333
  worker: {
4668
5334
  id: string;
4669
5335
  firstName: string;
4670
5336
  lastName: string;
4671
5337
  };
5338
+ pay: {
5339
+ rate: number;
5340
+ unit: "DAILY" | "HOURLY";
5341
+ };
5342
+ userId: string;
4672
5343
  user: {
4673
5344
  id: string;
4674
5345
  firstName: string;
@@ -4677,9 +5348,8 @@ export declare const apiContractRouter: {
4677
5348
  };
4678
5349
  job: {
4679
5350
  id: string;
4680
- title: string;
5351
+ description: string;
4681
5352
  };
4682
- userId: string;
4683
5353
  endDate?: string | Date | null | undefined;
4684
5354
  }>;
4685
5355
  404: import("zod").ZodObject<{
@@ -6186,8 +6856,8 @@ export declare const apiContractRouter: {
6186
6856
  email: import("zod").ZodString;
6187
6857
  source: import("zod").ZodOptional<import("zod").ZodString>;
6188
6858
  }, "strip", import("zod").ZodTypeAny, {
6189
- name: string;
6190
6859
  email: string;
6860
+ name: string;
6191
6861
  client: {
6192
6862
  id: string;
6193
6863
  };
@@ -6195,8 +6865,8 @@ export declare const apiContractRouter: {
6195
6865
  position?: string | undefined;
6196
6866
  source?: string | undefined;
6197
6867
  }, {
6198
- name: string;
6199
6868
  email: string;
6869
+ name: string;
6200
6870
  client: {
6201
6871
  id: string;
6202
6872
  };
@@ -6409,8 +7079,8 @@ export declare const apiContractRouter: {
6409
7079
  updatedAt: string;
6410
7080
  id: string;
6411
7081
  clientId: string;
6412
- name: string;
6413
7082
  email: string;
7083
+ name: string;
6414
7084
  client: {
6415
7085
  status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
6416
7086
  createdAt: string;
@@ -6445,8 +7115,8 @@ export declare const apiContractRouter: {
6445
7115
  updatedAt: string | Date;
6446
7116
  id: string;
6447
7117
  clientId: string;
6448
- name: string;
6449
7118
  email: string;
7119
+ name: string;
6450
7120
  client: {
6451
7121
  status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
6452
7122
  createdAt: string | Date;
@@ -6531,14 +7201,14 @@ export declare const apiContractRouter: {
6531
7201
  email: import("zod").ZodString;
6532
7202
  source: import("zod").ZodOptional<import("zod").ZodString>;
6533
7203
  }, "client">, "strip", import("zod").ZodTypeAny, {
6534
- name: string;
6535
7204
  email: string;
7205
+ name: string;
6536
7206
  phone: string;
6537
7207
  position?: string | undefined;
6538
7208
  source?: string | undefined;
6539
7209
  }, {
6540
- name: string;
6541
7210
  email: string;
7211
+ name: string;
6542
7212
  phone: string;
6543
7213
  position?: string | undefined;
6544
7214
  source?: string | undefined;
@@ -6748,8 +7418,8 @@ export declare const apiContractRouter: {
6748
7418
  updatedAt: string;
6749
7419
  id: string;
6750
7420
  clientId: string;
6751
- name: string;
6752
7421
  email: string;
7422
+ name: string;
6753
7423
  client: {
6754
7424
  status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
6755
7425
  createdAt: string;
@@ -6784,8 +7454,8 @@ export declare const apiContractRouter: {
6784
7454
  updatedAt: string | Date;
6785
7455
  id: string;
6786
7456
  clientId: string;
6787
- name: string;
6788
7457
  email: string;
7458
+ name: string;
6789
7459
  client: {
6790
7460
  status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
6791
7461
  createdAt: string | Date;
@@ -6861,21 +7531,21 @@ export declare const apiContractRouter: {
6861
7531
  }, "strip", import("zod").ZodTypeAny, {
6862
7532
  limit: number;
6863
7533
  page: number;
6864
- sortBy: "createdAt" | "updatedAt" | "name" | "email" | "position";
7534
+ sortBy: "createdAt" | "updatedAt" | "email" | "name" | "position";
6865
7535
  sortOrder: "ASC" | "DESC";
6866
7536
  clientId?: string | undefined;
6867
- name?: string | undefined;
6868
7537
  email?: string | undefined;
7538
+ name?: string | undefined;
6869
7539
  phone?: string | undefined;
6870
7540
  createdById?: string | undefined;
6871
7541
  }, {
7542
+ clientId?: string | undefined;
7543
+ email?: string | undefined;
6872
7544
  limit?: number | undefined;
6873
7545
  page?: number | undefined;
6874
- sortBy?: "createdAt" | "updatedAt" | "name" | "email" | "position" | undefined;
7546
+ sortBy?: "createdAt" | "updatedAt" | "email" | "name" | "position" | undefined;
6875
7547
  sortOrder?: "ASC" | "DESC" | undefined;
6876
- clientId?: string | undefined;
6877
7548
  name?: string | undefined;
6878
- email?: string | undefined;
6879
7549
  phone?: string | undefined;
6880
7550
  createdById?: string | undefined;
6881
7551
  }>;
@@ -7087,8 +7757,8 @@ export declare const apiContractRouter: {
7087
7757
  updatedAt: string;
7088
7758
  id: string;
7089
7759
  clientId: string;
7090
- name: string;
7091
7760
  email: string;
7761
+ name: string;
7092
7762
  client: {
7093
7763
  status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
7094
7764
  createdAt: string;
@@ -7123,8 +7793,8 @@ export declare const apiContractRouter: {
7123
7793
  updatedAt: string | Date;
7124
7794
  id: string;
7125
7795
  clientId: string;
7126
- name: string;
7127
7796
  email: string;
7797
+ name: string;
7128
7798
  client: {
7129
7799
  status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
7130
7800
  createdAt: string | Date;
@@ -7167,8 +7837,8 @@ export declare const apiContractRouter: {
7167
7837
  updatedAt: string;
7168
7838
  id: string;
7169
7839
  clientId: string;
7170
- name: string;
7171
7840
  email: string;
7841
+ name: string;
7172
7842
  client: {
7173
7843
  status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
7174
7844
  createdAt: string;
@@ -7210,8 +7880,8 @@ export declare const apiContractRouter: {
7210
7880
  updatedAt: string | Date;
7211
7881
  id: string;
7212
7882
  clientId: string;
7213
- name: string;
7214
7883
  email: string;
7884
+ name: string;
7215
7885
  client: {
7216
7886
  status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
7217
7887
  createdAt: string | Date;
@@ -7467,8 +8137,8 @@ export declare const apiContractRouter: {
7467
8137
  updatedAt: string;
7468
8138
  id: string;
7469
8139
  clientId: string;
7470
- name: string;
7471
8140
  email: string;
8141
+ name: string;
7472
8142
  client: {
7473
8143
  status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
7474
8144
  createdAt: string;
@@ -7503,8 +8173,8 @@ export declare const apiContractRouter: {
7503
8173
  updatedAt: string | Date;
7504
8174
  id: string;
7505
8175
  clientId: string;
7506
- name: string;
7507
8176
  email: string;
8177
+ name: string;
7508
8178
  client: {
7509
8179
  status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
7510
8180
  createdAt: string | Date;
@@ -7589,14 +8259,14 @@ export declare const apiContractRouter: {
7589
8259
  email: import("zod").ZodOptional<import("zod").ZodString>;
7590
8260
  source: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodString>>;
7591
8261
  }, "client">, "strip", import("zod").ZodTypeAny, {
7592
- name?: string | undefined;
7593
8262
  email?: string | undefined;
8263
+ name?: string | undefined;
7594
8264
  phone?: string | undefined;
7595
8265
  position?: string | undefined;
7596
8266
  source?: string | undefined;
7597
8267
  }, {
7598
- name?: string | undefined;
7599
8268
  email?: string | undefined;
8269
+ name?: string | undefined;
7600
8270
  phone?: string | undefined;
7601
8271
  position?: string | undefined;
7602
8272
  source?: string | undefined;
@@ -7806,8 +8476,8 @@ export declare const apiContractRouter: {
7806
8476
  updatedAt: string;
7807
8477
  id: string;
7808
8478
  clientId: string;
7809
- name: string;
7810
8479
  email: string;
8480
+ name: string;
7811
8481
  client: {
7812
8482
  status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
7813
8483
  createdAt: string;
@@ -7842,8 +8512,8 @@ export declare const apiContractRouter: {
7842
8512
  updatedAt: string | Date;
7843
8513
  id: string;
7844
8514
  clientId: string;
7845
- name: string;
7846
8515
  email: string;
8516
+ name: string;
7847
8517
  client: {
7848
8518
  status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
7849
8519
  createdAt: string | Date;
@@ -8329,8 +8999,8 @@ export declare const apiContractRouter: {
8329
8999
  updatedAt: string;
8330
9000
  id: string;
8331
9001
  clientId: string;
8332
- name: string;
8333
9002
  email: string;
9003
+ name: string;
8334
9004
  client: {
8335
9005
  status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
8336
9006
  createdAt: string;
@@ -8365,8 +9035,8 @@ export declare const apiContractRouter: {
8365
9035
  updatedAt: string | Date;
8366
9036
  id: string;
8367
9037
  clientId: string;
8368
- name: string;
8369
9038
  email: string;
9039
+ name: string;
8370
9040
  client: {
8371
9041
  status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
8372
9042
  createdAt: string | Date;
@@ -8430,8 +9100,8 @@ export declare const apiContractRouter: {
8430
9100
  updatedAt: string;
8431
9101
  id: string;
8432
9102
  clientId: string;
8433
- name: string;
8434
9103
  email: string;
9104
+ name: string;
8435
9105
  client: {
8436
9106
  status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
8437
9107
  createdAt: string;
@@ -8487,8 +9157,8 @@ export declare const apiContractRouter: {
8487
9157
  updatedAt: string | Date;
8488
9158
  id: string;
8489
9159
  clientId: string;
8490
- name: string;
8491
9160
  email: string;
9161
+ name: string;
8492
9162
  client: {
8493
9163
  status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
8494
9164
  createdAt: string | Date;
@@ -8584,12 +9254,12 @@ export declare const apiContractRouter: {
8584
9254
  urgency?: "LOW" | "MEDIUM" | "HIGH" | undefined;
8585
9255
  decision?: "PENDING" | "APPROVED" | "REJECTED" | undefined;
8586
9256
  }, {
9257
+ clientId?: string | undefined;
9258
+ companyId?: string | undefined;
8587
9259
  limit?: number | undefined;
8588
9260
  page?: number | undefined;
8589
9261
  sortBy?: "createdAt" | "updatedAt" | "urgency" | "decision" | "decisionTimestamp" | undefined;
8590
9262
  sortOrder?: "ASC" | "DESC" | undefined;
8591
- clientId?: string | undefined;
8592
- companyId?: string | undefined;
8593
9263
  createdById?: string | undefined;
8594
9264
  urgency?: "LOW" | "MEDIUM" | "HIGH" | undefined;
8595
9265
  decision?: "PENDING" | "APPROVED" | "REJECTED" | undefined;
@@ -8806,8 +9476,8 @@ export declare const apiContractRouter: {
8806
9476
  updatedAt: string;
8807
9477
  id: string;
8808
9478
  clientId: string;
8809
- name: string;
8810
9479
  email: string;
9480
+ name: string;
8811
9481
  client: {
8812
9482
  status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
8813
9483
  createdAt: string;
@@ -8842,8 +9512,8 @@ export declare const apiContractRouter: {
8842
9512
  updatedAt: string | Date;
8843
9513
  id: string;
8844
9514
  clientId: string;
8845
- name: string;
8846
9515
  email: string;
9516
+ name: string;
8847
9517
  client: {
8848
9518
  status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
8849
9519
  createdAt: string | Date;
@@ -8907,8 +9577,8 @@ export declare const apiContractRouter: {
8907
9577
  updatedAt: string;
8908
9578
  id: string;
8909
9579
  clientId: string;
8910
- name: string;
8911
9580
  email: string;
9581
+ name: string;
8912
9582
  client: {
8913
9583
  status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
8914
9584
  createdAt: string;
@@ -8964,8 +9634,8 @@ export declare const apiContractRouter: {
8964
9634
  updatedAt: string | Date;
8965
9635
  id: string;
8966
9636
  clientId: string;
8967
- name: string;
8968
9637
  email: string;
9638
+ name: string;
8969
9639
  client: {
8970
9640
  status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
8971
9641
  createdAt: string | Date;
@@ -9029,8 +9699,8 @@ export declare const apiContractRouter: {
9029
9699
  updatedAt: string;
9030
9700
  id: string;
9031
9701
  clientId: string;
9032
- name: string;
9033
9702
  email: string;
9703
+ name: string;
9034
9704
  client: {
9035
9705
  status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
9036
9706
  createdAt: string;
@@ -9093,8 +9763,8 @@ export declare const apiContractRouter: {
9093
9763
  updatedAt: string | Date;
9094
9764
  id: string;
9095
9765
  clientId: string;
9096
- name: string;
9097
9766
  email: string;
9767
+ name: string;
9098
9768
  client: {
9099
9769
  status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
9100
9770
  createdAt: string | Date;
@@ -9366,8 +10036,8 @@ export declare const apiContractRouter: {
9366
10036
  updatedAt: string;
9367
10037
  id: string;
9368
10038
  clientId: string;
9369
- name: string;
9370
10039
  email: string;
10040
+ name: string;
9371
10041
  client: {
9372
10042
  status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
9373
10043
  createdAt: string;
@@ -9402,8 +10072,8 @@ export declare const apiContractRouter: {
9402
10072
  updatedAt: string | Date;
9403
10073
  id: string;
9404
10074
  clientId: string;
9405
- name: string;
9406
10075
  email: string;
10076
+ name: string;
9407
10077
  client: {
9408
10078
  status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
9409
10079
  createdAt: string | Date;
@@ -9467,8 +10137,8 @@ export declare const apiContractRouter: {
9467
10137
  updatedAt: string;
9468
10138
  id: string;
9469
10139
  clientId: string;
9470
- name: string;
9471
10140
  email: string;
10141
+ name: string;
9472
10142
  client: {
9473
10143
  status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
9474
10144
  createdAt: string;
@@ -9524,8 +10194,8 @@ export declare const apiContractRouter: {
9524
10194
  updatedAt: string | Date;
9525
10195
  id: string;
9526
10196
  clientId: string;
9527
- name: string;
9528
10197
  email: string;
10198
+ name: string;
9529
10199
  client: {
9530
10200
  status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
9531
10201
  createdAt: string | Date;
@@ -9851,8 +10521,8 @@ export declare const apiContractRouter: {
9851
10521
  updatedAt: string;
9852
10522
  id: string;
9853
10523
  clientId: string;
9854
- name: string;
9855
10524
  email: string;
10525
+ name: string;
9856
10526
  client: {
9857
10527
  status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
9858
10528
  createdAt: string;
@@ -9887,8 +10557,8 @@ export declare const apiContractRouter: {
9887
10557
  updatedAt: string | Date;
9888
10558
  id: string;
9889
10559
  clientId: string;
9890
- name: string;
9891
10560
  email: string;
10561
+ name: string;
9892
10562
  client: {
9893
10563
  status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
9894
10564
  createdAt: string | Date;
@@ -9952,8 +10622,8 @@ export declare const apiContractRouter: {
9952
10622
  updatedAt: string;
9953
10623
  id: string;
9954
10624
  clientId: string;
9955
- name: string;
9956
10625
  email: string;
10626
+ name: string;
9957
10627
  client: {
9958
10628
  status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
9959
10629
  createdAt: string;
@@ -10009,8 +10679,8 @@ export declare const apiContractRouter: {
10009
10679
  updatedAt: string | Date;
10010
10680
  id: string;
10011
10681
  clientId: string;
10012
- name: string;
10013
10682
  email: string;
10683
+ name: string;
10014
10684
  client: {
10015
10685
  status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
10016
10686
  createdAt: string | Date;
@@ -11736,9 +12406,9 @@ export declare const apiContractRouter: {
11736
12406
  page: number;
11737
12407
  sortOrder: "ASC" | "DESC";
11738
12408
  status?: "BLACKLISTED" | "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "INACTIVE" | undefined;
12409
+ email?: string | undefined;
11739
12410
  sortBy?: "status" | "createdAt" | "updatedAt" | "email" | "phone" | "rating" | "distance" | "nameSimilarity" | "fullName" | undefined;
11740
12411
  name?: string | undefined;
11741
- email?: string | undefined;
11742
12412
  phone?: string | undefined;
11743
12413
  nino?: string | undefined;
11744
12414
  englishLevel?: "NONE" | "BASIC" | "INTERMEDIATE" | "ADVANCED" | "NATIVE" | undefined;
@@ -11755,12 +12425,12 @@ export declare const apiContractRouter: {
11755
12425
  }[] | undefined;
11756
12426
  }, {
11757
12427
  status?: "BLACKLISTED" | "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "INACTIVE" | undefined;
12428
+ email?: string | undefined;
11758
12429
  limit?: number | undefined;
11759
12430
  page?: number | undefined;
11760
12431
  sortBy?: "status" | "createdAt" | "updatedAt" | "email" | "phone" | "rating" | "distance" | "nameSimilarity" | "fullName" | undefined;
11761
12432
  sortOrder?: "ASC" | "DESC" | undefined;
11762
12433
  name?: string | undefined;
11763
- email?: string | undefined;
11764
12434
  phone?: string | undefined;
11765
12435
  nino?: string | undefined;
11766
12436
  englishLevel?: "NONE" | "BASIC" | "INTERMEDIATE" | "ADVANCED" | "NATIVE" | undefined;
@@ -13279,14 +13949,14 @@ export declare const apiContractRouter: {
13279
13949
  lastName: string;
13280
13950
  email: string;
13281
13951
  phone: string;
13282
- roles?: ("SECOND_AGENT" | "FIRST_AGENT" | "ADMIN" | "COMPANY_CHECKING")[] | undefined;
13952
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
13283
13953
  password?: string | undefined;
13284
13954
  }, {
13285
13955
  firstName: string;
13286
13956
  lastName: string;
13287
13957
  email: string;
13288
13958
  phone: string;
13289
- roles?: ("SECOND_AGENT" | "FIRST_AGENT" | "ADMIN" | "COMPANY_CHECKING")[] | undefined;
13959
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
13290
13960
  password?: string | undefined;
13291
13961
  }>;
13292
13962
  path: "/v2/users";
@@ -13408,7 +14078,7 @@ export declare const apiContractRouter: {
13408
14078
  lastName: string;
13409
14079
  email: string;
13410
14080
  phone: string;
13411
- roles?: ("SECOND_AGENT" | "FIRST_AGENT" | "ADMIN" | "COMPANY_CHECKING")[] | undefined;
14081
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
13412
14082
  }, {
13413
14083
  createdAt: string | Date;
13414
14084
  updatedAt: string | Date;
@@ -13417,7 +14087,7 @@ export declare const apiContractRouter: {
13417
14087
  lastName: string;
13418
14088
  email: string;
13419
14089
  phone: string;
13420
- roles?: ("SECOND_AGENT" | "FIRST_AGENT" | "ADMIN" | "COMPANY_CHECKING")[] | undefined;
14090
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
13421
14091
  }>;
13422
14092
  409: import("zod").ZodObject<{
13423
14093
  statusCode: import("zod").ZodNumber;
@@ -13461,10 +14131,10 @@ export declare const apiContractRouter: {
13461
14131
  values: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING"]>, "many">>;
13462
14132
  requireAll: import("zod").ZodOptional<import("zod").ZodBoolean>;
13463
14133
  }, "strip", import("zod").ZodTypeAny, {
13464
- values?: ("SECOND_AGENT" | "FIRST_AGENT" | "ADMIN" | "COMPANY_CHECKING")[] | undefined;
14134
+ values?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
13465
14135
  requireAll?: boolean | undefined;
13466
14136
  }, {
13467
- values?: ("SECOND_AGENT" | "FIRST_AGENT" | "ADMIN" | "COMPANY_CHECKING")[] | undefined;
14137
+ values?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
13468
14138
  requireAll?: boolean | undefined;
13469
14139
  }>>;
13470
14140
  sortBy: import("zod").ZodOptional<import("zod").ZodEnum<["lastName", "firstName", "email", "phone", "createdAt"]>>;
@@ -13472,25 +14142,25 @@ export declare const apiContractRouter: {
13472
14142
  }, "strip", import("zod").ZodTypeAny, {
13473
14143
  limit: number;
13474
14144
  page: number;
14145
+ email?: string | undefined;
13475
14146
  sortBy?: "createdAt" | "firstName" | "lastName" | "email" | "phone" | undefined;
13476
14147
  sortOrder?: "ASC" | "DESC" | undefined;
13477
14148
  name?: string | undefined;
13478
- email?: string | undefined;
13479
14149
  phone?: string | undefined;
13480
14150
  roles?: {
13481
- values?: ("SECOND_AGENT" | "FIRST_AGENT" | "ADMIN" | "COMPANY_CHECKING")[] | undefined;
14151
+ values?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
13482
14152
  requireAll?: boolean | undefined;
13483
14153
  } | undefined;
13484
14154
  }, {
14155
+ email?: string | undefined;
13485
14156
  limit?: number | undefined;
13486
14157
  page?: number | undefined;
13487
14158
  sortBy?: "createdAt" | "firstName" | "lastName" | "email" | "phone" | undefined;
13488
14159
  sortOrder?: "ASC" | "DESC" | undefined;
13489
14160
  name?: string | undefined;
13490
- email?: string | undefined;
13491
14161
  phone?: string | undefined;
13492
14162
  roles?: {
13493
- values?: ("SECOND_AGENT" | "FIRST_AGENT" | "ADMIN" | "COMPANY_CHECKING")[] | undefined;
14163
+ values?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
13494
14164
  requireAll?: boolean | undefined;
13495
14165
  } | undefined;
13496
14166
  }>;
@@ -13616,7 +14286,7 @@ export declare const apiContractRouter: {
13616
14286
  lastName: string;
13617
14287
  email: string;
13618
14288
  phone: string;
13619
- roles?: ("SECOND_AGENT" | "FIRST_AGENT" | "ADMIN" | "COMPANY_CHECKING")[] | undefined;
14289
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
13620
14290
  }, {
13621
14291
  createdAt: string | Date;
13622
14292
  updatedAt: string | Date;
@@ -13625,7 +14295,7 @@ export declare const apiContractRouter: {
13625
14295
  lastName: string;
13626
14296
  email: string;
13627
14297
  phone: string;
13628
- roles?: ("SECOND_AGENT" | "FIRST_AGENT" | "ADMIN" | "COMPANY_CHECKING")[] | undefined;
14298
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
13629
14299
  }>, "many">;
13630
14300
  totalCount: import("zod").ZodNumber;
13631
14301
  limit: import("zod").ZodNumber;
@@ -13642,7 +14312,7 @@ export declare const apiContractRouter: {
13642
14312
  lastName: string;
13643
14313
  email: string;
13644
14314
  phone: string;
13645
- roles?: ("SECOND_AGENT" | "FIRST_AGENT" | "ADMIN" | "COMPANY_CHECKING")[] | undefined;
14315
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
13646
14316
  }[];
13647
14317
  totalCount: number;
13648
14318
  skip: number;
@@ -13658,7 +14328,7 @@ export declare const apiContractRouter: {
13658
14328
  lastName: string;
13659
14329
  email: string;
13660
14330
  phone: string;
13661
- roles?: ("SECOND_AGENT" | "FIRST_AGENT" | "ADMIN" | "COMPANY_CHECKING")[] | undefined;
14331
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
13662
14332
  }[];
13663
14333
  totalCount: number;
13664
14334
  skip: number;
@@ -13921,14 +14591,14 @@ export declare const apiContractRouter: {
13921
14591
  firstName?: string | undefined;
13922
14592
  lastName?: string | undefined;
13923
14593
  phone?: string | undefined;
13924
- roles?: ("SECOND_AGENT" | "FIRST_AGENT" | "ADMIN" | "COMPANY_CHECKING")[] | undefined;
14594
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
13925
14595
  }, {
13926
14596
  id: string;
13927
14597
  email: string;
13928
14598
  firstName?: string | undefined;
13929
14599
  lastName?: string | undefined;
13930
14600
  phone?: string | undefined;
13931
- roles?: ("SECOND_AGENT" | "FIRST_AGENT" | "ADMIN" | "COMPANY_CHECKING")[] | undefined;
14601
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
13932
14602
  }>;
13933
14603
  };
13934
14604
  };
@@ -14064,7 +14734,7 @@ export declare const apiContractRouter: {
14064
14734
  lastName: string;
14065
14735
  email: string;
14066
14736
  phone: string;
14067
- roles?: ("SECOND_AGENT" | "FIRST_AGENT" | "ADMIN" | "COMPANY_CHECKING")[] | undefined;
14737
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
14068
14738
  }, {
14069
14739
  createdAt: string | Date;
14070
14740
  updatedAt: string | Date;
@@ -14073,7 +14743,7 @@ export declare const apiContractRouter: {
14073
14743
  lastName: string;
14074
14744
  email: string;
14075
14745
  phone: string;
14076
- roles?: ("SECOND_AGENT" | "FIRST_AGENT" | "ADMIN" | "COMPANY_CHECKING")[] | undefined;
14746
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
14077
14747
  }>;
14078
14748
  404: import("zod").ZodObject<{
14079
14749
  statusCode: import("zod").ZodNumber;
@@ -14127,14 +14797,14 @@ export declare const apiContractRouter: {
14127
14797
  lastName?: string | undefined;
14128
14798
  email?: string | undefined;
14129
14799
  phone?: string | undefined;
14130
- roles?: ("SECOND_AGENT" | "FIRST_AGENT" | "ADMIN" | "COMPANY_CHECKING")[] | undefined;
14800
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
14131
14801
  password?: string | undefined;
14132
14802
  }, {
14133
14803
  firstName?: string | undefined;
14134
14804
  lastName?: string | undefined;
14135
14805
  email?: string | undefined;
14136
14806
  phone?: string | undefined;
14137
- roles?: ("SECOND_AGENT" | "FIRST_AGENT" | "ADMIN" | "COMPANY_CHECKING")[] | undefined;
14807
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
14138
14808
  password?: string | undefined;
14139
14809
  }>;
14140
14810
  path: "/v2/users/:id";
@@ -14256,7 +14926,7 @@ export declare const apiContractRouter: {
14256
14926
  lastName: string;
14257
14927
  email: string;
14258
14928
  phone: string;
14259
- roles?: ("SECOND_AGENT" | "FIRST_AGENT" | "ADMIN" | "COMPANY_CHECKING")[] | undefined;
14929
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
14260
14930
  }, {
14261
14931
  createdAt: string | Date;
14262
14932
  updatedAt: string | Date;
@@ -14265,7 +14935,7 @@ export declare const apiContractRouter: {
14265
14935
  lastName: string;
14266
14936
  email: string;
14267
14937
  phone: string;
14268
- roles?: ("SECOND_AGENT" | "FIRST_AGENT" | "ADMIN" | "COMPANY_CHECKING")[] | undefined;
14938
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
14269
14939
  }>;
14270
14940
  404: import("zod").ZodObject<{
14271
14941
  statusCode: import("zod").ZodNumber;
@@ -16698,7 +17368,7 @@ export declare const apiContractRouter: {
16698
17368
  company: {
16699
17369
  id: string;
16700
17370
  };
16701
- status?: "ACTIVE" | "APPROVED" | "REJECTED" | "INACTIVE" | "PENDING_APPROVAL" | "CHANGED_COMPANY" | "CHANGED_AGENT" | undefined;
17371
+ status?: "APPROVED" | "ACTIVE" | "REJECTED" | "INACTIVE" | "PENDING_APPROVAL" | "CHANGED_COMPANY" | "CHANGED_AGENT" | undefined;
16702
17372
  user?: {
16703
17373
  id: string;
16704
17374
  } | undefined;
@@ -16709,7 +17379,7 @@ export declare const apiContractRouter: {
16709
17379
  company: {
16710
17380
  id: string;
16711
17381
  };
16712
- status?: "ACTIVE" | "APPROVED" | "REJECTED" | "INACTIVE" | "PENDING_APPROVAL" | "CHANGED_COMPANY" | "CHANGED_AGENT" | undefined;
17382
+ status?: "APPROVED" | "ACTIVE" | "REJECTED" | "INACTIVE" | "PENDING_APPROVAL" | "CHANGED_COMPANY" | "CHANGED_AGENT" | undefined;
16713
17383
  user?: {
16714
17384
  id: string;
16715
17385
  } | undefined;
@@ -16866,21 +17536,21 @@ export declare const apiContractRouter: {
16866
17536
  id: string;
16867
17537
  }>>>;
16868
17538
  }, "strip", import("zod").ZodTypeAny, {
16869
- status: "ACTIVE" | "APPROVED" | "REJECTED" | "INACTIVE" | "PENDING_APPROVAL" | "CHANGED_COMPANY" | "CHANGED_AGENT";
17539
+ status: "APPROVED" | "ACTIVE" | "REJECTED" | "INACTIVE" | "PENDING_APPROVAL" | "CHANGED_COMPANY" | "CHANGED_AGENT";
16870
17540
  createdAt: string;
16871
17541
  updatedAt: string;
16872
17542
  id: string;
16873
- client: {
16874
- id: string;
16875
- name: string;
16876
- };
17543
+ userId: string;
16877
17544
  user: {
16878
17545
  id: string;
16879
17546
  firstName: string;
16880
17547
  lastName: string;
16881
17548
  email: string;
16882
17549
  };
16883
- userId: string;
17550
+ client: {
17551
+ id: string;
17552
+ name: string;
17553
+ };
16884
17554
  company: {
16885
17555
  id: string;
16886
17556
  name: string;
@@ -16889,21 +17559,21 @@ export declare const apiContractRouter: {
16889
17559
  id: string;
16890
17560
  } | null | undefined;
16891
17561
  }, {
16892
- status: "ACTIVE" | "APPROVED" | "REJECTED" | "INACTIVE" | "PENDING_APPROVAL" | "CHANGED_COMPANY" | "CHANGED_AGENT";
17562
+ status: "APPROVED" | "ACTIVE" | "REJECTED" | "INACTIVE" | "PENDING_APPROVAL" | "CHANGED_COMPANY" | "CHANGED_AGENT";
16893
17563
  createdAt: string | Date;
16894
17564
  updatedAt: string | Date;
16895
17565
  id: string;
16896
- client: {
16897
- id: string;
16898
- name: string;
16899
- };
17566
+ userId: string;
16900
17567
  user: {
16901
17568
  id: string;
16902
17569
  firstName: string;
16903
17570
  lastName: string;
16904
17571
  email: string;
16905
17572
  };
16906
- userId: string;
17573
+ client: {
17574
+ id: string;
17575
+ name: string;
17576
+ };
16907
17577
  company: {
16908
17578
  id: string;
16909
17579
  name: string;
@@ -16959,21 +17629,21 @@ export declare const apiContractRouter: {
16959
17629
  }, "strip", import("zod").ZodTypeAny, {
16960
17630
  limit: number;
16961
17631
  page: number;
16962
- status?: "ACTIVE" | "APPROVED" | "REJECTED" | "INACTIVE" | "PENDING_APPROVAL" | "CHANGED_COMPANY" | "CHANGED_AGENT" | null | undefined;
17632
+ status?: "APPROVED" | "ACTIVE" | "REJECTED" | "INACTIVE" | "PENDING_APPROVAL" | "CHANGED_COMPANY" | "CHANGED_AGENT" | null | undefined;
17633
+ userId?: string | null | undefined;
17634
+ clientId?: string | null | undefined;
17635
+ companyId?: string | null | undefined;
16963
17636
  sortBy?: "status" | "createdAt" | "updatedAt" | null | undefined;
16964
17637
  sortOrder?: "ASC" | "DESC" | null | undefined;
16965
- clientId?: string | null | undefined;
17638
+ }, {
17639
+ status?: "APPROVED" | "ACTIVE" | "REJECTED" | "INACTIVE" | "PENDING_APPROVAL" | "CHANGED_COMPANY" | "CHANGED_AGENT" | null | undefined;
16966
17640
  userId?: string | null | undefined;
17641
+ clientId?: string | null | undefined;
16967
17642
  companyId?: string | null | undefined;
16968
- }, {
16969
- status?: "ACTIVE" | "APPROVED" | "REJECTED" | "INACTIVE" | "PENDING_APPROVAL" | "CHANGED_COMPANY" | "CHANGED_AGENT" | null | undefined;
16970
17643
  limit?: number | undefined;
16971
17644
  page?: number | undefined;
16972
17645
  sortBy?: "status" | "createdAt" | "updatedAt" | null | undefined;
16973
17646
  sortOrder?: "ASC" | "DESC" | null | undefined;
16974
- clientId?: string | null | undefined;
16975
- userId?: string | null | undefined;
16976
- companyId?: string | null | undefined;
16977
17647
  }>;
16978
17648
  summary: "Get all collaborations";
16979
17649
  method: "GET";
@@ -17130,21 +17800,21 @@ export declare const apiContractRouter: {
17130
17800
  id: string;
17131
17801
  }>>>;
17132
17802
  }, "strip", import("zod").ZodTypeAny, {
17133
- status: "ACTIVE" | "APPROVED" | "REJECTED" | "INACTIVE" | "PENDING_APPROVAL" | "CHANGED_COMPANY" | "CHANGED_AGENT";
17803
+ status: "APPROVED" | "ACTIVE" | "REJECTED" | "INACTIVE" | "PENDING_APPROVAL" | "CHANGED_COMPANY" | "CHANGED_AGENT";
17134
17804
  createdAt: string;
17135
17805
  updatedAt: string;
17136
17806
  id: string;
17137
- client: {
17138
- id: string;
17139
- name: string;
17140
- };
17807
+ userId: string;
17141
17808
  user: {
17142
17809
  id: string;
17143
17810
  firstName: string;
17144
17811
  lastName: string;
17145
17812
  email: string;
17146
17813
  };
17147
- userId: string;
17814
+ client: {
17815
+ id: string;
17816
+ name: string;
17817
+ };
17148
17818
  company: {
17149
17819
  id: string;
17150
17820
  name: string;
@@ -17153,21 +17823,21 @@ export declare const apiContractRouter: {
17153
17823
  id: string;
17154
17824
  } | null | undefined;
17155
17825
  }, {
17156
- status: "ACTIVE" | "APPROVED" | "REJECTED" | "INACTIVE" | "PENDING_APPROVAL" | "CHANGED_COMPANY" | "CHANGED_AGENT";
17826
+ status: "APPROVED" | "ACTIVE" | "REJECTED" | "INACTIVE" | "PENDING_APPROVAL" | "CHANGED_COMPANY" | "CHANGED_AGENT";
17157
17827
  createdAt: string | Date;
17158
17828
  updatedAt: string | Date;
17159
17829
  id: string;
17160
- client: {
17161
- id: string;
17162
- name: string;
17163
- };
17830
+ userId: string;
17164
17831
  user: {
17165
17832
  id: string;
17166
17833
  firstName: string;
17167
17834
  lastName: string;
17168
17835
  email: string;
17169
17836
  };
17170
- userId: string;
17837
+ client: {
17838
+ id: string;
17839
+ name: string;
17840
+ };
17171
17841
  company: {
17172
17842
  id: string;
17173
17843
  name: string;
@@ -17184,21 +17854,21 @@ export declare const apiContractRouter: {
17184
17854
  }, "strip", import("zod").ZodTypeAny, {
17185
17855
  limit: number;
17186
17856
  items: {
17187
- status: "ACTIVE" | "APPROVED" | "REJECTED" | "INACTIVE" | "PENDING_APPROVAL" | "CHANGED_COMPANY" | "CHANGED_AGENT";
17857
+ status: "APPROVED" | "ACTIVE" | "REJECTED" | "INACTIVE" | "PENDING_APPROVAL" | "CHANGED_COMPANY" | "CHANGED_AGENT";
17188
17858
  createdAt: string;
17189
17859
  updatedAt: string;
17190
17860
  id: string;
17191
- client: {
17192
- id: string;
17193
- name: string;
17194
- };
17861
+ userId: string;
17195
17862
  user: {
17196
17863
  id: string;
17197
17864
  firstName: string;
17198
17865
  lastName: string;
17199
17866
  email: string;
17200
17867
  };
17201
- userId: string;
17868
+ client: {
17869
+ id: string;
17870
+ name: string;
17871
+ };
17202
17872
  company: {
17203
17873
  id: string;
17204
17874
  name: string;
@@ -17214,21 +17884,21 @@ export declare const apiContractRouter: {
17214
17884
  }, {
17215
17885
  limit: number;
17216
17886
  items: {
17217
- status: "ACTIVE" | "APPROVED" | "REJECTED" | "INACTIVE" | "PENDING_APPROVAL" | "CHANGED_COMPANY" | "CHANGED_AGENT";
17887
+ status: "APPROVED" | "ACTIVE" | "REJECTED" | "INACTIVE" | "PENDING_APPROVAL" | "CHANGED_COMPANY" | "CHANGED_AGENT";
17218
17888
  createdAt: string | Date;
17219
17889
  updatedAt: string | Date;
17220
17890
  id: string;
17221
- client: {
17222
- id: string;
17223
- name: string;
17224
- };
17891
+ userId: string;
17225
17892
  user: {
17226
17893
  id: string;
17227
17894
  firstName: string;
17228
17895
  lastName: string;
17229
17896
  email: string;
17230
17897
  };
17231
- userId: string;
17898
+ client: {
17899
+ id: string;
17900
+ name: string;
17901
+ };
17232
17902
  company: {
17233
17903
  id: string;
17234
17904
  name: string;
@@ -17393,25 +18063,25 @@ export declare const apiContractRouter: {
17393
18063
  }>;
17394
18064
  }, "strip", import("zod").ZodTypeAny, {
17395
18065
  id: string;
17396
- client: {
17397
- name: string;
17398
- };
17399
18066
  user: {
17400
18067
  firstName: string;
17401
18068
  lastName: string;
17402
18069
  };
18070
+ client: {
18071
+ name: string;
18072
+ };
17403
18073
  company: {
17404
18074
  name: string;
17405
18075
  };
17406
18076
  }, {
17407
18077
  id: string;
17408
- client: {
17409
- name: string;
17410
- };
17411
18078
  user: {
17412
18079
  firstName: string;
17413
18080
  lastName: string;
17414
18081
  };
18082
+ client: {
18083
+ name: string;
18084
+ };
17415
18085
  company: {
17416
18086
  name: string;
17417
18087
  };
@@ -17586,21 +18256,21 @@ export declare const apiContractRouter: {
17586
18256
  id: string;
17587
18257
  }>>>;
17588
18258
  }, "strip", import("zod").ZodTypeAny, {
17589
- status: "ACTIVE" | "APPROVED" | "REJECTED" | "INACTIVE" | "PENDING_APPROVAL" | "CHANGED_COMPANY" | "CHANGED_AGENT";
18259
+ status: "APPROVED" | "ACTIVE" | "REJECTED" | "INACTIVE" | "PENDING_APPROVAL" | "CHANGED_COMPANY" | "CHANGED_AGENT";
17590
18260
  createdAt: string;
17591
18261
  updatedAt: string;
17592
18262
  id: string;
17593
- client: {
17594
- id: string;
17595
- name: string;
17596
- };
18263
+ userId: string;
17597
18264
  user: {
17598
18265
  id: string;
17599
18266
  firstName: string;
17600
18267
  lastName: string;
17601
18268
  email: string;
17602
18269
  };
17603
- userId: string;
18270
+ client: {
18271
+ id: string;
18272
+ name: string;
18273
+ };
17604
18274
  company: {
17605
18275
  id: string;
17606
18276
  name: string;
@@ -17609,21 +18279,21 @@ export declare const apiContractRouter: {
17609
18279
  id: string;
17610
18280
  } | null | undefined;
17611
18281
  }, {
17612
- status: "ACTIVE" | "APPROVED" | "REJECTED" | "INACTIVE" | "PENDING_APPROVAL" | "CHANGED_COMPANY" | "CHANGED_AGENT";
18282
+ status: "APPROVED" | "ACTIVE" | "REJECTED" | "INACTIVE" | "PENDING_APPROVAL" | "CHANGED_COMPANY" | "CHANGED_AGENT";
17613
18283
  createdAt: string | Date;
17614
18284
  updatedAt: string | Date;
17615
18285
  id: string;
17616
- client: {
17617
- id: string;
17618
- name: string;
17619
- };
18286
+ userId: string;
17620
18287
  user: {
17621
18288
  id: string;
17622
18289
  firstName: string;
17623
18290
  lastName: string;
17624
18291
  email: string;
17625
18292
  };
17626
- userId: string;
18293
+ client: {
18294
+ id: string;
18295
+ name: string;
18296
+ };
17627
18297
  company: {
17628
18298
  id: string;
17629
18299
  name: string;
@@ -17678,9 +18348,9 @@ export declare const apiContractRouter: {
17678
18348
  body: import("zod").ZodObject<{
17679
18349
  status: import("zod").ZodOptional<import("zod").ZodEnum<["ACTIVE", "INACTIVE", "PENDING_APPROVAL", "REJECTED", "APPROVED", "CHANGED_COMPANY", "CHANGED_AGENT"]>>;
17680
18350
  }, "strip", import("zod").ZodTypeAny, {
17681
- status?: "ACTIVE" | "APPROVED" | "REJECTED" | "INACTIVE" | "PENDING_APPROVAL" | "CHANGED_COMPANY" | "CHANGED_AGENT" | undefined;
18351
+ status?: "APPROVED" | "ACTIVE" | "REJECTED" | "INACTIVE" | "PENDING_APPROVAL" | "CHANGED_COMPANY" | "CHANGED_AGENT" | undefined;
17682
18352
  }, {
17683
- status?: "ACTIVE" | "APPROVED" | "REJECTED" | "INACTIVE" | "PENDING_APPROVAL" | "CHANGED_COMPANY" | "CHANGED_AGENT" | undefined;
18353
+ status?: "APPROVED" | "ACTIVE" | "REJECTED" | "INACTIVE" | "PENDING_APPROVAL" | "CHANGED_COMPANY" | "CHANGED_AGENT" | undefined;
17684
18354
  }>;
17685
18355
  path: "/v2/collaborations/:id";
17686
18356
  responses: {
@@ -17834,21 +18504,21 @@ export declare const apiContractRouter: {
17834
18504
  id: string;
17835
18505
  }>>>;
17836
18506
  }, "strip", import("zod").ZodTypeAny, {
17837
- status: "ACTIVE" | "APPROVED" | "REJECTED" | "INACTIVE" | "PENDING_APPROVAL" | "CHANGED_COMPANY" | "CHANGED_AGENT";
18507
+ status: "APPROVED" | "ACTIVE" | "REJECTED" | "INACTIVE" | "PENDING_APPROVAL" | "CHANGED_COMPANY" | "CHANGED_AGENT";
17838
18508
  createdAt: string;
17839
18509
  updatedAt: string;
17840
18510
  id: string;
17841
- client: {
17842
- id: string;
17843
- name: string;
17844
- };
18511
+ userId: string;
17845
18512
  user: {
17846
18513
  id: string;
17847
18514
  firstName: string;
17848
18515
  lastName: string;
17849
18516
  email: string;
17850
18517
  };
17851
- userId: string;
18518
+ client: {
18519
+ id: string;
18520
+ name: string;
18521
+ };
17852
18522
  company: {
17853
18523
  id: string;
17854
18524
  name: string;
@@ -17857,21 +18527,21 @@ export declare const apiContractRouter: {
17857
18527
  id: string;
17858
18528
  } | null | undefined;
17859
18529
  }, {
17860
- status: "ACTIVE" | "APPROVED" | "REJECTED" | "INACTIVE" | "PENDING_APPROVAL" | "CHANGED_COMPANY" | "CHANGED_AGENT";
18530
+ status: "APPROVED" | "ACTIVE" | "REJECTED" | "INACTIVE" | "PENDING_APPROVAL" | "CHANGED_COMPANY" | "CHANGED_AGENT";
17861
18531
  createdAt: string | Date;
17862
18532
  updatedAt: string | Date;
17863
18533
  id: string;
17864
- client: {
17865
- id: string;
17866
- name: string;
17867
- };
18534
+ userId: string;
17868
18535
  user: {
17869
18536
  id: string;
17870
18537
  firstName: string;
17871
18538
  lastName: string;
17872
18539
  email: string;
17873
18540
  };
17874
- userId: string;
18541
+ client: {
18542
+ id: string;
18543
+ name: string;
18544
+ };
17875
18545
  company: {
17876
18546
  id: string;
17877
18547
  name: string;
@@ -18118,7 +18788,7 @@ export declare const apiContractRouter: {
18118
18788
  company: {
18119
18789
  id: string;
18120
18790
  };
18121
- status?: "ACTIVE" | "APPROVED" | "REJECTED" | "INACTIVE" | "PENDING_APPROVAL" | "CHANGED_COMPANY" | "CHANGED_AGENT" | undefined;
18791
+ status?: "APPROVED" | "ACTIVE" | "REJECTED" | "INACTIVE" | "PENDING_APPROVAL" | "CHANGED_COMPANY" | "CHANGED_AGENT" | undefined;
18122
18792
  user?: {
18123
18793
  id: string;
18124
18794
  } | undefined;
@@ -18129,7 +18799,7 @@ export declare const apiContractRouter: {
18129
18799
  company: {
18130
18800
  id: string;
18131
18801
  };
18132
- status?: "ACTIVE" | "APPROVED" | "REJECTED" | "INACTIVE" | "PENDING_APPROVAL" | "CHANGED_COMPANY" | "CHANGED_AGENT" | undefined;
18802
+ status?: "APPROVED" | "ACTIVE" | "REJECTED" | "INACTIVE" | "PENDING_APPROVAL" | "CHANGED_COMPANY" | "CHANGED_AGENT" | undefined;
18133
18803
  user?: {
18134
18804
  id: string;
18135
18805
  } | undefined;
@@ -18286,21 +18956,21 @@ export declare const apiContractRouter: {
18286
18956
  id: string;
18287
18957
  }>>>;
18288
18958
  }, "strip", import("zod").ZodTypeAny, {
18289
- status: "ACTIVE" | "APPROVED" | "REJECTED" | "INACTIVE" | "PENDING_APPROVAL" | "CHANGED_COMPANY" | "CHANGED_AGENT";
18959
+ status: "APPROVED" | "ACTIVE" | "REJECTED" | "INACTIVE" | "PENDING_APPROVAL" | "CHANGED_COMPANY" | "CHANGED_AGENT";
18290
18960
  createdAt: string;
18291
18961
  updatedAt: string;
18292
18962
  id: string;
18293
- client: {
18294
- id: string;
18295
- name: string;
18296
- };
18963
+ userId: string;
18297
18964
  user: {
18298
18965
  id: string;
18299
18966
  firstName: string;
18300
18967
  lastName: string;
18301
18968
  email: string;
18302
18969
  };
18303
- userId: string;
18970
+ client: {
18971
+ id: string;
18972
+ name: string;
18973
+ };
18304
18974
  company: {
18305
18975
  id: string;
18306
18976
  name: string;
@@ -18309,21 +18979,21 @@ export declare const apiContractRouter: {
18309
18979
  id: string;
18310
18980
  } | null | undefined;
18311
18981
  }, {
18312
- status: "ACTIVE" | "APPROVED" | "REJECTED" | "INACTIVE" | "PENDING_APPROVAL" | "CHANGED_COMPANY" | "CHANGED_AGENT";
18982
+ status: "APPROVED" | "ACTIVE" | "REJECTED" | "INACTIVE" | "PENDING_APPROVAL" | "CHANGED_COMPANY" | "CHANGED_AGENT";
18313
18983
  createdAt: string | Date;
18314
18984
  updatedAt: string | Date;
18315
18985
  id: string;
18316
- client: {
18317
- id: string;
18318
- name: string;
18319
- };
18986
+ userId: string;
18320
18987
  user: {
18321
18988
  id: string;
18322
18989
  firstName: string;
18323
18990
  lastName: string;
18324
18991
  email: string;
18325
18992
  };
18326
- userId: string;
18993
+ client: {
18994
+ id: string;
18995
+ name: string;
18996
+ };
18327
18997
  company: {
18328
18998
  id: string;
18329
18999
  name: string;
@@ -18426,8 +19096,8 @@ export declare const apiContractRouter: {
18426
19096
  rateUnit?: "DAILY" | "HOURLY" | undefined;
18427
19097
  rateMax?: number | undefined;
18428
19098
  };
18429
- description: string;
18430
19099
  tradeId: string;
19100
+ description: string;
18431
19101
  numberOfPositions: number;
18432
19102
  currentCollaboration: {
18433
19103
  id: string;
@@ -18449,8 +19119,8 @@ export declare const apiContractRouter: {
18449
19119
  rateUnit?: "DAILY" | "HOURLY" | undefined;
18450
19120
  rateMax?: number | undefined;
18451
19121
  };
18452
- description: string;
18453
19122
  tradeId: string;
19123
+ description: string;
18454
19124
  numberOfPositions: number;
18455
19125
  currentCollaboration: {
18456
19126
  id: string;
@@ -18649,8 +19319,8 @@ export declare const apiContractRouter: {
18649
19319
  receivedRate: number;
18650
19320
  rateMax?: number | null | undefined;
18651
19321
  };
18652
- description: string;
18653
19322
  tradeId: string;
19323
+ description: string;
18654
19324
  numberOfPositions: number;
18655
19325
  jobQualifications: {
18656
19326
  id: string;
@@ -18681,8 +19351,8 @@ export declare const apiContractRouter: {
18681
19351
  receivedRate: number;
18682
19352
  rateMax?: number | null | undefined;
18683
19353
  };
18684
- description: string;
18685
19354
  tradeId: string;
19355
+ description: string;
18686
19356
  numberOfPositions: number;
18687
19357
  jobQualifications: {
18688
19358
  id: string;
@@ -18779,9 +19449,9 @@ export declare const apiContractRouter: {
18779
19449
  minRate?: number | null | undefined;
18780
19450
  maxRate?: number | null | undefined;
18781
19451
  } | null | undefined;
19452
+ tradeId?: string | null | undefined;
18782
19453
  sortBy?: "status" | "createdAt" | "updatedAt" | "description" | "numberOfPositions" | null | undefined;
18783
19454
  sortOrder?: "ASC" | "DESC" | null | undefined;
18784
- tradeId?: string | null | undefined;
18785
19455
  postcode?: string | null | undefined;
18786
19456
  distance?: number | null | undefined;
18787
19457
  }, {
@@ -18794,11 +19464,11 @@ export declare const apiContractRouter: {
18794
19464
  minRate?: number | null | undefined;
18795
19465
  maxRate?: number | null | undefined;
18796
19466
  } | null | undefined;
19467
+ tradeId?: string | null | undefined;
18797
19468
  limit?: number | undefined;
18798
19469
  page?: number | undefined;
18799
19470
  sortBy?: "status" | "createdAt" | "updatedAt" | "description" | "numberOfPositions" | null | undefined;
18800
19471
  sortOrder?: "ASC" | "DESC" | null | undefined;
18801
- tradeId?: string | null | undefined;
18802
19472
  postcode?: string | null | undefined;
18803
19473
  distance?: number | null | undefined;
18804
19474
  }>;
@@ -18988,8 +19658,8 @@ export declare const apiContractRouter: {
18988
19658
  receivedRate: number;
18989
19659
  rateMax?: number | null | undefined;
18990
19660
  };
18991
- description: string;
18992
19661
  tradeId: string;
19662
+ description: string;
18993
19663
  numberOfPositions: number;
18994
19664
  jobQualifications: {
18995
19665
  id: string;
@@ -19020,8 +19690,8 @@ export declare const apiContractRouter: {
19020
19690
  receivedRate: number;
19021
19691
  rateMax?: number | null | undefined;
19022
19692
  };
19023
- description: string;
19024
19693
  tradeId: string;
19694
+ description: string;
19025
19695
  numberOfPositions: number;
19026
19696
  jobQualifications: {
19027
19697
  id: string;
@@ -19060,8 +19730,8 @@ export declare const apiContractRouter: {
19060
19730
  receivedRate: number;
19061
19731
  rateMax?: number | null | undefined;
19062
19732
  };
19063
- description: string;
19064
19733
  tradeId: string;
19734
+ description: string;
19065
19735
  numberOfPositions: number;
19066
19736
  jobQualifications: {
19067
19737
  id: string;
@@ -19099,8 +19769,8 @@ export declare const apiContractRouter: {
19099
19769
  receivedRate: number;
19100
19770
  rateMax?: number | null | undefined;
19101
19771
  };
19102
- description: string;
19103
19772
  tradeId: string;
19773
+ description: string;
19104
19774
  numberOfPositions: number;
19105
19775
  jobQualifications: {
19106
19776
  id: string;
@@ -19327,8 +19997,8 @@ export declare const apiContractRouter: {
19327
19997
  receivedRate: number;
19328
19998
  rateMax?: number | null | undefined;
19329
19999
  };
19330
- description: string;
19331
20000
  tradeId: string;
20001
+ description: string;
19332
20002
  numberOfPositions: number;
19333
20003
  jobQualifications: {
19334
20004
  id: string;
@@ -19359,8 +20029,8 @@ export declare const apiContractRouter: {
19359
20029
  receivedRate: number;
19360
20030
  rateMax?: number | null | undefined;
19361
20031
  };
19362
- description: string;
19363
20032
  tradeId: string;
20033
+ description: string;
19364
20034
  numberOfPositions: number;
19365
20035
  jobQualifications: {
19366
20036
  id: string;
@@ -19481,8 +20151,8 @@ export declare const apiContractRouter: {
19481
20151
  rateUnit?: "DAILY" | "HOURLY" | undefined;
19482
20152
  rateMax?: number | undefined;
19483
20153
  } | undefined;
19484
- description?: string | undefined;
19485
20154
  tradeId?: string | undefined;
20155
+ description?: string | undefined;
19486
20156
  location?: {
19487
20157
  address?: string | undefined;
19488
20158
  postcode?: string | undefined;
@@ -19504,8 +20174,8 @@ export declare const apiContractRouter: {
19504
20174
  rateUnit?: "DAILY" | "HOURLY" | undefined;
19505
20175
  rateMax?: number | undefined;
19506
20176
  } | undefined;
19507
- description?: string | undefined;
19508
20177
  tradeId?: string | undefined;
20178
+ description?: string | undefined;
19509
20179
  location?: {
19510
20180
  address?: string | undefined;
19511
20181
  postcode?: string | undefined;
@@ -19703,8 +20373,8 @@ export declare const apiContractRouter: {
19703
20373
  receivedRate: number;
19704
20374
  rateMax?: number | null | undefined;
19705
20375
  };
19706
- description: string;
19707
20376
  tradeId: string;
20377
+ description: string;
19708
20378
  numberOfPositions: number;
19709
20379
  jobQualifications: {
19710
20380
  id: string;
@@ -19735,8 +20405,8 @@ export declare const apiContractRouter: {
19735
20405
  receivedRate: number;
19736
20406
  rateMax?: number | null | undefined;
19737
20407
  };
19738
- description: string;
19739
20408
  tradeId: string;
20409
+ description: string;
19740
20410
  numberOfPositions: number;
19741
20411
  jobQualifications: {
19742
20412
  id: string;
@@ -21431,8 +22101,8 @@ export declare const apiContractRouter: {
21431
22101
  }, "strip", import("zod").ZodTypeAny, {
21432
22102
  createdAt: string;
21433
22103
  updatedAt: string;
21434
- id: string;
21435
22104
  type: "POSTCODE" | "SECTOR" | "DISTRICT" | "AREA";
22105
+ id: string;
21436
22106
  address?: string | null | undefined;
21437
22107
  postcode?: string | undefined;
21438
22108
  county?: string | null | undefined;
@@ -21445,8 +22115,8 @@ export declare const apiContractRouter: {
21445
22115
  }, {
21446
22116
  createdAt: string | Date;
21447
22117
  updatedAt: string | Date;
21448
- id: string;
21449
22118
  type: "POSTCODE" | "SECTOR" | "DISTRICT" | "AREA";
22119
+ id: string;
21450
22120
  address?: string | null | undefined;
21451
22121
  postcode?: string | undefined;
21452
22122
  county?: string | null | undefined;
@@ -21595,8 +22265,8 @@ export declare const apiContractRouter: {
21595
22265
  }, "strip", import("zod").ZodTypeAny, {
21596
22266
  createdAt: string;
21597
22267
  updatedAt: string;
21598
- id: string;
21599
22268
  type: "POSTCODE" | "SECTOR" | "DISTRICT" | "AREA";
22269
+ id: string;
21600
22270
  address?: string | null | undefined;
21601
22271
  postcode?: string | undefined;
21602
22272
  county?: string | null | undefined;
@@ -21609,8 +22279,8 @@ export declare const apiContractRouter: {
21609
22279
  }, {
21610
22280
  createdAt: string | Date;
21611
22281
  updatedAt: string | Date;
21612
- id: string;
21613
22282
  type: "POSTCODE" | "SECTOR" | "DISTRICT" | "AREA";
22283
+ id: string;
21614
22284
  address?: string | null | undefined;
21615
22285
  postcode?: string | undefined;
21616
22286
  county?: string | null | undefined;
@@ -21631,8 +22301,8 @@ export declare const apiContractRouter: {
21631
22301
  items: {
21632
22302
  createdAt: string;
21633
22303
  updatedAt: string;
21634
- id: string;
21635
22304
  type: "POSTCODE" | "SECTOR" | "DISTRICT" | "AREA";
22305
+ id: string;
21636
22306
  address?: string | null | undefined;
21637
22307
  postcode?: string | undefined;
21638
22308
  county?: string | null | undefined;
@@ -21652,8 +22322,8 @@ export declare const apiContractRouter: {
21652
22322
  items: {
21653
22323
  createdAt: string | Date;
21654
22324
  updatedAt: string | Date;
21655
- id: string;
21656
22325
  type: "POSTCODE" | "SECTOR" | "DISTRICT" | "AREA";
22326
+ id: string;
21657
22327
  address?: string | null | undefined;
21658
22328
  postcode?: string | undefined;
21659
22329
  county?: string | null | undefined;
@@ -21803,8 +22473,8 @@ export declare const apiContractRouter: {
21803
22473
  }, "strip", import("zod").ZodTypeAny, {
21804
22474
  createdAt: string;
21805
22475
  updatedAt: string;
21806
- id: string;
21807
22476
  type: "POSTCODE" | "SECTOR" | "DISTRICT" | "AREA";
22477
+ id: string;
21808
22478
  address?: string | null | undefined;
21809
22479
  postcode?: string | undefined;
21810
22480
  county?: string | null | undefined;
@@ -21817,8 +22487,8 @@ export declare const apiContractRouter: {
21817
22487
  }, {
21818
22488
  createdAt: string | Date;
21819
22489
  updatedAt: string | Date;
21820
- id: string;
21821
22490
  type: "POSTCODE" | "SECTOR" | "DISTRICT" | "AREA";
22491
+ id: string;
21822
22492
  address?: string | null | undefined;
21823
22493
  postcode?: string | undefined;
21824
22494
  county?: string | null | undefined;
@@ -21998,8 +22668,8 @@ export declare const apiContractRouter: {
21998
22668
  }, "strip", import("zod").ZodTypeAny, {
21999
22669
  createdAt: string;
22000
22670
  updatedAt: string;
22001
- id: string;
22002
22671
  type: "POSTCODE" | "SECTOR" | "DISTRICT" | "AREA";
22672
+ id: string;
22003
22673
  address?: string | null | undefined;
22004
22674
  postcode?: string | undefined;
22005
22675
  county?: string | null | undefined;
@@ -22012,8 +22682,8 @@ export declare const apiContractRouter: {
22012
22682
  }, {
22013
22683
  createdAt: string | Date;
22014
22684
  updatedAt: string | Date;
22015
- id: string;
22016
22685
  type: "POSTCODE" | "SECTOR" | "DISTRICT" | "AREA";
22686
+ id: string;
22017
22687
  address?: string | null | undefined;
22018
22688
  postcode?: string | undefined;
22019
22689
  county?: string | null | undefined;
@@ -22319,11 +22989,11 @@ export declare const apiContractRouter: {
22319
22989
  id: import("zod").ZodString;
22320
22990
  code: import("zod").ZodString;
22321
22991
  }, "strip", import("zod").ZodTypeAny, {
22322
- id: string;
22323
22992
  code: string;
22324
- }, {
22325
22993
  id: string;
22994
+ }, {
22326
22995
  code: string;
22996
+ id: string;
22327
22997
  }>, "many">;
22328
22998
  };
22329
22999
  };
@@ -24662,14 +25332,14 @@ export declare const apiContractRouter: {
24662
25332
  firstName?: string | undefined;
24663
25333
  lastName?: string | undefined;
24664
25334
  phone?: string | undefined;
24665
- roles?: ("SECOND_AGENT" | "FIRST_AGENT" | "ADMIN" | "COMPANY_CHECKING")[] | undefined;
25335
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
24666
25336
  }, {
24667
25337
  id: string;
24668
25338
  email: string;
24669
25339
  firstName?: string | undefined;
24670
25340
  lastName?: string | undefined;
24671
25341
  phone?: string | undefined;
24672
- roles?: ("SECOND_AGENT" | "FIRST_AGENT" | "ADMIN" | "COMPANY_CHECKING")[] | undefined;
25342
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
24673
25343
  }>;
24674
25344
  401: import("zod").ZodObject<{
24675
25345
  statusCode: import("zod").ZodNumber;
@@ -24895,13 +25565,13 @@ export declare const apiContractRouter: {
24895
25565
  endDate: import("zod").ZodOptional<import("zod").ZodString>;
24896
25566
  agentId: import("zod").ZodOptional<import("zod").ZodString>;
24897
25567
  }, "strip", import("zod").ZodTypeAny, {
24898
- agentId?: string | undefined;
24899
25568
  startDate?: string | undefined;
24900
25569
  endDate?: string | undefined;
24901
- }, {
24902
25570
  agentId?: string | undefined;
25571
+ }, {
24903
25572
  startDate?: string | undefined;
24904
25573
  endDate?: string | undefined;
25574
+ agentId?: string | undefined;
24905
25575
  }>;
24906
25576
  summary: "Retrieve agent daily metrics history";
24907
25577
  method: "GET";
@@ -27102,8 +27772,8 @@ export declare const apiContractRouter: {
27102
27772
  createdAt: string;
27103
27773
  updatedAt: string;
27104
27774
  id: string;
27105
- description: string | null;
27106
27775
  userId: string;
27776
+ description: string | null;
27107
27777
  location: string;
27108
27778
  size: number;
27109
27779
  originalName: string;
@@ -27116,8 +27786,8 @@ export declare const apiContractRouter: {
27116
27786
  createdAt: string | Date;
27117
27787
  updatedAt: string | Date;
27118
27788
  id: string;
27119
- description: string | null;
27120
27789
  userId: string;
27790
+ description: string | null;
27121
27791
  location: string;
27122
27792
  size: number;
27123
27793
  originalName: string;
@@ -27265,8 +27935,8 @@ export declare const apiContractRouter: {
27265
27935
  createdAt: string;
27266
27936
  updatedAt: string;
27267
27937
  id: string;
27268
- description: string | null;
27269
27938
  userId: string;
27939
+ description: string | null;
27270
27940
  location: string;
27271
27941
  size: number;
27272
27942
  originalName: string;
@@ -27279,8 +27949,8 @@ export declare const apiContractRouter: {
27279
27949
  createdAt: string | Date;
27280
27950
  updatedAt: string | Date;
27281
27951
  id: string;
27282
- description: string | null;
27283
27952
  userId: string;
27953
+ description: string | null;
27284
27954
  location: string;
27285
27955
  size: number;
27286
27956
  originalName: string;
@@ -27425,8 +28095,8 @@ export declare const apiContractRouter: {
27425
28095
  createdAt: string;
27426
28096
  updatedAt: string;
27427
28097
  id: string;
27428
- description: string | null;
27429
28098
  userId: string;
28099
+ description: string | null;
27430
28100
  location: string;
27431
28101
  size: number;
27432
28102
  originalName: string;
@@ -27439,8 +28109,8 @@ export declare const apiContractRouter: {
27439
28109
  createdAt: string | Date;
27440
28110
  updatedAt: string | Date;
27441
28111
  id: string;
27442
- description: string | null;
27443
28112
  userId: string;
28113
+ description: string | null;
27444
28114
  location: string;
27445
28115
  size: number;
27446
28116
  originalName: string;
@@ -27769,8 +28439,8 @@ export declare const apiContractRouter: {
27769
28439
  createdAt: string;
27770
28440
  updatedAt: string;
27771
28441
  id: string;
27772
- description: string | null;
27773
28442
  userId: string;
28443
+ description: string | null;
27774
28444
  location: string;
27775
28445
  size: number;
27776
28446
  originalName: string;
@@ -27783,8 +28453,8 @@ export declare const apiContractRouter: {
27783
28453
  createdAt: string | Date;
27784
28454
  updatedAt: string | Date;
27785
28455
  id: string;
27786
- description: string | null;
27787
28456
  userId: string;
28457
+ description: string | null;
27788
28458
  location: string;
27789
28459
  size: number;
27790
28460
  originalName: string;
@@ -28149,7 +28819,7 @@ export declare const apiContractRouter: {
28149
28819
  lastName: string;
28150
28820
  email: string;
28151
28821
  phone: string;
28152
- roles?: ("SECOND_AGENT" | "FIRST_AGENT" | "ADMIN" | "COMPANY_CHECKING")[] | undefined;
28822
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
28153
28823
  }, {
28154
28824
  createdAt: string | Date;
28155
28825
  updatedAt: string | Date;
@@ -28158,7 +28828,7 @@ export declare const apiContractRouter: {
28158
28828
  lastName: string;
28159
28829
  email: string;
28160
28830
  phone: string;
28161
- roles?: ("SECOND_AGENT" | "FIRST_AGENT" | "ADMIN" | "COMPANY_CHECKING")[] | undefined;
28831
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
28162
28832
  }>>;
28163
28833
  assignedAt: import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>, string, string | Date>;
28164
28834
  assignedBy: import("zod").ZodNullable<import("zod").ZodString>;
@@ -28182,7 +28852,7 @@ export declare const apiContractRouter: {
28182
28852
  lastName: string;
28183
28853
  email: string;
28184
28854
  phone: string;
28185
- roles?: ("SECOND_AGENT" | "FIRST_AGENT" | "ADMIN" | "COMPANY_CHECKING")[] | undefined;
28855
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
28186
28856
  } | undefined;
28187
28857
  lead?: {
28188
28858
  name: string;
@@ -28205,7 +28875,7 @@ export declare const apiContractRouter: {
28205
28875
  lastName: string;
28206
28876
  email: string;
28207
28877
  phone: string;
28208
- roles?: ("SECOND_AGENT" | "FIRST_AGENT" | "ADMIN" | "COMPANY_CHECKING")[] | undefined;
28878
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
28209
28879
  } | undefined;
28210
28880
  lead?: {
28211
28881
  name: string;
@@ -28243,7 +28913,7 @@ export declare const apiContractRouter: {
28243
28913
  lastName: string;
28244
28914
  email: string;
28245
28915
  phone: string;
28246
- roles?: ("SECOND_AGENT" | "FIRST_AGENT" | "ADMIN" | "COMPANY_CHECKING")[] | undefined;
28916
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
28247
28917
  }, {
28248
28918
  createdAt: string | Date;
28249
28919
  updatedAt: string | Date;
@@ -28252,7 +28922,7 @@ export declare const apiContractRouter: {
28252
28922
  lastName: string;
28253
28923
  email: string;
28254
28924
  phone: string;
28255
- roles?: ("SECOND_AGENT" | "FIRST_AGENT" | "ADMIN" | "COMPANY_CHECKING")[] | undefined;
28925
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
28256
28926
  }>>;
28257
28927
  assignedAt: import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>, string, string | Date>;
28258
28928
  assignedBy: import("zod").ZodNullable<import("zod").ZodString>;
@@ -28276,7 +28946,7 @@ export declare const apiContractRouter: {
28276
28946
  lastName: string;
28277
28947
  email: string;
28278
28948
  phone: string;
28279
- roles?: ("SECOND_AGENT" | "FIRST_AGENT" | "ADMIN" | "COMPANY_CHECKING")[] | undefined;
28949
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
28280
28950
  } | undefined;
28281
28951
  lead?: {
28282
28952
  name: string;
@@ -28299,7 +28969,7 @@ export declare const apiContractRouter: {
28299
28969
  lastName: string;
28300
28970
  email: string;
28301
28971
  phone: string;
28302
- roles?: ("SECOND_AGENT" | "FIRST_AGENT" | "ADMIN" | "COMPANY_CHECKING")[] | undefined;
28972
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
28303
28973
  } | undefined;
28304
28974
  lead?: {
28305
28975
  name: string;
@@ -28324,7 +28994,7 @@ export declare const apiContractRouter: {
28324
28994
  lastName: string;
28325
28995
  email: string;
28326
28996
  phone: string;
28327
- roles?: ("SECOND_AGENT" | "FIRST_AGENT" | "ADMIN" | "COMPANY_CHECKING")[] | undefined;
28997
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
28328
28998
  } | undefined;
28329
28999
  lead?: {
28330
29000
  name: string;
@@ -28348,7 +29018,7 @@ export declare const apiContractRouter: {
28348
29018
  lastName: string;
28349
29019
  email: string;
28350
29020
  phone: string;
28351
- roles?: ("SECOND_AGENT" | "FIRST_AGENT" | "ADMIN" | "COMPANY_CHECKING")[] | undefined;
29021
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
28352
29022
  } | undefined;
28353
29023
  lead?: {
28354
29024
  name: string;
@@ -28373,7 +29043,7 @@ export declare const apiContractRouter: {
28373
29043
  lastName: string;
28374
29044
  email: string;
28375
29045
  phone: string;
28376
- roles?: ("SECOND_AGENT" | "FIRST_AGENT" | "ADMIN" | "COMPANY_CHECKING")[] | undefined;
29046
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
28377
29047
  } | undefined;
28378
29048
  lead?: {
28379
29049
  name: string;
@@ -28397,7 +29067,7 @@ export declare const apiContractRouter: {
28397
29067
  lastName: string;
28398
29068
  email: string;
28399
29069
  phone: string;
28400
- roles?: ("SECOND_AGENT" | "FIRST_AGENT" | "ADMIN" | "COMPANY_CHECKING")[] | undefined;
29070
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
28401
29071
  } | undefined;
28402
29072
  lead?: {
28403
29073
  name: string;
@@ -28571,7 +29241,7 @@ export declare const apiContractRouter: {
28571
29241
  lastName: string;
28572
29242
  email: string;
28573
29243
  phone: string;
28574
- roles?: ("SECOND_AGENT" | "FIRST_AGENT" | "ADMIN" | "COMPANY_CHECKING")[] | undefined;
29244
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
28575
29245
  }, {
28576
29246
  createdAt: string | Date;
28577
29247
  updatedAt: string | Date;
@@ -28580,7 +29250,7 @@ export declare const apiContractRouter: {
28580
29250
  lastName: string;
28581
29251
  email: string;
28582
29252
  phone: string;
28583
- roles?: ("SECOND_AGENT" | "FIRST_AGENT" | "ADMIN" | "COMPANY_CHECKING")[] | undefined;
29253
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
28584
29254
  }>>;
28585
29255
  assignedAt: import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>, string, string | Date>;
28586
29256
  assignedBy: import("zod").ZodNullable<import("zod").ZodString>;
@@ -28604,7 +29274,7 @@ export declare const apiContractRouter: {
28604
29274
  lastName: string;
28605
29275
  email: string;
28606
29276
  phone: string;
28607
- roles?: ("SECOND_AGENT" | "FIRST_AGENT" | "ADMIN" | "COMPANY_CHECKING")[] | undefined;
29277
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
28608
29278
  } | undefined;
28609
29279
  lead?: {
28610
29280
  name: string;
@@ -28627,7 +29297,7 @@ export declare const apiContractRouter: {
28627
29297
  lastName: string;
28628
29298
  email: string;
28629
29299
  phone: string;
28630
- roles?: ("SECOND_AGENT" | "FIRST_AGENT" | "ADMIN" | "COMPANY_CHECKING")[] | undefined;
29300
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
28631
29301
  } | undefined;
28632
29302
  lead?: {
28633
29303
  name: string;
@@ -28783,7 +29453,7 @@ export declare const apiContractRouter: {
28783
29453
  lastName: string;
28784
29454
  email: string;
28785
29455
  phone: string;
28786
- roles?: ("SECOND_AGENT" | "FIRST_AGENT" | "ADMIN" | "COMPANY_CHECKING")[] | undefined;
29456
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
28787
29457
  }, {
28788
29458
  createdAt: string | Date;
28789
29459
  updatedAt: string | Date;
@@ -28792,7 +29462,7 @@ export declare const apiContractRouter: {
28792
29462
  lastName: string;
28793
29463
  email: string;
28794
29464
  phone: string;
28795
- roles?: ("SECOND_AGENT" | "FIRST_AGENT" | "ADMIN" | "COMPANY_CHECKING")[] | undefined;
29465
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
28796
29466
  }>>;
28797
29467
  assignedAt: import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>, string, string | Date>;
28798
29468
  assignedBy: import("zod").ZodNullable<import("zod").ZodString>;
@@ -28816,7 +29486,7 @@ export declare const apiContractRouter: {
28816
29486
  lastName: string;
28817
29487
  email: string;
28818
29488
  phone: string;
28819
- roles?: ("SECOND_AGENT" | "FIRST_AGENT" | "ADMIN" | "COMPANY_CHECKING")[] | undefined;
29489
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
28820
29490
  } | undefined;
28821
29491
  lead?: {
28822
29492
  name: string;
@@ -28839,7 +29509,7 @@ export declare const apiContractRouter: {
28839
29509
  lastName: string;
28840
29510
  email: string;
28841
29511
  phone: string;
28842
- roles?: ("SECOND_AGENT" | "FIRST_AGENT" | "ADMIN" | "COMPANY_CHECKING")[] | undefined;
29512
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
28843
29513
  } | undefined;
28844
29514
  lead?: {
28845
29515
  name: string;
@@ -29019,7 +29689,7 @@ export declare const apiContractRouter: {
29019
29689
  lastName: string;
29020
29690
  email: string;
29021
29691
  phone: string;
29022
- roles?: ("SECOND_AGENT" | "FIRST_AGENT" | "ADMIN" | "COMPANY_CHECKING")[] | undefined;
29692
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
29023
29693
  }, {
29024
29694
  createdAt: string | Date;
29025
29695
  updatedAt: string | Date;
@@ -29028,7 +29698,7 @@ export declare const apiContractRouter: {
29028
29698
  lastName: string;
29029
29699
  email: string;
29030
29700
  phone: string;
29031
- roles?: ("SECOND_AGENT" | "FIRST_AGENT" | "ADMIN" | "COMPANY_CHECKING")[] | undefined;
29701
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
29032
29702
  }>>;
29033
29703
  assignedAt: import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>, string, string | Date>;
29034
29704
  assignedBy: import("zod").ZodNullable<import("zod").ZodString>;
@@ -29052,7 +29722,7 @@ export declare const apiContractRouter: {
29052
29722
  lastName: string;
29053
29723
  email: string;
29054
29724
  phone: string;
29055
- roles?: ("SECOND_AGENT" | "FIRST_AGENT" | "ADMIN" | "COMPANY_CHECKING")[] | undefined;
29725
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
29056
29726
  } | undefined;
29057
29727
  lead?: {
29058
29728
  name: string;
@@ -29075,7 +29745,7 @@ export declare const apiContractRouter: {
29075
29745
  lastName: string;
29076
29746
  email: string;
29077
29747
  phone: string;
29078
- roles?: ("SECOND_AGENT" | "FIRST_AGENT" | "ADMIN" | "COMPANY_CHECKING")[] | undefined;
29748
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
29079
29749
  } | undefined;
29080
29750
  lead?: {
29081
29751
  name: string;
@@ -29494,7 +30164,7 @@ export declare const apiContractRouter: {
29494
30164
  lastName: string;
29495
30165
  email: string;
29496
30166
  phone: string;
29497
- roles?: ("SECOND_AGENT" | "FIRST_AGENT" | "ADMIN" | "COMPANY_CHECKING")[] | undefined;
30167
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
29498
30168
  }, {
29499
30169
  createdAt: string | Date;
29500
30170
  updatedAt: string | Date;
@@ -29503,7 +30173,7 @@ export declare const apiContractRouter: {
29503
30173
  lastName: string;
29504
30174
  email: string;
29505
30175
  phone: string;
29506
- roles?: ("SECOND_AGENT" | "FIRST_AGENT" | "ADMIN" | "COMPANY_CHECKING")[] | undefined;
30176
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
29507
30177
  }>;
29508
30178
  }, "strip", import("zod").ZodTypeAny, {
29509
30179
  status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
@@ -29517,7 +30187,7 @@ export declare const apiContractRouter: {
29517
30187
  lastName: string;
29518
30188
  email: string;
29519
30189
  phone: string;
29520
- roles?: ("SECOND_AGENT" | "FIRST_AGENT" | "ADMIN" | "COMPANY_CHECKING")[] | undefined;
30190
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
29521
30191
  };
29522
30192
  leadDistributionConfigId?: string | null | undefined;
29523
30193
  }, {
@@ -29532,7 +30202,7 @@ export declare const apiContractRouter: {
29532
30202
  lastName: string;
29533
30203
  email: string;
29534
30204
  phone: string;
29535
- roles?: ("SECOND_AGENT" | "FIRST_AGENT" | "ADMIN" | "COMPANY_CHECKING")[] | undefined;
30205
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
29536
30206
  };
29537
30207
  leadDistributionConfigId?: string | null | undefined;
29538
30208
  }>, "many">;
@@ -29555,7 +30225,7 @@ export declare const apiContractRouter: {
29555
30225
  lastName: string;
29556
30226
  email: string;
29557
30227
  phone: string;
29558
- roles?: ("SECOND_AGENT" | "FIRST_AGENT" | "ADMIN" | "COMPANY_CHECKING")[] | undefined;
30228
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
29559
30229
  };
29560
30230
  leadDistributionConfigId?: string | null | undefined;
29561
30231
  }[];
@@ -29577,7 +30247,7 @@ export declare const apiContractRouter: {
29577
30247
  lastName: string;
29578
30248
  email: string;
29579
30249
  phone: string;
29580
- roles?: ("SECOND_AGENT" | "FIRST_AGENT" | "ADMIN" | "COMPANY_CHECKING")[] | undefined;
30250
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
29581
30251
  };
29582
30252
  leadDistributionConfigId?: string | null | undefined;
29583
30253
  }[];
@@ -29726,7 +30396,7 @@ export declare const apiContractRouter: {
29726
30396
  lastName: string;
29727
30397
  email: string;
29728
30398
  phone: string;
29729
- roles?: ("SECOND_AGENT" | "FIRST_AGENT" | "ADMIN" | "COMPANY_CHECKING")[] | undefined;
30399
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
29730
30400
  }, {
29731
30401
  createdAt: string | Date;
29732
30402
  updatedAt: string | Date;
@@ -29735,7 +30405,7 @@ export declare const apiContractRouter: {
29735
30405
  lastName: string;
29736
30406
  email: string;
29737
30407
  phone: string;
29738
- roles?: ("SECOND_AGENT" | "FIRST_AGENT" | "ADMIN" | "COMPANY_CHECKING")[] | undefined;
30408
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
29739
30409
  }>;
29740
30410
  }, "strip", import("zod").ZodTypeAny, {
29741
30411
  status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
@@ -29749,7 +30419,7 @@ export declare const apiContractRouter: {
29749
30419
  lastName: string;
29750
30420
  email: string;
29751
30421
  phone: string;
29752
- roles?: ("SECOND_AGENT" | "FIRST_AGENT" | "ADMIN" | "COMPANY_CHECKING")[] | undefined;
30422
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
29753
30423
  };
29754
30424
  leadDistributionConfigId?: string | null | undefined;
29755
30425
  }, {
@@ -29764,7 +30434,7 @@ export declare const apiContractRouter: {
29764
30434
  lastName: string;
29765
30435
  email: string;
29766
30436
  phone: string;
29767
- roles?: ("SECOND_AGENT" | "FIRST_AGENT" | "ADMIN" | "COMPANY_CHECKING")[] | undefined;
30437
+ roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING")[] | undefined;
29768
30438
  };
29769
30439
  leadDistributionConfigId?: string | null | undefined;
29770
30440
  }>;