@dakkitor/api-contracts 1.1.10 → 1.1.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (89) hide show
  1. package/dist/actives/actives.contract.d.ts +59 -60
  2. package/dist/actives/actives.contract.d.ts.map +1 -1
  3. package/dist/actives/actives.contract.js +16 -19
  4. package/dist/agent-client-links/agent-client-links.contract.d.ts +1909 -0
  5. package/dist/agent-client-links/agent-client-links.contract.d.ts.map +1 -0
  6. package/dist/agent-client-links/agent-client-links.contract.js +127 -0
  7. package/dist/auth/auth.contract.d.ts +319 -0
  8. package/dist/auth/auth.contract.d.ts.map +1 -0
  9. package/dist/auth/auth.contract.js +63 -0
  10. package/dist/bookings/bookings.contract.d.ts +371 -280
  11. package/dist/bookings/bookings.contract.d.ts.map +1 -1
  12. package/dist/bookings/bookings.contract.js +25 -33
  13. package/dist/call-history/call-history.contract.d.ts +1164 -0
  14. package/dist/call-history/call-history.contract.d.ts.map +1 -0
  15. package/dist/call-history/call-history.contract.js +254 -0
  16. package/dist/client-contacts/client-contacts.contract.d.ts +375 -426
  17. package/dist/client-contacts/client-contacts.contract.d.ts.map +1 -1
  18. package/dist/client-contacts/client-contacts.contract.js +24 -13
  19. package/dist/clients/clients.contract.d.ts +317 -289
  20. package/dist/clients/clients.contract.d.ts.map +1 -1
  21. package/dist/clients/clients.contract.js +44 -29
  22. package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts +3013 -0
  23. package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts.map +1 -0
  24. package/dist/collaboration-checkings/collaboration-checkings.contract.js +247 -0
  25. package/dist/collaborations/collaborations.contract.d.ts +2229 -0
  26. package/dist/collaborations/collaborations.contract.d.ts.map +1 -0
  27. package/dist/collaborations/collaborations.contract.js +284 -0
  28. package/dist/common/common-schemas.d.ts +100 -0
  29. package/dist/common/common-schemas.d.ts.map +1 -1
  30. package/dist/common/common-schemas.js +268 -1
  31. package/dist/common/error-schemas.d.ts +7 -7
  32. package/dist/common/error-schemas.d.ts.map +1 -1
  33. package/dist/common/openapi-metadata.d.ts +6 -0
  34. package/dist/common/openapi-metadata.d.ts.map +1 -1
  35. package/dist/companies/companies.contract.d.ts +1108 -0
  36. package/dist/companies/companies.contract.d.ts.map +1 -0
  37. package/dist/companies/companies.contract.js +164 -0
  38. package/dist/cron-executions/cron-executions.contract.d.ts +1643 -0
  39. package/dist/cron-executions/cron-executions.contract.d.ts.map +1 -0
  40. package/dist/cron-executions/cron-executions.contract.js +271 -0
  41. package/dist/curated-workers/curated-workers.contract.d.ts +3183 -0
  42. package/dist/curated-workers/curated-workers.contract.d.ts.map +1 -0
  43. package/dist/curated-workers/curated-workers.contract.js +444 -0
  44. package/dist/dashboards/agent-daily-metrics.contract.d.ts +639 -0
  45. package/dist/dashboards/agent-daily-metrics.contract.d.ts.map +1 -0
  46. package/dist/dashboards/agent-daily-metrics.contract.js +118 -0
  47. package/dist/files/files.contract.d.ts +1258 -0
  48. package/dist/files/files.contract.d.ts.map +1 -0
  49. package/dist/files/files.contract.js +205 -0
  50. package/dist/health/health.contract.d.ts +161 -0
  51. package/dist/health/health.contract.d.ts.map +1 -0
  52. package/dist/health/health.contract.js +52 -0
  53. package/dist/index.d.ts +27393 -3342
  54. package/dist/index.d.ts.map +1 -1
  55. package/dist/index.js +63 -0
  56. package/dist/jobs/jobs.contract.d.ts +2303 -0
  57. package/dist/jobs/jobs.contract.d.ts.map +1 -0
  58. package/dist/jobs/jobs.contract.js +295 -0
  59. package/dist/lead-assignments/lead-assignments.contract.d.ts +1826 -0
  60. package/dist/lead-assignments/lead-assignments.contract.d.ts.map +1 -0
  61. package/dist/lead-assignments/lead-assignments.contract.js +187 -0
  62. package/dist/lead-distribution/agent-lead-distribution.contract.d.ts +1147 -0
  63. package/dist/lead-distribution/agent-lead-distribution.contract.d.ts.map +1 -0
  64. package/dist/lead-distribution/agent-lead-distribution.contract.js +154 -0
  65. package/dist/lead-distribution/lead-distribution-config.contract.d.ts +1085 -0
  66. package/dist/lead-distribution/lead-distribution-config.contract.d.ts.map +1 -0
  67. package/dist/lead-distribution/lead-distribution-config.contract.js +196 -0
  68. package/dist/leads/leads.contract.d.ts +1690 -0
  69. package/dist/leads/leads.contract.d.ts.map +1 -0
  70. package/dist/leads/leads.contract.js +328 -0
  71. package/dist/locations/locations.contract.d.ts +974 -0
  72. package/dist/locations/locations.contract.d.ts.map +1 -0
  73. package/dist/locations/locations.contract.js +154 -0
  74. package/dist/postcodes/postcodes.contract.d.ts +370 -0
  75. package/dist/postcodes/postcodes.contract.d.ts.map +1 -0
  76. package/dist/postcodes/postcodes.contract.js +90 -0
  77. package/dist/qualifications/qualifications.contract.d.ts +1489 -0
  78. package/dist/qualifications/qualifications.contract.d.ts.map +1 -0
  79. package/dist/qualifications/qualifications.contract.js +215 -0
  80. package/dist/trades/trades.contract.d.ts +799 -0
  81. package/dist/trades/trades.contract.d.ts.map +1 -0
  82. package/dist/trades/trades.contract.js +112 -0
  83. package/dist/users/users.contract.d.ts +162 -152
  84. package/dist/users/users.contract.d.ts.map +1 -1
  85. package/dist/users/users.contract.js +16 -28
  86. package/dist/workers/workers.contract.d.ts +3376 -0
  87. package/dist/workers/workers.contract.d.ts.map +1 -0
  88. package/dist/workers/workers.contract.js +363 -0
  89. package/package.json +4 -3
@@ -0,0 +1,1643 @@
1
+ import { z } from 'zod';
2
+ export declare const CronJobNameSchema: z.ZodEnum<["GENERATE_DAILY_ACTIVES", "CLEANUP_ORPHANED_FILES", "CLEANUP_ARCHIVED_FILES", "UPDATE_AGENT_PERFORMANCE"]>;
3
+ export declare const CronExecutionStatusSchema: z.ZodEnum<["SUCCESS", "FAILED", "PARTIAL"]>;
4
+ export declare const CronExecutionHistorySchema: z.ZodObject<{
5
+ id: z.ZodString;
6
+ jobName: z.ZodString;
7
+ status: z.ZodString;
8
+ startedAt: z.ZodString;
9
+ completedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
+ durationMs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
11
+ recordsProcessed: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
12
+ recordsCreated: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
13
+ recordsDeleted: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
14
+ errorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ }, "strip", z.ZodTypeAny, {
16
+ status: string;
17
+ id: string;
18
+ startedAt: string;
19
+ jobName: string;
20
+ completedAt?: string | null | undefined;
21
+ durationMs?: number | null | undefined;
22
+ recordsProcessed?: number | null | undefined;
23
+ recordsCreated?: number | null | undefined;
24
+ recordsDeleted?: number | null | undefined;
25
+ errorMessage?: string | null | undefined;
26
+ }, {
27
+ status: string;
28
+ id: string;
29
+ startedAt: string;
30
+ jobName: string;
31
+ completedAt?: string | null | undefined;
32
+ durationMs?: number | null | undefined;
33
+ recordsProcessed?: number | null | undefined;
34
+ recordsCreated?: number | null | undefined;
35
+ recordsDeleted?: number | null | undefined;
36
+ errorMessage?: string | null | undefined;
37
+ }>;
38
+ export declare const CronExecutionStatsSchema: z.ZodObject<{
39
+ totalExecutions: z.ZodNumber;
40
+ successRate: z.ZodNumber;
41
+ averageDurationMs: z.ZodNumber;
42
+ failedInLast24Hours: z.ZodNumber;
43
+ executionsByJob: z.ZodRecord<z.ZodString, z.ZodNumber>;
44
+ successRateByJob: z.ZodRecord<z.ZodString, z.ZodNumber>;
45
+ }, "strip", z.ZodTypeAny, {
46
+ totalExecutions: number;
47
+ successRate: number;
48
+ averageDurationMs: number;
49
+ failedInLast24Hours: number;
50
+ executionsByJob: Record<string, number>;
51
+ successRateByJob: Record<string, number>;
52
+ }, {
53
+ totalExecutions: number;
54
+ successRate: number;
55
+ averageDurationMs: number;
56
+ failedInLast24Hours: number;
57
+ executionsByJob: Record<string, number>;
58
+ successRateByJob: Record<string, number>;
59
+ }>;
60
+ export declare const CronJobMetadataSchema: z.ZodObject<{
61
+ recordsProcessed: z.ZodOptional<z.ZodNumber>;
62
+ recordsCreated: z.ZodOptional<z.ZodNumber>;
63
+ recordsDeleted: z.ZodOptional<z.ZodNumber>;
64
+ duration: z.ZodOptional<z.ZodString>;
65
+ durationMs: z.ZodOptional<z.ZodNumber>;
66
+ error: z.ZodOptional<z.ZodString>;
67
+ warnings: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
68
+ }, "strip", z.ZodUnknown, z.objectOutputType<{
69
+ recordsProcessed: z.ZodOptional<z.ZodNumber>;
70
+ recordsCreated: z.ZodOptional<z.ZodNumber>;
71
+ recordsDeleted: z.ZodOptional<z.ZodNumber>;
72
+ duration: z.ZodOptional<z.ZodString>;
73
+ durationMs: z.ZodOptional<z.ZodNumber>;
74
+ error: z.ZodOptional<z.ZodString>;
75
+ warnings: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
76
+ }, z.ZodUnknown, "strip">, z.objectInputType<{
77
+ recordsProcessed: z.ZodOptional<z.ZodNumber>;
78
+ recordsCreated: z.ZodOptional<z.ZodNumber>;
79
+ recordsDeleted: z.ZodOptional<z.ZodNumber>;
80
+ duration: z.ZodOptional<z.ZodString>;
81
+ durationMs: z.ZodOptional<z.ZodNumber>;
82
+ error: z.ZodOptional<z.ZodString>;
83
+ warnings: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
84
+ }, z.ZodUnknown, "strip">>;
85
+ export declare const CronJobHealthSchema: z.ZodObject<{
86
+ jobName: z.ZodString;
87
+ lastExecutionAt: z.ZodString;
88
+ isOverdue: z.ZodBoolean;
89
+ lastStatus: z.ZodString;
90
+ executionsInLast24Hours: z.ZodNumber;
91
+ metadata: z.ZodOptional<z.ZodObject<{
92
+ recordsProcessed: z.ZodOptional<z.ZodNumber>;
93
+ recordsCreated: z.ZodOptional<z.ZodNumber>;
94
+ recordsDeleted: z.ZodOptional<z.ZodNumber>;
95
+ duration: z.ZodOptional<z.ZodString>;
96
+ durationMs: z.ZodOptional<z.ZodNumber>;
97
+ error: z.ZodOptional<z.ZodString>;
98
+ warnings: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
99
+ }, "strip", z.ZodUnknown, z.objectOutputType<{
100
+ recordsProcessed: z.ZodOptional<z.ZodNumber>;
101
+ recordsCreated: z.ZodOptional<z.ZodNumber>;
102
+ recordsDeleted: z.ZodOptional<z.ZodNumber>;
103
+ duration: z.ZodOptional<z.ZodString>;
104
+ durationMs: z.ZodOptional<z.ZodNumber>;
105
+ error: z.ZodOptional<z.ZodString>;
106
+ warnings: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
107
+ }, z.ZodUnknown, "strip">, z.objectInputType<{
108
+ recordsProcessed: z.ZodOptional<z.ZodNumber>;
109
+ recordsCreated: z.ZodOptional<z.ZodNumber>;
110
+ recordsDeleted: z.ZodOptional<z.ZodNumber>;
111
+ duration: z.ZodOptional<z.ZodString>;
112
+ durationMs: z.ZodOptional<z.ZodNumber>;
113
+ error: z.ZodOptional<z.ZodString>;
114
+ warnings: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
115
+ }, z.ZodUnknown, "strip">>>;
116
+ }, "strip", z.ZodTypeAny, {
117
+ jobName: string;
118
+ lastExecutionAt: string;
119
+ isOverdue: boolean;
120
+ lastStatus: string;
121
+ executionsInLast24Hours: number;
122
+ metadata?: z.objectOutputType<{
123
+ recordsProcessed: z.ZodOptional<z.ZodNumber>;
124
+ recordsCreated: z.ZodOptional<z.ZodNumber>;
125
+ recordsDeleted: z.ZodOptional<z.ZodNumber>;
126
+ duration: z.ZodOptional<z.ZodString>;
127
+ durationMs: z.ZodOptional<z.ZodNumber>;
128
+ error: z.ZodOptional<z.ZodString>;
129
+ warnings: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
130
+ }, z.ZodUnknown, "strip"> | undefined;
131
+ }, {
132
+ jobName: string;
133
+ lastExecutionAt: string;
134
+ isOverdue: boolean;
135
+ lastStatus: string;
136
+ executionsInLast24Hours: number;
137
+ metadata?: z.objectInputType<{
138
+ recordsProcessed: z.ZodOptional<z.ZodNumber>;
139
+ recordsCreated: z.ZodOptional<z.ZodNumber>;
140
+ recordsDeleted: z.ZodOptional<z.ZodNumber>;
141
+ duration: z.ZodOptional<z.ZodString>;
142
+ durationMs: z.ZodOptional<z.ZodNumber>;
143
+ error: z.ZodOptional<z.ZodString>;
144
+ warnings: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
145
+ }, z.ZodUnknown, "strip"> | undefined;
146
+ }>;
147
+ export declare const CronExecutionResponseSchema: z.ZodObject<{
148
+ success: z.ZodBoolean;
149
+ message: z.ZodString;
150
+ executionId: z.ZodString;
151
+ }, "strip", z.ZodTypeAny, {
152
+ message: string;
153
+ success: boolean;
154
+ executionId: string;
155
+ }, {
156
+ message: string;
157
+ success: boolean;
158
+ executionId: string;
159
+ }>;
160
+ export declare const CronExecutionFilterSchema: z.ZodObject<{
161
+ limit: z.ZodDefault<z.ZodNumber>;
162
+ page: z.ZodDefault<z.ZodNumber>;
163
+ } & {
164
+ jobNames: z.ZodEffects<z.ZodOptional<z.ZodUnion<[z.ZodEnum<["GENERATE_DAILY_ACTIVES", "CLEANUP_ORPHANED_FILES", "CLEANUP_ARCHIVED_FILES", "UPDATE_AGENT_PERFORMANCE"]>, z.ZodArray<z.ZodEnum<["GENERATE_DAILY_ACTIVES", "CLEANUP_ORPHANED_FILES", "CLEANUP_ARCHIVED_FILES", "UPDATE_AGENT_PERFORMANCE"]>, "many">]>>, ("GENERATE_DAILY_ACTIVES" | "CLEANUP_ORPHANED_FILES" | "CLEANUP_ARCHIVED_FILES" | "UPDATE_AGENT_PERFORMANCE")[] | undefined, "GENERATE_DAILY_ACTIVES" | "CLEANUP_ORPHANED_FILES" | "CLEANUP_ARCHIVED_FILES" | "UPDATE_AGENT_PERFORMANCE" | ("GENERATE_DAILY_ACTIVES" | "CLEANUP_ORPHANED_FILES" | "CLEANUP_ARCHIVED_FILES" | "UPDATE_AGENT_PERFORMANCE")[] | undefined>;
165
+ 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>;
166
+ startedAfter: z.ZodOptional<z.ZodString>;
167
+ startedBefore: z.ZodOptional<z.ZodString>;
168
+ sortBy: z.ZodOptional<z.ZodDefault<z.ZodEnum<["startedAt", "completedAt", "durationMs", "jobName", "status", "createdAt"]>>>;
169
+ sortOrder: z.ZodOptional<z.ZodDefault<z.ZodEnum<["ASC", "DESC"]>>>;
170
+ }, "strip", z.ZodTypeAny, {
171
+ limit: number;
172
+ page: number;
173
+ sortBy?: "status" | "createdAt" | "startedAt" | "completedAt" | "durationMs" | "jobName" | undefined;
174
+ sortOrder?: "ASC" | "DESC" | undefined;
175
+ jobNames?: ("GENERATE_DAILY_ACTIVES" | "CLEANUP_ORPHANED_FILES" | "CLEANUP_ARCHIVED_FILES" | "UPDATE_AGENT_PERFORMANCE")[] | undefined;
176
+ statuses?: ("SUCCESS" | "FAILED" | "PARTIAL")[] | undefined;
177
+ startedAfter?: string | undefined;
178
+ startedBefore?: string | undefined;
179
+ }, {
180
+ limit?: number | undefined;
181
+ page?: number | undefined;
182
+ sortBy?: "status" | "createdAt" | "startedAt" | "completedAt" | "durationMs" | "jobName" | undefined;
183
+ sortOrder?: "ASC" | "DESC" | undefined;
184
+ jobNames?: "GENERATE_DAILY_ACTIVES" | "CLEANUP_ORPHANED_FILES" | "CLEANUP_ARCHIVED_FILES" | "UPDATE_AGENT_PERFORMANCE" | ("GENERATE_DAILY_ACTIVES" | "CLEANUP_ORPHANED_FILES" | "CLEANUP_ARCHIVED_FILES" | "UPDATE_AGENT_PERFORMANCE")[] | undefined;
185
+ statuses?: "SUCCESS" | "FAILED" | "PARTIAL" | ("SUCCESS" | "FAILED" | "PARTIAL")[] | undefined;
186
+ startedAfter?: string | undefined;
187
+ startedBefore?: string | undefined;
188
+ }>;
189
+ export declare const PaginatedCronExecutionHistorySchema: z.ZodObject<{
190
+ items: z.ZodArray<z.ZodObject<{
191
+ id: z.ZodString;
192
+ jobName: z.ZodString;
193
+ status: z.ZodString;
194
+ startedAt: z.ZodString;
195
+ completedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
196
+ durationMs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
197
+ recordsProcessed: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
198
+ recordsCreated: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
199
+ recordsDeleted: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
200
+ errorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
201
+ }, "strip", z.ZodTypeAny, {
202
+ status: string;
203
+ id: string;
204
+ startedAt: string;
205
+ jobName: string;
206
+ completedAt?: string | null | undefined;
207
+ durationMs?: number | null | undefined;
208
+ recordsProcessed?: number | null | undefined;
209
+ recordsCreated?: number | null | undefined;
210
+ recordsDeleted?: number | null | undefined;
211
+ errorMessage?: string | null | undefined;
212
+ }, {
213
+ status: string;
214
+ id: string;
215
+ startedAt: string;
216
+ jobName: string;
217
+ completedAt?: string | null | undefined;
218
+ durationMs?: number | null | undefined;
219
+ recordsProcessed?: number | null | undefined;
220
+ recordsCreated?: number | null | undefined;
221
+ recordsDeleted?: number | null | undefined;
222
+ errorMessage?: string | null | undefined;
223
+ }>, "many">;
224
+ totalCount: z.ZodNumber;
225
+ limit: z.ZodNumber;
226
+ skip: z.ZodNumber;
227
+ currentPage: z.ZodNumber;
228
+ totalPages: z.ZodNumber;
229
+ }, "strip", z.ZodTypeAny, {
230
+ items: {
231
+ status: string;
232
+ id: string;
233
+ startedAt: string;
234
+ jobName: string;
235
+ completedAt?: string | null | undefined;
236
+ durationMs?: number | null | undefined;
237
+ recordsProcessed?: number | null | undefined;
238
+ recordsCreated?: number | null | undefined;
239
+ recordsDeleted?: number | null | undefined;
240
+ errorMessage?: string | null | undefined;
241
+ }[];
242
+ totalCount: number;
243
+ limit: number;
244
+ skip: number;
245
+ currentPage: number;
246
+ totalPages: number;
247
+ }, {
248
+ items: {
249
+ status: string;
250
+ id: string;
251
+ startedAt: string;
252
+ jobName: string;
253
+ completedAt?: string | null | undefined;
254
+ durationMs?: number | null | undefined;
255
+ recordsProcessed?: number | null | undefined;
256
+ recordsCreated?: number | null | undefined;
257
+ recordsDeleted?: number | null | undefined;
258
+ errorMessage?: string | null | undefined;
259
+ }[];
260
+ totalCount: number;
261
+ limit: number;
262
+ skip: number;
263
+ currentPage: number;
264
+ totalPages: number;
265
+ }>;
266
+ export declare const PaginatedCronJobHealthSchema: z.ZodObject<{
267
+ items: z.ZodArray<z.ZodObject<{
268
+ jobName: z.ZodString;
269
+ lastExecutionAt: z.ZodString;
270
+ isOverdue: z.ZodBoolean;
271
+ lastStatus: z.ZodString;
272
+ executionsInLast24Hours: z.ZodNumber;
273
+ metadata: z.ZodOptional<z.ZodObject<{
274
+ recordsProcessed: z.ZodOptional<z.ZodNumber>;
275
+ recordsCreated: z.ZodOptional<z.ZodNumber>;
276
+ recordsDeleted: z.ZodOptional<z.ZodNumber>;
277
+ duration: z.ZodOptional<z.ZodString>;
278
+ durationMs: z.ZodOptional<z.ZodNumber>;
279
+ error: z.ZodOptional<z.ZodString>;
280
+ warnings: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
281
+ }, "strip", z.ZodUnknown, z.objectOutputType<{
282
+ recordsProcessed: z.ZodOptional<z.ZodNumber>;
283
+ recordsCreated: z.ZodOptional<z.ZodNumber>;
284
+ recordsDeleted: z.ZodOptional<z.ZodNumber>;
285
+ duration: z.ZodOptional<z.ZodString>;
286
+ durationMs: z.ZodOptional<z.ZodNumber>;
287
+ error: z.ZodOptional<z.ZodString>;
288
+ warnings: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
289
+ }, z.ZodUnknown, "strip">, z.objectInputType<{
290
+ recordsProcessed: z.ZodOptional<z.ZodNumber>;
291
+ recordsCreated: z.ZodOptional<z.ZodNumber>;
292
+ recordsDeleted: z.ZodOptional<z.ZodNumber>;
293
+ duration: z.ZodOptional<z.ZodString>;
294
+ durationMs: z.ZodOptional<z.ZodNumber>;
295
+ error: z.ZodOptional<z.ZodString>;
296
+ warnings: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
297
+ }, z.ZodUnknown, "strip">>>;
298
+ }, "strip", z.ZodTypeAny, {
299
+ jobName: string;
300
+ lastExecutionAt: string;
301
+ isOverdue: boolean;
302
+ lastStatus: string;
303
+ executionsInLast24Hours: number;
304
+ metadata?: z.objectOutputType<{
305
+ recordsProcessed: z.ZodOptional<z.ZodNumber>;
306
+ recordsCreated: z.ZodOptional<z.ZodNumber>;
307
+ recordsDeleted: z.ZodOptional<z.ZodNumber>;
308
+ duration: z.ZodOptional<z.ZodString>;
309
+ durationMs: z.ZodOptional<z.ZodNumber>;
310
+ error: z.ZodOptional<z.ZodString>;
311
+ warnings: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
312
+ }, z.ZodUnknown, "strip"> | undefined;
313
+ }, {
314
+ jobName: string;
315
+ lastExecutionAt: string;
316
+ isOverdue: boolean;
317
+ lastStatus: string;
318
+ executionsInLast24Hours: number;
319
+ metadata?: z.objectInputType<{
320
+ recordsProcessed: z.ZodOptional<z.ZodNumber>;
321
+ recordsCreated: z.ZodOptional<z.ZodNumber>;
322
+ recordsDeleted: z.ZodOptional<z.ZodNumber>;
323
+ duration: z.ZodOptional<z.ZodString>;
324
+ durationMs: z.ZodOptional<z.ZodNumber>;
325
+ error: z.ZodOptional<z.ZodString>;
326
+ warnings: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
327
+ }, z.ZodUnknown, "strip"> | undefined;
328
+ }>, "many">;
329
+ totalCount: z.ZodNumber;
330
+ limit: z.ZodNumber;
331
+ skip: z.ZodNumber;
332
+ currentPage: z.ZodNumber;
333
+ totalPages: z.ZodNumber;
334
+ }, "strip", z.ZodTypeAny, {
335
+ items: {
336
+ jobName: string;
337
+ lastExecutionAt: string;
338
+ isOverdue: boolean;
339
+ lastStatus: string;
340
+ executionsInLast24Hours: number;
341
+ metadata?: z.objectOutputType<{
342
+ recordsProcessed: z.ZodOptional<z.ZodNumber>;
343
+ recordsCreated: z.ZodOptional<z.ZodNumber>;
344
+ recordsDeleted: z.ZodOptional<z.ZodNumber>;
345
+ duration: z.ZodOptional<z.ZodString>;
346
+ durationMs: z.ZodOptional<z.ZodNumber>;
347
+ error: z.ZodOptional<z.ZodString>;
348
+ warnings: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
349
+ }, z.ZodUnknown, "strip"> | undefined;
350
+ }[];
351
+ totalCount: number;
352
+ limit: number;
353
+ skip: number;
354
+ currentPage: number;
355
+ totalPages: number;
356
+ }, {
357
+ items: {
358
+ jobName: string;
359
+ lastExecutionAt: string;
360
+ isOverdue: boolean;
361
+ lastStatus: string;
362
+ executionsInLast24Hours: number;
363
+ metadata?: z.objectInputType<{
364
+ recordsProcessed: z.ZodOptional<z.ZodNumber>;
365
+ recordsCreated: z.ZodOptional<z.ZodNumber>;
366
+ recordsDeleted: z.ZodOptional<z.ZodNumber>;
367
+ duration: z.ZodOptional<z.ZodString>;
368
+ durationMs: z.ZodOptional<z.ZodNumber>;
369
+ error: z.ZodOptional<z.ZodString>;
370
+ warnings: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
371
+ }, z.ZodUnknown, "strip"> | undefined;
372
+ }[];
373
+ totalCount: number;
374
+ limit: number;
375
+ skip: number;
376
+ currentPage: number;
377
+ totalPages: number;
378
+ }>;
379
+ export type CronJobName = z.infer<typeof CronJobNameSchema>;
380
+ export type CronExecutionStatus = z.infer<typeof CronExecutionStatusSchema>;
381
+ export type CronExecutionHistory = z.infer<typeof CronExecutionHistorySchema>;
382
+ export type CronExecutionStats = z.infer<typeof CronExecutionStatsSchema>;
383
+ export type CronJobHealth = z.infer<typeof CronJobHealthSchema>;
384
+ export type CronExecutionResponse = z.infer<typeof CronExecutionResponseSchema>;
385
+ export type CronExecutionFilter = z.infer<typeof CronExecutionFilterSchema>;
386
+ export type PaginatedCronExecutionHistory = z.infer<typeof PaginatedCronExecutionHistorySchema>;
387
+ export type PaginatedCronJobHealth = z.infer<typeof PaginatedCronJobHealthSchema>;
388
+ export declare const cronExecutionsContract: {
389
+ findAll: {
390
+ metadata: {
391
+ tags: string[];
392
+ };
393
+ query: z.ZodObject<{
394
+ limit: z.ZodDefault<z.ZodNumber>;
395
+ page: z.ZodDefault<z.ZodNumber>;
396
+ } & {
397
+ jobNames: z.ZodEffects<z.ZodOptional<z.ZodUnion<[z.ZodEnum<["GENERATE_DAILY_ACTIVES", "CLEANUP_ORPHANED_FILES", "CLEANUP_ARCHIVED_FILES", "UPDATE_AGENT_PERFORMANCE"]>, z.ZodArray<z.ZodEnum<["GENERATE_DAILY_ACTIVES", "CLEANUP_ORPHANED_FILES", "CLEANUP_ARCHIVED_FILES", "UPDATE_AGENT_PERFORMANCE"]>, "many">]>>, ("GENERATE_DAILY_ACTIVES" | "CLEANUP_ORPHANED_FILES" | "CLEANUP_ARCHIVED_FILES" | "UPDATE_AGENT_PERFORMANCE")[] | undefined, "GENERATE_DAILY_ACTIVES" | "CLEANUP_ORPHANED_FILES" | "CLEANUP_ARCHIVED_FILES" | "UPDATE_AGENT_PERFORMANCE" | ("GENERATE_DAILY_ACTIVES" | "CLEANUP_ORPHANED_FILES" | "CLEANUP_ARCHIVED_FILES" | "UPDATE_AGENT_PERFORMANCE")[] | undefined>;
398
+ 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>;
399
+ startedAfter: z.ZodOptional<z.ZodString>;
400
+ startedBefore: z.ZodOptional<z.ZodString>;
401
+ sortBy: z.ZodOptional<z.ZodDefault<z.ZodEnum<["startedAt", "completedAt", "durationMs", "jobName", "status", "createdAt"]>>>;
402
+ sortOrder: z.ZodOptional<z.ZodDefault<z.ZodEnum<["ASC", "DESC"]>>>;
403
+ }, "strip", z.ZodTypeAny, {
404
+ limit: number;
405
+ page: number;
406
+ sortBy?: "status" | "createdAt" | "startedAt" | "completedAt" | "durationMs" | "jobName" | undefined;
407
+ sortOrder?: "ASC" | "DESC" | undefined;
408
+ jobNames?: ("GENERATE_DAILY_ACTIVES" | "CLEANUP_ORPHANED_FILES" | "CLEANUP_ARCHIVED_FILES" | "UPDATE_AGENT_PERFORMANCE")[] | undefined;
409
+ statuses?: ("SUCCESS" | "FAILED" | "PARTIAL")[] | undefined;
410
+ startedAfter?: string | undefined;
411
+ startedBefore?: string | undefined;
412
+ }, {
413
+ limit?: number | undefined;
414
+ page?: number | undefined;
415
+ sortBy?: "status" | "createdAt" | "startedAt" | "completedAt" | "durationMs" | "jobName" | undefined;
416
+ sortOrder?: "ASC" | "DESC" | undefined;
417
+ jobNames?: "GENERATE_DAILY_ACTIVES" | "CLEANUP_ORPHANED_FILES" | "CLEANUP_ARCHIVED_FILES" | "UPDATE_AGENT_PERFORMANCE" | ("GENERATE_DAILY_ACTIVES" | "CLEANUP_ORPHANED_FILES" | "CLEANUP_ARCHIVED_FILES" | "UPDATE_AGENT_PERFORMANCE")[] | undefined;
418
+ statuses?: "SUCCESS" | "FAILED" | "PARTIAL" | ("SUCCESS" | "FAILED" | "PARTIAL")[] | undefined;
419
+ startedAfter?: string | undefined;
420
+ startedBefore?: string | undefined;
421
+ }>;
422
+ summary: "List all cron executions";
423
+ method: "GET";
424
+ path: "/v2/cron-executions";
425
+ responses: {
426
+ 400: z.ZodObject<{
427
+ statusCode: z.ZodNumber;
428
+ message: z.ZodString;
429
+ code: z.ZodString;
430
+ details: z.ZodOptional<z.ZodUnknown>;
431
+ timestamp: z.ZodString;
432
+ path: z.ZodString;
433
+ correlationId: z.ZodOptional<z.ZodString>;
434
+ }, "strip", z.ZodTypeAny, {
435
+ statusCode: number;
436
+ message: string;
437
+ code: string;
438
+ timestamp: string;
439
+ path: string;
440
+ details?: unknown;
441
+ correlationId?: string | undefined;
442
+ }, {
443
+ statusCode: number;
444
+ message: string;
445
+ code: string;
446
+ timestamp: string;
447
+ path: string;
448
+ details?: unknown;
449
+ correlationId?: string | undefined;
450
+ }>;
451
+ 401: z.ZodObject<{
452
+ statusCode: z.ZodNumber;
453
+ message: z.ZodString;
454
+ code: z.ZodString;
455
+ details: z.ZodOptional<z.ZodUnknown>;
456
+ timestamp: z.ZodString;
457
+ path: z.ZodString;
458
+ correlationId: z.ZodOptional<z.ZodString>;
459
+ }, "strip", z.ZodTypeAny, {
460
+ statusCode: number;
461
+ message: string;
462
+ code: string;
463
+ timestamp: string;
464
+ path: string;
465
+ details?: unknown;
466
+ correlationId?: string | undefined;
467
+ }, {
468
+ statusCode: number;
469
+ message: string;
470
+ code: string;
471
+ timestamp: string;
472
+ path: string;
473
+ details?: unknown;
474
+ correlationId?: string | undefined;
475
+ }>;
476
+ 500: z.ZodObject<{
477
+ statusCode: z.ZodNumber;
478
+ message: z.ZodString;
479
+ code: z.ZodString;
480
+ details: z.ZodOptional<z.ZodUnknown>;
481
+ timestamp: z.ZodString;
482
+ path: z.ZodString;
483
+ correlationId: z.ZodOptional<z.ZodString>;
484
+ }, "strip", z.ZodTypeAny, {
485
+ statusCode: number;
486
+ message: string;
487
+ code: string;
488
+ timestamp: string;
489
+ path: string;
490
+ details?: unknown;
491
+ correlationId?: string | undefined;
492
+ }, {
493
+ statusCode: number;
494
+ message: string;
495
+ code: string;
496
+ timestamp: string;
497
+ path: string;
498
+ details?: unknown;
499
+ correlationId?: string | undefined;
500
+ }>;
501
+ 200: z.ZodObject<{
502
+ items: z.ZodArray<z.ZodObject<{
503
+ id: z.ZodString;
504
+ jobName: z.ZodString;
505
+ status: z.ZodString;
506
+ startedAt: z.ZodString;
507
+ completedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
508
+ durationMs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
509
+ recordsProcessed: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
510
+ recordsCreated: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
511
+ recordsDeleted: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
512
+ errorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
513
+ }, "strip", z.ZodTypeAny, {
514
+ status: string;
515
+ id: string;
516
+ startedAt: string;
517
+ jobName: string;
518
+ completedAt?: string | null | undefined;
519
+ durationMs?: number | null | undefined;
520
+ recordsProcessed?: number | null | undefined;
521
+ recordsCreated?: number | null | undefined;
522
+ recordsDeleted?: number | null | undefined;
523
+ errorMessage?: string | null | undefined;
524
+ }, {
525
+ status: string;
526
+ id: string;
527
+ startedAt: string;
528
+ jobName: string;
529
+ completedAt?: string | null | undefined;
530
+ durationMs?: number | null | undefined;
531
+ recordsProcessed?: number | null | undefined;
532
+ recordsCreated?: number | null | undefined;
533
+ recordsDeleted?: number | null | undefined;
534
+ errorMessage?: string | null | undefined;
535
+ }>, "many">;
536
+ totalCount: z.ZodNumber;
537
+ limit: z.ZodNumber;
538
+ skip: z.ZodNumber;
539
+ currentPage: z.ZodNumber;
540
+ totalPages: z.ZodNumber;
541
+ }, "strip", z.ZodTypeAny, {
542
+ items: {
543
+ status: string;
544
+ id: string;
545
+ startedAt: string;
546
+ jobName: string;
547
+ completedAt?: string | null | undefined;
548
+ durationMs?: number | null | undefined;
549
+ recordsProcessed?: number | null | undefined;
550
+ recordsCreated?: number | null | undefined;
551
+ recordsDeleted?: number | null | undefined;
552
+ errorMessage?: string | null | undefined;
553
+ }[];
554
+ totalCount: number;
555
+ limit: number;
556
+ skip: number;
557
+ currentPage: number;
558
+ totalPages: number;
559
+ }, {
560
+ items: {
561
+ status: string;
562
+ id: string;
563
+ startedAt: string;
564
+ jobName: string;
565
+ completedAt?: string | null | undefined;
566
+ durationMs?: number | null | undefined;
567
+ recordsProcessed?: number | null | undefined;
568
+ recordsCreated?: number | null | undefined;
569
+ recordsDeleted?: number | null | undefined;
570
+ errorMessage?: string | null | undefined;
571
+ }[];
572
+ totalCount: number;
573
+ limit: number;
574
+ skip: number;
575
+ currentPage: number;
576
+ totalPages: number;
577
+ }>;
578
+ 403: z.ZodObject<{
579
+ statusCode: z.ZodNumber;
580
+ message: z.ZodString;
581
+ code: z.ZodString;
582
+ details: z.ZodOptional<z.ZodUnknown>;
583
+ timestamp: z.ZodString;
584
+ path: z.ZodString;
585
+ correlationId: z.ZodOptional<z.ZodString>;
586
+ }, "strip", z.ZodTypeAny, {
587
+ statusCode: number;
588
+ message: string;
589
+ code: string;
590
+ timestamp: string;
591
+ path: string;
592
+ details?: unknown;
593
+ correlationId?: string | undefined;
594
+ }, {
595
+ statusCode: number;
596
+ message: string;
597
+ code: string;
598
+ timestamp: string;
599
+ path: string;
600
+ details?: unknown;
601
+ correlationId?: string | undefined;
602
+ }>;
603
+ };
604
+ };
605
+ getStats: {
606
+ metadata: {
607
+ tags: string[];
608
+ };
609
+ summary: "Get execution statistics";
610
+ method: "GET";
611
+ path: "/v2/cron-executions/stats";
612
+ responses: {
613
+ 400: z.ZodObject<{
614
+ statusCode: z.ZodNumber;
615
+ message: z.ZodString;
616
+ code: z.ZodString;
617
+ details: z.ZodOptional<z.ZodUnknown>;
618
+ timestamp: z.ZodString;
619
+ path: z.ZodString;
620
+ correlationId: z.ZodOptional<z.ZodString>;
621
+ }, "strip", z.ZodTypeAny, {
622
+ statusCode: number;
623
+ message: string;
624
+ code: string;
625
+ timestamp: string;
626
+ path: string;
627
+ details?: unknown;
628
+ correlationId?: string | undefined;
629
+ }, {
630
+ statusCode: number;
631
+ message: string;
632
+ code: string;
633
+ timestamp: string;
634
+ path: string;
635
+ details?: unknown;
636
+ correlationId?: string | undefined;
637
+ }>;
638
+ 401: z.ZodObject<{
639
+ statusCode: z.ZodNumber;
640
+ message: z.ZodString;
641
+ code: z.ZodString;
642
+ details: z.ZodOptional<z.ZodUnknown>;
643
+ timestamp: z.ZodString;
644
+ path: z.ZodString;
645
+ correlationId: z.ZodOptional<z.ZodString>;
646
+ }, "strip", z.ZodTypeAny, {
647
+ statusCode: number;
648
+ message: string;
649
+ code: string;
650
+ timestamp: string;
651
+ path: string;
652
+ details?: unknown;
653
+ correlationId?: string | undefined;
654
+ }, {
655
+ statusCode: number;
656
+ message: string;
657
+ code: string;
658
+ timestamp: string;
659
+ path: string;
660
+ details?: unknown;
661
+ correlationId?: string | undefined;
662
+ }>;
663
+ 500: z.ZodObject<{
664
+ statusCode: z.ZodNumber;
665
+ message: z.ZodString;
666
+ code: z.ZodString;
667
+ details: z.ZodOptional<z.ZodUnknown>;
668
+ timestamp: z.ZodString;
669
+ path: z.ZodString;
670
+ correlationId: z.ZodOptional<z.ZodString>;
671
+ }, "strip", z.ZodTypeAny, {
672
+ statusCode: number;
673
+ message: string;
674
+ code: string;
675
+ timestamp: string;
676
+ path: string;
677
+ details?: unknown;
678
+ correlationId?: string | undefined;
679
+ }, {
680
+ statusCode: number;
681
+ message: string;
682
+ code: string;
683
+ timestamp: string;
684
+ path: string;
685
+ details?: unknown;
686
+ correlationId?: string | undefined;
687
+ }>;
688
+ 200: z.ZodObject<{
689
+ totalExecutions: z.ZodNumber;
690
+ successRate: z.ZodNumber;
691
+ averageDurationMs: z.ZodNumber;
692
+ failedInLast24Hours: z.ZodNumber;
693
+ executionsByJob: z.ZodRecord<z.ZodString, z.ZodNumber>;
694
+ successRateByJob: z.ZodRecord<z.ZodString, z.ZodNumber>;
695
+ }, "strip", z.ZodTypeAny, {
696
+ totalExecutions: number;
697
+ successRate: number;
698
+ averageDurationMs: number;
699
+ failedInLast24Hours: number;
700
+ executionsByJob: Record<string, number>;
701
+ successRateByJob: Record<string, number>;
702
+ }, {
703
+ totalExecutions: number;
704
+ successRate: number;
705
+ averageDurationMs: number;
706
+ failedInLast24Hours: number;
707
+ executionsByJob: Record<string, number>;
708
+ successRateByJob: Record<string, number>;
709
+ }>;
710
+ 403: z.ZodObject<{
711
+ statusCode: z.ZodNumber;
712
+ message: z.ZodString;
713
+ code: z.ZodString;
714
+ details: z.ZodOptional<z.ZodUnknown>;
715
+ timestamp: z.ZodString;
716
+ path: z.ZodString;
717
+ correlationId: z.ZodOptional<z.ZodString>;
718
+ }, "strip", z.ZodTypeAny, {
719
+ statusCode: number;
720
+ message: string;
721
+ code: string;
722
+ timestamp: string;
723
+ path: string;
724
+ details?: unknown;
725
+ correlationId?: string | undefined;
726
+ }, {
727
+ statusCode: number;
728
+ message: string;
729
+ code: string;
730
+ timestamp: string;
731
+ path: string;
732
+ details?: unknown;
733
+ correlationId?: string | undefined;
734
+ }>;
735
+ };
736
+ };
737
+ getHealthStatus: {
738
+ metadata: {
739
+ tags: string[];
740
+ };
741
+ query: z.ZodObject<{
742
+ limit: z.ZodDefault<z.ZodNumber>;
743
+ page: z.ZodDefault<z.ZodNumber>;
744
+ }, "strip", z.ZodTypeAny, {
745
+ limit: number;
746
+ page: number;
747
+ }, {
748
+ limit?: number | undefined;
749
+ page?: number | undefined;
750
+ }>;
751
+ summary: "Get health status for all cron jobs";
752
+ method: "GET";
753
+ path: "/v2/cron-executions/health";
754
+ responses: {
755
+ 400: z.ZodObject<{
756
+ statusCode: z.ZodNumber;
757
+ message: z.ZodString;
758
+ code: z.ZodString;
759
+ details: z.ZodOptional<z.ZodUnknown>;
760
+ timestamp: z.ZodString;
761
+ path: z.ZodString;
762
+ correlationId: z.ZodOptional<z.ZodString>;
763
+ }, "strip", z.ZodTypeAny, {
764
+ statusCode: number;
765
+ message: string;
766
+ code: string;
767
+ timestamp: string;
768
+ path: string;
769
+ details?: unknown;
770
+ correlationId?: string | undefined;
771
+ }, {
772
+ statusCode: number;
773
+ message: string;
774
+ code: string;
775
+ timestamp: string;
776
+ path: string;
777
+ details?: unknown;
778
+ correlationId?: string | undefined;
779
+ }>;
780
+ 401: z.ZodObject<{
781
+ statusCode: z.ZodNumber;
782
+ message: z.ZodString;
783
+ code: z.ZodString;
784
+ details: z.ZodOptional<z.ZodUnknown>;
785
+ timestamp: z.ZodString;
786
+ path: z.ZodString;
787
+ correlationId: z.ZodOptional<z.ZodString>;
788
+ }, "strip", z.ZodTypeAny, {
789
+ statusCode: number;
790
+ message: string;
791
+ code: string;
792
+ timestamp: string;
793
+ path: string;
794
+ details?: unknown;
795
+ correlationId?: string | undefined;
796
+ }, {
797
+ statusCode: number;
798
+ message: string;
799
+ code: string;
800
+ timestamp: string;
801
+ path: string;
802
+ details?: unknown;
803
+ correlationId?: string | undefined;
804
+ }>;
805
+ 500: z.ZodObject<{
806
+ statusCode: z.ZodNumber;
807
+ message: z.ZodString;
808
+ code: z.ZodString;
809
+ details: z.ZodOptional<z.ZodUnknown>;
810
+ timestamp: z.ZodString;
811
+ path: z.ZodString;
812
+ correlationId: z.ZodOptional<z.ZodString>;
813
+ }, "strip", z.ZodTypeAny, {
814
+ statusCode: number;
815
+ message: string;
816
+ code: string;
817
+ timestamp: string;
818
+ path: string;
819
+ details?: unknown;
820
+ correlationId?: string | undefined;
821
+ }, {
822
+ statusCode: number;
823
+ message: string;
824
+ code: string;
825
+ timestamp: string;
826
+ path: string;
827
+ details?: unknown;
828
+ correlationId?: string | undefined;
829
+ }>;
830
+ 200: z.ZodObject<{
831
+ items: z.ZodArray<z.ZodObject<{
832
+ jobName: z.ZodString;
833
+ lastExecutionAt: z.ZodString;
834
+ isOverdue: z.ZodBoolean;
835
+ lastStatus: z.ZodString;
836
+ executionsInLast24Hours: z.ZodNumber;
837
+ metadata: z.ZodOptional<z.ZodObject<{
838
+ recordsProcessed: z.ZodOptional<z.ZodNumber>;
839
+ recordsCreated: z.ZodOptional<z.ZodNumber>;
840
+ recordsDeleted: z.ZodOptional<z.ZodNumber>;
841
+ duration: z.ZodOptional<z.ZodString>;
842
+ durationMs: z.ZodOptional<z.ZodNumber>;
843
+ error: z.ZodOptional<z.ZodString>;
844
+ warnings: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
845
+ }, "strip", z.ZodUnknown, z.objectOutputType<{
846
+ recordsProcessed: z.ZodOptional<z.ZodNumber>;
847
+ recordsCreated: z.ZodOptional<z.ZodNumber>;
848
+ recordsDeleted: z.ZodOptional<z.ZodNumber>;
849
+ duration: z.ZodOptional<z.ZodString>;
850
+ durationMs: z.ZodOptional<z.ZodNumber>;
851
+ error: z.ZodOptional<z.ZodString>;
852
+ warnings: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
853
+ }, z.ZodUnknown, "strip">, z.objectInputType<{
854
+ recordsProcessed: z.ZodOptional<z.ZodNumber>;
855
+ recordsCreated: z.ZodOptional<z.ZodNumber>;
856
+ recordsDeleted: z.ZodOptional<z.ZodNumber>;
857
+ duration: z.ZodOptional<z.ZodString>;
858
+ durationMs: z.ZodOptional<z.ZodNumber>;
859
+ error: z.ZodOptional<z.ZodString>;
860
+ warnings: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
861
+ }, z.ZodUnknown, "strip">>>;
862
+ }, "strip", z.ZodTypeAny, {
863
+ jobName: string;
864
+ lastExecutionAt: string;
865
+ isOverdue: boolean;
866
+ lastStatus: string;
867
+ executionsInLast24Hours: number;
868
+ metadata?: z.objectOutputType<{
869
+ recordsProcessed: z.ZodOptional<z.ZodNumber>;
870
+ recordsCreated: z.ZodOptional<z.ZodNumber>;
871
+ recordsDeleted: z.ZodOptional<z.ZodNumber>;
872
+ duration: z.ZodOptional<z.ZodString>;
873
+ durationMs: z.ZodOptional<z.ZodNumber>;
874
+ error: z.ZodOptional<z.ZodString>;
875
+ warnings: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
876
+ }, z.ZodUnknown, "strip"> | undefined;
877
+ }, {
878
+ jobName: string;
879
+ lastExecutionAt: string;
880
+ isOverdue: boolean;
881
+ lastStatus: string;
882
+ executionsInLast24Hours: number;
883
+ metadata?: z.objectInputType<{
884
+ recordsProcessed: z.ZodOptional<z.ZodNumber>;
885
+ recordsCreated: z.ZodOptional<z.ZodNumber>;
886
+ recordsDeleted: z.ZodOptional<z.ZodNumber>;
887
+ duration: z.ZodOptional<z.ZodString>;
888
+ durationMs: z.ZodOptional<z.ZodNumber>;
889
+ error: z.ZodOptional<z.ZodString>;
890
+ warnings: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
891
+ }, z.ZodUnknown, "strip"> | undefined;
892
+ }>, "many">;
893
+ totalCount: z.ZodNumber;
894
+ limit: z.ZodNumber;
895
+ skip: z.ZodNumber;
896
+ currentPage: z.ZodNumber;
897
+ totalPages: z.ZodNumber;
898
+ }, "strip", z.ZodTypeAny, {
899
+ items: {
900
+ jobName: string;
901
+ lastExecutionAt: string;
902
+ isOverdue: boolean;
903
+ lastStatus: string;
904
+ executionsInLast24Hours: number;
905
+ metadata?: z.objectOutputType<{
906
+ recordsProcessed: z.ZodOptional<z.ZodNumber>;
907
+ recordsCreated: z.ZodOptional<z.ZodNumber>;
908
+ recordsDeleted: z.ZodOptional<z.ZodNumber>;
909
+ duration: z.ZodOptional<z.ZodString>;
910
+ durationMs: z.ZodOptional<z.ZodNumber>;
911
+ error: z.ZodOptional<z.ZodString>;
912
+ warnings: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
913
+ }, z.ZodUnknown, "strip"> | undefined;
914
+ }[];
915
+ totalCount: number;
916
+ limit: number;
917
+ skip: number;
918
+ currentPage: number;
919
+ totalPages: number;
920
+ }, {
921
+ items: {
922
+ jobName: string;
923
+ lastExecutionAt: string;
924
+ isOverdue: boolean;
925
+ lastStatus: string;
926
+ executionsInLast24Hours: number;
927
+ metadata?: z.objectInputType<{
928
+ recordsProcessed: z.ZodOptional<z.ZodNumber>;
929
+ recordsCreated: z.ZodOptional<z.ZodNumber>;
930
+ recordsDeleted: z.ZodOptional<z.ZodNumber>;
931
+ duration: z.ZodOptional<z.ZodString>;
932
+ durationMs: z.ZodOptional<z.ZodNumber>;
933
+ error: z.ZodOptional<z.ZodString>;
934
+ warnings: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
935
+ }, z.ZodUnknown, "strip"> | undefined;
936
+ }[];
937
+ totalCount: number;
938
+ limit: number;
939
+ skip: number;
940
+ currentPage: number;
941
+ totalPages: number;
942
+ }>;
943
+ 403: z.ZodObject<{
944
+ statusCode: z.ZodNumber;
945
+ message: z.ZodString;
946
+ code: z.ZodString;
947
+ details: z.ZodOptional<z.ZodUnknown>;
948
+ timestamp: z.ZodString;
949
+ path: z.ZodString;
950
+ correlationId: z.ZodOptional<z.ZodString>;
951
+ }, "strip", z.ZodTypeAny, {
952
+ statusCode: number;
953
+ message: string;
954
+ code: string;
955
+ timestamp: string;
956
+ path: string;
957
+ details?: unknown;
958
+ correlationId?: string | undefined;
959
+ }, {
960
+ statusCode: number;
961
+ message: string;
962
+ code: string;
963
+ timestamp: string;
964
+ path: string;
965
+ details?: unknown;
966
+ correlationId?: string | undefined;
967
+ }>;
968
+ };
969
+ };
970
+ getById: {
971
+ metadata: {
972
+ tags: string[];
973
+ };
974
+ pathParams: z.ZodObject<{
975
+ id: z.ZodString;
976
+ }, "strip", z.ZodTypeAny, {
977
+ id: string;
978
+ }, {
979
+ id: string;
980
+ }>;
981
+ summary: "Get execution by ID";
982
+ method: "GET";
983
+ path: "/v2/cron-executions/:id";
984
+ responses: {
985
+ 400: z.ZodObject<{
986
+ statusCode: z.ZodNumber;
987
+ message: z.ZodString;
988
+ code: z.ZodString;
989
+ details: z.ZodOptional<z.ZodUnknown>;
990
+ timestamp: z.ZodString;
991
+ path: z.ZodString;
992
+ correlationId: z.ZodOptional<z.ZodString>;
993
+ }, "strip", z.ZodTypeAny, {
994
+ statusCode: number;
995
+ message: string;
996
+ code: string;
997
+ timestamp: string;
998
+ path: string;
999
+ details?: unknown;
1000
+ correlationId?: string | undefined;
1001
+ }, {
1002
+ statusCode: number;
1003
+ message: string;
1004
+ code: string;
1005
+ timestamp: string;
1006
+ path: string;
1007
+ details?: unknown;
1008
+ correlationId?: string | undefined;
1009
+ }>;
1010
+ 401: z.ZodObject<{
1011
+ statusCode: z.ZodNumber;
1012
+ message: z.ZodString;
1013
+ code: z.ZodString;
1014
+ details: z.ZodOptional<z.ZodUnknown>;
1015
+ timestamp: z.ZodString;
1016
+ path: z.ZodString;
1017
+ correlationId: z.ZodOptional<z.ZodString>;
1018
+ }, "strip", z.ZodTypeAny, {
1019
+ statusCode: number;
1020
+ message: string;
1021
+ code: string;
1022
+ timestamp: string;
1023
+ path: string;
1024
+ details?: unknown;
1025
+ correlationId?: string | undefined;
1026
+ }, {
1027
+ statusCode: number;
1028
+ message: string;
1029
+ code: string;
1030
+ timestamp: string;
1031
+ path: string;
1032
+ details?: unknown;
1033
+ correlationId?: string | undefined;
1034
+ }>;
1035
+ 500: z.ZodObject<{
1036
+ statusCode: z.ZodNumber;
1037
+ message: z.ZodString;
1038
+ code: z.ZodString;
1039
+ details: z.ZodOptional<z.ZodUnknown>;
1040
+ timestamp: z.ZodString;
1041
+ path: z.ZodString;
1042
+ correlationId: z.ZodOptional<z.ZodString>;
1043
+ }, "strip", z.ZodTypeAny, {
1044
+ statusCode: number;
1045
+ message: string;
1046
+ code: string;
1047
+ timestamp: string;
1048
+ path: string;
1049
+ details?: unknown;
1050
+ correlationId?: string | undefined;
1051
+ }, {
1052
+ statusCode: number;
1053
+ message: string;
1054
+ code: string;
1055
+ timestamp: string;
1056
+ path: string;
1057
+ details?: unknown;
1058
+ correlationId?: string | undefined;
1059
+ }>;
1060
+ 200: z.ZodObject<{
1061
+ id: z.ZodString;
1062
+ jobName: z.ZodString;
1063
+ status: z.ZodString;
1064
+ startedAt: z.ZodString;
1065
+ completedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1066
+ durationMs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1067
+ recordsProcessed: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1068
+ recordsCreated: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1069
+ recordsDeleted: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1070
+ errorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1071
+ }, "strip", z.ZodTypeAny, {
1072
+ status: string;
1073
+ id: string;
1074
+ startedAt: string;
1075
+ jobName: string;
1076
+ completedAt?: string | null | undefined;
1077
+ durationMs?: number | null | undefined;
1078
+ recordsProcessed?: number | null | undefined;
1079
+ recordsCreated?: number | null | undefined;
1080
+ recordsDeleted?: number | null | undefined;
1081
+ errorMessage?: string | null | undefined;
1082
+ }, {
1083
+ status: string;
1084
+ id: string;
1085
+ startedAt: string;
1086
+ jobName: string;
1087
+ completedAt?: string | null | undefined;
1088
+ durationMs?: number | null | undefined;
1089
+ recordsProcessed?: number | null | undefined;
1090
+ recordsCreated?: number | null | undefined;
1091
+ recordsDeleted?: number | null | undefined;
1092
+ errorMessage?: string | null | undefined;
1093
+ }>;
1094
+ 404: z.ZodObject<{
1095
+ statusCode: z.ZodNumber;
1096
+ message: z.ZodString;
1097
+ code: z.ZodString;
1098
+ details: z.ZodOptional<z.ZodUnknown>;
1099
+ timestamp: z.ZodString;
1100
+ path: z.ZodString;
1101
+ correlationId: z.ZodOptional<z.ZodString>;
1102
+ }, "strip", z.ZodTypeAny, {
1103
+ statusCode: number;
1104
+ message: string;
1105
+ code: string;
1106
+ timestamp: string;
1107
+ path: string;
1108
+ details?: unknown;
1109
+ correlationId?: string | undefined;
1110
+ }, {
1111
+ statusCode: number;
1112
+ message: string;
1113
+ code: string;
1114
+ timestamp: string;
1115
+ path: string;
1116
+ details?: unknown;
1117
+ correlationId?: string | undefined;
1118
+ }>;
1119
+ 403: z.ZodObject<{
1120
+ statusCode: z.ZodNumber;
1121
+ message: z.ZodString;
1122
+ code: z.ZodString;
1123
+ details: z.ZodOptional<z.ZodUnknown>;
1124
+ timestamp: z.ZodString;
1125
+ path: z.ZodString;
1126
+ correlationId: z.ZodOptional<z.ZodString>;
1127
+ }, "strip", z.ZodTypeAny, {
1128
+ statusCode: number;
1129
+ message: string;
1130
+ code: string;
1131
+ timestamp: string;
1132
+ path: string;
1133
+ details?: unknown;
1134
+ correlationId?: string | undefined;
1135
+ }, {
1136
+ statusCode: number;
1137
+ message: string;
1138
+ code: string;
1139
+ timestamp: string;
1140
+ path: string;
1141
+ details?: unknown;
1142
+ correlationId?: string | undefined;
1143
+ }>;
1144
+ };
1145
+ };
1146
+ triggerGenerateDailyActives: {
1147
+ metadata: {
1148
+ tags: string[];
1149
+ };
1150
+ summary: "Trigger actives generation";
1151
+ method: "POST";
1152
+ body: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
1153
+ path: "/v2/cron-executions/trigger/generate-daily-actives";
1154
+ responses: {
1155
+ 400: z.ZodObject<{
1156
+ statusCode: z.ZodNumber;
1157
+ message: z.ZodString;
1158
+ code: z.ZodString;
1159
+ details: z.ZodOptional<z.ZodUnknown>;
1160
+ timestamp: z.ZodString;
1161
+ path: z.ZodString;
1162
+ correlationId: z.ZodOptional<z.ZodString>;
1163
+ }, "strip", z.ZodTypeAny, {
1164
+ statusCode: number;
1165
+ message: string;
1166
+ code: string;
1167
+ timestamp: string;
1168
+ path: string;
1169
+ details?: unknown;
1170
+ correlationId?: string | undefined;
1171
+ }, {
1172
+ statusCode: number;
1173
+ message: string;
1174
+ code: string;
1175
+ timestamp: string;
1176
+ path: string;
1177
+ details?: unknown;
1178
+ correlationId?: string | undefined;
1179
+ }>;
1180
+ 401: z.ZodObject<{
1181
+ statusCode: z.ZodNumber;
1182
+ message: z.ZodString;
1183
+ code: z.ZodString;
1184
+ details: z.ZodOptional<z.ZodUnknown>;
1185
+ timestamp: z.ZodString;
1186
+ path: z.ZodString;
1187
+ correlationId: z.ZodOptional<z.ZodString>;
1188
+ }, "strip", z.ZodTypeAny, {
1189
+ statusCode: number;
1190
+ message: string;
1191
+ code: string;
1192
+ timestamp: string;
1193
+ path: string;
1194
+ details?: unknown;
1195
+ correlationId?: string | undefined;
1196
+ }, {
1197
+ statusCode: number;
1198
+ message: string;
1199
+ code: string;
1200
+ timestamp: string;
1201
+ path: string;
1202
+ details?: unknown;
1203
+ correlationId?: string | undefined;
1204
+ }>;
1205
+ 500: z.ZodObject<{
1206
+ statusCode: z.ZodNumber;
1207
+ message: z.ZodString;
1208
+ code: z.ZodString;
1209
+ details: z.ZodOptional<z.ZodUnknown>;
1210
+ timestamp: z.ZodString;
1211
+ path: z.ZodString;
1212
+ correlationId: z.ZodOptional<z.ZodString>;
1213
+ }, "strip", z.ZodTypeAny, {
1214
+ statusCode: number;
1215
+ message: string;
1216
+ code: string;
1217
+ timestamp: string;
1218
+ path: string;
1219
+ details?: unknown;
1220
+ correlationId?: string | undefined;
1221
+ }, {
1222
+ statusCode: number;
1223
+ message: string;
1224
+ code: string;
1225
+ timestamp: string;
1226
+ path: string;
1227
+ details?: unknown;
1228
+ correlationId?: string | undefined;
1229
+ }>;
1230
+ 201: z.ZodObject<{
1231
+ success: z.ZodBoolean;
1232
+ message: z.ZodString;
1233
+ executionId: z.ZodString;
1234
+ }, "strip", z.ZodTypeAny, {
1235
+ message: string;
1236
+ success: boolean;
1237
+ executionId: string;
1238
+ }, {
1239
+ message: string;
1240
+ success: boolean;
1241
+ executionId: string;
1242
+ }>;
1243
+ 403: z.ZodObject<{
1244
+ statusCode: z.ZodNumber;
1245
+ message: z.ZodString;
1246
+ code: z.ZodString;
1247
+ details: z.ZodOptional<z.ZodUnknown>;
1248
+ timestamp: z.ZodString;
1249
+ path: z.ZodString;
1250
+ correlationId: z.ZodOptional<z.ZodString>;
1251
+ }, "strip", z.ZodTypeAny, {
1252
+ statusCode: number;
1253
+ message: string;
1254
+ code: string;
1255
+ timestamp: string;
1256
+ path: string;
1257
+ details?: unknown;
1258
+ correlationId?: string | undefined;
1259
+ }, {
1260
+ statusCode: number;
1261
+ message: string;
1262
+ code: string;
1263
+ timestamp: string;
1264
+ path: string;
1265
+ details?: unknown;
1266
+ correlationId?: string | undefined;
1267
+ }>;
1268
+ };
1269
+ };
1270
+ triggerCleanupOrphanedFiles: {
1271
+ metadata: {
1272
+ tags: string[];
1273
+ };
1274
+ summary: "Trigger orphaned files cleanup";
1275
+ method: "POST";
1276
+ body: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
1277
+ path: "/v2/cron-executions/trigger/cleanup-orphaned-files";
1278
+ responses: {
1279
+ 400: z.ZodObject<{
1280
+ statusCode: z.ZodNumber;
1281
+ message: z.ZodString;
1282
+ code: z.ZodString;
1283
+ details: z.ZodOptional<z.ZodUnknown>;
1284
+ timestamp: z.ZodString;
1285
+ path: z.ZodString;
1286
+ correlationId: z.ZodOptional<z.ZodString>;
1287
+ }, "strip", z.ZodTypeAny, {
1288
+ statusCode: number;
1289
+ message: string;
1290
+ code: string;
1291
+ timestamp: string;
1292
+ path: string;
1293
+ details?: unknown;
1294
+ correlationId?: string | undefined;
1295
+ }, {
1296
+ statusCode: number;
1297
+ message: string;
1298
+ code: string;
1299
+ timestamp: string;
1300
+ path: string;
1301
+ details?: unknown;
1302
+ correlationId?: string | undefined;
1303
+ }>;
1304
+ 401: z.ZodObject<{
1305
+ statusCode: z.ZodNumber;
1306
+ message: z.ZodString;
1307
+ code: z.ZodString;
1308
+ details: z.ZodOptional<z.ZodUnknown>;
1309
+ timestamp: z.ZodString;
1310
+ path: z.ZodString;
1311
+ correlationId: z.ZodOptional<z.ZodString>;
1312
+ }, "strip", z.ZodTypeAny, {
1313
+ statusCode: number;
1314
+ message: string;
1315
+ code: string;
1316
+ timestamp: string;
1317
+ path: string;
1318
+ details?: unknown;
1319
+ correlationId?: string | undefined;
1320
+ }, {
1321
+ statusCode: number;
1322
+ message: string;
1323
+ code: string;
1324
+ timestamp: string;
1325
+ path: string;
1326
+ details?: unknown;
1327
+ correlationId?: string | undefined;
1328
+ }>;
1329
+ 500: z.ZodObject<{
1330
+ statusCode: z.ZodNumber;
1331
+ message: z.ZodString;
1332
+ code: z.ZodString;
1333
+ details: z.ZodOptional<z.ZodUnknown>;
1334
+ timestamp: z.ZodString;
1335
+ path: z.ZodString;
1336
+ correlationId: z.ZodOptional<z.ZodString>;
1337
+ }, "strip", z.ZodTypeAny, {
1338
+ statusCode: number;
1339
+ message: string;
1340
+ code: string;
1341
+ timestamp: string;
1342
+ path: string;
1343
+ details?: unknown;
1344
+ correlationId?: string | undefined;
1345
+ }, {
1346
+ statusCode: number;
1347
+ message: string;
1348
+ code: string;
1349
+ timestamp: string;
1350
+ path: string;
1351
+ details?: unknown;
1352
+ correlationId?: string | undefined;
1353
+ }>;
1354
+ 201: z.ZodObject<{
1355
+ success: z.ZodBoolean;
1356
+ message: z.ZodString;
1357
+ executionId: z.ZodString;
1358
+ }, "strip", z.ZodTypeAny, {
1359
+ message: string;
1360
+ success: boolean;
1361
+ executionId: string;
1362
+ }, {
1363
+ message: string;
1364
+ success: boolean;
1365
+ executionId: string;
1366
+ }>;
1367
+ 403: z.ZodObject<{
1368
+ statusCode: z.ZodNumber;
1369
+ message: z.ZodString;
1370
+ code: z.ZodString;
1371
+ details: z.ZodOptional<z.ZodUnknown>;
1372
+ timestamp: z.ZodString;
1373
+ path: z.ZodString;
1374
+ correlationId: z.ZodOptional<z.ZodString>;
1375
+ }, "strip", z.ZodTypeAny, {
1376
+ statusCode: number;
1377
+ message: string;
1378
+ code: string;
1379
+ timestamp: string;
1380
+ path: string;
1381
+ details?: unknown;
1382
+ correlationId?: string | undefined;
1383
+ }, {
1384
+ statusCode: number;
1385
+ message: string;
1386
+ code: string;
1387
+ timestamp: string;
1388
+ path: string;
1389
+ details?: unknown;
1390
+ correlationId?: string | undefined;
1391
+ }>;
1392
+ };
1393
+ };
1394
+ triggerCleanupArchivedFiles: {
1395
+ metadata: {
1396
+ tags: string[];
1397
+ };
1398
+ summary: "Trigger archived files cleanup";
1399
+ method: "POST";
1400
+ body: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
1401
+ path: "/v2/cron-executions/trigger/cleanup-archived-files";
1402
+ responses: {
1403
+ 400: z.ZodObject<{
1404
+ statusCode: z.ZodNumber;
1405
+ message: z.ZodString;
1406
+ code: z.ZodString;
1407
+ details: z.ZodOptional<z.ZodUnknown>;
1408
+ timestamp: z.ZodString;
1409
+ path: z.ZodString;
1410
+ correlationId: z.ZodOptional<z.ZodString>;
1411
+ }, "strip", z.ZodTypeAny, {
1412
+ statusCode: number;
1413
+ message: string;
1414
+ code: string;
1415
+ timestamp: string;
1416
+ path: string;
1417
+ details?: unknown;
1418
+ correlationId?: string | undefined;
1419
+ }, {
1420
+ statusCode: number;
1421
+ message: string;
1422
+ code: string;
1423
+ timestamp: string;
1424
+ path: string;
1425
+ details?: unknown;
1426
+ correlationId?: string | undefined;
1427
+ }>;
1428
+ 401: z.ZodObject<{
1429
+ statusCode: z.ZodNumber;
1430
+ message: z.ZodString;
1431
+ code: z.ZodString;
1432
+ details: z.ZodOptional<z.ZodUnknown>;
1433
+ timestamp: z.ZodString;
1434
+ path: z.ZodString;
1435
+ correlationId: z.ZodOptional<z.ZodString>;
1436
+ }, "strip", z.ZodTypeAny, {
1437
+ statusCode: number;
1438
+ message: string;
1439
+ code: string;
1440
+ timestamp: string;
1441
+ path: string;
1442
+ details?: unknown;
1443
+ correlationId?: string | undefined;
1444
+ }, {
1445
+ statusCode: number;
1446
+ message: string;
1447
+ code: string;
1448
+ timestamp: string;
1449
+ path: string;
1450
+ details?: unknown;
1451
+ correlationId?: string | undefined;
1452
+ }>;
1453
+ 500: z.ZodObject<{
1454
+ statusCode: z.ZodNumber;
1455
+ message: z.ZodString;
1456
+ code: z.ZodString;
1457
+ details: z.ZodOptional<z.ZodUnknown>;
1458
+ timestamp: z.ZodString;
1459
+ path: z.ZodString;
1460
+ correlationId: z.ZodOptional<z.ZodString>;
1461
+ }, "strip", z.ZodTypeAny, {
1462
+ statusCode: number;
1463
+ message: string;
1464
+ code: string;
1465
+ timestamp: string;
1466
+ path: string;
1467
+ details?: unknown;
1468
+ correlationId?: string | undefined;
1469
+ }, {
1470
+ statusCode: number;
1471
+ message: string;
1472
+ code: string;
1473
+ timestamp: string;
1474
+ path: string;
1475
+ details?: unknown;
1476
+ correlationId?: string | undefined;
1477
+ }>;
1478
+ 201: z.ZodObject<{
1479
+ success: z.ZodBoolean;
1480
+ message: z.ZodString;
1481
+ executionId: z.ZodString;
1482
+ }, "strip", z.ZodTypeAny, {
1483
+ message: string;
1484
+ success: boolean;
1485
+ executionId: string;
1486
+ }, {
1487
+ message: string;
1488
+ success: boolean;
1489
+ executionId: string;
1490
+ }>;
1491
+ 403: z.ZodObject<{
1492
+ statusCode: z.ZodNumber;
1493
+ message: z.ZodString;
1494
+ code: z.ZodString;
1495
+ details: z.ZodOptional<z.ZodUnknown>;
1496
+ timestamp: z.ZodString;
1497
+ path: z.ZodString;
1498
+ correlationId: z.ZodOptional<z.ZodString>;
1499
+ }, "strip", z.ZodTypeAny, {
1500
+ statusCode: number;
1501
+ message: string;
1502
+ code: string;
1503
+ timestamp: string;
1504
+ path: string;
1505
+ details?: unknown;
1506
+ correlationId?: string | undefined;
1507
+ }, {
1508
+ statusCode: number;
1509
+ message: string;
1510
+ code: string;
1511
+ timestamp: string;
1512
+ path: string;
1513
+ details?: unknown;
1514
+ correlationId?: string | undefined;
1515
+ }>;
1516
+ };
1517
+ };
1518
+ triggerUpdateAgentPerformance: {
1519
+ metadata: {
1520
+ tags: string[];
1521
+ };
1522
+ summary: "Trigger agent performance update";
1523
+ method: "POST";
1524
+ body: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
1525
+ path: "/v2/cron-executions/trigger/update-agent-performance";
1526
+ responses: {
1527
+ 400: z.ZodObject<{
1528
+ statusCode: z.ZodNumber;
1529
+ message: z.ZodString;
1530
+ code: z.ZodString;
1531
+ details: z.ZodOptional<z.ZodUnknown>;
1532
+ timestamp: z.ZodString;
1533
+ path: z.ZodString;
1534
+ correlationId: z.ZodOptional<z.ZodString>;
1535
+ }, "strip", z.ZodTypeAny, {
1536
+ statusCode: number;
1537
+ message: string;
1538
+ code: string;
1539
+ timestamp: string;
1540
+ path: string;
1541
+ details?: unknown;
1542
+ correlationId?: string | undefined;
1543
+ }, {
1544
+ statusCode: number;
1545
+ message: string;
1546
+ code: string;
1547
+ timestamp: string;
1548
+ path: string;
1549
+ details?: unknown;
1550
+ correlationId?: string | undefined;
1551
+ }>;
1552
+ 401: z.ZodObject<{
1553
+ statusCode: z.ZodNumber;
1554
+ message: z.ZodString;
1555
+ code: z.ZodString;
1556
+ details: z.ZodOptional<z.ZodUnknown>;
1557
+ timestamp: z.ZodString;
1558
+ path: z.ZodString;
1559
+ correlationId: z.ZodOptional<z.ZodString>;
1560
+ }, "strip", z.ZodTypeAny, {
1561
+ statusCode: number;
1562
+ message: string;
1563
+ code: string;
1564
+ timestamp: string;
1565
+ path: string;
1566
+ details?: unknown;
1567
+ correlationId?: string | undefined;
1568
+ }, {
1569
+ statusCode: number;
1570
+ message: string;
1571
+ code: string;
1572
+ timestamp: string;
1573
+ path: string;
1574
+ details?: unknown;
1575
+ correlationId?: string | undefined;
1576
+ }>;
1577
+ 500: z.ZodObject<{
1578
+ statusCode: z.ZodNumber;
1579
+ message: z.ZodString;
1580
+ code: z.ZodString;
1581
+ details: z.ZodOptional<z.ZodUnknown>;
1582
+ timestamp: z.ZodString;
1583
+ path: z.ZodString;
1584
+ correlationId: z.ZodOptional<z.ZodString>;
1585
+ }, "strip", z.ZodTypeAny, {
1586
+ statusCode: number;
1587
+ message: string;
1588
+ code: string;
1589
+ timestamp: string;
1590
+ path: string;
1591
+ details?: unknown;
1592
+ correlationId?: string | undefined;
1593
+ }, {
1594
+ statusCode: number;
1595
+ message: string;
1596
+ code: string;
1597
+ timestamp: string;
1598
+ path: string;
1599
+ details?: unknown;
1600
+ correlationId?: string | undefined;
1601
+ }>;
1602
+ 201: z.ZodObject<{
1603
+ success: z.ZodBoolean;
1604
+ message: z.ZodString;
1605
+ executionId: z.ZodString;
1606
+ }, "strip", z.ZodTypeAny, {
1607
+ message: string;
1608
+ success: boolean;
1609
+ executionId: string;
1610
+ }, {
1611
+ message: string;
1612
+ success: boolean;
1613
+ executionId: string;
1614
+ }>;
1615
+ 403: z.ZodObject<{
1616
+ statusCode: z.ZodNumber;
1617
+ message: z.ZodString;
1618
+ code: z.ZodString;
1619
+ details: z.ZodOptional<z.ZodUnknown>;
1620
+ timestamp: z.ZodString;
1621
+ path: z.ZodString;
1622
+ correlationId: z.ZodOptional<z.ZodString>;
1623
+ }, "strip", z.ZodTypeAny, {
1624
+ statusCode: number;
1625
+ message: string;
1626
+ code: string;
1627
+ timestamp: string;
1628
+ path: string;
1629
+ details?: unknown;
1630
+ correlationId?: string | undefined;
1631
+ }, {
1632
+ statusCode: number;
1633
+ message: string;
1634
+ code: string;
1635
+ timestamp: string;
1636
+ path: string;
1637
+ details?: unknown;
1638
+ correlationId?: string | undefined;
1639
+ }>;
1640
+ };
1641
+ };
1642
+ };
1643
+ //# sourceMappingURL=cron-executions.contract.d.ts.map