@orq-ai/node 3.13.11 → 3.13.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/mcp-server.js +207 -195
- package/bin/mcp-server.js.map +37 -37
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/lib/config.js.map +1 -1
- package/lib/env.d.ts.map +1 -1
- package/lib/env.js +18 -1
- package/lib/env.js.map +1 -1
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +1 -1
- package/models/operations/createbudget.js +2 -2
- package/models/operations/createcontact.js +2 -2
- package/models/operations/createdataset.js +2 -2
- package/models/operations/createdatasetitem.js +2 -2
- package/models/operations/createdatasource.js +2 -2
- package/models/operations/createeval.js +28 -28
- package/models/operations/createtool.js +14 -14
- package/models/operations/duplicatetool.js +10 -10
- package/models/operations/fileget.js +2 -2
- package/models/operations/filelist.js +2 -2
- package/models/operations/fileupload.js +2 -2
- package/models/operations/getalltools.js +10 -10
- package/models/operations/getbudget.js +2 -2
- package/models/operations/getevals.js +28 -28
- package/models/operations/listbudgets.js +2 -2
- package/models/operations/listcontacts.js +2 -2
- package/models/operations/listdatasetdatapoints.js +2 -2
- package/models/operations/listdatasets.js +2 -2
- package/models/operations/listdatasources.js +2 -2
- package/models/operations/retrievecontact.js +2 -2
- package/models/operations/retrievedatapoint.js +2 -2
- package/models/operations/retrievedataset.js +2 -2
- package/models/operations/retrievedatasource.js +2 -2
- package/models/operations/retrievetool.js +10 -10
- package/models/operations/updatebudget.js +2 -2
- package/models/operations/updatecontact.js +2 -2
- package/models/operations/updatedatapoint.js +2 -2
- package/models/operations/updatedataset.js +2 -2
- package/models/operations/updatedatasource.js +2 -2
- package/models/operations/updateeval.js +28 -28
- package/models/operations/updatetool.js +14 -14
- package/package.json +1 -1
- package/packages/orq-rc/examples/package-lock.json +1 -1
- package/packages/orq-rc/jsr.json +1 -1
- package/packages/orq-rc/package-lock.json +2 -2
- package/packages/orq-rc/package.json +1 -1
- package/packages/orq-rc/src/lib/config.ts +3 -3
- package/packages/orq-rc/src/lib/env.ts +20 -3
- package/packages/orq-rc/src/mcp-server/mcp-server.ts +1 -1
- package/packages/orq-rc/src/mcp-server/server.ts +1 -1
- package/packages/orq-rc/src/models/components/deployments.ts +6 -6
- package/packages/orq-rc/src/models/operations/createbudget.ts +2 -2
- package/packages/orq-rc/src/models/operations/createcontact.ts +2 -2
- package/packages/orq-rc/src/models/operations/createdataset.ts +2 -2
- package/packages/orq-rc/src/models/operations/createdatasetitem.ts +14 -14
- package/packages/orq-rc/src/models/operations/createdatasource.ts +2 -2
- package/packages/orq-rc/src/models/operations/createeval.ts +28 -28
- package/packages/orq-rc/src/models/operations/createtool.ts +10 -10
- package/packages/orq-rc/src/models/operations/deploymentcreatemetric.ts +6 -6
- package/packages/orq-rc/src/models/operations/deploymentgetconfig.ts +6 -6
- package/packages/orq-rc/src/models/operations/deploymentstream.ts +6 -6
- package/packages/orq-rc/src/models/operations/duplicatetool.ts +10 -10
- package/packages/orq-rc/src/models/operations/fileget.ts +2 -2
- package/packages/orq-rc/src/models/operations/filelist.ts +2 -2
- package/packages/orq-rc/src/models/operations/fileupload.ts +2 -2
- package/packages/orq-rc/src/models/operations/getalltools.ts +10 -10
- package/packages/orq-rc/src/models/operations/getbudget.ts +2 -2
- package/packages/orq-rc/src/models/operations/getevals.ts +28 -28
- package/packages/orq-rc/src/models/operations/listbudgets.ts +2 -2
- package/packages/orq-rc/src/models/operations/listcontacts.ts +2 -2
- package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +11 -11
- package/packages/orq-rc/src/models/operations/listdatasets.ts +2 -2
- package/packages/orq-rc/src/models/operations/listdatasources.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievecontact.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +11 -11
- package/packages/orq-rc/src/models/operations/retrievedataset.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievedatasource.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievetool.ts +10 -10
- package/packages/orq-rc/src/models/operations/updatebudget.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatecontact.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatedatapoint.ts +14 -14
- package/packages/orq-rc/src/models/operations/updatedataset.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatedatasource.ts +2 -2
- package/packages/orq-rc/src/models/operations/updateeval.ts +28 -28
- package/packages/orq-rc/src/models/operations/updatetool.ts +10 -10
- package/src/lib/config.ts +3 -3
- package/src/lib/env.ts +20 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/operations/createbudget.ts +2 -2
- package/src/models/operations/createcontact.ts +2 -2
- package/src/models/operations/createdataset.ts +2 -2
- package/src/models/operations/createdatasetitem.ts +2 -2
- package/src/models/operations/createdatasource.ts +2 -2
- package/src/models/operations/createeval.ts +28 -28
- package/src/models/operations/createtool.ts +14 -14
- package/src/models/operations/duplicatetool.ts +10 -10
- package/src/models/operations/fileget.ts +2 -2
- package/src/models/operations/filelist.ts +2 -2
- package/src/models/operations/fileupload.ts +2 -2
- package/src/models/operations/getalltools.ts +10 -10
- package/src/models/operations/getbudget.ts +2 -2
- package/src/models/operations/getevals.ts +28 -28
- package/src/models/operations/listbudgets.ts +2 -2
- package/src/models/operations/listcontacts.ts +2 -2
- package/src/models/operations/listdatasetdatapoints.ts +2 -2
- package/src/models/operations/listdatasets.ts +2 -2
- package/src/models/operations/listdatasources.ts +2 -2
- package/src/models/operations/retrievecontact.ts +2 -2
- package/src/models/operations/retrievedatapoint.ts +2 -2
- package/src/models/operations/retrievedataset.ts +2 -2
- package/src/models/operations/retrievedatasource.ts +2 -2
- package/src/models/operations/retrievetool.ts +10 -10
- package/src/models/operations/updatebudget.ts +2 -2
- package/src/models/operations/updatecontact.ts +2 -2
- package/src/models/operations/updatedatapoint.ts +2 -2
- package/src/models/operations/updatedataset.ts +2 -2
- package/src/models/operations/updatedatasource.ts +2 -2
- package/src/models/operations/updateeval.ts +28 -28
- package/src/models/operations/updatetool.ts +14 -14
|
@@ -152,13 +152,13 @@ export type UpdateDatapointMessagesDatasetsContent =
|
|
|
152
152
|
| Array<UpdateDatapoint2TextContentPart | UpdateDatapoint2RefusalContentPart>;
|
|
153
153
|
|
|
154
154
|
/**
|
|
155
|
-
* The role of the messages author, in this case `assistant
|
|
155
|
+
* The role of the messages author, in this case `assistant`.
|
|
156
156
|
*/
|
|
157
157
|
export const UpdateDatapointMessagesDatasetsRequestRequestBodyRole = {
|
|
158
158
|
Assistant: "assistant",
|
|
159
159
|
} as const;
|
|
160
160
|
/**
|
|
161
|
-
* The role of the messages author, in this case `assistant
|
|
161
|
+
* The role of the messages author, in this case `assistant`.
|
|
162
162
|
*/
|
|
163
163
|
export type UpdateDatapointMessagesDatasetsRequestRequestBodyRole = ClosedEnum<
|
|
164
164
|
typeof UpdateDatapointMessagesDatasetsRequestRequestBodyRole
|
|
@@ -226,7 +226,7 @@ export type UpdateDatapointMessagesAssistantMessage = {
|
|
|
226
226
|
*/
|
|
227
227
|
refusal?: string | null | undefined;
|
|
228
228
|
/**
|
|
229
|
-
* The role of the messages author, in this case `assistant
|
|
229
|
+
* The role of the messages author, in this case `assistant`.
|
|
230
230
|
*/
|
|
231
231
|
role: UpdateDatapointMessagesDatasetsRequestRequestBodyRole;
|
|
232
232
|
/**
|
|
@@ -668,14 +668,14 @@ export type UpdateDatapointMessagesDatasetsResponse200Content =
|
|
|
668
668
|
>;
|
|
669
669
|
|
|
670
670
|
/**
|
|
671
|
-
* The role of the messages author, in this case `assistant
|
|
671
|
+
* The role of the messages author, in this case `assistant`.
|
|
672
672
|
*/
|
|
673
673
|
export const UpdateDatapointMessagesDatasetsResponse200ApplicationJSONResponseBodyRole =
|
|
674
674
|
{
|
|
675
675
|
Assistant: "assistant",
|
|
676
676
|
} as const;
|
|
677
677
|
/**
|
|
678
|
-
* The role of the messages author, in this case `assistant
|
|
678
|
+
* The role of the messages author, in this case `assistant`.
|
|
679
679
|
*/
|
|
680
680
|
export type UpdateDatapointMessagesDatasetsResponse200ApplicationJSONResponseBodyRole =
|
|
681
681
|
ClosedEnum<
|
|
@@ -745,7 +745,7 @@ export type UpdateDatapointMessagesDatasetsAssistantMessage = {
|
|
|
745
745
|
*/
|
|
746
746
|
refusal?: string | null | undefined;
|
|
747
747
|
/**
|
|
748
|
-
* The role of the messages author, in this case `assistant
|
|
748
|
+
* The role of the messages author, in this case `assistant`.
|
|
749
749
|
*/
|
|
750
750
|
role:
|
|
751
751
|
UpdateDatapointMessagesDatasetsResponse200ApplicationJSONResponseBodyRole;
|
|
@@ -6252,7 +6252,7 @@ export const UpdateDatapointEvaluations3$inboundSchema: z.ZodType<
|
|
|
6252
6252
|
.default("orq"),
|
|
6253
6253
|
reviewed_by_id: z.string(),
|
|
6254
6254
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
6255
|
-
"2025-10-
|
|
6255
|
+
"2025-10-17T05:54:21.047Z",
|
|
6256
6256
|
).transform(v => new Date(v)),
|
|
6257
6257
|
type: UpdateDatapointEvaluationsDatasetsResponseType$inboundSchema,
|
|
6258
6258
|
values: z.array(z.string()),
|
|
@@ -6290,7 +6290,7 @@ export const UpdateDatapointEvaluations3$outboundSchema: z.ZodType<
|
|
|
6290
6290
|
source: UpdateDatapointEvaluationsDatasetsResponseSource$outboundSchema
|
|
6291
6291
|
.default("orq"),
|
|
6292
6292
|
reviewedById: z.string(),
|
|
6293
|
-
reviewedAt: z.date().default(() => new Date("2025-10-
|
|
6293
|
+
reviewedAt: z.date().default(() => new Date("2025-10-17T05:54:21.047Z"))
|
|
6294
6294
|
.transform(v => v.toISOString()),
|
|
6295
6295
|
type: UpdateDatapointEvaluationsDatasetsResponseType$outboundSchema,
|
|
6296
6296
|
values: z.array(z.string()),
|
|
@@ -6419,7 +6419,7 @@ export const UpdateDatapointEvaluations2$inboundSchema: z.ZodType<
|
|
|
6419
6419
|
source: UpdateDatapointEvaluationsDatasetsSource$inboundSchema.default("orq"),
|
|
6420
6420
|
reviewed_by_id: z.string(),
|
|
6421
6421
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
6422
|
-
"2025-10-
|
|
6422
|
+
"2025-10-17T05:54:21.047Z",
|
|
6423
6423
|
).transform(v => new Date(v)),
|
|
6424
6424
|
type: UpdateDatapointEvaluationsDatasetsType$inboundSchema,
|
|
6425
6425
|
value: z.number(),
|
|
@@ -6458,7 +6458,7 @@ export const UpdateDatapointEvaluations2$outboundSchema: z.ZodType<
|
|
|
6458
6458
|
"orq",
|
|
6459
6459
|
),
|
|
6460
6460
|
reviewedById: z.string(),
|
|
6461
|
-
reviewedAt: z.date().default(() => new Date("2025-10-
|
|
6461
|
+
reviewedAt: z.date().default(() => new Date("2025-10-17T05:54:21.047Z"))
|
|
6462
6462
|
.transform(v => v.toISOString()),
|
|
6463
6463
|
type: UpdateDatapointEvaluationsDatasetsType$outboundSchema,
|
|
6464
6464
|
value: z.number(),
|
|
@@ -6581,7 +6581,7 @@ export const UpdateDatapointEvaluations1$inboundSchema: z.ZodType<
|
|
|
6581
6581
|
source: UpdateDatapointEvaluationsSource$inboundSchema.default("orq"),
|
|
6582
6582
|
reviewed_by_id: z.string(),
|
|
6583
6583
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
6584
|
-
"2025-10-
|
|
6584
|
+
"2025-10-17T05:54:21.046Z",
|
|
6585
6585
|
).transform(v => new Date(v)),
|
|
6586
6586
|
type: UpdateDatapointEvaluationsType$inboundSchema,
|
|
6587
6587
|
value: z.string(),
|
|
@@ -6617,7 +6617,7 @@ export const UpdateDatapointEvaluations1$outboundSchema: z.ZodType<
|
|
|
6617
6617
|
humanReviewId: z.string(),
|
|
6618
6618
|
source: UpdateDatapointEvaluationsSource$outboundSchema.default("orq"),
|
|
6619
6619
|
reviewedById: z.string(),
|
|
6620
|
-
reviewedAt: z.date().default(() => new Date("2025-10-
|
|
6620
|
+
reviewedAt: z.date().default(() => new Date("2025-10-17T05:54:21.046Z"))
|
|
6621
6621
|
.transform(v => v.toISOString()),
|
|
6622
6622
|
type: UpdateDatapointEvaluationsType$outboundSchema,
|
|
6623
6623
|
value: z.string(),
|
|
@@ -6761,7 +6761,7 @@ export const UpdateDatapointResponseBody$inboundSchema: z.ZodType<
|
|
|
6761
6761
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
6762
6762
|
.optional(),
|
|
6763
6763
|
updated: z.string().datetime({ offset: true }).default(
|
|
6764
|
-
"2025-10-
|
|
6764
|
+
"2025-10-17T05:54:11.779Z",
|
|
6765
6765
|
).transform(v => new Date(v)),
|
|
6766
6766
|
}).transform((v) => {
|
|
6767
6767
|
return remap$(v, {
|
|
@@ -6840,7 +6840,7 @@ export const UpdateDatapointResponseBody$outboundSchema: z.ZodType<
|
|
|
6840
6840
|
createdById: z.string().optional(),
|
|
6841
6841
|
updatedById: z.string().optional(),
|
|
6842
6842
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
6843
|
-
updated: z.date().default(() => new Date("2025-10-
|
|
6843
|
+
updated: z.date().default(() => new Date("2025-10-17T05:54:11.779Z"))
|
|
6844
6844
|
.transform(v => v.toISOString()),
|
|
6845
6845
|
}).transform((v) => {
|
|
6846
6846
|
return remap$(v, {
|
|
@@ -298,7 +298,7 @@ export const UpdateDatasetResponseBody$inboundSchema: z.ZodType<
|
|
|
298
298
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
299
299
|
.optional(),
|
|
300
300
|
updated: z.string().datetime({ offset: true }).default(
|
|
301
|
-
"2025-10-
|
|
301
|
+
"2025-10-17T05:54:11.779Z",
|
|
302
302
|
).transform(v => new Date(v)),
|
|
303
303
|
}).transform((v) => {
|
|
304
304
|
return remap$(v, {
|
|
@@ -338,7 +338,7 @@ export const UpdateDatasetResponseBody$outboundSchema: z.ZodType<
|
|
|
338
338
|
createdById: z.string().optional(),
|
|
339
339
|
updatedById: z.string().optional(),
|
|
340
340
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
341
|
-
updated: z.date().default(() => new Date("2025-10-
|
|
341
|
+
updated: z.date().default(() => new Date("2025-10-17T05:54:11.779Z"))
|
|
342
342
|
.transform(v => v.toISOString()),
|
|
343
343
|
}).transform((v) => {
|
|
344
344
|
return remap$(v, {
|
|
@@ -244,7 +244,7 @@ export const UpdateDatasourceResponseBody$inboundSchema: z.ZodType<
|
|
|
244
244
|
z.ZodTypeDef,
|
|
245
245
|
unknown
|
|
246
246
|
> = z.object({
|
|
247
|
-
_id: z.string().default("
|
|
247
|
+
_id: z.string().default("01K7RBQGRMAQBTYNYJWKZ8274K"),
|
|
248
248
|
display_name: z.string(),
|
|
249
249
|
description: z.string().optional(),
|
|
250
250
|
status: UpdateDatasourceStatus$inboundSchema,
|
|
@@ -288,7 +288,7 @@ export const UpdateDatasourceResponseBody$outboundSchema: z.ZodType<
|
|
|
288
288
|
z.ZodTypeDef,
|
|
289
289
|
UpdateDatasourceResponseBody
|
|
290
290
|
> = z.object({
|
|
291
|
-
id: z.string().default("
|
|
291
|
+
id: z.string().default("01K7RBQGRMAQBTYNYJWKZ8274K"),
|
|
292
292
|
displayName: z.string(),
|
|
293
293
|
description: z.string().optional(),
|
|
294
294
|
status: UpdateDatasourceStatus$outboundSchema,
|
|
@@ -3660,8 +3660,8 @@ export const ResponseBodyTypescript$inboundSchema: z.ZodType<
|
|
|
3660
3660
|
> = z.object({
|
|
3661
3661
|
_id: z.string(),
|
|
3662
3662
|
description: z.string(),
|
|
3663
|
-
created: z.string().default("2025-10-
|
|
3664
|
-
updated: z.string().default("2025-10-
|
|
3663
|
+
created: z.string().default("2025-10-17T05:54:14.168Z"),
|
|
3664
|
+
updated: z.string().default("2025-10-17T05:54:14.168Z"),
|
|
3665
3665
|
guardrail_config: z.union([
|
|
3666
3666
|
z.lazy(() =>
|
|
3667
3667
|
UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody7Number$inboundSchema
|
|
@@ -3704,8 +3704,8 @@ export const ResponseBodyTypescript$outboundSchema: z.ZodType<
|
|
|
3704
3704
|
> = z.object({
|
|
3705
3705
|
id: z.string(),
|
|
3706
3706
|
description: z.string(),
|
|
3707
|
-
created: z.string().default("2025-10-
|
|
3708
|
-
updated: z.string().default("2025-10-
|
|
3707
|
+
created: z.string().default("2025-10-17T05:54:14.168Z"),
|
|
3708
|
+
updated: z.string().default("2025-10-17T05:54:14.168Z"),
|
|
3709
3709
|
guardrailConfig: z.union([
|
|
3710
3710
|
z.lazy(() =>
|
|
3711
3711
|
UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody7Number$outboundSchema
|
|
@@ -4131,8 +4131,8 @@ export const ResponseBodyRagas$inboundSchema: z.ZodType<
|
|
|
4131
4131
|
> = z.object({
|
|
4132
4132
|
_id: z.string(),
|
|
4133
4133
|
description: z.string(),
|
|
4134
|
-
created: z.string().default("2025-10-
|
|
4135
|
-
updated: z.string().default("2025-10-
|
|
4134
|
+
created: z.string().default("2025-10-17T05:54:14.168Z"),
|
|
4135
|
+
updated: z.string().default("2025-10-17T05:54:14.168Z"),
|
|
4136
4136
|
guardrail_config: z.union([
|
|
4137
4137
|
z.lazy(() =>
|
|
4138
4138
|
UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody6Number$inboundSchema
|
|
@@ -4178,8 +4178,8 @@ export const ResponseBodyRagas$outboundSchema: z.ZodType<
|
|
|
4178
4178
|
> = z.object({
|
|
4179
4179
|
id: z.string(),
|
|
4180
4180
|
description: z.string(),
|
|
4181
|
-
created: z.string().default("2025-10-
|
|
4182
|
-
updated: z.string().default("2025-10-
|
|
4181
|
+
created: z.string().default("2025-10-17T05:54:14.168Z"),
|
|
4182
|
+
updated: z.string().default("2025-10-17T05:54:14.168Z"),
|
|
4183
4183
|
guardrailConfig: z.union([
|
|
4184
4184
|
z.lazy(() =>
|
|
4185
4185
|
UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody6Number$outboundSchema
|
|
@@ -7686,8 +7686,8 @@ export const UpdateEvalResponseBodyFunction$inboundSchema: z.ZodType<
|
|
|
7686
7686
|
> = z.object({
|
|
7687
7687
|
_id: z.string(),
|
|
7688
7688
|
description: z.string(),
|
|
7689
|
-
created: z.string().default("2025-10-
|
|
7690
|
-
updated: z.string().default("2025-10-
|
|
7689
|
+
created: z.string().default("2025-10-17T05:54:14.168Z"),
|
|
7690
|
+
updated: z.string().default("2025-10-17T05:54:14.168Z"),
|
|
7691
7691
|
guardrail_config: z.union([
|
|
7692
7692
|
z.lazy(() =>
|
|
7693
7693
|
UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody5Number$inboundSchema
|
|
@@ -7801,8 +7801,8 @@ export const UpdateEvalResponseBodyFunction$outboundSchema: z.ZodType<
|
|
|
7801
7801
|
> = z.object({
|
|
7802
7802
|
id: z.string(),
|
|
7803
7803
|
description: z.string(),
|
|
7804
|
-
created: z.string().default("2025-10-
|
|
7805
|
-
updated: z.string().default("2025-10-
|
|
7804
|
+
created: z.string().default("2025-10-17T05:54:14.168Z"),
|
|
7805
|
+
updated: z.string().default("2025-10-17T05:54:14.168Z"),
|
|
7806
7806
|
guardrailConfig: z.union([
|
|
7807
7807
|
z.lazy(() =>
|
|
7808
7808
|
UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody5Number$outboundSchema
|
|
@@ -8244,8 +8244,8 @@ export const UpdateEvalResponseBodyPython$inboundSchema: z.ZodType<
|
|
|
8244
8244
|
> = z.object({
|
|
8245
8245
|
_id: z.string(),
|
|
8246
8246
|
description: z.string(),
|
|
8247
|
-
created: z.string().default("2025-10-
|
|
8248
|
-
updated: z.string().default("2025-10-
|
|
8247
|
+
created: z.string().default("2025-10-17T05:54:14.168Z"),
|
|
8248
|
+
updated: z.string().default("2025-10-17T05:54:14.168Z"),
|
|
8249
8249
|
guardrail_config: z.union([
|
|
8250
8250
|
z.lazy(() =>
|
|
8251
8251
|
UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$inboundSchema
|
|
@@ -8287,8 +8287,8 @@ export const UpdateEvalResponseBodyPython$outboundSchema: z.ZodType<
|
|
|
8287
8287
|
> = z.object({
|
|
8288
8288
|
id: z.string(),
|
|
8289
8289
|
description: z.string(),
|
|
8290
|
-
created: z.string().default("2025-10-
|
|
8291
|
-
updated: z.string().default("2025-10-
|
|
8290
|
+
created: z.string().default("2025-10-17T05:54:14.168Z"),
|
|
8291
|
+
updated: z.string().default("2025-10-17T05:54:14.168Z"),
|
|
8292
8292
|
guardrailConfig: z.union([
|
|
8293
8293
|
z.lazy(() =>
|
|
8294
8294
|
UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$outboundSchema
|
|
@@ -8709,8 +8709,8 @@ export const UpdateEvalResponseBodyHTTP$inboundSchema: z.ZodType<
|
|
|
8709
8709
|
> = z.object({
|
|
8710
8710
|
_id: z.string(),
|
|
8711
8711
|
description: z.string(),
|
|
8712
|
-
created: z.string().default("2025-10-
|
|
8713
|
-
updated: z.string().default("2025-10-
|
|
8712
|
+
created: z.string().default("2025-10-17T05:54:14.168Z"),
|
|
8713
|
+
updated: z.string().default("2025-10-17T05:54:14.168Z"),
|
|
8714
8714
|
guardrail_config: z.union([
|
|
8715
8715
|
z.lazy(() =>
|
|
8716
8716
|
UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONNumber$inboundSchema
|
|
@@ -8758,8 +8758,8 @@ export const UpdateEvalResponseBodyHTTP$outboundSchema: z.ZodType<
|
|
|
8758
8758
|
> = z.object({
|
|
8759
8759
|
id: z.string(),
|
|
8760
8760
|
description: z.string(),
|
|
8761
|
-
created: z.string().default("2025-10-
|
|
8762
|
-
updated: z.string().default("2025-10-
|
|
8761
|
+
created: z.string().default("2025-10-17T05:54:14.168Z"),
|
|
8762
|
+
updated: z.string().default("2025-10-17T05:54:14.168Z"),
|
|
8763
8763
|
guardrailConfig: z.union([
|
|
8764
8764
|
z.lazy(() =>
|
|
8765
8765
|
UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONNumber$outboundSchema
|
|
@@ -9149,8 +9149,8 @@ export const UpdateEvalResponseBodyJSON$inboundSchema: z.ZodType<
|
|
|
9149
9149
|
> = z.object({
|
|
9150
9150
|
_id: z.string(),
|
|
9151
9151
|
description: z.string(),
|
|
9152
|
-
created: z.string().default("2025-10-
|
|
9153
|
-
updated: z.string().default("2025-10-
|
|
9152
|
+
created: z.string().default("2025-10-17T05:54:14.168Z"),
|
|
9153
|
+
updated: z.string().default("2025-10-17T05:54:14.168Z"),
|
|
9154
9154
|
guardrail_config: z.union([
|
|
9155
9155
|
z.lazy(() => UpdateEvalGuardrailConfigEvalsResponse200Number$inboundSchema),
|
|
9156
9156
|
z.lazy(() =>
|
|
@@ -9190,8 +9190,8 @@ export const UpdateEvalResponseBodyJSON$outboundSchema: z.ZodType<
|
|
|
9190
9190
|
> = z.object({
|
|
9191
9191
|
id: z.string(),
|
|
9192
9192
|
description: z.string(),
|
|
9193
|
-
created: z.string().default("2025-10-
|
|
9194
|
-
updated: z.string().default("2025-10-
|
|
9193
|
+
created: z.string().default("2025-10-17T05:54:14.168Z"),
|
|
9194
|
+
updated: z.string().default("2025-10-17T05:54:14.168Z"),
|
|
9195
9195
|
guardrailConfig: z.union([
|
|
9196
9196
|
z.lazy(() =>
|
|
9197
9197
|
UpdateEvalGuardrailConfigEvalsResponse200Number$outboundSchema
|
|
@@ -9549,8 +9549,8 @@ export const UpdateEvalResponseBodyLLM$inboundSchema: z.ZodType<
|
|
|
9549
9549
|
> = z.object({
|
|
9550
9550
|
_id: z.string(),
|
|
9551
9551
|
description: z.string(),
|
|
9552
|
-
created: z.string().default("2025-10-
|
|
9553
|
-
updated: z.string().default("2025-10-
|
|
9552
|
+
created: z.string().default("2025-10-17T05:54:14.168Z"),
|
|
9553
|
+
updated: z.string().default("2025-10-17T05:54:14.168Z"),
|
|
9554
9554
|
guardrail_config: z.union([
|
|
9555
9555
|
z.lazy(() => UpdateEvalGuardrailConfigEvalsResponseNumber$inboundSchema),
|
|
9556
9556
|
z.lazy(() => UpdateEvalGuardrailConfigEvalsResponseBoolean$inboundSchema),
|
|
@@ -9590,8 +9590,8 @@ export const UpdateEvalResponseBodyLLM$outboundSchema: z.ZodType<
|
|
|
9590
9590
|
> = z.object({
|
|
9591
9591
|
id: z.string(),
|
|
9592
9592
|
description: z.string(),
|
|
9593
|
-
created: z.string().default("2025-10-
|
|
9594
|
-
updated: z.string().default("2025-10-
|
|
9593
|
+
created: z.string().default("2025-10-17T05:54:14.168Z"),
|
|
9594
|
+
updated: z.string().default("2025-10-17T05:54:14.168Z"),
|
|
9595
9595
|
guardrailConfig: z.union([
|
|
9596
9596
|
z.lazy(() => UpdateEvalGuardrailConfigEvalsResponseNumber$outboundSchema),
|
|
9597
9597
|
z.lazy(() => UpdateEvalGuardrailConfigEvalsResponseBoolean$outboundSchema),
|
|
@@ -2751,7 +2751,7 @@ export const UpdateToolResponseBody5$inboundSchema: z.ZodType<
|
|
|
2751
2751
|
z.ZodTypeDef,
|
|
2752
2752
|
unknown
|
|
2753
2753
|
> = z.object({
|
|
2754
|
-
_id: z.string().default("
|
|
2754
|
+
_id: z.string().default("01K7RBQGW7NHRW2BAPHSR7RXE4"),
|
|
2755
2755
|
path: z.string(),
|
|
2756
2756
|
key: z.string(),
|
|
2757
2757
|
display_name: z.string().optional(),
|
|
@@ -2806,7 +2806,7 @@ export const UpdateToolResponseBody5$outboundSchema: z.ZodType<
|
|
|
2806
2806
|
z.ZodTypeDef,
|
|
2807
2807
|
UpdateToolResponseBody5
|
|
2808
2808
|
> = z.object({
|
|
2809
|
-
id: z.string().default("
|
|
2809
|
+
id: z.string().default("01K7RBQGW7NHRW2BAPHSR7RXE4"),
|
|
2810
2810
|
path: z.string(),
|
|
2811
2811
|
key: z.string(),
|
|
2812
2812
|
displayName: z.string().optional(),
|
|
@@ -3180,7 +3180,7 @@ export const UpdateToolResponseBody4$inboundSchema: z.ZodType<
|
|
|
3180
3180
|
z.ZodTypeDef,
|
|
3181
3181
|
unknown
|
|
3182
3182
|
> = z.object({
|
|
3183
|
-
_id: z.string().default("
|
|
3183
|
+
_id: z.string().default("01K7RBQGW62ZN1ZAVQM74WF5QQ"),
|
|
3184
3184
|
path: z.string(),
|
|
3185
3185
|
key: z.string(),
|
|
3186
3186
|
display_name: z.string().optional(),
|
|
@@ -3234,7 +3234,7 @@ export const UpdateToolResponseBody4$outboundSchema: z.ZodType<
|
|
|
3234
3234
|
z.ZodTypeDef,
|
|
3235
3235
|
UpdateToolResponseBody4
|
|
3236
3236
|
> = z.object({
|
|
3237
|
-
id: z.string().default("
|
|
3237
|
+
id: z.string().default("01K7RBQGW62ZN1ZAVQM74WF5QQ"),
|
|
3238
3238
|
path: z.string(),
|
|
3239
3239
|
key: z.string(),
|
|
3240
3240
|
displayName: z.string().optional(),
|
|
@@ -3652,7 +3652,7 @@ export const UpdateToolResponseBody3$inboundSchema: z.ZodType<
|
|
|
3652
3652
|
z.ZodTypeDef,
|
|
3653
3653
|
unknown
|
|
3654
3654
|
> = z.object({
|
|
3655
|
-
_id: z.string().default("
|
|
3655
|
+
_id: z.string().default("01K7RBQGW6GFA45X9VVXQSCXJW"),
|
|
3656
3656
|
path: z.string(),
|
|
3657
3657
|
key: z.string(),
|
|
3658
3658
|
display_name: z.string().optional(),
|
|
@@ -3706,7 +3706,7 @@ export const UpdateToolResponseBody3$outboundSchema: z.ZodType<
|
|
|
3706
3706
|
z.ZodTypeDef,
|
|
3707
3707
|
UpdateToolResponseBody3
|
|
3708
3708
|
> = z.object({
|
|
3709
|
-
id: z.string().default("
|
|
3709
|
+
id: z.string().default("01K7RBQGW6GFA45X9VVXQSCXJW"),
|
|
3710
3710
|
path: z.string(),
|
|
3711
3711
|
key: z.string(),
|
|
3712
3712
|
displayName: z.string().optional(),
|
|
@@ -3880,7 +3880,7 @@ export const UpdateToolResponseBody2$inboundSchema: z.ZodType<
|
|
|
3880
3880
|
z.ZodTypeDef,
|
|
3881
3881
|
unknown
|
|
3882
3882
|
> = z.object({
|
|
3883
|
-
_id: z.string().default("
|
|
3883
|
+
_id: z.string().default("01K7RBQGW5EFKCWH8ECC4E03YV"),
|
|
3884
3884
|
path: z.string(),
|
|
3885
3885
|
key: z.string(),
|
|
3886
3886
|
display_name: z.string().optional(),
|
|
@@ -3933,7 +3933,7 @@ export const UpdateToolResponseBody2$outboundSchema: z.ZodType<
|
|
|
3933
3933
|
z.ZodTypeDef,
|
|
3934
3934
|
UpdateToolResponseBody2
|
|
3935
3935
|
> = z.object({
|
|
3936
|
-
id: z.string().default("
|
|
3936
|
+
id: z.string().default("01K7RBQGW5EFKCWH8ECC4E03YV"),
|
|
3937
3937
|
path: z.string(),
|
|
3938
3938
|
key: z.string(),
|
|
3939
3939
|
displayName: z.string().optional(),
|
|
@@ -4105,7 +4105,7 @@ export const UpdateToolResponseBody1$inboundSchema: z.ZodType<
|
|
|
4105
4105
|
z.ZodTypeDef,
|
|
4106
4106
|
unknown
|
|
4107
4107
|
> = z.object({
|
|
4108
|
-
_id: z.string().default("
|
|
4108
|
+
_id: z.string().default("01K7RBQGW59QSTVGFWH52S5MWM"),
|
|
4109
4109
|
path: z.string(),
|
|
4110
4110
|
key: z.string(),
|
|
4111
4111
|
display_name: z.string().optional(),
|
|
@@ -4157,7 +4157,7 @@ export const UpdateToolResponseBody1$outboundSchema: z.ZodType<
|
|
|
4157
4157
|
z.ZodTypeDef,
|
|
4158
4158
|
UpdateToolResponseBody1
|
|
4159
4159
|
> = z.object({
|
|
4160
|
-
id: z.string().default("
|
|
4160
|
+
id: z.string().default("01K7RBQGW59QSTVGFWH52S5MWM"),
|
|
4161
4161
|
path: z.string(),
|
|
4162
4162
|
key: z.string(),
|
|
4163
4163
|
displayName: z.string().optional(),
|
package/src/lib/config.ts
CHANGED
|
@@ -68,7 +68,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
68
68
|
export const SDK_METADATA = {
|
|
69
69
|
language: "typescript",
|
|
70
70
|
openapiDocVersion: "2.0",
|
|
71
|
-
sdkVersion: "3.13.
|
|
72
|
-
genVersion: "2.
|
|
73
|
-
userAgent: "speakeasy-sdk/typescript 3.13.
|
|
71
|
+
sdkVersion: "3.13.12",
|
|
72
|
+
genVersion: "2.727.4",
|
|
73
|
+
userAgent: "speakeasy-sdk/typescript 3.13.12 2.727.4 2.0 @orq-ai/node",
|
|
74
74
|
} as const;
|
package/src/lib/env.ts
CHANGED
|
@@ -32,6 +32,18 @@ export const envSchema: z.ZodType<Env, z.ZodTypeDef, unknown> = z.object({
|
|
|
32
32
|
ORQ_DEBUG: z.coerce.boolean().optional(),
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
+
/**
|
|
36
|
+
* Checks for the existence of the Deno global object to determine the environment.
|
|
37
|
+
* @returns {boolean} True if the runtime is Deno, false otherwise.
|
|
38
|
+
*/
|
|
39
|
+
function isDeno() {
|
|
40
|
+
if ("Deno" in globalThis) {
|
|
41
|
+
return true;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
return false;
|
|
45
|
+
}
|
|
46
|
+
|
|
35
47
|
let envMemo: Env | undefined = undefined;
|
|
36
48
|
/**
|
|
37
49
|
* Reads and validates environment variables.
|
|
@@ -41,9 +53,14 @@ export function env(): Env {
|
|
|
41
53
|
return envMemo;
|
|
42
54
|
}
|
|
43
55
|
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
56
|
+
let envObject: Record<string, unknown> = {};
|
|
57
|
+
if (isDeno()) {
|
|
58
|
+
envObject = (globalThis as any).Deno?.env?.toObject?.() ?? {};
|
|
59
|
+
} else {
|
|
60
|
+
envObject = dlv(globalThis, "process.env") ?? {};
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
envMemo = envSchema.parse(envObject);
|
|
47
64
|
return envMemo;
|
|
48
65
|
}
|
|
49
66
|
|
package/src/mcp-server/server.ts
CHANGED
|
@@ -658,7 +658,7 @@ export const CreateBudgetResponseBody$inboundSchema: z.ZodType<
|
|
|
658
658
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
659
659
|
.optional(),
|
|
660
660
|
updated: z.string().datetime({ offset: true }).default(
|
|
661
|
-
"2025-10-
|
|
661
|
+
"2025-10-17T18:09:48.408Z",
|
|
662
662
|
).transform(v => new Date(v)),
|
|
663
663
|
}).transform((v) => {
|
|
664
664
|
return remap$(v, {
|
|
@@ -693,7 +693,7 @@ export const CreateBudgetResponseBody$outboundSchema: z.ZodType<
|
|
|
693
693
|
isActive: z.boolean(),
|
|
694
694
|
consumption: z.lazy(() => Consumption$outboundSchema).optional(),
|
|
695
695
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
696
|
-
updated: z.date().default(() => new Date("2025-10-
|
|
696
|
+
updated: z.date().default(() => new Date("2025-10-17T18:09:48.408Z"))
|
|
697
697
|
.transform(v => v.toISOString()),
|
|
698
698
|
}).transform((v) => {
|
|
699
699
|
return remap$(v, {
|
|
@@ -182,7 +182,7 @@ export const CreateContactResponseBody$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
|
-
"2025-10-
|
|
185
|
+
"2025-10-17T18:09:48.408Z",
|
|
186
186
|
).transform(v => new Date(v)),
|
|
187
187
|
}).transform((v) => {
|
|
188
188
|
return remap$(v, {
|
|
@@ -223,7 +223,7 @@ export const CreateContactResponseBody$outboundSchema: z.ZodType<
|
|
|
223
223
|
tags: z.array(z.string()).optional(),
|
|
224
224
|
metadata: z.record(z.any()).optional(),
|
|
225
225
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
226
|
-
updated: z.date().default(() => new Date("2025-10-
|
|
226
|
+
updated: z.date().default(() => new Date("2025-10-17T18:09:48.408Z"))
|
|
227
227
|
.transform(v => v.toISOString()),
|
|
228
228
|
}).transform((v) => {
|
|
229
229
|
return remap$(v, {
|
|
@@ -211,7 +211,7 @@ export const CreateDatasetResponseBody$inboundSchema: z.ZodType<
|
|
|
211
211
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
212
212
|
.optional(),
|
|
213
213
|
updated: z.string().datetime({ offset: true }).default(
|
|
214
|
-
"2025-10-
|
|
214
|
+
"2025-10-17T18:09:48.408Z",
|
|
215
215
|
).transform(v => new Date(v)),
|
|
216
216
|
}).transform((v) => {
|
|
217
217
|
return remap$(v, {
|
|
@@ -251,7 +251,7 @@ export const CreateDatasetResponseBody$outboundSchema: z.ZodType<
|
|
|
251
251
|
updatedById: z.string().optional(),
|
|
252
252
|
metadata: z.lazy(() => CreateDatasetMetadata$outboundSchema),
|
|
253
253
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
254
|
-
updated: z.date().default(() => new Date("2025-10-
|
|
254
|
+
updated: z.date().default(() => new Date("2025-10-17T18:09:48.408Z"))
|
|
255
255
|
.transform(v => v.toISOString()),
|
|
256
256
|
}).transform((v) => {
|
|
257
257
|
return remap$(v, {
|
|
@@ -6081,7 +6081,7 @@ export const ResponseBody$inboundSchema: z.ZodType<
|
|
|
6081
6081
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
6082
6082
|
.optional(),
|
|
6083
6083
|
updated: z.string().datetime({ offset: true }).default(
|
|
6084
|
-
"2025-10-
|
|
6084
|
+
"2025-10-17T18:09:48.408Z",
|
|
6085
6085
|
).transform(v => new Date(v)),
|
|
6086
6086
|
}).transform((v) => {
|
|
6087
6087
|
return remap$(v, {
|
|
@@ -6145,7 +6145,7 @@ export const ResponseBody$outboundSchema: z.ZodType<
|
|
|
6145
6145
|
createdById: z.string().optional(),
|
|
6146
6146
|
updatedById: z.string().optional(),
|
|
6147
6147
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
6148
|
-
updated: z.date().default(() => new Date("2025-10-
|
|
6148
|
+
updated: z.date().default(() => new Date("2025-10-17T18:09:48.408Z"))
|
|
6149
6149
|
.transform(v => v.toISOString()),
|
|
6150
6150
|
}).transform((v) => {
|
|
6151
6151
|
return remap$(v, {
|
|
@@ -751,7 +751,7 @@ export const CreateDatasourceResponseBody$inboundSchema: z.ZodType<
|
|
|
751
751
|
z.ZodTypeDef,
|
|
752
752
|
unknown
|
|
753
753
|
> = z.object({
|
|
754
|
-
_id: z.string().default("
|
|
754
|
+
_id: z.string().default("01K7SNTG2Y48TV1G48GP903GH1"),
|
|
755
755
|
display_name: z.string(),
|
|
756
756
|
description: z.string().optional(),
|
|
757
757
|
status: CreateDatasourceStatus$inboundSchema,
|
|
@@ -795,7 +795,7 @@ export const CreateDatasourceResponseBody$outboundSchema: z.ZodType<
|
|
|
795
795
|
z.ZodTypeDef,
|
|
796
796
|
CreateDatasourceResponseBody
|
|
797
797
|
> = z.object({
|
|
798
|
-
id: z.string().default("
|
|
798
|
+
id: z.string().default("01K7SNTG2Y48TV1G48GP903GH1"),
|
|
799
799
|
displayName: z.string(),
|
|
800
800
|
description: z.string().optional(),
|
|
801
801
|
status: CreateDatasourceStatus$outboundSchema,
|