@dakkitor/api-contracts 1.1.9 → 1.1.11

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 (92) hide show
  1. package/dist/actives/actives.contract.d.ts +263 -263
  2. package/dist/actives/actives.contract.d.ts.map +1 -1
  3. package/dist/actives/actives.contract.js +9 -17
  4. package/dist/agent-client-links/agent-client-links.contract.d.ts +1905 -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 +2183 -0
  11. package/dist/bookings/bookings.contract.d.ts.map +1 -0
  12. package/dist/bookings/bookings.contract.js +278 -0
  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 +421 -472
  17. package/dist/client-contacts/client-contacts.contract.d.ts.map +1 -1
  18. package/dist/client-contacts/client-contacts.contract.js +26 -15
  19. package/dist/clients/clients.contract.d.ts +336 -308
  20. package/dist/clients/clients.contract.d.ts.map +1 -1
  21. package/dist/clients/clients.contract.js +49 -52
  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 +120 -0
  29. package/dist/common/common-schemas.d.ts.map +1 -0
  30. package/dist/common/common-schemas.js +296 -0
  31. package/dist/common/error-schemas.d.ts +6 -6
  32. package/dist/common/openapi-metadata.d.ts +6 -0
  33. package/dist/common/openapi-metadata.d.ts.map +1 -1
  34. package/dist/common/pagination-query.schema.d.ts +17 -0
  35. package/dist/common/pagination-query.schema.d.ts.map +1 -0
  36. package/dist/common/pagination-query.schema.js +15 -0
  37. package/dist/common/pagination.schema.d.ts +2 -2
  38. package/dist/companies/companies.contract.d.ts +1108 -0
  39. package/dist/companies/companies.contract.d.ts.map +1 -0
  40. package/dist/companies/companies.contract.js +164 -0
  41. package/dist/cron-executions/cron-executions.contract.d.ts +1643 -0
  42. package/dist/cron-executions/cron-executions.contract.d.ts.map +1 -0
  43. package/dist/cron-executions/cron-executions.contract.js +271 -0
  44. package/dist/curated-workers/curated-workers.contract.d.ts +3183 -0
  45. package/dist/curated-workers/curated-workers.contract.d.ts.map +1 -0
  46. package/dist/curated-workers/curated-workers.contract.js +444 -0
  47. package/dist/dashboards/agent-daily-metrics.contract.d.ts +639 -0
  48. package/dist/dashboards/agent-daily-metrics.contract.d.ts.map +1 -0
  49. package/dist/dashboards/agent-daily-metrics.contract.js +118 -0
  50. package/dist/files/files.contract.d.ts +1258 -0
  51. package/dist/files/files.contract.d.ts.map +1 -0
  52. package/dist/files/files.contract.js +205 -0
  53. package/dist/health/health.contract.d.ts +161 -0
  54. package/dist/health/health.contract.d.ts.map +1 -0
  55. package/dist/health/health.contract.js +52 -0
  56. package/dist/index.d.ts +28596 -3088
  57. package/dist/index.d.ts.map +1 -1
  58. package/dist/index.js +68 -0
  59. package/dist/jobs/jobs.contract.d.ts +2303 -0
  60. package/dist/jobs/jobs.contract.d.ts.map +1 -0
  61. package/dist/jobs/jobs.contract.js +295 -0
  62. package/dist/lead-assignments/lead-assignments.contract.d.ts +1826 -0
  63. package/dist/lead-assignments/lead-assignments.contract.d.ts.map +1 -0
  64. package/dist/lead-assignments/lead-assignments.contract.js +187 -0
  65. package/dist/lead-distribution/agent-lead-distribution.contract.d.ts +1147 -0
  66. package/dist/lead-distribution/agent-lead-distribution.contract.d.ts.map +1 -0
  67. package/dist/lead-distribution/agent-lead-distribution.contract.js +154 -0
  68. package/dist/lead-distribution/lead-distribution-config.contract.d.ts +1085 -0
  69. package/dist/lead-distribution/lead-distribution-config.contract.d.ts.map +1 -0
  70. package/dist/lead-distribution/lead-distribution-config.contract.js +196 -0
  71. package/dist/leads/leads.contract.d.ts +1690 -0
  72. package/dist/leads/leads.contract.d.ts.map +1 -0
  73. package/dist/leads/leads.contract.js +328 -0
  74. package/dist/locations/locations.contract.d.ts +974 -0
  75. package/dist/locations/locations.contract.d.ts.map +1 -0
  76. package/dist/locations/locations.contract.js +154 -0
  77. package/dist/postcodes/postcodes.contract.d.ts +370 -0
  78. package/dist/postcodes/postcodes.contract.d.ts.map +1 -0
  79. package/dist/postcodes/postcodes.contract.js +90 -0
  80. package/dist/qualifications/qualifications.contract.d.ts +1489 -0
  81. package/dist/qualifications/qualifications.contract.d.ts.map +1 -0
  82. package/dist/qualifications/qualifications.contract.js +215 -0
  83. package/dist/trades/trades.contract.d.ts +799 -0
  84. package/dist/trades/trades.contract.d.ts.map +1 -0
  85. package/dist/trades/trades.contract.js +112 -0
  86. package/dist/users/users.contract.d.ts +315 -299
  87. package/dist/users/users.contract.d.ts.map +1 -1
  88. package/dist/users/users.contract.js +13 -29
  89. package/dist/workers/workers.contract.d.ts +3376 -0
  90. package/dist/workers/workers.contract.d.ts.map +1 -0
  91. package/dist/workers/workers.contract.js +363 -0
  92. 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
+ limit: number;
231
+ items: {
232
+ status: string;
233
+ id: string;
234
+ startedAt: string;
235
+ jobName: string;
236
+ completedAt?: string | null | undefined;
237
+ durationMs?: number | null | undefined;
238
+ recordsProcessed?: number | null | undefined;
239
+ recordsCreated?: number | null | undefined;
240
+ recordsDeleted?: number | null | undefined;
241
+ errorMessage?: string | null | undefined;
242
+ }[];
243
+ totalCount: number;
244
+ skip: number;
245
+ currentPage: number;
246
+ totalPages: number;
247
+ }, {
248
+ limit: number;
249
+ items: {
250
+ status: string;
251
+ id: string;
252
+ startedAt: string;
253
+ jobName: string;
254
+ completedAt?: string | null | undefined;
255
+ durationMs?: number | null | undefined;
256
+ recordsProcessed?: number | null | undefined;
257
+ recordsCreated?: number | null | undefined;
258
+ recordsDeleted?: number | null | undefined;
259
+ errorMessage?: string | null | undefined;
260
+ }[];
261
+ totalCount: 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
+ limit: number;
336
+ items: {
337
+ jobName: string;
338
+ lastExecutionAt: string;
339
+ isOverdue: boolean;
340
+ lastStatus: string;
341
+ executionsInLast24Hours: number;
342
+ metadata?: z.objectOutputType<{
343
+ recordsProcessed: z.ZodOptional<z.ZodNumber>;
344
+ recordsCreated: z.ZodOptional<z.ZodNumber>;
345
+ recordsDeleted: z.ZodOptional<z.ZodNumber>;
346
+ duration: z.ZodOptional<z.ZodString>;
347
+ durationMs: z.ZodOptional<z.ZodNumber>;
348
+ error: z.ZodOptional<z.ZodString>;
349
+ warnings: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
350
+ }, z.ZodUnknown, "strip"> | undefined;
351
+ }[];
352
+ totalCount: number;
353
+ skip: number;
354
+ currentPage: number;
355
+ totalPages: number;
356
+ }, {
357
+ limit: number;
358
+ items: {
359
+ jobName: string;
360
+ lastExecutionAt: string;
361
+ isOverdue: boolean;
362
+ lastStatus: string;
363
+ executionsInLast24Hours: number;
364
+ metadata?: z.objectInputType<{
365
+ recordsProcessed: z.ZodOptional<z.ZodNumber>;
366
+ recordsCreated: z.ZodOptional<z.ZodNumber>;
367
+ recordsDeleted: z.ZodOptional<z.ZodNumber>;
368
+ duration: z.ZodOptional<z.ZodString>;
369
+ durationMs: z.ZodOptional<z.ZodNumber>;
370
+ error: z.ZodOptional<z.ZodString>;
371
+ warnings: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
372
+ }, z.ZodUnknown, "strip"> | undefined;
373
+ }[];
374
+ totalCount: 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
+ code: string;
436
+ path: string;
437
+ message: string;
438
+ statusCode: number;
439
+ timestamp: string;
440
+ details?: unknown;
441
+ correlationId?: string | undefined;
442
+ }, {
443
+ code: string;
444
+ path: string;
445
+ message: string;
446
+ statusCode: number;
447
+ timestamp: 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
+ code: string;
461
+ path: string;
462
+ message: string;
463
+ statusCode: number;
464
+ timestamp: string;
465
+ details?: unknown;
466
+ correlationId?: string | undefined;
467
+ }, {
468
+ code: string;
469
+ path: string;
470
+ message: string;
471
+ statusCode: number;
472
+ timestamp: 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
+ code: string;
486
+ path: string;
487
+ message: string;
488
+ statusCode: number;
489
+ timestamp: string;
490
+ details?: unknown;
491
+ correlationId?: string | undefined;
492
+ }, {
493
+ code: string;
494
+ path: string;
495
+ message: string;
496
+ statusCode: number;
497
+ timestamp: 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
+ limit: number;
543
+ items: {
544
+ status: string;
545
+ id: string;
546
+ startedAt: string;
547
+ jobName: string;
548
+ completedAt?: string | null | undefined;
549
+ durationMs?: number | null | undefined;
550
+ recordsProcessed?: number | null | undefined;
551
+ recordsCreated?: number | null | undefined;
552
+ recordsDeleted?: number | null | undefined;
553
+ errorMessage?: string | null | undefined;
554
+ }[];
555
+ totalCount: number;
556
+ skip: number;
557
+ currentPage: number;
558
+ totalPages: number;
559
+ }, {
560
+ limit: number;
561
+ items: {
562
+ status: string;
563
+ id: string;
564
+ startedAt: string;
565
+ jobName: string;
566
+ completedAt?: string | null | undefined;
567
+ durationMs?: number | null | undefined;
568
+ recordsProcessed?: number | null | undefined;
569
+ recordsCreated?: number | null | undefined;
570
+ recordsDeleted?: number | null | undefined;
571
+ errorMessage?: string | null | undefined;
572
+ }[];
573
+ totalCount: 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
+ code: string;
588
+ path: string;
589
+ message: string;
590
+ statusCode: number;
591
+ timestamp: string;
592
+ details?: unknown;
593
+ correlationId?: string | undefined;
594
+ }, {
595
+ code: string;
596
+ path: string;
597
+ message: string;
598
+ statusCode: number;
599
+ timestamp: 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
+ code: string;
623
+ path: string;
624
+ message: string;
625
+ statusCode: number;
626
+ timestamp: string;
627
+ details?: unknown;
628
+ correlationId?: string | undefined;
629
+ }, {
630
+ code: string;
631
+ path: string;
632
+ message: string;
633
+ statusCode: number;
634
+ timestamp: 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
+ code: string;
648
+ path: string;
649
+ message: string;
650
+ statusCode: number;
651
+ timestamp: string;
652
+ details?: unknown;
653
+ correlationId?: string | undefined;
654
+ }, {
655
+ code: string;
656
+ path: string;
657
+ message: string;
658
+ statusCode: number;
659
+ timestamp: 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
+ code: string;
673
+ path: string;
674
+ message: string;
675
+ statusCode: number;
676
+ timestamp: string;
677
+ details?: unknown;
678
+ correlationId?: string | undefined;
679
+ }, {
680
+ code: string;
681
+ path: string;
682
+ message: string;
683
+ statusCode: number;
684
+ timestamp: 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
+ code: string;
720
+ path: string;
721
+ message: string;
722
+ statusCode: number;
723
+ timestamp: string;
724
+ details?: unknown;
725
+ correlationId?: string | undefined;
726
+ }, {
727
+ code: string;
728
+ path: string;
729
+ message: string;
730
+ statusCode: number;
731
+ timestamp: 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
+ code: string;
765
+ path: string;
766
+ message: string;
767
+ statusCode: number;
768
+ timestamp: string;
769
+ details?: unknown;
770
+ correlationId?: string | undefined;
771
+ }, {
772
+ code: string;
773
+ path: string;
774
+ message: string;
775
+ statusCode: number;
776
+ timestamp: 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
+ code: string;
790
+ path: string;
791
+ message: string;
792
+ statusCode: number;
793
+ timestamp: string;
794
+ details?: unknown;
795
+ correlationId?: string | undefined;
796
+ }, {
797
+ code: string;
798
+ path: string;
799
+ message: string;
800
+ statusCode: number;
801
+ timestamp: 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
+ code: string;
815
+ path: string;
816
+ message: string;
817
+ statusCode: number;
818
+ timestamp: string;
819
+ details?: unknown;
820
+ correlationId?: string | undefined;
821
+ }, {
822
+ code: string;
823
+ path: string;
824
+ message: string;
825
+ statusCode: number;
826
+ timestamp: 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
+ limit: number;
900
+ items: {
901
+ jobName: string;
902
+ lastExecutionAt: string;
903
+ isOverdue: boolean;
904
+ lastStatus: string;
905
+ executionsInLast24Hours: number;
906
+ metadata?: z.objectOutputType<{
907
+ recordsProcessed: z.ZodOptional<z.ZodNumber>;
908
+ recordsCreated: z.ZodOptional<z.ZodNumber>;
909
+ recordsDeleted: z.ZodOptional<z.ZodNumber>;
910
+ duration: z.ZodOptional<z.ZodString>;
911
+ durationMs: z.ZodOptional<z.ZodNumber>;
912
+ error: z.ZodOptional<z.ZodString>;
913
+ warnings: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
914
+ }, z.ZodUnknown, "strip"> | undefined;
915
+ }[];
916
+ totalCount: number;
917
+ skip: number;
918
+ currentPage: number;
919
+ totalPages: number;
920
+ }, {
921
+ limit: number;
922
+ items: {
923
+ jobName: string;
924
+ lastExecutionAt: string;
925
+ isOverdue: boolean;
926
+ lastStatus: string;
927
+ executionsInLast24Hours: number;
928
+ metadata?: z.objectInputType<{
929
+ recordsProcessed: z.ZodOptional<z.ZodNumber>;
930
+ recordsCreated: z.ZodOptional<z.ZodNumber>;
931
+ recordsDeleted: z.ZodOptional<z.ZodNumber>;
932
+ duration: z.ZodOptional<z.ZodString>;
933
+ durationMs: z.ZodOptional<z.ZodNumber>;
934
+ error: z.ZodOptional<z.ZodString>;
935
+ warnings: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
936
+ }, z.ZodUnknown, "strip"> | undefined;
937
+ }[];
938
+ totalCount: 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
+ code: string;
953
+ path: string;
954
+ message: string;
955
+ statusCode: number;
956
+ timestamp: string;
957
+ details?: unknown;
958
+ correlationId?: string | undefined;
959
+ }, {
960
+ code: string;
961
+ path: string;
962
+ message: string;
963
+ statusCode: number;
964
+ timestamp: 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
+ code: string;
995
+ path: string;
996
+ message: string;
997
+ statusCode: number;
998
+ timestamp: string;
999
+ details?: unknown;
1000
+ correlationId?: string | undefined;
1001
+ }, {
1002
+ code: string;
1003
+ path: string;
1004
+ message: string;
1005
+ statusCode: number;
1006
+ timestamp: 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
+ code: string;
1020
+ path: string;
1021
+ message: string;
1022
+ statusCode: number;
1023
+ timestamp: string;
1024
+ details?: unknown;
1025
+ correlationId?: string | undefined;
1026
+ }, {
1027
+ code: string;
1028
+ path: string;
1029
+ message: string;
1030
+ statusCode: number;
1031
+ timestamp: 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
+ code: string;
1045
+ path: string;
1046
+ message: string;
1047
+ statusCode: number;
1048
+ timestamp: string;
1049
+ details?: unknown;
1050
+ correlationId?: string | undefined;
1051
+ }, {
1052
+ code: string;
1053
+ path: string;
1054
+ message: string;
1055
+ statusCode: number;
1056
+ timestamp: 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
+ code: string;
1104
+ path: string;
1105
+ message: string;
1106
+ statusCode: number;
1107
+ timestamp: string;
1108
+ details?: unknown;
1109
+ correlationId?: string | undefined;
1110
+ }, {
1111
+ code: string;
1112
+ path: string;
1113
+ message: string;
1114
+ statusCode: number;
1115
+ timestamp: 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
+ code: string;
1129
+ path: string;
1130
+ message: string;
1131
+ statusCode: number;
1132
+ timestamp: string;
1133
+ details?: unknown;
1134
+ correlationId?: string | undefined;
1135
+ }, {
1136
+ code: string;
1137
+ path: string;
1138
+ message: string;
1139
+ statusCode: number;
1140
+ timestamp: 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
+ code: string;
1165
+ path: string;
1166
+ message: string;
1167
+ statusCode: number;
1168
+ timestamp: string;
1169
+ details?: unknown;
1170
+ correlationId?: string | undefined;
1171
+ }, {
1172
+ code: string;
1173
+ path: string;
1174
+ message: string;
1175
+ statusCode: number;
1176
+ timestamp: 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
+ code: string;
1190
+ path: string;
1191
+ message: string;
1192
+ statusCode: number;
1193
+ timestamp: string;
1194
+ details?: unknown;
1195
+ correlationId?: string | undefined;
1196
+ }, {
1197
+ code: string;
1198
+ path: string;
1199
+ message: string;
1200
+ statusCode: number;
1201
+ timestamp: 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
+ code: string;
1215
+ path: string;
1216
+ message: string;
1217
+ statusCode: number;
1218
+ timestamp: string;
1219
+ details?: unknown;
1220
+ correlationId?: string | undefined;
1221
+ }, {
1222
+ code: string;
1223
+ path: string;
1224
+ message: string;
1225
+ statusCode: number;
1226
+ timestamp: 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
+ code: string;
1253
+ path: string;
1254
+ message: string;
1255
+ statusCode: number;
1256
+ timestamp: string;
1257
+ details?: unknown;
1258
+ correlationId?: string | undefined;
1259
+ }, {
1260
+ code: string;
1261
+ path: string;
1262
+ message: string;
1263
+ statusCode: number;
1264
+ timestamp: 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
+ code: string;
1289
+ path: string;
1290
+ message: string;
1291
+ statusCode: number;
1292
+ timestamp: string;
1293
+ details?: unknown;
1294
+ correlationId?: string | undefined;
1295
+ }, {
1296
+ code: string;
1297
+ path: string;
1298
+ message: string;
1299
+ statusCode: number;
1300
+ timestamp: 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
+ code: string;
1314
+ path: string;
1315
+ message: string;
1316
+ statusCode: number;
1317
+ timestamp: string;
1318
+ details?: unknown;
1319
+ correlationId?: string | undefined;
1320
+ }, {
1321
+ code: string;
1322
+ path: string;
1323
+ message: string;
1324
+ statusCode: number;
1325
+ timestamp: 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
+ code: string;
1339
+ path: string;
1340
+ message: string;
1341
+ statusCode: number;
1342
+ timestamp: string;
1343
+ details?: unknown;
1344
+ correlationId?: string | undefined;
1345
+ }, {
1346
+ code: string;
1347
+ path: string;
1348
+ message: string;
1349
+ statusCode: number;
1350
+ timestamp: 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
+ code: string;
1377
+ path: string;
1378
+ message: string;
1379
+ statusCode: number;
1380
+ timestamp: string;
1381
+ details?: unknown;
1382
+ correlationId?: string | undefined;
1383
+ }, {
1384
+ code: string;
1385
+ path: string;
1386
+ message: string;
1387
+ statusCode: number;
1388
+ timestamp: 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
+ code: string;
1413
+ path: string;
1414
+ message: string;
1415
+ statusCode: number;
1416
+ timestamp: string;
1417
+ details?: unknown;
1418
+ correlationId?: string | undefined;
1419
+ }, {
1420
+ code: string;
1421
+ path: string;
1422
+ message: string;
1423
+ statusCode: number;
1424
+ timestamp: 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
+ code: string;
1438
+ path: string;
1439
+ message: string;
1440
+ statusCode: number;
1441
+ timestamp: string;
1442
+ details?: unknown;
1443
+ correlationId?: string | undefined;
1444
+ }, {
1445
+ code: string;
1446
+ path: string;
1447
+ message: string;
1448
+ statusCode: number;
1449
+ timestamp: 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
+ code: string;
1463
+ path: string;
1464
+ message: string;
1465
+ statusCode: number;
1466
+ timestamp: string;
1467
+ details?: unknown;
1468
+ correlationId?: string | undefined;
1469
+ }, {
1470
+ code: string;
1471
+ path: string;
1472
+ message: string;
1473
+ statusCode: number;
1474
+ timestamp: 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
+ code: string;
1501
+ path: string;
1502
+ message: string;
1503
+ statusCode: number;
1504
+ timestamp: string;
1505
+ details?: unknown;
1506
+ correlationId?: string | undefined;
1507
+ }, {
1508
+ code: string;
1509
+ path: string;
1510
+ message: string;
1511
+ statusCode: number;
1512
+ timestamp: 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
+ code: string;
1537
+ path: string;
1538
+ message: string;
1539
+ statusCode: number;
1540
+ timestamp: string;
1541
+ details?: unknown;
1542
+ correlationId?: string | undefined;
1543
+ }, {
1544
+ code: string;
1545
+ path: string;
1546
+ message: string;
1547
+ statusCode: number;
1548
+ timestamp: 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
+ code: string;
1562
+ path: string;
1563
+ message: string;
1564
+ statusCode: number;
1565
+ timestamp: string;
1566
+ details?: unknown;
1567
+ correlationId?: string | undefined;
1568
+ }, {
1569
+ code: string;
1570
+ path: string;
1571
+ message: string;
1572
+ statusCode: number;
1573
+ timestamp: 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
+ code: string;
1587
+ path: string;
1588
+ message: string;
1589
+ statusCode: number;
1590
+ timestamp: string;
1591
+ details?: unknown;
1592
+ correlationId?: string | undefined;
1593
+ }, {
1594
+ code: string;
1595
+ path: string;
1596
+ message: string;
1597
+ statusCode: number;
1598
+ timestamp: 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
+ code: string;
1625
+ path: string;
1626
+ message: string;
1627
+ statusCode: number;
1628
+ timestamp: string;
1629
+ details?: unknown;
1630
+ correlationId?: string | undefined;
1631
+ }, {
1632
+ code: string;
1633
+ path: string;
1634
+ message: string;
1635
+ statusCode: number;
1636
+ timestamp: string;
1637
+ details?: unknown;
1638
+ correlationId?: string | undefined;
1639
+ }>;
1640
+ };
1641
+ };
1642
+ };
1643
+ //# sourceMappingURL=cron-executions.contract.d.ts.map