@dakkitor/api-contracts 1.5.0 → 1.6.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 (129) 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 +1137 -1107
  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 +6 -0
  51. package/dist/index.d.ts.map +1 -1
  52. package/dist/index.js +6 -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 +13 -0
  71. package/dist/outreach/__tests__/outreach-routes.test.js +14 -3
  72. package/dist/outreach/outreach-requests.contract.d.ts +862 -217
  73. package/dist/outreach/outreach-requests.contract.d.ts.map +1 -1
  74. package/dist/outreach/outreach-requests.contract.js +23 -3
  75. package/dist/outreach/outreach-requests.schemas.d.ts +56 -10
  76. package/dist/outreach/outreach-requests.schemas.d.ts.map +1 -1
  77. package/dist/outreach/outreach-requests.schemas.js +3 -0
  78. package/dist/outreach/outreach.contract.d.ts +300 -38
  79. package/dist/outreach/outreach.contract.d.ts.map +1 -1
  80. package/dist/outreach/outreach.contract.js +18 -0
  81. package/dist/outreach/outreach.contract.spec.d.ts +2 -0
  82. package/dist/outreach/outreach.contract.spec.d.ts.map +1 -0
  83. package/dist/outreach/outreach.contract.spec.js +54 -0
  84. package/dist/outreach/outreach.schemas.d.ts +2 -2
  85. package/dist/own-research/own-research.contract.d.ts +775 -775
  86. package/dist/postcodes/postcodes.contract.d.ts +24 -24
  87. package/dist/proofs/proof-type.enum.d.ts +4 -4
  88. package/dist/proofs/proofs.contract.d.ts +363 -363
  89. package/dist/proofs/proofs.dtos.d.ts +124 -124
  90. package/dist/qualifications/qualifications.contract.d.ts +38 -38
  91. package/dist/relay-pods/relay-pod-sessions.contract.d.ts +680 -0
  92. package/dist/relay-pods/relay-pod-sessions.contract.d.ts.map +1 -0
  93. package/dist/relay-pods/relay-pod-sessions.contract.js +67 -0
  94. package/dist/relay-pods/relay-pod-sessions.contract.spec.d.ts +2 -0
  95. package/dist/relay-pods/relay-pod-sessions.contract.spec.d.ts.map +1 -0
  96. package/dist/relay-pods/relay-pod-sessions.contract.spec.js +129 -0
  97. package/dist/relay-pods/relay-pods.contract.d.ts +1569 -0
  98. package/dist/relay-pods/relay-pods.contract.d.ts.map +1 -0
  99. package/dist/relay-pods/relay-pods.contract.js +188 -0
  100. package/dist/relay-pods/relay-pods.contract.spec.d.ts +2 -0
  101. package/dist/relay-pods/relay-pods.contract.spec.d.ts.map +1 -0
  102. package/dist/relay-pods/relay-pods.contract.spec.js +141 -0
  103. package/dist/relay-pods/relay-pods.schemas.d.ts +415 -0
  104. package/dist/relay-pods/relay-pods.schemas.d.ts.map +1 -0
  105. package/dist/relay-pods/relay-pods.schemas.js +112 -0
  106. package/dist/shared/live-booking.schema.d.ts +4 -4
  107. package/dist/shared/summary-schemas.d.ts +6 -6
  108. package/dist/sheets-sync/sheets-sync.contract.d.ts +939 -939
  109. package/dist/telegram/telegram.contract.d.ts +22 -22
  110. package/dist/trades/trades.contract.d.ts +90 -90
  111. package/dist/user-access-grants/user-access-grants.contract.d.ts +165 -165
  112. package/dist/users/__tests__/assignable-roles.spec.d.ts +2 -0
  113. package/dist/users/__tests__/assignable-roles.spec.d.ts.map +1 -0
  114. package/dist/users/__tests__/assignable-roles.spec.js +41 -0
  115. package/dist/users/users.contract.d.ts +399 -393
  116. package/dist/users/users.contract.d.ts.map +1 -1
  117. package/dist/users/users.contract.js +11 -0
  118. package/dist/worker-identity-cases/worker-identity-cases.contract.d.ts +585 -527
  119. package/dist/worker-identity-cases/worker-identity-cases.contract.d.ts.map +1 -1
  120. package/dist/worker-merge-proposals/worker-merge-proposals.contract.d.ts +278 -236
  121. package/dist/worker-merge-proposals/worker-merge-proposals.contract.d.ts.map +1 -1
  122. package/dist/worker-merge-proposals/worker-merge-proposals.contract.js +1 -0
  123. package/dist/worker-source-identity-conflicts/worker-source-identity-conflicts.contract.d.ts +153 -153
  124. package/dist/worker-source-identity-conflicts/worker-source-identity-conflicts.schemas.d.ts +59 -59
  125. package/dist/workers/workers.contract.d.ts +2919 -2919
  126. package/package.json +1 -1
  127. package/dist/bookings/bookings.contract.spec.d.ts +0 -2
  128. package/dist/bookings/bookings.contract.spec.d.ts.map +0 -1
  129. package/dist/bookings/bookings.contract.spec.js +0 -11
@@ -10,35 +10,35 @@ export declare const ConsentLeadSchema: z.ZodObject<{
10
10
  nearestJobDistanceKm: z.ZodNullable<z.ZodNumber>;
11
11
  assignedAt: z.ZodString;
12
12
  }, "strip", z.ZodTypeAny, {
13
+ curatedWorkerId: string;
13
14
  postcode: string | null;
15
+ phoneNumber: string | null;
14
16
  workerName: string;
15
17
  assignmentId: string;
16
- phoneNumber: string | null;
17
- assignedAt: string;
18
- curatedWorkerId: string;
19
18
  phoneId: string | null;
20
19
  matchingJobCount: number;
21
20
  nearestJobDistanceKm: number | null;
21
+ assignedAt: string;
22
22
  }, {
23
+ curatedWorkerId: string;
23
24
  postcode: string | null;
25
+ phoneNumber: string | null;
24
26
  workerName: string;
25
27
  assignmentId: string;
26
- phoneNumber: string | null;
27
- assignedAt: string;
28
- curatedWorkerId: string;
29
28
  phoneId: string | null;
30
29
  matchingJobCount: number;
31
30
  nearestJobDistanceKm: number | null;
31
+ assignedAt: string;
32
32
  }>;
33
33
  export type ConsentLead = z.infer<typeof ConsentLeadSchema>;
34
34
  export declare const DeclineConsentSchema: z.ZodObject<{
35
35
  reason: z.ZodEnum<["NOT_INTERESTED", "ALREADY_WORKING", "OUT_OF_COUNTRY", "WRONG_NUMBER", "NO_ANSWER", "OTHER"]>;
36
36
  doNotContactDays: z.ZodNumber;
37
37
  }, "strip", z.ZodTypeAny, {
38
- reason: "NO_ANSWER" | "NOT_INTERESTED" | "ALREADY_WORKING" | "OUT_OF_COUNTRY" | "WRONG_NUMBER" | "OTHER";
38
+ reason: "NOT_INTERESTED" | "OTHER" | "NO_ANSWER" | "ALREADY_WORKING" | "OUT_OF_COUNTRY" | "WRONG_NUMBER";
39
39
  doNotContactDays: number;
40
40
  }, {
41
- reason: "NO_ANSWER" | "NOT_INTERESTED" | "ALREADY_WORKING" | "OUT_OF_COUNTRY" | "WRONG_NUMBER" | "OTHER";
41
+ reason: "NOT_INTERESTED" | "OTHER" | "NO_ANSWER" | "ALREADY_WORKING" | "OUT_OF_COUNTRY" | "WRONG_NUMBER";
42
42
  doNotContactDays: number;
43
43
  }>;
44
44
  export type DeclineConsent = z.infer<typeof DeclineConsentSchema>;
@@ -65,49 +65,49 @@ export declare const ConsentAdvanceResponseSchema: z.ZodObject<{
65
65
  nearestJobDistanceKm: z.ZodNullable<z.ZodNumber>;
66
66
  assignedAt: z.ZodString;
67
67
  }, "strip", z.ZodTypeAny, {
68
+ curatedWorkerId: string;
68
69
  postcode: string | null;
70
+ phoneNumber: string | null;
69
71
  workerName: string;
70
72
  assignmentId: string;
71
- phoneNumber: string | null;
72
- assignedAt: string;
73
- curatedWorkerId: string;
74
73
  phoneId: string | null;
75
74
  matchingJobCount: number;
76
75
  nearestJobDistanceKm: number | null;
76
+ assignedAt: string;
77
77
  }, {
78
+ curatedWorkerId: string;
78
79
  postcode: string | null;
80
+ phoneNumber: string | null;
79
81
  workerName: string;
80
82
  assignmentId: string;
81
- phoneNumber: string | null;
82
- assignedAt: string;
83
- curatedWorkerId: string;
84
83
  phoneId: string | null;
85
84
  matchingJobCount: number;
86
85
  nearestJobDistanceKm: number | null;
86
+ assignedAt: string;
87
87
  }>>;
88
88
  }, "strip", z.ZodTypeAny, {
89
89
  next: {
90
+ curatedWorkerId: string;
90
91
  postcode: string | null;
92
+ phoneNumber: string | null;
91
93
  workerName: string;
92
94
  assignmentId: string;
93
- phoneNumber: string | null;
94
- assignedAt: string;
95
- curatedWorkerId: string;
96
95
  phoneId: string | null;
97
96
  matchingJobCount: number;
98
97
  nearestJobDistanceKm: number | null;
98
+ assignedAt: string;
99
99
  } | null;
100
100
  }, {
101
101
  next: {
102
+ curatedWorkerId: string;
102
103
  postcode: string | null;
104
+ phoneNumber: string | null;
103
105
  workerName: string;
104
106
  assignmentId: string;
105
- phoneNumber: string | null;
106
- assignedAt: string;
107
- curatedWorkerId: string;
108
107
  phoneId: string | null;
109
108
  matchingJobCount: number;
110
109
  nearestJobDistanceKm: number | null;
110
+ assignedAt: string;
111
111
  } | null;
112
112
  }>;
113
113
  export type ConsentAdvanceResponse = z.infer<typeof ConsentAdvanceResponseSchema>;
@@ -182,23 +182,23 @@ export declare const ConsentJobsResponseSchema: z.ZodObject<{
182
182
  }, "strip", z.ZodTypeAny, {
183
183
  address?: string | null | undefined;
184
184
  postcode?: string | null | undefined;
185
- latitude?: number | null | undefined;
186
- longitude?: number | null | undefined;
187
185
  county?: string | null | undefined;
188
186
  adminDistrict?: string | null | undefined;
189
187
  builtUpArea?: string | null | undefined;
190
188
  postTown?: string | null | undefined;
191
189
  areaCovered?: string | null | undefined;
190
+ latitude?: number | null | undefined;
191
+ longitude?: number | null | undefined;
192
192
  }, {
193
193
  address?: string | null | undefined;
194
194
  postcode?: string | null | undefined;
195
- latitude?: number | null | undefined;
196
- longitude?: number | null | undefined;
197
195
  county?: string | null | undefined;
198
196
  adminDistrict?: string | null | undefined;
199
197
  builtUpArea?: string | null | undefined;
200
198
  postTown?: string | null | undefined;
201
199
  areaCovered?: string | null | undefined;
200
+ latitude?: number | null | undefined;
201
+ longitude?: number | null | undefined;
202
202
  }>>>;
203
203
  offerOpenness: z.ZodDefault<z.ZodEnum<["ACTIVELY_LOOKING", "OPEN", "NOT_INTERESTED"]>>;
204
204
  offerOpennessSetAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>>>;
@@ -225,9 +225,9 @@ export declare const ConsentJobsResponseSchema: z.ZodObject<{
225
225
  active: z.ZodOptional<z.ZodNullable<z.ZodObject<{
226
226
  status: z.ZodEnum<["PENDING", "ACTIVE", "VACATION", "LEFT_THE_SITE", "MEDICAL_LEAVE", "DAY_OFF", "INJURY", "OFF_SCHEDULE"]>;
227
227
  }, "strip", z.ZodTypeAny, {
228
- status: "ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | "OFF_SCHEDULE";
228
+ status: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | "OFF_SCHEDULE";
229
229
  }, {
230
- status: "ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | "OFF_SCHEDULE";
230
+ status: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | "OFF_SCHEDULE";
231
231
  }>>>;
232
232
  activeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
233
233
  bookingAgent: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -236,36 +236,36 @@ export declare const ConsentJobsResponseSchema: z.ZodObject<{
236
236
  lastName: z.ZodString;
237
237
  }, "strip", z.ZodTypeAny, {
238
238
  id: string;
239
- lastName: string;
240
239
  firstName: string;
240
+ lastName: string;
241
241
  }, {
242
242
  id: string;
243
- lastName: string;
244
243
  firstName: string;
244
+ lastName: string;
245
245
  }>>>;
246
246
  }, "strip", z.ZodTypeAny, {
247
- booking?: "REFUSED_BY_CLIENT" | "REFUSED_BY_FIRST_BECAUSE_OF_NATIONALITY" | "REFUSED_BY_FIRST_NOT_ENOUGH_EXPERIENCE" | "REFUSED_BY_FIRST_JOB_FILLED" | "REFUSED_BY_FIRST_IGNORED_DENIED" | "REFUSED_BY_FIRST_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "CONFIRMED" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS" | "DIDNT_START_OVERBOOK_BY_CLIENT" | "DIDNT_START_OVERBOOK_BY_US" | "ANOTHER_SITUATION" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "COMPLETED" | "CANCELLED" | "JOB_CANCELLED" | null | undefined;
247
+ bookingId?: string | null | undefined;
248
+ booking?: "COMPLETED" | "CANCELLED" | "REFUSED_BY_CLIENT" | "REFUSED_BY_FIRST_BECAUSE_OF_NATIONALITY" | "REFUSED_BY_FIRST_NOT_ENOUGH_EXPERIENCE" | "REFUSED_BY_FIRST_JOB_FILLED" | "REFUSED_BY_FIRST_IGNORED_DENIED" | "REFUSED_BY_FIRST_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "CONFIRMED" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS" | "DIDNT_START_OVERBOOK_BY_CLIENT" | "DIDNT_START_OVERBOOK_BY_US" | "ANOTHER_SITUATION" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "JOB_CANCELLED" | null | undefined;
248
249
  active?: {
249
- status: "ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | "OFF_SCHEDULE";
250
+ status: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | "OFF_SCHEDULE";
250
251
  } | null | undefined;
251
- bookingId?: string | null | undefined;
252
252
  activeId?: string | null | undefined;
253
253
  bookingAgent?: {
254
254
  id: string;
255
- lastName: string;
256
255
  firstName: string;
256
+ lastName: string;
257
257
  } | null | undefined;
258
258
  }, {
259
- booking?: "REFUSED_BY_CLIENT" | "REFUSED_BY_FIRST_BECAUSE_OF_NATIONALITY" | "REFUSED_BY_FIRST_NOT_ENOUGH_EXPERIENCE" | "REFUSED_BY_FIRST_JOB_FILLED" | "REFUSED_BY_FIRST_IGNORED_DENIED" | "REFUSED_BY_FIRST_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "CONFIRMED" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS" | "DIDNT_START_OVERBOOK_BY_CLIENT" | "DIDNT_START_OVERBOOK_BY_US" | "ANOTHER_SITUATION" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "COMPLETED" | "CANCELLED" | "JOB_CANCELLED" | null | undefined;
259
+ bookingId?: string | null | undefined;
260
+ booking?: "COMPLETED" | "CANCELLED" | "REFUSED_BY_CLIENT" | "REFUSED_BY_FIRST_BECAUSE_OF_NATIONALITY" | "REFUSED_BY_FIRST_NOT_ENOUGH_EXPERIENCE" | "REFUSED_BY_FIRST_JOB_FILLED" | "REFUSED_BY_FIRST_IGNORED_DENIED" | "REFUSED_BY_FIRST_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "CONFIRMED" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS" | "DIDNT_START_OVERBOOK_BY_CLIENT" | "DIDNT_START_OVERBOOK_BY_US" | "ANOTHER_SITUATION" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "JOB_CANCELLED" | null | undefined;
260
261
  active?: {
261
- status: "ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | "OFF_SCHEDULE";
262
+ status: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | "OFF_SCHEDULE";
262
263
  } | null | undefined;
263
- bookingId?: string | null | undefined;
264
264
  activeId?: string | null | undefined;
265
265
  bookingAgent?: {
266
266
  id: string;
267
- lastName: string;
268
267
  firstName: string;
268
+ lastName: string;
269
269
  } | null | undefined;
270
270
  }>>;
271
271
  occupancyStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ACTIVE", "BOOKED"]>>>;
@@ -283,14 +283,14 @@ export declare const ConsentJobsResponseSchema: z.ZodObject<{
283
283
  setAt: z.ZodString;
284
284
  }, "strip", z.ZodTypeAny, {
285
285
  reason: string;
286
- note: string | null;
287
286
  until: string | null;
287
+ note: string | null;
288
288
  setByName: string;
289
289
  setAt: string;
290
290
  }, {
291
291
  reason: string;
292
- note: string | null;
293
292
  until: string | null;
293
+ note: string | null;
294
294
  setByName: string;
295
295
  setAt: string;
296
296
  }>>;
@@ -302,14 +302,14 @@ export declare const ConsentJobsResponseSchema: z.ZodObject<{
302
302
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
303
303
  }, "strip", z.ZodTypeAny, {
304
304
  id: string;
305
- updatedAt: string;
306
305
  createdAt: string;
306
+ updatedAt: string;
307
307
  tradeId: string;
308
308
  mainTrade: boolean;
309
309
  }, {
310
310
  id: string;
311
- updatedAt: string | Date;
312
311
  createdAt: string | Date;
312
+ updatedAt: string | Date;
313
313
  tradeId: string;
314
314
  mainTrade: boolean;
315
315
  }>, "many">>>;
@@ -325,22 +325,22 @@ export declare const ConsentJobsResponseSchema: z.ZodObject<{
325
325
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
326
326
  }, "strip", z.ZodTypeAny, {
327
327
  id: string;
328
- updatedAt: string;
329
328
  createdAt: string;
329
+ proofDocumentFileId: string | null;
330
+ referenceNumber: string | null;
330
331
  qualificationId: string;
331
332
  qualificationTypeId: string | null;
332
- referenceNumber: string | null;
333
- proofDocumentFileId: string | null;
333
+ updatedAt: string;
334
334
  issueDate?: string | null | undefined;
335
335
  expiryDate?: string | null | undefined;
336
336
  }, {
337
337
  id: string;
338
- updatedAt: string | Date;
339
338
  createdAt: string | Date;
339
+ proofDocumentFileId: string | null;
340
+ referenceNumber: string | null;
340
341
  qualificationId: string;
341
342
  qualificationTypeId: string | null;
342
- referenceNumber: string | null;
343
- proofDocumentFileId: string | null;
343
+ updatedAt: string | Date;
344
344
  issueDate?: string | Date | null | undefined;
345
345
  expiryDate?: string | Date | null | undefined;
346
346
  }>, "many">>>;
@@ -354,15 +354,15 @@ export declare const ConsentJobsResponseSchema: z.ZodObject<{
354
354
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
355
355
  }, "strip", z.ZodTypeAny, {
356
356
  id: string;
357
- updatedAt: string;
358
357
  createdAt: string;
358
+ updatedAt: string;
359
359
  phoneNumber: string;
360
360
  isPrimary: boolean;
361
361
  description?: string | null | undefined;
362
362
  }, {
363
363
  id: string;
364
- updatedAt: string | Date;
365
364
  createdAt: string | Date;
365
+ updatedAt: string | Date;
366
366
  phoneNumber: string;
367
367
  description?: string | null | undefined;
368
368
  isPrimary?: boolean | undefined;
@@ -377,233 +377,233 @@ export declare const ConsentJobsResponseSchema: z.ZodObject<{
377
377
  updatedAt: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>>;
378
378
  }, "strip", z.ZodTypeAny, {
379
379
  id: string;
380
- updatedAt?: string | undefined;
381
380
  createdAt?: string | undefined;
382
381
  expiryDate?: string | null | undefined;
382
+ updatedAt?: string | undefined;
383
383
  fileId?: string | null | undefined;
384
384
  documentType?: "unknown" | "passport" | "id_card" | "driving_license" | null | undefined;
385
385
  documentNumber?: string | null | undefined;
386
386
  }, {
387
387
  id: string;
388
- updatedAt?: string | Date | undefined;
389
388
  createdAt?: string | Date | undefined;
390
389
  expiryDate?: string | Date | null | undefined;
390
+ updatedAt?: string | Date | undefined;
391
391
  fileId?: string | null | undefined;
392
392
  documentType?: "unknown" | "passport" | "id_card" | "driving_license" | null | undefined;
393
393
  documentNumber?: string | null | undefined;
394
394
  }>, "many">>>;
395
395
  }, "strip", z.ZodTypeAny, {
396
396
  id: string;
397
- updatedAt: string;
398
397
  createdAt: string;
399
398
  firstName: string;
399
+ updatedAt: string;
400
400
  hasTools: boolean | null;
401
401
  hasPpe: boolean | null;
402
+ offerOpenness: "NOT_INTERESTED" | "ACTIVELY_LOOKING" | "OPEN";
402
403
  blacklisted: boolean;
403
- offerOpenness: "ACTIVELY_LOOKING" | "OPEN" | "NOT_INTERESTED";
404
+ suppression: {
405
+ reason: string;
406
+ until: string | null;
407
+ note: string | null;
408
+ setByName: string;
409
+ setAt: string;
410
+ } | null;
404
411
  idDocuments: {
405
412
  id: string;
406
- updatedAt?: string | undefined;
407
413
  createdAt?: string | undefined;
408
414
  expiryDate?: string | null | undefined;
415
+ updatedAt?: string | undefined;
409
416
  fileId?: string | null | undefined;
410
417
  documentType?: "unknown" | "passport" | "id_card" | "driving_license" | null | undefined;
411
418
  documentNumber?: string | null | undefined;
412
419
  }[];
413
- suppression: {
414
- reason: string;
415
- note: string | null;
416
- until: string | null;
417
- setByName: string;
418
- setAt: string;
419
- } | null;
420
+ distanceKm?: number | null | undefined;
421
+ lastName?: string | null | undefined;
422
+ bookingHistory?: {
423
+ workedTotal: number;
424
+ workedByMe: number;
425
+ noShowTotal: number;
426
+ noShowByMe: number;
427
+ } | undefined;
428
+ email?: string | null | undefined;
429
+ nino?: string | null | undefined;
430
+ dateOfBirth?: string | null | undefined;
431
+ bio?: string | null | undefined;
432
+ englishLevel?: "NONE" | "BASIC" | "INTERMEDIATE" | "ADVANCED" | "NATIVE" | null | undefined;
433
+ nationality?: "AFGHAN" | "ALBANIAN" | "ALGERIAN" | "AMERICAN" | "ANDORRAN" | "ANGOLAN" | "ANTIGUANS" | "ARGENTINEAN" | "ARMENIAN" | "AUSTRALIAN" | "AUSTRIAN" | "AZERBAIJANI" | "BAHAMIAN" | "BAHRAINI" | "BANGLADESHI" | "BARBADIAN" | "BARBUDANS" | "BELARUSIAN" | "BELGIAN" | "BELIZEAN" | "BENINESE" | "BHUTANESE" | "BOLIVIAN" | "BOSNIAN" | "BRAZILIAN" | "BRITISH" | "BRUNEIAN" | "BULGARIAN" | "BURKINABE" | "BURMESE" | "BURUNDIAN" | "CAMBODIAN" | "CAMEROONIAN" | "CANADIAN" | "CAPE_VERDEAN" | "CENTRAL_AFRICAN" | "CHADIAN" | "CHILEAN" | "CHINESE" | "COLOMBIAN" | "COMORAN" | "CONGOLESE" | "COSTA_RICAN" | "CROATIAN" | "CUBAN" | "CYPRIOT" | "CZECH" | "DANISH" | "DJIBOUTI" | "DOMINICAN" | "DUTCH" | "EAST_TIMORESE" | "ECUADOREAN" | "EGYPTIAN" | "EMIRIAN" | "EQUATORIAL_GUINEAN" | "ERITREAN" | "ESTONIAN" | "ETHIOPIAN" | "FIJIAN" | "FILIPINO" | "FINNISH" | "FRENCH" | "GABONESE" | "GAMBIAN" | "GEORGIAN" | "GERMAN" | "GHANAIAN" | "GREEK" | "GRENADIAN" | "GUATEMALAN" | "GUINEA_BISSAUAN" | "GUINEAN" | "GUYANESE" | "HAITIAN" | "HERZEGOVINIAN" | "HONDURAN" | "HUNGARIAN" | "ICELANDER" | "INDIAN" | "INDONESIAN" | "IRANIAN" | "IRAQI" | "IRISH" | "ISRAELI" | "ITALIAN" | "IVORIAN" | "JAMAICAN" | "JAPANESE" | "JORDANIAN" | "KAZAKHSTANI" | "KENYAN" | "KITTIAN_AND_NEVISIAN" | "KUWAITI" | "KYRGYZ" | "LAOTIAN" | "LATVIAN" | "LEBANESE" | "LIBERIAN" | "LIBYAN" | "LIECHTENSTEINER" | "LITHUANIAN" | "LUXEMBOURGER" | "MACEDONIAN" | "MALAGASY" | "MALAWIAN" | "MALAYSIAN" | "MALDIVAN" | "MALIAN" | "MALTESE" | "MARSHALLESE" | "MAURITANIAN" | "MAURITIAN" | "MEXICAN" | "MICRONESIAN" | "MOLDOVAN" | "MONACAN" | "MONGOLIAN" | "MOROCCAN" | "MOSOTHO" | "MOTSWANA" | "MOZAMBICAN" | "NAMIBIAN" | "NAURUAN" | "NEPALESE" | "NEW_ZEALANDER" | "NI_VANUATU" | "NICARAGUAN" | "NIGERIEN" | "NIGERIAN" | "NORTH_KOREAN" | "NORTHERN_IRISH" | "NORWEGIAN" | "OMANI" | "PAKISTANI" | "PALAUAN" | "PANAMANIAN" | "PAPUA_NEW_GUINEAN" | "PARAGUAYAN" | "PERUVIAN" | "POLISH" | "PORTUGUESE" | "QATARI" | "ROMANIAN" | "RUSSIAN" | "RWANDAN" | "SAINT_LUCIAN" | "SALVADORAN" | "SAMOAN" | "SAN_MARINESE" | "SAO_TOMEAN" | "SAUDI" | "SCOTTISH" | "SENEGALESE" | "SERBIAN" | "SEYCHELLOIS" | "SIERRA_LEONEAN" | "SINGAPOREAN" | "SLOVAKIAN" | "SLOVENIAN" | "SOLOMON_ISLANDER" | "SOMALI" | "SOUTH_AFRICAN" | "SOUTH_KOREAN" | "SOUTH_SUDANESE" | "SPANISH" | "SRI_LANKAN" | "SUDANESE" | "SURINAMER" | "SWAZI" | "SWEDISH" | "SWISS" | "SYRIAN" | "TAIWANESE" | "TAJIK" | "TANZANIAN" | "THAI" | "TOGOLESE" | "TONGAN" | "TRINIDADIAN_OR_TOBAGONIAN" | "TUNISIAN" | "TURKISH" | "TUVALUAN" | "UGANDAN" | "UKRAINIAN" | "URUGUAYAN" | "UZBEKISTANI" | "VENEZUELAN" | "VIETNAMESE" | "WELSH" | "YEMENITE" | "ZAMBIAN" | "ZIMBABWEAN" | null | undefined;
434
+ transportation?: {
435
+ methods?: ("OWN_CAR" | "OWN_VAN" | "MOTORCYCLE" | "PUBLIC_TRANSPORT" | "BICYCLE" | "WALK")[] | null | undefined;
436
+ preferredMethod?: "OWN_CAR" | "OWN_VAN" | "MOTORCYCLE" | "PUBLIC_TRANSPORT" | "BICYCLE" | "WALK" | null | undefined;
437
+ } | null | undefined;
420
438
  location?: {
421
439
  address?: string | null | undefined;
422
440
  postcode?: string | null | undefined;
423
- latitude?: number | null | undefined;
424
- longitude?: number | null | undefined;
425
441
  county?: string | null | undefined;
426
442
  adminDistrict?: string | null | undefined;
427
443
  builtUpArea?: string | null | undefined;
428
444
  postTown?: string | null | undefined;
429
445
  areaCovered?: string | null | undefined;
446
+ latitude?: number | null | undefined;
447
+ longitude?: number | null | undefined;
430
448
  } | null | undefined;
431
- blacklistReason?: string | null | undefined;
432
- email?: string | null | undefined;
433
- lastName?: string | null | undefined;
434
- englishLevel?: "NONE" | "BASIC" | "INTERMEDIATE" | "ADVANCED" | "NATIVE" | null | undefined;
435
- nationality?: "AFGHAN" | "ALBANIAN" | "ALGERIAN" | "AMERICAN" | "ANDORRAN" | "ANGOLAN" | "ANTIGUANS" | "ARGENTINEAN" | "ARMENIAN" | "AUSTRALIAN" | "AUSTRIAN" | "AZERBAIJANI" | "BAHAMIAN" | "BAHRAINI" | "BANGLADESHI" | "BARBADIAN" | "BARBUDANS" | "BELARUSIAN" | "BELGIAN" | "BELIZEAN" | "BENINESE" | "BHUTANESE" | "BOLIVIAN" | "BOSNIAN" | "BRAZILIAN" | "BRITISH" | "BRUNEIAN" | "BULGARIAN" | "BURKINABE" | "BURMESE" | "BURUNDIAN" | "CAMBODIAN" | "CAMEROONIAN" | "CANADIAN" | "CAPE_VERDEAN" | "CENTRAL_AFRICAN" | "CHADIAN" | "CHILEAN" | "CHINESE" | "COLOMBIAN" | "COMORAN" | "CONGOLESE" | "COSTA_RICAN" | "CROATIAN" | "CUBAN" | "CYPRIOT" | "CZECH" | "DANISH" | "DJIBOUTI" | "DOMINICAN" | "DUTCH" | "EAST_TIMORESE" | "ECUADOREAN" | "EGYPTIAN" | "EMIRIAN" | "EQUATORIAL_GUINEAN" | "ERITREAN" | "ESTONIAN" | "ETHIOPIAN" | "FIJIAN" | "FILIPINO" | "FINNISH" | "FRENCH" | "GABONESE" | "GAMBIAN" | "GEORGIAN" | "GERMAN" | "GHANAIAN" | "GREEK" | "GRENADIAN" | "GUATEMALAN" | "GUINEA_BISSAUAN" | "GUINEAN" | "GUYANESE" | "HAITIAN" | "HERZEGOVINIAN" | "HONDURAN" | "HUNGARIAN" | "ICELANDER" | "INDIAN" | "INDONESIAN" | "IRANIAN" | "IRAQI" | "IRISH" | "ISRAELI" | "ITALIAN" | "IVORIAN" | "JAMAICAN" | "JAPANESE" | "JORDANIAN" | "KAZAKHSTANI" | "KENYAN" | "KITTIAN_AND_NEVISIAN" | "KUWAITI" | "KYRGYZ" | "LAOTIAN" | "LATVIAN" | "LEBANESE" | "LIBERIAN" | "LIBYAN" | "LIECHTENSTEINER" | "LITHUANIAN" | "LUXEMBOURGER" | "MACEDONIAN" | "MALAGASY" | "MALAWIAN" | "MALAYSIAN" | "MALDIVAN" | "MALIAN" | "MALTESE" | "MARSHALLESE" | "MAURITANIAN" | "MAURITIAN" | "MEXICAN" | "MICRONESIAN" | "MOLDOVAN" | "MONACAN" | "MONGOLIAN" | "MOROCCAN" | "MOSOTHO" | "MOTSWANA" | "MOZAMBICAN" | "NAMIBIAN" | "NAURUAN" | "NEPALESE" | "NEW_ZEALANDER" | "NI_VANUATU" | "NICARAGUAN" | "NIGERIEN" | "NIGERIAN" | "NORTH_KOREAN" | "NORTHERN_IRISH" | "NORWEGIAN" | "OMANI" | "PAKISTANI" | "PALAUAN" | "PANAMANIAN" | "PAPUA_NEW_GUINEAN" | "PARAGUAYAN" | "PERUVIAN" | "POLISH" | "PORTUGUESE" | "QATARI" | "ROMANIAN" | "RUSSIAN" | "RWANDAN" | "SAINT_LUCIAN" | "SALVADORAN" | "SAMOAN" | "SAN_MARINESE" | "SAO_TOMEAN" | "SAUDI" | "SCOTTISH" | "SENEGALESE" | "SERBIAN" | "SEYCHELLOIS" | "SIERRA_LEONEAN" | "SINGAPOREAN" | "SLOVAKIAN" | "SLOVENIAN" | "SOLOMON_ISLANDER" | "SOMALI" | "SOUTH_AFRICAN" | "SOUTH_KOREAN" | "SOUTH_SUDANESE" | "SPANISH" | "SRI_LANKAN" | "SUDANESE" | "SURINAMER" | "SWAZI" | "SWEDISH" | "SWISS" | "SYRIAN" | "TAIWANESE" | "TAJIK" | "TANZANIAN" | "THAI" | "TOGOLESE" | "TONGAN" | "TRINIDADIAN_OR_TOBAGONIAN" | "TUNISIAN" | "TURKISH" | "TUVALUAN" | "UGANDAN" | "UKRAINIAN" | "URUGUAYAN" | "UZBEKISTANI" | "VENEZUELAN" | "VIETNAMESE" | "WELSH" | "YEMENITE" | "ZAMBIAN" | "ZIMBABWEAN" | null | undefined;
436
- transportation?: {
437
- methods?: ("OWN_CAR" | "OWN_VAN" | "MOTORCYCLE" | "PUBLIC_TRANSPORT" | "BICYCLE" | "WALK")[] | null | undefined;
438
- preferredMethod?: "OWN_CAR" | "OWN_VAN" | "MOTORCYCLE" | "PUBLIC_TRANSPORT" | "BICYCLE" | "WALK" | null | undefined;
439
- } | null | undefined;
440
- dateOfBirth?: string | null | undefined;
441
- bio?: string | null | undefined;
442
- nino?: string | null | undefined;
449
+ offerOpennessSetAt?: string | null | undefined;
443
450
  offerNote?: string | null | undefined;
444
- phoneNumbers?: {
445
- id: string;
446
- updatedAt: string;
447
- createdAt: string;
448
- phoneNumber: string;
449
- isPrimary: boolean;
450
- description?: string | null | undefined;
451
- }[] | null | undefined;
452
- trades?: {
453
- id: string;
454
- updatedAt: string;
455
- createdAt: string;
456
- tradeId: string;
457
- mainTrade: boolean;
458
- }[] | null | undefined;
459
- qualifications?: {
460
- id: string;
461
- updatedAt: string;
462
- createdAt: string;
463
- qualificationId: string;
464
- qualificationTypeId: string | null;
465
- referenceNumber: string | null;
466
- proofDocumentFileId: string | null;
467
- issueDate?: string | null | undefined;
468
- expiryDate?: string | null | undefined;
469
- }[] | null | undefined;
451
+ offerNoteUpdatedAt?: string | null | undefined;
452
+ offerSignalUpdatedById?: string | null | undefined;
453
+ offerSignalUpdatedByName?: string | null | undefined;
470
454
  shareCode?: {
471
455
  code: string | null;
472
456
  expiryDate?: string | null | undefined;
473
457
  fileId?: string | null | undefined;
474
458
  } | null | undefined;
475
459
  liveStatus?: {
476
- booking?: "REFUSED_BY_CLIENT" | "REFUSED_BY_FIRST_BECAUSE_OF_NATIONALITY" | "REFUSED_BY_FIRST_NOT_ENOUGH_EXPERIENCE" | "REFUSED_BY_FIRST_JOB_FILLED" | "REFUSED_BY_FIRST_IGNORED_DENIED" | "REFUSED_BY_FIRST_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "CONFIRMED" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS" | "DIDNT_START_OVERBOOK_BY_CLIENT" | "DIDNT_START_OVERBOOK_BY_US" | "ANOTHER_SITUATION" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "COMPLETED" | "CANCELLED" | "JOB_CANCELLED" | null | undefined;
460
+ bookingId?: string | null | undefined;
461
+ booking?: "COMPLETED" | "CANCELLED" | "REFUSED_BY_CLIENT" | "REFUSED_BY_FIRST_BECAUSE_OF_NATIONALITY" | "REFUSED_BY_FIRST_NOT_ENOUGH_EXPERIENCE" | "REFUSED_BY_FIRST_JOB_FILLED" | "REFUSED_BY_FIRST_IGNORED_DENIED" | "REFUSED_BY_FIRST_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "CONFIRMED" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS" | "DIDNT_START_OVERBOOK_BY_CLIENT" | "DIDNT_START_OVERBOOK_BY_US" | "ANOTHER_SITUATION" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "JOB_CANCELLED" | null | undefined;
477
462
  active?: {
478
- status: "ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | "OFF_SCHEDULE";
463
+ status: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | "OFF_SCHEDULE";
479
464
  } | null | undefined;
480
- bookingId?: string | null | undefined;
481
465
  activeId?: string | null | undefined;
482
466
  bookingAgent?: {
483
467
  id: string;
484
- lastName: string;
485
468
  firstName: string;
469
+ lastName: string;
486
470
  } | null | undefined;
487
471
  } | undefined;
488
- offerOpennessSetAt?: string | null | undefined;
489
- offerNoteUpdatedAt?: string | null | undefined;
490
472
  occupancyStatus?: "ACTIVE" | "BOOKED" | null | undefined;
491
- distanceKm?: number | null | undefined;
492
- bookingHistory?: {
493
- workedTotal: number;
494
- workedByMe: number;
495
- noShowTotal: number;
496
- noShowByMe: number;
497
- } | undefined;
498
- offerSignalUpdatedById?: string | null | undefined;
499
- offerSignalUpdatedByName?: string | null | undefined;
500
473
  workingUntil?: string | null | undefined;
474
+ blacklistReason?: string | null | undefined;
475
+ trades?: {
476
+ id: string;
477
+ createdAt: string;
478
+ updatedAt: string;
479
+ tradeId: string;
480
+ mainTrade: boolean;
481
+ }[] | null | undefined;
482
+ qualifications?: {
483
+ id: string;
484
+ createdAt: string;
485
+ proofDocumentFileId: string | null;
486
+ referenceNumber: string | null;
487
+ qualificationId: string;
488
+ qualificationTypeId: string | null;
489
+ updatedAt: string;
490
+ issueDate?: string | null | undefined;
491
+ expiryDate?: string | null | undefined;
492
+ }[] | null | undefined;
493
+ phoneNumbers?: {
494
+ id: string;
495
+ createdAt: string;
496
+ updatedAt: string;
497
+ phoneNumber: string;
498
+ isPrimary: boolean;
499
+ description?: string | null | undefined;
500
+ }[] | null | undefined;
501
501
  }, {
502
502
  id: string;
503
- updatedAt: string | Date;
504
503
  createdAt: string | Date;
505
504
  firstName: string;
505
+ updatedAt: string | Date;
506
506
  hasTools: boolean | null;
507
507
  hasPpe: boolean | null;
508
508
  blacklisted: boolean;
509
509
  suppression: {
510
510
  reason: string;
511
- note: string | null;
512
511
  until: string | null;
512
+ note: string | null;
513
513
  setByName: string;
514
514
  setAt: string;
515
515
  } | null;
516
+ distanceKm?: number | null | undefined;
517
+ lastName?: string | null | undefined;
518
+ bookingHistory?: {
519
+ workedTotal: number;
520
+ workedByMe: number;
521
+ noShowTotal: number;
522
+ noShowByMe: number;
523
+ } | undefined;
524
+ email?: string | null | undefined;
525
+ nino?: string | null | undefined;
526
+ dateOfBirth?: string | Date | null | undefined;
527
+ bio?: string | null | undefined;
528
+ englishLevel?: "NONE" | "BASIC" | "INTERMEDIATE" | "ADVANCED" | "NATIVE" | null | undefined;
529
+ nationality?: "AFGHAN" | "ALBANIAN" | "ALGERIAN" | "AMERICAN" | "ANDORRAN" | "ANGOLAN" | "ANTIGUANS" | "ARGENTINEAN" | "ARMENIAN" | "AUSTRALIAN" | "AUSTRIAN" | "AZERBAIJANI" | "BAHAMIAN" | "BAHRAINI" | "BANGLADESHI" | "BARBADIAN" | "BARBUDANS" | "BELARUSIAN" | "BELGIAN" | "BELIZEAN" | "BENINESE" | "BHUTANESE" | "BOLIVIAN" | "BOSNIAN" | "BRAZILIAN" | "BRITISH" | "BRUNEIAN" | "BULGARIAN" | "BURKINABE" | "BURMESE" | "BURUNDIAN" | "CAMBODIAN" | "CAMEROONIAN" | "CANADIAN" | "CAPE_VERDEAN" | "CENTRAL_AFRICAN" | "CHADIAN" | "CHILEAN" | "CHINESE" | "COLOMBIAN" | "COMORAN" | "CONGOLESE" | "COSTA_RICAN" | "CROATIAN" | "CUBAN" | "CYPRIOT" | "CZECH" | "DANISH" | "DJIBOUTI" | "DOMINICAN" | "DUTCH" | "EAST_TIMORESE" | "ECUADOREAN" | "EGYPTIAN" | "EMIRIAN" | "EQUATORIAL_GUINEAN" | "ERITREAN" | "ESTONIAN" | "ETHIOPIAN" | "FIJIAN" | "FILIPINO" | "FINNISH" | "FRENCH" | "GABONESE" | "GAMBIAN" | "GEORGIAN" | "GERMAN" | "GHANAIAN" | "GREEK" | "GRENADIAN" | "GUATEMALAN" | "GUINEA_BISSAUAN" | "GUINEAN" | "GUYANESE" | "HAITIAN" | "HERZEGOVINIAN" | "HONDURAN" | "HUNGARIAN" | "ICELANDER" | "INDIAN" | "INDONESIAN" | "IRANIAN" | "IRAQI" | "IRISH" | "ISRAELI" | "ITALIAN" | "IVORIAN" | "JAMAICAN" | "JAPANESE" | "JORDANIAN" | "KAZAKHSTANI" | "KENYAN" | "KITTIAN_AND_NEVISIAN" | "KUWAITI" | "KYRGYZ" | "LAOTIAN" | "LATVIAN" | "LEBANESE" | "LIBERIAN" | "LIBYAN" | "LIECHTENSTEINER" | "LITHUANIAN" | "LUXEMBOURGER" | "MACEDONIAN" | "MALAGASY" | "MALAWIAN" | "MALAYSIAN" | "MALDIVAN" | "MALIAN" | "MALTESE" | "MARSHALLESE" | "MAURITANIAN" | "MAURITIAN" | "MEXICAN" | "MICRONESIAN" | "MOLDOVAN" | "MONACAN" | "MONGOLIAN" | "MOROCCAN" | "MOSOTHO" | "MOTSWANA" | "MOZAMBICAN" | "NAMIBIAN" | "NAURUAN" | "NEPALESE" | "NEW_ZEALANDER" | "NI_VANUATU" | "NICARAGUAN" | "NIGERIEN" | "NIGERIAN" | "NORTH_KOREAN" | "NORTHERN_IRISH" | "NORWEGIAN" | "OMANI" | "PAKISTANI" | "PALAUAN" | "PANAMANIAN" | "PAPUA_NEW_GUINEAN" | "PARAGUAYAN" | "PERUVIAN" | "POLISH" | "PORTUGUESE" | "QATARI" | "ROMANIAN" | "RUSSIAN" | "RWANDAN" | "SAINT_LUCIAN" | "SALVADORAN" | "SAMOAN" | "SAN_MARINESE" | "SAO_TOMEAN" | "SAUDI" | "SCOTTISH" | "SENEGALESE" | "SERBIAN" | "SEYCHELLOIS" | "SIERRA_LEONEAN" | "SINGAPOREAN" | "SLOVAKIAN" | "SLOVENIAN" | "SOLOMON_ISLANDER" | "SOMALI" | "SOUTH_AFRICAN" | "SOUTH_KOREAN" | "SOUTH_SUDANESE" | "SPANISH" | "SRI_LANKAN" | "SUDANESE" | "SURINAMER" | "SWAZI" | "SWEDISH" | "SWISS" | "SYRIAN" | "TAIWANESE" | "TAJIK" | "TANZANIAN" | "THAI" | "TOGOLESE" | "TONGAN" | "TRINIDADIAN_OR_TOBAGONIAN" | "TUNISIAN" | "TURKISH" | "TUVALUAN" | "UGANDAN" | "UKRAINIAN" | "URUGUAYAN" | "UZBEKISTANI" | "VENEZUELAN" | "VIETNAMESE" | "WELSH" | "YEMENITE" | "ZAMBIAN" | "ZIMBABWEAN" | null | undefined;
530
+ transportation?: {
531
+ methods?: ("OWN_CAR" | "OWN_VAN" | "MOTORCYCLE" | "PUBLIC_TRANSPORT" | "BICYCLE" | "WALK")[] | null | undefined;
532
+ preferredMethod?: "OWN_CAR" | "OWN_VAN" | "MOTORCYCLE" | "PUBLIC_TRANSPORT" | "BICYCLE" | "WALK" | null | undefined;
533
+ } | null | undefined;
516
534
  location?: {
517
535
  address?: string | null | undefined;
518
536
  postcode?: string | null | undefined;
519
- latitude?: number | null | undefined;
520
- longitude?: number | null | undefined;
521
537
  county?: string | null | undefined;
522
538
  adminDistrict?: string | null | undefined;
523
539
  builtUpArea?: string | null | undefined;
524
540
  postTown?: string | null | undefined;
525
541
  areaCovered?: string | null | undefined;
542
+ latitude?: number | null | undefined;
543
+ longitude?: number | null | undefined;
526
544
  } | null | undefined;
527
- blacklistReason?: string | null | undefined;
528
- email?: string | null | undefined;
529
- lastName?: string | null | undefined;
530
- englishLevel?: "NONE" | "BASIC" | "INTERMEDIATE" | "ADVANCED" | "NATIVE" | null | undefined;
531
- nationality?: "AFGHAN" | "ALBANIAN" | "ALGERIAN" | "AMERICAN" | "ANDORRAN" | "ANGOLAN" | "ANTIGUANS" | "ARGENTINEAN" | "ARMENIAN" | "AUSTRALIAN" | "AUSTRIAN" | "AZERBAIJANI" | "BAHAMIAN" | "BAHRAINI" | "BANGLADESHI" | "BARBADIAN" | "BARBUDANS" | "BELARUSIAN" | "BELGIAN" | "BELIZEAN" | "BENINESE" | "BHUTANESE" | "BOLIVIAN" | "BOSNIAN" | "BRAZILIAN" | "BRITISH" | "BRUNEIAN" | "BULGARIAN" | "BURKINABE" | "BURMESE" | "BURUNDIAN" | "CAMBODIAN" | "CAMEROONIAN" | "CANADIAN" | "CAPE_VERDEAN" | "CENTRAL_AFRICAN" | "CHADIAN" | "CHILEAN" | "CHINESE" | "COLOMBIAN" | "COMORAN" | "CONGOLESE" | "COSTA_RICAN" | "CROATIAN" | "CUBAN" | "CYPRIOT" | "CZECH" | "DANISH" | "DJIBOUTI" | "DOMINICAN" | "DUTCH" | "EAST_TIMORESE" | "ECUADOREAN" | "EGYPTIAN" | "EMIRIAN" | "EQUATORIAL_GUINEAN" | "ERITREAN" | "ESTONIAN" | "ETHIOPIAN" | "FIJIAN" | "FILIPINO" | "FINNISH" | "FRENCH" | "GABONESE" | "GAMBIAN" | "GEORGIAN" | "GERMAN" | "GHANAIAN" | "GREEK" | "GRENADIAN" | "GUATEMALAN" | "GUINEA_BISSAUAN" | "GUINEAN" | "GUYANESE" | "HAITIAN" | "HERZEGOVINIAN" | "HONDURAN" | "HUNGARIAN" | "ICELANDER" | "INDIAN" | "INDONESIAN" | "IRANIAN" | "IRAQI" | "IRISH" | "ISRAELI" | "ITALIAN" | "IVORIAN" | "JAMAICAN" | "JAPANESE" | "JORDANIAN" | "KAZAKHSTANI" | "KENYAN" | "KITTIAN_AND_NEVISIAN" | "KUWAITI" | "KYRGYZ" | "LAOTIAN" | "LATVIAN" | "LEBANESE" | "LIBERIAN" | "LIBYAN" | "LIECHTENSTEINER" | "LITHUANIAN" | "LUXEMBOURGER" | "MACEDONIAN" | "MALAGASY" | "MALAWIAN" | "MALAYSIAN" | "MALDIVAN" | "MALIAN" | "MALTESE" | "MARSHALLESE" | "MAURITANIAN" | "MAURITIAN" | "MEXICAN" | "MICRONESIAN" | "MOLDOVAN" | "MONACAN" | "MONGOLIAN" | "MOROCCAN" | "MOSOTHO" | "MOTSWANA" | "MOZAMBICAN" | "NAMIBIAN" | "NAURUAN" | "NEPALESE" | "NEW_ZEALANDER" | "NI_VANUATU" | "NICARAGUAN" | "NIGERIEN" | "NIGERIAN" | "NORTH_KOREAN" | "NORTHERN_IRISH" | "NORWEGIAN" | "OMANI" | "PAKISTANI" | "PALAUAN" | "PANAMANIAN" | "PAPUA_NEW_GUINEAN" | "PARAGUAYAN" | "PERUVIAN" | "POLISH" | "PORTUGUESE" | "QATARI" | "ROMANIAN" | "RUSSIAN" | "RWANDAN" | "SAINT_LUCIAN" | "SALVADORAN" | "SAMOAN" | "SAN_MARINESE" | "SAO_TOMEAN" | "SAUDI" | "SCOTTISH" | "SENEGALESE" | "SERBIAN" | "SEYCHELLOIS" | "SIERRA_LEONEAN" | "SINGAPOREAN" | "SLOVAKIAN" | "SLOVENIAN" | "SOLOMON_ISLANDER" | "SOMALI" | "SOUTH_AFRICAN" | "SOUTH_KOREAN" | "SOUTH_SUDANESE" | "SPANISH" | "SRI_LANKAN" | "SUDANESE" | "SURINAMER" | "SWAZI" | "SWEDISH" | "SWISS" | "SYRIAN" | "TAIWANESE" | "TAJIK" | "TANZANIAN" | "THAI" | "TOGOLESE" | "TONGAN" | "TRINIDADIAN_OR_TOBAGONIAN" | "TUNISIAN" | "TURKISH" | "TUVALUAN" | "UGANDAN" | "UKRAINIAN" | "URUGUAYAN" | "UZBEKISTANI" | "VENEZUELAN" | "VIETNAMESE" | "WELSH" | "YEMENITE" | "ZAMBIAN" | "ZIMBABWEAN" | null | undefined;
532
- transportation?: {
533
- methods?: ("OWN_CAR" | "OWN_VAN" | "MOTORCYCLE" | "PUBLIC_TRANSPORT" | "BICYCLE" | "WALK")[] | null | undefined;
534
- preferredMethod?: "OWN_CAR" | "OWN_VAN" | "MOTORCYCLE" | "PUBLIC_TRANSPORT" | "BICYCLE" | "WALK" | null | undefined;
535
- } | null | undefined;
536
- dateOfBirth?: string | Date | null | undefined;
537
- bio?: string | null | undefined;
538
- nino?: string | null | undefined;
539
- offerOpenness?: "ACTIVELY_LOOKING" | "OPEN" | "NOT_INTERESTED" | undefined;
545
+ offerOpenness?: "NOT_INTERESTED" | "ACTIVELY_LOOKING" | "OPEN" | undefined;
546
+ offerOpennessSetAt?: string | Date | null | undefined;
540
547
  offerNote?: string | null | undefined;
541
- phoneNumbers?: {
542
- id: string;
543
- updatedAt: string | Date;
544
- createdAt: string | Date;
545
- phoneNumber: string;
546
- description?: string | null | undefined;
547
- isPrimary?: boolean | undefined;
548
- }[] | null | undefined;
549
- trades?: {
548
+ offerNoteUpdatedAt?: string | Date | null | undefined;
549
+ offerSignalUpdatedById?: string | null | undefined;
550
+ offerSignalUpdatedByName?: string | null | undefined;
551
+ shareCode?: {
552
+ code: string | null;
553
+ expiryDate?: string | Date | null | undefined;
554
+ fileId?: string | null | undefined;
555
+ } | null | undefined;
556
+ liveStatus?: {
557
+ bookingId?: string | null | undefined;
558
+ booking?: "COMPLETED" | "CANCELLED" | "REFUSED_BY_CLIENT" | "REFUSED_BY_FIRST_BECAUSE_OF_NATIONALITY" | "REFUSED_BY_FIRST_NOT_ENOUGH_EXPERIENCE" | "REFUSED_BY_FIRST_JOB_FILLED" | "REFUSED_BY_FIRST_IGNORED_DENIED" | "REFUSED_BY_FIRST_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "CONFIRMED" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS" | "DIDNT_START_OVERBOOK_BY_CLIENT" | "DIDNT_START_OVERBOOK_BY_US" | "ANOTHER_SITUATION" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "JOB_CANCELLED" | null | undefined;
559
+ active?: {
560
+ status: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | "OFF_SCHEDULE";
561
+ } | null | undefined;
562
+ activeId?: string | null | undefined;
563
+ bookingAgent?: {
564
+ id: string;
565
+ firstName: string;
566
+ lastName: string;
567
+ } | null | undefined;
568
+ } | undefined;
569
+ occupancyStatus?: "ACTIVE" | "BOOKED" | null | undefined;
570
+ workingUntil?: string | Date | null | undefined;
571
+ blacklistReason?: string | null | undefined;
572
+ trades?: {
550
573
  id: string;
551
- updatedAt: string | Date;
552
574
  createdAt: string | Date;
575
+ updatedAt: string | Date;
553
576
  tradeId: string;
554
577
  mainTrade: boolean;
555
578
  }[] | null | undefined;
556
579
  qualifications?: {
557
580
  id: string;
558
- updatedAt: string | Date;
559
581
  createdAt: string | Date;
582
+ proofDocumentFileId: string | null;
583
+ referenceNumber: string | null;
560
584
  qualificationId: string;
561
585
  qualificationTypeId: string | null;
562
- referenceNumber: string | null;
563
- proofDocumentFileId: string | null;
586
+ updatedAt: string | Date;
564
587
  issueDate?: string | Date | null | undefined;
565
588
  expiryDate?: string | Date | null | undefined;
566
589
  }[] | null | undefined;
590
+ phoneNumbers?: {
591
+ id: string;
592
+ createdAt: string | Date;
593
+ updatedAt: string | Date;
594
+ phoneNumber: string;
595
+ description?: string | null | undefined;
596
+ isPrimary?: boolean | undefined;
597
+ }[] | null | undefined;
567
598
  idDocuments?: {
568
599
  id: string;
569
- updatedAt?: string | Date | undefined;
570
600
  createdAt?: string | Date | undefined;
571
601
  expiryDate?: string | Date | null | undefined;
602
+ updatedAt?: string | Date | undefined;
572
603
  fileId?: string | null | undefined;
573
604
  documentType?: "unknown" | "passport" | "id_card" | "driving_license" | null | undefined;
574
605
  documentNumber?: string | null | undefined;
575
606
  }[] | undefined;
576
- shareCode?: {
577
- code: string | null;
578
- expiryDate?: string | Date | null | undefined;
579
- fileId?: string | null | undefined;
580
- } | null | undefined;
581
- liveStatus?: {
582
- booking?: "REFUSED_BY_CLIENT" | "REFUSED_BY_FIRST_BECAUSE_OF_NATIONALITY" | "REFUSED_BY_FIRST_NOT_ENOUGH_EXPERIENCE" | "REFUSED_BY_FIRST_JOB_FILLED" | "REFUSED_BY_FIRST_IGNORED_DENIED" | "REFUSED_BY_FIRST_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "CONFIRMED" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS" | "DIDNT_START_OVERBOOK_BY_CLIENT" | "DIDNT_START_OVERBOOK_BY_US" | "ANOTHER_SITUATION" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "COMPLETED" | "CANCELLED" | "JOB_CANCELLED" | null | undefined;
583
- active?: {
584
- status: "ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | "OFF_SCHEDULE";
585
- } | null | undefined;
586
- bookingId?: string | null | undefined;
587
- activeId?: string | null | undefined;
588
- bookingAgent?: {
589
- id: string;
590
- lastName: string;
591
- firstName: string;
592
- } | null | undefined;
593
- } | undefined;
594
- offerOpennessSetAt?: string | Date | null | undefined;
595
- offerNoteUpdatedAt?: string | Date | null | undefined;
596
- occupancyStatus?: "ACTIVE" | "BOOKED" | null | undefined;
597
- distanceKm?: number | null | undefined;
598
- bookingHistory?: {
599
- workedTotal: number;
600
- workedByMe: number;
601
- noShowTotal: number;
602
- noShowByMe: number;
603
- } | undefined;
604
- offerSignalUpdatedById?: string | null | undefined;
605
- offerSignalUpdatedByName?: string | null | undefined;
606
- workingUntil?: string | Date | null | undefined;
607
607
  }>;
608
608
  matches: z.ZodArray<z.ZodObject<{
609
609
  subjectKind: z.ZodEnum<["OWNED", "CURATED"]>;
@@ -615,23 +615,23 @@ export declare const ConsentJobsResponseSchema: z.ZodObject<{
615
615
  status: z.ZodEnum<["NEW", "TOO_FAR", "NOT_INTERESTED", "OFFER_SENT", "BOOKED"]>;
616
616
  statusUpdatedAt: z.ZodNullable<z.ZodString>;
617
617
  }, "strip", z.ZodTypeAny, {
618
- status: "NOT_INTERESTED" | "BOOKED" | "NEW" | "TOO_FAR" | "OFFER_SENT";
619
- statusUpdatedAt: string | null;
620
618
  jobId: string;
619
+ status: "NEW" | "TOO_FAR" | "NOT_INTERESTED" | "OFFER_SENT" | "BOOKED";
621
620
  subjectKind: "OWNED" | "CURATED";
622
621
  subjectId: string;
623
622
  distanceKm: number | null;
624
623
  driveMinutes: number | null;
625
624
  transitMinutes: number | null;
626
- }, {
627
- status: "NOT_INTERESTED" | "BOOKED" | "NEW" | "TOO_FAR" | "OFFER_SENT";
628
625
  statusUpdatedAt: string | null;
626
+ }, {
629
627
  jobId: string;
628
+ status: "NEW" | "TOO_FAR" | "NOT_INTERESTED" | "OFFER_SENT" | "BOOKED";
630
629
  subjectKind: "OWNED" | "CURATED";
631
630
  subjectId: string;
632
631
  distanceKm: number | null;
633
632
  driveMinutes: number | null;
634
633
  transitMinutes: number | null;
634
+ statusUpdatedAt: string | null;
635
635
  }>, "many">;
636
636
  jobCards: z.ZodArray<z.ZodObject<{
637
637
  id: z.ZodString;
@@ -648,15 +648,15 @@ export declare const ConsentJobsResponseSchema: z.ZodObject<{
648
648
  }, "strip", z.ZodTypeAny, {
649
649
  rateUnit: "DAILY" | "HOURLY";
650
650
  isNegotiable: boolean;
651
- receivedRate?: number | null | undefined;
652
651
  rate?: number | null | undefined;
653
652
  rateMax?: number | null | undefined;
653
+ receivedRate?: number | null | undefined;
654
654
  }, {
655
655
  rateUnit: "DAILY" | "HOURLY";
656
- receivedRate?: number | null | undefined;
657
656
  rate?: number | null | undefined;
658
657
  isNegotiable?: boolean | undefined;
659
658
  rateMax?: number | null | undefined;
659
+ receivedRate?: number | null | undefined;
660
660
  }>;
661
661
  location: z.ZodOptional<z.ZodNullable<z.ZodObject<{
662
662
  postcode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -735,8 +735,8 @@ export declare const ConsentJobsResponseSchema: z.ZodObject<{
735
735
  deletedAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate, z.ZodNull]>, string | null, string | Date | null>>>;
736
736
  }, "strip", z.ZodTypeAny, {
737
737
  id: string;
738
- lastName: string;
739
738
  firstName: string;
739
+ lastName: string;
740
740
  phoneNumbers: {
741
741
  id: string;
742
742
  phoneNumber: string;
@@ -746,8 +746,8 @@ export declare const ConsentJobsResponseSchema: z.ZodObject<{
746
746
  deletedAt?: string | null | undefined;
747
747
  }, {
748
748
  id: string;
749
- lastName: string;
750
749
  firstName: string;
750
+ lastName: string;
751
751
  phoneNumbers?: {
752
752
  id: string;
753
753
  phoneNumber: string;
@@ -759,6 +759,7 @@ export declare const ConsentJobsResponseSchema: z.ZodObject<{
759
759
  }, "strip", z.ZodTypeAny, {
760
760
  id?: string | null | undefined;
761
761
  status?: string | null | undefined;
762
+ userId?: string | null | undefined;
762
763
  client?: {
763
764
  id: string;
764
765
  name: string;
@@ -767,11 +768,10 @@ export declare const ConsentJobsResponseSchema: z.ZodObject<{
767
768
  id: string;
768
769
  name: string;
769
770
  } | null | undefined;
770
- userId?: string | null | undefined;
771
771
  user?: {
772
772
  id: string;
773
- lastName: string;
774
773
  firstName: string;
774
+ lastName: string;
775
775
  phoneNumbers: {
776
776
  id: string;
777
777
  phoneNumber: string;
@@ -783,6 +783,7 @@ export declare const ConsentJobsResponseSchema: z.ZodObject<{
783
783
  }, {
784
784
  id?: string | null | undefined;
785
785
  status?: string | null | undefined;
786
+ userId?: string | null | undefined;
786
787
  client?: {
787
788
  id: string;
788
789
  name: string;
@@ -791,11 +792,10 @@ export declare const ConsentJobsResponseSchema: z.ZodObject<{
791
792
  id: string;
792
793
  name: string;
793
794
  } | null | undefined;
794
- userId?: string | null | undefined;
795
795
  user?: {
796
796
  id: string;
797
- lastName: string;
798
797
  firstName: string;
798
+ lastName: string;
799
799
  phoneNumbers?: {
800
800
  id: string;
801
801
  phoneNumber: string;
@@ -831,8 +831,8 @@ export declare const ConsentJobsResponseSchema: z.ZodObject<{
831
831
  deletedAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate, z.ZodNull]>, string | null, string | Date | null>>>;
832
832
  }, "strip", z.ZodTypeAny, {
833
833
  id: string;
834
- lastName: string;
835
834
  firstName: string;
835
+ lastName: string;
836
836
  phoneNumbers: {
837
837
  id: string;
838
838
  phoneNumber: string;
@@ -842,8 +842,8 @@ export declare const ConsentJobsResponseSchema: z.ZodObject<{
842
842
  deletedAt?: string | null | undefined;
843
843
  }, {
844
844
  id: string;
845
- lastName: string;
846
845
  firstName: string;
846
+ lastName: string;
847
847
  phoneNumbers?: {
848
848
  id: string;
849
849
  phoneNumber: string;
@@ -856,30 +856,46 @@ export declare const ConsentJobsResponseSchema: z.ZodObject<{
856
856
  distanceKm: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
857
857
  filledPositions: z.ZodDefault<z.ZodNumber>;
858
858
  startDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
859
+ sourceMessageDeletedAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>>>;
860
+ minimumRateDeletionExemptAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>>>;
861
+ minimumRateDeletionExemptById: z.ZodOptional<z.ZodNullable<z.ZodString>>;
859
862
  }, "strip", z.ZodTypeAny, {
860
863
  id: string;
861
- updatedAt: string;
864
+ status: "AVAILABLE" | "NOT_AVAILABLE";
862
865
  createdAt: string;
863
866
  description: string;
864
867
  pay: {
865
868
  rateUnit: "DAILY" | "HOURLY";
866
869
  isNegotiable: boolean;
867
- receivedRate?: number | null | undefined;
868
870
  rate?: number | null | undefined;
869
871
  rateMax?: number | null | undefined;
872
+ receivedRate?: number | null | undefined;
870
873
  };
871
- numberOfPositions: number;
872
- status: "AVAILABLE" | "NOT_AVAILABLE";
874
+ updatedAt: string;
873
875
  tradeId: string;
876
+ numberOfPositions: number;
874
877
  filledPositions: number;
878
+ distanceKm?: number | null | undefined;
879
+ startDate?: string | null | undefined;
875
880
  location?: {
876
881
  address?: string | null | undefined;
877
882
  postcode?: string | null | undefined;
878
883
  adminDistrict?: string | null | undefined;
879
884
  postTown?: string | null | undefined;
880
885
  } | null | undefined;
886
+ createdBy?: {
887
+ id: string;
888
+ firstName: string;
889
+ lastName: string;
890
+ phoneNumbers: {
891
+ id: string;
892
+ phoneNumber: string;
893
+ isPrimary: boolean;
894
+ description?: string | null | undefined;
895
+ }[];
896
+ deletedAt?: string | null | undefined;
897
+ } | null | undefined;
881
898
  workHours?: number | null | undefined;
882
- startDate?: string | null | undefined;
883
899
  jobQualifications?: {
884
900
  id: string;
885
901
  qualificationId: string;
@@ -888,6 +904,7 @@ export declare const ConsentJobsResponseSchema: z.ZodObject<{
888
904
  collaboration?: {
889
905
  id?: string | null | undefined;
890
906
  status?: string | null | undefined;
907
+ userId?: string | null | undefined;
891
908
  client?: {
892
909
  id: string;
893
910
  name: string;
@@ -896,11 +913,10 @@ export declare const ConsentJobsResponseSchema: z.ZodObject<{
896
913
  id: string;
897
914
  name: string;
898
915
  } | null | undefined;
899
- userId?: string | null | undefined;
900
916
  user?: {
901
917
  id: string;
902
- lastName: string;
903
918
  firstName: string;
919
+ lastName: string;
904
920
  phoneNumbers: {
905
921
  id: string;
906
922
  phoneNumber: string;
@@ -911,43 +927,46 @@ export declare const ConsentJobsResponseSchema: z.ZodObject<{
911
927
  } | null | undefined;
912
928
  } | null | undefined;
913
929
  createdById?: string | null | undefined;
914
- createdBy?: {
915
- id: string;
916
- lastName: string;
917
- firstName: string;
918
- phoneNumbers: {
919
- id: string;
920
- phoneNumber: string;
921
- isPrimary: boolean;
922
- description?: string | null | undefined;
923
- }[];
924
- deletedAt?: string | null | undefined;
925
- } | null | undefined;
926
- creationSource?: "BOT" | "MANUAL" | null | undefined;
927
- distanceKm?: number | null | undefined;
930
+ creationSource?: "MANUAL" | "BOT" | null | undefined;
931
+ sourceMessageDeletedAt?: string | null | undefined;
932
+ minimumRateDeletionExemptAt?: string | null | undefined;
933
+ minimumRateDeletionExemptById?: string | null | undefined;
928
934
  }, {
929
935
  id: string;
930
- updatedAt: string | Date;
936
+ status: "AVAILABLE" | "NOT_AVAILABLE";
931
937
  createdAt: string | Date;
932
938
  description: string;
933
939
  pay: {
934
940
  rateUnit: "DAILY" | "HOURLY";
935
- receivedRate?: number | null | undefined;
936
941
  rate?: number | null | undefined;
937
942
  isNegotiable?: boolean | undefined;
938
943
  rateMax?: number | null | undefined;
944
+ receivedRate?: number | null | undefined;
939
945
  };
940
- numberOfPositions: number;
941
- status: "AVAILABLE" | "NOT_AVAILABLE";
946
+ updatedAt: string | Date;
942
947
  tradeId: string;
948
+ numberOfPositions: number;
949
+ distanceKm?: number | null | undefined;
950
+ startDate?: string | null | undefined;
943
951
  location?: {
944
952
  address?: string | null | undefined;
945
953
  postcode?: string | null | undefined;
946
954
  adminDistrict?: string | null | undefined;
947
955
  postTown?: string | null | undefined;
948
956
  } | null | undefined;
957
+ createdBy?: {
958
+ id: string;
959
+ firstName: string;
960
+ lastName: string;
961
+ phoneNumbers?: {
962
+ id: string;
963
+ phoneNumber: string;
964
+ description?: string | null | undefined;
965
+ isPrimary?: boolean | undefined;
966
+ }[] | undefined;
967
+ deletedAt?: string | Date | null | undefined;
968
+ } | null | undefined;
949
969
  workHours?: number | null | undefined;
950
- startDate?: string | null | undefined;
951
970
  jobQualifications?: {
952
971
  id: string;
953
972
  qualificationId: string;
@@ -956,6 +975,7 @@ export declare const ConsentJobsResponseSchema: z.ZodObject<{
956
975
  collaboration?: {
957
976
  id?: string | null | undefined;
958
977
  status?: string | null | undefined;
978
+ userId?: string | null | undefined;
959
979
  client?: {
960
980
  id: string;
961
981
  name: string;
@@ -964,11 +984,10 @@ export declare const ConsentJobsResponseSchema: z.ZodObject<{
964
984
  id: string;
965
985
  name: string;
966
986
  } | null | undefined;
967
- userId?: string | null | undefined;
968
987
  user?: {
969
988
  id: string;
970
- lastName: string;
971
989
  firstName: string;
990
+ lastName: string;
972
991
  phoneNumbers?: {
973
992
  id: string;
974
993
  phoneNumber: string;
@@ -978,165 +997,168 @@ export declare const ConsentJobsResponseSchema: z.ZodObject<{
978
997
  deletedAt?: string | Date | null | undefined;
979
998
  } | null | undefined;
980
999
  } | null | undefined;
981
- filledPositions?: number | undefined;
982
1000
  createdById?: string | null | undefined;
983
- createdBy?: {
984
- id: string;
985
- lastName: string;
986
- firstName: string;
987
- phoneNumbers?: {
988
- id: string;
989
- phoneNumber: string;
990
- description?: string | null | undefined;
991
- isPrimary?: boolean | undefined;
992
- }[] | undefined;
993
- deletedAt?: string | Date | null | undefined;
994
- } | null | undefined;
995
- creationSource?: "BOT" | "MANUAL" | null | undefined;
996
- distanceKm?: number | null | undefined;
1001
+ creationSource?: "MANUAL" | "BOT" | null | undefined;
1002
+ filledPositions?: number | undefined;
1003
+ sourceMessageDeletedAt?: string | Date | null | undefined;
1004
+ minimumRateDeletionExemptAt?: string | Date | null | undefined;
1005
+ minimumRateDeletionExemptById?: string | null | undefined;
997
1006
  }>, "many">;
998
1007
  }, "strip", z.ZodTypeAny, {
1008
+ matches: {
1009
+ jobId: string;
1010
+ status: "NEW" | "TOO_FAR" | "NOT_INTERESTED" | "OFFER_SENT" | "BOOKED";
1011
+ subjectKind: "OWNED" | "CURATED";
1012
+ subjectId: string;
1013
+ distanceKm: number | null;
1014
+ driveMinutes: number | null;
1015
+ transitMinutes: number | null;
1016
+ statusUpdatedAt: string | null;
1017
+ }[];
999
1018
  worker: {
1000
1019
  id: string;
1001
- updatedAt: string;
1002
1020
  createdAt: string;
1003
1021
  firstName: string;
1022
+ updatedAt: string;
1004
1023
  hasTools: boolean | null;
1005
1024
  hasPpe: boolean | null;
1025
+ offerOpenness: "NOT_INTERESTED" | "ACTIVELY_LOOKING" | "OPEN";
1006
1026
  blacklisted: boolean;
1007
- offerOpenness: "ACTIVELY_LOOKING" | "OPEN" | "NOT_INTERESTED";
1027
+ suppression: {
1028
+ reason: string;
1029
+ until: string | null;
1030
+ note: string | null;
1031
+ setByName: string;
1032
+ setAt: string;
1033
+ } | null;
1008
1034
  idDocuments: {
1009
1035
  id: string;
1010
- updatedAt?: string | undefined;
1011
1036
  createdAt?: string | undefined;
1012
1037
  expiryDate?: string | null | undefined;
1038
+ updatedAt?: string | undefined;
1013
1039
  fileId?: string | null | undefined;
1014
1040
  documentType?: "unknown" | "passport" | "id_card" | "driving_license" | null | undefined;
1015
1041
  documentNumber?: string | null | undefined;
1016
1042
  }[];
1017
- suppression: {
1018
- reason: string;
1019
- note: string | null;
1020
- until: string | null;
1021
- setByName: string;
1022
- setAt: string;
1023
- } | null;
1043
+ distanceKm?: number | null | undefined;
1044
+ lastName?: string | null | undefined;
1045
+ bookingHistory?: {
1046
+ workedTotal: number;
1047
+ workedByMe: number;
1048
+ noShowTotal: number;
1049
+ noShowByMe: number;
1050
+ } | undefined;
1051
+ email?: string | null | undefined;
1052
+ nino?: string | null | undefined;
1053
+ dateOfBirth?: string | null | undefined;
1054
+ bio?: string | null | undefined;
1055
+ englishLevel?: "NONE" | "BASIC" | "INTERMEDIATE" | "ADVANCED" | "NATIVE" | null | undefined;
1056
+ nationality?: "AFGHAN" | "ALBANIAN" | "ALGERIAN" | "AMERICAN" | "ANDORRAN" | "ANGOLAN" | "ANTIGUANS" | "ARGENTINEAN" | "ARMENIAN" | "AUSTRALIAN" | "AUSTRIAN" | "AZERBAIJANI" | "BAHAMIAN" | "BAHRAINI" | "BANGLADESHI" | "BARBADIAN" | "BARBUDANS" | "BELARUSIAN" | "BELGIAN" | "BELIZEAN" | "BENINESE" | "BHUTANESE" | "BOLIVIAN" | "BOSNIAN" | "BRAZILIAN" | "BRITISH" | "BRUNEIAN" | "BULGARIAN" | "BURKINABE" | "BURMESE" | "BURUNDIAN" | "CAMBODIAN" | "CAMEROONIAN" | "CANADIAN" | "CAPE_VERDEAN" | "CENTRAL_AFRICAN" | "CHADIAN" | "CHILEAN" | "CHINESE" | "COLOMBIAN" | "COMORAN" | "CONGOLESE" | "COSTA_RICAN" | "CROATIAN" | "CUBAN" | "CYPRIOT" | "CZECH" | "DANISH" | "DJIBOUTI" | "DOMINICAN" | "DUTCH" | "EAST_TIMORESE" | "ECUADOREAN" | "EGYPTIAN" | "EMIRIAN" | "EQUATORIAL_GUINEAN" | "ERITREAN" | "ESTONIAN" | "ETHIOPIAN" | "FIJIAN" | "FILIPINO" | "FINNISH" | "FRENCH" | "GABONESE" | "GAMBIAN" | "GEORGIAN" | "GERMAN" | "GHANAIAN" | "GREEK" | "GRENADIAN" | "GUATEMALAN" | "GUINEA_BISSAUAN" | "GUINEAN" | "GUYANESE" | "HAITIAN" | "HERZEGOVINIAN" | "HONDURAN" | "HUNGARIAN" | "ICELANDER" | "INDIAN" | "INDONESIAN" | "IRANIAN" | "IRAQI" | "IRISH" | "ISRAELI" | "ITALIAN" | "IVORIAN" | "JAMAICAN" | "JAPANESE" | "JORDANIAN" | "KAZAKHSTANI" | "KENYAN" | "KITTIAN_AND_NEVISIAN" | "KUWAITI" | "KYRGYZ" | "LAOTIAN" | "LATVIAN" | "LEBANESE" | "LIBERIAN" | "LIBYAN" | "LIECHTENSTEINER" | "LITHUANIAN" | "LUXEMBOURGER" | "MACEDONIAN" | "MALAGASY" | "MALAWIAN" | "MALAYSIAN" | "MALDIVAN" | "MALIAN" | "MALTESE" | "MARSHALLESE" | "MAURITANIAN" | "MAURITIAN" | "MEXICAN" | "MICRONESIAN" | "MOLDOVAN" | "MONACAN" | "MONGOLIAN" | "MOROCCAN" | "MOSOTHO" | "MOTSWANA" | "MOZAMBICAN" | "NAMIBIAN" | "NAURUAN" | "NEPALESE" | "NEW_ZEALANDER" | "NI_VANUATU" | "NICARAGUAN" | "NIGERIEN" | "NIGERIAN" | "NORTH_KOREAN" | "NORTHERN_IRISH" | "NORWEGIAN" | "OMANI" | "PAKISTANI" | "PALAUAN" | "PANAMANIAN" | "PAPUA_NEW_GUINEAN" | "PARAGUAYAN" | "PERUVIAN" | "POLISH" | "PORTUGUESE" | "QATARI" | "ROMANIAN" | "RUSSIAN" | "RWANDAN" | "SAINT_LUCIAN" | "SALVADORAN" | "SAMOAN" | "SAN_MARINESE" | "SAO_TOMEAN" | "SAUDI" | "SCOTTISH" | "SENEGALESE" | "SERBIAN" | "SEYCHELLOIS" | "SIERRA_LEONEAN" | "SINGAPOREAN" | "SLOVAKIAN" | "SLOVENIAN" | "SOLOMON_ISLANDER" | "SOMALI" | "SOUTH_AFRICAN" | "SOUTH_KOREAN" | "SOUTH_SUDANESE" | "SPANISH" | "SRI_LANKAN" | "SUDANESE" | "SURINAMER" | "SWAZI" | "SWEDISH" | "SWISS" | "SYRIAN" | "TAIWANESE" | "TAJIK" | "TANZANIAN" | "THAI" | "TOGOLESE" | "TONGAN" | "TRINIDADIAN_OR_TOBAGONIAN" | "TUNISIAN" | "TURKISH" | "TUVALUAN" | "UGANDAN" | "UKRAINIAN" | "URUGUAYAN" | "UZBEKISTANI" | "VENEZUELAN" | "VIETNAMESE" | "WELSH" | "YEMENITE" | "ZAMBIAN" | "ZIMBABWEAN" | null | undefined;
1057
+ transportation?: {
1058
+ methods?: ("OWN_CAR" | "OWN_VAN" | "MOTORCYCLE" | "PUBLIC_TRANSPORT" | "BICYCLE" | "WALK")[] | null | undefined;
1059
+ preferredMethod?: "OWN_CAR" | "OWN_VAN" | "MOTORCYCLE" | "PUBLIC_TRANSPORT" | "BICYCLE" | "WALK" | null | undefined;
1060
+ } | null | undefined;
1024
1061
  location?: {
1025
1062
  address?: string | null | undefined;
1026
1063
  postcode?: string | null | undefined;
1027
- latitude?: number | null | undefined;
1028
- longitude?: number | null | undefined;
1029
1064
  county?: string | null | undefined;
1030
1065
  adminDistrict?: string | null | undefined;
1031
1066
  builtUpArea?: string | null | undefined;
1032
1067
  postTown?: string | null | undefined;
1033
1068
  areaCovered?: string | null | undefined;
1069
+ latitude?: number | null | undefined;
1070
+ longitude?: number | null | undefined;
1034
1071
  } | null | undefined;
1035
- blacklistReason?: string | null | undefined;
1036
- email?: string | null | undefined;
1037
- lastName?: string | null | undefined;
1038
- englishLevel?: "NONE" | "BASIC" | "INTERMEDIATE" | "ADVANCED" | "NATIVE" | null | undefined;
1039
- nationality?: "AFGHAN" | "ALBANIAN" | "ALGERIAN" | "AMERICAN" | "ANDORRAN" | "ANGOLAN" | "ANTIGUANS" | "ARGENTINEAN" | "ARMENIAN" | "AUSTRALIAN" | "AUSTRIAN" | "AZERBAIJANI" | "BAHAMIAN" | "BAHRAINI" | "BANGLADESHI" | "BARBADIAN" | "BARBUDANS" | "BELARUSIAN" | "BELGIAN" | "BELIZEAN" | "BENINESE" | "BHUTANESE" | "BOLIVIAN" | "BOSNIAN" | "BRAZILIAN" | "BRITISH" | "BRUNEIAN" | "BULGARIAN" | "BURKINABE" | "BURMESE" | "BURUNDIAN" | "CAMBODIAN" | "CAMEROONIAN" | "CANADIAN" | "CAPE_VERDEAN" | "CENTRAL_AFRICAN" | "CHADIAN" | "CHILEAN" | "CHINESE" | "COLOMBIAN" | "COMORAN" | "CONGOLESE" | "COSTA_RICAN" | "CROATIAN" | "CUBAN" | "CYPRIOT" | "CZECH" | "DANISH" | "DJIBOUTI" | "DOMINICAN" | "DUTCH" | "EAST_TIMORESE" | "ECUADOREAN" | "EGYPTIAN" | "EMIRIAN" | "EQUATORIAL_GUINEAN" | "ERITREAN" | "ESTONIAN" | "ETHIOPIAN" | "FIJIAN" | "FILIPINO" | "FINNISH" | "FRENCH" | "GABONESE" | "GAMBIAN" | "GEORGIAN" | "GERMAN" | "GHANAIAN" | "GREEK" | "GRENADIAN" | "GUATEMALAN" | "GUINEA_BISSAUAN" | "GUINEAN" | "GUYANESE" | "HAITIAN" | "HERZEGOVINIAN" | "HONDURAN" | "HUNGARIAN" | "ICELANDER" | "INDIAN" | "INDONESIAN" | "IRANIAN" | "IRAQI" | "IRISH" | "ISRAELI" | "ITALIAN" | "IVORIAN" | "JAMAICAN" | "JAPANESE" | "JORDANIAN" | "KAZAKHSTANI" | "KENYAN" | "KITTIAN_AND_NEVISIAN" | "KUWAITI" | "KYRGYZ" | "LAOTIAN" | "LATVIAN" | "LEBANESE" | "LIBERIAN" | "LIBYAN" | "LIECHTENSTEINER" | "LITHUANIAN" | "LUXEMBOURGER" | "MACEDONIAN" | "MALAGASY" | "MALAWIAN" | "MALAYSIAN" | "MALDIVAN" | "MALIAN" | "MALTESE" | "MARSHALLESE" | "MAURITANIAN" | "MAURITIAN" | "MEXICAN" | "MICRONESIAN" | "MOLDOVAN" | "MONACAN" | "MONGOLIAN" | "MOROCCAN" | "MOSOTHO" | "MOTSWANA" | "MOZAMBICAN" | "NAMIBIAN" | "NAURUAN" | "NEPALESE" | "NEW_ZEALANDER" | "NI_VANUATU" | "NICARAGUAN" | "NIGERIEN" | "NIGERIAN" | "NORTH_KOREAN" | "NORTHERN_IRISH" | "NORWEGIAN" | "OMANI" | "PAKISTANI" | "PALAUAN" | "PANAMANIAN" | "PAPUA_NEW_GUINEAN" | "PARAGUAYAN" | "PERUVIAN" | "POLISH" | "PORTUGUESE" | "QATARI" | "ROMANIAN" | "RUSSIAN" | "RWANDAN" | "SAINT_LUCIAN" | "SALVADORAN" | "SAMOAN" | "SAN_MARINESE" | "SAO_TOMEAN" | "SAUDI" | "SCOTTISH" | "SENEGALESE" | "SERBIAN" | "SEYCHELLOIS" | "SIERRA_LEONEAN" | "SINGAPOREAN" | "SLOVAKIAN" | "SLOVENIAN" | "SOLOMON_ISLANDER" | "SOMALI" | "SOUTH_AFRICAN" | "SOUTH_KOREAN" | "SOUTH_SUDANESE" | "SPANISH" | "SRI_LANKAN" | "SUDANESE" | "SURINAMER" | "SWAZI" | "SWEDISH" | "SWISS" | "SYRIAN" | "TAIWANESE" | "TAJIK" | "TANZANIAN" | "THAI" | "TOGOLESE" | "TONGAN" | "TRINIDADIAN_OR_TOBAGONIAN" | "TUNISIAN" | "TURKISH" | "TUVALUAN" | "UGANDAN" | "UKRAINIAN" | "URUGUAYAN" | "UZBEKISTANI" | "VENEZUELAN" | "VIETNAMESE" | "WELSH" | "YEMENITE" | "ZAMBIAN" | "ZIMBABWEAN" | null | undefined;
1040
- transportation?: {
1041
- methods?: ("OWN_CAR" | "OWN_VAN" | "MOTORCYCLE" | "PUBLIC_TRANSPORT" | "BICYCLE" | "WALK")[] | null | undefined;
1042
- preferredMethod?: "OWN_CAR" | "OWN_VAN" | "MOTORCYCLE" | "PUBLIC_TRANSPORT" | "BICYCLE" | "WALK" | null | undefined;
1043
- } | null | undefined;
1044
- dateOfBirth?: string | null | undefined;
1045
- bio?: string | null | undefined;
1046
- nino?: string | null | undefined;
1072
+ offerOpennessSetAt?: string | null | undefined;
1047
1073
  offerNote?: string | null | undefined;
1048
- phoneNumbers?: {
1049
- id: string;
1050
- updatedAt: string;
1051
- createdAt: string;
1052
- phoneNumber: string;
1053
- isPrimary: boolean;
1054
- description?: string | null | undefined;
1055
- }[] | null | undefined;
1056
- trades?: {
1057
- id: string;
1058
- updatedAt: string;
1059
- createdAt: string;
1060
- tradeId: string;
1061
- mainTrade: boolean;
1062
- }[] | null | undefined;
1063
- qualifications?: {
1064
- id: string;
1065
- updatedAt: string;
1066
- createdAt: string;
1067
- qualificationId: string;
1068
- qualificationTypeId: string | null;
1069
- referenceNumber: string | null;
1070
- proofDocumentFileId: string | null;
1071
- issueDate?: string | null | undefined;
1072
- expiryDate?: string | null | undefined;
1073
- }[] | null | undefined;
1074
+ offerNoteUpdatedAt?: string | null | undefined;
1075
+ offerSignalUpdatedById?: string | null | undefined;
1076
+ offerSignalUpdatedByName?: string | null | undefined;
1074
1077
  shareCode?: {
1075
1078
  code: string | null;
1076
1079
  expiryDate?: string | null | undefined;
1077
1080
  fileId?: string | null | undefined;
1078
1081
  } | null | undefined;
1079
1082
  liveStatus?: {
1080
- booking?: "REFUSED_BY_CLIENT" | "REFUSED_BY_FIRST_BECAUSE_OF_NATIONALITY" | "REFUSED_BY_FIRST_NOT_ENOUGH_EXPERIENCE" | "REFUSED_BY_FIRST_JOB_FILLED" | "REFUSED_BY_FIRST_IGNORED_DENIED" | "REFUSED_BY_FIRST_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "CONFIRMED" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS" | "DIDNT_START_OVERBOOK_BY_CLIENT" | "DIDNT_START_OVERBOOK_BY_US" | "ANOTHER_SITUATION" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "COMPLETED" | "CANCELLED" | "JOB_CANCELLED" | null | undefined;
1083
+ bookingId?: string | null | undefined;
1084
+ booking?: "COMPLETED" | "CANCELLED" | "REFUSED_BY_CLIENT" | "REFUSED_BY_FIRST_BECAUSE_OF_NATIONALITY" | "REFUSED_BY_FIRST_NOT_ENOUGH_EXPERIENCE" | "REFUSED_BY_FIRST_JOB_FILLED" | "REFUSED_BY_FIRST_IGNORED_DENIED" | "REFUSED_BY_FIRST_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "CONFIRMED" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS" | "DIDNT_START_OVERBOOK_BY_CLIENT" | "DIDNT_START_OVERBOOK_BY_US" | "ANOTHER_SITUATION" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "JOB_CANCELLED" | null | undefined;
1081
1085
  active?: {
1082
- status: "ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | "OFF_SCHEDULE";
1086
+ status: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | "OFF_SCHEDULE";
1083
1087
  } | null | undefined;
1084
- bookingId?: string | null | undefined;
1085
1088
  activeId?: string | null | undefined;
1086
1089
  bookingAgent?: {
1087
1090
  id: string;
1088
- lastName: string;
1089
1091
  firstName: string;
1092
+ lastName: string;
1090
1093
  } | null | undefined;
1091
1094
  } | undefined;
1092
- offerOpennessSetAt?: string | null | undefined;
1093
- offerNoteUpdatedAt?: string | null | undefined;
1094
1095
  occupancyStatus?: "ACTIVE" | "BOOKED" | null | undefined;
1095
- distanceKm?: number | null | undefined;
1096
- bookingHistory?: {
1097
- workedTotal: number;
1098
- workedByMe: number;
1099
- noShowTotal: number;
1100
- noShowByMe: number;
1101
- } | undefined;
1102
- offerSignalUpdatedById?: string | null | undefined;
1103
- offerSignalUpdatedByName?: string | null | undefined;
1104
1096
  workingUntil?: string | null | undefined;
1097
+ blacklistReason?: string | null | undefined;
1098
+ trades?: {
1099
+ id: string;
1100
+ createdAt: string;
1101
+ updatedAt: string;
1102
+ tradeId: string;
1103
+ mainTrade: boolean;
1104
+ }[] | null | undefined;
1105
+ qualifications?: {
1106
+ id: string;
1107
+ createdAt: string;
1108
+ proofDocumentFileId: string | null;
1109
+ referenceNumber: string | null;
1110
+ qualificationId: string;
1111
+ qualificationTypeId: string | null;
1112
+ updatedAt: string;
1113
+ issueDate?: string | null | undefined;
1114
+ expiryDate?: string | null | undefined;
1115
+ }[] | null | undefined;
1116
+ phoneNumbers?: {
1117
+ id: string;
1118
+ createdAt: string;
1119
+ updatedAt: string;
1120
+ phoneNumber: string;
1121
+ isPrimary: boolean;
1122
+ description?: string | null | undefined;
1123
+ }[] | null | undefined;
1105
1124
  };
1106
- matches: {
1107
- status: "NOT_INTERESTED" | "BOOKED" | "NEW" | "TOO_FAR" | "OFFER_SENT";
1108
- statusUpdatedAt: string | null;
1109
- jobId: string;
1110
- subjectKind: "OWNED" | "CURATED";
1111
- subjectId: string;
1112
- distanceKm: number | null;
1113
- driveMinutes: number | null;
1114
- transitMinutes: number | null;
1115
- }[];
1116
1125
  jobCards: {
1117
1126
  id: string;
1118
- updatedAt: string;
1127
+ status: "AVAILABLE" | "NOT_AVAILABLE";
1119
1128
  createdAt: string;
1120
1129
  description: string;
1121
1130
  pay: {
1122
1131
  rateUnit: "DAILY" | "HOURLY";
1123
1132
  isNegotiable: boolean;
1124
- receivedRate?: number | null | undefined;
1125
1133
  rate?: number | null | undefined;
1126
1134
  rateMax?: number | null | undefined;
1135
+ receivedRate?: number | null | undefined;
1127
1136
  };
1128
- numberOfPositions: number;
1129
- status: "AVAILABLE" | "NOT_AVAILABLE";
1137
+ updatedAt: string;
1130
1138
  tradeId: string;
1139
+ numberOfPositions: number;
1131
1140
  filledPositions: number;
1141
+ distanceKm?: number | null | undefined;
1142
+ startDate?: string | null | undefined;
1132
1143
  location?: {
1133
1144
  address?: string | null | undefined;
1134
1145
  postcode?: string | null | undefined;
1135
1146
  adminDistrict?: string | null | undefined;
1136
1147
  postTown?: string | null | undefined;
1137
1148
  } | null | undefined;
1149
+ createdBy?: {
1150
+ id: string;
1151
+ firstName: string;
1152
+ lastName: string;
1153
+ phoneNumbers: {
1154
+ id: string;
1155
+ phoneNumber: string;
1156
+ isPrimary: boolean;
1157
+ description?: string | null | undefined;
1158
+ }[];
1159
+ deletedAt?: string | null | undefined;
1160
+ } | null | undefined;
1138
1161
  workHours?: number | null | undefined;
1139
- startDate?: string | null | undefined;
1140
1162
  jobQualifications?: {
1141
1163
  id: string;
1142
1164
  qualificationId: string;
@@ -1145,6 +1167,7 @@ export declare const ConsentJobsResponseSchema: z.ZodObject<{
1145
1167
  collaboration?: {
1146
1168
  id?: string | null | undefined;
1147
1169
  status?: string | null | undefined;
1170
+ userId?: string | null | undefined;
1148
1171
  client?: {
1149
1172
  id: string;
1150
1173
  name: string;
@@ -1153,11 +1176,10 @@ export declare const ConsentJobsResponseSchema: z.ZodObject<{
1153
1176
  id: string;
1154
1177
  name: string;
1155
1178
  } | null | undefined;
1156
- userId?: string | null | undefined;
1157
1179
  user?: {
1158
1180
  id: string;
1159
- lastName: string;
1160
1181
  firstName: string;
1182
+ lastName: string;
1161
1183
  phoneNumbers: {
1162
1184
  id: string;
1163
1185
  phoneNumber: string;
@@ -1168,170 +1190,174 @@ export declare const ConsentJobsResponseSchema: z.ZodObject<{
1168
1190
  } | null | undefined;
1169
1191
  } | null | undefined;
1170
1192
  createdById?: string | null | undefined;
1171
- createdBy?: {
1172
- id: string;
1173
- lastName: string;
1174
- firstName: string;
1175
- phoneNumbers: {
1176
- id: string;
1177
- phoneNumber: string;
1178
- isPrimary: boolean;
1179
- description?: string | null | undefined;
1180
- }[];
1181
- deletedAt?: string | null | undefined;
1182
- } | null | undefined;
1183
- creationSource?: "BOT" | "MANUAL" | null | undefined;
1184
- distanceKm?: number | null | undefined;
1193
+ creationSource?: "MANUAL" | "BOT" | null | undefined;
1194
+ sourceMessageDeletedAt?: string | null | undefined;
1195
+ minimumRateDeletionExemptAt?: string | null | undefined;
1196
+ minimumRateDeletionExemptById?: string | null | undefined;
1185
1197
  }[];
1186
1198
  }, {
1199
+ matches: {
1200
+ jobId: string;
1201
+ status: "NEW" | "TOO_FAR" | "NOT_INTERESTED" | "OFFER_SENT" | "BOOKED";
1202
+ subjectKind: "OWNED" | "CURATED";
1203
+ subjectId: string;
1204
+ distanceKm: number | null;
1205
+ driveMinutes: number | null;
1206
+ transitMinutes: number | null;
1207
+ statusUpdatedAt: string | null;
1208
+ }[];
1187
1209
  worker: {
1188
1210
  id: string;
1189
- updatedAt: string | Date;
1190
1211
  createdAt: string | Date;
1191
1212
  firstName: string;
1213
+ updatedAt: string | Date;
1192
1214
  hasTools: boolean | null;
1193
1215
  hasPpe: boolean | null;
1194
1216
  blacklisted: boolean;
1195
1217
  suppression: {
1196
1218
  reason: string;
1197
- note: string | null;
1198
1219
  until: string | null;
1220
+ note: string | null;
1199
1221
  setByName: string;
1200
1222
  setAt: string;
1201
1223
  } | null;
1224
+ distanceKm?: number | null | undefined;
1225
+ lastName?: string | null | undefined;
1226
+ bookingHistory?: {
1227
+ workedTotal: number;
1228
+ workedByMe: number;
1229
+ noShowTotal: number;
1230
+ noShowByMe: number;
1231
+ } | undefined;
1232
+ email?: string | null | undefined;
1233
+ nino?: string | null | undefined;
1234
+ dateOfBirth?: string | Date | null | undefined;
1235
+ bio?: string | null | undefined;
1236
+ englishLevel?: "NONE" | "BASIC" | "INTERMEDIATE" | "ADVANCED" | "NATIVE" | null | undefined;
1237
+ nationality?: "AFGHAN" | "ALBANIAN" | "ALGERIAN" | "AMERICAN" | "ANDORRAN" | "ANGOLAN" | "ANTIGUANS" | "ARGENTINEAN" | "ARMENIAN" | "AUSTRALIAN" | "AUSTRIAN" | "AZERBAIJANI" | "BAHAMIAN" | "BAHRAINI" | "BANGLADESHI" | "BARBADIAN" | "BARBUDANS" | "BELARUSIAN" | "BELGIAN" | "BELIZEAN" | "BENINESE" | "BHUTANESE" | "BOLIVIAN" | "BOSNIAN" | "BRAZILIAN" | "BRITISH" | "BRUNEIAN" | "BULGARIAN" | "BURKINABE" | "BURMESE" | "BURUNDIAN" | "CAMBODIAN" | "CAMEROONIAN" | "CANADIAN" | "CAPE_VERDEAN" | "CENTRAL_AFRICAN" | "CHADIAN" | "CHILEAN" | "CHINESE" | "COLOMBIAN" | "COMORAN" | "CONGOLESE" | "COSTA_RICAN" | "CROATIAN" | "CUBAN" | "CYPRIOT" | "CZECH" | "DANISH" | "DJIBOUTI" | "DOMINICAN" | "DUTCH" | "EAST_TIMORESE" | "ECUADOREAN" | "EGYPTIAN" | "EMIRIAN" | "EQUATORIAL_GUINEAN" | "ERITREAN" | "ESTONIAN" | "ETHIOPIAN" | "FIJIAN" | "FILIPINO" | "FINNISH" | "FRENCH" | "GABONESE" | "GAMBIAN" | "GEORGIAN" | "GERMAN" | "GHANAIAN" | "GREEK" | "GRENADIAN" | "GUATEMALAN" | "GUINEA_BISSAUAN" | "GUINEAN" | "GUYANESE" | "HAITIAN" | "HERZEGOVINIAN" | "HONDURAN" | "HUNGARIAN" | "ICELANDER" | "INDIAN" | "INDONESIAN" | "IRANIAN" | "IRAQI" | "IRISH" | "ISRAELI" | "ITALIAN" | "IVORIAN" | "JAMAICAN" | "JAPANESE" | "JORDANIAN" | "KAZAKHSTANI" | "KENYAN" | "KITTIAN_AND_NEVISIAN" | "KUWAITI" | "KYRGYZ" | "LAOTIAN" | "LATVIAN" | "LEBANESE" | "LIBERIAN" | "LIBYAN" | "LIECHTENSTEINER" | "LITHUANIAN" | "LUXEMBOURGER" | "MACEDONIAN" | "MALAGASY" | "MALAWIAN" | "MALAYSIAN" | "MALDIVAN" | "MALIAN" | "MALTESE" | "MARSHALLESE" | "MAURITANIAN" | "MAURITIAN" | "MEXICAN" | "MICRONESIAN" | "MOLDOVAN" | "MONACAN" | "MONGOLIAN" | "MOROCCAN" | "MOSOTHO" | "MOTSWANA" | "MOZAMBICAN" | "NAMIBIAN" | "NAURUAN" | "NEPALESE" | "NEW_ZEALANDER" | "NI_VANUATU" | "NICARAGUAN" | "NIGERIEN" | "NIGERIAN" | "NORTH_KOREAN" | "NORTHERN_IRISH" | "NORWEGIAN" | "OMANI" | "PAKISTANI" | "PALAUAN" | "PANAMANIAN" | "PAPUA_NEW_GUINEAN" | "PARAGUAYAN" | "PERUVIAN" | "POLISH" | "PORTUGUESE" | "QATARI" | "ROMANIAN" | "RUSSIAN" | "RWANDAN" | "SAINT_LUCIAN" | "SALVADORAN" | "SAMOAN" | "SAN_MARINESE" | "SAO_TOMEAN" | "SAUDI" | "SCOTTISH" | "SENEGALESE" | "SERBIAN" | "SEYCHELLOIS" | "SIERRA_LEONEAN" | "SINGAPOREAN" | "SLOVAKIAN" | "SLOVENIAN" | "SOLOMON_ISLANDER" | "SOMALI" | "SOUTH_AFRICAN" | "SOUTH_KOREAN" | "SOUTH_SUDANESE" | "SPANISH" | "SRI_LANKAN" | "SUDANESE" | "SURINAMER" | "SWAZI" | "SWEDISH" | "SWISS" | "SYRIAN" | "TAIWANESE" | "TAJIK" | "TANZANIAN" | "THAI" | "TOGOLESE" | "TONGAN" | "TRINIDADIAN_OR_TOBAGONIAN" | "TUNISIAN" | "TURKISH" | "TUVALUAN" | "UGANDAN" | "UKRAINIAN" | "URUGUAYAN" | "UZBEKISTANI" | "VENEZUELAN" | "VIETNAMESE" | "WELSH" | "YEMENITE" | "ZAMBIAN" | "ZIMBABWEAN" | null | undefined;
1238
+ transportation?: {
1239
+ methods?: ("OWN_CAR" | "OWN_VAN" | "MOTORCYCLE" | "PUBLIC_TRANSPORT" | "BICYCLE" | "WALK")[] | null | undefined;
1240
+ preferredMethod?: "OWN_CAR" | "OWN_VAN" | "MOTORCYCLE" | "PUBLIC_TRANSPORT" | "BICYCLE" | "WALK" | null | undefined;
1241
+ } | null | undefined;
1202
1242
  location?: {
1203
1243
  address?: string | null | undefined;
1204
1244
  postcode?: string | null | undefined;
1205
- latitude?: number | null | undefined;
1206
- longitude?: number | null | undefined;
1207
1245
  county?: string | null | undefined;
1208
1246
  adminDistrict?: string | null | undefined;
1209
1247
  builtUpArea?: string | null | undefined;
1210
1248
  postTown?: string | null | undefined;
1211
1249
  areaCovered?: string | null | undefined;
1250
+ latitude?: number | null | undefined;
1251
+ longitude?: number | null | undefined;
1212
1252
  } | null | undefined;
1213
- blacklistReason?: string | null | undefined;
1214
- email?: string | null | undefined;
1215
- lastName?: string | null | undefined;
1216
- englishLevel?: "NONE" | "BASIC" | "INTERMEDIATE" | "ADVANCED" | "NATIVE" | null | undefined;
1217
- nationality?: "AFGHAN" | "ALBANIAN" | "ALGERIAN" | "AMERICAN" | "ANDORRAN" | "ANGOLAN" | "ANTIGUANS" | "ARGENTINEAN" | "ARMENIAN" | "AUSTRALIAN" | "AUSTRIAN" | "AZERBAIJANI" | "BAHAMIAN" | "BAHRAINI" | "BANGLADESHI" | "BARBADIAN" | "BARBUDANS" | "BELARUSIAN" | "BELGIAN" | "BELIZEAN" | "BENINESE" | "BHUTANESE" | "BOLIVIAN" | "BOSNIAN" | "BRAZILIAN" | "BRITISH" | "BRUNEIAN" | "BULGARIAN" | "BURKINABE" | "BURMESE" | "BURUNDIAN" | "CAMBODIAN" | "CAMEROONIAN" | "CANADIAN" | "CAPE_VERDEAN" | "CENTRAL_AFRICAN" | "CHADIAN" | "CHILEAN" | "CHINESE" | "COLOMBIAN" | "COMORAN" | "CONGOLESE" | "COSTA_RICAN" | "CROATIAN" | "CUBAN" | "CYPRIOT" | "CZECH" | "DANISH" | "DJIBOUTI" | "DOMINICAN" | "DUTCH" | "EAST_TIMORESE" | "ECUADOREAN" | "EGYPTIAN" | "EMIRIAN" | "EQUATORIAL_GUINEAN" | "ERITREAN" | "ESTONIAN" | "ETHIOPIAN" | "FIJIAN" | "FILIPINO" | "FINNISH" | "FRENCH" | "GABONESE" | "GAMBIAN" | "GEORGIAN" | "GERMAN" | "GHANAIAN" | "GREEK" | "GRENADIAN" | "GUATEMALAN" | "GUINEA_BISSAUAN" | "GUINEAN" | "GUYANESE" | "HAITIAN" | "HERZEGOVINIAN" | "HONDURAN" | "HUNGARIAN" | "ICELANDER" | "INDIAN" | "INDONESIAN" | "IRANIAN" | "IRAQI" | "IRISH" | "ISRAELI" | "ITALIAN" | "IVORIAN" | "JAMAICAN" | "JAPANESE" | "JORDANIAN" | "KAZAKHSTANI" | "KENYAN" | "KITTIAN_AND_NEVISIAN" | "KUWAITI" | "KYRGYZ" | "LAOTIAN" | "LATVIAN" | "LEBANESE" | "LIBERIAN" | "LIBYAN" | "LIECHTENSTEINER" | "LITHUANIAN" | "LUXEMBOURGER" | "MACEDONIAN" | "MALAGASY" | "MALAWIAN" | "MALAYSIAN" | "MALDIVAN" | "MALIAN" | "MALTESE" | "MARSHALLESE" | "MAURITANIAN" | "MAURITIAN" | "MEXICAN" | "MICRONESIAN" | "MOLDOVAN" | "MONACAN" | "MONGOLIAN" | "MOROCCAN" | "MOSOTHO" | "MOTSWANA" | "MOZAMBICAN" | "NAMIBIAN" | "NAURUAN" | "NEPALESE" | "NEW_ZEALANDER" | "NI_VANUATU" | "NICARAGUAN" | "NIGERIEN" | "NIGERIAN" | "NORTH_KOREAN" | "NORTHERN_IRISH" | "NORWEGIAN" | "OMANI" | "PAKISTANI" | "PALAUAN" | "PANAMANIAN" | "PAPUA_NEW_GUINEAN" | "PARAGUAYAN" | "PERUVIAN" | "POLISH" | "PORTUGUESE" | "QATARI" | "ROMANIAN" | "RUSSIAN" | "RWANDAN" | "SAINT_LUCIAN" | "SALVADORAN" | "SAMOAN" | "SAN_MARINESE" | "SAO_TOMEAN" | "SAUDI" | "SCOTTISH" | "SENEGALESE" | "SERBIAN" | "SEYCHELLOIS" | "SIERRA_LEONEAN" | "SINGAPOREAN" | "SLOVAKIAN" | "SLOVENIAN" | "SOLOMON_ISLANDER" | "SOMALI" | "SOUTH_AFRICAN" | "SOUTH_KOREAN" | "SOUTH_SUDANESE" | "SPANISH" | "SRI_LANKAN" | "SUDANESE" | "SURINAMER" | "SWAZI" | "SWEDISH" | "SWISS" | "SYRIAN" | "TAIWANESE" | "TAJIK" | "TANZANIAN" | "THAI" | "TOGOLESE" | "TONGAN" | "TRINIDADIAN_OR_TOBAGONIAN" | "TUNISIAN" | "TURKISH" | "TUVALUAN" | "UGANDAN" | "UKRAINIAN" | "URUGUAYAN" | "UZBEKISTANI" | "VENEZUELAN" | "VIETNAMESE" | "WELSH" | "YEMENITE" | "ZAMBIAN" | "ZIMBABWEAN" | null | undefined;
1218
- transportation?: {
1219
- methods?: ("OWN_CAR" | "OWN_VAN" | "MOTORCYCLE" | "PUBLIC_TRANSPORT" | "BICYCLE" | "WALK")[] | null | undefined;
1220
- preferredMethod?: "OWN_CAR" | "OWN_VAN" | "MOTORCYCLE" | "PUBLIC_TRANSPORT" | "BICYCLE" | "WALK" | null | undefined;
1221
- } | null | undefined;
1222
- dateOfBirth?: string | Date | null | undefined;
1223
- bio?: string | null | undefined;
1224
- nino?: string | null | undefined;
1225
- offerOpenness?: "ACTIVELY_LOOKING" | "OPEN" | "NOT_INTERESTED" | undefined;
1253
+ offerOpenness?: "NOT_INTERESTED" | "ACTIVELY_LOOKING" | "OPEN" | undefined;
1254
+ offerOpennessSetAt?: string | Date | null | undefined;
1226
1255
  offerNote?: string | null | undefined;
1227
- phoneNumbers?: {
1228
- id: string;
1229
- updatedAt: string | Date;
1230
- createdAt: string | Date;
1231
- phoneNumber: string;
1232
- description?: string | null | undefined;
1233
- isPrimary?: boolean | undefined;
1234
- }[] | null | undefined;
1256
+ offerNoteUpdatedAt?: string | Date | null | undefined;
1257
+ offerSignalUpdatedById?: string | null | undefined;
1258
+ offerSignalUpdatedByName?: string | null | undefined;
1259
+ shareCode?: {
1260
+ code: string | null;
1261
+ expiryDate?: string | Date | null | undefined;
1262
+ fileId?: string | null | undefined;
1263
+ } | null | undefined;
1264
+ liveStatus?: {
1265
+ bookingId?: string | null | undefined;
1266
+ booking?: "COMPLETED" | "CANCELLED" | "REFUSED_BY_CLIENT" | "REFUSED_BY_FIRST_BECAUSE_OF_NATIONALITY" | "REFUSED_BY_FIRST_NOT_ENOUGH_EXPERIENCE" | "REFUSED_BY_FIRST_JOB_FILLED" | "REFUSED_BY_FIRST_IGNORED_DENIED" | "REFUSED_BY_FIRST_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "CONFIRMED" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS" | "DIDNT_START_OVERBOOK_BY_CLIENT" | "DIDNT_START_OVERBOOK_BY_US" | "ANOTHER_SITUATION" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "JOB_CANCELLED" | null | undefined;
1267
+ active?: {
1268
+ status: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | "OFF_SCHEDULE";
1269
+ } | null | undefined;
1270
+ activeId?: string | null | undefined;
1271
+ bookingAgent?: {
1272
+ id: string;
1273
+ firstName: string;
1274
+ lastName: string;
1275
+ } | null | undefined;
1276
+ } | undefined;
1277
+ occupancyStatus?: "ACTIVE" | "BOOKED" | null | undefined;
1278
+ workingUntil?: string | Date | null | undefined;
1279
+ blacklistReason?: string | null | undefined;
1235
1280
  trades?: {
1236
1281
  id: string;
1237
- updatedAt: string | Date;
1238
1282
  createdAt: string | Date;
1283
+ updatedAt: string | Date;
1239
1284
  tradeId: string;
1240
1285
  mainTrade: boolean;
1241
1286
  }[] | null | undefined;
1242
1287
  qualifications?: {
1243
1288
  id: string;
1244
- updatedAt: string | Date;
1245
1289
  createdAt: string | Date;
1290
+ proofDocumentFileId: string | null;
1291
+ referenceNumber: string | null;
1246
1292
  qualificationId: string;
1247
1293
  qualificationTypeId: string | null;
1248
- referenceNumber: string | null;
1249
- proofDocumentFileId: string | null;
1294
+ updatedAt: string | Date;
1250
1295
  issueDate?: string | Date | null | undefined;
1251
1296
  expiryDate?: string | Date | null | undefined;
1252
1297
  }[] | null | undefined;
1298
+ phoneNumbers?: {
1299
+ id: string;
1300
+ createdAt: string | Date;
1301
+ updatedAt: string | Date;
1302
+ phoneNumber: string;
1303
+ description?: string | null | undefined;
1304
+ isPrimary?: boolean | undefined;
1305
+ }[] | null | undefined;
1253
1306
  idDocuments?: {
1254
1307
  id: string;
1255
- updatedAt?: string | Date | undefined;
1256
1308
  createdAt?: string | Date | undefined;
1257
1309
  expiryDate?: string | Date | null | undefined;
1310
+ updatedAt?: string | Date | undefined;
1258
1311
  fileId?: string | null | undefined;
1259
1312
  documentType?: "unknown" | "passport" | "id_card" | "driving_license" | null | undefined;
1260
1313
  documentNumber?: string | null | undefined;
1261
1314
  }[] | undefined;
1262
- shareCode?: {
1263
- code: string | null;
1264
- expiryDate?: string | Date | null | undefined;
1265
- fileId?: string | null | undefined;
1266
- } | null | undefined;
1267
- liveStatus?: {
1268
- booking?: "REFUSED_BY_CLIENT" | "REFUSED_BY_FIRST_BECAUSE_OF_NATIONALITY" | "REFUSED_BY_FIRST_NOT_ENOUGH_EXPERIENCE" | "REFUSED_BY_FIRST_JOB_FILLED" | "REFUSED_BY_FIRST_IGNORED_DENIED" | "REFUSED_BY_FIRST_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "CONFIRMED" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS" | "DIDNT_START_OVERBOOK_BY_CLIENT" | "DIDNT_START_OVERBOOK_BY_US" | "ANOTHER_SITUATION" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "COMPLETED" | "CANCELLED" | "JOB_CANCELLED" | null | undefined;
1269
- active?: {
1270
- status: "ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | "OFF_SCHEDULE";
1271
- } | null | undefined;
1272
- bookingId?: string | null | undefined;
1273
- activeId?: string | null | undefined;
1274
- bookingAgent?: {
1275
- id: string;
1276
- lastName: string;
1277
- firstName: string;
1278
- } | null | undefined;
1279
- } | undefined;
1280
- offerOpennessSetAt?: string | Date | null | undefined;
1281
- offerNoteUpdatedAt?: string | Date | null | undefined;
1282
- occupancyStatus?: "ACTIVE" | "BOOKED" | null | undefined;
1283
- distanceKm?: number | null | undefined;
1284
- bookingHistory?: {
1285
- workedTotal: number;
1286
- workedByMe: number;
1287
- noShowTotal: number;
1288
- noShowByMe: number;
1289
- } | undefined;
1290
- offerSignalUpdatedById?: string | null | undefined;
1291
- offerSignalUpdatedByName?: string | null | undefined;
1292
- workingUntil?: string | Date | null | undefined;
1293
1315
  };
1294
- matches: {
1295
- status: "NOT_INTERESTED" | "BOOKED" | "NEW" | "TOO_FAR" | "OFFER_SENT";
1296
- statusUpdatedAt: string | null;
1297
- jobId: string;
1298
- subjectKind: "OWNED" | "CURATED";
1299
- subjectId: string;
1300
- distanceKm: number | null;
1301
- driveMinutes: number | null;
1302
- transitMinutes: number | null;
1303
- }[];
1304
1316
  jobCards: {
1305
1317
  id: string;
1306
- updatedAt: string | Date;
1318
+ status: "AVAILABLE" | "NOT_AVAILABLE";
1307
1319
  createdAt: string | Date;
1308
1320
  description: string;
1309
1321
  pay: {
1310
1322
  rateUnit: "DAILY" | "HOURLY";
1311
- receivedRate?: number | null | undefined;
1312
1323
  rate?: number | null | undefined;
1313
1324
  isNegotiable?: boolean | undefined;
1314
1325
  rateMax?: number | null | undefined;
1326
+ receivedRate?: number | null | undefined;
1315
1327
  };
1316
- numberOfPositions: number;
1317
- status: "AVAILABLE" | "NOT_AVAILABLE";
1328
+ updatedAt: string | Date;
1318
1329
  tradeId: string;
1330
+ numberOfPositions: number;
1331
+ distanceKm?: number | null | undefined;
1332
+ startDate?: string | null | undefined;
1319
1333
  location?: {
1320
1334
  address?: string | null | undefined;
1321
1335
  postcode?: string | null | undefined;
1322
1336
  adminDistrict?: string | null | undefined;
1323
1337
  postTown?: string | null | undefined;
1324
1338
  } | null | undefined;
1325
- workHours?: number | null | undefined;
1326
- startDate?: string | null | undefined;
1327
- jobQualifications?: {
1339
+ createdBy?: {
1328
1340
  id: string;
1329
- qualificationId: string;
1330
- qualificationTypeId?: string | null | undefined;
1331
- }[] | null | undefined;
1332
- collaboration?: {
1333
- id?: string | null | undefined;
1334
- status?: string | null | undefined;
1341
+ firstName: string;
1342
+ lastName: string;
1343
+ phoneNumbers?: {
1344
+ id: string;
1345
+ phoneNumber: string;
1346
+ description?: string | null | undefined;
1347
+ isPrimary?: boolean | undefined;
1348
+ }[] | undefined;
1349
+ deletedAt?: string | Date | null | undefined;
1350
+ } | null | undefined;
1351
+ workHours?: number | null | undefined;
1352
+ jobQualifications?: {
1353
+ id: string;
1354
+ qualificationId: string;
1355
+ qualificationTypeId?: string | null | undefined;
1356
+ }[] | null | undefined;
1357
+ collaboration?: {
1358
+ id?: string | null | undefined;
1359
+ status?: string | null | undefined;
1360
+ userId?: string | null | undefined;
1335
1361
  client?: {
1336
1362
  id: string;
1337
1363
  name: string;
@@ -1340,11 +1366,10 @@ export declare const ConsentJobsResponseSchema: z.ZodObject<{
1340
1366
  id: string;
1341
1367
  name: string;
1342
1368
  } | null | undefined;
1343
- userId?: string | null | undefined;
1344
1369
  user?: {
1345
1370
  id: string;
1346
- lastName: string;
1347
1371
  firstName: string;
1372
+ lastName: string;
1348
1373
  phoneNumbers?: {
1349
1374
  id: string;
1350
1375
  phoneNumber: string;
@@ -1354,22 +1379,12 @@ export declare const ConsentJobsResponseSchema: z.ZodObject<{
1354
1379
  deletedAt?: string | Date | null | undefined;
1355
1380
  } | null | undefined;
1356
1381
  } | null | undefined;
1357
- filledPositions?: number | undefined;
1358
1382
  createdById?: string | null | undefined;
1359
- createdBy?: {
1360
- id: string;
1361
- lastName: string;
1362
- firstName: string;
1363
- phoneNumbers?: {
1364
- id: string;
1365
- phoneNumber: string;
1366
- description?: string | null | undefined;
1367
- isPrimary?: boolean | undefined;
1368
- }[] | undefined;
1369
- deletedAt?: string | Date | null | undefined;
1370
- } | null | undefined;
1371
- creationSource?: "BOT" | "MANUAL" | null | undefined;
1372
- distanceKm?: number | null | undefined;
1383
+ creationSource?: "MANUAL" | "BOT" | null | undefined;
1384
+ filledPositions?: number | undefined;
1385
+ sourceMessageDeletedAt?: string | Date | null | undefined;
1386
+ minimumRateDeletionExemptAt?: string | Date | null | undefined;
1387
+ minimumRateDeletionExemptById?: string | null | undefined;
1373
1388
  }[];
1374
1389
  }>;
1375
1390
  export type ConsentJobsResponse = z.infer<typeof ConsentJobsResponseSchema>;
@@ -1418,11 +1433,11 @@ export declare const ConsentApplyItemSchema: z.ZodObject<{
1418
1433
  channel: z.ZodOptional<z.ZodEnum<["WHATSAPP", "PHONE"]>>;
1419
1434
  }, "strip", z.ZodTypeAny, {
1420
1435
  jobId: string;
1421
- outcome: "NOT_INTERESTED" | "BOOKED" | "TOO_FAR" | "OFFER_SENT";
1436
+ outcome: "TOO_FAR" | "NOT_INTERESTED" | "OFFER_SENT" | "BOOKED";
1422
1437
  channel?: "WHATSAPP" | "PHONE" | undefined;
1423
1438
  }, {
1424
1439
  jobId: string;
1425
- outcome: "NOT_INTERESTED" | "BOOKED" | "TOO_FAR" | "OFFER_SENT";
1440
+ outcome: "TOO_FAR" | "NOT_INTERESTED" | "OFFER_SENT" | "BOOKED";
1426
1441
  channel?: "WHATSAPP" | "PHONE" | undefined;
1427
1442
  }>;
1428
1443
  export type ConsentApplyItem = z.infer<typeof ConsentApplyItemSchema>;
@@ -1433,23 +1448,23 @@ export declare const ConsentAndApplySchema: z.ZodObject<{
1433
1448
  channel: z.ZodOptional<z.ZodEnum<["WHATSAPP", "PHONE"]>>;
1434
1449
  }, "strip", z.ZodTypeAny, {
1435
1450
  jobId: string;
1436
- outcome: "NOT_INTERESTED" | "BOOKED" | "TOO_FAR" | "OFFER_SENT";
1451
+ outcome: "TOO_FAR" | "NOT_INTERESTED" | "OFFER_SENT" | "BOOKED";
1437
1452
  channel?: "WHATSAPP" | "PHONE" | undefined;
1438
1453
  }, {
1439
1454
  jobId: string;
1440
- outcome: "NOT_INTERESTED" | "BOOKED" | "TOO_FAR" | "OFFER_SENT";
1455
+ outcome: "TOO_FAR" | "NOT_INTERESTED" | "OFFER_SENT" | "BOOKED";
1441
1456
  channel?: "WHATSAPP" | "PHONE" | undefined;
1442
1457
  }>, "many">;
1443
1458
  }, "strict", z.ZodTypeAny, {
1444
1459
  items: {
1445
1460
  jobId: string;
1446
- outcome: "NOT_INTERESTED" | "BOOKED" | "TOO_FAR" | "OFFER_SENT";
1461
+ outcome: "TOO_FAR" | "NOT_INTERESTED" | "OFFER_SENT" | "BOOKED";
1447
1462
  channel?: "WHATSAPP" | "PHONE" | undefined;
1448
1463
  }[];
1449
1464
  }, {
1450
1465
  items: {
1451
1466
  jobId: string;
1452
- outcome: "NOT_INTERESTED" | "BOOKED" | "TOO_FAR" | "OFFER_SENT";
1467
+ outcome: "TOO_FAR" | "NOT_INTERESTED" | "OFFER_SENT" | "BOOKED";
1453
1468
  channel?: "WHATSAPP" | "PHONE" | undefined;
1454
1469
  }[];
1455
1470
  }>;
@@ -1480,17 +1495,17 @@ export declare const consentQueueContract: {
1480
1495
  path: z.ZodString;
1481
1496
  correlationId: z.ZodOptional<z.ZodString>;
1482
1497
  }, "strip", z.ZodTypeAny, {
1483
- message: string;
1484
- path: string;
1485
1498
  code: string;
1499
+ path: string;
1500
+ message: string;
1486
1501
  statusCode: number;
1487
1502
  timestamp: string;
1488
1503
  details?: unknown;
1489
1504
  correlationId?: string | undefined;
1490
1505
  }, {
1491
- message: string;
1492
- path: string;
1493
1506
  code: string;
1507
+ path: string;
1508
+ message: string;
1494
1509
  statusCode: number;
1495
1510
  timestamp: string;
1496
1511
  details?: unknown;
@@ -1505,17 +1520,17 @@ export declare const consentQueueContract: {
1505
1520
  path: z.ZodString;
1506
1521
  correlationId: z.ZodOptional<z.ZodString>;
1507
1522
  }, "strip", z.ZodTypeAny, {
1508
- message: string;
1509
- path: string;
1510
1523
  code: string;
1524
+ path: string;
1525
+ message: string;
1511
1526
  statusCode: number;
1512
1527
  timestamp: string;
1513
1528
  details?: unknown;
1514
1529
  correlationId?: string | undefined;
1515
1530
  }, {
1516
- message: string;
1517
- path: string;
1518
1531
  code: string;
1532
+ path: string;
1533
+ message: string;
1519
1534
  statusCode: number;
1520
1535
  timestamp: string;
1521
1536
  details?: unknown;
@@ -1530,17 +1545,17 @@ export declare const consentQueueContract: {
1530
1545
  path: z.ZodString;
1531
1546
  correlationId: z.ZodOptional<z.ZodString>;
1532
1547
  }, "strip", z.ZodTypeAny, {
1533
- message: string;
1534
- path: string;
1535
1548
  code: string;
1549
+ path: string;
1550
+ message: string;
1536
1551
  statusCode: number;
1537
1552
  timestamp: string;
1538
1553
  details?: unknown;
1539
1554
  correlationId?: string | undefined;
1540
1555
  }, {
1541
- message: string;
1542
- path: string;
1543
1556
  code: string;
1557
+ path: string;
1558
+ message: string;
1544
1559
  statusCode: number;
1545
1560
  timestamp: string;
1546
1561
  details?: unknown;
@@ -1557,25 +1572,25 @@ export declare const consentQueueContract: {
1557
1572
  nearestJobDistanceKm: z.ZodNullable<z.ZodNumber>;
1558
1573
  assignedAt: z.ZodString;
1559
1574
  }, "strip", z.ZodTypeAny, {
1575
+ curatedWorkerId: string;
1560
1576
  postcode: string | null;
1577
+ phoneNumber: string | null;
1561
1578
  workerName: string;
1562
1579
  assignmentId: string;
1563
- phoneNumber: string | null;
1564
- assignedAt: string;
1565
- curatedWorkerId: string;
1566
1580
  phoneId: string | null;
1567
1581
  matchingJobCount: number;
1568
1582
  nearestJobDistanceKm: number | null;
1583
+ assignedAt: string;
1569
1584
  }, {
1585
+ curatedWorkerId: string;
1570
1586
  postcode: string | null;
1587
+ phoneNumber: string | null;
1571
1588
  workerName: string;
1572
1589
  assignmentId: string;
1573
- phoneNumber: string | null;
1574
- assignedAt: string;
1575
- curatedWorkerId: string;
1576
1590
  phoneId: string | null;
1577
1591
  matchingJobCount: number;
1578
1592
  nearestJobDistanceKm: number | null;
1593
+ assignedAt: string;
1579
1594
  }>>;
1580
1595
  403: z.ZodObject<{
1581
1596
  statusCode: z.ZodNumber;
@@ -1586,17 +1601,17 @@ export declare const consentQueueContract: {
1586
1601
  path: z.ZodString;
1587
1602
  correlationId: z.ZodOptional<z.ZodString>;
1588
1603
  }, "strip", z.ZodTypeAny, {
1589
- message: string;
1590
- path: string;
1591
1604
  code: string;
1605
+ path: string;
1606
+ message: string;
1592
1607
  statusCode: number;
1593
1608
  timestamp: string;
1594
1609
  details?: unknown;
1595
1610
  correlationId?: string | undefined;
1596
1611
  }, {
1597
- message: string;
1598
- path: string;
1599
1612
  code: string;
1613
+ path: string;
1614
+ message: string;
1600
1615
  statusCode: number;
1601
1616
  timestamp: string;
1602
1617
  details?: unknown;
@@ -1621,17 +1636,17 @@ export declare const consentQueueContract: {
1621
1636
  path: z.ZodString;
1622
1637
  correlationId: z.ZodOptional<z.ZodString>;
1623
1638
  }, "strip", z.ZodTypeAny, {
1624
- message: string;
1625
- path: string;
1626
1639
  code: string;
1640
+ path: string;
1641
+ message: string;
1627
1642
  statusCode: number;
1628
1643
  timestamp: string;
1629
1644
  details?: unknown;
1630
1645
  correlationId?: string | undefined;
1631
1646
  }, {
1632
- message: string;
1633
- path: string;
1634
1647
  code: string;
1648
+ path: string;
1649
+ message: string;
1635
1650
  statusCode: number;
1636
1651
  timestamp: string;
1637
1652
  details?: unknown;
@@ -1646,17 +1661,17 @@ export declare const consentQueueContract: {
1646
1661
  path: z.ZodString;
1647
1662
  correlationId: z.ZodOptional<z.ZodString>;
1648
1663
  }, "strip", z.ZodTypeAny, {
1649
- message: string;
1650
- path: string;
1651
1664
  code: string;
1665
+ path: string;
1666
+ message: string;
1652
1667
  statusCode: number;
1653
1668
  timestamp: string;
1654
1669
  details?: unknown;
1655
1670
  correlationId?: string | undefined;
1656
1671
  }, {
1657
- message: string;
1658
- path: string;
1659
1672
  code: string;
1673
+ path: string;
1674
+ message: string;
1660
1675
  statusCode: number;
1661
1676
  timestamp: string;
1662
1677
  details?: unknown;
@@ -1671,17 +1686,17 @@ export declare const consentQueueContract: {
1671
1686
  path: z.ZodString;
1672
1687
  correlationId: z.ZodOptional<z.ZodString>;
1673
1688
  }, "strip", z.ZodTypeAny, {
1674
- message: string;
1675
- path: string;
1676
1689
  code: string;
1690
+ path: string;
1691
+ message: string;
1677
1692
  statusCode: number;
1678
1693
  timestamp: string;
1679
1694
  details?: unknown;
1680
1695
  correlationId?: string | undefined;
1681
1696
  }, {
1682
- message: string;
1683
- path: string;
1684
1697
  code: string;
1698
+ path: string;
1699
+ message: string;
1685
1700
  statusCode: number;
1686
1701
  timestamp: string;
1687
1702
  details?: unknown;
@@ -1706,17 +1721,17 @@ export declare const consentQueueContract: {
1706
1721
  path: z.ZodString;
1707
1722
  correlationId: z.ZodOptional<z.ZodString>;
1708
1723
  }, "strip", z.ZodTypeAny, {
1709
- message: string;
1710
- path: string;
1711
1724
  code: string;
1725
+ path: string;
1726
+ message: string;
1712
1727
  statusCode: number;
1713
1728
  timestamp: string;
1714
1729
  details?: unknown;
1715
1730
  correlationId?: string | undefined;
1716
1731
  }, {
1717
- message: string;
1718
- path: string;
1719
1732
  code: string;
1733
+ path: string;
1734
+ message: string;
1720
1735
  statusCode: number;
1721
1736
  timestamp: string;
1722
1737
  details?: unknown;
@@ -1749,17 +1764,17 @@ export declare const consentQueueContract: {
1749
1764
  path: z.ZodString;
1750
1765
  correlationId: z.ZodOptional<z.ZodString>;
1751
1766
  }, "strip", z.ZodTypeAny, {
1752
- message: string;
1753
- path: string;
1754
1767
  code: string;
1768
+ path: string;
1769
+ message: string;
1755
1770
  statusCode: number;
1756
1771
  timestamp: string;
1757
1772
  details?: unknown;
1758
1773
  correlationId?: string | undefined;
1759
1774
  }, {
1760
- message: string;
1761
- path: string;
1762
1775
  code: string;
1776
+ path: string;
1777
+ message: string;
1763
1778
  statusCode: number;
1764
1779
  timestamp: string;
1765
1780
  details?: unknown;
@@ -1774,17 +1789,17 @@ export declare const consentQueueContract: {
1774
1789
  path: z.ZodString;
1775
1790
  correlationId: z.ZodOptional<z.ZodString>;
1776
1791
  }, "strip", z.ZodTypeAny, {
1777
- message: string;
1778
- path: string;
1779
1792
  code: string;
1793
+ path: string;
1794
+ message: string;
1780
1795
  statusCode: number;
1781
1796
  timestamp: string;
1782
1797
  details?: unknown;
1783
1798
  correlationId?: string | undefined;
1784
1799
  }, {
1785
- message: string;
1786
- path: string;
1787
1800
  code: string;
1801
+ path: string;
1802
+ message: string;
1788
1803
  statusCode: number;
1789
1804
  timestamp: string;
1790
1805
  details?: unknown;
@@ -1799,17 +1814,17 @@ export declare const consentQueueContract: {
1799
1814
  path: z.ZodString;
1800
1815
  correlationId: z.ZodOptional<z.ZodString>;
1801
1816
  }, "strip", z.ZodTypeAny, {
1802
- message: string;
1803
- path: string;
1804
1817
  code: string;
1818
+ path: string;
1819
+ message: string;
1805
1820
  statusCode: number;
1806
1821
  timestamp: string;
1807
1822
  details?: unknown;
1808
1823
  correlationId?: string | undefined;
1809
1824
  }, {
1810
- message: string;
1811
- path: string;
1812
1825
  code: string;
1826
+ path: string;
1827
+ message: string;
1813
1828
  statusCode: number;
1814
1829
  timestamp: string;
1815
1830
  details?: unknown;
@@ -1827,49 +1842,49 @@ export declare const consentQueueContract: {
1827
1842
  nearestJobDistanceKm: z.ZodNullable<z.ZodNumber>;
1828
1843
  assignedAt: z.ZodString;
1829
1844
  }, "strip", z.ZodTypeAny, {
1845
+ curatedWorkerId: string;
1830
1846
  postcode: string | null;
1847
+ phoneNumber: string | null;
1831
1848
  workerName: string;
1832
1849
  assignmentId: string;
1833
- phoneNumber: string | null;
1834
- assignedAt: string;
1835
- curatedWorkerId: string;
1836
1850
  phoneId: string | null;
1837
1851
  matchingJobCount: number;
1838
1852
  nearestJobDistanceKm: number | null;
1853
+ assignedAt: string;
1839
1854
  }, {
1855
+ curatedWorkerId: string;
1840
1856
  postcode: string | null;
1857
+ phoneNumber: string | null;
1841
1858
  workerName: string;
1842
1859
  assignmentId: string;
1843
- phoneNumber: string | null;
1844
- assignedAt: string;
1845
- curatedWorkerId: string;
1846
1860
  phoneId: string | null;
1847
1861
  matchingJobCount: number;
1848
1862
  nearestJobDistanceKm: number | null;
1863
+ assignedAt: string;
1849
1864
  }>>;
1850
1865
  }, "strip", z.ZodTypeAny, {
1851
1866
  next: {
1867
+ curatedWorkerId: string;
1852
1868
  postcode: string | null;
1869
+ phoneNumber: string | null;
1853
1870
  workerName: string;
1854
1871
  assignmentId: string;
1855
- phoneNumber: string | null;
1856
- assignedAt: string;
1857
- curatedWorkerId: string;
1858
1872
  phoneId: string | null;
1859
1873
  matchingJobCount: number;
1860
1874
  nearestJobDistanceKm: number | null;
1875
+ assignedAt: string;
1861
1876
  } | null;
1862
1877
  }, {
1863
1878
  next: {
1879
+ curatedWorkerId: string;
1864
1880
  postcode: string | null;
1881
+ phoneNumber: string | null;
1865
1882
  workerName: string;
1866
1883
  assignmentId: string;
1867
- phoneNumber: string | null;
1868
- assignedAt: string;
1869
- curatedWorkerId: string;
1870
1884
  phoneId: string | null;
1871
1885
  matchingJobCount: number;
1872
1886
  nearestJobDistanceKm: number | null;
1887
+ assignedAt: string;
1873
1888
  } | null;
1874
1889
  }>;
1875
1890
  403: z.ZodObject<{
@@ -1881,17 +1896,17 @@ export declare const consentQueueContract: {
1881
1896
  path: z.ZodString;
1882
1897
  correlationId: z.ZodOptional<z.ZodString>;
1883
1898
  }, "strip", z.ZodTypeAny, {
1884
- message: string;
1885
- path: string;
1886
1899
  code: string;
1900
+ path: string;
1901
+ message: string;
1887
1902
  statusCode: number;
1888
1903
  timestamp: string;
1889
1904
  details?: unknown;
1890
1905
  correlationId?: string | undefined;
1891
1906
  }, {
1892
- message: string;
1893
- path: string;
1894
1907
  code: string;
1908
+ path: string;
1909
+ message: string;
1895
1910
  statusCode: number;
1896
1911
  timestamp: string;
1897
1912
  details?: unknown;
@@ -1906,17 +1921,17 @@ export declare const consentQueueContract: {
1906
1921
  path: z.ZodString;
1907
1922
  correlationId: z.ZodOptional<z.ZodString>;
1908
1923
  }, "strip", z.ZodTypeAny, {
1909
- message: string;
1910
- path: string;
1911
1924
  code: string;
1925
+ path: string;
1926
+ message: string;
1912
1927
  statusCode: number;
1913
1928
  timestamp: string;
1914
1929
  details?: unknown;
1915
1930
  correlationId?: string | undefined;
1916
1931
  }, {
1917
- message: string;
1918
- path: string;
1919
1932
  code: string;
1933
+ path: string;
1934
+ message: string;
1920
1935
  statusCode: number;
1921
1936
  timestamp: string;
1922
1937
  details?: unknown;
@@ -1941,10 +1956,10 @@ export declare const consentQueueContract: {
1941
1956
  reason: z.ZodEnum<["NOT_INTERESTED", "ALREADY_WORKING", "OUT_OF_COUNTRY", "WRONG_NUMBER", "NO_ANSWER", "OTHER"]>;
1942
1957
  doNotContactDays: z.ZodNumber;
1943
1958
  }, "strip", z.ZodTypeAny, {
1944
- reason: "NO_ANSWER" | "NOT_INTERESTED" | "ALREADY_WORKING" | "OUT_OF_COUNTRY" | "WRONG_NUMBER" | "OTHER";
1959
+ reason: "NOT_INTERESTED" | "OTHER" | "NO_ANSWER" | "ALREADY_WORKING" | "OUT_OF_COUNTRY" | "WRONG_NUMBER";
1945
1960
  doNotContactDays: number;
1946
1961
  }, {
1947
- reason: "NO_ANSWER" | "NOT_INTERESTED" | "ALREADY_WORKING" | "OUT_OF_COUNTRY" | "WRONG_NUMBER" | "OTHER";
1962
+ reason: "NOT_INTERESTED" | "OTHER" | "NO_ANSWER" | "ALREADY_WORKING" | "OUT_OF_COUNTRY" | "WRONG_NUMBER";
1948
1963
  doNotContactDays: number;
1949
1964
  }>;
1950
1965
  path: "/v2/curated-worker-leads/consent-queue/:id/decline";
@@ -1958,17 +1973,17 @@ export declare const consentQueueContract: {
1958
1973
  path: z.ZodString;
1959
1974
  correlationId: z.ZodOptional<z.ZodString>;
1960
1975
  }, "strip", z.ZodTypeAny, {
1961
- message: string;
1962
- path: string;
1963
1976
  code: string;
1977
+ path: string;
1978
+ message: string;
1964
1979
  statusCode: number;
1965
1980
  timestamp: string;
1966
1981
  details?: unknown;
1967
1982
  correlationId?: string | undefined;
1968
1983
  }, {
1969
- message: string;
1970
- path: string;
1971
1984
  code: string;
1985
+ path: string;
1986
+ message: string;
1972
1987
  statusCode: number;
1973
1988
  timestamp: string;
1974
1989
  details?: unknown;
@@ -1983,17 +1998,17 @@ export declare const consentQueueContract: {
1983
1998
  path: z.ZodString;
1984
1999
  correlationId: z.ZodOptional<z.ZodString>;
1985
2000
  }, "strip", z.ZodTypeAny, {
1986
- message: string;
1987
- path: string;
1988
2001
  code: string;
2002
+ path: string;
2003
+ message: string;
1989
2004
  statusCode: number;
1990
2005
  timestamp: string;
1991
2006
  details?: unknown;
1992
2007
  correlationId?: string | undefined;
1993
2008
  }, {
1994
- message: string;
1995
- path: string;
1996
2009
  code: string;
2010
+ path: string;
2011
+ message: string;
1997
2012
  statusCode: number;
1998
2013
  timestamp: string;
1999
2014
  details?: unknown;
@@ -2008,17 +2023,17 @@ export declare const consentQueueContract: {
2008
2023
  path: z.ZodString;
2009
2024
  correlationId: z.ZodOptional<z.ZodString>;
2010
2025
  }, "strip", z.ZodTypeAny, {
2011
- message: string;
2012
- path: string;
2013
2026
  code: string;
2027
+ path: string;
2028
+ message: string;
2014
2029
  statusCode: number;
2015
2030
  timestamp: string;
2016
2031
  details?: unknown;
2017
2032
  correlationId?: string | undefined;
2018
2033
  }, {
2019
- message: string;
2020
- path: string;
2021
2034
  code: string;
2035
+ path: string;
2036
+ message: string;
2022
2037
  statusCode: number;
2023
2038
  timestamp: string;
2024
2039
  details?: unknown;
@@ -2036,49 +2051,49 @@ export declare const consentQueueContract: {
2036
2051
  nearestJobDistanceKm: z.ZodNullable<z.ZodNumber>;
2037
2052
  assignedAt: z.ZodString;
2038
2053
  }, "strip", z.ZodTypeAny, {
2054
+ curatedWorkerId: string;
2039
2055
  postcode: string | null;
2056
+ phoneNumber: string | null;
2040
2057
  workerName: string;
2041
2058
  assignmentId: string;
2042
- phoneNumber: string | null;
2043
- assignedAt: string;
2044
- curatedWorkerId: string;
2045
2059
  phoneId: string | null;
2046
2060
  matchingJobCount: number;
2047
2061
  nearestJobDistanceKm: number | null;
2062
+ assignedAt: string;
2048
2063
  }, {
2064
+ curatedWorkerId: string;
2049
2065
  postcode: string | null;
2066
+ phoneNumber: string | null;
2050
2067
  workerName: string;
2051
2068
  assignmentId: string;
2052
- phoneNumber: string | null;
2053
- assignedAt: string;
2054
- curatedWorkerId: string;
2055
2069
  phoneId: string | null;
2056
2070
  matchingJobCount: number;
2057
2071
  nearestJobDistanceKm: number | null;
2072
+ assignedAt: string;
2058
2073
  }>>;
2059
2074
  }, "strip", z.ZodTypeAny, {
2060
2075
  next: {
2076
+ curatedWorkerId: string;
2061
2077
  postcode: string | null;
2078
+ phoneNumber: string | null;
2062
2079
  workerName: string;
2063
2080
  assignmentId: string;
2064
- phoneNumber: string | null;
2065
- assignedAt: string;
2066
- curatedWorkerId: string;
2067
2081
  phoneId: string | null;
2068
2082
  matchingJobCount: number;
2069
2083
  nearestJobDistanceKm: number | null;
2084
+ assignedAt: string;
2070
2085
  } | null;
2071
2086
  }, {
2072
2087
  next: {
2088
+ curatedWorkerId: string;
2073
2089
  postcode: string | null;
2090
+ phoneNumber: string | null;
2074
2091
  workerName: string;
2075
2092
  assignmentId: string;
2076
- phoneNumber: string | null;
2077
- assignedAt: string;
2078
- curatedWorkerId: string;
2079
2093
  phoneId: string | null;
2080
2094
  matchingJobCount: number;
2081
2095
  nearestJobDistanceKm: number | null;
2096
+ assignedAt: string;
2082
2097
  } | null;
2083
2098
  }>;
2084
2099
  403: z.ZodObject<{
@@ -2090,17 +2105,17 @@ export declare const consentQueueContract: {
2090
2105
  path: z.ZodString;
2091
2106
  correlationId: z.ZodOptional<z.ZodString>;
2092
2107
  }, "strip", z.ZodTypeAny, {
2093
- message: string;
2094
- path: string;
2095
2108
  code: string;
2109
+ path: string;
2110
+ message: string;
2096
2111
  statusCode: number;
2097
2112
  timestamp: string;
2098
2113
  details?: unknown;
2099
2114
  correlationId?: string | undefined;
2100
2115
  }, {
2101
- message: string;
2102
- path: string;
2103
2116
  code: string;
2117
+ path: string;
2118
+ message: string;
2104
2119
  statusCode: number;
2105
2120
  timestamp: string;
2106
2121
  details?: unknown;
@@ -2115,17 +2130,17 @@ export declare const consentQueueContract: {
2115
2130
  path: z.ZodString;
2116
2131
  correlationId: z.ZodOptional<z.ZodString>;
2117
2132
  }, "strip", z.ZodTypeAny, {
2118
- message: string;
2119
- path: string;
2120
2133
  code: string;
2134
+ path: string;
2135
+ message: string;
2121
2136
  statusCode: number;
2122
2137
  timestamp: string;
2123
2138
  details?: unknown;
2124
2139
  correlationId?: string | undefined;
2125
2140
  }, {
2126
- message: string;
2127
- path: string;
2128
2141
  code: string;
2142
+ path: string;
2143
+ message: string;
2129
2144
  statusCode: number;
2130
2145
  timestamp: string;
2131
2146
  details?: unknown;
@@ -2167,17 +2182,17 @@ export declare const consentQueueContract: {
2167
2182
  path: z.ZodString;
2168
2183
  correlationId: z.ZodOptional<z.ZodString>;
2169
2184
  }, "strip", z.ZodTypeAny, {
2170
- message: string;
2171
- path: string;
2172
2185
  code: string;
2186
+ path: string;
2187
+ message: string;
2173
2188
  statusCode: number;
2174
2189
  timestamp: string;
2175
2190
  details?: unknown;
2176
2191
  correlationId?: string | undefined;
2177
2192
  }, {
2178
- message: string;
2179
- path: string;
2180
2193
  code: string;
2194
+ path: string;
2195
+ message: string;
2181
2196
  statusCode: number;
2182
2197
  timestamp: string;
2183
2198
  details?: unknown;
@@ -2192,17 +2207,17 @@ export declare const consentQueueContract: {
2192
2207
  path: z.ZodString;
2193
2208
  correlationId: z.ZodOptional<z.ZodString>;
2194
2209
  }, "strip", z.ZodTypeAny, {
2195
- message: string;
2196
- path: string;
2197
2210
  code: string;
2211
+ path: string;
2212
+ message: string;
2198
2213
  statusCode: number;
2199
2214
  timestamp: string;
2200
2215
  details?: unknown;
2201
2216
  correlationId?: string | undefined;
2202
2217
  }, {
2203
- message: string;
2204
- path: string;
2205
2218
  code: string;
2219
+ path: string;
2220
+ message: string;
2206
2221
  statusCode: number;
2207
2222
  timestamp: string;
2208
2223
  details?: unknown;
@@ -2217,17 +2232,17 @@ export declare const consentQueueContract: {
2217
2232
  path: z.ZodString;
2218
2233
  correlationId: z.ZodOptional<z.ZodString>;
2219
2234
  }, "strip", z.ZodTypeAny, {
2220
- message: string;
2221
- path: string;
2222
2235
  code: string;
2236
+ path: string;
2237
+ message: string;
2223
2238
  statusCode: number;
2224
2239
  timestamp: string;
2225
2240
  details?: unknown;
2226
2241
  correlationId?: string | undefined;
2227
2242
  }, {
2228
- message: string;
2229
- path: string;
2230
2243
  code: string;
2244
+ path: string;
2245
+ message: string;
2231
2246
  statusCode: number;
2232
2247
  timestamp: string;
2233
2248
  details?: unknown;
@@ -2245,49 +2260,49 @@ export declare const consentQueueContract: {
2245
2260
  nearestJobDistanceKm: z.ZodNullable<z.ZodNumber>;
2246
2261
  assignedAt: z.ZodString;
2247
2262
  }, "strip", z.ZodTypeAny, {
2263
+ curatedWorkerId: string;
2248
2264
  postcode: string | null;
2265
+ phoneNumber: string | null;
2249
2266
  workerName: string;
2250
2267
  assignmentId: string;
2251
- phoneNumber: string | null;
2252
- assignedAt: string;
2253
- curatedWorkerId: string;
2254
2268
  phoneId: string | null;
2255
2269
  matchingJobCount: number;
2256
2270
  nearestJobDistanceKm: number | null;
2271
+ assignedAt: string;
2257
2272
  }, {
2273
+ curatedWorkerId: string;
2258
2274
  postcode: string | null;
2275
+ phoneNumber: string | null;
2259
2276
  workerName: string;
2260
2277
  assignmentId: string;
2261
- phoneNumber: string | null;
2262
- assignedAt: string;
2263
- curatedWorkerId: string;
2264
2278
  phoneId: string | null;
2265
2279
  matchingJobCount: number;
2266
2280
  nearestJobDistanceKm: number | null;
2281
+ assignedAt: string;
2267
2282
  }>>;
2268
2283
  }, "strip", z.ZodTypeAny, {
2269
2284
  next: {
2285
+ curatedWorkerId: string;
2270
2286
  postcode: string | null;
2287
+ phoneNumber: string | null;
2271
2288
  workerName: string;
2272
2289
  assignmentId: string;
2273
- phoneNumber: string | null;
2274
- assignedAt: string;
2275
- curatedWorkerId: string;
2276
2290
  phoneId: string | null;
2277
2291
  matchingJobCount: number;
2278
2292
  nearestJobDistanceKm: number | null;
2293
+ assignedAt: string;
2279
2294
  } | null;
2280
2295
  }, {
2281
2296
  next: {
2297
+ curatedWorkerId: string;
2282
2298
  postcode: string | null;
2299
+ phoneNumber: string | null;
2283
2300
  workerName: string;
2284
2301
  assignmentId: string;
2285
- phoneNumber: string | null;
2286
- assignedAt: string;
2287
- curatedWorkerId: string;
2288
2302
  phoneId: string | null;
2289
2303
  matchingJobCount: number;
2290
2304
  nearestJobDistanceKm: number | null;
2305
+ assignedAt: string;
2291
2306
  } | null;
2292
2307
  }>;
2293
2308
  403: z.ZodObject<{
@@ -2299,17 +2314,17 @@ export declare const consentQueueContract: {
2299
2314
  path: z.ZodString;
2300
2315
  correlationId: z.ZodOptional<z.ZodString>;
2301
2316
  }, "strip", z.ZodTypeAny, {
2302
- message: string;
2303
- path: string;
2304
2317
  code: string;
2318
+ path: string;
2319
+ message: string;
2305
2320
  statusCode: number;
2306
2321
  timestamp: string;
2307
2322
  details?: unknown;
2308
2323
  correlationId?: string | undefined;
2309
2324
  }, {
2310
- message: string;
2311
- path: string;
2312
2325
  code: string;
2326
+ path: string;
2327
+ message: string;
2313
2328
  statusCode: number;
2314
2329
  timestamp: string;
2315
2330
  details?: unknown;
@@ -2324,17 +2339,17 @@ export declare const consentQueueContract: {
2324
2339
  path: z.ZodString;
2325
2340
  correlationId: z.ZodOptional<z.ZodString>;
2326
2341
  }, "strip", z.ZodTypeAny, {
2327
- message: string;
2328
- path: string;
2329
2342
  code: string;
2343
+ path: string;
2344
+ message: string;
2330
2345
  statusCode: number;
2331
2346
  timestamp: string;
2332
2347
  details?: unknown;
2333
2348
  correlationId?: string | undefined;
2334
2349
  }, {
2335
- message: string;
2336
- path: string;
2337
2350
  code: string;
2351
+ path: string;
2352
+ message: string;
2338
2353
  statusCode: number;
2339
2354
  timestamp: string;
2340
2355
  details?: unknown;
@@ -2366,17 +2381,17 @@ export declare const consentQueueContract: {
2366
2381
  path: z.ZodString;
2367
2382
  correlationId: z.ZodOptional<z.ZodString>;
2368
2383
  }, "strip", z.ZodTypeAny, {
2369
- message: string;
2370
- path: string;
2371
2384
  code: string;
2385
+ path: string;
2386
+ message: string;
2372
2387
  statusCode: number;
2373
2388
  timestamp: string;
2374
2389
  details?: unknown;
2375
2390
  correlationId?: string | undefined;
2376
2391
  }, {
2377
- message: string;
2378
- path: string;
2379
2392
  code: string;
2393
+ path: string;
2394
+ message: string;
2380
2395
  statusCode: number;
2381
2396
  timestamp: string;
2382
2397
  details?: unknown;
@@ -2391,17 +2406,17 @@ export declare const consentQueueContract: {
2391
2406
  path: z.ZodString;
2392
2407
  correlationId: z.ZodOptional<z.ZodString>;
2393
2408
  }, "strip", z.ZodTypeAny, {
2394
- message: string;
2395
- path: string;
2396
2409
  code: string;
2410
+ path: string;
2411
+ message: string;
2397
2412
  statusCode: number;
2398
2413
  timestamp: string;
2399
2414
  details?: unknown;
2400
2415
  correlationId?: string | undefined;
2401
2416
  }, {
2402
- message: string;
2403
- path: string;
2404
2417
  code: string;
2418
+ path: string;
2419
+ message: string;
2405
2420
  statusCode: number;
2406
2421
  timestamp: string;
2407
2422
  details?: unknown;
@@ -2416,17 +2431,17 @@ export declare const consentQueueContract: {
2416
2431
  path: z.ZodString;
2417
2432
  correlationId: z.ZodOptional<z.ZodString>;
2418
2433
  }, "strip", z.ZodTypeAny, {
2419
- message: string;
2420
- path: string;
2421
2434
  code: string;
2435
+ path: string;
2436
+ message: string;
2422
2437
  statusCode: number;
2423
2438
  timestamp: string;
2424
2439
  details?: unknown;
2425
2440
  correlationId?: string | undefined;
2426
2441
  }, {
2427
- message: string;
2428
- path: string;
2429
2442
  code: string;
2443
+ path: string;
2444
+ message: string;
2430
2445
  statusCode: number;
2431
2446
  timestamp: string;
2432
2447
  details?: unknown;
@@ -2490,23 +2505,23 @@ export declare const consentQueueContract: {
2490
2505
  }, "strip", z.ZodTypeAny, {
2491
2506
  address?: string | null | undefined;
2492
2507
  postcode?: string | null | undefined;
2493
- latitude?: number | null | undefined;
2494
- longitude?: number | null | undefined;
2495
2508
  county?: string | null | undefined;
2496
2509
  adminDistrict?: string | null | undefined;
2497
2510
  builtUpArea?: string | null | undefined;
2498
2511
  postTown?: string | null | undefined;
2499
2512
  areaCovered?: string | null | undefined;
2513
+ latitude?: number | null | undefined;
2514
+ longitude?: number | null | undefined;
2500
2515
  }, {
2501
2516
  address?: string | null | undefined;
2502
2517
  postcode?: string | null | undefined;
2503
- latitude?: number | null | undefined;
2504
- longitude?: number | null | undefined;
2505
2518
  county?: string | null | undefined;
2506
2519
  adminDistrict?: string | null | undefined;
2507
2520
  builtUpArea?: string | null | undefined;
2508
2521
  postTown?: string | null | undefined;
2509
2522
  areaCovered?: string | null | undefined;
2523
+ latitude?: number | null | undefined;
2524
+ longitude?: number | null | undefined;
2510
2525
  }>>>;
2511
2526
  offerOpenness: z.ZodDefault<z.ZodEnum<["ACTIVELY_LOOKING", "OPEN", "NOT_INTERESTED"]>>;
2512
2527
  offerOpennessSetAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>>>;
@@ -2533,9 +2548,9 @@ export declare const consentQueueContract: {
2533
2548
  active: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2534
2549
  status: z.ZodEnum<["PENDING", "ACTIVE", "VACATION", "LEFT_THE_SITE", "MEDICAL_LEAVE", "DAY_OFF", "INJURY", "OFF_SCHEDULE"]>;
2535
2550
  }, "strip", z.ZodTypeAny, {
2536
- status: "ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | "OFF_SCHEDULE";
2551
+ status: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | "OFF_SCHEDULE";
2537
2552
  }, {
2538
- status: "ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | "OFF_SCHEDULE";
2553
+ status: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | "OFF_SCHEDULE";
2539
2554
  }>>>;
2540
2555
  activeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2541
2556
  bookingAgent: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -2544,36 +2559,36 @@ export declare const consentQueueContract: {
2544
2559
  lastName: z.ZodString;
2545
2560
  }, "strip", z.ZodTypeAny, {
2546
2561
  id: string;
2547
- lastName: string;
2548
2562
  firstName: string;
2563
+ lastName: string;
2549
2564
  }, {
2550
2565
  id: string;
2551
- lastName: string;
2552
2566
  firstName: string;
2567
+ lastName: string;
2553
2568
  }>>>;
2554
2569
  }, "strip", z.ZodTypeAny, {
2555
- booking?: "REFUSED_BY_CLIENT" | "REFUSED_BY_FIRST_BECAUSE_OF_NATIONALITY" | "REFUSED_BY_FIRST_NOT_ENOUGH_EXPERIENCE" | "REFUSED_BY_FIRST_JOB_FILLED" | "REFUSED_BY_FIRST_IGNORED_DENIED" | "REFUSED_BY_FIRST_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "CONFIRMED" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS" | "DIDNT_START_OVERBOOK_BY_CLIENT" | "DIDNT_START_OVERBOOK_BY_US" | "ANOTHER_SITUATION" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "COMPLETED" | "CANCELLED" | "JOB_CANCELLED" | null | undefined;
2570
+ bookingId?: string | null | undefined;
2571
+ booking?: "COMPLETED" | "CANCELLED" | "REFUSED_BY_CLIENT" | "REFUSED_BY_FIRST_BECAUSE_OF_NATIONALITY" | "REFUSED_BY_FIRST_NOT_ENOUGH_EXPERIENCE" | "REFUSED_BY_FIRST_JOB_FILLED" | "REFUSED_BY_FIRST_IGNORED_DENIED" | "REFUSED_BY_FIRST_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "CONFIRMED" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS" | "DIDNT_START_OVERBOOK_BY_CLIENT" | "DIDNT_START_OVERBOOK_BY_US" | "ANOTHER_SITUATION" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "JOB_CANCELLED" | null | undefined;
2556
2572
  active?: {
2557
- status: "ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | "OFF_SCHEDULE";
2573
+ status: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | "OFF_SCHEDULE";
2558
2574
  } | null | undefined;
2559
- bookingId?: string | null | undefined;
2560
2575
  activeId?: string | null | undefined;
2561
2576
  bookingAgent?: {
2562
2577
  id: string;
2563
- lastName: string;
2564
2578
  firstName: string;
2579
+ lastName: string;
2565
2580
  } | null | undefined;
2566
2581
  }, {
2567
- booking?: "REFUSED_BY_CLIENT" | "REFUSED_BY_FIRST_BECAUSE_OF_NATIONALITY" | "REFUSED_BY_FIRST_NOT_ENOUGH_EXPERIENCE" | "REFUSED_BY_FIRST_JOB_FILLED" | "REFUSED_BY_FIRST_IGNORED_DENIED" | "REFUSED_BY_FIRST_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "CONFIRMED" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS" | "DIDNT_START_OVERBOOK_BY_CLIENT" | "DIDNT_START_OVERBOOK_BY_US" | "ANOTHER_SITUATION" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "COMPLETED" | "CANCELLED" | "JOB_CANCELLED" | null | undefined;
2582
+ bookingId?: string | null | undefined;
2583
+ booking?: "COMPLETED" | "CANCELLED" | "REFUSED_BY_CLIENT" | "REFUSED_BY_FIRST_BECAUSE_OF_NATIONALITY" | "REFUSED_BY_FIRST_NOT_ENOUGH_EXPERIENCE" | "REFUSED_BY_FIRST_JOB_FILLED" | "REFUSED_BY_FIRST_IGNORED_DENIED" | "REFUSED_BY_FIRST_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "CONFIRMED" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS" | "DIDNT_START_OVERBOOK_BY_CLIENT" | "DIDNT_START_OVERBOOK_BY_US" | "ANOTHER_SITUATION" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "JOB_CANCELLED" | null | undefined;
2568
2584
  active?: {
2569
- status: "ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | "OFF_SCHEDULE";
2585
+ status: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | "OFF_SCHEDULE";
2570
2586
  } | null | undefined;
2571
- bookingId?: string | null | undefined;
2572
2587
  activeId?: string | null | undefined;
2573
2588
  bookingAgent?: {
2574
2589
  id: string;
2575
- lastName: string;
2576
2590
  firstName: string;
2591
+ lastName: string;
2577
2592
  } | null | undefined;
2578
2593
  }>>;
2579
2594
  occupancyStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ACTIVE", "BOOKED"]>>>;
@@ -2591,14 +2606,14 @@ export declare const consentQueueContract: {
2591
2606
  setAt: z.ZodString;
2592
2607
  }, "strip", z.ZodTypeAny, {
2593
2608
  reason: string;
2594
- note: string | null;
2595
2609
  until: string | null;
2610
+ note: string | null;
2596
2611
  setByName: string;
2597
2612
  setAt: string;
2598
2613
  }, {
2599
2614
  reason: string;
2600
- note: string | null;
2601
2615
  until: string | null;
2616
+ note: string | null;
2602
2617
  setByName: string;
2603
2618
  setAt: string;
2604
2619
  }>>;
@@ -2610,14 +2625,14 @@ export declare const consentQueueContract: {
2610
2625
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
2611
2626
  }, "strip", z.ZodTypeAny, {
2612
2627
  id: string;
2613
- updatedAt: string;
2614
2628
  createdAt: string;
2629
+ updatedAt: string;
2615
2630
  tradeId: string;
2616
2631
  mainTrade: boolean;
2617
2632
  }, {
2618
2633
  id: string;
2619
- updatedAt: string | Date;
2620
2634
  createdAt: string | Date;
2635
+ updatedAt: string | Date;
2621
2636
  tradeId: string;
2622
2637
  mainTrade: boolean;
2623
2638
  }>, "many">>>;
@@ -2633,22 +2648,22 @@ export declare const consentQueueContract: {
2633
2648
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
2634
2649
  }, "strip", z.ZodTypeAny, {
2635
2650
  id: string;
2636
- updatedAt: string;
2637
2651
  createdAt: string;
2652
+ proofDocumentFileId: string | null;
2653
+ referenceNumber: string | null;
2638
2654
  qualificationId: string;
2639
2655
  qualificationTypeId: string | null;
2640
- referenceNumber: string | null;
2641
- proofDocumentFileId: string | null;
2656
+ updatedAt: string;
2642
2657
  issueDate?: string | null | undefined;
2643
2658
  expiryDate?: string | null | undefined;
2644
2659
  }, {
2645
2660
  id: string;
2646
- updatedAt: string | Date;
2647
2661
  createdAt: string | Date;
2662
+ proofDocumentFileId: string | null;
2663
+ referenceNumber: string | null;
2648
2664
  qualificationId: string;
2649
2665
  qualificationTypeId: string | null;
2650
- referenceNumber: string | null;
2651
- proofDocumentFileId: string | null;
2666
+ updatedAt: string | Date;
2652
2667
  issueDate?: string | Date | null | undefined;
2653
2668
  expiryDate?: string | Date | null | undefined;
2654
2669
  }>, "many">>>;
@@ -2662,15 +2677,15 @@ export declare const consentQueueContract: {
2662
2677
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
2663
2678
  }, "strip", z.ZodTypeAny, {
2664
2679
  id: string;
2665
- updatedAt: string;
2666
2680
  createdAt: string;
2681
+ updatedAt: string;
2667
2682
  phoneNumber: string;
2668
2683
  isPrimary: boolean;
2669
2684
  description?: string | null | undefined;
2670
2685
  }, {
2671
2686
  id: string;
2672
- updatedAt: string | Date;
2673
2687
  createdAt: string | Date;
2688
+ updatedAt: string | Date;
2674
2689
  phoneNumber: string;
2675
2690
  description?: string | null | undefined;
2676
2691
  isPrimary?: boolean | undefined;
@@ -2685,233 +2700,233 @@ export declare const consentQueueContract: {
2685
2700
  updatedAt: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>>;
2686
2701
  }, "strip", z.ZodTypeAny, {
2687
2702
  id: string;
2688
- updatedAt?: string | undefined;
2689
2703
  createdAt?: string | undefined;
2690
2704
  expiryDate?: string | null | undefined;
2705
+ updatedAt?: string | undefined;
2691
2706
  fileId?: string | null | undefined;
2692
2707
  documentType?: "unknown" | "passport" | "id_card" | "driving_license" | null | undefined;
2693
2708
  documentNumber?: string | null | undefined;
2694
2709
  }, {
2695
2710
  id: string;
2696
- updatedAt?: string | Date | undefined;
2697
2711
  createdAt?: string | Date | undefined;
2698
2712
  expiryDate?: string | Date | null | undefined;
2713
+ updatedAt?: string | Date | undefined;
2699
2714
  fileId?: string | null | undefined;
2700
2715
  documentType?: "unknown" | "passport" | "id_card" | "driving_license" | null | undefined;
2701
2716
  documentNumber?: string | null | undefined;
2702
2717
  }>, "many">>>;
2703
2718
  }, "strip", z.ZodTypeAny, {
2704
2719
  id: string;
2705
- updatedAt: string;
2706
2720
  createdAt: string;
2707
2721
  firstName: string;
2722
+ updatedAt: string;
2708
2723
  hasTools: boolean | null;
2709
2724
  hasPpe: boolean | null;
2725
+ offerOpenness: "NOT_INTERESTED" | "ACTIVELY_LOOKING" | "OPEN";
2710
2726
  blacklisted: boolean;
2711
- offerOpenness: "ACTIVELY_LOOKING" | "OPEN" | "NOT_INTERESTED";
2727
+ suppression: {
2728
+ reason: string;
2729
+ until: string | null;
2730
+ note: string | null;
2731
+ setByName: string;
2732
+ setAt: string;
2733
+ } | null;
2712
2734
  idDocuments: {
2713
2735
  id: string;
2714
- updatedAt?: string | undefined;
2715
2736
  createdAt?: string | undefined;
2716
2737
  expiryDate?: string | null | undefined;
2738
+ updatedAt?: string | undefined;
2717
2739
  fileId?: string | null | undefined;
2718
2740
  documentType?: "unknown" | "passport" | "id_card" | "driving_license" | null | undefined;
2719
2741
  documentNumber?: string | null | undefined;
2720
2742
  }[];
2721
- suppression: {
2722
- reason: string;
2723
- note: string | null;
2724
- until: string | null;
2725
- setByName: string;
2726
- setAt: string;
2727
- } | null;
2743
+ distanceKm?: number | null | undefined;
2744
+ lastName?: string | null | undefined;
2745
+ bookingHistory?: {
2746
+ workedTotal: number;
2747
+ workedByMe: number;
2748
+ noShowTotal: number;
2749
+ noShowByMe: number;
2750
+ } | undefined;
2751
+ email?: string | null | undefined;
2752
+ nino?: string | null | undefined;
2753
+ dateOfBirth?: string | null | undefined;
2754
+ bio?: string | null | undefined;
2755
+ englishLevel?: "NONE" | "BASIC" | "INTERMEDIATE" | "ADVANCED" | "NATIVE" | null | undefined;
2756
+ nationality?: "AFGHAN" | "ALBANIAN" | "ALGERIAN" | "AMERICAN" | "ANDORRAN" | "ANGOLAN" | "ANTIGUANS" | "ARGENTINEAN" | "ARMENIAN" | "AUSTRALIAN" | "AUSTRIAN" | "AZERBAIJANI" | "BAHAMIAN" | "BAHRAINI" | "BANGLADESHI" | "BARBADIAN" | "BARBUDANS" | "BELARUSIAN" | "BELGIAN" | "BELIZEAN" | "BENINESE" | "BHUTANESE" | "BOLIVIAN" | "BOSNIAN" | "BRAZILIAN" | "BRITISH" | "BRUNEIAN" | "BULGARIAN" | "BURKINABE" | "BURMESE" | "BURUNDIAN" | "CAMBODIAN" | "CAMEROONIAN" | "CANADIAN" | "CAPE_VERDEAN" | "CENTRAL_AFRICAN" | "CHADIAN" | "CHILEAN" | "CHINESE" | "COLOMBIAN" | "COMORAN" | "CONGOLESE" | "COSTA_RICAN" | "CROATIAN" | "CUBAN" | "CYPRIOT" | "CZECH" | "DANISH" | "DJIBOUTI" | "DOMINICAN" | "DUTCH" | "EAST_TIMORESE" | "ECUADOREAN" | "EGYPTIAN" | "EMIRIAN" | "EQUATORIAL_GUINEAN" | "ERITREAN" | "ESTONIAN" | "ETHIOPIAN" | "FIJIAN" | "FILIPINO" | "FINNISH" | "FRENCH" | "GABONESE" | "GAMBIAN" | "GEORGIAN" | "GERMAN" | "GHANAIAN" | "GREEK" | "GRENADIAN" | "GUATEMALAN" | "GUINEA_BISSAUAN" | "GUINEAN" | "GUYANESE" | "HAITIAN" | "HERZEGOVINIAN" | "HONDURAN" | "HUNGARIAN" | "ICELANDER" | "INDIAN" | "INDONESIAN" | "IRANIAN" | "IRAQI" | "IRISH" | "ISRAELI" | "ITALIAN" | "IVORIAN" | "JAMAICAN" | "JAPANESE" | "JORDANIAN" | "KAZAKHSTANI" | "KENYAN" | "KITTIAN_AND_NEVISIAN" | "KUWAITI" | "KYRGYZ" | "LAOTIAN" | "LATVIAN" | "LEBANESE" | "LIBERIAN" | "LIBYAN" | "LIECHTENSTEINER" | "LITHUANIAN" | "LUXEMBOURGER" | "MACEDONIAN" | "MALAGASY" | "MALAWIAN" | "MALAYSIAN" | "MALDIVAN" | "MALIAN" | "MALTESE" | "MARSHALLESE" | "MAURITANIAN" | "MAURITIAN" | "MEXICAN" | "MICRONESIAN" | "MOLDOVAN" | "MONACAN" | "MONGOLIAN" | "MOROCCAN" | "MOSOTHO" | "MOTSWANA" | "MOZAMBICAN" | "NAMIBIAN" | "NAURUAN" | "NEPALESE" | "NEW_ZEALANDER" | "NI_VANUATU" | "NICARAGUAN" | "NIGERIEN" | "NIGERIAN" | "NORTH_KOREAN" | "NORTHERN_IRISH" | "NORWEGIAN" | "OMANI" | "PAKISTANI" | "PALAUAN" | "PANAMANIAN" | "PAPUA_NEW_GUINEAN" | "PARAGUAYAN" | "PERUVIAN" | "POLISH" | "PORTUGUESE" | "QATARI" | "ROMANIAN" | "RUSSIAN" | "RWANDAN" | "SAINT_LUCIAN" | "SALVADORAN" | "SAMOAN" | "SAN_MARINESE" | "SAO_TOMEAN" | "SAUDI" | "SCOTTISH" | "SENEGALESE" | "SERBIAN" | "SEYCHELLOIS" | "SIERRA_LEONEAN" | "SINGAPOREAN" | "SLOVAKIAN" | "SLOVENIAN" | "SOLOMON_ISLANDER" | "SOMALI" | "SOUTH_AFRICAN" | "SOUTH_KOREAN" | "SOUTH_SUDANESE" | "SPANISH" | "SRI_LANKAN" | "SUDANESE" | "SURINAMER" | "SWAZI" | "SWEDISH" | "SWISS" | "SYRIAN" | "TAIWANESE" | "TAJIK" | "TANZANIAN" | "THAI" | "TOGOLESE" | "TONGAN" | "TRINIDADIAN_OR_TOBAGONIAN" | "TUNISIAN" | "TURKISH" | "TUVALUAN" | "UGANDAN" | "UKRAINIAN" | "URUGUAYAN" | "UZBEKISTANI" | "VENEZUELAN" | "VIETNAMESE" | "WELSH" | "YEMENITE" | "ZAMBIAN" | "ZIMBABWEAN" | null | undefined;
2757
+ transportation?: {
2758
+ methods?: ("OWN_CAR" | "OWN_VAN" | "MOTORCYCLE" | "PUBLIC_TRANSPORT" | "BICYCLE" | "WALK")[] | null | undefined;
2759
+ preferredMethod?: "OWN_CAR" | "OWN_VAN" | "MOTORCYCLE" | "PUBLIC_TRANSPORT" | "BICYCLE" | "WALK" | null | undefined;
2760
+ } | null | undefined;
2728
2761
  location?: {
2729
2762
  address?: string | null | undefined;
2730
2763
  postcode?: string | null | undefined;
2731
- latitude?: number | null | undefined;
2732
- longitude?: number | null | undefined;
2733
2764
  county?: string | null | undefined;
2734
2765
  adminDistrict?: string | null | undefined;
2735
2766
  builtUpArea?: string | null | undefined;
2736
2767
  postTown?: string | null | undefined;
2737
2768
  areaCovered?: string | null | undefined;
2769
+ latitude?: number | null | undefined;
2770
+ longitude?: number | null | undefined;
2738
2771
  } | null | undefined;
2739
- blacklistReason?: string | null | undefined;
2740
- email?: string | null | undefined;
2741
- lastName?: string | null | undefined;
2742
- englishLevel?: "NONE" | "BASIC" | "INTERMEDIATE" | "ADVANCED" | "NATIVE" | null | undefined;
2743
- nationality?: "AFGHAN" | "ALBANIAN" | "ALGERIAN" | "AMERICAN" | "ANDORRAN" | "ANGOLAN" | "ANTIGUANS" | "ARGENTINEAN" | "ARMENIAN" | "AUSTRALIAN" | "AUSTRIAN" | "AZERBAIJANI" | "BAHAMIAN" | "BAHRAINI" | "BANGLADESHI" | "BARBADIAN" | "BARBUDANS" | "BELARUSIAN" | "BELGIAN" | "BELIZEAN" | "BENINESE" | "BHUTANESE" | "BOLIVIAN" | "BOSNIAN" | "BRAZILIAN" | "BRITISH" | "BRUNEIAN" | "BULGARIAN" | "BURKINABE" | "BURMESE" | "BURUNDIAN" | "CAMBODIAN" | "CAMEROONIAN" | "CANADIAN" | "CAPE_VERDEAN" | "CENTRAL_AFRICAN" | "CHADIAN" | "CHILEAN" | "CHINESE" | "COLOMBIAN" | "COMORAN" | "CONGOLESE" | "COSTA_RICAN" | "CROATIAN" | "CUBAN" | "CYPRIOT" | "CZECH" | "DANISH" | "DJIBOUTI" | "DOMINICAN" | "DUTCH" | "EAST_TIMORESE" | "ECUADOREAN" | "EGYPTIAN" | "EMIRIAN" | "EQUATORIAL_GUINEAN" | "ERITREAN" | "ESTONIAN" | "ETHIOPIAN" | "FIJIAN" | "FILIPINO" | "FINNISH" | "FRENCH" | "GABONESE" | "GAMBIAN" | "GEORGIAN" | "GERMAN" | "GHANAIAN" | "GREEK" | "GRENADIAN" | "GUATEMALAN" | "GUINEA_BISSAUAN" | "GUINEAN" | "GUYANESE" | "HAITIAN" | "HERZEGOVINIAN" | "HONDURAN" | "HUNGARIAN" | "ICELANDER" | "INDIAN" | "INDONESIAN" | "IRANIAN" | "IRAQI" | "IRISH" | "ISRAELI" | "ITALIAN" | "IVORIAN" | "JAMAICAN" | "JAPANESE" | "JORDANIAN" | "KAZAKHSTANI" | "KENYAN" | "KITTIAN_AND_NEVISIAN" | "KUWAITI" | "KYRGYZ" | "LAOTIAN" | "LATVIAN" | "LEBANESE" | "LIBERIAN" | "LIBYAN" | "LIECHTENSTEINER" | "LITHUANIAN" | "LUXEMBOURGER" | "MACEDONIAN" | "MALAGASY" | "MALAWIAN" | "MALAYSIAN" | "MALDIVAN" | "MALIAN" | "MALTESE" | "MARSHALLESE" | "MAURITANIAN" | "MAURITIAN" | "MEXICAN" | "MICRONESIAN" | "MOLDOVAN" | "MONACAN" | "MONGOLIAN" | "MOROCCAN" | "MOSOTHO" | "MOTSWANA" | "MOZAMBICAN" | "NAMIBIAN" | "NAURUAN" | "NEPALESE" | "NEW_ZEALANDER" | "NI_VANUATU" | "NICARAGUAN" | "NIGERIEN" | "NIGERIAN" | "NORTH_KOREAN" | "NORTHERN_IRISH" | "NORWEGIAN" | "OMANI" | "PAKISTANI" | "PALAUAN" | "PANAMANIAN" | "PAPUA_NEW_GUINEAN" | "PARAGUAYAN" | "PERUVIAN" | "POLISH" | "PORTUGUESE" | "QATARI" | "ROMANIAN" | "RUSSIAN" | "RWANDAN" | "SAINT_LUCIAN" | "SALVADORAN" | "SAMOAN" | "SAN_MARINESE" | "SAO_TOMEAN" | "SAUDI" | "SCOTTISH" | "SENEGALESE" | "SERBIAN" | "SEYCHELLOIS" | "SIERRA_LEONEAN" | "SINGAPOREAN" | "SLOVAKIAN" | "SLOVENIAN" | "SOLOMON_ISLANDER" | "SOMALI" | "SOUTH_AFRICAN" | "SOUTH_KOREAN" | "SOUTH_SUDANESE" | "SPANISH" | "SRI_LANKAN" | "SUDANESE" | "SURINAMER" | "SWAZI" | "SWEDISH" | "SWISS" | "SYRIAN" | "TAIWANESE" | "TAJIK" | "TANZANIAN" | "THAI" | "TOGOLESE" | "TONGAN" | "TRINIDADIAN_OR_TOBAGONIAN" | "TUNISIAN" | "TURKISH" | "TUVALUAN" | "UGANDAN" | "UKRAINIAN" | "URUGUAYAN" | "UZBEKISTANI" | "VENEZUELAN" | "VIETNAMESE" | "WELSH" | "YEMENITE" | "ZAMBIAN" | "ZIMBABWEAN" | null | undefined;
2744
- transportation?: {
2745
- methods?: ("OWN_CAR" | "OWN_VAN" | "MOTORCYCLE" | "PUBLIC_TRANSPORT" | "BICYCLE" | "WALK")[] | null | undefined;
2746
- preferredMethod?: "OWN_CAR" | "OWN_VAN" | "MOTORCYCLE" | "PUBLIC_TRANSPORT" | "BICYCLE" | "WALK" | null | undefined;
2747
- } | null | undefined;
2748
- dateOfBirth?: string | null | undefined;
2749
- bio?: string | null | undefined;
2750
- nino?: string | null | undefined;
2772
+ offerOpennessSetAt?: string | null | undefined;
2751
2773
  offerNote?: string | null | undefined;
2752
- phoneNumbers?: {
2753
- id: string;
2754
- updatedAt: string;
2755
- createdAt: string;
2756
- phoneNumber: string;
2757
- isPrimary: boolean;
2758
- description?: string | null | undefined;
2759
- }[] | null | undefined;
2760
- trades?: {
2761
- id: string;
2762
- updatedAt: string;
2763
- createdAt: string;
2764
- tradeId: string;
2765
- mainTrade: boolean;
2766
- }[] | null | undefined;
2767
- qualifications?: {
2768
- id: string;
2769
- updatedAt: string;
2770
- createdAt: string;
2771
- qualificationId: string;
2772
- qualificationTypeId: string | null;
2773
- referenceNumber: string | null;
2774
- proofDocumentFileId: string | null;
2775
- issueDate?: string | null | undefined;
2776
- expiryDate?: string | null | undefined;
2777
- }[] | null | undefined;
2774
+ offerNoteUpdatedAt?: string | null | undefined;
2775
+ offerSignalUpdatedById?: string | null | undefined;
2776
+ offerSignalUpdatedByName?: string | null | undefined;
2778
2777
  shareCode?: {
2779
2778
  code: string | null;
2780
2779
  expiryDate?: string | null | undefined;
2781
2780
  fileId?: string | null | undefined;
2782
2781
  } | null | undefined;
2783
2782
  liveStatus?: {
2784
- booking?: "REFUSED_BY_CLIENT" | "REFUSED_BY_FIRST_BECAUSE_OF_NATIONALITY" | "REFUSED_BY_FIRST_NOT_ENOUGH_EXPERIENCE" | "REFUSED_BY_FIRST_JOB_FILLED" | "REFUSED_BY_FIRST_IGNORED_DENIED" | "REFUSED_BY_FIRST_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "CONFIRMED" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS" | "DIDNT_START_OVERBOOK_BY_CLIENT" | "DIDNT_START_OVERBOOK_BY_US" | "ANOTHER_SITUATION" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "COMPLETED" | "CANCELLED" | "JOB_CANCELLED" | null | undefined;
2783
+ bookingId?: string | null | undefined;
2784
+ booking?: "COMPLETED" | "CANCELLED" | "REFUSED_BY_CLIENT" | "REFUSED_BY_FIRST_BECAUSE_OF_NATIONALITY" | "REFUSED_BY_FIRST_NOT_ENOUGH_EXPERIENCE" | "REFUSED_BY_FIRST_JOB_FILLED" | "REFUSED_BY_FIRST_IGNORED_DENIED" | "REFUSED_BY_FIRST_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "CONFIRMED" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS" | "DIDNT_START_OVERBOOK_BY_CLIENT" | "DIDNT_START_OVERBOOK_BY_US" | "ANOTHER_SITUATION" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "JOB_CANCELLED" | null | undefined;
2785
2785
  active?: {
2786
- status: "ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | "OFF_SCHEDULE";
2786
+ status: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | "OFF_SCHEDULE";
2787
2787
  } | null | undefined;
2788
- bookingId?: string | null | undefined;
2789
2788
  activeId?: string | null | undefined;
2790
2789
  bookingAgent?: {
2791
2790
  id: string;
2792
- lastName: string;
2793
2791
  firstName: string;
2792
+ lastName: string;
2794
2793
  } | null | undefined;
2795
2794
  } | undefined;
2796
- offerOpennessSetAt?: string | null | undefined;
2797
- offerNoteUpdatedAt?: string | null | undefined;
2798
2795
  occupancyStatus?: "ACTIVE" | "BOOKED" | null | undefined;
2799
- distanceKm?: number | null | undefined;
2800
- bookingHistory?: {
2801
- workedTotal: number;
2802
- workedByMe: number;
2803
- noShowTotal: number;
2804
- noShowByMe: number;
2805
- } | undefined;
2806
- offerSignalUpdatedById?: string | null | undefined;
2807
- offerSignalUpdatedByName?: string | null | undefined;
2808
2796
  workingUntil?: string | null | undefined;
2797
+ blacklistReason?: string | null | undefined;
2798
+ trades?: {
2799
+ id: string;
2800
+ createdAt: string;
2801
+ updatedAt: string;
2802
+ tradeId: string;
2803
+ mainTrade: boolean;
2804
+ }[] | null | undefined;
2805
+ qualifications?: {
2806
+ id: string;
2807
+ createdAt: string;
2808
+ proofDocumentFileId: string | null;
2809
+ referenceNumber: string | null;
2810
+ qualificationId: string;
2811
+ qualificationTypeId: string | null;
2812
+ updatedAt: string;
2813
+ issueDate?: string | null | undefined;
2814
+ expiryDate?: string | null | undefined;
2815
+ }[] | null | undefined;
2816
+ phoneNumbers?: {
2817
+ id: string;
2818
+ createdAt: string;
2819
+ updatedAt: string;
2820
+ phoneNumber: string;
2821
+ isPrimary: boolean;
2822
+ description?: string | null | undefined;
2823
+ }[] | null | undefined;
2809
2824
  }, {
2810
2825
  id: string;
2811
- updatedAt: string | Date;
2812
2826
  createdAt: string | Date;
2813
2827
  firstName: string;
2828
+ updatedAt: string | Date;
2814
2829
  hasTools: boolean | null;
2815
2830
  hasPpe: boolean | null;
2816
2831
  blacklisted: boolean;
2817
2832
  suppression: {
2818
2833
  reason: string;
2819
- note: string | null;
2820
2834
  until: string | null;
2835
+ note: string | null;
2821
2836
  setByName: string;
2822
2837
  setAt: string;
2823
2838
  } | null;
2824
- location?: {
2825
- address?: string | null | undefined;
2826
- postcode?: string | null | undefined;
2827
- latitude?: number | null | undefined;
2828
- longitude?: number | null | undefined;
2829
- county?: string | null | undefined;
2830
- adminDistrict?: string | null | undefined;
2831
- builtUpArea?: string | null | undefined;
2832
- postTown?: string | null | undefined;
2833
- areaCovered?: string | null | undefined;
2834
- } | null | undefined;
2835
- blacklistReason?: string | null | undefined;
2836
- email?: string | null | undefined;
2839
+ distanceKm?: number | null | undefined;
2837
2840
  lastName?: string | null | undefined;
2841
+ bookingHistory?: {
2842
+ workedTotal: number;
2843
+ workedByMe: number;
2844
+ noShowTotal: number;
2845
+ noShowByMe: number;
2846
+ } | undefined;
2847
+ email?: string | null | undefined;
2848
+ nino?: string | null | undefined;
2849
+ dateOfBirth?: string | Date | null | undefined;
2850
+ bio?: string | null | undefined;
2838
2851
  englishLevel?: "NONE" | "BASIC" | "INTERMEDIATE" | "ADVANCED" | "NATIVE" | null | undefined;
2839
2852
  nationality?: "AFGHAN" | "ALBANIAN" | "ALGERIAN" | "AMERICAN" | "ANDORRAN" | "ANGOLAN" | "ANTIGUANS" | "ARGENTINEAN" | "ARMENIAN" | "AUSTRALIAN" | "AUSTRIAN" | "AZERBAIJANI" | "BAHAMIAN" | "BAHRAINI" | "BANGLADESHI" | "BARBADIAN" | "BARBUDANS" | "BELARUSIAN" | "BELGIAN" | "BELIZEAN" | "BENINESE" | "BHUTANESE" | "BOLIVIAN" | "BOSNIAN" | "BRAZILIAN" | "BRITISH" | "BRUNEIAN" | "BULGARIAN" | "BURKINABE" | "BURMESE" | "BURUNDIAN" | "CAMBODIAN" | "CAMEROONIAN" | "CANADIAN" | "CAPE_VERDEAN" | "CENTRAL_AFRICAN" | "CHADIAN" | "CHILEAN" | "CHINESE" | "COLOMBIAN" | "COMORAN" | "CONGOLESE" | "COSTA_RICAN" | "CROATIAN" | "CUBAN" | "CYPRIOT" | "CZECH" | "DANISH" | "DJIBOUTI" | "DOMINICAN" | "DUTCH" | "EAST_TIMORESE" | "ECUADOREAN" | "EGYPTIAN" | "EMIRIAN" | "EQUATORIAL_GUINEAN" | "ERITREAN" | "ESTONIAN" | "ETHIOPIAN" | "FIJIAN" | "FILIPINO" | "FINNISH" | "FRENCH" | "GABONESE" | "GAMBIAN" | "GEORGIAN" | "GERMAN" | "GHANAIAN" | "GREEK" | "GRENADIAN" | "GUATEMALAN" | "GUINEA_BISSAUAN" | "GUINEAN" | "GUYANESE" | "HAITIAN" | "HERZEGOVINIAN" | "HONDURAN" | "HUNGARIAN" | "ICELANDER" | "INDIAN" | "INDONESIAN" | "IRANIAN" | "IRAQI" | "IRISH" | "ISRAELI" | "ITALIAN" | "IVORIAN" | "JAMAICAN" | "JAPANESE" | "JORDANIAN" | "KAZAKHSTANI" | "KENYAN" | "KITTIAN_AND_NEVISIAN" | "KUWAITI" | "KYRGYZ" | "LAOTIAN" | "LATVIAN" | "LEBANESE" | "LIBERIAN" | "LIBYAN" | "LIECHTENSTEINER" | "LITHUANIAN" | "LUXEMBOURGER" | "MACEDONIAN" | "MALAGASY" | "MALAWIAN" | "MALAYSIAN" | "MALDIVAN" | "MALIAN" | "MALTESE" | "MARSHALLESE" | "MAURITANIAN" | "MAURITIAN" | "MEXICAN" | "MICRONESIAN" | "MOLDOVAN" | "MONACAN" | "MONGOLIAN" | "MOROCCAN" | "MOSOTHO" | "MOTSWANA" | "MOZAMBICAN" | "NAMIBIAN" | "NAURUAN" | "NEPALESE" | "NEW_ZEALANDER" | "NI_VANUATU" | "NICARAGUAN" | "NIGERIEN" | "NIGERIAN" | "NORTH_KOREAN" | "NORTHERN_IRISH" | "NORWEGIAN" | "OMANI" | "PAKISTANI" | "PALAUAN" | "PANAMANIAN" | "PAPUA_NEW_GUINEAN" | "PARAGUAYAN" | "PERUVIAN" | "POLISH" | "PORTUGUESE" | "QATARI" | "ROMANIAN" | "RUSSIAN" | "RWANDAN" | "SAINT_LUCIAN" | "SALVADORAN" | "SAMOAN" | "SAN_MARINESE" | "SAO_TOMEAN" | "SAUDI" | "SCOTTISH" | "SENEGALESE" | "SERBIAN" | "SEYCHELLOIS" | "SIERRA_LEONEAN" | "SINGAPOREAN" | "SLOVAKIAN" | "SLOVENIAN" | "SOLOMON_ISLANDER" | "SOMALI" | "SOUTH_AFRICAN" | "SOUTH_KOREAN" | "SOUTH_SUDANESE" | "SPANISH" | "SRI_LANKAN" | "SUDANESE" | "SURINAMER" | "SWAZI" | "SWEDISH" | "SWISS" | "SYRIAN" | "TAIWANESE" | "TAJIK" | "TANZANIAN" | "THAI" | "TOGOLESE" | "TONGAN" | "TRINIDADIAN_OR_TOBAGONIAN" | "TUNISIAN" | "TURKISH" | "TUVALUAN" | "UGANDAN" | "UKRAINIAN" | "URUGUAYAN" | "UZBEKISTANI" | "VENEZUELAN" | "VIETNAMESE" | "WELSH" | "YEMENITE" | "ZAMBIAN" | "ZIMBABWEAN" | null | undefined;
2840
2853
  transportation?: {
2841
2854
  methods?: ("OWN_CAR" | "OWN_VAN" | "MOTORCYCLE" | "PUBLIC_TRANSPORT" | "BICYCLE" | "WALK")[] | null | undefined;
2842
2855
  preferredMethod?: "OWN_CAR" | "OWN_VAN" | "MOTORCYCLE" | "PUBLIC_TRANSPORT" | "BICYCLE" | "WALK" | null | undefined;
2843
2856
  } | null | undefined;
2844
- dateOfBirth?: string | Date | null | undefined;
2845
- bio?: string | null | undefined;
2846
- nino?: string | null | undefined;
2847
- offerOpenness?: "ACTIVELY_LOOKING" | "OPEN" | "NOT_INTERESTED" | undefined;
2857
+ location?: {
2858
+ address?: string | null | undefined;
2859
+ postcode?: string | null | undefined;
2860
+ county?: string | null | undefined;
2861
+ adminDistrict?: string | null | undefined;
2862
+ builtUpArea?: string | null | undefined;
2863
+ postTown?: string | null | undefined;
2864
+ areaCovered?: string | null | undefined;
2865
+ latitude?: number | null | undefined;
2866
+ longitude?: number | null | undefined;
2867
+ } | null | undefined;
2868
+ offerOpenness?: "NOT_INTERESTED" | "ACTIVELY_LOOKING" | "OPEN" | undefined;
2869
+ offerOpennessSetAt?: string | Date | null | undefined;
2848
2870
  offerNote?: string | null | undefined;
2849
- phoneNumbers?: {
2850
- id: string;
2851
- updatedAt: string | Date;
2852
- createdAt: string | Date;
2853
- phoneNumber: string;
2854
- description?: string | null | undefined;
2855
- isPrimary?: boolean | undefined;
2856
- }[] | null | undefined;
2871
+ offerNoteUpdatedAt?: string | Date | null | undefined;
2872
+ offerSignalUpdatedById?: string | null | undefined;
2873
+ offerSignalUpdatedByName?: string | null | undefined;
2874
+ shareCode?: {
2875
+ code: string | null;
2876
+ expiryDate?: string | Date | null | undefined;
2877
+ fileId?: string | null | undefined;
2878
+ } | null | undefined;
2879
+ liveStatus?: {
2880
+ bookingId?: string | null | undefined;
2881
+ booking?: "COMPLETED" | "CANCELLED" | "REFUSED_BY_CLIENT" | "REFUSED_BY_FIRST_BECAUSE_OF_NATIONALITY" | "REFUSED_BY_FIRST_NOT_ENOUGH_EXPERIENCE" | "REFUSED_BY_FIRST_JOB_FILLED" | "REFUSED_BY_FIRST_IGNORED_DENIED" | "REFUSED_BY_FIRST_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "CONFIRMED" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS" | "DIDNT_START_OVERBOOK_BY_CLIENT" | "DIDNT_START_OVERBOOK_BY_US" | "ANOTHER_SITUATION" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "JOB_CANCELLED" | null | undefined;
2882
+ active?: {
2883
+ status: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | "OFF_SCHEDULE";
2884
+ } | null | undefined;
2885
+ activeId?: string | null | undefined;
2886
+ bookingAgent?: {
2887
+ id: string;
2888
+ firstName: string;
2889
+ lastName: string;
2890
+ } | null | undefined;
2891
+ } | undefined;
2892
+ occupancyStatus?: "ACTIVE" | "BOOKED" | null | undefined;
2893
+ workingUntil?: string | Date | null | undefined;
2894
+ blacklistReason?: string | null | undefined;
2857
2895
  trades?: {
2858
2896
  id: string;
2859
- updatedAt: string | Date;
2860
2897
  createdAt: string | Date;
2898
+ updatedAt: string | Date;
2861
2899
  tradeId: string;
2862
2900
  mainTrade: boolean;
2863
2901
  }[] | null | undefined;
2864
2902
  qualifications?: {
2865
2903
  id: string;
2866
- updatedAt: string | Date;
2867
2904
  createdAt: string | Date;
2905
+ proofDocumentFileId: string | null;
2906
+ referenceNumber: string | null;
2868
2907
  qualificationId: string;
2869
2908
  qualificationTypeId: string | null;
2870
- referenceNumber: string | null;
2871
- proofDocumentFileId: string | null;
2909
+ updatedAt: string | Date;
2872
2910
  issueDate?: string | Date | null | undefined;
2873
2911
  expiryDate?: string | Date | null | undefined;
2874
2912
  }[] | null | undefined;
2913
+ phoneNumbers?: {
2914
+ id: string;
2915
+ createdAt: string | Date;
2916
+ updatedAt: string | Date;
2917
+ phoneNumber: string;
2918
+ description?: string | null | undefined;
2919
+ isPrimary?: boolean | undefined;
2920
+ }[] | null | undefined;
2875
2921
  idDocuments?: {
2876
2922
  id: string;
2877
- updatedAt?: string | Date | undefined;
2878
2923
  createdAt?: string | Date | undefined;
2879
2924
  expiryDate?: string | Date | null | undefined;
2925
+ updatedAt?: string | Date | undefined;
2880
2926
  fileId?: string | null | undefined;
2881
2927
  documentType?: "unknown" | "passport" | "id_card" | "driving_license" | null | undefined;
2882
2928
  documentNumber?: string | null | undefined;
2883
2929
  }[] | undefined;
2884
- shareCode?: {
2885
- code: string | null;
2886
- expiryDate?: string | Date | null | undefined;
2887
- fileId?: string | null | undefined;
2888
- } | null | undefined;
2889
- liveStatus?: {
2890
- booking?: "REFUSED_BY_CLIENT" | "REFUSED_BY_FIRST_BECAUSE_OF_NATIONALITY" | "REFUSED_BY_FIRST_NOT_ENOUGH_EXPERIENCE" | "REFUSED_BY_FIRST_JOB_FILLED" | "REFUSED_BY_FIRST_IGNORED_DENIED" | "REFUSED_BY_FIRST_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "CONFIRMED" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS" | "DIDNT_START_OVERBOOK_BY_CLIENT" | "DIDNT_START_OVERBOOK_BY_US" | "ANOTHER_SITUATION" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "COMPLETED" | "CANCELLED" | "JOB_CANCELLED" | null | undefined;
2891
- active?: {
2892
- status: "ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | "OFF_SCHEDULE";
2893
- } | null | undefined;
2894
- bookingId?: string | null | undefined;
2895
- activeId?: string | null | undefined;
2896
- bookingAgent?: {
2897
- id: string;
2898
- lastName: string;
2899
- firstName: string;
2900
- } | null | undefined;
2901
- } | undefined;
2902
- offerOpennessSetAt?: string | Date | null | undefined;
2903
- offerNoteUpdatedAt?: string | Date | null | undefined;
2904
- occupancyStatus?: "ACTIVE" | "BOOKED" | null | undefined;
2905
- distanceKm?: number | null | undefined;
2906
- bookingHistory?: {
2907
- workedTotal: number;
2908
- workedByMe: number;
2909
- noShowTotal: number;
2910
- noShowByMe: number;
2911
- } | undefined;
2912
- offerSignalUpdatedById?: string | null | undefined;
2913
- offerSignalUpdatedByName?: string | null | undefined;
2914
- workingUntil?: string | Date | null | undefined;
2915
2930
  }>;
2916
2931
  matches: z.ZodArray<z.ZodObject<{
2917
2932
  subjectKind: z.ZodEnum<["OWNED", "CURATED"]>;
@@ -2923,23 +2938,23 @@ export declare const consentQueueContract: {
2923
2938
  status: z.ZodEnum<["NEW", "TOO_FAR", "NOT_INTERESTED", "OFFER_SENT", "BOOKED"]>;
2924
2939
  statusUpdatedAt: z.ZodNullable<z.ZodString>;
2925
2940
  }, "strip", z.ZodTypeAny, {
2926
- status: "NOT_INTERESTED" | "BOOKED" | "NEW" | "TOO_FAR" | "OFFER_SENT";
2927
- statusUpdatedAt: string | null;
2928
2941
  jobId: string;
2942
+ status: "NEW" | "TOO_FAR" | "NOT_INTERESTED" | "OFFER_SENT" | "BOOKED";
2929
2943
  subjectKind: "OWNED" | "CURATED";
2930
2944
  subjectId: string;
2931
2945
  distanceKm: number | null;
2932
2946
  driveMinutes: number | null;
2933
2947
  transitMinutes: number | null;
2934
- }, {
2935
- status: "NOT_INTERESTED" | "BOOKED" | "NEW" | "TOO_FAR" | "OFFER_SENT";
2936
2948
  statusUpdatedAt: string | null;
2949
+ }, {
2937
2950
  jobId: string;
2951
+ status: "NEW" | "TOO_FAR" | "NOT_INTERESTED" | "OFFER_SENT" | "BOOKED";
2938
2952
  subjectKind: "OWNED" | "CURATED";
2939
2953
  subjectId: string;
2940
2954
  distanceKm: number | null;
2941
2955
  driveMinutes: number | null;
2942
2956
  transitMinutes: number | null;
2957
+ statusUpdatedAt: string | null;
2943
2958
  }>, "many">;
2944
2959
  jobCards: z.ZodArray<z.ZodObject<{
2945
2960
  id: z.ZodString;
@@ -2956,15 +2971,15 @@ export declare const consentQueueContract: {
2956
2971
  }, "strip", z.ZodTypeAny, {
2957
2972
  rateUnit: "DAILY" | "HOURLY";
2958
2973
  isNegotiable: boolean;
2959
- receivedRate?: number | null | undefined;
2960
2974
  rate?: number | null | undefined;
2961
2975
  rateMax?: number | null | undefined;
2976
+ receivedRate?: number | null | undefined;
2962
2977
  }, {
2963
2978
  rateUnit: "DAILY" | "HOURLY";
2964
- receivedRate?: number | null | undefined;
2965
2979
  rate?: number | null | undefined;
2966
2980
  isNegotiable?: boolean | undefined;
2967
2981
  rateMax?: number | null | undefined;
2982
+ receivedRate?: number | null | undefined;
2968
2983
  }>;
2969
2984
  location: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2970
2985
  postcode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -3043,8 +3058,8 @@ export declare const consentQueueContract: {
3043
3058
  deletedAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate, z.ZodNull]>, string | null, string | Date | null>>>;
3044
3059
  }, "strip", z.ZodTypeAny, {
3045
3060
  id: string;
3046
- lastName: string;
3047
3061
  firstName: string;
3062
+ lastName: string;
3048
3063
  phoneNumbers: {
3049
3064
  id: string;
3050
3065
  phoneNumber: string;
@@ -3054,8 +3069,8 @@ export declare const consentQueueContract: {
3054
3069
  deletedAt?: string | null | undefined;
3055
3070
  }, {
3056
3071
  id: string;
3057
- lastName: string;
3058
3072
  firstName: string;
3073
+ lastName: string;
3059
3074
  phoneNumbers?: {
3060
3075
  id: string;
3061
3076
  phoneNumber: string;
@@ -3067,6 +3082,7 @@ export declare const consentQueueContract: {
3067
3082
  }, "strip", z.ZodTypeAny, {
3068
3083
  id?: string | null | undefined;
3069
3084
  status?: string | null | undefined;
3085
+ userId?: string | null | undefined;
3070
3086
  client?: {
3071
3087
  id: string;
3072
3088
  name: string;
@@ -3075,11 +3091,10 @@ export declare const consentQueueContract: {
3075
3091
  id: string;
3076
3092
  name: string;
3077
3093
  } | null | undefined;
3078
- userId?: string | null | undefined;
3079
3094
  user?: {
3080
3095
  id: string;
3081
- lastName: string;
3082
3096
  firstName: string;
3097
+ lastName: string;
3083
3098
  phoneNumbers: {
3084
3099
  id: string;
3085
3100
  phoneNumber: string;
@@ -3091,6 +3106,7 @@ export declare const consentQueueContract: {
3091
3106
  }, {
3092
3107
  id?: string | null | undefined;
3093
3108
  status?: string | null | undefined;
3109
+ userId?: string | null | undefined;
3094
3110
  client?: {
3095
3111
  id: string;
3096
3112
  name: string;
@@ -3099,11 +3115,10 @@ export declare const consentQueueContract: {
3099
3115
  id: string;
3100
3116
  name: string;
3101
3117
  } | null | undefined;
3102
- userId?: string | null | undefined;
3103
3118
  user?: {
3104
3119
  id: string;
3105
- lastName: string;
3106
3120
  firstName: string;
3121
+ lastName: string;
3107
3122
  phoneNumbers?: {
3108
3123
  id: string;
3109
3124
  phoneNumber: string;
@@ -3139,8 +3154,8 @@ export declare const consentQueueContract: {
3139
3154
  deletedAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate, z.ZodNull]>, string | null, string | Date | null>>>;
3140
3155
  }, "strip", z.ZodTypeAny, {
3141
3156
  id: string;
3142
- lastName: string;
3143
3157
  firstName: string;
3158
+ lastName: string;
3144
3159
  phoneNumbers: {
3145
3160
  id: string;
3146
3161
  phoneNumber: string;
@@ -3150,8 +3165,8 @@ export declare const consentQueueContract: {
3150
3165
  deletedAt?: string | null | undefined;
3151
3166
  }, {
3152
3167
  id: string;
3153
- lastName: string;
3154
3168
  firstName: string;
3169
+ lastName: string;
3155
3170
  phoneNumbers?: {
3156
3171
  id: string;
3157
3172
  phoneNumber: string;
@@ -3164,30 +3179,46 @@ export declare const consentQueueContract: {
3164
3179
  distanceKm: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3165
3180
  filledPositions: z.ZodDefault<z.ZodNumber>;
3166
3181
  startDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3182
+ sourceMessageDeletedAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>>>;
3183
+ minimumRateDeletionExemptAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>>>;
3184
+ minimumRateDeletionExemptById: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3167
3185
  }, "strip", z.ZodTypeAny, {
3168
3186
  id: string;
3169
- updatedAt: string;
3187
+ status: "AVAILABLE" | "NOT_AVAILABLE";
3170
3188
  createdAt: string;
3171
3189
  description: string;
3172
3190
  pay: {
3173
3191
  rateUnit: "DAILY" | "HOURLY";
3174
3192
  isNegotiable: boolean;
3175
- receivedRate?: number | null | undefined;
3176
3193
  rate?: number | null | undefined;
3177
3194
  rateMax?: number | null | undefined;
3195
+ receivedRate?: number | null | undefined;
3178
3196
  };
3179
- numberOfPositions: number;
3180
- status: "AVAILABLE" | "NOT_AVAILABLE";
3197
+ updatedAt: string;
3181
3198
  tradeId: string;
3199
+ numberOfPositions: number;
3182
3200
  filledPositions: number;
3201
+ distanceKm?: number | null | undefined;
3202
+ startDate?: string | null | undefined;
3183
3203
  location?: {
3184
3204
  address?: string | null | undefined;
3185
3205
  postcode?: string | null | undefined;
3186
3206
  adminDistrict?: string | null | undefined;
3187
3207
  postTown?: string | null | undefined;
3188
3208
  } | null | undefined;
3209
+ createdBy?: {
3210
+ id: string;
3211
+ firstName: string;
3212
+ lastName: string;
3213
+ phoneNumbers: {
3214
+ id: string;
3215
+ phoneNumber: string;
3216
+ isPrimary: boolean;
3217
+ description?: string | null | undefined;
3218
+ }[];
3219
+ deletedAt?: string | null | undefined;
3220
+ } | null | undefined;
3189
3221
  workHours?: number | null | undefined;
3190
- startDate?: string | null | undefined;
3191
3222
  jobQualifications?: {
3192
3223
  id: string;
3193
3224
  qualificationId: string;
@@ -3196,6 +3227,7 @@ export declare const consentQueueContract: {
3196
3227
  collaboration?: {
3197
3228
  id?: string | null | undefined;
3198
3229
  status?: string | null | undefined;
3230
+ userId?: string | null | undefined;
3199
3231
  client?: {
3200
3232
  id: string;
3201
3233
  name: string;
@@ -3204,11 +3236,10 @@ export declare const consentQueueContract: {
3204
3236
  id: string;
3205
3237
  name: string;
3206
3238
  } | null | undefined;
3207
- userId?: string | null | undefined;
3208
3239
  user?: {
3209
3240
  id: string;
3210
- lastName: string;
3211
3241
  firstName: string;
3242
+ lastName: string;
3212
3243
  phoneNumbers: {
3213
3244
  id: string;
3214
3245
  phoneNumber: string;
@@ -3219,43 +3250,46 @@ export declare const consentQueueContract: {
3219
3250
  } | null | undefined;
3220
3251
  } | null | undefined;
3221
3252
  createdById?: string | null | undefined;
3222
- createdBy?: {
3223
- id: string;
3224
- lastName: string;
3225
- firstName: string;
3226
- phoneNumbers: {
3227
- id: string;
3228
- phoneNumber: string;
3229
- isPrimary: boolean;
3230
- description?: string | null | undefined;
3231
- }[];
3232
- deletedAt?: string | null | undefined;
3233
- } | null | undefined;
3234
- creationSource?: "BOT" | "MANUAL" | null | undefined;
3235
- distanceKm?: number | null | undefined;
3253
+ creationSource?: "MANUAL" | "BOT" | null | undefined;
3254
+ sourceMessageDeletedAt?: string | null | undefined;
3255
+ minimumRateDeletionExemptAt?: string | null | undefined;
3256
+ minimumRateDeletionExemptById?: string | null | undefined;
3236
3257
  }, {
3237
3258
  id: string;
3238
- updatedAt: string | Date;
3259
+ status: "AVAILABLE" | "NOT_AVAILABLE";
3239
3260
  createdAt: string | Date;
3240
3261
  description: string;
3241
3262
  pay: {
3242
3263
  rateUnit: "DAILY" | "HOURLY";
3243
- receivedRate?: number | null | undefined;
3244
3264
  rate?: number | null | undefined;
3245
3265
  isNegotiable?: boolean | undefined;
3246
3266
  rateMax?: number | null | undefined;
3267
+ receivedRate?: number | null | undefined;
3247
3268
  };
3248
- numberOfPositions: number;
3249
- status: "AVAILABLE" | "NOT_AVAILABLE";
3269
+ updatedAt: string | Date;
3250
3270
  tradeId: string;
3271
+ numberOfPositions: number;
3272
+ distanceKm?: number | null | undefined;
3273
+ startDate?: string | null | undefined;
3251
3274
  location?: {
3252
3275
  address?: string | null | undefined;
3253
3276
  postcode?: string | null | undefined;
3254
3277
  adminDistrict?: string | null | undefined;
3255
3278
  postTown?: string | null | undefined;
3256
3279
  } | null | undefined;
3280
+ createdBy?: {
3281
+ id: string;
3282
+ firstName: string;
3283
+ lastName: string;
3284
+ phoneNumbers?: {
3285
+ id: string;
3286
+ phoneNumber: string;
3287
+ description?: string | null | undefined;
3288
+ isPrimary?: boolean | undefined;
3289
+ }[] | undefined;
3290
+ deletedAt?: string | Date | null | undefined;
3291
+ } | null | undefined;
3257
3292
  workHours?: number | null | undefined;
3258
- startDate?: string | null | undefined;
3259
3293
  jobQualifications?: {
3260
3294
  id: string;
3261
3295
  qualificationId: string;
@@ -3264,6 +3298,7 @@ export declare const consentQueueContract: {
3264
3298
  collaboration?: {
3265
3299
  id?: string | null | undefined;
3266
3300
  status?: string | null | undefined;
3301
+ userId?: string | null | undefined;
3267
3302
  client?: {
3268
3303
  id: string;
3269
3304
  name: string;
@@ -3272,11 +3307,10 @@ export declare const consentQueueContract: {
3272
3307
  id: string;
3273
3308
  name: string;
3274
3309
  } | null | undefined;
3275
- userId?: string | null | undefined;
3276
3310
  user?: {
3277
3311
  id: string;
3278
- lastName: string;
3279
3312
  firstName: string;
3313
+ lastName: string;
3280
3314
  phoneNumbers?: {
3281
3315
  id: string;
3282
3316
  phoneNumber: string;
@@ -3286,165 +3320,168 @@ export declare const consentQueueContract: {
3286
3320
  deletedAt?: string | Date | null | undefined;
3287
3321
  } | null | undefined;
3288
3322
  } | null | undefined;
3289
- filledPositions?: number | undefined;
3290
3323
  createdById?: string | null | undefined;
3291
- createdBy?: {
3292
- id: string;
3293
- lastName: string;
3294
- firstName: string;
3295
- phoneNumbers?: {
3296
- id: string;
3297
- phoneNumber: string;
3298
- description?: string | null | undefined;
3299
- isPrimary?: boolean | undefined;
3300
- }[] | undefined;
3301
- deletedAt?: string | Date | null | undefined;
3302
- } | null | undefined;
3303
- creationSource?: "BOT" | "MANUAL" | null | undefined;
3304
- distanceKm?: number | null | undefined;
3324
+ creationSource?: "MANUAL" | "BOT" | null | undefined;
3325
+ filledPositions?: number | undefined;
3326
+ sourceMessageDeletedAt?: string | Date | null | undefined;
3327
+ minimumRateDeletionExemptAt?: string | Date | null | undefined;
3328
+ minimumRateDeletionExemptById?: string | null | undefined;
3305
3329
  }>, "many">;
3306
3330
  }, "strip", z.ZodTypeAny, {
3331
+ matches: {
3332
+ jobId: string;
3333
+ status: "NEW" | "TOO_FAR" | "NOT_INTERESTED" | "OFFER_SENT" | "BOOKED";
3334
+ subjectKind: "OWNED" | "CURATED";
3335
+ subjectId: string;
3336
+ distanceKm: number | null;
3337
+ driveMinutes: number | null;
3338
+ transitMinutes: number | null;
3339
+ statusUpdatedAt: string | null;
3340
+ }[];
3307
3341
  worker: {
3308
3342
  id: string;
3309
- updatedAt: string;
3310
3343
  createdAt: string;
3311
3344
  firstName: string;
3345
+ updatedAt: string;
3312
3346
  hasTools: boolean | null;
3313
3347
  hasPpe: boolean | null;
3348
+ offerOpenness: "NOT_INTERESTED" | "ACTIVELY_LOOKING" | "OPEN";
3314
3349
  blacklisted: boolean;
3315
- offerOpenness: "ACTIVELY_LOOKING" | "OPEN" | "NOT_INTERESTED";
3350
+ suppression: {
3351
+ reason: string;
3352
+ until: string | null;
3353
+ note: string | null;
3354
+ setByName: string;
3355
+ setAt: string;
3356
+ } | null;
3316
3357
  idDocuments: {
3317
3358
  id: string;
3318
- updatedAt?: string | undefined;
3319
3359
  createdAt?: string | undefined;
3320
3360
  expiryDate?: string | null | undefined;
3361
+ updatedAt?: string | undefined;
3321
3362
  fileId?: string | null | undefined;
3322
3363
  documentType?: "unknown" | "passport" | "id_card" | "driving_license" | null | undefined;
3323
3364
  documentNumber?: string | null | undefined;
3324
3365
  }[];
3325
- suppression: {
3326
- reason: string;
3327
- note: string | null;
3328
- until: string | null;
3329
- setByName: string;
3330
- setAt: string;
3331
- } | null;
3332
- location?: {
3333
- address?: string | null | undefined;
3334
- postcode?: string | null | undefined;
3335
- latitude?: number | null | undefined;
3336
- longitude?: number | null | undefined;
3337
- county?: string | null | undefined;
3338
- adminDistrict?: string | null | undefined;
3339
- builtUpArea?: string | null | undefined;
3340
- postTown?: string | null | undefined;
3341
- areaCovered?: string | null | undefined;
3342
- } | null | undefined;
3343
- blacklistReason?: string | null | undefined;
3344
- email?: string | null | undefined;
3366
+ distanceKm?: number | null | undefined;
3345
3367
  lastName?: string | null | undefined;
3368
+ bookingHistory?: {
3369
+ workedTotal: number;
3370
+ workedByMe: number;
3371
+ noShowTotal: number;
3372
+ noShowByMe: number;
3373
+ } | undefined;
3374
+ email?: string | null | undefined;
3375
+ nino?: string | null | undefined;
3376
+ dateOfBirth?: string | null | undefined;
3377
+ bio?: string | null | undefined;
3346
3378
  englishLevel?: "NONE" | "BASIC" | "INTERMEDIATE" | "ADVANCED" | "NATIVE" | null | undefined;
3347
3379
  nationality?: "AFGHAN" | "ALBANIAN" | "ALGERIAN" | "AMERICAN" | "ANDORRAN" | "ANGOLAN" | "ANTIGUANS" | "ARGENTINEAN" | "ARMENIAN" | "AUSTRALIAN" | "AUSTRIAN" | "AZERBAIJANI" | "BAHAMIAN" | "BAHRAINI" | "BANGLADESHI" | "BARBADIAN" | "BARBUDANS" | "BELARUSIAN" | "BELGIAN" | "BELIZEAN" | "BENINESE" | "BHUTANESE" | "BOLIVIAN" | "BOSNIAN" | "BRAZILIAN" | "BRITISH" | "BRUNEIAN" | "BULGARIAN" | "BURKINABE" | "BURMESE" | "BURUNDIAN" | "CAMBODIAN" | "CAMEROONIAN" | "CANADIAN" | "CAPE_VERDEAN" | "CENTRAL_AFRICAN" | "CHADIAN" | "CHILEAN" | "CHINESE" | "COLOMBIAN" | "COMORAN" | "CONGOLESE" | "COSTA_RICAN" | "CROATIAN" | "CUBAN" | "CYPRIOT" | "CZECH" | "DANISH" | "DJIBOUTI" | "DOMINICAN" | "DUTCH" | "EAST_TIMORESE" | "ECUADOREAN" | "EGYPTIAN" | "EMIRIAN" | "EQUATORIAL_GUINEAN" | "ERITREAN" | "ESTONIAN" | "ETHIOPIAN" | "FIJIAN" | "FILIPINO" | "FINNISH" | "FRENCH" | "GABONESE" | "GAMBIAN" | "GEORGIAN" | "GERMAN" | "GHANAIAN" | "GREEK" | "GRENADIAN" | "GUATEMALAN" | "GUINEA_BISSAUAN" | "GUINEAN" | "GUYANESE" | "HAITIAN" | "HERZEGOVINIAN" | "HONDURAN" | "HUNGARIAN" | "ICELANDER" | "INDIAN" | "INDONESIAN" | "IRANIAN" | "IRAQI" | "IRISH" | "ISRAELI" | "ITALIAN" | "IVORIAN" | "JAMAICAN" | "JAPANESE" | "JORDANIAN" | "KAZAKHSTANI" | "KENYAN" | "KITTIAN_AND_NEVISIAN" | "KUWAITI" | "KYRGYZ" | "LAOTIAN" | "LATVIAN" | "LEBANESE" | "LIBERIAN" | "LIBYAN" | "LIECHTENSTEINER" | "LITHUANIAN" | "LUXEMBOURGER" | "MACEDONIAN" | "MALAGASY" | "MALAWIAN" | "MALAYSIAN" | "MALDIVAN" | "MALIAN" | "MALTESE" | "MARSHALLESE" | "MAURITANIAN" | "MAURITIAN" | "MEXICAN" | "MICRONESIAN" | "MOLDOVAN" | "MONACAN" | "MONGOLIAN" | "MOROCCAN" | "MOSOTHO" | "MOTSWANA" | "MOZAMBICAN" | "NAMIBIAN" | "NAURUAN" | "NEPALESE" | "NEW_ZEALANDER" | "NI_VANUATU" | "NICARAGUAN" | "NIGERIEN" | "NIGERIAN" | "NORTH_KOREAN" | "NORTHERN_IRISH" | "NORWEGIAN" | "OMANI" | "PAKISTANI" | "PALAUAN" | "PANAMANIAN" | "PAPUA_NEW_GUINEAN" | "PARAGUAYAN" | "PERUVIAN" | "POLISH" | "PORTUGUESE" | "QATARI" | "ROMANIAN" | "RUSSIAN" | "RWANDAN" | "SAINT_LUCIAN" | "SALVADORAN" | "SAMOAN" | "SAN_MARINESE" | "SAO_TOMEAN" | "SAUDI" | "SCOTTISH" | "SENEGALESE" | "SERBIAN" | "SEYCHELLOIS" | "SIERRA_LEONEAN" | "SINGAPOREAN" | "SLOVAKIAN" | "SLOVENIAN" | "SOLOMON_ISLANDER" | "SOMALI" | "SOUTH_AFRICAN" | "SOUTH_KOREAN" | "SOUTH_SUDANESE" | "SPANISH" | "SRI_LANKAN" | "SUDANESE" | "SURINAMER" | "SWAZI" | "SWEDISH" | "SWISS" | "SYRIAN" | "TAIWANESE" | "TAJIK" | "TANZANIAN" | "THAI" | "TOGOLESE" | "TONGAN" | "TRINIDADIAN_OR_TOBAGONIAN" | "TUNISIAN" | "TURKISH" | "TUVALUAN" | "UGANDAN" | "UKRAINIAN" | "URUGUAYAN" | "UZBEKISTANI" | "VENEZUELAN" | "VIETNAMESE" | "WELSH" | "YEMENITE" | "ZAMBIAN" | "ZIMBABWEAN" | null | undefined;
3348
3380
  transportation?: {
3349
3381
  methods?: ("OWN_CAR" | "OWN_VAN" | "MOTORCYCLE" | "PUBLIC_TRANSPORT" | "BICYCLE" | "WALK")[] | null | undefined;
3350
3382
  preferredMethod?: "OWN_CAR" | "OWN_VAN" | "MOTORCYCLE" | "PUBLIC_TRANSPORT" | "BICYCLE" | "WALK" | null | undefined;
3351
3383
  } | null | undefined;
3352
- dateOfBirth?: string | null | undefined;
3353
- bio?: string | null | undefined;
3354
- nino?: string | null | undefined;
3384
+ location?: {
3385
+ address?: string | null | undefined;
3386
+ postcode?: string | null | undefined;
3387
+ county?: string | null | undefined;
3388
+ adminDistrict?: string | null | undefined;
3389
+ builtUpArea?: string | null | undefined;
3390
+ postTown?: string | null | undefined;
3391
+ areaCovered?: string | null | undefined;
3392
+ latitude?: number | null | undefined;
3393
+ longitude?: number | null | undefined;
3394
+ } | null | undefined;
3395
+ offerOpennessSetAt?: string | null | undefined;
3355
3396
  offerNote?: string | null | undefined;
3356
- phoneNumbers?: {
3357
- id: string;
3358
- updatedAt: string;
3359
- createdAt: string;
3360
- phoneNumber: string;
3361
- isPrimary: boolean;
3362
- description?: string | null | undefined;
3363
- }[] | null | undefined;
3364
- trades?: {
3365
- id: string;
3366
- updatedAt: string;
3367
- createdAt: string;
3368
- tradeId: string;
3369
- mainTrade: boolean;
3370
- }[] | null | undefined;
3371
- qualifications?: {
3372
- id: string;
3373
- updatedAt: string;
3374
- createdAt: string;
3375
- qualificationId: string;
3376
- qualificationTypeId: string | null;
3377
- referenceNumber: string | null;
3378
- proofDocumentFileId: string | null;
3379
- issueDate?: string | null | undefined;
3380
- expiryDate?: string | null | undefined;
3381
- }[] | null | undefined;
3397
+ offerNoteUpdatedAt?: string | null | undefined;
3398
+ offerSignalUpdatedById?: string | null | undefined;
3399
+ offerSignalUpdatedByName?: string | null | undefined;
3382
3400
  shareCode?: {
3383
3401
  code: string | null;
3384
3402
  expiryDate?: string | null | undefined;
3385
3403
  fileId?: string | null | undefined;
3386
3404
  } | null | undefined;
3387
3405
  liveStatus?: {
3388
- booking?: "REFUSED_BY_CLIENT" | "REFUSED_BY_FIRST_BECAUSE_OF_NATIONALITY" | "REFUSED_BY_FIRST_NOT_ENOUGH_EXPERIENCE" | "REFUSED_BY_FIRST_JOB_FILLED" | "REFUSED_BY_FIRST_IGNORED_DENIED" | "REFUSED_BY_FIRST_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "CONFIRMED" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS" | "DIDNT_START_OVERBOOK_BY_CLIENT" | "DIDNT_START_OVERBOOK_BY_US" | "ANOTHER_SITUATION" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "COMPLETED" | "CANCELLED" | "JOB_CANCELLED" | null | undefined;
3406
+ bookingId?: string | null | undefined;
3407
+ booking?: "COMPLETED" | "CANCELLED" | "REFUSED_BY_CLIENT" | "REFUSED_BY_FIRST_BECAUSE_OF_NATIONALITY" | "REFUSED_BY_FIRST_NOT_ENOUGH_EXPERIENCE" | "REFUSED_BY_FIRST_JOB_FILLED" | "REFUSED_BY_FIRST_IGNORED_DENIED" | "REFUSED_BY_FIRST_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "CONFIRMED" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS" | "DIDNT_START_OVERBOOK_BY_CLIENT" | "DIDNT_START_OVERBOOK_BY_US" | "ANOTHER_SITUATION" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "JOB_CANCELLED" | null | undefined;
3389
3408
  active?: {
3390
- status: "ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | "OFF_SCHEDULE";
3409
+ status: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | "OFF_SCHEDULE";
3391
3410
  } | null | undefined;
3392
- bookingId?: string | null | undefined;
3393
3411
  activeId?: string | null | undefined;
3394
3412
  bookingAgent?: {
3395
3413
  id: string;
3396
- lastName: string;
3397
3414
  firstName: string;
3415
+ lastName: string;
3398
3416
  } | null | undefined;
3399
3417
  } | undefined;
3400
- offerOpennessSetAt?: string | null | undefined;
3401
- offerNoteUpdatedAt?: string | null | undefined;
3402
3418
  occupancyStatus?: "ACTIVE" | "BOOKED" | null | undefined;
3403
- distanceKm?: number | null | undefined;
3404
- bookingHistory?: {
3405
- workedTotal: number;
3406
- workedByMe: number;
3407
- noShowTotal: number;
3408
- noShowByMe: number;
3409
- } | undefined;
3410
- offerSignalUpdatedById?: string | null | undefined;
3411
- offerSignalUpdatedByName?: string | null | undefined;
3412
3419
  workingUntil?: string | null | undefined;
3420
+ blacklistReason?: string | null | undefined;
3421
+ trades?: {
3422
+ id: string;
3423
+ createdAt: string;
3424
+ updatedAt: string;
3425
+ tradeId: string;
3426
+ mainTrade: boolean;
3427
+ }[] | null | undefined;
3428
+ qualifications?: {
3429
+ id: string;
3430
+ createdAt: string;
3431
+ proofDocumentFileId: string | null;
3432
+ referenceNumber: string | null;
3433
+ qualificationId: string;
3434
+ qualificationTypeId: string | null;
3435
+ updatedAt: string;
3436
+ issueDate?: string | null | undefined;
3437
+ expiryDate?: string | null | undefined;
3438
+ }[] | null | undefined;
3439
+ phoneNumbers?: {
3440
+ id: string;
3441
+ createdAt: string;
3442
+ updatedAt: string;
3443
+ phoneNumber: string;
3444
+ isPrimary: boolean;
3445
+ description?: string | null | undefined;
3446
+ }[] | null | undefined;
3413
3447
  };
3414
- matches: {
3415
- status: "NOT_INTERESTED" | "BOOKED" | "NEW" | "TOO_FAR" | "OFFER_SENT";
3416
- statusUpdatedAt: string | null;
3417
- jobId: string;
3418
- subjectKind: "OWNED" | "CURATED";
3419
- subjectId: string;
3420
- distanceKm: number | null;
3421
- driveMinutes: number | null;
3422
- transitMinutes: number | null;
3423
- }[];
3424
3448
  jobCards: {
3425
3449
  id: string;
3426
- updatedAt: string;
3450
+ status: "AVAILABLE" | "NOT_AVAILABLE";
3427
3451
  createdAt: string;
3428
3452
  description: string;
3429
3453
  pay: {
3430
3454
  rateUnit: "DAILY" | "HOURLY";
3431
3455
  isNegotiable: boolean;
3432
- receivedRate?: number | null | undefined;
3433
3456
  rate?: number | null | undefined;
3434
3457
  rateMax?: number | null | undefined;
3458
+ receivedRate?: number | null | undefined;
3435
3459
  };
3436
- numberOfPositions: number;
3437
- status: "AVAILABLE" | "NOT_AVAILABLE";
3460
+ updatedAt: string;
3438
3461
  tradeId: string;
3462
+ numberOfPositions: number;
3439
3463
  filledPositions: number;
3464
+ distanceKm?: number | null | undefined;
3465
+ startDate?: string | null | undefined;
3440
3466
  location?: {
3441
3467
  address?: string | null | undefined;
3442
3468
  postcode?: string | null | undefined;
3443
3469
  adminDistrict?: string | null | undefined;
3444
3470
  postTown?: string | null | undefined;
3445
3471
  } | null | undefined;
3472
+ createdBy?: {
3473
+ id: string;
3474
+ firstName: string;
3475
+ lastName: string;
3476
+ phoneNumbers: {
3477
+ id: string;
3478
+ phoneNumber: string;
3479
+ isPrimary: boolean;
3480
+ description?: string | null | undefined;
3481
+ }[];
3482
+ deletedAt?: string | null | undefined;
3483
+ } | null | undefined;
3446
3484
  workHours?: number | null | undefined;
3447
- startDate?: string | null | undefined;
3448
3485
  jobQualifications?: {
3449
3486
  id: string;
3450
3487
  qualificationId: string;
@@ -3453,6 +3490,7 @@ export declare const consentQueueContract: {
3453
3490
  collaboration?: {
3454
3491
  id?: string | null | undefined;
3455
3492
  status?: string | null | undefined;
3493
+ userId?: string | null | undefined;
3456
3494
  client?: {
3457
3495
  id: string;
3458
3496
  name: string;
@@ -3461,11 +3499,10 @@ export declare const consentQueueContract: {
3461
3499
  id: string;
3462
3500
  name: string;
3463
3501
  } | null | undefined;
3464
- userId?: string | null | undefined;
3465
3502
  user?: {
3466
3503
  id: string;
3467
- lastName: string;
3468
3504
  firstName: string;
3505
+ lastName: string;
3469
3506
  phoneNumbers: {
3470
3507
  id: string;
3471
3508
  phoneNumber: string;
@@ -3476,162 +3513,165 @@ export declare const consentQueueContract: {
3476
3513
  } | null | undefined;
3477
3514
  } | null | undefined;
3478
3515
  createdById?: string | null | undefined;
3479
- createdBy?: {
3480
- id: string;
3481
- lastName: string;
3482
- firstName: string;
3483
- phoneNumbers: {
3484
- id: string;
3485
- phoneNumber: string;
3486
- isPrimary: boolean;
3487
- description?: string | null | undefined;
3488
- }[];
3489
- deletedAt?: string | null | undefined;
3490
- } | null | undefined;
3491
- creationSource?: "BOT" | "MANUAL" | null | undefined;
3492
- distanceKm?: number | null | undefined;
3516
+ creationSource?: "MANUAL" | "BOT" | null | undefined;
3517
+ sourceMessageDeletedAt?: string | null | undefined;
3518
+ minimumRateDeletionExemptAt?: string | null | undefined;
3519
+ minimumRateDeletionExemptById?: string | null | undefined;
3493
3520
  }[];
3494
3521
  }, {
3522
+ matches: {
3523
+ jobId: string;
3524
+ status: "NEW" | "TOO_FAR" | "NOT_INTERESTED" | "OFFER_SENT" | "BOOKED";
3525
+ subjectKind: "OWNED" | "CURATED";
3526
+ subjectId: string;
3527
+ distanceKm: number | null;
3528
+ driveMinutes: number | null;
3529
+ transitMinutes: number | null;
3530
+ statusUpdatedAt: string | null;
3531
+ }[];
3495
3532
  worker: {
3496
3533
  id: string;
3497
- updatedAt: string | Date;
3498
3534
  createdAt: string | Date;
3499
3535
  firstName: string;
3536
+ updatedAt: string | Date;
3500
3537
  hasTools: boolean | null;
3501
3538
  hasPpe: boolean | null;
3502
3539
  blacklisted: boolean;
3503
3540
  suppression: {
3504
3541
  reason: string;
3505
- note: string | null;
3506
3542
  until: string | null;
3543
+ note: string | null;
3507
3544
  setByName: string;
3508
3545
  setAt: string;
3509
3546
  } | null;
3547
+ distanceKm?: number | null | undefined;
3548
+ lastName?: string | null | undefined;
3549
+ bookingHistory?: {
3550
+ workedTotal: number;
3551
+ workedByMe: number;
3552
+ noShowTotal: number;
3553
+ noShowByMe: number;
3554
+ } | undefined;
3555
+ email?: string | null | undefined;
3556
+ nino?: string | null | undefined;
3557
+ dateOfBirth?: string | Date | null | undefined;
3558
+ bio?: string | null | undefined;
3559
+ englishLevel?: "NONE" | "BASIC" | "INTERMEDIATE" | "ADVANCED" | "NATIVE" | null | undefined;
3560
+ nationality?: "AFGHAN" | "ALBANIAN" | "ALGERIAN" | "AMERICAN" | "ANDORRAN" | "ANGOLAN" | "ANTIGUANS" | "ARGENTINEAN" | "ARMENIAN" | "AUSTRALIAN" | "AUSTRIAN" | "AZERBAIJANI" | "BAHAMIAN" | "BAHRAINI" | "BANGLADESHI" | "BARBADIAN" | "BARBUDANS" | "BELARUSIAN" | "BELGIAN" | "BELIZEAN" | "BENINESE" | "BHUTANESE" | "BOLIVIAN" | "BOSNIAN" | "BRAZILIAN" | "BRITISH" | "BRUNEIAN" | "BULGARIAN" | "BURKINABE" | "BURMESE" | "BURUNDIAN" | "CAMBODIAN" | "CAMEROONIAN" | "CANADIAN" | "CAPE_VERDEAN" | "CENTRAL_AFRICAN" | "CHADIAN" | "CHILEAN" | "CHINESE" | "COLOMBIAN" | "COMORAN" | "CONGOLESE" | "COSTA_RICAN" | "CROATIAN" | "CUBAN" | "CYPRIOT" | "CZECH" | "DANISH" | "DJIBOUTI" | "DOMINICAN" | "DUTCH" | "EAST_TIMORESE" | "ECUADOREAN" | "EGYPTIAN" | "EMIRIAN" | "EQUATORIAL_GUINEAN" | "ERITREAN" | "ESTONIAN" | "ETHIOPIAN" | "FIJIAN" | "FILIPINO" | "FINNISH" | "FRENCH" | "GABONESE" | "GAMBIAN" | "GEORGIAN" | "GERMAN" | "GHANAIAN" | "GREEK" | "GRENADIAN" | "GUATEMALAN" | "GUINEA_BISSAUAN" | "GUINEAN" | "GUYANESE" | "HAITIAN" | "HERZEGOVINIAN" | "HONDURAN" | "HUNGARIAN" | "ICELANDER" | "INDIAN" | "INDONESIAN" | "IRANIAN" | "IRAQI" | "IRISH" | "ISRAELI" | "ITALIAN" | "IVORIAN" | "JAMAICAN" | "JAPANESE" | "JORDANIAN" | "KAZAKHSTANI" | "KENYAN" | "KITTIAN_AND_NEVISIAN" | "KUWAITI" | "KYRGYZ" | "LAOTIAN" | "LATVIAN" | "LEBANESE" | "LIBERIAN" | "LIBYAN" | "LIECHTENSTEINER" | "LITHUANIAN" | "LUXEMBOURGER" | "MACEDONIAN" | "MALAGASY" | "MALAWIAN" | "MALAYSIAN" | "MALDIVAN" | "MALIAN" | "MALTESE" | "MARSHALLESE" | "MAURITANIAN" | "MAURITIAN" | "MEXICAN" | "MICRONESIAN" | "MOLDOVAN" | "MONACAN" | "MONGOLIAN" | "MOROCCAN" | "MOSOTHO" | "MOTSWANA" | "MOZAMBICAN" | "NAMIBIAN" | "NAURUAN" | "NEPALESE" | "NEW_ZEALANDER" | "NI_VANUATU" | "NICARAGUAN" | "NIGERIEN" | "NIGERIAN" | "NORTH_KOREAN" | "NORTHERN_IRISH" | "NORWEGIAN" | "OMANI" | "PAKISTANI" | "PALAUAN" | "PANAMANIAN" | "PAPUA_NEW_GUINEAN" | "PARAGUAYAN" | "PERUVIAN" | "POLISH" | "PORTUGUESE" | "QATARI" | "ROMANIAN" | "RUSSIAN" | "RWANDAN" | "SAINT_LUCIAN" | "SALVADORAN" | "SAMOAN" | "SAN_MARINESE" | "SAO_TOMEAN" | "SAUDI" | "SCOTTISH" | "SENEGALESE" | "SERBIAN" | "SEYCHELLOIS" | "SIERRA_LEONEAN" | "SINGAPOREAN" | "SLOVAKIAN" | "SLOVENIAN" | "SOLOMON_ISLANDER" | "SOMALI" | "SOUTH_AFRICAN" | "SOUTH_KOREAN" | "SOUTH_SUDANESE" | "SPANISH" | "SRI_LANKAN" | "SUDANESE" | "SURINAMER" | "SWAZI" | "SWEDISH" | "SWISS" | "SYRIAN" | "TAIWANESE" | "TAJIK" | "TANZANIAN" | "THAI" | "TOGOLESE" | "TONGAN" | "TRINIDADIAN_OR_TOBAGONIAN" | "TUNISIAN" | "TURKISH" | "TUVALUAN" | "UGANDAN" | "UKRAINIAN" | "URUGUAYAN" | "UZBEKISTANI" | "VENEZUELAN" | "VIETNAMESE" | "WELSH" | "YEMENITE" | "ZAMBIAN" | "ZIMBABWEAN" | null | undefined;
3561
+ transportation?: {
3562
+ methods?: ("OWN_CAR" | "OWN_VAN" | "MOTORCYCLE" | "PUBLIC_TRANSPORT" | "BICYCLE" | "WALK")[] | null | undefined;
3563
+ preferredMethod?: "OWN_CAR" | "OWN_VAN" | "MOTORCYCLE" | "PUBLIC_TRANSPORT" | "BICYCLE" | "WALK" | null | undefined;
3564
+ } | null | undefined;
3510
3565
  location?: {
3511
3566
  address?: string | null | undefined;
3512
3567
  postcode?: string | null | undefined;
3513
- latitude?: number | null | undefined;
3514
- longitude?: number | null | undefined;
3515
3568
  county?: string | null | undefined;
3516
3569
  adminDistrict?: string | null | undefined;
3517
3570
  builtUpArea?: string | null | undefined;
3518
3571
  postTown?: string | null | undefined;
3519
3572
  areaCovered?: string | null | undefined;
3573
+ latitude?: number | null | undefined;
3574
+ longitude?: number | null | undefined;
3520
3575
  } | null | undefined;
3521
- blacklistReason?: string | null | undefined;
3522
- email?: string | null | undefined;
3523
- lastName?: string | null | undefined;
3524
- englishLevel?: "NONE" | "BASIC" | "INTERMEDIATE" | "ADVANCED" | "NATIVE" | null | undefined;
3525
- nationality?: "AFGHAN" | "ALBANIAN" | "ALGERIAN" | "AMERICAN" | "ANDORRAN" | "ANGOLAN" | "ANTIGUANS" | "ARGENTINEAN" | "ARMENIAN" | "AUSTRALIAN" | "AUSTRIAN" | "AZERBAIJANI" | "BAHAMIAN" | "BAHRAINI" | "BANGLADESHI" | "BARBADIAN" | "BARBUDANS" | "BELARUSIAN" | "BELGIAN" | "BELIZEAN" | "BENINESE" | "BHUTANESE" | "BOLIVIAN" | "BOSNIAN" | "BRAZILIAN" | "BRITISH" | "BRUNEIAN" | "BULGARIAN" | "BURKINABE" | "BURMESE" | "BURUNDIAN" | "CAMBODIAN" | "CAMEROONIAN" | "CANADIAN" | "CAPE_VERDEAN" | "CENTRAL_AFRICAN" | "CHADIAN" | "CHILEAN" | "CHINESE" | "COLOMBIAN" | "COMORAN" | "CONGOLESE" | "COSTA_RICAN" | "CROATIAN" | "CUBAN" | "CYPRIOT" | "CZECH" | "DANISH" | "DJIBOUTI" | "DOMINICAN" | "DUTCH" | "EAST_TIMORESE" | "ECUADOREAN" | "EGYPTIAN" | "EMIRIAN" | "EQUATORIAL_GUINEAN" | "ERITREAN" | "ESTONIAN" | "ETHIOPIAN" | "FIJIAN" | "FILIPINO" | "FINNISH" | "FRENCH" | "GABONESE" | "GAMBIAN" | "GEORGIAN" | "GERMAN" | "GHANAIAN" | "GREEK" | "GRENADIAN" | "GUATEMALAN" | "GUINEA_BISSAUAN" | "GUINEAN" | "GUYANESE" | "HAITIAN" | "HERZEGOVINIAN" | "HONDURAN" | "HUNGARIAN" | "ICELANDER" | "INDIAN" | "INDONESIAN" | "IRANIAN" | "IRAQI" | "IRISH" | "ISRAELI" | "ITALIAN" | "IVORIAN" | "JAMAICAN" | "JAPANESE" | "JORDANIAN" | "KAZAKHSTANI" | "KENYAN" | "KITTIAN_AND_NEVISIAN" | "KUWAITI" | "KYRGYZ" | "LAOTIAN" | "LATVIAN" | "LEBANESE" | "LIBERIAN" | "LIBYAN" | "LIECHTENSTEINER" | "LITHUANIAN" | "LUXEMBOURGER" | "MACEDONIAN" | "MALAGASY" | "MALAWIAN" | "MALAYSIAN" | "MALDIVAN" | "MALIAN" | "MALTESE" | "MARSHALLESE" | "MAURITANIAN" | "MAURITIAN" | "MEXICAN" | "MICRONESIAN" | "MOLDOVAN" | "MONACAN" | "MONGOLIAN" | "MOROCCAN" | "MOSOTHO" | "MOTSWANA" | "MOZAMBICAN" | "NAMIBIAN" | "NAURUAN" | "NEPALESE" | "NEW_ZEALANDER" | "NI_VANUATU" | "NICARAGUAN" | "NIGERIEN" | "NIGERIAN" | "NORTH_KOREAN" | "NORTHERN_IRISH" | "NORWEGIAN" | "OMANI" | "PAKISTANI" | "PALAUAN" | "PANAMANIAN" | "PAPUA_NEW_GUINEAN" | "PARAGUAYAN" | "PERUVIAN" | "POLISH" | "PORTUGUESE" | "QATARI" | "ROMANIAN" | "RUSSIAN" | "RWANDAN" | "SAINT_LUCIAN" | "SALVADORAN" | "SAMOAN" | "SAN_MARINESE" | "SAO_TOMEAN" | "SAUDI" | "SCOTTISH" | "SENEGALESE" | "SERBIAN" | "SEYCHELLOIS" | "SIERRA_LEONEAN" | "SINGAPOREAN" | "SLOVAKIAN" | "SLOVENIAN" | "SOLOMON_ISLANDER" | "SOMALI" | "SOUTH_AFRICAN" | "SOUTH_KOREAN" | "SOUTH_SUDANESE" | "SPANISH" | "SRI_LANKAN" | "SUDANESE" | "SURINAMER" | "SWAZI" | "SWEDISH" | "SWISS" | "SYRIAN" | "TAIWANESE" | "TAJIK" | "TANZANIAN" | "THAI" | "TOGOLESE" | "TONGAN" | "TRINIDADIAN_OR_TOBAGONIAN" | "TUNISIAN" | "TURKISH" | "TUVALUAN" | "UGANDAN" | "UKRAINIAN" | "URUGUAYAN" | "UZBEKISTANI" | "VENEZUELAN" | "VIETNAMESE" | "WELSH" | "YEMENITE" | "ZAMBIAN" | "ZIMBABWEAN" | null | undefined;
3526
- transportation?: {
3527
- methods?: ("OWN_CAR" | "OWN_VAN" | "MOTORCYCLE" | "PUBLIC_TRANSPORT" | "BICYCLE" | "WALK")[] | null | undefined;
3528
- preferredMethod?: "OWN_CAR" | "OWN_VAN" | "MOTORCYCLE" | "PUBLIC_TRANSPORT" | "BICYCLE" | "WALK" | null | undefined;
3529
- } | null | undefined;
3530
- dateOfBirth?: string | Date | null | undefined;
3531
- bio?: string | null | undefined;
3532
- nino?: string | null | undefined;
3533
- offerOpenness?: "ACTIVELY_LOOKING" | "OPEN" | "NOT_INTERESTED" | undefined;
3576
+ offerOpenness?: "NOT_INTERESTED" | "ACTIVELY_LOOKING" | "OPEN" | undefined;
3577
+ offerOpennessSetAt?: string | Date | null | undefined;
3534
3578
  offerNote?: string | null | undefined;
3535
- phoneNumbers?: {
3536
- id: string;
3537
- updatedAt: string | Date;
3538
- createdAt: string | Date;
3539
- phoneNumber: string;
3540
- description?: string | null | undefined;
3541
- isPrimary?: boolean | undefined;
3542
- }[] | null | undefined;
3579
+ offerNoteUpdatedAt?: string | Date | null | undefined;
3580
+ offerSignalUpdatedById?: string | null | undefined;
3581
+ offerSignalUpdatedByName?: string | null | undefined;
3582
+ shareCode?: {
3583
+ code: string | null;
3584
+ expiryDate?: string | Date | null | undefined;
3585
+ fileId?: string | null | undefined;
3586
+ } | null | undefined;
3587
+ liveStatus?: {
3588
+ bookingId?: string | null | undefined;
3589
+ booking?: "COMPLETED" | "CANCELLED" | "REFUSED_BY_CLIENT" | "REFUSED_BY_FIRST_BECAUSE_OF_NATIONALITY" | "REFUSED_BY_FIRST_NOT_ENOUGH_EXPERIENCE" | "REFUSED_BY_FIRST_JOB_FILLED" | "REFUSED_BY_FIRST_IGNORED_DENIED" | "REFUSED_BY_FIRST_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "CONFIRMED" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS" | "DIDNT_START_OVERBOOK_BY_CLIENT" | "DIDNT_START_OVERBOOK_BY_US" | "ANOTHER_SITUATION" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "JOB_CANCELLED" | null | undefined;
3590
+ active?: {
3591
+ status: "PENDING" | "ACTIVE" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | "OFF_SCHEDULE";
3592
+ } | null | undefined;
3593
+ activeId?: string | null | undefined;
3594
+ bookingAgent?: {
3595
+ id: string;
3596
+ firstName: string;
3597
+ lastName: string;
3598
+ } | null | undefined;
3599
+ } | undefined;
3600
+ occupancyStatus?: "ACTIVE" | "BOOKED" | null | undefined;
3601
+ workingUntil?: string | Date | null | undefined;
3602
+ blacklistReason?: string | null | undefined;
3543
3603
  trades?: {
3544
3604
  id: string;
3545
- updatedAt: string | Date;
3546
3605
  createdAt: string | Date;
3606
+ updatedAt: string | Date;
3547
3607
  tradeId: string;
3548
3608
  mainTrade: boolean;
3549
3609
  }[] | null | undefined;
3550
3610
  qualifications?: {
3551
3611
  id: string;
3552
- updatedAt: string | Date;
3553
3612
  createdAt: string | Date;
3613
+ proofDocumentFileId: string | null;
3614
+ referenceNumber: string | null;
3554
3615
  qualificationId: string;
3555
3616
  qualificationTypeId: string | null;
3556
- referenceNumber: string | null;
3557
- proofDocumentFileId: string | null;
3617
+ updatedAt: string | Date;
3558
3618
  issueDate?: string | Date | null | undefined;
3559
3619
  expiryDate?: string | Date | null | undefined;
3560
3620
  }[] | null | undefined;
3621
+ phoneNumbers?: {
3622
+ id: string;
3623
+ createdAt: string | Date;
3624
+ updatedAt: string | Date;
3625
+ phoneNumber: string;
3626
+ description?: string | null | undefined;
3627
+ isPrimary?: boolean | undefined;
3628
+ }[] | null | undefined;
3561
3629
  idDocuments?: {
3562
3630
  id: string;
3563
- updatedAt?: string | Date | undefined;
3564
3631
  createdAt?: string | Date | undefined;
3565
3632
  expiryDate?: string | Date | null | undefined;
3633
+ updatedAt?: string | Date | undefined;
3566
3634
  fileId?: string | null | undefined;
3567
3635
  documentType?: "unknown" | "passport" | "id_card" | "driving_license" | null | undefined;
3568
3636
  documentNumber?: string | null | undefined;
3569
3637
  }[] | undefined;
3570
- shareCode?: {
3571
- code: string | null;
3572
- expiryDate?: string | Date | null | undefined;
3573
- fileId?: string | null | undefined;
3574
- } | null | undefined;
3575
- liveStatus?: {
3576
- booking?: "REFUSED_BY_CLIENT" | "REFUSED_BY_FIRST_BECAUSE_OF_NATIONALITY" | "REFUSED_BY_FIRST_NOT_ENOUGH_EXPERIENCE" | "REFUSED_BY_FIRST_JOB_FILLED" | "REFUSED_BY_FIRST_IGNORED_DENIED" | "REFUSED_BY_FIRST_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "CONFIRMED" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS" | "DIDNT_START_OVERBOOK_BY_CLIENT" | "DIDNT_START_OVERBOOK_BY_US" | "ANOTHER_SITUATION" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "COMPLETED" | "CANCELLED" | "JOB_CANCELLED" | null | undefined;
3577
- active?: {
3578
- status: "ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | "OFF_SCHEDULE";
3579
- } | null | undefined;
3580
- bookingId?: string | null | undefined;
3581
- activeId?: string | null | undefined;
3582
- bookingAgent?: {
3583
- id: string;
3584
- lastName: string;
3585
- firstName: string;
3586
- } | null | undefined;
3587
- } | undefined;
3588
- offerOpennessSetAt?: string | Date | null | undefined;
3589
- offerNoteUpdatedAt?: string | Date | null | undefined;
3590
- occupancyStatus?: "ACTIVE" | "BOOKED" | null | undefined;
3591
- distanceKm?: number | null | undefined;
3592
- bookingHistory?: {
3593
- workedTotal: number;
3594
- workedByMe: number;
3595
- noShowTotal: number;
3596
- noShowByMe: number;
3597
- } | undefined;
3598
- offerSignalUpdatedById?: string | null | undefined;
3599
- offerSignalUpdatedByName?: string | null | undefined;
3600
- workingUntil?: string | Date | null | undefined;
3601
3638
  };
3602
- matches: {
3603
- status: "NOT_INTERESTED" | "BOOKED" | "NEW" | "TOO_FAR" | "OFFER_SENT";
3604
- statusUpdatedAt: string | null;
3605
- jobId: string;
3606
- subjectKind: "OWNED" | "CURATED";
3607
- subjectId: string;
3608
- distanceKm: number | null;
3609
- driveMinutes: number | null;
3610
- transitMinutes: number | null;
3611
- }[];
3612
3639
  jobCards: {
3613
3640
  id: string;
3614
- updatedAt: string | Date;
3641
+ status: "AVAILABLE" | "NOT_AVAILABLE";
3615
3642
  createdAt: string | Date;
3616
3643
  description: string;
3617
3644
  pay: {
3618
3645
  rateUnit: "DAILY" | "HOURLY";
3619
- receivedRate?: number | null | undefined;
3620
3646
  rate?: number | null | undefined;
3621
3647
  isNegotiable?: boolean | undefined;
3622
3648
  rateMax?: number | null | undefined;
3649
+ receivedRate?: number | null | undefined;
3623
3650
  };
3624
- numberOfPositions: number;
3625
- status: "AVAILABLE" | "NOT_AVAILABLE";
3651
+ updatedAt: string | Date;
3626
3652
  tradeId: string;
3653
+ numberOfPositions: number;
3654
+ distanceKm?: number | null | undefined;
3655
+ startDate?: string | null | undefined;
3627
3656
  location?: {
3628
3657
  address?: string | null | undefined;
3629
3658
  postcode?: string | null | undefined;
3630
3659
  adminDistrict?: string | null | undefined;
3631
3660
  postTown?: string | null | undefined;
3632
3661
  } | null | undefined;
3662
+ createdBy?: {
3663
+ id: string;
3664
+ firstName: string;
3665
+ lastName: string;
3666
+ phoneNumbers?: {
3667
+ id: string;
3668
+ phoneNumber: string;
3669
+ description?: string | null | undefined;
3670
+ isPrimary?: boolean | undefined;
3671
+ }[] | undefined;
3672
+ deletedAt?: string | Date | null | undefined;
3673
+ } | null | undefined;
3633
3674
  workHours?: number | null | undefined;
3634
- startDate?: string | null | undefined;
3635
3675
  jobQualifications?: {
3636
3676
  id: string;
3637
3677
  qualificationId: string;
@@ -3640,6 +3680,7 @@ export declare const consentQueueContract: {
3640
3680
  collaboration?: {
3641
3681
  id?: string | null | undefined;
3642
3682
  status?: string | null | undefined;
3683
+ userId?: string | null | undefined;
3643
3684
  client?: {
3644
3685
  id: string;
3645
3686
  name: string;
@@ -3648,11 +3689,10 @@ export declare const consentQueueContract: {
3648
3689
  id: string;
3649
3690
  name: string;
3650
3691
  } | null | undefined;
3651
- userId?: string | null | undefined;
3652
3692
  user?: {
3653
3693
  id: string;
3654
- lastName: string;
3655
3694
  firstName: string;
3695
+ lastName: string;
3656
3696
  phoneNumbers?: {
3657
3697
  id: string;
3658
3698
  phoneNumber: string;
@@ -3662,22 +3702,12 @@ export declare const consentQueueContract: {
3662
3702
  deletedAt?: string | Date | null | undefined;
3663
3703
  } | null | undefined;
3664
3704
  } | null | undefined;
3665
- filledPositions?: number | undefined;
3666
3705
  createdById?: string | null | undefined;
3667
- createdBy?: {
3668
- id: string;
3669
- lastName: string;
3670
- firstName: string;
3671
- phoneNumbers?: {
3672
- id: string;
3673
- phoneNumber: string;
3674
- description?: string | null | undefined;
3675
- isPrimary?: boolean | undefined;
3676
- }[] | undefined;
3677
- deletedAt?: string | Date | null | undefined;
3678
- } | null | undefined;
3679
- creationSource?: "BOT" | "MANUAL" | null | undefined;
3680
- distanceKm?: number | null | undefined;
3706
+ creationSource?: "MANUAL" | "BOT" | null | undefined;
3707
+ filledPositions?: number | undefined;
3708
+ sourceMessageDeletedAt?: string | Date | null | undefined;
3709
+ minimumRateDeletionExemptAt?: string | Date | null | undefined;
3710
+ minimumRateDeletionExemptById?: string | null | undefined;
3681
3711
  }[];
3682
3712
  }>;
3683
3713
  403: z.ZodObject<{
@@ -3689,17 +3719,17 @@ export declare const consentQueueContract: {
3689
3719
  path: z.ZodString;
3690
3720
  correlationId: z.ZodOptional<z.ZodString>;
3691
3721
  }, "strip", z.ZodTypeAny, {
3692
- message: string;
3693
- path: string;
3694
3722
  code: string;
3723
+ path: string;
3724
+ message: string;
3695
3725
  statusCode: number;
3696
3726
  timestamp: string;
3697
3727
  details?: unknown;
3698
3728
  correlationId?: string | undefined;
3699
3729
  }, {
3700
- message: string;
3701
- path: string;
3702
3730
  code: string;
3731
+ path: string;
3732
+ message: string;
3703
3733
  statusCode: number;
3704
3734
  timestamp: string;
3705
3735
  details?: unknown;
@@ -3714,17 +3744,17 @@ export declare const consentQueueContract: {
3714
3744
  path: z.ZodString;
3715
3745
  correlationId: z.ZodOptional<z.ZodString>;
3716
3746
  }, "strip", z.ZodTypeAny, {
3717
- message: string;
3718
- path: string;
3719
3747
  code: string;
3748
+ path: string;
3749
+ message: string;
3720
3750
  statusCode: number;
3721
3751
  timestamp: string;
3722
3752
  details?: unknown;
3723
3753
  correlationId?: string | undefined;
3724
3754
  }, {
3725
- message: string;
3726
- path: string;
3727
3755
  code: string;
3756
+ path: string;
3757
+ message: string;
3728
3758
  statusCode: number;
3729
3759
  timestamp: string;
3730
3760
  details?: unknown;
@@ -3786,17 +3816,17 @@ export declare const consentQueueContract: {
3786
3816
  path: z.ZodString;
3787
3817
  correlationId: z.ZodOptional<z.ZodString>;
3788
3818
  }, "strip", z.ZodTypeAny, {
3789
- message: string;
3790
- path: string;
3791
3819
  code: string;
3820
+ path: string;
3821
+ message: string;
3792
3822
  statusCode: number;
3793
3823
  timestamp: string;
3794
3824
  details?: unknown;
3795
3825
  correlationId?: string | undefined;
3796
3826
  }, {
3797
- message: string;
3798
- path: string;
3799
3827
  code: string;
3828
+ path: string;
3829
+ message: string;
3800
3830
  statusCode: number;
3801
3831
  timestamp: string;
3802
3832
  details?: unknown;
@@ -3811,17 +3841,17 @@ export declare const consentQueueContract: {
3811
3841
  path: z.ZodString;
3812
3842
  correlationId: z.ZodOptional<z.ZodString>;
3813
3843
  }, "strip", z.ZodTypeAny, {
3814
- message: string;
3815
- path: string;
3816
3844
  code: string;
3845
+ path: string;
3846
+ message: string;
3817
3847
  statusCode: number;
3818
3848
  timestamp: string;
3819
3849
  details?: unknown;
3820
3850
  correlationId?: string | undefined;
3821
3851
  }, {
3822
- message: string;
3823
- path: string;
3824
3852
  code: string;
3853
+ path: string;
3854
+ message: string;
3825
3855
  statusCode: number;
3826
3856
  timestamp: string;
3827
3857
  details?: unknown;
@@ -3836,17 +3866,17 @@ export declare const consentQueueContract: {
3836
3866
  path: z.ZodString;
3837
3867
  correlationId: z.ZodOptional<z.ZodString>;
3838
3868
  }, "strip", z.ZodTypeAny, {
3839
- message: string;
3840
- path: string;
3841
3869
  code: string;
3870
+ path: string;
3871
+ message: string;
3842
3872
  statusCode: number;
3843
3873
  timestamp: string;
3844
3874
  details?: unknown;
3845
3875
  correlationId?: string | undefined;
3846
3876
  }, {
3847
- message: string;
3848
- path: string;
3849
3877
  code: string;
3878
+ path: string;
3879
+ message: string;
3850
3880
  statusCode: number;
3851
3881
  timestamp: string;
3852
3882
  details?: unknown;
@@ -3864,49 +3894,49 @@ export declare const consentQueueContract: {
3864
3894
  nearestJobDistanceKm: z.ZodNullable<z.ZodNumber>;
3865
3895
  assignedAt: z.ZodString;
3866
3896
  }, "strip", z.ZodTypeAny, {
3897
+ curatedWorkerId: string;
3867
3898
  postcode: string | null;
3899
+ phoneNumber: string | null;
3868
3900
  workerName: string;
3869
3901
  assignmentId: string;
3870
- phoneNumber: string | null;
3871
- assignedAt: string;
3872
- curatedWorkerId: string;
3873
3902
  phoneId: string | null;
3874
3903
  matchingJobCount: number;
3875
3904
  nearestJobDistanceKm: number | null;
3905
+ assignedAt: string;
3876
3906
  }, {
3907
+ curatedWorkerId: string;
3877
3908
  postcode: string | null;
3909
+ phoneNumber: string | null;
3878
3910
  workerName: string;
3879
3911
  assignmentId: string;
3880
- phoneNumber: string | null;
3881
- assignedAt: string;
3882
- curatedWorkerId: string;
3883
3912
  phoneId: string | null;
3884
3913
  matchingJobCount: number;
3885
3914
  nearestJobDistanceKm: number | null;
3915
+ assignedAt: string;
3886
3916
  }>>;
3887
3917
  }, "strip", z.ZodTypeAny, {
3888
3918
  next: {
3919
+ curatedWorkerId: string;
3889
3920
  postcode: string | null;
3921
+ phoneNumber: string | null;
3890
3922
  workerName: string;
3891
3923
  assignmentId: string;
3892
- phoneNumber: string | null;
3893
- assignedAt: string;
3894
- curatedWorkerId: string;
3895
3924
  phoneId: string | null;
3896
3925
  matchingJobCount: number;
3897
3926
  nearestJobDistanceKm: number | null;
3927
+ assignedAt: string;
3898
3928
  } | null;
3899
3929
  }, {
3900
3930
  next: {
3931
+ curatedWorkerId: string;
3901
3932
  postcode: string | null;
3933
+ phoneNumber: string | null;
3902
3934
  workerName: string;
3903
3935
  assignmentId: string;
3904
- phoneNumber: string | null;
3905
- assignedAt: string;
3906
- curatedWorkerId: string;
3907
3936
  phoneId: string | null;
3908
3937
  matchingJobCount: number;
3909
3938
  nearestJobDistanceKm: number | null;
3939
+ assignedAt: string;
3910
3940
  } | null;
3911
3941
  }>;
3912
3942
  403: z.ZodObject<{
@@ -3918,17 +3948,17 @@ export declare const consentQueueContract: {
3918
3948
  path: z.ZodString;
3919
3949
  correlationId: z.ZodOptional<z.ZodString>;
3920
3950
  }, "strip", z.ZodTypeAny, {
3921
- message: string;
3922
- path: string;
3923
3951
  code: string;
3952
+ path: string;
3953
+ message: string;
3924
3954
  statusCode: number;
3925
3955
  timestamp: string;
3926
3956
  details?: unknown;
3927
3957
  correlationId?: string | undefined;
3928
3958
  }, {
3929
- message: string;
3930
- path: string;
3931
3959
  code: string;
3960
+ path: string;
3961
+ message: string;
3932
3962
  statusCode: number;
3933
3963
  timestamp: string;
3934
3964
  details?: unknown;
@@ -3943,17 +3973,17 @@ export declare const consentQueueContract: {
3943
3973
  path: z.ZodString;
3944
3974
  correlationId: z.ZodOptional<z.ZodString>;
3945
3975
  }, "strip", z.ZodTypeAny, {
3946
- message: string;
3947
- path: string;
3948
3976
  code: string;
3977
+ path: string;
3978
+ message: string;
3949
3979
  statusCode: number;
3950
3980
  timestamp: string;
3951
3981
  details?: unknown;
3952
3982
  correlationId?: string | undefined;
3953
3983
  }, {
3954
- message: string;
3955
- path: string;
3956
3984
  code: string;
3985
+ path: string;
3986
+ message: string;
3957
3987
  statusCode: number;
3958
3988
  timestamp: string;
3959
3989
  details?: unknown;
@@ -3981,23 +4011,23 @@ export declare const consentQueueContract: {
3981
4011
  channel: z.ZodOptional<z.ZodEnum<["WHATSAPP", "PHONE"]>>;
3982
4012
  }, "strip", z.ZodTypeAny, {
3983
4013
  jobId: string;
3984
- outcome: "NOT_INTERESTED" | "BOOKED" | "TOO_FAR" | "OFFER_SENT";
4014
+ outcome: "TOO_FAR" | "NOT_INTERESTED" | "OFFER_SENT" | "BOOKED";
3985
4015
  channel?: "WHATSAPP" | "PHONE" | undefined;
3986
4016
  }, {
3987
4017
  jobId: string;
3988
- outcome: "NOT_INTERESTED" | "BOOKED" | "TOO_FAR" | "OFFER_SENT";
4018
+ outcome: "TOO_FAR" | "NOT_INTERESTED" | "OFFER_SENT" | "BOOKED";
3989
4019
  channel?: "WHATSAPP" | "PHONE" | undefined;
3990
4020
  }>, "many">;
3991
4021
  }, "strict", z.ZodTypeAny, {
3992
4022
  items: {
3993
4023
  jobId: string;
3994
- outcome: "NOT_INTERESTED" | "BOOKED" | "TOO_FAR" | "OFFER_SENT";
4024
+ outcome: "TOO_FAR" | "NOT_INTERESTED" | "OFFER_SENT" | "BOOKED";
3995
4025
  channel?: "WHATSAPP" | "PHONE" | undefined;
3996
4026
  }[];
3997
4027
  }, {
3998
4028
  items: {
3999
4029
  jobId: string;
4000
- outcome: "NOT_INTERESTED" | "BOOKED" | "TOO_FAR" | "OFFER_SENT";
4030
+ outcome: "TOO_FAR" | "NOT_INTERESTED" | "OFFER_SENT" | "BOOKED";
4001
4031
  channel?: "WHATSAPP" | "PHONE" | undefined;
4002
4032
  }[];
4003
4033
  }>;
@@ -4012,17 +4042,17 @@ export declare const consentQueueContract: {
4012
4042
  path: z.ZodString;
4013
4043
  correlationId: z.ZodOptional<z.ZodString>;
4014
4044
  }, "strip", z.ZodTypeAny, {
4015
- message: string;
4016
- path: string;
4017
4045
  code: string;
4046
+ path: string;
4047
+ message: string;
4018
4048
  statusCode: number;
4019
4049
  timestamp: string;
4020
4050
  details?: unknown;
4021
4051
  correlationId?: string | undefined;
4022
4052
  }, {
4023
- message: string;
4024
- path: string;
4025
4053
  code: string;
4054
+ path: string;
4055
+ message: string;
4026
4056
  statusCode: number;
4027
4057
  timestamp: string;
4028
4058
  details?: unknown;
@@ -4037,17 +4067,17 @@ export declare const consentQueueContract: {
4037
4067
  path: z.ZodString;
4038
4068
  correlationId: z.ZodOptional<z.ZodString>;
4039
4069
  }, "strip", z.ZodTypeAny, {
4040
- message: string;
4041
- path: string;
4042
4070
  code: string;
4071
+ path: string;
4072
+ message: string;
4043
4073
  statusCode: number;
4044
4074
  timestamp: string;
4045
4075
  details?: unknown;
4046
4076
  correlationId?: string | undefined;
4047
4077
  }, {
4048
- message: string;
4049
- path: string;
4050
4078
  code: string;
4079
+ path: string;
4080
+ message: string;
4051
4081
  statusCode: number;
4052
4082
  timestamp: string;
4053
4083
  details?: unknown;
@@ -4062,17 +4092,17 @@ export declare const consentQueueContract: {
4062
4092
  path: z.ZodString;
4063
4093
  correlationId: z.ZodOptional<z.ZodString>;
4064
4094
  }, "strip", z.ZodTypeAny, {
4065
- message: string;
4066
- path: string;
4067
4095
  code: string;
4096
+ path: string;
4097
+ message: string;
4068
4098
  statusCode: number;
4069
4099
  timestamp: string;
4070
4100
  details?: unknown;
4071
4101
  correlationId?: string | undefined;
4072
4102
  }, {
4073
- message: string;
4074
- path: string;
4075
4103
  code: string;
4104
+ path: string;
4105
+ message: string;
4076
4106
  statusCode: number;
4077
4107
  timestamp: string;
4078
4108
  details?: unknown;
@@ -4090,49 +4120,49 @@ export declare const consentQueueContract: {
4090
4120
  nearestJobDistanceKm: z.ZodNullable<z.ZodNumber>;
4091
4121
  assignedAt: z.ZodString;
4092
4122
  }, "strip", z.ZodTypeAny, {
4123
+ curatedWorkerId: string;
4093
4124
  postcode: string | null;
4125
+ phoneNumber: string | null;
4094
4126
  workerName: string;
4095
4127
  assignmentId: string;
4096
- phoneNumber: string | null;
4097
- assignedAt: string;
4098
- curatedWorkerId: string;
4099
4128
  phoneId: string | null;
4100
4129
  matchingJobCount: number;
4101
4130
  nearestJobDistanceKm: number | null;
4131
+ assignedAt: string;
4102
4132
  }, {
4133
+ curatedWorkerId: string;
4103
4134
  postcode: string | null;
4135
+ phoneNumber: string | null;
4104
4136
  workerName: string;
4105
4137
  assignmentId: string;
4106
- phoneNumber: string | null;
4107
- assignedAt: string;
4108
- curatedWorkerId: string;
4109
4138
  phoneId: string | null;
4110
4139
  matchingJobCount: number;
4111
4140
  nearestJobDistanceKm: number | null;
4141
+ assignedAt: string;
4112
4142
  }>>;
4113
4143
  }, "strip", z.ZodTypeAny, {
4114
4144
  next: {
4145
+ curatedWorkerId: string;
4115
4146
  postcode: string | null;
4147
+ phoneNumber: string | null;
4116
4148
  workerName: string;
4117
4149
  assignmentId: string;
4118
- phoneNumber: string | null;
4119
- assignedAt: string;
4120
- curatedWorkerId: string;
4121
4150
  phoneId: string | null;
4122
4151
  matchingJobCount: number;
4123
4152
  nearestJobDistanceKm: number | null;
4153
+ assignedAt: string;
4124
4154
  } | null;
4125
4155
  }, {
4126
4156
  next: {
4157
+ curatedWorkerId: string;
4127
4158
  postcode: string | null;
4159
+ phoneNumber: string | null;
4128
4160
  workerName: string;
4129
4161
  assignmentId: string;
4130
- phoneNumber: string | null;
4131
- assignedAt: string;
4132
- curatedWorkerId: string;
4133
4162
  phoneId: string | null;
4134
4163
  matchingJobCount: number;
4135
4164
  nearestJobDistanceKm: number | null;
4165
+ assignedAt: string;
4136
4166
  } | null;
4137
4167
  }>;
4138
4168
  403: z.ZodObject<{
@@ -4144,17 +4174,17 @@ export declare const consentQueueContract: {
4144
4174
  path: z.ZodString;
4145
4175
  correlationId: z.ZodOptional<z.ZodString>;
4146
4176
  }, "strip", z.ZodTypeAny, {
4147
- message: string;
4148
- path: string;
4149
4177
  code: string;
4178
+ path: string;
4179
+ message: string;
4150
4180
  statusCode: number;
4151
4181
  timestamp: string;
4152
4182
  details?: unknown;
4153
4183
  correlationId?: string | undefined;
4154
4184
  }, {
4155
- message: string;
4156
- path: string;
4157
4185
  code: string;
4186
+ path: string;
4187
+ message: string;
4158
4188
  statusCode: number;
4159
4189
  timestamp: string;
4160
4190
  details?: unknown;
@@ -4169,17 +4199,17 @@ export declare const consentQueueContract: {
4169
4199
  path: z.ZodString;
4170
4200
  correlationId: z.ZodOptional<z.ZodString>;
4171
4201
  }, "strip", z.ZodTypeAny, {
4172
- message: string;
4173
- path: string;
4174
4202
  code: string;
4203
+ path: string;
4204
+ message: string;
4175
4205
  statusCode: number;
4176
4206
  timestamp: string;
4177
4207
  details?: unknown;
4178
4208
  correlationId?: string | undefined;
4179
4209
  }, {
4180
- message: string;
4181
- path: string;
4182
4210
  code: string;
4211
+ path: string;
4212
+ message: string;
4183
4213
  statusCode: number;
4184
4214
  timestamp: string;
4185
4215
  details?: unknown;
@@ -4212,17 +4242,17 @@ export declare const consentQueueContract: {
4212
4242
  path: z.ZodString;
4213
4243
  correlationId: z.ZodOptional<z.ZodString>;
4214
4244
  }, "strip", z.ZodTypeAny, {
4215
- message: string;
4216
- path: string;
4217
4245
  code: string;
4246
+ path: string;
4247
+ message: string;
4218
4248
  statusCode: number;
4219
4249
  timestamp: string;
4220
4250
  details?: unknown;
4221
4251
  correlationId?: string | undefined;
4222
4252
  }, {
4223
- message: string;
4224
- path: string;
4225
4253
  code: string;
4254
+ path: string;
4255
+ message: string;
4226
4256
  statusCode: number;
4227
4257
  timestamp: string;
4228
4258
  details?: unknown;
@@ -4237,17 +4267,17 @@ export declare const consentQueueContract: {
4237
4267
  path: z.ZodString;
4238
4268
  correlationId: z.ZodOptional<z.ZodString>;
4239
4269
  }, "strip", z.ZodTypeAny, {
4240
- message: string;
4241
- path: string;
4242
4270
  code: string;
4271
+ path: string;
4272
+ message: string;
4243
4273
  statusCode: number;
4244
4274
  timestamp: string;
4245
4275
  details?: unknown;
4246
4276
  correlationId?: string | undefined;
4247
4277
  }, {
4248
- message: string;
4249
- path: string;
4250
4278
  code: string;
4279
+ path: string;
4280
+ message: string;
4251
4281
  statusCode: number;
4252
4282
  timestamp: string;
4253
4283
  details?: unknown;
@@ -4262,17 +4292,17 @@ export declare const consentQueueContract: {
4262
4292
  path: z.ZodString;
4263
4293
  correlationId: z.ZodOptional<z.ZodString>;
4264
4294
  }, "strip", z.ZodTypeAny, {
4265
- message: string;
4266
- path: string;
4267
4295
  code: string;
4296
+ path: string;
4297
+ message: string;
4268
4298
  statusCode: number;
4269
4299
  timestamp: string;
4270
4300
  details?: unknown;
4271
4301
  correlationId?: string | undefined;
4272
4302
  }, {
4273
- message: string;
4274
- path: string;
4275
4303
  code: string;
4304
+ path: string;
4305
+ message: string;
4276
4306
  statusCode: number;
4277
4307
  timestamp: string;
4278
4308
  details?: unknown;
@@ -4294,17 +4324,17 @@ export declare const consentQueueContract: {
4294
4324
  path: z.ZodString;
4295
4325
  correlationId: z.ZodOptional<z.ZodString>;
4296
4326
  }, "strip", z.ZodTypeAny, {
4297
- message: string;
4298
- path: string;
4299
4327
  code: string;
4328
+ path: string;
4329
+ message: string;
4300
4330
  statusCode: number;
4301
4331
  timestamp: string;
4302
4332
  details?: unknown;
4303
4333
  correlationId?: string | undefined;
4304
4334
  }, {
4305
- message: string;
4306
- path: string;
4307
4335
  code: string;
4336
+ path: string;
4337
+ message: string;
4308
4338
  statusCode: number;
4309
4339
  timestamp: string;
4310
4340
  details?: unknown;
@@ -4319,17 +4349,17 @@ export declare const consentQueueContract: {
4319
4349
  path: z.ZodString;
4320
4350
  correlationId: z.ZodOptional<z.ZodString>;
4321
4351
  }, "strip", z.ZodTypeAny, {
4322
- message: string;
4323
- path: string;
4324
4352
  code: string;
4353
+ path: string;
4354
+ message: string;
4325
4355
  statusCode: number;
4326
4356
  timestamp: string;
4327
4357
  details?: unknown;
4328
4358
  correlationId?: string | undefined;
4329
4359
  }, {
4330
- message: string;
4331
- path: string;
4332
4360
  code: string;
4361
+ path: string;
4362
+ message: string;
4333
4363
  statusCode: number;
4334
4364
  timestamp: string;
4335
4365
  details?: unknown;
@@ -4368,17 +4398,17 @@ export declare const consentQueueContract: {
4368
4398
  path: z.ZodString;
4369
4399
  correlationId: z.ZodOptional<z.ZodString>;
4370
4400
  }, "strip", z.ZodTypeAny, {
4371
- message: string;
4372
- path: string;
4373
4401
  code: string;
4402
+ path: string;
4403
+ message: string;
4374
4404
  statusCode: number;
4375
4405
  timestamp: string;
4376
4406
  details?: unknown;
4377
4407
  correlationId?: string | undefined;
4378
4408
  }, {
4379
- message: string;
4380
- path: string;
4381
4409
  code: string;
4410
+ path: string;
4411
+ message: string;
4382
4412
  statusCode: number;
4383
4413
  timestamp: string;
4384
4414
  details?: unknown;
@@ -4393,17 +4423,17 @@ export declare const consentQueueContract: {
4393
4423
  path: z.ZodString;
4394
4424
  correlationId: z.ZodOptional<z.ZodString>;
4395
4425
  }, "strip", z.ZodTypeAny, {
4396
- message: string;
4397
- path: string;
4398
4426
  code: string;
4427
+ path: string;
4428
+ message: string;
4399
4429
  statusCode: number;
4400
4430
  timestamp: string;
4401
4431
  details?: unknown;
4402
4432
  correlationId?: string | undefined;
4403
4433
  }, {
4404
- message: string;
4405
- path: string;
4406
4434
  code: string;
4435
+ path: string;
4436
+ message: string;
4407
4437
  statusCode: number;
4408
4438
  timestamp: string;
4409
4439
  details?: unknown;
@@ -4418,17 +4448,17 @@ export declare const consentQueueContract: {
4418
4448
  path: z.ZodString;
4419
4449
  correlationId: z.ZodOptional<z.ZodString>;
4420
4450
  }, "strip", z.ZodTypeAny, {
4421
- message: string;
4422
- path: string;
4423
4451
  code: string;
4452
+ path: string;
4453
+ message: string;
4424
4454
  statusCode: number;
4425
4455
  timestamp: string;
4426
4456
  details?: unknown;
4427
4457
  correlationId?: string | undefined;
4428
4458
  }, {
4429
- message: string;
4430
- path: string;
4431
4459
  code: string;
4460
+ path: string;
4461
+ message: string;
4432
4462
  statusCode: number;
4433
4463
  timestamp: string;
4434
4464
  details?: unknown;
@@ -4450,17 +4480,17 @@ export declare const consentQueueContract: {
4450
4480
  path: z.ZodString;
4451
4481
  correlationId: z.ZodOptional<z.ZodString>;
4452
4482
  }, "strip", z.ZodTypeAny, {
4453
- message: string;
4454
- path: string;
4455
4483
  code: string;
4484
+ path: string;
4485
+ message: string;
4456
4486
  statusCode: number;
4457
4487
  timestamp: string;
4458
4488
  details?: unknown;
4459
4489
  correlationId?: string | undefined;
4460
4490
  }, {
4461
- message: string;
4462
- path: string;
4463
4491
  code: string;
4492
+ path: string;
4493
+ message: string;
4464
4494
  statusCode: number;
4465
4495
  timestamp: string;
4466
4496
  details?: unknown;
@@ -4475,17 +4505,17 @@ export declare const consentQueueContract: {
4475
4505
  path: z.ZodString;
4476
4506
  correlationId: z.ZodOptional<z.ZodString>;
4477
4507
  }, "strip", z.ZodTypeAny, {
4478
- message: string;
4479
- path: string;
4480
4508
  code: string;
4509
+ path: string;
4510
+ message: string;
4481
4511
  statusCode: number;
4482
4512
  timestamp: string;
4483
4513
  details?: unknown;
4484
4514
  correlationId?: string | undefined;
4485
4515
  }, {
4486
- message: string;
4487
- path: string;
4488
4516
  code: string;
4517
+ path: string;
4518
+ message: string;
4489
4519
  statusCode: number;
4490
4520
  timestamp: string;
4491
4521
  details?: unknown;