@dakkitor/api-contracts 1.1.11 → 1.1.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. package/dist/actives/actives.contract.d.ts +75 -76
  2. package/dist/actives/actives.contract.d.ts.map +1 -1
  3. package/dist/actives/actives.contract.js +13 -13
  4. package/dist/agent-client-links/agent-client-links.contract.d.ts +320 -316
  5. package/dist/agent-client-links/agent-client-links.contract.d.ts.map +1 -1
  6. package/dist/agent-client-links/agent-client-links.contract.js +6 -6
  7. package/dist/auth/auth.contract.d.ts +2 -2
  8. package/dist/bookings/bookings.contract.d.ts +328 -328
  9. package/dist/call-history/call-history.contract.d.ts +205 -205
  10. package/dist/client-contacts/client-contacts.contract.d.ts +334 -332
  11. package/dist/client-contacts/client-contacts.contract.d.ts.map +1 -1
  12. package/dist/client-contacts/client-contacts.contract.js +3 -3
  13. package/dist/clients/clients.contract.d.ts +196 -196
  14. package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts +404 -404
  15. package/dist/collaborations/collaborations.contract.d.ts +379 -379
  16. package/dist/common/error-schemas.d.ts +7 -7
  17. package/dist/common/error-schemas.d.ts.map +1 -1
  18. package/dist/companies/companies.contract.d.ts +214 -214
  19. package/dist/cron-executions/cron-executions.contract.d.ts +206 -206
  20. package/dist/curated-workers/curated-workers.contract.d.ts +213 -213
  21. package/dist/dashboards/agent-daily-metrics.contract.d.ts +124 -124
  22. package/dist/files/files.contract.d.ts +216 -216
  23. package/dist/health/health.contract.d.ts +22 -22
  24. package/dist/index.d.ts +971 -971
  25. package/dist/jobs/jobs.contract.d.ts +210 -210
  26. package/dist/lead-assignments/lead-assignments.contract.d.ts +248 -248
  27. package/dist/lead-distribution/agent-lead-distribution.contract.d.ts +40 -40
  28. package/dist/lead-distribution/lead-distribution-config.contract.d.ts +153 -153
  29. package/dist/leads/leads.contract.d.ts +246 -246
  30. package/dist/locations/locations.contract.d.ts +143 -143
  31. package/dist/postcodes/postcodes.contract.d.ts +56 -56
  32. package/dist/qualifications/qualifications.contract.d.ts +248 -248
  33. package/dist/trades/trades.contract.d.ts +156 -156
  34. package/dist/users/users.contract.d.ts +68 -64
  35. package/dist/users/users.contract.d.ts.map +1 -1
  36. package/dist/users/users.contract.js +8 -8
  37. package/dist/workers/workers.contract.d.ts +226 -226
  38. package/package.json +1 -1
@@ -10,12 +10,12 @@ export declare const WorkerPhoneNumberSchema: z.ZodObject<{
10
10
  }, "strip", z.ZodTypeAny, {
11
11
  phoneNumber: string;
12
12
  isPrimary: boolean;
13
- id?: string | undefined;
14
13
  description?: string | undefined;
14
+ id?: string | undefined;
15
15
  }, {
16
16
  phoneNumber: string;
17
- id?: string | undefined;
18
17
  description?: string | undefined;
18
+ id?: string | undefined;
19
19
  isPrimary?: boolean | undefined;
20
20
  }>;
21
21
  export declare const CreateWorkerPhoneNumberSchema: z.ZodObject<{
@@ -37,13 +37,13 @@ export declare const UpsertWorkerPhoneNumberSchema: z.ZodObject<{
37
37
  description: z.ZodOptional<z.ZodString>;
38
38
  isPrimary: z.ZodOptional<z.ZodBoolean>;
39
39
  }, "strip", z.ZodTypeAny, {
40
- id?: string | undefined;
41
40
  description?: string | undefined;
41
+ id?: string | undefined;
42
42
  phoneNumber?: string | undefined;
43
43
  isPrimary?: boolean | undefined;
44
44
  }, {
45
- id?: string | undefined;
46
45
  description?: string | undefined;
46
+ id?: string | undefined;
47
47
  phoneNumber?: string | undefined;
48
48
  isPrimary?: boolean | undefined;
49
49
  }>;
@@ -175,12 +175,12 @@ export declare const WorkerSchema: z.ZodObject<{
175
175
  }, "strip", z.ZodTypeAny, {
176
176
  phoneNumber: string;
177
177
  isPrimary: boolean;
178
- id?: string | undefined;
179
178
  description?: string | undefined;
179
+ id?: string | undefined;
180
180
  }, {
181
181
  phoneNumber: string;
182
- id?: string | undefined;
183
182
  description?: string | undefined;
183
+ id?: string | undefined;
184
184
  isPrimary?: boolean | undefined;
185
185
  }>, "many">;
186
186
  nino: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -288,16 +288,16 @@ export declare const WorkerSchema: z.ZodObject<{
288
288
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
289
289
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
290
290
  }, "strip", z.ZodTypeAny, {
291
- createdAt: string;
292
- updatedAt: string;
293
291
  id: string;
294
292
  firstName: string;
295
293
  lastName: string;
294
+ createdAt: string;
295
+ updatedAt: string;
296
296
  phoneNumbers: {
297
297
  phoneNumber: string;
298
298
  isPrimary: boolean;
299
- id?: string | undefined;
300
299
  description?: string | undefined;
300
+ id?: string | undefined;
301
301
  }[];
302
302
  hasTools: boolean;
303
303
  hasPpe: boolean;
@@ -345,15 +345,15 @@ export declare const WorkerSchema: z.ZodObject<{
345
345
  createdByUserId?: string | null | undefined;
346
346
  distanceKm?: number | null | undefined;
347
347
  }, {
348
- createdAt: string | Date;
349
- updatedAt: string | Date;
350
348
  id: string;
351
349
  firstName: string;
352
350
  lastName: string;
351
+ createdAt: string | Date;
352
+ updatedAt: string | Date;
353
353
  phoneNumbers: {
354
354
  phoneNumber: string;
355
- id?: string | undefined;
356
355
  description?: string | undefined;
356
+ id?: string | undefined;
357
357
  isPrimary?: boolean | undefined;
358
358
  }[];
359
359
  hasTools: boolean;
@@ -569,13 +569,13 @@ export declare const UpdateWorkerSchema: z.ZodObject<{
569
569
  description: z.ZodOptional<z.ZodString>;
570
570
  isPrimary: z.ZodOptional<z.ZodBoolean>;
571
571
  }, "strip", z.ZodTypeAny, {
572
- id?: string | undefined;
573
572
  description?: string | undefined;
573
+ id?: string | undefined;
574
574
  phoneNumber?: string | undefined;
575
575
  isPrimary?: boolean | undefined;
576
576
  }, {
577
- id?: string | undefined;
578
577
  description?: string | undefined;
578
+ id?: string | undefined;
579
579
  phoneNumber?: string | undefined;
580
580
  isPrimary?: boolean | undefined;
581
581
  }>, "many">>;
@@ -653,8 +653,8 @@ export declare const UpdateWorkerSchema: z.ZodObject<{
653
653
  lastName?: string | undefined;
654
654
  email?: string | null | undefined;
655
655
  phoneNumbers?: {
656
- id?: string | undefined;
657
656
  description?: string | undefined;
657
+ id?: string | undefined;
658
658
  phoneNumber?: string | undefined;
659
659
  isPrimary?: boolean | undefined;
660
660
  }[] | undefined;
@@ -694,8 +694,8 @@ export declare const UpdateWorkerSchema: z.ZodObject<{
694
694
  lastName?: string | undefined;
695
695
  email?: string | null | undefined;
696
696
  phoneNumbers?: {
697
- id?: string | undefined;
698
697
  description?: string | undefined;
698
+ id?: string | undefined;
699
699
  phoneNumber?: string | undefined;
700
700
  isPrimary?: boolean | undefined;
701
701
  }[] | undefined;
@@ -800,12 +800,12 @@ export declare const PaginatedWorkerResponseSchema: z.ZodObject<{
800
800
  }, "strip", z.ZodTypeAny, {
801
801
  phoneNumber: string;
802
802
  isPrimary: boolean;
803
- id?: string | undefined;
804
803
  description?: string | undefined;
804
+ id?: string | undefined;
805
805
  }, {
806
806
  phoneNumber: string;
807
- id?: string | undefined;
808
807
  description?: string | undefined;
808
+ id?: string | undefined;
809
809
  isPrimary?: boolean | undefined;
810
810
  }>, "many">;
811
811
  nino: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -913,16 +913,16 @@ export declare const PaginatedWorkerResponseSchema: z.ZodObject<{
913
913
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
914
914
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
915
915
  }, "strip", z.ZodTypeAny, {
916
- createdAt: string;
917
- updatedAt: string;
918
916
  id: string;
919
917
  firstName: string;
920
918
  lastName: string;
919
+ createdAt: string;
920
+ updatedAt: string;
921
921
  phoneNumbers: {
922
922
  phoneNumber: string;
923
923
  isPrimary: boolean;
924
- id?: string | undefined;
925
924
  description?: string | undefined;
925
+ id?: string | undefined;
926
926
  }[];
927
927
  hasTools: boolean;
928
928
  hasPpe: boolean;
@@ -970,15 +970,15 @@ export declare const PaginatedWorkerResponseSchema: z.ZodObject<{
970
970
  createdByUserId?: string | null | undefined;
971
971
  distanceKm?: number | null | undefined;
972
972
  }, {
973
- createdAt: string | Date;
974
- updatedAt: string | Date;
975
973
  id: string;
976
974
  firstName: string;
977
975
  lastName: string;
976
+ createdAt: string | Date;
977
+ updatedAt: string | Date;
978
978
  phoneNumbers: {
979
979
  phoneNumber: string;
980
- id?: string | undefined;
981
980
  description?: string | undefined;
981
+ id?: string | undefined;
982
982
  isPrimary?: boolean | undefined;
983
983
  }[];
984
984
  hasTools: boolean;
@@ -1033,18 +1033,17 @@ export declare const PaginatedWorkerResponseSchema: z.ZodObject<{
1033
1033
  currentPage: z.ZodNumber;
1034
1034
  totalPages: z.ZodNumber;
1035
1035
  }, "strip", z.ZodTypeAny, {
1036
- limit: number;
1037
1036
  items: {
1038
- createdAt: string;
1039
- updatedAt: string;
1040
1037
  id: string;
1041
1038
  firstName: string;
1042
1039
  lastName: string;
1040
+ createdAt: string;
1041
+ updatedAt: string;
1043
1042
  phoneNumbers: {
1044
1043
  phoneNumber: string;
1045
1044
  isPrimary: boolean;
1046
- id?: string | undefined;
1047
1045
  description?: string | undefined;
1046
+ id?: string | undefined;
1048
1047
  }[];
1049
1048
  hasTools: boolean;
1050
1049
  hasPpe: boolean;
@@ -1093,21 +1092,21 @@ export declare const PaginatedWorkerResponseSchema: z.ZodObject<{
1093
1092
  distanceKm?: number | null | undefined;
1094
1093
  }[];
1095
1094
  totalCount: number;
1095
+ limit: number;
1096
1096
  skip: number;
1097
1097
  currentPage: number;
1098
1098
  totalPages: number;
1099
1099
  }, {
1100
- limit: number;
1101
1100
  items: {
1102
- createdAt: string | Date;
1103
- updatedAt: string | Date;
1104
1101
  id: string;
1105
1102
  firstName: string;
1106
1103
  lastName: string;
1104
+ createdAt: string | Date;
1105
+ updatedAt: string | Date;
1107
1106
  phoneNumbers: {
1108
1107
  phoneNumber: string;
1109
- id?: string | undefined;
1110
1108
  description?: string | undefined;
1109
+ id?: string | undefined;
1111
1110
  isPrimary?: boolean | undefined;
1112
1111
  }[];
1113
1112
  hasTools: boolean;
@@ -1157,6 +1156,7 @@ export declare const PaginatedWorkerResponseSchema: z.ZodObject<{
1157
1156
  distanceKm?: number | null | undefined;
1158
1157
  }[];
1159
1158
  totalCount: number;
1159
+ limit: number;
1160
1160
  skip: number;
1161
1161
  currentPage: number;
1162
1162
  totalPages: number;
@@ -1357,19 +1357,19 @@ export declare const workersContractRouter: {
1357
1357
  path: z.ZodString;
1358
1358
  correlationId: z.ZodOptional<z.ZodString>;
1359
1359
  }, "strip", z.ZodTypeAny, {
1360
- code: string;
1361
- path: string;
1362
- message: string;
1363
1360
  statusCode: number;
1361
+ message: string;
1362
+ code: string;
1364
1363
  timestamp: string;
1364
+ path: string;
1365
1365
  details?: unknown;
1366
1366
  correlationId?: string | undefined;
1367
1367
  }, {
1368
- code: string;
1369
- path: string;
1370
- message: string;
1371
1368
  statusCode: number;
1369
+ message: string;
1370
+ code: string;
1372
1371
  timestamp: string;
1372
+ path: string;
1373
1373
  details?: unknown;
1374
1374
  correlationId?: string | undefined;
1375
1375
  }>;
@@ -1382,19 +1382,19 @@ export declare const workersContractRouter: {
1382
1382
  path: z.ZodString;
1383
1383
  correlationId: z.ZodOptional<z.ZodString>;
1384
1384
  }, "strip", z.ZodTypeAny, {
1385
- code: string;
1386
- path: string;
1387
- message: string;
1388
1385
  statusCode: number;
1386
+ message: string;
1387
+ code: string;
1389
1388
  timestamp: string;
1389
+ path: string;
1390
1390
  details?: unknown;
1391
1391
  correlationId?: string | undefined;
1392
1392
  }, {
1393
- code: string;
1394
- path: string;
1395
- message: string;
1396
1393
  statusCode: number;
1394
+ message: string;
1395
+ code: string;
1397
1396
  timestamp: string;
1397
+ path: string;
1398
1398
  details?: unknown;
1399
1399
  correlationId?: string | undefined;
1400
1400
  }>;
@@ -1407,19 +1407,19 @@ export declare const workersContractRouter: {
1407
1407
  path: z.ZodString;
1408
1408
  correlationId: z.ZodOptional<z.ZodString>;
1409
1409
  }, "strip", z.ZodTypeAny, {
1410
- code: string;
1411
- path: string;
1412
- message: string;
1413
1410
  statusCode: number;
1411
+ message: string;
1412
+ code: string;
1414
1413
  timestamp: string;
1414
+ path: string;
1415
1415
  details?: unknown;
1416
1416
  correlationId?: string | undefined;
1417
1417
  }, {
1418
- code: string;
1419
- path: string;
1420
- message: string;
1421
1418
  statusCode: number;
1419
+ message: string;
1420
+ code: string;
1422
1421
  timestamp: string;
1422
+ path: string;
1423
1423
  details?: unknown;
1424
1424
  correlationId?: string | undefined;
1425
1425
  }>;
@@ -1432,19 +1432,19 @@ export declare const workersContractRouter: {
1432
1432
  path: z.ZodString;
1433
1433
  correlationId: z.ZodOptional<z.ZodString>;
1434
1434
  }, "strip", z.ZodTypeAny, {
1435
- code: string;
1436
- path: string;
1437
- message: string;
1438
1435
  statusCode: number;
1436
+ message: string;
1437
+ code: string;
1439
1438
  timestamp: string;
1439
+ path: string;
1440
1440
  details?: unknown;
1441
1441
  correlationId?: string | undefined;
1442
1442
  }, {
1443
- code: string;
1444
- path: string;
1445
- message: string;
1446
1443
  statusCode: number;
1444
+ message: string;
1445
+ code: string;
1447
1446
  timestamp: string;
1447
+ path: string;
1448
1448
  details?: unknown;
1449
1449
  correlationId?: string | undefined;
1450
1450
  }>;
@@ -1461,12 +1461,12 @@ export declare const workersContractRouter: {
1461
1461
  }, "strip", z.ZodTypeAny, {
1462
1462
  phoneNumber: string;
1463
1463
  isPrimary: boolean;
1464
- id?: string | undefined;
1465
1464
  description?: string | undefined;
1465
+ id?: string | undefined;
1466
1466
  }, {
1467
1467
  phoneNumber: string;
1468
- id?: string | undefined;
1469
1468
  description?: string | undefined;
1469
+ id?: string | undefined;
1470
1470
  isPrimary?: boolean | undefined;
1471
1471
  }>, "many">;
1472
1472
  nino: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -1574,16 +1574,16 @@ export declare const workersContractRouter: {
1574
1574
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1575
1575
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1576
1576
  }, "strip", z.ZodTypeAny, {
1577
- createdAt: string;
1578
- updatedAt: string;
1579
1577
  id: string;
1580
1578
  firstName: string;
1581
1579
  lastName: string;
1580
+ createdAt: string;
1581
+ updatedAt: string;
1582
1582
  phoneNumbers: {
1583
1583
  phoneNumber: string;
1584
1584
  isPrimary: boolean;
1585
- id?: string | undefined;
1586
1585
  description?: string | undefined;
1586
+ id?: string | undefined;
1587
1587
  }[];
1588
1588
  hasTools: boolean;
1589
1589
  hasPpe: boolean;
@@ -1631,15 +1631,15 @@ export declare const workersContractRouter: {
1631
1631
  createdByUserId?: string | null | undefined;
1632
1632
  distanceKm?: number | null | undefined;
1633
1633
  }, {
1634
- createdAt: string | Date;
1635
- updatedAt: string | Date;
1636
1634
  id: string;
1637
1635
  firstName: string;
1638
1636
  lastName: string;
1637
+ createdAt: string | Date;
1638
+ updatedAt: string | Date;
1639
1639
  phoneNumbers: {
1640
1640
  phoneNumber: string;
1641
- id?: string | undefined;
1642
1641
  description?: string | undefined;
1642
+ id?: string | undefined;
1643
1643
  isPrimary?: boolean | undefined;
1644
1644
  }[];
1645
1645
  hasTools: boolean;
@@ -1697,19 +1697,19 @@ export declare const workersContractRouter: {
1697
1697
  path: z.ZodString;
1698
1698
  correlationId: z.ZodOptional<z.ZodString>;
1699
1699
  }, "strip", z.ZodTypeAny, {
1700
- code: string;
1701
- path: string;
1702
- message: string;
1703
1700
  statusCode: number;
1701
+ message: string;
1702
+ code: string;
1704
1703
  timestamp: string;
1704
+ path: string;
1705
1705
  details?: unknown;
1706
1706
  correlationId?: string | undefined;
1707
1707
  }, {
1708
- code: string;
1709
- path: string;
1710
- message: string;
1711
1708
  statusCode: number;
1709
+ message: string;
1710
+ code: string;
1712
1711
  timestamp: string;
1712
+ path: string;
1713
1713
  details?: unknown;
1714
1714
  correlationId?: string | undefined;
1715
1715
  }>;
@@ -1790,19 +1790,19 @@ export declare const workersContractRouter: {
1790
1790
  path: z.ZodString;
1791
1791
  correlationId: z.ZodOptional<z.ZodString>;
1792
1792
  }, "strip", z.ZodTypeAny, {
1793
- code: string;
1794
- path: string;
1795
- message: string;
1796
1793
  statusCode: number;
1794
+ message: string;
1795
+ code: string;
1797
1796
  timestamp: string;
1797
+ path: string;
1798
1798
  details?: unknown;
1799
1799
  correlationId?: string | undefined;
1800
1800
  }, {
1801
- code: string;
1802
- path: string;
1803
- message: string;
1804
1801
  statusCode: number;
1802
+ message: string;
1803
+ code: string;
1805
1804
  timestamp: string;
1805
+ path: string;
1806
1806
  details?: unknown;
1807
1807
  correlationId?: string | undefined;
1808
1808
  }>;
@@ -1815,19 +1815,19 @@ export declare const workersContractRouter: {
1815
1815
  path: z.ZodString;
1816
1816
  correlationId: z.ZodOptional<z.ZodString>;
1817
1817
  }, "strip", z.ZodTypeAny, {
1818
- code: string;
1819
- path: string;
1820
- message: string;
1821
1818
  statusCode: number;
1819
+ message: string;
1820
+ code: string;
1822
1821
  timestamp: string;
1822
+ path: string;
1823
1823
  details?: unknown;
1824
1824
  correlationId?: string | undefined;
1825
1825
  }, {
1826
- code: string;
1827
- path: string;
1828
- message: string;
1829
1826
  statusCode: number;
1827
+ message: string;
1828
+ code: string;
1830
1829
  timestamp: string;
1830
+ path: string;
1831
1831
  details?: unknown;
1832
1832
  correlationId?: string | undefined;
1833
1833
  }>;
@@ -1840,19 +1840,19 @@ export declare const workersContractRouter: {
1840
1840
  path: z.ZodString;
1841
1841
  correlationId: z.ZodOptional<z.ZodString>;
1842
1842
  }, "strip", z.ZodTypeAny, {
1843
- code: string;
1844
- path: string;
1845
- message: string;
1846
1843
  statusCode: number;
1844
+ message: string;
1845
+ code: string;
1847
1846
  timestamp: string;
1847
+ path: string;
1848
1848
  details?: unknown;
1849
1849
  correlationId?: string | undefined;
1850
1850
  }, {
1851
- code: string;
1852
- path: string;
1853
- message: string;
1854
1851
  statusCode: number;
1852
+ message: string;
1853
+ code: string;
1855
1854
  timestamp: string;
1855
+ path: string;
1856
1856
  details?: unknown;
1857
1857
  correlationId?: string | undefined;
1858
1858
  }>;
@@ -1865,19 +1865,19 @@ export declare const workersContractRouter: {
1865
1865
  path: z.ZodString;
1866
1866
  correlationId: z.ZodOptional<z.ZodString>;
1867
1867
  }, "strip", z.ZodTypeAny, {
1868
- code: string;
1869
- path: string;
1870
- message: string;
1871
1868
  statusCode: number;
1869
+ message: string;
1870
+ code: string;
1872
1871
  timestamp: string;
1872
+ path: string;
1873
1873
  details?: unknown;
1874
1874
  correlationId?: string | undefined;
1875
1875
  }, {
1876
- code: string;
1877
- path: string;
1878
- message: string;
1879
1876
  statusCode: number;
1877
+ message: string;
1878
+ code: string;
1880
1879
  timestamp: string;
1880
+ path: string;
1881
1881
  details?: unknown;
1882
1882
  correlationId?: string | undefined;
1883
1883
  }>;
@@ -1895,12 +1895,12 @@ export declare const workersContractRouter: {
1895
1895
  }, "strip", z.ZodTypeAny, {
1896
1896
  phoneNumber: string;
1897
1897
  isPrimary: boolean;
1898
- id?: string | undefined;
1899
1898
  description?: string | undefined;
1899
+ id?: string | undefined;
1900
1900
  }, {
1901
1901
  phoneNumber: string;
1902
- id?: string | undefined;
1903
1902
  description?: string | undefined;
1903
+ id?: string | undefined;
1904
1904
  isPrimary?: boolean | undefined;
1905
1905
  }>, "many">;
1906
1906
  nino: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -2008,16 +2008,16 @@ export declare const workersContractRouter: {
2008
2008
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
2009
2009
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
2010
2010
  }, "strip", z.ZodTypeAny, {
2011
- createdAt: string;
2012
- updatedAt: string;
2013
2011
  id: string;
2014
2012
  firstName: string;
2015
2013
  lastName: string;
2014
+ createdAt: string;
2015
+ updatedAt: string;
2016
2016
  phoneNumbers: {
2017
2017
  phoneNumber: string;
2018
2018
  isPrimary: boolean;
2019
- id?: string | undefined;
2020
2019
  description?: string | undefined;
2020
+ id?: string | undefined;
2021
2021
  }[];
2022
2022
  hasTools: boolean;
2023
2023
  hasPpe: boolean;
@@ -2065,15 +2065,15 @@ export declare const workersContractRouter: {
2065
2065
  createdByUserId?: string | null | undefined;
2066
2066
  distanceKm?: number | null | undefined;
2067
2067
  }, {
2068
- createdAt: string | Date;
2069
- updatedAt: string | Date;
2070
2068
  id: string;
2071
2069
  firstName: string;
2072
2070
  lastName: string;
2071
+ createdAt: string | Date;
2072
+ updatedAt: string | Date;
2073
2073
  phoneNumbers: {
2074
2074
  phoneNumber: string;
2075
- id?: string | undefined;
2076
2075
  description?: string | undefined;
2076
+ id?: string | undefined;
2077
2077
  isPrimary?: boolean | undefined;
2078
2078
  }[];
2079
2079
  hasTools: boolean;
@@ -2128,18 +2128,17 @@ export declare const workersContractRouter: {
2128
2128
  currentPage: z.ZodNumber;
2129
2129
  totalPages: z.ZodNumber;
2130
2130
  }, "strip", z.ZodTypeAny, {
2131
- limit: number;
2132
2131
  items: {
2133
- createdAt: string;
2134
- updatedAt: string;
2135
2132
  id: string;
2136
2133
  firstName: string;
2137
2134
  lastName: string;
2135
+ createdAt: string;
2136
+ updatedAt: string;
2138
2137
  phoneNumbers: {
2139
2138
  phoneNumber: string;
2140
2139
  isPrimary: boolean;
2141
- id?: string | undefined;
2142
2140
  description?: string | undefined;
2141
+ id?: string | undefined;
2143
2142
  }[];
2144
2143
  hasTools: boolean;
2145
2144
  hasPpe: boolean;
@@ -2188,21 +2187,21 @@ export declare const workersContractRouter: {
2188
2187
  distanceKm?: number | null | undefined;
2189
2188
  }[];
2190
2189
  totalCount: number;
2190
+ limit: number;
2191
2191
  skip: number;
2192
2192
  currentPage: number;
2193
2193
  totalPages: number;
2194
2194
  }, {
2195
- limit: number;
2196
2195
  items: {
2197
- createdAt: string | Date;
2198
- updatedAt: string | Date;
2199
2196
  id: string;
2200
2197
  firstName: string;
2201
2198
  lastName: string;
2199
+ createdAt: string | Date;
2200
+ updatedAt: string | Date;
2202
2201
  phoneNumbers: {
2203
2202
  phoneNumber: string;
2204
- id?: string | undefined;
2205
2203
  description?: string | undefined;
2204
+ id?: string | undefined;
2206
2205
  isPrimary?: boolean | undefined;
2207
2206
  }[];
2208
2207
  hasTools: boolean;
@@ -2252,6 +2251,7 @@ export declare const workersContractRouter: {
2252
2251
  distanceKm?: number | null | undefined;
2253
2252
  }[];
2254
2253
  totalCount: number;
2254
+ limit: number;
2255
2255
  skip: number;
2256
2256
  currentPage: number;
2257
2257
  totalPages: number;
@@ -2285,19 +2285,19 @@ export declare const workersContractRouter: {
2285
2285
  path: z.ZodString;
2286
2286
  correlationId: z.ZodOptional<z.ZodString>;
2287
2287
  }, "strip", z.ZodTypeAny, {
2288
- code: string;
2289
- path: string;
2290
- message: string;
2291
2288
  statusCode: number;
2289
+ message: string;
2290
+ code: string;
2292
2291
  timestamp: string;
2292
+ path: string;
2293
2293
  details?: unknown;
2294
2294
  correlationId?: string | undefined;
2295
2295
  }, {
2296
- code: string;
2297
- path: string;
2298
- message: string;
2299
2296
  statusCode: number;
2297
+ message: string;
2298
+ code: string;
2300
2299
  timestamp: string;
2300
+ path: string;
2301
2301
  details?: unknown;
2302
2302
  correlationId?: string | undefined;
2303
2303
  }>;
@@ -2310,19 +2310,19 @@ export declare const workersContractRouter: {
2310
2310
  path: z.ZodString;
2311
2311
  correlationId: z.ZodOptional<z.ZodString>;
2312
2312
  }, "strip", z.ZodTypeAny, {
2313
- code: string;
2314
- path: string;
2315
- message: string;
2316
2313
  statusCode: number;
2314
+ message: string;
2315
+ code: string;
2317
2316
  timestamp: string;
2317
+ path: string;
2318
2318
  details?: unknown;
2319
2319
  correlationId?: string | undefined;
2320
2320
  }, {
2321
- code: string;
2322
- path: string;
2323
- message: string;
2324
2321
  statusCode: number;
2322
+ message: string;
2323
+ code: string;
2325
2324
  timestamp: string;
2325
+ path: string;
2326
2326
  details?: unknown;
2327
2327
  correlationId?: string | undefined;
2328
2328
  }>;
@@ -2335,19 +2335,19 @@ export declare const workersContractRouter: {
2335
2335
  path: z.ZodString;
2336
2336
  correlationId: z.ZodOptional<z.ZodString>;
2337
2337
  }, "strip", z.ZodTypeAny, {
2338
- code: string;
2339
- path: string;
2340
- message: string;
2341
2338
  statusCode: number;
2339
+ message: string;
2340
+ code: string;
2342
2341
  timestamp: string;
2342
+ path: string;
2343
2343
  details?: unknown;
2344
2344
  correlationId?: string | undefined;
2345
2345
  }, {
2346
- code: string;
2347
- path: string;
2348
- message: string;
2349
2346
  statusCode: number;
2347
+ message: string;
2348
+ code: string;
2350
2349
  timestamp: string;
2350
+ path: string;
2351
2351
  details?: unknown;
2352
2352
  correlationId?: string | undefined;
2353
2353
  }>;
@@ -2360,19 +2360,19 @@ export declare const workersContractRouter: {
2360
2360
  path: z.ZodString;
2361
2361
  correlationId: z.ZodOptional<z.ZodString>;
2362
2362
  }, "strip", z.ZodTypeAny, {
2363
- code: string;
2364
- path: string;
2365
- message: string;
2366
2363
  statusCode: number;
2364
+ message: string;
2365
+ code: string;
2367
2366
  timestamp: string;
2367
+ path: string;
2368
2368
  details?: unknown;
2369
2369
  correlationId?: string | undefined;
2370
2370
  }, {
2371
- code: string;
2372
- path: string;
2373
- message: string;
2374
2371
  statusCode: number;
2372
+ message: string;
2373
+ code: string;
2375
2374
  timestamp: string;
2375
+ path: string;
2376
2376
  details?: unknown;
2377
2377
  correlationId?: string | undefined;
2378
2378
  }>;
@@ -2389,12 +2389,12 @@ export declare const workersContractRouter: {
2389
2389
  }, "strip", z.ZodTypeAny, {
2390
2390
  phoneNumber: string;
2391
2391
  isPrimary: boolean;
2392
- id?: string | undefined;
2393
2392
  description?: string | undefined;
2393
+ id?: string | undefined;
2394
2394
  }, {
2395
2395
  phoneNumber: string;
2396
- id?: string | undefined;
2397
2396
  description?: string | undefined;
2397
+ id?: string | undefined;
2398
2398
  isPrimary?: boolean | undefined;
2399
2399
  }>, "many">;
2400
2400
  nino: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -2502,16 +2502,16 @@ export declare const workersContractRouter: {
2502
2502
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
2503
2503
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
2504
2504
  }, "strip", z.ZodTypeAny, {
2505
- createdAt: string;
2506
- updatedAt: string;
2507
2505
  id: string;
2508
2506
  firstName: string;
2509
2507
  lastName: string;
2508
+ createdAt: string;
2509
+ updatedAt: string;
2510
2510
  phoneNumbers: {
2511
2511
  phoneNumber: string;
2512
2512
  isPrimary: boolean;
2513
- id?: string | undefined;
2514
2513
  description?: string | undefined;
2514
+ id?: string | undefined;
2515
2515
  }[];
2516
2516
  hasTools: boolean;
2517
2517
  hasPpe: boolean;
@@ -2559,15 +2559,15 @@ export declare const workersContractRouter: {
2559
2559
  createdByUserId?: string | null | undefined;
2560
2560
  distanceKm?: number | null | undefined;
2561
2561
  }, {
2562
- createdAt: string | Date;
2563
- updatedAt: string | Date;
2564
2562
  id: string;
2565
2563
  firstName: string;
2566
2564
  lastName: string;
2565
+ createdAt: string | Date;
2566
+ updatedAt: string | Date;
2567
2567
  phoneNumbers: {
2568
2568
  phoneNumber: string;
2569
- id?: string | undefined;
2570
2569
  description?: string | undefined;
2570
+ id?: string | undefined;
2571
2571
  isPrimary?: boolean | undefined;
2572
2572
  }[];
2573
2573
  hasTools: boolean;
@@ -2625,19 +2625,19 @@ export declare const workersContractRouter: {
2625
2625
  path: z.ZodString;
2626
2626
  correlationId: z.ZodOptional<z.ZodString>;
2627
2627
  }, "strip", z.ZodTypeAny, {
2628
- code: string;
2629
- path: string;
2630
- message: string;
2631
2628
  statusCode: number;
2629
+ message: string;
2630
+ code: string;
2632
2631
  timestamp: string;
2632
+ path: string;
2633
2633
  details?: unknown;
2634
2634
  correlationId?: string | undefined;
2635
2635
  }, {
2636
- code: string;
2637
- path: string;
2638
- message: string;
2639
2636
  statusCode: number;
2637
+ message: string;
2638
+ code: string;
2640
2639
  timestamp: string;
2640
+ path: string;
2641
2641
  details?: unknown;
2642
2642
  correlationId?: string | undefined;
2643
2643
  }>;
@@ -2669,13 +2669,13 @@ export declare const workersContractRouter: {
2669
2669
  description: z.ZodOptional<z.ZodString>;
2670
2670
  isPrimary: z.ZodOptional<z.ZodBoolean>;
2671
2671
  }, "strip", z.ZodTypeAny, {
2672
- id?: string | undefined;
2673
2672
  description?: string | undefined;
2673
+ id?: string | undefined;
2674
2674
  phoneNumber?: string | undefined;
2675
2675
  isPrimary?: boolean | undefined;
2676
2676
  }, {
2677
- id?: string | undefined;
2678
2677
  description?: string | undefined;
2678
+ id?: string | undefined;
2679
2679
  phoneNumber?: string | undefined;
2680
2680
  isPrimary?: boolean | undefined;
2681
2681
  }>, "many">>;
@@ -2753,8 +2753,8 @@ export declare const workersContractRouter: {
2753
2753
  lastName?: string | undefined;
2754
2754
  email?: string | null | undefined;
2755
2755
  phoneNumbers?: {
2756
- id?: string | undefined;
2757
2756
  description?: string | undefined;
2757
+ id?: string | undefined;
2758
2758
  phoneNumber?: string | undefined;
2759
2759
  isPrimary?: boolean | undefined;
2760
2760
  }[] | undefined;
@@ -2794,8 +2794,8 @@ export declare const workersContractRouter: {
2794
2794
  lastName?: string | undefined;
2795
2795
  email?: string | null | undefined;
2796
2796
  phoneNumbers?: {
2797
- id?: string | undefined;
2798
2797
  description?: string | undefined;
2798
+ id?: string | undefined;
2799
2799
  phoneNumber?: string | undefined;
2800
2800
  isPrimary?: boolean | undefined;
2801
2801
  }[] | undefined;
@@ -2842,19 +2842,19 @@ export declare const workersContractRouter: {
2842
2842
  path: z.ZodString;
2843
2843
  correlationId: z.ZodOptional<z.ZodString>;
2844
2844
  }, "strip", z.ZodTypeAny, {
2845
- code: string;
2846
- path: string;
2847
- message: string;
2848
2845
  statusCode: number;
2846
+ message: string;
2847
+ code: string;
2849
2848
  timestamp: string;
2849
+ path: string;
2850
2850
  details?: unknown;
2851
2851
  correlationId?: string | undefined;
2852
2852
  }, {
2853
- code: string;
2854
- path: string;
2855
- message: string;
2856
2853
  statusCode: number;
2854
+ message: string;
2855
+ code: string;
2857
2856
  timestamp: string;
2857
+ path: string;
2858
2858
  details?: unknown;
2859
2859
  correlationId?: string | undefined;
2860
2860
  }>;
@@ -2867,19 +2867,19 @@ export declare const workersContractRouter: {
2867
2867
  path: z.ZodString;
2868
2868
  correlationId: z.ZodOptional<z.ZodString>;
2869
2869
  }, "strip", z.ZodTypeAny, {
2870
- code: string;
2871
- path: string;
2872
- message: string;
2873
2870
  statusCode: number;
2871
+ message: string;
2872
+ code: string;
2874
2873
  timestamp: string;
2874
+ path: string;
2875
2875
  details?: unknown;
2876
2876
  correlationId?: string | undefined;
2877
2877
  }, {
2878
- code: string;
2879
- path: string;
2880
- message: string;
2881
2878
  statusCode: number;
2879
+ message: string;
2880
+ code: string;
2882
2881
  timestamp: string;
2882
+ path: string;
2883
2883
  details?: unknown;
2884
2884
  correlationId?: string | undefined;
2885
2885
  }>;
@@ -2892,19 +2892,19 @@ export declare const workersContractRouter: {
2892
2892
  path: z.ZodString;
2893
2893
  correlationId: z.ZodOptional<z.ZodString>;
2894
2894
  }, "strip", z.ZodTypeAny, {
2895
- code: string;
2896
- path: string;
2897
- message: string;
2898
2895
  statusCode: number;
2896
+ message: string;
2897
+ code: string;
2899
2898
  timestamp: string;
2899
+ path: string;
2900
2900
  details?: unknown;
2901
2901
  correlationId?: string | undefined;
2902
2902
  }, {
2903
- code: string;
2904
- path: string;
2905
- message: string;
2906
2903
  statusCode: number;
2904
+ message: string;
2905
+ code: string;
2907
2906
  timestamp: string;
2907
+ path: string;
2908
2908
  details?: unknown;
2909
2909
  correlationId?: string | undefined;
2910
2910
  }>;
@@ -2917,19 +2917,19 @@ export declare const workersContractRouter: {
2917
2917
  path: z.ZodString;
2918
2918
  correlationId: z.ZodOptional<z.ZodString>;
2919
2919
  }, "strip", z.ZodTypeAny, {
2920
- code: string;
2921
- path: string;
2922
- message: string;
2923
2920
  statusCode: number;
2921
+ message: string;
2922
+ code: string;
2924
2923
  timestamp: string;
2924
+ path: string;
2925
2925
  details?: unknown;
2926
2926
  correlationId?: string | undefined;
2927
2927
  }, {
2928
- code: string;
2929
- path: string;
2930
- message: string;
2931
2928
  statusCode: number;
2929
+ message: string;
2930
+ code: string;
2932
2931
  timestamp: string;
2932
+ path: string;
2933
2933
  details?: unknown;
2934
2934
  correlationId?: string | undefined;
2935
2935
  }>;
@@ -2946,12 +2946,12 @@ export declare const workersContractRouter: {
2946
2946
  }, "strip", z.ZodTypeAny, {
2947
2947
  phoneNumber: string;
2948
2948
  isPrimary: boolean;
2949
- id?: string | undefined;
2950
2949
  description?: string | undefined;
2950
+ id?: string | undefined;
2951
2951
  }, {
2952
2952
  phoneNumber: string;
2953
- id?: string | undefined;
2954
2953
  description?: string | undefined;
2954
+ id?: string | undefined;
2955
2955
  isPrimary?: boolean | undefined;
2956
2956
  }>, "many">;
2957
2957
  nino: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -3059,16 +3059,16 @@ export declare const workersContractRouter: {
3059
3059
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
3060
3060
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
3061
3061
  }, "strip", z.ZodTypeAny, {
3062
- createdAt: string;
3063
- updatedAt: string;
3064
3062
  id: string;
3065
3063
  firstName: string;
3066
3064
  lastName: string;
3065
+ createdAt: string;
3066
+ updatedAt: string;
3067
3067
  phoneNumbers: {
3068
3068
  phoneNumber: string;
3069
3069
  isPrimary: boolean;
3070
- id?: string | undefined;
3071
3070
  description?: string | undefined;
3071
+ id?: string | undefined;
3072
3072
  }[];
3073
3073
  hasTools: boolean;
3074
3074
  hasPpe: boolean;
@@ -3116,15 +3116,15 @@ export declare const workersContractRouter: {
3116
3116
  createdByUserId?: string | null | undefined;
3117
3117
  distanceKm?: number | null | undefined;
3118
3118
  }, {
3119
- createdAt: string | Date;
3120
- updatedAt: string | Date;
3121
3119
  id: string;
3122
3120
  firstName: string;
3123
3121
  lastName: string;
3122
+ createdAt: string | Date;
3123
+ updatedAt: string | Date;
3124
3124
  phoneNumbers: {
3125
3125
  phoneNumber: string;
3126
- id?: string | undefined;
3127
3126
  description?: string | undefined;
3127
+ id?: string | undefined;
3128
3128
  isPrimary?: boolean | undefined;
3129
3129
  }[];
3130
3130
  hasTools: boolean;
@@ -3182,19 +3182,19 @@ export declare const workersContractRouter: {
3182
3182
  path: z.ZodString;
3183
3183
  correlationId: z.ZodOptional<z.ZodString>;
3184
3184
  }, "strip", z.ZodTypeAny, {
3185
- code: string;
3186
- path: string;
3187
- message: string;
3188
3185
  statusCode: number;
3186
+ message: string;
3187
+ code: string;
3189
3188
  timestamp: string;
3189
+ path: string;
3190
3190
  details?: unknown;
3191
3191
  correlationId?: string | undefined;
3192
3192
  }, {
3193
- code: string;
3194
- path: string;
3195
- message: string;
3196
3193
  statusCode: number;
3194
+ message: string;
3195
+ code: string;
3197
3196
  timestamp: string;
3197
+ path: string;
3198
3198
  details?: unknown;
3199
3199
  correlationId?: string | undefined;
3200
3200
  }>;
@@ -3207,19 +3207,19 @@ export declare const workersContractRouter: {
3207
3207
  path: z.ZodString;
3208
3208
  correlationId: z.ZodOptional<z.ZodString>;
3209
3209
  }, "strip", z.ZodTypeAny, {
3210
- code: string;
3211
- path: string;
3212
- message: string;
3213
3210
  statusCode: number;
3211
+ message: string;
3212
+ code: string;
3214
3213
  timestamp: string;
3214
+ path: string;
3215
3215
  details?: unknown;
3216
3216
  correlationId?: string | undefined;
3217
3217
  }, {
3218
- code: string;
3219
- path: string;
3220
- message: string;
3221
3218
  statusCode: number;
3219
+ message: string;
3220
+ code: string;
3222
3221
  timestamp: string;
3222
+ path: string;
3223
3223
  details?: unknown;
3224
3224
  correlationId?: string | undefined;
3225
3225
  }>;
@@ -3253,19 +3253,19 @@ export declare const workersContractRouter: {
3253
3253
  path: z.ZodString;
3254
3254
  correlationId: z.ZodOptional<z.ZodString>;
3255
3255
  }, "strip", z.ZodTypeAny, {
3256
- code: string;
3257
- path: string;
3258
- message: string;
3259
3256
  statusCode: number;
3257
+ message: string;
3258
+ code: string;
3260
3259
  timestamp: string;
3260
+ path: string;
3261
3261
  details?: unknown;
3262
3262
  correlationId?: string | undefined;
3263
3263
  }, {
3264
- code: string;
3265
- path: string;
3266
- message: string;
3267
3264
  statusCode: number;
3265
+ message: string;
3266
+ code: string;
3268
3267
  timestamp: string;
3268
+ path: string;
3269
3269
  details?: unknown;
3270
3270
  correlationId?: string | undefined;
3271
3271
  }>;
@@ -3278,19 +3278,19 @@ export declare const workersContractRouter: {
3278
3278
  path: z.ZodString;
3279
3279
  correlationId: z.ZodOptional<z.ZodString>;
3280
3280
  }, "strip", z.ZodTypeAny, {
3281
- code: string;
3282
- path: string;
3283
- message: string;
3284
3281
  statusCode: number;
3282
+ message: string;
3283
+ code: string;
3285
3284
  timestamp: string;
3285
+ path: string;
3286
3286
  details?: unknown;
3287
3287
  correlationId?: string | undefined;
3288
3288
  }, {
3289
- code: string;
3290
- path: string;
3291
- message: string;
3292
3289
  statusCode: number;
3290
+ message: string;
3291
+ code: string;
3293
3292
  timestamp: string;
3293
+ path: string;
3294
3294
  details?: unknown;
3295
3295
  correlationId?: string | undefined;
3296
3296
  }>;
@@ -3303,19 +3303,19 @@ export declare const workersContractRouter: {
3303
3303
  path: z.ZodString;
3304
3304
  correlationId: z.ZodOptional<z.ZodString>;
3305
3305
  }, "strip", z.ZodTypeAny, {
3306
- code: string;
3307
- path: string;
3308
- message: string;
3309
3306
  statusCode: number;
3307
+ message: string;
3308
+ code: string;
3310
3309
  timestamp: string;
3310
+ path: string;
3311
3311
  details?: unknown;
3312
3312
  correlationId?: string | undefined;
3313
3313
  }, {
3314
- code: string;
3315
- path: string;
3316
- message: string;
3317
3314
  statusCode: number;
3315
+ message: string;
3316
+ code: string;
3318
3317
  timestamp: string;
3318
+ path: string;
3319
3319
  details?: unknown;
3320
3320
  correlationId?: string | undefined;
3321
3321
  }>;
@@ -3328,19 +3328,19 @@ export declare const workersContractRouter: {
3328
3328
  path: z.ZodString;
3329
3329
  correlationId: z.ZodOptional<z.ZodString>;
3330
3330
  }, "strip", z.ZodTypeAny, {
3331
- code: string;
3332
- path: string;
3333
- message: string;
3334
3331
  statusCode: number;
3332
+ message: string;
3333
+ code: string;
3335
3334
  timestamp: string;
3335
+ path: string;
3336
3336
  details?: unknown;
3337
3337
  correlationId?: string | undefined;
3338
3338
  }, {
3339
- code: string;
3340
- path: string;
3341
- message: string;
3342
3339
  statusCode: number;
3340
+ message: string;
3341
+ code: string;
3343
3342
  timestamp: string;
3343
+ path: string;
3344
3344
  details?: unknown;
3345
3345
  correlationId?: string | undefined;
3346
3346
  }>;
@@ -3354,19 +3354,19 @@ export declare const workersContractRouter: {
3354
3354
  path: z.ZodString;
3355
3355
  correlationId: z.ZodOptional<z.ZodString>;
3356
3356
  }, "strip", z.ZodTypeAny, {
3357
- code: string;
3358
- path: string;
3359
- message: string;
3360
3357
  statusCode: number;
3358
+ message: string;
3359
+ code: string;
3361
3360
  timestamp: string;
3361
+ path: string;
3362
3362
  details?: unknown;
3363
3363
  correlationId?: string | undefined;
3364
3364
  }, {
3365
- code: string;
3366
- path: string;
3367
- message: string;
3368
3365
  statusCode: number;
3366
+ message: string;
3367
+ code: string;
3369
3368
  timestamp: string;
3369
+ path: string;
3370
3370
  details?: unknown;
3371
3371
  correlationId?: string | undefined;
3372
3372
  }>;