@orq-ai/node 4.13.0-rc.24 → 4.13.0-rc.26
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/README.md +42 -47
- package/funcs/reportingQuery.d.ts +1 -3
- package/funcs/reportingQuery.d.ts.map +1 -1
- package/funcs/reportingQuery.js +1 -3
- package/funcs/reportingQuery.js.map +1 -1
- package/funcs/tracesAggregate.d.ts +1 -3
- package/funcs/tracesAggregate.d.ts.map +1 -1
- package/funcs/tracesAggregate.js +1 -3
- package/funcs/tracesAggregate.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/models/components/evaluatorresponsefunction.js +2 -2
- package/models/components/evaluatorresponsehttp.js +2 -2
- package/models/components/evaluatorresponsejsonschema.js +2 -2
- package/models/components/evaluatorresponsellm.d.ts +1 -1
- package/models/components/evaluatorresponsellm.d.ts.map +1 -1
- package/models/components/evaluatorresponsellm.js +3 -3
- package/models/components/evaluatorresponsellm.js.map +1 -1
- package/models/components/evaluatorresponsepython.js +2 -2
- package/models/components/evaluatorresponseragas.js +2 -2
- package/models/components/evaluatorresponsetypescript.js +2 -2
- package/models/components/index.d.ts +2 -4
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +2 -4
- package/models/components/index.js.map +1 -1
- package/models/components/modelmetadata.d.ts +2 -0
- package/models/components/modelmetadata.d.ts.map +1 -1
- package/models/components/modelmetadata.js +4 -0
- package/models/components/modelmetadata.js.map +1 -1
- package/models/components/orqadvisortool.d.ts +67 -0
- package/models/components/orqadvisortool.d.ts.map +1 -0
- package/models/components/{querytelemetrymeta.js → orqadvisortool.js} +31 -10
- package/models/components/orqadvisortool.js.map +1 -0
- package/models/components/orqsidekicktool.d.ts +72 -0
- package/models/components/orqsidekicktool.d.ts.map +1 -0
- package/models/components/{querytelemetryrequest.js → orqsidekicktool.js} +33 -23
- package/models/components/orqsidekicktool.js.map +1 -0
- package/models/components/publicresponseresource.d.ts +5 -0
- package/models/components/publicresponseresource.d.ts.map +1 -1
- package/models/components/publicresponseresource.js +2 -0
- package/models/components/publicresponseresource.js.map +1 -1
- package/models/components/reasoning.d.ts +5 -5
- package/models/components/reasoning.d.ts.map +1 -1
- package/models/components/reasoning.js +5 -5
- package/models/components/reasoning.js.map +1 -1
- package/models/components/reasoningpart.js +1 -1
- package/models/operations/createagentrequest.d.ts +1 -1
- package/models/operations/createagentrequest.d.ts.map +1 -1
- package/models/operations/createagentrequest.js +1 -2
- package/models/operations/createagentrequest.js.map +1 -1
- package/models/operations/createdataset.js +1 -1
- package/models/operations/createdatasetitem.js +5 -5
- package/models/operations/createdatasource.js +1 -1
- package/models/operations/createeval.d.ts +4 -4
- package/models/operations/createeval.d.ts.map +1 -1
- package/models/operations/createeval.js +2 -2
- package/models/operations/createeval.js.map +1 -1
- package/models/operations/createrouterresponse.d.ts +8 -4
- package/models/operations/createrouterresponse.d.ts.map +1 -1
- package/models/operations/createrouterresponse.js +5 -0
- package/models/operations/createrouterresponse.js.map +1 -1
- package/models/operations/createtool.js +6 -6
- package/models/operations/getalltools.js +6 -6
- package/models/operations/getv2humanevalsets.js +2 -2
- package/models/operations/getv2humanevalsetsid.js +2 -2
- package/models/operations/listagents.d.ts +1 -1
- package/models/operations/listagents.d.ts.map +1 -1
- package/models/operations/listagents.js +2 -1
- package/models/operations/listagents.js.map +1 -1
- package/models/operations/listdatasetdatapoints.js +5 -5
- package/models/operations/listdatasets.js +1 -1
- package/models/operations/listdatasources.js +1 -1
- package/models/operations/patchv2humanevalsetsid.js +2 -2
- package/models/operations/postv2feedbackevaluation.js +4 -4
- package/models/operations/postv2humanevalsets.js +2 -2
- package/models/operations/retrieveagentrequest.d.ts +1 -1
- package/models/operations/retrieveagentrequest.d.ts.map +1 -1
- package/models/operations/retrieveagentrequest.js +1 -2
- package/models/operations/retrieveagentrequest.js.map +1 -1
- package/models/operations/retrievedatapoint.js +5 -5
- package/models/operations/retrievedataset.js +1 -1
- package/models/operations/retrievedatasource.js +1 -1
- package/models/operations/retrieveresponse.d.ts +4 -0
- package/models/operations/retrieveresponse.d.ts.map +1 -1
- package/models/operations/retrieveresponse.js +1 -0
- package/models/operations/retrieveresponse.js.map +1 -1
- package/models/operations/retrievetool.js +6 -6
- package/models/operations/runagent.js +1 -1
- package/models/operations/streamrunagent.js +1 -1
- package/models/operations/updateagent.d.ts +1 -1
- package/models/operations/updateagent.d.ts.map +1 -1
- package/models/operations/updateagent.js +2 -1
- package/models/operations/updateagent.js.map +1 -1
- package/models/operations/updatedatapoint.js +5 -5
- package/models/operations/updatedataset.js +1 -1
- package/models/operations/updatedatasource.js +1 -1
- package/models/operations/updateeval.d.ts +2 -0
- package/models/operations/updateeval.d.ts.map +1 -1
- package/models/operations/updateeval.js +2 -0
- package/models/operations/updateeval.js.map +1 -1
- package/models/operations/updatetool.js +7 -7
- package/package.json +3 -3
- package/sdk/feedback.d.ts +1 -4
- package/sdk/feedback.d.ts.map +1 -1
- package/sdk/feedback.js +1 -4
- package/sdk/feedback.js.map +1 -1
- package/sdk/reporting.d.ts +1 -3
- package/sdk/reporting.d.ts.map +1 -1
- package/sdk/reporting.js +1 -3
- package/sdk/reporting.js.map +1 -1
- package/sdk/sdk.d.ts +0 -3
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +0 -4
- package/sdk/sdk.js.map +1 -1
- package/sdk/traces.d.ts +1 -3
- package/sdk/traces.d.ts.map +1 -1
- package/sdk/traces.js +1 -3
- package/sdk/traces.js.map +1 -1
- package/src/funcs/reportingQuery.ts +1 -3
- package/src/funcs/tracesAggregate.ts +1 -3
- package/src/lib/config.ts +2 -2
- package/src/models/components/evaluatorresponsefunction.ts +2 -2
- package/src/models/components/evaluatorresponsehttp.ts +2 -2
- package/src/models/components/evaluatorresponsejsonschema.ts +2 -2
- package/src/models/components/evaluatorresponsellm.ts +4 -4
- package/src/models/components/evaluatorresponsepython.ts +2 -2
- package/src/models/components/evaluatorresponseragas.ts +2 -2
- package/src/models/components/evaluatorresponsetypescript.ts +2 -2
- package/src/models/components/index.ts +2 -4
- package/src/models/components/modelmetadata.ts +6 -0
- package/src/models/components/orqadvisortool.ts +100 -0
- package/src/models/components/orqsidekicktool.ts +111 -0
- package/src/models/components/publicresponseresource.ts +6 -0
- package/src/models/components/reasoning.ts +9 -9
- package/src/models/components/reasoningpart.ts +1 -1
- package/src/models/operations/createagentrequest.ts +4 -3
- package/src/models/operations/createdataset.ts +1 -1
- package/src/models/operations/createdatasetitem.ts +5 -5
- package/src/models/operations/createdatasource.ts +1 -1
- package/src/models/operations/createeval.ts +6 -6
- package/src/models/operations/createrouterresponse.ts +38 -21
- package/src/models/operations/createtool.ts +6 -6
- package/src/models/operations/getalltools.ts +6 -6
- package/src/models/operations/getv2humanevalsets.ts +2 -2
- package/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/src/models/operations/listagents.ts +3 -2
- package/src/models/operations/listdatasetdatapoints.ts +5 -5
- package/src/models/operations/listdatasets.ts +1 -1
- package/src/models/operations/listdatasources.ts +1 -1
- package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/src/models/operations/postv2feedbackevaluation.ts +4 -4
- package/src/models/operations/postv2humanevalsets.ts +2 -2
- package/src/models/operations/retrieveagentrequest.ts +4 -3
- package/src/models/operations/retrievedatapoint.ts +5 -5
- package/src/models/operations/retrievedataset.ts +1 -1
- package/src/models/operations/retrievedatasource.ts +1 -1
- package/src/models/operations/retrieveresponse.ts +5 -0
- package/src/models/operations/retrievetool.ts +6 -6
- package/src/models/operations/runagent.ts +1 -1
- package/src/models/operations/streamrunagent.ts +1 -1
- package/src/models/operations/updateagent.ts +3 -2
- package/src/models/operations/updatedatapoint.ts +5 -5
- package/src/models/operations/updatedataset.ts +1 -1
- package/src/models/operations/updatedatasource.ts +1 -1
- package/src/models/operations/updateeval.ts +4 -0
- package/src/models/operations/updatetool.ts +7 -7
- package/src/sdk/feedback.ts +1 -4
- package/src/sdk/reporting.ts +1 -3
- package/src/sdk/sdk.ts +0 -6
- package/src/sdk/traces.ts +1 -3
- package/funcs/telemetryQuery.d.ts +0 -17
- package/funcs/telemetryQuery.d.ts.map +0 -1
- package/funcs/telemetryQuery.js +0 -115
- package/funcs/telemetryQuery.js.map +0 -1
- package/models/components/querytelemetrymeta.d.ts +0 -11
- package/models/components/querytelemetrymeta.d.ts.map +0 -1
- package/models/components/querytelemetrymeta.js.map +0 -1
- package/models/components/querytelemetryrequest.d.ts +0 -40
- package/models/components/querytelemetryrequest.d.ts.map +0 -1
- package/models/components/querytelemetryrequest.js.map +0 -1
- package/models/components/querytelemetryresponse.d.ts +0 -15
- package/models/components/querytelemetryresponse.d.ts.map +0 -1
- package/models/components/querytelemetryresponse.js +0 -55
- package/models/components/querytelemetryresponse.js.map +0 -1
- package/models/components/telemetryrow.d.ts +0 -22
- package/models/components/telemetryrow.d.ts.map +0 -1
- package/models/components/telemetryrow.js +0 -53
- package/models/components/telemetryrow.js.map +0 -1
- package/sdk/telemetry.d.ts +0 -12
- package/sdk/telemetry.d.ts.map +0 -1
- package/sdk/telemetry.js +0 -22
- package/sdk/telemetry.js.map +0 -1
- package/src/funcs/telemetryQuery.ts +0 -162
- package/src/models/components/querytelemetrymeta.ts +0 -38
- package/src/models/components/querytelemetryrequest.ts +0 -85
- package/src/models/components/querytelemetryresponse.ts +0 -42
- package/src/models/components/telemetryrow.ts +0 -42
- package/src/sdk/telemetry.ts +0 -27
|
@@ -1579,7 +1579,7 @@ export const RetrieveDatapointEvaluations4$inboundSchema: z.ZodType<
|
|
|
1579
1579
|
explanation: z.string().optional(),
|
|
1580
1580
|
reviewed_by_id: z.string(),
|
|
1581
1581
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
1582
|
-
"2026-
|
|
1582
|
+
"2026-08-02T14:57:57.571Z",
|
|
1583
1583
|
).transform(v => new Date(v)),
|
|
1584
1584
|
type: z.literal("string_array"),
|
|
1585
1585
|
values: z.array(z.string()),
|
|
@@ -1679,7 +1679,7 @@ export const RetrieveDatapointEvaluations3$inboundSchema: z.ZodType<
|
|
|
1679
1679
|
explanation: z.string().optional(),
|
|
1680
1680
|
reviewed_by_id: z.string(),
|
|
1681
1681
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
1682
|
-
"2026-
|
|
1682
|
+
"2026-08-02T14:57:57.565Z",
|
|
1683
1683
|
).transform(v => new Date(v)),
|
|
1684
1684
|
type: z.literal("boolean"),
|
|
1685
1685
|
value: z.boolean(),
|
|
@@ -1777,7 +1777,7 @@ export const RetrieveDatapointEvaluations2$inboundSchema: z.ZodType<
|
|
|
1777
1777
|
explanation: z.string().optional(),
|
|
1778
1778
|
reviewed_by_id: z.string(),
|
|
1779
1779
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
1780
|
-
"2026-
|
|
1780
|
+
"2026-08-02T14:57:57.564Z",
|
|
1781
1781
|
).transform(v => new Date(v)),
|
|
1782
1782
|
type: z.literal("number"),
|
|
1783
1783
|
value: z.number(),
|
|
@@ -1865,7 +1865,7 @@ export const RetrieveDatapointEvaluations1$inboundSchema: z.ZodType<
|
|
|
1865
1865
|
explanation: z.string().optional(),
|
|
1866
1866
|
reviewed_by_id: z.string(),
|
|
1867
1867
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
1868
|
-
"2026-
|
|
1868
|
+
"2026-08-02T14:57:57.564Z",
|
|
1869
1869
|
).transform(v => new Date(v)),
|
|
1870
1870
|
type: z.literal("string"),
|
|
1871
1871
|
value: z.string(),
|
|
@@ -1946,7 +1946,7 @@ export const RetrieveDatapointResponseBody$inboundSchema: z.ZodType<
|
|
|
1946
1946
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
1947
1947
|
.optional(),
|
|
1948
1948
|
updated: z.string().datetime({ offset: true }).default(
|
|
1949
|
-
"2026-
|
|
1949
|
+
"2026-08-02T14:57:45.633Z",
|
|
1950
1950
|
).transform(v => new Date(v)),
|
|
1951
1951
|
}).transform((v) => {
|
|
1952
1952
|
return remap$(v, {
|
|
@@ -126,7 +126,7 @@ export const RetrieveDatasetResponseBody$inboundSchema: z.ZodType<
|
|
|
126
126
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
127
127
|
.optional(),
|
|
128
128
|
updated: z.string().datetime({ offset: true }).default(
|
|
129
|
-
"2026-
|
|
129
|
+
"2026-08-02T14:57:45.633Z",
|
|
130
130
|
).transform(v => new Date(v)),
|
|
131
131
|
}).transform((v) => {
|
|
132
132
|
return remap$(v, {
|
|
@@ -187,7 +187,7 @@ export const RetrieveDatasourceResponseBody$inboundSchema: z.ZodType<
|
|
|
187
187
|
z.ZodTypeDef,
|
|
188
188
|
unknown
|
|
189
189
|
> = z.object({
|
|
190
|
-
_id: z.string().default("
|
|
190
|
+
_id: z.string().default("01KZ1FPKRCWNB8WDWJKZ414GDV"),
|
|
191
191
|
display_name: z.string(),
|
|
192
192
|
description: z.nullable(z.string()).optional(),
|
|
193
193
|
status: RetrieveDatasourceStatus$inboundSchema,
|
|
@@ -89,6 +89,10 @@ export type RetrieveResponseResponseBody = {
|
|
|
89
89
|
serviceTier: RetrieveResponseServiceTier;
|
|
90
90
|
status: RetrieveResponseStatus;
|
|
91
91
|
store: boolean;
|
|
92
|
+
/**
|
|
93
|
+
* Telemetry information for correlating the response with traces
|
|
94
|
+
*/
|
|
95
|
+
telemetry?: components.Telemetry | undefined;
|
|
92
96
|
temperature: number;
|
|
93
97
|
/**
|
|
94
98
|
* Text output configuration including format and verbosity
|
|
@@ -184,6 +188,7 @@ export const RetrieveResponseResponseBody$inboundSchema: z.ZodType<
|
|
|
184
188
|
service_tier: RetrieveResponseServiceTier$inboundSchema,
|
|
185
189
|
status: RetrieveResponseStatus$inboundSchema,
|
|
186
190
|
store: z.boolean(),
|
|
191
|
+
telemetry: components.Telemetry$inboundSchema.optional(),
|
|
187
192
|
temperature: z.number(),
|
|
188
193
|
text: z.any().optional(),
|
|
189
194
|
tool_choice: z.any().optional(),
|
|
@@ -757,7 +757,7 @@ export const RetrieveToolResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
757
757
|
z.ZodTypeDef,
|
|
758
758
|
unknown
|
|
759
759
|
> = z.object({
|
|
760
|
-
_id: z.string().default("
|
|
760
|
+
_id: z.string().default("tool_01KZ1FPKP8E1DYVWP7JPNS3F49"),
|
|
761
761
|
path: z.string(),
|
|
762
762
|
key: z.string(),
|
|
763
763
|
display_name: z.string().optional(),
|
|
@@ -863,7 +863,7 @@ export const RetrieveToolResponseBodyTools$inboundSchema: z.ZodType<
|
|
|
863
863
|
z.ZodTypeDef,
|
|
864
864
|
unknown
|
|
865
865
|
> = z.object({
|
|
866
|
-
id: z.string().default("
|
|
866
|
+
id: z.string().default("01KZ1FPKP8KW3Z6F40M3MJMSGP"),
|
|
867
867
|
name: z.string(),
|
|
868
868
|
description: z.string().optional(),
|
|
869
869
|
schema: z.lazy(() => RetrieveToolResponseBodyToolsSchema$inboundSchema),
|
|
@@ -921,7 +921,7 @@ export const RetrieveToolResponseBodyMCPTool$inboundSchema: z.ZodType<
|
|
|
921
921
|
z.ZodTypeDef,
|
|
922
922
|
unknown
|
|
923
923
|
> = z.object({
|
|
924
|
-
_id: z.string().default("
|
|
924
|
+
_id: z.string().default("tool_01KZ1FPKP7Z3K6M3XFR3M0WK08"),
|
|
925
925
|
path: z.string(),
|
|
926
926
|
key: z.string(),
|
|
927
927
|
display_name: z.string().optional(),
|
|
@@ -1113,7 +1113,7 @@ export const RetrieveToolResponseBodyHTTPTool$inboundSchema: z.ZodType<
|
|
|
1113
1113
|
z.ZodTypeDef,
|
|
1114
1114
|
unknown
|
|
1115
1115
|
> = z.object({
|
|
1116
|
-
_id: z.string().default("
|
|
1116
|
+
_id: z.string().default("tool_01KZ1FPKP6MAYQRB5QJ5Z04W31"),
|
|
1117
1117
|
path: z.string(),
|
|
1118
1118
|
key: z.string(),
|
|
1119
1119
|
display_name: z.string().optional(),
|
|
@@ -1209,7 +1209,7 @@ export const RetrieveToolResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
1209
1209
|
z.ZodTypeDef,
|
|
1210
1210
|
unknown
|
|
1211
1211
|
> = z.object({
|
|
1212
|
-
_id: z.string().default("
|
|
1212
|
+
_id: z.string().default("tool_01KZ1FPKNZVQCHWFJB77A8B8K8"),
|
|
1213
1213
|
path: z.string(),
|
|
1214
1214
|
key: z.string(),
|
|
1215
1215
|
display_name: z.string().optional(),
|
|
@@ -1315,7 +1315,7 @@ export const RetrieveToolResponseBodyFunctionTool$inboundSchema: z.ZodType<
|
|
|
1315
1315
|
z.ZodTypeDef,
|
|
1316
1316
|
unknown
|
|
1317
1317
|
> = z.object({
|
|
1318
|
-
_id: z.string().default("
|
|
1318
|
+
_id: z.string().default("tool_01KZ1FPKNY7D6P36A7MV0Y6BBA"),
|
|
1319
1319
|
path: z.string(),
|
|
1320
1320
|
key: z.string(),
|
|
1321
1321
|
display_name: z.string().optional(),
|
|
@@ -4100,7 +4100,7 @@ export const Tools$outboundSchema: z.ZodType<
|
|
|
4100
4100
|
z.ZodTypeDef,
|
|
4101
4101
|
Tools
|
|
4102
4102
|
> = z.object({
|
|
4103
|
-
id: z.string().default("
|
|
4103
|
+
id: z.string().default("01KZ1FPKG32NZQR98EZ06PCRDW"),
|
|
4104
4104
|
name: z.string(),
|
|
4105
4105
|
description: z.string().optional(),
|
|
4106
4106
|
schema: z.lazy(() => AgentToolInputRunSchema$outboundSchema),
|
|
@@ -4156,7 +4156,7 @@ export const AgentToolInputRunTools$outboundSchema: z.ZodType<
|
|
|
4156
4156
|
z.ZodTypeDef,
|
|
4157
4157
|
AgentToolInputRunTools
|
|
4158
4158
|
> = z.object({
|
|
4159
|
-
id: z.string().default("
|
|
4159
|
+
id: z.string().default("01KZ1FPKH6VDFJGWPFPCJZ0APQ"),
|
|
4160
4160
|
name: z.string(),
|
|
4161
4161
|
description: z.string().optional(),
|
|
4162
4162
|
schema: z.lazy(() =>
|
|
@@ -2411,7 +2411,7 @@ export type UpdateAgentModel = {
|
|
|
2411
2411
|
/**
|
|
2412
2412
|
* Model behavior parameters (snake_case) stored as part of the agent configuration. These become the default parameters used when the agent is executed. Commonly used: temperature (0-1, controls randomness), max_completion_tokens (response length), top_p (nucleus sampling). Advanced: frequency_penalty, presence_penalty, response_format (JSON/structured output), reasoning_effort (for o1/thinking models), seed (reproducibility), stop sequences. Model-specific support varies. Runtime parameters in agent execution requests can override these defaults.
|
|
2413
2413
|
*/
|
|
2414
|
-
parameters?: UpdateAgentParameters | undefined;
|
|
2414
|
+
parameters?: UpdateAgentParameters | null | undefined;
|
|
2415
2415
|
/**
|
|
2416
2416
|
* Retry configuration for model requests. Allows customizing retry count (1-5) and HTTP status codes that trigger retries. Default codes: [429]. Common codes: 500 (internal error), 429 (rate limit), 502/503/504 (gateway errors).
|
|
2417
2417
|
*/
|
|
@@ -6084,7 +6084,8 @@ export const UpdateAgentModel$inboundSchema: z.ZodType<
|
|
|
6084
6084
|
> = z.object({
|
|
6085
6085
|
id: z.string(),
|
|
6086
6086
|
integration_id: z.nullable(z.string()).optional(),
|
|
6087
|
-
parameters: z.lazy(() => UpdateAgentParameters$inboundSchema)
|
|
6087
|
+
parameters: z.nullable(z.lazy(() => UpdateAgentParameters$inboundSchema))
|
|
6088
|
+
.optional(),
|
|
6088
6089
|
retry: z.lazy(() => UpdateAgentRetry$inboundSchema).optional(),
|
|
6089
6090
|
fallback_models: z.nullable(
|
|
6090
6091
|
z.array(z.union([
|
|
@@ -2747,7 +2747,7 @@ export const UpdateDatapointEvaluations4$inboundSchema: z.ZodType<
|
|
|
2747
2747
|
explanation: z.string().optional(),
|
|
2748
2748
|
reviewed_by_id: z.string(),
|
|
2749
2749
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2750
|
-
"2026-
|
|
2750
|
+
"2026-08-02T14:57:57.597Z",
|
|
2751
2751
|
).transform(v => new Date(v)),
|
|
2752
2752
|
type: z.literal("string_array"),
|
|
2753
2753
|
values: z.array(z.string()),
|
|
@@ -2847,7 +2847,7 @@ export const UpdateDatapointEvaluations3$inboundSchema: z.ZodType<
|
|
|
2847
2847
|
explanation: z.string().optional(),
|
|
2848
2848
|
reviewed_by_id: z.string(),
|
|
2849
2849
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2850
|
-
"2026-
|
|
2850
|
+
"2026-08-02T14:57:57.596Z",
|
|
2851
2851
|
).transform(v => new Date(v)),
|
|
2852
2852
|
type: z.literal("boolean"),
|
|
2853
2853
|
value: z.boolean(),
|
|
@@ -2944,7 +2944,7 @@ export const UpdateDatapointEvaluations2$inboundSchema: z.ZodType<
|
|
|
2944
2944
|
explanation: z.string().optional(),
|
|
2945
2945
|
reviewed_by_id: z.string(),
|
|
2946
2946
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2947
|
-
"2026-
|
|
2947
|
+
"2026-08-02T14:57:57.595Z",
|
|
2948
2948
|
).transform(v => new Date(v)),
|
|
2949
2949
|
type: z.literal("number"),
|
|
2950
2950
|
value: z.number(),
|
|
@@ -3033,7 +3033,7 @@ export const UpdateDatapointEvaluations1$inboundSchema: z.ZodType<
|
|
|
3033
3033
|
explanation: z.string().optional(),
|
|
3034
3034
|
reviewed_by_id: z.string(),
|
|
3035
3035
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
3036
|
-
"2026-
|
|
3036
|
+
"2026-08-02T14:57:57.595Z",
|
|
3037
3037
|
).transform(v => new Date(v)),
|
|
3038
3038
|
type: z.literal("string"),
|
|
3039
3039
|
value: z.string(),
|
|
@@ -3118,7 +3118,7 @@ export const UpdateDatapointResponseBody$inboundSchema: z.ZodType<
|
|
|
3118
3118
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
3119
3119
|
.optional(),
|
|
3120
3120
|
updated: z.string().datetime({ offset: true }).default(
|
|
3121
|
-
"2026-
|
|
3121
|
+
"2026-08-02T14:57:45.633Z",
|
|
3122
3122
|
).transform(v => new Date(v)),
|
|
3123
3123
|
}).transform((v) => {
|
|
3124
3124
|
return remap$(v, {
|
|
@@ -182,7 +182,7 @@ export const UpdateDatasetResponseBody$inboundSchema: z.ZodType<
|
|
|
182
182
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
183
183
|
.optional(),
|
|
184
184
|
updated: z.string().datetime({ offset: true }).default(
|
|
185
|
-
"2026-
|
|
185
|
+
"2026-08-02T14:57:45.633Z",
|
|
186
186
|
).transform(v => new Date(v)),
|
|
187
187
|
}).transform((v) => {
|
|
188
188
|
return remap$(v, {
|
|
@@ -221,7 +221,7 @@ export const UpdateDatasourceResponseBody$inboundSchema: z.ZodType<
|
|
|
221
221
|
z.ZodTypeDef,
|
|
222
222
|
unknown
|
|
223
223
|
> = z.object({
|
|
224
|
-
_id: z.string().default("
|
|
224
|
+
_id: z.string().default("01KZ1FPKREY8KY2FBJGKWD7463"),
|
|
225
225
|
display_name: z.string(),
|
|
226
226
|
description: z.nullable(z.string()).optional(),
|
|
227
227
|
status: UpdateDatasourceStatus$inboundSchema,
|
|
@@ -85,6 +85,7 @@ export type UpdateEvalRequestBody = {
|
|
|
85
85
|
outputType?: string | undefined;
|
|
86
86
|
categories?: Array<string> | null | undefined;
|
|
87
87
|
categoricalLabels?: Array<CategoricalLabels> | null | undefined;
|
|
88
|
+
datasetId?: string | null | undefined;
|
|
88
89
|
repetitions?: number | undefined;
|
|
89
90
|
mode?: Mode | undefined;
|
|
90
91
|
model?: string | undefined;
|
|
@@ -332,6 +333,7 @@ export type UpdateEvalRequestBody$Outbound = {
|
|
|
332
333
|
output_type?: string | undefined;
|
|
333
334
|
categories?: Array<string> | null | undefined;
|
|
334
335
|
categorical_labels?: Array<CategoricalLabels$Outbound> | null | undefined;
|
|
336
|
+
dataset_id?: string | null | undefined;
|
|
335
337
|
repetitions?: number | undefined;
|
|
336
338
|
mode?: string | undefined;
|
|
337
339
|
model?: string | undefined;
|
|
@@ -363,6 +365,7 @@ export const UpdateEvalRequestBody$outboundSchema: z.ZodType<
|
|
|
363
365
|
categoricalLabels: z.nullable(
|
|
364
366
|
z.array(z.lazy(() => CategoricalLabels$outboundSchema)),
|
|
365
367
|
).optional(),
|
|
368
|
+
datasetId: z.nullable(z.string()).optional(),
|
|
366
369
|
repetitions: z.number().optional(),
|
|
367
370
|
mode: Mode$outboundSchema.optional(),
|
|
368
371
|
model: z.string().optional(),
|
|
@@ -380,6 +383,7 @@ export const UpdateEvalRequestBody$outboundSchema: z.ZodType<
|
|
|
380
383
|
return remap$(v, {
|
|
381
384
|
outputType: "output_type",
|
|
382
385
|
categoricalLabels: "categorical_labels",
|
|
386
|
+
datasetId: "dataset_id",
|
|
383
387
|
guardrailConfig: "guardrail_config",
|
|
384
388
|
});
|
|
385
389
|
});
|
|
@@ -1480,7 +1480,7 @@ export const RequestBodyTools$outboundSchema: z.ZodType<
|
|
|
1480
1480
|
z.ZodTypeDef,
|
|
1481
1481
|
RequestBodyTools
|
|
1482
1482
|
> = z.object({
|
|
1483
|
-
id: z.string().default("
|
|
1483
|
+
id: z.string().default("01KZ1FPKNNK50NCWTZZWG1WY04"),
|
|
1484
1484
|
name: z.string(),
|
|
1485
1485
|
description: z.string().optional(),
|
|
1486
1486
|
schema: z.lazy(() => UpdateToolRequestBodyToolsSchema$outboundSchema),
|
|
@@ -2203,7 +2203,7 @@ export const UpdateToolResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
2203
2203
|
z.ZodTypeDef,
|
|
2204
2204
|
unknown
|
|
2205
2205
|
> = z.object({
|
|
2206
|
-
_id: z.string().default("
|
|
2206
|
+
_id: z.string().default("tool_01KZ1FPKNJ0EVFFHVPDBXSX7WV"),
|
|
2207
2207
|
path: z.string(),
|
|
2208
2208
|
key: z.string(),
|
|
2209
2209
|
display_name: z.string().optional(),
|
|
@@ -2306,7 +2306,7 @@ export const UpdateToolResponseBodyTools$inboundSchema: z.ZodType<
|
|
|
2306
2306
|
z.ZodTypeDef,
|
|
2307
2307
|
unknown
|
|
2308
2308
|
> = z.object({
|
|
2309
|
-
id: z.string().default("
|
|
2309
|
+
id: z.string().default("01KZ1FPKNHE53WAK042ZT0DB6C"),
|
|
2310
2310
|
name: z.string(),
|
|
2311
2311
|
description: z.string().optional(),
|
|
2312
2312
|
schema: z.lazy(() => UpdateToolResponseBodyToolsSchema$inboundSchema),
|
|
@@ -2364,7 +2364,7 @@ export const UpdateToolResponseBodyMCPTool$inboundSchema: z.ZodType<
|
|
|
2364
2364
|
z.ZodTypeDef,
|
|
2365
2365
|
unknown
|
|
2366
2366
|
> = z.object({
|
|
2367
|
-
_id: z.string().default("
|
|
2367
|
+
_id: z.string().default("tool_01KZ1FPKNHK3JQ8W4T2ZFA24FH"),
|
|
2368
2368
|
path: z.string(),
|
|
2369
2369
|
key: z.string(),
|
|
2370
2370
|
display_name: z.string().optional(),
|
|
@@ -2554,7 +2554,7 @@ export const UpdateToolResponseBodyHTTPTool$inboundSchema: z.ZodType<
|
|
|
2554
2554
|
z.ZodTypeDef,
|
|
2555
2555
|
unknown
|
|
2556
2556
|
> = z.object({
|
|
2557
|
-
_id: z.string().default("
|
|
2557
|
+
_id: z.string().default("tool_01KZ1FPKNFFRS8SMSDJMJ79P6B"),
|
|
2558
2558
|
path: z.string(),
|
|
2559
2559
|
key: z.string(),
|
|
2560
2560
|
display_name: z.string().optional(),
|
|
@@ -2649,7 +2649,7 @@ export const UpdateToolResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
2649
2649
|
z.ZodTypeDef,
|
|
2650
2650
|
unknown
|
|
2651
2651
|
> = z.object({
|
|
2652
|
-
_id: z.string().default("
|
|
2652
|
+
_id: z.string().default("tool_01KZ1FPKNEWCR1BEYZTE0RVFGJ"),
|
|
2653
2653
|
path: z.string(),
|
|
2654
2654
|
key: z.string(),
|
|
2655
2655
|
display_name: z.string().optional(),
|
|
@@ -2752,7 +2752,7 @@ export const UpdateToolResponseBodyFunctionTool$inboundSchema: z.ZodType<
|
|
|
2752
2752
|
z.ZodTypeDef,
|
|
2753
2753
|
unknown
|
|
2754
2754
|
> = z.object({
|
|
2755
|
-
_id: z.string().default("
|
|
2755
|
+
_id: z.string().default("tool_01KZ1FPKND4JAPKJ20KBPHF7GQ"),
|
|
2756
2756
|
path: z.string(),
|
|
2757
2757
|
key: z.string(),
|
|
2758
2758
|
display_name: z.string().optional(),
|
package/src/sdk/feedback.ts
CHANGED
|
@@ -45,10 +45,7 @@ export class Feedback extends ClientSDK {
|
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
/**
|
|
48
|
-
* Create
|
|
49
|
-
*
|
|
50
|
-
* @remarks
|
|
51
|
-
* Creates a notifier destination in a project. Choose `NOTIFIER_TYPE_EMAIL`, `NOTIFIER_TYPE_SLACK_WEBHOOK`, or `NOTIFIER_TYPE_WEBHOOK` and provide the matching destination fields.
|
|
48
|
+
* Create translation
|
|
52
49
|
*/
|
|
53
50
|
async create(
|
|
54
51
|
request?: operations.PostV2FeedbackRequestBody | undefined,
|
package/src/sdk/reporting.ts
CHANGED
|
@@ -12,9 +12,7 @@ export class Reporting extends ClientSDK {
|
|
|
12
12
|
* Query reporting metrics
|
|
13
13
|
*
|
|
14
14
|
* @remarks
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
* @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
15
|
+
* Returns time-series analytics for AI usage, cost, latency, evaluator results, and guardrail outcomes. Select a metric and time range, break results down by supported dimensions, apply filters, and optionally include totals for the full range.
|
|
18
16
|
*/
|
|
19
17
|
async query(
|
|
20
18
|
request: components.QueryReportRequest,
|
package/src/sdk/sdk.ts
CHANGED
|
@@ -36,7 +36,6 @@ import { RoutingRules } from "./routingrules.js";
|
|
|
36
36
|
import { Schedules } from "./schedules.js";
|
|
37
37
|
import { Skills } from "./skills.js";
|
|
38
38
|
import { SmartRouters } from "./smartrouters.js";
|
|
39
|
-
import { Telemetry } from "./telemetry.js";
|
|
40
39
|
import { Tools } from "./tools.js";
|
|
41
40
|
import { Traces } from "./traces.js";
|
|
42
41
|
import { Webhooks } from "./webhooks.js";
|
|
@@ -217,11 +216,6 @@ export class Orq extends ClientSDK {
|
|
|
217
216
|
return (this._reporting ??= new Reporting(this._options));
|
|
218
217
|
}
|
|
219
218
|
|
|
220
|
-
private _telemetry?: Telemetry;
|
|
221
|
-
get telemetry(): Telemetry {
|
|
222
|
-
return (this._telemetry ??= new Telemetry(this._options));
|
|
223
|
-
}
|
|
224
|
-
|
|
225
219
|
private _traces?: Traces;
|
|
226
220
|
get traces(): Traces {
|
|
227
221
|
return (this._traces ??= new Traces(this._options));
|
package/src/sdk/traces.ts
CHANGED
|
@@ -21,9 +21,7 @@ export class Traces extends ClientSDK {
|
|
|
21
21
|
* Aggregate traces
|
|
22
22
|
*
|
|
23
23
|
* @remarks
|
|
24
|
-
*
|
|
25
|
-
*
|
|
26
|
-
* @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
24
|
+
* Aggregate trace metrics using the structured trace filter contract.
|
|
27
25
|
*/
|
|
28
26
|
async aggregate(
|
|
29
27
|
request: components.AggregateTracesRequest,
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { OrqCore } from "../core.js";
|
|
2
|
-
import { RequestOptions } from "../lib/sdks.js";
|
|
3
|
-
import * as components from "../models/components/index.js";
|
|
4
|
-
import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/httpclienterrors.js";
|
|
5
|
-
import { OrqError } from "../models/errors/orqerror.js";
|
|
6
|
-
import { ResponseValidationError } from "../models/errors/responsevalidationerror.js";
|
|
7
|
-
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
8
|
-
import { APIPromise } from "../types/async.js";
|
|
9
|
-
import { Result } from "../types/fp.js";
|
|
10
|
-
/**
|
|
11
|
-
* Query telemetry
|
|
12
|
-
*
|
|
13
|
-
* @remarks
|
|
14
|
-
* Unified query envelope for traces, metrics, and logs. Selects a source, a compute list, and a time range, with optional grain, group-by, and filters; returns a time series or a single aggregate row per group.
|
|
15
|
-
*/
|
|
16
|
-
export declare function telemetryQuery(client: OrqCore, request: components.QueryTelemetryRequest, options?: RequestOptions): APIPromise<Result<components.QueryTelemetryResponse, OrqError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
|
|
17
|
-
//# sourceMappingURL=telemetryQuery.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"telemetryQuery.d.ts","sourceRoot":"","sources":["../src/funcs/telemetryQuery.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAMrC,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AACxD,OAAO,EAAE,uBAAuB,EAAE,MAAM,6CAA6C,CAAC;AACtF,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC;;;;;GAKG;AACH,wBAAgB,cAAc,CAC5B,MAAM,EAAE,OAAO,EACf,OAAO,EAAE,UAAU,CAAC,qBAAqB,EACzC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CACX,MAAM,CACJ,UAAU,CAAC,sBAAsB,EAC/B,QAAQ,GACR,uBAAuB,GACvB,eAAe,GACf,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,qBAAqB,GACrB,kBAAkB,CACrB,CACF,CAMA"}
|
package/funcs/telemetryQuery.js
DELETED
|
@@ -1,115 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*
|
|
3
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
-
*/
|
|
5
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
-
if (k2 === undefined) k2 = k;
|
|
7
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
-
}
|
|
11
|
-
Object.defineProperty(o, k2, desc);
|
|
12
|
-
}) : (function(o, m, k, k2) {
|
|
13
|
-
if (k2 === undefined) k2 = k;
|
|
14
|
-
o[k2] = m[k];
|
|
15
|
-
}));
|
|
16
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
-
}) : function(o, v) {
|
|
19
|
-
o["default"] = v;
|
|
20
|
-
});
|
|
21
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
-
var ownKeys = function(o) {
|
|
23
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
-
var ar = [];
|
|
25
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
-
return ar;
|
|
27
|
-
};
|
|
28
|
-
return ownKeys(o);
|
|
29
|
-
};
|
|
30
|
-
return function (mod) {
|
|
31
|
-
if (mod && mod.__esModule) return mod;
|
|
32
|
-
var result = {};
|
|
33
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
-
__setModuleDefault(result, mod);
|
|
35
|
-
return result;
|
|
36
|
-
};
|
|
37
|
-
})();
|
|
38
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.telemetryQuery = telemetryQuery;
|
|
40
|
-
const encodings_js_1 = require("../lib/encodings.js");
|
|
41
|
-
const http_js_1 = require("../lib/http.js");
|
|
42
|
-
const M = __importStar(require("../lib/matchers.js"));
|
|
43
|
-
const primitives_js_1 = require("../lib/primitives.js");
|
|
44
|
-
const schemas_js_1 = require("../lib/schemas.js");
|
|
45
|
-
const security_js_1 = require("../lib/security.js");
|
|
46
|
-
const url_js_1 = require("../lib/url.js");
|
|
47
|
-
const components = __importStar(require("../models/components/index.js"));
|
|
48
|
-
const async_js_1 = require("../types/async.js");
|
|
49
|
-
/**
|
|
50
|
-
* Query telemetry
|
|
51
|
-
*
|
|
52
|
-
* @remarks
|
|
53
|
-
* Unified query envelope for traces, metrics, and logs. Selects a source, a compute list, and a time range, with optional grain, group-by, and filters; returns a time series or a single aggregate row per group.
|
|
54
|
-
*/
|
|
55
|
-
function telemetryQuery(client, request, options) {
|
|
56
|
-
return new async_js_1.APIPromise($do(client, request, options));
|
|
57
|
-
}
|
|
58
|
-
async function $do(client, request, options) {
|
|
59
|
-
const parsed = (0, schemas_js_1.safeParse)(request, (value) => components.QueryTelemetryRequest$outboundSchema.parse(value), "Input validation failed");
|
|
60
|
-
if (!parsed.ok) {
|
|
61
|
-
return [parsed, { status: "invalid" }];
|
|
62
|
-
}
|
|
63
|
-
const payload = parsed.value;
|
|
64
|
-
const body = (0, encodings_js_1.encodeJSON)("body", payload, { explode: true });
|
|
65
|
-
const path = (0, url_js_1.pathToFunc)("/v2/telemetry/query")();
|
|
66
|
-
const headers = new Headers((0, primitives_js_1.compactMap)({
|
|
67
|
-
"Content-Type": "application/json",
|
|
68
|
-
Accept: "application/json",
|
|
69
|
-
}));
|
|
70
|
-
const secConfig = await (0, security_js_1.extractSecurity)(client._options.apiKey);
|
|
71
|
-
const securityInput = secConfig == null ? {} : { apiKey: secConfig };
|
|
72
|
-
const requestSecurity = (0, security_js_1.resolveGlobalSecurity)(securityInput);
|
|
73
|
-
const context = {
|
|
74
|
-
options: client._options,
|
|
75
|
-
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
76
|
-
operationID: "TelemetryQuery",
|
|
77
|
-
oAuth2Scopes: null,
|
|
78
|
-
resolvedSecurity: requestSecurity,
|
|
79
|
-
securitySource: client._options.apiKey,
|
|
80
|
-
retryConfig: options?.retries
|
|
81
|
-
|| client._options.retryConfig
|
|
82
|
-
|| { strategy: "none" },
|
|
83
|
-
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
|
84
|
-
};
|
|
85
|
-
const requestRes = client._createRequest(context, {
|
|
86
|
-
security: requestSecurity,
|
|
87
|
-
method: "POST",
|
|
88
|
-
baseURL: options?.serverURL,
|
|
89
|
-
path: path,
|
|
90
|
-
headers: headers,
|
|
91
|
-
body: body,
|
|
92
|
-
userAgent: client._options.userAgent,
|
|
93
|
-
timeoutMs: options?.timeoutMs || client._options.timeoutMs || 600000,
|
|
94
|
-
}, options);
|
|
95
|
-
if (!requestRes.ok) {
|
|
96
|
-
return [requestRes, { status: "invalid" }];
|
|
97
|
-
}
|
|
98
|
-
const req = requestRes.value;
|
|
99
|
-
const doResult = await client._do(req, {
|
|
100
|
-
context,
|
|
101
|
-
isErrorStatusCode: (statusCode) => (0, http_js_1.matchStatusCode)({ status: statusCode }, ["4XX", "5XX"]),
|
|
102
|
-
retryConfig: context.retryConfig,
|
|
103
|
-
retryCodes: context.retryCodes,
|
|
104
|
-
});
|
|
105
|
-
if (!doResult.ok) {
|
|
106
|
-
return [doResult, { status: "request-error", request: req }];
|
|
107
|
-
}
|
|
108
|
-
const response = doResult.value;
|
|
109
|
-
const [result] = await M.match(M.json(200, components.QueryTelemetryResponse$inboundSchema), M.fail("4XX"), M.fail("5XX"))(response, req);
|
|
110
|
-
if (!result.ok) {
|
|
111
|
-
return [result, { status: "complete", request: req, response }];
|
|
112
|
-
}
|
|
113
|
-
return [result, { status: "complete", request: req, response }];
|
|
114
|
-
}
|
|
115
|
-
//# sourceMappingURL=telemetry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import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
-
export type QueryTelemetryMeta = {
|
|
5
|
-
effectiveGrain?: string | undefined;
|
|
6
|
-
warnings?: Array<string> | undefined;
|
|
7
|
-
};
|
|
8
|
-
/** @internal */
|
|
9
|
-
export declare const QueryTelemetryMeta$inboundSchema: z.ZodType<QueryTelemetryMeta, z.ZodTypeDef, unknown>;
|
|
10
|
-
export declare function queryTelemetryMetaFromJSON(jsonString: string): SafeParseResult<QueryTelemetryMeta, SDKValidationError>;
|
|
11
|
-
//# sourceMappingURL=querytelemetrymeta.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"querytelemetrymeta.d.ts","sourceRoot":"","sources":["../../src/models/components/querytelemetrymeta.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,kBAAkB,GAAG;IAC/B,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACpC,QAAQ,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;CACtC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,gCAAgC,EAAE,CAAC,CAAC,OAAO,CACtD,kBAAkB,EAClB,CAAC,CAAC,UAAU,EACZ,OAAO,CAQP,CAAC;AAEH,wBAAgB,0BAA0B,CACxC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,kBAAkB,EAAE,kBAAkB,CAAC,CAMzD"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"querytelemetrymeta.js","sourceRoot":"","sources":["../../src/models/components/querytelemetrymeta.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2BH,gEAQC;AAjCD,0CAA4B;AAC5B,2DAA0D;AAC1D,qDAAiD;AASjD,gBAAgB;AACH,QAAA,gCAAgC,GAIzC,CAAC,CAAC,MAAM,CAAC;IACX,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACtC,QAAQ,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;CACzC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,iBAAiB,EAAE,gBAAgB;KACpC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,SAAgB,0BAA0B,CACxC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,wCAAgC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC5D,gDAAgD,CACjD,CAAC;AACJ,CAAC"}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import * as z from "zod/v3";
|
|
2
|
-
import { TraceCompute, TraceCompute$Outbound } from "./tracecompute.js";
|
|
3
|
-
import { TraceFilter, TraceFilter$Outbound } from "./tracefilter.js";
|
|
4
|
-
export type QueryTelemetryRequest = {
|
|
5
|
-
source?: number | undefined;
|
|
6
|
-
from?: Date | undefined;
|
|
7
|
-
to?: Date | undefined;
|
|
8
|
-
compute?: Array<TraceCompute> | undefined;
|
|
9
|
-
/**
|
|
10
|
-
* Empty string and "none" are equivalent: a single row per group instead
|
|
11
|
-
*
|
|
12
|
-
* @remarks
|
|
13
|
-
* of a time series.
|
|
14
|
-
*/
|
|
15
|
-
grain?: string | undefined;
|
|
16
|
-
groupBy?: Array<string> | undefined;
|
|
17
|
-
filters?: Array<TraceFilter> | undefined;
|
|
18
|
-
filterOperator?: string | undefined;
|
|
19
|
-
limit?: number | undefined;
|
|
20
|
-
timeZone?: string | undefined;
|
|
21
|
-
includeTotals?: boolean | undefined;
|
|
22
|
-
};
|
|
23
|
-
/** @internal */
|
|
24
|
-
export type QueryTelemetryRequest$Outbound = {
|
|
25
|
-
source?: number | undefined;
|
|
26
|
-
from?: string | undefined;
|
|
27
|
-
to?: string | undefined;
|
|
28
|
-
compute?: Array<TraceCompute$Outbound> | undefined;
|
|
29
|
-
grain?: string | undefined;
|
|
30
|
-
group_by?: Array<string> | undefined;
|
|
31
|
-
filters?: Array<TraceFilter$Outbound> | undefined;
|
|
32
|
-
filter_operator?: string | undefined;
|
|
33
|
-
limit?: number | undefined;
|
|
34
|
-
time_zone?: string | undefined;
|
|
35
|
-
include_totals?: boolean | undefined;
|
|
36
|
-
};
|
|
37
|
-
/** @internal */
|
|
38
|
-
export declare const QueryTelemetryRequest$outboundSchema: z.ZodType<QueryTelemetryRequest$Outbound, z.ZodTypeDef, QueryTelemetryRequest>;
|
|
39
|
-
export declare function queryTelemetryRequestToJSON(queryTelemetryRequest: QueryTelemetryRequest): string;
|
|
40
|
-
//# sourceMappingURL=querytelemetryrequest.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"querytelemetryrequest.d.ts","sourceRoot":"","sources":["../../src/models/components/querytelemetryrequest.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EACL,YAAY,EACZ,qBAAqB,EAEtB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,WAAW,EACX,oBAAoB,EAErB,MAAM,kBAAkB,CAAC;AAE1B,MAAM,MAAM,qBAAqB,GAAG;IAClC,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,IAAI,CAAC,EAAE,IAAI,GAAG,SAAS,CAAC;IACxB,EAAE,CAAC,EAAE,IAAI,GAAG,SAAS,CAAC;IACtB,OAAO,CAAC,EAAE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E,CAAC,QAAQ,EAAE;IAC/B,aAAa,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;CACtC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,OAAO,EAAE,UAAU;QACnB,cAAc,EAAE,iBAAiB;QACjC,QAAQ,EAAE,WAAW;QACrB,aAAa,EAAE,gBAAgB;KAChC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,SAAgB,2BAA2B,CACzC,qBAA4C;IAE5C,OAAO,IAAI,CAAC,SAAS,CACnB,4CAAoC,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAClE,CAAC;AACJ,CAAC"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import * as z from "zod/v3";
|
|
2
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
-
import { QueryTelemetryMeta } from "./querytelemetrymeta.js";
|
|
5
|
-
import { TelemetryRow } from "./telemetryrow.js";
|
|
6
|
-
export type QueryTelemetryResponse = {
|
|
7
|
-
object?: string | undefined;
|
|
8
|
-
data?: Array<TelemetryRow> | undefined;
|
|
9
|
-
totals?: TelemetryRow | undefined;
|
|
10
|
-
meta?: QueryTelemetryMeta | undefined;
|
|
11
|
-
};
|
|
12
|
-
/** @internal */
|
|
13
|
-
export declare const QueryTelemetryResponse$inboundSchema: z.ZodType<QueryTelemetryResponse, z.ZodTypeDef, unknown>;
|
|
14
|
-
export declare function queryTelemetryResponseFromJSON(jsonString: string): SafeParseResult<QueryTelemetryResponse, SDKValidationError>;
|
|
15
|
-
//# sourceMappingURL=querytelemetryresponse.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"querytelemetryresponse.d.ts","sourceRoot":"","sources":["../../src/models/components/querytelemetryresponse.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,kBAAkB,EAEnB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,YAAY,EAA8B,MAAM,mBAAmB,CAAC;AAE7E,MAAM,MAAM,sBAAsB,GAAG;IACnC,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,IAAI,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC;IACvC,MAAM,CAAC,EAAE,YAAY,GAAG,SAAS,CAAC;IAClC,IAAI,CAAC,EAAE,kBAAkB,GAAG,SAAS,CAAC;CACvC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,oCAAoC,EAAE,CAAC,CAAC,OAAO,CAC1D,sBAAsB,EACtB,CAAC,CAAC,UAAU,EACZ,OAAO,CAMP,CAAC;AAEH,wBAAgB,8BAA8B,CAC5C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,sBAAsB,EAAE,kBAAkB,CAAC,CAM7D"}
|