@dakkitor/api-contracts 1.5.0 → 1.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (144) hide show
  1. package/dist/abilities/abilities.contract.d.ts +6 -2
  2. package/dist/abilities/abilities.contract.d.ts.map +1 -1
  3. package/dist/abilities/abilities.contract.js +45 -1
  4. package/dist/abilities/abilities.contract.spec.js +98 -0
  5. package/dist/abilities/first-agent.abilities.json +8 -14
  6. package/dist/abilities/outreach.abilities.json +25 -0
  7. package/dist/abilities/second-agent.abilities.json +4 -13
  8. package/dist/actives/actives.contract.d.ts +3618 -3479
  9. package/dist/actives/actives.contract.d.ts.map +1 -1
  10. package/dist/actives/actives.contract.js +2 -0
  11. package/dist/actives/actives.contract.spec.d.ts +2 -0
  12. package/dist/actives/actives.contract.spec.d.ts.map +1 -0
  13. package/dist/actives/actives.contract.spec.js +35 -0
  14. package/dist/agent-client-links/agent-client-links.contract.d.ts +1087 -1087
  15. package/dist/auth/auth.contract.d.ts +108 -108
  16. package/dist/bookings/bookings.contract.d.ts +6644 -6452
  17. package/dist/bookings/bookings.contract.d.ts.map +1 -1
  18. package/dist/call-history/call-history.contract.d.ts +718 -718
  19. package/dist/calls-feed/calls-feed.contract.d.ts +86 -86
  20. package/dist/client-contacts/client-contacts.contract.d.ts +469 -469
  21. package/dist/clients/clients.contract.d.ts +203 -203
  22. package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts +2713 -2713
  23. package/dist/collaborations/collaborations.contract.d.ts +2270 -2270
  24. package/dist/common/common-schemas.d.ts +12 -12
  25. package/dist/companies/companies.contract.d.ts +74 -74
  26. package/dist/crews/crews.contract.d.ts +253 -253
  27. package/dist/cron-executions/cron-executions.contract.d.ts +182 -182
  28. package/dist/curated-worker-leads/candidate-coordination.contract.d.ts +2723 -2723
  29. package/dist/curated-worker-leads/candidate-edit-session.contract.d.ts +378 -378
  30. package/dist/curated-worker-leads/consent-queue.contract.d.ts +1117 -1087
  31. package/dist/curated-worker-leads/consent-queue.contract.d.ts.map +1 -1
  32. package/dist/curated-worker-leads/curated-worker-lead-config.contract.d.ts +16 -16
  33. package/dist/curated-worker-leads/curated-worker-leads.contract.d.ts +2 -2
  34. package/dist/curated-worker-leads/jobs-tab.contract.d.ts +5818 -5372
  35. package/dist/curated-worker-leads/jobs-tab.contract.d.ts.map +1 -1
  36. package/dist/curated-worker-leads/jobs-tab.contract.js +34 -1
  37. package/dist/curated-worker-leads/lead-agent-area.contract.d.ts +4 -4
  38. package/dist/curated-worker-leads/outreach-pool-summary.contract.spec.d.ts +2 -0
  39. package/dist/curated-worker-leads/outreach-pool-summary.contract.spec.d.ts.map +1 -0
  40. package/dist/curated-worker-leads/outreach-pool-summary.contract.spec.js +39 -0
  41. package/dist/curated-worker-leads/owned-jobs-tab.contract.d.ts +148 -148
  42. package/dist/curated-workers/curated-workers.contract.d.ts +789 -789
  43. package/dist/dashboards/agent-daily-metrics.contract.d.ts +2 -2
  44. package/dist/dashboards/dashboard-widgets.contract.d.ts +180 -180
  45. package/dist/dashboards/dashboard.contract.d.ts +12 -12
  46. package/dist/document-intake/document-intake.contract.d.ts +601 -601
  47. package/dist/export-jobs/export-jobs.contract.d.ts +694 -694
  48. package/dist/exports-events/exports-events.schemas.d.ts +4 -4
  49. package/dist/files/files.contract.d.ts +74 -74
  50. package/dist/index.d.ts +12 -0
  51. package/dist/index.d.ts.map +1 -1
  52. package/dist/index.js +12 -0
  53. package/dist/interactions/interactions.contract.d.ts +6 -6
  54. package/dist/job-clusters/job-clusters.contract.d.ts +112 -112
  55. package/dist/jobs/job-moderation-fields.spec.d.ts +2 -0
  56. package/dist/jobs/job-moderation-fields.spec.d.ts.map +1 -0
  57. package/dist/jobs/job-moderation-fields.spec.js +72 -0
  58. package/dist/jobs/jobs.contract.d.ts +4773 -4525
  59. package/dist/jobs/jobs.contract.d.ts.map +1 -1
  60. package/dist/jobs/jobs.contract.js +48 -0
  61. package/dist/kpi-impersonation/kpi-impersonation.contract.d.ts +141 -141
  62. package/dist/lead-assignments/lead-assignments.contract.d.ts +911 -911
  63. package/dist/lead-distribution/agent-lead-distribution.contract.d.ts +209 -209
  64. package/dist/lead-distribution/lead-distribution-config.contract.d.ts +77 -77
  65. package/dist/leads/leads.contract.d.ts +283 -283
  66. package/dist/locations/locations.contract.d.ts +49 -49
  67. package/dist/notifications/notifications.contract.d.ts +67 -67
  68. package/dist/offices/offices.contract.d.ts +34 -34
  69. package/dist/outreach/__tests__/outreach-contract-additions.spec.js +11 -0
  70. package/dist/outreach/__tests__/outreach-requests.contract.spec.js +50 -0
  71. package/dist/outreach/__tests__/outreach-routes.test.js +14 -3
  72. package/dist/outreach/lab-outreach.contract.d.ts +1110 -0
  73. package/dist/outreach/lab-outreach.contract.d.ts.map +1 -0
  74. package/dist/outreach/lab-outreach.contract.js +174 -0
  75. package/dist/outreach/lab-outreach.contract.spec.d.ts +2 -0
  76. package/dist/outreach/lab-outreach.contract.spec.d.ts.map +1 -0
  77. package/dist/outreach/lab-outreach.contract.spec.js +90 -0
  78. package/dist/outreach/outreach-requests.contract.d.ts +946 -217
  79. package/dist/outreach/outreach-requests.contract.d.ts.map +1 -1
  80. package/dist/outreach/outreach-requests.contract.js +23 -3
  81. package/dist/outreach/outreach-requests.schemas.d.ts +65 -10
  82. package/dist/outreach/outreach-requests.schemas.d.ts.map +1 -1
  83. package/dist/outreach/outreach-requests.schemas.js +6 -0
  84. package/dist/outreach/outreach.contract.d.ts +300 -38
  85. package/dist/outreach/outreach.contract.d.ts.map +1 -1
  86. package/dist/outreach/outreach.contract.js +18 -0
  87. package/dist/outreach/outreach.contract.spec.d.ts +2 -0
  88. package/dist/outreach/outreach.contract.spec.d.ts.map +1 -0
  89. package/dist/outreach/outreach.contract.spec.js +57 -0
  90. package/dist/outreach/outreach.schemas.d.ts +2 -2
  91. package/dist/own-research/own-research.contract.d.ts +775 -775
  92. package/dist/postcodes/postcodes.contract.d.ts +24 -24
  93. package/dist/proofs/proof-type.enum.d.ts +4 -4
  94. package/dist/proofs/proofs.contract.d.ts +363 -363
  95. package/dist/proofs/proofs.dtos.d.ts +124 -124
  96. package/dist/qualifications/qualifications.contract.d.ts +38 -38
  97. package/dist/relay-pods/relay-lab-fleet.contract.d.ts +829 -0
  98. package/dist/relay-pods/relay-lab-fleet.contract.d.ts.map +1 -0
  99. package/dist/relay-pods/relay-lab-fleet.contract.js +79 -0
  100. package/dist/relay-pods/relay-lab-fleet.contract.spec.d.ts +2 -0
  101. package/dist/relay-pods/relay-lab-fleet.contract.spec.d.ts.map +1 -0
  102. package/dist/relay-pods/relay-lab-fleet.contract.spec.js +146 -0
  103. package/dist/relay-pods/relay-lab-fleet.schemas.d.ts +443 -0
  104. package/dist/relay-pods/relay-lab-fleet.schemas.d.ts.map +1 -0
  105. package/dist/relay-pods/relay-lab-fleet.schemas.js +138 -0
  106. package/dist/relay-pods/relay-pod-sessions.contract.d.ts +680 -0
  107. package/dist/relay-pods/relay-pod-sessions.contract.d.ts.map +1 -0
  108. package/dist/relay-pods/relay-pod-sessions.contract.js +67 -0
  109. package/dist/relay-pods/relay-pod-sessions.contract.spec.d.ts +2 -0
  110. package/dist/relay-pods/relay-pod-sessions.contract.spec.d.ts.map +1 -0
  111. package/dist/relay-pods/relay-pod-sessions.contract.spec.js +129 -0
  112. package/dist/relay-pods/relay-pods.contract.d.ts +1569 -0
  113. package/dist/relay-pods/relay-pods.contract.d.ts.map +1 -0
  114. package/dist/relay-pods/relay-pods.contract.js +188 -0
  115. package/dist/relay-pods/relay-pods.contract.spec.d.ts +2 -0
  116. package/dist/relay-pods/relay-pods.contract.spec.d.ts.map +1 -0
  117. package/dist/relay-pods/relay-pods.contract.spec.js +141 -0
  118. package/dist/relay-pods/relay-pods.schemas.d.ts +415 -0
  119. package/dist/relay-pods/relay-pods.schemas.d.ts.map +1 -0
  120. package/dist/relay-pods/relay-pods.schemas.js +112 -0
  121. package/dist/shared/live-booking.schema.d.ts +4 -4
  122. package/dist/shared/summary-schemas.d.ts +6 -6
  123. package/dist/sheets-sync/sheets-sync.contract.d.ts +939 -939
  124. package/dist/telegram/telegram.contract.d.ts +22 -22
  125. package/dist/trades/trades.contract.d.ts +90 -90
  126. package/dist/user-access-grants/user-access-grants.contract.d.ts +165 -165
  127. package/dist/users/__tests__/assignable-roles.spec.d.ts +2 -0
  128. package/dist/users/__tests__/assignable-roles.spec.d.ts.map +1 -0
  129. package/dist/users/__tests__/assignable-roles.spec.js +41 -0
  130. package/dist/users/users.contract.d.ts +399 -393
  131. package/dist/users/users.contract.d.ts.map +1 -1
  132. package/dist/users/users.contract.js +11 -0
  133. package/dist/worker-identity-cases/worker-identity-cases.contract.d.ts +585 -527
  134. package/dist/worker-identity-cases/worker-identity-cases.contract.d.ts.map +1 -1
  135. package/dist/worker-merge-proposals/worker-merge-proposals.contract.d.ts +278 -236
  136. package/dist/worker-merge-proposals/worker-merge-proposals.contract.d.ts.map +1 -1
  137. package/dist/worker-merge-proposals/worker-merge-proposals.contract.js +1 -0
  138. package/dist/worker-source-identity-conflicts/worker-source-identity-conflicts.contract.d.ts +153 -153
  139. package/dist/worker-source-identity-conflicts/worker-source-identity-conflicts.schemas.d.ts +59 -59
  140. package/dist/workers/workers.contract.d.ts +2919 -2919
  141. package/package.json +1 -1
  142. package/dist/bookings/bookings.contract.spec.d.ts +0 -2
  143. package/dist/bookings/bookings.contract.spec.d.ts.map +0 -1
  144. package/dist/bookings/bookings.contract.spec.js +0 -11
@@ -22,20 +22,20 @@ export declare const SupplierSchema: z.ZodObject<{
22
22
  updatedAt: z.ZodOptional<z.ZodString>;
23
23
  }, "strip", z.ZodTypeAny, {
24
24
  id: string;
25
- email: string | null;
26
- name: string;
27
25
  phoneNumber: string;
28
- notes: string | null;
26
+ name: string;
27
+ email: string | null;
29
28
  company: string | null;
29
+ notes: string | null;
30
30
  createdAt?: string | undefined;
31
31
  updatedAt?: string | undefined;
32
32
  }, {
33
33
  id: string;
34
- email: string | null;
35
- name: string;
36
34
  phoneNumber: string;
37
- notes: string | null;
35
+ name: string;
36
+ email: string | null;
38
37
  company: string | null;
38
+ notes: string | null;
39
39
  createdAt?: string | undefined;
40
40
  updatedAt?: string | undefined;
41
41
  }>;
@@ -46,17 +46,17 @@ export declare const CreateSupplierSchema: z.ZodObject<{
46
46
  company: z.ZodOptional<z.ZodNullable<z.ZodString>>;
47
47
  notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
48
48
  }, "strip", z.ZodTypeAny, {
49
- name: string;
50
49
  phoneNumber: string;
50
+ name: string;
51
51
  email?: string | null | undefined;
52
- notes?: string | null | undefined;
53
52
  company?: string | null | undefined;
53
+ notes?: string | null | undefined;
54
54
  }, {
55
- name: string;
56
55
  phoneNumber: string;
56
+ name: string;
57
57
  email?: string | null | undefined;
58
- notes?: string | null | undefined;
59
58
  company?: string | null | undefined;
59
+ notes?: string | null | undefined;
60
60
  }>;
61
61
  export type Supplier = z.infer<typeof SupplierSchema>;
62
62
  export type CreateSupplier = z.infer<typeof CreateSupplierSchema>;
@@ -111,20 +111,20 @@ export declare const CrewSchema: z.ZodObject<{
111
111
  updatedAt: z.ZodOptional<z.ZodString>;
112
112
  }, "strip", z.ZodTypeAny, {
113
113
  id: string;
114
- email: string | null;
115
- name: string;
116
114
  phoneNumber: string;
117
- notes: string | null;
115
+ name: string;
116
+ email: string | null;
118
117
  company: string | null;
118
+ notes: string | null;
119
119
  createdAt?: string | undefined;
120
120
  updatedAt?: string | undefined;
121
121
  }, {
122
122
  id: string;
123
- email: string | null;
124
- name: string;
125
123
  phoneNumber: string;
126
- notes: string | null;
124
+ name: string;
125
+ email: string | null;
127
126
  company: string | null;
127
+ notes: string | null;
128
128
  createdAt?: string | undefined;
129
129
  updatedAt?: string | undefined;
130
130
  }>>;
@@ -208,11 +208,11 @@ export declare const CrewSchema: z.ZodObject<{
208
208
  } | null;
209
209
  leadSupplier: {
210
210
  id: string;
211
- email: string | null;
212
- name: string;
213
211
  phoneNumber: string;
214
- notes: string | null;
212
+ name: string;
213
+ email: string | null;
215
214
  company: string | null;
215
+ notes: string | null;
216
216
  createdAt?: string | undefined;
217
217
  updatedAt?: string | undefined;
218
218
  } | null;
@@ -252,11 +252,11 @@ export declare const CrewSchema: z.ZodObject<{
252
252
  } | null;
253
253
  leadSupplier: {
254
254
  id: string;
255
- email: string | null;
256
- name: string;
257
255
  phoneNumber: string;
258
- notes: string | null;
256
+ name: string;
257
+ email: string | null;
259
258
  company: string | null;
259
+ notes: string | null;
260
260
  createdAt?: string | undefined;
261
261
  updatedAt?: string | undefined;
262
262
  } | null;
@@ -302,67 +302,67 @@ export declare const CreateCrewObjectSchema: z.ZodEffects<z.ZodObject<{
302
302
  company: z.ZodOptional<z.ZodNullable<z.ZodString>>;
303
303
  notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
304
304
  }, "strip", z.ZodTypeAny, {
305
- name: string;
306
305
  phoneNumber: string;
306
+ name: string;
307
307
  email?: string | null | undefined;
308
- notes?: string | null | undefined;
309
308
  company?: string | null | undefined;
309
+ notes?: string | null | undefined;
310
310
  }, {
311
- name: string;
312
311
  phoneNumber: string;
312
+ name: string;
313
313
  email?: string | null | undefined;
314
- notes?: string | null | undefined;
315
314
  company?: string | null | undefined;
315
+ notes?: string | null | undefined;
316
316
  }>>;
317
317
  maxMembers: z.ZodOptional<z.ZodNumber>;
318
318
  }, "strip", z.ZodTypeAny, {
319
319
  name: string;
320
320
  leadType: "WORKER" | "SUPPLIER";
321
- maxMembers?: number | undefined;
322
321
  leadWorkerId?: string | undefined;
323
322
  supplier?: {
324
- name: string;
325
323
  phoneNumber: string;
324
+ name: string;
326
325
  email?: string | null | undefined;
327
- notes?: string | null | undefined;
328
326
  company?: string | null | undefined;
327
+ notes?: string | null | undefined;
329
328
  } | undefined;
329
+ maxMembers?: number | undefined;
330
330
  }, {
331
331
  name: string;
332
332
  leadType: "WORKER" | "SUPPLIER";
333
- maxMembers?: number | undefined;
334
333
  leadWorkerId?: string | undefined;
335
334
  supplier?: {
336
- name: string;
337
335
  phoneNumber: string;
336
+ name: string;
338
337
  email?: string | null | undefined;
339
- notes?: string | null | undefined;
340
338
  company?: string | null | undefined;
339
+ notes?: string | null | undefined;
341
340
  } | undefined;
341
+ maxMembers?: number | undefined;
342
342
  }>, {
343
343
  name: string;
344
344
  leadType: "WORKER" | "SUPPLIER";
345
- maxMembers?: number | undefined;
346
345
  leadWorkerId?: string | undefined;
347
346
  supplier?: {
348
- name: string;
349
347
  phoneNumber: string;
348
+ name: string;
350
349
  email?: string | null | undefined;
351
- notes?: string | null | undefined;
352
350
  company?: string | null | undefined;
351
+ notes?: string | null | undefined;
353
352
  } | undefined;
353
+ maxMembers?: number | undefined;
354
354
  }, {
355
355
  name: string;
356
356
  leadType: "WORKER" | "SUPPLIER";
357
- maxMembers?: number | undefined;
358
357
  leadWorkerId?: string | undefined;
359
358
  supplier?: {
360
- name: string;
361
359
  phoneNumber: string;
360
+ name: string;
362
361
  email?: string | null | undefined;
363
- notes?: string | null | undefined;
364
362
  company?: string | null | undefined;
363
+ notes?: string | null | undefined;
365
364
  } | undefined;
365
+ maxMembers?: number | undefined;
366
366
  }>;
367
367
  /**
368
368
  * `supplier` only belongs to a SUPPLIER-led crew, but the web form keeps the
@@ -387,79 +387,79 @@ export declare const CreateCrewSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
387
387
  company: z.ZodOptional<z.ZodNullable<z.ZodString>>;
388
388
  notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
389
389
  }, "strip", z.ZodTypeAny, {
390
- name: string;
391
390
  phoneNumber: string;
391
+ name: string;
392
392
  email?: string | null | undefined;
393
- notes?: string | null | undefined;
394
393
  company?: string | null | undefined;
394
+ notes?: string | null | undefined;
395
395
  }, {
396
- name: string;
397
396
  phoneNumber: string;
397
+ name: string;
398
398
  email?: string | null | undefined;
399
- notes?: string | null | undefined;
400
399
  company?: string | null | undefined;
400
+ notes?: string | null | undefined;
401
401
  }>>;
402
402
  maxMembers: z.ZodOptional<z.ZodNumber>;
403
403
  }, "strip", z.ZodTypeAny, {
404
404
  name: string;
405
405
  leadType: "WORKER" | "SUPPLIER";
406
- maxMembers?: number | undefined;
407
406
  leadWorkerId?: string | undefined;
408
407
  supplier?: {
409
- name: string;
410
408
  phoneNumber: string;
409
+ name: string;
411
410
  email?: string | null | undefined;
412
- notes?: string | null | undefined;
413
411
  company?: string | null | undefined;
412
+ notes?: string | null | undefined;
414
413
  } | undefined;
414
+ maxMembers?: number | undefined;
415
415
  }, {
416
416
  name: string;
417
417
  leadType: "WORKER" | "SUPPLIER";
418
- maxMembers?: number | undefined;
419
418
  leadWorkerId?: string | undefined;
420
419
  supplier?: {
421
- name: string;
422
420
  phoneNumber: string;
421
+ name: string;
423
422
  email?: string | null | undefined;
424
- notes?: string | null | undefined;
425
423
  company?: string | null | undefined;
424
+ notes?: string | null | undefined;
426
425
  } | undefined;
426
+ maxMembers?: number | undefined;
427
427
  }>, {
428
428
  name: string;
429
429
  leadType: "WORKER" | "SUPPLIER";
430
- maxMembers?: number | undefined;
431
430
  leadWorkerId?: string | undefined;
432
431
  supplier?: {
433
- name: string;
434
432
  phoneNumber: string;
433
+ name: string;
435
434
  email?: string | null | undefined;
436
- notes?: string | null | undefined;
437
435
  company?: string | null | undefined;
436
+ notes?: string | null | undefined;
438
437
  } | undefined;
438
+ maxMembers?: number | undefined;
439
439
  }, {
440
440
  name: string;
441
441
  leadType: "WORKER" | "SUPPLIER";
442
- maxMembers?: number | undefined;
443
442
  leadWorkerId?: string | undefined;
444
443
  supplier?: {
445
- name: string;
446
444
  phoneNumber: string;
445
+ name: string;
447
446
  email?: string | null | undefined;
448
- notes?: string | null | undefined;
449
447
  company?: string | null | undefined;
448
+ notes?: string | null | undefined;
450
449
  } | undefined;
450
+ maxMembers?: number | undefined;
451
451
  }>, {
452
452
  name: string;
453
453
  leadType: "WORKER" | "SUPPLIER";
454
- maxMembers?: number | undefined;
455
454
  leadWorkerId?: string | undefined;
456
455
  supplier?: {
457
- name: string;
458
456
  phoneNumber: string;
457
+ name: string;
459
458
  email?: string | null | undefined;
460
- notes?: string | null | undefined;
461
459
  company?: string | null | undefined;
460
+ notes?: string | null | undefined;
462
461
  } | undefined;
462
+ maxMembers?: number | undefined;
463
463
  }, unknown>;
464
464
  export declare const UpdateCrewSchema: z.ZodObject<{
465
465
  name: z.ZodOptional<z.ZodString>;
@@ -504,13 +504,13 @@ export declare const FilterCrewSchema: z.ZodObject<{
504
504
  name?: string | undefined;
505
505
  leadType?: "WORKER" | "SUPPLIER" | undefined;
506
506
  }, {
507
- limit?: number | undefined;
508
- page?: number | undefined;
509
507
  sort?: {
510
508
  field: "name" | "createdAt" | "updatedAt";
511
509
  order: "ASC" | "DESC";
512
510
  }[] | null | undefined;
513
511
  name?: string | undefined;
512
+ limit?: number | undefined;
513
+ page?: number | undefined;
514
514
  leadType?: "WORKER" | "SUPPLIER" | undefined;
515
515
  }>;
516
516
  export type Crew = z.infer<typeof CrewSchema>;
@@ -553,20 +553,20 @@ export declare const PaginatedCrewResponseSchema: z.ZodObject<{
553
553
  updatedAt: z.ZodOptional<z.ZodString>;
554
554
  }, "strip", z.ZodTypeAny, {
555
555
  id: string;
556
- email: string | null;
557
- name: string;
558
556
  phoneNumber: string;
559
- notes: string | null;
557
+ name: string;
558
+ email: string | null;
560
559
  company: string | null;
560
+ notes: string | null;
561
561
  createdAt?: string | undefined;
562
562
  updatedAt?: string | undefined;
563
563
  }, {
564
564
  id: string;
565
- email: string | null;
566
- name: string;
567
565
  phoneNumber: string;
568
- notes: string | null;
566
+ name: string;
567
+ email: string | null;
569
568
  company: string | null;
569
+ notes: string | null;
570
570
  createdAt?: string | undefined;
571
571
  updatedAt?: string | undefined;
572
572
  }>>;
@@ -650,11 +650,11 @@ export declare const PaginatedCrewResponseSchema: z.ZodObject<{
650
650
  } | null;
651
651
  leadSupplier: {
652
652
  id: string;
653
- email: string | null;
654
- name: string;
655
653
  phoneNumber: string;
656
- notes: string | null;
654
+ name: string;
655
+ email: string | null;
657
656
  company: string | null;
657
+ notes: string | null;
658
658
  createdAt?: string | undefined;
659
659
  updatedAt?: string | undefined;
660
660
  } | null;
@@ -694,11 +694,11 @@ export declare const PaginatedCrewResponseSchema: z.ZodObject<{
694
694
  } | null;
695
695
  leadSupplier: {
696
696
  id: string;
697
- email: string | null;
698
- name: string;
699
697
  phoneNumber: string;
700
- notes: string | null;
698
+ name: string;
699
+ email: string | null;
701
700
  company: string | null;
701
+ notes: string | null;
702
702
  createdAt?: string | undefined;
703
703
  updatedAt?: string | undefined;
704
704
  } | null;
@@ -746,11 +746,11 @@ export declare const PaginatedCrewResponseSchema: z.ZodObject<{
746
746
  } | null;
747
747
  leadSupplier: {
748
748
  id: string;
749
- email: string | null;
750
- name: string;
751
749
  phoneNumber: string;
752
- notes: string | null;
750
+ name: string;
751
+ email: string | null;
753
752
  company: string | null;
753
+ notes: string | null;
754
754
  createdAt?: string | undefined;
755
755
  updatedAt?: string | undefined;
756
756
  } | null;
@@ -797,11 +797,11 @@ export declare const PaginatedCrewResponseSchema: z.ZodObject<{
797
797
  } | null;
798
798
  leadSupplier: {
799
799
  id: string;
800
- email: string | null;
801
- name: string;
802
800
  phoneNumber: string;
803
- notes: string | null;
801
+ name: string;
802
+ email: string | null;
804
803
  company: string | null;
804
+ notes: string | null;
805
805
  createdAt?: string | undefined;
806
806
  updatedAt?: string | undefined;
807
807
  } | null;
@@ -852,79 +852,79 @@ export declare const crewsContract: {
852
852
  company: z.ZodOptional<z.ZodNullable<z.ZodString>>;
853
853
  notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
854
854
  }, "strip", z.ZodTypeAny, {
855
- name: string;
856
855
  phoneNumber: string;
856
+ name: string;
857
857
  email?: string | null | undefined;
858
- notes?: string | null | undefined;
859
858
  company?: string | null | undefined;
859
+ notes?: string | null | undefined;
860
860
  }, {
861
- name: string;
862
861
  phoneNumber: string;
862
+ name: string;
863
863
  email?: string | null | undefined;
864
- notes?: string | null | undefined;
865
864
  company?: string | null | undefined;
865
+ notes?: string | null | undefined;
866
866
  }>>;
867
867
  maxMembers: z.ZodOptional<z.ZodNumber>;
868
868
  }, "strip", z.ZodTypeAny, {
869
869
  name: string;
870
870
  leadType: "WORKER" | "SUPPLIER";
871
- maxMembers?: number | undefined;
872
871
  leadWorkerId?: string | undefined;
873
872
  supplier?: {
874
- name: string;
875
873
  phoneNumber: string;
874
+ name: string;
876
875
  email?: string | null | undefined;
877
- notes?: string | null | undefined;
878
876
  company?: string | null | undefined;
877
+ notes?: string | null | undefined;
879
878
  } | undefined;
879
+ maxMembers?: number | undefined;
880
880
  }, {
881
881
  name: string;
882
882
  leadType: "WORKER" | "SUPPLIER";
883
- maxMembers?: number | undefined;
884
883
  leadWorkerId?: string | undefined;
885
884
  supplier?: {
886
- name: string;
887
885
  phoneNumber: string;
886
+ name: string;
888
887
  email?: string | null | undefined;
889
- notes?: string | null | undefined;
890
888
  company?: string | null | undefined;
889
+ notes?: string | null | undefined;
891
890
  } | undefined;
891
+ maxMembers?: number | undefined;
892
892
  }>, {
893
893
  name: string;
894
894
  leadType: "WORKER" | "SUPPLIER";
895
- maxMembers?: number | undefined;
896
895
  leadWorkerId?: string | undefined;
897
896
  supplier?: {
898
- name: string;
899
897
  phoneNumber: string;
898
+ name: string;
900
899
  email?: string | null | undefined;
901
- notes?: string | null | undefined;
902
900
  company?: string | null | undefined;
901
+ notes?: string | null | undefined;
903
902
  } | undefined;
903
+ maxMembers?: number | undefined;
904
904
  }, {
905
905
  name: string;
906
906
  leadType: "WORKER" | "SUPPLIER";
907
- maxMembers?: number | undefined;
908
907
  leadWorkerId?: string | undefined;
909
908
  supplier?: {
910
- name: string;
911
909
  phoneNumber: string;
910
+ name: string;
912
911
  email?: string | null | undefined;
913
- notes?: string | null | undefined;
914
912
  company?: string | null | undefined;
913
+ notes?: string | null | undefined;
915
914
  } | undefined;
915
+ maxMembers?: number | undefined;
916
916
  }>, {
917
917
  name: string;
918
918
  leadType: "WORKER" | "SUPPLIER";
919
- maxMembers?: number | undefined;
920
919
  leadWorkerId?: string | undefined;
921
920
  supplier?: {
922
- name: string;
923
921
  phoneNumber: string;
922
+ name: string;
924
923
  email?: string | null | undefined;
925
- notes?: string | null | undefined;
926
924
  company?: string | null | undefined;
925
+ notes?: string | null | undefined;
927
926
  } | undefined;
927
+ maxMembers?: number | undefined;
928
928
  }, unknown>;
929
929
  path: "/v2/crews";
930
930
  responses: {
@@ -937,17 +937,17 @@ export declare const crewsContract: {
937
937
  path: z.ZodString;
938
938
  correlationId: z.ZodOptional<z.ZodString>;
939
939
  }, "strip", z.ZodTypeAny, {
940
+ message: string;
940
941
  code: string;
941
942
  path: string;
942
- message: string;
943
943
  statusCode: number;
944
944
  timestamp: string;
945
945
  details?: unknown;
946
946
  correlationId?: string | undefined;
947
947
  }, {
948
+ message: string;
948
949
  code: string;
949
950
  path: string;
950
- message: string;
951
951
  statusCode: number;
952
952
  timestamp: string;
953
953
  details?: unknown;
@@ -962,17 +962,17 @@ export declare const crewsContract: {
962
962
  path: z.ZodString;
963
963
  correlationId: z.ZodOptional<z.ZodString>;
964
964
  }, "strip", z.ZodTypeAny, {
965
+ message: string;
965
966
  code: string;
966
967
  path: string;
967
- message: string;
968
968
  statusCode: number;
969
969
  timestamp: string;
970
970
  details?: unknown;
971
971
  correlationId?: string | undefined;
972
972
  }, {
973
+ message: string;
973
974
  code: string;
974
975
  path: string;
975
- message: string;
976
976
  statusCode: number;
977
977
  timestamp: string;
978
978
  details?: unknown;
@@ -987,17 +987,17 @@ export declare const crewsContract: {
987
987
  path: z.ZodString;
988
988
  correlationId: z.ZodOptional<z.ZodString>;
989
989
  }, "strip", z.ZodTypeAny, {
990
+ message: string;
990
991
  code: string;
991
992
  path: string;
992
- message: string;
993
993
  statusCode: number;
994
994
  timestamp: string;
995
995
  details?: unknown;
996
996
  correlationId?: string | undefined;
997
997
  }, {
998
+ message: string;
998
999
  code: string;
999
1000
  path: string;
1000
- message: string;
1001
1001
  statusCode: number;
1002
1002
  timestamp: string;
1003
1003
  details?: unknown;
@@ -1012,17 +1012,17 @@ export declare const crewsContract: {
1012
1012
  path: z.ZodString;
1013
1013
  correlationId: z.ZodOptional<z.ZodString>;
1014
1014
  }, "strip", z.ZodTypeAny, {
1015
+ message: string;
1015
1016
  code: string;
1016
1017
  path: string;
1017
- message: string;
1018
1018
  statusCode: number;
1019
1019
  timestamp: string;
1020
1020
  details?: unknown;
1021
1021
  correlationId?: string | undefined;
1022
1022
  }, {
1023
+ message: string;
1023
1024
  code: string;
1024
1025
  path: string;
1025
- message: string;
1026
1026
  statusCode: number;
1027
1027
  timestamp: string;
1028
1028
  details?: unknown;
@@ -1062,20 +1062,20 @@ export declare const crewsContract: {
1062
1062
  updatedAt: z.ZodOptional<z.ZodString>;
1063
1063
  }, "strip", z.ZodTypeAny, {
1064
1064
  id: string;
1065
- email: string | null;
1066
- name: string;
1067
1065
  phoneNumber: string;
1068
- notes: string | null;
1066
+ name: string;
1067
+ email: string | null;
1069
1068
  company: string | null;
1069
+ notes: string | null;
1070
1070
  createdAt?: string | undefined;
1071
1071
  updatedAt?: string | undefined;
1072
1072
  }, {
1073
1073
  id: string;
1074
- email: string | null;
1075
- name: string;
1076
1074
  phoneNumber: string;
1077
- notes: string | null;
1075
+ name: string;
1076
+ email: string | null;
1078
1077
  company: string | null;
1078
+ notes: string | null;
1079
1079
  createdAt?: string | undefined;
1080
1080
  updatedAt?: string | undefined;
1081
1081
  }>>;
@@ -1159,11 +1159,11 @@ export declare const crewsContract: {
1159
1159
  } | null;
1160
1160
  leadSupplier: {
1161
1161
  id: string;
1162
- email: string | null;
1163
- name: string;
1164
1162
  phoneNumber: string;
1165
- notes: string | null;
1163
+ name: string;
1164
+ email: string | null;
1166
1165
  company: string | null;
1166
+ notes: string | null;
1167
1167
  createdAt?: string | undefined;
1168
1168
  updatedAt?: string | undefined;
1169
1169
  } | null;
@@ -1203,11 +1203,11 @@ export declare const crewsContract: {
1203
1203
  } | null;
1204
1204
  leadSupplier: {
1205
1205
  id: string;
1206
- email: string | null;
1207
- name: string;
1208
1206
  phoneNumber: string;
1209
- notes: string | null;
1207
+ name: string;
1208
+ email: string | null;
1210
1209
  company: string | null;
1210
+ notes: string | null;
1211
1211
  createdAt?: string | undefined;
1212
1212
  updatedAt?: string | undefined;
1213
1213
  } | null;
@@ -1244,17 +1244,17 @@ export declare const crewsContract: {
1244
1244
  path: z.ZodString;
1245
1245
  correlationId: z.ZodOptional<z.ZodString>;
1246
1246
  }, "strip", z.ZodTypeAny, {
1247
+ message: string;
1247
1248
  code: string;
1248
1249
  path: string;
1249
- message: string;
1250
1250
  statusCode: number;
1251
1251
  timestamp: string;
1252
1252
  details?: unknown;
1253
1253
  correlationId?: string | undefined;
1254
1254
  }, {
1255
+ message: string;
1255
1256
  code: string;
1256
1257
  path: string;
1257
- message: string;
1258
1258
  statusCode: number;
1259
1259
  timestamp: string;
1260
1260
  details?: unknown;
@@ -1263,9 +1263,6 @@ export declare const crewsContract: {
1263
1263
  };
1264
1264
  };
1265
1265
  findAll: {
1266
- metadata: {
1267
- tags: string[];
1268
- };
1269
1266
  query: z.ZodObject<{
1270
1267
  name: z.ZodOptional<z.ZodString>;
1271
1268
  leadType: z.ZodOptional<z.ZodEnum<["WORKER", "SUPPLIER"]>>;
@@ -1292,15 +1289,18 @@ export declare const crewsContract: {
1292
1289
  name?: string | undefined;
1293
1290
  leadType?: "WORKER" | "SUPPLIER" | undefined;
1294
1291
  }, {
1295
- limit?: number | undefined;
1296
- page?: number | undefined;
1297
1292
  sort?: {
1298
1293
  field: "name" | "createdAt" | "updatedAt";
1299
1294
  order: "ASC" | "DESC";
1300
1295
  }[] | null | undefined;
1301
1296
  name?: string | undefined;
1297
+ limit?: number | undefined;
1298
+ page?: number | undefined;
1302
1299
  leadType?: "WORKER" | "SUPPLIER" | undefined;
1303
1300
  }>;
1301
+ metadata: {
1302
+ tags: string[];
1303
+ };
1304
1304
  summary: "List all crews";
1305
1305
  method: "GET";
1306
1306
  path: "/v2/crews";
@@ -1314,17 +1314,17 @@ export declare const crewsContract: {
1314
1314
  path: z.ZodString;
1315
1315
  correlationId: z.ZodOptional<z.ZodString>;
1316
1316
  }, "strip", z.ZodTypeAny, {
1317
+ message: string;
1317
1318
  code: string;
1318
1319
  path: string;
1319
- message: string;
1320
1320
  statusCode: number;
1321
1321
  timestamp: string;
1322
1322
  details?: unknown;
1323
1323
  correlationId?: string | undefined;
1324
1324
  }, {
1325
+ message: string;
1325
1326
  code: string;
1326
1327
  path: string;
1327
- message: string;
1328
1328
  statusCode: number;
1329
1329
  timestamp: string;
1330
1330
  details?: unknown;
@@ -1339,17 +1339,17 @@ export declare const crewsContract: {
1339
1339
  path: z.ZodString;
1340
1340
  correlationId: z.ZodOptional<z.ZodString>;
1341
1341
  }, "strip", z.ZodTypeAny, {
1342
+ message: string;
1342
1343
  code: string;
1343
1344
  path: string;
1344
- message: string;
1345
1345
  statusCode: number;
1346
1346
  timestamp: string;
1347
1347
  details?: unknown;
1348
1348
  correlationId?: string | undefined;
1349
1349
  }, {
1350
+ message: string;
1350
1351
  code: string;
1351
1352
  path: string;
1352
- message: string;
1353
1353
  statusCode: number;
1354
1354
  timestamp: string;
1355
1355
  details?: unknown;
@@ -1364,17 +1364,17 @@ export declare const crewsContract: {
1364
1364
  path: z.ZodString;
1365
1365
  correlationId: z.ZodOptional<z.ZodString>;
1366
1366
  }, "strip", z.ZodTypeAny, {
1367
+ message: string;
1367
1368
  code: string;
1368
1369
  path: string;
1369
- message: string;
1370
1370
  statusCode: number;
1371
1371
  timestamp: string;
1372
1372
  details?: unknown;
1373
1373
  correlationId?: string | undefined;
1374
1374
  }, {
1375
+ message: string;
1375
1376
  code: string;
1376
1377
  path: string;
1377
- message: string;
1378
1378
  statusCode: number;
1379
1379
  timestamp: string;
1380
1380
  details?: unknown;
@@ -1389,17 +1389,17 @@ export declare const crewsContract: {
1389
1389
  path: z.ZodString;
1390
1390
  correlationId: z.ZodOptional<z.ZodString>;
1391
1391
  }, "strip", z.ZodTypeAny, {
1392
+ message: string;
1392
1393
  code: string;
1393
1394
  path: string;
1394
- message: string;
1395
1395
  statusCode: number;
1396
1396
  timestamp: string;
1397
1397
  details?: unknown;
1398
1398
  correlationId?: string | undefined;
1399
1399
  }, {
1400
+ message: string;
1400
1401
  code: string;
1401
1402
  path: string;
1402
- message: string;
1403
1403
  statusCode: number;
1404
1404
  timestamp: string;
1405
1405
  details?: unknown;
@@ -1440,20 +1440,20 @@ export declare const crewsContract: {
1440
1440
  updatedAt: z.ZodOptional<z.ZodString>;
1441
1441
  }, "strip", z.ZodTypeAny, {
1442
1442
  id: string;
1443
- email: string | null;
1444
- name: string;
1445
1443
  phoneNumber: string;
1446
- notes: string | null;
1444
+ name: string;
1445
+ email: string | null;
1447
1446
  company: string | null;
1447
+ notes: string | null;
1448
1448
  createdAt?: string | undefined;
1449
1449
  updatedAt?: string | undefined;
1450
1450
  }, {
1451
1451
  id: string;
1452
- email: string | null;
1453
- name: string;
1454
1452
  phoneNumber: string;
1455
- notes: string | null;
1453
+ name: string;
1454
+ email: string | null;
1456
1455
  company: string | null;
1456
+ notes: string | null;
1457
1457
  createdAt?: string | undefined;
1458
1458
  updatedAt?: string | undefined;
1459
1459
  }>>;
@@ -1537,11 +1537,11 @@ export declare const crewsContract: {
1537
1537
  } | null;
1538
1538
  leadSupplier: {
1539
1539
  id: string;
1540
- email: string | null;
1541
- name: string;
1542
1540
  phoneNumber: string;
1543
- notes: string | null;
1541
+ name: string;
1542
+ email: string | null;
1544
1543
  company: string | null;
1544
+ notes: string | null;
1545
1545
  createdAt?: string | undefined;
1546
1546
  updatedAt?: string | undefined;
1547
1547
  } | null;
@@ -1581,11 +1581,11 @@ export declare const crewsContract: {
1581
1581
  } | null;
1582
1582
  leadSupplier: {
1583
1583
  id: string;
1584
- email: string | null;
1585
- name: string;
1586
1584
  phoneNumber: string;
1587
- notes: string | null;
1585
+ name: string;
1586
+ email: string | null;
1588
1587
  company: string | null;
1588
+ notes: string | null;
1589
1589
  createdAt?: string | undefined;
1590
1590
  updatedAt?: string | undefined;
1591
1591
  } | null;
@@ -1633,11 +1633,11 @@ export declare const crewsContract: {
1633
1633
  } | null;
1634
1634
  leadSupplier: {
1635
1635
  id: string;
1636
- email: string | null;
1637
- name: string;
1638
1636
  phoneNumber: string;
1639
- notes: string | null;
1637
+ name: string;
1638
+ email: string | null;
1640
1639
  company: string | null;
1640
+ notes: string | null;
1641
1641
  createdAt?: string | undefined;
1642
1642
  updatedAt?: string | undefined;
1643
1643
  } | null;
@@ -1684,11 +1684,11 @@ export declare const crewsContract: {
1684
1684
  } | null;
1685
1685
  leadSupplier: {
1686
1686
  id: string;
1687
- email: string | null;
1688
- name: string;
1689
1687
  phoneNumber: string;
1690
- notes: string | null;
1688
+ name: string;
1689
+ email: string | null;
1691
1690
  company: string | null;
1691
+ notes: string | null;
1692
1692
  createdAt?: string | undefined;
1693
1693
  updatedAt?: string | undefined;
1694
1694
  } | null;
@@ -1747,17 +1747,17 @@ export declare const crewsContract: {
1747
1747
  path: z.ZodString;
1748
1748
  correlationId: z.ZodOptional<z.ZodString>;
1749
1749
  }, "strip", z.ZodTypeAny, {
1750
+ message: string;
1750
1751
  code: string;
1751
1752
  path: string;
1752
- message: string;
1753
1753
  statusCode: number;
1754
1754
  timestamp: string;
1755
1755
  details?: unknown;
1756
1756
  correlationId?: string | undefined;
1757
1757
  }, {
1758
+ message: string;
1758
1759
  code: string;
1759
1760
  path: string;
1760
- message: string;
1761
1761
  statusCode: number;
1762
1762
  timestamp: string;
1763
1763
  details?: unknown;
@@ -1772,17 +1772,17 @@ export declare const crewsContract: {
1772
1772
  path: z.ZodString;
1773
1773
  correlationId: z.ZodOptional<z.ZodString>;
1774
1774
  }, "strip", z.ZodTypeAny, {
1775
+ message: string;
1775
1776
  code: string;
1776
1777
  path: string;
1777
- message: string;
1778
1778
  statusCode: number;
1779
1779
  timestamp: string;
1780
1780
  details?: unknown;
1781
1781
  correlationId?: string | undefined;
1782
1782
  }, {
1783
+ message: string;
1783
1784
  code: string;
1784
1785
  path: string;
1785
- message: string;
1786
1786
  statusCode: number;
1787
1787
  timestamp: string;
1788
1788
  details?: unknown;
@@ -1797,17 +1797,17 @@ export declare const crewsContract: {
1797
1797
  path: z.ZodString;
1798
1798
  correlationId: z.ZodOptional<z.ZodString>;
1799
1799
  }, "strip", z.ZodTypeAny, {
1800
+ message: string;
1800
1801
  code: string;
1801
1802
  path: string;
1802
- message: string;
1803
1803
  statusCode: number;
1804
1804
  timestamp: string;
1805
1805
  details?: unknown;
1806
1806
  correlationId?: string | undefined;
1807
1807
  }, {
1808
+ message: string;
1808
1809
  code: string;
1809
1810
  path: string;
1810
- message: string;
1811
1811
  statusCode: number;
1812
1812
  timestamp: string;
1813
1813
  details?: unknown;
@@ -1822,17 +1822,17 @@ export declare const crewsContract: {
1822
1822
  path: z.ZodString;
1823
1823
  correlationId: z.ZodOptional<z.ZodString>;
1824
1824
  }, "strip", z.ZodTypeAny, {
1825
+ message: string;
1825
1826
  code: string;
1826
1827
  path: string;
1827
- message: string;
1828
1828
  statusCode: number;
1829
1829
  timestamp: string;
1830
1830
  details?: unknown;
1831
1831
  correlationId?: string | undefined;
1832
1832
  }, {
1833
+ message: string;
1833
1834
  code: string;
1834
1835
  path: string;
1835
- message: string;
1836
1836
  statusCode: number;
1837
1837
  timestamp: string;
1838
1838
  details?: unknown;
@@ -1872,20 +1872,20 @@ export declare const crewsContract: {
1872
1872
  updatedAt: z.ZodOptional<z.ZodString>;
1873
1873
  }, "strip", z.ZodTypeAny, {
1874
1874
  id: string;
1875
- email: string | null;
1876
- name: string;
1877
1875
  phoneNumber: string;
1878
- notes: string | null;
1876
+ name: string;
1877
+ email: string | null;
1879
1878
  company: string | null;
1879
+ notes: string | null;
1880
1880
  createdAt?: string | undefined;
1881
1881
  updatedAt?: string | undefined;
1882
1882
  }, {
1883
1883
  id: string;
1884
- email: string | null;
1885
- name: string;
1886
1884
  phoneNumber: string;
1887
- notes: string | null;
1885
+ name: string;
1886
+ email: string | null;
1888
1887
  company: string | null;
1888
+ notes: string | null;
1889
1889
  createdAt?: string | undefined;
1890
1890
  updatedAt?: string | undefined;
1891
1891
  }>>;
@@ -1969,11 +1969,11 @@ export declare const crewsContract: {
1969
1969
  } | null;
1970
1970
  leadSupplier: {
1971
1971
  id: string;
1972
- email: string | null;
1973
- name: string;
1974
1972
  phoneNumber: string;
1975
- notes: string | null;
1973
+ name: string;
1974
+ email: string | null;
1976
1975
  company: string | null;
1976
+ notes: string | null;
1977
1977
  createdAt?: string | undefined;
1978
1978
  updatedAt?: string | undefined;
1979
1979
  } | null;
@@ -2013,11 +2013,11 @@ export declare const crewsContract: {
2013
2013
  } | null;
2014
2014
  leadSupplier: {
2015
2015
  id: string;
2016
- email: string | null;
2017
- name: string;
2018
2016
  phoneNumber: string;
2019
- notes: string | null;
2017
+ name: string;
2018
+ email: string | null;
2020
2019
  company: string | null;
2020
+ notes: string | null;
2021
2021
  createdAt?: string | undefined;
2022
2022
  updatedAt?: string | undefined;
2023
2023
  } | null;
@@ -2054,17 +2054,17 @@ export declare const crewsContract: {
2054
2054
  path: z.ZodString;
2055
2055
  correlationId: z.ZodOptional<z.ZodString>;
2056
2056
  }, "strip", z.ZodTypeAny, {
2057
+ message: string;
2057
2058
  code: string;
2058
2059
  path: string;
2059
- message: string;
2060
2060
  statusCode: number;
2061
2061
  timestamp: string;
2062
2062
  details?: unknown;
2063
2063
  correlationId?: string | undefined;
2064
2064
  }, {
2065
+ message: string;
2065
2066
  code: string;
2066
2067
  path: string;
2067
- message: string;
2068
2068
  statusCode: number;
2069
2069
  timestamp: string;
2070
2070
  details?: unknown;
@@ -2106,17 +2106,17 @@ export declare const crewsContract: {
2106
2106
  path: z.ZodString;
2107
2107
  correlationId: z.ZodOptional<z.ZodString>;
2108
2108
  }, "strip", z.ZodTypeAny, {
2109
+ message: string;
2109
2110
  code: string;
2110
2111
  path: string;
2111
- message: string;
2112
2112
  statusCode: number;
2113
2113
  timestamp: string;
2114
2114
  details?: unknown;
2115
2115
  correlationId?: string | undefined;
2116
2116
  }, {
2117
+ message: string;
2117
2118
  code: string;
2118
2119
  path: string;
2119
- message: string;
2120
2120
  statusCode: number;
2121
2121
  timestamp: string;
2122
2122
  details?: unknown;
@@ -2131,17 +2131,17 @@ export declare const crewsContract: {
2131
2131
  path: z.ZodString;
2132
2132
  correlationId: z.ZodOptional<z.ZodString>;
2133
2133
  }, "strip", z.ZodTypeAny, {
2134
+ message: string;
2134
2135
  code: string;
2135
2136
  path: string;
2136
- message: string;
2137
2137
  statusCode: number;
2138
2138
  timestamp: string;
2139
2139
  details?: unknown;
2140
2140
  correlationId?: string | undefined;
2141
2141
  }, {
2142
+ message: string;
2142
2143
  code: string;
2143
2144
  path: string;
2144
- message: string;
2145
2145
  statusCode: number;
2146
2146
  timestamp: string;
2147
2147
  details?: unknown;
@@ -2156,17 +2156,17 @@ export declare const crewsContract: {
2156
2156
  path: z.ZodString;
2157
2157
  correlationId: z.ZodOptional<z.ZodString>;
2158
2158
  }, "strip", z.ZodTypeAny, {
2159
+ message: string;
2159
2160
  code: string;
2160
2161
  path: string;
2161
- message: string;
2162
2162
  statusCode: number;
2163
2163
  timestamp: string;
2164
2164
  details?: unknown;
2165
2165
  correlationId?: string | undefined;
2166
2166
  }, {
2167
+ message: string;
2167
2168
  code: string;
2168
2169
  path: string;
2169
- message: string;
2170
2170
  statusCode: number;
2171
2171
  timestamp: string;
2172
2172
  details?: unknown;
@@ -2181,17 +2181,17 @@ export declare const crewsContract: {
2181
2181
  path: z.ZodString;
2182
2182
  correlationId: z.ZodOptional<z.ZodString>;
2183
2183
  }, "strip", z.ZodTypeAny, {
2184
+ message: string;
2184
2185
  code: string;
2185
2186
  path: string;
2186
- message: string;
2187
2187
  statusCode: number;
2188
2188
  timestamp: string;
2189
2189
  details?: unknown;
2190
2190
  correlationId?: string | undefined;
2191
2191
  }, {
2192
+ message: string;
2192
2193
  code: string;
2193
2194
  path: string;
2194
- message: string;
2195
2195
  statusCode: number;
2196
2196
  timestamp: string;
2197
2197
  details?: unknown;
@@ -2231,20 +2231,20 @@ export declare const crewsContract: {
2231
2231
  updatedAt: z.ZodOptional<z.ZodString>;
2232
2232
  }, "strip", z.ZodTypeAny, {
2233
2233
  id: string;
2234
- email: string | null;
2235
- name: string;
2236
2234
  phoneNumber: string;
2237
- notes: string | null;
2235
+ name: string;
2236
+ email: string | null;
2238
2237
  company: string | null;
2238
+ notes: string | null;
2239
2239
  createdAt?: string | undefined;
2240
2240
  updatedAt?: string | undefined;
2241
2241
  }, {
2242
2242
  id: string;
2243
- email: string | null;
2244
- name: string;
2245
2243
  phoneNumber: string;
2246
- notes: string | null;
2244
+ name: string;
2245
+ email: string | null;
2247
2246
  company: string | null;
2247
+ notes: string | null;
2248
2248
  createdAt?: string | undefined;
2249
2249
  updatedAt?: string | undefined;
2250
2250
  }>>;
@@ -2328,11 +2328,11 @@ export declare const crewsContract: {
2328
2328
  } | null;
2329
2329
  leadSupplier: {
2330
2330
  id: string;
2331
- email: string | null;
2332
- name: string;
2333
2331
  phoneNumber: string;
2334
- notes: string | null;
2332
+ name: string;
2333
+ email: string | null;
2335
2334
  company: string | null;
2335
+ notes: string | null;
2336
2336
  createdAt?: string | undefined;
2337
2337
  updatedAt?: string | undefined;
2338
2338
  } | null;
@@ -2372,11 +2372,11 @@ export declare const crewsContract: {
2372
2372
  } | null;
2373
2373
  leadSupplier: {
2374
2374
  id: string;
2375
- email: string | null;
2376
- name: string;
2377
2375
  phoneNumber: string;
2378
- notes: string | null;
2376
+ name: string;
2377
+ email: string | null;
2379
2378
  company: string | null;
2379
+ notes: string | null;
2380
2380
  createdAt?: string | undefined;
2381
2381
  updatedAt?: string | undefined;
2382
2382
  } | null;
@@ -2413,17 +2413,17 @@ export declare const crewsContract: {
2413
2413
  path: z.ZodString;
2414
2414
  correlationId: z.ZodOptional<z.ZodString>;
2415
2415
  }, "strip", z.ZodTypeAny, {
2416
+ message: string;
2416
2417
  code: string;
2417
2418
  path: string;
2418
- message: string;
2419
2419
  statusCode: number;
2420
2420
  timestamp: string;
2421
2421
  details?: unknown;
2422
2422
  correlationId?: string | undefined;
2423
2423
  }, {
2424
+ message: string;
2424
2425
  code: string;
2425
2426
  path: string;
2426
- message: string;
2427
2427
  statusCode: number;
2428
2428
  timestamp: string;
2429
2429
  details?: unknown;
@@ -2456,17 +2456,17 @@ export declare const crewsContract: {
2456
2456
  path: z.ZodString;
2457
2457
  correlationId: z.ZodOptional<z.ZodString>;
2458
2458
  }, "strip", z.ZodTypeAny, {
2459
+ message: string;
2459
2460
  code: string;
2460
2461
  path: string;
2461
- message: string;
2462
2462
  statusCode: number;
2463
2463
  timestamp: string;
2464
2464
  details?: unknown;
2465
2465
  correlationId?: string | undefined;
2466
2466
  }, {
2467
+ message: string;
2467
2468
  code: string;
2468
2469
  path: string;
2469
- message: string;
2470
2470
  statusCode: number;
2471
2471
  timestamp: string;
2472
2472
  details?: unknown;
@@ -2481,17 +2481,17 @@ export declare const crewsContract: {
2481
2481
  path: z.ZodString;
2482
2482
  correlationId: z.ZodOptional<z.ZodString>;
2483
2483
  }, "strip", z.ZodTypeAny, {
2484
+ message: string;
2484
2485
  code: string;
2485
2486
  path: string;
2486
- message: string;
2487
2487
  statusCode: number;
2488
2488
  timestamp: string;
2489
2489
  details?: unknown;
2490
2490
  correlationId?: string | undefined;
2491
2491
  }, {
2492
+ message: string;
2492
2493
  code: string;
2493
2494
  path: string;
2494
- message: string;
2495
2495
  statusCode: number;
2496
2496
  timestamp: string;
2497
2497
  details?: unknown;
@@ -2506,17 +2506,17 @@ export declare const crewsContract: {
2506
2506
  path: z.ZodString;
2507
2507
  correlationId: z.ZodOptional<z.ZodString>;
2508
2508
  }, "strip", z.ZodTypeAny, {
2509
+ message: string;
2509
2510
  code: string;
2510
2511
  path: string;
2511
- message: string;
2512
2512
  statusCode: number;
2513
2513
  timestamp: string;
2514
2514
  details?: unknown;
2515
2515
  correlationId?: string | undefined;
2516
2516
  }, {
2517
+ message: string;
2517
2518
  code: string;
2518
2519
  path: string;
2519
- message: string;
2520
2520
  statusCode: number;
2521
2521
  timestamp: string;
2522
2522
  details?: unknown;
@@ -2531,17 +2531,17 @@ export declare const crewsContract: {
2531
2531
  path: z.ZodString;
2532
2532
  correlationId: z.ZodOptional<z.ZodString>;
2533
2533
  }, "strip", z.ZodTypeAny, {
2534
+ message: string;
2534
2535
  code: string;
2535
2536
  path: string;
2536
- message: string;
2537
2537
  statusCode: number;
2538
2538
  timestamp: string;
2539
2539
  details?: unknown;
2540
2540
  correlationId?: string | undefined;
2541
2541
  }, {
2542
+ message: string;
2542
2543
  code: string;
2543
2544
  path: string;
2544
- message: string;
2545
2545
  statusCode: number;
2546
2546
  timestamp: string;
2547
2547
  details?: unknown;
@@ -2557,17 +2557,17 @@ export declare const crewsContract: {
2557
2557
  path: z.ZodString;
2558
2558
  correlationId: z.ZodOptional<z.ZodString>;
2559
2559
  }, "strip", z.ZodTypeAny, {
2560
+ message: string;
2560
2561
  code: string;
2561
2562
  path: string;
2562
- message: string;
2563
2563
  statusCode: number;
2564
2564
  timestamp: string;
2565
2565
  details?: unknown;
2566
2566
  correlationId?: string | undefined;
2567
2567
  }, {
2568
+ message: string;
2568
2569
  code: string;
2569
2570
  path: string;
2570
- message: string;
2571
2571
  statusCode: number;
2572
2572
  timestamp: string;
2573
2573
  details?: unknown;
@@ -2582,17 +2582,17 @@ export declare const crewsContract: {
2582
2582
  path: z.ZodString;
2583
2583
  correlationId: z.ZodOptional<z.ZodString>;
2584
2584
  }, "strip", z.ZodTypeAny, {
2585
+ message: string;
2585
2586
  code: string;
2586
2587
  path: string;
2587
- message: string;
2588
2588
  statusCode: number;
2589
2589
  timestamp: string;
2590
2590
  details?: unknown;
2591
2591
  correlationId?: string | undefined;
2592
2592
  }, {
2593
+ message: string;
2593
2594
  code: string;
2594
2595
  path: string;
2595
- message: string;
2596
2596
  statusCode: number;
2597
2597
  timestamp: string;
2598
2598
  details?: unknown;
@@ -2631,17 +2631,17 @@ export declare const crewsContract: {
2631
2631
  path: z.ZodString;
2632
2632
  correlationId: z.ZodOptional<z.ZodString>;
2633
2633
  }, "strip", z.ZodTypeAny, {
2634
+ message: string;
2634
2635
  code: string;
2635
2636
  path: string;
2636
- message: string;
2637
2637
  statusCode: number;
2638
2638
  timestamp: string;
2639
2639
  details?: unknown;
2640
2640
  correlationId?: string | undefined;
2641
2641
  }, {
2642
+ message: string;
2642
2643
  code: string;
2643
2644
  path: string;
2644
- message: string;
2645
2645
  statusCode: number;
2646
2646
  timestamp: string;
2647
2647
  details?: unknown;
@@ -2656,17 +2656,17 @@ export declare const crewsContract: {
2656
2656
  path: z.ZodString;
2657
2657
  correlationId: z.ZodOptional<z.ZodString>;
2658
2658
  }, "strip", z.ZodTypeAny, {
2659
+ message: string;
2659
2660
  code: string;
2660
2661
  path: string;
2661
- message: string;
2662
2662
  statusCode: number;
2663
2663
  timestamp: string;
2664
2664
  details?: unknown;
2665
2665
  correlationId?: string | undefined;
2666
2666
  }, {
2667
+ message: string;
2667
2668
  code: string;
2668
2669
  path: string;
2669
- message: string;
2670
2670
  statusCode: number;
2671
2671
  timestamp: string;
2672
2672
  details?: unknown;
@@ -2681,17 +2681,17 @@ export declare const crewsContract: {
2681
2681
  path: z.ZodString;
2682
2682
  correlationId: z.ZodOptional<z.ZodString>;
2683
2683
  }, "strip", z.ZodTypeAny, {
2684
+ message: string;
2684
2685
  code: string;
2685
2686
  path: string;
2686
- message: string;
2687
2687
  statusCode: number;
2688
2688
  timestamp: string;
2689
2689
  details?: unknown;
2690
2690
  correlationId?: string | undefined;
2691
2691
  }, {
2692
+ message: string;
2692
2693
  code: string;
2693
2694
  path: string;
2694
- message: string;
2695
2695
  statusCode: number;
2696
2696
  timestamp: string;
2697
2697
  details?: unknown;
@@ -2706,17 +2706,17 @@ export declare const crewsContract: {
2706
2706
  path: z.ZodString;
2707
2707
  correlationId: z.ZodOptional<z.ZodString>;
2708
2708
  }, "strip", z.ZodTypeAny, {
2709
+ message: string;
2709
2710
  code: string;
2710
2711
  path: string;
2711
- message: string;
2712
2712
  statusCode: number;
2713
2713
  timestamp: string;
2714
2714
  details?: unknown;
2715
2715
  correlationId?: string | undefined;
2716
2716
  }, {
2717
+ message: string;
2717
2718
  code: string;
2718
2719
  path: string;
2719
- message: string;
2720
2720
  statusCode: number;
2721
2721
  timestamp: string;
2722
2722
  details?: unknown;
@@ -2756,20 +2756,20 @@ export declare const crewsContract: {
2756
2756
  updatedAt: z.ZodOptional<z.ZodString>;
2757
2757
  }, "strip", z.ZodTypeAny, {
2758
2758
  id: string;
2759
- email: string | null;
2760
- name: string;
2761
2759
  phoneNumber: string;
2762
- notes: string | null;
2760
+ name: string;
2761
+ email: string | null;
2763
2762
  company: string | null;
2763
+ notes: string | null;
2764
2764
  createdAt?: string | undefined;
2765
2765
  updatedAt?: string | undefined;
2766
2766
  }, {
2767
2767
  id: string;
2768
- email: string | null;
2769
- name: string;
2770
2768
  phoneNumber: string;
2771
- notes: string | null;
2769
+ name: string;
2770
+ email: string | null;
2772
2771
  company: string | null;
2772
+ notes: string | null;
2773
2773
  createdAt?: string | undefined;
2774
2774
  updatedAt?: string | undefined;
2775
2775
  }>>;
@@ -2853,11 +2853,11 @@ export declare const crewsContract: {
2853
2853
  } | null;
2854
2854
  leadSupplier: {
2855
2855
  id: string;
2856
- email: string | null;
2857
- name: string;
2858
2856
  phoneNumber: string;
2859
- notes: string | null;
2857
+ name: string;
2858
+ email: string | null;
2860
2859
  company: string | null;
2860
+ notes: string | null;
2861
2861
  createdAt?: string | undefined;
2862
2862
  updatedAt?: string | undefined;
2863
2863
  } | null;
@@ -2897,11 +2897,11 @@ export declare const crewsContract: {
2897
2897
  } | null;
2898
2898
  leadSupplier: {
2899
2899
  id: string;
2900
- email: string | null;
2901
- name: string;
2902
2900
  phoneNumber: string;
2903
- notes: string | null;
2901
+ name: string;
2902
+ email: string | null;
2904
2903
  company: string | null;
2904
+ notes: string | null;
2905
2905
  createdAt?: string | undefined;
2906
2906
  updatedAt?: string | undefined;
2907
2907
  } | null;
@@ -2938,17 +2938,17 @@ export declare const crewsContract: {
2938
2938
  path: z.ZodString;
2939
2939
  correlationId: z.ZodOptional<z.ZodString>;
2940
2940
  }, "strip", z.ZodTypeAny, {
2941
+ message: string;
2941
2942
  code: string;
2942
2943
  path: string;
2943
- message: string;
2944
2944
  statusCode: number;
2945
2945
  timestamp: string;
2946
2946
  details?: unknown;
2947
2947
  correlationId?: string | undefined;
2948
2948
  }, {
2949
+ message: string;
2949
2950
  code: string;
2950
2951
  path: string;
2951
- message: string;
2952
2952
  statusCode: number;
2953
2953
  timestamp: string;
2954
2954
  details?: unknown;
@@ -2963,17 +2963,17 @@ export declare const crewsContract: {
2963
2963
  path: z.ZodString;
2964
2964
  correlationId: z.ZodOptional<z.ZodString>;
2965
2965
  }, "strip", z.ZodTypeAny, {
2966
+ message: string;
2966
2967
  code: string;
2967
2968
  path: string;
2968
- message: string;
2969
2969
  statusCode: number;
2970
2970
  timestamp: string;
2971
2971
  details?: unknown;
2972
2972
  correlationId?: string | undefined;
2973
2973
  }, {
2974
+ message: string;
2974
2975
  code: string;
2975
2976
  path: string;
2976
- message: string;
2977
2977
  statusCode: number;
2978
2978
  timestamp: string;
2979
2979
  details?: unknown;
@@ -3009,17 +3009,17 @@ export declare const crewsContract: {
3009
3009
  path: z.ZodString;
3010
3010
  correlationId: z.ZodOptional<z.ZodString>;
3011
3011
  }, "strip", z.ZodTypeAny, {
3012
+ message: string;
3012
3013
  code: string;
3013
3014
  path: string;
3014
- message: string;
3015
3015
  statusCode: number;
3016
3016
  timestamp: string;
3017
3017
  details?: unknown;
3018
3018
  correlationId?: string | undefined;
3019
3019
  }, {
3020
+ message: string;
3020
3021
  code: string;
3021
3022
  path: string;
3022
- message: string;
3023
3023
  statusCode: number;
3024
3024
  timestamp: string;
3025
3025
  details?: unknown;
@@ -3034,17 +3034,17 @@ export declare const crewsContract: {
3034
3034
  path: z.ZodString;
3035
3035
  correlationId: z.ZodOptional<z.ZodString>;
3036
3036
  }, "strip", z.ZodTypeAny, {
3037
+ message: string;
3037
3038
  code: string;
3038
3039
  path: string;
3039
- message: string;
3040
3040
  statusCode: number;
3041
3041
  timestamp: string;
3042
3042
  details?: unknown;
3043
3043
  correlationId?: string | undefined;
3044
3044
  }, {
3045
+ message: string;
3045
3046
  code: string;
3046
3047
  path: string;
3047
- message: string;
3048
3048
  statusCode: number;
3049
3049
  timestamp: string;
3050
3050
  details?: unknown;
@@ -3059,17 +3059,17 @@ export declare const crewsContract: {
3059
3059
  path: z.ZodString;
3060
3060
  correlationId: z.ZodOptional<z.ZodString>;
3061
3061
  }, "strip", z.ZodTypeAny, {
3062
+ message: string;
3062
3063
  code: string;
3063
3064
  path: string;
3064
- message: string;
3065
3065
  statusCode: number;
3066
3066
  timestamp: string;
3067
3067
  details?: unknown;
3068
3068
  correlationId?: string | undefined;
3069
3069
  }, {
3070
+ message: string;
3070
3071
  code: string;
3071
3072
  path: string;
3072
- message: string;
3073
3073
  statusCode: number;
3074
3074
  timestamp: string;
3075
3075
  details?: unknown;
@@ -3084,17 +3084,17 @@ export declare const crewsContract: {
3084
3084
  path: z.ZodString;
3085
3085
  correlationId: z.ZodOptional<z.ZodString>;
3086
3086
  }, "strip", z.ZodTypeAny, {
3087
+ message: string;
3087
3088
  code: string;
3088
3089
  path: string;
3089
- message: string;
3090
3090
  statusCode: number;
3091
3091
  timestamp: string;
3092
3092
  details?: unknown;
3093
3093
  correlationId?: string | undefined;
3094
3094
  }, {
3095
+ message: string;
3095
3096
  code: string;
3096
3097
  path: string;
3097
- message: string;
3098
3098
  statusCode: number;
3099
3099
  timestamp: string;
3100
3100
  details?: unknown;
@@ -3134,20 +3134,20 @@ export declare const crewsContract: {
3134
3134
  updatedAt: z.ZodOptional<z.ZodString>;
3135
3135
  }, "strip", z.ZodTypeAny, {
3136
3136
  id: string;
3137
- email: string | null;
3138
- name: string;
3139
3137
  phoneNumber: string;
3140
- notes: string | null;
3138
+ name: string;
3139
+ email: string | null;
3141
3140
  company: string | null;
3141
+ notes: string | null;
3142
3142
  createdAt?: string | undefined;
3143
3143
  updatedAt?: string | undefined;
3144
3144
  }, {
3145
3145
  id: string;
3146
- email: string | null;
3147
- name: string;
3148
3146
  phoneNumber: string;
3149
- notes: string | null;
3147
+ name: string;
3148
+ email: string | null;
3150
3149
  company: string | null;
3150
+ notes: string | null;
3151
3151
  createdAt?: string | undefined;
3152
3152
  updatedAt?: string | undefined;
3153
3153
  }>>;
@@ -3231,11 +3231,11 @@ export declare const crewsContract: {
3231
3231
  } | null;
3232
3232
  leadSupplier: {
3233
3233
  id: string;
3234
- email: string | null;
3235
- name: string;
3236
3234
  phoneNumber: string;
3237
- notes: string | null;
3235
+ name: string;
3236
+ email: string | null;
3238
3237
  company: string | null;
3238
+ notes: string | null;
3239
3239
  createdAt?: string | undefined;
3240
3240
  updatedAt?: string | undefined;
3241
3241
  } | null;
@@ -3275,11 +3275,11 @@ export declare const crewsContract: {
3275
3275
  } | null;
3276
3276
  leadSupplier: {
3277
3277
  id: string;
3278
- email: string | null;
3279
- name: string;
3280
3278
  phoneNumber: string;
3281
- notes: string | null;
3279
+ name: string;
3280
+ email: string | null;
3282
3281
  company: string | null;
3282
+ notes: string | null;
3283
3283
  createdAt?: string | undefined;
3284
3284
  updatedAt?: string | undefined;
3285
3285
  } | null;
@@ -3316,17 +3316,17 @@ export declare const crewsContract: {
3316
3316
  path: z.ZodString;
3317
3317
  correlationId: z.ZodOptional<z.ZodString>;
3318
3318
  }, "strip", z.ZodTypeAny, {
3319
+ message: string;
3319
3320
  code: string;
3320
3321
  path: string;
3321
- message: string;
3322
3322
  statusCode: number;
3323
3323
  timestamp: string;
3324
3324
  details?: unknown;
3325
3325
  correlationId?: string | undefined;
3326
3326
  }, {
3327
+ message: string;
3327
3328
  code: string;
3328
3329
  path: string;
3329
- message: string;
3330
3330
  statusCode: number;
3331
3331
  timestamp: string;
3332
3332
  details?: unknown;
@@ -3341,17 +3341,17 @@ export declare const crewsContract: {
3341
3341
  path: z.ZodString;
3342
3342
  correlationId: z.ZodOptional<z.ZodString>;
3343
3343
  }, "strip", z.ZodTypeAny, {
3344
+ message: string;
3344
3345
  code: string;
3345
3346
  path: string;
3346
- message: string;
3347
3347
  statusCode: number;
3348
3348
  timestamp: string;
3349
3349
  details?: unknown;
3350
3350
  correlationId?: string | undefined;
3351
3351
  }, {
3352
+ message: string;
3352
3353
  code: string;
3353
3354
  path: string;
3354
- message: string;
3355
3355
  statusCode: number;
3356
3356
  timestamp: string;
3357
3357
  details?: unknown;