@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
@@ -15,8 +15,8 @@ export declare const JobClusterSummarySchema: z.ZodObject<{
15
15
  status: "PENDING" | "CONFIRMED" | "DISMISSED";
16
16
  id: string;
17
17
  createdAt: string;
18
- confidence: number | null;
19
18
  memberCount: number;
19
+ confidence: number | null;
20
20
  detectionSource: "BOT" | "CRON";
21
21
  canonicalPostcode: string | null;
22
22
  canonicalTradeName: string | null;
@@ -25,8 +25,8 @@ export declare const JobClusterSummarySchema: z.ZodObject<{
25
25
  status: "PENDING" | "CONFIRMED" | "DISMISSED";
26
26
  id: string;
27
27
  createdAt: string;
28
- confidence: number | null;
29
28
  memberCount: number;
29
+ confidence: number | null;
30
30
  detectionSource: "BOT" | "CRON";
31
31
  canonicalPostcode: string | null;
32
32
  canonicalTradeName: string | null;
@@ -50,14 +50,14 @@ export declare const JobClusterMemberSchema: z.ZodObject<{
50
50
  createdByLastName: z.ZodNullable<z.ZodString>;
51
51
  }, "strip", z.ZodTypeAny, {
52
52
  id: string;
53
- createdAt: string;
54
- postcode: string | null;
55
53
  description: string;
54
+ postcode: string | null;
55
+ createdAt: string;
56
56
  numberOfPositions: number;
57
- createdById: string | null;
58
57
  clientId: string | null;
59
58
  payRate: number | null;
60
59
  tradeName: string | null;
60
+ createdById: string | null;
61
61
  clientName: string | null;
62
62
  payRateMax: number | null;
63
63
  payRateUnit: string | null;
@@ -66,14 +66,14 @@ export declare const JobClusterMemberSchema: z.ZodObject<{
66
66
  createdByLastName: string | null;
67
67
  }, {
68
68
  id: string;
69
- createdAt: string;
70
- postcode: string | null;
71
69
  description: string;
70
+ postcode: string | null;
71
+ createdAt: string;
72
72
  numberOfPositions: number;
73
- createdById: string | null;
74
73
  clientId: string | null;
75
74
  payRate: number | null;
76
75
  tradeName: string | null;
76
+ createdById: string | null;
77
77
  clientName: string | null;
78
78
  payRateMax: number | null;
79
79
  payRateUnit: string | null;
@@ -107,14 +107,14 @@ export declare const JobClusterDetailSchema: z.ZodObject<{
107
107
  createdByLastName: z.ZodNullable<z.ZodString>;
108
108
  }, "strip", z.ZodTypeAny, {
109
109
  id: string;
110
- createdAt: string;
111
- postcode: string | null;
112
110
  description: string;
111
+ postcode: string | null;
112
+ createdAt: string;
113
113
  numberOfPositions: number;
114
- createdById: string | null;
115
114
  clientId: string | null;
116
115
  payRate: number | null;
117
116
  tradeName: string | null;
117
+ createdById: string | null;
118
118
  clientName: string | null;
119
119
  payRateMax: number | null;
120
120
  payRateUnit: string | null;
@@ -123,14 +123,14 @@ export declare const JobClusterDetailSchema: z.ZodObject<{
123
123
  createdByLastName: string | null;
124
124
  }, {
125
125
  id: string;
126
- createdAt: string;
127
- postcode: string | null;
128
126
  description: string;
127
+ postcode: string | null;
128
+ createdAt: string;
129
129
  numberOfPositions: number;
130
- createdById: string | null;
131
130
  clientId: string | null;
132
131
  payRate: number | null;
133
132
  tradeName: string | null;
133
+ createdById: string | null;
134
134
  clientName: string | null;
135
135
  payRateMax: number | null;
136
136
  payRateUnit: string | null;
@@ -142,18 +142,16 @@ export declare const JobClusterDetailSchema: z.ZodObject<{
142
142
  status: "PENDING" | "CONFIRMED" | "DISMISSED";
143
143
  id: string;
144
144
  createdAt: string;
145
- confidence: number | null;
146
- reviewedAt: string | null;
147
145
  members: {
148
146
  id: string;
149
- createdAt: string;
150
- postcode: string | null;
151
147
  description: string;
148
+ postcode: string | null;
149
+ createdAt: string;
152
150
  numberOfPositions: number;
153
- createdById: string | null;
154
151
  clientId: string | null;
155
152
  payRate: number | null;
156
153
  tradeName: string | null;
154
+ createdById: string | null;
157
155
  clientName: string | null;
158
156
  payRateMax: number | null;
159
157
  payRateUnit: string | null;
@@ -161,24 +159,24 @@ export declare const JobClusterDetailSchema: z.ZodObject<{
161
159
  createdByFirstName: string | null;
162
160
  createdByLastName: string | null;
163
161
  }[];
162
+ reviewedAt: string | null;
163
+ confidence: number | null;
164
164
  detectionSource: "BOT" | "CRON";
165
165
  canonicalJobId: string | null;
166
166
  }, {
167
167
  status: "PENDING" | "CONFIRMED" | "DISMISSED";
168
168
  id: string;
169
169
  createdAt: string;
170
- confidence: number | null;
171
- reviewedAt: string | null;
172
170
  members: {
173
171
  id: string;
174
- createdAt: string;
175
- postcode: string | null;
176
172
  description: string;
173
+ postcode: string | null;
174
+ createdAt: string;
177
175
  numberOfPositions: number;
178
- createdById: string | null;
179
176
  clientId: string | null;
180
177
  payRate: number | null;
181
178
  tradeName: string | null;
179
+ createdById: string | null;
182
180
  clientName: string | null;
183
181
  payRateMax: number | null;
184
182
  payRateUnit: string | null;
@@ -186,6 +184,8 @@ export declare const JobClusterDetailSchema: z.ZodObject<{
186
184
  createdByFirstName: string | null;
187
185
  createdByLastName: string | null;
188
186
  }[];
187
+ reviewedAt: string | null;
188
+ confidence: number | null;
189
189
  detectionSource: "BOT" | "CRON";
190
190
  canonicalJobId: string | null;
191
191
  }>;
@@ -196,13 +196,13 @@ export declare const FilterJobClustersSchema: z.ZodObject<{
196
196
  sortOrder: z.ZodDefault<z.ZodEnum<["ASC", "DESC"]>>;
197
197
  }, "strip", z.ZodTypeAny, {
198
198
  status: "PENDING" | "CONFIRMED" | "DISMISSED";
199
- page: number;
200
199
  limit: number;
200
+ page: number;
201
201
  sortOrder: "ASC" | "DESC";
202
202
  }, {
203
203
  status?: "PENDING" | "CONFIRMED" | "DISMISSED" | undefined;
204
- page?: number | undefined;
205
204
  limit?: number | undefined;
205
+ page?: number | undefined;
206
206
  sortOrder?: "ASC" | "DESC" | undefined;
207
207
  }>;
208
208
  export declare const JobClusterListResponseSchema: z.ZodObject<{
@@ -220,8 +220,8 @@ export declare const JobClusterListResponseSchema: z.ZodObject<{
220
220
  status: "PENDING" | "CONFIRMED" | "DISMISSED";
221
221
  id: string;
222
222
  createdAt: string;
223
- confidence: number | null;
224
223
  memberCount: number;
224
+ confidence: number | null;
225
225
  detectionSource: "BOT" | "CRON";
226
226
  canonicalPostcode: string | null;
227
227
  canonicalTradeName: string | null;
@@ -230,8 +230,8 @@ export declare const JobClusterListResponseSchema: z.ZodObject<{
230
230
  status: "PENDING" | "CONFIRMED" | "DISMISSED";
231
231
  id: string;
232
232
  createdAt: string;
233
- confidence: number | null;
234
233
  memberCount: number;
234
+ confidence: number | null;
235
235
  detectionSource: "BOT" | "CRON";
236
236
  canonicalPostcode: string | null;
237
237
  canonicalTradeName: string | null;
@@ -242,14 +242,14 @@ export declare const JobClusterListResponseSchema: z.ZodObject<{
242
242
  limit: z.ZodNumber;
243
243
  totalPages: z.ZodNumber;
244
244
  }, "strip", z.ZodTypeAny, {
245
- page: number;
246
245
  limit: number;
246
+ page: number;
247
247
  items: {
248
248
  status: "PENDING" | "CONFIRMED" | "DISMISSED";
249
249
  id: string;
250
250
  createdAt: string;
251
- confidence: number | null;
252
251
  memberCount: number;
252
+ confidence: number | null;
253
253
  detectionSource: "BOT" | "CRON";
254
254
  canonicalPostcode: string | null;
255
255
  canonicalTradeName: string | null;
@@ -258,14 +258,14 @@ export declare const JobClusterListResponseSchema: z.ZodObject<{
258
258
  totalCount: number;
259
259
  totalPages: number;
260
260
  }, {
261
- page: number;
262
261
  limit: number;
262
+ page: number;
263
263
  items: {
264
264
  status: "PENDING" | "CONFIRMED" | "DISMISSED";
265
265
  id: string;
266
266
  createdAt: string;
267
- confidence: number | null;
268
267
  memberCount: number;
268
+ confidence: number | null;
269
269
  detectionSource: "BOT" | "CRON";
270
270
  canonicalPostcode: string | null;
271
271
  canonicalTradeName: string | null;
@@ -294,13 +294,13 @@ export declare const jobClustersContract: {
294
294
  sortOrder: z.ZodDefault<z.ZodEnum<["ASC", "DESC"]>>;
295
295
  }, "strip", z.ZodTypeAny, {
296
296
  status: "PENDING" | "CONFIRMED" | "DISMISSED";
297
- page: number;
298
297
  limit: number;
298
+ page: number;
299
299
  sortOrder: "ASC" | "DESC";
300
300
  }, {
301
301
  status?: "PENDING" | "CONFIRMED" | "DISMISSED" | undefined;
302
- page?: number | undefined;
303
302
  limit?: number | undefined;
303
+ page?: number | undefined;
304
304
  sortOrder?: "ASC" | "DESC" | undefined;
305
305
  }>;
306
306
  metadata: {
@@ -313,7 +313,7 @@ export declare const jobClustersContract: {
313
313
  method: "GET";
314
314
  path: "/v2/job-clusters";
315
315
  responses: {
316
- 401: z.ZodObject<{
316
+ 400: z.ZodObject<{
317
317
  statusCode: z.ZodNumber;
318
318
  message: z.ZodString;
319
319
  code: z.ZodString;
@@ -338,7 +338,7 @@ export declare const jobClustersContract: {
338
338
  details?: unknown;
339
339
  correlationId?: string | undefined;
340
340
  }>;
341
- 400: z.ZodObject<{
341
+ 401: z.ZodObject<{
342
342
  statusCode: z.ZodNumber;
343
343
  message: z.ZodString;
344
344
  code: z.ZodString;
@@ -428,8 +428,8 @@ export declare const jobClustersContract: {
428
428
  status: "PENDING" | "CONFIRMED" | "DISMISSED";
429
429
  id: string;
430
430
  createdAt: string;
431
- confidence: number | null;
432
431
  memberCount: number;
432
+ confidence: number | null;
433
433
  detectionSource: "BOT" | "CRON";
434
434
  canonicalPostcode: string | null;
435
435
  canonicalTradeName: string | null;
@@ -438,8 +438,8 @@ export declare const jobClustersContract: {
438
438
  status: "PENDING" | "CONFIRMED" | "DISMISSED";
439
439
  id: string;
440
440
  createdAt: string;
441
- confidence: number | null;
442
441
  memberCount: number;
442
+ confidence: number | null;
443
443
  detectionSource: "BOT" | "CRON";
444
444
  canonicalPostcode: string | null;
445
445
  canonicalTradeName: string | null;
@@ -450,14 +450,14 @@ export declare const jobClustersContract: {
450
450
  limit: z.ZodNumber;
451
451
  totalPages: z.ZodNumber;
452
452
  }, "strip", z.ZodTypeAny, {
453
- page: number;
454
453
  limit: number;
454
+ page: number;
455
455
  items: {
456
456
  status: "PENDING" | "CONFIRMED" | "DISMISSED";
457
457
  id: string;
458
458
  createdAt: string;
459
- confidence: number | null;
460
459
  memberCount: number;
460
+ confidence: number | null;
461
461
  detectionSource: "BOT" | "CRON";
462
462
  canonicalPostcode: string | null;
463
463
  canonicalTradeName: string | null;
@@ -466,14 +466,14 @@ export declare const jobClustersContract: {
466
466
  totalCount: number;
467
467
  totalPages: number;
468
468
  }, {
469
- page: number;
470
469
  limit: number;
470
+ page: number;
471
471
  items: {
472
472
  status: "PENDING" | "CONFIRMED" | "DISMISSED";
473
473
  id: string;
474
474
  createdAt: string;
475
- confidence: number | null;
476
475
  memberCount: number;
476
+ confidence: number | null;
477
477
  detectionSource: "BOT" | "CRON";
478
478
  canonicalPostcode: string | null;
479
479
  canonicalTradeName: string | null;
@@ -502,7 +502,7 @@ export declare const jobClustersContract: {
502
502
  method: "GET";
503
503
  path: "/v2/job-clusters/:id";
504
504
  responses: {
505
- 401: z.ZodObject<{
505
+ 400: z.ZodObject<{
506
506
  statusCode: z.ZodNumber;
507
507
  message: z.ZodString;
508
508
  code: z.ZodString;
@@ -527,7 +527,7 @@ export declare const jobClustersContract: {
527
527
  details?: unknown;
528
528
  correlationId?: string | undefined;
529
529
  }>;
530
- 400: z.ZodObject<{
530
+ 401: z.ZodObject<{
531
531
  statusCode: z.ZodNumber;
532
532
  message: z.ZodString;
533
533
  code: z.ZodString;
@@ -628,14 +628,14 @@ export declare const jobClustersContract: {
628
628
  createdByLastName: z.ZodNullable<z.ZodString>;
629
629
  }, "strip", z.ZodTypeAny, {
630
630
  id: string;
631
- createdAt: string;
632
- postcode: string | null;
633
631
  description: string;
632
+ postcode: string | null;
633
+ createdAt: string;
634
634
  numberOfPositions: number;
635
- createdById: string | null;
636
635
  clientId: string | null;
637
636
  payRate: number | null;
638
637
  tradeName: string | null;
638
+ createdById: string | null;
639
639
  clientName: string | null;
640
640
  payRateMax: number | null;
641
641
  payRateUnit: string | null;
@@ -644,14 +644,14 @@ export declare const jobClustersContract: {
644
644
  createdByLastName: string | null;
645
645
  }, {
646
646
  id: string;
647
- createdAt: string;
648
- postcode: string | null;
649
647
  description: string;
648
+ postcode: string | null;
649
+ createdAt: string;
650
650
  numberOfPositions: number;
651
- createdById: string | null;
652
651
  clientId: string | null;
653
652
  payRate: number | null;
654
653
  tradeName: string | null;
654
+ createdById: string | null;
655
655
  clientName: string | null;
656
656
  payRateMax: number | null;
657
657
  payRateUnit: string | null;
@@ -663,18 +663,16 @@ export declare const jobClustersContract: {
663
663
  status: "PENDING" | "CONFIRMED" | "DISMISSED";
664
664
  id: string;
665
665
  createdAt: string;
666
- confidence: number | null;
667
- reviewedAt: string | null;
668
666
  members: {
669
667
  id: string;
670
- createdAt: string;
671
- postcode: string | null;
672
668
  description: string;
669
+ postcode: string | null;
670
+ createdAt: string;
673
671
  numberOfPositions: number;
674
- createdById: string | null;
675
672
  clientId: string | null;
676
673
  payRate: number | null;
677
674
  tradeName: string | null;
675
+ createdById: string | null;
678
676
  clientName: string | null;
679
677
  payRateMax: number | null;
680
678
  payRateUnit: string | null;
@@ -682,24 +680,24 @@ export declare const jobClustersContract: {
682
680
  createdByFirstName: string | null;
683
681
  createdByLastName: string | null;
684
682
  }[];
683
+ reviewedAt: string | null;
684
+ confidence: number | null;
685
685
  detectionSource: "BOT" | "CRON";
686
686
  canonicalJobId: string | null;
687
687
  }, {
688
688
  status: "PENDING" | "CONFIRMED" | "DISMISSED";
689
689
  id: string;
690
690
  createdAt: string;
691
- confidence: number | null;
692
- reviewedAt: string | null;
693
691
  members: {
694
692
  id: string;
695
- createdAt: string;
696
- postcode: string | null;
697
693
  description: string;
694
+ postcode: string | null;
695
+ createdAt: string;
698
696
  numberOfPositions: number;
699
- createdById: string | null;
700
697
  clientId: string | null;
701
698
  payRate: number | null;
702
699
  tradeName: string | null;
700
+ createdById: string | null;
703
701
  clientName: string | null;
704
702
  payRateMax: number | null;
705
703
  payRateUnit: string | null;
@@ -707,6 +705,8 @@ export declare const jobClustersContract: {
707
705
  createdByFirstName: string | null;
708
706
  createdByLastName: string | null;
709
707
  }[];
708
+ reviewedAt: string | null;
709
+ confidence: number | null;
710
710
  detectionSource: "BOT" | "CRON";
711
711
  canonicalJobId: string | null;
712
712
  }>;
@@ -756,7 +756,7 @@ export declare const jobClustersContract: {
756
756
  body: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
757
757
  path: "/v2/job-clusters/:id/confirm";
758
758
  responses: {
759
- 401: z.ZodObject<{
759
+ 400: z.ZodObject<{
760
760
  statusCode: z.ZodNumber;
761
761
  message: z.ZodString;
762
762
  code: z.ZodString;
@@ -781,7 +781,7 @@ export declare const jobClustersContract: {
781
781
  details?: unknown;
782
782
  correlationId?: string | undefined;
783
783
  }>;
784
- 400: z.ZodObject<{
784
+ 401: z.ZodObject<{
785
785
  statusCode: z.ZodNumber;
786
786
  message: z.ZodString;
787
787
  code: z.ZodString;
@@ -882,14 +882,14 @@ export declare const jobClustersContract: {
882
882
  createdByLastName: z.ZodNullable<z.ZodString>;
883
883
  }, "strip", z.ZodTypeAny, {
884
884
  id: string;
885
- createdAt: string;
886
- postcode: string | null;
887
885
  description: string;
886
+ postcode: string | null;
887
+ createdAt: string;
888
888
  numberOfPositions: number;
889
- createdById: string | null;
890
889
  clientId: string | null;
891
890
  payRate: number | null;
892
891
  tradeName: string | null;
892
+ createdById: string | null;
893
893
  clientName: string | null;
894
894
  payRateMax: number | null;
895
895
  payRateUnit: string | null;
@@ -898,14 +898,14 @@ export declare const jobClustersContract: {
898
898
  createdByLastName: string | null;
899
899
  }, {
900
900
  id: string;
901
- createdAt: string;
902
- postcode: string | null;
903
901
  description: string;
902
+ postcode: string | null;
903
+ createdAt: string;
904
904
  numberOfPositions: number;
905
- createdById: string | null;
906
905
  clientId: string | null;
907
906
  payRate: number | null;
908
907
  tradeName: string | null;
908
+ createdById: string | null;
909
909
  clientName: string | null;
910
910
  payRateMax: number | null;
911
911
  payRateUnit: string | null;
@@ -917,18 +917,16 @@ export declare const jobClustersContract: {
917
917
  status: "PENDING" | "CONFIRMED" | "DISMISSED";
918
918
  id: string;
919
919
  createdAt: string;
920
- confidence: number | null;
921
- reviewedAt: string | null;
922
920
  members: {
923
921
  id: string;
924
- createdAt: string;
925
- postcode: string | null;
926
922
  description: string;
923
+ postcode: string | null;
924
+ createdAt: string;
927
925
  numberOfPositions: number;
928
- createdById: string | null;
929
926
  clientId: string | null;
930
927
  payRate: number | null;
931
928
  tradeName: string | null;
929
+ createdById: string | null;
932
930
  clientName: string | null;
933
931
  payRateMax: number | null;
934
932
  payRateUnit: string | null;
@@ -936,24 +934,24 @@ export declare const jobClustersContract: {
936
934
  createdByFirstName: string | null;
937
935
  createdByLastName: string | null;
938
936
  }[];
937
+ reviewedAt: string | null;
938
+ confidence: number | null;
939
939
  detectionSource: "BOT" | "CRON";
940
940
  canonicalJobId: string | null;
941
941
  }, {
942
942
  status: "PENDING" | "CONFIRMED" | "DISMISSED";
943
943
  id: string;
944
944
  createdAt: string;
945
- confidence: number | null;
946
- reviewedAt: string | null;
947
945
  members: {
948
946
  id: string;
949
- createdAt: string;
950
- postcode: string | null;
951
947
  description: string;
948
+ postcode: string | null;
949
+ createdAt: string;
952
950
  numberOfPositions: number;
953
- createdById: string | null;
954
951
  clientId: string | null;
955
952
  payRate: number | null;
956
953
  tradeName: string | null;
954
+ createdById: string | null;
957
955
  clientName: string | null;
958
956
  payRateMax: number | null;
959
957
  payRateUnit: string | null;
@@ -961,6 +959,8 @@ export declare const jobClustersContract: {
961
959
  createdByFirstName: string | null;
962
960
  createdByLastName: string | null;
963
961
  }[];
962
+ reviewedAt: string | null;
963
+ confidence: number | null;
964
964
  detectionSource: "BOT" | "CRON";
965
965
  canonicalJobId: string | null;
966
966
  }>;
@@ -1035,7 +1035,7 @@ export declare const jobClustersContract: {
1035
1035
  body: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
1036
1036
  path: "/v2/job-clusters/:id/dismiss";
1037
1037
  responses: {
1038
- 401: z.ZodObject<{
1038
+ 400: z.ZodObject<{
1039
1039
  statusCode: z.ZodNumber;
1040
1040
  message: z.ZodString;
1041
1041
  code: z.ZodString;
@@ -1060,7 +1060,7 @@ export declare const jobClustersContract: {
1060
1060
  details?: unknown;
1061
1061
  correlationId?: string | undefined;
1062
1062
  }>;
1063
- 400: z.ZodObject<{
1063
+ 401: z.ZodObject<{
1064
1064
  statusCode: z.ZodNumber;
1065
1065
  message: z.ZodString;
1066
1066
  code: z.ZodString;
@@ -1161,14 +1161,14 @@ export declare const jobClustersContract: {
1161
1161
  createdByLastName: z.ZodNullable<z.ZodString>;
1162
1162
  }, "strip", z.ZodTypeAny, {
1163
1163
  id: string;
1164
- createdAt: string;
1165
- postcode: string | null;
1166
1164
  description: string;
1165
+ postcode: string | null;
1166
+ createdAt: string;
1167
1167
  numberOfPositions: number;
1168
- createdById: string | null;
1169
1168
  clientId: string | null;
1170
1169
  payRate: number | null;
1171
1170
  tradeName: string | null;
1171
+ createdById: string | null;
1172
1172
  clientName: string | null;
1173
1173
  payRateMax: number | null;
1174
1174
  payRateUnit: string | null;
@@ -1177,14 +1177,14 @@ export declare const jobClustersContract: {
1177
1177
  createdByLastName: string | null;
1178
1178
  }, {
1179
1179
  id: string;
1180
- createdAt: string;
1181
- postcode: string | null;
1182
1180
  description: string;
1181
+ postcode: string | null;
1182
+ createdAt: string;
1183
1183
  numberOfPositions: number;
1184
- createdById: string | null;
1185
1184
  clientId: string | null;
1186
1185
  payRate: number | null;
1187
1186
  tradeName: string | null;
1187
+ createdById: string | null;
1188
1188
  clientName: string | null;
1189
1189
  payRateMax: number | null;
1190
1190
  payRateUnit: string | null;
@@ -1196,18 +1196,16 @@ export declare const jobClustersContract: {
1196
1196
  status: "PENDING" | "CONFIRMED" | "DISMISSED";
1197
1197
  id: string;
1198
1198
  createdAt: string;
1199
- confidence: number | null;
1200
- reviewedAt: string | null;
1201
1199
  members: {
1202
1200
  id: string;
1203
- createdAt: string;
1204
- postcode: string | null;
1205
1201
  description: string;
1202
+ postcode: string | null;
1203
+ createdAt: string;
1206
1204
  numberOfPositions: number;
1207
- createdById: string | null;
1208
1205
  clientId: string | null;
1209
1206
  payRate: number | null;
1210
1207
  tradeName: string | null;
1208
+ createdById: string | null;
1211
1209
  clientName: string | null;
1212
1210
  payRateMax: number | null;
1213
1211
  payRateUnit: string | null;
@@ -1215,24 +1213,24 @@ export declare const jobClustersContract: {
1215
1213
  createdByFirstName: string | null;
1216
1214
  createdByLastName: string | null;
1217
1215
  }[];
1216
+ reviewedAt: string | null;
1217
+ confidence: number | null;
1218
1218
  detectionSource: "BOT" | "CRON";
1219
1219
  canonicalJobId: string | null;
1220
1220
  }, {
1221
1221
  status: "PENDING" | "CONFIRMED" | "DISMISSED";
1222
1222
  id: string;
1223
1223
  createdAt: string;
1224
- confidence: number | null;
1225
- reviewedAt: string | null;
1226
1224
  members: {
1227
1225
  id: string;
1228
- createdAt: string;
1229
- postcode: string | null;
1230
1226
  description: string;
1227
+ postcode: string | null;
1228
+ createdAt: string;
1231
1229
  numberOfPositions: number;
1232
- createdById: string | null;
1233
1230
  clientId: string | null;
1234
1231
  payRate: number | null;
1235
1232
  tradeName: string | null;
1233
+ createdById: string | null;
1236
1234
  clientName: string | null;
1237
1235
  payRateMax: number | null;
1238
1236
  payRateUnit: string | null;
@@ -1240,6 +1238,8 @@ export declare const jobClustersContract: {
1240
1238
  createdByFirstName: string | null;
1241
1239
  createdByLastName: string | null;
1242
1240
  }[];
1241
+ reviewedAt: string | null;
1242
+ confidence: number | null;
1243
1243
  detectionSource: "BOT" | "CRON";
1244
1244
  canonicalJobId: string | null;
1245
1245
  }>;
@@ -1421,14 +1421,14 @@ export declare const jobClustersContract: {
1421
1421
  createdByLastName: z.ZodNullable<z.ZodString>;
1422
1422
  }, "strip", z.ZodTypeAny, {
1423
1423
  id: string;
1424
- createdAt: string;
1425
- postcode: string | null;
1426
1424
  description: string;
1425
+ postcode: string | null;
1426
+ createdAt: string;
1427
1427
  numberOfPositions: number;
1428
- createdById: string | null;
1429
1428
  clientId: string | null;
1430
1429
  payRate: number | null;
1431
1430
  tradeName: string | null;
1431
+ createdById: string | null;
1432
1432
  clientName: string | null;
1433
1433
  payRateMax: number | null;
1434
1434
  payRateUnit: string | null;
@@ -1437,14 +1437,14 @@ export declare const jobClustersContract: {
1437
1437
  createdByLastName: string | null;
1438
1438
  }, {
1439
1439
  id: string;
1440
- createdAt: string;
1441
- postcode: string | null;
1442
1440
  description: string;
1441
+ postcode: string | null;
1442
+ createdAt: string;
1443
1443
  numberOfPositions: number;
1444
- createdById: string | null;
1445
1444
  clientId: string | null;
1446
1445
  payRate: number | null;
1447
1446
  tradeName: string | null;
1447
+ createdById: string | null;
1448
1448
  clientName: string | null;
1449
1449
  payRateMax: number | null;
1450
1450
  payRateUnit: string | null;
@@ -1456,18 +1456,16 @@ export declare const jobClustersContract: {
1456
1456
  status: "PENDING" | "CONFIRMED" | "DISMISSED";
1457
1457
  id: string;
1458
1458
  createdAt: string;
1459
- confidence: number | null;
1460
- reviewedAt: string | null;
1461
1459
  members: {
1462
1460
  id: string;
1463
- createdAt: string;
1464
- postcode: string | null;
1465
1461
  description: string;
1462
+ postcode: string | null;
1463
+ createdAt: string;
1466
1464
  numberOfPositions: number;
1467
- createdById: string | null;
1468
1465
  clientId: string | null;
1469
1466
  payRate: number | null;
1470
1467
  tradeName: string | null;
1468
+ createdById: string | null;
1471
1469
  clientName: string | null;
1472
1470
  payRateMax: number | null;
1473
1471
  payRateUnit: string | null;
@@ -1475,24 +1473,24 @@ export declare const jobClustersContract: {
1475
1473
  createdByFirstName: string | null;
1476
1474
  createdByLastName: string | null;
1477
1475
  }[];
1476
+ reviewedAt: string | null;
1477
+ confidence: number | null;
1478
1478
  detectionSource: "BOT" | "CRON";
1479
1479
  canonicalJobId: string | null;
1480
1480
  }, {
1481
1481
  status: "PENDING" | "CONFIRMED" | "DISMISSED";
1482
1482
  id: string;
1483
1483
  createdAt: string;
1484
- confidence: number | null;
1485
- reviewedAt: string | null;
1486
1484
  members: {
1487
1485
  id: string;
1488
- createdAt: string;
1489
- postcode: string | null;
1490
1486
  description: string;
1487
+ postcode: string | null;
1488
+ createdAt: string;
1491
1489
  numberOfPositions: number;
1492
- createdById: string | null;
1493
1490
  clientId: string | null;
1494
1491
  payRate: number | null;
1495
1492
  tradeName: string | null;
1493
+ createdById: string | null;
1496
1494
  clientName: string | null;
1497
1495
  payRateMax: number | null;
1498
1496
  payRateUnit: string | null;
@@ -1500,6 +1498,8 @@ export declare const jobClustersContract: {
1500
1498
  createdByFirstName: string | null;
1501
1499
  createdByLastName: string | null;
1502
1500
  }[];
1501
+ reviewedAt: string | null;
1502
+ confidence: number | null;
1503
1503
  detectionSource: "BOT" | "CRON";
1504
1504
  canonicalJobId: string | null;
1505
1505
  }>;