@mastra/server 1.18.0-alpha.4 → 1.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +54 -0
- package/dist/_types/@internal_core/dist/index.d.ts +502 -29
- package/dist/{chunk-IOCKHUAA.cjs → chunk-2QCTUEHS.cjs} +3 -3
- package/dist/{chunk-IOCKHUAA.cjs.map → chunk-2QCTUEHS.cjs.map} +1 -1
- package/dist/{chunk-SUZOB46P.cjs → chunk-3W54ZNYP.cjs} +4 -4
- package/dist/{chunk-SUZOB46P.cjs.map → chunk-3W54ZNYP.cjs.map} +1 -1
- package/dist/{chunk-ZL4KCUCN.js → chunk-4D7KSU4X.js} +4 -4
- package/dist/{chunk-ZL4KCUCN.js.map → chunk-4D7KSU4X.js.map} +1 -1
- package/dist/{chunk-AUSQGJ52.js → chunk-4NRXB7VI.js} +3 -3
- package/dist/{chunk-AUSQGJ52.js.map → chunk-4NRXB7VI.js.map} +1 -1
- package/dist/{chunk-6M5HZQQV.js → chunk-4WCXXTKX.js} +4 -4
- package/dist/{chunk-6M5HZQQV.js.map → chunk-4WCXXTKX.js.map} +1 -1
- package/dist/{chunk-RSIZIEPW.js → chunk-53YFG5AY.js} +58 -2
- package/dist/chunk-53YFG5AY.js.map +1 -0
- package/dist/{chunk-SECEXHY4.js → chunk-5YMAXL54.js} +3 -3
- package/dist/{chunk-SECEXHY4.js.map → chunk-5YMAXL54.js.map} +1 -1
- package/dist/{chunk-4NTRDFFE.cjs → chunk-6FF7Q5D7.cjs} +6 -6
- package/dist/{chunk-4NTRDFFE.cjs.map → chunk-6FF7Q5D7.cjs.map} +1 -1
- package/dist/{chunk-7EOHGXMP.cjs → chunk-6XE2BQLU.cjs} +20 -20
- package/dist/{chunk-7EOHGXMP.cjs.map → chunk-6XE2BQLU.cjs.map} +1 -1
- package/dist/{chunk-U4GMLJ6B.cjs → chunk-A5J2TY2W.cjs} +3 -3
- package/dist/{chunk-U4GMLJ6B.cjs.map → chunk-A5J2TY2W.cjs.map} +1 -1
- package/dist/{chunk-3XXKCBEU.js → chunk-B32EWUTE.js} +83 -27
- package/dist/chunk-B32EWUTE.js.map +1 -0
- package/dist/{chunk-IFSINB5S.js → chunk-B5FSBQV5.js} +3 -3
- package/dist/{chunk-IFSINB5S.js.map → chunk-B5FSBQV5.js.map} +1 -1
- package/dist/{chunk-3PYG4YYL.js → chunk-E56FRMZY.js} +3 -3
- package/dist/{chunk-3PYG4YYL.js.map → chunk-E56FRMZY.js.map} +1 -1
- package/dist/{chunk-NS5TM6YM.js → chunk-FB5NRM2M.js} +3 -3
- package/dist/{chunk-NS5TM6YM.js.map → chunk-FB5NRM2M.js.map} +1 -1
- package/dist/{chunk-HEJ53V64.js → chunk-FWNRIUEW.js} +4 -4
- package/dist/{chunk-HEJ53V64.js.map → chunk-FWNRIUEW.js.map} +1 -1
- package/dist/{chunk-B5DA5QVZ.js → chunk-G2ZZKKQI.js} +4 -4
- package/dist/{chunk-B5DA5QVZ.js.map → chunk-G2ZZKKQI.js.map} +1 -1
- package/dist/{chunk-DTJJFVTS.js → chunk-GCHFLKRG.js} +24 -18
- package/dist/chunk-GCHFLKRG.js.map +1 -0
- package/dist/{chunk-JD5ZGRBN.cjs → chunk-HBMIUVV4.cjs} +3 -3
- package/dist/{chunk-JD5ZGRBN.cjs.map → chunk-HBMIUVV4.cjs.map} +1 -1
- package/dist/{chunk-NCHR6DGR.js → chunk-HI5EDX3F.js} +3 -3
- package/dist/{chunk-NCHR6DGR.js.map → chunk-HI5EDX3F.js.map} +1 -1
- package/dist/{chunk-SIPQHHIE.cjs → chunk-HSCQPKAF.cjs} +25 -19
- package/dist/chunk-HSCQPKAF.cjs.map +1 -0
- package/dist/{chunk-NEB3TPME.cjs → chunk-JH576GTI.cjs} +3 -3
- package/dist/{chunk-NEB3TPME.cjs.map → chunk-JH576GTI.cjs.map} +1 -1
- package/dist/{chunk-VOCUA2P2.js → chunk-K6RNBFGH.js} +4 -4
- package/dist/{chunk-VOCUA2P2.js.map → chunk-K6RNBFGH.js.map} +1 -1
- package/dist/{chunk-VDAG64VF.cjs → chunk-KOKKZIYI.cjs} +5 -5
- package/dist/{chunk-VDAG64VF.cjs.map → chunk-KOKKZIYI.cjs.map} +1 -1
- package/dist/{chunk-LDIPV66L.js → chunk-M6AQTASN.js} +3 -3
- package/dist/{chunk-LDIPV66L.js.map → chunk-M6AQTASN.js.map} +1 -1
- package/dist/{chunk-SEPFGGZQ.js → chunk-MH2WUZWZ.js} +4 -4
- package/dist/{chunk-SEPFGGZQ.js.map → chunk-MH2WUZWZ.js.map} +1 -1
- package/dist/{chunk-TWILU7Q5.js → chunk-MKW43AJ3.js} +4 -4
- package/dist/{chunk-TWILU7Q5.js.map → chunk-MKW43AJ3.js.map} +1 -1
- package/dist/{chunk-ZEQ3ZL2T.cjs → chunk-MUNMS4IN.cjs} +83 -26
- package/dist/chunk-MUNMS4IN.cjs.map +1 -0
- package/dist/{chunk-GIRVVQTS.js → chunk-MYFV2L3T.js} +12 -4
- package/dist/{chunk-GIRVVQTS.js.map → chunk-MYFV2L3T.js.map} +1 -1
- package/dist/{chunk-2HOVE4YF.cjs → chunk-NCCK5NVX.cjs} +4 -4
- package/dist/{chunk-2HOVE4YF.cjs.map → chunk-NCCK5NVX.cjs.map} +1 -1
- package/dist/{chunk-4LOHS62D.cjs → chunk-NOBDUHIG.cjs} +3 -3
- package/dist/{chunk-4LOHS62D.cjs.map → chunk-NOBDUHIG.cjs.map} +1 -1
- package/dist/{chunk-TEAYHLYJ.cjs → chunk-OSMI5XLT.cjs} +297 -71
- package/dist/chunk-OSMI5XLT.cjs.map +1 -0
- package/dist/{chunk-PV7IUA6N.js → chunk-QJZOWORS.js} +3 -3
- package/dist/{chunk-PV7IUA6N.js.map → chunk-QJZOWORS.js.map} +1 -1
- package/dist/{chunk-42OVSPQK.js → chunk-R45HPGYC.js} +5 -5
- package/dist/{chunk-42OVSPQK.js.map → chunk-R45HPGYC.js.map} +1 -1
- package/dist/{chunk-2UVJD67W.cjs → chunk-TU7U5XUE.cjs} +58 -2
- package/dist/chunk-TU7U5XUE.cjs.map +1 -0
- package/dist/{chunk-OFI7WQSK.cjs → chunk-TYYGY4H4.cjs} +4 -4
- package/dist/{chunk-OFI7WQSK.cjs.map → chunk-TYYGY4H4.cjs.map} +1 -1
- package/dist/{chunk-PGPTFBZ3.cjs → chunk-U6YSBD3M.cjs} +7 -7
- package/dist/{chunk-PGPTFBZ3.cjs.map → chunk-U6YSBD3M.cjs.map} +1 -1
- package/dist/{chunk-N4PIAZEA.cjs → chunk-UFK5THVP.cjs} +4 -4
- package/dist/{chunk-N4PIAZEA.cjs.map → chunk-UFK5THVP.cjs.map} +1 -1
- package/dist/{chunk-42UIDILO.cjs → chunk-ULLR3RN3.cjs} +4 -4
- package/dist/{chunk-42UIDILO.cjs.map → chunk-ULLR3RN3.cjs.map} +1 -1
- package/dist/{chunk-LCA2MLVR.cjs → chunk-WUCJRGTK.cjs} +3 -3
- package/dist/{chunk-LCA2MLVR.cjs.map → chunk-WUCJRGTK.cjs.map} +1 -1
- package/dist/{chunk-FQHTXKF6.cjs → chunk-XINNAPVH.cjs} +34 -26
- package/dist/chunk-XINNAPVH.cjs.map +1 -0
- package/dist/{chunk-BX372Y6T.js → chunk-YFQ5JIUD.js} +256 -38
- package/dist/chunk-YFQ5JIUD.js.map +1 -0
- package/dist/{chunk-S5PRNKVT.cjs → chunk-YV7FX2SA.cjs} +3 -3
- package/dist/{chunk-S5PRNKVT.cjs.map → chunk-YV7FX2SA.cjs.map} +1 -1
- package/dist/docs/SKILL.md +1 -1
- package/dist/docs/assets/SOURCE_MAP.json +1 -1
- package/dist/server/handlers/a2a.cjs +9 -9
- package/dist/server/handlers/a2a.js +1 -1
- package/dist/server/handlers/agent-builder.cjs +16 -16
- package/dist/server/handlers/agent-builder.js +1 -1
- package/dist/server/handlers/agent-versions.cjs +8 -8
- package/dist/server/handlers/agent-versions.js +1 -1
- package/dist/server/handlers/agents.cjs +37 -33
- package/dist/server/handlers/agents.d.ts +3 -0
- package/dist/server/handlers/agents.d.ts.map +1 -1
- package/dist/server/handlers/agents.js +1 -1
- package/dist/server/handlers/datasets.cjs +26 -26
- package/dist/server/handlers/datasets.js +1 -1
- package/dist/server/handlers/logs.cjs +4 -4
- package/dist/server/handlers/logs.js +1 -1
- package/dist/server/handlers/mcp-client-versions.cjs +8 -8
- package/dist/server/handlers/mcp-client-versions.js +1 -1
- package/dist/server/handlers/observability-new-endpoints.cjs +51 -19
- package/dist/server/handlers/observability-new-endpoints.d.ts +1998 -458
- package/dist/server/handlers/observability-new-endpoints.d.ts.map +1 -1
- package/dist/server/handlers/observability-new-endpoints.js +1 -1
- package/dist/server/handlers/observability-shared.cjs +5 -5
- package/dist/server/handlers/observability-shared.d.ts +56 -0
- package/dist/server/handlers/observability-shared.d.ts.map +1 -1
- package/dist/server/handlers/observability-shared.js +1 -1
- package/dist/server/handlers/observability.cjs +56 -24
- package/dist/server/handlers/observability.js +2 -2
- package/dist/server/handlers/prompt-block-versions.cjs +8 -8
- package/dist/server/handlers/prompt-block-versions.js +1 -1
- package/dist/server/handlers/scorer-versions.cjs +8 -8
- package/dist/server/handlers/scorer-versions.js +1 -1
- package/dist/server/handlers/scores.cjs +7 -7
- package/dist/server/handlers/scores.js +1 -1
- package/dist/server/handlers/stored-agents.cjs +7 -7
- package/dist/server/handlers/stored-agents.js +1 -1
- package/dist/server/handlers/stored-mcp-clients.cjs +6 -6
- package/dist/server/handlers/stored-mcp-clients.js +1 -1
- package/dist/server/handlers/stored-prompt-blocks.cjs +6 -6
- package/dist/server/handlers/stored-prompt-blocks.js +1 -1
- package/dist/server/handlers/stored-scorers.cjs +6 -6
- package/dist/server/handlers/stored-scorers.js +1 -1
- package/dist/server/handlers/stored-workspaces.cjs +6 -6
- package/dist/server/handlers/stored-workspaces.js +1 -1
- package/dist/server/handlers/tools.cjs +6 -6
- package/dist/server/handlers/tools.d.ts.map +1 -1
- package/dist/server/handlers/tools.js +1 -1
- package/dist/server/handlers/voice.cjs +8 -8
- package/dist/server/handlers/voice.js +1 -1
- package/dist/server/handlers/workflows.cjs +24 -24
- package/dist/server/handlers/workflows.js +1 -1
- package/dist/server/handlers.cjs +30 -30
- package/dist/server/handlers.js +11 -11
- package/dist/server/schemas/index.cjs +377 -377
- package/dist/server/schemas/index.js +7 -7
- package/dist/server/server-adapter/index.cjs +205 -205
- package/dist/server/server-adapter/index.js +23 -23
- package/dist/server/server-adapter/routes/observability.d.ts +5 -5
- package/package.json +7 -7
- package/dist/chunk-2UVJD67W.cjs.map +0 -1
- package/dist/chunk-3XXKCBEU.js.map +0 -1
- package/dist/chunk-BX372Y6T.js.map +0 -1
- package/dist/chunk-DTJJFVTS.js.map +0 -1
- package/dist/chunk-FQHTXKF6.cjs.map +0 -1
- package/dist/chunk-RSIZIEPW.js.map +0 -1
- package/dist/chunk-SIPQHHIE.cjs.map +0 -1
- package/dist/chunk-TEAYHLYJ.cjs.map +0 -1
- package/dist/chunk-ZEQ3ZL2T.cjs.map +0 -1
|
@@ -248,178 +248,14 @@ export declare const CREATE_SCORE: import("../server-adapter").ServerRoute<{
|
|
|
248
248
|
}, z.core.$strip>, z.ZodObject<{
|
|
249
249
|
success: z.ZodBoolean;
|
|
250
250
|
}, z.core.$strip>>, string, `/${string}`>;
|
|
251
|
-
export declare const
|
|
252
|
-
|
|
253
|
-
total: number;
|
|
254
|
-
page: number;
|
|
255
|
-
perPage: number | false;
|
|
256
|
-
hasMore: boolean;
|
|
257
|
-
};
|
|
258
|
-
feedback: {
|
|
259
|
-
timestamp: Date;
|
|
260
|
-
traceId: string;
|
|
261
|
-
feedbackType: string;
|
|
262
|
-
value: string | number;
|
|
263
|
-
sourceId?: string | null | undefined;
|
|
264
|
-
metadata?: Record<string, unknown> | null | undefined;
|
|
265
|
-
executionSource?: string | null | undefined;
|
|
266
|
-
tags?: string[] | null | undefined;
|
|
267
|
-
entityType?: import("../../_types/@internal_core/dist/index.js").EntityType | null | undefined;
|
|
268
|
-
entityId?: string | null | undefined;
|
|
269
|
-
entityName?: string | null | undefined;
|
|
270
|
-
parentEntityType?: import("../../_types/@internal_core/dist/index.js").EntityType | null | undefined;
|
|
271
|
-
parentEntityId?: string | null | undefined;
|
|
272
|
-
parentEntityName?: string | null | undefined;
|
|
273
|
-
rootEntityType?: import("../../_types/@internal_core/dist/index.js").EntityType | null | undefined;
|
|
274
|
-
rootEntityId?: string | null | undefined;
|
|
275
|
-
rootEntityName?: string | null | undefined;
|
|
276
|
-
userId?: string | null | undefined;
|
|
277
|
-
organizationId?: string | null | undefined;
|
|
278
|
-
resourceId?: string | null | undefined;
|
|
279
|
-
runId?: string | null | undefined;
|
|
280
|
-
sessionId?: string | null | undefined;
|
|
281
|
-
threadId?: string | null | undefined;
|
|
282
|
-
requestId?: string | null | undefined;
|
|
283
|
-
environment?: string | null | undefined;
|
|
284
|
-
serviceName?: string | null | undefined;
|
|
285
|
-
scope?: Record<string, unknown> | null | undefined;
|
|
286
|
-
experimentId?: string | null | undefined;
|
|
287
|
-
spanId?: string | null | undefined;
|
|
288
|
-
feedbackSource?: string | null | undefined;
|
|
289
|
-
source?: string | null | undefined;
|
|
290
|
-
comment?: string | null | undefined;
|
|
291
|
-
feedbackUserId?: string | null | undefined;
|
|
292
|
-
}[];
|
|
293
|
-
}, "json", import("../server-adapter").RouteSchemas<undefined, z.ZodObject<Readonly<{
|
|
294
|
-
[k: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
295
|
-
}>, z.core.$strip>, undefined, z.ZodObject<{
|
|
296
|
-
pagination: z.ZodObject<{
|
|
297
|
-
total: z.ZodNumber;
|
|
298
|
-
page: z.ZodNumber;
|
|
299
|
-
perPage: z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<false>]>;
|
|
300
|
-
hasMore: z.ZodBoolean;
|
|
301
|
-
}, z.core.$strip>;
|
|
302
|
-
feedback: z.ZodArray<z.ZodObject<{
|
|
303
|
-
sourceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
304
|
-
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
305
|
-
executionSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
306
|
-
tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
307
|
-
entityType: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>>;
|
|
308
|
-
entityId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
309
|
-
entityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
310
|
-
parentEntityType: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>>;
|
|
311
|
-
parentEntityId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
312
|
-
parentEntityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
313
|
-
rootEntityType: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>>;
|
|
314
|
-
rootEntityId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
315
|
-
rootEntityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
316
|
-
userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
317
|
-
organizationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
318
|
-
resourceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
319
|
-
runId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
320
|
-
sessionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
321
|
-
threadId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
322
|
-
requestId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
323
|
-
environment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
324
|
-
serviceName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
325
|
-
scope: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
326
|
-
experimentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
327
|
-
timestamp: z.ZodDate;
|
|
328
|
-
traceId: z.ZodString;
|
|
329
|
-
spanId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
330
|
-
feedbackSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
331
|
-
source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
332
|
-
feedbackType: z.ZodString;
|
|
333
|
-
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
334
|
-
comment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
335
|
-
feedbackUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
336
|
-
}, z.core.$strip>>;
|
|
337
|
-
}, z.core.$strip>>, string, `/${string}`>;
|
|
338
|
-
export declare const CREATE_FEEDBACK: import("../server-adapter").ServerRoute<{
|
|
339
|
-
feedback: {
|
|
340
|
-
value: string | number;
|
|
341
|
-
traceId: string;
|
|
342
|
-
feedbackType: string;
|
|
343
|
-
spanId?: string | null | undefined;
|
|
344
|
-
source?: string | null | undefined;
|
|
345
|
-
metadata?: Record<string, unknown> | null | undefined;
|
|
346
|
-
executionSource?: string | null | undefined;
|
|
347
|
-
tags?: string[] | null | undefined;
|
|
348
|
-
entityType?: import("../../_types/@internal_core/dist/index.js").EntityType | null | undefined;
|
|
349
|
-
entityId?: string | null | undefined;
|
|
350
|
-
entityName?: string | null | undefined;
|
|
351
|
-
parentEntityType?: import("../../_types/@internal_core/dist/index.js").EntityType | null | undefined;
|
|
352
|
-
parentEntityId?: string | null | undefined;
|
|
353
|
-
parentEntityName?: string | null | undefined;
|
|
354
|
-
rootEntityType?: import("../../_types/@internal_core/dist/index.js").EntityType | null | undefined;
|
|
355
|
-
rootEntityId?: string | null | undefined;
|
|
356
|
-
rootEntityName?: string | null | undefined;
|
|
357
|
-
userId?: string | null | undefined;
|
|
358
|
-
organizationId?: string | null | undefined;
|
|
359
|
-
resourceId?: string | null | undefined;
|
|
360
|
-
runId?: string | null | undefined;
|
|
361
|
-
sessionId?: string | null | undefined;
|
|
362
|
-
threadId?: string | null | undefined;
|
|
363
|
-
requestId?: string | null | undefined;
|
|
364
|
-
environment?: string | null | undefined;
|
|
365
|
-
serviceName?: string | null | undefined;
|
|
366
|
-
scope?: Record<string, unknown> | null | undefined;
|
|
367
|
-
experimentId?: string | null | undefined;
|
|
368
|
-
feedbackUserId?: string | null | undefined;
|
|
369
|
-
feedbackSource?: string | null | undefined;
|
|
370
|
-
comment?: string | null | undefined;
|
|
371
|
-
sourceId?: string | null | undefined;
|
|
372
|
-
};
|
|
373
|
-
}, {
|
|
374
|
-
success: boolean;
|
|
375
|
-
}, "json", import("../server-adapter").RouteSchemas<undefined, undefined, z.ZodObject<{
|
|
376
|
-
feedback: z.ZodObject<{
|
|
377
|
-
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
378
|
-
traceId: z.ZodString;
|
|
379
|
-
spanId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
380
|
-
source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
381
|
-
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
382
|
-
executionSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
383
|
-
tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
384
|
-
entityType: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>>;
|
|
385
|
-
entityId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
386
|
-
entityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
387
|
-
parentEntityType: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>>;
|
|
388
|
-
parentEntityId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
389
|
-
parentEntityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
390
|
-
rootEntityType: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>>;
|
|
391
|
-
rootEntityId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
392
|
-
rootEntityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
393
|
-
userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
394
|
-
organizationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
395
|
-
resourceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
396
|
-
runId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
397
|
-
sessionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
398
|
-
threadId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
399
|
-
requestId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
400
|
-
environment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
401
|
-
serviceName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
402
|
-
scope: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
403
|
-
experimentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
404
|
-
feedbackUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
405
|
-
feedbackType: z.ZodString;
|
|
406
|
-
feedbackSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
407
|
-
comment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
408
|
-
sourceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
409
|
-
}, z.core.$strip>;
|
|
410
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
411
|
-
success: z.ZodBoolean;
|
|
412
|
-
}, z.core.$strip>>, string, `/${string}`>;
|
|
413
|
-
export declare const GET_METRIC_AGGREGATE: import("../server-adapter").ServerRoute<{
|
|
414
|
-
name: string[];
|
|
251
|
+
export declare const GET_SCORE_AGGREGATE: import("../server-adapter").ServerRoute<{
|
|
252
|
+
scorerId: string;
|
|
415
253
|
aggregation: "count" | "max" | "min" | "sum" | "avg" | "last";
|
|
254
|
+
scoreSource?: string | undefined;
|
|
416
255
|
filters?: {
|
|
417
|
-
|
|
256
|
+
scorerId?: string | string[] | undefined;
|
|
257
|
+
scoreSource?: string | undefined;
|
|
418
258
|
source?: string | undefined;
|
|
419
|
-
provider?: string | undefined;
|
|
420
|
-
model?: string | undefined;
|
|
421
|
-
costUnit?: string | undefined;
|
|
422
|
-
labels?: Record<string, string> | undefined;
|
|
423
259
|
timestamp?: {
|
|
424
260
|
start?: Date | undefined;
|
|
425
261
|
end?: Date | undefined;
|
|
@@ -450,14 +286,11 @@ export declare const GET_METRIC_AGGREGATE: import("../server-adapter").ServerRou
|
|
|
450
286
|
comparePeriod?: "previous_period" | "previous_day" | "previous_week" | undefined;
|
|
451
287
|
}, {
|
|
452
288
|
value: number | null;
|
|
453
|
-
estimatedCost?: number | null | undefined;
|
|
454
|
-
costUnit?: string | null | undefined;
|
|
455
289
|
previousValue?: number | null | undefined;
|
|
456
|
-
previousEstimatedCost?: number | null | undefined;
|
|
457
290
|
changePercent?: number | null | undefined;
|
|
458
|
-
costChangePercent?: number | null | undefined;
|
|
459
291
|
}, "json", import("../server-adapter").RouteSchemas<undefined, undefined, z.ZodObject<{
|
|
460
|
-
|
|
292
|
+
scorerId: z.ZodString;
|
|
293
|
+
scoreSource: z.ZodOptional<z.ZodString>;
|
|
461
294
|
aggregation: z.ZodEnum<{
|
|
462
295
|
sum: "sum";
|
|
463
296
|
avg: "avg";
|
|
@@ -467,12 +300,9 @@ export declare const GET_METRIC_AGGREGATE: import("../server-adapter").ServerRou
|
|
|
467
300
|
last: "last";
|
|
468
301
|
}>;
|
|
469
302
|
filters: z.ZodOptional<z.ZodObject<{
|
|
470
|
-
|
|
303
|
+
scorerId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
304
|
+
scoreSource: z.ZodOptional<z.ZodString>;
|
|
471
305
|
source: z.ZodOptional<z.ZodString>;
|
|
472
|
-
provider: z.ZodOptional<z.ZodString>;
|
|
473
|
-
model: z.ZodOptional<z.ZodString>;
|
|
474
|
-
costUnit: z.ZodOptional<z.ZodString>;
|
|
475
|
-
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
476
306
|
timestamp: z.ZodOptional<z.ZodObject<{
|
|
477
307
|
start: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
478
308
|
end: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
@@ -507,24 +337,18 @@ export declare const GET_METRIC_AGGREGATE: import("../server-adapter").ServerRou
|
|
|
507
337
|
}>>;
|
|
508
338
|
}, z.core.$strip>, z.ZodObject<{
|
|
509
339
|
value: z.ZodNullable<z.ZodNumber>;
|
|
510
|
-
estimatedCost: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
511
|
-
costUnit: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
512
340
|
previousValue: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
513
|
-
previousEstimatedCost: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
514
341
|
changePercent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
515
|
-
costChangePercent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
516
342
|
}, z.core.$strip>>, string, `/${string}`>;
|
|
517
|
-
export declare const
|
|
518
|
-
|
|
343
|
+
export declare const GET_SCORE_BREAKDOWN: import("../server-adapter").ServerRoute<{
|
|
344
|
+
scorerId: string;
|
|
519
345
|
groupBy: string[];
|
|
520
346
|
aggregation: "count" | "max" | "min" | "sum" | "avg" | "last";
|
|
347
|
+
scoreSource?: string | undefined;
|
|
521
348
|
filters?: {
|
|
522
|
-
|
|
349
|
+
scorerId?: string | string[] | undefined;
|
|
350
|
+
scoreSource?: string | undefined;
|
|
523
351
|
source?: string | undefined;
|
|
524
|
-
provider?: string | undefined;
|
|
525
|
-
model?: string | undefined;
|
|
526
|
-
costUnit?: string | undefined;
|
|
527
|
-
labels?: Record<string, string> | undefined;
|
|
528
352
|
timestamp?: {
|
|
529
353
|
start?: Date | undefined;
|
|
530
354
|
end?: Date | undefined;
|
|
@@ -556,11 +380,10 @@ export declare const GET_METRIC_BREAKDOWN: import("../server-adapter").ServerRou
|
|
|
556
380
|
groups: {
|
|
557
381
|
dimensions: Record<string, string | null>;
|
|
558
382
|
value: number;
|
|
559
|
-
estimatedCost?: number | null | undefined;
|
|
560
|
-
costUnit?: string | null | undefined;
|
|
561
383
|
}[];
|
|
562
384
|
}, "json", import("../server-adapter").RouteSchemas<undefined, undefined, z.ZodObject<{
|
|
563
|
-
|
|
385
|
+
scorerId: z.ZodString;
|
|
386
|
+
scoreSource: z.ZodOptional<z.ZodString>;
|
|
564
387
|
groupBy: z.ZodArray<z.ZodString>;
|
|
565
388
|
aggregation: z.ZodEnum<{
|
|
566
389
|
sum: "sum";
|
|
@@ -571,12 +394,9 @@ export declare const GET_METRIC_BREAKDOWN: import("../server-adapter").ServerRou
|
|
|
571
394
|
last: "last";
|
|
572
395
|
}>;
|
|
573
396
|
filters: z.ZodOptional<z.ZodObject<{
|
|
574
|
-
|
|
397
|
+
scorerId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
398
|
+
scoreSource: z.ZodOptional<z.ZodString>;
|
|
575
399
|
source: z.ZodOptional<z.ZodString>;
|
|
576
|
-
provider: z.ZodOptional<z.ZodString>;
|
|
577
|
-
model: z.ZodOptional<z.ZodString>;
|
|
578
|
-
costUnit: z.ZodOptional<z.ZodString>;
|
|
579
|
-
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
580
400
|
timestamp: z.ZodOptional<z.ZodObject<{
|
|
581
401
|
start: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
582
402
|
end: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
@@ -608,21 +428,17 @@ export declare const GET_METRIC_BREAKDOWN: import("../server-adapter").ServerRou
|
|
|
608
428
|
groups: z.ZodArray<z.ZodObject<{
|
|
609
429
|
dimensions: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
|
|
610
430
|
value: z.ZodNumber;
|
|
611
|
-
estimatedCost: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
612
|
-
costUnit: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
613
431
|
}, z.core.$strip>>;
|
|
614
432
|
}, z.core.$strip>>, string, `/${string}`>;
|
|
615
|
-
export declare const
|
|
616
|
-
|
|
433
|
+
export declare const GET_SCORE_TIME_SERIES: import("../server-adapter").ServerRoute<{
|
|
434
|
+
scorerId: string;
|
|
617
435
|
interval: "5m" | "1h" | "1m" | "15m" | "1d";
|
|
618
436
|
aggregation: "count" | "max" | "min" | "sum" | "avg" | "last";
|
|
437
|
+
scoreSource?: string | undefined;
|
|
619
438
|
filters?: {
|
|
620
|
-
|
|
439
|
+
scorerId?: string | string[] | undefined;
|
|
440
|
+
scoreSource?: string | undefined;
|
|
621
441
|
source?: string | undefined;
|
|
622
|
-
provider?: string | undefined;
|
|
623
|
-
model?: string | undefined;
|
|
624
|
-
costUnit?: string | undefined;
|
|
625
|
-
labels?: Record<string, string> | undefined;
|
|
626
442
|
timestamp?: {
|
|
627
443
|
start?: Date | undefined;
|
|
628
444
|
end?: Date | undefined;
|
|
@@ -657,12 +473,11 @@ export declare const GET_METRIC_TIME_SERIES: import("../server-adapter").ServerR
|
|
|
657
473
|
points: {
|
|
658
474
|
timestamp: Date;
|
|
659
475
|
value: number;
|
|
660
|
-
estimatedCost?: number | null | undefined;
|
|
661
476
|
}[];
|
|
662
|
-
costUnit?: string | null | undefined;
|
|
663
477
|
}[];
|
|
664
478
|
}, "json", import("../server-adapter").RouteSchemas<undefined, undefined, z.ZodObject<{
|
|
665
|
-
|
|
479
|
+
scorerId: z.ZodString;
|
|
480
|
+
scoreSource: z.ZodOptional<z.ZodString>;
|
|
666
481
|
interval: z.ZodEnum<{
|
|
667
482
|
"1m": "1m";
|
|
668
483
|
"5m": "5m";
|
|
@@ -679,12 +494,9 @@ export declare const GET_METRIC_TIME_SERIES: import("../server-adapter").ServerR
|
|
|
679
494
|
last: "last";
|
|
680
495
|
}>;
|
|
681
496
|
filters: z.ZodOptional<z.ZodObject<{
|
|
682
|
-
|
|
497
|
+
scorerId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
498
|
+
scoreSource: z.ZodOptional<z.ZodString>;
|
|
683
499
|
source: z.ZodOptional<z.ZodString>;
|
|
684
|
-
provider: z.ZodOptional<z.ZodString>;
|
|
685
|
-
model: z.ZodOptional<z.ZodString>;
|
|
686
|
-
costUnit: z.ZodOptional<z.ZodString>;
|
|
687
|
-
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
688
500
|
timestamp: z.ZodOptional<z.ZodObject<{
|
|
689
501
|
start: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
690
502
|
end: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
@@ -716,25 +528,21 @@ export declare const GET_METRIC_TIME_SERIES: import("../server-adapter").ServerR
|
|
|
716
528
|
}, z.core.$strip>, z.ZodObject<{
|
|
717
529
|
series: z.ZodArray<z.ZodObject<{
|
|
718
530
|
name: z.ZodString;
|
|
719
|
-
costUnit: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
720
531
|
points: z.ZodArray<z.ZodObject<{
|
|
721
532
|
timestamp: z.ZodDate;
|
|
722
533
|
value: z.ZodNumber;
|
|
723
|
-
estimatedCost: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
724
534
|
}, z.core.$strip>>;
|
|
725
535
|
}, z.core.$strip>>;
|
|
726
536
|
}, z.core.$strip>>, string, `/${string}`>;
|
|
727
|
-
export declare const
|
|
728
|
-
|
|
537
|
+
export declare const GET_SCORE_PERCENTILES: import("../server-adapter").ServerRoute<{
|
|
538
|
+
scorerId: string;
|
|
729
539
|
percentiles: number[];
|
|
730
540
|
interval: "5m" | "1h" | "1m" | "15m" | "1d";
|
|
541
|
+
scoreSource?: string | undefined;
|
|
731
542
|
filters?: {
|
|
732
|
-
|
|
543
|
+
scorerId?: string | string[] | undefined;
|
|
544
|
+
scoreSource?: string | undefined;
|
|
733
545
|
source?: string | undefined;
|
|
734
|
-
provider?: string | undefined;
|
|
735
|
-
model?: string | undefined;
|
|
736
|
-
costUnit?: string | undefined;
|
|
737
|
-
labels?: Record<string, string> | undefined;
|
|
738
546
|
timestamp?: {
|
|
739
547
|
start?: Date | undefined;
|
|
740
548
|
end?: Date | undefined;
|
|
@@ -771,7 +579,8 @@ export declare const GET_METRIC_PERCENTILES: import("../server-adapter").ServerR
|
|
|
771
579
|
}[];
|
|
772
580
|
}[];
|
|
773
581
|
}, "json", import("../server-adapter").RouteSchemas<undefined, undefined, z.ZodObject<{
|
|
774
|
-
|
|
582
|
+
scorerId: z.ZodString;
|
|
583
|
+
scoreSource: z.ZodOptional<z.ZodString>;
|
|
775
584
|
percentiles: z.ZodArray<z.ZodNumber>;
|
|
776
585
|
interval: z.ZodEnum<{
|
|
777
586
|
"1m": "1m";
|
|
@@ -781,12 +590,9 @@ export declare const GET_METRIC_PERCENTILES: import("../server-adapter").ServerR
|
|
|
781
590
|
"1d": "1d";
|
|
782
591
|
}>;
|
|
783
592
|
filters: z.ZodOptional<z.ZodObject<{
|
|
784
|
-
|
|
593
|
+
scorerId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
594
|
+
scoreSource: z.ZodOptional<z.ZodString>;
|
|
785
595
|
source: z.ZodOptional<z.ZodString>;
|
|
786
|
-
provider: z.ZodOptional<z.ZodString>;
|
|
787
|
-
model: z.ZodOptional<z.ZodString>;
|
|
788
|
-
costUnit: z.ZodOptional<z.ZodString>;
|
|
789
|
-
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
790
596
|
timestamp: z.ZodOptional<z.ZodObject<{
|
|
791
597
|
start: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
792
598
|
end: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
@@ -823,32 +629,996 @@ export declare const GET_METRIC_PERCENTILES: import("../server-adapter").ServerR
|
|
|
823
629
|
}, z.core.$strip>>;
|
|
824
630
|
}, z.core.$strip>>;
|
|
825
631
|
}, z.core.$strip>>, string, `/${string}`>;
|
|
826
|
-
export declare const
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
}
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
632
|
+
export declare const LIST_FEEDBACK: import("../server-adapter").ServerRoute<Record<string, unknown>, {
|
|
633
|
+
pagination: {
|
|
634
|
+
total: number;
|
|
635
|
+
page: number;
|
|
636
|
+
perPage: number | false;
|
|
637
|
+
hasMore: boolean;
|
|
638
|
+
};
|
|
639
|
+
feedback: {
|
|
640
|
+
timestamp: Date;
|
|
641
|
+
traceId: string;
|
|
642
|
+
feedbackType: string;
|
|
643
|
+
value: string | number;
|
|
644
|
+
sourceId?: string | null | undefined;
|
|
645
|
+
metadata?: Record<string, unknown> | null | undefined;
|
|
646
|
+
executionSource?: string | null | undefined;
|
|
647
|
+
tags?: string[] | null | undefined;
|
|
648
|
+
entityType?: import("../../_types/@internal_core/dist/index.js").EntityType | null | undefined;
|
|
649
|
+
entityId?: string | null | undefined;
|
|
650
|
+
entityName?: string | null | undefined;
|
|
651
|
+
parentEntityType?: import("../../_types/@internal_core/dist/index.js").EntityType | null | undefined;
|
|
652
|
+
parentEntityId?: string | null | undefined;
|
|
653
|
+
parentEntityName?: string | null | undefined;
|
|
654
|
+
rootEntityType?: import("../../_types/@internal_core/dist/index.js").EntityType | null | undefined;
|
|
655
|
+
rootEntityId?: string | null | undefined;
|
|
656
|
+
rootEntityName?: string | null | undefined;
|
|
657
|
+
userId?: string | null | undefined;
|
|
658
|
+
organizationId?: string | null | undefined;
|
|
659
|
+
resourceId?: string | null | undefined;
|
|
660
|
+
runId?: string | null | undefined;
|
|
661
|
+
sessionId?: string | null | undefined;
|
|
662
|
+
threadId?: string | null | undefined;
|
|
663
|
+
requestId?: string | null | undefined;
|
|
664
|
+
environment?: string | null | undefined;
|
|
665
|
+
serviceName?: string | null | undefined;
|
|
666
|
+
scope?: Record<string, unknown> | null | undefined;
|
|
667
|
+
experimentId?: string | null | undefined;
|
|
668
|
+
spanId?: string | null | undefined;
|
|
669
|
+
feedbackSource?: string | null | undefined;
|
|
670
|
+
source?: string | null | undefined;
|
|
671
|
+
comment?: string | null | undefined;
|
|
672
|
+
feedbackUserId?: string | null | undefined;
|
|
673
|
+
}[];
|
|
674
|
+
}, "json", import("../server-adapter").RouteSchemas<undefined, z.ZodObject<Readonly<{
|
|
675
|
+
[k: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
676
|
+
}>, z.core.$strip>, undefined, z.ZodObject<{
|
|
677
|
+
pagination: z.ZodObject<{
|
|
678
|
+
total: z.ZodNumber;
|
|
679
|
+
page: z.ZodNumber;
|
|
680
|
+
perPage: z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<false>]>;
|
|
681
|
+
hasMore: z.ZodBoolean;
|
|
682
|
+
}, z.core.$strip>;
|
|
683
|
+
feedback: z.ZodArray<z.ZodObject<{
|
|
684
|
+
sourceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
685
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
686
|
+
executionSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
687
|
+
tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
688
|
+
entityType: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>>;
|
|
689
|
+
entityId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
690
|
+
entityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
691
|
+
parentEntityType: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>>;
|
|
692
|
+
parentEntityId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
693
|
+
parentEntityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
694
|
+
rootEntityType: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>>;
|
|
695
|
+
rootEntityId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
696
|
+
rootEntityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
697
|
+
userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
698
|
+
organizationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
699
|
+
resourceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
700
|
+
runId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
701
|
+
sessionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
702
|
+
threadId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
703
|
+
requestId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
704
|
+
environment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
705
|
+
serviceName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
706
|
+
scope: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
707
|
+
experimentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
708
|
+
timestamp: z.ZodDate;
|
|
709
|
+
traceId: z.ZodString;
|
|
710
|
+
spanId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
711
|
+
feedbackSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
712
|
+
source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
713
|
+
feedbackType: z.ZodString;
|
|
714
|
+
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
715
|
+
comment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
716
|
+
feedbackUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
717
|
+
}, z.core.$strip>>;
|
|
718
|
+
}, z.core.$strip>>, string, `/${string}`>;
|
|
719
|
+
export declare const CREATE_FEEDBACK: import("../server-adapter").ServerRoute<{
|
|
720
|
+
feedback: {
|
|
721
|
+
value: string | number;
|
|
722
|
+
traceId: string;
|
|
723
|
+
feedbackType: string;
|
|
724
|
+
spanId?: string | null | undefined;
|
|
725
|
+
source?: string | null | undefined;
|
|
726
|
+
metadata?: Record<string, unknown> | null | undefined;
|
|
727
|
+
executionSource?: string | null | undefined;
|
|
728
|
+
tags?: string[] | null | undefined;
|
|
729
|
+
entityType?: import("../../_types/@internal_core/dist/index.js").EntityType | null | undefined;
|
|
730
|
+
entityId?: string | null | undefined;
|
|
731
|
+
entityName?: string | null | undefined;
|
|
732
|
+
parentEntityType?: import("../../_types/@internal_core/dist/index.js").EntityType | null | undefined;
|
|
733
|
+
parentEntityId?: string | null | undefined;
|
|
734
|
+
parentEntityName?: string | null | undefined;
|
|
735
|
+
rootEntityType?: import("../../_types/@internal_core/dist/index.js").EntityType | null | undefined;
|
|
736
|
+
rootEntityId?: string | null | undefined;
|
|
737
|
+
rootEntityName?: string | null | undefined;
|
|
738
|
+
userId?: string | null | undefined;
|
|
739
|
+
organizationId?: string | null | undefined;
|
|
740
|
+
resourceId?: string | null | undefined;
|
|
741
|
+
runId?: string | null | undefined;
|
|
742
|
+
sessionId?: string | null | undefined;
|
|
743
|
+
threadId?: string | null | undefined;
|
|
744
|
+
requestId?: string | null | undefined;
|
|
745
|
+
environment?: string | null | undefined;
|
|
746
|
+
serviceName?: string | null | undefined;
|
|
747
|
+
scope?: Record<string, unknown> | null | undefined;
|
|
748
|
+
experimentId?: string | null | undefined;
|
|
749
|
+
feedbackUserId?: string | null | undefined;
|
|
750
|
+
feedbackSource?: string | null | undefined;
|
|
751
|
+
comment?: string | null | undefined;
|
|
752
|
+
sourceId?: string | null | undefined;
|
|
753
|
+
};
|
|
754
|
+
}, {
|
|
755
|
+
success: boolean;
|
|
756
|
+
}, "json", import("../server-adapter").RouteSchemas<undefined, undefined, z.ZodObject<{
|
|
757
|
+
feedback: z.ZodObject<{
|
|
758
|
+
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
759
|
+
traceId: z.ZodString;
|
|
760
|
+
spanId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
761
|
+
source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
762
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
763
|
+
executionSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
764
|
+
tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
765
|
+
entityType: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>>;
|
|
766
|
+
entityId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
767
|
+
entityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
768
|
+
parentEntityType: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>>;
|
|
769
|
+
parentEntityId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
770
|
+
parentEntityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
771
|
+
rootEntityType: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>>;
|
|
772
|
+
rootEntityId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
773
|
+
rootEntityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
774
|
+
userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
775
|
+
organizationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
776
|
+
resourceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
777
|
+
runId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
778
|
+
sessionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
779
|
+
threadId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
780
|
+
requestId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
781
|
+
environment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
782
|
+
serviceName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
783
|
+
scope: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
784
|
+
experimentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
785
|
+
feedbackUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
786
|
+
feedbackType: z.ZodString;
|
|
787
|
+
feedbackSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
788
|
+
comment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
789
|
+
sourceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
790
|
+
}, z.core.$strip>;
|
|
791
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
792
|
+
success: z.ZodBoolean;
|
|
793
|
+
}, z.core.$strip>>, string, `/${string}`>;
|
|
794
|
+
export declare const GET_FEEDBACK_AGGREGATE: import("../server-adapter").ServerRoute<{
|
|
795
|
+
feedbackType: string;
|
|
796
|
+
aggregation: "count" | "max" | "min" | "sum" | "avg" | "last";
|
|
797
|
+
feedbackSource?: string | undefined;
|
|
798
|
+
filters?: {
|
|
799
|
+
feedbackType?: string | string[] | undefined;
|
|
800
|
+
feedbackSource?: string | undefined;
|
|
801
|
+
source?: string | undefined;
|
|
802
|
+
feedbackUserId?: string | undefined;
|
|
803
|
+
timestamp?: {
|
|
804
|
+
start?: Date | undefined;
|
|
805
|
+
end?: Date | undefined;
|
|
806
|
+
startExclusive?: boolean | undefined;
|
|
807
|
+
endExclusive?: boolean | undefined;
|
|
808
|
+
} | undefined;
|
|
809
|
+
traceId?: string | undefined;
|
|
810
|
+
spanId?: string | undefined;
|
|
811
|
+
entityType?: import("../../_types/@internal_core/dist/index.js").EntityType | undefined;
|
|
812
|
+
entityName?: string | undefined;
|
|
813
|
+
userId?: string | undefined;
|
|
814
|
+
organizationId?: string | undefined;
|
|
815
|
+
experimentId?: string | undefined;
|
|
816
|
+
serviceName?: string | undefined;
|
|
817
|
+
environment?: string | undefined;
|
|
818
|
+
parentEntityType?: import("../../_types/@internal_core/dist/index.js").EntityType | undefined;
|
|
819
|
+
parentEntityName?: string | undefined;
|
|
820
|
+
rootEntityType?: import("../../_types/@internal_core/dist/index.js").EntityType | undefined;
|
|
821
|
+
rootEntityName?: string | undefined;
|
|
822
|
+
resourceId?: string | undefined;
|
|
823
|
+
runId?: string | undefined;
|
|
824
|
+
sessionId?: string | undefined;
|
|
825
|
+
threadId?: string | undefined;
|
|
826
|
+
requestId?: string | undefined;
|
|
827
|
+
executionSource?: string | undefined;
|
|
828
|
+
tags?: string[] | undefined;
|
|
829
|
+
} | undefined;
|
|
830
|
+
comparePeriod?: "previous_period" | "previous_day" | "previous_week" | undefined;
|
|
831
|
+
}, {
|
|
832
|
+
value: number | null;
|
|
833
|
+
previousValue?: number | null | undefined;
|
|
834
|
+
changePercent?: number | null | undefined;
|
|
835
|
+
}, "json", import("../server-adapter").RouteSchemas<undefined, undefined, z.ZodObject<{
|
|
836
|
+
feedbackType: z.ZodString;
|
|
837
|
+
feedbackSource: z.ZodOptional<z.ZodString>;
|
|
838
|
+
aggregation: z.ZodEnum<{
|
|
839
|
+
sum: "sum";
|
|
840
|
+
avg: "avg";
|
|
841
|
+
min: "min";
|
|
842
|
+
max: "max";
|
|
843
|
+
count: "count";
|
|
844
|
+
last: "last";
|
|
845
|
+
}>;
|
|
846
|
+
filters: z.ZodOptional<z.ZodObject<{
|
|
847
|
+
feedbackType: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
848
|
+
feedbackSource: z.ZodOptional<z.ZodString>;
|
|
849
|
+
source: z.ZodOptional<z.ZodString>;
|
|
850
|
+
feedbackUserId: z.ZodOptional<z.ZodString>;
|
|
851
|
+
timestamp: z.ZodOptional<z.ZodObject<{
|
|
852
|
+
start: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
853
|
+
end: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
854
|
+
startExclusive: z.ZodOptional<z.ZodBoolean>;
|
|
855
|
+
endExclusive: z.ZodOptional<z.ZodBoolean>;
|
|
856
|
+
}, z.core.$strip>>;
|
|
857
|
+
traceId: z.ZodOptional<z.ZodString>;
|
|
858
|
+
spanId: z.ZodOptional<z.ZodString>;
|
|
859
|
+
entityType: z.ZodOptional<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>;
|
|
860
|
+
entityName: z.ZodOptional<z.ZodString>;
|
|
861
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
862
|
+
organizationId: z.ZodOptional<z.ZodString>;
|
|
863
|
+
experimentId: z.ZodOptional<z.ZodString>;
|
|
864
|
+
serviceName: z.ZodOptional<z.ZodString>;
|
|
865
|
+
environment: z.ZodOptional<z.ZodString>;
|
|
866
|
+
parentEntityType: z.ZodOptional<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>;
|
|
867
|
+
parentEntityName: z.ZodOptional<z.ZodString>;
|
|
868
|
+
rootEntityType: z.ZodOptional<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>;
|
|
869
|
+
rootEntityName: z.ZodOptional<z.ZodString>;
|
|
870
|
+
resourceId: z.ZodOptional<z.ZodString>;
|
|
871
|
+
runId: z.ZodOptional<z.ZodString>;
|
|
872
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
873
|
+
threadId: z.ZodOptional<z.ZodString>;
|
|
874
|
+
requestId: z.ZodOptional<z.ZodString>;
|
|
875
|
+
executionSource: z.ZodOptional<z.ZodString>;
|
|
876
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
877
|
+
}, z.core.$strip>>;
|
|
878
|
+
comparePeriod: z.ZodOptional<z.ZodEnum<{
|
|
879
|
+
previous_period: "previous_period";
|
|
880
|
+
previous_day: "previous_day";
|
|
881
|
+
previous_week: "previous_week";
|
|
882
|
+
}>>;
|
|
883
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
884
|
+
value: z.ZodNullable<z.ZodNumber>;
|
|
885
|
+
previousValue: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
886
|
+
changePercent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
887
|
+
}, z.core.$strip>>, string, `/${string}`>;
|
|
888
|
+
export declare const GET_FEEDBACK_BREAKDOWN: import("../server-adapter").ServerRoute<{
|
|
889
|
+
feedbackType: string;
|
|
890
|
+
groupBy: string[];
|
|
891
|
+
aggregation: "count" | "max" | "min" | "sum" | "avg" | "last";
|
|
892
|
+
feedbackSource?: string | undefined;
|
|
893
|
+
filters?: {
|
|
894
|
+
feedbackType?: string | string[] | undefined;
|
|
895
|
+
feedbackSource?: string | undefined;
|
|
896
|
+
source?: string | undefined;
|
|
897
|
+
feedbackUserId?: string | undefined;
|
|
898
|
+
timestamp?: {
|
|
899
|
+
start?: Date | undefined;
|
|
900
|
+
end?: Date | undefined;
|
|
901
|
+
startExclusive?: boolean | undefined;
|
|
902
|
+
endExclusive?: boolean | undefined;
|
|
903
|
+
} | undefined;
|
|
904
|
+
traceId?: string | undefined;
|
|
905
|
+
spanId?: string | undefined;
|
|
906
|
+
entityType?: import("../../_types/@internal_core/dist/index.js").EntityType | undefined;
|
|
907
|
+
entityName?: string | undefined;
|
|
908
|
+
userId?: string | undefined;
|
|
909
|
+
organizationId?: string | undefined;
|
|
910
|
+
experimentId?: string | undefined;
|
|
911
|
+
serviceName?: string | undefined;
|
|
912
|
+
environment?: string | undefined;
|
|
913
|
+
parentEntityType?: import("../../_types/@internal_core/dist/index.js").EntityType | undefined;
|
|
914
|
+
parentEntityName?: string | undefined;
|
|
915
|
+
rootEntityType?: import("../../_types/@internal_core/dist/index.js").EntityType | undefined;
|
|
916
|
+
rootEntityName?: string | undefined;
|
|
917
|
+
resourceId?: string | undefined;
|
|
918
|
+
runId?: string | undefined;
|
|
919
|
+
sessionId?: string | undefined;
|
|
920
|
+
threadId?: string | undefined;
|
|
921
|
+
requestId?: string | undefined;
|
|
922
|
+
executionSource?: string | undefined;
|
|
923
|
+
tags?: string[] | undefined;
|
|
924
|
+
} | undefined;
|
|
925
|
+
}, {
|
|
926
|
+
groups: {
|
|
927
|
+
dimensions: Record<string, string | null>;
|
|
928
|
+
value: number;
|
|
929
|
+
}[];
|
|
930
|
+
}, "json", import("../server-adapter").RouteSchemas<undefined, undefined, z.ZodObject<{
|
|
931
|
+
feedbackType: z.ZodString;
|
|
932
|
+
feedbackSource: z.ZodOptional<z.ZodString>;
|
|
933
|
+
groupBy: z.ZodArray<z.ZodString>;
|
|
934
|
+
aggregation: z.ZodEnum<{
|
|
935
|
+
sum: "sum";
|
|
936
|
+
avg: "avg";
|
|
937
|
+
min: "min";
|
|
938
|
+
max: "max";
|
|
939
|
+
count: "count";
|
|
940
|
+
last: "last";
|
|
941
|
+
}>;
|
|
942
|
+
filters: z.ZodOptional<z.ZodObject<{
|
|
943
|
+
feedbackType: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
944
|
+
feedbackSource: z.ZodOptional<z.ZodString>;
|
|
945
|
+
source: z.ZodOptional<z.ZodString>;
|
|
946
|
+
feedbackUserId: z.ZodOptional<z.ZodString>;
|
|
947
|
+
timestamp: z.ZodOptional<z.ZodObject<{
|
|
948
|
+
start: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
949
|
+
end: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
950
|
+
startExclusive: z.ZodOptional<z.ZodBoolean>;
|
|
951
|
+
endExclusive: z.ZodOptional<z.ZodBoolean>;
|
|
952
|
+
}, z.core.$strip>>;
|
|
953
|
+
traceId: z.ZodOptional<z.ZodString>;
|
|
954
|
+
spanId: z.ZodOptional<z.ZodString>;
|
|
955
|
+
entityType: z.ZodOptional<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>;
|
|
956
|
+
entityName: z.ZodOptional<z.ZodString>;
|
|
957
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
958
|
+
organizationId: z.ZodOptional<z.ZodString>;
|
|
959
|
+
experimentId: z.ZodOptional<z.ZodString>;
|
|
960
|
+
serviceName: z.ZodOptional<z.ZodString>;
|
|
961
|
+
environment: z.ZodOptional<z.ZodString>;
|
|
962
|
+
parentEntityType: z.ZodOptional<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>;
|
|
963
|
+
parentEntityName: z.ZodOptional<z.ZodString>;
|
|
964
|
+
rootEntityType: z.ZodOptional<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>;
|
|
965
|
+
rootEntityName: z.ZodOptional<z.ZodString>;
|
|
966
|
+
resourceId: z.ZodOptional<z.ZodString>;
|
|
967
|
+
runId: z.ZodOptional<z.ZodString>;
|
|
968
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
969
|
+
threadId: z.ZodOptional<z.ZodString>;
|
|
970
|
+
requestId: z.ZodOptional<z.ZodString>;
|
|
971
|
+
executionSource: z.ZodOptional<z.ZodString>;
|
|
972
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
973
|
+
}, z.core.$strip>>;
|
|
974
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
975
|
+
groups: z.ZodArray<z.ZodObject<{
|
|
976
|
+
dimensions: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
|
|
977
|
+
value: z.ZodNumber;
|
|
978
|
+
}, z.core.$strip>>;
|
|
979
|
+
}, z.core.$strip>>, string, `/${string}`>;
|
|
980
|
+
export declare const GET_FEEDBACK_TIME_SERIES: import("../server-adapter").ServerRoute<{
|
|
981
|
+
feedbackType: string;
|
|
982
|
+
interval: "5m" | "1h" | "1m" | "15m" | "1d";
|
|
983
|
+
aggregation: "count" | "max" | "min" | "sum" | "avg" | "last";
|
|
984
|
+
feedbackSource?: string | undefined;
|
|
985
|
+
filters?: {
|
|
986
|
+
feedbackType?: string | string[] | undefined;
|
|
987
|
+
feedbackSource?: string | undefined;
|
|
988
|
+
source?: string | undefined;
|
|
989
|
+
feedbackUserId?: string | undefined;
|
|
990
|
+
timestamp?: {
|
|
991
|
+
start?: Date | undefined;
|
|
992
|
+
end?: Date | undefined;
|
|
993
|
+
startExclusive?: boolean | undefined;
|
|
994
|
+
endExclusive?: boolean | undefined;
|
|
995
|
+
} | undefined;
|
|
996
|
+
traceId?: string | undefined;
|
|
997
|
+
spanId?: string | undefined;
|
|
998
|
+
entityType?: import("../../_types/@internal_core/dist/index.js").EntityType | undefined;
|
|
999
|
+
entityName?: string | undefined;
|
|
1000
|
+
userId?: string | undefined;
|
|
1001
|
+
organizationId?: string | undefined;
|
|
1002
|
+
experimentId?: string | undefined;
|
|
1003
|
+
serviceName?: string | undefined;
|
|
1004
|
+
environment?: string | undefined;
|
|
1005
|
+
parentEntityType?: import("../../_types/@internal_core/dist/index.js").EntityType | undefined;
|
|
1006
|
+
parentEntityName?: string | undefined;
|
|
1007
|
+
rootEntityType?: import("../../_types/@internal_core/dist/index.js").EntityType | undefined;
|
|
1008
|
+
rootEntityName?: string | undefined;
|
|
1009
|
+
resourceId?: string | undefined;
|
|
1010
|
+
runId?: string | undefined;
|
|
1011
|
+
sessionId?: string | undefined;
|
|
1012
|
+
threadId?: string | undefined;
|
|
1013
|
+
requestId?: string | undefined;
|
|
1014
|
+
executionSource?: string | undefined;
|
|
1015
|
+
tags?: string[] | undefined;
|
|
1016
|
+
} | undefined;
|
|
1017
|
+
groupBy?: string[] | undefined;
|
|
1018
|
+
}, {
|
|
1019
|
+
series: {
|
|
1020
|
+
name: string;
|
|
1021
|
+
points: {
|
|
1022
|
+
timestamp: Date;
|
|
1023
|
+
value: number;
|
|
1024
|
+
}[];
|
|
1025
|
+
}[];
|
|
1026
|
+
}, "json", import("../server-adapter").RouteSchemas<undefined, undefined, z.ZodObject<{
|
|
1027
|
+
feedbackType: z.ZodString;
|
|
1028
|
+
feedbackSource: z.ZodOptional<z.ZodString>;
|
|
1029
|
+
interval: z.ZodEnum<{
|
|
1030
|
+
"1m": "1m";
|
|
1031
|
+
"5m": "5m";
|
|
1032
|
+
"15m": "15m";
|
|
1033
|
+
"1h": "1h";
|
|
1034
|
+
"1d": "1d";
|
|
1035
|
+
}>;
|
|
1036
|
+
aggregation: z.ZodEnum<{
|
|
1037
|
+
sum: "sum";
|
|
1038
|
+
avg: "avg";
|
|
1039
|
+
min: "min";
|
|
1040
|
+
max: "max";
|
|
1041
|
+
count: "count";
|
|
1042
|
+
last: "last";
|
|
1043
|
+
}>;
|
|
1044
|
+
filters: z.ZodOptional<z.ZodObject<{
|
|
1045
|
+
feedbackType: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
1046
|
+
feedbackSource: z.ZodOptional<z.ZodString>;
|
|
1047
|
+
source: z.ZodOptional<z.ZodString>;
|
|
1048
|
+
feedbackUserId: z.ZodOptional<z.ZodString>;
|
|
1049
|
+
timestamp: z.ZodOptional<z.ZodObject<{
|
|
1050
|
+
start: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
1051
|
+
end: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
1052
|
+
startExclusive: z.ZodOptional<z.ZodBoolean>;
|
|
1053
|
+
endExclusive: z.ZodOptional<z.ZodBoolean>;
|
|
1054
|
+
}, z.core.$strip>>;
|
|
1055
|
+
traceId: z.ZodOptional<z.ZodString>;
|
|
1056
|
+
spanId: z.ZodOptional<z.ZodString>;
|
|
1057
|
+
entityType: z.ZodOptional<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>;
|
|
1058
|
+
entityName: z.ZodOptional<z.ZodString>;
|
|
1059
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
1060
|
+
organizationId: z.ZodOptional<z.ZodString>;
|
|
1061
|
+
experimentId: z.ZodOptional<z.ZodString>;
|
|
1062
|
+
serviceName: z.ZodOptional<z.ZodString>;
|
|
1063
|
+
environment: z.ZodOptional<z.ZodString>;
|
|
1064
|
+
parentEntityType: z.ZodOptional<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>;
|
|
1065
|
+
parentEntityName: z.ZodOptional<z.ZodString>;
|
|
1066
|
+
rootEntityType: z.ZodOptional<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>;
|
|
1067
|
+
rootEntityName: z.ZodOptional<z.ZodString>;
|
|
1068
|
+
resourceId: z.ZodOptional<z.ZodString>;
|
|
1069
|
+
runId: z.ZodOptional<z.ZodString>;
|
|
1070
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
1071
|
+
threadId: z.ZodOptional<z.ZodString>;
|
|
1072
|
+
requestId: z.ZodOptional<z.ZodString>;
|
|
1073
|
+
executionSource: z.ZodOptional<z.ZodString>;
|
|
1074
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1075
|
+
}, z.core.$strip>>;
|
|
1076
|
+
groupBy: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1077
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1078
|
+
series: z.ZodArray<z.ZodObject<{
|
|
1079
|
+
name: z.ZodString;
|
|
1080
|
+
points: z.ZodArray<z.ZodObject<{
|
|
1081
|
+
timestamp: z.ZodDate;
|
|
1082
|
+
value: z.ZodNumber;
|
|
1083
|
+
}, z.core.$strip>>;
|
|
1084
|
+
}, z.core.$strip>>;
|
|
1085
|
+
}, z.core.$strip>>, string, `/${string}`>;
|
|
1086
|
+
export declare const GET_FEEDBACK_PERCENTILES: import("../server-adapter").ServerRoute<{
|
|
1087
|
+
feedbackType: string;
|
|
1088
|
+
percentiles: number[];
|
|
1089
|
+
interval: "5m" | "1h" | "1m" | "15m" | "1d";
|
|
1090
|
+
feedbackSource?: string | undefined;
|
|
1091
|
+
filters?: {
|
|
1092
|
+
feedbackType?: string | string[] | undefined;
|
|
1093
|
+
feedbackSource?: string | undefined;
|
|
1094
|
+
source?: string | undefined;
|
|
1095
|
+
feedbackUserId?: string | undefined;
|
|
1096
|
+
timestamp?: {
|
|
1097
|
+
start?: Date | undefined;
|
|
1098
|
+
end?: Date | undefined;
|
|
1099
|
+
startExclusive?: boolean | undefined;
|
|
1100
|
+
endExclusive?: boolean | undefined;
|
|
1101
|
+
} | undefined;
|
|
1102
|
+
traceId?: string | undefined;
|
|
1103
|
+
spanId?: string | undefined;
|
|
1104
|
+
entityType?: import("../../_types/@internal_core/dist/index.js").EntityType | undefined;
|
|
1105
|
+
entityName?: string | undefined;
|
|
1106
|
+
userId?: string | undefined;
|
|
1107
|
+
organizationId?: string | undefined;
|
|
1108
|
+
experimentId?: string | undefined;
|
|
1109
|
+
serviceName?: string | undefined;
|
|
1110
|
+
environment?: string | undefined;
|
|
1111
|
+
parentEntityType?: import("../../_types/@internal_core/dist/index.js").EntityType | undefined;
|
|
1112
|
+
parentEntityName?: string | undefined;
|
|
1113
|
+
rootEntityType?: import("../../_types/@internal_core/dist/index.js").EntityType | undefined;
|
|
1114
|
+
rootEntityName?: string | undefined;
|
|
1115
|
+
resourceId?: string | undefined;
|
|
1116
|
+
runId?: string | undefined;
|
|
1117
|
+
sessionId?: string | undefined;
|
|
1118
|
+
threadId?: string | undefined;
|
|
1119
|
+
requestId?: string | undefined;
|
|
1120
|
+
executionSource?: string | undefined;
|
|
1121
|
+
tags?: string[] | undefined;
|
|
1122
|
+
} | undefined;
|
|
1123
|
+
}, {
|
|
1124
|
+
series: {
|
|
1125
|
+
percentile: number;
|
|
1126
|
+
points: {
|
|
1127
|
+
timestamp: Date;
|
|
1128
|
+
value: number;
|
|
1129
|
+
}[];
|
|
1130
|
+
}[];
|
|
1131
|
+
}, "json", import("../server-adapter").RouteSchemas<undefined, undefined, z.ZodObject<{
|
|
1132
|
+
feedbackType: z.ZodString;
|
|
1133
|
+
feedbackSource: z.ZodOptional<z.ZodString>;
|
|
1134
|
+
percentiles: z.ZodArray<z.ZodNumber>;
|
|
1135
|
+
interval: z.ZodEnum<{
|
|
1136
|
+
"1m": "1m";
|
|
1137
|
+
"5m": "5m";
|
|
1138
|
+
"15m": "15m";
|
|
1139
|
+
"1h": "1h";
|
|
1140
|
+
"1d": "1d";
|
|
1141
|
+
}>;
|
|
1142
|
+
filters: z.ZodOptional<z.ZodObject<{
|
|
1143
|
+
feedbackType: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
1144
|
+
feedbackSource: z.ZodOptional<z.ZodString>;
|
|
1145
|
+
source: z.ZodOptional<z.ZodString>;
|
|
1146
|
+
feedbackUserId: z.ZodOptional<z.ZodString>;
|
|
1147
|
+
timestamp: z.ZodOptional<z.ZodObject<{
|
|
1148
|
+
start: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
1149
|
+
end: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
1150
|
+
startExclusive: z.ZodOptional<z.ZodBoolean>;
|
|
1151
|
+
endExclusive: z.ZodOptional<z.ZodBoolean>;
|
|
1152
|
+
}, z.core.$strip>>;
|
|
1153
|
+
traceId: z.ZodOptional<z.ZodString>;
|
|
1154
|
+
spanId: z.ZodOptional<z.ZodString>;
|
|
1155
|
+
entityType: z.ZodOptional<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>;
|
|
1156
|
+
entityName: z.ZodOptional<z.ZodString>;
|
|
1157
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
1158
|
+
organizationId: z.ZodOptional<z.ZodString>;
|
|
1159
|
+
experimentId: z.ZodOptional<z.ZodString>;
|
|
1160
|
+
serviceName: z.ZodOptional<z.ZodString>;
|
|
1161
|
+
environment: z.ZodOptional<z.ZodString>;
|
|
1162
|
+
parentEntityType: z.ZodOptional<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>;
|
|
1163
|
+
parentEntityName: z.ZodOptional<z.ZodString>;
|
|
1164
|
+
rootEntityType: z.ZodOptional<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>;
|
|
1165
|
+
rootEntityName: z.ZodOptional<z.ZodString>;
|
|
1166
|
+
resourceId: z.ZodOptional<z.ZodString>;
|
|
1167
|
+
runId: z.ZodOptional<z.ZodString>;
|
|
1168
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
1169
|
+
threadId: z.ZodOptional<z.ZodString>;
|
|
1170
|
+
requestId: z.ZodOptional<z.ZodString>;
|
|
1171
|
+
executionSource: z.ZodOptional<z.ZodString>;
|
|
1172
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1173
|
+
}, z.core.$strip>>;
|
|
1174
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1175
|
+
series: z.ZodArray<z.ZodObject<{
|
|
1176
|
+
percentile: z.ZodNumber;
|
|
1177
|
+
points: z.ZodArray<z.ZodObject<{
|
|
1178
|
+
timestamp: z.ZodDate;
|
|
1179
|
+
value: z.ZodNumber;
|
|
1180
|
+
}, z.core.$strip>>;
|
|
1181
|
+
}, z.core.$strip>>;
|
|
1182
|
+
}, z.core.$strip>>, string, `/${string}`>;
|
|
1183
|
+
export declare const GET_METRIC_AGGREGATE: import("../server-adapter").ServerRoute<{
|
|
1184
|
+
name: string[];
|
|
1185
|
+
aggregation: "count" | "max" | "min" | "sum" | "avg" | "last";
|
|
1186
|
+
filters?: {
|
|
1187
|
+
name?: string[] | undefined;
|
|
1188
|
+
source?: string | undefined;
|
|
1189
|
+
provider?: string | undefined;
|
|
1190
|
+
model?: string | undefined;
|
|
1191
|
+
costUnit?: string | undefined;
|
|
1192
|
+
labels?: Record<string, string> | undefined;
|
|
1193
|
+
timestamp?: {
|
|
1194
|
+
start?: Date | undefined;
|
|
1195
|
+
end?: Date | undefined;
|
|
1196
|
+
startExclusive?: boolean | undefined;
|
|
1197
|
+
endExclusive?: boolean | undefined;
|
|
1198
|
+
} | undefined;
|
|
1199
|
+
traceId?: string | undefined;
|
|
1200
|
+
spanId?: string | undefined;
|
|
1201
|
+
entityType?: import("../../_types/@internal_core/dist/index.js").EntityType | undefined;
|
|
1202
|
+
entityName?: string | undefined;
|
|
1203
|
+
userId?: string | undefined;
|
|
1204
|
+
organizationId?: string | undefined;
|
|
1205
|
+
experimentId?: string | undefined;
|
|
1206
|
+
serviceName?: string | undefined;
|
|
1207
|
+
environment?: string | undefined;
|
|
1208
|
+
parentEntityType?: import("../../_types/@internal_core/dist/index.js").EntityType | undefined;
|
|
1209
|
+
parentEntityName?: string | undefined;
|
|
1210
|
+
rootEntityType?: import("../../_types/@internal_core/dist/index.js").EntityType | undefined;
|
|
1211
|
+
rootEntityName?: string | undefined;
|
|
1212
|
+
resourceId?: string | undefined;
|
|
1213
|
+
runId?: string | undefined;
|
|
1214
|
+
sessionId?: string | undefined;
|
|
1215
|
+
threadId?: string | undefined;
|
|
1216
|
+
requestId?: string | undefined;
|
|
1217
|
+
executionSource?: string | undefined;
|
|
1218
|
+
tags?: string[] | undefined;
|
|
1219
|
+
} | undefined;
|
|
1220
|
+
comparePeriod?: "previous_period" | "previous_day" | "previous_week" | undefined;
|
|
1221
|
+
}, {
|
|
1222
|
+
value: number | null;
|
|
1223
|
+
estimatedCost?: number | null | undefined;
|
|
1224
|
+
costUnit?: string | null | undefined;
|
|
1225
|
+
previousEstimatedCost?: number | null | undefined;
|
|
1226
|
+
costChangePercent?: number | null | undefined;
|
|
1227
|
+
previousValue?: number | null | undefined;
|
|
1228
|
+
changePercent?: number | null | undefined;
|
|
1229
|
+
}, "json", import("../server-adapter").RouteSchemas<undefined, undefined, z.ZodObject<{
|
|
1230
|
+
name: z.ZodArray<z.ZodString>;
|
|
1231
|
+
aggregation: z.ZodEnum<{
|
|
1232
|
+
sum: "sum";
|
|
1233
|
+
avg: "avg";
|
|
1234
|
+
min: "min";
|
|
1235
|
+
max: "max";
|
|
1236
|
+
count: "count";
|
|
1237
|
+
last: "last";
|
|
1238
|
+
}>;
|
|
1239
|
+
filters: z.ZodOptional<z.ZodObject<{
|
|
1240
|
+
name: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1241
|
+
source: z.ZodOptional<z.ZodString>;
|
|
1242
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
1243
|
+
model: z.ZodOptional<z.ZodString>;
|
|
1244
|
+
costUnit: z.ZodOptional<z.ZodString>;
|
|
1245
|
+
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1246
|
+
timestamp: z.ZodOptional<z.ZodObject<{
|
|
1247
|
+
start: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
1248
|
+
end: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
1249
|
+
startExclusive: z.ZodOptional<z.ZodBoolean>;
|
|
1250
|
+
endExclusive: z.ZodOptional<z.ZodBoolean>;
|
|
1251
|
+
}, z.core.$strip>>;
|
|
1252
|
+
traceId: z.ZodOptional<z.ZodString>;
|
|
1253
|
+
spanId: z.ZodOptional<z.ZodString>;
|
|
1254
|
+
entityType: z.ZodOptional<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>;
|
|
1255
|
+
entityName: z.ZodOptional<z.ZodString>;
|
|
1256
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
1257
|
+
organizationId: z.ZodOptional<z.ZodString>;
|
|
1258
|
+
experimentId: z.ZodOptional<z.ZodString>;
|
|
1259
|
+
serviceName: z.ZodOptional<z.ZodString>;
|
|
1260
|
+
environment: z.ZodOptional<z.ZodString>;
|
|
1261
|
+
parentEntityType: z.ZodOptional<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>;
|
|
1262
|
+
parentEntityName: z.ZodOptional<z.ZodString>;
|
|
1263
|
+
rootEntityType: z.ZodOptional<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>;
|
|
1264
|
+
rootEntityName: z.ZodOptional<z.ZodString>;
|
|
1265
|
+
resourceId: z.ZodOptional<z.ZodString>;
|
|
1266
|
+
runId: z.ZodOptional<z.ZodString>;
|
|
1267
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
1268
|
+
threadId: z.ZodOptional<z.ZodString>;
|
|
1269
|
+
requestId: z.ZodOptional<z.ZodString>;
|
|
1270
|
+
executionSource: z.ZodOptional<z.ZodString>;
|
|
1271
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1272
|
+
}, z.core.$strip>>;
|
|
1273
|
+
comparePeriod: z.ZodOptional<z.ZodEnum<{
|
|
1274
|
+
previous_period: "previous_period";
|
|
1275
|
+
previous_day: "previous_day";
|
|
1276
|
+
previous_week: "previous_week";
|
|
1277
|
+
}>>;
|
|
1278
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1279
|
+
estimatedCost: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1280
|
+
costUnit: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1281
|
+
previousEstimatedCost: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1282
|
+
costChangePercent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1283
|
+
value: z.ZodNullable<z.ZodNumber>;
|
|
1284
|
+
previousValue: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1285
|
+
changePercent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1286
|
+
}, z.core.$strip>>, string, `/${string}`>;
|
|
1287
|
+
export declare const GET_METRIC_BREAKDOWN: import("../server-adapter").ServerRoute<{
|
|
1288
|
+
name: string[];
|
|
1289
|
+
groupBy: string[];
|
|
1290
|
+
aggregation: "count" | "max" | "min" | "sum" | "avg" | "last";
|
|
1291
|
+
filters?: {
|
|
1292
|
+
name?: string[] | undefined;
|
|
1293
|
+
source?: string | undefined;
|
|
1294
|
+
provider?: string | undefined;
|
|
1295
|
+
model?: string | undefined;
|
|
1296
|
+
costUnit?: string | undefined;
|
|
1297
|
+
labels?: Record<string, string> | undefined;
|
|
1298
|
+
timestamp?: {
|
|
1299
|
+
start?: Date | undefined;
|
|
1300
|
+
end?: Date | undefined;
|
|
1301
|
+
startExclusive?: boolean | undefined;
|
|
1302
|
+
endExclusive?: boolean | undefined;
|
|
1303
|
+
} | undefined;
|
|
1304
|
+
traceId?: string | undefined;
|
|
1305
|
+
spanId?: string | undefined;
|
|
1306
|
+
entityType?: import("../../_types/@internal_core/dist/index.js").EntityType | undefined;
|
|
1307
|
+
entityName?: string | undefined;
|
|
1308
|
+
userId?: string | undefined;
|
|
1309
|
+
organizationId?: string | undefined;
|
|
1310
|
+
experimentId?: string | undefined;
|
|
1311
|
+
serviceName?: string | undefined;
|
|
1312
|
+
environment?: string | undefined;
|
|
1313
|
+
parentEntityType?: import("../../_types/@internal_core/dist/index.js").EntityType | undefined;
|
|
1314
|
+
parentEntityName?: string | undefined;
|
|
1315
|
+
rootEntityType?: import("../../_types/@internal_core/dist/index.js").EntityType | undefined;
|
|
1316
|
+
rootEntityName?: string | undefined;
|
|
1317
|
+
resourceId?: string | undefined;
|
|
1318
|
+
runId?: string | undefined;
|
|
1319
|
+
sessionId?: string | undefined;
|
|
1320
|
+
threadId?: string | undefined;
|
|
1321
|
+
requestId?: string | undefined;
|
|
1322
|
+
executionSource?: string | undefined;
|
|
1323
|
+
tags?: string[] | undefined;
|
|
1324
|
+
} | undefined;
|
|
1325
|
+
}, {
|
|
1326
|
+
groups: {
|
|
1327
|
+
dimensions: Record<string, string | null>;
|
|
1328
|
+
value: number;
|
|
1329
|
+
estimatedCost?: number | null | undefined;
|
|
1330
|
+
costUnit?: string | null | undefined;
|
|
1331
|
+
}[];
|
|
1332
|
+
}, "json", import("../server-adapter").RouteSchemas<undefined, undefined, z.ZodObject<{
|
|
1333
|
+
name: z.ZodArray<z.ZodString>;
|
|
1334
|
+
groupBy: z.ZodArray<z.ZodString>;
|
|
1335
|
+
aggregation: z.ZodEnum<{
|
|
1336
|
+
sum: "sum";
|
|
1337
|
+
avg: "avg";
|
|
1338
|
+
min: "min";
|
|
1339
|
+
max: "max";
|
|
1340
|
+
count: "count";
|
|
1341
|
+
last: "last";
|
|
1342
|
+
}>;
|
|
1343
|
+
filters: z.ZodOptional<z.ZodObject<{
|
|
1344
|
+
name: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1345
|
+
source: z.ZodOptional<z.ZodString>;
|
|
1346
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
1347
|
+
model: z.ZodOptional<z.ZodString>;
|
|
1348
|
+
costUnit: z.ZodOptional<z.ZodString>;
|
|
1349
|
+
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1350
|
+
timestamp: z.ZodOptional<z.ZodObject<{
|
|
1351
|
+
start: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
1352
|
+
end: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
1353
|
+
startExclusive: z.ZodOptional<z.ZodBoolean>;
|
|
1354
|
+
endExclusive: z.ZodOptional<z.ZodBoolean>;
|
|
1355
|
+
}, z.core.$strip>>;
|
|
1356
|
+
traceId: z.ZodOptional<z.ZodString>;
|
|
1357
|
+
spanId: z.ZodOptional<z.ZodString>;
|
|
1358
|
+
entityType: z.ZodOptional<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>;
|
|
1359
|
+
entityName: z.ZodOptional<z.ZodString>;
|
|
1360
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
1361
|
+
organizationId: z.ZodOptional<z.ZodString>;
|
|
1362
|
+
experimentId: z.ZodOptional<z.ZodString>;
|
|
1363
|
+
serviceName: z.ZodOptional<z.ZodString>;
|
|
1364
|
+
environment: z.ZodOptional<z.ZodString>;
|
|
1365
|
+
parentEntityType: z.ZodOptional<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>;
|
|
1366
|
+
parentEntityName: z.ZodOptional<z.ZodString>;
|
|
1367
|
+
rootEntityType: z.ZodOptional<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>;
|
|
1368
|
+
rootEntityName: z.ZodOptional<z.ZodString>;
|
|
1369
|
+
resourceId: z.ZodOptional<z.ZodString>;
|
|
1370
|
+
runId: z.ZodOptional<z.ZodString>;
|
|
1371
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
1372
|
+
threadId: z.ZodOptional<z.ZodString>;
|
|
1373
|
+
requestId: z.ZodOptional<z.ZodString>;
|
|
1374
|
+
executionSource: z.ZodOptional<z.ZodString>;
|
|
1375
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1376
|
+
}, z.core.$strip>>;
|
|
1377
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1378
|
+
groups: z.ZodArray<z.ZodObject<{
|
|
1379
|
+
dimensions: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
|
|
1380
|
+
value: z.ZodNumber;
|
|
1381
|
+
estimatedCost: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1382
|
+
costUnit: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1383
|
+
}, z.core.$strip>>;
|
|
1384
|
+
}, z.core.$strip>>, string, `/${string}`>;
|
|
1385
|
+
export declare const GET_METRIC_TIME_SERIES: import("../server-adapter").ServerRoute<{
|
|
1386
|
+
name: string[];
|
|
1387
|
+
interval: "5m" | "1h" | "1m" | "15m" | "1d";
|
|
1388
|
+
aggregation: "count" | "max" | "min" | "sum" | "avg" | "last";
|
|
1389
|
+
filters?: {
|
|
1390
|
+
name?: string[] | undefined;
|
|
1391
|
+
source?: string | undefined;
|
|
1392
|
+
provider?: string | undefined;
|
|
1393
|
+
model?: string | undefined;
|
|
1394
|
+
costUnit?: string | undefined;
|
|
1395
|
+
labels?: Record<string, string> | undefined;
|
|
1396
|
+
timestamp?: {
|
|
1397
|
+
start?: Date | undefined;
|
|
1398
|
+
end?: Date | undefined;
|
|
1399
|
+
startExclusive?: boolean | undefined;
|
|
1400
|
+
endExclusive?: boolean | undefined;
|
|
1401
|
+
} | undefined;
|
|
1402
|
+
traceId?: string | undefined;
|
|
1403
|
+
spanId?: string | undefined;
|
|
1404
|
+
entityType?: import("../../_types/@internal_core/dist/index.js").EntityType | undefined;
|
|
1405
|
+
entityName?: string | undefined;
|
|
1406
|
+
userId?: string | undefined;
|
|
1407
|
+
organizationId?: string | undefined;
|
|
1408
|
+
experimentId?: string | undefined;
|
|
1409
|
+
serviceName?: string | undefined;
|
|
1410
|
+
environment?: string | undefined;
|
|
1411
|
+
parentEntityType?: import("../../_types/@internal_core/dist/index.js").EntityType | undefined;
|
|
1412
|
+
parentEntityName?: string | undefined;
|
|
1413
|
+
rootEntityType?: import("../../_types/@internal_core/dist/index.js").EntityType | undefined;
|
|
1414
|
+
rootEntityName?: string | undefined;
|
|
1415
|
+
resourceId?: string | undefined;
|
|
1416
|
+
runId?: string | undefined;
|
|
1417
|
+
sessionId?: string | undefined;
|
|
1418
|
+
threadId?: string | undefined;
|
|
1419
|
+
requestId?: string | undefined;
|
|
1420
|
+
executionSource?: string | undefined;
|
|
1421
|
+
tags?: string[] | undefined;
|
|
1422
|
+
} | undefined;
|
|
1423
|
+
groupBy?: string[] | undefined;
|
|
1424
|
+
}, {
|
|
1425
|
+
series: {
|
|
1426
|
+
name: string;
|
|
1427
|
+
points: {
|
|
1428
|
+
timestamp: Date;
|
|
1429
|
+
value: number;
|
|
1430
|
+
estimatedCost?: number | null | undefined;
|
|
1431
|
+
}[];
|
|
1432
|
+
costUnit?: string | null | undefined;
|
|
1433
|
+
}[];
|
|
1434
|
+
}, "json", import("../server-adapter").RouteSchemas<undefined, undefined, z.ZodObject<{
|
|
1435
|
+
name: z.ZodArray<z.ZodString>;
|
|
1436
|
+
interval: z.ZodEnum<{
|
|
1437
|
+
"1m": "1m";
|
|
1438
|
+
"5m": "5m";
|
|
1439
|
+
"15m": "15m";
|
|
1440
|
+
"1h": "1h";
|
|
1441
|
+
"1d": "1d";
|
|
1442
|
+
}>;
|
|
1443
|
+
aggregation: z.ZodEnum<{
|
|
1444
|
+
sum: "sum";
|
|
1445
|
+
avg: "avg";
|
|
1446
|
+
min: "min";
|
|
1447
|
+
max: "max";
|
|
1448
|
+
count: "count";
|
|
1449
|
+
last: "last";
|
|
1450
|
+
}>;
|
|
1451
|
+
filters: z.ZodOptional<z.ZodObject<{
|
|
1452
|
+
name: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1453
|
+
source: z.ZodOptional<z.ZodString>;
|
|
1454
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
1455
|
+
model: z.ZodOptional<z.ZodString>;
|
|
1456
|
+
costUnit: z.ZodOptional<z.ZodString>;
|
|
1457
|
+
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1458
|
+
timestamp: z.ZodOptional<z.ZodObject<{
|
|
1459
|
+
start: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
1460
|
+
end: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
1461
|
+
startExclusive: z.ZodOptional<z.ZodBoolean>;
|
|
1462
|
+
endExclusive: z.ZodOptional<z.ZodBoolean>;
|
|
1463
|
+
}, z.core.$strip>>;
|
|
1464
|
+
traceId: z.ZodOptional<z.ZodString>;
|
|
1465
|
+
spanId: z.ZodOptional<z.ZodString>;
|
|
1466
|
+
entityType: z.ZodOptional<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>;
|
|
1467
|
+
entityName: z.ZodOptional<z.ZodString>;
|
|
1468
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
1469
|
+
organizationId: z.ZodOptional<z.ZodString>;
|
|
1470
|
+
experimentId: z.ZodOptional<z.ZodString>;
|
|
1471
|
+
serviceName: z.ZodOptional<z.ZodString>;
|
|
1472
|
+
environment: z.ZodOptional<z.ZodString>;
|
|
1473
|
+
parentEntityType: z.ZodOptional<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>;
|
|
1474
|
+
parentEntityName: z.ZodOptional<z.ZodString>;
|
|
1475
|
+
rootEntityType: z.ZodOptional<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>;
|
|
1476
|
+
rootEntityName: z.ZodOptional<z.ZodString>;
|
|
1477
|
+
resourceId: z.ZodOptional<z.ZodString>;
|
|
1478
|
+
runId: z.ZodOptional<z.ZodString>;
|
|
1479
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
1480
|
+
threadId: z.ZodOptional<z.ZodString>;
|
|
1481
|
+
requestId: z.ZodOptional<z.ZodString>;
|
|
1482
|
+
executionSource: z.ZodOptional<z.ZodString>;
|
|
1483
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1484
|
+
}, z.core.$strip>>;
|
|
1485
|
+
groupBy: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1486
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1487
|
+
series: z.ZodArray<z.ZodObject<{
|
|
1488
|
+
name: z.ZodString;
|
|
1489
|
+
costUnit: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1490
|
+
points: z.ZodArray<z.ZodObject<{
|
|
1491
|
+
timestamp: z.ZodDate;
|
|
1492
|
+
value: z.ZodNumber;
|
|
1493
|
+
estimatedCost: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1494
|
+
}, z.core.$strip>>;
|
|
1495
|
+
}, z.core.$strip>>;
|
|
1496
|
+
}, z.core.$strip>>, string, `/${string}`>;
|
|
1497
|
+
export declare const GET_METRIC_PERCENTILES: import("../server-adapter").ServerRoute<{
|
|
1498
|
+
name: string;
|
|
1499
|
+
percentiles: number[];
|
|
1500
|
+
interval: "5m" | "1h" | "1m" | "15m" | "1d";
|
|
1501
|
+
filters?: {
|
|
1502
|
+
name?: string[] | undefined;
|
|
1503
|
+
source?: string | undefined;
|
|
1504
|
+
provider?: string | undefined;
|
|
1505
|
+
model?: string | undefined;
|
|
1506
|
+
costUnit?: string | undefined;
|
|
1507
|
+
labels?: Record<string, string> | undefined;
|
|
1508
|
+
timestamp?: {
|
|
1509
|
+
start?: Date | undefined;
|
|
1510
|
+
end?: Date | undefined;
|
|
1511
|
+
startExclusive?: boolean | undefined;
|
|
1512
|
+
endExclusive?: boolean | undefined;
|
|
1513
|
+
} | undefined;
|
|
1514
|
+
traceId?: string | undefined;
|
|
1515
|
+
spanId?: string | undefined;
|
|
1516
|
+
entityType?: import("../../_types/@internal_core/dist/index.js").EntityType | undefined;
|
|
1517
|
+
entityName?: string | undefined;
|
|
1518
|
+
userId?: string | undefined;
|
|
1519
|
+
organizationId?: string | undefined;
|
|
1520
|
+
experimentId?: string | undefined;
|
|
1521
|
+
serviceName?: string | undefined;
|
|
1522
|
+
environment?: string | undefined;
|
|
1523
|
+
parentEntityType?: import("../../_types/@internal_core/dist/index.js").EntityType | undefined;
|
|
1524
|
+
parentEntityName?: string | undefined;
|
|
1525
|
+
rootEntityType?: import("../../_types/@internal_core/dist/index.js").EntityType | undefined;
|
|
1526
|
+
rootEntityName?: string | undefined;
|
|
1527
|
+
resourceId?: string | undefined;
|
|
1528
|
+
runId?: string | undefined;
|
|
1529
|
+
sessionId?: string | undefined;
|
|
1530
|
+
threadId?: string | undefined;
|
|
1531
|
+
requestId?: string | undefined;
|
|
1532
|
+
executionSource?: string | undefined;
|
|
1533
|
+
tags?: string[] | undefined;
|
|
1534
|
+
} | undefined;
|
|
1535
|
+
}, {
|
|
1536
|
+
series: {
|
|
1537
|
+
percentile: number;
|
|
1538
|
+
points: {
|
|
1539
|
+
timestamp: Date;
|
|
1540
|
+
value: number;
|
|
1541
|
+
}[];
|
|
1542
|
+
}[];
|
|
1543
|
+
}, "json", import("../server-adapter").RouteSchemas<undefined, undefined, z.ZodObject<{
|
|
1544
|
+
name: z.ZodString;
|
|
1545
|
+
percentiles: z.ZodArray<z.ZodNumber>;
|
|
1546
|
+
interval: z.ZodEnum<{
|
|
1547
|
+
"1m": "1m";
|
|
1548
|
+
"5m": "5m";
|
|
1549
|
+
"15m": "15m";
|
|
1550
|
+
"1h": "1h";
|
|
1551
|
+
"1d": "1d";
|
|
1552
|
+
}>;
|
|
1553
|
+
filters: z.ZodOptional<z.ZodObject<{
|
|
1554
|
+
name: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1555
|
+
source: z.ZodOptional<z.ZodString>;
|
|
1556
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
1557
|
+
model: z.ZodOptional<z.ZodString>;
|
|
1558
|
+
costUnit: z.ZodOptional<z.ZodString>;
|
|
1559
|
+
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1560
|
+
timestamp: z.ZodOptional<z.ZodObject<{
|
|
1561
|
+
start: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
1562
|
+
end: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
1563
|
+
startExclusive: z.ZodOptional<z.ZodBoolean>;
|
|
1564
|
+
endExclusive: z.ZodOptional<z.ZodBoolean>;
|
|
1565
|
+
}, z.core.$strip>>;
|
|
1566
|
+
traceId: z.ZodOptional<z.ZodString>;
|
|
1567
|
+
spanId: z.ZodOptional<z.ZodString>;
|
|
1568
|
+
entityType: z.ZodOptional<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>;
|
|
1569
|
+
entityName: z.ZodOptional<z.ZodString>;
|
|
1570
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
1571
|
+
organizationId: z.ZodOptional<z.ZodString>;
|
|
1572
|
+
experimentId: z.ZodOptional<z.ZodString>;
|
|
1573
|
+
serviceName: z.ZodOptional<z.ZodString>;
|
|
1574
|
+
environment: z.ZodOptional<z.ZodString>;
|
|
1575
|
+
parentEntityType: z.ZodOptional<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>;
|
|
1576
|
+
parentEntityName: z.ZodOptional<z.ZodString>;
|
|
1577
|
+
rootEntityType: z.ZodOptional<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>;
|
|
1578
|
+
rootEntityName: z.ZodOptional<z.ZodString>;
|
|
1579
|
+
resourceId: z.ZodOptional<z.ZodString>;
|
|
1580
|
+
runId: z.ZodOptional<z.ZodString>;
|
|
1581
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
1582
|
+
threadId: z.ZodOptional<z.ZodString>;
|
|
1583
|
+
requestId: z.ZodOptional<z.ZodString>;
|
|
1584
|
+
executionSource: z.ZodOptional<z.ZodString>;
|
|
1585
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1586
|
+
}, z.core.$strip>>;
|
|
1587
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1588
|
+
series: z.ZodArray<z.ZodObject<{
|
|
1589
|
+
percentile: z.ZodNumber;
|
|
1590
|
+
points: z.ZodArray<z.ZodObject<{
|
|
1591
|
+
timestamp: z.ZodDate;
|
|
1592
|
+
value: z.ZodNumber;
|
|
1593
|
+
}, z.core.$strip>>;
|
|
1594
|
+
}, z.core.$strip>>;
|
|
1595
|
+
}, z.core.$strip>>, string, `/${string}`>;
|
|
1596
|
+
export declare const GET_METRIC_NAMES: import("../server-adapter").ServerRoute<Record<string, unknown>, {
|
|
1597
|
+
names: string[];
|
|
1598
|
+
}, "json", import("../server-adapter").RouteSchemas<undefined, z.ZodObject<Readonly<{
|
|
1599
|
+
[k: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
1600
|
+
}>, z.core.$strip>, undefined, z.ZodObject<{
|
|
1601
|
+
names: z.ZodArray<z.ZodString>;
|
|
1602
|
+
}, z.core.$strip>>, string, `/${string}`>;
|
|
1603
|
+
export declare const GET_METRIC_LABEL_KEYS: import("../server-adapter").ServerRoute<Record<string, unknown>, {
|
|
1604
|
+
keys: string[];
|
|
1605
|
+
}, "json", import("../server-adapter").RouteSchemas<undefined, z.ZodObject<Readonly<{
|
|
1606
|
+
[k: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
1607
|
+
}>, z.core.$strip>, undefined, z.ZodObject<{
|
|
1608
|
+
keys: z.ZodArray<z.ZodString>;
|
|
1609
|
+
}, z.core.$strip>>, string, `/${string}`>;
|
|
1610
|
+
export declare const GET_METRIC_LABEL_VALUES: import("../server-adapter").ServerRoute<Record<string, unknown>, {
|
|
1611
|
+
values: string[];
|
|
1612
|
+
}, "json", import("../server-adapter").RouteSchemas<undefined, z.ZodObject<Readonly<{
|
|
1613
|
+
[k: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
1614
|
+
}>, z.core.$strip>, undefined, z.ZodObject<{
|
|
1615
|
+
values: z.ZodArray<z.ZodString>;
|
|
1616
|
+
}, z.core.$strip>>, string, `/${string}`>;
|
|
1617
|
+
export declare const GET_ENTITY_TYPES: import("../server-adapter").ServerRoute<{}, {
|
|
1618
|
+
entityTypes: import("../../_types/@internal_core/dist/index.js").EntityType[];
|
|
1619
|
+
}, "json", import("../server-adapter").RouteSchemas<undefined, undefined, undefined, z.ZodObject<{
|
|
1620
|
+
entityTypes: z.ZodArray<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>;
|
|
1621
|
+
}, z.core.$strip>>, string, `/${string}`>;
|
|
852
1622
|
export declare const GET_ENTITY_NAMES: import("../server-adapter").ServerRoute<Record<string, unknown>, {
|
|
853
1623
|
names: string[];
|
|
854
1624
|
}, "json", import("../server-adapter").RouteSchemas<undefined, z.ZodObject<Readonly<{
|
|
@@ -961,19 +1731,100 @@ export declare const NEW_ROUTES: {
|
|
|
961
1731
|
spanId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
962
1732
|
}, z.core.$strip>>;
|
|
963
1733
|
}, z.core.$strip>>, string, `/${string}`>;
|
|
964
|
-
LIST_SCORES: import("../server-adapter").ServerRoute<Record<string, unknown>, {
|
|
965
|
-
pagination: {
|
|
966
|
-
total: number;
|
|
967
|
-
page: number;
|
|
968
|
-
perPage: number | false;
|
|
969
|
-
hasMore: boolean;
|
|
970
|
-
};
|
|
971
|
-
scores: {
|
|
972
|
-
timestamp: Date;
|
|
1734
|
+
LIST_SCORES: import("../server-adapter").ServerRoute<Record<string, unknown>, {
|
|
1735
|
+
pagination: {
|
|
1736
|
+
total: number;
|
|
1737
|
+
page: number;
|
|
1738
|
+
perPage: number | false;
|
|
1739
|
+
hasMore: boolean;
|
|
1740
|
+
};
|
|
1741
|
+
scores: {
|
|
1742
|
+
timestamp: Date;
|
|
1743
|
+
traceId: string;
|
|
1744
|
+
scorerId: string;
|
|
1745
|
+
score: number;
|
|
1746
|
+
scoreTraceId?: string | null | undefined;
|
|
1747
|
+
metadata?: Record<string, unknown> | null | undefined;
|
|
1748
|
+
executionSource?: string | null | undefined;
|
|
1749
|
+
tags?: string[] | null | undefined;
|
|
1750
|
+
entityType?: import("../../_types/@internal_core/dist/index.js").EntityType | null | undefined;
|
|
1751
|
+
entityId?: string | null | undefined;
|
|
1752
|
+
entityName?: string | null | undefined;
|
|
1753
|
+
parentEntityType?: import("../../_types/@internal_core/dist/index.js").EntityType | null | undefined;
|
|
1754
|
+
parentEntityId?: string | null | undefined;
|
|
1755
|
+
parentEntityName?: string | null | undefined;
|
|
1756
|
+
rootEntityType?: import("../../_types/@internal_core/dist/index.js").EntityType | null | undefined;
|
|
1757
|
+
rootEntityId?: string | null | undefined;
|
|
1758
|
+
rootEntityName?: string | null | undefined;
|
|
1759
|
+
userId?: string | null | undefined;
|
|
1760
|
+
organizationId?: string | null | undefined;
|
|
1761
|
+
resourceId?: string | null | undefined;
|
|
1762
|
+
runId?: string | null | undefined;
|
|
1763
|
+
sessionId?: string | null | undefined;
|
|
1764
|
+
threadId?: string | null | undefined;
|
|
1765
|
+
requestId?: string | null | undefined;
|
|
1766
|
+
environment?: string | null | undefined;
|
|
1767
|
+
serviceName?: string | null | undefined;
|
|
1768
|
+
scope?: Record<string, unknown> | null | undefined;
|
|
1769
|
+
experimentId?: string | null | undefined;
|
|
1770
|
+
spanId?: string | null | undefined;
|
|
1771
|
+
scorerVersion?: string | null | undefined;
|
|
1772
|
+
scoreSource?: string | null | undefined;
|
|
1773
|
+
source?: string | null | undefined;
|
|
1774
|
+
reason?: string | null | undefined;
|
|
1775
|
+
}[];
|
|
1776
|
+
}, "json", import("../server-adapter").RouteSchemas<undefined, z.ZodObject<Readonly<{
|
|
1777
|
+
[k: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
1778
|
+
}>, z.core.$strip>, undefined, z.ZodObject<{
|
|
1779
|
+
pagination: z.ZodObject<{
|
|
1780
|
+
total: z.ZodNumber;
|
|
1781
|
+
page: z.ZodNumber;
|
|
1782
|
+
perPage: z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<false>]>;
|
|
1783
|
+
hasMore: z.ZodBoolean;
|
|
1784
|
+
}, z.core.$strip>;
|
|
1785
|
+
scores: z.ZodArray<z.ZodObject<{
|
|
1786
|
+
scoreTraceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1787
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
1788
|
+
executionSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1789
|
+
tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
1790
|
+
entityType: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>>;
|
|
1791
|
+
entityId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1792
|
+
entityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1793
|
+
parentEntityType: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>>;
|
|
1794
|
+
parentEntityId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1795
|
+
parentEntityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1796
|
+
rootEntityType: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>>;
|
|
1797
|
+
rootEntityId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1798
|
+
rootEntityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1799
|
+
userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1800
|
+
organizationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1801
|
+
resourceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1802
|
+
runId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1803
|
+
sessionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1804
|
+
threadId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1805
|
+
requestId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1806
|
+
environment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1807
|
+
serviceName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1808
|
+
scope: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
1809
|
+
experimentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1810
|
+
timestamp: z.ZodDate;
|
|
1811
|
+
traceId: z.ZodString;
|
|
1812
|
+
spanId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1813
|
+
scorerId: z.ZodString;
|
|
1814
|
+
scorerVersion: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1815
|
+
scoreSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1816
|
+
source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1817
|
+
score: z.ZodNumber;
|
|
1818
|
+
reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1819
|
+
}, z.core.$strip>>;
|
|
1820
|
+
}, z.core.$strip>>, string, `/${string}`>;
|
|
1821
|
+
CREATE_SCORE: import("../server-adapter").ServerRoute<{
|
|
1822
|
+
score: {
|
|
973
1823
|
traceId: string;
|
|
974
1824
|
scorerId: string;
|
|
975
1825
|
score: number;
|
|
976
|
-
|
|
1826
|
+
spanId?: string | null | undefined;
|
|
1827
|
+
source?: string | null | undefined;
|
|
977
1828
|
metadata?: Record<string, unknown> | null | undefined;
|
|
978
1829
|
executionSource?: string | null | undefined;
|
|
979
1830
|
tags?: string[] | null | undefined;
|
|
@@ -997,131 +1848,431 @@ export declare const NEW_ROUTES: {
|
|
|
997
1848
|
serviceName?: string | null | undefined;
|
|
998
1849
|
scope?: Record<string, unknown> | null | undefined;
|
|
999
1850
|
experimentId?: string | null | undefined;
|
|
1000
|
-
spanId?: string | null | undefined;
|
|
1001
1851
|
scorerVersion?: string | null | undefined;
|
|
1002
1852
|
scoreSource?: string | null | undefined;
|
|
1003
|
-
source?: string | null | undefined;
|
|
1004
1853
|
reason?: string | null | undefined;
|
|
1854
|
+
scoreTraceId?: string | null | undefined;
|
|
1855
|
+
};
|
|
1856
|
+
}, {
|
|
1857
|
+
success: boolean;
|
|
1858
|
+
}, "json", import("../server-adapter").RouteSchemas<undefined, undefined, z.ZodObject<{
|
|
1859
|
+
score: z.ZodObject<{
|
|
1860
|
+
traceId: z.ZodString;
|
|
1861
|
+
spanId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1862
|
+
source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1863
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
1864
|
+
executionSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1865
|
+
tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
1866
|
+
entityType: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>>;
|
|
1867
|
+
entityId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1868
|
+
entityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1869
|
+
parentEntityType: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>>;
|
|
1870
|
+
parentEntityId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1871
|
+
parentEntityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1872
|
+
rootEntityType: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>>;
|
|
1873
|
+
rootEntityId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1874
|
+
rootEntityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1875
|
+
userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1876
|
+
organizationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1877
|
+
resourceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1878
|
+
runId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1879
|
+
sessionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1880
|
+
threadId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1881
|
+
requestId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1882
|
+
environment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1883
|
+
serviceName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1884
|
+
scope: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
1885
|
+
experimentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1886
|
+
scorerId: z.ZodString;
|
|
1887
|
+
score: z.ZodNumber;
|
|
1888
|
+
scorerVersion: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1889
|
+
scoreSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1890
|
+
reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1891
|
+
scoreTraceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1892
|
+
}, z.core.$strip>;
|
|
1893
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1894
|
+
success: z.ZodBoolean;
|
|
1895
|
+
}, z.core.$strip>>, string, `/${string}`>;
|
|
1896
|
+
GET_SCORE_AGGREGATE: import("../server-adapter").ServerRoute<{
|
|
1897
|
+
scorerId: string;
|
|
1898
|
+
aggregation: "count" | "max" | "min" | "sum" | "avg" | "last";
|
|
1899
|
+
scoreSource?: string | undefined;
|
|
1900
|
+
filters?: {
|
|
1901
|
+
scorerId?: string | string[] | undefined;
|
|
1902
|
+
scoreSource?: string | undefined;
|
|
1903
|
+
source?: string | undefined;
|
|
1904
|
+
timestamp?: {
|
|
1905
|
+
start?: Date | undefined;
|
|
1906
|
+
end?: Date | undefined;
|
|
1907
|
+
startExclusive?: boolean | undefined;
|
|
1908
|
+
endExclusive?: boolean | undefined;
|
|
1909
|
+
} | undefined;
|
|
1910
|
+
traceId?: string | undefined;
|
|
1911
|
+
spanId?: string | undefined;
|
|
1912
|
+
entityType?: import("../../_types/@internal_core/dist/index.js").EntityType | undefined;
|
|
1913
|
+
entityName?: string | undefined;
|
|
1914
|
+
userId?: string | undefined;
|
|
1915
|
+
organizationId?: string | undefined;
|
|
1916
|
+
experimentId?: string | undefined;
|
|
1917
|
+
serviceName?: string | undefined;
|
|
1918
|
+
environment?: string | undefined;
|
|
1919
|
+
parentEntityType?: import("../../_types/@internal_core/dist/index.js").EntityType | undefined;
|
|
1920
|
+
parentEntityName?: string | undefined;
|
|
1921
|
+
rootEntityType?: import("../../_types/@internal_core/dist/index.js").EntityType | undefined;
|
|
1922
|
+
rootEntityName?: string | undefined;
|
|
1923
|
+
resourceId?: string | undefined;
|
|
1924
|
+
runId?: string | undefined;
|
|
1925
|
+
sessionId?: string | undefined;
|
|
1926
|
+
threadId?: string | undefined;
|
|
1927
|
+
requestId?: string | undefined;
|
|
1928
|
+
executionSource?: string | undefined;
|
|
1929
|
+
tags?: string[] | undefined;
|
|
1930
|
+
} | undefined;
|
|
1931
|
+
comparePeriod?: "previous_period" | "previous_day" | "previous_week" | undefined;
|
|
1932
|
+
}, {
|
|
1933
|
+
value: number | null;
|
|
1934
|
+
previousValue?: number | null | undefined;
|
|
1935
|
+
changePercent?: number | null | undefined;
|
|
1936
|
+
}, "json", import("../server-adapter").RouteSchemas<undefined, undefined, z.ZodObject<{
|
|
1937
|
+
scorerId: z.ZodString;
|
|
1938
|
+
scoreSource: z.ZodOptional<z.ZodString>;
|
|
1939
|
+
aggregation: z.ZodEnum<{
|
|
1940
|
+
sum: "sum";
|
|
1941
|
+
avg: "avg";
|
|
1942
|
+
min: "min";
|
|
1943
|
+
max: "max";
|
|
1944
|
+
count: "count";
|
|
1945
|
+
last: "last";
|
|
1946
|
+
}>;
|
|
1947
|
+
filters: z.ZodOptional<z.ZodObject<{
|
|
1948
|
+
scorerId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
1949
|
+
scoreSource: z.ZodOptional<z.ZodString>;
|
|
1950
|
+
source: z.ZodOptional<z.ZodString>;
|
|
1951
|
+
timestamp: z.ZodOptional<z.ZodObject<{
|
|
1952
|
+
start: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
1953
|
+
end: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
1954
|
+
startExclusive: z.ZodOptional<z.ZodBoolean>;
|
|
1955
|
+
endExclusive: z.ZodOptional<z.ZodBoolean>;
|
|
1956
|
+
}, z.core.$strip>>;
|
|
1957
|
+
traceId: z.ZodOptional<z.ZodString>;
|
|
1958
|
+
spanId: z.ZodOptional<z.ZodString>;
|
|
1959
|
+
entityType: z.ZodOptional<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>;
|
|
1960
|
+
entityName: z.ZodOptional<z.ZodString>;
|
|
1961
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
1962
|
+
organizationId: z.ZodOptional<z.ZodString>;
|
|
1963
|
+
experimentId: z.ZodOptional<z.ZodString>;
|
|
1964
|
+
serviceName: z.ZodOptional<z.ZodString>;
|
|
1965
|
+
environment: z.ZodOptional<z.ZodString>;
|
|
1966
|
+
parentEntityType: z.ZodOptional<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>;
|
|
1967
|
+
parentEntityName: z.ZodOptional<z.ZodString>;
|
|
1968
|
+
rootEntityType: z.ZodOptional<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>;
|
|
1969
|
+
rootEntityName: z.ZodOptional<z.ZodString>;
|
|
1970
|
+
resourceId: z.ZodOptional<z.ZodString>;
|
|
1971
|
+
runId: z.ZodOptional<z.ZodString>;
|
|
1972
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
1973
|
+
threadId: z.ZodOptional<z.ZodString>;
|
|
1974
|
+
requestId: z.ZodOptional<z.ZodString>;
|
|
1975
|
+
executionSource: z.ZodOptional<z.ZodString>;
|
|
1976
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1977
|
+
}, z.core.$strip>>;
|
|
1978
|
+
comparePeriod: z.ZodOptional<z.ZodEnum<{
|
|
1979
|
+
previous_period: "previous_period";
|
|
1980
|
+
previous_day: "previous_day";
|
|
1981
|
+
previous_week: "previous_week";
|
|
1982
|
+
}>>;
|
|
1983
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1984
|
+
value: z.ZodNullable<z.ZodNumber>;
|
|
1985
|
+
previousValue: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1986
|
+
changePercent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1987
|
+
}, z.core.$strip>>, string, `/${string}`>;
|
|
1988
|
+
GET_SCORE_BREAKDOWN: import("../server-adapter").ServerRoute<{
|
|
1989
|
+
scorerId: string;
|
|
1990
|
+
groupBy: string[];
|
|
1991
|
+
aggregation: "count" | "max" | "min" | "sum" | "avg" | "last";
|
|
1992
|
+
scoreSource?: string | undefined;
|
|
1993
|
+
filters?: {
|
|
1994
|
+
scorerId?: string | string[] | undefined;
|
|
1995
|
+
scoreSource?: string | undefined;
|
|
1996
|
+
source?: string | undefined;
|
|
1997
|
+
timestamp?: {
|
|
1998
|
+
start?: Date | undefined;
|
|
1999
|
+
end?: Date | undefined;
|
|
2000
|
+
startExclusive?: boolean | undefined;
|
|
2001
|
+
endExclusive?: boolean | undefined;
|
|
2002
|
+
} | undefined;
|
|
2003
|
+
traceId?: string | undefined;
|
|
2004
|
+
spanId?: string | undefined;
|
|
2005
|
+
entityType?: import("../../_types/@internal_core/dist/index.js").EntityType | undefined;
|
|
2006
|
+
entityName?: string | undefined;
|
|
2007
|
+
userId?: string | undefined;
|
|
2008
|
+
organizationId?: string | undefined;
|
|
2009
|
+
experimentId?: string | undefined;
|
|
2010
|
+
serviceName?: string | undefined;
|
|
2011
|
+
environment?: string | undefined;
|
|
2012
|
+
parentEntityType?: import("../../_types/@internal_core/dist/index.js").EntityType | undefined;
|
|
2013
|
+
parentEntityName?: string | undefined;
|
|
2014
|
+
rootEntityType?: import("../../_types/@internal_core/dist/index.js").EntityType | undefined;
|
|
2015
|
+
rootEntityName?: string | undefined;
|
|
2016
|
+
resourceId?: string | undefined;
|
|
2017
|
+
runId?: string | undefined;
|
|
2018
|
+
sessionId?: string | undefined;
|
|
2019
|
+
threadId?: string | undefined;
|
|
2020
|
+
requestId?: string | undefined;
|
|
2021
|
+
executionSource?: string | undefined;
|
|
2022
|
+
tags?: string[] | undefined;
|
|
2023
|
+
} | undefined;
|
|
2024
|
+
}, {
|
|
2025
|
+
groups: {
|
|
2026
|
+
dimensions: Record<string, string | null>;
|
|
2027
|
+
value: number;
|
|
2028
|
+
}[];
|
|
2029
|
+
}, "json", import("../server-adapter").RouteSchemas<undefined, undefined, z.ZodObject<{
|
|
2030
|
+
scorerId: z.ZodString;
|
|
2031
|
+
scoreSource: z.ZodOptional<z.ZodString>;
|
|
2032
|
+
groupBy: z.ZodArray<z.ZodString>;
|
|
2033
|
+
aggregation: z.ZodEnum<{
|
|
2034
|
+
sum: "sum";
|
|
2035
|
+
avg: "avg";
|
|
2036
|
+
min: "min";
|
|
2037
|
+
max: "max";
|
|
2038
|
+
count: "count";
|
|
2039
|
+
last: "last";
|
|
2040
|
+
}>;
|
|
2041
|
+
filters: z.ZodOptional<z.ZodObject<{
|
|
2042
|
+
scorerId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
2043
|
+
scoreSource: z.ZodOptional<z.ZodString>;
|
|
2044
|
+
source: z.ZodOptional<z.ZodString>;
|
|
2045
|
+
timestamp: z.ZodOptional<z.ZodObject<{
|
|
2046
|
+
start: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
2047
|
+
end: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
2048
|
+
startExclusive: z.ZodOptional<z.ZodBoolean>;
|
|
2049
|
+
endExclusive: z.ZodOptional<z.ZodBoolean>;
|
|
2050
|
+
}, z.core.$strip>>;
|
|
2051
|
+
traceId: z.ZodOptional<z.ZodString>;
|
|
2052
|
+
spanId: z.ZodOptional<z.ZodString>;
|
|
2053
|
+
entityType: z.ZodOptional<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>;
|
|
2054
|
+
entityName: z.ZodOptional<z.ZodString>;
|
|
2055
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
2056
|
+
organizationId: z.ZodOptional<z.ZodString>;
|
|
2057
|
+
experimentId: z.ZodOptional<z.ZodString>;
|
|
2058
|
+
serviceName: z.ZodOptional<z.ZodString>;
|
|
2059
|
+
environment: z.ZodOptional<z.ZodString>;
|
|
2060
|
+
parentEntityType: z.ZodOptional<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>;
|
|
2061
|
+
parentEntityName: z.ZodOptional<z.ZodString>;
|
|
2062
|
+
rootEntityType: z.ZodOptional<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>;
|
|
2063
|
+
rootEntityName: z.ZodOptional<z.ZodString>;
|
|
2064
|
+
resourceId: z.ZodOptional<z.ZodString>;
|
|
2065
|
+
runId: z.ZodOptional<z.ZodString>;
|
|
2066
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
2067
|
+
threadId: z.ZodOptional<z.ZodString>;
|
|
2068
|
+
requestId: z.ZodOptional<z.ZodString>;
|
|
2069
|
+
executionSource: z.ZodOptional<z.ZodString>;
|
|
2070
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2071
|
+
}, z.core.$strip>>;
|
|
2072
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2073
|
+
groups: z.ZodArray<z.ZodObject<{
|
|
2074
|
+
dimensions: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
|
|
2075
|
+
value: z.ZodNumber;
|
|
2076
|
+
}, z.core.$strip>>;
|
|
2077
|
+
}, z.core.$strip>>, string, `/${string}`>;
|
|
2078
|
+
GET_SCORE_TIME_SERIES: import("../server-adapter").ServerRoute<{
|
|
2079
|
+
scorerId: string;
|
|
2080
|
+
interval: "5m" | "1h" | "1m" | "15m" | "1d";
|
|
2081
|
+
aggregation: "count" | "max" | "min" | "sum" | "avg" | "last";
|
|
2082
|
+
scoreSource?: string | undefined;
|
|
2083
|
+
filters?: {
|
|
2084
|
+
scorerId?: string | string[] | undefined;
|
|
2085
|
+
scoreSource?: string | undefined;
|
|
2086
|
+
source?: string | undefined;
|
|
2087
|
+
timestamp?: {
|
|
2088
|
+
start?: Date | undefined;
|
|
2089
|
+
end?: Date | undefined;
|
|
2090
|
+
startExclusive?: boolean | undefined;
|
|
2091
|
+
endExclusive?: boolean | undefined;
|
|
2092
|
+
} | undefined;
|
|
2093
|
+
traceId?: string | undefined;
|
|
2094
|
+
spanId?: string | undefined;
|
|
2095
|
+
entityType?: import("../../_types/@internal_core/dist/index.js").EntityType | undefined;
|
|
2096
|
+
entityName?: string | undefined;
|
|
2097
|
+
userId?: string | undefined;
|
|
2098
|
+
organizationId?: string | undefined;
|
|
2099
|
+
experimentId?: string | undefined;
|
|
2100
|
+
serviceName?: string | undefined;
|
|
2101
|
+
environment?: string | undefined;
|
|
2102
|
+
parentEntityType?: import("../../_types/@internal_core/dist/index.js").EntityType | undefined;
|
|
2103
|
+
parentEntityName?: string | undefined;
|
|
2104
|
+
rootEntityType?: import("../../_types/@internal_core/dist/index.js").EntityType | undefined;
|
|
2105
|
+
rootEntityName?: string | undefined;
|
|
2106
|
+
resourceId?: string | undefined;
|
|
2107
|
+
runId?: string | undefined;
|
|
2108
|
+
sessionId?: string | undefined;
|
|
2109
|
+
threadId?: string | undefined;
|
|
2110
|
+
requestId?: string | undefined;
|
|
2111
|
+
executionSource?: string | undefined;
|
|
2112
|
+
tags?: string[] | undefined;
|
|
2113
|
+
} | undefined;
|
|
2114
|
+
groupBy?: string[] | undefined;
|
|
2115
|
+
}, {
|
|
2116
|
+
series: {
|
|
2117
|
+
name: string;
|
|
2118
|
+
points: {
|
|
2119
|
+
timestamp: Date;
|
|
2120
|
+
value: number;
|
|
2121
|
+
}[];
|
|
1005
2122
|
}[];
|
|
1006
|
-
}, "json", import("../server-adapter").RouteSchemas<undefined, z.ZodObject<
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
2123
|
+
}, "json", import("../server-adapter").RouteSchemas<undefined, undefined, z.ZodObject<{
|
|
2124
|
+
scorerId: z.ZodString;
|
|
2125
|
+
scoreSource: z.ZodOptional<z.ZodString>;
|
|
2126
|
+
interval: z.ZodEnum<{
|
|
2127
|
+
"1m": "1m";
|
|
2128
|
+
"5m": "5m";
|
|
2129
|
+
"15m": "15m";
|
|
2130
|
+
"1h": "1h";
|
|
2131
|
+
"1d": "1d";
|
|
2132
|
+
}>;
|
|
2133
|
+
aggregation: z.ZodEnum<{
|
|
2134
|
+
sum: "sum";
|
|
2135
|
+
avg: "avg";
|
|
2136
|
+
min: "min";
|
|
2137
|
+
max: "max";
|
|
2138
|
+
count: "count";
|
|
2139
|
+
last: "last";
|
|
2140
|
+
}>;
|
|
2141
|
+
filters: z.ZodOptional<z.ZodObject<{
|
|
2142
|
+
scorerId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
2143
|
+
scoreSource: z.ZodOptional<z.ZodString>;
|
|
2144
|
+
source: z.ZodOptional<z.ZodString>;
|
|
2145
|
+
timestamp: z.ZodOptional<z.ZodObject<{
|
|
2146
|
+
start: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
2147
|
+
end: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
2148
|
+
startExclusive: z.ZodOptional<z.ZodBoolean>;
|
|
2149
|
+
endExclusive: z.ZodOptional<z.ZodBoolean>;
|
|
2150
|
+
}, z.core.$strip>>;
|
|
2151
|
+
traceId: z.ZodOptional<z.ZodString>;
|
|
2152
|
+
spanId: z.ZodOptional<z.ZodString>;
|
|
2153
|
+
entityType: z.ZodOptional<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>;
|
|
2154
|
+
entityName: z.ZodOptional<z.ZodString>;
|
|
2155
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
2156
|
+
organizationId: z.ZodOptional<z.ZodString>;
|
|
2157
|
+
experimentId: z.ZodOptional<z.ZodString>;
|
|
2158
|
+
serviceName: z.ZodOptional<z.ZodString>;
|
|
2159
|
+
environment: z.ZodOptional<z.ZodString>;
|
|
2160
|
+
parentEntityType: z.ZodOptional<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>;
|
|
2161
|
+
parentEntityName: z.ZodOptional<z.ZodString>;
|
|
2162
|
+
rootEntityType: z.ZodOptional<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>;
|
|
2163
|
+
rootEntityName: z.ZodOptional<z.ZodString>;
|
|
2164
|
+
resourceId: z.ZodOptional<z.ZodString>;
|
|
2165
|
+
runId: z.ZodOptional<z.ZodString>;
|
|
2166
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
2167
|
+
threadId: z.ZodOptional<z.ZodString>;
|
|
2168
|
+
requestId: z.ZodOptional<z.ZodString>;
|
|
2169
|
+
executionSource: z.ZodOptional<z.ZodString>;
|
|
2170
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2171
|
+
}, z.core.$strip>>;
|
|
2172
|
+
groupBy: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2173
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2174
|
+
series: z.ZodArray<z.ZodObject<{
|
|
2175
|
+
name: z.ZodString;
|
|
2176
|
+
points: z.ZodArray<z.ZodObject<{
|
|
2177
|
+
timestamp: z.ZodDate;
|
|
2178
|
+
value: z.ZodNumber;
|
|
2179
|
+
}, z.core.$strip>>;
|
|
1049
2180
|
}, z.core.$strip>>;
|
|
1050
2181
|
}, z.core.$strip>>, string, `/${string}`>;
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
userId?: string |
|
|
1071
|
-
organizationId?: string |
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
2182
|
+
GET_SCORE_PERCENTILES: import("../server-adapter").ServerRoute<{
|
|
2183
|
+
scorerId: string;
|
|
2184
|
+
percentiles: number[];
|
|
2185
|
+
interval: "5m" | "1h" | "1m" | "15m" | "1d";
|
|
2186
|
+
scoreSource?: string | undefined;
|
|
2187
|
+
filters?: {
|
|
2188
|
+
scorerId?: string | string[] | undefined;
|
|
2189
|
+
scoreSource?: string | undefined;
|
|
2190
|
+
source?: string | undefined;
|
|
2191
|
+
timestamp?: {
|
|
2192
|
+
start?: Date | undefined;
|
|
2193
|
+
end?: Date | undefined;
|
|
2194
|
+
startExclusive?: boolean | undefined;
|
|
2195
|
+
endExclusive?: boolean | undefined;
|
|
2196
|
+
} | undefined;
|
|
2197
|
+
traceId?: string | undefined;
|
|
2198
|
+
spanId?: string | undefined;
|
|
2199
|
+
entityType?: import("../../_types/@internal_core/dist/index.js").EntityType | undefined;
|
|
2200
|
+
entityName?: string | undefined;
|
|
2201
|
+
userId?: string | undefined;
|
|
2202
|
+
organizationId?: string | undefined;
|
|
2203
|
+
experimentId?: string | undefined;
|
|
2204
|
+
serviceName?: string | undefined;
|
|
2205
|
+
environment?: string | undefined;
|
|
2206
|
+
parentEntityType?: import("../../_types/@internal_core/dist/index.js").EntityType | undefined;
|
|
2207
|
+
parentEntityName?: string | undefined;
|
|
2208
|
+
rootEntityType?: import("../../_types/@internal_core/dist/index.js").EntityType | undefined;
|
|
2209
|
+
rootEntityName?: string | undefined;
|
|
2210
|
+
resourceId?: string | undefined;
|
|
2211
|
+
runId?: string | undefined;
|
|
2212
|
+
sessionId?: string | undefined;
|
|
2213
|
+
threadId?: string | undefined;
|
|
2214
|
+
requestId?: string | undefined;
|
|
2215
|
+
executionSource?: string | undefined;
|
|
2216
|
+
tags?: string[] | undefined;
|
|
2217
|
+
} | undefined;
|
|
1086
2218
|
}, {
|
|
1087
|
-
|
|
2219
|
+
series: {
|
|
2220
|
+
percentile: number;
|
|
2221
|
+
points: {
|
|
2222
|
+
timestamp: Date;
|
|
2223
|
+
value: number;
|
|
2224
|
+
}[];
|
|
2225
|
+
}[];
|
|
1088
2226
|
}, "json", import("../server-adapter").RouteSchemas<undefined, undefined, z.ZodObject<{
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
experimentId: z.ZodOptional<z.
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
2227
|
+
scorerId: z.ZodString;
|
|
2228
|
+
scoreSource: z.ZodOptional<z.ZodString>;
|
|
2229
|
+
percentiles: z.ZodArray<z.ZodNumber>;
|
|
2230
|
+
interval: z.ZodEnum<{
|
|
2231
|
+
"1m": "1m";
|
|
2232
|
+
"5m": "5m";
|
|
2233
|
+
"15m": "15m";
|
|
2234
|
+
"1h": "1h";
|
|
2235
|
+
"1d": "1d";
|
|
2236
|
+
}>;
|
|
2237
|
+
filters: z.ZodOptional<z.ZodObject<{
|
|
2238
|
+
scorerId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
2239
|
+
scoreSource: z.ZodOptional<z.ZodString>;
|
|
2240
|
+
source: z.ZodOptional<z.ZodString>;
|
|
2241
|
+
timestamp: z.ZodOptional<z.ZodObject<{
|
|
2242
|
+
start: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
2243
|
+
end: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
2244
|
+
startExclusive: z.ZodOptional<z.ZodBoolean>;
|
|
2245
|
+
endExclusive: z.ZodOptional<z.ZodBoolean>;
|
|
2246
|
+
}, z.core.$strip>>;
|
|
2247
|
+
traceId: z.ZodOptional<z.ZodString>;
|
|
2248
|
+
spanId: z.ZodOptional<z.ZodString>;
|
|
2249
|
+
entityType: z.ZodOptional<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>;
|
|
2250
|
+
entityName: z.ZodOptional<z.ZodString>;
|
|
2251
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
2252
|
+
organizationId: z.ZodOptional<z.ZodString>;
|
|
2253
|
+
experimentId: z.ZodOptional<z.ZodString>;
|
|
2254
|
+
serviceName: z.ZodOptional<z.ZodString>;
|
|
2255
|
+
environment: z.ZodOptional<z.ZodString>;
|
|
2256
|
+
parentEntityType: z.ZodOptional<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>;
|
|
2257
|
+
parentEntityName: z.ZodOptional<z.ZodString>;
|
|
2258
|
+
rootEntityType: z.ZodOptional<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>;
|
|
2259
|
+
rootEntityName: z.ZodOptional<z.ZodString>;
|
|
2260
|
+
resourceId: z.ZodOptional<z.ZodString>;
|
|
2261
|
+
runId: z.ZodOptional<z.ZodString>;
|
|
2262
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
2263
|
+
threadId: z.ZodOptional<z.ZodString>;
|
|
2264
|
+
requestId: z.ZodOptional<z.ZodString>;
|
|
2265
|
+
executionSource: z.ZodOptional<z.ZodString>;
|
|
2266
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2267
|
+
}, z.core.$strip>>;
|
|
1123
2268
|
}, z.core.$strip>, z.ZodObject<{
|
|
1124
|
-
|
|
2269
|
+
series: z.ZodArray<z.ZodObject<{
|
|
2270
|
+
percentile: z.ZodNumber;
|
|
2271
|
+
points: z.ZodArray<z.ZodObject<{
|
|
2272
|
+
timestamp: z.ZodDate;
|
|
2273
|
+
value: z.ZodNumber;
|
|
2274
|
+
}, z.core.$strip>>;
|
|
2275
|
+
}, z.core.$strip>>;
|
|
1125
2276
|
}, z.core.$strip>>, string, `/${string}`>;
|
|
1126
2277
|
LIST_FEEDBACK: import("../server-adapter").ServerRoute<Record<string, unknown>, {
|
|
1127
2278
|
pagination: {
|
|
@@ -1210,80 +2361,469 @@ export declare const NEW_ROUTES: {
|
|
|
1210
2361
|
feedbackUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1211
2362
|
}, z.core.$strip>>;
|
|
1212
2363
|
}, z.core.$strip>>, string, `/${string}`>;
|
|
1213
|
-
CREATE_FEEDBACK: import("../server-adapter").ServerRoute<{
|
|
1214
|
-
feedback: {
|
|
1215
|
-
value: string | number;
|
|
1216
|
-
traceId: string;
|
|
1217
|
-
feedbackType: string;
|
|
1218
|
-
spanId?: string | null | undefined;
|
|
1219
|
-
source?: string | null | undefined;
|
|
1220
|
-
metadata?: Record<string, unknown> | null | undefined;
|
|
1221
|
-
executionSource?: string | null | undefined;
|
|
1222
|
-
tags?: string[] | null | undefined;
|
|
1223
|
-
entityType?: import("../../_types/@internal_core/dist/index.js").EntityType | null | undefined;
|
|
1224
|
-
entityId?: string | null | undefined;
|
|
1225
|
-
entityName?: string | null | undefined;
|
|
1226
|
-
parentEntityType?: import("../../_types/@internal_core/dist/index.js").EntityType | null | undefined;
|
|
1227
|
-
parentEntityId?: string | null | undefined;
|
|
1228
|
-
parentEntityName?: string | null | undefined;
|
|
1229
|
-
rootEntityType?: import("../../_types/@internal_core/dist/index.js").EntityType | null | undefined;
|
|
1230
|
-
rootEntityId?: string | null | undefined;
|
|
1231
|
-
rootEntityName?: string | null | undefined;
|
|
1232
|
-
userId?: string | null | undefined;
|
|
1233
|
-
organizationId?: string | null | undefined;
|
|
1234
|
-
resourceId?: string | null | undefined;
|
|
1235
|
-
runId?: string | null | undefined;
|
|
1236
|
-
sessionId?: string | null | undefined;
|
|
1237
|
-
threadId?: string | null | undefined;
|
|
1238
|
-
requestId?: string | null | undefined;
|
|
1239
|
-
environment?: string | null | undefined;
|
|
1240
|
-
serviceName?: string | null | undefined;
|
|
1241
|
-
scope?: Record<string, unknown> | null | undefined;
|
|
1242
|
-
experimentId?: string | null | undefined;
|
|
1243
|
-
feedbackUserId?: string | null | undefined;
|
|
1244
|
-
feedbackSource?: string | null | undefined;
|
|
1245
|
-
comment?: string | null | undefined;
|
|
1246
|
-
sourceId?: string | null | undefined;
|
|
1247
|
-
};
|
|
2364
|
+
CREATE_FEEDBACK: import("../server-adapter").ServerRoute<{
|
|
2365
|
+
feedback: {
|
|
2366
|
+
value: string | number;
|
|
2367
|
+
traceId: string;
|
|
2368
|
+
feedbackType: string;
|
|
2369
|
+
spanId?: string | null | undefined;
|
|
2370
|
+
source?: string | null | undefined;
|
|
2371
|
+
metadata?: Record<string, unknown> | null | undefined;
|
|
2372
|
+
executionSource?: string | null | undefined;
|
|
2373
|
+
tags?: string[] | null | undefined;
|
|
2374
|
+
entityType?: import("../../_types/@internal_core/dist/index.js").EntityType | null | undefined;
|
|
2375
|
+
entityId?: string | null | undefined;
|
|
2376
|
+
entityName?: string | null | undefined;
|
|
2377
|
+
parentEntityType?: import("../../_types/@internal_core/dist/index.js").EntityType | null | undefined;
|
|
2378
|
+
parentEntityId?: string | null | undefined;
|
|
2379
|
+
parentEntityName?: string | null | undefined;
|
|
2380
|
+
rootEntityType?: import("../../_types/@internal_core/dist/index.js").EntityType | null | undefined;
|
|
2381
|
+
rootEntityId?: string | null | undefined;
|
|
2382
|
+
rootEntityName?: string | null | undefined;
|
|
2383
|
+
userId?: string | null | undefined;
|
|
2384
|
+
organizationId?: string | null | undefined;
|
|
2385
|
+
resourceId?: string | null | undefined;
|
|
2386
|
+
runId?: string | null | undefined;
|
|
2387
|
+
sessionId?: string | null | undefined;
|
|
2388
|
+
threadId?: string | null | undefined;
|
|
2389
|
+
requestId?: string | null | undefined;
|
|
2390
|
+
environment?: string | null | undefined;
|
|
2391
|
+
serviceName?: string | null | undefined;
|
|
2392
|
+
scope?: Record<string, unknown> | null | undefined;
|
|
2393
|
+
experimentId?: string | null | undefined;
|
|
2394
|
+
feedbackUserId?: string | null | undefined;
|
|
2395
|
+
feedbackSource?: string | null | undefined;
|
|
2396
|
+
comment?: string | null | undefined;
|
|
2397
|
+
sourceId?: string | null | undefined;
|
|
2398
|
+
};
|
|
2399
|
+
}, {
|
|
2400
|
+
success: boolean;
|
|
2401
|
+
}, "json", import("../server-adapter").RouteSchemas<undefined, undefined, z.ZodObject<{
|
|
2402
|
+
feedback: z.ZodObject<{
|
|
2403
|
+
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
2404
|
+
traceId: z.ZodString;
|
|
2405
|
+
spanId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2406
|
+
source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2407
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
2408
|
+
executionSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2409
|
+
tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
2410
|
+
entityType: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>>;
|
|
2411
|
+
entityId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2412
|
+
entityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2413
|
+
parentEntityType: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>>;
|
|
2414
|
+
parentEntityId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2415
|
+
parentEntityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2416
|
+
rootEntityType: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>>;
|
|
2417
|
+
rootEntityId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2418
|
+
rootEntityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2419
|
+
userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2420
|
+
organizationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2421
|
+
resourceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2422
|
+
runId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2423
|
+
sessionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2424
|
+
threadId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2425
|
+
requestId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2426
|
+
environment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2427
|
+
serviceName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2428
|
+
scope: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
2429
|
+
experimentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2430
|
+
feedbackUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2431
|
+
feedbackType: z.ZodString;
|
|
2432
|
+
feedbackSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2433
|
+
comment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2434
|
+
sourceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2435
|
+
}, z.core.$strip>;
|
|
2436
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2437
|
+
success: z.ZodBoolean;
|
|
2438
|
+
}, z.core.$strip>>, string, `/${string}`>;
|
|
2439
|
+
GET_FEEDBACK_AGGREGATE: import("../server-adapter").ServerRoute<{
|
|
2440
|
+
feedbackType: string;
|
|
2441
|
+
aggregation: "count" | "max" | "min" | "sum" | "avg" | "last";
|
|
2442
|
+
feedbackSource?: string | undefined;
|
|
2443
|
+
filters?: {
|
|
2444
|
+
feedbackType?: string | string[] | undefined;
|
|
2445
|
+
feedbackSource?: string | undefined;
|
|
2446
|
+
source?: string | undefined;
|
|
2447
|
+
feedbackUserId?: string | undefined;
|
|
2448
|
+
timestamp?: {
|
|
2449
|
+
start?: Date | undefined;
|
|
2450
|
+
end?: Date | undefined;
|
|
2451
|
+
startExclusive?: boolean | undefined;
|
|
2452
|
+
endExclusive?: boolean | undefined;
|
|
2453
|
+
} | undefined;
|
|
2454
|
+
traceId?: string | undefined;
|
|
2455
|
+
spanId?: string | undefined;
|
|
2456
|
+
entityType?: import("../../_types/@internal_core/dist/index.js").EntityType | undefined;
|
|
2457
|
+
entityName?: string | undefined;
|
|
2458
|
+
userId?: string | undefined;
|
|
2459
|
+
organizationId?: string | undefined;
|
|
2460
|
+
experimentId?: string | undefined;
|
|
2461
|
+
serviceName?: string | undefined;
|
|
2462
|
+
environment?: string | undefined;
|
|
2463
|
+
parentEntityType?: import("../../_types/@internal_core/dist/index.js").EntityType | undefined;
|
|
2464
|
+
parentEntityName?: string | undefined;
|
|
2465
|
+
rootEntityType?: import("../../_types/@internal_core/dist/index.js").EntityType | undefined;
|
|
2466
|
+
rootEntityName?: string | undefined;
|
|
2467
|
+
resourceId?: string | undefined;
|
|
2468
|
+
runId?: string | undefined;
|
|
2469
|
+
sessionId?: string | undefined;
|
|
2470
|
+
threadId?: string | undefined;
|
|
2471
|
+
requestId?: string | undefined;
|
|
2472
|
+
executionSource?: string | undefined;
|
|
2473
|
+
tags?: string[] | undefined;
|
|
2474
|
+
} | undefined;
|
|
2475
|
+
comparePeriod?: "previous_period" | "previous_day" | "previous_week" | undefined;
|
|
2476
|
+
}, {
|
|
2477
|
+
value: number | null;
|
|
2478
|
+
previousValue?: number | null | undefined;
|
|
2479
|
+
changePercent?: number | null | undefined;
|
|
2480
|
+
}, "json", import("../server-adapter").RouteSchemas<undefined, undefined, z.ZodObject<{
|
|
2481
|
+
feedbackType: z.ZodString;
|
|
2482
|
+
feedbackSource: z.ZodOptional<z.ZodString>;
|
|
2483
|
+
aggregation: z.ZodEnum<{
|
|
2484
|
+
sum: "sum";
|
|
2485
|
+
avg: "avg";
|
|
2486
|
+
min: "min";
|
|
2487
|
+
max: "max";
|
|
2488
|
+
count: "count";
|
|
2489
|
+
last: "last";
|
|
2490
|
+
}>;
|
|
2491
|
+
filters: z.ZodOptional<z.ZodObject<{
|
|
2492
|
+
feedbackType: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
2493
|
+
feedbackSource: z.ZodOptional<z.ZodString>;
|
|
2494
|
+
source: z.ZodOptional<z.ZodString>;
|
|
2495
|
+
feedbackUserId: z.ZodOptional<z.ZodString>;
|
|
2496
|
+
timestamp: z.ZodOptional<z.ZodObject<{
|
|
2497
|
+
start: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
2498
|
+
end: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
2499
|
+
startExclusive: z.ZodOptional<z.ZodBoolean>;
|
|
2500
|
+
endExclusive: z.ZodOptional<z.ZodBoolean>;
|
|
2501
|
+
}, z.core.$strip>>;
|
|
2502
|
+
traceId: z.ZodOptional<z.ZodString>;
|
|
2503
|
+
spanId: z.ZodOptional<z.ZodString>;
|
|
2504
|
+
entityType: z.ZodOptional<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>;
|
|
2505
|
+
entityName: z.ZodOptional<z.ZodString>;
|
|
2506
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
2507
|
+
organizationId: z.ZodOptional<z.ZodString>;
|
|
2508
|
+
experimentId: z.ZodOptional<z.ZodString>;
|
|
2509
|
+
serviceName: z.ZodOptional<z.ZodString>;
|
|
2510
|
+
environment: z.ZodOptional<z.ZodString>;
|
|
2511
|
+
parentEntityType: z.ZodOptional<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>;
|
|
2512
|
+
parentEntityName: z.ZodOptional<z.ZodString>;
|
|
2513
|
+
rootEntityType: z.ZodOptional<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>;
|
|
2514
|
+
rootEntityName: z.ZodOptional<z.ZodString>;
|
|
2515
|
+
resourceId: z.ZodOptional<z.ZodString>;
|
|
2516
|
+
runId: z.ZodOptional<z.ZodString>;
|
|
2517
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
2518
|
+
threadId: z.ZodOptional<z.ZodString>;
|
|
2519
|
+
requestId: z.ZodOptional<z.ZodString>;
|
|
2520
|
+
executionSource: z.ZodOptional<z.ZodString>;
|
|
2521
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2522
|
+
}, z.core.$strip>>;
|
|
2523
|
+
comparePeriod: z.ZodOptional<z.ZodEnum<{
|
|
2524
|
+
previous_period: "previous_period";
|
|
2525
|
+
previous_day: "previous_day";
|
|
2526
|
+
previous_week: "previous_week";
|
|
2527
|
+
}>>;
|
|
2528
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2529
|
+
value: z.ZodNullable<z.ZodNumber>;
|
|
2530
|
+
previousValue: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2531
|
+
changePercent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2532
|
+
}, z.core.$strip>>, string, `/${string}`>;
|
|
2533
|
+
GET_FEEDBACK_BREAKDOWN: import("../server-adapter").ServerRoute<{
|
|
2534
|
+
feedbackType: string;
|
|
2535
|
+
groupBy: string[];
|
|
2536
|
+
aggregation: "count" | "max" | "min" | "sum" | "avg" | "last";
|
|
2537
|
+
feedbackSource?: string | undefined;
|
|
2538
|
+
filters?: {
|
|
2539
|
+
feedbackType?: string | string[] | undefined;
|
|
2540
|
+
feedbackSource?: string | undefined;
|
|
2541
|
+
source?: string | undefined;
|
|
2542
|
+
feedbackUserId?: string | undefined;
|
|
2543
|
+
timestamp?: {
|
|
2544
|
+
start?: Date | undefined;
|
|
2545
|
+
end?: Date | undefined;
|
|
2546
|
+
startExclusive?: boolean | undefined;
|
|
2547
|
+
endExclusive?: boolean | undefined;
|
|
2548
|
+
} | undefined;
|
|
2549
|
+
traceId?: string | undefined;
|
|
2550
|
+
spanId?: string | undefined;
|
|
2551
|
+
entityType?: import("../../_types/@internal_core/dist/index.js").EntityType | undefined;
|
|
2552
|
+
entityName?: string | undefined;
|
|
2553
|
+
userId?: string | undefined;
|
|
2554
|
+
organizationId?: string | undefined;
|
|
2555
|
+
experimentId?: string | undefined;
|
|
2556
|
+
serviceName?: string | undefined;
|
|
2557
|
+
environment?: string | undefined;
|
|
2558
|
+
parentEntityType?: import("../../_types/@internal_core/dist/index.js").EntityType | undefined;
|
|
2559
|
+
parentEntityName?: string | undefined;
|
|
2560
|
+
rootEntityType?: import("../../_types/@internal_core/dist/index.js").EntityType | undefined;
|
|
2561
|
+
rootEntityName?: string | undefined;
|
|
2562
|
+
resourceId?: string | undefined;
|
|
2563
|
+
runId?: string | undefined;
|
|
2564
|
+
sessionId?: string | undefined;
|
|
2565
|
+
threadId?: string | undefined;
|
|
2566
|
+
requestId?: string | undefined;
|
|
2567
|
+
executionSource?: string | undefined;
|
|
2568
|
+
tags?: string[] | undefined;
|
|
2569
|
+
} | undefined;
|
|
2570
|
+
}, {
|
|
2571
|
+
groups: {
|
|
2572
|
+
dimensions: Record<string, string | null>;
|
|
2573
|
+
value: number;
|
|
2574
|
+
}[];
|
|
2575
|
+
}, "json", import("../server-adapter").RouteSchemas<undefined, undefined, z.ZodObject<{
|
|
2576
|
+
feedbackType: z.ZodString;
|
|
2577
|
+
feedbackSource: z.ZodOptional<z.ZodString>;
|
|
2578
|
+
groupBy: z.ZodArray<z.ZodString>;
|
|
2579
|
+
aggregation: z.ZodEnum<{
|
|
2580
|
+
sum: "sum";
|
|
2581
|
+
avg: "avg";
|
|
2582
|
+
min: "min";
|
|
2583
|
+
max: "max";
|
|
2584
|
+
count: "count";
|
|
2585
|
+
last: "last";
|
|
2586
|
+
}>;
|
|
2587
|
+
filters: z.ZodOptional<z.ZodObject<{
|
|
2588
|
+
feedbackType: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
2589
|
+
feedbackSource: z.ZodOptional<z.ZodString>;
|
|
2590
|
+
source: z.ZodOptional<z.ZodString>;
|
|
2591
|
+
feedbackUserId: z.ZodOptional<z.ZodString>;
|
|
2592
|
+
timestamp: z.ZodOptional<z.ZodObject<{
|
|
2593
|
+
start: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
2594
|
+
end: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
2595
|
+
startExclusive: z.ZodOptional<z.ZodBoolean>;
|
|
2596
|
+
endExclusive: z.ZodOptional<z.ZodBoolean>;
|
|
2597
|
+
}, z.core.$strip>>;
|
|
2598
|
+
traceId: z.ZodOptional<z.ZodString>;
|
|
2599
|
+
spanId: z.ZodOptional<z.ZodString>;
|
|
2600
|
+
entityType: z.ZodOptional<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>;
|
|
2601
|
+
entityName: z.ZodOptional<z.ZodString>;
|
|
2602
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
2603
|
+
organizationId: z.ZodOptional<z.ZodString>;
|
|
2604
|
+
experimentId: z.ZodOptional<z.ZodString>;
|
|
2605
|
+
serviceName: z.ZodOptional<z.ZodString>;
|
|
2606
|
+
environment: z.ZodOptional<z.ZodString>;
|
|
2607
|
+
parentEntityType: z.ZodOptional<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>;
|
|
2608
|
+
parentEntityName: z.ZodOptional<z.ZodString>;
|
|
2609
|
+
rootEntityType: z.ZodOptional<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>;
|
|
2610
|
+
rootEntityName: z.ZodOptional<z.ZodString>;
|
|
2611
|
+
resourceId: z.ZodOptional<z.ZodString>;
|
|
2612
|
+
runId: z.ZodOptional<z.ZodString>;
|
|
2613
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
2614
|
+
threadId: z.ZodOptional<z.ZodString>;
|
|
2615
|
+
requestId: z.ZodOptional<z.ZodString>;
|
|
2616
|
+
executionSource: z.ZodOptional<z.ZodString>;
|
|
2617
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2618
|
+
}, z.core.$strip>>;
|
|
2619
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2620
|
+
groups: z.ZodArray<z.ZodObject<{
|
|
2621
|
+
dimensions: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
|
|
2622
|
+
value: z.ZodNumber;
|
|
2623
|
+
}, z.core.$strip>>;
|
|
2624
|
+
}, z.core.$strip>>, string, `/${string}`>;
|
|
2625
|
+
GET_FEEDBACK_TIME_SERIES: import("../server-adapter").ServerRoute<{
|
|
2626
|
+
feedbackType: string;
|
|
2627
|
+
interval: "5m" | "1h" | "1m" | "15m" | "1d";
|
|
2628
|
+
aggregation: "count" | "max" | "min" | "sum" | "avg" | "last";
|
|
2629
|
+
feedbackSource?: string | undefined;
|
|
2630
|
+
filters?: {
|
|
2631
|
+
feedbackType?: string | string[] | undefined;
|
|
2632
|
+
feedbackSource?: string | undefined;
|
|
2633
|
+
source?: string | undefined;
|
|
2634
|
+
feedbackUserId?: string | undefined;
|
|
2635
|
+
timestamp?: {
|
|
2636
|
+
start?: Date | undefined;
|
|
2637
|
+
end?: Date | undefined;
|
|
2638
|
+
startExclusive?: boolean | undefined;
|
|
2639
|
+
endExclusive?: boolean | undefined;
|
|
2640
|
+
} | undefined;
|
|
2641
|
+
traceId?: string | undefined;
|
|
2642
|
+
spanId?: string | undefined;
|
|
2643
|
+
entityType?: import("../../_types/@internal_core/dist/index.js").EntityType | undefined;
|
|
2644
|
+
entityName?: string | undefined;
|
|
2645
|
+
userId?: string | undefined;
|
|
2646
|
+
organizationId?: string | undefined;
|
|
2647
|
+
experimentId?: string | undefined;
|
|
2648
|
+
serviceName?: string | undefined;
|
|
2649
|
+
environment?: string | undefined;
|
|
2650
|
+
parentEntityType?: import("../../_types/@internal_core/dist/index.js").EntityType | undefined;
|
|
2651
|
+
parentEntityName?: string | undefined;
|
|
2652
|
+
rootEntityType?: import("../../_types/@internal_core/dist/index.js").EntityType | undefined;
|
|
2653
|
+
rootEntityName?: string | undefined;
|
|
2654
|
+
resourceId?: string | undefined;
|
|
2655
|
+
runId?: string | undefined;
|
|
2656
|
+
sessionId?: string | undefined;
|
|
2657
|
+
threadId?: string | undefined;
|
|
2658
|
+
requestId?: string | undefined;
|
|
2659
|
+
executionSource?: string | undefined;
|
|
2660
|
+
tags?: string[] | undefined;
|
|
2661
|
+
} | undefined;
|
|
2662
|
+
groupBy?: string[] | undefined;
|
|
2663
|
+
}, {
|
|
2664
|
+
series: {
|
|
2665
|
+
name: string;
|
|
2666
|
+
points: {
|
|
2667
|
+
timestamp: Date;
|
|
2668
|
+
value: number;
|
|
2669
|
+
}[];
|
|
2670
|
+
}[];
|
|
2671
|
+
}, "json", import("../server-adapter").RouteSchemas<undefined, undefined, z.ZodObject<{
|
|
2672
|
+
feedbackType: z.ZodString;
|
|
2673
|
+
feedbackSource: z.ZodOptional<z.ZodString>;
|
|
2674
|
+
interval: z.ZodEnum<{
|
|
2675
|
+
"1m": "1m";
|
|
2676
|
+
"5m": "5m";
|
|
2677
|
+
"15m": "15m";
|
|
2678
|
+
"1h": "1h";
|
|
2679
|
+
"1d": "1d";
|
|
2680
|
+
}>;
|
|
2681
|
+
aggregation: z.ZodEnum<{
|
|
2682
|
+
sum: "sum";
|
|
2683
|
+
avg: "avg";
|
|
2684
|
+
min: "min";
|
|
2685
|
+
max: "max";
|
|
2686
|
+
count: "count";
|
|
2687
|
+
last: "last";
|
|
2688
|
+
}>;
|
|
2689
|
+
filters: z.ZodOptional<z.ZodObject<{
|
|
2690
|
+
feedbackType: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
2691
|
+
feedbackSource: z.ZodOptional<z.ZodString>;
|
|
2692
|
+
source: z.ZodOptional<z.ZodString>;
|
|
2693
|
+
feedbackUserId: z.ZodOptional<z.ZodString>;
|
|
2694
|
+
timestamp: z.ZodOptional<z.ZodObject<{
|
|
2695
|
+
start: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
2696
|
+
end: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
2697
|
+
startExclusive: z.ZodOptional<z.ZodBoolean>;
|
|
2698
|
+
endExclusive: z.ZodOptional<z.ZodBoolean>;
|
|
2699
|
+
}, z.core.$strip>>;
|
|
2700
|
+
traceId: z.ZodOptional<z.ZodString>;
|
|
2701
|
+
spanId: z.ZodOptional<z.ZodString>;
|
|
2702
|
+
entityType: z.ZodOptional<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>;
|
|
2703
|
+
entityName: z.ZodOptional<z.ZodString>;
|
|
2704
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
2705
|
+
organizationId: z.ZodOptional<z.ZodString>;
|
|
2706
|
+
experimentId: z.ZodOptional<z.ZodString>;
|
|
2707
|
+
serviceName: z.ZodOptional<z.ZodString>;
|
|
2708
|
+
environment: z.ZodOptional<z.ZodString>;
|
|
2709
|
+
parentEntityType: z.ZodOptional<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>;
|
|
2710
|
+
parentEntityName: z.ZodOptional<z.ZodString>;
|
|
2711
|
+
rootEntityType: z.ZodOptional<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>;
|
|
2712
|
+
rootEntityName: z.ZodOptional<z.ZodString>;
|
|
2713
|
+
resourceId: z.ZodOptional<z.ZodString>;
|
|
2714
|
+
runId: z.ZodOptional<z.ZodString>;
|
|
2715
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
2716
|
+
threadId: z.ZodOptional<z.ZodString>;
|
|
2717
|
+
requestId: z.ZodOptional<z.ZodString>;
|
|
2718
|
+
executionSource: z.ZodOptional<z.ZodString>;
|
|
2719
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2720
|
+
}, z.core.$strip>>;
|
|
2721
|
+
groupBy: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2722
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2723
|
+
series: z.ZodArray<z.ZodObject<{
|
|
2724
|
+
name: z.ZodString;
|
|
2725
|
+
points: z.ZodArray<z.ZodObject<{
|
|
2726
|
+
timestamp: z.ZodDate;
|
|
2727
|
+
value: z.ZodNumber;
|
|
2728
|
+
}, z.core.$strip>>;
|
|
2729
|
+
}, z.core.$strip>>;
|
|
2730
|
+
}, z.core.$strip>>, string, `/${string}`>;
|
|
2731
|
+
GET_FEEDBACK_PERCENTILES: import("../server-adapter").ServerRoute<{
|
|
2732
|
+
feedbackType: string;
|
|
2733
|
+
percentiles: number[];
|
|
2734
|
+
interval: "5m" | "1h" | "1m" | "15m" | "1d";
|
|
2735
|
+
feedbackSource?: string | undefined;
|
|
2736
|
+
filters?: {
|
|
2737
|
+
feedbackType?: string | string[] | undefined;
|
|
2738
|
+
feedbackSource?: string | undefined;
|
|
2739
|
+
source?: string | undefined;
|
|
2740
|
+
feedbackUserId?: string | undefined;
|
|
2741
|
+
timestamp?: {
|
|
2742
|
+
start?: Date | undefined;
|
|
2743
|
+
end?: Date | undefined;
|
|
2744
|
+
startExclusive?: boolean | undefined;
|
|
2745
|
+
endExclusive?: boolean | undefined;
|
|
2746
|
+
} | undefined;
|
|
2747
|
+
traceId?: string | undefined;
|
|
2748
|
+
spanId?: string | undefined;
|
|
2749
|
+
entityType?: import("../../_types/@internal_core/dist/index.js").EntityType | undefined;
|
|
2750
|
+
entityName?: string | undefined;
|
|
2751
|
+
userId?: string | undefined;
|
|
2752
|
+
organizationId?: string | undefined;
|
|
2753
|
+
experimentId?: string | undefined;
|
|
2754
|
+
serviceName?: string | undefined;
|
|
2755
|
+
environment?: string | undefined;
|
|
2756
|
+
parentEntityType?: import("../../_types/@internal_core/dist/index.js").EntityType | undefined;
|
|
2757
|
+
parentEntityName?: string | undefined;
|
|
2758
|
+
rootEntityType?: import("../../_types/@internal_core/dist/index.js").EntityType | undefined;
|
|
2759
|
+
rootEntityName?: string | undefined;
|
|
2760
|
+
resourceId?: string | undefined;
|
|
2761
|
+
runId?: string | undefined;
|
|
2762
|
+
sessionId?: string | undefined;
|
|
2763
|
+
threadId?: string | undefined;
|
|
2764
|
+
requestId?: string | undefined;
|
|
2765
|
+
executionSource?: string | undefined;
|
|
2766
|
+
tags?: string[] | undefined;
|
|
2767
|
+
} | undefined;
|
|
1248
2768
|
}, {
|
|
1249
|
-
|
|
2769
|
+
series: {
|
|
2770
|
+
percentile: number;
|
|
2771
|
+
points: {
|
|
2772
|
+
timestamp: Date;
|
|
2773
|
+
value: number;
|
|
2774
|
+
}[];
|
|
2775
|
+
}[];
|
|
1250
2776
|
}, "json", import("../server-adapter").RouteSchemas<undefined, undefined, z.ZodObject<{
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
experimentId: z.ZodOptional<z.
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
2777
|
+
feedbackType: z.ZodString;
|
|
2778
|
+
feedbackSource: z.ZodOptional<z.ZodString>;
|
|
2779
|
+
percentiles: z.ZodArray<z.ZodNumber>;
|
|
2780
|
+
interval: z.ZodEnum<{
|
|
2781
|
+
"1m": "1m";
|
|
2782
|
+
"5m": "5m";
|
|
2783
|
+
"15m": "15m";
|
|
2784
|
+
"1h": "1h";
|
|
2785
|
+
"1d": "1d";
|
|
2786
|
+
}>;
|
|
2787
|
+
filters: z.ZodOptional<z.ZodObject<{
|
|
2788
|
+
feedbackType: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
2789
|
+
feedbackSource: z.ZodOptional<z.ZodString>;
|
|
2790
|
+
source: z.ZodOptional<z.ZodString>;
|
|
2791
|
+
feedbackUserId: z.ZodOptional<z.ZodString>;
|
|
2792
|
+
timestamp: z.ZodOptional<z.ZodObject<{
|
|
2793
|
+
start: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
2794
|
+
end: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
2795
|
+
startExclusive: z.ZodOptional<z.ZodBoolean>;
|
|
2796
|
+
endExclusive: z.ZodOptional<z.ZodBoolean>;
|
|
2797
|
+
}, z.core.$strip>>;
|
|
2798
|
+
traceId: z.ZodOptional<z.ZodString>;
|
|
2799
|
+
spanId: z.ZodOptional<z.ZodString>;
|
|
2800
|
+
entityType: z.ZodOptional<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>;
|
|
2801
|
+
entityName: z.ZodOptional<z.ZodString>;
|
|
2802
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
2803
|
+
organizationId: z.ZodOptional<z.ZodString>;
|
|
2804
|
+
experimentId: z.ZodOptional<z.ZodString>;
|
|
2805
|
+
serviceName: z.ZodOptional<z.ZodString>;
|
|
2806
|
+
environment: z.ZodOptional<z.ZodString>;
|
|
2807
|
+
parentEntityType: z.ZodOptional<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>;
|
|
2808
|
+
parentEntityName: z.ZodOptional<z.ZodString>;
|
|
2809
|
+
rootEntityType: z.ZodOptional<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>;
|
|
2810
|
+
rootEntityName: z.ZodOptional<z.ZodString>;
|
|
2811
|
+
resourceId: z.ZodOptional<z.ZodString>;
|
|
2812
|
+
runId: z.ZodOptional<z.ZodString>;
|
|
2813
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
2814
|
+
threadId: z.ZodOptional<z.ZodString>;
|
|
2815
|
+
requestId: z.ZodOptional<z.ZodString>;
|
|
2816
|
+
executionSource: z.ZodOptional<z.ZodString>;
|
|
2817
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2818
|
+
}, z.core.$strip>>;
|
|
1285
2819
|
}, z.core.$strip>, z.ZodObject<{
|
|
1286
|
-
|
|
2820
|
+
series: z.ZodArray<z.ZodObject<{
|
|
2821
|
+
percentile: z.ZodNumber;
|
|
2822
|
+
points: z.ZodArray<z.ZodObject<{
|
|
2823
|
+
timestamp: z.ZodDate;
|
|
2824
|
+
value: z.ZodNumber;
|
|
2825
|
+
}, z.core.$strip>>;
|
|
2826
|
+
}, z.core.$strip>>;
|
|
1287
2827
|
}, z.core.$strip>>, string, `/${string}`>;
|
|
1288
2828
|
GET_METRIC_AGGREGATE: import("../server-adapter").ServerRoute<{
|
|
1289
2829
|
name: string[];
|
|
@@ -1327,10 +2867,10 @@ export declare const NEW_ROUTES: {
|
|
|
1327
2867
|
value: number | null;
|
|
1328
2868
|
estimatedCost?: number | null | undefined;
|
|
1329
2869
|
costUnit?: string | null | undefined;
|
|
1330
|
-
previousValue?: number | null | undefined;
|
|
1331
2870
|
previousEstimatedCost?: number | null | undefined;
|
|
1332
|
-
changePercent?: number | null | undefined;
|
|
1333
2871
|
costChangePercent?: number | null | undefined;
|
|
2872
|
+
previousValue?: number | null | undefined;
|
|
2873
|
+
changePercent?: number | null | undefined;
|
|
1334
2874
|
}, "json", import("../server-adapter").RouteSchemas<undefined, undefined, z.ZodObject<{
|
|
1335
2875
|
name: z.ZodArray<z.ZodString>;
|
|
1336
2876
|
aggregation: z.ZodEnum<{
|
|
@@ -1381,13 +2921,13 @@ export declare const NEW_ROUTES: {
|
|
|
1381
2921
|
previous_week: "previous_week";
|
|
1382
2922
|
}>>;
|
|
1383
2923
|
}, z.core.$strip>, z.ZodObject<{
|
|
1384
|
-
value: z.ZodNullable<z.ZodNumber>;
|
|
1385
2924
|
estimatedCost: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1386
2925
|
costUnit: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1387
|
-
previousValue: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1388
2926
|
previousEstimatedCost: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1389
|
-
changePercent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1390
2927
|
costChangePercent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2928
|
+
value: z.ZodNullable<z.ZodNumber>;
|
|
2929
|
+
previousValue: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2930
|
+
changePercent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1391
2931
|
}, z.core.$strip>>, string, `/${string}`>;
|
|
1392
2932
|
GET_METRIC_BREAKDOWN: import("../server-adapter").ServerRoute<{
|
|
1393
2933
|
name: string[];
|