@dakkitor/api-contracts 1.1.128 → 1.1.129
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.
- package/dist/abilities/admin.abilities.json +4 -0
- package/dist/abilities/kpi.abilities.json +9 -0
- package/dist/actives/actives.contract.d.ts +4811 -3339
- package/dist/actives/actives.contract.d.ts.map +1 -1
- package/dist/agent-client-links/agent-client-links.contract.d.ts +721 -351
- package/dist/agent-client-links/agent-client-links.contract.d.ts.map +1 -1
- package/dist/auth/auth.contract.d.ts +16 -16
- package/dist/bookings/bookings.contract.d.ts +18386 -12658
- package/dist/bookings/bookings.contract.d.ts.map +1 -1
- package/dist/call-history/call-history.contract.d.ts +706 -428
- package/dist/call-history/call-history.contract.d.ts.map +1 -1
- package/dist/client-contacts/client-contacts.contract.d.ts +356 -356
- package/dist/clients/clients.contract.d.ts +106 -106
- package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts +1813 -1197
- package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts.map +1 -1
- package/dist/collaborations/collaborations.contract.d.ts +1629 -1024
- package/dist/collaborations/collaborations.contract.d.ts.map +1 -1
- package/dist/curated-workers/curated-workers.contract.d.ts +350 -350
- package/dist/dashboards/dashboard-widgets.contract.d.ts +52 -52
- package/dist/dashboards/dashboard.contract.d.ts +26 -26
- package/dist/jobs/jobs.contract.d.ts +3290 -2230
- package/dist/jobs/jobs.contract.d.ts.map +1 -1
- package/dist/lead-assignments/lead-assignments.contract.d.ts +636 -332
- package/dist/lead-assignments/lead-assignments.contract.d.ts.map +1 -1
- package/dist/lead-distribution/agent-lead-distribution.contract.d.ts +296 -144
- package/dist/lead-distribution/agent-lead-distribution.contract.d.ts.map +1 -1
- package/dist/leads/leads.contract.d.ts +122 -122
- package/dist/monitoring/monitoring.contract.d.ts +138 -138
- package/dist/users/users.contract.d.ts +322 -158
- package/dist/users/users.contract.d.ts.map +1 -1
- package/dist/users/users.contract.js +133 -125
- package/dist/workers/workers.contract.d.ts +630 -412
- package/dist/workers/workers.contract.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -8,19 +8,19 @@ export declare const LogEntrySchema: z.ZodObject<{
|
|
|
8
8
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
9
9
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
10
10
|
}, "strip", z.ZodTypeAny, {
|
|
11
|
-
timestamp: string;
|
|
12
|
-
level: "error" | "warn" | "info" | "debug";
|
|
13
11
|
message: string;
|
|
14
|
-
|
|
15
|
-
|
|
12
|
+
timestamp: string;
|
|
13
|
+
level: "error" | "info" | "warn" | "debug";
|
|
16
14
|
metadata?: Record<string, unknown> | undefined;
|
|
15
|
+
correlationId?: string | undefined;
|
|
16
|
+
context?: string | undefined;
|
|
17
17
|
}, {
|
|
18
|
-
timestamp: string;
|
|
19
|
-
level: "error" | "warn" | "info" | "debug";
|
|
20
18
|
message: string;
|
|
21
|
-
|
|
22
|
-
|
|
19
|
+
timestamp: string;
|
|
20
|
+
level: "error" | "info" | "warn" | "debug";
|
|
23
21
|
metadata?: Record<string, unknown> | undefined;
|
|
22
|
+
correlationId?: string | undefined;
|
|
23
|
+
context?: string | undefined;
|
|
24
24
|
}>;
|
|
25
25
|
export declare const SlowestEndpointSchema: z.ZodObject<{
|
|
26
26
|
route: z.ZodString;
|
|
@@ -29,17 +29,17 @@ export declare const SlowestEndpointSchema: z.ZodObject<{
|
|
|
29
29
|
p95DurationMs: z.ZodNumber;
|
|
30
30
|
count: z.ZodNumber;
|
|
31
31
|
}, "strip", z.ZodTypeAny, {
|
|
32
|
-
route: string;
|
|
33
32
|
method: string;
|
|
33
|
+
count: number;
|
|
34
|
+
route: string;
|
|
34
35
|
avgDurationMs: number;
|
|
35
36
|
p95DurationMs: number;
|
|
36
|
-
count: number;
|
|
37
37
|
}, {
|
|
38
|
-
route: string;
|
|
39
38
|
method: string;
|
|
39
|
+
count: number;
|
|
40
|
+
route: string;
|
|
40
41
|
avgDurationMs: number;
|
|
41
42
|
p95DurationMs: number;
|
|
42
|
-
count: number;
|
|
43
43
|
}>;
|
|
44
44
|
export declare const MetricsSummarySchema: z.ZodObject<{
|
|
45
45
|
totalRequests: z.ZodNumber;
|
|
@@ -53,17 +53,17 @@ export declare const MetricsSummarySchema: z.ZodObject<{
|
|
|
53
53
|
p95DurationMs: z.ZodNumber;
|
|
54
54
|
count: z.ZodNumber;
|
|
55
55
|
}, "strip", z.ZodTypeAny, {
|
|
56
|
-
route: string;
|
|
57
56
|
method: string;
|
|
57
|
+
count: number;
|
|
58
|
+
route: string;
|
|
58
59
|
avgDurationMs: number;
|
|
59
60
|
p95DurationMs: number;
|
|
60
|
-
count: number;
|
|
61
61
|
}, {
|
|
62
|
-
route: string;
|
|
63
62
|
method: string;
|
|
63
|
+
count: number;
|
|
64
|
+
route: string;
|
|
64
65
|
avgDurationMs: number;
|
|
65
66
|
p95DurationMs: number;
|
|
66
|
-
count: number;
|
|
67
67
|
}>, "many">;
|
|
68
68
|
timestamp: z.ZodString;
|
|
69
69
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -73,11 +73,11 @@ export declare const MetricsSummarySchema: z.ZodObject<{
|
|
|
73
73
|
avgResponseTimeMs: number;
|
|
74
74
|
requestsPerMinute: number;
|
|
75
75
|
slowestEndpoints: {
|
|
76
|
-
route: string;
|
|
77
76
|
method: string;
|
|
77
|
+
count: number;
|
|
78
|
+
route: string;
|
|
78
79
|
avgDurationMs: number;
|
|
79
80
|
p95DurationMs: number;
|
|
80
|
-
count: number;
|
|
81
81
|
}[];
|
|
82
82
|
}, {
|
|
83
83
|
timestamp: string;
|
|
@@ -86,11 +86,11 @@ export declare const MetricsSummarySchema: z.ZodObject<{
|
|
|
86
86
|
avgResponseTimeMs: number;
|
|
87
87
|
requestsPerMinute: number;
|
|
88
88
|
slowestEndpoints: {
|
|
89
|
-
route: string;
|
|
90
89
|
method: string;
|
|
90
|
+
count: number;
|
|
91
|
+
route: string;
|
|
91
92
|
avgDurationMs: number;
|
|
92
93
|
p95DurationMs: number;
|
|
93
|
-
count: number;
|
|
94
94
|
}[];
|
|
95
95
|
}>;
|
|
96
96
|
export type LogLevel = z.infer<typeof LogLevelSchema>;
|
|
@@ -105,8 +105,8 @@ export declare const monitoringContract: {
|
|
|
105
105
|
operationId: string;
|
|
106
106
|
};
|
|
107
107
|
};
|
|
108
|
-
method: "GET";
|
|
109
108
|
summary: "Get monitoring metrics";
|
|
109
|
+
method: "GET";
|
|
110
110
|
path: "/v2/monitoring/metrics";
|
|
111
111
|
responses: {
|
|
112
112
|
400: z.ZodObject<{
|
|
@@ -118,21 +118,21 @@ export declare const monitoringContract: {
|
|
|
118
118
|
path: z.ZodString;
|
|
119
119
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
120
120
|
}, "strip", z.ZodTypeAny, {
|
|
121
|
-
timestamp: string;
|
|
122
|
-
message: string;
|
|
123
121
|
code: string;
|
|
124
122
|
path: string;
|
|
123
|
+
message: string;
|
|
125
124
|
statusCode: number;
|
|
126
|
-
|
|
125
|
+
timestamp: string;
|
|
127
126
|
details?: unknown;
|
|
127
|
+
correlationId?: string | undefined;
|
|
128
128
|
}, {
|
|
129
|
-
timestamp: string;
|
|
130
|
-
message: string;
|
|
131
129
|
code: string;
|
|
132
130
|
path: string;
|
|
131
|
+
message: string;
|
|
133
132
|
statusCode: number;
|
|
134
|
-
|
|
133
|
+
timestamp: string;
|
|
135
134
|
details?: unknown;
|
|
135
|
+
correlationId?: string | undefined;
|
|
136
136
|
}>;
|
|
137
137
|
401: z.ZodObject<{
|
|
138
138
|
statusCode: z.ZodNumber;
|
|
@@ -143,21 +143,21 @@ export declare const monitoringContract: {
|
|
|
143
143
|
path: z.ZodString;
|
|
144
144
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
145
145
|
}, "strip", z.ZodTypeAny, {
|
|
146
|
-
timestamp: string;
|
|
147
|
-
message: string;
|
|
148
146
|
code: string;
|
|
149
147
|
path: string;
|
|
148
|
+
message: string;
|
|
150
149
|
statusCode: number;
|
|
151
|
-
|
|
150
|
+
timestamp: string;
|
|
152
151
|
details?: unknown;
|
|
152
|
+
correlationId?: string | undefined;
|
|
153
153
|
}, {
|
|
154
|
-
timestamp: string;
|
|
155
|
-
message: string;
|
|
156
154
|
code: string;
|
|
157
155
|
path: string;
|
|
156
|
+
message: string;
|
|
158
157
|
statusCode: number;
|
|
159
|
-
|
|
158
|
+
timestamp: string;
|
|
160
159
|
details?: unknown;
|
|
160
|
+
correlationId?: string | undefined;
|
|
161
161
|
}>;
|
|
162
162
|
403: z.ZodObject<{
|
|
163
163
|
statusCode: z.ZodNumber;
|
|
@@ -168,21 +168,21 @@ export declare const monitoringContract: {
|
|
|
168
168
|
path: z.ZodString;
|
|
169
169
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
170
170
|
}, "strip", z.ZodTypeAny, {
|
|
171
|
-
timestamp: string;
|
|
172
|
-
message: string;
|
|
173
171
|
code: string;
|
|
174
172
|
path: string;
|
|
173
|
+
message: string;
|
|
175
174
|
statusCode: number;
|
|
176
|
-
|
|
175
|
+
timestamp: string;
|
|
177
176
|
details?: unknown;
|
|
177
|
+
correlationId?: string | undefined;
|
|
178
178
|
}, {
|
|
179
|
-
timestamp: string;
|
|
180
|
-
message: string;
|
|
181
179
|
code: string;
|
|
182
180
|
path: string;
|
|
181
|
+
message: string;
|
|
183
182
|
statusCode: number;
|
|
184
|
-
|
|
183
|
+
timestamp: string;
|
|
185
184
|
details?: unknown;
|
|
185
|
+
correlationId?: string | undefined;
|
|
186
186
|
}>;
|
|
187
187
|
500: z.ZodObject<{
|
|
188
188
|
statusCode: z.ZodNumber;
|
|
@@ -193,21 +193,21 @@ export declare const monitoringContract: {
|
|
|
193
193
|
path: z.ZodString;
|
|
194
194
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
195
195
|
}, "strip", z.ZodTypeAny, {
|
|
196
|
-
timestamp: string;
|
|
197
|
-
message: string;
|
|
198
196
|
code: string;
|
|
199
197
|
path: string;
|
|
198
|
+
message: string;
|
|
200
199
|
statusCode: number;
|
|
201
|
-
|
|
200
|
+
timestamp: string;
|
|
202
201
|
details?: unknown;
|
|
202
|
+
correlationId?: string | undefined;
|
|
203
203
|
}, {
|
|
204
|
-
timestamp: string;
|
|
205
|
-
message: string;
|
|
206
204
|
code: string;
|
|
207
205
|
path: string;
|
|
206
|
+
message: string;
|
|
208
207
|
statusCode: number;
|
|
209
|
-
|
|
208
|
+
timestamp: string;
|
|
210
209
|
details?: unknown;
|
|
210
|
+
correlationId?: string | undefined;
|
|
211
211
|
}>;
|
|
212
212
|
200: z.ZodObject<{
|
|
213
213
|
totalRequests: z.ZodNumber;
|
|
@@ -221,17 +221,17 @@ export declare const monitoringContract: {
|
|
|
221
221
|
p95DurationMs: z.ZodNumber;
|
|
222
222
|
count: z.ZodNumber;
|
|
223
223
|
}, "strip", z.ZodTypeAny, {
|
|
224
|
-
route: string;
|
|
225
224
|
method: string;
|
|
225
|
+
count: number;
|
|
226
|
+
route: string;
|
|
226
227
|
avgDurationMs: number;
|
|
227
228
|
p95DurationMs: number;
|
|
228
|
-
count: number;
|
|
229
229
|
}, {
|
|
230
|
-
route: string;
|
|
231
230
|
method: string;
|
|
231
|
+
count: number;
|
|
232
|
+
route: string;
|
|
232
233
|
avgDurationMs: number;
|
|
233
234
|
p95DurationMs: number;
|
|
234
|
-
count: number;
|
|
235
235
|
}>, "many">;
|
|
236
236
|
timestamp: z.ZodString;
|
|
237
237
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -241,11 +241,11 @@ export declare const monitoringContract: {
|
|
|
241
241
|
avgResponseTimeMs: number;
|
|
242
242
|
requestsPerMinute: number;
|
|
243
243
|
slowestEndpoints: {
|
|
244
|
-
route: string;
|
|
245
244
|
method: string;
|
|
245
|
+
count: number;
|
|
246
|
+
route: string;
|
|
246
247
|
avgDurationMs: number;
|
|
247
248
|
p95DurationMs: number;
|
|
248
|
-
count: number;
|
|
249
249
|
}[];
|
|
250
250
|
}, {
|
|
251
251
|
timestamp: string;
|
|
@@ -254,11 +254,11 @@ export declare const monitoringContract: {
|
|
|
254
254
|
avgResponseTimeMs: number;
|
|
255
255
|
requestsPerMinute: number;
|
|
256
256
|
slowestEndpoints: {
|
|
257
|
-
route: string;
|
|
258
257
|
method: string;
|
|
258
|
+
count: number;
|
|
259
|
+
route: string;
|
|
259
260
|
avgDurationMs: number;
|
|
260
261
|
p95DurationMs: number;
|
|
261
|
-
count: number;
|
|
262
262
|
}[];
|
|
263
263
|
}>;
|
|
264
264
|
};
|
|
@@ -270,7 +270,6 @@ export declare const monitoringContract: {
|
|
|
270
270
|
operationId: string;
|
|
271
271
|
};
|
|
272
272
|
};
|
|
273
|
-
method: "GET";
|
|
274
273
|
query: z.ZodObject<{
|
|
275
274
|
level: z.ZodOptional<z.ZodEnum<["error", "warn", "info", "debug"]>>;
|
|
276
275
|
search: z.ZodOptional<z.ZodString>;
|
|
@@ -280,20 +279,21 @@ export declare const monitoringContract: {
|
|
|
280
279
|
cursor: z.ZodOptional<z.ZodString>;
|
|
281
280
|
}, "strip", z.ZodTypeAny, {
|
|
282
281
|
limit: number;
|
|
283
|
-
level?: "error" | "warn" | "info" | "debug" | undefined;
|
|
284
282
|
search?: string | undefined;
|
|
283
|
+
level?: "error" | "info" | "warn" | "debug" | undefined;
|
|
285
284
|
startTime?: string | undefined;
|
|
286
285
|
endTime?: string | undefined;
|
|
287
286
|
cursor?: string | undefined;
|
|
288
287
|
}, {
|
|
289
|
-
|
|
288
|
+
limit?: number | undefined;
|
|
290
289
|
search?: string | undefined;
|
|
290
|
+
level?: "error" | "info" | "warn" | "debug" | undefined;
|
|
291
291
|
startTime?: string | undefined;
|
|
292
292
|
endTime?: string | undefined;
|
|
293
|
-
limit?: number | undefined;
|
|
294
293
|
cursor?: string | undefined;
|
|
295
294
|
}>;
|
|
296
295
|
summary: "Get monitoring logs";
|
|
296
|
+
method: "GET";
|
|
297
297
|
path: "/v2/monitoring/logs";
|
|
298
298
|
responses: {
|
|
299
299
|
400: z.ZodObject<{
|
|
@@ -305,21 +305,21 @@ export declare const monitoringContract: {
|
|
|
305
305
|
path: z.ZodString;
|
|
306
306
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
307
307
|
}, "strip", z.ZodTypeAny, {
|
|
308
|
-
timestamp: string;
|
|
309
|
-
message: string;
|
|
310
308
|
code: string;
|
|
311
309
|
path: string;
|
|
310
|
+
message: string;
|
|
312
311
|
statusCode: number;
|
|
313
|
-
|
|
312
|
+
timestamp: string;
|
|
314
313
|
details?: unknown;
|
|
314
|
+
correlationId?: string | undefined;
|
|
315
315
|
}, {
|
|
316
|
-
timestamp: string;
|
|
317
|
-
message: string;
|
|
318
316
|
code: string;
|
|
319
317
|
path: string;
|
|
318
|
+
message: string;
|
|
320
319
|
statusCode: number;
|
|
321
|
-
|
|
320
|
+
timestamp: string;
|
|
322
321
|
details?: unknown;
|
|
322
|
+
correlationId?: string | undefined;
|
|
323
323
|
}>;
|
|
324
324
|
401: z.ZodObject<{
|
|
325
325
|
statusCode: z.ZodNumber;
|
|
@@ -330,21 +330,21 @@ export declare const monitoringContract: {
|
|
|
330
330
|
path: z.ZodString;
|
|
331
331
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
332
332
|
}, "strip", z.ZodTypeAny, {
|
|
333
|
-
timestamp: string;
|
|
334
|
-
message: string;
|
|
335
333
|
code: string;
|
|
336
334
|
path: string;
|
|
335
|
+
message: string;
|
|
337
336
|
statusCode: number;
|
|
338
|
-
|
|
337
|
+
timestamp: string;
|
|
339
338
|
details?: unknown;
|
|
339
|
+
correlationId?: string | undefined;
|
|
340
340
|
}, {
|
|
341
|
-
timestamp: string;
|
|
342
|
-
message: string;
|
|
343
341
|
code: string;
|
|
344
342
|
path: string;
|
|
343
|
+
message: string;
|
|
345
344
|
statusCode: number;
|
|
346
|
-
|
|
345
|
+
timestamp: string;
|
|
347
346
|
details?: unknown;
|
|
347
|
+
correlationId?: string | undefined;
|
|
348
348
|
}>;
|
|
349
349
|
403: z.ZodObject<{
|
|
350
350
|
statusCode: z.ZodNumber;
|
|
@@ -355,21 +355,21 @@ export declare const monitoringContract: {
|
|
|
355
355
|
path: z.ZodString;
|
|
356
356
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
357
357
|
}, "strip", z.ZodTypeAny, {
|
|
358
|
-
timestamp: string;
|
|
359
|
-
message: string;
|
|
360
358
|
code: string;
|
|
361
359
|
path: string;
|
|
360
|
+
message: string;
|
|
362
361
|
statusCode: number;
|
|
363
|
-
|
|
362
|
+
timestamp: string;
|
|
364
363
|
details?: unknown;
|
|
364
|
+
correlationId?: string | undefined;
|
|
365
365
|
}, {
|
|
366
|
-
timestamp: string;
|
|
367
|
-
message: string;
|
|
368
366
|
code: string;
|
|
369
367
|
path: string;
|
|
368
|
+
message: string;
|
|
370
369
|
statusCode: number;
|
|
371
|
-
|
|
370
|
+
timestamp: string;
|
|
372
371
|
details?: unknown;
|
|
372
|
+
correlationId?: string | undefined;
|
|
373
373
|
}>;
|
|
374
374
|
500: z.ZodObject<{
|
|
375
375
|
statusCode: z.ZodNumber;
|
|
@@ -380,21 +380,21 @@ export declare const monitoringContract: {
|
|
|
380
380
|
path: z.ZodString;
|
|
381
381
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
382
382
|
}, "strip", z.ZodTypeAny, {
|
|
383
|
-
timestamp: string;
|
|
384
|
-
message: string;
|
|
385
383
|
code: string;
|
|
386
384
|
path: string;
|
|
385
|
+
message: string;
|
|
387
386
|
statusCode: number;
|
|
388
|
-
|
|
387
|
+
timestamp: string;
|
|
389
388
|
details?: unknown;
|
|
389
|
+
correlationId?: string | undefined;
|
|
390
390
|
}, {
|
|
391
|
-
timestamp: string;
|
|
392
|
-
message: string;
|
|
393
391
|
code: string;
|
|
394
392
|
path: string;
|
|
393
|
+
message: string;
|
|
395
394
|
statusCode: number;
|
|
396
|
-
|
|
395
|
+
timestamp: string;
|
|
397
396
|
details?: unknown;
|
|
397
|
+
correlationId?: string | undefined;
|
|
398
398
|
}>;
|
|
399
399
|
200: z.ZodObject<{
|
|
400
400
|
logs: z.ZodArray<z.ZodObject<{
|
|
@@ -405,41 +405,41 @@ export declare const monitoringContract: {
|
|
|
405
405
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
406
406
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
407
407
|
}, "strip", z.ZodTypeAny, {
|
|
408
|
-
timestamp: string;
|
|
409
|
-
level: "error" | "warn" | "info" | "debug";
|
|
410
408
|
message: string;
|
|
411
|
-
|
|
412
|
-
|
|
409
|
+
timestamp: string;
|
|
410
|
+
level: "error" | "info" | "warn" | "debug";
|
|
413
411
|
metadata?: Record<string, unknown> | undefined;
|
|
412
|
+
correlationId?: string | undefined;
|
|
413
|
+
context?: string | undefined;
|
|
414
414
|
}, {
|
|
415
|
-
timestamp: string;
|
|
416
|
-
level: "error" | "warn" | "info" | "debug";
|
|
417
415
|
message: string;
|
|
418
|
-
|
|
419
|
-
|
|
416
|
+
timestamp: string;
|
|
417
|
+
level: "error" | "info" | "warn" | "debug";
|
|
420
418
|
metadata?: Record<string, unknown> | undefined;
|
|
419
|
+
correlationId?: string | undefined;
|
|
420
|
+
context?: string | undefined;
|
|
421
421
|
}>, "many">;
|
|
422
422
|
nextCursor: z.ZodNullable<z.ZodString>;
|
|
423
423
|
hasMore: z.ZodBoolean;
|
|
424
424
|
}, "strip", z.ZodTypeAny, {
|
|
425
425
|
logs: {
|
|
426
|
-
timestamp: string;
|
|
427
|
-
level: "error" | "warn" | "info" | "debug";
|
|
428
426
|
message: string;
|
|
429
|
-
|
|
430
|
-
|
|
427
|
+
timestamp: string;
|
|
428
|
+
level: "error" | "info" | "warn" | "debug";
|
|
431
429
|
metadata?: Record<string, unknown> | undefined;
|
|
430
|
+
correlationId?: string | undefined;
|
|
431
|
+
context?: string | undefined;
|
|
432
432
|
}[];
|
|
433
433
|
nextCursor: string | null;
|
|
434
434
|
hasMore: boolean;
|
|
435
435
|
}, {
|
|
436
436
|
logs: {
|
|
437
|
-
timestamp: string;
|
|
438
|
-
level: "error" | "warn" | "info" | "debug";
|
|
439
437
|
message: string;
|
|
440
|
-
|
|
441
|
-
|
|
438
|
+
timestamp: string;
|
|
439
|
+
level: "error" | "info" | "warn" | "debug";
|
|
442
440
|
metadata?: Record<string, unknown> | undefined;
|
|
441
|
+
correlationId?: string | undefined;
|
|
442
|
+
context?: string | undefined;
|
|
443
443
|
}[];
|
|
444
444
|
nextCursor: string | null;
|
|
445
445
|
hasMore: boolean;
|
|
@@ -453,7 +453,6 @@ export declare const monitoringContract: {
|
|
|
453
453
|
operationId: string;
|
|
454
454
|
};
|
|
455
455
|
};
|
|
456
|
-
method: "GET";
|
|
457
456
|
query: z.ZodObject<{
|
|
458
457
|
since: z.ZodString;
|
|
459
458
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -462,6 +461,7 @@ export declare const monitoringContract: {
|
|
|
462
461
|
since: string;
|
|
463
462
|
}>;
|
|
464
463
|
summary: "Tail monitoring logs";
|
|
464
|
+
method: "GET";
|
|
465
465
|
path: "/v2/monitoring/logs/tail";
|
|
466
466
|
responses: {
|
|
467
467
|
400: z.ZodObject<{
|
|
@@ -473,21 +473,21 @@ export declare const monitoringContract: {
|
|
|
473
473
|
path: z.ZodString;
|
|
474
474
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
475
475
|
}, "strip", z.ZodTypeAny, {
|
|
476
|
-
timestamp: string;
|
|
477
|
-
message: string;
|
|
478
476
|
code: string;
|
|
479
477
|
path: string;
|
|
478
|
+
message: string;
|
|
480
479
|
statusCode: number;
|
|
481
|
-
|
|
480
|
+
timestamp: string;
|
|
482
481
|
details?: unknown;
|
|
482
|
+
correlationId?: string | undefined;
|
|
483
483
|
}, {
|
|
484
|
-
timestamp: string;
|
|
485
|
-
message: string;
|
|
486
484
|
code: string;
|
|
487
485
|
path: string;
|
|
486
|
+
message: string;
|
|
488
487
|
statusCode: number;
|
|
489
|
-
|
|
488
|
+
timestamp: string;
|
|
490
489
|
details?: unknown;
|
|
490
|
+
correlationId?: string | undefined;
|
|
491
491
|
}>;
|
|
492
492
|
401: z.ZodObject<{
|
|
493
493
|
statusCode: z.ZodNumber;
|
|
@@ -498,21 +498,21 @@ export declare const monitoringContract: {
|
|
|
498
498
|
path: z.ZodString;
|
|
499
499
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
500
500
|
}, "strip", z.ZodTypeAny, {
|
|
501
|
-
timestamp: string;
|
|
502
|
-
message: string;
|
|
503
501
|
code: string;
|
|
504
502
|
path: string;
|
|
503
|
+
message: string;
|
|
505
504
|
statusCode: number;
|
|
506
|
-
|
|
505
|
+
timestamp: string;
|
|
507
506
|
details?: unknown;
|
|
507
|
+
correlationId?: string | undefined;
|
|
508
508
|
}, {
|
|
509
|
-
timestamp: string;
|
|
510
|
-
message: string;
|
|
511
509
|
code: string;
|
|
512
510
|
path: string;
|
|
511
|
+
message: string;
|
|
513
512
|
statusCode: number;
|
|
514
|
-
|
|
513
|
+
timestamp: string;
|
|
515
514
|
details?: unknown;
|
|
515
|
+
correlationId?: string | undefined;
|
|
516
516
|
}>;
|
|
517
517
|
403: z.ZodObject<{
|
|
518
518
|
statusCode: z.ZodNumber;
|
|
@@ -523,21 +523,21 @@ export declare const monitoringContract: {
|
|
|
523
523
|
path: z.ZodString;
|
|
524
524
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
525
525
|
}, "strip", z.ZodTypeAny, {
|
|
526
|
-
timestamp: string;
|
|
527
|
-
message: string;
|
|
528
526
|
code: string;
|
|
529
527
|
path: string;
|
|
528
|
+
message: string;
|
|
530
529
|
statusCode: number;
|
|
531
|
-
|
|
530
|
+
timestamp: string;
|
|
532
531
|
details?: unknown;
|
|
532
|
+
correlationId?: string | undefined;
|
|
533
533
|
}, {
|
|
534
|
-
timestamp: string;
|
|
535
|
-
message: string;
|
|
536
534
|
code: string;
|
|
537
535
|
path: string;
|
|
536
|
+
message: string;
|
|
538
537
|
statusCode: number;
|
|
539
|
-
|
|
538
|
+
timestamp: string;
|
|
540
539
|
details?: unknown;
|
|
540
|
+
correlationId?: string | undefined;
|
|
541
541
|
}>;
|
|
542
542
|
500: z.ZodObject<{
|
|
543
543
|
statusCode: z.ZodNumber;
|
|
@@ -548,21 +548,21 @@ export declare const monitoringContract: {
|
|
|
548
548
|
path: z.ZodString;
|
|
549
549
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
550
550
|
}, "strip", z.ZodTypeAny, {
|
|
551
|
-
timestamp: string;
|
|
552
|
-
message: string;
|
|
553
551
|
code: string;
|
|
554
552
|
path: string;
|
|
553
|
+
message: string;
|
|
555
554
|
statusCode: number;
|
|
556
|
-
|
|
555
|
+
timestamp: string;
|
|
557
556
|
details?: unknown;
|
|
557
|
+
correlationId?: string | undefined;
|
|
558
558
|
}, {
|
|
559
|
-
timestamp: string;
|
|
560
|
-
message: string;
|
|
561
559
|
code: string;
|
|
562
560
|
path: string;
|
|
561
|
+
message: string;
|
|
563
562
|
statusCode: number;
|
|
564
|
-
|
|
563
|
+
timestamp: string;
|
|
565
564
|
details?: unknown;
|
|
565
|
+
correlationId?: string | undefined;
|
|
566
566
|
}>;
|
|
567
567
|
200: z.ZodObject<{
|
|
568
568
|
logs: z.ZodArray<z.ZodObject<{
|
|
@@ -573,39 +573,39 @@ export declare const monitoringContract: {
|
|
|
573
573
|
correlationId: z.ZodOptional<z.ZodString>;
|
|
574
574
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
575
575
|
}, "strip", z.ZodTypeAny, {
|
|
576
|
-
timestamp: string;
|
|
577
|
-
level: "error" | "warn" | "info" | "debug";
|
|
578
576
|
message: string;
|
|
579
|
-
|
|
580
|
-
|
|
577
|
+
timestamp: string;
|
|
578
|
+
level: "error" | "info" | "warn" | "debug";
|
|
581
579
|
metadata?: Record<string, unknown> | undefined;
|
|
580
|
+
correlationId?: string | undefined;
|
|
581
|
+
context?: string | undefined;
|
|
582
582
|
}, {
|
|
583
|
-
timestamp: string;
|
|
584
|
-
level: "error" | "warn" | "info" | "debug";
|
|
585
583
|
message: string;
|
|
586
|
-
|
|
587
|
-
|
|
584
|
+
timestamp: string;
|
|
585
|
+
level: "error" | "info" | "warn" | "debug";
|
|
588
586
|
metadata?: Record<string, unknown> | undefined;
|
|
587
|
+
correlationId?: string | undefined;
|
|
588
|
+
context?: string | undefined;
|
|
589
589
|
}>, "many">;
|
|
590
590
|
lastTimestamp: z.ZodString;
|
|
591
591
|
}, "strip", z.ZodTypeAny, {
|
|
592
592
|
logs: {
|
|
593
|
-
timestamp: string;
|
|
594
|
-
level: "error" | "warn" | "info" | "debug";
|
|
595
593
|
message: string;
|
|
596
|
-
|
|
597
|
-
|
|
594
|
+
timestamp: string;
|
|
595
|
+
level: "error" | "info" | "warn" | "debug";
|
|
598
596
|
metadata?: Record<string, unknown> | undefined;
|
|
597
|
+
correlationId?: string | undefined;
|
|
598
|
+
context?: string | undefined;
|
|
599
599
|
}[];
|
|
600
600
|
lastTimestamp: string;
|
|
601
601
|
}, {
|
|
602
602
|
logs: {
|
|
603
|
-
timestamp: string;
|
|
604
|
-
level: "error" | "warn" | "info" | "debug";
|
|
605
603
|
message: string;
|
|
606
|
-
|
|
607
|
-
|
|
604
|
+
timestamp: string;
|
|
605
|
+
level: "error" | "info" | "warn" | "debug";
|
|
608
606
|
metadata?: Record<string, unknown> | undefined;
|
|
607
|
+
correlationId?: string | undefined;
|
|
608
|
+
context?: string | undefined;
|
|
609
609
|
}[];
|
|
610
610
|
lastTimestamp: string;
|
|
611
611
|
}>;
|