@dakkitor/api-contracts 1.9.1 → 1.9.2

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 (111) hide show
  1. package/dist/abilities/abilities.contract.d.ts +28 -1
  2. package/dist/abilities/abilities.contract.d.ts.map +1 -1
  3. package/dist/abilities/abilities.contract.js +31 -1
  4. package/dist/abilities/abilities.contract.spec.js +52 -3
  5. package/dist/abilities/admin-dashboard.abilities.test.js +1 -0
  6. package/dist/abilities/automatic-caller.abilities.json +1 -0
  7. package/dist/abilities/first-agent.abilities.json +14 -0
  8. package/dist/abilities/interconnection.abilities.json +17 -1
  9. package/dist/abilities/office-manager.abilities.json +4 -0
  10. package/dist/abilities/second-agent.abilities.json +32 -1
  11. package/dist/abilities/worker-curator.abilities.json +17 -1
  12. package/dist/actives/actives.contract.d.ts +7200 -6919
  13. package/dist/actives/actives.contract.d.ts.map +1 -1
  14. package/dist/agent-client-links/agent-client-links.contract.d.ts +137 -137
  15. package/dist/auth/auth.contract.d.ts +85 -85
  16. package/dist/bookings/backdate-guard.spec.js +24 -32
  17. package/dist/bookings/bookings.contract.d.ts +10542 -10116
  18. package/dist/bookings/bookings.contract.d.ts.map +1 -1
  19. package/dist/bookings/bookings.contract.js +2 -16
  20. package/dist/call-history/call-history.contract.d.ts +315 -140
  21. package/dist/call-history/call-history.contract.d.ts.map +1 -1
  22. package/dist/calls-feed/calls-feed.contract.d.ts +39 -6
  23. package/dist/calls-feed/calls-feed.contract.d.ts.map +1 -1
  24. package/dist/candidate-calling/candidate-calling.contract.d.ts +6847 -1872
  25. package/dist/candidate-calling/candidate-calling.contract.d.ts.map +1 -1
  26. package/dist/candidate-calling/candidate-calling.contract.js +304 -16
  27. package/dist/candidate-calling/candidate-calling.contract.spec.js +164 -0
  28. package/dist/candidate-calling/candidate-dialpad-call.schemas.d.ts +10 -0
  29. package/dist/candidate-calling/candidate-dialpad-call.schemas.d.ts.map +1 -0
  30. package/dist/candidate-calling/candidate-dialpad-call.schemas.js +33 -0
  31. package/dist/client-contacts/client-contacts.contract.d.ts +622 -622
  32. package/dist/clients/clients.contract.d.ts +289 -289
  33. package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts +601 -601
  34. package/dist/collaborations/collaborations.contract.d.ts +538 -538
  35. package/dist/common/callback-slots.d.ts +4 -0
  36. package/dist/common/callback-slots.d.ts.map +1 -0
  37. package/dist/common/callback-slots.js +20 -0
  38. package/dist/common/common-schemas.d.ts +10 -4
  39. package/dist/common/common-schemas.d.ts.map +1 -1
  40. package/dist/common/common-schemas.js +6 -0
  41. package/dist/companies/companies.contract.d.ts +120 -120
  42. package/dist/crews/crews.contract.d.ts +278 -278
  43. package/dist/cron-executions/cron-executions.contract.d.ts +238 -238
  44. package/dist/curated-worker-leads/candidate-coordination.contract.d.ts +2154 -1296
  45. package/dist/curated-worker-leads/candidate-coordination.contract.d.ts.map +1 -1
  46. package/dist/curated-worker-leads/candidate-coordination.contract.js +36 -3
  47. package/dist/curated-worker-leads/candidate-edit-session.contract.d.ts +300 -300
  48. package/dist/curated-worker-leads/contact-history.spec.js +86 -0
  49. package/dist/curated-worker-leads/job-candidate-cards.spec.js +19 -0
  50. package/dist/curated-worker-leads/job-candidates.spec.js +179 -0
  51. package/dist/curated-worker-leads/jobs-tab.contract.d.ts +8598 -2519
  52. package/dist/curated-worker-leads/jobs-tab.contract.d.ts.map +1 -1
  53. package/dist/curated-worker-leads/jobs-tab.contract.js +126 -1
  54. package/dist/curated-worker-leads/owned-jobs-tab.contract.d.ts +110 -110
  55. package/dist/curated-workers/curated-workers.contract.d.ts +1213 -1131
  56. package/dist/curated-workers/curated-workers.contract.d.ts.map +1 -1
  57. package/dist/dashboards/dashboard-widgets.contact-history.spec.d.ts +2 -0
  58. package/dist/dashboards/dashboard-widgets.contact-history.spec.d.ts.map +1 -0
  59. package/dist/dashboards/dashboard-widgets.contact-history.spec.js +160 -0
  60. package/dist/dashboards/dashboard-widgets.contract.d.ts +1278 -535
  61. package/dist/dashboards/dashboard-widgets.contract.d.ts.map +1 -1
  62. package/dist/dashboards/dashboard-widgets.contract.js +46 -1
  63. package/dist/dashboards/dashboard.contract.d.ts +8 -8
  64. package/dist/document-intake/document-intake.contract.d.ts +1145 -1145
  65. package/dist/export-jobs/export-jobs.contract.d.ts +663 -663
  66. package/dist/exports-events/exports-events.schemas.d.ts +2 -2
  67. package/dist/index.d.ts +1 -0
  68. package/dist/index.d.ts.map +1 -1
  69. package/dist/index.js +1 -0
  70. package/dist/jobs/jobs.contract.d.ts +5586 -3381
  71. package/dist/jobs/jobs.contract.d.ts.map +1 -1
  72. package/dist/jobs/jobs.contract.js +95 -2
  73. package/dist/jobs/jobs.contract.spec.js +231 -1
  74. package/dist/kpi-impersonation/kpi-impersonation.contract.d.ts +123 -123
  75. package/dist/lead-assignments/lead-assignments.contract.d.ts +1897 -122
  76. package/dist/lead-assignments/lead-assignments.contract.d.ts.map +1 -1
  77. package/dist/lead-assignments/lead-assignments.contract.js +102 -2
  78. package/dist/lead-assignments/lead-assignments.contract.spec.d.ts +2 -0
  79. package/dist/lead-assignments/lead-assignments.contract.spec.d.ts.map +1 -0
  80. package/dist/lead-assignments/lead-assignments.contract.spec.js +51 -0
  81. package/dist/lead-distribution/agent-lead-distribution.contract.d.ts +103 -103
  82. package/dist/leads/leads.contract.d.ts +210 -210
  83. package/dist/locations/location-enrichment.contract.spec.d.ts +2 -0
  84. package/dist/locations/location-enrichment.contract.spec.d.ts.map +1 -0
  85. package/dist/locations/location-enrichment.contract.spec.js +50 -0
  86. package/dist/locations/locations.contract.d.ts +132 -98
  87. package/dist/locations/locations.contract.d.ts.map +1 -1
  88. package/dist/locations/locations.contract.js +10 -0
  89. package/dist/notifications/notifications.contract.d.ts +512 -40
  90. package/dist/notifications/notifications.contract.d.ts.map +1 -1
  91. package/dist/notifications/notifications.contract.js +36 -2
  92. package/dist/notifications/notifications.contract.spec.d.ts +2 -0
  93. package/dist/notifications/notifications.contract.spec.d.ts.map +1 -0
  94. package/dist/notifications/notifications.contract.spec.js +39 -0
  95. package/dist/own-research/own-research.contract.d.ts +196 -130
  96. package/dist/own-research/own-research.contract.d.ts.map +1 -1
  97. package/dist/proofs/proofs.contract.d.ts +356 -356
  98. package/dist/proofs/proofs.dtos.d.ts +148 -148
  99. package/dist/realtime/job-call-priority-updated.d.ts +18 -0
  100. package/dist/realtime/job-call-priority-updated.d.ts.map +1 -0
  101. package/dist/realtime/job-call-priority-updated.js +17 -0
  102. package/dist/shared/summary-schemas.d.ts +36 -27
  103. package/dist/shared/summary-schemas.d.ts.map +1 -1
  104. package/dist/shared/summary-schemas.js +7 -0
  105. package/dist/sheets-sync/sheets-sync.contract.d.ts +683 -683
  106. package/dist/user-access-grants/user-access-grants.contract.d.ts +55 -55
  107. package/dist/users/users.contract.d.ts +236 -236
  108. package/dist/worker-source-identity-conflicts/worker-source-identity-conflicts.contract.d.ts +69 -69
  109. package/dist/workers/workers.contract.d.ts +2620 -2420
  110. package/dist/workers/workers.contract.d.ts.map +1 -1
  111. package/package.json +1 -1
@@ -14,25 +14,25 @@ export declare const CronExecutionHistorySchema: z.ZodObject<{
14
14
  errorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
15
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
16
16
  }, "strip", z.ZodTypeAny, {
17
- status: string;
18
17
  id: string;
19
- jobName: string;
18
+ status: string;
20
19
  startedAt: string;
20
+ jobName: string;
21
21
  metadata?: Record<string, unknown> | undefined;
22
- errorMessage?: string | null | undefined;
23
22
  completedAt?: string | null | undefined;
23
+ errorMessage?: string | null | undefined;
24
24
  durationMs?: number | null | undefined;
25
25
  recordsProcessed?: number | null | undefined;
26
26
  recordsCreated?: number | null | undefined;
27
27
  recordsDeleted?: number | null | undefined;
28
28
  }, {
29
- status: string;
30
29
  id: string;
31
- jobName: string;
30
+ status: string;
32
31
  startedAt: string | Date;
32
+ jobName: string;
33
33
  metadata?: Record<string, unknown> | undefined;
34
- errorMessage?: string | null | undefined;
35
34
  completedAt?: string | Date | null | undefined;
35
+ errorMessage?: string | null | undefined;
36
36
  durationMs?: number | null | undefined;
37
37
  recordsProcessed?: number | null | undefined;
38
38
  recordsCreated?: number | null | undefined;
@@ -195,7 +195,9 @@ export declare const DocumentBackfillSweepResultSchema: z.ZodObject<{
195
195
  failed: z.ZodNumber;
196
196
  concurrentSkipped: z.ZodOptional<z.ZodLiteral<true>>;
197
197
  }, "strip", z.ZodTypeAny, {
198
+ failed: number;
198
199
  scanned: number;
200
+ queuedForReview: number;
199
201
  skippedUnchanged: number;
200
202
  needsHash: number;
201
203
  wouldHash: number;
@@ -206,13 +208,13 @@ export declare const DocumentBackfillSweepResultSchema: z.ZodObject<{
206
208
  llmCalls: number;
207
209
  reevaluated: number;
208
210
  verifiedNoChange: number;
209
- queuedForReview: number;
210
211
  retryDeferred: number;
211
212
  deduplicated: number;
212
- failed: number;
213
213
  concurrentSkipped?: true | undefined;
214
214
  }, {
215
+ failed: number;
215
216
  scanned: number;
217
+ queuedForReview: number;
216
218
  skippedUnchanged: number;
217
219
  needsHash: number;
218
220
  wouldHash: number;
@@ -223,10 +225,8 @@ export declare const DocumentBackfillSweepResultSchema: z.ZodObject<{
223
225
  llmCalls: number;
224
226
  reevaluated: number;
225
227
  verifiedNoChange: number;
226
- queuedForReview: number;
227
228
  retryDeferred: number;
228
229
  deduplicated: number;
229
- failed: number;
230
230
  concurrentSkipped?: true | undefined;
231
231
  }>;
232
232
  export declare const DocumentBackfillExecutionResponseSchema: z.ZodObject<{
@@ -252,7 +252,9 @@ export declare const DocumentBackfillExecutionResponseSchema: z.ZodObject<{
252
252
  failed: z.ZodNumber;
253
253
  concurrentSkipped: z.ZodOptional<z.ZodLiteral<true>>;
254
254
  }, "strip", z.ZodTypeAny, {
255
+ failed: number;
255
256
  scanned: number;
257
+ queuedForReview: number;
256
258
  skippedUnchanged: number;
257
259
  needsHash: number;
258
260
  wouldHash: number;
@@ -263,13 +265,13 @@ export declare const DocumentBackfillExecutionResponseSchema: z.ZodObject<{
263
265
  llmCalls: number;
264
266
  reevaluated: number;
265
267
  verifiedNoChange: number;
266
- queuedForReview: number;
267
268
  retryDeferred: number;
268
269
  deduplicated: number;
269
- failed: number;
270
270
  concurrentSkipped?: true | undefined;
271
271
  }, {
272
+ failed: number;
272
273
  scanned: number;
274
+ queuedForReview: number;
273
275
  skippedUnchanged: number;
274
276
  needsHash: number;
275
277
  wouldHash: number;
@@ -280,10 +282,8 @@ export declare const DocumentBackfillExecutionResponseSchema: z.ZodObject<{
280
282
  llmCalls: number;
281
283
  reevaluated: number;
282
284
  verifiedNoChange: number;
283
- queuedForReview: number;
284
285
  retryDeferred: number;
285
286
  deduplicated: number;
286
- failed: number;
287
287
  concurrentSkipped?: true | undefined;
288
288
  }>;
289
289
  }, "strip", z.ZodTypeAny, {
@@ -291,7 +291,9 @@ export declare const DocumentBackfillExecutionResponseSchema: z.ZodObject<{
291
291
  success: boolean;
292
292
  executionId: string;
293
293
  result: {
294
+ failed: number;
294
295
  scanned: number;
296
+ queuedForReview: number;
295
297
  skippedUnchanged: number;
296
298
  needsHash: number;
297
299
  wouldHash: number;
@@ -302,10 +304,8 @@ export declare const DocumentBackfillExecutionResponseSchema: z.ZodObject<{
302
304
  llmCalls: number;
303
305
  reevaluated: number;
304
306
  verifiedNoChange: number;
305
- queuedForReview: number;
306
307
  retryDeferred: number;
307
308
  deduplicated: number;
308
- failed: number;
309
309
  concurrentSkipped?: true | undefined;
310
310
  };
311
311
  }, {
@@ -313,7 +313,9 @@ export declare const DocumentBackfillExecutionResponseSchema: z.ZodObject<{
313
313
  success: boolean;
314
314
  executionId: string;
315
315
  result: {
316
+ failed: number;
316
317
  scanned: number;
318
+ queuedForReview: number;
317
319
  skippedUnchanged: number;
318
320
  needsHash: number;
319
321
  wouldHash: number;
@@ -324,10 +326,8 @@ export declare const DocumentBackfillExecutionResponseSchema: z.ZodObject<{
324
326
  llmCalls: number;
325
327
  reevaluated: number;
326
328
  verifiedNoChange: number;
327
- queuedForReview: number;
328
329
  retryDeferred: number;
329
330
  deduplicated: number;
330
- failed: number;
331
331
  concurrentSkipped?: true | undefined;
332
332
  };
333
333
  }>;
@@ -336,7 +336,7 @@ export declare const CronExecutionFilterSchema: z.ZodObject<{
336
336
  page: z.ZodDefault<z.ZodNumber>;
337
337
  } & {
338
338
  jobNames: z.ZodEffects<z.ZodOptional<z.ZodUnion<[z.ZodEnum<["GENERATE_DAILY_ACTIVES", "CLEANUP_ORPHANED_FILES", "CLEANUP_ARCHIVED_FILES", "CLEANUP_BOT_PARSE_CACHE", "UPDATE_AGENT_PERFORMANCE", "RECONCILE_DAILY_METRICS", "RECONCILE_ALL_DAILY_METRICS", "RESET_LEAD_ASSIGNMENTS", "RETRY_FAILED_CRON_JOBS", "LEAD_SCORE_CONSISTENCY", "PURGE_OLD_EXPORT_JOBS", "JOB_CLUSTER_SWEEP", "WORKER_MATCH_SWEEP", "WORKER_AUTO_PROMOTE", "DOCUMENT_BACKFILL_SWEEP"]>, z.ZodArray<z.ZodEnum<["GENERATE_DAILY_ACTIVES", "CLEANUP_ORPHANED_FILES", "CLEANUP_ARCHIVED_FILES", "CLEANUP_BOT_PARSE_CACHE", "UPDATE_AGENT_PERFORMANCE", "RECONCILE_DAILY_METRICS", "RECONCILE_ALL_DAILY_METRICS", "RESET_LEAD_ASSIGNMENTS", "RETRY_FAILED_CRON_JOBS", "LEAD_SCORE_CONSISTENCY", "PURGE_OLD_EXPORT_JOBS", "JOB_CLUSTER_SWEEP", "WORKER_MATCH_SWEEP", "WORKER_AUTO_PROMOTE", "DOCUMENT_BACKFILL_SWEEP"]>, "many">]>>, ("GENERATE_DAILY_ACTIVES" | "CLEANUP_ORPHANED_FILES" | "CLEANUP_ARCHIVED_FILES" | "CLEANUP_BOT_PARSE_CACHE" | "UPDATE_AGENT_PERFORMANCE" | "RECONCILE_DAILY_METRICS" | "RECONCILE_ALL_DAILY_METRICS" | "RESET_LEAD_ASSIGNMENTS" | "RETRY_FAILED_CRON_JOBS" | "LEAD_SCORE_CONSISTENCY" | "PURGE_OLD_EXPORT_JOBS" | "JOB_CLUSTER_SWEEP" | "WORKER_MATCH_SWEEP" | "WORKER_AUTO_PROMOTE" | "DOCUMENT_BACKFILL_SWEEP")[] | undefined, "GENERATE_DAILY_ACTIVES" | "CLEANUP_ORPHANED_FILES" | "CLEANUP_ARCHIVED_FILES" | "CLEANUP_BOT_PARSE_CACHE" | "UPDATE_AGENT_PERFORMANCE" | "RECONCILE_DAILY_METRICS" | "RECONCILE_ALL_DAILY_METRICS" | "RESET_LEAD_ASSIGNMENTS" | "RETRY_FAILED_CRON_JOBS" | "LEAD_SCORE_CONSISTENCY" | "PURGE_OLD_EXPORT_JOBS" | "JOB_CLUSTER_SWEEP" | "WORKER_MATCH_SWEEP" | "WORKER_AUTO_PROMOTE" | "DOCUMENT_BACKFILL_SWEEP" | ("GENERATE_DAILY_ACTIVES" | "CLEANUP_ORPHANED_FILES" | "CLEANUP_ARCHIVED_FILES" | "CLEANUP_BOT_PARSE_CACHE" | "UPDATE_AGENT_PERFORMANCE" | "RECONCILE_DAILY_METRICS" | "RECONCILE_ALL_DAILY_METRICS" | "RESET_LEAD_ASSIGNMENTS" | "RETRY_FAILED_CRON_JOBS" | "LEAD_SCORE_CONSISTENCY" | "PURGE_OLD_EXPORT_JOBS" | "JOB_CLUSTER_SWEEP" | "WORKER_MATCH_SWEEP" | "WORKER_AUTO_PROMOTE" | "DOCUMENT_BACKFILL_SWEEP")[] | undefined>;
339
- statuses: z.ZodEffects<z.ZodOptional<z.ZodUnion<[z.ZodEnum<["SUCCESS", "FAILED", "PARTIAL"]>, z.ZodArray<z.ZodEnum<["SUCCESS", "FAILED", "PARTIAL"]>, "many">]>>, ("SUCCESS" | "FAILED" | "PARTIAL")[] | undefined, "SUCCESS" | "FAILED" | "PARTIAL" | ("SUCCESS" | "FAILED" | "PARTIAL")[] | undefined>;
339
+ statuses: z.ZodEffects<z.ZodOptional<z.ZodUnion<[z.ZodEnum<["SUCCESS", "FAILED", "PARTIAL"]>, z.ZodArray<z.ZodEnum<["SUCCESS", "FAILED", "PARTIAL"]>, "many">]>>, ("FAILED" | "SUCCESS" | "PARTIAL")[] | undefined, "FAILED" | "SUCCESS" | "PARTIAL" | ("FAILED" | "SUCCESS" | "PARTIAL")[] | undefined>;
340
340
  startedAfter: z.ZodOptional<z.ZodString>;
341
341
  startedBefore: z.ZodOptional<z.ZodString>;
342
342
  sortBy: z.ZodOptional<z.ZodDefault<z.ZodEnum<["startedAt", "completedAt", "durationMs", "jobName", "status", "createdAt"]>>>;
@@ -344,19 +344,19 @@ export declare const CronExecutionFilterSchema: z.ZodObject<{
344
344
  }, "strip", z.ZodTypeAny, {
345
345
  page: number;
346
346
  limit: number;
347
- sortBy?: "status" | "createdAt" | "completedAt" | "jobName" | "startedAt" | "durationMs" | undefined;
347
+ sortBy?: "createdAt" | "status" | "completedAt" | "startedAt" | "jobName" | "durationMs" | undefined;
348
348
  sortOrder?: "ASC" | "DESC" | undefined;
349
+ statuses?: ("FAILED" | "SUCCESS" | "PARTIAL")[] | undefined;
349
350
  jobNames?: ("GENERATE_DAILY_ACTIVES" | "CLEANUP_ORPHANED_FILES" | "CLEANUP_ARCHIVED_FILES" | "CLEANUP_BOT_PARSE_CACHE" | "UPDATE_AGENT_PERFORMANCE" | "RECONCILE_DAILY_METRICS" | "RECONCILE_ALL_DAILY_METRICS" | "RESET_LEAD_ASSIGNMENTS" | "RETRY_FAILED_CRON_JOBS" | "LEAD_SCORE_CONSISTENCY" | "PURGE_OLD_EXPORT_JOBS" | "JOB_CLUSTER_SWEEP" | "WORKER_MATCH_SWEEP" | "WORKER_AUTO_PROMOTE" | "DOCUMENT_BACKFILL_SWEEP")[] | undefined;
350
- statuses?: ("SUCCESS" | "FAILED" | "PARTIAL")[] | undefined;
351
351
  startedAfter?: string | undefined;
352
352
  startedBefore?: string | undefined;
353
353
  }, {
354
354
  page?: number | undefined;
355
355
  limit?: number | undefined;
356
- sortBy?: "status" | "createdAt" | "completedAt" | "jobName" | "startedAt" | "durationMs" | undefined;
356
+ sortBy?: "createdAt" | "status" | "completedAt" | "startedAt" | "jobName" | "durationMs" | undefined;
357
357
  sortOrder?: "ASC" | "DESC" | undefined;
358
+ statuses?: "FAILED" | "SUCCESS" | "PARTIAL" | ("FAILED" | "SUCCESS" | "PARTIAL")[] | undefined;
358
359
  jobNames?: "GENERATE_DAILY_ACTIVES" | "CLEANUP_ORPHANED_FILES" | "CLEANUP_ARCHIVED_FILES" | "CLEANUP_BOT_PARSE_CACHE" | "UPDATE_AGENT_PERFORMANCE" | "RECONCILE_DAILY_METRICS" | "RECONCILE_ALL_DAILY_METRICS" | "RESET_LEAD_ASSIGNMENTS" | "RETRY_FAILED_CRON_JOBS" | "LEAD_SCORE_CONSISTENCY" | "PURGE_OLD_EXPORT_JOBS" | "JOB_CLUSTER_SWEEP" | "WORKER_MATCH_SWEEP" | "WORKER_AUTO_PROMOTE" | "DOCUMENT_BACKFILL_SWEEP" | ("GENERATE_DAILY_ACTIVES" | "CLEANUP_ORPHANED_FILES" | "CLEANUP_ARCHIVED_FILES" | "CLEANUP_BOT_PARSE_CACHE" | "UPDATE_AGENT_PERFORMANCE" | "RECONCILE_DAILY_METRICS" | "RECONCILE_ALL_DAILY_METRICS" | "RESET_LEAD_ASSIGNMENTS" | "RETRY_FAILED_CRON_JOBS" | "LEAD_SCORE_CONSISTENCY" | "PURGE_OLD_EXPORT_JOBS" | "JOB_CLUSTER_SWEEP" | "WORKER_MATCH_SWEEP" | "WORKER_AUTO_PROMOTE" | "DOCUMENT_BACKFILL_SWEEP")[] | undefined;
359
- statuses?: "SUCCESS" | "FAILED" | "PARTIAL" | ("SUCCESS" | "FAILED" | "PARTIAL")[] | undefined;
360
360
  startedAfter?: string | undefined;
361
361
  startedBefore?: string | undefined;
362
362
  }>;
@@ -374,25 +374,25 @@ export declare const PaginatedCronExecutionHistorySchema: z.ZodObject<{
374
374
  errorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
375
375
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
376
376
  }, "strip", z.ZodTypeAny, {
377
- status: string;
378
377
  id: string;
379
- jobName: string;
378
+ status: string;
380
379
  startedAt: string;
380
+ jobName: string;
381
381
  metadata?: Record<string, unknown> | undefined;
382
- errorMessage?: string | null | undefined;
383
382
  completedAt?: string | null | undefined;
383
+ errorMessage?: string | null | undefined;
384
384
  durationMs?: number | null | undefined;
385
385
  recordsProcessed?: number | null | undefined;
386
386
  recordsCreated?: number | null | undefined;
387
387
  recordsDeleted?: number | null | undefined;
388
388
  }, {
389
- status: string;
390
389
  id: string;
391
- jobName: string;
390
+ status: string;
392
391
  startedAt: string | Date;
392
+ jobName: string;
393
393
  metadata?: Record<string, unknown> | undefined;
394
- errorMessage?: string | null | undefined;
395
394
  completedAt?: string | Date | null | undefined;
395
+ errorMessage?: string | null | undefined;
396
396
  durationMs?: number | null | undefined;
397
397
  recordsProcessed?: number | null | undefined;
398
398
  recordsCreated?: number | null | undefined;
@@ -406,13 +406,13 @@ export declare const PaginatedCronExecutionHistorySchema: z.ZodObject<{
406
406
  }, "strip", z.ZodTypeAny, {
407
407
  limit: number;
408
408
  items: {
409
- status: string;
410
409
  id: string;
411
- jobName: string;
410
+ status: string;
412
411
  startedAt: string;
412
+ jobName: string;
413
413
  metadata?: Record<string, unknown> | undefined;
414
- errorMessage?: string | null | undefined;
415
414
  completedAt?: string | null | undefined;
415
+ errorMessage?: string | null | undefined;
416
416
  durationMs?: number | null | undefined;
417
417
  recordsProcessed?: number | null | undefined;
418
418
  recordsCreated?: number | null | undefined;
@@ -425,13 +425,13 @@ export declare const PaginatedCronExecutionHistorySchema: z.ZodObject<{
425
425
  }, {
426
426
  limit: number;
427
427
  items: {
428
- status: string;
429
428
  id: string;
430
- jobName: string;
429
+ status: string;
431
430
  startedAt: string | Date;
431
+ jobName: string;
432
432
  metadata?: Record<string, unknown> | undefined;
433
- errorMessage?: string | null | undefined;
434
433
  completedAt?: string | Date | null | undefined;
434
+ errorMessage?: string | null | undefined;
435
435
  durationMs?: number | null | undefined;
436
436
  recordsProcessed?: number | null | undefined;
437
437
  recordsCreated?: number | null | undefined;
@@ -571,7 +571,7 @@ export declare const cronExecutionsContract: {
571
571
  page: z.ZodDefault<z.ZodNumber>;
572
572
  } & {
573
573
  jobNames: z.ZodEffects<z.ZodOptional<z.ZodUnion<[z.ZodEnum<["GENERATE_DAILY_ACTIVES", "CLEANUP_ORPHANED_FILES", "CLEANUP_ARCHIVED_FILES", "CLEANUP_BOT_PARSE_CACHE", "UPDATE_AGENT_PERFORMANCE", "RECONCILE_DAILY_METRICS", "RECONCILE_ALL_DAILY_METRICS", "RESET_LEAD_ASSIGNMENTS", "RETRY_FAILED_CRON_JOBS", "LEAD_SCORE_CONSISTENCY", "PURGE_OLD_EXPORT_JOBS", "JOB_CLUSTER_SWEEP", "WORKER_MATCH_SWEEP", "WORKER_AUTO_PROMOTE", "DOCUMENT_BACKFILL_SWEEP"]>, z.ZodArray<z.ZodEnum<["GENERATE_DAILY_ACTIVES", "CLEANUP_ORPHANED_FILES", "CLEANUP_ARCHIVED_FILES", "CLEANUP_BOT_PARSE_CACHE", "UPDATE_AGENT_PERFORMANCE", "RECONCILE_DAILY_METRICS", "RECONCILE_ALL_DAILY_METRICS", "RESET_LEAD_ASSIGNMENTS", "RETRY_FAILED_CRON_JOBS", "LEAD_SCORE_CONSISTENCY", "PURGE_OLD_EXPORT_JOBS", "JOB_CLUSTER_SWEEP", "WORKER_MATCH_SWEEP", "WORKER_AUTO_PROMOTE", "DOCUMENT_BACKFILL_SWEEP"]>, "many">]>>, ("GENERATE_DAILY_ACTIVES" | "CLEANUP_ORPHANED_FILES" | "CLEANUP_ARCHIVED_FILES" | "CLEANUP_BOT_PARSE_CACHE" | "UPDATE_AGENT_PERFORMANCE" | "RECONCILE_DAILY_METRICS" | "RECONCILE_ALL_DAILY_METRICS" | "RESET_LEAD_ASSIGNMENTS" | "RETRY_FAILED_CRON_JOBS" | "LEAD_SCORE_CONSISTENCY" | "PURGE_OLD_EXPORT_JOBS" | "JOB_CLUSTER_SWEEP" | "WORKER_MATCH_SWEEP" | "WORKER_AUTO_PROMOTE" | "DOCUMENT_BACKFILL_SWEEP")[] | undefined, "GENERATE_DAILY_ACTIVES" | "CLEANUP_ORPHANED_FILES" | "CLEANUP_ARCHIVED_FILES" | "CLEANUP_BOT_PARSE_CACHE" | "UPDATE_AGENT_PERFORMANCE" | "RECONCILE_DAILY_METRICS" | "RECONCILE_ALL_DAILY_METRICS" | "RESET_LEAD_ASSIGNMENTS" | "RETRY_FAILED_CRON_JOBS" | "LEAD_SCORE_CONSISTENCY" | "PURGE_OLD_EXPORT_JOBS" | "JOB_CLUSTER_SWEEP" | "WORKER_MATCH_SWEEP" | "WORKER_AUTO_PROMOTE" | "DOCUMENT_BACKFILL_SWEEP" | ("GENERATE_DAILY_ACTIVES" | "CLEANUP_ORPHANED_FILES" | "CLEANUP_ARCHIVED_FILES" | "CLEANUP_BOT_PARSE_CACHE" | "UPDATE_AGENT_PERFORMANCE" | "RECONCILE_DAILY_METRICS" | "RECONCILE_ALL_DAILY_METRICS" | "RESET_LEAD_ASSIGNMENTS" | "RETRY_FAILED_CRON_JOBS" | "LEAD_SCORE_CONSISTENCY" | "PURGE_OLD_EXPORT_JOBS" | "JOB_CLUSTER_SWEEP" | "WORKER_MATCH_SWEEP" | "WORKER_AUTO_PROMOTE" | "DOCUMENT_BACKFILL_SWEEP")[] | undefined>;
574
- statuses: z.ZodEffects<z.ZodOptional<z.ZodUnion<[z.ZodEnum<["SUCCESS", "FAILED", "PARTIAL"]>, z.ZodArray<z.ZodEnum<["SUCCESS", "FAILED", "PARTIAL"]>, "many">]>>, ("SUCCESS" | "FAILED" | "PARTIAL")[] | undefined, "SUCCESS" | "FAILED" | "PARTIAL" | ("SUCCESS" | "FAILED" | "PARTIAL")[] | undefined>;
574
+ statuses: z.ZodEffects<z.ZodOptional<z.ZodUnion<[z.ZodEnum<["SUCCESS", "FAILED", "PARTIAL"]>, z.ZodArray<z.ZodEnum<["SUCCESS", "FAILED", "PARTIAL"]>, "many">]>>, ("FAILED" | "SUCCESS" | "PARTIAL")[] | undefined, "FAILED" | "SUCCESS" | "PARTIAL" | ("FAILED" | "SUCCESS" | "PARTIAL")[] | undefined>;
575
575
  startedAfter: z.ZodOptional<z.ZodString>;
576
576
  startedBefore: z.ZodOptional<z.ZodString>;
577
577
  sortBy: z.ZodOptional<z.ZodDefault<z.ZodEnum<["startedAt", "completedAt", "durationMs", "jobName", "status", "createdAt"]>>>;
@@ -579,19 +579,19 @@ export declare const cronExecutionsContract: {
579
579
  }, "strip", z.ZodTypeAny, {
580
580
  page: number;
581
581
  limit: number;
582
- sortBy?: "status" | "createdAt" | "completedAt" | "jobName" | "startedAt" | "durationMs" | undefined;
582
+ sortBy?: "createdAt" | "status" | "completedAt" | "startedAt" | "jobName" | "durationMs" | undefined;
583
583
  sortOrder?: "ASC" | "DESC" | undefined;
584
+ statuses?: ("FAILED" | "SUCCESS" | "PARTIAL")[] | undefined;
584
585
  jobNames?: ("GENERATE_DAILY_ACTIVES" | "CLEANUP_ORPHANED_FILES" | "CLEANUP_ARCHIVED_FILES" | "CLEANUP_BOT_PARSE_CACHE" | "UPDATE_AGENT_PERFORMANCE" | "RECONCILE_DAILY_METRICS" | "RECONCILE_ALL_DAILY_METRICS" | "RESET_LEAD_ASSIGNMENTS" | "RETRY_FAILED_CRON_JOBS" | "LEAD_SCORE_CONSISTENCY" | "PURGE_OLD_EXPORT_JOBS" | "JOB_CLUSTER_SWEEP" | "WORKER_MATCH_SWEEP" | "WORKER_AUTO_PROMOTE" | "DOCUMENT_BACKFILL_SWEEP")[] | undefined;
585
- statuses?: ("SUCCESS" | "FAILED" | "PARTIAL")[] | undefined;
586
586
  startedAfter?: string | undefined;
587
587
  startedBefore?: string | undefined;
588
588
  }, {
589
589
  page?: number | undefined;
590
590
  limit?: number | undefined;
591
- sortBy?: "status" | "createdAt" | "completedAt" | "jobName" | "startedAt" | "durationMs" | undefined;
591
+ sortBy?: "createdAt" | "status" | "completedAt" | "startedAt" | "jobName" | "durationMs" | undefined;
592
592
  sortOrder?: "ASC" | "DESC" | undefined;
593
+ statuses?: "FAILED" | "SUCCESS" | "PARTIAL" | ("FAILED" | "SUCCESS" | "PARTIAL")[] | undefined;
593
594
  jobNames?: "GENERATE_DAILY_ACTIVES" | "CLEANUP_ORPHANED_FILES" | "CLEANUP_ARCHIVED_FILES" | "CLEANUP_BOT_PARSE_CACHE" | "UPDATE_AGENT_PERFORMANCE" | "RECONCILE_DAILY_METRICS" | "RECONCILE_ALL_DAILY_METRICS" | "RESET_LEAD_ASSIGNMENTS" | "RETRY_FAILED_CRON_JOBS" | "LEAD_SCORE_CONSISTENCY" | "PURGE_OLD_EXPORT_JOBS" | "JOB_CLUSTER_SWEEP" | "WORKER_MATCH_SWEEP" | "WORKER_AUTO_PROMOTE" | "DOCUMENT_BACKFILL_SWEEP" | ("GENERATE_DAILY_ACTIVES" | "CLEANUP_ORPHANED_FILES" | "CLEANUP_ARCHIVED_FILES" | "CLEANUP_BOT_PARSE_CACHE" | "UPDATE_AGENT_PERFORMANCE" | "RECONCILE_DAILY_METRICS" | "RECONCILE_ALL_DAILY_METRICS" | "RESET_LEAD_ASSIGNMENTS" | "RETRY_FAILED_CRON_JOBS" | "LEAD_SCORE_CONSISTENCY" | "PURGE_OLD_EXPORT_JOBS" | "JOB_CLUSTER_SWEEP" | "WORKER_MATCH_SWEEP" | "WORKER_AUTO_PROMOTE" | "DOCUMENT_BACKFILL_SWEEP")[] | undefined;
594
- statuses?: "SUCCESS" | "FAILED" | "PARTIAL" | ("SUCCESS" | "FAILED" | "PARTIAL")[] | undefined;
595
595
  startedAfter?: string | undefined;
596
596
  startedBefore?: string | undefined;
597
597
  }>;
@@ -602,7 +602,7 @@ export declare const cronExecutionsContract: {
602
602
  method: "GET";
603
603
  path: "/v2/cron-executions";
604
604
  responses: {
605
- 400: z.ZodObject<{
605
+ 401: z.ZodObject<{
606
606
  statusCode: z.ZodNumber;
607
607
  message: z.ZodString;
608
608
  code: z.ZodString;
@@ -611,23 +611,23 @@ export declare const cronExecutionsContract: {
611
611
  path: z.ZodString;
612
612
  correlationId: z.ZodOptional<z.ZodString>;
613
613
  }, "strip", z.ZodTypeAny, {
614
- message: string;
615
614
  code: string;
616
615
  path: string;
616
+ message: string;
617
617
  statusCode: number;
618
618
  timestamp: string;
619
619
  details?: unknown;
620
620
  correlationId?: string | undefined;
621
621
  }, {
622
- message: string;
623
622
  code: string;
624
623
  path: string;
624
+ message: string;
625
625
  statusCode: number;
626
626
  timestamp: string;
627
627
  details?: unknown;
628
628
  correlationId?: string | undefined;
629
629
  }>;
630
- 401: z.ZodObject<{
630
+ 400: z.ZodObject<{
631
631
  statusCode: z.ZodNumber;
632
632
  message: z.ZodString;
633
633
  code: z.ZodString;
@@ -636,17 +636,17 @@ export declare const cronExecutionsContract: {
636
636
  path: z.ZodString;
637
637
  correlationId: z.ZodOptional<z.ZodString>;
638
638
  }, "strip", z.ZodTypeAny, {
639
- message: string;
640
639
  code: string;
641
640
  path: string;
641
+ message: string;
642
642
  statusCode: number;
643
643
  timestamp: string;
644
644
  details?: unknown;
645
645
  correlationId?: string | undefined;
646
646
  }, {
647
- message: string;
648
647
  code: string;
649
648
  path: string;
649
+ message: string;
650
650
  statusCode: number;
651
651
  timestamp: string;
652
652
  details?: unknown;
@@ -661,17 +661,17 @@ export declare const cronExecutionsContract: {
661
661
  path: z.ZodString;
662
662
  correlationId: z.ZodOptional<z.ZodString>;
663
663
  }, "strip", z.ZodTypeAny, {
664
- message: string;
665
664
  code: string;
666
665
  path: string;
666
+ message: string;
667
667
  statusCode: number;
668
668
  timestamp: string;
669
669
  details?: unknown;
670
670
  correlationId?: string | undefined;
671
671
  }, {
672
- message: string;
673
672
  code: string;
674
673
  path: string;
674
+ message: string;
675
675
  statusCode: number;
676
676
  timestamp: string;
677
677
  details?: unknown;
@@ -691,25 +691,25 @@ export declare const cronExecutionsContract: {
691
691
  errorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
692
692
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
693
693
  }, "strip", z.ZodTypeAny, {
694
- status: string;
695
694
  id: string;
696
- jobName: string;
695
+ status: string;
697
696
  startedAt: string;
697
+ jobName: string;
698
698
  metadata?: Record<string, unknown> | undefined;
699
- errorMessage?: string | null | undefined;
700
699
  completedAt?: string | null | undefined;
700
+ errorMessage?: string | null | undefined;
701
701
  durationMs?: number | null | undefined;
702
702
  recordsProcessed?: number | null | undefined;
703
703
  recordsCreated?: number | null | undefined;
704
704
  recordsDeleted?: number | null | undefined;
705
705
  }, {
706
- status: string;
707
706
  id: string;
708
- jobName: string;
707
+ status: string;
709
708
  startedAt: string | Date;
709
+ jobName: string;
710
710
  metadata?: Record<string, unknown> | undefined;
711
- errorMessage?: string | null | undefined;
712
711
  completedAt?: string | Date | null | undefined;
712
+ errorMessage?: string | null | undefined;
713
713
  durationMs?: number | null | undefined;
714
714
  recordsProcessed?: number | null | undefined;
715
715
  recordsCreated?: number | null | undefined;
@@ -723,13 +723,13 @@ export declare const cronExecutionsContract: {
723
723
  }, "strip", z.ZodTypeAny, {
724
724
  limit: number;
725
725
  items: {
726
- status: string;
727
726
  id: string;
728
- jobName: string;
727
+ status: string;
729
728
  startedAt: string;
729
+ jobName: string;
730
730
  metadata?: Record<string, unknown> | undefined;
731
- errorMessage?: string | null | undefined;
732
731
  completedAt?: string | null | undefined;
732
+ errorMessage?: string | null | undefined;
733
733
  durationMs?: number | null | undefined;
734
734
  recordsProcessed?: number | null | undefined;
735
735
  recordsCreated?: number | null | undefined;
@@ -742,13 +742,13 @@ export declare const cronExecutionsContract: {
742
742
  }, {
743
743
  limit: number;
744
744
  items: {
745
- status: string;
746
745
  id: string;
747
- jobName: string;
746
+ status: string;
748
747
  startedAt: string | Date;
748
+ jobName: string;
749
749
  metadata?: Record<string, unknown> | undefined;
750
- errorMessage?: string | null | undefined;
751
750
  completedAt?: string | Date | null | undefined;
751
+ errorMessage?: string | null | undefined;
752
752
  durationMs?: number | null | undefined;
753
753
  recordsProcessed?: number | null | undefined;
754
754
  recordsCreated?: number | null | undefined;
@@ -768,17 +768,17 @@ export declare const cronExecutionsContract: {
768
768
  path: z.ZodString;
769
769
  correlationId: z.ZodOptional<z.ZodString>;
770
770
  }, "strip", z.ZodTypeAny, {
771
- message: string;
772
771
  code: string;
773
772
  path: string;
773
+ message: string;
774
774
  statusCode: number;
775
775
  timestamp: string;
776
776
  details?: unknown;
777
777
  correlationId?: string | undefined;
778
778
  }, {
779
- message: string;
780
779
  code: string;
781
780
  path: string;
781
+ message: string;
782
782
  statusCode: number;
783
783
  timestamp: string;
784
784
  details?: unknown;
@@ -794,7 +794,7 @@ export declare const cronExecutionsContract: {
794
794
  method: "GET";
795
795
  path: "/v2/cron-executions/stats";
796
796
  responses: {
797
- 400: z.ZodObject<{
797
+ 401: z.ZodObject<{
798
798
  statusCode: z.ZodNumber;
799
799
  message: z.ZodString;
800
800
  code: z.ZodString;
@@ -803,23 +803,23 @@ export declare const cronExecutionsContract: {
803
803
  path: z.ZodString;
804
804
  correlationId: z.ZodOptional<z.ZodString>;
805
805
  }, "strip", z.ZodTypeAny, {
806
- message: string;
807
806
  code: string;
808
807
  path: string;
808
+ message: string;
809
809
  statusCode: number;
810
810
  timestamp: string;
811
811
  details?: unknown;
812
812
  correlationId?: string | undefined;
813
813
  }, {
814
- message: string;
815
814
  code: string;
816
815
  path: string;
816
+ message: string;
817
817
  statusCode: number;
818
818
  timestamp: string;
819
819
  details?: unknown;
820
820
  correlationId?: string | undefined;
821
821
  }>;
822
- 401: z.ZodObject<{
822
+ 400: z.ZodObject<{
823
823
  statusCode: z.ZodNumber;
824
824
  message: z.ZodString;
825
825
  code: z.ZodString;
@@ -828,17 +828,17 @@ export declare const cronExecutionsContract: {
828
828
  path: z.ZodString;
829
829
  correlationId: z.ZodOptional<z.ZodString>;
830
830
  }, "strip", z.ZodTypeAny, {
831
- message: string;
832
831
  code: string;
833
832
  path: string;
833
+ message: string;
834
834
  statusCode: number;
835
835
  timestamp: string;
836
836
  details?: unknown;
837
837
  correlationId?: string | undefined;
838
838
  }, {
839
- message: string;
840
839
  code: string;
841
840
  path: string;
841
+ message: string;
842
842
  statusCode: number;
843
843
  timestamp: string;
844
844
  details?: unknown;
@@ -853,17 +853,17 @@ export declare const cronExecutionsContract: {
853
853
  path: z.ZodString;
854
854
  correlationId: z.ZodOptional<z.ZodString>;
855
855
  }, "strip", z.ZodTypeAny, {
856
- message: string;
857
856
  code: string;
858
857
  path: string;
858
+ message: string;
859
859
  statusCode: number;
860
860
  timestamp: string;
861
861
  details?: unknown;
862
862
  correlationId?: string | undefined;
863
863
  }, {
864
- message: string;
865
864
  code: string;
866
865
  path: string;
866
+ message: string;
867
867
  statusCode: number;
868
868
  timestamp: string;
869
869
  details?: unknown;
@@ -900,17 +900,17 @@ export declare const cronExecutionsContract: {
900
900
  path: z.ZodString;
901
901
  correlationId: z.ZodOptional<z.ZodString>;
902
902
  }, "strip", z.ZodTypeAny, {
903
- message: string;
904
903
  code: string;
905
904
  path: string;
905
+ message: string;
906
906
  statusCode: number;
907
907
  timestamp: string;
908
908
  details?: unknown;
909
909
  correlationId?: string | undefined;
910
910
  }, {
911
- message: string;
912
911
  code: string;
913
912
  path: string;
913
+ message: string;
914
914
  statusCode: number;
915
915
  timestamp: string;
916
916
  details?: unknown;
@@ -936,7 +936,7 @@ export declare const cronExecutionsContract: {
936
936
  method: "GET";
937
937
  path: "/v2/cron-executions/health";
938
938
  responses: {
939
- 400: z.ZodObject<{
939
+ 401: z.ZodObject<{
940
940
  statusCode: z.ZodNumber;
941
941
  message: z.ZodString;
942
942
  code: z.ZodString;
@@ -945,23 +945,23 @@ export declare const cronExecutionsContract: {
945
945
  path: z.ZodString;
946
946
  correlationId: z.ZodOptional<z.ZodString>;
947
947
  }, "strip", z.ZodTypeAny, {
948
- message: string;
949
948
  code: string;
950
949
  path: string;
950
+ message: string;
951
951
  statusCode: number;
952
952
  timestamp: string;
953
953
  details?: unknown;
954
954
  correlationId?: string | undefined;
955
955
  }, {
956
- message: string;
957
956
  code: string;
958
957
  path: string;
958
+ message: string;
959
959
  statusCode: number;
960
960
  timestamp: string;
961
961
  details?: unknown;
962
962
  correlationId?: string | undefined;
963
963
  }>;
964
- 401: z.ZodObject<{
964
+ 400: z.ZodObject<{
965
965
  statusCode: z.ZodNumber;
966
966
  message: z.ZodString;
967
967
  code: z.ZodString;
@@ -970,17 +970,17 @@ export declare const cronExecutionsContract: {
970
970
  path: z.ZodString;
971
971
  correlationId: z.ZodOptional<z.ZodString>;
972
972
  }, "strip", z.ZodTypeAny, {
973
- message: string;
974
973
  code: string;
975
974
  path: string;
975
+ message: string;
976
976
  statusCode: number;
977
977
  timestamp: string;
978
978
  details?: unknown;
979
979
  correlationId?: string | undefined;
980
980
  }, {
981
- message: string;
982
981
  code: string;
983
982
  path: string;
983
+ message: string;
984
984
  statusCode: number;
985
985
  timestamp: string;
986
986
  details?: unknown;
@@ -995,17 +995,17 @@ export declare const cronExecutionsContract: {
995
995
  path: z.ZodString;
996
996
  correlationId: z.ZodOptional<z.ZodString>;
997
997
  }, "strip", z.ZodTypeAny, {
998
- message: string;
999
998
  code: string;
1000
999
  path: string;
1000
+ message: string;
1001
1001
  statusCode: number;
1002
1002
  timestamp: string;
1003
1003
  details?: unknown;
1004
1004
  correlationId?: string | undefined;
1005
1005
  }, {
1006
- message: string;
1007
1006
  code: string;
1008
1007
  path: string;
1008
+ message: string;
1009
1009
  statusCode: number;
1010
1010
  timestamp: string;
1011
1011
  details?: unknown;
@@ -1133,17 +1133,17 @@ export declare const cronExecutionsContract: {
1133
1133
  path: z.ZodString;
1134
1134
  correlationId: z.ZodOptional<z.ZodString>;
1135
1135
  }, "strip", z.ZodTypeAny, {
1136
- message: string;
1137
1136
  code: string;
1138
1137
  path: string;
1138
+ message: string;
1139
1139
  statusCode: number;
1140
1140
  timestamp: string;
1141
1141
  details?: unknown;
1142
1142
  correlationId?: string | undefined;
1143
1143
  }, {
1144
- message: string;
1145
1144
  code: string;
1146
1145
  path: string;
1146
+ message: string;
1147
1147
  statusCode: number;
1148
1148
  timestamp: string;
1149
1149
  details?: unknown;
@@ -1166,7 +1166,7 @@ export declare const cronExecutionsContract: {
1166
1166
  method: "GET";
1167
1167
  path: "/v2/cron-executions/:id";
1168
1168
  responses: {
1169
- 400: z.ZodObject<{
1169
+ 401: z.ZodObject<{
1170
1170
  statusCode: z.ZodNumber;
1171
1171
  message: z.ZodString;
1172
1172
  code: z.ZodString;
@@ -1175,23 +1175,23 @@ export declare const cronExecutionsContract: {
1175
1175
  path: z.ZodString;
1176
1176
  correlationId: z.ZodOptional<z.ZodString>;
1177
1177
  }, "strip", z.ZodTypeAny, {
1178
- message: string;
1179
1178
  code: string;
1180
1179
  path: string;
1180
+ message: string;
1181
1181
  statusCode: number;
1182
1182
  timestamp: string;
1183
1183
  details?: unknown;
1184
1184
  correlationId?: string | undefined;
1185
1185
  }, {
1186
- message: string;
1187
1186
  code: string;
1188
1187
  path: string;
1188
+ message: string;
1189
1189
  statusCode: number;
1190
1190
  timestamp: string;
1191
1191
  details?: unknown;
1192
1192
  correlationId?: string | undefined;
1193
1193
  }>;
1194
- 401: z.ZodObject<{
1194
+ 400: z.ZodObject<{
1195
1195
  statusCode: z.ZodNumber;
1196
1196
  message: z.ZodString;
1197
1197
  code: z.ZodString;
@@ -1200,17 +1200,17 @@ export declare const cronExecutionsContract: {
1200
1200
  path: z.ZodString;
1201
1201
  correlationId: z.ZodOptional<z.ZodString>;
1202
1202
  }, "strip", z.ZodTypeAny, {
1203
- message: string;
1204
1203
  code: string;
1205
1204
  path: string;
1205
+ message: string;
1206
1206
  statusCode: number;
1207
1207
  timestamp: string;
1208
1208
  details?: unknown;
1209
1209
  correlationId?: string | undefined;
1210
1210
  }, {
1211
- message: string;
1212
1211
  code: string;
1213
1212
  path: string;
1213
+ message: string;
1214
1214
  statusCode: number;
1215
1215
  timestamp: string;
1216
1216
  details?: unknown;
@@ -1225,17 +1225,17 @@ export declare const cronExecutionsContract: {
1225
1225
  path: z.ZodString;
1226
1226
  correlationId: z.ZodOptional<z.ZodString>;
1227
1227
  }, "strip", z.ZodTypeAny, {
1228
- message: string;
1229
1228
  code: string;
1230
1229
  path: string;
1230
+ message: string;
1231
1231
  statusCode: number;
1232
1232
  timestamp: string;
1233
1233
  details?: unknown;
1234
1234
  correlationId?: string | undefined;
1235
1235
  }, {
1236
- message: string;
1237
1236
  code: string;
1238
1237
  path: string;
1238
+ message: string;
1239
1239
  statusCode: number;
1240
1240
  timestamp: string;
1241
1241
  details?: unknown;
@@ -1254,25 +1254,25 @@ export declare const cronExecutionsContract: {
1254
1254
  errorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1255
1255
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1256
1256
  }, "strip", z.ZodTypeAny, {
1257
- status: string;
1258
1257
  id: string;
1259
- jobName: string;
1258
+ status: string;
1260
1259
  startedAt: string;
1260
+ jobName: string;
1261
1261
  metadata?: Record<string, unknown> | undefined;
1262
- errorMessage?: string | null | undefined;
1263
1262
  completedAt?: string | null | undefined;
1263
+ errorMessage?: string | null | undefined;
1264
1264
  durationMs?: number | null | undefined;
1265
1265
  recordsProcessed?: number | null | undefined;
1266
1266
  recordsCreated?: number | null | undefined;
1267
1267
  recordsDeleted?: number | null | undefined;
1268
1268
  }, {
1269
- status: string;
1270
1269
  id: string;
1271
- jobName: string;
1270
+ status: string;
1272
1271
  startedAt: string | Date;
1272
+ jobName: string;
1273
1273
  metadata?: Record<string, unknown> | undefined;
1274
- errorMessage?: string | null | undefined;
1275
1274
  completedAt?: string | Date | null | undefined;
1275
+ errorMessage?: string | null | undefined;
1276
1276
  durationMs?: number | null | undefined;
1277
1277
  recordsProcessed?: number | null | undefined;
1278
1278
  recordsCreated?: number | null | undefined;
@@ -1287,17 +1287,17 @@ export declare const cronExecutionsContract: {
1287
1287
  path: z.ZodString;
1288
1288
  correlationId: z.ZodOptional<z.ZodString>;
1289
1289
  }, "strip", z.ZodTypeAny, {
1290
- message: string;
1291
1290
  code: string;
1292
1291
  path: string;
1292
+ message: string;
1293
1293
  statusCode: number;
1294
1294
  timestamp: string;
1295
1295
  details?: unknown;
1296
1296
  correlationId?: string | undefined;
1297
1297
  }, {
1298
- message: string;
1299
1298
  code: string;
1300
1299
  path: string;
1300
+ message: string;
1301
1301
  statusCode: number;
1302
1302
  timestamp: string;
1303
1303
  details?: unknown;
@@ -1312,17 +1312,17 @@ export declare const cronExecutionsContract: {
1312
1312
  path: z.ZodString;
1313
1313
  correlationId: z.ZodOptional<z.ZodString>;
1314
1314
  }, "strip", z.ZodTypeAny, {
1315
- message: string;
1316
1315
  code: string;
1317
1316
  path: string;
1317
+ message: string;
1318
1318
  statusCode: number;
1319
1319
  timestamp: string;
1320
1320
  details?: unknown;
1321
1321
  correlationId?: string | undefined;
1322
1322
  }, {
1323
- message: string;
1324
1323
  code: string;
1325
1324
  path: string;
1325
+ message: string;
1326
1326
  statusCode: number;
1327
1327
  timestamp: string;
1328
1328
  details?: unknown;
@@ -1339,7 +1339,7 @@ export declare const cronExecutionsContract: {
1339
1339
  body: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
1340
1340
  path: "/v2/cron-executions/trigger/generate-daily-actives";
1341
1341
  responses: {
1342
- 400: z.ZodObject<{
1342
+ 401: z.ZodObject<{
1343
1343
  statusCode: z.ZodNumber;
1344
1344
  message: z.ZodString;
1345
1345
  code: z.ZodString;
@@ -1348,23 +1348,23 @@ export declare const cronExecutionsContract: {
1348
1348
  path: z.ZodString;
1349
1349
  correlationId: z.ZodOptional<z.ZodString>;
1350
1350
  }, "strip", z.ZodTypeAny, {
1351
- message: string;
1352
1351
  code: string;
1353
1352
  path: string;
1353
+ message: string;
1354
1354
  statusCode: number;
1355
1355
  timestamp: string;
1356
1356
  details?: unknown;
1357
1357
  correlationId?: string | undefined;
1358
1358
  }, {
1359
- message: string;
1360
1359
  code: string;
1361
1360
  path: string;
1361
+ message: string;
1362
1362
  statusCode: number;
1363
1363
  timestamp: string;
1364
1364
  details?: unknown;
1365
1365
  correlationId?: string | undefined;
1366
1366
  }>;
1367
- 401: z.ZodObject<{
1367
+ 400: z.ZodObject<{
1368
1368
  statusCode: z.ZodNumber;
1369
1369
  message: z.ZodString;
1370
1370
  code: z.ZodString;
@@ -1373,17 +1373,17 @@ export declare const cronExecutionsContract: {
1373
1373
  path: z.ZodString;
1374
1374
  correlationId: z.ZodOptional<z.ZodString>;
1375
1375
  }, "strip", z.ZodTypeAny, {
1376
- message: string;
1377
1376
  code: string;
1378
1377
  path: string;
1378
+ message: string;
1379
1379
  statusCode: number;
1380
1380
  timestamp: string;
1381
1381
  details?: unknown;
1382
1382
  correlationId?: string | undefined;
1383
1383
  }, {
1384
- message: string;
1385
1384
  code: string;
1386
1385
  path: string;
1386
+ message: string;
1387
1387
  statusCode: number;
1388
1388
  timestamp: string;
1389
1389
  details?: unknown;
@@ -1398,17 +1398,17 @@ export declare const cronExecutionsContract: {
1398
1398
  path: z.ZodString;
1399
1399
  correlationId: z.ZodOptional<z.ZodString>;
1400
1400
  }, "strip", z.ZodTypeAny, {
1401
- message: string;
1402
1401
  code: string;
1403
1402
  path: string;
1403
+ message: string;
1404
1404
  statusCode: number;
1405
1405
  timestamp: string;
1406
1406
  details?: unknown;
1407
1407
  correlationId?: string | undefined;
1408
1408
  }, {
1409
- message: string;
1410
1409
  code: string;
1411
1410
  path: string;
1411
+ message: string;
1412
1412
  statusCode: number;
1413
1413
  timestamp: string;
1414
1414
  details?: unknown;
@@ -1436,17 +1436,17 @@ export declare const cronExecutionsContract: {
1436
1436
  path: z.ZodString;
1437
1437
  correlationId: z.ZodOptional<z.ZodString>;
1438
1438
  }, "strip", z.ZodTypeAny, {
1439
- message: string;
1440
1439
  code: string;
1441
1440
  path: string;
1441
+ message: string;
1442
1442
  statusCode: number;
1443
1443
  timestamp: string;
1444
1444
  details?: unknown;
1445
1445
  correlationId?: string | undefined;
1446
1446
  }, {
1447
- message: string;
1448
1447
  code: string;
1449
1448
  path: string;
1449
+ message: string;
1450
1450
  statusCode: number;
1451
1451
  timestamp: string;
1452
1452
  details?: unknown;
@@ -1463,7 +1463,7 @@ export declare const cronExecutionsContract: {
1463
1463
  body: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
1464
1464
  path: "/v2/cron-executions/trigger/cleanup-orphaned-files";
1465
1465
  responses: {
1466
- 400: z.ZodObject<{
1466
+ 401: z.ZodObject<{
1467
1467
  statusCode: z.ZodNumber;
1468
1468
  message: z.ZodString;
1469
1469
  code: z.ZodString;
@@ -1472,23 +1472,23 @@ export declare const cronExecutionsContract: {
1472
1472
  path: z.ZodString;
1473
1473
  correlationId: z.ZodOptional<z.ZodString>;
1474
1474
  }, "strip", z.ZodTypeAny, {
1475
- message: string;
1476
1475
  code: string;
1477
1476
  path: string;
1477
+ message: string;
1478
1478
  statusCode: number;
1479
1479
  timestamp: string;
1480
1480
  details?: unknown;
1481
1481
  correlationId?: string | undefined;
1482
1482
  }, {
1483
- message: string;
1484
1483
  code: string;
1485
1484
  path: string;
1485
+ message: string;
1486
1486
  statusCode: number;
1487
1487
  timestamp: string;
1488
1488
  details?: unknown;
1489
1489
  correlationId?: string | undefined;
1490
1490
  }>;
1491
- 401: z.ZodObject<{
1491
+ 400: z.ZodObject<{
1492
1492
  statusCode: z.ZodNumber;
1493
1493
  message: z.ZodString;
1494
1494
  code: z.ZodString;
@@ -1497,17 +1497,17 @@ export declare const cronExecutionsContract: {
1497
1497
  path: z.ZodString;
1498
1498
  correlationId: z.ZodOptional<z.ZodString>;
1499
1499
  }, "strip", z.ZodTypeAny, {
1500
- message: string;
1501
1500
  code: string;
1502
1501
  path: string;
1502
+ message: string;
1503
1503
  statusCode: number;
1504
1504
  timestamp: string;
1505
1505
  details?: unknown;
1506
1506
  correlationId?: string | undefined;
1507
1507
  }, {
1508
- message: string;
1509
1508
  code: string;
1510
1509
  path: string;
1510
+ message: string;
1511
1511
  statusCode: number;
1512
1512
  timestamp: string;
1513
1513
  details?: unknown;
@@ -1522,17 +1522,17 @@ export declare const cronExecutionsContract: {
1522
1522
  path: z.ZodString;
1523
1523
  correlationId: z.ZodOptional<z.ZodString>;
1524
1524
  }, "strip", z.ZodTypeAny, {
1525
- message: string;
1526
1525
  code: string;
1527
1526
  path: string;
1527
+ message: string;
1528
1528
  statusCode: number;
1529
1529
  timestamp: string;
1530
1530
  details?: unknown;
1531
1531
  correlationId?: string | undefined;
1532
1532
  }, {
1533
- message: string;
1534
1533
  code: string;
1535
1534
  path: string;
1535
+ message: string;
1536
1536
  statusCode: number;
1537
1537
  timestamp: string;
1538
1538
  details?: unknown;
@@ -1560,17 +1560,17 @@ export declare const cronExecutionsContract: {
1560
1560
  path: z.ZodString;
1561
1561
  correlationId: z.ZodOptional<z.ZodString>;
1562
1562
  }, "strip", z.ZodTypeAny, {
1563
- message: string;
1564
1563
  code: string;
1565
1564
  path: string;
1565
+ message: string;
1566
1566
  statusCode: number;
1567
1567
  timestamp: string;
1568
1568
  details?: unknown;
1569
1569
  correlationId?: string | undefined;
1570
1570
  }, {
1571
- message: string;
1572
1571
  code: string;
1573
1572
  path: string;
1573
+ message: string;
1574
1574
  statusCode: number;
1575
1575
  timestamp: string;
1576
1576
  details?: unknown;
@@ -1587,7 +1587,7 @@ export declare const cronExecutionsContract: {
1587
1587
  body: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
1588
1588
  path: "/v2/cron-executions/trigger/cleanup-archived-files";
1589
1589
  responses: {
1590
- 400: z.ZodObject<{
1590
+ 401: z.ZodObject<{
1591
1591
  statusCode: z.ZodNumber;
1592
1592
  message: z.ZodString;
1593
1593
  code: z.ZodString;
@@ -1596,23 +1596,23 @@ export declare const cronExecutionsContract: {
1596
1596
  path: z.ZodString;
1597
1597
  correlationId: z.ZodOptional<z.ZodString>;
1598
1598
  }, "strip", z.ZodTypeAny, {
1599
- message: string;
1600
1599
  code: string;
1601
1600
  path: string;
1601
+ message: string;
1602
1602
  statusCode: number;
1603
1603
  timestamp: string;
1604
1604
  details?: unknown;
1605
1605
  correlationId?: string | undefined;
1606
1606
  }, {
1607
- message: string;
1608
1607
  code: string;
1609
1608
  path: string;
1609
+ message: string;
1610
1610
  statusCode: number;
1611
1611
  timestamp: string;
1612
1612
  details?: unknown;
1613
1613
  correlationId?: string | undefined;
1614
1614
  }>;
1615
- 401: z.ZodObject<{
1615
+ 400: z.ZodObject<{
1616
1616
  statusCode: z.ZodNumber;
1617
1617
  message: z.ZodString;
1618
1618
  code: z.ZodString;
@@ -1621,17 +1621,17 @@ export declare const cronExecutionsContract: {
1621
1621
  path: z.ZodString;
1622
1622
  correlationId: z.ZodOptional<z.ZodString>;
1623
1623
  }, "strip", z.ZodTypeAny, {
1624
- message: string;
1625
1624
  code: string;
1626
1625
  path: string;
1626
+ message: string;
1627
1627
  statusCode: number;
1628
1628
  timestamp: string;
1629
1629
  details?: unknown;
1630
1630
  correlationId?: string | undefined;
1631
1631
  }, {
1632
- message: string;
1633
1632
  code: string;
1634
1633
  path: string;
1634
+ message: string;
1635
1635
  statusCode: number;
1636
1636
  timestamp: string;
1637
1637
  details?: unknown;
@@ -1646,17 +1646,17 @@ export declare const cronExecutionsContract: {
1646
1646
  path: z.ZodString;
1647
1647
  correlationId: z.ZodOptional<z.ZodString>;
1648
1648
  }, "strip", z.ZodTypeAny, {
1649
- message: string;
1650
1649
  code: string;
1651
1650
  path: string;
1651
+ message: string;
1652
1652
  statusCode: number;
1653
1653
  timestamp: string;
1654
1654
  details?: unknown;
1655
1655
  correlationId?: string | undefined;
1656
1656
  }, {
1657
- message: string;
1658
1657
  code: string;
1659
1658
  path: string;
1659
+ message: string;
1660
1660
  statusCode: number;
1661
1661
  timestamp: string;
1662
1662
  details?: unknown;
@@ -1684,17 +1684,17 @@ export declare const cronExecutionsContract: {
1684
1684
  path: z.ZodString;
1685
1685
  correlationId: z.ZodOptional<z.ZodString>;
1686
1686
  }, "strip", z.ZodTypeAny, {
1687
- message: string;
1688
1687
  code: string;
1689
1688
  path: string;
1689
+ message: string;
1690
1690
  statusCode: number;
1691
1691
  timestamp: string;
1692
1692
  details?: unknown;
1693
1693
  correlationId?: string | undefined;
1694
1694
  }, {
1695
- message: string;
1696
1695
  code: string;
1697
1696
  path: string;
1697
+ message: string;
1698
1698
  statusCode: number;
1699
1699
  timestamp: string;
1700
1700
  details?: unknown;
@@ -1711,7 +1711,7 @@ export declare const cronExecutionsContract: {
1711
1711
  body: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
1712
1712
  path: "/v2/cron-executions/trigger/cleanup-bot-parse-cache";
1713
1713
  responses: {
1714
- 400: z.ZodObject<{
1714
+ 401: z.ZodObject<{
1715
1715
  statusCode: z.ZodNumber;
1716
1716
  message: z.ZodString;
1717
1717
  code: z.ZodString;
@@ -1720,23 +1720,23 @@ export declare const cronExecutionsContract: {
1720
1720
  path: z.ZodString;
1721
1721
  correlationId: z.ZodOptional<z.ZodString>;
1722
1722
  }, "strip", z.ZodTypeAny, {
1723
- message: string;
1724
1723
  code: string;
1725
1724
  path: string;
1725
+ message: string;
1726
1726
  statusCode: number;
1727
1727
  timestamp: string;
1728
1728
  details?: unknown;
1729
1729
  correlationId?: string | undefined;
1730
1730
  }, {
1731
- message: string;
1732
1731
  code: string;
1733
1732
  path: string;
1733
+ message: string;
1734
1734
  statusCode: number;
1735
1735
  timestamp: string;
1736
1736
  details?: unknown;
1737
1737
  correlationId?: string | undefined;
1738
1738
  }>;
1739
- 401: z.ZodObject<{
1739
+ 400: z.ZodObject<{
1740
1740
  statusCode: z.ZodNumber;
1741
1741
  message: z.ZodString;
1742
1742
  code: z.ZodString;
@@ -1745,17 +1745,17 @@ export declare const cronExecutionsContract: {
1745
1745
  path: z.ZodString;
1746
1746
  correlationId: z.ZodOptional<z.ZodString>;
1747
1747
  }, "strip", z.ZodTypeAny, {
1748
- message: string;
1749
1748
  code: string;
1750
1749
  path: string;
1750
+ message: string;
1751
1751
  statusCode: number;
1752
1752
  timestamp: string;
1753
1753
  details?: unknown;
1754
1754
  correlationId?: string | undefined;
1755
1755
  }, {
1756
- message: string;
1757
1756
  code: string;
1758
1757
  path: string;
1758
+ message: string;
1759
1759
  statusCode: number;
1760
1760
  timestamp: string;
1761
1761
  details?: unknown;
@@ -1770,17 +1770,17 @@ export declare const cronExecutionsContract: {
1770
1770
  path: z.ZodString;
1771
1771
  correlationId: z.ZodOptional<z.ZodString>;
1772
1772
  }, "strip", z.ZodTypeAny, {
1773
- message: string;
1774
1773
  code: string;
1775
1774
  path: string;
1775
+ message: string;
1776
1776
  statusCode: number;
1777
1777
  timestamp: string;
1778
1778
  details?: unknown;
1779
1779
  correlationId?: string | undefined;
1780
1780
  }, {
1781
- message: string;
1782
1781
  code: string;
1783
1782
  path: string;
1783
+ message: string;
1784
1784
  statusCode: number;
1785
1785
  timestamp: string;
1786
1786
  details?: unknown;
@@ -1808,17 +1808,17 @@ export declare const cronExecutionsContract: {
1808
1808
  path: z.ZodString;
1809
1809
  correlationId: z.ZodOptional<z.ZodString>;
1810
1810
  }, "strip", z.ZodTypeAny, {
1811
- message: string;
1812
1811
  code: string;
1813
1812
  path: string;
1813
+ message: string;
1814
1814
  statusCode: number;
1815
1815
  timestamp: string;
1816
1816
  details?: unknown;
1817
1817
  correlationId?: string | undefined;
1818
1818
  }, {
1819
- message: string;
1820
1819
  code: string;
1821
1820
  path: string;
1821
+ message: string;
1822
1822
  statusCode: number;
1823
1823
  timestamp: string;
1824
1824
  details?: unknown;
@@ -1835,7 +1835,7 @@ export declare const cronExecutionsContract: {
1835
1835
  body: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
1836
1836
  path: "/v2/cron-executions/trigger/update-agent-performance";
1837
1837
  responses: {
1838
- 400: z.ZodObject<{
1838
+ 401: z.ZodObject<{
1839
1839
  statusCode: z.ZodNumber;
1840
1840
  message: z.ZodString;
1841
1841
  code: z.ZodString;
@@ -1844,23 +1844,23 @@ export declare const cronExecutionsContract: {
1844
1844
  path: z.ZodString;
1845
1845
  correlationId: z.ZodOptional<z.ZodString>;
1846
1846
  }, "strip", z.ZodTypeAny, {
1847
- message: string;
1848
1847
  code: string;
1849
1848
  path: string;
1849
+ message: string;
1850
1850
  statusCode: number;
1851
1851
  timestamp: string;
1852
1852
  details?: unknown;
1853
1853
  correlationId?: string | undefined;
1854
1854
  }, {
1855
- message: string;
1856
1855
  code: string;
1857
1856
  path: string;
1857
+ message: string;
1858
1858
  statusCode: number;
1859
1859
  timestamp: string;
1860
1860
  details?: unknown;
1861
1861
  correlationId?: string | undefined;
1862
1862
  }>;
1863
- 401: z.ZodObject<{
1863
+ 400: z.ZodObject<{
1864
1864
  statusCode: z.ZodNumber;
1865
1865
  message: z.ZodString;
1866
1866
  code: z.ZodString;
@@ -1869,17 +1869,17 @@ export declare const cronExecutionsContract: {
1869
1869
  path: z.ZodString;
1870
1870
  correlationId: z.ZodOptional<z.ZodString>;
1871
1871
  }, "strip", z.ZodTypeAny, {
1872
- message: string;
1873
1872
  code: string;
1874
1873
  path: string;
1874
+ message: string;
1875
1875
  statusCode: number;
1876
1876
  timestamp: string;
1877
1877
  details?: unknown;
1878
1878
  correlationId?: string | undefined;
1879
1879
  }, {
1880
- message: string;
1881
1880
  code: string;
1882
1881
  path: string;
1882
+ message: string;
1883
1883
  statusCode: number;
1884
1884
  timestamp: string;
1885
1885
  details?: unknown;
@@ -1894,17 +1894,17 @@ export declare const cronExecutionsContract: {
1894
1894
  path: z.ZodString;
1895
1895
  correlationId: z.ZodOptional<z.ZodString>;
1896
1896
  }, "strip", z.ZodTypeAny, {
1897
- message: string;
1898
1897
  code: string;
1899
1898
  path: string;
1899
+ message: string;
1900
1900
  statusCode: number;
1901
1901
  timestamp: string;
1902
1902
  details?: unknown;
1903
1903
  correlationId?: string | undefined;
1904
1904
  }, {
1905
- message: string;
1906
1905
  code: string;
1907
1906
  path: string;
1907
+ message: string;
1908
1908
  statusCode: number;
1909
1909
  timestamp: string;
1910
1910
  details?: unknown;
@@ -1932,17 +1932,17 @@ export declare const cronExecutionsContract: {
1932
1932
  path: z.ZodString;
1933
1933
  correlationId: z.ZodOptional<z.ZodString>;
1934
1934
  }, "strip", z.ZodTypeAny, {
1935
- message: string;
1936
1935
  code: string;
1937
1936
  path: string;
1937
+ message: string;
1938
1938
  statusCode: number;
1939
1939
  timestamp: string;
1940
1940
  details?: unknown;
1941
1941
  correlationId?: string | undefined;
1942
1942
  }, {
1943
- message: string;
1944
1943
  code: string;
1945
1944
  path: string;
1945
+ message: string;
1946
1946
  statusCode: number;
1947
1947
  timestamp: string;
1948
1948
  details?: unknown;
@@ -1959,7 +1959,7 @@ export declare const cronExecutionsContract: {
1959
1959
  body: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
1960
1960
  path: "/v2/cron-executions/trigger/reconcile-all-daily-metrics";
1961
1961
  responses: {
1962
- 400: z.ZodObject<{
1962
+ 401: z.ZodObject<{
1963
1963
  statusCode: z.ZodNumber;
1964
1964
  message: z.ZodString;
1965
1965
  code: z.ZodString;
@@ -1968,23 +1968,23 @@ export declare const cronExecutionsContract: {
1968
1968
  path: z.ZodString;
1969
1969
  correlationId: z.ZodOptional<z.ZodString>;
1970
1970
  }, "strip", z.ZodTypeAny, {
1971
- message: string;
1972
1971
  code: string;
1973
1972
  path: string;
1973
+ message: string;
1974
1974
  statusCode: number;
1975
1975
  timestamp: string;
1976
1976
  details?: unknown;
1977
1977
  correlationId?: string | undefined;
1978
1978
  }, {
1979
- message: string;
1980
1979
  code: string;
1981
1980
  path: string;
1981
+ message: string;
1982
1982
  statusCode: number;
1983
1983
  timestamp: string;
1984
1984
  details?: unknown;
1985
1985
  correlationId?: string | undefined;
1986
1986
  }>;
1987
- 401: z.ZodObject<{
1987
+ 400: z.ZodObject<{
1988
1988
  statusCode: z.ZodNumber;
1989
1989
  message: z.ZodString;
1990
1990
  code: z.ZodString;
@@ -1993,17 +1993,17 @@ export declare const cronExecutionsContract: {
1993
1993
  path: z.ZodString;
1994
1994
  correlationId: z.ZodOptional<z.ZodString>;
1995
1995
  }, "strip", z.ZodTypeAny, {
1996
- message: string;
1997
1996
  code: string;
1998
1997
  path: string;
1998
+ message: string;
1999
1999
  statusCode: number;
2000
2000
  timestamp: string;
2001
2001
  details?: unknown;
2002
2002
  correlationId?: string | undefined;
2003
2003
  }, {
2004
- message: string;
2005
2004
  code: string;
2006
2005
  path: string;
2006
+ message: string;
2007
2007
  statusCode: number;
2008
2008
  timestamp: string;
2009
2009
  details?: unknown;
@@ -2018,17 +2018,17 @@ export declare const cronExecutionsContract: {
2018
2018
  path: z.ZodString;
2019
2019
  correlationId: z.ZodOptional<z.ZodString>;
2020
2020
  }, "strip", z.ZodTypeAny, {
2021
- message: string;
2022
2021
  code: string;
2023
2022
  path: string;
2023
+ message: string;
2024
2024
  statusCode: number;
2025
2025
  timestamp: string;
2026
2026
  details?: unknown;
2027
2027
  correlationId?: string | undefined;
2028
2028
  }, {
2029
- message: string;
2030
2029
  code: string;
2031
2030
  path: string;
2031
+ message: string;
2032
2032
  statusCode: number;
2033
2033
  timestamp: string;
2034
2034
  details?: unknown;
@@ -2056,17 +2056,17 @@ export declare const cronExecutionsContract: {
2056
2056
  path: z.ZodString;
2057
2057
  correlationId: z.ZodOptional<z.ZodString>;
2058
2058
  }, "strip", z.ZodTypeAny, {
2059
- message: string;
2060
2059
  code: string;
2061
2060
  path: string;
2061
+ message: string;
2062
2062
  statusCode: number;
2063
2063
  timestamp: string;
2064
2064
  details?: unknown;
2065
2065
  correlationId?: string | undefined;
2066
2066
  }, {
2067
- message: string;
2068
2067
  code: string;
2069
2068
  path: string;
2069
+ message: string;
2070
2070
  statusCode: number;
2071
2071
  timestamp: string;
2072
2072
  details?: unknown;
@@ -2083,7 +2083,7 @@ export declare const cronExecutionsContract: {
2083
2083
  body: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
2084
2084
  path: "/v2/cron-executions/trigger/reset-lead-assignments";
2085
2085
  responses: {
2086
- 400: z.ZodObject<{
2086
+ 401: z.ZodObject<{
2087
2087
  statusCode: z.ZodNumber;
2088
2088
  message: z.ZodString;
2089
2089
  code: z.ZodString;
@@ -2092,23 +2092,23 @@ export declare const cronExecutionsContract: {
2092
2092
  path: z.ZodString;
2093
2093
  correlationId: z.ZodOptional<z.ZodString>;
2094
2094
  }, "strip", z.ZodTypeAny, {
2095
- message: string;
2096
2095
  code: string;
2097
2096
  path: string;
2097
+ message: string;
2098
2098
  statusCode: number;
2099
2099
  timestamp: string;
2100
2100
  details?: unknown;
2101
2101
  correlationId?: string | undefined;
2102
2102
  }, {
2103
- message: string;
2104
2103
  code: string;
2105
2104
  path: string;
2105
+ message: string;
2106
2106
  statusCode: number;
2107
2107
  timestamp: string;
2108
2108
  details?: unknown;
2109
2109
  correlationId?: string | undefined;
2110
2110
  }>;
2111
- 401: z.ZodObject<{
2111
+ 400: z.ZodObject<{
2112
2112
  statusCode: z.ZodNumber;
2113
2113
  message: z.ZodString;
2114
2114
  code: z.ZodString;
@@ -2117,17 +2117,17 @@ export declare const cronExecutionsContract: {
2117
2117
  path: z.ZodString;
2118
2118
  correlationId: z.ZodOptional<z.ZodString>;
2119
2119
  }, "strip", z.ZodTypeAny, {
2120
- message: string;
2121
2120
  code: string;
2122
2121
  path: string;
2122
+ message: string;
2123
2123
  statusCode: number;
2124
2124
  timestamp: string;
2125
2125
  details?: unknown;
2126
2126
  correlationId?: string | undefined;
2127
2127
  }, {
2128
- message: string;
2129
2128
  code: string;
2130
2129
  path: string;
2130
+ message: string;
2131
2131
  statusCode: number;
2132
2132
  timestamp: string;
2133
2133
  details?: unknown;
@@ -2142,17 +2142,17 @@ export declare const cronExecutionsContract: {
2142
2142
  path: z.ZodString;
2143
2143
  correlationId: z.ZodOptional<z.ZodString>;
2144
2144
  }, "strip", z.ZodTypeAny, {
2145
- message: string;
2146
2145
  code: string;
2147
2146
  path: string;
2147
+ message: string;
2148
2148
  statusCode: number;
2149
2149
  timestamp: string;
2150
2150
  details?: unknown;
2151
2151
  correlationId?: string | undefined;
2152
2152
  }, {
2153
- message: string;
2154
2153
  code: string;
2155
2154
  path: string;
2155
+ message: string;
2156
2156
  statusCode: number;
2157
2157
  timestamp: string;
2158
2158
  details?: unknown;
@@ -2180,17 +2180,17 @@ export declare const cronExecutionsContract: {
2180
2180
  path: z.ZodString;
2181
2181
  correlationId: z.ZodOptional<z.ZodString>;
2182
2182
  }, "strip", z.ZodTypeAny, {
2183
- message: string;
2184
2183
  code: string;
2185
2184
  path: string;
2185
+ message: string;
2186
2186
  statusCode: number;
2187
2187
  timestamp: string;
2188
2188
  details?: unknown;
2189
2189
  correlationId?: string | undefined;
2190
2190
  }, {
2191
- message: string;
2192
2191
  code: string;
2193
2192
  path: string;
2193
+ message: string;
2194
2194
  statusCode: number;
2195
2195
  timestamp: string;
2196
2196
  details?: unknown;
@@ -2207,7 +2207,7 @@ export declare const cronExecutionsContract: {
2207
2207
  body: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
2208
2208
  path: "/v2/cron-executions/trigger/retry-failed-cron-jobs";
2209
2209
  responses: {
2210
- 400: z.ZodObject<{
2210
+ 401: z.ZodObject<{
2211
2211
  statusCode: z.ZodNumber;
2212
2212
  message: z.ZodString;
2213
2213
  code: z.ZodString;
@@ -2216,23 +2216,23 @@ export declare const cronExecutionsContract: {
2216
2216
  path: z.ZodString;
2217
2217
  correlationId: z.ZodOptional<z.ZodString>;
2218
2218
  }, "strip", z.ZodTypeAny, {
2219
- message: string;
2220
2219
  code: string;
2221
2220
  path: string;
2221
+ message: string;
2222
2222
  statusCode: number;
2223
2223
  timestamp: string;
2224
2224
  details?: unknown;
2225
2225
  correlationId?: string | undefined;
2226
2226
  }, {
2227
- message: string;
2228
2227
  code: string;
2229
2228
  path: string;
2229
+ message: string;
2230
2230
  statusCode: number;
2231
2231
  timestamp: string;
2232
2232
  details?: unknown;
2233
2233
  correlationId?: string | undefined;
2234
2234
  }>;
2235
- 401: z.ZodObject<{
2235
+ 400: z.ZodObject<{
2236
2236
  statusCode: z.ZodNumber;
2237
2237
  message: z.ZodString;
2238
2238
  code: z.ZodString;
@@ -2241,17 +2241,17 @@ export declare const cronExecutionsContract: {
2241
2241
  path: z.ZodString;
2242
2242
  correlationId: z.ZodOptional<z.ZodString>;
2243
2243
  }, "strip", z.ZodTypeAny, {
2244
- message: string;
2245
2244
  code: string;
2246
2245
  path: string;
2246
+ message: string;
2247
2247
  statusCode: number;
2248
2248
  timestamp: string;
2249
2249
  details?: unknown;
2250
2250
  correlationId?: string | undefined;
2251
2251
  }, {
2252
- message: string;
2253
2252
  code: string;
2254
2253
  path: string;
2254
+ message: string;
2255
2255
  statusCode: number;
2256
2256
  timestamp: string;
2257
2257
  details?: unknown;
@@ -2266,17 +2266,17 @@ export declare const cronExecutionsContract: {
2266
2266
  path: z.ZodString;
2267
2267
  correlationId: z.ZodOptional<z.ZodString>;
2268
2268
  }, "strip", z.ZodTypeAny, {
2269
- message: string;
2270
2269
  code: string;
2271
2270
  path: string;
2271
+ message: string;
2272
2272
  statusCode: number;
2273
2273
  timestamp: string;
2274
2274
  details?: unknown;
2275
2275
  correlationId?: string | undefined;
2276
2276
  }, {
2277
- message: string;
2278
2277
  code: string;
2279
2278
  path: string;
2279
+ message: string;
2280
2280
  statusCode: number;
2281
2281
  timestamp: string;
2282
2282
  details?: unknown;
@@ -2304,17 +2304,17 @@ export declare const cronExecutionsContract: {
2304
2304
  path: z.ZodString;
2305
2305
  correlationId: z.ZodOptional<z.ZodString>;
2306
2306
  }, "strip", z.ZodTypeAny, {
2307
- message: string;
2308
2307
  code: string;
2309
2308
  path: string;
2309
+ message: string;
2310
2310
  statusCode: number;
2311
2311
  timestamp: string;
2312
2312
  details?: unknown;
2313
2313
  correlationId?: string | undefined;
2314
2314
  }, {
2315
- message: string;
2316
2315
  code: string;
2317
2316
  path: string;
2317
+ message: string;
2318
2318
  statusCode: number;
2319
2319
  timestamp: string;
2320
2320
  details?: unknown;
@@ -2331,7 +2331,7 @@ export declare const cronExecutionsContract: {
2331
2331
  body: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
2332
2332
  path: "/v2/cron-executions/trigger/lead-score-consistency";
2333
2333
  responses: {
2334
- 400: z.ZodObject<{
2334
+ 401: z.ZodObject<{
2335
2335
  statusCode: z.ZodNumber;
2336
2336
  message: z.ZodString;
2337
2337
  code: z.ZodString;
@@ -2340,23 +2340,23 @@ export declare const cronExecutionsContract: {
2340
2340
  path: z.ZodString;
2341
2341
  correlationId: z.ZodOptional<z.ZodString>;
2342
2342
  }, "strip", z.ZodTypeAny, {
2343
- message: string;
2344
2343
  code: string;
2345
2344
  path: string;
2345
+ message: string;
2346
2346
  statusCode: number;
2347
2347
  timestamp: string;
2348
2348
  details?: unknown;
2349
2349
  correlationId?: string | undefined;
2350
2350
  }, {
2351
- message: string;
2352
2351
  code: string;
2353
2352
  path: string;
2353
+ message: string;
2354
2354
  statusCode: number;
2355
2355
  timestamp: string;
2356
2356
  details?: unknown;
2357
2357
  correlationId?: string | undefined;
2358
2358
  }>;
2359
- 401: z.ZodObject<{
2359
+ 400: z.ZodObject<{
2360
2360
  statusCode: z.ZodNumber;
2361
2361
  message: z.ZodString;
2362
2362
  code: z.ZodString;
@@ -2365,17 +2365,17 @@ export declare const cronExecutionsContract: {
2365
2365
  path: z.ZodString;
2366
2366
  correlationId: z.ZodOptional<z.ZodString>;
2367
2367
  }, "strip", z.ZodTypeAny, {
2368
- message: string;
2369
2368
  code: string;
2370
2369
  path: string;
2370
+ message: string;
2371
2371
  statusCode: number;
2372
2372
  timestamp: string;
2373
2373
  details?: unknown;
2374
2374
  correlationId?: string | undefined;
2375
2375
  }, {
2376
- message: string;
2377
2376
  code: string;
2378
2377
  path: string;
2378
+ message: string;
2379
2379
  statusCode: number;
2380
2380
  timestamp: string;
2381
2381
  details?: unknown;
@@ -2390,17 +2390,17 @@ export declare const cronExecutionsContract: {
2390
2390
  path: z.ZodString;
2391
2391
  correlationId: z.ZodOptional<z.ZodString>;
2392
2392
  }, "strip", z.ZodTypeAny, {
2393
- message: string;
2394
2393
  code: string;
2395
2394
  path: string;
2395
+ message: string;
2396
2396
  statusCode: number;
2397
2397
  timestamp: string;
2398
2398
  details?: unknown;
2399
2399
  correlationId?: string | undefined;
2400
2400
  }, {
2401
- message: string;
2402
2401
  code: string;
2403
2402
  path: string;
2403
+ message: string;
2404
2404
  statusCode: number;
2405
2405
  timestamp: string;
2406
2406
  details?: unknown;
@@ -2428,17 +2428,17 @@ export declare const cronExecutionsContract: {
2428
2428
  path: z.ZodString;
2429
2429
  correlationId: z.ZodOptional<z.ZodString>;
2430
2430
  }, "strip", z.ZodTypeAny, {
2431
- message: string;
2432
2431
  code: string;
2433
2432
  path: string;
2433
+ message: string;
2434
2434
  statusCode: number;
2435
2435
  timestamp: string;
2436
2436
  details?: unknown;
2437
2437
  correlationId?: string | undefined;
2438
2438
  }, {
2439
- message: string;
2440
2439
  code: string;
2441
2440
  path: string;
2441
+ message: string;
2442
2442
  statusCode: number;
2443
2443
  timestamp: string;
2444
2444
  details?: unknown;
@@ -2455,7 +2455,7 @@ export declare const cronExecutionsContract: {
2455
2455
  body: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
2456
2456
  path: "/v2/cron-executions/trigger/sheets-sync-advance-window";
2457
2457
  responses: {
2458
- 400: z.ZodObject<{
2458
+ 401: z.ZodObject<{
2459
2459
  statusCode: z.ZodNumber;
2460
2460
  message: z.ZodString;
2461
2461
  code: z.ZodString;
@@ -2464,23 +2464,23 @@ export declare const cronExecutionsContract: {
2464
2464
  path: z.ZodString;
2465
2465
  correlationId: z.ZodOptional<z.ZodString>;
2466
2466
  }, "strip", z.ZodTypeAny, {
2467
- message: string;
2468
2467
  code: string;
2469
2468
  path: string;
2469
+ message: string;
2470
2470
  statusCode: number;
2471
2471
  timestamp: string;
2472
2472
  details?: unknown;
2473
2473
  correlationId?: string | undefined;
2474
2474
  }, {
2475
- message: string;
2476
2475
  code: string;
2477
2476
  path: string;
2477
+ message: string;
2478
2478
  statusCode: number;
2479
2479
  timestamp: string;
2480
2480
  details?: unknown;
2481
2481
  correlationId?: string | undefined;
2482
2482
  }>;
2483
- 401: z.ZodObject<{
2483
+ 400: z.ZodObject<{
2484
2484
  statusCode: z.ZodNumber;
2485
2485
  message: z.ZodString;
2486
2486
  code: z.ZodString;
@@ -2489,17 +2489,17 @@ export declare const cronExecutionsContract: {
2489
2489
  path: z.ZodString;
2490
2490
  correlationId: z.ZodOptional<z.ZodString>;
2491
2491
  }, "strip", z.ZodTypeAny, {
2492
- message: string;
2493
2492
  code: string;
2494
2493
  path: string;
2494
+ message: string;
2495
2495
  statusCode: number;
2496
2496
  timestamp: string;
2497
2497
  details?: unknown;
2498
2498
  correlationId?: string | undefined;
2499
2499
  }, {
2500
- message: string;
2501
2500
  code: string;
2502
2501
  path: string;
2502
+ message: string;
2503
2503
  statusCode: number;
2504
2504
  timestamp: string;
2505
2505
  details?: unknown;
@@ -2514,17 +2514,17 @@ export declare const cronExecutionsContract: {
2514
2514
  path: z.ZodString;
2515
2515
  correlationId: z.ZodOptional<z.ZodString>;
2516
2516
  }, "strip", z.ZodTypeAny, {
2517
- message: string;
2518
2517
  code: string;
2519
2518
  path: string;
2519
+ message: string;
2520
2520
  statusCode: number;
2521
2521
  timestamp: string;
2522
2522
  details?: unknown;
2523
2523
  correlationId?: string | undefined;
2524
2524
  }, {
2525
- message: string;
2526
2525
  code: string;
2527
2526
  path: string;
2527
+ message: string;
2528
2528
  statusCode: number;
2529
2529
  timestamp: string;
2530
2530
  details?: unknown;
@@ -2552,17 +2552,17 @@ export declare const cronExecutionsContract: {
2552
2552
  path: z.ZodString;
2553
2553
  correlationId: z.ZodOptional<z.ZodString>;
2554
2554
  }, "strip", z.ZodTypeAny, {
2555
- message: string;
2556
2555
  code: string;
2557
2556
  path: string;
2557
+ message: string;
2558
2558
  statusCode: number;
2559
2559
  timestamp: string;
2560
2560
  details?: unknown;
2561
2561
  correlationId?: string | undefined;
2562
2562
  }, {
2563
- message: string;
2564
2563
  code: string;
2565
2564
  path: string;
2565
+ message: string;
2566
2566
  statusCode: number;
2567
2567
  timestamp: string;
2568
2568
  details?: unknown;
@@ -2585,7 +2585,7 @@ export declare const cronExecutionsContract: {
2585
2585
  }>;
2586
2586
  path: "/v2/cron-executions/trigger/job-cluster-sweep";
2587
2587
  responses: {
2588
- 400: z.ZodObject<{
2588
+ 401: z.ZodObject<{
2589
2589
  statusCode: z.ZodNumber;
2590
2590
  message: z.ZodString;
2591
2591
  code: z.ZodString;
@@ -2594,23 +2594,23 @@ export declare const cronExecutionsContract: {
2594
2594
  path: z.ZodString;
2595
2595
  correlationId: z.ZodOptional<z.ZodString>;
2596
2596
  }, "strip", z.ZodTypeAny, {
2597
- message: string;
2598
2597
  code: string;
2599
2598
  path: string;
2599
+ message: string;
2600
2600
  statusCode: number;
2601
2601
  timestamp: string;
2602
2602
  details?: unknown;
2603
2603
  correlationId?: string | undefined;
2604
2604
  }, {
2605
- message: string;
2606
2605
  code: string;
2607
2606
  path: string;
2607
+ message: string;
2608
2608
  statusCode: number;
2609
2609
  timestamp: string;
2610
2610
  details?: unknown;
2611
2611
  correlationId?: string | undefined;
2612
2612
  }>;
2613
- 401: z.ZodObject<{
2613
+ 400: z.ZodObject<{
2614
2614
  statusCode: z.ZodNumber;
2615
2615
  message: z.ZodString;
2616
2616
  code: z.ZodString;
@@ -2619,17 +2619,17 @@ export declare const cronExecutionsContract: {
2619
2619
  path: z.ZodString;
2620
2620
  correlationId: z.ZodOptional<z.ZodString>;
2621
2621
  }, "strip", z.ZodTypeAny, {
2622
- message: string;
2623
2622
  code: string;
2624
2623
  path: string;
2624
+ message: string;
2625
2625
  statusCode: number;
2626
2626
  timestamp: string;
2627
2627
  details?: unknown;
2628
2628
  correlationId?: string | undefined;
2629
2629
  }, {
2630
- message: string;
2631
2630
  code: string;
2632
2631
  path: string;
2632
+ message: string;
2633
2633
  statusCode: number;
2634
2634
  timestamp: string;
2635
2635
  details?: unknown;
@@ -2644,17 +2644,17 @@ export declare const cronExecutionsContract: {
2644
2644
  path: z.ZodString;
2645
2645
  correlationId: z.ZodOptional<z.ZodString>;
2646
2646
  }, "strip", z.ZodTypeAny, {
2647
- message: string;
2648
2647
  code: string;
2649
2648
  path: string;
2649
+ message: string;
2650
2650
  statusCode: number;
2651
2651
  timestamp: string;
2652
2652
  details?: unknown;
2653
2653
  correlationId?: string | undefined;
2654
2654
  }, {
2655
- message: string;
2656
2655
  code: string;
2657
2656
  path: string;
2657
+ message: string;
2658
2658
  statusCode: number;
2659
2659
  timestamp: string;
2660
2660
  details?: unknown;
@@ -2682,17 +2682,17 @@ export declare const cronExecutionsContract: {
2682
2682
  path: z.ZodString;
2683
2683
  correlationId: z.ZodOptional<z.ZodString>;
2684
2684
  }, "strip", z.ZodTypeAny, {
2685
- message: string;
2686
2685
  code: string;
2687
2686
  path: string;
2687
+ message: string;
2688
2688
  statusCode: number;
2689
2689
  timestamp: string;
2690
2690
  details?: unknown;
2691
2691
  correlationId?: string | undefined;
2692
2692
  }, {
2693
- message: string;
2694
2693
  code: string;
2695
2694
  path: string;
2695
+ message: string;
2696
2696
  statusCode: number;
2697
2697
  timestamp: string;
2698
2698
  details?: unknown;
@@ -2715,7 +2715,7 @@ export declare const cronExecutionsContract: {
2715
2715
  }>;
2716
2716
  path: "/v2/cron-executions/trigger/worker-match-sweep";
2717
2717
  responses: {
2718
- 400: z.ZodObject<{
2718
+ 401: z.ZodObject<{
2719
2719
  statusCode: z.ZodNumber;
2720
2720
  message: z.ZodString;
2721
2721
  code: z.ZodString;
@@ -2724,23 +2724,23 @@ export declare const cronExecutionsContract: {
2724
2724
  path: z.ZodString;
2725
2725
  correlationId: z.ZodOptional<z.ZodString>;
2726
2726
  }, "strip", z.ZodTypeAny, {
2727
- message: string;
2728
2727
  code: string;
2729
2728
  path: string;
2729
+ message: string;
2730
2730
  statusCode: number;
2731
2731
  timestamp: string;
2732
2732
  details?: unknown;
2733
2733
  correlationId?: string | undefined;
2734
2734
  }, {
2735
- message: string;
2736
2735
  code: string;
2737
2736
  path: string;
2737
+ message: string;
2738
2738
  statusCode: number;
2739
2739
  timestamp: string;
2740
2740
  details?: unknown;
2741
2741
  correlationId?: string | undefined;
2742
2742
  }>;
2743
- 401: z.ZodObject<{
2743
+ 400: z.ZodObject<{
2744
2744
  statusCode: z.ZodNumber;
2745
2745
  message: z.ZodString;
2746
2746
  code: z.ZodString;
@@ -2749,17 +2749,17 @@ export declare const cronExecutionsContract: {
2749
2749
  path: z.ZodString;
2750
2750
  correlationId: z.ZodOptional<z.ZodString>;
2751
2751
  }, "strip", z.ZodTypeAny, {
2752
- message: string;
2753
2752
  code: string;
2754
2753
  path: string;
2754
+ message: string;
2755
2755
  statusCode: number;
2756
2756
  timestamp: string;
2757
2757
  details?: unknown;
2758
2758
  correlationId?: string | undefined;
2759
2759
  }, {
2760
- message: string;
2761
2760
  code: string;
2762
2761
  path: string;
2762
+ message: string;
2763
2763
  statusCode: number;
2764
2764
  timestamp: string;
2765
2765
  details?: unknown;
@@ -2774,17 +2774,17 @@ export declare const cronExecutionsContract: {
2774
2774
  path: z.ZodString;
2775
2775
  correlationId: z.ZodOptional<z.ZodString>;
2776
2776
  }, "strip", z.ZodTypeAny, {
2777
- message: string;
2778
2777
  code: string;
2779
2778
  path: string;
2779
+ message: string;
2780
2780
  statusCode: number;
2781
2781
  timestamp: string;
2782
2782
  details?: unknown;
2783
2783
  correlationId?: string | undefined;
2784
2784
  }, {
2785
- message: string;
2786
2785
  code: string;
2787
2786
  path: string;
2787
+ message: string;
2788
2788
  statusCode: number;
2789
2789
  timestamp: string;
2790
2790
  details?: unknown;
@@ -2812,17 +2812,17 @@ export declare const cronExecutionsContract: {
2812
2812
  path: z.ZodString;
2813
2813
  correlationId: z.ZodOptional<z.ZodString>;
2814
2814
  }, "strip", z.ZodTypeAny, {
2815
- message: string;
2816
2815
  code: string;
2817
2816
  path: string;
2817
+ message: string;
2818
2818
  statusCode: number;
2819
2819
  timestamp: string;
2820
2820
  details?: unknown;
2821
2821
  correlationId?: string | undefined;
2822
2822
  }, {
2823
- message: string;
2824
2823
  code: string;
2825
2824
  path: string;
2825
+ message: string;
2826
2826
  statusCode: number;
2827
2827
  timestamp: string;
2828
2828
  details?: unknown;
@@ -2873,7 +2873,7 @@ export declare const cronExecutionsContract: {
2873
2873
  }>;
2874
2874
  path: "/v2/cron-executions/trigger/document-backfill-sweep";
2875
2875
  responses: {
2876
- 400: z.ZodObject<{
2876
+ 401: z.ZodObject<{
2877
2877
  statusCode: z.ZodNumber;
2878
2878
  message: z.ZodString;
2879
2879
  code: z.ZodString;
@@ -2882,23 +2882,23 @@ export declare const cronExecutionsContract: {
2882
2882
  path: z.ZodString;
2883
2883
  correlationId: z.ZodOptional<z.ZodString>;
2884
2884
  }, "strip", z.ZodTypeAny, {
2885
- message: string;
2886
2885
  code: string;
2887
2886
  path: string;
2887
+ message: string;
2888
2888
  statusCode: number;
2889
2889
  timestamp: string;
2890
2890
  details?: unknown;
2891
2891
  correlationId?: string | undefined;
2892
2892
  }, {
2893
- message: string;
2894
2893
  code: string;
2895
2894
  path: string;
2895
+ message: string;
2896
2896
  statusCode: number;
2897
2897
  timestamp: string;
2898
2898
  details?: unknown;
2899
2899
  correlationId?: string | undefined;
2900
2900
  }>;
2901
- 401: z.ZodObject<{
2901
+ 400: z.ZodObject<{
2902
2902
  statusCode: z.ZodNumber;
2903
2903
  message: z.ZodString;
2904
2904
  code: z.ZodString;
@@ -2907,17 +2907,17 @@ export declare const cronExecutionsContract: {
2907
2907
  path: z.ZodString;
2908
2908
  correlationId: z.ZodOptional<z.ZodString>;
2909
2909
  }, "strip", z.ZodTypeAny, {
2910
- message: string;
2911
2910
  code: string;
2912
2911
  path: string;
2912
+ message: string;
2913
2913
  statusCode: number;
2914
2914
  timestamp: string;
2915
2915
  details?: unknown;
2916
2916
  correlationId?: string | undefined;
2917
2917
  }, {
2918
- message: string;
2919
2918
  code: string;
2920
2919
  path: string;
2920
+ message: string;
2921
2921
  statusCode: number;
2922
2922
  timestamp: string;
2923
2923
  details?: unknown;
@@ -2932,17 +2932,17 @@ export declare const cronExecutionsContract: {
2932
2932
  path: z.ZodString;
2933
2933
  correlationId: z.ZodOptional<z.ZodString>;
2934
2934
  }, "strip", z.ZodTypeAny, {
2935
- message: string;
2936
2935
  code: string;
2937
2936
  path: string;
2937
+ message: string;
2938
2938
  statusCode: number;
2939
2939
  timestamp: string;
2940
2940
  details?: unknown;
2941
2941
  correlationId?: string | undefined;
2942
2942
  }, {
2943
- message: string;
2944
2943
  code: string;
2945
2944
  path: string;
2945
+ message: string;
2946
2946
  statusCode: number;
2947
2947
  timestamp: string;
2948
2948
  details?: unknown;
@@ -2971,7 +2971,9 @@ export declare const cronExecutionsContract: {
2971
2971
  failed: z.ZodNumber;
2972
2972
  concurrentSkipped: z.ZodOptional<z.ZodLiteral<true>>;
2973
2973
  }, "strip", z.ZodTypeAny, {
2974
+ failed: number;
2974
2975
  scanned: number;
2976
+ queuedForReview: number;
2975
2977
  skippedUnchanged: number;
2976
2978
  needsHash: number;
2977
2979
  wouldHash: number;
@@ -2982,13 +2984,13 @@ export declare const cronExecutionsContract: {
2982
2984
  llmCalls: number;
2983
2985
  reevaluated: number;
2984
2986
  verifiedNoChange: number;
2985
- queuedForReview: number;
2986
2987
  retryDeferred: number;
2987
2988
  deduplicated: number;
2988
- failed: number;
2989
2989
  concurrentSkipped?: true | undefined;
2990
2990
  }, {
2991
+ failed: number;
2991
2992
  scanned: number;
2993
+ queuedForReview: number;
2992
2994
  skippedUnchanged: number;
2993
2995
  needsHash: number;
2994
2996
  wouldHash: number;
@@ -2999,10 +3001,8 @@ export declare const cronExecutionsContract: {
2999
3001
  llmCalls: number;
3000
3002
  reevaluated: number;
3001
3003
  verifiedNoChange: number;
3002
- queuedForReview: number;
3003
3004
  retryDeferred: number;
3004
3005
  deduplicated: number;
3005
- failed: number;
3006
3006
  concurrentSkipped?: true | undefined;
3007
3007
  }>;
3008
3008
  }, "strip", z.ZodTypeAny, {
@@ -3010,7 +3010,9 @@ export declare const cronExecutionsContract: {
3010
3010
  success: boolean;
3011
3011
  executionId: string;
3012
3012
  result: {
3013
+ failed: number;
3013
3014
  scanned: number;
3015
+ queuedForReview: number;
3014
3016
  skippedUnchanged: number;
3015
3017
  needsHash: number;
3016
3018
  wouldHash: number;
@@ -3021,10 +3023,8 @@ export declare const cronExecutionsContract: {
3021
3023
  llmCalls: number;
3022
3024
  reevaluated: number;
3023
3025
  verifiedNoChange: number;
3024
- queuedForReview: number;
3025
3026
  retryDeferred: number;
3026
3027
  deduplicated: number;
3027
- failed: number;
3028
3028
  concurrentSkipped?: true | undefined;
3029
3029
  };
3030
3030
  }, {
@@ -3032,7 +3032,9 @@ export declare const cronExecutionsContract: {
3032
3032
  success: boolean;
3033
3033
  executionId: string;
3034
3034
  result: {
3035
+ failed: number;
3035
3036
  scanned: number;
3037
+ queuedForReview: number;
3036
3038
  skippedUnchanged: number;
3037
3039
  needsHash: number;
3038
3040
  wouldHash: number;
@@ -3043,10 +3045,8 @@ export declare const cronExecutionsContract: {
3043
3045
  llmCalls: number;
3044
3046
  reevaluated: number;
3045
3047
  verifiedNoChange: number;
3046
- queuedForReview: number;
3047
3048
  retryDeferred: number;
3048
3049
  deduplicated: number;
3049
- failed: number;
3050
3050
  concurrentSkipped?: true | undefined;
3051
3051
  };
3052
3052
  }>;
@@ -3059,17 +3059,17 @@ export declare const cronExecutionsContract: {
3059
3059
  path: z.ZodString;
3060
3060
  correlationId: z.ZodOptional<z.ZodString>;
3061
3061
  }, "strip", z.ZodTypeAny, {
3062
- message: string;
3063
3062
  code: string;
3064
3063
  path: string;
3064
+ message: string;
3065
3065
  statusCode: number;
3066
3066
  timestamp: string;
3067
3067
  details?: unknown;
3068
3068
  correlationId?: string | undefined;
3069
3069
  }, {
3070
- message: string;
3071
3070
  code: string;
3072
3071
  path: string;
3072
+ message: string;
3073
3073
  statusCode: number;
3074
3074
  timestamp: string;
3075
3075
  details?: unknown;